From e69ba1232f82ece990bfd28ce38a11c4b408f2e1 Mon Sep 17 00:00:00 2001 From: dingyongkang Date: Fri, 21 Jan 2022 14:18:14 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- ...m__Lists__StudentClient.7cc84cb7.chunk.css | 365 ++++++++++++++++++ ...am__Lists__StudentClient.7fa76bc9.async.js | 2 +- umi.b69d9188.js => umi.dce09af3.js | 4 +- vendors.a3747ace.async.js | 280 +++++++------- ...index.p__Class.bac6e7e2.57c8d13f.chunk.css | 0 ..._index.p__Class.bac6e7e2.fc094120.async.js | 0 7 files changed, 509 insertions(+), 144 deletions(-) rename p__Exam__Lists__StudentClient.b2eca19d.chunk.css => p__Exam__Lists__StudentClient.7cc84cb7.chunk.css (83%) rename p__Exam__Lists__StudentClient.af74e497.async.js => p__Exam__Lists__StudentClient.7fa76bc9.async.js (52%) rename umi.b69d9188.js => umi.dce09af3.js (99%) rename vendors.p__Classrooms__Lists__Attendance__index.p__Classrooms__Lists__CommonHomework__index.p__Class.6df4f32e.57c8d13f.chunk.css => vendors.p__Classrooms__Lists__Attendance__index.p__Classrooms__Lists__CommonHomework__index.p__Class.bac6e7e2.57c8d13f.chunk.css (100%) rename vendors.p__Classrooms__Lists__Attendance__index.p__Classrooms__Lists__CommonHomework__index.p__Class.6df4f32e.fc094120.async.js => vendors.p__Classrooms__Lists__Attendance__index.p__Classrooms__Lists__CommonHomework__index.p__Class.bac6e7e2.fc094120.async.js (100%) diff --git a/index.html b/index.html index cf6cdd017b..b1fb77a012 100644 --- a/index.html +++ b/index.html @@ -93,6 +93,6 @@ gtag('config', 'UA-198293321-1'); --> - + diff --git a/p__Exam__Lists__StudentClient.b2eca19d.chunk.css b/p__Exam__Lists__StudentClient.7cc84cb7.chunk.css similarity index 83% rename from p__Exam__Lists__StudentClient.b2eca19d.chunk.css rename to p__Exam__Lists__StudentClient.7cc84cb7.chunk.css index 5564be34ea..f411c862f7 100644 --- a/p__Exam__Lists__StudentClient.b2eca19d.chunk.css +++ b/p__Exam__Lists__StudentClient.7cc84cb7.chunk.css @@ -1516,6 +1516,371 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-modal, +.ant-image-preview { + pointer-events: none; +} +.ant-modal.zoom-enter, +.ant-modal.zoom-appear, +.ant-image-preview.zoom-enter, +.ant-image-preview.zoom-appear { + -ms-transform: none; + transform: none; + opacity: 0; + animation-duration: 0.3s; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.ant-modal-mask, +.ant-image-preview-mask { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1000; + height: 100%; + background-color: rgba(0, 0, 0, 0.45); + filter: alpha(opacity=50); +} +.ant-modal-mask-hidden, +.ant-image-preview-mask-hidden { + display: none; +} +.ant-modal-wrap, +.ant-image-preview-wrap { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + overflow: auto; + outline: 0; + -webkit-overflow-scrolling: touch; +} +.ant-input-number { + box-sizing: border-box; + font-variant: tabular-nums; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + width: 100%; + min-width: 0; + padding: 3px 7px; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + line-height: 1.66667; + background-color: #fff; + background-image: none; + transition: all 0.3s; + display: inline-block; + width: 90px; + margin: 0; + padding: 0; + border: 1px solid #d9d9d9; + border-radius: 2px; +} +.ant-input-number::-webkit-input-placeholder { + color: #bfbfbf; +} +.ant-input-number:-ms-input-placeholder { + color: #bfbfbf; +} +.ant-input-number::-ms-input-placeholder { + color: #bfbfbf; +} +.ant-input-number::placeholder { + color: #bfbfbf; +} +.ant-input-number:-ms-input-placeholder { + text-overflow: ellipsis; +} +.ant-input-number:placeholder-shown { + text-overflow: ellipsis; +} +.ant-input-number:hover { + border-color: #40a9ff; + border-right-width: 1px !important; +} +.ant-input-number:focus, +.ant-input-number-focused { + border-color: #40a9ff; + border-right-width: 1px !important; + outline: 0; + box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2); +} +.ant-input-number-disabled { + color: rgba(0, 0, 0, 0.25); + background-color: #f5f5f5; + cursor: not-allowed; + opacity: 1; +} +.ant-input-number-disabled:hover { + border-color: #d9d9d9; + border-right-width: 1px !important; +} +.ant-input-number[disabled] { + color: rgba(0, 0, 0, 0.25); + background-color: #f5f5f5; + cursor: not-allowed; + opacity: 1; +} +.ant-input-number[disabled]:hover { + border-color: #d9d9d9; + border-right-width: 1px !important; +} +.ant-input-number-borderless, +.ant-input-number-borderless:hover, +.ant-input-number-borderless:focus, +.ant-input-number-borderless-focused, +.ant-input-number-borderless-disabled, +.ant-input-number-borderless[disabled] { + background-color: transparent; + border: none; + box-shadow: none; +} +textarea.ant-input-number { + max-width: 100%; + height: auto; + min-height: 28px; + line-height: 1.66667; + vertical-align: bottom; + transition: all 0.3s, height 0s; +} +.ant-input-number-lg { + padding: 3.4px 11px; + font-size: 14px; +} +.ant-input-number-sm { + padding: 0px 7px; +} +.ant-input-number-handler { + position: relative; + display: block; + width: 100%; + height: 50%; + overflow: hidden; + color: rgba(0, 0, 0, 0.45); + font-weight: bold; + line-height: 0; + text-align: center; + transition: all 0.1s linear; +} +.ant-input-number-handler:active { + background: #f4f4f4; +} +.ant-input-number-handler:hover .ant-input-number-handler-up-inner, +.ant-input-number-handler:hover .ant-input-number-handler-down-inner { + color: #40a9ff; +} +.ant-input-number-handler-up-inner, +.ant-input-number-handler-down-inner { + display: inline-block; + color: inherit; + font-style: normal; + line-height: 0; + text-align: center; + text-transform: none; + vertical-align: -0.125em; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + position: absolute; + right: 4px; + width: 12px; + height: 12px; + color: rgba(0, 0, 0, 0.45); + line-height: 12px; + transition: all 0.1s linear; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.ant-input-number-handler-up-inner > *, +.ant-input-number-handler-down-inner > * { + line-height: 1; +} +.ant-input-number-handler-up-inner svg, +.ant-input-number-handler-down-inner svg { + display: inline-block; +} +.ant-input-number-handler-up-inner::before, +.ant-input-number-handler-down-inner::before { + display: none; +} +.ant-input-number-handler-up-inner .ant-input-number-handler-up-inner-icon, +.ant-input-number-handler-up-inner .ant-input-number-handler-down-inner-icon, +.ant-input-number-handler-down-inner .ant-input-number-handler-up-inner-icon, +.ant-input-number-handler-down-inner .ant-input-number-handler-down-inner-icon { + display: block; +} +.ant-input-number:hover { + border-color: #40a9ff; + border-right-width: 1px !important; +} +.ant-input-number:hover + .ant-form-item-children-icon { + opacity: 0; + transition: opacity 0.24s linear 0.24s; +} +.ant-input-number-focused { + border-color: #40a9ff; + border-right-width: 1px !important; + outline: 0; + box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2); +} +.ant-input-number-disabled { + color: rgba(0, 0, 0, 0.25); + background-color: #f5f5f5; + cursor: not-allowed; + opacity: 1; +} +.ant-input-number-disabled:hover { + border-color: #d9d9d9; + border-right-width: 1px !important; +} +.ant-input-number-disabled .ant-input-number-input { + cursor: not-allowed; +} +.ant-input-number-disabled .ant-input-number-handler-wrap { + display: none; +} +.ant-input-number-readonly .ant-input-number-handler-wrap { + display: none; +} +.ant-input-number-input { + width: 100%; + height: 26px; + padding: 0 7px; + text-align: left; + background-color: transparent; + border: 0; + border-radius: 2px; + outline: 0; + transition: all 0.3s linear; + -moz-appearance: textfield !important; +} +.ant-input-number-input::-webkit-input-placeholder { + color: #bfbfbf; +} +.ant-input-number-input:-ms-input-placeholder { + color: #bfbfbf; +} +.ant-input-number-input::-ms-input-placeholder { + color: #bfbfbf; +} +.ant-input-number-input::placeholder { + color: #bfbfbf; +} +.ant-input-number-input:-ms-input-placeholder { + text-overflow: ellipsis; +} +.ant-input-number-input:placeholder-shown { + text-overflow: ellipsis; +} +.ant-input-number-input[type='number']::-webkit-inner-spin-button, +.ant-input-number-input[type='number']::-webkit-outer-spin-button { + margin: 0; + -webkit-appearance: none; +} +.ant-input-number-lg { + padding: 0; + font-size: 14px; +} +.ant-input-number-lg input { + height: 30px; +} +.ant-input-number-sm { + padding: 0; +} +.ant-input-number-sm input { + height: 20px; + padding: 0 7px; +} +.ant-input-number-handler-wrap { + position: absolute; + top: 0; + right: 0; + width: 22px; + height: 100%; + background: #fff; + border-left: 1px solid #d9d9d9; + border-radius: 0 2px 2px 0; + opacity: 0; + transition: opacity 0.24s linear 0.1s; +} +.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner, +.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner { + display: inline-block; + font-size: 7px; + min-width: auto; + margin-right: 0; +} +.ant-input-number-handler-wrap:hover .ant-input-number-handler { + height: 40%; +} +.ant-input-number:hover .ant-input-number-handler-wrap { + opacity: 1; +} +.ant-input-number-handler-up { + border-top-right-radius: 2px; + cursor: pointer; +} +.ant-input-number-handler-up-inner { + top: 50%; + margin-top: -5px; + text-align: center; +} +.ant-input-number-handler-up:hover { + height: 60% !important; +} +.ant-input-number-handler-down { + top: 0; + border-top: 1px solid #d9d9d9; + border-bottom-right-radius: 2px; + cursor: pointer; +} +.ant-input-number-handler-down-inner { + top: 50%; + text-align: center; + -ms-transform: translateY(-50%); + transform: translateY(-50%); +} +.ant-input-number-handler-down:hover { + height: 60% !important; +} +.ant-input-number-handler-up-disabled, +.ant-input-number-handler-down-disabled { + cursor: not-allowed; +} +.ant-input-number-handler-up-disabled:hover .ant-input-number-handler-up-inner, +.ant-input-number-handler-down-disabled:hover .ant-input-number-handler-down-inner { + color: rgba(0, 0, 0, 0.25); +} +.ant-input-number-rtl { + direction: rtl; +} +.ant-input-number-rtl .ant-input-number-handler-wrap { + right: auto; + left: 0; + border-right: 1px solid #d9d9d9; + border-left: 0; + border-radius: 2px 0 0 2px; +} +.ant-input-number-rtl .ant-input-number-input { + direction: ltr; + text-align: right; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + .formWrap___1RBpu { padding: 20px; } diff --git a/p__Exam__Lists__StudentClient.af74e497.async.js b/p__Exam__Lists__StudentClient.7fa76bc9.async.js similarity index 52% rename from p__Exam__Lists__StudentClient.af74e497.async.js rename to p__Exam__Lists__StudentClient.7fa76bc9.async.js index c3bf6c2e72..03e1fecad0 100644 --- a/p__Exam__Lists__StudentClient.af74e497.async.js +++ b/p__Exam__Lists__StudentClient.7fa76bc9.async.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[146],{"+F6A":function(v,A,a){v.exports={flex_box_center:"flex_box_center___1I0lw",flex_space_between:"flex_space_between___3g0Qh",flex_box_vertical_center:"flex_box_vertical_center___2HOCi",flex_box_center_end:"flex_box_center_end___1w9oZ",flex_box_column:"flex_box_column___3WFm5",wrap:"wrap___2lNei",left:"left___28_R3",li:"li___3DY7o",active:"active___3VRz7",right:"right___1LNzG",head:"head___Nigf0",tabsWrap:"tabsWrap___8qgq7",listWarp:"listWarp___25G0k",list:"list___2g9AF",d1:"d1___2MH-f",d2:"d2___2ONZc",top:"top___2Hs2y",title:"title___1orrO",tag:"tag___4R1hk",notTag:"notTag___1hDLq",endTag:"endTag___1Kh_7",elseTag:"elseTag___2gpJQ",bottom:"bottom___3-rdi",line:"line___1NV8R",d3:"d3___Ezups",statusIcon:"statusIcon___3unu7"}},"65B1":function(v,A,a){v.exports={formWrap:"formWrap___1RBpu"}},R30A:function(v,A){v.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIoAAACKCAYAAAB1h9JkAAAAAXNSR0IArs4c6QAAHPVJREFUeF7tnQdYFNfax/9nC11AxC4qiIBSNEosNAEVe+8l9SaamHZvui1VTa4x8d5oEvMZk1iiMZaoMRqTmNhLbJEmKtIVQVER6WW/5z3cGXcBdYEZ2IU5z5Mn7u6ZMzPv+XHK2w5DYy2H3IKAMu/G+vpGvbdOVwxr57XwP1XMjLqgoVU66DoCKNsMnc6iob2ahO9TAhWbhKDkrdRm4wNFgeTBLDFWDGASgpN/FCo3LlAUSIyDRMcmIiRpm37lxgOKAolxkKjYBAQmba9YuXGAokBiHCRMNR5BiTuqqtzwQVEgMQaSIkA1HsGJP92rcsMGRQJIWmmbo4NVW2iYBhqmxqHsEyhF2YOFby41GCsCdOMQnLLzfo/ccEGRABIS3BLXuXil3Qwuw7zSfNgd8YKXtTvi8uOhMxcY7jlMGAdJw90e1xIS+utZ1fkj/JXzN4Y6hWNEswFc1NG55/Fc/Dzs9lmDDde2Y8bFN1FmtriwQqgxDoHJPxvDe8MbUWoJCQlthfsizGw9jctvdcZmbLz2Exw19uhq0xkvtXkSTTR2/Le3kj7G+6mfGiNnE6vDCqHCWAQl7zL2wRoWKIdcR0JXtqk2Glc7lQ32+m1ArybdRRm+nfwJdmbtxV6/9XDUOPDvz9yJRnjkFNwqvW2srE2kHodkDIKSd1fngRoOKBJAIgiOYNnu/RXCHQNFWRaUFcBKZSVOQWGRk3C95GZ1ZG0CdVkhGBuN4KRfqvswDQMUCSERBGjJLLCxy2cY1SzCQKYX8hIQEjkBGcXXqyvreq7PCqBhoxGQtKcmD2L+oMgAiSBID2tXRPf4DVqVVpTtbzcPYmzsDNwpy6uJvOvpGlYAtWoUAhN/rekDmDcoMkLS3rINDvhtQgerdpVkS+uTYdFPIL04s6Zyr8PrWAFUqpEISvytNjc1X1BkhKSNRQvs99sEd+uOXLbpRRlYdXUj5rq8AMbKRZZScBnDYh5HdN6FKuVvo7JCXllBbfqm9tcy5AMYieCU32vbmHmCIiMkLbTNsN/vB3jZuHPZXivKQr/IiTiXH4+JzsOw1vM/sFCVu7HcKc3FY+dfxtasu2tDXxtPvNvhZfRz6AP/M8ORWJha2z6q2fUEiQ4jEJKyt2YNGF5lfqDICImTxgF/+m6En10XLqUbxbcQHjUZZ3PP8c+e1m6gKWlTly/goLHn3+l0OixKXY53kpeiBKVws2qPk913oqnWgSvsgs6OQ7GuRIq+Mr4NgkTFhiMw+Q/jL7p/TfMCpRwS8ky7u7qspiQIhjddZiGt8CqSC9IQX5CES/kpsFRZYK/vBvRs4stbvF2Sg/5RU3DyThT/3N22K/7w/R77s4/hnZSlHJbO1q7i3SPvnMOM+DdxPOdvDHIMwS6f1VAxFZamfYWXE9+v5lPWojpDHlRshJSQ0NOYDygSQEIvPMKpP3Z4f23QE7dKsuF7KgJ/+m3k6xKaUgZFPYIjOad4PdLI0nTkrHXin5df+Rbzkz7G912WY1DTfmJbZboyfJ6+BnOSFuNj13l4uvVU/pvHiX64WJBUi9438lKChLHhCEr+08grjK5mHqBIBAlJ5YOOb/ARRb/sv3UMoVGT0FrbAj95f41XExdgX/YxXqWzVUcc6LYJrSxa8M8X8xPR7+xEvuMh4T3b+hF82PFNUa1PdXJL81CsKxa1uKTZfS/lv0Z3So0qEiRQDUNw0r4aXf+Ai0wfFAkhIVkMdAzCAMcgeNt6wM+2C1ws2xhMDyQQwSrsaunCIWln2VoUY3x+EsIjJyO1KF38jtYtX7p/gMFOoVWKe27SYixK/UyO/hPazOWQhCTtl+smpg2KxJBUJcTmWidooMHV4kw83Woqvsn4gS8+tUyDmJ6/G6xDhOuTClLRP2oqEgpS+FedrNojv6wAYQ4BmOPyHLraeoi3ulx4le9+rhZfk6sPc6FWD0Vg4gG5bkDtmi4ohzuOQpmODHw1XrhWR3DLOr2L59s8jp+yfseEc8+iUFeEUU4D8UOXz3Gj5BZeTViI5e7vidMJAUA7osSCVBzttg32Gjs+0qQVXUXvJt3ha+OF3LI87L6xT07D4R2o1EMRlHiwOu9ak7qmCYqEkAxtGoYedj7wtvHAG0kfIKXwSiU5feQ6B6+2myl+/+vNAxgd+xTyywr5DiatKB0xeRfRw9YHv/quQzNtU143o+ga9t46jKktRvPPUblx6HZ6UF15qNyBSjMEQQmHatLx1b3G9ECREBISRkqvo3wdQqXt8YdxpchQ7f5W+5e4gqxioQXu8JgnKtl0SKH2m+93aGnRvNI1z8fPx2fpa6rbBzWpX6eQmN7UIzEk9IIJDx+Eq1V73hm2hz25Wl0DNSa3GIl1mT8izKEv3+nYqm34jkZfN3L09ikMiX4MOaV3EOYYwEcPKqR4I51KG8uWYifvubkfQ6IflX80YSwHOt0QhKSUP0wdFdMZUSSGRAXG3RQv+R+Em3V7FJUVwfJwZ9D333l+ykH59PLX+GfCuwiw98eb7Z7FpLjnMKPVVCzt9LYo/lM5UYiInobLvf/CwpTlWJi6jP+2x2cdBjYN5v8mDa7v6YGVRivJ+5AgUWMwApKPSN72Axo0DVAkhoT0Ibt9VuOVxAVY47GU/+VnFl1Hq+M98bXHEjzecgIXy5XCDPQ4M7SSb8kzrabhc/eFogGQtK400lirrfBtxiY+8izs+Loo2onnZmHTdaNcT2vev4zdhgqDEZh8tOaN1PzK+gdFYkhou0ta1C42nUFeaSqouBGPOpemjmdaT+fSInDI2BeXf6lK6T3eYjxWeXzE1fD65WROJGh7PL75MP712owtePRC5TVOzbukiisJEsYGISipXAtYD6V+QZEAEoq7+cz9fcyKn8e1ofpGvR+v/8I91KizyXgnuAjQVBEaOZGPJHNdnsfriR/w7XDFMrn5CG4tppgeoZzIOYtef4/E6GYReK3dTAyNfhzZpTnydR1BAhaB4KTj8t3kwS3XHygSQOKsaYp9fj9wLev5vEu4U5onGvV2Zv2OGRdn40qfEwZSyC65zZVliQUpIlT62+GKIhvbbDA3AAojy9k7seh+ZsiDJStJDZbNR5J6hoRepX5AkQASeniaHr7x/LhSl5C74oiYJ+Fu3QHRPe/67JCxLyJqOmLzLhpYinff+BOjY59GkY6yPVQu81xewPsdX+U/kAq/88m7hkBJeKiyEZYNjSoCAYl/yXcP41uue1AkgkR4xdfazsRitzniG5MF96EzQxCZG4f5Li/ivY6v8N/ySwswJOZR0C6GlGZ97Xvy7/+4dZi7NRboCu8pNRq5Mvuc4VMXTVvNjnUzXsI1qsluQa2OQGCC4XBYo7akuahuQZEYEvKU3+G9ChFNQwykQbuZ1ZmbMdvlOfH7qXEvYFvWHuz2XoN+jn349xRHPDj6EfjaeqFEVyL6nlQlWvJjIaek9pZtDTzapOkG/VbYLajUAxGUcFL6tmveYt2BIjEkZLTb0uVLMdyTpgRXKxeombpKabgc7813MQJU5H02MGoa3/bu9V2PvLJ89Dozkttq6q0w3ATTRJgaJCSPugFFYkjUUOF7r+XiFpVsLBSQ1d8xEN95fWqwS6GXpK0weZ4JMcR/34lBeNQUtLNoxZ2VBNsNfU+ui7ll5JNcx4UgAQYiOKXcW8rEivygHOg4Gkz3g1RWYNKsrvb4BNNbjuWijMuL5/qQzOIsTHAehg1ey+45qlD9mNwLfGtM3mqkb2lh4WzQJduu78HYczPkV8UbzDa4CQ0bgL7Jp02MD/Fx5AVFYkiEIfCzTgvwbJtHcCk/GSGR47nqfKTTAGzusoIHa5HOhDSlE5sPN5A7RfkRVLZqaxzw2yzaamhEonWKUGbFz8UX6evqps8YbkDNBiAg+Uzd3LBmd5EPFBkg0X9F2rKuydzC3QbIFYBihS1VlrwKpabwsu6EF9o+IV5CepOQsxO4PuSg32a0t2rLf/vP5VV4LWEhfvddLy5yKUSjxfEeNZNoda4iSFSq/ghM+rs6l9VHXXlAkQgSe7UdaLt7v/DNUIc+2OW9mtthqLyasAAfX15pYDVOLbzCISnSFfGRpJN1B153Rfo6PBs/l/97vPNQrlijQvd0POqDnNJcOfskC2rVAHOARBjJpRWGRJBQRoE9vmtRptNx831VsAQ06cl1IuQiQGVe0kdYmLqce82TG6NQ/nv5ax57ox/YRca9Jy+8Kq5FdnRdJS52BWdraQVj0FoWmLo/ghPPyngPSZuWdkSRCBILpsUen7UIdezLX5b0HRVhoQc/+dBO9LArj8NZmLIM85KX8H/PbjcLi1zfEAVFIwS5LAojyfeZOzD9/EtiLjYKrXi53dO8PqXfIovy+fwESQWt19h1QN0fIYmRct1AjnalA0UiSISXXOw6G6+1e0Z854PZf3FY9LeuFCNMQVu7bvzJXQqEcsF/X5VO0fQ7GQrJLYCi+qjo52gjpdu42JnYcaPWobr36qvr0GjCEZBQHlVmRkUaUCSGRJDfoo6vG2hXD2Qfx9DoxwxgcVA3MbDe9nPozQ2FVMinlRRwQuDWrht/YEzsDNGmow8J7ZSeuPAKVmdukaf7GLsGtbq/OUJCAqk9KBJC4m7VAVqm5QHhQnmvw8uY3/4l8TPZZsi0X5VbAFVa67FU1LEsu/wNdt38ky926brhMU+KNh19SOi6F+LfwvL01fJBotKEI/BStDw3kL/V2oEiIST0qt96fIzHWo7nhru1mVuw/tp2XCu+gYoO0Fuu7+LTR8WMjI5qe1zpfULcAQWfHYdDt0/i0RZjsfn6LoM0FKScW+r2FtpatsIbiR9gcdoKeaTNWCaYNhxB8THy3KBuWq05KBJCQg9hp7bF1d6nYKO2Ft+8uKwY27N+xcqrGxBg3xNvd/iX+NvK9PWYET/bQEp+tl74sctK7iNLcTcuf/W+r4a1idoWEY4h2JJVrbx3xvdMA4Gk5lOPhJCQSn6d539xvfgGD5T6R8vJBt7t9JDkXxIRPR2fur1joERbkPIp5icb+qOQHWic8xAeTrHsyrfGd6rUNRnLgE4XjpCUWKmbro/2qj+iSAgJ3Vzf2XlJ2peYnfhvrs8g39aBjsHcB+TR8//C2sytfEFFronTWowRZTUs+nG+DjGpQpBoEIa+yeWJVRpAqR4oBztQD22UysBH8TXrvZZhwv8clUmelFLixUtv8ymD/D+eajUZi1KWiwo3umanzzdiuglSt3c7PdiE8qmxq9AivCFBUr2pRyJIKNNic20zHL5d7pdDUwUtYgVrMH331dUNmHlx9j3Th1P6LMrW2NyiGW/j95uHMDnuOWSV3Krnv112FRoWhoCkuHp+EMlvb9yIIhEkQhqJphoHjIp9Soy8I1hWdF6Ep1pNEV9wXcZWPH7hlXueZEFe8D92XWkgEPJsi8w9x/+jdFr0/3sl45NckmDpUKnCEJR4Xvq267/FB4MiEST0qtu7foWRzQbyt6aYm7GxM0EGO5p+psQ9z9cllFFAKJuv/Yyp51+8Zw40YTt9PzFaHOpUBznUWDqYOhTBCVWniKz/fq71E9wfFAkhoSdtpnHkoZhCnjQK87xdeodrTmmtMTB6Gqa3GGOQWUA/DQW1Ma35aO77Sqp8yi5wqsf9I/SaHfXDjZLsWgvqng0wXAE0YQ0ZkvuvUSSGRBA0qdx/8VmDPvaG/h76yfUqamMpAHxM7NM8DcVvPt/BxbI1pp1/CafvRCG990kxswCta87lXcTDTbrxQw96NenGDzZIKkyTBxSGy9BqwtAn4aI8NzCdVqseUWSCRHhtcgOI6vGrQbjmh6mfY3bSv0XJVLQA77t1lMfq/OzzLUIceoOUcV1OhXP1PmlzqVRsQ1YxEyRqbSgCLt21N8h6w/ptvDIoMkDS084Xp/6XhrOl1hmHum0Rs0ILr09GuWfj5+DLq+sR7hAAHXTobtcVn7i9JUroyO2TsFc3gY+tJ/+Osi2SV/1y9/L0nBQdOCL2H3Uh0TRotGGNBZLKU49EkBAMN0uyuZV2ZqupWNH5A7ybvBTvpPwH5GtCnmS0qC0sKwQFfQc6PCx27usJtPuZjPZWbTAu9hmeAFg/s4A+BZQYh45KISUclWO3T6Pv2bvKOJmISYPaIhSB8VVHt8t00/pu9u6IIhEkFDROnmQXCxJ5PrQv3Bdx7WpCfgp3CKKAborJoR0Lnay1++Y+7jk/znloJVlQVF7b470wpcVIfNV5caXMAo5HfDDUKYzvmqhQuMVDZyq3I6GQU6G2CGtskNwdUSSChBo83n27welZ9J3gs3qvRSXpUdZ4LhVzoQkdK/i/0mfa7azzMszVqj3oxnOdrPQoX9vQQrbrqfLz/2QoqWAIRXCKbK5vMjyzZE0yHHNtieKyVKnU8kH2/tz/Qzh3j9YelD7zdG40/tnmSezPPo4zuZUt7jTKUL41IfEvveFHaSt4Sgqh6Hu9CRmUKE2Wv50fylCG7JIceew+jKVAw/qhb1IdpJ+WrG8lbYjhsGsHlJZKJoAhTUOxretK8QQKeloKiUgpvMwXppROfHD0ozxyT79UDDYXfhPSZ5Hth1T3tB2mkAvyg1UfupuLXlKp6DfGWDIsEIbeyYmy3cMMGq41KLYqax549WHa5zyUc6f31/zsPVpf0F95XN4l7Mj6zSDjQE7JHQyNeYw7FVGhBW7Cw4e4E5EwVQmZHOkz+Z48Ez+H234iHIO5noSyTk+Le1H0fZVF1gSJhoU25pFEkGutQLFilvjZ5xu+86C0ErSlJccjQXlGcTGDm/bDUre3+YI2q/imGOdL+eL17T1kKSYVPwWae54M5Tnm57Z/Qez/NRlbeHhF3Z1izpKgVoUiMDFZFgjNrNFagUImfwoK1w/dJAAoWQ2dTDGl+UjulERTBRn5nr/0FuL8/xDXIYK9h3Y+VCiWJ8yxL366UX4WEaXNWtDxNVGkFJ9DWRzlLwokFWVcK1CoMX87XxzvvkPcupLGlLIXWaks+SmfNB1tuvYzN/otdp3D42dIfyKEf9KilNJ2bsuq+lzEhR1ew5z2z4vPTZmhKUmOfIUlQqUORVBCeaJ7pXAJ1AoUb5vOPDSCjHpCMj3Kvrg4dQU+d1/AA8ZpfTL+3DN4p/2/eIfTFpbOwiGIhKxHNK08duFlPN/6MXx3bRtX1gmFMkVH9rwLESXE2XBthzzdx5AApglTIKks3mqBQtq5TlYdEF+QzBP7xvbcC0+bTtzuQgcN0AKT8sZ/4b6QjxhkzBsV8xTPnkg50CjZDcUA+9p68kxJVGfr9d2YdO45vNXhJW63IaUZJbihw6crGhApiq/zyRB5Ev8SJJbaUPS6VE+HAMrDvlStVgsUOpNmUvPhPO330ZzTIBvOLu9v+dqD0kyE2PfCbp81fEFLRjza2cxq/SiWuM3juVkJEvKQp/RYFFT+8429PCDr1bYzxBBQyroYFjWZjyp00idtqWe2nsbf9+kLb+CrjO+leve77TBcgtYiFH3iZTIzS//Idd2i0aDMav0IPnMvD9uk7IpkyaVTsp5sORHfZW6Dp40bDvltERVt0+NegqPGnhvsKHSCTh8nGxAFlVNoBrkv0qEEs9o8Ihr+YinJTdQkHsvjY+MB8oQ7ePsEz+nqad0J/04rzzYgcYmHhUWYAsn9pWo0KLQV/rHr/4mnXNF2eF3mVn5uHoVTkM8qqeGHOfXnd6Q4XjXUyCwuzxBNcFCuNOF0T8qhRraej93m8/r6R7A90XIClnd6H8dzzvAUWjKWeGisQhFw4bKM92gQTRsNCr0tKcbooCPKBl2xzLj4JlZnbOYGvrHOdxP20nl65JFGGaWdtI5VCo2mpWExT8DFojXecHmWn2QhFBl3ORehsQpTIDGO42qBQk2S7oT8SXrbPyTeQd8PhH6nkWVKi1H8d9oNZZfe5idnkUcanQ+80etzMeyT6lwtyuSe+foZHWmBTNpeOtHiXnHGxr1iFbUYuwBmFYag85VPeapxow37wmqDoq9EE0RTqivlJ4rT1pZ2KuRDQjsffT8TIXMjnTAu6FeqEi2BRWGk85OXyONBr0BSI6KrDcpu79XiOiW9KAOtLcoPNyIjHR3AKGQ/om3usZwz3LNeyNxIVl4yGJJ+Rb/QGocOT6IDCSg3CaUgl6Uwdh7WCIN/8t0jRmW5UcNrtNqgULboLV1XIKckF68kvo8L/vtFOCqKx/vUAH6AI2WR7mrjgZ+8V3GD4c3ibB5zI2SQdj7aTf7gLcbiYI1wBZKaQVxtUOg25DtCUwRlLaqoYqff0wrTseX6br6IpS10sP3D+MVnLdevkOV4QNRUUJKc/k2D+Ehkf6SrvEmACRJLFoZeSfWYlrpmHWQqV9UIFP2Hp5wkib0Oice8Cr/NT1qCBanLoP87GQwp9/yR26d4igsKCaUEwT6ny4PC5CnsHCxUYeiTmCFP+42j1VqDQmISzgyuKDIKLp+b/BEmOg/jPq9jzs3gYaR0YNIGr+W8elWpKyQTPWOx0KrCFUhqL1FJQOnT5CEc7b6NPw1lQ9J3lP4kbSVPxEenU1DEHk1bkT32wMvGnU87nU4EyxOgRZCoNGEIvGR4fm3tZdYoW5AEFJJcvP8Bnp5zfeY2UFI+wfuefvviylo8d2keT2VBR9ILBzdSGs8p5+86J0nWAwwxUGkpZ5oCiURClQwU8lBb7/kpD9pqd7w3hjmF8yQ5whFr31z9AaS9/cZjCUY7D4K1ygq0K5I8nytDNHQW4QiJvyaRjJRmauuPUlGCpJUld4JrxVn45PJXmOQ8nIdYCIc30mhDijnSwFK0nxA9KGFPRAEW/RVIJJTo/5qSbETRfzRKA0o+K1TI8rvR6zPRK59SWUyImyX9mwBRsLEKh/+F63I03tjblAWUikKlEI6tXb/kyjZKuyV5Ej7GImFt2V+BRD6c6wQUenw6nYvSey69vErat2HsLCys+6N3XJa0DSut6UugzkCRRewKJLKItapGzRcUxv6G2q4/AmJu1Jm0GvGNzBQUdgYauwEKJHVHrhmCwk5DYzdQgaTuIKE7mRcoDHTUKx35Ske/KqUOJWA+oCiQ1CEWlW9lHqAwnISdaiAeSqrv1NT12ln1eXNzAOUEmqgiFEjqExPTX6P8BRtNBPwTZMwoXL8dYC53N+URRYHEhCgyTVAYOw5r9SBlJDEdUkwPFMaOQasdhD7xt01HTMqTmBgo7CgstIMVSEwPTBMChR2Bymowgs7nmJ6YlCcyDVAYOwxmNUSBxHSBrH9QCBIn28Hwjr1jumJSnqx+QWE4BCe7IQokpg9i/YHCcBBOdkMVSEwfkvq0Hh+Ag+NQdIvMNQ8xKU9Z9yMKY/th7zBMgcS84KtbUBjbB3uH4Qok5gVJ3U49BIm18zD4n8ozPzEpT1w3Iwpjf8LaebgCifkCVwegsD9g4zxCgcR8IZF/6mFsL9RtRiDgaL55i0l5evlGFIbfoW47UoGkYUAmDygMv0HddpQCScOARK6p51e4qEbBNamg4YhJeROpR5Q9cFGNViBpeGBJBwpjv6AdG6NA0vAgkW7qIUhaaUejc3xhwxST8la1H1EY241W2jEKJA0bplqCwnahtXasAknDhqSWUw/7Gc1sx8I7tqjhi0l5w5qNKIzthJPtOAWSxgNQ9UFh+AlOduMVSBoPJDWZenagmd0EBZLGBUl1QdkOm+YT4H+quPGJSXlj46YexrbB2nmiAknjBebBoDD2I6ydJymQNF5IHjz1MLYV1s6TFUgaNyQPAIVtQbDrZLB9JYqYFAlUPfUwthlBrlMUSBRABAlUBoVhE4LcpiqQKJDoS8AQFIYfEOQ2TYFEgaSiBPRB2Yjg3tPANpUqYlIkUDUoZWUfIqjXdAUSBZB7SYDhorsl3B8qUSBRILmfBJgiHkUCxkhAAcUYKSl18P97r54/ShmKlQAAAABJRU5ErkJggg=="},RtLj:function(v,A){v.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIoAAACKCAYAAAB1h9JkAAAAAXNSR0IArs4c6QAAFANJREFUeF7tnX2cXFV5x3/PnX1NSMJGE3dmNy8CAiEoFPrRBlJIQASTWCgREIy8tHwSk01mthaVUuWtglLU7szuJlnkTV5sDRUoAgEUQzFURFIglNQIQgLZmVFCSCTJvs3cp59z957p3ZuZnTsz987rmb9275zX5/nOc55zznPOJdTwpy3Ci5M6IgA0p2IgAjlNmyFdYfm5wPpzbD8DQz7CssIaXaDESpldQKLreJCBhlK2o5zrJmBY03B+f5Aeq0lQFCTZ8bRCIlLXHCgKktwhqTlQFCT5QVJToChI8oekZkBRkBQGSU2AoiApHJKqB0VB4g4kVQ2KgsQ9SKoWFAWJu5BUJSgKEvchqTpQXIeEkNSAZUyYRIwWZrQxEMyuivJNYV9xddrSqlmZdRsSAvaAcDAWohlSmO1d/IkE4WECtjDj806FXC7p8oWkaiyK65AQ7m9uQsfAIG4gxvf9zYhtWUEjbb18Io9gz6kB9G+O4YfM+GK5QJCtHYVAUhWgeAHJfD8ue+BCSgb6eAIP4mFmnAng2boAFu26kAaE4E7u4/roIF5nxqxsSir194VCUvGguA2JIRDCTwJNuFhYEPH/7Lu4aehPCBPjpmgnvS2eXc+s3RbBnTrjslJDkK1+NyCpaFC8gEQKnQiPN07G0h1X0KBdEbUIScWC4iUkFjB+MX0q/mrrpXRAPqtVSCoSlCJBIiJ13vIRTusP0i6rVfGH+dvMuDqbyS/l924NN9Y+VNT0uJiQaIwF0iexKz0Q5g6dc4u1LRY4XkBSURalVJCI4WZ9GDfX1eP2XR30hlS4P8x/DeA+ZkxIA8E+AHUAJhYLEFOZqRhXt+utCItSSkjk7IYI7zJjcbyTfpOCpYdPQgKPMNBmPCP8gQg9jZPQM/QBFrOO+9xWWKbyvLIkKQe/WB3Jt55ygMScNm9mYAQabo2voY2yP7N7uXUogX9jxukgbJ3eglOkA+wP8/3MuCTfvjvN5zUkZT/0uA0JEQaJcL2u41gCTmTCXDDqheNq9Unssxsi/LKlDosOTkDd4D48Dg33xoO0Tirygg3s2xzHjcz4OjE2xDrJgKOthz+kJ41FuRanSs81XTEgKWtQ3IbEHBo2xUN0hlTGcRu4YW8cc5lxzUTCsjeCNCQg6QvjLgYuNS2JAcm2Dtov/p+5lo8YHsZ2AnrmB3CVWMGV5bX18LxkEus1DddF19DD4nlrhK+FjhtyBcBJ+mJBUrageALJaG+vjYfon6xK8PfwLE5gBwEbqRmfxyDWyhVXaUkkJO2389TkfjzNwIkmRD/XfPhC/2p6T5YpQLv9Dhy+60raI5619/CnEgk870TxuaQpJiRlCYpnkIz29nkCHoEPzzVOxAti5bU1wpdCxw9NixMHozWdJTGsSQ/PHUngGQY+LJVKwDuow7LYano2naLbu3lBIolNuUCQLW2xISk7UDyFxCZ9IWwGtoAwkRgBjdCRZHQDmE6El1rqcJq0JNasItQgCcOqGLAQ4V4ASwA82FiHb+zooLhMLzYO+wexEaObiq58SgFJWYHiCSSEEQJeZ+BNjK53pPwTi0XY7fPhjF1r6NXWCB8HHZuIMJkI50aD9JQYbvQDuDgaol6ZR8ICwmvz/TjzuSjmMeFJBnQSayuEpzVgMjNWMeNkVwgZPdbp2TpJtjaWxTqKJ5CM/tqfiIXos0IIgTBfojPutwqEgBQk8vkYWIArxExG+CSk4eZYkP7RCgsa8d6uldQvnokFOGY8mE3g+X5fSkjKwqJ4BYnpczwdD9Gnxd+tYb4MjLvNTv83A8eQDwtia+hFu/IkLGIYGgOWDRb5HTNTIIJHmbEoXxDGy1dqSEoOSlsXL9GBn3hw9YQOwn5ivBzrpNONX3yEV7CO9WImM60Fn929F/N0HcunBrDstQswEojgvFiIHrJbFgMWwp8A7ATj43bLYpbdyTr+pVohKSkoHloSXSNcSXV4KTmCG+KddK5UJhjnC0jkymkgzL06MJMY/Qys0AjfjYboq1LhYpYznMAviPC7aS045909+AEIM1YEcfr1RLpI1xbhE3TGr5nR6DYo5WBJLL6c293LXp7XkERDdJdoxcy13PL2Knpf/C2mqVOn4DcWSMQOcI+9tXZYxDCk6bgo2knXibTH9fJhqXWVDdycjGILA3Oy9zq3FOUESUksituQEOE7DFwBxjRhSSQkR/TxlIEB/E2skw4ZEswwgR4C9jJweDZYMqnYH+Z1zPhybghkT11ukBQdFLch0QjBaIi6/b08B0mcFAuSMasRkBwcxFMEPBcL0VesqklBQrimvh4/Hhk2FtBSRzJkWrtlkc/9Yf4HAraJ/3WGsUzv5qccISkqKG5DIoKgYyE65GyNhASMT4Lw1XiIvisVaYUkFqJvSx8jyXgJaS7RSwdLa5h/CsYSc8HO1fvfyhWSooHiNiSpXz2wJtpJY/yM1jA/Asbn5OzG7pMQ4RoJifA33h/BEwycmskqkIZvxoL0LYtFeZkZJ7hpRUxFlGwxzUlfPF9w8woSYfmtPklKkWIYSuDGaS24XEIyI8zHjzBePQSSBERcyZ+DoY0zRU80NmPmzhUUE3X4w7yTGTOdCNdpmnK2JLIPnoJSLEgWbOK6ZxZSIpNixJDDwGS7JQHhZLFUz8As1nFbRsUSxGbhNo2wnYHLMoQ/OuViTLpKgMTToadYkBg+yQCe1ID77MOQ1IjYm9nVSVvF/8ZwY1oSuZ8jngfCfHexD3RVCiSegVJUSAbxlHBcCXh2fgBnyEAiERciF8UkMJkgMUDp4wn6IJ4Xq695mYYcM1USJJ6A4iEkYvf0xUAzThHHPa2zmzSO6yWaHw/Jc8IpSzKCJ+RwI3aG7bo19ngYW8Hw5aj3nJJXGiSug+IlJCmnivAQNWG5PojHDEti7t3YZjez4p30NZnHiGmN4RnhuFqHm7YePlrXsSgWpC7LrMbTgOhKhMRVUIoBSepnS9gPxmFpIQHCTQ04asdK2mH9mfvD3CfWXqQlEZAkRyPPPkI+HBlbTTvNWU2IGSlwcjIVWRJXKiSugVJUSExljLNO8h+xEJ03ns5SkDACIHBDPY56exW9aTq1X9MZt7gJiCnosl4nydbfgqfHXkBCPpxDPuzQEpiSJLRwEmtBuAfAl8A4kgj/Na0Fn0m3wefTMK8/SEYwcyDMty4P4utWp9aAJGEMQ35DgbYYE38XvySDp7MJz+n3lWxJUkO+086mS+cFJKKeqfWYZI1XDXTzRdE19OO2CLcnRagi0FjfgAXCCshleUPphB/FQmTcghTo5lP1JDaThuWxIP1APBtjSUY7dEu8k1IHzlsjvBI61hYiE3veaoCkoKHHbUjEcQkAZ5ovEjqXGO81NiL++5X0R6vwAxG+WNfxIxH9TgSx9vFNE5KDGuEYefuAv4vF0vzZ4iho42QcPXIA0w2fRAw3o5ZkzNK8ES2vG1PterdAqRZI8gbFbUg0wrr+IDraunEWMx6SK59yd1gqzt/Dp3ECj6c9/G05s9MW4b9I6viVReEPgHCqCUlCIyyX4QiGpQnzwiTjp24eKq8mSPICxW1IiLA+GsQqImLRIHFgKpnAo0S4UYQQOIGECDt9fsyR6ybSmqSzDAT0+3xYtmsNCT8FgQh/mnXjoHmzsiSZJZCTM+tJjCvh6cMI578RJBGXanzEYtqbK0hcHWF8xrUko77JNtZwlTg8nsaapO09Ee4gDT9jHXczo0lBMr4EHIPitiUZ0yzC1roGLJJHH6zfZYPE1j0x3IgXSX7KLcXnUk61DTfWvjsCxVNIzNYI57S5GR+3WhLDmoRZXFZT9ve5VjMkjnyUYkAiGmJ3XCXN5o1H3wGQio7P8CtPEOFXzEYQkuPX0+ZiMTKlrXZIsoJSKkjE5TTWM7yG0xlmcWpvvT3AiIDtpOGGhknYuOMK2uuP8E2s4xo3AHBSRi1AMi4opYIk5ZMQemNBXC1nQ6KxwlHVGQ8wo10q0YxdnS+vzBJBTNu34kUvwhXt4NQKJBlBKTkk5iV5BDxMzfhidAUdlEo6ch1PPziEe8RiWkpxhLemHIYTtv8tfSCBsq2jODEOOaWpJUjSglIqSFojfDp0PCYXvYjQCWChOMfVoGHpzjX0ltSkOOvbFkaHTrgJjMmmj7MuGqJVMk1rmB8FY3FO2neYuNYgOQSUUkGSZgrcEe+kteaLCR4AcJpG+JJ49btVl60RnqbpWM2Ei8FomR9Aq4xw84d5OTP6HOrecbJahGQMKOUGidRcIMKf03U8IsIBwPjnqQFcu+1CGs6mWXFQixk3Z0uXy/e1CkkKFM8gIbxqjUF1sHdjWBKpPH83nw3deA3K/6+cEl711eHS/g56OZOSjdenDMC42iIXEMZLW8uQpEDxh/mAm0cQjIIJ964I4vLbwrhOB64VV3ROaMKfyQU1u08CYCwkYRY3FW22L68T4RsA/o6ADc0NuN6+u/yJe3jiu+8bL11aqiBxSwLGbU9AaxeLd9OIK7ld+UhIZMBQ6kUDhBcmNOEzB4dwotVxtUMiGmFOc//V+ko2AiKxTgoFwnyKDjxJDB8Dj2rAk0zGq93EVaCXi+AmVzpS4uuw3OqDG+WMghLmhFuR53ZI5BEJZsw3GkxGlLtQpLwnfowlsXbKCgsRtrT4cYr0T1q7+AIAG9wQQqYyan24scrFVVCyQmLTiNjBjYXoSqtPQoyzokG6Sj4TsPx2K/rqCTe/E6Tfi+dmVP0mZvylV6AoSMZKVg494vblgvZHcoXEbEaCNFwUC9KDYxxXQnc8RBlfG+sP87eYkbp4z21YFCSHSlRaFD3dtQ9OFZAnJLJ4sZl3q3BQbbObtLAEuvgsHXiiULDVcONUu6PpCgYlV0g0DeI4xElgfCFbUwn4ivXGJLFZODiCV+y3NWYrx+n3ypJklpQceowwxFw/dkhEfn8XL2Xg39OVRYS/j4Xo+8LH+GUM92WBJdbYjJPldRNmuMHP0l0qnGu707athJf9utF+r8vIG5R0kMjGtnax2HNJ3fRsmC4TkpTj2stzOIFX0ka9E0Y0DQuja+i5VJlhvg6M670QiLIk2aWaFyh2SNo3cLP1QLio1gqLHZI052vGtFQjrB5zpfjoUYqfuzWFt1amIMkOifFDFzux/jCMO1OdfDL6JMAr8RCttpYhYCFCkxhu5PNskIhzOBMacLxccRUbf9ANv8Q42efmR0HiXJpkjv2plxONlzWr40rotcNiLS8bJAAOgHAnMc5jYGkshBcDYWwcE3vivG/jplSQ5CZIx6BkhUTWmwEWR5BoWBwP0n+aluh7YOMivnEPnOfW3dHUCpLcpUbGDCSKjPefGYI1N/jk3s0hy/L2etPAImJedcadGZp4ACYk8vtauuw3d7UVPwcZS+SvQGwKpv8QXvhyEPPGgeTXAI4FMGVMAWlgSTcbMoabQyE5BzDCC1y9X15ZkvwByw7K6IHuUCxIEbslEfemTZuKRXv2Yq5xwDt3WBQk+euuqDnJeJ3ZALJGjGkarmbGErkLbL/Ipj3Cn8wJFsItICwRPolluFGWpKjqd14ZiVe67oliyHmWlEO4vaEZC+XKqXiaCyz2szv+MCtIclVCEdPnDYo5eygIFmVJiqjpAquioyLcuF/HYL7liJN6Ti2LpuF71lgTUaeyJPlKvrj5aPZd3DS4DwOFVOsQFuW4FiLkEuclsU+TiCJ1Ei/f9mSBpU5NgfOVbHnkcw2UcX0WoFnNbspD4fm2gow74AdwIN8C7PnSWRZrGuWTuCXp4pZD4hzMH/dgv5vVZoJFQeKmlItbliegiGV5zYezrYFHCpLiKtbt2kgsy+8ZgXFdhEsfNbtxSZDlVAwdcwdP2veB8aZwVz5EWBkL0XpZmLIkroi15IW4Dwqw2wecKd64pSApuX5da4BYmZ28X0fqTlc3SiZgNwjizZ63qFABNyRa+jLIfCff3tI3JXsLVDxJdhl5laJiQFGQeIWAs3LFXs/hg/vwvrPkpUmlICmN3K210sy13DI8jD2lb0r6FihIykMzZQ2KgqQ8IBGtoPbbeWpiP94rnyaNtkRBUl4aobYe/lAygd3l1CwFSTlpw/zhBvr4w/oA3i2XpilIykUTY9shwgzKBhQFSXlCYrgC5iHwMS94LEVzFSSlkLrzOkm8hODAEP7gPIv7KRUk7svU7RJLDoqCxG2VelMefbSLPzIAxL0pfvxSFSSlkHp+dZJ5gV4sv+z551KQ5C+7UuQsCSgKklKourA6aVYf+4cGEC2sGOe5FSTOZVVOKWlGNwdGkugvRqMUJMWQsjd1FA0UBYk3CixWqdS+jtsSQ9jlZYUKEi+lW5yyqS3C7Ukd73hVnYLEK8kWt1xPQVGQFFeZXtZGgV6eoY/gbbcrUZC4LdHSlkeBLp6pAzvdbIaCxE1plkdZ5O/hWZzADreaoyBxS5LlVY6roChIyku5braGZq/j2YNDSL3OPt/CFST5Sq4y8tGsbv7oUBJvFtJcBUkh0quMvAWDoiCpDEUX2kpxrueI4WEYr4nN9aMgyVVilZueZkT4yBEdb+TaBQVJrhKr7PR5gaIgqWyl59N6au/loxIjeN1pZgWJU0lVVzpqD/PHEozfOemWgsSJlKozjWNQFCTVCYDTXomzx0cnE9g+XgYFiVNxVm86CqzlY/Rh/DZTFxUk1av8XHo2LigKklxEWd1pKdDNx+pJ/K+9mwqS6lZ8rr0jfy/P4RFss2ZUkOQqxupPL24zOA46XpNdVZBUv9Lz6eEYUBQk+YiwNvLQzB6eO5zA/yhIakPh+faSZoT5+ARji6bh/P4gPZZvQSpfdUvAWHCDjo8pSKpb0YX2jgotQOWvDQn8H7Pk0hTaHxQGAAAAAElFTkSuQmCC"},jyDb:function(v,A,a){"use strict";a.r(A);var Je=a("cWXX"),de=a("/ezw"),Xe=a("DjyN"),re=a("NUBc"),Ke=a("5Dmo"),ce=a("3S7+"),Ge=a("+L6B"),H=a("2/Rp"),ze=a("14J3"),O=a("BMrR"),Ve=a("jCWc"),h=a("kPKH"),We=a("5NDa"),Z=a("5rEg"),He=a("2qtc"),D=a("kLXV"),Ee=a("c1Ei"),d=a.n(Ee),me=a("XEnU"),_=a("5Tp6"),p=a("k16G"),Ce=a("y1t/"),Ze=a("Znn+"),pe=a("ZTPi"),m=a("q1tI"),t=a.n(m),ve=a("+F6A"),s=a.n(ve),g=a("9kvl"),_e=a("rCRm"),Fe=a.n(_e),T=a("ErOA"),q=a("1vsH"),Ae=a("RtLj"),fe=a.n(Ae),Re=a("R30A"),Ue=a.n(Re),k=a("m3rI"),qe=a("iQDF"),xe=a("+eQT"),$e=a("y8nQ"),S=a("Vl3Y"),et=a("OaEy"),$=a("2fM7"),he=a("65B1"),De=a.n(he),ge=a("wd/R"),b=a.n(ge),Se=$.a.Option,be=function(f){var X=f.visible,j=f.onCancel,R=j===void 0?function(){}:j,P=f.onOk,K=P===void 0?function(){}:P,i=f.listDataParam,L=S.a.useForm(),ee=Object(p.a)(L,1),U=ee[0],w=function(){var C=Object(_.a)(d.a.mark(function Q(l){return d.a.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:U.resetFields(),R(),D.a.confirm({centered:!0,width:440,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",className:"custom-modal-divider",content:t.a.createElement("div",null,t.a.createElement("p",null,"\u8003\u8BD5\u4FE1\u606F\u4FEE\u6539\u786E\u8BA4\uFF1A"),t.a.createElement("div",null,"\u201C\u8003\u8BD5\u72B6\u6001\u201D\u4FEE\u6539\u4E3A\u201C",(l==null?void 0:l.state)==="1"?"\u7B54\u9898\u4E2D":"\u672A\u7B54\u9898","\u201D"),t.a.createElement("div",null,"\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u8C03\u6574\u4E3A\uFF1A",(l==null?void 0:l.time)?b()(l==null?void 0:l.time).format("YYYY-MM-DD HH:mm"):(i==null?void 0:i.end_time)==="Invalid date"?"-":i==null?void 0:i.end_time)),onOk:function(){var z=Object(_.a)(d.a.mark(function B(){var M;return d.a.wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return F.next=2,Object(T.a)("/api/students/exercises/".concat(i==null?void 0:i.id,"/continue_exercise"),{method:"post",body:{password:l==null?void 0:l.newPassword,state:Number(l==null?void 0:l.state),time:(l==null?void 0:l.time)?b()(l==null?void 0:l.time).format("YYYY-MM-DD HH:mm:ss"):""}});case 2:M=F.sent,M.status===0&&K();case 4:case"end":return F.stop()}},B)}));function y(){return z.apply(this,arguments)}return y}()});case 3:case"end":return x.stop()}},Q)}));return function(l){return C.apply(this,arguments)}}(),G=[{id:"1",value:"\u7B54\u9898\u4E2D\uFF08\u4FDD\u7559\u5B66\u751F\u4E4B\u524D\u7684\u7B54\u9898\u6570\u636E\uFF09"},{id:"2",value:"\u672A\u7B54\u9898\uFF08\u6E05\u7A7A\u7B54\u9898\u6570\u636E\uFF0C\u91CD\u65B0\u8003\u8BD5\uFF09"}];return console.log(i,"listDataParam"),t.a.createElement(D.a,{centered:!0,destroyOnClose:!0,visible:X,title:"\u7EE7\u7EED\u8003\u8BD5",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:"440px",onOk:function(){return U.submit()},onCancel:function(){U.resetFields(),R(!0)}},t.a.createElement(S.a,{form:U,className:De.a.formWrap,scrollToFirstError:!0,layout:"vertical",onFinish:w},t.a.createElement(S.a.Item,{label:"\u7EE7\u7EED\u8003\u8BD5\u9700\u8981\u8F93\u5165\u76D1\u8003\u5BC6\u7801\uFF08\u76D1\u8003\u8001\u5E08\u63D0\u4F9B\uFF09",name:"newPassword",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u76D1\u8003\u5BC6\u7801"}]},t.a.createElement(Z.a.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u76D1\u8003\u5BC6\u7801"})),t.a.createElement(S.a.Item,{label:"\u8003\u8BD5\u72B6\u6001\u4FEE\u6539\u4E3A",name:"state",initialValue:"1"},t.a.createElement($.a,{showArrow:!0},G.map(function(C){return t.a.createElement(Se,{key:C.id,value:C.id},C.value)}))),t.a.createElement(S.a.Item,{label:"\u8C03\u6574\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u4E3A",name:"time",initialValue:void 0},t.a.createElement(xe.a,{style:{width:"100%"},showTime:!0,format:"YYYY-MM-DD HH:mm"})),t.a.createElement("div",{className:"c-grey-999"},"\u6CE8\u610F\uFF1A\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u8D85\u8FC7\u5F53\u524D\u8BD5\u5377\u8003\u8BD5\u65F6\u95F4",(i==null?void 0:i.end_time)==="Invalid date"?"":"\uFF08".concat(i==null?void 0:i.end_time,"\uFF09"))))},je=be,Pe=a("WHYC"),tt=pe.a.TabPane,Le=function(f){Object(Ce.a)(f);var X=Object(m.useState)({page:1,per_page:10}),j=Object(p.a)(X,2),R=j[0],P=j[1],K=Object(m.useState)(!0),i=Object(p.a)(K,2),L=i[0],ee=i[1],U=Object(m.useState)(!0),w=Object(p.a)(U,2),G=w[0],C=w[1],Q=Object(m.useState)(!1),l=Object(p.a)(Q,2),te=l[0],x=l[1],z=Object(m.useState)("2"),y=Object(p.a)(z,2),B=y[0],M=y[1],ae=Object(m.useState)(0),F=Object(p.a)(ae,2),Me=F[0],Ie=F[1],Ne=Object(m.useState)([]),ne=Object(p.a)(Ne,2),I=ne[0],Oe=ne[1],Te=Object(m.useState)({}),oe=Object(p.a)(Te,2),Y=oe[0],ke=oe[1],V=Object(m.useRef)(""),J=Object(Pe.l)(),nt=function(o){M(o)};Object(m.useEffect)(function(){console.log(J),J.query&&M(J.query.type)},[J]);var we=function(o,n){var u={page:o,per_page:n};P(u),ue(u)};Object(m.useEffect)(function(){ue({page:1,per_page:10})},[L,B]);var ue=function(){var e=Object(_.a)(d.a.mark(function o(){var n,u,r=arguments;return d.a.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return n=r.length>0&&r[0]!==void 0?r[0]:R,C(!0),E.next=4,Object(T.a)("/api/students/exercises",{method:"get",params:Object(me.a)({is_normal:L,exercise_status:B==="0"?"":B},n)});case 4:u=E.sent,u.exercise&&(C(!1),Oe(u.exercise),Ie(u==null?void 0:u.count),P(n));case 6:case"end":return E.stop()}},o)}));return function(){return e.apply(this,arguments)}}(),le=function(){var e=Object(_.a)(d.a.mark(function o(n){var u,r;return d.a.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(r=n==null||((u=n.commit_status_name)===null||u===void 0)?void 0:u[0],!(r==="\u8FDB\u5165\u8003\u8BD5")){E.next=4;break}return se(n),E.abrupt("return");case 4:(r==="\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5"||r==="\u7EE7\u7EED\u8003\u8BD5")&&x(!0);case 5:case"end":return E.stop()}},o)}));return function(n){return e.apply(this,arguments)}}(),se=function(){var e=Object(_.a)(d.a.mark(function o(n){return d.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!((n==null?void 0:n.ip_limit)!=="no")){r.next=3;break}return Object(q.l)(n==null?void 0:n.id,n==null?void 0:n.ip_limit,!1).then(function(){g.c.push("/exam/studentDetail?examId=".concat(n.id))}).catch(function(c){D.a.confirm({width:500,icon:null,className:"custom-modal-divider ",title:"\u8003\u8BD5\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0,content:t.a.createElement("div",{className:"font16"},t.a.createElement("p",null,"\u4F60\u7684IP\u5730\u5740\u4E0D\u5728\u8003\u8BD5\u9650\u5B9A\u7684IP\u8303\u56F4\u5185\uFF0C\u82E5\u8981\u8FDB\u5165\u8003\u8BD5\uFF0C\u8BF7\u8F93\u5165",t.a.createElement("br",null),"\u76D1\u8003\u5BC6\u7801\uFF1A"),t.a.createElement(Z.a.Password,{autoComplete:"new-password",defaultValue:V.current,onChange:function(W){return V.current=W.target.value}})),onOk:function(){var E=Object(_.a)(d.a.mark(function Ye(){var ie;return d.a.wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return N.next=2,Object(T.a)("/api/students/exercises/".concat(n.id,"/reset_ip"),{method:"post",body:{password:V.current}});case 2:ie=N.sent,ie.status===0&&g.c.push("/exam/studentDetail?examId=".concat(n.id));case 4:case"end":return N.stop()}},Ye)}));function W(){return E.apply(this,arguments)}return W}()})}),r.abrupt("return");case 3:g.c.push("/exam/studentDetail?examId=".concat(n.id));case 4:case"end":return r.stop()}},o)}));return function(n){return e.apply(this,arguments)}}(),Qe=function(){var e=Object(_.a)(d.a.mark(function o(n){var u;return d.a.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(!(n.open_camera||n.screen_open||(n==null?void 0:n.ip_limit)!=="no")){c.next=6;break}if(Object(q.C)()){c.next=4;break}return D.a.info({title:"\u8003\u8BD5\u63D0\u793A",icon:null,okText:"\u77E5\u9053\u4E86",className:"custom-modal-divider ",width:500,centered:!0,content:t.a.createElement("div",{className:"font16"},t.a.createElement("p",null,"\u672C\u573A\u8003\u8BD5\u5DF2\u7ECF\u5F00\u542F\u9632\u4F5C\u5F0A\u6A21\u5F0F\uFF0C\u8BF7\u6CE8\u610F\u9075\u5B88\u8003\u8BD5\u89C4\u5219\u3002"),t.a.createElement("p",null,"\u8BF7\u4F7F\u7528\u8C37\u6B4C\u6D4F\u89C8\u5668\u8FDB\u884C\u8003\u8BD5\uFF0C\u8C22\u8C22"))}),c.abrupt("return",!1);case 4:return u=D.a.info({title:t.a.createElement(O.a,null,t.a.createElement(h.a,{flex:"1"},"\u8003\u8BD5\u8BF4\u660E"),t.a.createElement(h.a,null,t.a.createElement("span",{className:"iconfont icon-guanbi1 current c-grey-c",onClick:function(){return u.destroy()}}))),width:708,icon:null,centered:!0,className:"custom-modal-divider",content:t.a.createElement("div",{className:"font16"},t.a.createElement("div",null,"\u672C\u573A\u8003\u8BD5\u5DF2\u7ECF\u5F00\u542F\u9632\u4F5C\u5F0A\u6A21\u5F0F\uFF0C\u8BF7\u6CE8\u610F\u9075\u5B88\u8003\u8BD5\u89C4\u5219\u3002"),n.open_camera&&t.a.createElement(O.a,{align:"middle",justify:"start",className:"mt20"},t.a.createElement(h.a,null,"\u5DF2\u5F00\u542F\u6444\u50CF\u5934\uFF08\u4F1A\u5728\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u968F\u673A\u62CD\u6444\u7167\u7247\uFF09",t.a.createElement("br",null),t.a.createElement("a",{target:"_blank",href:"".concat(k.a.API_SERVER,"/\u65E0\u6CD5\u8C03\u7528\u6444\u50CF\u5934.pdf")},"\u65E0\u6CD5\u8C03\u7528\u6444\u50CF\u5934\uFF1F"))),n.screen_open&&t.a.createElement(O.a,{justify:"start",className:"mt20"},t.a.createElement(h.a,{flex:"1"},"\u5DF2\u5F00\u542F\u5207\u5C4F\u5F3A\u5236\u4EA4\u5377\uFF08\u8FDB\u5165\u8003\u8BD5\u540E\u4F1A\u5F3A\u5236\u6D4F\u89C8\u5668\u5168\u5C4F\uFF0C\u5207\u5C4F\u6B21\u6570\u8FBE\u5230\u8BBE\u5B9A\u6B21\u6570\u540E\u5C06\u5F3A\u5236\u4EA4\u5377\uFF09",t.a.createElement("a",{target:"_blank",href:"".concat(k.a.API_SERVER,"/\u6D4F\u89C8\u5668\u65E0\u6CD5\u81EA\u52A8\u5168\u5C4F.pdf")},"\u6D4F\u89C8\u5668\u65E0\u6CD5\u81EA\u52A8\u5168\u5C4F\uFF1F"))),(n==null?void 0:n.ip_limit)!=="no"&&t.a.createElement(O.a,{align:"middle",justify:"start",className:"mt20"},t.a.createElement(h.a,null,"\u5DF2\u5F00\u542F\u9650\u5236\u8303\u56F4IP\uFF08\u68C0\u6D4BIP\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF0C\u672A\u5728IP\u8303\u56F4\u5C06\u4E0D\u80FD\u8FDB\u5165\u8003\u8BD5\uFF09",t.a.createElement("br",null),t.a.createElement("a",{href:"".concat(k.a.API_SERVER,"/WebRTC%20Leak%20Prevent.zip"),target:"_blank"},"\u70B9\u51FB\u4E0B\u8F7DWebRTC Leak Prevent\u63D2\u4EF6"),t.a.createElement("a",{className:"ml20",href:"".concat(k.a.API_SERVER,"/\u5982\u4F55\u5B89\u88C5WebRTC%20Leak%20Prevent\u63D2\u4EF6.pdf"),target:"_blank"},"\u5982\u4F55\u5B89\u88C5\u63D2\u4EF6\uFF1F")))),onOk:function(){le(n)},okText:"\u8FDB\u5165\u8003\u8BD5"}),c.abrupt("return");case 6:le(n);case 7:case"end":return c.stop()}},o)}));return function(n){return e.apply(this,arguments)}}(),ye=function(o,n,u){if(ke({end_time:b()(u==null?void 0:u.end_time).format("YYYY-MM-DD HH:mm"),id:n,item:u}),o==="\u8FDB\u5165\u8003\u8BD5"||o==="\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5"||o==="\u7EE7\u7EED\u8003\u8BD5"){Qe(u);return}if(o==="\u67E5\u770B"){g.c.push("/exam/studentAnswer?examId=".concat(n));return}};return console.log(I),t.a.createElement("div",{className:s.a.wrap},t.a.createElement("div",{className:s.a.right},t.a.createElement("div",{className:s.a.head},t.a.createElement("span",{style:{marginRight:"60px"}},L===3?"\u5386\u53F2\u8003\u8BD5":"\u8003\u8BD5\u5217\u8868"),t.a.createElement("a",{href:"/exam/studentClient?type=3",target:"_blank"},"\u67E5\u770B\u5386\u53F2\u8003\u8BD5")),t.a.createElement(de.a,{className:"pl40 pr40 mt20",active:!0,paragraph:{rows:5},loading:G},t.a.createElement("div",{className:s.a.listWarp},I.map(function(e,o){return t.a.createElement("aside",{className:s.a.list,key:o},e.is_normal&&t.a.createElement("img",{src:fe.a,className:s.a.statusIcon}),!e.is_normal&&t.a.createElement("img",{src:Ue.a,className:s.a.statusIcon}),t.a.createElement("div",{className:s.a.d1},t.a.createElement("img",{src:Fe.a,alt:""})),t.a.createElement("div",{className:s.a.d2},t.a.createElement("div",{className:s.a.top},t.a.createElement("span",{className:s.a.title},e==null?void 0:e.exercise_name),(e==null?void 0:e.exercise_status_name)==="\u8003\u8BD5\u4E2D"&&t.a.createElement("span",{className:s.a.tag},e==null?void 0:e.exercise_status_name),(e==null?void 0:e.exercise_status_name)==="\u672A\u5F00\u8003"&&t.a.createElement("span",{className:s.a.notTag},e==null?void 0:e.exercise_status_name),(e==null?void 0:e.exercise_status_name)==="\u5DF2\u7ED3\u675F"&&t.a.createElement("span",{className:s.a.endTag},e==null?void 0:e.exercise_status_name),(e.open_camera||e.screen_open||(e==null?void 0:e.ip_limit)!=="no")&&t.a.createElement("span",{className:"".concat(s.a.elseTag," iconfont icon-fangzuobi")},"\xA0\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A")),t.a.createElement("div",{className:s.a.bottom},!!(e==null?void 0:e.publish_time)&&t.a.createElement(t.a.Fragment,null,b()(e==null?void 0:e.publish_time).format("YYYY-MM-DD HH:mm"),(e==null?void 0:e.end_time)?" \u81F3 "+b()(e==null?void 0:e.end_time).format("YYYY-MM-DD HH:mm"):null,t.a.createElement("span",{className:s.a.line})),"\u8BD5\u9898\u6570\uFF1A",e==null?void 0:e.question_count,t.a.createElement("span",{className:s.a.line})," \u603B\u5206\uFF1A",e==null?void 0:e.total_score,"\u5206",t.a.createElement("span",{className:s.a.line})," \u7B54\u9898\u65F6\u957F\uFF1A",e.time,"\u5206\u949F",!!e.limit_minutes_time_to_enter_exam&&t.a.createElement(t.a.Fragment,null,t.a.createElement("span",{className:s.a.line})," \u5F00\u8003\u540E",e.limit_minutes_time_to_enter_exam,"\u5206\u949F\u7981\u6B62\u8FDB\u5165\u8003\u8BD5"))),t.a.createElement("div",{className:s.a.d3},t.a.createElement("div",null,(e==null?void 0:e.commit_status_name[1])==="\u672A\u5F00\u8003"?"\u7B49\u5F85\u5F00\u8003":e==null?void 0:e.commit_status_name[1]),!e.is_normal&&e.repeat_exam_count>0&&(e==null?void 0:e.commit_status_name[1])==="\u5DF2\u4EA4\u5377"&&e.repeat_exam_count-1<=e.allow_repeat_exam_count&&t.a.createElement(ce.a,{title:"\u672C\u8003\u8BD5\u53EF\u91CD\u590D\u8003\u8BD5".concat(e.allow_repeat_exam_count,"\u6B21 \u5F53\u524D\u5269\u4F59").concat(e.allow_repeat_exam_count-e.repeat_exam_count+1,"\u6B21")},t.a.createElement(H.a,{disabled:e.repeat_exam_count-1===e.allow_repeat_exam_count,className:s.a.disabled,onClick:Object(_.a)(d.a.mark(function n(){var u;return d.a.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,Object(T.a)("/api/students/exercises/".concat(e==null?void 0:e.exercise_id,"/continue_exercise"),{method:"post"});case 2:u=c.sent,u.status===0&&g.c.push("/exam/studentDetail?examId=".concat(e==null?void 0:e.id));case 4:case"end":return c.stop()}},n)})),type:"primary"},"\u8FDB\u5165\u8003\u8BD5")," "),(e==null?void 0:e.commit_status_name[0])!=="\u7B49\u5F85\u5F00\u8003"&&t.a.createElement(H.a,{disabled:!e.can_enter_exam,onClick:function(){return ye(e==null?void 0:e.commit_status_name[0],e==null?void 0:e.id,e)},type:"primary"},e.can_enter_exam?e==null?void 0:e.commit_status_name[0]:"\u7981\u6B62\u8FDB\u5165\u8003\u8BD5")))})),!!(I==null?void 0:I.length)&&t.a.createElement(re.a,{style:{textAlign:"center",paddingBottom:40},showQuickJumper:!0,pageSizeOptions:["10","20","50","100","200"],pageSize:R.per_page,showSizeChanger:!0,onChange:function(o,n){we(o,n)},hideOnSinglePage:!1,current:R.page,total:Me,showTotal:function(o){return t.a.createElement("span",{className:"mr10"},"\u5171",t.a.createElement("span",{className:"c-orange"},o),"\u6761\u6570\u636E")}}))),t.a.createElement(je,{onOk:function(){return se(Y==null?void 0:Y.item)},listDataParam:Y,onCancel:function(){return x(!1)},visible:te}))},at=A.default=Le}}]); +(window.webpackJsonp=window.webpackJsonp||[]).push([[146],{"+F6A":function(A,R,a){A.exports={flex_box_center:"flex_box_center___1I0lw",flex_space_between:"flex_space_between___3g0Qh",flex_box_vertical_center:"flex_box_vertical_center___2HOCi",flex_box_center_end:"flex_box_center_end___1w9oZ",flex_box_column:"flex_box_column___3WFm5",wrap:"wrap___2lNei",left:"left___28_R3",li:"li___3DY7o",active:"active___3VRz7",right:"right___1LNzG",head:"head___Nigf0",tabsWrap:"tabsWrap___8qgq7",listWarp:"listWarp___25G0k",list:"list___2g9AF",d1:"d1___2MH-f",d2:"d2___2ONZc",top:"top___2Hs2y",title:"title___1orrO",tag:"tag___4R1hk",notTag:"notTag___1hDLq",endTag:"endTag___1Kh_7",elseTag:"elseTag___2gpJQ",bottom:"bottom___3-rdi",line:"line___1NV8R",d3:"d3___Ezups",statusIcon:"statusIcon___3unu7"}},"65B1":function(A,R,a){A.exports={formWrap:"formWrap___1RBpu"}},R30A:function(A,R){A.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIoAAACKCAYAAAB1h9JkAAAAAXNSR0IArs4c6QAAHPVJREFUeF7tnQdYFNfax/9nC11AxC4qiIBSNEosNAEVe+8l9SaamHZvui1VTa4x8d5oEvMZk1iiMZaoMRqTmNhLbJEmKtIVQVER6WW/5z3cGXcBdYEZ2IU5z5Mn7u6ZMzPv+XHK2w5DYy2H3IKAMu/G+vpGvbdOVwxr57XwP1XMjLqgoVU66DoCKNsMnc6iob2ahO9TAhWbhKDkrdRm4wNFgeTBLDFWDGASgpN/FCo3LlAUSIyDRMcmIiRpm37lxgOKAolxkKjYBAQmba9YuXGAokBiHCRMNR5BiTuqqtzwQVEgMQaSIkA1HsGJP92rcsMGRQJIWmmbo4NVW2iYBhqmxqHsEyhF2YOFby41GCsCdOMQnLLzfo/ccEGRABIS3BLXuXil3Qwuw7zSfNgd8YKXtTvi8uOhMxcY7jlMGAdJw90e1xIS+utZ1fkj/JXzN4Y6hWNEswFc1NG55/Fc/Dzs9lmDDde2Y8bFN1FmtriwQqgxDoHJPxvDe8MbUWoJCQlthfsizGw9jctvdcZmbLz2Exw19uhq0xkvtXkSTTR2/Le3kj7G+6mfGiNnE6vDCqHCWAQl7zL2wRoWKIdcR0JXtqk2Glc7lQ32+m1ArybdRRm+nfwJdmbtxV6/9XDUOPDvz9yJRnjkFNwqvW2srE2kHodkDIKSd1fngRoOKBJAIgiOYNnu/RXCHQNFWRaUFcBKZSVOQWGRk3C95GZ1ZG0CdVkhGBuN4KRfqvswDQMUCSERBGjJLLCxy2cY1SzCQKYX8hIQEjkBGcXXqyvreq7PCqBhoxGQtKcmD2L+oMgAiSBID2tXRPf4DVqVVpTtbzcPYmzsDNwpy6uJvOvpGlYAtWoUAhN/rekDmDcoMkLS3rINDvhtQgerdpVkS+uTYdFPIL04s6Zyr8PrWAFUqpEISvytNjc1X1BkhKSNRQvs99sEd+uOXLbpRRlYdXUj5rq8AMbKRZZScBnDYh5HdN6FKuVvo7JCXllBbfqm9tcy5AMYieCU32vbmHmCIiMkLbTNsN/vB3jZuHPZXivKQr/IiTiXH4+JzsOw1vM/sFCVu7HcKc3FY+dfxtasu2tDXxtPvNvhZfRz6AP/M8ORWJha2z6q2fUEiQ4jEJKyt2YNGF5lfqDICImTxgF/+m6En10XLqUbxbcQHjUZZ3PP8c+e1m6gKWlTly/goLHn3+l0OixKXY53kpeiBKVws2qPk913oqnWgSvsgs6OQ7GuRIq+Mr4NgkTFhiMw+Q/jL7p/TfMCpRwS8ky7u7qspiQIhjddZiGt8CqSC9IQX5CES/kpsFRZYK/vBvRs4stbvF2Sg/5RU3DyThT/3N22K/7w/R77s4/hnZSlHJbO1q7i3SPvnMOM+DdxPOdvDHIMwS6f1VAxFZamfYWXE9+v5lPWojpDHlRshJSQ0NOYDygSQEIvPMKpP3Z4f23QE7dKsuF7KgJ/+m3k6xKaUgZFPYIjOad4PdLI0nTkrHXin5df+Rbzkz7G912WY1DTfmJbZboyfJ6+BnOSFuNj13l4uvVU/pvHiX64WJBUi9438lKChLHhCEr+08grjK5mHqBIBAlJ5YOOb/ARRb/sv3UMoVGT0FrbAj95f41XExdgX/YxXqWzVUcc6LYJrSxa8M8X8xPR7+xEvuMh4T3b+hF82PFNUa1PdXJL81CsKxa1uKTZfS/lv0Z3So0qEiRQDUNw0r4aXf+Ai0wfFAkhIVkMdAzCAMcgeNt6wM+2C1ws2xhMDyQQwSrsaunCIWln2VoUY3x+EsIjJyO1KF38jtYtX7p/gMFOoVWKe27SYixK/UyO/hPazOWQhCTtl+smpg2KxJBUJcTmWidooMHV4kw83Woqvsn4gS8+tUyDmJ6/G6xDhOuTClLRP2oqEgpS+FedrNojv6wAYQ4BmOPyHLraeoi3ulx4le9+rhZfk6sPc6FWD0Vg4gG5bkDtmi4ohzuOQpmODHw1XrhWR3DLOr2L59s8jp+yfseEc8+iUFeEUU4D8UOXz3Gj5BZeTViI5e7vidMJAUA7osSCVBzttg32Gjs+0qQVXUXvJt3ha+OF3LI87L6xT07D4R2o1EMRlHiwOu9ak7qmCYqEkAxtGoYedj7wtvHAG0kfIKXwSiU5feQ6B6+2myl+/+vNAxgd+xTyywr5DiatKB0xeRfRw9YHv/quQzNtU143o+ga9t46jKktRvPPUblx6HZ6UF15qNyBSjMEQQmHatLx1b3G9ECREBISRkqvo3wdQqXt8YdxpchQ7f5W+5e4gqxioQXu8JgnKtl0SKH2m+93aGnRvNI1z8fPx2fpa6rbBzWpX6eQmN7UIzEk9IIJDx+Eq1V73hm2hz25Wl0DNSa3GIl1mT8izKEv3+nYqm34jkZfN3L09ikMiX4MOaV3EOYYwEcPKqR4I51KG8uWYifvubkfQ6IflX80YSwHOt0QhKSUP0wdFdMZUSSGRAXG3RQv+R+Em3V7FJUVwfJwZ9D333l+ykH59PLX+GfCuwiw98eb7Z7FpLjnMKPVVCzt9LYo/lM5UYiInobLvf/CwpTlWJi6jP+2x2cdBjYN5v8mDa7v6YGVRivJ+5AgUWMwApKPSN72Axo0DVAkhoT0Ibt9VuOVxAVY47GU/+VnFl1Hq+M98bXHEjzecgIXy5XCDPQ4M7SSb8kzrabhc/eFogGQtK400lirrfBtxiY+8izs+Loo2onnZmHTdaNcT2vev4zdhgqDEZh8tOaN1PzK+gdFYkhou0ta1C42nUFeaSqouBGPOpemjmdaT+fSInDI2BeXf6lK6T3eYjxWeXzE1fD65WROJGh7PL75MP712owtePRC5TVOzbukiisJEsYGISipXAtYD6V+QZEAEoq7+cz9fcyKn8e1ofpGvR+v/8I91KizyXgnuAjQVBEaOZGPJHNdnsfriR/w7XDFMrn5CG4tppgeoZzIOYtef4/E6GYReK3dTAyNfhzZpTnydR1BAhaB4KTj8t3kwS3XHygSQOKsaYp9fj9wLev5vEu4U5onGvV2Zv2OGRdn40qfEwZSyC65zZVliQUpIlT62+GKIhvbbDA3AAojy9k7seh+ZsiDJStJDZbNR5J6hoRepX5AkQASeniaHr7x/LhSl5C74oiYJ+Fu3QHRPe/67JCxLyJqOmLzLhpYinff+BOjY59GkY6yPVQu81xewPsdX+U/kAq/88m7hkBJeKiyEZYNjSoCAYl/yXcP41uue1AkgkR4xdfazsRitzniG5MF96EzQxCZG4f5Li/ivY6v8N/ySwswJOZR0C6GlGZ97Xvy7/+4dZi7NRboCu8pNRq5Mvuc4VMXTVvNjnUzXsI1qsluQa2OQGCC4XBYo7akuahuQZEYEvKU3+G9ChFNQwykQbuZ1ZmbMdvlOfH7qXEvYFvWHuz2XoN+jn349xRHPDj6EfjaeqFEVyL6nlQlWvJjIaek9pZtDTzapOkG/VbYLajUAxGUcFL6tmveYt2BIjEkZLTb0uVLMdyTpgRXKxeombpKabgc7813MQJU5H02MGoa3/bu9V2PvLJ89Dozkttq6q0w3ATTRJgaJCSPugFFYkjUUOF7r+XiFpVsLBSQ1d8xEN95fWqwS6GXpK0weZ4JMcR/34lBeNQUtLNoxZ2VBNsNfU+ui7ll5JNcx4UgAQYiOKXcW8rEivygHOg4Gkz3g1RWYNKsrvb4BNNbjuWijMuL5/qQzOIsTHAehg1ey+45qlD9mNwLfGtM3mqkb2lh4WzQJduu78HYczPkV8UbzDa4CQ0bgL7Jp02MD/Fx5AVFYkiEIfCzTgvwbJtHcCk/GSGR47nqfKTTAGzusoIHa5HOhDSlE5sPN5A7RfkRVLZqaxzw2yzaamhEonWKUGbFz8UX6evqps8YbkDNBiAg+Uzd3LBmd5EPFBkg0X9F2rKuydzC3QbIFYBihS1VlrwKpabwsu6EF9o+IV5CepOQsxO4PuSg32a0t2rLf/vP5VV4LWEhfvddLy5yKUSjxfEeNZNoda4iSFSq/ghM+rs6l9VHXXlAkQgSe7UdaLt7v/DNUIc+2OW9mtthqLyasAAfX15pYDVOLbzCISnSFfGRpJN1B153Rfo6PBs/l/97vPNQrlijQvd0POqDnNJcOfskC2rVAHOARBjJpRWGRJBQRoE9vmtRptNx831VsAQ06cl1IuQiQGVe0kdYmLqce82TG6NQ/nv5ax57ox/YRca9Jy+8Kq5FdnRdJS52BWdraQVj0FoWmLo/ghPPyngPSZuWdkSRCBILpsUen7UIdezLX5b0HRVhoQc/+dBO9LArj8NZmLIM85KX8H/PbjcLi1zfEAVFIwS5LAojyfeZOzD9/EtiLjYKrXi53dO8PqXfIovy+fwESQWt19h1QN0fIYmRct1AjnalA0UiSISXXOw6G6+1e0Z854PZf3FY9LeuFCNMQVu7bvzJXQqEcsF/X5VO0fQ7GQrJLYCi+qjo52gjpdu42JnYcaPWobr36qvr0GjCEZBQHlVmRkUaUCSGRJDfoo6vG2hXD2Qfx9DoxwxgcVA3MbDe9nPozQ2FVMinlRRwQuDWrht/YEzsDNGmow8J7ZSeuPAKVmdukaf7GLsGtbq/OUJCAqk9KBJC4m7VAVqm5QHhQnmvw8uY3/4l8TPZZsi0X5VbAFVa67FU1LEsu/wNdt38ky926brhMU+KNh19SOi6F+LfwvL01fJBotKEI/BStDw3kL/V2oEiIST0qt96fIzHWo7nhru1mVuw/tp2XCu+gYoO0Fuu7+LTR8WMjI5qe1zpfULcAQWfHYdDt0/i0RZjsfn6LoM0FKScW+r2FtpatsIbiR9gcdoKeaTNWCaYNhxB8THy3KBuWq05KBJCQg9hp7bF1d6nYKO2Ft+8uKwY27N+xcqrGxBg3xNvd/iX+NvK9PWYET/bQEp+tl74sctK7iNLcTcuf/W+r4a1idoWEY4h2JJVrbx3xvdMA4Gk5lOPhJCQSn6d539xvfgGD5T6R8vJBt7t9JDkXxIRPR2fur1joERbkPIp5icb+qOQHWic8xAeTrHsyrfGd6rUNRnLgE4XjpCUWKmbro/2qj+iSAgJ3Vzf2XlJ2peYnfhvrs8g39aBjsHcB+TR8//C2sytfEFFronTWowRZTUs+nG+DjGpQpBoEIa+yeWJVRpAqR4oBztQD22UysBH8TXrvZZhwv8clUmelFLixUtv8ymD/D+eajUZi1KWiwo3umanzzdiuglSt3c7PdiE8qmxq9AivCFBUr2pRyJIKNNic20zHL5d7pdDUwUtYgVrMH331dUNmHlx9j3Th1P6LMrW2NyiGW/j95uHMDnuOWSV3Krnv112FRoWhoCkuHp+EMlvb9yIIhEkQhqJphoHjIp9Soy8I1hWdF6Ep1pNEV9wXcZWPH7hlXueZEFe8D92XWkgEPJsi8w9x/+jdFr0/3sl45NckmDpUKnCEJR4Xvq267/FB4MiEST0qtu7foWRzQbyt6aYm7GxM0EGO5p+psQ9z9cllFFAKJuv/Yyp51+8Zw40YTt9PzFaHOpUBznUWDqYOhTBCVWniKz/fq71E9wfFAkhoSdtpnHkoZhCnjQK87xdeodrTmmtMTB6Gqa3GGOQWUA/DQW1Ma35aO77Sqp8yi5wqsf9I/SaHfXDjZLsWgvqng0wXAE0YQ0ZkvuvUSSGRBA0qdx/8VmDPvaG/h76yfUqamMpAHxM7NM8DcVvPt/BxbI1pp1/CafvRCG990kxswCta87lXcTDTbrxQw96NenGDzZIKkyTBxSGy9BqwtAn4aI8NzCdVqseUWSCRHhtcgOI6vGrQbjmh6mfY3bSv0XJVLQA77t1lMfq/OzzLUIceoOUcV1OhXP1PmlzqVRsQ1YxEyRqbSgCLt21N8h6w/ptvDIoMkDS084Xp/6XhrOl1hmHum0Rs0ILr09GuWfj5+DLq+sR7hAAHXTobtcVn7i9JUroyO2TsFc3gY+tJ/+Osi2SV/1y9/L0nBQdOCL2H3Uh0TRotGGNBZLKU49EkBAMN0uyuZV2ZqupWNH5A7ybvBTvpPwH5GtCnmS0qC0sKwQFfQc6PCx27usJtPuZjPZWbTAu9hmeAFg/s4A+BZQYh45KISUclWO3T6Pv2bvKOJmISYPaIhSB8VVHt8t00/pu9u6IIhEkFDROnmQXCxJ5PrQv3Bdx7WpCfgp3CKKAborJoR0Lnay1++Y+7jk/znloJVlQVF7b470wpcVIfNV5caXMAo5HfDDUKYzvmqhQuMVDZyq3I6GQU6G2CGtskNwdUSSChBo83n27welZ9J3gs3qvRSXpUdZ4LhVzoQkdK/i/0mfa7azzMszVqj3oxnOdrPQoX9vQQrbrqfLz/2QoqWAIRXCKbK5vMjyzZE0yHHNtieKyVKnU8kH2/tz/Qzh3j9YelD7zdG40/tnmSezPPo4zuZUt7jTKUL41IfEvveFHaSt4Sgqh6Hu9CRmUKE2Wv50fylCG7JIceew+jKVAw/qhb1IdpJ+WrG8lbYjhsGsHlJZKJoAhTUOxretK8QQKeloKiUgpvMwXppROfHD0ozxyT79UDDYXfhPSZ5Hth1T3tB2mkAvyg1UfupuLXlKp6DfGWDIsEIbeyYmy3cMMGq41KLYqax549WHa5zyUc6f31/zsPVpf0F95XN4l7Mj6zSDjQE7JHQyNeYw7FVGhBW7Cw4e4E5EwVQmZHOkz+Z48Ez+H234iHIO5noSyTk+Le1H0fZVF1gSJhoU25pFEkGutQLFilvjZ5xu+86C0ErSlJccjQXlGcTGDm/bDUre3+YI2q/imGOdL+eL17T1kKSYVPwWae54M5Tnm57Z/Qez/NRlbeHhF3Z1izpKgVoUiMDFZFgjNrNFagUImfwoK1w/dJAAoWQ2dTDGl+UjulERTBRn5nr/0FuL8/xDXIYK9h3Y+VCiWJ8yxL366UX4WEaXNWtDxNVGkFJ9DWRzlLwokFWVcK1CoMX87XxzvvkPcupLGlLIXWaks+SmfNB1tuvYzN/otdp3D42dIfyKEf9KilNJ2bsuq+lzEhR1ew5z2z4vPTZmhKUmOfIUlQqUORVBCeaJ7pXAJ1AoUb5vOPDSCjHpCMj3Kvrg4dQU+d1/AA8ZpfTL+3DN4p/2/eIfTFpbOwiGIhKxHNK08duFlPN/6MXx3bRtX1gmFMkVH9rwLESXE2XBthzzdx5AApglTIKks3mqBQtq5TlYdEF+QzBP7xvbcC0+bTtzuQgcN0AKT8sZ/4b6QjxhkzBsV8xTPnkg50CjZDcUA+9p68kxJVGfr9d2YdO45vNXhJW63IaUZJbihw6crGhApiq/zyRB5Ev8SJJbaUPS6VE+HAMrDvlStVgsUOpNmUvPhPO330ZzTIBvOLu9v+dqD0kyE2PfCbp81fEFLRjza2cxq/SiWuM3juVkJEvKQp/RYFFT+8429PCDr1bYzxBBQyroYFjWZjyp00idtqWe2nsbf9+kLb+CrjO+leve77TBcgtYiFH3iZTIzS//Idd2i0aDMav0IPnMvD9uk7IpkyaVTsp5sORHfZW6Dp40bDvltERVt0+NegqPGnhvsKHSCTh8nGxAFlVNoBrkv0qEEs9o8Ihr+YinJTdQkHsvjY+MB8oQ7ePsEz+nqad0J/04rzzYgcYmHhUWYAsn9pWo0KLQV/rHr/4mnXNF2eF3mVn5uHoVTkM8qqeGHOfXnd6Q4XjXUyCwuzxBNcFCuNOF0T8qhRraej93m8/r6R7A90XIClnd6H8dzzvAUWjKWeGisQhFw4bKM92gQTRsNCr0tKcbooCPKBl2xzLj4JlZnbOYGvrHOdxP20nl65JFGGaWdtI5VCo2mpWExT8DFojXecHmWn2QhFBl3ORehsQpTIDGO42qBQk2S7oT8SXrbPyTeQd8PhH6nkWVKi1H8d9oNZZfe5idnkUcanQ+80etzMeyT6lwtyuSe+foZHWmBTNpeOtHiXnHGxr1iFbUYuwBmFYag85VPeapxow37wmqDoq9EE0RTqivlJ4rT1pZ2KuRDQjsffT8TIXMjnTAu6FeqEi2BRWGk85OXyONBr0BSI6KrDcpu79XiOiW9KAOtLcoPNyIjHR3AKGQ/om3usZwz3LNeyNxIVl4yGJJ+Rb/QGocOT6IDCSg3CaUgl6Uwdh7WCIN/8t0jRmW5UcNrtNqgULboLV1XIKckF68kvo8L/vtFOCqKx/vUAH6AI2WR7mrjgZ+8V3GD4c3ibB5zI2SQdj7aTf7gLcbiYI1wBZKaQVxtUOg25DtCUwRlLaqoYqff0wrTseX6br6IpS10sP3D+MVnLdevkOV4QNRUUJKc/k2D+Ehkf6SrvEmACRJLFoZeSfWYlrpmHWQqV9UIFP2Hp5wkib0Oice8Cr/NT1qCBanLoP87GQwp9/yR26d4igsKCaUEwT6ny4PC5CnsHCxUYeiTmCFP+42j1VqDQmISzgyuKDIKLp+b/BEmOg/jPq9jzs3gYaR0YNIGr+W8elWpKyQTPWOx0KrCFUhqL1FJQOnT5CEc7b6NPw1lQ9J3lP4kbSVPxEenU1DEHk1bkT32wMvGnU87nU4EyxOgRZCoNGEIvGR4fm3tZdYoW5AEFJJcvP8Bnp5zfeY2UFI+wfuefvviylo8d2keT2VBR9ILBzdSGs8p5+86J0nWAwwxUGkpZ5oCiURClQwU8lBb7/kpD9pqd7w3hjmF8yQ5whFr31z9AaS9/cZjCUY7D4K1ygq0K5I8nytDNHQW4QiJvyaRjJRmauuPUlGCpJUld4JrxVn45PJXmOQ8nIdYCIc30mhDijnSwFK0nxA9KGFPRAEW/RVIJJTo/5qSbETRfzRKA0o+K1TI8rvR6zPRK59SWUyImyX9mwBRsLEKh/+F63I03tjblAWUikKlEI6tXb/kyjZKuyV5Ej7GImFt2V+BRD6c6wQUenw6nYvSey69vErat2HsLCys+6N3XJa0DSut6UugzkCRRewKJLKItapGzRcUxv6G2q4/AmJu1Jm0GvGNzBQUdgYauwEKJHVHrhmCwk5DYzdQgaTuIKE7mRcoDHTUKx35Ske/KqUOJWA+oCiQ1CEWlW9lHqAwnISdaiAeSqrv1NT12ln1eXNzAOUEmqgiFEjqExPTX6P8BRtNBPwTZMwoXL8dYC53N+URRYHEhCgyTVAYOw5r9SBlJDEdUkwPFMaOQasdhD7xt01HTMqTmBgo7CgstIMVSEwPTBMChR2Bymowgs7nmJ6YlCcyDVAYOwxmNUSBxHSBrH9QCBIn28Hwjr1jumJSnqx+QWE4BCe7IQokpg9i/YHCcBBOdkMVSEwfkvq0Hh+Ag+NQdIvMNQ8xKU9Z9yMKY/th7zBMgcS84KtbUBjbB3uH4Qok5gVJ3U49BIm18zD4n8ozPzEpT1w3Iwpjf8LaebgCifkCVwegsD9g4zxCgcR8IZF/6mFsL9RtRiDgaL55i0l5evlGFIbfoW47UoGkYUAmDygMv0HddpQCScOARK6p51e4qEbBNamg4YhJeROpR5Q9cFGNViBpeGBJBwpjv6AdG6NA0vAgkW7qIUhaaUejc3xhwxST8la1H1EY241W2jEKJA0bplqCwnahtXasAknDhqSWUw/7Gc1sx8I7tqjhi0l5w5qNKIzthJPtOAWSxgNQ9UFh+AlOduMVSBoPJDWZenagmd0EBZLGBUl1QdkOm+YT4H+quPGJSXlj46YexrbB2nmiAknjBebBoDD2I6ydJymQNF5IHjz1MLYV1s6TFUgaNyQPAIVtQbDrZLB9JYqYFAlUPfUwthlBrlMUSBRABAlUBoVhE4LcpiqQKJDoS8AQFIYfEOQ2TYFEgaSiBPRB2Yjg3tPANpUqYlIkUDUoZWUfIqjXdAUSBZB7SYDhorsl3B8qUSBRILmfBJgiHkUCxkhAAcUYKSl18P97r54/ShmKlQAAAABJRU5ErkJggg=="},RtLj:function(A,R){A.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIoAAACKCAYAAAB1h9JkAAAAAXNSR0IArs4c6QAAFANJREFUeF7tnX2cXFV5x3/PnX1NSMJGE3dmNy8CAiEoFPrRBlJIQASTWCgREIy8tHwSk01mthaVUuWtglLU7szuJlnkTV5sDRUoAgEUQzFURFIglNQIQgLZmVFCSCTJvs3cp59z957p3ZuZnTsz987rmb9275zX5/nOc55zznPOJdTwpy3Ci5M6IgA0p2IgAjlNmyFdYfm5wPpzbD8DQz7CssIaXaDESpldQKLreJCBhlK2o5zrJmBY03B+f5Aeq0lQFCTZ8bRCIlLXHCgKktwhqTlQFCT5QVJToChI8oekZkBRkBQGSU2AoiApHJKqB0VB4g4kVQ2KgsQ9SKoWFAWJu5BUJSgKEvchqTpQXIeEkNSAZUyYRIwWZrQxEMyuivJNYV9xddrSqlmZdRsSAvaAcDAWohlSmO1d/IkE4WECtjDj806FXC7p8oWkaiyK65AQ7m9uQsfAIG4gxvf9zYhtWUEjbb18Io9gz6kB9G+O4YfM+GK5QJCtHYVAUhWgeAHJfD8ue+BCSgb6eAIP4mFmnAng2boAFu26kAaE4E7u4/roIF5nxqxsSir194VCUvGguA2JIRDCTwJNuFhYEPH/7Lu4aehPCBPjpmgnvS2eXc+s3RbBnTrjslJDkK1+NyCpaFC8gEQKnQiPN07G0h1X0KBdEbUIScWC4iUkFjB+MX0q/mrrpXRAPqtVSCoSlCJBIiJ13vIRTusP0i6rVfGH+dvMuDqbyS/l924NN9Y+VNT0uJiQaIwF0iexKz0Q5g6dc4u1LRY4XkBSURalVJCI4WZ9GDfX1eP2XR30hlS4P8x/DeA+ZkxIA8E+AHUAJhYLEFOZqRhXt+utCItSSkjk7IYI7zJjcbyTfpOCpYdPQgKPMNBmPCP8gQg9jZPQM/QBFrOO+9xWWKbyvLIkKQe/WB3Jt55ygMScNm9mYAQabo2voY2yP7N7uXUogX9jxukgbJ3eglOkA+wP8/3MuCTfvjvN5zUkZT/0uA0JEQaJcL2u41gCTmTCXDDqheNq9Unssxsi/LKlDosOTkDd4D48Dg33xoO0Tirygg3s2xzHjcz4OjE2xDrJgKOthz+kJ41FuRanSs81XTEgKWtQ3IbEHBo2xUN0hlTGcRu4YW8cc5lxzUTCsjeCNCQg6QvjLgYuNS2JAcm2Dtov/p+5lo8YHsZ2AnrmB3CVWMGV5bX18LxkEus1DddF19DD4nlrhK+FjhtyBcBJ+mJBUrageALJaG+vjYfon6xK8PfwLE5gBwEbqRmfxyDWyhVXaUkkJO2389TkfjzNwIkmRD/XfPhC/2p6T5YpQLv9Dhy+60raI5619/CnEgk870TxuaQpJiRlCYpnkIz29nkCHoEPzzVOxAti5bU1wpdCxw9NixMHozWdJTGsSQ/PHUngGQY+LJVKwDuow7LYano2naLbu3lBIolNuUCQLW2xISk7UDyFxCZ9IWwGtoAwkRgBjdCRZHQDmE6El1rqcJq0JNasItQgCcOqGLAQ4V4ASwA82FiHb+zooLhMLzYO+wexEaObiq58SgFJWYHiCSSEEQJeZ+BNjK53pPwTi0XY7fPhjF1r6NXWCB8HHZuIMJkI50aD9JQYbvQDuDgaol6ZR8ICwmvz/TjzuSjmMeFJBnQSayuEpzVgMjNWMeNkVwgZPdbp2TpJtjaWxTqKJ5CM/tqfiIXos0IIgTBfojPutwqEgBQk8vkYWIArxExG+CSk4eZYkP7RCgsa8d6uldQvnokFOGY8mE3g+X5fSkjKwqJ4BYnpczwdD9Gnxd+tYb4MjLvNTv83A8eQDwtia+hFu/IkLGIYGgOWDRb5HTNTIIJHmbEoXxDGy1dqSEoOSlsXL9GBn3hw9YQOwn5ivBzrpNONX3yEV7CO9WImM60Fn929F/N0HcunBrDstQswEojgvFiIHrJbFgMWwp8A7ATj43bLYpbdyTr+pVohKSkoHloSXSNcSXV4KTmCG+KddK5UJhjnC0jkymkgzL06MJMY/Qys0AjfjYboq1LhYpYznMAviPC7aS045909+AEIM1YEcfr1RLpI1xbhE3TGr5nR6DYo5WBJLL6c293LXp7XkERDdJdoxcy13PL2Knpf/C2mqVOn4DcWSMQOcI+9tXZYxDCk6bgo2knXibTH9fJhqXWVDdycjGILA3Oy9zq3FOUESUksituQEOE7DFwBxjRhSSQkR/TxlIEB/E2skw4ZEswwgR4C9jJweDZYMqnYH+Z1zPhybghkT11ukBQdFLch0QjBaIi6/b08B0mcFAuSMasRkBwcxFMEPBcL0VesqklBQrimvh4/Hhk2FtBSRzJkWrtlkc/9Yf4HAraJ/3WGsUzv5qccISkqKG5DIoKgYyE65GyNhASMT4Lw1XiIvisVaYUkFqJvSx8jyXgJaS7RSwdLa5h/CsYSc8HO1fvfyhWSooHiNiSpXz2wJtpJY/yM1jA/Asbn5OzG7pMQ4RoJifA33h/BEwycmskqkIZvxoL0LYtFeZkZJ7hpRUxFlGwxzUlfPF9w8woSYfmtPklKkWIYSuDGaS24XEIyI8zHjzBePQSSBERcyZ+DoY0zRU80NmPmzhUUE3X4w7yTGTOdCNdpmnK2JLIPnoJSLEgWbOK6ZxZSIpNixJDDwGS7JQHhZLFUz8As1nFbRsUSxGbhNo2wnYHLMoQ/OuViTLpKgMTToadYkBg+yQCe1ID77MOQ1IjYm9nVSVvF/8ZwY1oSuZ8jngfCfHexD3RVCiSegVJUSAbxlHBcCXh2fgBnyEAiERciF8UkMJkgMUDp4wn6IJ4Xq695mYYcM1USJJ6A4iEkYvf0xUAzThHHPa2zmzSO6yWaHw/Jc8IpSzKCJ+RwI3aG7bo19ngYW8Hw5aj3nJJXGiSug+IlJCmnivAQNWG5PojHDEti7t3YZjez4p30NZnHiGmN4RnhuFqHm7YePlrXsSgWpC7LrMbTgOhKhMRVUIoBSepnS9gPxmFpIQHCTQ04asdK2mH9mfvD3CfWXqQlEZAkRyPPPkI+HBlbTTvNWU2IGSlwcjIVWRJXKiSugVJUSExljLNO8h+xEJ03ns5SkDACIHBDPY56exW9aTq1X9MZt7gJiCnosl4nydbfgqfHXkBCPpxDPuzQEpiSJLRwEmtBuAfAl8A4kgj/Na0Fn0m3wefTMK8/SEYwcyDMty4P4utWp9aAJGEMQ35DgbYYE38XvySDp7MJz+n3lWxJUkO+086mS+cFJKKeqfWYZI1XDXTzRdE19OO2CLcnRagi0FjfgAXCCshleUPphB/FQmTcghTo5lP1JDaThuWxIP1APBtjSUY7dEu8k1IHzlsjvBI61hYiE3veaoCkoKHHbUjEcQkAZ5ovEjqXGO81NiL++5X0R6vwAxG+WNfxIxH9TgSx9vFNE5KDGuEYefuAv4vF0vzZ4iho42QcPXIA0w2fRAw3o5ZkzNK8ES2vG1PterdAqRZI8gbFbUg0wrr+IDraunEWMx6SK59yd1gqzt/Dp3ECj6c9/G05s9MW4b9I6viVReEPgHCqCUlCIyyX4QiGpQnzwiTjp24eKq8mSPICxW1IiLA+GsQqImLRIHFgKpnAo0S4UYQQOIGECDt9fsyR6ybSmqSzDAT0+3xYtmsNCT8FgQh/mnXjoHmzsiSZJZCTM+tJjCvh6cMI578RJBGXanzEYtqbK0hcHWF8xrUko77JNtZwlTg8nsaapO09Ee4gDT9jHXczo0lBMr4EHIPitiUZ0yzC1roGLJJHH6zfZYPE1j0x3IgXSX7KLcXnUk61DTfWvjsCxVNIzNYI57S5GR+3WhLDmoRZXFZT9ve5VjMkjnyUYkAiGmJ3XCXN5o1H3wGQio7P8CtPEOFXzEYQkuPX0+ZiMTKlrXZIsoJSKkjE5TTWM7yG0xlmcWpvvT3AiIDtpOGGhknYuOMK2uuP8E2s4xo3AHBSRi1AMi4opYIk5ZMQemNBXC1nQ6KxwlHVGQ8wo10q0YxdnS+vzBJBTNu34kUvwhXt4NQKJBlBKTkk5iV5BDxMzfhidAUdlEo6ch1PPziEe8RiWkpxhLemHIYTtv8tfSCBsq2jODEOOaWpJUjSglIqSFojfDp0PCYXvYjQCWChOMfVoGHpzjX0ltSkOOvbFkaHTrgJjMmmj7MuGqJVMk1rmB8FY3FO2neYuNYgOQSUUkGSZgrcEe+kteaLCR4AcJpG+JJ49btVl60RnqbpWM2Ei8FomR9Aq4xw84d5OTP6HOrecbJahGQMKOUGidRcIMKf03U8IsIBwPjnqQFcu+1CGs6mWXFQixk3Z0uXy/e1CkkKFM8gIbxqjUF1sHdjWBKpPH83nw3deA3K/6+cEl711eHS/g56OZOSjdenDMC42iIXEMZLW8uQpEDxh/mAm0cQjIIJ964I4vLbwrhOB64VV3ROaMKfyQU1u08CYCwkYRY3FW22L68T4RsA/o6ADc0NuN6+u/yJe3jiu+8bL11aqiBxSwLGbU9AaxeLd9OIK7ld+UhIZMBQ6kUDhBcmNOEzB4dwotVxtUMiGmFOc//V+ko2AiKxTgoFwnyKDjxJDB8Dj2rAk0zGq93EVaCXi+AmVzpS4uuw3OqDG+WMghLmhFuR53ZI5BEJZsw3GkxGlLtQpLwnfowlsXbKCgsRtrT4cYr0T1q7+AIAG9wQQqYyan24scrFVVCyQmLTiNjBjYXoSqtPQoyzokG6Sj4TsPx2K/rqCTe/E6Tfi+dmVP0mZvylV6AoSMZKVg494vblgvZHcoXEbEaCNFwUC9KDYxxXQnc8RBlfG+sP87eYkbp4z21YFCSHSlRaFD3dtQ9OFZAnJLJ4sZl3q3BQbbObtLAEuvgsHXiiULDVcONUu6PpCgYlV0g0DeI4xElgfCFbUwn4ivXGJLFZODiCV+y3NWYrx+n3ypJklpQceowwxFw/dkhEfn8XL2Xg39OVRYS/j4Xo+8LH+GUM92WBJdbYjJPldRNmuMHP0l0qnGu707athJf9utF+r8vIG5R0kMjGtnax2HNJ3fRsmC4TkpTj2stzOIFX0ka9E0Y0DQuja+i5VJlhvg6M670QiLIk2aWaFyh2SNo3cLP1QLio1gqLHZI052vGtFQjrB5zpfjoUYqfuzWFt1amIMkOifFDFzux/jCMO1OdfDL6JMAr8RCttpYhYCFCkxhu5PNskIhzOBMacLxccRUbf9ANv8Q42efmR0HiXJpkjv2plxONlzWr40rotcNiLS8bJAAOgHAnMc5jYGkshBcDYWwcE3vivG/jplSQ5CZIx6BkhUTWmwEWR5BoWBwP0n+aluh7YOMivnEPnOfW3dHUCpLcpUbGDCSKjPefGYI1N/jk3s0hy/L2etPAImJedcadGZp4ACYk8vtauuw3d7UVPwcZS+SvQGwKpv8QXvhyEPPGgeTXAI4FMGVMAWlgSTcbMoabQyE5BzDCC1y9X15ZkvwByw7K6IHuUCxIEbslEfemTZuKRXv2Yq5xwDt3WBQk+euuqDnJeJ3ZALJGjGkarmbGErkLbL/Ipj3Cn8wJFsItICwRPolluFGWpKjqd14ZiVe67oliyHmWlEO4vaEZC+XKqXiaCyz2szv+MCtIclVCEdPnDYo5eygIFmVJiqjpAquioyLcuF/HYL7liJN6Ti2LpuF71lgTUaeyJPlKvrj5aPZd3DS4DwOFVOsQFuW4FiLkEuclsU+TiCJ1Ei/f9mSBpU5NgfOVbHnkcw2UcX0WoFnNbspD4fm2gow74AdwIN8C7PnSWRZrGuWTuCXp4pZD4hzMH/dgv5vVZoJFQeKmlItbliegiGV5zYezrYFHCpLiKtbt2kgsy+8ZgXFdhEsfNbtxSZDlVAwdcwdP2veB8aZwVz5EWBkL0XpZmLIkroi15IW4Dwqw2wecKd64pSApuX5da4BYmZ28X0fqTlc3SiZgNwjizZ63qFABNyRa+jLIfCff3tI3JXsLVDxJdhl5laJiQFGQeIWAs3LFXs/hg/vwvrPkpUmlICmN3K210sy13DI8jD2lb0r6FihIykMzZQ2KgqQ8IBGtoPbbeWpiP94rnyaNtkRBUl4aobYe/lAygd3l1CwFSTlpw/zhBvr4w/oA3i2XpilIykUTY9shwgzKBhQFSXlCYrgC5iHwMS94LEVzFSSlkLrzOkm8hODAEP7gPIv7KRUk7svU7RJLDoqCxG2VelMefbSLPzIAxL0pfvxSFSSlkHp+dZJ5gV4sv+z551KQ5C+7UuQsCSgKklKourA6aVYf+4cGEC2sGOe5FSTOZVVOKWlGNwdGkugvRqMUJMWQsjd1FA0UBYk3CixWqdS+jtsSQ9jlZYUKEi+lW5yyqS3C7Ukd73hVnYLEK8kWt1xPQVGQFFeZXtZGgV6eoY/gbbcrUZC4LdHSlkeBLp6pAzvdbIaCxE1plkdZ5O/hWZzADreaoyBxS5LlVY6roChIyku5braGZq/j2YNDSL3OPt/CFST5Sq4y8tGsbv7oUBJvFtJcBUkh0quMvAWDoiCpDEUX2kpxrueI4WEYr4nN9aMgyVVilZueZkT4yBEdb+TaBQVJrhKr7PR5gaIgqWyl59N6au/loxIjeN1pZgWJU0lVVzpqD/PHEozfOemWgsSJlKozjWNQFCTVCYDTXomzx0cnE9g+XgYFiVNxVm86CqzlY/Rh/DZTFxUk1av8XHo2LigKklxEWd1pKdDNx+pJ/K+9mwqS6lZ8rr0jfy/P4RFss2ZUkOQqxupPL24zOA46XpNdVZBUv9Lz6eEYUBQk+YiwNvLQzB6eO5zA/yhIakPh+faSZoT5+ARji6bh/P4gPZZvQSpfdUvAWHCDjo8pSKpb0YX2jgotQOWvDQn8H7Pk0hTaHxQGAAAAAElFTkSuQmCC"},jyDb:function(A,R,a){"use strict";a.r(R);var Je=a("cWXX"),Ee=a("/ezw"),Xe=a("DjyN"),Ce=a("NUBc"),Ke=a("5Dmo"),pe=a("3S7+"),Ge=a("+L6B"),ne=a("2/Rp"),ze=a("14J3"),k=a("BMrR"),Ve=a("jCWc"),D=a("kPKH"),We=a("5NDa"),ue=a("5rEg"),He=a("2qtc"),b=a("kLXV"),ve=a("c1Ei"),i=a.n(ve),_e=a("XEnU"),f=a("5Tp6"),v=a("k16G"),fe=a("y1t/"),Ze=a("Znn+"),Ae=a("ZTPi"),E=a("q1tI"),t=a.n(E),Fe=a("+F6A"),s=a.n(Fe),S=a("9kvl"),Re=a("rCRm"),Ue=a.n(Re),j=a("ErOA"),oe=a("1vsH"),xe=a("RtLj"),he=a.n(xe),ge=a("R30A"),De=a.n(ge),y=a("m3rI"),qe=a("giR+"),be=a("fyUT"),$e=a("y8nQ"),P=a("Vl3Y"),et=a("OaEy"),le=a("2fM7"),Se=a("65B1"),je=a.n(Se),Pe=a("wd/R"),B=a.n(Pe),Be=le.a.Option,Le=function(U){var L=U.visible,M=U.onCancel,x=M===void 0?function(){}:M,I=U.onOk,V=I===void 0?function(){}:I,m=U.listDataParam,O=P.a.useForm(),se=Object(v.a)(O,1),h=se[0],Q=Object(E.useState)(""),Y=Object(v.a)(Q,2),J=Y[0],W=Y[1];Object(E.useEffect)(function(){L&&X()},[L]);function X(){return N.apply(this,arguments)}function N(){return N=Object(f.a)(i.a.mark(function C(){var _,u;return i.a.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,Object(j.a)("/api/common_exercises/exercise_users/".concat(m==null||((_=m.item)===null||_===void 0)?void 0:_.exercise_user_id,"/check_time.json"),{method:"get"});case 2:u=p.sent,W(u==null?void 0:u.time);case 4:case"end":return p.stop()}},C)})),N.apply(this,arguments)}var K=function(){var C=Object(f.a)(i.a.mark(function _(u){return i.a.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:h.resetFields(),x(),b.a.confirm({centered:!0,width:440,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",className:"custom-modal-divider",content:t.a.createElement("div",null,t.a.createElement("p",null,"\u8003\u8BD5\u4FE1\u606F\u4FEE\u6539\u786E\u8BA4\uFF1A"),t.a.createElement("div",null,"\u201C\u8003\u8BD5\u72B6\u6001\u201D\u4FEE\u6539\u4E3A\u201C",(u==null?void 0:u.state)==="1"?"\u7B54\u9898\u4E2D":"\u672A\u7B54\u9898","\u201D"),t.a.createElement("div",null,"\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u8C03\u6574\u4E3A\uFF1A",(u==null?void 0:u.time)?B()(u==null?void 0:u.time).format("YYYY-MM-DD HH:mm"):(m==null?void 0:m.end_time)==="Invalid date"?"-":m==null?void 0:m.end_time)),onOk:function(){var q=Object(f.a)(i.a.mark(function ee(){var w;return i.a.wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return F.next=2,Object(j.a)("/api/students/exercises/".concat(m==null?void 0:m.id,"/continue_exercise"),{method:"post",body:{password:u==null?void 0:u.newPassword,state:Number(u==null?void 0:u.state),time:(u==null?void 0:u.time)?B()(u==null?void 0:u.time).format("YYYY-MM-DD HH:mm:ss"):""}});case 2:w=F.sent,w.status===0&&V();case 4:case"end":return F.stop()}},ee)}));function $(){return q.apply(this,arguments)}return $}()});case 3:case"end":return p.stop()}},_)}));return function(u){return C.apply(this,arguments)}}(),H=[{id:"1",value:"\u7B54\u9898\u4E2D\uFF08\u4FDD\u7559\u5B66\u751F\u4E4B\u524D\u7684\u7B54\u9898\u6570\u636E\uFF09"},{id:"2",value:"\u672A\u7B54\u9898\uFF08\u6E05\u7A7A\u7B54\u9898\u6570\u636E\uFF0C\u91CD\u65B0\u8003\u8BD5\uFF09"}];return t.a.createElement(b.a,{centered:!0,destroyOnClose:!0,visible:L,title:"\u7EE7\u7EED\u8003\u8BD5",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:"440px",onOk:function(){return h.submit()},onCancel:function(){h.resetFields(),x(!0)}},t.a.createElement(P.a,{form:h,className:je.a.formWrap,scrollToFirstError:!0,layout:"vertical",onFinish:K},t.a.createElement(P.a.Item,{label:"\u7EE7\u7EED\u8003\u8BD5\u9700\u8981\u8F93\u5165\u76D1\u8003\u5BC6\u7801\uFF08\u76D1\u8003\u8001\u5E08\u63D0\u4F9B\uFF09",name:"newPassword",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u76D1\u8003\u5BC6\u7801"}]},t.a.createElement(ue.a.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u76D1\u8003\u5BC6\u7801"})),t.a.createElement(P.a.Item,{label:"\u8003\u8BD5\u72B6\u6001\u4FEE\u6539\u4E3A",name:"state",initialValue:"1"},t.a.createElement(le.a,{showArrow:!0},H.map(function(C){return t.a.createElement(Be,{key:C.id,value:C.id},C.value)}))),t.a.createElement(P.a.Item,{label:"\u8C03\u6574\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u4E3A",name:"time",initialValue:void 0},t.a.createElement(be.a,{min:0,placeholder:"\u8BF7\u586B\u5199\u5EF6\u957F\u65F6\u95F4",style:{width:"100%"}})),t.a.createElement("div",{className:"c-grey-999"},"\u8BE5\u5B66\u751F\u5269\u4F59\u65F6\u95F4\uFF1A",J||0,"\u5206\u949F")))},Me=Le,Ie=a("WHYC"),tt=Ae.a.TabPane,Oe=function(U){Object(fe.a)(U);var L=Object(E.useState)({page:1,per_page:10}),M=Object(v.a)(L,2),x=M[0],I=M[1],V=Object(E.useState)(!0),m=Object(v.a)(V,2),O=m[0],se=m[1],h=Object(E.useState)(!0),Q=Object(v.a)(h,2),Y=Q[0],J=Q[1],W=Object(E.useState)(!1),X=Object(v.a)(W,2),N=X[0],K=X[1],H=Object(E.useState)("2"),C=Object(v.a)(H,2),_=C[0],u=C[1],Z=Object(E.useState)(0),p=Object(v.a)(Z,2),q=p[0],$=p[1],ee=Object(E.useState)([]),w=Object(v.a)(ee,2),g=w[0],F=w[1],we=Object(E.useState)({}),ie=Object(v.a)(we,2),G=ie[0],Te=ie[1],te=Object(E.useRef)(""),z=Object(Ie.l)(),nt=function(o){u(o)};Object(E.useEffect)(function(){console.log(z),z.query&&u(z.query.type)},[z]);var ke=function(o,n){var l={page:o,per_page:n};I(l),de(l)};Object(E.useEffect)(function(){de({page:1,per_page:10})},[O,_]);var de=function(){var e=Object(f.a)(i.a.mark(function o(){var n,l,d=arguments;return i.a.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return n=d.length>0&&d[0]!==void 0?d[0]:x,J(!0),c.next=4,Object(j.a)("/api/students/exercises",{method:"get",params:Object(_e.a)({is_normal:O,exercise_status:_==="0"?"":_},n)});case 4:l=c.sent,l.exercise&&(J(!1),F(l.exercise),$(l==null?void 0:l.count),I(n));case 6:case"end":return c.stop()}},o)}));return function(){return e.apply(this,arguments)}}(),re=function(){var e=Object(f.a)(i.a.mark(function o(n){var l,d;return i.a.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(d=n==null||((l=n.commit_status_name)===null||l===void 0)?void 0:l[0],!(d==="\u8FDB\u5165\u8003\u8BD5")){c.next=4;break}return ce(n),c.abrupt("return");case 4:(d==="\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5"||d==="\u7EE7\u7EED\u8003\u8BD5")&&K(!0);case 5:case"end":return c.stop()}},o)}));return function(n){return e.apply(this,arguments)}}(),ce=function(){var e=Object(f.a)(i.a.mark(function o(n){return i.a.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(!((n==null?void 0:n.ip_limit)!=="no")){d.next=3;break}return Object(oe.l)(n==null?void 0:n.id,n==null?void 0:n.ip_limit,!1).then(function(){S.c.push("/exam/studentDetail?examId=".concat(n.id))}).catch(function(r){b.a.confirm({width:500,icon:null,className:"custom-modal-divider ",title:"\u8003\u8BD5\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0,content:t.a.createElement("div",{className:"font16"},t.a.createElement("p",null,"\u4F60\u7684IP\u5730\u5740\u4E0D\u5728\u8003\u8BD5\u9650\u5B9A\u7684IP\u8303\u56F4\u5185\uFF0C\u82E5\u8981\u8FDB\u5165\u8003\u8BD5\uFF0C\u8BF7\u8F93\u5165",t.a.createElement("br",null),"\u76D1\u8003\u5BC6\u7801\uFF1A"),t.a.createElement(ue.a.Password,{autoComplete:"new-password",defaultValue:te.current,onChange:function(ae){return te.current=ae.target.value}})),onOk:function(){var c=Object(f.a)(i.a.mark(function Ye(){var me;return i.a.wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,Object(j.a)("/api/students/exercises/".concat(n.id,"/reset_ip"),{method:"post",body:{password:te.current}});case 2:me=T.sent,me.status===0&&S.c.push("/exam/studentDetail?examId=".concat(n.id));case 4:case"end":return T.stop()}},Ye)}));function ae(){return c.apply(this,arguments)}return ae}()})}),d.abrupt("return");case 3:S.c.push("/exam/studentDetail?examId=".concat(n.id));case 4:case"end":return d.stop()}},o)}));return function(n){return e.apply(this,arguments)}}(),ye=function(){var e=Object(f.a)(i.a.mark(function o(n){var l;return i.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!(n.open_camera||n.screen_open||(n==null?void 0:n.ip_limit)!=="no")){r.next=6;break}if(Object(oe.C)()){r.next=4;break}return b.a.info({title:"\u8003\u8BD5\u63D0\u793A",icon:null,okText:"\u77E5\u9053\u4E86",className:"custom-modal-divider ",width:500,centered:!0,content:t.a.createElement("div",{className:"font16"},t.a.createElement("p",null,"\u672C\u573A\u8003\u8BD5\u5DF2\u7ECF\u5F00\u542F\u9632\u4F5C\u5F0A\u6A21\u5F0F\uFF0C\u8BF7\u6CE8\u610F\u9075\u5B88\u8003\u8BD5\u89C4\u5219\u3002"),t.a.createElement("p",null,"\u8BF7\u4F7F\u7528\u8C37\u6B4C\u6D4F\u89C8\u5668\u8FDB\u884C\u8003\u8BD5\uFF0C\u8C22\u8C22"))}),r.abrupt("return",!1);case 4:return l=b.a.info({title:t.a.createElement(k.a,null,t.a.createElement(D.a,{flex:"1"},"\u8003\u8BD5\u8BF4\u660E"),t.a.createElement(D.a,null,t.a.createElement("span",{className:"iconfont icon-guanbi1 current c-grey-c",onClick:function(){return l.destroy()}}))),width:708,icon:null,centered:!0,className:"custom-modal-divider",content:t.a.createElement("div",{className:"font16"},t.a.createElement("div",null,"\u672C\u573A\u8003\u8BD5\u5DF2\u7ECF\u5F00\u542F\u9632\u4F5C\u5F0A\u6A21\u5F0F\uFF0C\u8BF7\u6CE8\u610F\u9075\u5B88\u8003\u8BD5\u89C4\u5219\u3002"),n.open_camera&&t.a.createElement(k.a,{align:"middle",justify:"start",className:"mt20"},t.a.createElement(D.a,null,"\u5DF2\u5F00\u542F\u6444\u50CF\u5934\uFF08\u4F1A\u5728\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u968F\u673A\u62CD\u6444\u7167\u7247\uFF09",t.a.createElement("br",null),t.a.createElement("a",{target:"_blank",href:"".concat(y.a.API_SERVER,"/\u65E0\u6CD5\u8C03\u7528\u6444\u50CF\u5934.pdf")},"\u65E0\u6CD5\u8C03\u7528\u6444\u50CF\u5934\uFF1F"))),n.screen_open&&t.a.createElement(k.a,{justify:"start",className:"mt20"},t.a.createElement(D.a,{flex:"1"},"\u5DF2\u5F00\u542F\u5207\u5C4F\u5F3A\u5236\u4EA4\u5377\uFF08\u8FDB\u5165\u8003\u8BD5\u540E\u4F1A\u5F3A\u5236\u6D4F\u89C8\u5668\u5168\u5C4F\uFF0C\u5207\u5C4F\u6B21\u6570\u8FBE\u5230\u8BBE\u5B9A\u6B21\u6570\u540E\u5C06\u5F3A\u5236\u4EA4\u5377\uFF09",t.a.createElement("a",{target:"_blank",href:"".concat(y.a.API_SERVER,"/\u6D4F\u89C8\u5668\u65E0\u6CD5\u81EA\u52A8\u5168\u5C4F.pdf")},"\u6D4F\u89C8\u5668\u65E0\u6CD5\u81EA\u52A8\u5168\u5C4F\uFF1F"))),(n==null?void 0:n.ip_limit)!=="no"&&t.a.createElement(k.a,{align:"middle",justify:"start",className:"mt20"},t.a.createElement(D.a,null,"\u5DF2\u5F00\u542F\u9650\u5236\u8303\u56F4IP\uFF08\u68C0\u6D4BIP\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF0C\u672A\u5728IP\u8303\u56F4\u5C06\u4E0D\u80FD\u8FDB\u5165\u8003\u8BD5\uFF09",t.a.createElement("br",null),t.a.createElement("a",{href:"".concat(y.a.API_SERVER,"/WebRTC%20Leak%20Prevent.zip"),target:"_blank"},"\u70B9\u51FB\u4E0B\u8F7DWebRTC Leak Prevent\u63D2\u4EF6"),t.a.createElement("a",{className:"ml20",href:"".concat(y.a.API_SERVER,"/\u5982\u4F55\u5B89\u88C5WebRTC%20Leak%20Prevent\u63D2\u4EF6.pdf"),target:"_blank"},"\u5982\u4F55\u5B89\u88C5\u63D2\u4EF6\uFF1F")))),onOk:function(){re(n)},okText:"\u8FDB\u5165\u8003\u8BD5"}),r.abrupt("return");case 6:re(n);case 7:case"end":return r.stop()}},o)}));return function(n){return e.apply(this,arguments)}}(),Qe=function(o,n,l){if(Te({end_time:B()(l==null?void 0:l.end_time).format("YYYY-MM-DD HH:mm"),id:n,item:l}),o==="\u8FDB\u5165\u8003\u8BD5"||o==="\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5"||o==="\u7EE7\u7EED\u8003\u8BD5"){ye(l);return}if(o==="\u67E5\u770B"){S.c.push("/exam/studentAnswer?examId=".concat(n));return}};return console.log(g),t.a.createElement("div",{className:s.a.wrap},t.a.createElement("div",{className:s.a.right},t.a.createElement("div",{className:s.a.head},t.a.createElement("span",{style:{marginRight:"60px"}},O===3?"\u5386\u53F2\u8003\u8BD5":"\u8003\u8BD5\u5217\u8868"),t.a.createElement("a",{href:"/exam/studentClient?type=3",target:"_blank"},"\u67E5\u770B\u5386\u53F2\u8003\u8BD5")),t.a.createElement(Ee.a,{className:"pl40 pr40 mt20",active:!0,paragraph:{rows:5},loading:Y},t.a.createElement("div",{className:s.a.listWarp},g.map(function(e,o){return t.a.createElement("aside",{className:s.a.list,key:o},e.is_normal&&t.a.createElement("img",{src:he.a,className:s.a.statusIcon}),!e.is_normal&&t.a.createElement("img",{src:De.a,className:s.a.statusIcon}),t.a.createElement("div",{className:s.a.d1},t.a.createElement("img",{src:Ue.a,alt:""})),t.a.createElement("div",{className:s.a.d2},t.a.createElement("div",{className:s.a.top},t.a.createElement("span",{className:s.a.title},e==null?void 0:e.exercise_name),(e==null?void 0:e.exercise_status_name)==="\u8003\u8BD5\u4E2D"&&t.a.createElement("span",{className:s.a.tag},e==null?void 0:e.exercise_status_name),(e==null?void 0:e.exercise_status_name)==="\u672A\u5F00\u8003"&&t.a.createElement("span",{className:s.a.notTag},e==null?void 0:e.exercise_status_name),(e==null?void 0:e.exercise_status_name)==="\u5DF2\u7ED3\u675F"&&t.a.createElement("span",{className:s.a.endTag},e==null?void 0:e.exercise_status_name),(e.open_camera||e.screen_open||(e==null?void 0:e.ip_limit)!=="no")&&t.a.createElement("span",{className:"".concat(s.a.elseTag," iconfont icon-fangzuobi")},"\xA0\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A")),t.a.createElement("div",{className:s.a.bottom},!!(e==null?void 0:e.publish_time)&&t.a.createElement(t.a.Fragment,null,B()(e==null?void 0:e.publish_time).format("YYYY-MM-DD HH:mm"),(e==null?void 0:e.end_time)?" \u81F3 "+B()(e==null?void 0:e.end_time).format("YYYY-MM-DD HH:mm"):null,t.a.createElement("span",{className:s.a.line})),"\u8BD5\u9898\u6570\uFF1A",e==null?void 0:e.question_count,t.a.createElement("span",{className:s.a.line})," \u603B\u5206\uFF1A",e==null?void 0:e.total_score,"\u5206",t.a.createElement("span",{className:s.a.line})," \u7B54\u9898\u65F6\u957F\uFF1A",e.time,"\u5206\u949F",!!e.limit_minutes_time_to_enter_exam&&t.a.createElement(t.a.Fragment,null,t.a.createElement("span",{className:s.a.line})," \u5F00\u8003\u540E",e.limit_minutes_time_to_enter_exam,"\u5206\u949F\u7981\u6B62\u8FDB\u5165\u8003\u8BD5"))),t.a.createElement("div",{className:s.a.d3},t.a.createElement("div",null,(e==null?void 0:e.commit_status_name[1])==="\u672A\u5F00\u8003"?"\u7B49\u5F85\u5F00\u8003":e==null?void 0:e.commit_status_name[1]),!e.is_normal&&e.repeat_exam_count>0&&(e==null?void 0:e.commit_status_name[1])==="\u5DF2\u4EA4\u5377"&&e.repeat_exam_count-1<=e.allow_repeat_exam_count&&t.a.createElement(pe.a,{title:"\u672C\u8003\u8BD5\u53EF\u91CD\u590D\u8003\u8BD5".concat(e.allow_repeat_exam_count,"\u6B21 \u5F53\u524D\u5269\u4F59").concat(e.allow_repeat_exam_count-e.repeat_exam_count+1,"\u6B21")},t.a.createElement(ne.a,{disabled:e.repeat_exam_count-1===e.allow_repeat_exam_count,className:s.a.disabled,onClick:Object(f.a)(i.a.mark(function n(){var l;return i.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object(j.a)("/api/students/exercises/".concat(e==null?void 0:e.exercise_id,"/continue_exercise"),{method:"post"});case 2:l=r.sent,l.status===0&&S.c.push("/exam/studentDetail?examId=".concat(e==null?void 0:e.id));case 4:case"end":return r.stop()}},n)})),type:"primary"},"\u8FDB\u5165\u8003\u8BD5")," "),(e==null?void 0:e.commit_status_name[0])!=="\u7B49\u5F85\u5F00\u8003"&&t.a.createElement(ne.a,{disabled:!e.can_enter_exam,onClick:function(){return Qe(e==null?void 0:e.commit_status_name[0],e==null?void 0:e.id,e)},type:"primary"},e.can_enter_exam?e==null?void 0:e.commit_status_name[0]:"\u7981\u6B62\u8FDB\u5165\u8003\u8BD5")))})),!!(g==null?void 0:g.length)&&t.a.createElement(Ce.a,{style:{textAlign:"center",paddingBottom:40},showQuickJumper:!0,pageSizeOptions:["10","20","50","100","200"],pageSize:x.per_page,showSizeChanger:!0,onChange:function(o,n){ke(o,n)},hideOnSinglePage:!1,current:x.page,total:q,showTotal:function(o){return t.a.createElement("span",{className:"mr10"},"\u5171",t.a.createElement("span",{className:"c-orange"},o),"\u6761\u6570\u636E")}}))),t.a.createElement(Me,{onOk:function(){return ce(G==null?void 0:G.item)},listDataParam:G,onCancel:function(){return K(!1)},visible:N}))},at=R.default=Oe}}]); diff --git a/umi.b69d9188.js b/umi.dce09af3.js similarity index 99% rename from umi.b69d9188.js rename to umi.dce09af3.js index a4e95291f8..7e8af0c5a3 100644 --- a/umi.b69d9188.js +++ b/umi.dce09af3.js @@ -1,4 +1,4 @@ -(function(E){function c(i){for(var p=i[0],d=i[1],g,m,v=0,f=[];v @@ -666,7 +666,7 @@ var t=o.defineLocale("lo",{months:"\u0EA1\u0EB1\u0E87\u0E81\u0EAD\u0E99_\u0E81\u //! locale : English (Singapore) [en-sg] //! author : Matthew Castrillon-Madrigal : https://github.com/techdimension (function(o,t){t(e("wd/R"))})(this,function(o){"use strict";//! moment.js locale configuration -var t=o.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var a=n%10,u=~~(n%100/10)===1?"th":a===1?"st":a===2?"nd":a===3?"rd":"th";return n+u},week:{dow:1,doy:4}});return t})},t0Pg:function(E,c,e){var o=e("qlSD"),t=e("Osee"),r=e("U+Zv"),n=e("3ss7"),a=e("v+BB").onFreeze,u=Object.freeze,s=r(function(){u(1)});o({target:"Object",stat:!0,forced:s,sham:!t},{freeze:function(i){return u&&n(i)?u(a(i)):i}})},t5Z9:function(E,c,e){"use strict";var o=e("qlSD"),t=e("z+kd"),r=e("WRgv");o({target:"Map",stat:!0},{groupBy:function(a,u){var s=new this;r(u);var l=r(s.has),i=r(s.get),p=r(s.set);return t(a,function(d){var g=u(d);l.call(s,g)?i.call(s,g).push(d):p.call(s,g,[d])}),s}})},tB8F:function(E,c,e){"use strict";e.r(c);var o={};e.r(o),e.d(o,"dva",function(){return jr});var t={};e.r(t),e.d(t,"rootContainer",function(){return Ur});var r={};e.r(r),e.d(r,"rootContainer",function(){return Kr});var n={};e.r(n),e.d(n,"rootContainer",function(){return ma});var a={};e.r(a),e.d(a,"rootContainer",function(){return fa});var u=e("W/j6"),s=e("DuqM"),l=e("Ctsp"),i=e("tSb9"),p=e("gwbd"),d=e("xlGu"),g=e("dfn1"),m=e("Dfm5"),v=e("kp31"),f=e("MDAa"),j=e("qQDJ"),M=e("esIe"),U=e("V1E7"),C=e("pNg1"),_=e("QU5L"),L=e("Gp4y"),S=e("+e8b"),R=e("8nMP"),W=e("quUu"),J=e("PsSD"),H=e("Int2"),k=e("f5kV"),se=e("rKd6"),ne=e("5e1S"),re=e("0Stv"),$=e("/A/0"),B=e("JKt0"),P=e("uNVy"),A=e("CI6j"),D=e("mOVu"),G=e("Uyqv"),ge=e("gNt0"),ye=e("e56K"),ae=e("RsEi"),je=e("ooOB"),K=e("TfAI"),oe=e("l6CI"),Ae=e("Sa68"),q=e("Lqka"),z=e("EUyJ"),fe=e("QQbU"),X=e("eqsy"),we=e("uquo"),Te=e("GGyQ"),$e=e("7hhn"),et=e("jTbT"),lt=e("PxuC"),Ee=e("KVaG"),Me=e("XfJK"),Ke=e("EWhT"),Qe=e("S23I"),dt=e("qEGc"),xt=e("WZnS"),ve=e("aGgX"),be=e("a53r"),Ye=e("vql+"),Se=e("TQHT"),F=e("vApW"),Y=e("aE8w"),ie=e("3Uc2"),xe=e("KTpG"),Z=e("pDfl"),me=e("Ti+d"),ue=e("MrdD"),Q=e("Ooau"),ce=e("Iyw/"),We=e("Fwrl"),Ve=e("bVox"),de=e("1YD2"),Oe=e("6UAK"),Xe=e("iGL/"),De=e("0nNH"),jt=e("+ynk"),Dt=e("w+0x"),kt=e("CoRm"),tn=e("9Irk"),Pt=e("YwjK"),pt=e("AdV7"),Bt=e("Hc01"),Et=e("t0Pg"),Jt=e("sP68"),ln=e("tjny"),St=e("L9PY"),Mt=e("caR6"),le=e("W2nN"),Ce=e("Lxzi"),At=e("JRqE"),Kt=e("MlvI"),an=e("W1Lh"),xn=e("3w5w"),vt=e("26eR"),_e=e("4QhF"),It=e("JHtV"),ee=e("/SPZ"),He=e("yLIl"),Be=e("HGcs"),Lt=e("54ty"),wt=e("UOO9"),on=e("HzY1"),Cn=e("SatZ"),Nn=e("2mGj"),kn=e("jjx2"),en=e("qKiF"),or=e("CdG1"),$t=e("JumN"),Ht=e("kmD7"),Rn=e("IrzF"),ct=e("GI8W"),Rr=e("OfDx"),pa=e("BUUL"),Vt=e("lg0x"),Zt=e("cea4"),zn=e("ltAF"),ft=e("IS7e"),ra=e("Wvfs"),aa=e("KfFf"),Ar=e("ZixC"),Qr=e("K1y7"),Ir=e("WsZ/"),Zr=e("hxxY"),dn=e("u2pd"),Gt=e("4II6"),mn=e("N3rH"),vn=e("cDOc"),Tn=e("gO8E"),lr=e("V4z1"),hr=e("dpRA"),sr=e("FcRj"),Sr=e("oRlY"),at=e("GD8e"),nt=e("sPd+"),Ze=e("eQ4G"),Tt=e("aQb4"),Ut=e("X5Wa"),nn=e("LFei"),pn=e("JgrT"),hn=e("TFTz"),Le=e("Rxc4"),Je=e("ODCP"),V=e("R3Kw"),Ct=e("SwP0"),zt=e("RY1n"),sn=e("6h5d"),yn=e("hIiD"),Mn=e("Lcv6"),An=e("7uW1"),Xn=e("wEYt"),bn=e("Lcwr"),wn=e("k6A2"),Pn=e("YDfz"),ir=e("uWdG"),dr=e("+x5m"),gr=e("0LvV"),vr=e("Z0/S"),Gr=e("LKUS"),oa=e("yXlX"),Da=e("FgrG"),ea=e("wvGU"),Fa=e("ZIqL"),so=e("tWGn"),io=e("BSqd"),uo=e("vDUo"),ca=e("qpaO"),Va=e("ZqbE"),Dr=e("0nqp"),Ba=e("aBy7"),Sa=e("++LI"),Ot=e("qMeY"),Rt=e("xGXX"),Hn=e("FMtN"),Fe=e("xkle"),za=e("R6Ix"),lo=e("P7+E"),Mo=e("OnyF"),ga=e("XJ/U"),Ga=e("+Q/t"),Nr=e("9o8i"),Ia=e("o72z"),Ka=e("Fp7p"),Na=e("w3N2"),Ya=e("LMWd"),co=e("gIb3"),Ma=e("UiHT"),yo=e("Z+9a"),Es=e("emKm"),zo=e("M/cX"),js=e("rRNn"),$o=e("PwgZ"),wa=e("uV8V"),Go=e("MtcY"),ks=e("lzpZ"),Vo=e("edrt"),yt=e("4R4O"),bt=e("qVZ/"),Yn=e("t5Z9"),Pe=e("wVJp"),Wa=e("9gtD"),no=e("L5r4"),No=e("luoB"),ds=e("wSy4"),cs=e("IULS"),Fs=e("GIiq"),oi=e("B/Nc"),bi=e("dYH1"),Xa=e("Uj93"),Ea=e("YRMS"),vo=e("hsYz"),qo=e("vLq1"),Ys=e("tkAz"),Ei=e("LSPM"),Ws=e("QzJB"),si=e("wjoA"),xs=e("O4AU"),ii=e("MY/c"),ms=e("WD5A"),Si=e("sS/F"),Ms=e("5eJQ"),ro=e("24g4"),es=e("kXpm"),Oo=e("yYBo"),Os=e("4otd"),ji=e("xbhV"),Hs=e("xBfj"),xi=e("927e"),bo=e("7cCA"),To=e("tlUX"),ui=e("7Ku3"),ts=e("+Ywj"),li=e("lVYs"),fs=e("zHR6"),Bs=e("bgHJ"),zs=e("oVXm"),Ro=e("6CAe"),qt=e("vhUy"),Ln=e("dsq1"),En=e("dI9G"),ze=e("1oQm"),ar=e("xZMz"),Lr=e("Pa+L"),Xr=e("rxE2"),sa=e("a/P7"),Un=e("E1g1"),Ko=e("odUd"),mo=e("CDWz"),ps=e("x/GS"),$i=e("yPWq"),Za=e("KUlJ"),Ua=e("riw1"),Co=e("tL4P"),ya=e("D1NN"),Ts=e("VF25"),qa=e("eIlj"),$s=e("4ozY"),Cs=e("tVK7"),rr=e("yEa4"),Li=e("RN1i"),ws=e("mHB/"),ko=e("7T+W"),Fo=e("lZrI"),hs=e("bfAq"),Ss=e("JFQb"),ns=e("QSgd"),Ai=e("Y0Ia"),Ls=e("Cl06"),As=e("VkXl"),rs=e("qRSx"),as=e("vJ+G"),Mi=e("bHGo"),Ne=e("EpGl"),ke=e("ASJH"),ot=e("NGaF"),ut=e("yMmy"),Yt=e("VWci"),un=e("FoZm"),rn=e("bCY9"),Sn=e("miYZ"),On=e("tsqr"),Bn=e("wd/R"),$n=e.n(Bn),Jn=e("/EoS"),ur=e("4MGa"),br=e("22qN"),_r=e("YdpX"),er=e("T5T7"),wr=e("58Ye"),Vr=e("OIXA");$n.a.locale("ZH-cn");var jr={config:{onError:function(tt){On.b.error(tt.message,3)}}},Fr=e("q1tI"),ia=e.n(Fr),ta=e("uRV1");function Ur(xr){return ia.a.createElement(ta.a,null,xr)}var Oa=e("I5X1");if(typeof Oa.a!="function")throw new Error("[plugin-initial-state]: useModel is not a function, @umijs/plugin-model is required.");var Pa=function(xr){var tt=xr.children,cr=Object(Fr.useRef)(!1),fr=Object(Oa.a)("@@initialState")||{},ja=fr.loading,na=ja===void 0?!1:ja;return Object(Fr.useEffect)(function(){na||(cr.current=!0)},[na]),na&&!cr.current?null:tt};function Kr(xr){return ia.a.createElement(Pa,null,xr)}var eo=e("ZW6p");function ma(xr){return ia.a.createElement(eo.b,null,xr)}var va=e("k16G"),Ie=function(){return{loading:!1,refresh:function(){}}},st=e("7xWI"),Xt=e.n(st),Re=e("sFpY"),Gn=e.n(Re),yr=e("FMtG"),Hr={"@@initialState":Ie},nr=new Xt.a,$a=Gn.a,Br=function(xr){var tt=xr.children;return ia.a.createElement(yr.UmiContext.Provider,{value:nr},Object.entries(Hr).map(function(cr){return ia.a.createElement($a,{key:cr[0],namespace:cr[0],hook:cr[1],onUpdate:function(ja){var na=cr,_s=Object(va.a)(na,1),Gs=_s[0];nr.data[Gs]=ja,nr.update(Gs)}})}),tt)};function fa(xr){return ia.a.createElement(Br,null,xr)}rn.a.register({apply:o,path:"/Users/dingyongkang/Documents/workspace/zhiqing/educoder/src/app.tsx"}),rn.a.register({apply:t,path:"/Users/dingyongkang/Documents/workspace/zhiqing/educoder/src/.umi-production/plugin-dva/runtime.tsx"}),rn.a.register({apply:r,path:"../plugin-initial-state/runtime"}),rn.a.register({apply:n,path:"/Users/dingyongkang/Documents/workspace/zhiqing/educoder/src/.umi-production/plugin-locale/runtime.tsx"}),rn.a.register({apply:a,path:"../plugin-model/runtime"});var Pr=e("FfOG"),it=e("LtsZ"),La=e("zlVK"),mt=e("ltSN");function In(){var xr=[{path:"/",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(17),e.e(30)]).then(e.bind(null,"+ego"))},loading:mt.a}),routes:[{path:"/educoder-demo",exact:!0,component:Object(it.dynamic)({loader:function(){return e.e(124).then(e.bind(null,"4K8j"))},loading:mt.a})},{path:"/otherlogin",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(15),e.e(256)]).then(e.bind(null,"6y+p"))},loading:mt.a})},{path:"/otherloginqq",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(257)]).then(e.bind(null,"/pIo"))},loading:mt.a})},{path:"/otherloginstart",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(261)]).then(e.bind(null,"o5Na"))},loading:mt.a})},{path:"/tasks/:taskId",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(4),e.e(264)]).then(e.bind(null,"yi/R"))},loading:mt.a})},{path:"/tasks/:identifier/jupyter/",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(263)]).then(e.bind(null,"sUu2"))},loading:mt.a})},{path:"/problems/:id/edit",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(189)]).then(e.bind(null,"PHyj"))},loading:mt.a})},{path:"/problems/new",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(189)]).then(e.bind(null,"PHyj"))},loading:mt.a})},{path:"/myproblems/:id/record-detail/:submitId",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(177)]).then(e.bind(null,"xTsT"))},loading:mt.a})},{path:"/myproblems/:id",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(4),e.e(178)]).then(e.bind(null,"QUZ3"))},loading:mt.a})},{path:"/login",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(31)]).then(e.bind(null,"zCei"))},loading:mt.a}),routes:[{path:"/login/teacher",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(17),e.e(255)]).then(e.bind(null,"8orJ"))},loading:mt.a}),exact:!0},{path:"/login/student",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(260)]).then(e.bind(null,"jWAc"))},loading:mt.a}),exact:!0},{path:"/user/register",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(15),e.e(258)]).then(e.bind(null,"7rcX"))},loading:mt.a}),exact:!0},{path:"/user/reset-password",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(15),e.e(259)]).then(e.bind(null,"LsG1"))},loading:mt.a}),exact:!0}]},{path:"/shixuns",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/shixuns",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(226)]).then(e.bind(null,"VgI9"))},loading:mt.a}),exact:!0},{path:"/shixuns/exports",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(225)]).then(e.bind(null,"kzkF"))},loading:mt.a}),exact:!0},{path:"/shixuns/new",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(227)]).then(e.bind(null,"dugo"))},loading:mt.a}),exact:!0},{path:"/shixuns/new/CreateImg",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(228)]).then(e.bind(null,"qK93"))},loading:mt.a}),exact:!0},{path:"/shixuns/new/:id/imagepreview",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(229)]).then(e.bind(null,"iJb0"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(217)]).then(e.bind(null,"WO9J"))},loading:mt.a}),routes:[{path:"/shixuns/:id/edit/shixuns/:id/edit/warehouse",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(26),e.e(224)]).then(e.bind(null,"ch0t"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit/newquestion",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(222)]).then(e.bind(null,"5v/u"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/editquestion",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(220)]).then(e.bind(null,"UeE2"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(220)]).then(e.bind(null,"UeE2"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit/new",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(221)]).then(e.bind(null,"Ly88"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(221)]).then(e.bind(null,"Ly88"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/tab=2",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(219)]).then(e.bind(null,"xdT8"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/tab=3",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(218)]).then(e.bind(null,"389U"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/tab=4",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(223)]).then(e.bind(null,"/hLF"))},loading:mt.a}),exact:!0}]},{path:"/shixuns/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(216)]).then(e.bind(null,"Nv+3"))},loading:mt.a}),routes:[{path:"/shixuns/:id/challenges",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(205)]).then(e.bind(null,"HTtE"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/challenges/newquestion",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(203)]).then(e.bind(null,"wxaI"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/editquestion",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(201)]).then(e.bind(null,"kvPc"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/editquestion/:questionId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(201)]).then(e.bind(null,"kvPc"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/challenges/new",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(202)]).then(e.bind(null,"dNgX"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/editcheckpoint",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(202)]).then(e.bind(null,"dNgX"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/tab=2",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(200)]).then(e.bind(null,"Yczt"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/tab=3",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(199)]).then(e.bind(null,"5EEG"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/tab=4",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(204)]).then(e.bind(null,"mWt4"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/repository",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(26),e.e(214)]).then(e.bind(null,"C8/M"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/secret_repository",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(26),e.e(214)]).then(e.bind(null,"C8/M"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/collaborators",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(206)]).then(e.bind(null,"FMhn"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/dataset",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(207)]).then(e.bind(null,"SYY+"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/shixun_discuss",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(4),e.e(208)]).then(e.bind(null,"cx3v"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/ranking_list",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(210)]).then(e.bind(null,"LiYo"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/settings",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(7),e.e(215)]).then(e.bind(null,"2WWx"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/repository/:repoId/commits",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(212)]).then(e.bind(null,"gCRP"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/secret_repository/:repoId/commits",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(212)]).then(e.bind(null,"gCRP"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/repository/upload_file",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(213)]).then(e.bind(null,"wXW8"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/secret_repository/upload_file",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(213)]).then(e.bind(null,"wXW8"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/repository/add_file",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(211)]).then(e.bind(null,"baNF"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/secret_repository/add_file",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(211)]).then(e.bind(null,"baNF"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(26),e.e(214)]).then(e.bind(null,"C8/M"))},loading:mt.a})},{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(26),e.e(214)]).then(e.bind(null,"C8/M"))},loading:mt.a})},{path:"/shixuns/:id/audit_situation",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(22),e.e(198)]).then(e.bind(null,"VllQ"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/fork_list",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(209)]).then(e.bind(null,"e2kQ"))},loading:mt.a}),exact:!0}]}]},{path:"/account",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/account/:username",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(18),e.e(33)]).then(e.bind(null,"m3a9"))},loading:mt.a}),routes:[{path:"/account/profile",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(8),e.e(11),e.e(9),e.e(37)]).then(e.bind(null,"4w5S"))},loading:mt.a}),exact:!0},{path:"/account/profile/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(8),e.e(11),e.e(9),e.e(36)]).then(e.bind(null,"Z3SC"))},loading:mt.a}),exact:!0},{path:"/account/certification",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(8),e.e(11),e.e(9),e.e(35)]).then(e.bind(null,"doOU"))},loading:mt.a}),exact:!0},{path:"/account/secure",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(39)]).then(e.bind(null,"0NIp"))},loading:mt.a}),exact:!0},{path:"/account/binding",component:Object(it.dynamic)({loader:function(){return e.e(34).then(e.bind(null,"JMrj"))},loading:mt.a}),exact:!0},{path:"/account/Results",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(38)]).then(e.bind(null,"a90+"))},loading:mt.a}),exact:!0}]}]},{path:"/users",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/users/:username/videos/upload",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(10),e.e(21),e.e(252)]).then(e.bind(null,"kryb"))},loading:mt.a}),exact:!0},{path:"/users/:username/videos/protocol",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(250)]).then(e.bind(null,"MvYd"))},loading:mt.a}),exact:!0},{path:"/users/:username/videos/success",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(251)]).then(e.bind(null,"p0R4"))},loading:mt.a}),exact:!0},{path:"/users/:username/topicbank/:topicstype",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(248)]).then(e.bind(null,"ZgjG"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/normal/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(241)]).then(e.bind(null,"VdzU"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/group/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(241)]).then(e.bind(null,"VdzU"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/normal/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(245)]).then(e.bind(null,"R7cW"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/group/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(244)]).then(e.bind(null,"6xqJ"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(4),e.e(243)]).then(e.bind(null,"pr0Y"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(242)]).then(e.bind(null,"NcEG"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/poll/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(247)]).then(e.bind(null,"VSi8"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/poll/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(246)]).then(e.bind(null,"/OCd"))},loading:mt.a}),exact:!0},{path:"/users/:username",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(254)]).then(e.bind(null,"bp/9"))},loading:mt.a}),routes:[{path:"/users/:username",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(233)]).then(e.bind(null,"NQ7k"))},loading:mt.a}),exact:!0},{path:"/users/:username/classrooms",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(233)]).then(e.bind(null,"NQ7k"))},loading:mt.a}),exact:!0},{path:"/users/:username/shixuns",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(239)]).then(e.bind(null,"0eau"))},loading:mt.a}),exact:!0},{path:"/users/:username/userPortrait",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(249)]).then(e.bind(null,"Yej6"))},loading:mt.a}),exact:!0},{path:"/users/:username/learningPath",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(236)]).then(e.bind(null,"NFd+"))},loading:mt.a}),exact:!0},{path:"/users/:username/teach-group",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(240)]).then(e.bind(null,"UK/q"))},loading:mt.a}),exact:!0},{path:"/users/:username/experiment-img",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(235)]).then(e.bind(null,"03Vo"))},loading:mt.a}),exact:!0},{path:"/users/:username/experiment-img/:experid/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(234)]).then(e.bind(null,"CF0a"))},loading:mt.a}),exact:!0},{path:"/users/:username/certificate",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(232)]).then(e.bind(null,"Oe6r"))},loading:mt.a}),exact:!0},{path:"/users/:username/paths",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(237)]).then(e.bind(null,"2nTg"))},loading:mt.a}),exact:!0},{path:"/users/:username/projects",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(238)]).then(e.bind(null,"T+0Y"))},loading:mt.a}),exact:!0},{path:"/users/:username/videos",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(12),e.e(253)]).then(e.bind(null,"XxMO"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicstype",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(248)]).then(e.bind(null,"ZgjG"))},loading:mt.a}),exact:!0}]}]},{path:"/problemset",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/problemset",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(14),e.e(194)]).then(e.bind(null,"JUtD"))},loading:mt.a}),exact:!0},{path:"/problemset/newitem",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(190)]).then(e.bind(null,"0dNJ"))},loading:mt.a}),exact:!0},{path:"/problemset/:type/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(190)]).then(e.bind(null,"0dNJ"))},loading:mt.a}),exact:!0},{path:"/problemset/preview",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(13),e.e(193)]).then(e.bind(null,"DaK5"))},loading:mt.a}),exact:!0},{path:"/problemset/preview_new",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(24),e.e(191)]).then(e.bind(null,"JA47"))},loading:mt.a}),exact:!0},{path:"/problemset/preview_select",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(14),e.e(192)]).then(e.bind(null,"H7EV"))},loading:mt.a}),exact:!0}]},{path:"/ch/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/ch/rest/edit/:categoryId/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(196)]).then(e.bind(null,"VwnK"))},loading:mt.a}),exact:!0},{path:"/ch/rest/",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(195)]).then(e.bind(null,"Etsf"))},loading:mt.a})},{path:"/ch/rest/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(195)]).then(e.bind(null,"Etsf"))},loading:mt.a}),exact:!0}]},{path:"/paperlibrary",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/paperlibrary",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(7),e.e(14),e.e(184)]).then(e.bind(null,"Ynr3"))},loading:mt.a}),exact:!0},{path:"/paperlibrary/see/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(7),e.e(13),e.e(183)]).then(e.bind(null,"VN4U"))},loading:mt.a}),exact:!0},{path:"/paperlibrary/edit/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(13),e.e(24),e.e(179)]).then(e.bind(null,"DXt6"))},loading:mt.a}),exact:!0},{path:"/paperlibrary/edit_select/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(14),e.e(192)]).then(e.bind(null,"H7EV"))},loading:mt.a}),exact:!0}]},{path:"/colleges",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/colleges/:id/statistics",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(117)]).then(e.bind(null,"hk80"))},loading:mt.a}),exact:!0}]},{path:"/paths",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/paths",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(19),e.e(187)]).then(e.bind(null,"fEdH"))},loading:mt.a}),exact:!0},{path:"/paths/new",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(188)]).then(e.bind(null,"X8EC"))},loading:mt.a}),exact:!0},{path:"/paths/guidance",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(162)]).then(e.bind(null,"ObO0"))},loading:mt.a}),exact:!0},{path:"/paths/:pathId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(186)]).then(e.bind(null,"AZ8Y"))},loading:mt.a}),exact:!0},{path:"/paths/:pathId/statistics",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(7),e.e(185)]).then(e.bind(null,"NLfx"))},loading:mt.a}),exact:!0},{path:"/paths/:pathId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(188)]).then(e.bind(null,"X8EC"))},loading:mt.a}),exact:!0}]},{path:"/classrooms",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/classrooms",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(19),e.e(41)]).then(e.bind(null,"OLqU"))},loading:mt.a}),exact:!0},{path:"/classrooms/index",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(19),e.e(41)]).then(e.bind(null,"OLqU"))},loading:mt.a}),exact:!0},{path:"/classrooms/new",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(7),e.e(8),e.e(115)]).then(e.bind(null,"PDLG"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(7),e.e(8),e.e(115)]).then(e.bind(null,"PDLG"))},loading:mt.a}),exact:!0},{path:"/classrooms/news/:subjectid/newgold/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(7),e.e(8),e.e(116)]).then(e.bind(null,"GpDF"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/newgolds/settings",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(7),e.e(8),e.e(116)]).then(e.bind(null,"GpDF"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(96)]).then(e.bind(null,"OipY"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(97)]).then(e.bind(null,"TS7/"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(94)]).then(e.bind(null,"5gs/"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(95)]).then(e.bind(null,"Q16u"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(81)]).then(e.bind(null,"gbAR"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(51)]).then(e.bind(null,"J44v"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(54)]).then(e.bind(null,"isY5"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(84)]).then(e.bind(null,"Sdqs"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(85)]).then(e.bind(null,"Yoi/"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(82)]).then(e.bind(null,"5K9Z"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(62)]).then(e.bind(null,"1h7y"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(63)]).then(e.bind(null,"JNOM"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(61)]).then(e.bind(null,"MvOs"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(67)]).then(e.bind(null,"cQPA"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(4),e.e(65)]).then(e.bind(null,"E7pt"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(64)]).then(e.bind(null,"guuQ"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(7),e.e(60)]).then(e.bind(null,"0yVv"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(20),e.e(68)]).then(e.bind(null,"E2MH"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(69)]).then(e.bind(null,"zrbX"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:exerciseId/export/:userId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(66)]).then(e.bind(null,"mrIW"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(66)]).then(e.bind(null,"mrIW"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(77)]).then(e.bind(null,"b7x8"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(76)]).then(e.bind(null,"3Rgl"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(78)]).then(e.bind(null,"vKdk"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(72)]).then(e.bind(null,"/P1P"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(74)]).then(e.bind(null,"c5ks"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(73)]).then(e.bind(null,"6UeF"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:categoryId/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(50)]).then(e.bind(null,"gnOq"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(53)]).then(e.bind(null,"to1l"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(55)]).then(e.bind(null,"qduV"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(52)]).then(e.bind(null,"yBfY"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:categoryId/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(80)]).then(e.bind(null,"tt94"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(83)]).then(e.bind(null,"99tC"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/poll/:categoryId/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(89)]).then(e.bind(null,"pFvy"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/poll/:categoryId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(92)]).then(e.bind(null,"0eFd"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/poll/:categoryId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(91)]).then(e.bind(null,"JHUA"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(20),e.e(90)]).then(e.bind(null,"5b1O"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/board/:categoryId/Add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(46)]).then(e.bind(null,"KI3f"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(48)]).then(e.bind(null,"5aFj"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(4),e.e(47)]).then(e.bind(null,"0A3i"))},loading:mt.a}),exact:!0},{path:"/classrooms/:courseId/template/:templateId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(109)]).then(e.bind(null,"saVb"))},loading:mt.a}),exact:!0},{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(108)]).then(e.bind(null,"rrYs"))},loading:mt.a}),exact:!0},{path:"/classrooms/guidance",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(162)]).then(e.bind(null,"ObO0"))},loading:mt.a}),exact:!0},{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(106)]).then(e.bind(null,"65Jc"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(28)]).then(e.bind(null,"NRst"))},loading:mt.a}),routes:[{path:"/classrooms/:coursesId/shixun_homework/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(98)]).then(e.bind(null,"cgge"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/shixun_homework",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(98)]).then(e.bind(null,"cgge"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_topics/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(79)]).then(e.bind(null,"xBOz"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(75)]).then(e.bind(null,"qAxr"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(75)]).then(e.bind(null,"qAxr"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(70)]).then(e.bind(null,"NO2p"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(70)]).then(e.bind(null,"NO2p"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/poll/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(93)]).then(e.bind(null,"A06Q"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/poll",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(93)]).then(e.bind(null,"A06Q"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(56)]).then(e.bind(null,"hIhZ"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(56)]).then(e.bind(null,"hIhZ"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(86)]).then(e.bind(null,"2doZ"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(86)]).then(e.bind(null,"2doZ"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/teachers",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(105)]).then(e.bind(null,"L/F1"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/students",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(104)]).then(e.bind(null,"KsYo"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/attendance",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(45)]).then(e.bind(null,"VmvX"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/attendance/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(45)]).then(e.bind(null,"VmvX"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(44)]).then(e.bind(null,"kvwo"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/announcement",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(4),e.e(5),e.e(42)]).then(e.bind(null,"kHcA"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/announcement/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(4),e.e(5),e.e(42)]).then(e.bind(null,"kHcA"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/online_learning",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(4),e.e(5),e.e(88)]).then(e.bind(null,"ADTG"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/online_learning/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(4),e.e(5),e.e(88)]).then(e.bind(null,"ADTG"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/attachment/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(43)]).then(e.bind(null,"QGk1"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/attachment",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(43)]).then(e.bind(null,"QGk1"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/video",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(12),e.e(114)]).then(e.bind(null,"iVQj"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/video/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(12),e.e(114)]).then(e.bind(null,"iVQj"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/video/:categoryId/statistics",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(112)]).then(e.bind(null,"5vIh"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/video/:username/upload",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(10),e.e(21),e.e(113)]).then(e.bind(null,"1v2r"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(110)]).then(e.bind(null,"XeVE"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/live_video/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(87)]).then(e.bind(null,"dxBZ"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/live_video",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(87)]).then(e.bind(null,"dxBZ"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(111)]).then(e.bind(null,"QLuO"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/board/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(49)]).then(e.bind(null,"KRdP"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/board",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(49)]).then(e.bind(null,"KRdP"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/course_group",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(58)]).then(e.bind(null,"VQsq"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/course_group/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(58)]).then(e.bind(null,"VQsq"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/course_group/:categoryId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(57)]).then(e.bind(null,"zr3n"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/not_course_group/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(59)]).then(e.bind(null,"sl2e"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/not_course_group",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(59)]).then(e.bind(null,"sl2e"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/statistics/",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(103)]).then(e.bind(null,"bTuv"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/statistics/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(103)]).then(e.bind(null,"bTuv"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/statistics_video/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(102)]).then(e.bind(null,"CQHe"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/student_statistics/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(100)]).then(e.bind(null,"G1O7"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(99)]).then(e.bind(null,"w+VK"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(101)]).then(e.bind(null,"cfGd"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exportlist/:type",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(71)]).then(e.bind(null,"9Bz6"))},loading:mt.a}),exact:!0},{path:"/classrooms/:courseId/template",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(107)]).then(e.bind(null,"aQrL"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(104)]).then(e.bind(null,"KsYo"))},loading:mt.a}),exact:!0}]}]},{path:"/help",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/help/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(163)]).then(e.bind(null,"TNY5"))},loading:mt.a}),exact:!0}]},{path:"/messages",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/messages/:userId/user_tidings",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(172)]).then(e.bind(null,"YmwD"))},loading:mt.a}),exact:!0},{path:"/messages/:userId/private_messages",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(171)]).then(e.bind(null,"EjUQ"))},loading:mt.a}),exact:!0},{path:"/messages/:userId/message_detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(170)]).then(e.bind(null,"fB9n"))},loading:mt.a}),exact:!0}]},{path:"/competitions",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/competitions/index",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(22),e.e(122)]).then(e.bind(null,"QgcY"))},loading:mt.a}),exact:!0},{path:"/competitions/exports",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(121)]).then(e.bind(null,"tYMO"))},loading:mt.a}),exact:!0},{path:"/competitions",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(22),e.e(122)]).then(e.bind(null,"QgcY"))},loading:mt.a}),exact:!0},{path:"/competitions/index/:identifier",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(118)]).then(e.bind(null,"GRO8"))},loading:mt.a}),exact:!0},{path:"/competitions/index/:identifier/enroll",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(119)]).then(e.bind(null,"Hm3h"))},loading:mt.a}),exact:!0},{path:"/competitions/index/:identifier/UpdateTeanname/:Teannameid",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(18),e.e(123)]).then(e.bind(null,"jmm4"))},loading:mt.a}),exact:!0},{path:"/competitions/index/:identifier/teamDetail/:Teamid",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(120)]).then(e.bind(null,"mKwH"))},loading:mt.a}),exact:!0}]},{path:"/forums",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/forums",component:Object(it.dynamic)({loader:function(){return e.e(160).then(e.bind(null,"Ij5S"))},loading:mt.a}),exact:!0},{path:"/forums/categories/:memoType",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(159)]).then(e.bind(null,"IeBn"))},loading:mt.a}),exact:!0},{path:"/forums/new",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(161)]).then(e.bind(null,"CKgm"))},loading:mt.a}),exact:!0},{path:"/forums/:memoId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(161)]).then(e.bind(null,"CKgm"))},loading:mt.a}),exact:!0},{path:"/forums/:memoId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(158)]).then(e.bind(null,"JkjM"))},loading:mt.a}),exact:!0}]},{path:"/exam",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/exam/studentClient",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(7),e.e(23),e.e(146)]).then(e.bind(null,"jyDb"))},loading:mt.a}),exact:!0},{path:"/exam/studentAnswer",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(4),e.e(147)]).then(e.bind(null,"ebz4"))},loading:mt.a}),exact:!0},{path:"/exam/studentDetail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(148)]).then(e.bind(null,"mRD1"))},loading:mt.a}),exact:!0},{path:"/exam/studentList/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(149)]).then(e.bind(null,"Veu+"))},loading:mt.a}),exact:!0},{path:"/exam/succeed",component:Object(it.dynamic)({loader:function(){return e.e(154).then(e.bind(null,"bDv/"))},loading:mt.a}),exact:!0},{path:"/exam/teacherManagement/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(156)]).then(e.bind(null,"x+Tn"))},loading:mt.a}),exact:!0},{path:"/exam/teacherManagement/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(157)]).then(e.bind(null,"DJfo"))},loading:mt.a}),exact:!0},{path:"/exam/importStudent",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(138)]).then(e.bind(null,"YxHR"))},loading:mt.a}),exact:!0},{path:"/exam/questionManagement/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(143)]).then(e.bind(null,"F16F"))},loading:mt.a}),exact:!0},{path:"/exam/questionManagement/preview",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(4),e.e(144)]).then(e.bind(null,"no3R"))},loading:mt.a}),exact:!0},{path:"/exam/exerciseManagement/:exerciseId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(4),e.e(144)]).then(e.bind(null,"no3R"))},loading:mt.a}),exact:!0},{path:"/exam/questionManagement/preview_select/:exerciseId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(4),e.e(142)]).then(e.bind(null,"6tVA"))},loading:mt.a}),exact:!0},{path:"/exam/questionManagement/:questionId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(143)]).then(e.bind(null,"F16F"))},loading:mt.a}),exact:!0},{path:"/exam/exerciseManagement/:exerciseId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(4),e.e(132)]).then(e.bind(null,"Nos+"))},loading:mt.a}),exact:!0},{path:"/exam/examinationManagement/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(129)]).then(e.bind(null,"VPm5"))},loading:mt.a}),exact:!0},{path:"/exam/examinationManagement/:exerciseId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(4),e.e(130)]).then(e.bind(null,"pQor"))},loading:mt.a}),exact:!0},{path:"/exam/exerciserevivw/:exerciseId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(135)]).then(e.bind(null,"n/Kg"))},loading:mt.a}),exact:!0},{path:"/exam/exerciserevivw/:exerciseId/review/:userId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(136)]).then(e.bind(null,"vOkf"))},loading:mt.a}),exact:!0},{path:"/exam/examinationManagement/:exerciseId/export/:userId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(131)]).then(e.bind(null,"+hAq"))},loading:mt.a}),exact:!0},{path:"/exam/monitoring",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(140)]).then(e.bind(null,"f0I0"))},loading:mt.a}),exact:!0},{path:"/exam",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(126)]).then(e.bind(null,"EtUn"))},loading:mt.a}),routes:[{path:"/exam/studentManagement",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(150)]).then(e.bind(null,"CN02"))},loading:mt.a}),exact:!0},{path:"/exam/studentManagement/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(151)]).then(e.bind(null,"+qR7"))},loading:mt.a}),exact:!0},{path:"/exam/teacherManagement",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(155)]).then(e.bind(null,"+XYh"))},loading:mt.a}),exact:!0},{path:"/exam/questionManagement",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(4),e.e(142)]).then(e.bind(null,"6tVA"))},loading:mt.a}),exact:!0},{path:"/exam/subjectManagement",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(153)]).then(e.bind(null,"NEDq"))},loading:mt.a}),exact:!0},{path:"/exam/knowledgeManagement",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(139)]).then(e.bind(null,"yYAX"))},loading:mt.a}),exact:!0},{path:"/exam/questionStatistics",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(145)]).then(e.bind(null,"iCkP"))},loading:mt.a}),exact:!0},{path:"/exam/exerciseManagement",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(23),e.e(133)]).then(e.bind(null,"eB9I"))},loading:mt.a}),exact:!0},{path:"/exam/examinationManagement",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(128)]).then(e.bind(null,"e0Pe"))},loading:mt.a}),exact:!0},{path:"/exam/exerciserevivw",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(134)]).then(e.bind(null,"SOHn"))},loading:mt.a}),exact:!0},{path:"/exam/gradeAnalyzing",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(137)]).then(e.bind(null,"GqMq"))},loading:mt.a}),exact:!0},{path:"/exam/questionAnalyzing",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(141)]).then(e.bind(null,"kso5"))},loading:mt.a}),exact:!0},{path:"/exam/subjectAnalyzing",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(152)]).then(e.bind(null,"+6qI"))},loading:mt.a}),exact:!0},{path:"/exam/classAnalyzing",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(127)]).then(e.bind(null,"EIjm"))},loading:mt.a}),exact:!0},{path:"/exam/*",redirect:"/404",exact:!0}]}]},{path:"/video",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/video/:videoId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(12),e.e(10),e.e(262)]).then(e.bind(null,"96GE"))},loading:mt.a}),exact:!0}]},{path:"/terminal",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(230)]).then(e.bind(null,"PYMJ"))},loading:mt.a}),exact:!0},{path:"/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(125)]).then(e.bind(null,"6xWC"))},loading:mt.a}),exact:!0},{path:"/",exact:!0,component:Object(it.dynamic)({loader:function(){return e.e(167).then(e.bind(null,"lEqr"))},loading:mt.a})},{path:"/",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/api/*",component:Object(it.dynamic)({loader:function(){return e.e(40).then(e.bind(null,"y3wM"))},loading:mt.a}),exact:!0},{path:"/search",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(197)]).then(e.bind(null,"XQ9l"))},loading:mt.a})},{path:"/moop_cases",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(176)]).then(e.bind(null,"9Oz4"))},loading:mt.a})},{path:"/moop_cases/new",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(173)]).then(e.bind(null,"nojB"))},loading:mt.a})},{path:"/moop_cases/:caseId",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(174)]).then(e.bind(null,"ymAh"))},loading:mt.a})},{path:"/moop_cases/:caseId/edit",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(173)]).then(e.bind(null,"nojB"))},loading:mt.a})},{path:"/moop_cases/:caseId/publish-success",exact:!0,component:Object(it.dynamic)({loader:function(){return e.e(175).then(e.bind(null,"NbJ3"))},loading:mt.a})},{path:"/randompaper",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(25),e.e(180)]).then(e.bind(null,"ueiT"))},loading:mt.a})},{path:"/randompaper/edit/:id",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(25),e.e(182)]).then(e.bind(null,"BkJg"))},loading:mt.a})},{path:"/randompaper/detail/:id",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(181)]).then(e.bind(null,"MpT9"))},loading:mt.a})},{path:"/403",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(164)]).then(e.bind(null,"BqfQ"))},loading:mt.a}),exact:!0},{path:"/500",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(166)]).then(e.bind(null,"IKT+"))},loading:mt.a}),exact:!0},{path:"/404",component:Object(it.dynamic)({loader:function(){return e.e(165).then(e.bind(null,"Qgpj"))},loading:mt.a}),exact:!0},{path:"/iwce",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(169)]).then(e.bind(null,"axZZ"))},loading:mt.a}),exact:!0},{path:"/iwce/:itemname",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(169)]).then(e.bind(null,"axZZ"))},loading:mt.a}),exact:!0},{path:"/hpc-course",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(169)]).then(e.bind(null,"axZZ"))},loading:mt.a}),exact:!0},{path:"/user_agents",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(168)]).then(e.bind(null,"CRnD"))},loading:mt.a}),exact:!0},{path:"/three",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(231)]).then(e.bind(null,"T+//"))},loading:mt.a}),exact:!0},{component:Object(it.dynamic)({loader:function(){return e.e(165).then(e.bind(null,"Qgpj"))},loading:mt.a}),exact:!0}]}]}];return rn.a.applyPlugins({key:"patchRoutes",type:it.ApplyPluginsType.event,args:{routes:xr}}),xr}e("hh8c"),Object(eo.c)();var mr=function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return rn.a.applyPlugins({key:"render",type:it.ApplyPluginsType.compose,initialValue:function(){var fr=rn.a.applyPlugins({key:"modifyClientRenderOpts",type:it.ApplyPluginsType.modify,initialValue:{routes:tt.routes||In(),plugin:rn.a,history:Object(Pr.a)(tt.hot),isServer:Object({NODE_ENV:"production"}).__IS_SERVER,dynamicImport:!0,rootElement:"root",defaultTitle:"\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0"}});return Object(La.renderClient)(fr)},args:tt})},tr=mr(),qr=c.default=tr();window.g_umi={version:"3.2.17"}},tEiQ:function(E,c,e){"use strict";(function(o){var t=e("q1tI"),r=e.n(t),n=e("dI71"),a=e("17x9"),u=e.n(a),s=1073741823,l=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof o!="undefined"?o:{};function i(){var f="__global_unique_id__";return l[f]=(l[f]||0)+1}function p(f,j){return f===j?f!==0||1/f===1/j:f!==f&&j!==j}function d(f){var j=[];return{on:function(U){j.push(U)},off:function(U){j=j.filter(function(C){return C!==U})},get:function(){return f},set:function(U,C){f=U,j.forEach(function(_){return _(f,C)})}}}function g(f){return Array.isArray(f)?f[0]:f}function m(f,j){var M,U,C="__create-react-context-"+i()+"__",_=function(S){Object(n.a)(R,S);function R(){var J;return J=S.apply(this,arguments)||this,J.emitter=d(J.props.value),J}var W=R.prototype;return W.getChildContext=function(){var H;return H={},H[C]=this.emitter,H},W.componentWillReceiveProps=function(H){if(this.props.value!==H.value){var k=this.props.value,se=H.value,ne;p(k,se)?ne=0:(ne=typeof j=="function"?j(k,se):s,ne|=0,ne!==0&&this.emitter.set(H.value,ne))}},W.render=function(){return this.props.children},R}(t.Component);_.childContextTypes=(M={},M[C]=u.a.object.isRequired,M);var L=function(S){Object(n.a)(R,S);function R(){var J;return J=S.apply(this,arguments)||this,J.state={value:J.getValue()},J.onUpdate=function(H,k){var se=J.observedBits|0;(se&k)!==0&&J.setState({value:J.getValue()})},J}var W=R.prototype;return W.componentWillReceiveProps=function(H){var k=H.observedBits;this.observedBits=k==null?s:k},W.componentDidMount=function(){this.context[C]&&this.context[C].on(this.onUpdate);var H=this.props.observedBits;this.observedBits=H==null?s:H},W.componentWillUnmount=function(){this.context[C]&&this.context[C].off(this.onUpdate)},W.getValue=function(){return this.context[C]?this.context[C].get():f},W.render=function(){return g(this.props.children)(this.state.value)},R}(t.Component);return L.contextTypes=(U={},U[C]=u.a.object,U),{Provider:_,Consumer:L}}var v=r.a.createContext||m;c.a=v}).call(this,e("yLpj"))},tGlX:function(E,c,e){//! moment.js locale configuration +var t=o.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var a=n%10,u=~~(n%100/10)===1?"th":a===1?"st":a===2?"nd":a===3?"rd":"th";return n+u},week:{dow:1,doy:4}});return t})},t0Pg:function(E,c,e){var o=e("qlSD"),t=e("Osee"),r=e("U+Zv"),n=e("3ss7"),a=e("v+BB").onFreeze,u=Object.freeze,s=r(function(){u(1)});o({target:"Object",stat:!0,forced:s,sham:!t},{freeze:function(i){return u&&n(i)?u(a(i)):i}})},t5Z9:function(E,c,e){"use strict";var o=e("qlSD"),t=e("z+kd"),r=e("WRgv");o({target:"Map",stat:!0},{groupBy:function(a,u){var s=new this;r(u);var l=r(s.has),i=r(s.get),p=r(s.set);return t(a,function(d){var g=u(d);l.call(s,g)?i.call(s,g).push(d):p.call(s,g,[d])}),s}})},tB8F:function(E,c,e){"use strict";e.r(c);var o={};e.r(o),e.d(o,"dva",function(){return jr});var t={};e.r(t),e.d(t,"rootContainer",function(){return Ur});var r={};e.r(r),e.d(r,"rootContainer",function(){return Kr});var n={};e.r(n),e.d(n,"rootContainer",function(){return ma});var a={};e.r(a),e.d(a,"rootContainer",function(){return fa});var u=e("W/j6"),s=e("DuqM"),l=e("Ctsp"),i=e("tSb9"),p=e("gwbd"),d=e("xlGu"),g=e("dfn1"),m=e("Dfm5"),v=e("kp31"),f=e("MDAa"),j=e("qQDJ"),M=e("esIe"),U=e("V1E7"),C=e("pNg1"),_=e("QU5L"),L=e("Gp4y"),S=e("+e8b"),R=e("8nMP"),W=e("quUu"),J=e("PsSD"),H=e("Int2"),k=e("f5kV"),se=e("rKd6"),ne=e("5e1S"),re=e("0Stv"),$=e("/A/0"),B=e("JKt0"),P=e("uNVy"),A=e("CI6j"),D=e("mOVu"),G=e("Uyqv"),ge=e("gNt0"),ye=e("e56K"),ae=e("RsEi"),je=e("ooOB"),K=e("TfAI"),oe=e("l6CI"),Ae=e("Sa68"),q=e("Lqka"),z=e("EUyJ"),fe=e("QQbU"),X=e("eqsy"),we=e("uquo"),Te=e("GGyQ"),$e=e("7hhn"),et=e("jTbT"),lt=e("PxuC"),Ee=e("KVaG"),Me=e("XfJK"),Ke=e("EWhT"),Qe=e("S23I"),dt=e("qEGc"),xt=e("WZnS"),ve=e("aGgX"),be=e("a53r"),Ye=e("vql+"),Se=e("TQHT"),F=e("vApW"),Y=e("aE8w"),ie=e("3Uc2"),xe=e("KTpG"),Z=e("pDfl"),me=e("Ti+d"),ue=e("MrdD"),Q=e("Ooau"),ce=e("Iyw/"),We=e("Fwrl"),Ve=e("bVox"),de=e("1YD2"),Oe=e("6UAK"),Xe=e("iGL/"),De=e("0nNH"),jt=e("+ynk"),Dt=e("w+0x"),kt=e("CoRm"),tn=e("9Irk"),Pt=e("YwjK"),pt=e("AdV7"),Bt=e("Hc01"),Et=e("t0Pg"),Jt=e("sP68"),ln=e("tjny"),St=e("L9PY"),Mt=e("caR6"),le=e("W2nN"),Ce=e("Lxzi"),At=e("JRqE"),Kt=e("MlvI"),an=e("W1Lh"),xn=e("3w5w"),vt=e("26eR"),_e=e("4QhF"),It=e("JHtV"),ee=e("/SPZ"),He=e("yLIl"),Be=e("HGcs"),Lt=e("54ty"),wt=e("UOO9"),on=e("HzY1"),Cn=e("SatZ"),Nn=e("2mGj"),kn=e("jjx2"),en=e("qKiF"),or=e("CdG1"),$t=e("JumN"),Ht=e("kmD7"),Rn=e("IrzF"),ct=e("GI8W"),Rr=e("OfDx"),pa=e("BUUL"),Vt=e("lg0x"),Zt=e("cea4"),zn=e("ltAF"),ft=e("IS7e"),ra=e("Wvfs"),aa=e("KfFf"),Ar=e("ZixC"),Qr=e("K1y7"),Ir=e("WsZ/"),Zr=e("hxxY"),dn=e("u2pd"),Gt=e("4II6"),mn=e("N3rH"),vn=e("cDOc"),Tn=e("gO8E"),lr=e("V4z1"),hr=e("dpRA"),sr=e("FcRj"),Sr=e("oRlY"),at=e("GD8e"),nt=e("sPd+"),Ze=e("eQ4G"),Tt=e("aQb4"),Ut=e("X5Wa"),nn=e("LFei"),pn=e("JgrT"),hn=e("TFTz"),Le=e("Rxc4"),Je=e("ODCP"),V=e("R3Kw"),Ct=e("SwP0"),zt=e("RY1n"),sn=e("6h5d"),yn=e("hIiD"),Mn=e("Lcv6"),An=e("7uW1"),Xn=e("wEYt"),bn=e("Lcwr"),wn=e("k6A2"),Pn=e("YDfz"),ir=e("uWdG"),dr=e("+x5m"),gr=e("0LvV"),vr=e("Z0/S"),Gr=e("LKUS"),oa=e("yXlX"),Da=e("FgrG"),ea=e("wvGU"),Fa=e("ZIqL"),so=e("tWGn"),io=e("BSqd"),uo=e("vDUo"),ca=e("qpaO"),Va=e("ZqbE"),Dr=e("0nqp"),Ba=e("aBy7"),Sa=e("++LI"),Ot=e("qMeY"),Rt=e("xGXX"),Hn=e("FMtN"),Fe=e("xkle"),za=e("R6Ix"),lo=e("P7+E"),Mo=e("OnyF"),ga=e("XJ/U"),Ga=e("+Q/t"),Nr=e("9o8i"),Ia=e("o72z"),Ka=e("Fp7p"),Na=e("w3N2"),Ya=e("LMWd"),co=e("gIb3"),Ma=e("UiHT"),yo=e("Z+9a"),Es=e("emKm"),zo=e("M/cX"),js=e("rRNn"),$o=e("PwgZ"),wa=e("uV8V"),Go=e("MtcY"),ks=e("lzpZ"),Vo=e("edrt"),yt=e("4R4O"),bt=e("qVZ/"),Yn=e("t5Z9"),Pe=e("wVJp"),Wa=e("9gtD"),no=e("L5r4"),No=e("luoB"),ds=e("wSy4"),cs=e("IULS"),Fs=e("GIiq"),oi=e("B/Nc"),bi=e("dYH1"),Xa=e("Uj93"),Ea=e("YRMS"),vo=e("hsYz"),qo=e("vLq1"),Ys=e("tkAz"),Ei=e("LSPM"),Ws=e("QzJB"),si=e("wjoA"),xs=e("O4AU"),ii=e("MY/c"),ms=e("WD5A"),Si=e("sS/F"),Ms=e("5eJQ"),ro=e("24g4"),es=e("kXpm"),Oo=e("yYBo"),Os=e("4otd"),ji=e("xbhV"),Hs=e("xBfj"),xi=e("927e"),bo=e("7cCA"),To=e("tlUX"),ui=e("7Ku3"),ts=e("+Ywj"),li=e("lVYs"),fs=e("zHR6"),Bs=e("bgHJ"),zs=e("oVXm"),Ro=e("6CAe"),qt=e("vhUy"),Ln=e("dsq1"),En=e("dI9G"),ze=e("1oQm"),ar=e("xZMz"),Lr=e("Pa+L"),Xr=e("rxE2"),sa=e("a/P7"),Un=e("E1g1"),Ko=e("odUd"),mo=e("CDWz"),ps=e("x/GS"),$i=e("yPWq"),Za=e("KUlJ"),Ua=e("riw1"),Co=e("tL4P"),ya=e("D1NN"),Ts=e("VF25"),qa=e("eIlj"),$s=e("4ozY"),Cs=e("tVK7"),rr=e("yEa4"),Li=e("RN1i"),ws=e("mHB/"),ko=e("7T+W"),Fo=e("lZrI"),hs=e("bfAq"),Ss=e("JFQb"),ns=e("QSgd"),Ai=e("Y0Ia"),Ls=e("Cl06"),As=e("VkXl"),rs=e("qRSx"),as=e("vJ+G"),Mi=e("bHGo"),Ne=e("EpGl"),ke=e("ASJH"),ot=e("NGaF"),ut=e("yMmy"),Yt=e("VWci"),un=e("FoZm"),rn=e("bCY9"),Sn=e("miYZ"),On=e("tsqr"),Bn=e("wd/R"),$n=e.n(Bn),Jn=e("/EoS"),ur=e("4MGa"),br=e("22qN"),_r=e("YdpX"),er=e("T5T7"),wr=e("58Ye"),Vr=e("OIXA");$n.a.locale("ZH-cn");var jr={config:{onError:function(tt){On.b.error(tt.message,3)}}},Fr=e("q1tI"),ia=e.n(Fr),ta=e("uRV1");function Ur(xr){return ia.a.createElement(ta.a,null,xr)}var Oa=e("I5X1");if(typeof Oa.a!="function")throw new Error("[plugin-initial-state]: useModel is not a function, @umijs/plugin-model is required.");var Pa=function(xr){var tt=xr.children,cr=Object(Fr.useRef)(!1),fr=Object(Oa.a)("@@initialState")||{},ja=fr.loading,na=ja===void 0?!1:ja;return Object(Fr.useEffect)(function(){na||(cr.current=!0)},[na]),na&&!cr.current?null:tt};function Kr(xr){return ia.a.createElement(Pa,null,xr)}var eo=e("ZW6p");function ma(xr){return ia.a.createElement(eo.b,null,xr)}var va=e("k16G"),Ie=function(){return{loading:!1,refresh:function(){}}},st=e("7xWI"),Xt=e.n(st),Re=e("sFpY"),Gn=e.n(Re),yr=e("FMtG"),Hr={"@@initialState":Ie},nr=new Xt.a,$a=Gn.a,Br=function(xr){var tt=xr.children;return ia.a.createElement(yr.UmiContext.Provider,{value:nr},Object.entries(Hr).map(function(cr){return ia.a.createElement($a,{key:cr[0],namespace:cr[0],hook:cr[1],onUpdate:function(ja){var na=cr,_s=Object(va.a)(na,1),Gs=_s[0];nr.data[Gs]=ja,nr.update(Gs)}})}),tt)};function fa(xr){return ia.a.createElement(Br,null,xr)}rn.a.register({apply:o,path:"/Users/dingyongkang/Documents/workspace/zhiqing/educoder/src/app.tsx"}),rn.a.register({apply:t,path:"/Users/dingyongkang/Documents/workspace/zhiqing/educoder/src/.umi-production/plugin-dva/runtime.tsx"}),rn.a.register({apply:r,path:"../plugin-initial-state/runtime"}),rn.a.register({apply:n,path:"/Users/dingyongkang/Documents/workspace/zhiqing/educoder/src/.umi-production/plugin-locale/runtime.tsx"}),rn.a.register({apply:a,path:"../plugin-model/runtime"});var Pr=e("FfOG"),it=e("LtsZ"),La=e("zlVK"),mt=e("ltSN");function In(){var xr=[{path:"/",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(17),e.e(30)]).then(e.bind(null,"+ego"))},loading:mt.a}),routes:[{path:"/educoder-demo",exact:!0,component:Object(it.dynamic)({loader:function(){return e.e(124).then(e.bind(null,"4K8j"))},loading:mt.a})},{path:"/otherlogin",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(15),e.e(256)]).then(e.bind(null,"6y+p"))},loading:mt.a})},{path:"/otherloginqq",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(257)]).then(e.bind(null,"/pIo"))},loading:mt.a})},{path:"/otherloginstart",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(261)]).then(e.bind(null,"o5Na"))},loading:mt.a})},{path:"/tasks/:taskId",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(4),e.e(264)]).then(e.bind(null,"yi/R"))},loading:mt.a})},{path:"/tasks/:identifier/jupyter/",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(263)]).then(e.bind(null,"sUu2"))},loading:mt.a})},{path:"/problems/:id/edit",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(189)]).then(e.bind(null,"PHyj"))},loading:mt.a})},{path:"/problems/new",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(189)]).then(e.bind(null,"PHyj"))},loading:mt.a})},{path:"/myproblems/:id/record-detail/:submitId",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(177)]).then(e.bind(null,"xTsT"))},loading:mt.a})},{path:"/myproblems/:id",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(4),e.e(178)]).then(e.bind(null,"QUZ3"))},loading:mt.a})},{path:"/login",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(31)]).then(e.bind(null,"zCei"))},loading:mt.a}),routes:[{path:"/login/teacher",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(17),e.e(255)]).then(e.bind(null,"8orJ"))},loading:mt.a}),exact:!0},{path:"/login/student",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(260)]).then(e.bind(null,"jWAc"))},loading:mt.a}),exact:!0},{path:"/user/register",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(15),e.e(258)]).then(e.bind(null,"7rcX"))},loading:mt.a}),exact:!0},{path:"/user/reset-password",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(15),e.e(259)]).then(e.bind(null,"LsG1"))},loading:mt.a}),exact:!0}]},{path:"/shixuns",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/shixuns",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(226)]).then(e.bind(null,"VgI9"))},loading:mt.a}),exact:!0},{path:"/shixuns/exports",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(225)]).then(e.bind(null,"kzkF"))},loading:mt.a}),exact:!0},{path:"/shixuns/new",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(227)]).then(e.bind(null,"dugo"))},loading:mt.a}),exact:!0},{path:"/shixuns/new/CreateImg",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(228)]).then(e.bind(null,"qK93"))},loading:mt.a}),exact:!0},{path:"/shixuns/new/:id/imagepreview",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(229)]).then(e.bind(null,"iJb0"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(217)]).then(e.bind(null,"WO9J"))},loading:mt.a}),routes:[{path:"/shixuns/:id/edit/shixuns/:id/edit/warehouse",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(26),e.e(224)]).then(e.bind(null,"ch0t"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit/newquestion",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(222)]).then(e.bind(null,"5v/u"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/editquestion",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(220)]).then(e.bind(null,"UeE2"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(220)]).then(e.bind(null,"UeE2"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit/new",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(221)]).then(e.bind(null,"Ly88"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(221)]).then(e.bind(null,"Ly88"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/tab=2",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(219)]).then(e.bind(null,"xdT8"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/tab=3",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(218)]).then(e.bind(null,"389U"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/tab=4",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(223)]).then(e.bind(null,"/hLF"))},loading:mt.a}),exact:!0}]},{path:"/shixuns/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(216)]).then(e.bind(null,"Nv+3"))},loading:mt.a}),routes:[{path:"/shixuns/:id/challenges",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(205)]).then(e.bind(null,"HTtE"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/challenges/newquestion",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(203)]).then(e.bind(null,"wxaI"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/editquestion",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(201)]).then(e.bind(null,"kvPc"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/editquestion/:questionId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(201)]).then(e.bind(null,"kvPc"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/challenges/new",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(202)]).then(e.bind(null,"dNgX"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/editcheckpoint",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(202)]).then(e.bind(null,"dNgX"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/tab=2",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(200)]).then(e.bind(null,"Yczt"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/tab=3",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(199)]).then(e.bind(null,"5EEG"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/tab=4",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(204)]).then(e.bind(null,"mWt4"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/repository",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(26),e.e(214)]).then(e.bind(null,"C8/M"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/secret_repository",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(26),e.e(214)]).then(e.bind(null,"C8/M"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/collaborators",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(206)]).then(e.bind(null,"FMhn"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/dataset",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(207)]).then(e.bind(null,"SYY+"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/shixun_discuss",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(4),e.e(208)]).then(e.bind(null,"cx3v"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/ranking_list",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(210)]).then(e.bind(null,"LiYo"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/settings",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(7),e.e(215)]).then(e.bind(null,"2WWx"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/repository/:repoId/commits",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(212)]).then(e.bind(null,"gCRP"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/secret_repository/:repoId/commits",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(212)]).then(e.bind(null,"gCRP"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/repository/upload_file",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(213)]).then(e.bind(null,"wXW8"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/secret_repository/upload_file",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(213)]).then(e.bind(null,"wXW8"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/repository/add_file",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(211)]).then(e.bind(null,"baNF"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/secret_repository/add_file",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(211)]).then(e.bind(null,"baNF"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(26),e.e(214)]).then(e.bind(null,"C8/M"))},loading:mt.a})},{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(26),e.e(214)]).then(e.bind(null,"C8/M"))},loading:mt.a})},{path:"/shixuns/:id/audit_situation",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(22),e.e(198)]).then(e.bind(null,"VllQ"))},loading:mt.a}),exact:!0},{path:"/shixuns/:id/fork_list",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(209)]).then(e.bind(null,"e2kQ"))},loading:mt.a}),exact:!0}]}]},{path:"/account",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/account/:username",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(18),e.e(33)]).then(e.bind(null,"m3a9"))},loading:mt.a}),routes:[{path:"/account/profile",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(8),e.e(11),e.e(9),e.e(37)]).then(e.bind(null,"4w5S"))},loading:mt.a}),exact:!0},{path:"/account/profile/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(8),e.e(11),e.e(9),e.e(36)]).then(e.bind(null,"Z3SC"))},loading:mt.a}),exact:!0},{path:"/account/certification",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(8),e.e(11),e.e(9),e.e(35)]).then(e.bind(null,"doOU"))},loading:mt.a}),exact:!0},{path:"/account/secure",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(39)]).then(e.bind(null,"0NIp"))},loading:mt.a}),exact:!0},{path:"/account/binding",component:Object(it.dynamic)({loader:function(){return e.e(34).then(e.bind(null,"JMrj"))},loading:mt.a}),exact:!0},{path:"/account/Results",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(38)]).then(e.bind(null,"a90+"))},loading:mt.a}),exact:!0}]}]},{path:"/users",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/users/:username/videos/upload",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(10),e.e(21),e.e(252)]).then(e.bind(null,"kryb"))},loading:mt.a}),exact:!0},{path:"/users/:username/videos/protocol",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(250)]).then(e.bind(null,"MvYd"))},loading:mt.a}),exact:!0},{path:"/users/:username/videos/success",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(251)]).then(e.bind(null,"p0R4"))},loading:mt.a}),exact:!0},{path:"/users/:username/topicbank/:topicstype",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(248)]).then(e.bind(null,"ZgjG"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/normal/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(241)]).then(e.bind(null,"VdzU"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/group/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(241)]).then(e.bind(null,"VdzU"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/normal/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(245)]).then(e.bind(null,"R7cW"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/group/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(244)]).then(e.bind(null,"6xqJ"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(4),e.e(243)]).then(e.bind(null,"pr0Y"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(242)]).then(e.bind(null,"NcEG"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/poll/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(247)]).then(e.bind(null,"VSi8"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/poll/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(246)]).then(e.bind(null,"/OCd"))},loading:mt.a}),exact:!0},{path:"/users/:username",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(254)]).then(e.bind(null,"bp/9"))},loading:mt.a}),routes:[{path:"/users/:username",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(233)]).then(e.bind(null,"NQ7k"))},loading:mt.a}),exact:!0},{path:"/users/:username/classrooms",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(233)]).then(e.bind(null,"NQ7k"))},loading:mt.a}),exact:!0},{path:"/users/:username/shixuns",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(239)]).then(e.bind(null,"0eau"))},loading:mt.a}),exact:!0},{path:"/users/:username/userPortrait",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(249)]).then(e.bind(null,"Yej6"))},loading:mt.a}),exact:!0},{path:"/users/:username/learningPath",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(236)]).then(e.bind(null,"NFd+"))},loading:mt.a}),exact:!0},{path:"/users/:username/teach-group",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(240)]).then(e.bind(null,"UK/q"))},loading:mt.a}),exact:!0},{path:"/users/:username/experiment-img",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(235)]).then(e.bind(null,"03Vo"))},loading:mt.a}),exact:!0},{path:"/users/:username/experiment-img/:experid/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(234)]).then(e.bind(null,"CF0a"))},loading:mt.a}),exact:!0},{path:"/users/:username/certificate",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(232)]).then(e.bind(null,"Oe6r"))},loading:mt.a}),exact:!0},{path:"/users/:username/paths",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(237)]).then(e.bind(null,"2nTg"))},loading:mt.a}),exact:!0},{path:"/users/:username/projects",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(238)]).then(e.bind(null,"T+0Y"))},loading:mt.a}),exact:!0},{path:"/users/:username/videos",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(12),e.e(253)]).then(e.bind(null,"XxMO"))},loading:mt.a}),exact:!0},{path:"/users/:username/topics/:topicstype",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(248)]).then(e.bind(null,"ZgjG"))},loading:mt.a}),exact:!0}]}]},{path:"/problemset",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/problemset",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(14),e.e(194)]).then(e.bind(null,"JUtD"))},loading:mt.a}),exact:!0},{path:"/problemset/newitem",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(190)]).then(e.bind(null,"0dNJ"))},loading:mt.a}),exact:!0},{path:"/problemset/:type/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(190)]).then(e.bind(null,"0dNJ"))},loading:mt.a}),exact:!0},{path:"/problemset/preview",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(13),e.e(193)]).then(e.bind(null,"DaK5"))},loading:mt.a}),exact:!0},{path:"/problemset/preview_new",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(24),e.e(191)]).then(e.bind(null,"JA47"))},loading:mt.a}),exact:!0},{path:"/problemset/preview_select",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(14),e.e(192)]).then(e.bind(null,"H7EV"))},loading:mt.a}),exact:!0}]},{path:"/ch/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/ch/rest/edit/:categoryId/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(196)]).then(e.bind(null,"VwnK"))},loading:mt.a}),exact:!0},{path:"/ch/rest/",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(195)]).then(e.bind(null,"Etsf"))},loading:mt.a})},{path:"/ch/rest/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(195)]).then(e.bind(null,"Etsf"))},loading:mt.a}),exact:!0}]},{path:"/paperlibrary",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/paperlibrary",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(7),e.e(14),e.e(184)]).then(e.bind(null,"Ynr3"))},loading:mt.a}),exact:!0},{path:"/paperlibrary/see/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(7),e.e(13),e.e(183)]).then(e.bind(null,"VN4U"))},loading:mt.a}),exact:!0},{path:"/paperlibrary/edit/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(13),e.e(24),e.e(179)]).then(e.bind(null,"DXt6"))},loading:mt.a}),exact:!0},{path:"/paperlibrary/edit_select/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(14),e.e(192)]).then(e.bind(null,"H7EV"))},loading:mt.a}),exact:!0}]},{path:"/colleges",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/colleges/:id/statistics",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(117)]).then(e.bind(null,"hk80"))},loading:mt.a}),exact:!0}]},{path:"/paths",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/paths",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(19),e.e(187)]).then(e.bind(null,"fEdH"))},loading:mt.a}),exact:!0},{path:"/paths/new",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(188)]).then(e.bind(null,"X8EC"))},loading:mt.a}),exact:!0},{path:"/paths/guidance",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(162)]).then(e.bind(null,"ObO0"))},loading:mt.a}),exact:!0},{path:"/paths/:pathId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(186)]).then(e.bind(null,"AZ8Y"))},loading:mt.a}),exact:!0},{path:"/paths/:pathId/statistics",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(7),e.e(185)]).then(e.bind(null,"NLfx"))},loading:mt.a}),exact:!0},{path:"/paths/:pathId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(188)]).then(e.bind(null,"X8EC"))},loading:mt.a}),exact:!0}]},{path:"/classrooms",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/classrooms",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(19),e.e(41)]).then(e.bind(null,"OLqU"))},loading:mt.a}),exact:!0},{path:"/classrooms/index",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(19),e.e(41)]).then(e.bind(null,"OLqU"))},loading:mt.a}),exact:!0},{path:"/classrooms/new",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(7),e.e(8),e.e(115)]).then(e.bind(null,"PDLG"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(7),e.e(8),e.e(115)]).then(e.bind(null,"PDLG"))},loading:mt.a}),exact:!0},{path:"/classrooms/news/:subjectid/newgold/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(7),e.e(8),e.e(116)]).then(e.bind(null,"GpDF"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/newgolds/settings",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(7),e.e(8),e.e(116)]).then(e.bind(null,"GpDF"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(96)]).then(e.bind(null,"OipY"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(97)]).then(e.bind(null,"TS7/"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(94)]).then(e.bind(null,"5gs/"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(95)]).then(e.bind(null,"Q16u"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(81)]).then(e.bind(null,"gbAR"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(51)]).then(e.bind(null,"J44v"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(54)]).then(e.bind(null,"isY5"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(84)]).then(e.bind(null,"Sdqs"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(85)]).then(e.bind(null,"Yoi/"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(82)]).then(e.bind(null,"5K9Z"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(62)]).then(e.bind(null,"1h7y"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(63)]).then(e.bind(null,"JNOM"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(61)]).then(e.bind(null,"MvOs"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(67)]).then(e.bind(null,"cQPA"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(4),e.e(65)]).then(e.bind(null,"E7pt"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(64)]).then(e.bind(null,"guuQ"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(7),e.e(60)]).then(e.bind(null,"0yVv"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(20),e.e(68)]).then(e.bind(null,"E2MH"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(69)]).then(e.bind(null,"zrbX"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:exerciseId/export/:userId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(66)]).then(e.bind(null,"mrIW"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(66)]).then(e.bind(null,"mrIW"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(77)]).then(e.bind(null,"b7x8"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(76)]).then(e.bind(null,"3Rgl"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(78)]).then(e.bind(null,"vKdk"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(72)]).then(e.bind(null,"/P1P"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(74)]).then(e.bind(null,"c5ks"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(73)]).then(e.bind(null,"6UeF"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:categoryId/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(50)]).then(e.bind(null,"gnOq"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(53)]).then(e.bind(null,"to1l"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(55)]).then(e.bind(null,"qduV"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(52)]).then(e.bind(null,"yBfY"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:categoryId/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(80)]).then(e.bind(null,"tt94"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(83)]).then(e.bind(null,"99tC"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/poll/:categoryId/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(89)]).then(e.bind(null,"pFvy"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/poll/:categoryId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(92)]).then(e.bind(null,"0eFd"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/poll/:categoryId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(91)]).then(e.bind(null,"JHUA"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(20),e.e(90)]).then(e.bind(null,"5b1O"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/board/:categoryId/Add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(46)]).then(e.bind(null,"KI3f"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(48)]).then(e.bind(null,"5aFj"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(4),e.e(47)]).then(e.bind(null,"0A3i"))},loading:mt.a}),exact:!0},{path:"/classrooms/:courseId/template/:templateId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(109)]).then(e.bind(null,"saVb"))},loading:mt.a}),exact:!0},{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(108)]).then(e.bind(null,"rrYs"))},loading:mt.a}),exact:!0},{path:"/classrooms/guidance",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(162)]).then(e.bind(null,"ObO0"))},loading:mt.a}),exact:!0},{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(106)]).then(e.bind(null,"65Jc"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(28)]).then(e.bind(null,"NRst"))},loading:mt.a}),routes:[{path:"/classrooms/:coursesId/shixun_homework/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(98)]).then(e.bind(null,"cgge"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/shixun_homework",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(98)]).then(e.bind(null,"cgge"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_topics/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(79)]).then(e.bind(null,"xBOz"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(75)]).then(e.bind(null,"qAxr"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(75)]).then(e.bind(null,"qAxr"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(70)]).then(e.bind(null,"NO2p"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exercise",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(70)]).then(e.bind(null,"NO2p"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/poll/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(93)]).then(e.bind(null,"A06Q"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/poll",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(93)]).then(e.bind(null,"A06Q"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(56)]).then(e.bind(null,"hIhZ"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(56)]).then(e.bind(null,"hIhZ"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(86)]).then(e.bind(null,"2doZ"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(86)]).then(e.bind(null,"2doZ"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/teachers",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(105)]).then(e.bind(null,"L/F1"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/students",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(104)]).then(e.bind(null,"KsYo"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/attendance",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(45)]).then(e.bind(null,"VmvX"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/attendance/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(45)]).then(e.bind(null,"VmvX"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(44)]).then(e.bind(null,"kvwo"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/announcement",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(4),e.e(5),e.e(42)]).then(e.bind(null,"kHcA"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/announcement/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(4),e.e(5),e.e(42)]).then(e.bind(null,"kHcA"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/online_learning",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(4),e.e(5),e.e(88)]).then(e.bind(null,"ADTG"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/online_learning/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(4),e.e(5),e.e(88)]).then(e.bind(null,"ADTG"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/attachment/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(43)]).then(e.bind(null,"QGk1"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/attachment",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(43)]).then(e.bind(null,"QGk1"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/video",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(12),e.e(114)]).then(e.bind(null,"iVQj"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/video/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(12),e.e(114)]).then(e.bind(null,"iVQj"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/video/:categoryId/statistics",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(112)]).then(e.bind(null,"5vIh"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/video/:username/upload",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(10),e.e(21),e.e(113)]).then(e.bind(null,"1v2r"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(110)]).then(e.bind(null,"XeVE"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/live_video/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(87)]).then(e.bind(null,"dxBZ"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/live_video",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(7),e.e(87)]).then(e.bind(null,"dxBZ"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(111)]).then(e.bind(null,"QLuO"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/board/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(49)]).then(e.bind(null,"KRdP"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/board",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(49)]).then(e.bind(null,"KRdP"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/course_group",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(58)]).then(e.bind(null,"VQsq"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/course_group/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(58)]).then(e.bind(null,"VQsq"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/course_group/:categoryId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(57)]).then(e.bind(null,"zr3n"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/not_course_group/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(59)]).then(e.bind(null,"sl2e"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/not_course_group",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(59)]).then(e.bind(null,"sl2e"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/statistics/",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(103)]).then(e.bind(null,"bTuv"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/statistics/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(103)]).then(e.bind(null,"bTuv"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/statistics_video/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(102)]).then(e.bind(null,"CQHe"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/student_statistics/:categoryId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(100)]).then(e.bind(null,"G1O7"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(99)]).then(e.bind(null,"w+VK"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(101)]).then(e.bind(null,"cfGd"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId/exportlist/:type",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(71)]).then(e.bind(null,"9Bz6"))},loading:mt.a}),exact:!0},{path:"/classrooms/:courseId/template",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(107)]).then(e.bind(null,"aQrL"))},loading:mt.a}),exact:!0},{path:"/classrooms/:coursesId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(104)]).then(e.bind(null,"KsYo"))},loading:mt.a}),exact:!0}]}]},{path:"/help",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/help/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(163)]).then(e.bind(null,"TNY5"))},loading:mt.a}),exact:!0}]},{path:"/messages",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/messages/:userId/user_tidings",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(172)]).then(e.bind(null,"YmwD"))},loading:mt.a}),exact:!0},{path:"/messages/:userId/private_messages",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(171)]).then(e.bind(null,"EjUQ"))},loading:mt.a}),exact:!0},{path:"/messages/:userId/message_detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(170)]).then(e.bind(null,"fB9n"))},loading:mt.a}),exact:!0}]},{path:"/competitions",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/competitions/index",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(22),e.e(122)]).then(e.bind(null,"QgcY"))},loading:mt.a}),exact:!0},{path:"/competitions/exports",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(121)]).then(e.bind(null,"tYMO"))},loading:mt.a}),exact:!0},{path:"/competitions",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(22),e.e(122)]).then(e.bind(null,"QgcY"))},loading:mt.a}),exact:!0},{path:"/competitions/index/:identifier",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(118)]).then(e.bind(null,"GRO8"))},loading:mt.a}),exact:!0},{path:"/competitions/index/:identifier/enroll",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(119)]).then(e.bind(null,"Hm3h"))},loading:mt.a}),exact:!0},{path:"/competitions/index/:identifier/UpdateTeanname/:Teannameid",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(18),e.e(123)]).then(e.bind(null,"jmm4"))},loading:mt.a}),exact:!0},{path:"/competitions/index/:identifier/teamDetail/:Teamid",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(120)]).then(e.bind(null,"mKwH"))},loading:mt.a}),exact:!0}]},{path:"/forums",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/forums",component:Object(it.dynamic)({loader:function(){return e.e(160).then(e.bind(null,"Ij5S"))},loading:mt.a}),exact:!0},{path:"/forums/categories/:memoType",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(159)]).then(e.bind(null,"IeBn"))},loading:mt.a}),exact:!0},{path:"/forums/new",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(161)]).then(e.bind(null,"CKgm"))},loading:mt.a}),exact:!0},{path:"/forums/:memoId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(161)]).then(e.bind(null,"CKgm"))},loading:mt.a}),exact:!0},{path:"/forums/:memoId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(158)]).then(e.bind(null,"JkjM"))},loading:mt.a}),exact:!0}]},{path:"/exam",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/exam/studentClient",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(23),e.e(146)]).then(e.bind(null,"jyDb"))},loading:mt.a}),exact:!0},{path:"/exam/studentAnswer",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(4),e.e(147)]).then(e.bind(null,"ebz4"))},loading:mt.a}),exact:!0},{path:"/exam/studentDetail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(148)]).then(e.bind(null,"mRD1"))},loading:mt.a}),exact:!0},{path:"/exam/studentList/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(149)]).then(e.bind(null,"Veu+"))},loading:mt.a}),exact:!0},{path:"/exam/succeed",component:Object(it.dynamic)({loader:function(){return e.e(154).then(e.bind(null,"bDv/"))},loading:mt.a}),exact:!0},{path:"/exam/teacherManagement/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(156)]).then(e.bind(null,"x+Tn"))},loading:mt.a}),exact:!0},{path:"/exam/teacherManagement/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(157)]).then(e.bind(null,"DJfo"))},loading:mt.a}),exact:!0},{path:"/exam/importStudent",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(138)]).then(e.bind(null,"YxHR"))},loading:mt.a}),exact:!0},{path:"/exam/questionManagement/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(143)]).then(e.bind(null,"F16F"))},loading:mt.a}),exact:!0},{path:"/exam/questionManagement/preview",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(4),e.e(144)]).then(e.bind(null,"no3R"))},loading:mt.a}),exact:!0},{path:"/exam/exerciseManagement/:exerciseId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(4),e.e(144)]).then(e.bind(null,"no3R"))},loading:mt.a}),exact:!0},{path:"/exam/questionManagement/preview_select/:exerciseId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(4),e.e(142)]).then(e.bind(null,"6tVA"))},loading:mt.a}),exact:!0},{path:"/exam/questionManagement/:questionId/edit",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(143)]).then(e.bind(null,"F16F"))},loading:mt.a}),exact:!0},{path:"/exam/exerciseManagement/:exerciseId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(4),e.e(132)]).then(e.bind(null,"Nos+"))},loading:mt.a}),exact:!0},{path:"/exam/examinationManagement/add",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(129)]).then(e.bind(null,"VPm5"))},loading:mt.a}),exact:!0},{path:"/exam/examinationManagement/:exerciseId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(4),e.e(130)]).then(e.bind(null,"pQor"))},loading:mt.a}),exact:!0},{path:"/exam/exerciserevivw/:exerciseId/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(135)]).then(e.bind(null,"n/Kg"))},loading:mt.a}),exact:!0},{path:"/exam/exerciserevivw/:exerciseId/review/:userId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(136)]).then(e.bind(null,"vOkf"))},loading:mt.a}),exact:!0},{path:"/exam/examinationManagement/:exerciseId/export/:userId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(131)]).then(e.bind(null,"+hAq"))},loading:mt.a}),exact:!0},{path:"/exam/monitoring",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(140)]).then(e.bind(null,"f0I0"))},loading:mt.a}),exact:!0},{path:"/exam",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(126)]).then(e.bind(null,"EtUn"))},loading:mt.a}),routes:[{path:"/exam/studentManagement",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(150)]).then(e.bind(null,"CN02"))},loading:mt.a}),exact:!0},{path:"/exam/studentManagement/:id",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(151)]).then(e.bind(null,"+qR7"))},loading:mt.a}),exact:!0},{path:"/exam/teacherManagement",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(155)]).then(e.bind(null,"+XYh"))},loading:mt.a}),exact:!0},{path:"/exam/questionManagement",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(4),e.e(142)]).then(e.bind(null,"6tVA"))},loading:mt.a}),exact:!0},{path:"/exam/subjectManagement",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(153)]).then(e.bind(null,"NEDq"))},loading:mt.a}),exact:!0},{path:"/exam/knowledgeManagement",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(139)]).then(e.bind(null,"yYAX"))},loading:mt.a}),exact:!0},{path:"/exam/questionStatistics",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(145)]).then(e.bind(null,"iCkP"))},loading:mt.a}),exact:!0},{path:"/exam/exerciseManagement",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(23),e.e(133)]).then(e.bind(null,"eB9I"))},loading:mt.a}),exact:!0},{path:"/exam/examinationManagement",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(128)]).then(e.bind(null,"e0Pe"))},loading:mt.a}),exact:!0},{path:"/exam/exerciserevivw",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(134)]).then(e.bind(null,"SOHn"))},loading:mt.a}),exact:!0},{path:"/exam/gradeAnalyzing",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(137)]).then(e.bind(null,"GqMq"))},loading:mt.a}),exact:!0},{path:"/exam/questionAnalyzing",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(141)]).then(e.bind(null,"kso5"))},loading:mt.a}),exact:!0},{path:"/exam/subjectAnalyzing",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(152)]).then(e.bind(null,"+6qI"))},loading:mt.a}),exact:!0},{path:"/exam/classAnalyzing",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(127)]).then(e.bind(null,"EIjm"))},loading:mt.a}),exact:!0},{path:"/exam/*",redirect:"/404",exact:!0}]}]},{path:"/video",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/video/:videoId",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(12),e.e(10),e.e(262)]).then(e.bind(null,"96GE"))},loading:mt.a}),exact:!0}]},{path:"/terminal",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(230)]).then(e.bind(null,"PYMJ"))},loading:mt.a}),exact:!0},{path:"/detail",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(125)]).then(e.bind(null,"6xWC"))},loading:mt.a}),exact:!0},{path:"/",exact:!0,component:Object(it.dynamic)({loader:function(){return e.e(167).then(e.bind(null,"lEqr"))},loading:mt.a})},{path:"/",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(16),e.e(29)]).then(e.bind(null,"H8y1"))},loading:mt.a}),routes:[{path:"/api/*",component:Object(it.dynamic)({loader:function(){return e.e(40).then(e.bind(null,"y3wM"))},loading:mt.a}),exact:!0},{path:"/search",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(197)]).then(e.bind(null,"XQ9l"))},loading:mt.a})},{path:"/moop_cases",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(176)]).then(e.bind(null,"9Oz4"))},loading:mt.a})},{path:"/moop_cases/new",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(173)]).then(e.bind(null,"nojB"))},loading:mt.a})},{path:"/moop_cases/:caseId",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(174)]).then(e.bind(null,"ymAh"))},loading:mt.a})},{path:"/moop_cases/:caseId/edit",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(173)]).then(e.bind(null,"nojB"))},loading:mt.a})},{path:"/moop_cases/:caseId/publish-success",exact:!0,component:Object(it.dynamic)({loader:function(){return e.e(175).then(e.bind(null,"NbJ3"))},loading:mt.a})},{path:"/randompaper",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(25),e.e(180)]).then(e.bind(null,"ueiT"))},loading:mt.a})},{path:"/randompaper/edit/:id",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(25),e.e(182)]).then(e.bind(null,"BkJg"))},loading:mt.a})},{path:"/randompaper/detail/:id",exact:!0,component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(181)]).then(e.bind(null,"MpT9"))},loading:mt.a})},{path:"/403",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(164)]).then(e.bind(null,"BqfQ"))},loading:mt.a}),exact:!0},{path:"/500",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(166)]).then(e.bind(null,"IKT+"))},loading:mt.a}),exact:!0},{path:"/404",component:Object(it.dynamic)({loader:function(){return e.e(165).then(e.bind(null,"Qgpj"))},loading:mt.a}),exact:!0},{path:"/iwce",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(169)]).then(e.bind(null,"axZZ"))},loading:mt.a}),exact:!0},{path:"/iwce/:itemname",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(169)]).then(e.bind(null,"axZZ"))},loading:mt.a}),exact:!0},{path:"/hpc-course",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(4),e.e(5),e.e(6),e.e(169)]).then(e.bind(null,"axZZ"))},loading:mt.a}),exact:!0},{path:"/user_agents",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(2),e.e(168)]).then(e.bind(null,"CRnD"))},loading:mt.a}),exact:!0},{path:"/three",component:Object(it.dynamic)({loader:function(){return Promise.all([e.e(0),e.e(1),e.e(4),e.e(5),e.e(231)]).then(e.bind(null,"T+//"))},loading:mt.a}),exact:!0},{component:Object(it.dynamic)({loader:function(){return e.e(165).then(e.bind(null,"Qgpj"))},loading:mt.a}),exact:!0}]}]}];return rn.a.applyPlugins({key:"patchRoutes",type:it.ApplyPluginsType.event,args:{routes:xr}}),xr}e("hh8c"),Object(eo.c)();var mr=function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return rn.a.applyPlugins({key:"render",type:it.ApplyPluginsType.compose,initialValue:function(){var fr=rn.a.applyPlugins({key:"modifyClientRenderOpts",type:it.ApplyPluginsType.modify,initialValue:{routes:tt.routes||In(),plugin:rn.a,history:Object(Pr.a)(tt.hot),isServer:Object({NODE_ENV:"production"}).__IS_SERVER,dynamicImport:!0,rootElement:"root",defaultTitle:"\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0"}});return Object(La.renderClient)(fr)},args:tt})},tr=mr(),qr=c.default=tr();window.g_umi={version:"3.2.17"}},tEiQ:function(E,c,e){"use strict";(function(o){var t=e("q1tI"),r=e.n(t),n=e("dI71"),a=e("17x9"),u=e.n(a),s=1073741823,l=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof o!="undefined"?o:{};function i(){var f="__global_unique_id__";return l[f]=(l[f]||0)+1}function p(f,j){return f===j?f!==0||1/f===1/j:f!==f&&j!==j}function d(f){var j=[];return{on:function(U){j.push(U)},off:function(U){j=j.filter(function(C){return C!==U})},get:function(){return f},set:function(U,C){f=U,j.forEach(function(_){return _(f,C)})}}}function g(f){return Array.isArray(f)?f[0]:f}function m(f,j){var M,U,C="__create-react-context-"+i()+"__",_=function(S){Object(n.a)(R,S);function R(){var J;return J=S.apply(this,arguments)||this,J.emitter=d(J.props.value),J}var W=R.prototype;return W.getChildContext=function(){var H;return H={},H[C]=this.emitter,H},W.componentWillReceiveProps=function(H){if(this.props.value!==H.value){var k=this.props.value,se=H.value,ne;p(k,se)?ne=0:(ne=typeof j=="function"?j(k,se):s,ne|=0,ne!==0&&this.emitter.set(H.value,ne))}},W.render=function(){return this.props.children},R}(t.Component);_.childContextTypes=(M={},M[C]=u.a.object.isRequired,M);var L=function(S){Object(n.a)(R,S);function R(){var J;return J=S.apply(this,arguments)||this,J.state={value:J.getValue()},J.onUpdate=function(H,k){var se=J.observedBits|0;(se&k)!==0&&J.setState({value:J.getValue()})},J}var W=R.prototype;return W.componentWillReceiveProps=function(H){var k=H.observedBits;this.observedBits=k==null?s:k},W.componentDidMount=function(){this.context[C]&&this.context[C].on(this.onUpdate);var H=this.props.observedBits;this.observedBits=H==null?s:H},W.componentWillUnmount=function(){this.context[C]&&this.context[C].off(this.onUpdate)},W.getValue=function(){return this.context[C]?this.context[C].get():f},W.render=function(){return g(this.props.children)(this.state.value)},R}(t.Component);return L.contextTypes=(U={},U[C]=u.a.object,U),{Provider:_,Consumer:L}}var v=r.a.createContext||m;c.a=v}).call(this,e("yLpj"))},tGlX:function(E,c,e){//! moment.js locale configuration //! locale : German [de] //! author : lluchs : https://github.com/lluchs //! author: Menelion Elensúle: https://github.com/Oire diff --git a/vendors.a3747ace.async.js b/vendors.a3747ace.async.js index 0060cd0c3e..c495e46995 100644 --- a/vendors.a3747ace.async.js +++ b/vendors.a3747ace.async.js @@ -1,63 +1,63 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+BJd":function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("6MrE"),f=l.n(A)},"+QRC":function(j,R,l){"use strict";var x=l("E9nw"),b={"text/plain":"Text","text/html":"Url",default:"Text"},A="Copy to clipboard: #{key}, Enter";function f(e){var m=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,m)}function t(e,m){var d,a,n,s,c,i,u=!1;m||(m={}),d=m.debug||!1;try{n=x(),s=document.createRange(),c=document.getSelection(),i=document.createElement("span"),i.textContent=e,i.style.all="unset",i.style.position="fixed",i.style.top=0,i.style.clip="rect(0, 0, 0, 0)",i.style.whiteSpace="pre",i.style.webkitUserSelect="text",i.style.MozUserSelect="text",i.style.msUserSelect="text",i.style.userSelect="text",i.addEventListener("copy",function(o){if(o.stopPropagation(),m.format)if(o.preventDefault(),typeof o.clipboardData=="undefined"){d&&console.warn("unable to use e.clipboardData"),d&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var h=b[m.format]||b.default;window.clipboardData.setData(h,e)}else o.clipboardData.clearData(),o.clipboardData.setData(m.format,e);m.onCopy&&(o.preventDefault(),m.onCopy(o.clipboardData))}),document.body.appendChild(i),s.selectNodeContents(i),c.addRange(s);var r=document.execCommand("copy");if(!r)throw new Error("copy command was unsuccessful");u=!0}catch(o){d&&console.error("unable to copy using execCommand: ",o),d&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(m.format||"text",e),m.onCopy&&m.onCopy(window.clipboardData),u=!0}catch(h){d&&console.error("unable to copy using clipboardData: ",h),d&&console.error("falling back to prompt"),a=f("message"in m?m.message:A),window.prompt(a,e)}}finally{c&&(typeof c.removeRange=="function"?c.removeRange(s):c.removeAllRanges()),i&&document.body.removeChild(i),n()}return u}j.exports=t},"+TT/":function(j,R,l){var x=l("bYtY"),b=l("mFDi"),A=l("OELB"),f=A.parsePercent,t=l("7aKB"),e=x.each,m=["left","right","top","bottom","width","height"],d=[["width","left","right"],["height","top","bottom"]];function a(v,y,w,S,_){var I=0,C=0;S==null&&(S=Infinity),_==null&&(_=Infinity);var E=0;y.eachChild(function(O,M){var F=O.position,H=O.getBoundingRect(),B=y.childAt(M+1),X=B&&B.getBoundingRect(),J,k;if(v==="horizontal"){var W=H.width+(X?-X.x+H.x:0);J=I+W,J>S||O.newline?(I=0,J=W,C+=E+w,E=H.height):E=Math.max(E,H.height)}else{var z=H.height+(X?-X.y+H.y:0);k=C+z,k>_||O.newline?(I+=E+w,C=0,k=z,E=H.width):E=Math.max(E,H.width)}if(O.newline)return;F[0]=I,F[1]=C,v==="horizontal"?I=J+w:C=k+w})}var n=a,s=x.curry(a,"vertical"),c=x.curry(a,"horizontal");function i(v,y,w){var S=y.width,_=y.height,I=f(v.x,S),C=f(v.y,_),E=f(v.x2,S),O=f(v.y2,_);return(isNaN(I)||isNaN(parseFloat(v.x)))&&(I=0),(isNaN(E)||isNaN(parseFloat(v.x2)))&&(E=S),(isNaN(C)||isNaN(parseFloat(v.y)))&&(C=0),(isNaN(O)||isNaN(parseFloat(v.y2)))&&(O=_),w=t.normalizeCssArray(w||0),{width:Math.max(E-I-w[1]-w[3],0),height:Math.max(O-C-w[0]-w[2],0)}}function u(v,y,w){w=t.normalizeCssArray(w||0);var S=y.width,_=y.height,I=f(v.left,S),C=f(v.top,_),E=f(v.right,S),O=f(v.bottom,_),M=f(v.width,S),F=f(v.height,_),H=w[2]+w[0],B=w[1]+w[3],X=v.aspect;isNaN(M)&&(M=S-E-B-I),isNaN(F)&&(F=_-O-H-C),X!=null&&(isNaN(M)&&isNaN(F)&&(X>S/_?M=S*.8:F=_*.8),isNaN(M)&&(M=X*F),isNaN(F)&&(F=M/X)),isNaN(I)&&(I=S-E-M-B),isNaN(C)&&(C=_-O-F-H);switch(v.left||v.right){case"center":I=S/2-M/2-w[3];break;case"right":I=S-M-B;break}switch(v.top||v.bottom){case"middle":case"center":C=_/2-F/2-w[0];break;case"bottom":C=_-F-H;break}I=I||0,C=C||0,isNaN(M)&&(M=S-B-I-(E||0)),isNaN(F)&&(F=_-H-C-(O||0));var J=new b(I+w[3],C+w[0],M,F);return J.margin=w,J}function r(v,y,w,S,_){var I=!_||!_.hv||_.hv[0],C=!_||!_.hv||_.hv[1],E=_&&_.boundingMode||"all";if(!I&&!C)return;var O;if(E==="raw")O=v.type==="group"?new b(0,0,+y.width||0,+y.height||0):v.getBoundingRect();else if(O=v.getBoundingRect(),v.needLocalTransform()){var M=v.getLocalTransform();O=O.clone(),O.applyTransform(M)}y=u(x.defaults({width:O.width,height:O.height},y),w,S);var F=v.position,H=I?y.x-O.x:0,B=C?y.y-O.y:0;v.attr("position",E==="raw"?[H,B]:[F[0]+H,F[1]+B])}function o(v,y){return v[d[y][0]]!=null||v[d[y][1]]!=null&&v[d[y][2]]!=null}function h(v,y,w){!x.isObject(w)&&(w={});var S=w.ignoreSize;!x.isArray(S)&&(S=[S,S]);var _=C(d[0],0),I=C(d[1],1);M(d[0],v,_),M(d[1],v,I);function C(F,H){var B={},X=0,J={},k=0,W=2;if(e(F,function(P){J[P]=v[P]}),e(F,function(P){E(y,P)&&(B[P]=J[P]=y[P]),O(B,P)&&X++,O(J,P)&&k++}),S[H])return O(y,F[1])?J[F[2]]=null:O(y,F[2])&&(J[F[1]]=null),J;if(k===W||!X)return J;if(X>=W)return B;for(var z=0;z2&&arguments[2]!==void 0?arguments[2]:"0",xr=String(ct);xr.length=12,Ai%=12);var Zr=d.useMemo(function(){if(!qn)return[!1,!1];var vi=[!0,!0];return bn.forEach(function(Li){var ji=Li.disabled,Sa=Li.value;if(ji)return;Sa>=12?vi[1]=!1:vi[0]=!1}),vi},[qn,bn]),hr=Object(z.a)(Zr,2),jr=hr[0],wr=hr[1],an=d.useMemo(function(){return qn?bn.filter(xa?function(vi){return vi.value>=12}:function(vi){return vi.value<12}).map(function(vi){var Li=vi.value%12,ji=Li===0?"12":it(Li,2);return Object(W.a)(Object(W.a)({},vi),{},{label:ji,value:Li})}):bn},[qn,bn]),Jr=$t(0,59,Zn,Ui&&Ui(Ai)),kn=$t(0,59,wi,ca&&ca(Ai,oa));xr.current={onUpDown:function(Li){var ji=Fa[Gr];if(ji)for(var Sa=ji.units.findIndex(function(vo){return vo.value===ji.value}),Ga=ji.units.length,Ya=1;Ya1&&(hn=Vt.addDate(hn,-7)),hn}function Gt(ct,Vt,Cr){var xr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Vt){case"year":return Cr.addYear(ct,xr*10);case"quarter":case"month":return Cr.addYear(ct,xr);default:return Cr.addMonth(ct,xr)}}var yr=d.createContext({}),br=yr;function Sr(ct){var Vt=ct.cellPrefixCls,Cr=ct.generateConfig,xr=ct.rangedValue,Gr=ct.hoverRangedValue,$r=ct.isInView,hn=ct.isSameCell,On=ct.offsetCell,Qn=ct.today,qn=ct.value;function si(oi){var Wn,Zn=On(oi,-1),ni=On(oi,1),wi=Nt(xr,0),Di=Nt(xr,1),Ui=Nt(Gr,0),ca=Nt(Gr,1),ia=et(Cr,Ui,ca,oi);function Ia(oa){return hn(wi,oa)}function Fa(oa){return hn(Di,oa)}var Aa=hn(Ui,oi),Ea=hn(ca,oi),xa=(ia||Ea)&&(!$r(Zn)||Fa(Zn)),Ai=(ia||Aa)&&(!$r(ni)||Ia(ni));return Wn={},Object(k.a)(Wn,"".concat(Vt,"-in-view"),$r(oi)),Object(k.a)(Wn,"".concat(Vt,"-in-range"),et(Cr,wi,Di,oi)),Object(k.a)(Wn,"".concat(Vt,"-range-start"),Ia(oi)),Object(k.a)(Wn,"".concat(Vt,"-range-end"),Fa(oi)),Object(k.a)(Wn,"".concat(Vt,"-range-start-single"),Ia(oi)&&!Di),Object(k.a)(Wn,"".concat(Vt,"-range-end-single"),Fa(oi)&&!wi),Object(k.a)(Wn,"".concat(Vt,"-range-start-near-hover"),Ia(oi)&&(hn(Zn,Ui)||et(Cr,Ui,ca,Zn))),Object(k.a)(Wn,"".concat(Vt,"-range-end-near-hover"),Fa(oi)&&(hn(ni,ca)||et(Cr,Ui,ca,ni))),Object(k.a)(Wn,"".concat(Vt,"-range-hover"),ia),Object(k.a)(Wn,"".concat(Vt,"-range-hover-start"),Aa),Object(k.a)(Wn,"".concat(Vt,"-range-hover-end"),Ea),Object(k.a)(Wn,"".concat(Vt,"-range-hover-edge-start"),xa),Object(k.a)(Wn,"".concat(Vt,"-range-hover-edge-end"),Ai),Object(k.a)(Wn,"".concat(Vt,"-range-hover-edge-start-near-range"),xa&&hn(Zn,Di)),Object(k.a)(Wn,"".concat(Vt,"-range-hover-edge-end-near-range"),Ai&&hn(ni,wi)),Object(k.a)(Wn,"".concat(Vt,"-today"),hn(Qn,oi)),Object(k.a)(Wn,"".concat(Vt,"-selected"),hn(qn,oi)),Wn}return si}function Tn(ct){for(var Vt=ct.prefixCls,Cr=ct.disabledDate,xr=ct.onSelect,Gr=ct.rowNum,$r=ct.colNum,hn=ct.prefixColumn,On=ct.rowClassName,Qn=ct.baseDate,qn=ct.getCellClassName,si=ct.getCellText,oi=ct.getCellNode,Wn=ct.getCellDate,Zn=ct.titleCell,ni=ct.headerCells,wi=d.useContext(q),Di=wi.onDateMouseEnter,Ui=wi.onDateMouseLeave,ca="".concat(Vt,"-cell"),ia=[],Ia=0;Ia2&&arguments[2]!==void 0?arguments[2]:!1;(Uo===wi||ll)&&(Mo(Ra),Ea&&Ea(Ra),Ga&&Ga(Ra,ho),xa&&!ot(On,Ra,za)&&xa(Ra))},Go=function(Ra){return to.current&&to.current.onKeyDown?([G.a.LEFT,G.a.RIGHT,G.a.UP,G.a.DOWN,G.a.PAGE_UP,G.a.PAGE_DOWN,G.a.ENTER].includes(Ra.which)&&Ra.preventDefault(),to.current.onKeyDown(Ra)):(Object(A.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},os=function(Ra){to.current&&to.current.onBlur&&to.current.onBlur(Ra)};ji&&Ha!=="right"&&(ji.current={onKeyDown:Go,onClose:function(){to.current&&to.current.onClose&&to.current.onClose()}}),d.useEffect(function(){Qn&&!Po.current&&ns(Qn)},[Qn]),d.useEffect(function(){Po.current=!1},[]);var Vs,xs=Object(W.a)(Object(W.a)({},ct),{},{operationRef:to,prefixCls:xr,viewDate:mo,value:za,onViewDateChange:Zo,sourceMode:Fs,onPanelChange:Ko,disabledDate:Uo!=="decade"?Wn:void 0});delete xs.onChange,delete xs.onSelect;switch(Uo){case"decade":Vs=d.createElement(sr,Object.assign({},xs,{onSelect:function(Ra,ho){Zo(Ra),Vo(Ra,ho)}}));break;case"year":Vs=d.createElement(Qe,Object.assign({},xs,{onSelect:function(Ra,ho){Zo(Ra),Vo(Ra,ho)}}));break;case"month":Vs=d.createElement(rr,Object.assign({},xs,{onSelect:function(Ra,ho){Zo(Ra),Vo(Ra,ho)}}));break;case"quarter":Vs=d.createElement(Gn,Object.assign({},xs,{onSelect:function(Ra,ho){Zo(Ra),Vo(Ra,ho)}}));break;case"week":Vs=d.createElement(en,Object.assign({},xs,{onSelect:function(Ra,ho){Zo(Ra),Vo(Ra,ho)}}));break;case"time":delete xs.showTime,Vs=d.createElement(qe,Object.assign({},xs,Object(P.a)(ia)==="object"?ia:null,{onSelect:function(Ra,ho){Zo(Ra),Vo(Ra,ho)}}));break;default:ia?Vs=d.createElement(er,Object.assign({},xs,{onSelect:function(Ra,ho){Zo(Ra),Vo(Ra,ho)}})):Vs=d.createElement($e,Object.assign({},xs,{onSelect:function(Ra,ho){Zo(Ra),Vo(Ra,ho)}}))}var Js,Bs,ks=function(){var Ra=On.getNow(),ho=Ut(On.getHour(Ra),On.getMinute(Ra),On.getSecond(Ra),Dn?hr:1,Xn?wr:1,vi?Jr:1),ll=Ft(On,Ra,ho[0],ho[1],ho[2]);Vo(ll,"submit")};Ya||(Js=Bn(xr,Uo,Fa),Bs=Er({prefixCls:xr,components:Qr,needConfirmButton:kn,okDisabled:!za||Wn&&Wn(za),locale:hn,showNow:ca,onNow:kn&&ks,onOk:function(){za&&(Vo(za,"submit",!0),Nr&&Nr(za))}}));var Jo;if(Ia&&Uo==="date"&&wi==="date"&&!ia){var bs=On.getNow(),Ho="".concat(xr,"-today-btn"),Ls=Wn&&Wn(bs);Jo=d.createElement("a",{className:_()(Ho,Ls&&"".concat(Ho,"-disabled")),"aria-disabled":Ls,onClick:function(){Ls||Vo(bs,"mouse",!0)}},hn.today)}return d.createElement(q.Provider,{value:Object(W.a)(Object(W.a)({},Li),{},{hideHeader:"hideHeader"in ct?Aa:Li.hideHeader,hidePrevBtn:po&&Ha==="right",hideNextBtn:po&&Ha==="left"})},d.createElement("div",{tabIndex:Ui,className:_()("".concat(xr,"-panel"),Gr,(Vt={},Object(k.a)(Vt,"".concat(xr,"-panel-has-range"),Oa&&Oa[0]&&Oa[1]),Object(k.a)(Vt,"".concat(xr,"-panel-has-range-hover"),ao&&ao[0]&&ao[1]),Object(k.a)(Vt,"".concat(xr,"-panel-rtl"),bn==="rtl"),Vt)),style:$r,onKeyDown:Go,onBlur:os,onMouseDown:oa,ref:Sa},Vs,Js||Bs||Jo?d.createElement("div",{className:"".concat(xr,"-footer")},Js,Bs,Jo):null))}var rn=gn,Br=l("uciX"),Vn={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function gi(ct){var Vt,Cr=ct.prefixCls,xr=ct.popupElement,Gr=ct.popupStyle,$r=ct.visible,hn=ct.dropdownClassName,On=ct.dropdownAlign,Qn=ct.transitionName,qn=ct.getPopupContainer,si=ct.children,oi=ct.range,Wn=ct.popupPlacement,Zn=ct.direction,ni="".concat(Cr,"-dropdown"),wi=function(){return Wn!==void 0?Wn:Zn==="rtl"?"bottomRight":"bottomLeft"};return d.createElement(Br.a,{showAction:[],hideAction:[],popupPlacement:wi(),builtinPlacements:Vn,prefixCls:ni,popupTransitionName:Qn,popup:xr,popupAlign:On,popupVisible:$r,popupClassName:_()(hn,(Vt={},Object(k.a)(Vt,"".concat(ni,"-range"),oi),Object(k.a)(Vt,"".concat(ni,"-rtl"),Zn==="rtl"),Vt)),popupStyle:Gr,getPopupContainer:qn},si)}var Ni=gi;function Ki(ct){var Vt=ct.open,Cr=ct.value,xr=ct.isClickOutside,Gr=ct.triggerOpen,$r=ct.forwardKeyDown,hn=ct.blurToCancel,On=ct.onSubmit,Qn=ct.onCancel,qn=ct.onFocus,si=ct.onBlur,oi=Object(d.useState)(!1),Wn=Object(z.a)(oi,2),Zn=Wn[0],ni=Wn[1],wi=Object(d.useState)(!1),Di=Object(z.a)(wi,2),Ui=Di[0],ca=Di[1],ia=Object(d.useRef)(!1),Ia=Object(d.useRef)(!1),Fa={onMouseDown:function(){ni(!0),Gr(!0)},onKeyDown:function(Ea){switch(Ea.which){case G.a.ENTER:{Vt?On()!==!1&&ni(!0):Gr(!0),Ea.preventDefault();return}case G.a.TAB:{Zn&&Vt&&!Ea.shiftKey?(ni(!1),Ea.preventDefault()):!Zn&&Vt&&(!$r(Ea)&&Ea.shiftKey&&(ni(!0),Ea.preventDefault()));return}case G.a.ESC:{ni(!0),Qn();return}}!Vt&&![G.a.SHIFT].includes(Ea.which)?Gr(!0):Zn||$r(Ea)},onFocus:function(Ea){ni(!0),ca(!0),qn&&qn(Ea)},onBlur:function(Ea){if(ia.current||!xr(document.activeElement)){ia.current=!1;return}hn?setTimeout(function(){xr(document.activeElement)&&Qn()},0):Vt&&(Gr(!1),Ia.current&&On()),ca(!1),si&&si(Ea)}};return Object(d.useEffect)(function(){Ia.current=!1},[Vt]),Object(d.useEffect)(function(){Ia.current=!0},[Cr]),Object(d.useEffect)(function(){return Y(function(Aa){var Ea=Aa.target;Vt&&(xr(Ea)?Ui||Gr(!1):(ia.current=!0,requestAnimationFrame(function(){ia.current=!1})))})}),[Fa,{focused:Ui,typing:Zn}]}function zi(ct){var Vt=ct.valueTexts,Cr=ct.onTextChange,xr=d.useState(""),Gr=Object(z.a)(xr,2),$r=Gr[0],hn=Gr[1],On=d.useRef([]);On.current=Vt;function Qn(si){hn(si),Cr(si)}function qn(){hn(On.current[0])}return d.useEffect(function(){Vt.every(function(si){return si!==$r})&&qn()},[Vt.join("||")]),[$r,Qn,qn]}var Yi=l("Gytx"),mi=l.n(Yi);function va(ct,Vt){var Cr=Vt.formatList,xr=Vt.generateConfig,Gr=Vt.locale;return Object(Se.a)(function(){if(!ct)return[[""],""];for(var $r="",hn=[],On=0;On1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(qn.current),Ui){Qn(Di);return}qn.current=requestAnimationFrame(function(){Qn(Di)})}var oi=va(On,{formatList:Cr,generateConfig:xr,locale:Gr}),Wn=Object(z.a)(oi,2),Zn=Wn[1];function ni(Di){si(Di)}function wi(){var Di=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;si(null,Di)}return Object(d.useEffect)(function(){wi(!0)},[ct]),Object(d.useEffect)(function(){return function(){return cancelAnimationFrame(qn.current)}},[]),[Zn,ni,wi]}function fn(ct){var Vt,Cr=ct.prefixCls,xr=Cr===void 0?"rc-picker":Cr,Gr=ct.id,$r=ct.tabIndex,hn=ct.style,On=ct.className,Qn=ct.dropdownClassName,qn=ct.dropdownAlign,si=ct.popupStyle,oi=ct.transitionName,Wn=ct.generateConfig,Zn=ct.locale,ni=ct.inputReadOnly,wi=ct.allowClear,Di=ct.autoFocus,Ui=ct.showTime,ca=ct.picker,ia=ca===void 0?"date":ca,Ia=ct.format,Fa=ct.use12Hours,Aa=ct.value,Ea=ct.defaultValue,xa=ct.open,Ai=ct.defaultOpen,oa=ct.defaultOpenValue,Ba=ct.suffixIcon,Nr=ct.clearIcon,Qr=ct.disabled,bn=ct.disabledDate,Zr=ct.placeholder,hr=ct.getPopupContainer,jr=ct.pickerRef,wr=ct.panelRender,an=ct.onChange,Jr=ct.onOpenChange,kn=ct.onFocus,Dn=ct.onBlur,Xn=ct.onMouseDown,vi=ct.onMouseUp,Li=ct.onMouseEnter,ji=ct.onMouseLeave,Sa=ct.onContextMenu,Ga=ct.onClick,Ya=ct.direction,bo=ct.autoComplete,vo=bo===void 0?"off":bo,po=d.useRef(null),Ha=ia==="date"&&!!Ui||ia==="time",Oa=pt(ue(Ia,ia,Ui,Fa)),ao=d.useRef(null),to=d.useRef(null),Po=Object(K.a)(null,{value:Aa,defaultValue:Ea}),Yo=Object(z.a)(Po,2),ro=Yo[0],za=Yo[1],Mo=d.useState(ro),Io=Object(z.a)(Mo,2),ma=Io[0],mo=Io[1],ns=d.useRef(null),Zo=Object(K.a)(!1,{value:xa,defaultValue:Ai,postState:function(us){return Qr?!1:us},onChange:function(us){Jr&&Jr(us),!us&&ns.current&&ns.current.onClose&&ns.current.onClose()}}),Oo=Object(z.a)(Zo,2),Ro=Oo[0],hs=Oo[1],Uo=va(ma,{formatList:Oa,generateConfig:Wn,locale:Zn}),Ja=Object(z.a)(Uo,2),Es=Ja[0],oo=Ja[1],Fs=zi({valueTexts:Es,onTextChange:function(us){var _l=Wn.locale.parse(Zn.locale,us,Oa);_l&&(!bn||!bn(_l))&&mo(_l)}}),qo=Object(z.a)(Fs,3),Ko=qo[0],Vo=qo[1],Go=qo[2],os=function(us){mo(us),za(us),an&&!ot(Wn,ro,us)&&an(us,us?Wn.locale.format(Zn.locale,us,Oa[0]):"")},Vs=function(us){if(Qr&&us)return;hs(us)},xs=function(us){return Ro&&ns.current&&ns.current.onKeyDown?ns.current.onKeyDown(us):(Object(A.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Js=function(){vi&&vi.apply(void 0,arguments),po.current&&(po.current.focus(),Vs(!0))},Bs=Ki({blurToCancel:Ha,open:Ro,value:Ko,triggerOpen:Vs,forwardKeyDown:xs,isClickOutside:function(us){return!me([ao.current,to.current],us)},onSubmit:function(){return bn&&bn(ma)?!1:(os(ma),Vs(!1),Go(),!0)},onCancel:function(){Vs(!1),mo(ro),Go()},onFocus:kn,onBlur:Dn}),ks=Object(z.a)(Bs,2),Jo=ks[0],bs=ks[1],Ho=bs.focused,Ls=bs.typing;d.useEffect(function(){Ro||(mo(ro),!Es.length||Es[0]===""?Vo(""):oo!==Ko&&Go())},[Ro,Es]),d.useEffect(function(){Ro||Go()},[ia]),d.useEffect(function(){mo(ro)},[ro]),jr&&(jr.current={focus:function(){po.current&&po.current.focus()},blur:function(){po.current&&po.current.blur()}});var Ps=Object(W.a)(Object(W.a)({},ct),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),Ra=d.createElement(rn,Object.assign({},Ps,{generateConfig:Wn,className:_()(Object(k.a)({},"".concat(xr,"-panel-focused"),!Ls)),value:ma,locale:Zn,tabIndex:-1,onChange:mo,direction:Ya}));wr&&(Ra=wr(Ra));var ho=d.createElement("div",{className:"".concat(xr,"-panel-container"),onMouseDown:function(us){us.preventDefault()}},Ra),ll;Ba&&(ll=d.createElement("span",{className:"".concat(xr,"-suffix")},Ba));var ml;wi&&ro&&!Qr&&(ml=d.createElement("span",{onMouseDown:function(us){us.preventDefault(),us.stopPropagation()},onMouseUp:function(us){us.preventDefault(),us.stopPropagation(),os(null),Vs(!1)},className:"".concat(xr,"-clear")},Nr||d.createElement("span",{className:"".concat(xr,"-clear-btn")})));var wl=function(us,_l){(_l==="submit"||_l!=="key"&&!Ha)&&(os(us),Vs(!1))},El=Ya==="rtl"?"bottomRight":"bottomLeft",Xs=zn(Ko,{formatList:Oa,generateConfig:Wn,locale:Zn}),Xo=Object(z.a)(Xs,3),gl=Xo[0],Vl=Xo[1],Us=Xo[2];return d.createElement(q.Provider,{value:{operationRef:ns,hideHeader:ia==="time",panelRef:ao,onSelect:wl,open:Ro,defaultOpenValue:oa,onDateMouseEnter:Vl,onDateMouseLeave:Us}},d.createElement(Ni,{visible:Ro,popupElement:ho,popupStyle:si,prefixCls:xr,dropdownClassName:Qn,dropdownAlign:qn,getPopupContainer:hr,transitionName:oi,popupPlacement:El,direction:Ya},d.createElement("div",{className:_()(xr,On,(Vt={},Object(k.a)(Vt,"".concat(xr,"-disabled"),Qr),Object(k.a)(Vt,"".concat(xr,"-focused"),Ho),Object(k.a)(Vt,"".concat(xr,"-rtl"),Ya==="rtl"),Vt)),style:hn,onMouseDown:Xn,onMouseUp:Js,onMouseEnter:Li,onMouseLeave:ji,onContextMenu:Sa,onClick:Ga},d.createElement("div",{className:_()("".concat(xr,"-input"),Object(k.a)({},"".concat(xr,"-input-placeholder"),!!gl)),ref:to},d.createElement("input",Object.assign({id:Gr,tabIndex:$r,disabled:Qr,readOnly:ni||!Ls,value:gl||Ko,onChange:function(us){Vo(us.target.value)},autoFocus:Di,placeholder:Zr,ref:po,title:Ko},Jo,{size:Ge(ia,Oa[0])},Pe(ct),{autoComplete:vo})),ll,ml))))}var $n=function(ct){Object(X.a)(Cr,ct);var Vt=Object(J.a)(Cr);function Cr(){var xr;return Object(H.a)(this,Cr),xr=Vt.apply(this,arguments),xr.pickerRef=d.createRef(),xr.focus=function(){xr.pickerRef.current&&xr.pickerRef.current.focus()},xr.blur=function(){xr.pickerRef.current&&xr.pickerRef.current.blur()},xr}return Object(B.a)(Cr,[{key:"render",value:function(){return d.createElement(fn,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Cr}(d.Component),Cn=$n;function ki(ct,Vt,Cr){var xr=ct.picker,Gr=ct.locale,$r=ct.selectedValue,hn=ct.disabledDate,On=ct.disabled,Qn=ct.generateConfig,qn=Nt($r,0),si=Nt($r,1);function oi(Di){var Ui=Qn.getYear(Di),ca=Qn.locale.getWeek(Gr.locale,Di);return Ui*100+ca}function Wn(Di){var Ui=Qn.getYear(Di),ca=Qn.getMonth(Di);return Ui*100+ca}function Zn(Di){var Ui=Qn.getYear(Di),ca=He(Qn,Di);return Ui*10+ca}var ni=d.useCallback(function(Di){if(hn&&hn(Di))return!0;if(On[1]&&si)return!at(Qn,Di,si)&&Qn.isAfter(Di,si);if(Vt&&si)switch(xr){case"quarter":return Zn(Di)>Zn(si);case"month":return Wn(Di)>Wn(si);case"week":return oi(Di)>oi(si);default:return!at(Qn,Di,si)&&Qn.isAfter(Di,si)}return!1},[hn,On[1],si,Vt]),wi=d.useCallback(function(Di){if(hn&&hn(Di))return!0;if(On[0]&&qn)return!at(Qn,Di,si)&&Qn.isAfter(qn,Di);if(Cr&&qn)switch(xr){case"quarter":return Zn(Di)0&&arguments[0]!==void 0?arguments[0]:!1,yo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},es=null;Us&&Ce&&Ce[0]&&Ce[1]&&ni.isAfter(Ce[1],Ce[0])&&(es=Ce);var Is=Aa;if(Aa&&Object(P.a)(Aa)==="object"&&Aa.defaultValue){var Tl=Aa.defaultValue;Is=Object(W.a)(Object(W.a)({},Aa),{},{defaultValue:Nt(Tl,oo)||void 0})}var Tc=null;return jr&&(Tc=function(cc,sl){return jr(cc,sl,{range:oo?"end":"start"})}),d.createElement(br.Provider,{value:{inRange:!0,panelPosition:ms,rangedValue:En||Ho,hoverRangedValue:es}},d.createElement(rn,Object.assign({},ct,yo,{dateRender:Tc,showTime:Is,mode:ho[oo],generateConfig:ni,style:void 0,direction:Po,disabledDate:oo===0?Xs:Xo,disabledTime:function(cc){return hr?hr(cc,oo===0?"start":"end"):!1},className:_()(Object(k.a)({},"".concat($r,"-panel-focused"),oo===0?!dl:!Cl)),value:Nt(Ho,oo),locale:wi,tabIndex:-1,onPanelChange:function(cc,sl){ml(ut(ho,sl,oo),ut(Ho,cc,oo));var tl=cc;ms==="right"&&ho[oo]===sl&&(tl=Gt(tl,sl,ni,-1)),ks(tl,oo)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var ec=0,al=0;oo&&ns.current&&Oo.current&&mo.current&&(ec=ns.current.offsetWidth+Oo.current.offsetWidth,mo.current.offsetWidth&&ec>mo.current.offsetWidth&&(al=ec));var lo=Po==="rtl"?{right:ec}:{left:ec};function Pc(){var ms,yo=Bn($r,ho[oo],Sa),es=Er({prefixCls:$r,components:ao,needConfirmButton:Mo,okDisabled:!Nt(Ho,oo)||Zr&&Zr(Ho[oo]),locale:wi,rangeList:cu,onOk:function(){Nt(Ho,oo)&&(zs(Ho,oo),Oa&&Oa(Ho))}});if(Fa!=="time"&&!Aa){var Is=Bs(oo),Tl=Gt(Is,Fa,ni),Tc=ho[oo],tc=Tc===Fa,cc=Jc(tc?"left":!1,{pickerValue:Is,onPickerValueChange:function(Zs){ks(Zs,oo)}}),sl=Jc("right",{pickerValue:Tl,onPickerValueChange:function(Zs){ks(Gt(Zs,Fa,ni,-1),oo)}});Po==="rtl"?ms=d.createElement(d.Fragment,null,sl,tc&&cc):ms=d.createElement(d.Fragment,null,cc,tc&&sl)}else ms=Jc();var tl=d.createElement(d.Fragment,null,d.createElement("div",{className:"".concat($r,"-panels")},ms),(yo||es)&&d.createElement("div",{className:"".concat($r,"-footer")},yo,es));return wr&&(tl=wr(tl)),d.createElement("div",{className:"".concat($r,"-panel-container"),style:{marginLeft:al},ref:mo,onMouseDown:function(Zs){Zs.preventDefault()}},tl)}var Cc=d.createElement("div",{className:_()("".concat($r,"-range-wrapper"),"".concat($r,"-").concat(Fa,"-range-wrapper")),style:{minWidth:Bl}},d.createElement("div",{className:"".concat($r,"-range-arrow"),style:lo}),Pc()),Ec;Dn&&(Ec=d.createElement("span",{className:"".concat($r,"-suffix")},Dn));var Ql;kn&&(Nt(os,0)&&!Ko[0]||Nt(os,1)&&!Ko[1])&&(Ql=d.createElement("span",{onMouseDown:function(yo){yo.preventDefault(),yo.stopPropagation()},onMouseUp:function(yo){yo.preventDefault(),yo.stopPropagation();var es=os;Ko[0]||(es=ut(es,null,0)),Ko[1]||(es=ut(es,null,1)),zs(es,null),ql(!1,oo)},className:"".concat($r,"-clear")},Xn||d.createElement("span",{className:"".concat($r,"-clear-btn")})));var Ac={size:Ge(Fa,Uo[0])},Vc=0,vc=0;ns.current&&Zo.current&&Oo.current&&(oo===0?vc=ns.current.offsetWidth:(Vc=ec,vc=Zo.current.offsetWidth));var Lc=Po==="rtl"?{right:Vc}:{left:Vc},_c=function(yo,es){var Is=ut(Ho,yo,oo);es==="submit"||es!=="key"&&!Mo?(zs(Is,oo),oo===0?Yr():ga()):Ls(Is)};return d.createElement(q.Provider,{value:{operationRef:qo,hideHeader:Fa==="time",onDateMouseEnter:Ka,onDateMouseLeave:go,hideRanges:!0,onSelect:_c,open:Us}},d.createElement(Ni,{visible:Us,popupElement:Cc,popupStyle:qn,prefixCls:$r,dropdownClassName:si,dropdownAlign:Wn,getPopupContainer:Zn,transitionName:oi,range:!0,direction:Po},d.createElement("div",Object.assign({ref:ma,className:_()($r,"".concat($r,"-range"),Qn,(Vt={},Object(k.a)(Vt,"".concat($r,"-disabled"),Ko[0]&&Ko[1]),Object(k.a)(Vt,"".concat($r,"-focused"),oo===0?Ws:el),Object(k.a)(Vt,"".concat($r,"-rtl"),Po==="rtl"),Vt)),style:On,onClick:mc,onMouseDown:lc},Pe(ct)),d.createElement("div",{className:_()("".concat($r,"-input"),(Cr={},Object(k.a)(Cr,"".concat($r,"-input-active"),oo===0),Object(k.a)(Cr,"".concat($r,"-input-placeholder"),!!Yt),Cr)),ref:ns},d.createElement("input",Object.assign({id:hn,disabled:Ko[0],readOnly:Li||!dl,value:Yt||Xl,onChange:function(yo){Gl(yo.target.value)},autoFocus:Ui,placeholder:Nt(Di,0)||"",ref:Ro},ps,Ac,{autoComplete:za}))),d.createElement("div",{className:"".concat($r,"-range-separator"),ref:Oo},Ai),d.createElement("div",{className:_()("".concat($r,"-input"),(xr={},Object(k.a)(xr,"".concat($r,"-input-active"),oo===1),Object(k.a)(xr,"".concat($r,"-input-placeholder"),!!Ci),xr)),ref:Zo},d.createElement("input",Object.assign({disabled:Ko[1],readOnly:Li||!Cl,value:Ci||Sc,onChange:function(yo){Ts(yo.target.value)},placeholder:Nt(Di,1)||"",ref:hs},Rl,Ac,{autoComplete:za}))),d.createElement("div",{className:"".concat($r,"-active-bar"),style:Object(W.a)(Object(W.a)({},Lc),{},{width:vc,position:"absolute"})}),Ec,Ql)))}var Un=function(ct){Object(X.a)(Cr,ct);var Vt=Object(J.a)(Cr);function Cr(){var xr;return Object(H.a)(this,Cr),xr=Vt.apply(this,arguments),xr.pickerRef=d.createRef(),xr.focus=function(){xr.pickerRef.current&&xr.pickerRef.current.focus()},xr.blur=function(){xr.pickerRef.current&&xr.pickerRef.current.blur()},xr}return Object(B.a)(Cr,[{key:"render",value:function(){return d.createElement(Na,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Cr}(d.Component),nn=Un,Yn=Cn,bi=l("61s2");function Oi(ct,Vt,Cr){return Cr!==void 0?Cr:ct==="year"&&Vt.lang.yearPlaceholder?Vt.lang.yearPlaceholder:ct==="quarter"&&Vt.lang.quarterPlaceholder?Vt.lang.quarterPlaceholder:ct==="month"&&Vt.lang.monthPlaceholder?Vt.lang.monthPlaceholder:ct==="week"&&Vt.lang.weekPlaceholder?Vt.lang.weekPlaceholder:ct==="time"&&Vt.timePickerLocale.placeholder?Vt.timePickerLocale.placeholder:Vt.lang.placeholder}function _i(ct,Vt,Cr){return Cr!==void 0?Cr:ct==="year"&&Vt.lang.yearPlaceholder?Vt.lang.rangeYearPlaceholder:ct==="month"&&Vt.lang.monthPlaceholder?Vt.lang.rangeMonthPlaceholder:ct==="week"&&Vt.lang.weekPlaceholder?Vt.lang.rangeWeekPlaceholder:ct==="time"&&Vt.timePickerLocale.placeholder?Vt.timePickerLocale.rangePlaceholder:Vt.lang.rangePlaceholder}var Zi=l("uaoM"),qi=l("H84U"),ea=l("YMnH"),ya=l("3Nzz"),co=function(ct,Vt){var Cr={};for(var xr in ct)Object.prototype.hasOwnProperty.call(ct,xr)&&Vt.indexOf(xr)<0&&(Cr[xr]=ct[xr]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gr=0,xr=Object.getOwnPropertySymbols(ct);Grer},ze}return P(Le,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function($e){$e.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var $e=this.state,gt=$e.dragging,ir=$e.visible,Xt=this.props.prefixCls,er=this.getSpinHeight(),Wr=this.getTop(),en=this.showScroll(),Fn=en&&ir;return x.createElement("div",{ref:this.scrollbarRef,className:A()("".concat(Xt,"-scrollbar"),W({},"".concat(Xt,"-scrollbar-show"),en)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:Fn?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},x.createElement("div",{ref:this.thumbRef,className:A()("".concat(Xt,"-scrollbar-thumb"),W({},"".concat(Xt,"-scrollbar-thumb-moving"),gt)),style:{width:"100%",height:er,top:Wr,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),Le}(x.Component);function ge(lt){var mt=lt.children,Le=lt.setRef,ze=x.useCallback(function($e){Le($e)},[]);return x.cloneElement(mt,{ref:ze})}function Be(lt,mt,Le,ze,$e,gt){var ir=gt.getKey;return lt.slice(mt,Le+1).map(function(Xt,er){var Wr=mt+er,en=$e(Xt,Wr,{}),Fn=ir(Xt);return x.createElement(ge,{key:Fn,setRef:function(It){return ze(Xt,It)}},en)})}function ee(lt,mt){if(!(lt instanceof mt))throw new TypeError("Cannot call a class as a function")}function ue(lt,mt){for(var Le=0;Lelt.length)&&(mt=lt.length);for(var Le=0,ze=new Array(mt);LeTa&&(tr="bottom")}}Fi!==null&&Fi!==lt.current.scrollTop&&ir(Fi)}er.current=Object(J.a)(function(){Dt&>(),mr(gr-1,tr)})};Ct(3)}}}function it(lt,mt,Le,ze){var $e=Le-lt,gt=mt-Le,ir=Math.min($e,gt)*2;if(ze<=ir){var Xt=Math.floor(ze/2);return ze%2?Le+Xt+1:Le-Xt}return $e>gt?Le-(ze-gt):Le+(ze-$e)}function yt(lt,mt,Le){var ze=lt.length,$e=mt.length,gt,ir;if(ze===0&&$e===0)return null;ze<$e?(gt=lt,ir=mt):(gt=mt,ir=lt);var Xt={__EMPTY_ITEM__:!0};function er(Ct){return Ct!==void 0?Le(Ct):Xt}for(var Wr=null,en=Math.abs(ze-$e)!==1,Fn=0;Fnlt.length)&&(mt=lt.length);for(var Le=0,ze=new Array(mt);Le1&&arguments[1]!==void 0?arguments[1]:!1,er=ir<0&>.current.top||ir>0&>.current.bottom;return Xt&&er?(clearTimeout(ze.current),Le.current=!1):(!er||Le.current)&&$e(),!Le.current&&er}};function de(lt,mt,Le,ze){var $e=Object(x.useRef)(0),gt=Object(x.useRef)(null),ir=Object(x.useRef)(null),Xt=Object(x.useRef)(!1),er=Ee(mt,Le);function Wr(Fn){if(!lt)return;J.a.cancel(gt.current);var ar=Fn.deltaY;if($e.current+=ar,ir.current=ar,er(ar))return;ht||Fn.preventDefault(),gt.current=Object(J.a)(function(){var It=Xt.current?10:1;ze($e.current*It),$e.current=0})}function en(Fn){if(!lt)return;Xt.current=Fn.detail===ir.current}return[Wr,en]}var qe=14/15;function rt(lt,mt,Le){var ze=Object(x.useRef)(!1),$e=Object(x.useRef)(0),gt=Object(x.useRef)(null),ir=Object(x.useRef)(null),Xt,er=function(ar){if(ze.current){var It=Math.ceil(ar.touches[0].pageY),Ct=$e.current-It;$e.current=It,Le(Ct)&&ar.preventDefault(),clearInterval(ir.current),ir.current=setInterval(function(){Ct*=qe,(!Le(Ct,!0)||Math.abs(Ct)<=.1)&&clearInterval(ir.current)},16)}},Wr=function(){ze.current=!1,Xt()},en=function(ar){Xt(),ar.touches.length===1&&!ze.current&&(ze.current=!0,$e.current=Math.ceil(ar.touches[0].pageY),gt.current=ar.target,gt.current.addEventListener("touchmove",er),gt.current.addEventListener("touchend",Wr))};Xt=function(){gt.current&&(gt.current.removeEventListener("touchmove",er),gt.current.removeEventListener("touchend",Wr))},x.useLayoutEffect(function(){return lt&&mt.current.addEventListener("touchstart",en),function(){mt.current.removeEventListener("touchstart",en),Xt(),clearInterval(ir.current)}},[lt])}var ve=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function bt(){return bt=Object.assign||function(lt){for(var mt=1;mtlt.length)&&(mt=lt.length);for(var Le=0,ze=new Array(mt);Le=0)continue;if(!Object.prototype.propertyIsEnumerable.call(lt,ze))continue;Le[ze]=lt[ze]}}return Le}function Gt(lt,mt){if(lt==null)return{};var Le={},ze=Object.keys(lt),$e,gt;for(gt=0;gt=0)continue;Le[$e]=lt[$e]}return Le}var yr=[],br={overflowY:"auto",overflowAnchor:"none"};function Sr(lt,mt){var Le=lt.prefixCls,ze=Le===void 0?"rc-virtual-list":Le,$e=lt.className,gt=lt.height,ir=lt.itemHeight,Xt=lt.fullHeight,er=Xt===void 0?!0:Xt,Wr=lt.style,en=lt.data,Fn=lt.children,ar=lt.itemKey,It=lt.virtual,Ct=lt.component,mr=Ct===void 0?"div":Ct,gr=lt.onScroll,Mt=lt.onVisibleChange,rr=Ze(lt,ve),Dt=!!(It!==!1&>&&ir),tr=Dt&&en&&ir*en.length>gt,Dr=Object(x.useState)(0),dr=Ar(Dr,2),Tr=dr[0],vn=dr[1],on=Object(x.useState)(!1),Gn=Ar(on,2),di=Gn[0],Ti=Gn[1],Fi=A()(ze,$e),la=en||yr,Ta=Object(x.useRef)(),dt=Object(x.useRef)(),Me=Object(x.useRef)(),Xe=x.useCallback(function(Ri){return typeof ar=="function"?ar(Ri):Ri==null?void 0:Ri[ar]},[ar]),Qe={getKey:Xe};function st(Ri){vn(function(Na){var Un;typeof Ri=="function"?Un=Ri(Na):Un=Ri;var nn=zi(Un);return Ta.current.scrollTop=nn,nn})}var nt=Object(x.useRef)({start:0,end:la.length}),ft=Object(x.useRef)(),Bt=Wt(la,Xe),Et=Ar(Bt,1),nr=Et[0];ft.current=nr;var Ur=me(Xe,null,null),Lr=Ar(Ur,4),Vr=Lr[0],sr=Lr[1],Bn=Lr[2],Er=Lr[3],gn=x.useMemo(function(){if(!Dt)return{scrollHeight:void 0,start:0,end:la.length-1,offset:void 0};if(!tr){var Ri;return{scrollHeight:((Ri=dt.current)===null||Ri===void 0?void 0:Ri.offsetHeight)||0,start:0,end:la.length-1,offset:void 0}}for(var Na=0,Un,nn,Yn,bi=la.length,Oi=0;Oi=Tr&&Un===void 0&&(Un=Oi,nn=Na),ea>Tr+gt&&Yn===void 0&&(Yn=Oi),Na=ea}return Un===void 0&&(Un=0,nn=0),Yn===void 0&&(Yn=la.length-1),Yn=Math.min(Yn+1,la.length),{scrollHeight:Na,start:Un,end:Yn,offset:nn}},[tr,Dt,Tr,la,Er,gt]),rn=gn.scrollHeight,Br=gn.start,Vn=gn.end,gi=gn.offset;nt.current.start=Br,nt.current.end=Vn;var Ni=rn-gt,Ki=Object(x.useRef)(Ni);Ki.current=Ni;function zi(Ri){var Na=Ri;return Number.isNaN(Ki.current)||(Na=Math.min(Na,Ki.current)),Na=Math.max(Na,0),Na}var Yi=Tr<=0,mi=Tr>=Ni,va=Ee(Yi,mi);function zn(Ri){var Na=Ri;st(Na)}function fn(Ri){var Na=Ri.currentTarget.scrollTop;Na!==Tr&&st(Na),gr==null||gr(Ri)}var $n=de(Dt,Yi,mi,function(Ri){st(function(Na){var Un=Na+Ri;return Un})}),Cn=Ar($n,2),ki=Cn[0],In=Cn[1];rt(Dt,Ta,function(Ri,Na){return va(Ri,Na)?!1:(ki({preventDefault:function(){},deltaY:Ri}),!0)}),Object(x.useLayoutEffect)(function(){function Ri(Na){Dt&&Na.preventDefault()}return Ta.current.addEventListener("wheel",ki),Ta.current.addEventListener("DOMMouseScroll",In),Ta.current.addEventListener("MozMousePixelScroll",Ri),function(){Ta.current.removeEventListener("wheel",ki),Ta.current.removeEventListener("DOMMouseScroll",In),Ta.current.removeEventListener("MozMousePixelScroll",Ri)}},[Dt]);var na=Re(Ta,la,Bn,ir,Xe,sr,st,function(){var Ri;(Ri=Me.current)===null||Ri===void 0||Ri.delayHidden()});x.useImperativeHandle(mt,function(){return{scrollTo:na}}),Object(x.useLayoutEffect)(function(){if(Mt){var Ri=la.slice(Br,Vn+1);Mt(Ri,la)}},[Br,Vn,la]);var Ei=Be(la,Br,Vn,Vr,Fn,Qe),pi=null;return gt&&(pi=He(kt({},er?"height":"maxHeight",gt),br),Dt&&(pi.overflowY="hidden",di&&(pi.pointerEvents="none"))),x.createElement("div",bt({style:He(He({},Wr),{},{position:"relative"}),className:Fi},rr),x.createElement(mr,{className:"".concat(ze,"-holder"),style:pi,ref:Ta,onScroll:fn},x.createElement(X,{prefixCls:ze,height:rn,offset:gi,onInnerResize:sr,ref:dt},Ei)),Dt&&x.createElement(ke,{ref:Me,prefixCls:ze,scrollTop:Tr,height:gt,scrollHeight:rn,count:la.length,onScroll:zn,onStartMove:function(){Ti(!0)},onStopMove:function(){Ti(!1)}}))}var Tn=x.forwardRef(Sr);Tn.displayName="List";var cn=Tn,Kn=R.a=cn},"+rIm":function(j,R,l){var x=l("bYtY"),b=x.retrieve,A=x.defaults,f=x.extend,t=x.each,e=l("7aKB"),m=l("IwbS"),d=l("Qxkt"),a=l("OELB"),n=a.isRadianAroundZero,s=a.remRadian,c=l("oVpE"),i=c.createSymbol,u=l("Fofx"),r=l("QBsz"),o=r.applyTransform,h=l("aX7z"),p=h.shouldShowAllLabels,g=Math.PI,v=function(k,W){this.opt=W,this.axisModel=k,A(W,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new m.Group;var z=new m.Group({position:W.position.slice(),rotation:W.rotation});z.updateTransform(),this._transform=z.transform,this._dumbGroup=z};v.prototype={constructor:v,hasBuilder:function(k){return!!y[k]},add:function(k){y[k].call(this)},getGroup:function(){return this.group}};var y={axisLine:function(){var k=this.opt,W=this.axisModel;if(!W.get("axisLine.show"))return;var z=this.axisModel.axis.getExtent(),K=this._transform,P=[z[0],0],G=[z[1],0];K&&(o(P,P,K),o(G,G,K));var V=f({lineCap:"round"},W.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new m.Line({anid:"line",subPixelOptimize:!0,shape:{x1:P[0],y1:P[1],x2:G[0],y2:G[1]},style:V,strokeContainThreshold:k.strokeContainThreshold||5,silent:!0,z2:1}));var q=W.get("axisLine.symbol"),re=W.get("axisLine.symbolSize"),ce=W.get("axisLine.symbolOffset")||0;if(typeof ce=="number"&&(ce=[ce,ce]),q!=null){typeof q=="string"&&(q=[q,q]),(typeof re=="string"||typeof re=="number")&&(re=[re,re]);var ie=re[0],fe=re[1];t([{rotate:k.rotation+Math.PI/2,offset:ce[0],r:0},{rotate:k.rotation-Math.PI/2,offset:ce[1],r:Math.sqrt((P[0]-G[0])*(P[0]-G[0])+(P[1]-G[1])*(P[1]-G[1]))}],function(xe,Se){if(q[Se]!=="none"&&q[Se]!=null){var ke=i(q[Se],-ie/2,-fe/2,ie,fe,V.stroke,!0),ge=xe.r+xe.offset,Be=[P[0]+ge*Math.cos(k.rotation),P[1]-ge*Math.sin(k.rotation)];ke.attr({rotation:xe.rotate,position:Be,silent:!0,z2:11}),this.group.add(ke)}},this)}},axisTickLabel:function(){var k=this.axisModel,W=this.opt,z=H(this,k,W),K=X(this,k,W);C(k,K,z),B(this,k,W)},axisName:function(){var k=this.opt,W=this.axisModel,z=b(k.axisName,W.get("name"));if(!z)return;var K=W.get("nameLocation"),P=k.nameDirection,G=W.getModel("nameTextStyle"),V=W.get("nameGap")||0,q=this.axisModel.axis.getExtent(),re=q[0]>q[1]?-1:1,ce=[K==="start"?q[0]-re*V:K==="end"?q[1]+re*V:(q[0]+q[1])/2,M(K)?k.labelOffset+P*V:0],ie,fe=W.get("nameRotate");fe!=null&&(fe=fe*g/180);var xe;M(K)?ie=S(k.rotation,fe!=null?fe:k.rotation,P):(ie=_(k,K,fe||0,q),xe=k.axisNameAvailableWidth,xe!=null&&(xe=Math.abs(xe/Math.sin(ie.rotation)),!isFinite(xe)&&(xe=null)));var Se=G.getFont(),ke=W.get("nameTruncate",!0)||{},ge=ke.ellipsis,Be=b(k.nameTruncateMaxWidth,ke.maxWidth,xe),ee=ge!=null&&Be!=null?e.truncateText(z,Be,Se,ge,{minChar:2,placeholder:ke.placeholder}):z,ue=W.get("tooltip",!0),Ge=W.mainType,ae={componentType:Ge,name:z,$vars:["name"]};ae[Ge+"Index"]=W.componentIndex;var Z=new m.Text({anid:"name",__fullText:z,__truncatedText:ee,position:ce,rotation:ie.rotation,silent:I(W),z2:1,tooltip:ue&&ue.show?f({content:z,formatter:function(){return z},formatterParams:ae},ue):null});m.setTextStyle(Z.style,G,{text:ee,textFont:Se,textFill:G.getTextColor()||W.get("axisLine.lineStyle.color"),textAlign:G.get("align")||ie.textAlign,textVerticalAlign:G.get("verticalAlign")||ie.textVerticalAlign}),W.get("triggerEvent")&&(Z.eventData=w(W),Z.eventData.targetType="axisName",Z.eventData.name=z),this._dumbGroup.add(Z),Z.updateTransform(),this.group.add(Z),Z.decomposeTransform()}},w=v.makeAxisEventDataBase=function(k){var W={componentType:k.mainType,componentIndex:k.componentIndex};return W[k.mainType+"Index"]=k.componentIndex,W},S=v.innerTextLayout=function(k,W,z){var K=s(W-k),P,G;return n(K)?(G=z>0?"top":"bottom",P="center"):n(K-g)?(G=z>0?"bottom":"top",P="center"):(G="middle",K>0&&K0?"right":"left":P=z>0?"left":"right"),{rotation:K,textAlign:P,textVerticalAlign:G}};function _(k,W,z,K){var P=s(z-k.rotation),G,V,q=K[0]>K[1],re=W==="start"&&!q||W!=="start"&&q;return n(P-g/2)?(V=re?"bottom":"top",G="center"):n(P-g*1.5)?(V=re?"top":"bottom",G="center"):(V="middle",Pg/2?G=re?"left":"right":G=re?"right":"left"),{rotation:P,textAlign:G,textVerticalAlign:V}}var I=v.isLabelSilent=function(k){var W=k.get("tooltip");return k.get("silent")||!(k.get("triggerEvent")||W&&W.show)};function C(k,W,z){if(p(k.axis))return;var K=k.get("axisLabel.showMinLabel"),P=k.get("axisLabel.showMaxLabel");W=W||[],z=z||[];var G=W[0],V=W[1],q=W[W.length-1],re=W[W.length-2],ce=z[0],ie=z[1],fe=z[z.length-1],xe=z[z.length-2];K===!1?(E(G),E(ce)):O(G,V)&&(K?(E(V),E(ie)):(E(G),E(ce))),P===!1?(E(q),E(fe)):O(re,q)&&(P?(E(re),E(xe)):(E(q),E(fe)))}function E(k){k&&(k.ignore=!0)}function O(k,W,z){var K=k&&k.getBoundingRect().clone(),P=W&&W.getBoundingRect().clone();if(!K||!P)return;var G=u.identity([]);return u.rotate(G,G,-k.rotation),K.applyTransform(u.mul([],G,k.getLocalTransform())),P.applyTransform(u.mul([],G,W.getLocalTransform())),K.intersect(P)}function M(k){return k==="middle"||k==="center"}function F(k,W,z,K,P){for(var G=[],V=[],q=[],re=0;rer}function K(me){var be=me.length-1;return be<0&&(be=0),[me[0],me[be]]}function P(me,be,Re,it){var yt=new t.Group;return yt.add(new t.Rect({name:"main",style:re(Re),silent:!0,draggable:!0,cursor:"move",drift:d(me,be,yt,"nswe"),ondragend:d(W,be,{isEnd:!0})})),a(it,function(pt){yt.add(new t.Rect({name:pt,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:d(me,be,yt,pt),ondragend:d(W,be,{isEnd:!0})}))}),yt}function G(me,be,Re,it){var yt=it.brushStyle.lineWidth||0,pt=c(yt,o),Pe=Re[0][0],Nt=Re[1][0],ut=Pe-yt/2,Ft=Nt-yt/2,Ut=Re[0][1],Wt=Re[1][1],$t=Ut-pt+yt/2,or=Wt-pt+yt/2,ht=Ut-Pe,Ee=Wt-Nt,de=ht+yt,qe=Ee+yt;q(me,be,"main",Pe,Nt,ht,Ee),it.transformable&&(q(me,be,"w",ut,Ft,pt,qe),q(me,be,"e",$t,Ft,pt,qe),q(me,be,"n",ut,Ft,de,pt),q(me,be,"s",ut,or,de,pt),q(me,be,"nw",ut,Ft,pt,pt),q(me,be,"ne",$t,Ft,pt,pt),q(me,be,"sw",ut,or,pt,pt),q(me,be,"se",$t,or,pt,pt))}function V(me,be){var Re=be.__brushOption,it=Re.transformable,yt=be.childAt(0);yt.useStyle(re(Re)),yt.attr({silent:!it,cursor:it?"move":"default"}),a(["w","e","n","s","se","sw","ne","nw"],function(pt){var Pe=be.childOfName(pt),Nt=fe(me,pt);Pe&&Pe.attr({silent:!it,invisible:!it,cursor:it?g[Nt]+"-resize":null})})}function q(me,be,Re,it,yt,pt,Pe){var Nt=be.childOfName(Re);Nt&&Nt.setShape(Be(ge(me,be,[[it,yt],[it+pt,yt+Pe]])))}function re(me){return A.defaults({strokeNoScale:!0},me.brushStyle)}function ce(me,be,Re,it){var yt=[s(me,Re),s(be,it)],pt=[c(me,Re),c(be,it)];return[[yt[0],pt[0]],[yt[1],pt[1]]]}function ie(me){return t.getTransform(me.group)}function fe(me,be){if(be.length>1){be=be.split("");var Re=[fe(me,be[0]),fe(me,be[1])];return(Re[0]==="e"||Re[0]==="w")&&Re.reverse(),Re.join("")}else{var it={w:"left",e:"right",n:"top",s:"bottom"},yt={left:"w",right:"e",top:"n",bottom:"s"},Re=t.transformDirection(it[be],ie(me));return yt[Re]}}function xe(me,be,Re,it,yt,pt,Pe,Nt){var ut=it.__brushOption,Ft=me(ut.range),Ut=ke(Re,pt,Pe);a(yt.split(""),function(Wt){var $t=p[Wt];Ft[$t[0]][$t[1]]+=Ut[$t[0]]}),ut.range=be(ce(Ft[0][0],Ft[1][0],Ft[0][1],Ft[1][1])),H(Re,it),W(Re,{isEnd:!1})}function Se(me,be,Re,it,yt){var pt=be.__brushOption.range,Pe=ke(me,Re,it);a(pt,function(Nt){Nt[0]+=Pe[0],Nt[1]+=Pe[1]}),H(me,be),W(me,{isEnd:!1})}function ke(me,be,Re){var it=me.group,yt=it.transformCoordToLocal(be,Re),pt=it.transformCoordToLocal(0,0);return[yt[0]-pt[0],yt[1]-pt[1]]}function ge(me,be,Re){var it=J(me,be);return it&&it!==!0?it.clipPath(Re,me._transform):A.clone(Re)}function Be(me){var be=s(me[0][0],me[1][0]),Re=s(me[0][1],me[1][1]),it=c(me[0][0],me[1][0]),yt=c(me[0][1],me[1][1]);return{x:be,y:Re,width:it-be,height:yt-Re}}function ee(me,be,Re){if(!me._brushType||we(me,be))return;var it=me._zr,yt=me._covers,pt=X(me,be,Re);if(!me._dragging)for(var Pe=0;Peit.getWidth()||Re<0||Re>it.getHeight()}var pe={lineX:De(0),lineY:De(1),rect:{createCover:function(me,be){return P(d(xe,function(Re){return Re},function(Re){return Re}),me,be,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(me){var be=K(me);return ce(be[1][0],be[1][1],be[0][0],be[0][1])},updateCoverShape:function(me,be,Re,it){G(me,be,Re,it)},updateCommon:V,contain:Ge},polygon:{createCover:function(me,be){var Re=new t.Group;return Re.add(new t.Polyline({name:"main",style:re(be),silent:!0})),Re},getCreatingRange:function(me){return me},endCreating:function(me,be){be.remove(be.childAt(0)),be.add(new t.Polygon({name:"main",draggable:!0,drift:d(Se,me,be),ondragend:d(W,me,{isEnd:!0})}))},updateCoverShape:function(me,be,Re,it){be.childAt(0).setShape({points:ge(me,be,Re)})},updateCommon:V,contain:Ge}};function De(me){return{createCover:function(be,Re){return P(d(xe,function(it){var yt=[it,[0,100]];return me&&yt.reverse(),yt},function(it){return it[me]}),be,Re,[["w","e"],["n","s"]][me])},getCreatingRange:function(be){var Re=K(be),it=s(Re[0][me],Re[1][me]),yt=c(Re[0][me],Re[1][me]);return[it,yt]},updateCoverShape:function(be,Re,it,yt){var pt,Pe=J(be,Re);if(Pe!==!0&&Pe.getLinearBrushOtherExtent)pt=Pe.getLinearBrushOtherExtent(me,be._transform);else{var Nt=be._zr;pt=[0,[Nt.getWidth(),Nt.getHeight()][1-me]]}var ut=[it,pt];me&&ut.reverse(),G(be,Re,ut,yt)},updateCommon:V,contain:Ge}}var Ne=w;j.exports=Ne},"/MfK":function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="DeleteOutlined";var m=R.a=b.forwardRef(e)},"/POA":function(j,R,l){!function(x,b){if(!0)j.exports=b();else var A,f}(window,function(){return function(x){var b={};function A(f){if(b[f])return b[f].exports;var t=b[f]={i:f,l:!1,exports:{}};return x[f].call(t.exports,t,t.exports,A),t.l=!0,t.exports}return A.m=x,A.c=b,A.d=function(f,t,e){A.o(f,t)||Object.defineProperty(f,t,{enumerable:!0,get:e})},A.r=function(f){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},A.t=function(f,t){if(1&t&&(f=A(f)),8&t)return f;if(4&t&&typeof f=="object"&&f&&f.__esModule)return f;var e=Object.create(null);if(A.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:f}),2&t&&typeof f!="string")for(var m in f)A.d(e,m,function(d){return f[d]}.bind(null,m));return e},A.n=function(f){var t=f&&f.__esModule?function(){return f.default}:function(){return f};return A.d(t,"a",t),t},A.o=function(f,t){return Object.prototype.hasOwnProperty.call(f,t)},A.p="",A(A.s=34)}([function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.forwardEvent=b.EventEmitter=void 0;var f=function(){function t(){this._listeners=[],this._disposed=!1}return Object.defineProperty(t.prototype,"event",{get:function(){var m=this;return this._event||(this._event=function(d){return m._listeners.push(d),{dispose:function(){if(!m._disposed){for(var n=0;n>22},s.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?e.stringFromCodePoint(2097151&this.content):""},s.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},s.prototype.setFromCharData=function(c){this.fg=c[m.CHAR_DATA_ATTR_INDEX],this.bg=0;var i=!1;if(c[m.CHAR_DATA_CHAR_INDEX].length>2)i=!0;else if(c[m.CHAR_DATA_CHAR_INDEX].length===2){var u=c[m.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=u&&u<=56319){var r=c[m.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=r&&r<=57343?this.content=1024*(u-55296)+r-56320+65536|c[m.CHAR_DATA_WIDTH_INDEX]<<22:i=!0}else i=!0}else this.content=c[m.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|c[m.CHAR_DATA_WIDTH_INDEX]<<22;i&&(this.combinedData=c[m.CHAR_DATA_CHAR_INDEX],this.content=2097152|c[m.CHAR_DATA_WIDTH_INDEX]<<22)},s.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},s}(d.AttributeData);b.CellData=a},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.ISoundService=b.ISelectionService=b.IRenderService=b.IMouseService=b.ICoreBrowserService=b.ICharSizeService=void 0;var f=A(14);b.ICharSizeService=f.createDecorator("CharSizeService"),b.ICoreBrowserService=f.createDecorator("CoreBrowserService"),b.IMouseService=f.createDecorator("MouseService"),b.IRenderService=f.createDecorator("RenderService"),b.ISelectionService=f.createDecorator("SelectionService"),b.ISoundService=f.createDecorator("SoundService")},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.ExtendedAttrs=b.AttributeData=void 0;var f=function(){function e(){this.fg=0,this.bg=0,this.extended=new t}return e.toColorRGB=function(m){return[m>>>16&255,m>>>8&255,255&m]},e.fromColorRGB=function(m){return(255&m[0])<<16|(255&m[1])<<8|255&m[2]},e.prototype.clone=function(){var m=new e;return m.fg=this.fg,m.bg=this.bg,m.extended=this.extended.clone(),m},e.prototype.isInverse=function(){return 67108864&this.fg},e.prototype.isBold=function(){return 134217728&this.fg},e.prototype.isUnderline=function(){return 268435456&this.fg},e.prototype.isBlink=function(){return 536870912&this.fg},e.prototype.isInvisible=function(){return 1073741824&this.fg},e.prototype.isItalic=function(){return 67108864&this.bg},e.prototype.isDim=function(){return 134217728&this.bg},e.prototype.getFgColorMode=function(){return 50331648&this.fg},e.prototype.getBgColorMode=function(){return 50331648&this.bg},e.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},e.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},e.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},e.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},e.prototype.isFgDefault=function(){return(50331648&this.fg)==0},e.prototype.isBgDefault=function(){return(50331648&this.bg)==0},e.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},e.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},e.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},e.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},e.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},e.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},e.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},e.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},e.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},e.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},e.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},e}();b.AttributeData=f;var t=function(){function e(m,d){m===void 0&&(m=0),d===void 0&&(d=-1),this.underlineStyle=m,this.underlineColor=d}return e.prototype.clone=function(){return new e(this.underlineStyle,this.underlineColor)},e.prototype.isEmpty=function(){return this.underlineStyle===0},e}();b.ExtendedAttrs=t},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.addDisposableDomListener=void 0,b.addDisposableDomListener=function(f,t,e,m){f.addEventListener(t,e,m);var d=!1;return{dispose:function(){d||(d=!0,f.removeEventListener(t,e,m))}}}},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.Utf8ToUtf32=b.StringToUtf32=b.utf32ToString=b.stringFromCodePoint=void 0,b.stringFromCodePoint=function(e){return e>65535?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)},b.utf32ToString=function(e,m,d){m===void 0&&(m=0),d===void 0&&(d=e.length);for(var a="",n=m;n65535?(s-=65536,a+=String.fromCharCode(55296+(s>>10))+String.fromCharCode(s%1024+56320)):a+=String.fromCharCode(s)}return a};var f=function(){function e(){this._interim=0}return e.prototype.clear=function(){this._interim=0},e.prototype.decode=function(m,d){var a=m.length;if(!a)return 0;var n=0,s=0;this._interim&&(56320<=(u=m.charCodeAt(s++))&&u<=57343?d[n++]=1024*(this._interim-55296)+u-56320+65536:(d[n++]=this._interim,d[n++]=u),this._interim=0);for(var c=s;c=a)return this._interim=i,n;var u;56320<=(u=m.charCodeAt(c))&&u<=57343?d[n++]=1024*(i-55296)+u-56320+65536:(d[n++]=i,d[n++]=u)}else d[n++]=i}return n},e}();b.StringToUtf32=f;var t=function(){function e(){this.interim=new Uint8Array(3)}return e.prototype.clear=function(){this.interim.fill(0)},e.prototype.decode=function(m,d){var a=m.length;if(!a)return 0;var n,s,c,i,u=0,r=0,o=0;if(this.interim[0]){var h=!1,p=this.interim[0];p&=(224&p)==192?31:(240&p)==224?15:7;for(var g=0,v=void 0;(v=63&this.interim[++g])&&g<4;)p<<=6,p|=v;for(var y=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,w=y-g;o=a)return 0;if((192&(v=m[o++]))!=128){o--,h=!0;break}this.interim[g++]=v,p<<=6,p|=63&v}h||(y===2?p<128?o--:d[u++]=p:y===3?p<2048||p>=55296&&p<=57343||(d[u++]=p):p<65536||p>1114111||(d[u++]=p)),this.interim.fill(0)}for(var S=a-4,_=o;_=a)return this.interim[0]=n,u;if((192&(s=m[_++]))!=128){_--;continue}if((r=(31&n)<<6|63&s)<128){_--;continue}d[u++]=r}else if((240&n)==224){if(_>=a)return this.interim[0]=n,u;if((192&(s=m[_++]))!=128){_--;continue}if(_>=a)return this.interim[0]=n,this.interim[1]=s,u;if((192&(c=m[_++]))!=128){_--;continue}if((r=(15&n)<<12|(63&s)<<6|63&c)<2048||r>=55296&&r<=57343)continue;d[u++]=r}else if((248&n)==240){if(_>=a)return this.interim[0]=n,u;if((192&(s=m[_++]))!=128){_--;continue}if(_>=a)return this.interim[0]=n,this.interim[1]=s,u;if((192&(c=m[_++]))!=128){_--;continue}if(_>=a)return this.interim[0]=n,this.interim[1]=s,this.interim[2]=c,u;if((192&(i=m[_++]))!=128){_--;continue}if((r=(7&n)<<18|(63&s)<<12|(63&c)<<6|63&i)<65536||r>1114111)continue;d[u++]=r}}return u},e}();b.Utf8ToUtf32=t},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.CHAR_ATLAS_CELL_SPACING=b.DIM_OPACITY=b.INVERTED_DEFAULT_COLOR=void 0,b.INVERTED_DEFAULT_COLOR=257,b.DIM_OPACITY=.5,b.CHAR_ATLAS_CELL_SPACING=1},function(x,b,A){"use strict";var f,t,e,m;function d(n){var s=n.toString(16);return s.length<2?"0"+s:s}function a(n,s){return n>>0}}(f=b.channels||(b.channels={})),(t=b.color||(b.color={})).blend=function(n,s){var c=(255&s.rgba)/255;if(c===1)return{css:s.css,rgba:s.rgba};var i=s.rgba>>24&255,u=s.rgba>>16&255,r=s.rgba>>8&255,o=n.rgba>>24&255,h=n.rgba>>16&255,p=n.rgba>>8&255,g=o+Math.round((i-o)*c),v=h+Math.round((u-h)*c),y=p+Math.round((r-p)*c);return{css:f.toCss(g,v,y),rgba:f.toRgba(g,v,y)}},t.isOpaque=function(n){return(255&n.rgba)==255},t.ensureContrastRatio=function(n,s,c){var i=m.ensureContrastRatio(n.rgba,s.rgba,c);if(i)return m.toColor(i>>24&255,i>>16&255,i>>8&255)},t.opaque=function(n){var s=(255|n.rgba)>>>0,c=m.toChannels(s),i=c[0],u=c[1],r=c[2];return{css:f.toCss(i,u,r),rgba:s}},t.opacity=function(n,s){var c=Math.round(255*s),i=m.toChannels(n.rgba),u=i[0],r=i[1],o=i[2];return{css:f.toCss(u,r,o,c),rgba:f.toRgba(u,r,o,c)}},(b.css||(b.css={})).toColor=function(n){switch(n.length){case 7:return{css:n,rgba:(parseInt(n.slice(1),16)<<8|255)>>>0};case 9:return{css:n,rgba:parseInt(n.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(n){function s(c,i,u){var r=c/255,o=i/255,h=u/255;return .2126*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.0722*(h<=.03928?h/12.92:Math.pow((h+.055)/1.055,2.4))}n.relativeLuminance=function(c){return s(c>>16&255,c>>8&255,255&c)},n.relativeLuminance2=s}(e=b.rgb||(b.rgb={})),function(n){function s(i,u,r){for(var o=i>>24&255,h=i>>16&255,p=i>>8&255,g=u>>24&255,v=u>>16&255,y=u>>8&255,w=a(e.relativeLuminance2(g,y,v),e.relativeLuminance2(o,h,p));w0||v>0||y>0);)g-=Math.max(0,Math.ceil(.1*g)),v-=Math.max(0,Math.ceil(.1*v)),y-=Math.max(0,Math.ceil(.1*y)),w=a(e.relativeLuminance2(g,y,v),e.relativeLuminance2(o,h,p));return(g<<24|v<<16|y<<8|255)>>>0}function c(i,u,r){for(var o=i>>24&255,h=i>>16&255,p=i>>8&255,g=u>>24&255,v=u>>16&255,y=u>>8&255,w=a(e.relativeLuminance2(g,y,v),e.relativeLuminance2(o,h,p));w>>0}n.ensureContrastRatio=function(i,u,r){var o=e.relativeLuminance(i>>8),h=e.relativeLuminance(u>>8);if(a(o,h)>24&255,i>>16&255,i>>8&255,255&i]},n.toColor=function(i,u,r){return{css:f.toCss(i,u,r),rgba:f.toRgba(i,u,r)}}}(m=b.rgba||(b.rgba={})),b.toPaddedHex=d,b.contrastRatio=a},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.isLinux=b.isWindows=b.isIphone=b.isIpad=b.isMac=b.isSafari=b.isFirefox=void 0;var f=typeof navigator=="undefined",t=f?"node":navigator.userAgent,e=f?"node":navigator.platform;function m(d,a){return d.indexOf(a)>=0}b.isFirefox=!!~t.indexOf("Firefox"),b.isSafari=/^((?!chrome|android).)*safari/i.test(t),b.isMac=m(["Macintosh","MacIntel","MacPPC","Mac68K"],e),b.isIpad=e==="iPad",b.isIphone=e==="iPhone",b.isWindows=m(["Windows","Win16","Win32","WinCE"],e),b.isLinux=e.indexOf("Linux")>=0},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.C1=b.C0=void 0,function(f){f.NUL="\0",f.SOH="",f.STX="",f.ETX="",f.EOT="",f.ENQ="",f.ACK="",f.BEL="\x07",f.BS="\b",f.HT=" ",f.LF=` -`,f.VT="\v",f.FF="\f",f.CR="\r",f.SO="",f.SI="",f.DLE="",f.DC1="",f.DC2="",f.DC3="",f.DC4="",f.NAK="",f.SYN="",f.ETB="",f.CAN="",f.EM="",f.SUB="",f.ESC="",f.FS="",f.GS="",f.RS="",f.US="",f.SP=" ",f.DEL="\x7F"}(b.C0||(b.C0={})),function(f){f.PAD="\x80",f.HOP="\x81",f.BPH="\x82",f.NBH="\x83",f.IND="\x84",f.NEL="\x85",f.SSA="\x86",f.ESA="\x87",f.HTS="\x88",f.HTJ="\x89",f.VTS="\x8A",f.PLD="\x8B",f.PLU="\x8C",f.RI="\x8D",f.SS2="\x8E",f.SS3="\x8F",f.DCS="\x90",f.PU1="\x91",f.PU2="\x92",f.STS="\x93",f.CCH="\x94",f.MW="\x95",f.SPA="\x96",f.EPA="\x97",f.SOS="\x98",f.SGCI="\x99",f.SCI="\x9A",f.CSI="\x9B",f.ST="\x9C",f.OSC="\x9D",f.PM="\x9E",f.APC="\x9F"}(b.C1||(b.C1={}))},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.BaseRenderLayer=void 0;var f=A(3),t=A(9),e=A(25),m=A(6),d=A(28),a=A(10),n=A(17),s=function(){function c(i,u,r,o,h,p,g,v){this._container=i,this._alpha=o,this._colors=h,this._rendererId=p,this._bufferService=g,this._optionsService=v,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+u+"-layer"),this._canvas.style.zIndex=r.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return c.prototype.dispose=function(){var i;n.removeElementFromParent(this._canvas),(i=this._charAtlas)===null||i===void 0||i.dispose()},c.prototype._initCanvas=function(){this._ctx=d.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},c.prototype.onOptionsChanged=function(){},c.prototype.onBlur=function(){},c.prototype.onFocus=function(){},c.prototype.onCursorMove=function(){},c.prototype.onGridChanged=function(i,u){},c.prototype.onSelectionChanged=function(i,u,r){r===void 0&&(r=!1)},c.prototype.setColors=function(i){this._refreshCharAtlas(i)},c.prototype._setTransparency=function(i){if(i!==this._alpha){var u=this._canvas;this._alpha=i,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,u),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},c.prototype._refreshCharAtlas=function(i){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=e.acquireCharAtlas(this._optionsService.options,this._rendererId,i,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},c.prototype.resize=function(i){this._scaledCellWidth=i.scaledCellWidth,this._scaledCellHeight=i.scaledCellHeight,this._scaledCharWidth=i.scaledCharWidth,this._scaledCharHeight=i.scaledCharHeight,this._scaledCharLeft=i.scaledCharLeft,this._scaledCharTop=i.scaledCharTop,this._canvas.width=i.scaledCanvasWidth,this._canvas.height=i.scaledCanvasHeight,this._canvas.style.width=i.canvasWidth+"px",this._canvas.style.height=i.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},c.prototype._fillCells=function(i,u,r,o){this._ctx.fillRect(i*this._scaledCellWidth,u*this._scaledCellHeight,r*this._scaledCellWidth,o*this._scaledCellHeight)},c.prototype._fillBottomLineAtCells=function(i,u,r){r===void 0&&(r=1),this._ctx.fillRect(i*this._scaledCellWidth,(u+1)*this._scaledCellHeight-window.devicePixelRatio-1,r*this._scaledCellWidth,window.devicePixelRatio)},c.prototype._fillLeftLineAtCell=function(i,u,r){this._ctx.fillRect(i*this._scaledCellWidth,u*this._scaledCellHeight,window.devicePixelRatio*r,this._scaledCellHeight)},c.prototype._strokeRectAtCell=function(i,u,r,o){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(i*this._scaledCellWidth+window.devicePixelRatio/2,u*this._scaledCellHeight+window.devicePixelRatio/2,r*this._scaledCellWidth-window.devicePixelRatio,o*this._scaledCellHeight-window.devicePixelRatio)},c.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},c.prototype._clearCells=function(i,u,r,o){this._alpha?this._ctx.clearRect(i*this._scaledCellWidth,u*this._scaledCellHeight,r*this._scaledCellWidth,o*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(i*this._scaledCellWidth,u*this._scaledCellHeight,r*this._scaledCellWidth,o*this._scaledCellHeight))},c.prototype._fillCharTrueColor=function(i,u,r){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(r),this._ctx.fillText(i.getChars(),u*this._scaledCellWidth+this._scaledCharLeft,r*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},c.prototype._drawChars=function(i,u,r){var o,h,p=this._getContrastColor(i);p||i.isFgRGB()||i.isBgRGB()?this._drawUncachedChars(i,u,r,p):(i.isInverse()?(o=i.isBgDefault()?t.INVERTED_DEFAULT_COLOR:i.getBgColor(),h=i.isFgDefault()?t.INVERTED_DEFAULT_COLOR:i.getFgColor()):(h=i.isBgDefault()?f.DEFAULT_COLOR:i.getBgColor(),o=i.isFgDefault()?f.DEFAULT_COLOR:i.getFgColor()),o+=this._optionsService.options.drawBoldTextInBrightColors&&i.isBold()&&o<8?8:0,this._currentGlyphIdentifier.chars=i.getChars()||f.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=i.getCode()||f.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=h,this._currentGlyphIdentifier.fg=o,this._currentGlyphIdentifier.bold=!!i.isBold(),this._currentGlyphIdentifier.dim=!!i.isDim(),this._currentGlyphIdentifier.italic=!!i.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,u*this._scaledCellWidth+this._scaledCharLeft,r*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(i,u,r))},c.prototype._drawUncachedChars=function(i,u,r,o){if(this._ctx.save(),this._ctx.font=this._getFont(!!i.isBold(),!!i.isItalic()),this._ctx.textBaseline="middle",i.isInverse())if(o)this._ctx.fillStyle=o.css;else if(i.isBgDefault())this._ctx.fillStyle=a.color.opaque(this._colors.background).css;else if(i.isBgRGB())this._ctx.fillStyle="rgb("+m.AttributeData.toColorRGB(i.getBgColor()).join(",")+")";else{var h=i.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&i.isBold()&&h<8&&(h+=8),this._ctx.fillStyle=this._colors.ansi[h].css}else if(o)this._ctx.fillStyle=o.css;else if(i.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(i.isFgRGB())this._ctx.fillStyle="rgb("+m.AttributeData.toColorRGB(i.getFgColor()).join(",")+")";else{var p=i.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&i.isBold()&&p<8&&(p+=8),this._ctx.fillStyle=this._colors.ansi[p].css}this._clipRow(r),i.isDim()&&(this._ctx.globalAlpha=t.DIM_OPACITY),this._ctx.fillText(i.getChars(),u*this._scaledCellWidth+this._scaledCharLeft,r*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},c.prototype._clipRow=function(i){this._ctx.beginPath(),this._ctx.rect(0,i*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},c.prototype._getFont=function(i,u){return(u?"italic":"")+" "+(i?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},c.prototype._getContrastColor=function(i){if(this._optionsService.options.minimumContrastRatio!==1){var u=this._colors.contrastCache.getColor(i.bg,i.fg);if(u!==void 0)return u||void 0;var r=i.getFgColor(),o=i.getFgColorMode(),h=i.getBgColor(),p=i.getBgColorMode(),g=!!i.isInverse(),v=!!i.isInverse();if(g){var y=r;r=h,h=y;var w=o;o=p,p=w}var S=this._resolveBackgroundRgba(p,h,g),_=this._resolveForegroundRgba(o,r,g,v),I=a.rgba.ensureContrastRatio(S,_,this._optionsService.options.minimumContrastRatio);if(I){var C={css:a.channels.toCss(I>>24&255,I>>16&255,I>>8&255),rgba:I};return this._colors.contrastCache.setColor(i.bg,i.fg,C),C}this._colors.contrastCache.setColor(i.bg,i.fg,null)}},c.prototype._resolveBackgroundRgba=function(i,u,r){switch(i){case 16777216:case 33554432:return this._colors.ansi[u].rgba;case 50331648:return u<<8;case 0:default:return r?this._colors.foreground.rgba:this._colors.background.rgba}},c.prototype._resolveForegroundRgba=function(i,u,r,o){switch(i){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&o&&u<8&&(u+=8),this._colors.ansi[u].rgba;case 50331648:return u<<8;case 0:default:return r?this._colors.background.rgba:this._colors.foreground.rgba}},c}();b.BaseRenderLayer=s},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.createDecorator=b.getServiceDependencies=b.serviceRegistry=void 0;function f(t,e,m){e.di$target===e?e.di$dependencies.push({id:t,index:m}):(e.di$dependencies=[{id:t,index:m}],e.di$target=e)}b.serviceRegistry=new Map,b.getServiceDependencies=function(t){return t.di$dependencies||[]},b.createDecorator=function(t){if(b.serviceRegistry.has(t))return b.serviceRegistry.get(t);var e=function m(d,a,n){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");f(m,d,n)};return e.toString=function(){return t},b.serviceRegistry.set(t,e),e}},function(x,b,A){"use strict";function f(t,e,m,d){if(m===void 0&&(m=0),d===void 0&&(d=t.length),m>=t.length)return t;m=(t.length+m)%t.length,d=d>=t.length?t.length:(t.length+d)%t.length;for(var a=m;a>22,2097152&s?this._combined[n].charCodeAt(this._combined[n].length-1):c]},a.prototype.set=function(n,s){this._data[3*n+1]=s[t.CHAR_DATA_ATTR_INDEX],s[t.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[n]=s[1],this._data[3*n+0]=2097152|n|s[t.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*n+0]=s[t.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|s[t.CHAR_DATA_WIDTH_INDEX]<<22},a.prototype.getWidth=function(n){return this._data[3*n+0]>>22},a.prototype.hasWidth=function(n){return 12582912&this._data[3*n+0]},a.prototype.getFg=function(n){return this._data[3*n+1]},a.prototype.getBg=function(n){return this._data[3*n+2]},a.prototype.hasContent=function(n){return 4194303&this._data[3*n+0]},a.prototype.getCodePoint=function(n){var s=this._data[3*n+0];return 2097152&s?this._combined[n].charCodeAt(this._combined[n].length-1):2097151&s},a.prototype.isCombined=function(n){return 2097152&this._data[3*n+0]},a.prototype.getString=function(n){var s=this._data[3*n+0];return 2097152&s?this._combined[n]:2097151&s?f.stringFromCodePoint(2097151&s):""},a.prototype.loadCell=function(n,s){var c=3*n;return s.content=this._data[c+0],s.fg=this._data[c+1],s.bg=this._data[c+2],2097152&s.content&&(s.combinedData=this._combined[n]),268435456&s.bg&&(s.extended=this._extendedAttrs[n]),s},a.prototype.setCell=function(n,s){2097152&s.content&&(this._combined[n]=s.combinedData),268435456&s.bg&&(this._extendedAttrs[n]=s.extended),this._data[3*n+0]=s.content,this._data[3*n+1]=s.fg,this._data[3*n+2]=s.bg},a.prototype.setCellFromCodePoint=function(n,s,c,i,u,r){268435456&u&&(this._extendedAttrs[n]=r),this._data[3*n+0]=s|c<<22,this._data[3*n+1]=i,this._data[3*n+2]=u},a.prototype.addCodepointToCell=function(n,s){var c=this._data[3*n+0];2097152&c?this._combined[n]+=f.stringFromCodePoint(s):(2097151&c?(this._combined[n]=f.stringFromCodePoint(2097151&c)+f.stringFromCodePoint(s),c&=-2097152,c|=2097152):c=s|1<<22,this._data[3*n+0]=c)},a.prototype.insertCells=function(n,s,c,i){if((n%=this.length)&&this.getWidth(n-1)===2&&this.setCellFromCodePoint(n-1,0,1,(i==null?void 0:i.fg)||0,(i==null?void 0:i.bg)||0,(i==null?void 0:i.extended)||new m.ExtendedAttrs),s=0;--r)this.setCell(n+s+r,this.loadCell(n+r,u));for(r=0;rthis.length){var c=new Uint32Array(3*n);this.length&&(3*n=n&&delete this._combined[r]}}else this._data=new Uint32Array(0),this._combined={};this.length=n}},a.prototype.fill=function(n){this._combined={},this._extendedAttrs={};for(var s=0;s=0;--n)if(4194303&this._data[3*n+0])return n+(this._data[3*n+0]>>22);return 0},a.prototype.copyCellsFrom=function(n,s,c,i,u){var r=n._data;if(u)for(var o=i-1;o>=0;o--)for(var h=0;h<3;h++)this._data[3*(c+o)+h]=r[3*(s+o)+h];else for(o=0;o=s&&(this._combined[g-s+c]=n._combined[g])}},a.prototype.translateToString=function(n,s,c){n===void 0&&(n=!1),s===void 0&&(s=0),c===void 0&&(c=this.length),n&&(c=Math.min(c,this.getTrimmedLength()));for(var i="";s>22||1}return i},a}();b.BufferLine=d},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.removeElementFromParent=void 0,b.removeElementFromParent=function(){for(var f,t=[],e=0;e24)return I.setWinLines||!1;switch(_){case 1:return!!I.restoreWin;case 2:return!!I.minimizeWin;case 3:return!!I.setWinPosition;case 4:return!!I.setWinSizePixels;case 5:return!!I.raiseWin;case 6:return!!I.lowerWin;case 7:return!!I.refreshWin;case 8:return!!I.setWinSizeChars;case 9:return!!I.maximizeWin;case 10:return!!I.fullscreenWin;case 11:return!!I.getWinState;case 13:return!!I.getWinPosition;case 14:return!!I.getWinSizePixels;case 15:return!!I.getScreenSizePixels;case 16:return!!I.getCellSizePixels;case 18:return!!I.getWinSizeChars;case 19:return!!I.getScreenSizeChars;case 20:return!!I.getIconTitle;case 21:return!!I.getWinTitle;case 22:return!!I.pushTitle;case 23:return!!I.popTitle;case 24:return!!I.setWinLines}return!1}!function(_){_[_.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",_[_.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(e=b.WindowsOptionsReportType||(b.WindowsOptionsReportType={}));var w=function(){function _(I,C,E,O){this._bufferService=I,this._coreService=C,this._logService=E,this._optionsService=O,this._data=new Uint32Array(0)}return _.prototype.hook=function(I){this._data=new Uint32Array(0)},_.prototype.put=function(I,C,E){this._data=s.concat(this._data,I.subarray(C,E))},_.prototype.unhook=function(I){if(I){var C=c.utf32ToString(this._data);switch(this._data=new Uint32Array(0),C){case'"q':return this._coreService.triggerDataEvent(m.C0.ESC+'P1$r0"q'+m.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(m.C0.ESC+'P1$r61;1"p'+m.C0.ESC+"\\");case"r":var E=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(m.C0.ESC+"P1$r"+E+m.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(m.C0.ESC+"P1$r0m"+m.C0.ESC+"\\");case" q":var O={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return O-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(m.C0.ESC+"P1$r"+O+" q"+m.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",C),this._coreService.triggerDataEvent(m.C0.ESC+"P0$r"+m.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},_}(),S=function(_){function I(C,E,O,M,F,H,B,X,J){J===void 0&&(J=new a.EscapeSequenceParser);var k=_.call(this)||this;k._bufferService=C,k._charsetService=E,k._coreService=O,k._dirtyRowService=M,k._logService=F,k._optionsService=H,k._coreMouseService=B,k._unicodeService=X,k._parser=J,k._parseBuffer=new Uint32Array(4096),k._stringDecoder=new c.StringToUtf32,k._utf8Decoder=new c.Utf8ToUtf32,k._workCell=new o.CellData,k._windowTitle="",k._iconName="",k._windowTitleStack=[],k._iconNameStack=[],k._curAttrData=i.DEFAULT_ATTR_DATA.clone(),k._eraseAttrDataInternal=i.DEFAULT_ATTR_DATA.clone(),k._onRequestBell=new u.EventEmitter,k._onRequestRefreshRows=new u.EventEmitter,k._onRequestReset=new u.EventEmitter,k._onRequestScroll=new u.EventEmitter,k._onRequestSyncScrollBar=new u.EventEmitter,k._onRequestWindowsOptionsReport=new u.EventEmitter,k._onA11yChar=new u.EventEmitter,k._onA11yTab=new u.EventEmitter,k._onCursorMove=new u.EventEmitter,k._onLineFeed=new u.EventEmitter,k._onScroll=new u.EventEmitter,k._onTitleChange=new u.EventEmitter,k.register(k._parser),k._parser.setCsiHandlerFallback(function(P,G){k._logService.debug("Unknown CSI code: ",{identifier:k._parser.identToString(P),params:G.toArray()})}),k._parser.setEscHandlerFallback(function(P){k._logService.debug("Unknown ESC code: ",{identifier:k._parser.identToString(P)})}),k._parser.setExecuteHandlerFallback(function(P){k._logService.debug("Unknown EXECUTE code: ",{code:P})}),k._parser.setOscHandlerFallback(function(P,G,V){k._logService.debug("Unknown OSC code: ",{identifier:P,action:G,data:V})}),k._parser.setDcsHandlerFallback(function(P,G,V){G==="HOOK"&&(V=V.toArray()),k._logService.debug("Unknown DCS code: ",{identifier:k._parser.identToString(P),action:G,payload:V})}),k._parser.setPrintHandler(function(P,G,V){return k.print(P,G,V)}),k._parser.setCsiHandler({final:"@"},function(P){return k.insertChars(P)}),k._parser.setCsiHandler({intermediates:" ",final:"@"},function(P){return k.scrollLeft(P)}),k._parser.setCsiHandler({final:"A"},function(P){return k.cursorUp(P)}),k._parser.setCsiHandler({intermediates:" ",final:"A"},function(P){return k.scrollRight(P)}),k._parser.setCsiHandler({final:"B"},function(P){return k.cursorDown(P)}),k._parser.setCsiHandler({final:"C"},function(P){return k.cursorForward(P)}),k._parser.setCsiHandler({final:"D"},function(P){return k.cursorBackward(P)}),k._parser.setCsiHandler({final:"E"},function(P){return k.cursorNextLine(P)}),k._parser.setCsiHandler({final:"F"},function(P){return k.cursorPrecedingLine(P)}),k._parser.setCsiHandler({final:"G"},function(P){return k.cursorCharAbsolute(P)}),k._parser.setCsiHandler({final:"H"},function(P){return k.cursorPosition(P)}),k._parser.setCsiHandler({final:"I"},function(P){return k.cursorForwardTab(P)}),k._parser.setCsiHandler({final:"J"},function(P){return k.eraseInDisplay(P)}),k._parser.setCsiHandler({prefix:"?",final:"J"},function(P){return k.eraseInDisplay(P)}),k._parser.setCsiHandler({final:"K"},function(P){return k.eraseInLine(P)}),k._parser.setCsiHandler({prefix:"?",final:"K"},function(P){return k.eraseInLine(P)}),k._parser.setCsiHandler({final:"L"},function(P){return k.insertLines(P)}),k._parser.setCsiHandler({final:"M"},function(P){return k.deleteLines(P)}),k._parser.setCsiHandler({final:"P"},function(P){return k.deleteChars(P)}),k._parser.setCsiHandler({final:"S"},function(P){return k.scrollUp(P)}),k._parser.setCsiHandler({final:"T"},function(P){return k.scrollDown(P)}),k._parser.setCsiHandler({final:"X"},function(P){return k.eraseChars(P)}),k._parser.setCsiHandler({final:"Z"},function(P){return k.cursorBackwardTab(P)}),k._parser.setCsiHandler({final:"`"},function(P){return k.charPosAbsolute(P)}),k._parser.setCsiHandler({final:"a"},function(P){return k.hPositionRelative(P)}),k._parser.setCsiHandler({final:"b"},function(P){return k.repeatPrecedingCharacter(P)}),k._parser.setCsiHandler({final:"c"},function(P){return k.sendDeviceAttributesPrimary(P)}),k._parser.setCsiHandler({prefix:">",final:"c"},function(P){return k.sendDeviceAttributesSecondary(P)}),k._parser.setCsiHandler({final:"d"},function(P){return k.linePosAbsolute(P)}),k._parser.setCsiHandler({final:"e"},function(P){return k.vPositionRelative(P)}),k._parser.setCsiHandler({final:"f"},function(P){return k.hVPosition(P)}),k._parser.setCsiHandler({final:"g"},function(P){return k.tabClear(P)}),k._parser.setCsiHandler({final:"h"},function(P){return k.setMode(P)}),k._parser.setCsiHandler({prefix:"?",final:"h"},function(P){return k.setModePrivate(P)}),k._parser.setCsiHandler({final:"l"},function(P){return k.resetMode(P)}),k._parser.setCsiHandler({prefix:"?",final:"l"},function(P){return k.resetModePrivate(P)}),k._parser.setCsiHandler({final:"m"},function(P){return k.charAttributes(P)}),k._parser.setCsiHandler({final:"n"},function(P){return k.deviceStatus(P)}),k._parser.setCsiHandler({prefix:"?",final:"n"},function(P){return k.deviceStatusPrivate(P)}),k._parser.setCsiHandler({intermediates:"!",final:"p"},function(P){return k.softReset(P)}),k._parser.setCsiHandler({intermediates:" ",final:"q"},function(P){return k.setCursorStyle(P)}),k._parser.setCsiHandler({final:"r"},function(P){return k.setScrollRegion(P)}),k._parser.setCsiHandler({final:"s"},function(P){return k.saveCursor(P)}),k._parser.setCsiHandler({final:"t"},function(P){return k.windowOptions(P)}),k._parser.setCsiHandler({final:"u"},function(P){return k.restoreCursor(P)}),k._parser.setCsiHandler({intermediates:"'",final:"}"},function(P){return k.insertColumns(P)}),k._parser.setCsiHandler({intermediates:"'",final:"~"},function(P){return k.deleteColumns(P)}),k._parser.setExecuteHandler(m.C0.BEL,function(){return k.bell()}),k._parser.setExecuteHandler(m.C0.LF,function(){return k.lineFeed()}),k._parser.setExecuteHandler(m.C0.VT,function(){return k.lineFeed()}),k._parser.setExecuteHandler(m.C0.FF,function(){return k.lineFeed()}),k._parser.setExecuteHandler(m.C0.CR,function(){return k.carriageReturn()}),k._parser.setExecuteHandler(m.C0.BS,function(){return k.backspace()}),k._parser.setExecuteHandler(m.C0.HT,function(){return k.tab()}),k._parser.setExecuteHandler(m.C0.SO,function(){return k.shiftOut()}),k._parser.setExecuteHandler(m.C0.SI,function(){return k.shiftIn()}),k._parser.setExecuteHandler(m.C1.IND,function(){return k.index()}),k._parser.setExecuteHandler(m.C1.NEL,function(){return k.nextLine()}),k._parser.setExecuteHandler(m.C1.HTS,function(){return k.tabSet()}),k._parser.setOscHandler(0,new p.OscHandler(function(P){k.setTitle(P),k.setIconName(P)})),k._parser.setOscHandler(1,new p.OscHandler(function(P){return k.setIconName(P)})),k._parser.setOscHandler(2,new p.OscHandler(function(P){return k.setTitle(P)})),k._parser.setEscHandler({final:"7"},function(){return k.saveCursor()}),k._parser.setEscHandler({final:"8"},function(){return k.restoreCursor()}),k._parser.setEscHandler({final:"D"},function(){return k.index()}),k._parser.setEscHandler({final:"E"},function(){return k.nextLine()}),k._parser.setEscHandler({final:"H"},function(){return k.tabSet()}),k._parser.setEscHandler({final:"M"},function(){return k.reverseIndex()}),k._parser.setEscHandler({final:"="},function(){return k.keypadApplicationMode()}),k._parser.setEscHandler({final:">"},function(){return k.keypadNumericMode()}),k._parser.setEscHandler({final:"c"},function(){return k.fullReset()}),k._parser.setEscHandler({final:"n"},function(){return k.setgLevel(2)}),k._parser.setEscHandler({final:"o"},function(){return k.setgLevel(3)}),k._parser.setEscHandler({final:"|"},function(){return k.setgLevel(3)}),k._parser.setEscHandler({final:"}"},function(){return k.setgLevel(2)}),k._parser.setEscHandler({final:"~"},function(){return k.setgLevel(1)}),k._parser.setEscHandler({intermediates:"%",final:"@"},function(){return k.selectDefaultCharset()}),k._parser.setEscHandler({intermediates:"%",final:"G"},function(){return k.selectDefaultCharset()});var W=function(G){z._parser.setEscHandler({intermediates:"(",final:G},function(){return k.selectCharset("("+G)}),z._parser.setEscHandler({intermediates:")",final:G},function(){return k.selectCharset(")"+G)}),z._parser.setEscHandler({intermediates:"*",final:G},function(){return k.selectCharset("*"+G)}),z._parser.setEscHandler({intermediates:"+",final:G},function(){return k.selectCharset("+"+G)}),z._parser.setEscHandler({intermediates:"-",final:G},function(){return k.selectCharset("-"+G)}),z._parser.setEscHandler({intermediates:".",final:G},function(){return k.selectCharset("."+G)}),z._parser.setEscHandler({intermediates:"/",final:G},function(){return k.selectCharset("/"+G)})},z=this;for(var K in d.CHARSETS)W(K);return k._parser.setEscHandler({intermediates:"#",final:"8"},function(){return k.screenAlignmentPattern()}),k._parser.setErrorHandler(function(P){return k._logService.error("Parsing error: ",P),P}),k._parser.setDcsHandler({intermediates:"$",final:"q"},new w(k._bufferService,k._coreService,k._logService,k._optionsService)),k}return t(I,_),Object.defineProperty(I.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),I.prototype.dispose=function(){_.prototype.dispose.call(this)},I.prototype.parse=function(C){var E=this._bufferService.buffer,O=E.x,M=E.y;if(this._logService.debug("parsing data",C),this._parseBuffer.length131072)for(var F=0;F0&&K.getWidth(H.x-1)===2&&K.setCellFromCodePoint(H.x-1,0,1,z.fg,z.bg,z.extended);for(var P=E;P=J){if(k){for(;H.x=this._bufferService.rows&&(H.y=this._bufferService.rows-1),H.lines.get(H.ybase+H.y).isWrapped=!0),K=H.lines.get(H.ybase+H.y)}else if(H.x=J-1,F===2)continue}if(W&&(K.insertCells(H.x,F,H.getNullCell(z),z),K.getWidth(J-1)===2&&K.setCellFromCodePoint(J-1,r.NULL_CELL_CODE,r.NULL_CELL_WIDTH,z.fg,z.bg,z.extended)),K.setCellFromCodePoint(H.x++,M,F,z.fg,z.bg,z.extended),F>0)for(;--F;)K.setCellFromCodePoint(H.x++,0,0,z.fg,z.bg,z.extended)}else K.getWidth(H.x-1)?K.addCodepointToCell(H.x-1,M):K.addCodepointToCell(H.x-2,M)}O-E>0&&(K.loadCell(H.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),H.x0&&K.getWidth(H.x)===0&&!K.hasContent(H.x)&&K.setCellFromCodePoint(H.x,0,1,z.fg,z.bg,z.extended),this._dirtyRowService.markDirty(H.y)},I.prototype.addCsiHandler=function(C,E){var O=this;return C.final!=="t"||C.prefix||C.intermediates?this._parser.addCsiHandler(C,E):this._parser.addCsiHandler(C,function(M){return!y(M.params[0],O._optionsService.options.windowOptions)||E(M)})},I.prototype.addDcsHandler=function(C,E){return this._parser.addDcsHandler(C,new g.DcsHandler(E))},I.prototype.addEscHandler=function(C,E){return this._parser.addEscHandler(C,E)},I.prototype.addOscHandler=function(C,E){return this._parser.addOscHandler(C,new p.OscHandler(E))},I.prototype.bell=function(){this._onRequestBell.fire()},I.prototype.lineFeed=function(){var C=this._bufferService.buffer;this._dirtyRowService.markDirty(C.y),this._optionsService.options.convertEol&&(C.x=0),C.y++,C.y===C.scrollBottom+1?(C.y--,this._onRequestScroll.fire(this._eraseAttrData())):C.y>=this._bufferService.rows&&(C.y=this._bufferService.rows-1),C.x>=this._bufferService.cols&&C.x--,this._dirtyRowService.markDirty(C.y),this._onLineFeed.fire()},I.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},I.prototype.backspace=function(){var C,E=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(E.x>0&&E.x--);if(this._restrictCursor(this._bufferService.cols),E.x>0)E.x--;else if(E.x===0&&E.y>E.scrollTop&&E.y<=E.scrollBottom&&((C=E.lines.get(E.ybase+E.y))===null||C===void 0?void 0:C.isWrapped)){E.lines.get(E.ybase+E.y).isWrapped=!1,E.y--,E.x=this._bufferService.cols-1;var O=E.lines.get(E.ybase+E.y);O.hasWidth(E.x)&&!O.hasContent(E.x)&&E.x--}this._restrictCursor()},I.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var C=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-C)}},I.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},I.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},I.prototype._restrictCursor=function(C){C===void 0&&(C=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(C,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},I.prototype._setCursor=function(C,E){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=C,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+E):(this._bufferService.buffer.x=C,this._bufferService.buffer.y=E),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},I.prototype._moveCursor=function(C,E){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+C,this._bufferService.buffer.y+E)},I.prototype.cursorUp=function(C){var E=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;E>=0?this._moveCursor(0,-Math.min(E,C.params[0]||1)):this._moveCursor(0,-(C.params[0]||1))},I.prototype.cursorDown=function(C){var E=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;E>=0?this._moveCursor(0,Math.min(E,C.params[0]||1)):this._moveCursor(0,C.params[0]||1)},I.prototype.cursorForward=function(C){this._moveCursor(C.params[0]||1,0)},I.prototype.cursorBackward=function(C){this._moveCursor(-(C.params[0]||1),0)},I.prototype.cursorNextLine=function(C){this.cursorDown(C),this._bufferService.buffer.x=0},I.prototype.cursorPrecedingLine=function(C){this.cursorUp(C),this._bufferService.buffer.x=0},I.prototype.cursorCharAbsolute=function(C){this._setCursor((C.params[0]||1)-1,this._bufferService.buffer.y)},I.prototype.cursorPosition=function(C){this._setCursor(C.length>=2?(C.params[1]||1)-1:0,(C.params[0]||1)-1)},I.prototype.charPosAbsolute=function(C){this._setCursor((C.params[0]||1)-1,this._bufferService.buffer.y)},I.prototype.hPositionRelative=function(C){this._moveCursor(C.params[0]||1,0)},I.prototype.linePosAbsolute=function(C){this._setCursor(this._bufferService.buffer.x,(C.params[0]||1)-1)},I.prototype.vPositionRelative=function(C){this._moveCursor(0,C.params[0]||1)},I.prototype.hVPosition=function(C){this.cursorPosition(C)},I.prototype.tabClear=function(C){var E=C.params[0];E===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:E===3&&(this._bufferService.buffer.tabs={})},I.prototype.cursorForwardTab=function(C){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var E=C.params[0]||1;E--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},I.prototype.cursorBackwardTab=function(C){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var E=C.params[0]||1,O=this._bufferService.buffer;E--;)O.x=O.prevStop()},I.prototype._eraseInBufferLine=function(C,E,O,M){M===void 0&&(M=!1);var F=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+C);F.replaceCells(E,O,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),M&&(F.isWrapped=!1)},I.prototype._resetBufferLine=function(C){var E=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+C);E.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),E.isWrapped=!1},I.prototype.eraseInDisplay=function(C){var E;switch(this._restrictCursor(),C.params[0]){case 0:for(E=this._bufferService.buffer.y,this._dirtyRowService.markDirty(E),this._eraseInBufferLine(E++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);E=this._bufferService.cols&&(this._bufferService.buffer.lines.get(E+1).isWrapped=!1);E--;)this._resetBufferLine(E);this._dirtyRowService.markDirty(0);break;case 2:for(E=this._bufferService.rows,this._dirtyRowService.markDirty(E-1);E--;)this._resetBufferLine(E);this._dirtyRowService.markDirty(0);break;case 3:var O=this._bufferService.buffer.lines.length-this._bufferService.rows;O>0&&(this._bufferService.buffer.lines.trimStart(O),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-O,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-O,0),this._onScroll.fire(0))}},I.prototype.eraseInLine=function(C){switch(this._restrictCursor(),C.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},I.prototype.insertLines=function(C){this._restrictCursor();var E=C.params[0]||1,O=this._bufferService.buffer;if(!(O.y>O.scrollBottom||O.yO.scrollBottom||O.yE.scrollBottom||E.yE.scrollBottom||E.yE.scrollBottom||E.yE.scrollBottom||E.y0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(m.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(m.C0.ESC+"[?6c"))},I.prototype.sendDeviceAttributesSecondary=function(C){C.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(m.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(m.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(C.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(m.C0.ESC+"[>83;40003;0c"))},I.prototype._is=function(C){return(this._optionsService.options.termName+"").indexOf(C)===0},I.prototype.setMode=function(C){for(var E=0;E=2||M[1]===2&&H+F>=5)break;M[1]&&(F=1)}while(++H+E5)&&(C=1),E.extended.underlineStyle=C,E.fg|=268435456,C===0&&(E.fg&=-268435457),E.updateExtended()},I.prototype.charAttributes=function(C){if(C.length===1&&C.params[0]===0)return this._curAttrData.fg=i.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=i.DEFAULT_ATTR_DATA.bg);for(var E,O=C.length,M=this._curAttrData,F=0;F=30&&E<=37?(M.fg&=-50331904,M.fg|=16777216|E-30):E>=40&&E<=47?(M.bg&=-50331904,M.bg|=16777216|E-40):E>=90&&E<=97?(M.fg&=-50331904,M.fg|=16777224|E-90):E>=100&&E<=107?(M.bg&=-50331904,M.bg|=16777224|E-100):E===0?(M.fg=i.DEFAULT_ATTR_DATA.fg,M.bg=i.DEFAULT_ATTR_DATA.bg):E===1?M.fg|=134217728:E===3?M.bg|=67108864:E===4?(M.fg|=268435456,this._processUnderline(C.hasSubParams(F)?C.getSubParams(F)[0]:1,M)):E===5?M.fg|=536870912:E===7?M.fg|=67108864:E===8?M.fg|=1073741824:E===2?M.bg|=134217728:E===21?this._processUnderline(2,M):E===22?(M.fg&=-134217729,M.bg&=-134217729):E===23?M.bg&=-67108865:E===24?M.fg&=-268435457:E===25?M.fg&=-536870913:E===27?M.fg&=-67108865:E===28?M.fg&=-1073741825:E===39?(M.fg&=-67108864,M.fg|=16777215&i.DEFAULT_ATTR_DATA.fg):E===49?(M.bg&=-67108864,M.bg|=16777215&i.DEFAULT_ATTR_DATA.bg):E===38||E===48||E===58?F+=this._extractColor(C,F,M):E===59?(M.extended=M.extended.clone(),M.extended.underlineColor=-1,M.updateExtended()):E===100?(M.fg&=-67108864,M.fg|=16777215&i.DEFAULT_ATTR_DATA.fg,M.bg&=-67108864,M.bg|=16777215&i.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",E)},I.prototype.deviceStatus=function(C){switch(C.params[0]){case 5:this._coreService.triggerDataEvent(m.C0.ESC+"[0n");break;case 6:var E=this._bufferService.buffer.y+1,O=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(m.C0.ESC+"["+E+";"+O+"R")}},I.prototype.deviceStatusPrivate=function(C){switch(C.params[0]){case 6:var E=this._bufferService.buffer.y+1,O=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(m.C0.ESC+"[?"+E+";"+O+"R")}},I.prototype.softReset=function(C){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=i.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},I.prototype.setCursorStyle=function(C){var E=C.params[0]||1;switch(E){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var O=E%2==1;this._optionsService.options.cursorBlink=O},I.prototype.setScrollRegion=function(C){var E,O=C.params[0]||1;(C.length<2||(E=C.params[1])>this._bufferService.rows||E===0)&&(E=this._bufferService.rows),E>O&&(this._bufferService.buffer.scrollTop=O-1,this._bufferService.buffer.scrollBottom=E-1,this._setCursor(0,0))},I.prototype.windowOptions=function(C){if(y(C.params[0],this._optionsService.options.windowOptions)){var E=C.length>1?C.params[1]:0;switch(C.params[0]){case 14:E!==2&&this._onRequestWindowsOptionsReport.fire(e.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(e.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(m.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:E!==0&&E!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),E!==0&&E!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:E!==0&&E!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),E!==0&&E!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},I.prototype.saveCursor=function(C){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},I.prototype.restoreCursor=function(C){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},I.prototype.setTitle=function(C){this._windowTitle=C,this._onTitleChange.fire(C)},I.prototype.setIconName=function(C){this._iconName=C},I.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},I.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},I.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},I.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,d.DEFAULT_CHARSET)},I.prototype.selectCharset=function(C){C.length===2?C[0]!=="/"&&this._charsetService.setgCharset(v[C[0]],d.CHARSETS[C[1]]||d.DEFAULT_CHARSET):this.selectDefaultCharset()},I.prototype.index=function(){this._restrictCursor();var C=this._bufferService.buffer;this._bufferService.buffer.y++,C.y===C.scrollBottom+1?(C.y--,this._onRequestScroll.fire(this._eraseAttrData())):C.y>=this._bufferService.rows&&(C.y=this._bufferService.rows-1),this._restrictCursor()},I.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},I.prototype.reverseIndex=function(){this._restrictCursor();var C=this._bufferService.buffer;if(C.y===C.scrollTop){var E=C.scrollBottom-C.scrollTop;C.lines.shiftElements(C.ybase+C.y,E,1),C.lines.set(C.ybase+C.y,C.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}else C.y--,this._restrictCursor()},I.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},I.prototype.reset=function(){this._curAttrData=i.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=i.DEFAULT_ATTR_DATA.clone()},I.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},I.prototype.setgLevel=function(C){this._charsetService.setgLevel(C)},I.prototype.screenAlignmentPattern=function(){var C=new o.CellData;C.content=1<<22|"E".charCodeAt(0),C.fg=this._curAttrData.fg,C.bg=this._curAttrData.bg;var E=this._bufferService.buffer;this._setCursor(0,0);for(var O=0;O256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(e),this.length=0,this._subParams=new Int32Array(m),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(e),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return t.fromArray=function(e){var m=new t;if(!e.length)return m;for(var d=e[0]instanceof Array?1:0;d>8,a=255&this._subParamsIdx[m];a-d>0&&e.push(Array.prototype.slice.call(this._subParams,d,a))}return e},t.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},t.prototype.addParam=function(e){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=e>2147483647?2147483647:e}},t.prototype.addSubParam=function(e){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=e>2147483647?2147483647:e,this._subParamsIdx[this.length-1]++}},t.prototype.hasSubParams=function(e){return(255&this._subParamsIdx[e])-(this._subParamsIdx[e]>>8)>0},t.prototype.getSubParams=function(e){var m=this._subParamsIdx[e]>>8,d=255&this._subParamsIdx[e];return d-m>0?this._subParams.subarray(m,d):null},t.prototype.getSubParamsAll=function(){for(var e={},m=0;m>8,a=255&this._subParamsIdx[m];a-d>0&&(e[m]=this._subParams.slice(d,a))}return e},t.prototype.addDigit=function(e){var m;if(!(this._rejectDigits||!(m=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var d=this._digitIsSub?this._subParams:this.params,a=d[m-1];d[m-1]=~a?Math.min(10*a+e,2147483647):e}},t}();b.Params=f},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.OscHandler=b.OscParser=void 0;var f=A(23),t=A(8),e=function(){function d(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return d.prototype.addHandler=function(a,n){this._handlers[a]===void 0&&(this._handlers[a]=[]);var s=this._handlers[a];return s.push(n),{dispose:function(){var i=s.indexOf(n);i!==-1&&s.splice(i,1)}}},d.prototype.setHandler=function(a,n){this._handlers[a]=[n]},d.prototype.clearHandler=function(a){this._handlers[a]&&delete this._handlers[a]},d.prototype.setHandlerFallback=function(a){this._handlerFb=a},d.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},d.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},d.prototype._start=function(){var a=this._handlers[this._id];if(a)for(var n=a.length-1;n>=0;n--)a[n].start();else this._handlerFb(this._id,"START")},d.prototype._put=function(a,n,s){var c=this._handlers[this._id];if(c)for(var i=c.length-1;i>=0;i--)c[i].put(a,n,s);else this._handlerFb(this._id,"PUT",t.utf32ToString(a,n,s))},d.prototype._end=function(a){var n=this._handlers[this._id];if(n){for(var s=n.length-1;s>=0&&n[s].end(a)===!1;s--);for(s--;s>=0;s--)n[s].end(!1)}else this._handlerFb(this._id,"END",a)},d.prototype.start=function(){this.reset(),this._id=-1,this._state=1},d.prototype.put=function(a,n,s){if(this._state!==3){if(this._state===1)for(;n0&&this._put(a,n,s)}},d.prototype.end=function(a){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(a)),this._id=-1,this._state=0)},d}();b.OscParser=e;var m=function(){function d(a){this._handler=a,this._data="",this._hitLimit=!1}return d.prototype.start=function(){this._data="",this._hitLimit=!1},d.prototype.put=function(a,n,s){this._hitLimit||(this._data+=t.utf32ToString(a,n,s),this._data.length>f.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},d.prototype.end=function(a){var n;return this._hitLimit?n=!1:a&&(n=this._handler(this._data)),this._data="",this._hitLimit=!1,n},d}();b.OscHandler=m},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.PAYLOAD_LIMIT=void 0,b.PAYLOAD_LIMIT=1e7},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.DcsHandler=b.DcsParser=void 0;var f=A(8),t=A(21),e=A(23),m=[],d=function(){function n(){this._handlers=Object.create(null),this._active=m,this._ident=0,this._handlerFb=function(){}}return n.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},n.prototype.addHandler=function(s,c){this._handlers[s]===void 0&&(this._handlers[s]=[]);var i=this._handlers[s];return i.push(c),{dispose:function(){var r=i.indexOf(c);r!==-1&&i.splice(r,1)}}},n.prototype.setHandler=function(s,c){this._handlers[s]=[c]},n.prototype.clearHandler=function(s){this._handlers[s]&&delete this._handlers[s]},n.prototype.setHandlerFallback=function(s){this._handlerFb=s},n.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=m,this._ident=0},n.prototype.hook=function(s,c){if(this.reset(),this._ident=s,this._active=this._handlers[s]||m,this._active.length)for(var i=this._active.length-1;i>=0;i--)this._active[i].hook(c);else this._handlerFb(this._ident,"HOOK",c)},n.prototype.put=function(s,c,i){if(this._active.length)for(var u=this._active.length-1;u>=0;u--)this._active[u].put(s,c,i);else this._handlerFb(this._ident,"PUT",f.utf32ToString(s,c,i))},n.prototype.unhook=function(s){if(this._active.length){for(var c=this._active.length-1;c>=0&&this._active[c].unhook(s)===!1;c--);for(c--;c>=0;c--)this._active[c].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",s);this._active=m,this._ident=0},n}();b.DcsParser=d;var a=function(){function n(s){this._handler=s,this._data="",this._hitLimit=!1}return n.prototype.hook=function(s){this._params=s.clone(),this._data="",this._hitLimit=!1},n.prototype.put=function(s,c,i){this._hitLimit||(this._data+=f.utf32ToString(s,c,i),this._data.length>e.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},n.prototype.unhook=function(s){var c;return this._hitLimit?c=!1:s&&(c=this._handler(this._data,this._params||new t.Params)),this._params=void 0,this._data="",this._hitLimit=!1,c},n}();b.DcsHandler=a},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.removeTerminalFromCache=b.acquireCharAtlas=void 0;var f=A(26),t=A(43),e=[];b.acquireCharAtlas=function(m,d,a,n,s){for(var c=f.generateConfig(n,s,m,a),i=0;i=0){if(f.configEquals(r.config,c))return r.atlas;r.ownedBy.length===1?(r.atlas.dispose(),e.splice(i,1)):r.ownedBy.splice(u,1);break}}for(i=0;i1)for(var w=this._getJoinedRanges(r,p,h,i,o),S=0;S1)for(w=this._getJoinedRanges(r,p,h,i,o),S=0;S=this._line.length))return h?(this._line.loadCell(o,h),h):this._line.loadCell(o,new f.CellData)},r.prototype.translateToString=function(o,h,p){return this._line.translateToString(o,h,p)},r}(),i=function(){function r(o){this._core=o}return r.prototype.registerCsiHandler=function(o,h){return this._core.addCsiHandler(o,function(p){return h(p.toArray())})},r.prototype.addCsiHandler=function(o,h){return this.registerCsiHandler(o,h)},r.prototype.registerDcsHandler=function(o,h){return this._core.addDcsHandler(o,function(p,g){return h(p,g.toArray())})},r.prototype.addDcsHandler=function(o,h){return this.registerDcsHandler(o,h)},r.prototype.registerEscHandler=function(o,h){return this._core.addEscHandler(o,h)},r.prototype.addEscHandler=function(o,h){return this.registerEscHandler(o,h)},r.prototype.registerOscHandler=function(o,h){return this._core.addOscHandler(o,h)},r.prototype.addOscHandler=function(o,h){return this.registerOscHandler(o,h)},r}(),u=function(){function r(o){this._core=o}return r.prototype.register=function(o){this._core.unicodeService.register(o)},Object.defineProperty(r.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(h){this._core.unicodeService.activeVersion=h},enumerable:!1,configurable:!0}),r}()},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(k,W){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,K){z.__proto__=K}||function(z,K){for(var P in K)K.hasOwnProperty(P)&&(z[P]=K[P])})(k,W)},function(J,k){function W(){this.constructor=J}f(J,k),J.prototype=k===null?Object.create(k):(W.prototype=k.prototype,new W)});Object.defineProperty(b,"__esModule",{value:!0}),b.Terminal=void 0;var e=A(36),m=A(37),d=A(38),a=A(12),n=A(19),s=A(40),c=A(50),i=A(51),u=A(11),r=A(7),o=A(18),h=A(54),p=A(55),g=A(56),v=A(57),y=A(59),w=A(0),S=A(16),_=A(27),I=A(60),C=A(5),E=A(61),O=A(62),M=A(63),F=A(64),H=A(65),B=typeof window!="undefined"?window.document:null,X=function(J){function k(W){W===void 0&&(W={});var z=J.call(this,W)||this;return z.browser=u,z._keyDownHandled=!1,z._onCursorMove=new w.EventEmitter,z._onKey=new w.EventEmitter,z._onRender=new w.EventEmitter,z._onSelectionChange=new w.EventEmitter,z._onTitleChange=new w.EventEmitter,z._onFocus=new w.EventEmitter,z._onBlur=new w.EventEmitter,z._onA11yCharEmitter=new w.EventEmitter,z._onA11yTabEmitter=new w.EventEmitter,z._setup(),z.linkifier=z._instantiationService.createInstance(c.Linkifier),z.linkifier2=z.register(z._instantiationService.createInstance(M.Linkifier2)),z.register(z._inputHandler.onRequestBell(function(){return z.bell()})),z.register(z._inputHandler.onRequestRefreshRows(function(K,P){return z.refresh(K,P)})),z.register(z._inputHandler.onRequestReset(function(){return z.reset()})),z.register(z._inputHandler.onRequestScroll(function(K,P){return z.scroll(K,P||void 0)})),z.register(z._inputHandler.onRequestWindowsOptionsReport(function(K){return z._reportWindowsOptions(K)})),z.register(w.forwardEvent(z._inputHandler.onCursorMove,z._onCursorMove)),z.register(w.forwardEvent(z._inputHandler.onTitleChange,z._onTitleChange)),z.register(w.forwardEvent(z._inputHandler.onA11yChar,z._onA11yCharEmitter)),z.register(w.forwardEvent(z._inputHandler.onA11yTab,z._onA11yTabEmitter)),z.register(z._bufferService.onResize(function(K){return z._afterResize(K.cols,K.rows)})),z}return t(k,J),Object.defineProperty(k.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),k.prototype.dispose=function(){var W,z,K;this._isDisposed||(J.prototype.dispose.call(this),(W=this._renderService)===null||W===void 0||W.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(K=(z=this.element)===null||z===void 0?void 0:z.parentNode)===null||K===void 0||K.removeChild(this.element))},k.prototype._setup=function(){J.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(k.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),k.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},k.prototype._updateOptions=function(W){var z,K,P,G;switch(J.prototype._updateOptions.call(this,W),W){case"fontFamily":case"fontSize":(z=this._renderService)===null||z===void 0||z.clear(),(K=this._charSizeService)===null||K===void 0||K.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(P=this.viewport)===null||P===void 0||P.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new g.AccessibilityManager(this,this._renderService)):((G=this._accessibilityManager)===null||G===void 0||G.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},k.prototype._onTextAreaFocus=function(W){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(a.C0.ESC+"[I"),this.updateCursorStyle(W),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},k.prototype.blur=function(){var W;return(W=this.textarea)===null||W===void 0?void 0:W.blur()},k.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(a.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},k.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var W=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),z=this._bufferService.buffer.y*W,K=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=K+"px",this.textarea.style.top=z+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=W+"px",this.textarea.style.lineHeight=W+"px",this.textarea.style.zIndex="-5"}},k.prototype._initGlobal=function(){var W=this;this._bindKeys(),this.register(r.addDisposableDomListener(this.element,"copy",function(K){W.hasSelection()&&d.copyHandler(K,W._selectionService)}));var z=function(P){return d.handlePasteEvent(P,W.textarea,W._coreService)};this.register(r.addDisposableDomListener(this.textarea,"paste",z)),this.register(r.addDisposableDomListener(this.element,"paste",z)),u.isFirefox?this.register(r.addDisposableDomListener(this.element,"mousedown",function(K){K.button===2&&d.rightClickHandler(K,W.textarea,W.screenElement,W._selectionService,W.options.rightClickSelectsWord)})):this.register(r.addDisposableDomListener(this.element,"contextmenu",function(K){d.rightClickHandler(K,W.textarea,W.screenElement,W._selectionService,W.options.rightClickSelectsWord)})),u.isLinux&&this.register(r.addDisposableDomListener(this.element,"auxclick",function(K){K.button===1&&d.moveTextAreaUnderMouseCursor(K,W.textarea,W.screenElement)}))},k.prototype._bindKeys=function(){var W=this;this.register(r.addDisposableDomListener(this.textarea,"keyup",function(z){return W._keyUp(z)},!0)),this.register(r.addDisposableDomListener(this.textarea,"keydown",function(z){return W._keyDown(z)},!0)),this.register(r.addDisposableDomListener(this.textarea,"keypress",function(z){return W._keyPress(z)},!0)),this.register(r.addDisposableDomListener(this.textarea,"compositionstart",function(){return W._compositionHelper.compositionstart()})),this.register(r.addDisposableDomListener(this.textarea,"compositionupdate",function(z){return W._compositionHelper.compositionupdate(z)})),this.register(r.addDisposableDomListener(this.textarea,"compositionend",function(){return W._compositionHelper.compositionend()})),this.register(this.onRender(function(){return W._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(z){return W._queueLinkification(z.start,z.end)}))},k.prototype.open=function(W){var z=this;if(!W)throw new Error("Terminal requires a parent element.");B.body.contains(W)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=W.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),W.appendChild(this.element);var K=B.createDocumentFragment();this._viewportElement=B.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),K.appendChild(this._viewportElement),this._viewportScrollArea=B.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=B.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=B.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),K.appendChild(this.screenElement),this.textarea=B.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",o.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(r.addDisposableDomListener(this.textarea,"focus",function(V){return z._onTextAreaFocus(V)})),this.register(r.addDisposableDomListener(this.textarea,"blur",function(){return z._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var P=this._instantiationService.createInstance(F.CoreBrowserService,this.textarea);this._instantiationService.setService(C.ICoreBrowserService,P),this._charSizeService=this._instantiationService.createInstance(E.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(C.ICharSizeService,this._charSizeService),this._compositionView=B.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(e.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(K),this._theme=this.options.theme||this._theme,this._colorManager=new _.ColorManager(B,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(V){return z._colorManager.onOptionsChange(V)})),this._colorManager.setTheme(this._theme);var G=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(I.RenderService,G,this.rows,this.screenElement)),this._instantiationService.setService(C.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(V){return z._onRender.fire(V)})),this.onResize(function(V){return z._renderService.resize(V.cols,V.rows)}),this._soundService=this._instantiationService.createInstance(h.SoundService),this._instantiationService.setService(C.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(O.MouseService),this._instantiationService.setService(C.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(m.Viewport,function(V,q){return z.scrollLines(V,q)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return z.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){z._renderService.onCursorMove(),z._syncTextArea()})),this.register(this.onResize(function(){return z._renderService.onResize(z.cols,z.rows)})),this.register(this.onBlur(function(){return z._renderService.onBlur()})),this.register(this.onFocus(function(){return z._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return z.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(i.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(C.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(V){return z.scrollLines(V.amount,V.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return z._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(V){return z._renderService.onSelectionChanged(V.start,V.end,V.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(V){z.textarea.value=V,z.textarea.focus(),z.textarea.select()})),this.register(this.onScroll(function(){z.viewport.syncScrollArea(),z._selectionService.refresh()})),this.register(r.addDisposableDomListener(this._viewportElement,"scroll",function(){return z._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(p.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return z._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(r.addDisposableDomListener(this.element,"mousedown",function(V){return z._selectionService.onMouseDown(V)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new g.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},k.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(s.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(v.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},k.prototype._setTheme=function(W){var z,K,P;this._theme=W,(z=this._colorManager)===null||z===void 0||z.setTheme(W),(K=this._renderService)===null||K===void 0||K.setColors(this._colorManager.colors),(P=this.viewport)===null||P===void 0||P.onThemeChange(this._colorManager.colors)},k.prototype.bindMouse=function(){var W=this,z=this,K=this.element;function P(ie){var fe,xe,Se=z._mouseService.getRawByteCoords(ie,z.screenElement,z.cols,z.rows);if(!Se)return!1;switch(ie.overrideType||ie.type){case"mousemove":xe=32,ie.buttons===void 0?(fe=3,ie.button!==void 0&&(fe=ie.button<3?ie.button:3)):fe=1&ie.buttons?0:4&ie.buttons?1:2&ie.buttons?2:3;break;case"mouseup":xe=0,fe=ie.button<3?ie.button:3;break;case"mousedown":xe=1,fe=ie.button<3?ie.button:3;break;case"wheel":ie.deltaY!==0&&(xe=ie.deltaY<0?0:1),fe=4;break;default:return!1}return!(xe===void 0||fe===void 0||fe>4)&&z._coreMouseService.triggerMouseEvent({col:Se.x-33,row:Se.y-33,button:fe,action:xe,ctrl:ie.ctrlKey,alt:ie.altKey,shift:ie.shiftKey})}var G={mouseup:null,wheel:null,mousedrag:null,mousemove:null},V=function(fe){return P(fe),fe.buttons||(W._document.removeEventListener("mouseup",G.mouseup),G.mousedrag&&W._document.removeEventListener("mousemove",G.mousedrag)),W.cancel(fe)},q=function(fe){return P(fe),fe.preventDefault(),W.cancel(fe)},re=function(fe){fe.buttons&&P(fe)},ce=function(fe){fe.buttons||P(fe)};this.register(this._coreMouseService.onProtocolChange(function(ie){ie?(W.optionsService.options.logLevel==="debug"&&W._logService.debug("Binding to mouse events:",W._coreMouseService.explainEvents(ie)),W.element.classList.add("enable-mouse-events"),W._selectionService.disable()):(W._logService.debug("Unbinding from mouse events."),W.element.classList.remove("enable-mouse-events"),W._selectionService.enable()),8&ie?G.mousemove||(K.addEventListener("mousemove",ce),G.mousemove=ce):(K.removeEventListener("mousemove",G.mousemove),G.mousemove=null),16&ie?G.wheel||(K.addEventListener("wheel",q,{passive:!1}),G.wheel=q):(K.removeEventListener("wheel",G.wheel),G.wheel=null),2&ie?G.mouseup||(G.mouseup=V):(W._document.removeEventListener("mouseup",G.mouseup),G.mouseup=null),4&ie?G.mousedrag||(G.mousedrag=re):(W._document.removeEventListener("mousemove",G.mousedrag),G.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(r.addDisposableDomListener(K,"mousedown",function(ie){if(ie.preventDefault(),W.focus(),W._coreMouseService.areMouseEventsActive&&!W._selectionService.shouldForceSelection(ie))return P(ie),G.mouseup&&W._document.addEventListener("mouseup",G.mouseup),G.mousedrag&&W._document.addEventListener("mousemove",G.mousedrag),W.cancel(ie)})),this.register(r.addDisposableDomListener(K,"wheel",function(ie){if(!G.wheel){if(!W.buffer.hasScrollback){var fe=W.viewport.getLinesScrolled(ie);if(fe===0)return;for(var xe=a.C0.ESC+(W._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(ie.deltaY<0?"A":"B"),Se="",ke=0;ke47)},k.prototype._keyUp=function(W){this._customKeyEventHandler&&this._customKeyEventHandler(W)===!1||(function(z){return z.keyCode===16||z.keyCode===17||z.keyCode===18}(W)||this.focus(),this.updateCursorStyle(W))},k.prototype._keyPress=function(W){var z;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(W)===!1)return!1;if(this.cancel(W),W.charCode)z=W.charCode;else if(W.which===null||W.which===void 0)z=W.keyCode;else{if(W.which===0||W.charCode===0)return!1;z=W.which}return!(!z||(W.altKey||W.ctrlKey||W.metaKey)&&!this._isThirdLevelShift(this.browser,W))&&(z=String.fromCharCode(z),this._onKey.fire({key:z,domEvent:W}),this._showCursor(),this._coreService.triggerDataEvent(z,!0),!0)},k.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},k.prototype.resize=function(W,z){W!==this.cols||z!==this.rows?J.prototype.resize.call(this,W,z):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},k.prototype._afterResize=function(W,z){var K,P;(K=this._charSizeService)===null||K===void 0||K.measure(),(P=this.viewport)===null||P===void 0||P.syncScrollArea(!0)},k.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var W=1;W=0;o--)(i=a[o])&&(r=(u<3?i(r):u>3?i(n,s,r):i(n,s))||r);return u>3&&r&&Object.defineProperty(n,s,r),r},t=this&&this.__param||function(a,n){return function(s,c){n(s,c,a)}};Object.defineProperty(b,"__esModule",{value:!0}),b.CompositionHelper=void 0;var e=A(5),m=A(1),d=function(){function a(n,s,c,i,u,r){this._textarea=n,this._compositionView=s,this._bufferService=c,this._optionsService=i,this._charSizeService=u,this._coreService=r,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(a.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),a.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},a.prototype.compositionupdate=function(n){var s=this;this._compositionView.textContent=n.data,this.updateCompositionElements(),setTimeout(function(){s._compositionPosition.end=s._textarea.value.length},0)},a.prototype.compositionend=function(){this._finalizeComposition(!0)},a.prototype.keydown=function(n){if(this._isComposing||this._isSendingComposition){if(n.keyCode===229)return!1;if(n.keyCode===16||n.keyCode===17||n.keyCode===18)return!1;this._finalizeComposition(!1)}return n.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},a.prototype._finalizeComposition=function(n){var s=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,n){var c={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(s._isSendingComposition){s._isSendingComposition=!1;var u=void 0;u=s._isComposing?s._textarea.value.substring(c.start,c.end):s._textarea.value.substring(c.start),s._coreService.triggerDataEvent(u,!0)}},0)}else{this._isSendingComposition=!1;var i=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(i,!0)}},a.prototype._handleAnyTextareaChanges=function(){var n=this,s=this._textarea.value;setTimeout(function(){if(!n._isComposing){var c=n._textarea.value.replace(s,"");c.length>0&&n._coreService.triggerDataEvent(c,!0)}},0)},a.prototype.updateCompositionElements=function(n){var s=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var c=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),i=this._bufferService.buffer.y*c,u=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=u+"px",this._compositionView.style.top=i+"px",this._compositionView.style.height=c+"px",this._compositionView.style.lineHeight=c+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var r=this._compositionView.getBoundingClientRect();this._textarea.style.left=u+"px",this._textarea.style.top=i+"px",this._textarea.style.width=r.width+"px",this._textarea.style.height=r.height+"px",this._textarea.style.lineHeight=r.height+"px"}n||setTimeout(function(){return s.updateCompositionElements(!0)},0)}},a=f([t(2,m.IBufferService),t(3,m.IOptionsService),t(4,e.ICharSizeService),t(5,m.ICoreService)],a)}();b.CompositionHelper=d},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(u,r){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,h){o.__proto__=h}||function(o,h){for(var p in h)h.hasOwnProperty(p)&&(o[p]=h[p])})(u,r)},function(i,u){function r(){this.constructor=i}f(i,u),i.prototype=u===null?Object.create(u):(r.prototype=u.prototype,new r)}),e=this&&this.__decorate||function(i,u,r,o){var h,p=arguments.length,g=p<3?u:o===null?o=Object.getOwnPropertyDescriptor(u,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(i,u,r,o);else for(var v=i.length-1;v>=0;v--)(h=i[v])&&(g=(p<3?h(g):p>3?h(u,r,g):h(u,r))||g);return p>3&&g&&Object.defineProperty(u,r,g),g},m=this&&this.__param||function(i,u){return function(r,o){u(r,o,i)}};Object.defineProperty(b,"__esModule",{value:!0}),b.Viewport=void 0;var d=A(2),a=A(7),n=A(5),s=A(1),c=function(i){function u(r,o,h,p,g,v,y){var w=i.call(this)||this;return w._scrollLines=r,w._viewportElement=o,w._scrollArea=h,w._bufferService=p,w._optionsService=g,w._charSizeService=v,w._renderService=y,w.scrollBarWidth=0,w._currentRowHeight=0,w._lastRecordedBufferLength=0,w._lastRecordedViewportHeight=0,w._lastRecordedBufferHeight=0,w._lastTouchY=0,w._lastScrollTop=0,w._wheelPartialScroll=0,w._refreshAnimationFrame=null,w._ignoreNextScrollEvent=!1,w.scrollBarWidth=w._viewportElement.offsetWidth-w._scrollArea.offsetWidth||15,w.register(a.addDisposableDomListener(w._viewportElement,"scroll",w._onScroll.bind(w))),setTimeout(function(){return w.syncScrollArea()},0),w}return t(u,i),u.prototype.onThemeChange=function(r){this._viewportElement.style.backgroundColor=r.background.css},u.prototype._refresh=function(r){var o=this;if(r)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return o._innerRefresh()}))},u.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var r=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==r&&(this._lastRecordedBufferHeight=r,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var o=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==o&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=o),this._refreshAnimationFrame=null},u.prototype.syncScrollArea=function(r){if(r===void 0&&(r=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(r);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var o=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===o&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(r)}else this._refresh(r)},u.prototype._onScroll=function(r){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var o=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(o,!0)}},u.prototype._bubbleScroll=function(r,o){var h=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(o<0&&this._viewportElement.scrollTop!==0||o>0&&h0?1:-1),this._wheelPartialScroll%=1):r.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(o*=this._bufferService.rows),o},u.prototype._applyScrollModifier=function(r,o){var h=this._optionsService.options.fastScrollModifier;return h==="alt"&&o.altKey||h==="ctrl"&&o.ctrlKey||h==="shift"&&o.shiftKey?r*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:r*this._optionsService.options.scrollSensitivity},u.prototype.onTouchStart=function(r){this._lastTouchY=r.touches[0].pageY},u.prototype.onTouchMove=function(r){var o=this._lastTouchY-r.touches[0].pageY;return this._lastTouchY=r.touches[0].pageY,o!==0&&(this._viewportElement.scrollTop+=o,this._bubbleScroll(r,o))},u=e([m(3,s.IBufferService),m(4,s.IOptionsService),m(5,n.ICharSizeService),m(6,n.IRenderService)],u)}(d.Disposable);b.Viewport=c},function(x,b,A){"use strict";function f(d){return d.replace(/\r?\n/g,"\r")}function t(d,a){return a?"[200~"+d+"[201~":d}function e(d,a,n){d=t(d=f(d),n.decPrivateModes.bracketedPasteMode),n.triggerDataEvent(d,!0),a.value=""}function m(d,a,n){var s=n.getBoundingClientRect(),c=d.clientX-s.left-10,i=d.clientY-s.top-10;a.style.width="20px",a.style.height="20px",a.style.left=c+"px",a.style.top=i+"px",a.style.zIndex="1000",a.focus()}Object.defineProperty(b,"__esModule",{value:!0}),b.rightClickHandler=b.moveTextAreaUnderMouseCursor=b.paste=b.handlePasteEvent=b.copyHandler=b.bracketTextForPaste=b.prepareTextForTerminal=void 0,b.prepareTextForTerminal=f,b.bracketTextForPaste=t,b.copyHandler=function(d,a){d.clipboardData&&d.clipboardData.setData("text/plain",a.selectionText),d.preventDefault()},b.handlePasteEvent=function(d,a,n){d.stopPropagation(),d.clipboardData&&e(d.clipboardData.getData("text/plain"),a,n)},b.paste=e,b.moveTextAreaUnderMouseCursor=m,b.rightClickHandler=function(d,a,n,s,c){m(d,a,n),c&&!s.isClickInSelection(d)&&s.selectWordAtCursor(d),a.value=s.selectionText,a.select()}},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(u,r){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,h){o.__proto__=h}||function(o,h){for(var p in h)h.hasOwnProperty(p)&&(o[p]=h[p])})(u,r)},function(i,u){function r(){this.constructor=i}f(i,u),i.prototype=u===null?Object.create(u):(r.prototype=u.prototype,new r)});Object.defineProperty(b,"__esModule",{value:!0}),b.EscapeSequenceParser=b.VT500_TRANSITION_TABLE=b.TransitionTable=void 0;var e=A(2),m=A(15),d=A(21),a=A(22),n=A(24),s=function(){function i(u){this.table=new Uint8Array(u)}return i.prototype.setDefault=function(u,r){m.fill(this.table,u<<4|r)},i.prototype.add=function(u,r,o,h){this.table[r<<8|u]=o<<4|h},i.prototype.addMany=function(u,r,o,h){for(var p=0;p1)throw new Error("only one byte as prefix supported");if((h=r.prefix.charCodeAt(0))&&60>h||h>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(r.intermediates){if(r.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var p=0;pg||g>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");h<<=8,h|=g}}if(r.final.length!==1)throw new Error("final must be a single byte");var v=r.final.charCodeAt(0);if(o[0]>v||v>o[1])throw new Error("final must be in range "+o[0]+" .. "+o[1]);return h<<=8,h|=v},u.prototype.identToString=function(r){for(var o=[];r;)o.push(String.fromCharCode(255&r)),r>>=8;return o.reverse().join("")},u.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},u.prototype.setPrintHandler=function(r){this._printHandler=r},u.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},u.prototype.addEscHandler=function(r,o){var h=this._identifier(r,[48,126]);this._escHandlers[h]===void 0&&(this._escHandlers[h]=[]);var p=this._escHandlers[h];return p.push(o),{dispose:function(){var v=p.indexOf(o);v!==-1&&p.splice(v,1)}}},u.prototype.setEscHandler=function(r,o){this._escHandlers[this._identifier(r,[48,126])]=[o]},u.prototype.clearEscHandler=function(r){this._escHandlers[this._identifier(r,[48,126])]&&delete this._escHandlers[this._identifier(r,[48,126])]},u.prototype.setEscHandlerFallback=function(r){this._escHandlerFb=r},u.prototype.setExecuteHandler=function(r,o){this._executeHandlers[r.charCodeAt(0)]=o},u.prototype.clearExecuteHandler=function(r){this._executeHandlers[r.charCodeAt(0)]&&delete this._executeHandlers[r.charCodeAt(0)]},u.prototype.setExecuteHandlerFallback=function(r){this._executeHandlerFb=r},u.prototype.addCsiHandler=function(r,o){var h=this._identifier(r);this._csiHandlers[h]===void 0&&(this._csiHandlers[h]=[]);var p=this._csiHandlers[h];return p.push(o),{dispose:function(){var v=p.indexOf(o);v!==-1&&p.splice(v,1)}}},u.prototype.setCsiHandler=function(r,o){this._csiHandlers[this._identifier(r)]=[o]},u.prototype.clearCsiHandler=function(r){this._csiHandlers[this._identifier(r)]&&delete this._csiHandlers[this._identifier(r)]},u.prototype.setCsiHandlerFallback=function(r){this._csiHandlerFb=r},u.prototype.addDcsHandler=function(r,o){return this._dcsParser.addHandler(this._identifier(r),o)},u.prototype.setDcsHandler=function(r,o){this._dcsParser.setHandler(this._identifier(r),o)},u.prototype.clearDcsHandler=function(r){this._dcsParser.clearHandler(this._identifier(r))},u.prototype.setDcsHandlerFallback=function(r){this._dcsParser.setHandlerFallback(r)},u.prototype.addOscHandler=function(r,o){return this._oscParser.addHandler(r,o)},u.prototype.setOscHandler=function(r,o){this._oscParser.setHandler(r,o)},u.prototype.clearOscHandler=function(r){this._oscParser.clearHandler(r)},u.prototype.setOscHandlerFallback=function(r){this._oscParser.setHandlerFallback(r)},u.prototype.setErrorHandler=function(r){this._errorHandler=r},u.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},u.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},u.prototype.parse=function(r,o){for(var h=0,p=0,g=this.currentState,v=this._oscParser,y=this._dcsParser,w=this._collect,S=this._params,_=this._transitions.table,I=0;I>4){case 2:for(var C=I+1;;++C){if(C>=o||(h=r[C])<32||h>126&&h<160){this._printHandler(r,I,C),I=C-1;break}if(++C>=o||(h=r[C])<32||h>126&&h<160){this._printHandler(r,I,C),I=C-1;break}if(++C>=o||(h=r[C])<32||h>126&&h<160){this._printHandler(r,I,C),I=C-1;break}if(++C>=o||(h=r[C])<32||h>126&&h<160){this._printHandler(r,I,C),I=C-1;break}}break;case 3:this._executeHandlers[h]?this._executeHandlers[h]():this._executeHandlerFb(h),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:I,code:h,currentState:g,collect:w,params:S,abort:!1}).abort)return;break;case 7:for(var E=this._csiHandlers[w<<8|h],O=E?E.length-1:-1;O>=0&&E[O](S)===!1;O--);O<0&&this._csiHandlerFb(w<<8|h,S),this.precedingCodepoint=0;break;case 8:do switch(h){case 59:S.addParam(0);break;case 58:S.addSubParam(-1);break;default:S.addDigit(h-48)}while(++I47&&h<60);I--;break;case 9:w<<=8,w|=h;break;case 10:for(var M=this._escHandlers[w<<8|h],F=M?M.length-1:-1;F>=0&&M[F]()===!1;F--);F<0&&this._escHandlerFb(w<<8|h),this.precedingCodepoint=0;break;case 11:S.reset(),S.addParam(0),w=0;break;case 12:y.hook(w<<8|h,S);break;case 13:for(var H=I+1;;++H)if(H>=o||(h=r[H])===24||h===26||h===27||h>127&&h<160){y.put(r,I,H),I=H-1;break}break;case 14:y.unhook(h!==24&&h!==26),h===27&&(p|=1),S.reset(),S.addParam(0),w=0,this.precedingCodepoint=0;break;case 4:v.start();break;case 5:for(var B=I+1;;B++)if(B>=o||(h=r[B])<32||h>127&&h<=159){v.put(r,I,B),I=B-1;break}break;case 6:v.end(h!==24&&h!==26),h===27&&(p|=1),S.reset(),S.addParam(0),w=0,this.precedingCodepoint=0}g=15&p}this._collect=w,this.currentState=g},u}(e.Disposable);b.EscapeSequenceParser=c},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(y,w){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,_){S.__proto__=_}||function(S,_){for(var I in _)_.hasOwnProperty(I)&&(S[I]=_[I])})(y,w)},function(v,y){function w(){this.constructor=v}f(v,y),v.prototype=y===null?Object.create(y):(w.prototype=y.prototype,new w)}),e=this&&this.__decorate||function(v,y,w,S){var _,I=arguments.length,C=I<3?y:S===null?S=Object.getOwnPropertyDescriptor(y,w):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")C=Reflect.decorate(v,y,w,S);else for(var E=v.length-1;E>=0;E--)(_=v[E])&&(C=(I<3?_(C):I>3?_(y,w,C):_(y,w))||C);return I>3&&C&&Object.defineProperty(y,w,C),C},m=this&&this.__param||function(v,y){return function(w,S){y(w,S,v)}};Object.defineProperty(b,"__esModule",{value:!0}),b.Renderer=void 0;var d=A(41),a=A(47),n=A(48),s=A(49),c=A(29),i=A(2),u=A(5),r=A(1),o=A(25),h=A(0),p=1,g=function(v){function y(w,S,_,I,C,E,O,M,F){var H=v.call(this)||this;H._colors=w,H._screenElement=S,H._bufferService=C,H._charSizeService=E,H._optionsService=O,H._id=p++,H._onRequestRedraw=new h.EventEmitter;var B=H._optionsService.options.allowTransparency;return H._characterJoinerRegistry=new c.CharacterJoinerRegistry(H._bufferService),H._renderLayers=[new d.TextRenderLayer(H._screenElement,0,H._colors,H._characterJoinerRegistry,B,H._id,H._bufferService,O),new a.SelectionRenderLayer(H._screenElement,1,H._colors,H._id,H._bufferService,O),new s.LinkRenderLayer(H._screenElement,2,H._colors,H._id,_,I,H._bufferService,O),new n.CursorRenderLayer(H._screenElement,3,H._colors,H._id,H._onRequestRedraw,H._bufferService,O,M,F)],H.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},H._devicePixelRatio=window.devicePixelRatio,H._updateDimensions(),H.onOptionsChanged(),H}return t(y,v),Object.defineProperty(y.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),y.prototype.dispose=function(){for(var w=0,S=this._renderLayers;w0&&S===w[0][0]){I=!0;var E=w.shift();_=new n.JoinedCellData(this._workCell,y.translateToString(!0,E[0],E[1]),E[1]-E[0]),C=E[1]-1}!I&&this._isOverlapping(_)&&Cthis._characterWidth;return this._ctx.restore(),this._characterOverlapCache[o]=h,h},u}(m.BaseRenderLayer);b.TextRenderLayer=c},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.GridCache=void 0;var f=function(){function t(){this.cache=[]}return t.prototype.resize=function(e,m){for(var d=0;d>>24,X=F.rgba>>>16&255,J=F.rgba>>>8&255,k=0;k=this.capacity)d=this._head,this._unlinkNode(d),delete this._map[d.key],d.key=e,d.value=m,this._map[e]=d;else{var a=this._nodePool;a.length>0?((d=a.pop()).key=e,d.value=m):d={prev:null,next:null,key:e,value:m},this._map[e]=d,this.size++}this._appendNode(d)},t}();b.LRUMap=f},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(d,a){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,s){n.__proto__=s}||function(n,s){for(var c in s)s.hasOwnProperty(c)&&(n[c]=s[c])})(d,a)},function(m,d){function a(){this.constructor=m}f(m,d),m.prototype=d===null?Object.create(d):(a.prototype=d.prototype,new a)});Object.defineProperty(b,"__esModule",{value:!0}),b.SelectionRenderLayer=void 0;var e=function(m){function d(a,n,s,c,i,u){var r=m.call(this,a,"selection",n,!0,s,c,i,u)||this;return r._clearState(),r}return t(d,m),d.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},d.prototype.resize=function(a){m.prototype.resize.call(this,a),this._clearState()},d.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},d.prototype.onSelectionChanged=function(a,n,s){if(this._didStateChange(a,n,s,this._bufferService.buffer.ydisp))if(this._clearAll(),a&&n){var c=a[1]-this._bufferService.buffer.ydisp,i=n[1]-this._bufferService.buffer.ydisp,u=Math.max(c,0),r=Math.min(i,this._bufferService.rows-1);if(!(u>=this._bufferService.rows||r<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,s){var o=a[0],h=n[0]-o,p=r-u+1;this._fillCells(o,u,h,p)}else{o=c===u?a[0]:0;var g=u===r?n[0]:this._bufferService.cols;this._fillCells(o,u,g-o,1);var v=Math.max(r-u-1,0);if(this._fillCells(0,u+1,this._bufferService.cols,v),u!==r){var y=i===r?n[0]:this._bufferService.cols;this._fillCells(0,r,y,1)}}this._state.start=[a[0],a[1]],this._state.end=[n[0],n[1]],this._state.columnSelectMode=s,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},d.prototype._didStateChange=function(a,n,s,c){return!this._areCoordinatesEqual(a,this._state.start)||!this._areCoordinatesEqual(n,this._state.end)||s!==this._state.columnSelectMode||c!==this._state.ydisp},d.prototype._areCoordinatesEqual=function(a,n){return!(!a||!n)&&a[0]===n[0]&&a[1]===n[1]},d}(A(13).BaseRenderLayer);b.SelectionRenderLayer=e},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(s,c){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var r in u)u.hasOwnProperty(r)&&(i[r]=u[r])})(s,c)},function(n,s){function c(){this.constructor=n}f(n,s),n.prototype=s===null?Object.create(s):(c.prototype=s.prototype,new c)});Object.defineProperty(b,"__esModule",{value:!0}),b.CursorRenderLayer=void 0;var e=A(13),m=A(4),d=function(n){function s(c,i,u,r,o,h,p,g,v){var y=n.call(this,c,"cursor",i,!0,u,r,h,p)||this;return y._onRequestRedraw=o,y._coreService=g,y._coreBrowserService=v,y._cell=new m.CellData,y._state={x:0,y:0,isFocused:!1,style:"",width:0},y._cursorRenderers={bar:y._renderBarCursor.bind(y),block:y._renderBlockCursor.bind(y),underline:y._renderUnderlineCursor.bind(y)},y}return t(s,n),s.prototype.resize=function(c){n.prototype.resize.call(this,c),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},s.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},s.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},s.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},s.prototype.onOptionsChanged=function(){var c,i=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new a(this._coreBrowserService.isFocused,function(){i._render(!0)})):((c=this._cursorBlinkStateManager)===null||c===void 0||c.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},s.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},s.prototype.onGridChanged=function(c,i){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},s.prototype._render=function(c){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var i=this._bufferService.buffer.ybase+this._bufferService.buffer.y,u=i-this._bufferService.buffer.ydisp;if(u<0||u>=this._bufferService.rows)this._clearCursor();else{var r=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(i).loadCell(r,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var o=this._optionsService.options.cursorStyle;return o&&o!=="block"?this._cursorRenderers[o](r,u,this._cell):this._renderBlurCursor(r,u,this._cell),this._ctx.restore(),this._state.x=r,this._state.y=u,this._state.isFocused=!1,this._state.style=o,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===r&&this._state.y===u&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](r,u,this._cell),this._ctx.restore(),this._state.x=r,this._state.y=u,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},s.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},s.prototype._renderBarCursor=function(c,i,u){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(c,i,this._optionsService.options.cursorWidth),this._ctx.restore()},s.prototype._renderBlockCursor=function(c,i,u){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(c,i,u.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(u,c,i),this._ctx.restore()},s.prototype._renderUnderlineCursor=function(c,i,u){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(c,i),this._ctx.restore()},s.prototype._renderBlurCursor=function(c,i,u){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(c,i,u.getWidth(),1),this._ctx.restore()},s}(e.BaseRenderLayer);b.CursorRenderLayer=d;var a=function(){function n(s,c){this._renderCallback=c,this.isCursorVisible=!0,s&&this._restartInterval()}return Object.defineProperty(n.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),n.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},n.prototype.restartBlinkAnimation=function(){var s=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){s._renderCallback(),s._animationFrame=void 0})))},n.prototype._restartInterval=function(s){var c=this;s===void 0&&(s=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(c._animationTimeRestarted){var i=600-(Date.now()-c._animationTimeRestarted);if(c._animationTimeRestarted=void 0,i>0)return void c._restartInterval(i)}c.isCursorVisible=!1,c._animationFrame=window.requestAnimationFrame(function(){c._renderCallback(),c._animationFrame=void 0}),c._blinkInterval=window.setInterval(function(){if(c._animationTimeRestarted){var u=600-(Date.now()-c._animationTimeRestarted);return c._animationTimeRestarted=void 0,void c._restartInterval(u)}c.isCursorVisible=!c.isCursorVisible,c._animationFrame=window.requestAnimationFrame(function(){c._renderCallback(),c._animationFrame=void 0})},600)},s)},n.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},n.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},n}()},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(s,c){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var r in u)u.hasOwnProperty(r)&&(i[r]=u[r])})(s,c)},function(n,s){function c(){this.constructor=n}f(n,s),n.prototype=s===null?Object.create(s):(c.prototype=s.prototype,new c)});Object.defineProperty(b,"__esModule",{value:!0}),b.LinkRenderLayer=void 0;var e=A(13),m=A(9),d=A(26),a=function(n){function s(c,i,u,r,o,h,p,g){var v=n.call(this,c,"link",i,!0,u,r,p,g)||this;return o.onShowLinkUnderline(function(y){return v._onShowLinkUnderline(y)}),o.onHideLinkUnderline(function(y){return v._onHideLinkUnderline(y)}),h.onShowLinkUnderline(function(y){return v._onShowLinkUnderline(y)}),h.onHideLinkUnderline(function(y){return v._onHideLinkUnderline(y)}),v}return t(s,n),s.prototype.resize=function(c){n.prototype.resize.call(this,c),this._state=void 0},s.prototype.reset=function(){this._clearCurrentLink()},s.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var c=this._state.y2-this._state.y1-1;c>0&&this._clearCells(0,this._state.y1+1,this._state.cols,c),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},s.prototype._onShowLinkUnderline=function(c){if(c.fg===m.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:c.fg&&d.is256Color(c.fg)?this._ctx.fillStyle=this._colors.ansi[c.fg].css:this._ctx.fillStyle=this._colors.foreground.css,c.y1===c.y2)this._fillBottomLineAtCells(c.x1,c.y1,c.x2-c.x1);else{this._fillBottomLineAtCells(c.x1,c.y1,c.cols-c.x1);for(var i=c.y1+1;i=0;h--)(u=n[h])&&(o=(r<3?u(o):r>3?u(s,c,o):u(s,c))||o);return r>3&&o&&Object.defineProperty(s,c,o),o},t=this&&this.__param||function(n,s){return function(c,i){s(c,i,n)}};Object.defineProperty(b,"__esModule",{value:!0}),b.MouseZone=b.Linkifier=void 0;var e=A(0),m=A(1),d=function(){function n(s,c,i){this._bufferService=s,this._logService=c,this._unicodeService=i,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new e.EventEmitter,this._onHideLinkUnderline=new e.EventEmitter,this._onLinkTooltip=new e.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(n.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),n.prototype.attachToDom=function(s,c){this._element=s,this._mouseZoneManager=c},n.prototype.linkifyRows=function(s,c){var i=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=s,this._rowsToLinkify.end=c):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,s),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,c)),this._mouseZoneManager.clearAll(s,c),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return i._linkifyRows()},n._timeBeforeLatency))},n.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var s=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var c=s.ydisp+this._rowsToLinkify.start;if(!(c>=s.lines.length)){for(var i=s.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,u=Math.ceil(2e3/this._bufferService.cols),r=this._bufferService.buffer.iterator(!1,c,i,u,u);r.hasNext();)for(var o=r.next(),h=0;h=0;c--)if(s.priority<=this._linkMatchers[c].priority)return void this._linkMatchers.splice(c+1,0,s);this._linkMatchers.splice(0,0,s)}else this._linkMatchers.push(s)},n.prototype.deregisterLinkMatcher=function(s){for(var c=0;c>9&511:void 0;i.validationCallback?i.validationCallback(y,function(C){r._rowsTimeoutId||C&&r._addLink(w[1],w[0]-r._bufferService.buffer.ydisp,y,i,I)}):g._addLink(w[1],w[0]-g._bufferService.buffer.ydisp,y,i,I)},g=this;(u=o.exec(c))!==null&&!(p()==="break"););},n.prototype._addLink=function(s,c,i,u,r){var o=this;if(this._mouseZoneManager&&this._element){var h=this._unicodeService.getStringCellWidth(i),p=s%this._bufferService.cols,g=c+Math.floor(s/this._bufferService.cols),v=(p+h)%this._bufferService.cols,y=g+Math.floor((p+h)/this._bufferService.cols);v===0&&(v=this._bufferService.cols,y--),this._mouseZoneManager.add(new a(p+1,g+1,v+1,y+1,function(w){if(u.handler)return u.handler(w,i);var S=window.open();S?(S.opener=null,S.location.href=i):console.warn("Opening link blocked as opener could not be cleared")},function(){o._onShowLinkUnderline.fire(o._createLinkHoverEvent(p,g,v,y,r)),o._element.classList.add("xterm-cursor-pointer")},function(w){o._onLinkTooltip.fire(o._createLinkHoverEvent(p,g,v,y,r)),u.hoverTooltipCallback&&u.hoverTooltipCallback(w,i,{start:{x:p,y:g},end:{x:v,y}})},function(){o._onHideLinkUnderline.fire(o._createLinkHoverEvent(p,g,v,y,r)),o._element.classList.remove("xterm-cursor-pointer"),u.hoverLeaveCallback&&u.hoverLeaveCallback()},function(w){return!u.willLinkActivate||u.willLinkActivate(w,i)}))}},n.prototype._createLinkHoverEvent=function(s,c,i,u,r){return{x1:s,y1:c,x2:i,y2:u,cols:this._bufferService.cols,fg:r}},n._timeBeforeLatency=200,n=f([t(0,m.IBufferService),t(1,m.ILogService),t(2,m.IUnicodeService)],n)}();b.Linkifier=d;var a=function(s,c,i,u,r,o,h,p,g){this.x1=s,this.y1=c,this.x2=i,this.y2=u,this.clickCallback=r,this.hoverCallback=o,this.tooltipCallback=h,this.leaveCallback=p,this.willLinkActivate=g};b.MouseZone=a},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(y,w){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,_){S.__proto__=_}||function(S,_){for(var I in _)_.hasOwnProperty(I)&&(S[I]=_[I])})(y,w)},function(v,y){function w(){this.constructor=v}f(v,y),v.prototype=y===null?Object.create(y):(w.prototype=y.prototype,new w)}),e=this&&this.__decorate||function(v,y,w,S){var _,I=arguments.length,C=I<3?y:S===null?S=Object.getOwnPropertyDescriptor(y,w):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")C=Reflect.decorate(v,y,w,S);else for(var E=v.length-1;E>=0;E--)(_=v[E])&&(C=(I<3?_(C):I>3?_(y,w,C):_(y,w))||C);return I>3&&C&&Object.defineProperty(y,w,C),C},m=this&&this.__param||function(v,y){return function(w,S){y(w,S,v)}};Object.defineProperty(b,"__esModule",{value:!0}),b.SelectionService=void 0;var d=A(11),a=A(52),n=A(4),s=A(0),c=A(5),i=A(1),u=A(30),r=A(53),o=A(2),h=String.fromCharCode(160),p=new RegExp(h,"g"),g=function(v){function y(w,S,_,I,C,E,O){var M=v.call(this)||this;return M._element=w,M._screenElement=S,M._bufferService=_,M._coreService=I,M._mouseService=C,M._optionsService=E,M._renderService=O,M._dragScrollAmount=0,M._enabled=!0,M._workCell=new n.CellData,M._mouseDownTimeStamp=0,M._onLinuxMouseSelection=M.register(new s.EventEmitter),M._onRedrawRequest=M.register(new s.EventEmitter),M._onSelectionChange=M.register(new s.EventEmitter),M._onRequestScrollLines=M.register(new s.EventEmitter),M._mouseMoveListener=function(F){return M._onMouseMove(F)},M._mouseUpListener=function(F){return M._onMouseUp(F)},M._coreService.onUserInput(function(){M.hasSelection&&M.clearSelection()}),M._trimListener=M._bufferService.buffer.lines.onTrim(function(F){return M._onTrim(F)}),M.register(M._bufferService.buffers.onBufferActivate(function(F){return M._onBufferActivate(F)})),M.enable(),M._model=new a.SelectionModel(M._bufferService),M._activeSelectionMode=0,M}return t(y,v),Object.defineProperty(y.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),y.prototype.dispose=function(){this._removeMouseDownListeners()},y.prototype.reset=function(){this.clearSelection()},y.prototype.disable=function(){this.clearSelection(),this._enabled=!1},y.prototype.enable=function(){this._enabled=!0},Object.defineProperty(y.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"hasSelection",{get:function(){var S=this._model.finalSelectionStart,_=this._model.finalSelectionEnd;return!(!S||!_)&&(S[0]!==_[0]||S[1]!==_[1])},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"selectionText",{get:function(){var S=this._model.finalSelectionStart,_=this._model.finalSelectionEnd;if(!S||!_)return"";var I=this._bufferService.buffer,C=[];if(this._activeSelectionMode===3){if(S[0]===_[0])return"";for(var E=S[1];E<=_[1];E++){var O=I.translateBufferLineToString(E,!0,S[0],_[0]);C.push(O)}}else{var M=S[1]===_[1]?_[0]:void 0;for(C.push(I.translateBufferLineToString(S[1],!0,S[0],M)),E=S[1]+1;E<=_[1]-1;E++){var F=I.lines.get(E);O=I.translateBufferLineToString(E,!0),F&&F.isWrapped?C[C.length-1]+=O:C.push(O)}S[1]!==_[1]&&(F=I.lines.get(_[1]),O=I.translateBufferLineToString(_[1],!0,0,_[0]),F&&F.isWrapped?C[C.length-1]+=O:C.push(O))}return C.map(function(H){return H.replace(p," ")}).join(d.isWindows?`\r +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+BJd":function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("6MrE"),f=l.n(A)},"+QRC":function(j,R,l){"use strict";var x=l("E9nw"),b={"text/plain":"Text","text/html":"Url",default:"Text"},A="Copy to clipboard: #{key}, Enter";function f(e){var m=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,m)}function t(e,m){var d,a,n,s,c,i,u=!1;m||(m={}),d=m.debug||!1;try{n=x(),s=document.createRange(),c=document.getSelection(),i=document.createElement("span"),i.textContent=e,i.style.all="unset",i.style.position="fixed",i.style.top=0,i.style.clip="rect(0, 0, 0, 0)",i.style.whiteSpace="pre",i.style.webkitUserSelect="text",i.style.MozUserSelect="text",i.style.msUserSelect="text",i.style.userSelect="text",i.addEventListener("copy",function(o){if(o.stopPropagation(),m.format)if(o.preventDefault(),typeof o.clipboardData=="undefined"){d&&console.warn("unable to use e.clipboardData"),d&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var h=b[m.format]||b.default;window.clipboardData.setData(h,e)}else o.clipboardData.clearData(),o.clipboardData.setData(m.format,e);m.onCopy&&(o.preventDefault(),m.onCopy(o.clipboardData))}),document.body.appendChild(i),s.selectNodeContents(i),c.addRange(s);var r=document.execCommand("copy");if(!r)throw new Error("copy command was unsuccessful");u=!0}catch(o){d&&console.error("unable to copy using execCommand: ",o),d&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(m.format||"text",e),m.onCopy&&m.onCopy(window.clipboardData),u=!0}catch(h){d&&console.error("unable to copy using clipboardData: ",h),d&&console.error("falling back to prompt"),a=f("message"in m?m.message:A),window.prompt(a,e)}}finally{c&&(typeof c.removeRange=="function"?c.removeRange(s):c.removeAllRanges()),i&&document.body.removeChild(i),n()}return u}j.exports=t},"+TT/":function(j,R,l){var x=l("bYtY"),b=l("mFDi"),A=l("OELB"),f=A.parsePercent,t=l("7aKB"),e=x.each,m=["left","right","top","bottom","width","height"],d=[["width","left","right"],["height","top","bottom"]];function a(v,y,w,S,_){var I=0,C=0;S==null&&(S=Infinity),_==null&&(_=Infinity);var E=0;y.eachChild(function(O,M){var F=O.position,H=O.getBoundingRect(),B=y.childAt(M+1),X=B&&B.getBoundingRect(),J,k;if(v==="horizontal"){var K=H.width+(X?-X.x+H.x:0);J=I+K,J>S||O.newline?(I=0,J=K,C+=E+w,E=H.height):E=Math.max(E,H.height)}else{var z=H.height+(X?-X.y+H.y:0);k=C+z,k>_||O.newline?(I+=E+w,C=0,k=z,E=H.width):E=Math.max(E,H.width)}if(O.newline)return;F[0]=I,F[1]=C,v==="horizontal"?I=J+w:C=k+w})}var n=a,s=x.curry(a,"vertical"),c=x.curry(a,"horizontal");function i(v,y,w){var S=y.width,_=y.height,I=f(v.x,S),C=f(v.y,_),E=f(v.x2,S),O=f(v.y2,_);return(isNaN(I)||isNaN(parseFloat(v.x)))&&(I=0),(isNaN(E)||isNaN(parseFloat(v.x2)))&&(E=S),(isNaN(C)||isNaN(parseFloat(v.y)))&&(C=0),(isNaN(O)||isNaN(parseFloat(v.y2)))&&(O=_),w=t.normalizeCssArray(w||0),{width:Math.max(E-I-w[1]-w[3],0),height:Math.max(O-C-w[0]-w[2],0)}}function u(v,y,w){w=t.normalizeCssArray(w||0);var S=y.width,_=y.height,I=f(v.left,S),C=f(v.top,_),E=f(v.right,S),O=f(v.bottom,_),M=f(v.width,S),F=f(v.height,_),H=w[2]+w[0],B=w[1]+w[3],X=v.aspect;isNaN(M)&&(M=S-E-B-I),isNaN(F)&&(F=_-O-H-C),X!=null&&(isNaN(M)&&isNaN(F)&&(X>S/_?M=S*.8:F=_*.8),isNaN(M)&&(M=X*F),isNaN(F)&&(F=M/X)),isNaN(I)&&(I=S-E-M-B),isNaN(C)&&(C=_-O-F-H);switch(v.left||v.right){case"center":I=S/2-M/2-w[3];break;case"right":I=S-M-B;break}switch(v.top||v.bottom){case"middle":case"center":C=_/2-F/2-w[0];break;case"bottom":C=_-F-H;break}I=I||0,C=C||0,isNaN(M)&&(M=S-B-I-(E||0)),isNaN(F)&&(F=_-H-C-(O||0));var J=new b(I+w[3],C+w[0],M,F);return J.margin=w,J}function r(v,y,w,S,_){var I=!_||!_.hv||_.hv[0],C=!_||!_.hv||_.hv[1],E=_&&_.boundingMode||"all";if(!I&&!C)return;var O;if(E==="raw")O=v.type==="group"?new b(0,0,+y.width||0,+y.height||0):v.getBoundingRect();else if(O=v.getBoundingRect(),v.needLocalTransform()){var M=v.getLocalTransform();O=O.clone(),O.applyTransform(M)}y=u(x.defaults({width:O.width,height:O.height},y),w,S);var F=v.position,H=I?y.x-O.x:0,B=C?y.y-O.y:0;v.attr("position",E==="raw"?[H,B]:[F[0]+H,F[1]+B])}function o(v,y){return v[d[y][0]]!=null||v[d[y][1]]!=null&&v[d[y][2]]!=null}function h(v,y,w){!x.isObject(w)&&(w={});var S=w.ignoreSize;!x.isArray(S)&&(S=[S,S]);var _=C(d[0],0),I=C(d[1],1);M(d[0],v,_),M(d[1],v,I);function C(F,H){var B={},X=0,J={},k=0,K=2;if(e(F,function(P){J[P]=v[P]}),e(F,function(P){E(y,P)&&(B[P]=J[P]=y[P]),O(B,P)&&X++,O(J,P)&&k++}),S[H])return O(y,F[1])?J[F[2]]=null:O(y,F[2])&&(J[F[1]]=null),J;if(k===K||!X)return J;if(X>=K)return B;for(var z=0;z2&&arguments[2]!==void 0?arguments[2]:"0",xr=String(ct);xr.length=12,Ai%=12);var Zr=d.useMemo(function(){if(!qn)return[!1,!1];var vi=[!0,!0];return bn.forEach(function(Li){var ji=Li.disabled,Sa=Li.value;if(ji)return;Sa>=12?vi[1]=!1:vi[0]=!1}),vi},[qn,bn]),hr=Object(z.a)(Zr,2),jr=hr[0],wr=hr[1],an=d.useMemo(function(){return qn?bn.filter(xa?function(vi){return vi.value>=12}:function(vi){return vi.value<12}).map(function(vi){var Li=vi.value%12,ji=Li===0?"12":it(Li,2);return Object(K.a)(Object(K.a)({},vi),{},{label:ji,value:Li})}):bn},[qn,bn]),Jr=$t(0,59,Zn,Ui&&Ui(Ai)),kn=$t(0,59,wi,ca&&ca(Ai,oa));xr.current={onUpDown:function(Li){var ji=Fa[Gr];if(ji)for(var Sa=ji.units.findIndex(function(vo){return vo.value===ji.value}),Ga=ji.units.length,Ya=1;Ya1&&(hn=Vt.addDate(hn,-7)),hn}function Gt(ct,Vt,Cr){var xr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Vt){case"year":return Cr.addYear(ct,xr*10);case"quarter":case"month":return Cr.addYear(ct,xr);default:return Cr.addMonth(ct,xr)}}var yr=d.createContext({}),br=yr;function Sr(ct){var Vt=ct.cellPrefixCls,Cr=ct.generateConfig,xr=ct.rangedValue,Gr=ct.hoverRangedValue,$r=ct.isInView,hn=ct.isSameCell,On=ct.offsetCell,Qn=ct.today,qn=ct.value;function si(oi){var Kn,Zn=On(oi,-1),ni=On(oi,1),wi=Nt(xr,0),Di=Nt(xr,1),Ui=Nt(Gr,0),ca=Nt(Gr,1),ia=et(Cr,Ui,ca,oi);function Ia(oa){return hn(wi,oa)}function Fa(oa){return hn(Di,oa)}var Aa=hn(Ui,oi),Ea=hn(ca,oi),xa=(ia||Ea)&&(!$r(Zn)||Fa(Zn)),Ai=(ia||Aa)&&(!$r(ni)||Ia(ni));return Kn={},Object(k.a)(Kn,"".concat(Vt,"-in-view"),$r(oi)),Object(k.a)(Kn,"".concat(Vt,"-in-range"),et(Cr,wi,Di,oi)),Object(k.a)(Kn,"".concat(Vt,"-range-start"),Ia(oi)),Object(k.a)(Kn,"".concat(Vt,"-range-end"),Fa(oi)),Object(k.a)(Kn,"".concat(Vt,"-range-start-single"),Ia(oi)&&!Di),Object(k.a)(Kn,"".concat(Vt,"-range-end-single"),Fa(oi)&&!wi),Object(k.a)(Kn,"".concat(Vt,"-range-start-near-hover"),Ia(oi)&&(hn(Zn,Ui)||et(Cr,Ui,ca,Zn))),Object(k.a)(Kn,"".concat(Vt,"-range-end-near-hover"),Fa(oi)&&(hn(ni,ca)||et(Cr,Ui,ca,ni))),Object(k.a)(Kn,"".concat(Vt,"-range-hover"),ia),Object(k.a)(Kn,"".concat(Vt,"-range-hover-start"),Aa),Object(k.a)(Kn,"".concat(Vt,"-range-hover-end"),Ea),Object(k.a)(Kn,"".concat(Vt,"-range-hover-edge-start"),xa),Object(k.a)(Kn,"".concat(Vt,"-range-hover-edge-end"),Ai),Object(k.a)(Kn,"".concat(Vt,"-range-hover-edge-start-near-range"),xa&&hn(Zn,Di)),Object(k.a)(Kn,"".concat(Vt,"-range-hover-edge-end-near-range"),Ai&&hn(ni,wi)),Object(k.a)(Kn,"".concat(Vt,"-today"),hn(Qn,oi)),Object(k.a)(Kn,"".concat(Vt,"-selected"),hn(qn,oi)),Kn}return si}function Tn(ct){for(var Vt=ct.prefixCls,Cr=ct.disabledDate,xr=ct.onSelect,Gr=ct.rowNum,$r=ct.colNum,hn=ct.prefixColumn,On=ct.rowClassName,Qn=ct.baseDate,qn=ct.getCellClassName,si=ct.getCellText,oi=ct.getCellNode,Kn=ct.getCellDate,Zn=ct.titleCell,ni=ct.headerCells,wi=d.useContext(q),Di=wi.onDateMouseEnter,Ui=wi.onDateMouseLeave,ca="".concat(Vt,"-cell"),ia=[],Ia=0;Ia2&&arguments[2]!==void 0?arguments[2]:!1;(Uo===wi||ll)&&(Mo(Ra),Ea&&Ea(Ra),Ga&&Ga(Ra,ho),xa&&!ot(On,Ra,za)&&xa(Ra))},Go=function(Ra){return to.current&&to.current.onKeyDown?([G.a.LEFT,G.a.RIGHT,G.a.UP,G.a.DOWN,G.a.PAGE_UP,G.a.PAGE_DOWN,G.a.ENTER].includes(Ra.which)&&Ra.preventDefault(),to.current.onKeyDown(Ra)):(Object(A.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},os=function(Ra){to.current&&to.current.onBlur&&to.current.onBlur(Ra)};ji&&Ha!=="right"&&(ji.current={onKeyDown:Go,onClose:function(){to.current&&to.current.onClose&&to.current.onClose()}}),d.useEffect(function(){Qn&&!Po.current&&ns(Qn)},[Qn]),d.useEffect(function(){Po.current=!1},[]);var Vs,xs=Object(K.a)(Object(K.a)({},ct),{},{operationRef:to,prefixCls:xr,viewDate:mo,value:za,onViewDateChange:Zo,sourceMode:Fs,onPanelChange:Wo,disabledDate:Uo!=="decade"?Kn:void 0});delete xs.onChange,delete xs.onSelect;switch(Uo){case"decade":Vs=d.createElement(sr,Object.assign({},xs,{onSelect:function(Ra,ho){Zo(Ra),Vo(Ra,ho)}}));break;case"year":Vs=d.createElement(Qe,Object.assign({},xs,{onSelect:function(Ra,ho){Zo(Ra),Vo(Ra,ho)}}));break;case"month":Vs=d.createElement(rr,Object.assign({},xs,{onSelect:function(Ra,ho){Zo(Ra),Vo(Ra,ho)}}));break;case"quarter":Vs=d.createElement(Gn,Object.assign({},xs,{onSelect:function(Ra,ho){Zo(Ra),Vo(Ra,ho)}}));break;case"week":Vs=d.createElement(en,Object.assign({},xs,{onSelect:function(Ra,ho){Zo(Ra),Vo(Ra,ho)}}));break;case"time":delete xs.showTime,Vs=d.createElement(qe,Object.assign({},xs,Object(P.a)(ia)==="object"?ia:null,{onSelect:function(Ra,ho){Zo(Ra),Vo(Ra,ho)}}));break;default:ia?Vs=d.createElement(er,Object.assign({},xs,{onSelect:function(Ra,ho){Zo(Ra),Vo(Ra,ho)}})):Vs=d.createElement($e,Object.assign({},xs,{onSelect:function(Ra,ho){Zo(Ra),Vo(Ra,ho)}}))}var Js,Bs,ks=function(){var Ra=On.getNow(),ho=Ut(On.getHour(Ra),On.getMinute(Ra),On.getSecond(Ra),Dn?hr:1,Xn?wr:1,vi?Jr:1),ll=Ft(On,Ra,ho[0],ho[1],ho[2]);Vo(ll,"submit")};Ya||(Js=Bn(xr,Uo,Fa),Bs=Er({prefixCls:xr,components:Qr,needConfirmButton:kn,okDisabled:!za||Kn&&Kn(za),locale:hn,showNow:ca,onNow:kn&&ks,onOk:function(){za&&(Vo(za,"submit",!0),Nr&&Nr(za))}}));var Jo;if(Ia&&Uo==="date"&&wi==="date"&&!ia){var bs=On.getNow(),Ho="".concat(xr,"-today-btn"),Ls=Kn&&Kn(bs);Jo=d.createElement("a",{className:_()(Ho,Ls&&"".concat(Ho,"-disabled")),"aria-disabled":Ls,onClick:function(){Ls||Vo(bs,"mouse",!0)}},hn.today)}return d.createElement(q.Provider,{value:Object(K.a)(Object(K.a)({},Li),{},{hideHeader:"hideHeader"in ct?Aa:Li.hideHeader,hidePrevBtn:po&&Ha==="right",hideNextBtn:po&&Ha==="left"})},d.createElement("div",{tabIndex:Ui,className:_()("".concat(xr,"-panel"),Gr,(Vt={},Object(k.a)(Vt,"".concat(xr,"-panel-has-range"),Oa&&Oa[0]&&Oa[1]),Object(k.a)(Vt,"".concat(xr,"-panel-has-range-hover"),ao&&ao[0]&&ao[1]),Object(k.a)(Vt,"".concat(xr,"-panel-rtl"),bn==="rtl"),Vt)),style:$r,onKeyDown:Go,onBlur:os,onMouseDown:oa,ref:Sa},Vs,Js||Bs||Jo?d.createElement("div",{className:"".concat(xr,"-footer")},Js,Bs,Jo):null))}var rn=gn,Br=l("uciX"),Vn={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function gi(ct){var Vt,Cr=ct.prefixCls,xr=ct.popupElement,Gr=ct.popupStyle,$r=ct.visible,hn=ct.dropdownClassName,On=ct.dropdownAlign,Qn=ct.transitionName,qn=ct.getPopupContainer,si=ct.children,oi=ct.range,Kn=ct.popupPlacement,Zn=ct.direction,ni="".concat(Cr,"-dropdown"),wi=function(){return Kn!==void 0?Kn:Zn==="rtl"?"bottomRight":"bottomLeft"};return d.createElement(Br.a,{showAction:[],hideAction:[],popupPlacement:wi(),builtinPlacements:Vn,prefixCls:ni,popupTransitionName:Qn,popup:xr,popupAlign:On,popupVisible:$r,popupClassName:_()(hn,(Vt={},Object(k.a)(Vt,"".concat(ni,"-range"),oi),Object(k.a)(Vt,"".concat(ni,"-rtl"),Zn==="rtl"),Vt)),popupStyle:Gr,getPopupContainer:qn},si)}var Ni=gi;function Wi(ct){var Vt=ct.open,Cr=ct.value,xr=ct.isClickOutside,Gr=ct.triggerOpen,$r=ct.forwardKeyDown,hn=ct.blurToCancel,On=ct.onSubmit,Qn=ct.onCancel,qn=ct.onFocus,si=ct.onBlur,oi=Object(d.useState)(!1),Kn=Object(z.a)(oi,2),Zn=Kn[0],ni=Kn[1],wi=Object(d.useState)(!1),Di=Object(z.a)(wi,2),Ui=Di[0],ca=Di[1],ia=Object(d.useRef)(!1),Ia=Object(d.useRef)(!1),Fa={onMouseDown:function(){ni(!0),Gr(!0)},onKeyDown:function(Ea){switch(Ea.which){case G.a.ENTER:{Vt?On()!==!1&&ni(!0):Gr(!0),Ea.preventDefault();return}case G.a.TAB:{Zn&&Vt&&!Ea.shiftKey?(ni(!1),Ea.preventDefault()):!Zn&&Vt&&(!$r(Ea)&&Ea.shiftKey&&(ni(!0),Ea.preventDefault()));return}case G.a.ESC:{ni(!0),Qn();return}}!Vt&&![G.a.SHIFT].includes(Ea.which)?Gr(!0):Zn||$r(Ea)},onFocus:function(Ea){ni(!0),ca(!0),qn&&qn(Ea)},onBlur:function(Ea){if(ia.current||!xr(document.activeElement)){ia.current=!1;return}hn?setTimeout(function(){xr(document.activeElement)&&Qn()},0):Vt&&(Gr(!1),Ia.current&&On()),ca(!1),si&&si(Ea)}};return Object(d.useEffect)(function(){Ia.current=!1},[Vt]),Object(d.useEffect)(function(){Ia.current=!0},[Cr]),Object(d.useEffect)(function(){return Y(function(Aa){var Ea=Aa.target;Vt&&(xr(Ea)?Ui||Gr(!1):(ia.current=!0,requestAnimationFrame(function(){ia.current=!1})))})}),[Fa,{focused:Ui,typing:Zn}]}function zi(ct){var Vt=ct.valueTexts,Cr=ct.onTextChange,xr=d.useState(""),Gr=Object(z.a)(xr,2),$r=Gr[0],hn=Gr[1],On=d.useRef([]);On.current=Vt;function Qn(si){hn(si),Cr(si)}function qn(){hn(On.current[0])}return d.useEffect(function(){Vt.every(function(si){return si!==$r})&&qn()},[Vt.join("||")]),[$r,Qn,qn]}var Yi=l("Gytx"),mi=l.n(Yi);function va(ct,Vt){var Cr=Vt.formatList,xr=Vt.generateConfig,Gr=Vt.locale;return Object(Se.a)(function(){if(!ct)return[[""],""];for(var $r="",hn=[],On=0;On1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(qn.current),Ui){Qn(Di);return}qn.current=requestAnimationFrame(function(){Qn(Di)})}var oi=va(On,{formatList:Cr,generateConfig:xr,locale:Gr}),Kn=Object(z.a)(oi,2),Zn=Kn[1];function ni(Di){si(Di)}function wi(){var Di=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;si(null,Di)}return Object(d.useEffect)(function(){wi(!0)},[ct]),Object(d.useEffect)(function(){return function(){return cancelAnimationFrame(qn.current)}},[]),[Zn,ni,wi]}function fn(ct){var Vt,Cr=ct.prefixCls,xr=Cr===void 0?"rc-picker":Cr,Gr=ct.id,$r=ct.tabIndex,hn=ct.style,On=ct.className,Qn=ct.dropdownClassName,qn=ct.dropdownAlign,si=ct.popupStyle,oi=ct.transitionName,Kn=ct.generateConfig,Zn=ct.locale,ni=ct.inputReadOnly,wi=ct.allowClear,Di=ct.autoFocus,Ui=ct.showTime,ca=ct.picker,ia=ca===void 0?"date":ca,Ia=ct.format,Fa=ct.use12Hours,Aa=ct.value,Ea=ct.defaultValue,xa=ct.open,Ai=ct.defaultOpen,oa=ct.defaultOpenValue,Ba=ct.suffixIcon,Nr=ct.clearIcon,Qr=ct.disabled,bn=ct.disabledDate,Zr=ct.placeholder,hr=ct.getPopupContainer,jr=ct.pickerRef,wr=ct.panelRender,an=ct.onChange,Jr=ct.onOpenChange,kn=ct.onFocus,Dn=ct.onBlur,Xn=ct.onMouseDown,vi=ct.onMouseUp,Li=ct.onMouseEnter,ji=ct.onMouseLeave,Sa=ct.onContextMenu,Ga=ct.onClick,Ya=ct.direction,bo=ct.autoComplete,vo=bo===void 0?"off":bo,po=d.useRef(null),Ha=ia==="date"&&!!Ui||ia==="time",Oa=pt(ue(Ia,ia,Ui,Fa)),ao=d.useRef(null),to=d.useRef(null),Po=Object(W.a)(null,{value:Aa,defaultValue:Ea}),Yo=Object(z.a)(Po,2),ro=Yo[0],za=Yo[1],Mo=d.useState(ro),Io=Object(z.a)(Mo,2),ma=Io[0],mo=Io[1],ns=d.useRef(null),Zo=Object(W.a)(!1,{value:xa,defaultValue:Ai,postState:function(us){return Qr?!1:us},onChange:function(us){Jr&&Jr(us),!us&&ns.current&&ns.current.onClose&&ns.current.onClose()}}),Oo=Object(z.a)(Zo,2),Ro=Oo[0],hs=Oo[1],Uo=va(ma,{formatList:Oa,generateConfig:Kn,locale:Zn}),Ja=Object(z.a)(Uo,2),Es=Ja[0],oo=Ja[1],Fs=zi({valueTexts:Es,onTextChange:function(us){var _l=Kn.locale.parse(Zn.locale,us,Oa);_l&&(!bn||!bn(_l))&&mo(_l)}}),qo=Object(z.a)(Fs,3),Wo=qo[0],Vo=qo[1],Go=qo[2],os=function(us){mo(us),za(us),an&&!ot(Kn,ro,us)&&an(us,us?Kn.locale.format(Zn.locale,us,Oa[0]):"")},Vs=function(us){if(Qr&&us)return;hs(us)},xs=function(us){return Ro&&ns.current&&ns.current.onKeyDown?ns.current.onKeyDown(us):(Object(A.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Js=function(){vi&&vi.apply(void 0,arguments),po.current&&(po.current.focus(),Vs(!0))},Bs=Wi({blurToCancel:Ha,open:Ro,value:Wo,triggerOpen:Vs,forwardKeyDown:xs,isClickOutside:function(us){return!me([ao.current,to.current],us)},onSubmit:function(){return bn&&bn(ma)?!1:(os(ma),Vs(!1),Go(),!0)},onCancel:function(){Vs(!1),mo(ro),Go()},onFocus:kn,onBlur:Dn}),ks=Object(z.a)(Bs,2),Jo=ks[0],bs=ks[1],Ho=bs.focused,Ls=bs.typing;d.useEffect(function(){Ro||(mo(ro),!Es.length||Es[0]===""?Vo(""):oo!==Wo&&Go())},[Ro,Es]),d.useEffect(function(){Ro||Go()},[ia]),d.useEffect(function(){mo(ro)},[ro]),jr&&(jr.current={focus:function(){po.current&&po.current.focus()},blur:function(){po.current&&po.current.blur()}});var Ps=Object(K.a)(Object(K.a)({},ct),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),Ra=d.createElement(rn,Object.assign({},Ps,{generateConfig:Kn,className:_()(Object(k.a)({},"".concat(xr,"-panel-focused"),!Ls)),value:ma,locale:Zn,tabIndex:-1,onChange:mo,direction:Ya}));wr&&(Ra=wr(Ra));var ho=d.createElement("div",{className:"".concat(xr,"-panel-container"),onMouseDown:function(us){us.preventDefault()}},Ra),ll;Ba&&(ll=d.createElement("span",{className:"".concat(xr,"-suffix")},Ba));var ml;wi&&ro&&!Qr&&(ml=d.createElement("span",{onMouseDown:function(us){us.preventDefault(),us.stopPropagation()},onMouseUp:function(us){us.preventDefault(),us.stopPropagation(),os(null),Vs(!1)},className:"".concat(xr,"-clear")},Nr||d.createElement("span",{className:"".concat(xr,"-clear-btn")})));var wl=function(us,_l){(_l==="submit"||_l!=="key"&&!Ha)&&(os(us),Vs(!1))},El=Ya==="rtl"?"bottomRight":"bottomLeft",Xs=zn(Wo,{formatList:Oa,generateConfig:Kn,locale:Zn}),Xo=Object(z.a)(Xs,3),gl=Xo[0],Vl=Xo[1],Us=Xo[2];return d.createElement(q.Provider,{value:{operationRef:ns,hideHeader:ia==="time",panelRef:ao,onSelect:wl,open:Ro,defaultOpenValue:oa,onDateMouseEnter:Vl,onDateMouseLeave:Us}},d.createElement(Ni,{visible:Ro,popupElement:ho,popupStyle:si,prefixCls:xr,dropdownClassName:Qn,dropdownAlign:qn,getPopupContainer:hr,transitionName:oi,popupPlacement:El,direction:Ya},d.createElement("div",{className:_()(xr,On,(Vt={},Object(k.a)(Vt,"".concat(xr,"-disabled"),Qr),Object(k.a)(Vt,"".concat(xr,"-focused"),Ho),Object(k.a)(Vt,"".concat(xr,"-rtl"),Ya==="rtl"),Vt)),style:hn,onMouseDown:Xn,onMouseUp:Js,onMouseEnter:Li,onMouseLeave:ji,onContextMenu:Sa,onClick:Ga},d.createElement("div",{className:_()("".concat(xr,"-input"),Object(k.a)({},"".concat(xr,"-input-placeholder"),!!gl)),ref:to},d.createElement("input",Object.assign({id:Gr,tabIndex:$r,disabled:Qr,readOnly:ni||!Ls,value:gl||Wo,onChange:function(us){Vo(us.target.value)},autoFocus:Di,placeholder:Zr,ref:po,title:Wo},Jo,{size:Ge(ia,Oa[0])},Pe(ct),{autoComplete:vo})),ll,ml))))}var $n=function(ct){Object(X.a)(Cr,ct);var Vt=Object(J.a)(Cr);function Cr(){var xr;return Object(H.a)(this,Cr),xr=Vt.apply(this,arguments),xr.pickerRef=d.createRef(),xr.focus=function(){xr.pickerRef.current&&xr.pickerRef.current.focus()},xr.blur=function(){xr.pickerRef.current&&xr.pickerRef.current.blur()},xr}return Object(B.a)(Cr,[{key:"render",value:function(){return d.createElement(fn,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Cr}(d.Component),Cn=$n;function ki(ct,Vt,Cr){var xr=ct.picker,Gr=ct.locale,$r=ct.selectedValue,hn=ct.disabledDate,On=ct.disabled,Qn=ct.generateConfig,qn=Nt($r,0),si=Nt($r,1);function oi(Di){var Ui=Qn.getYear(Di),ca=Qn.locale.getWeek(Gr.locale,Di);return Ui*100+ca}function Kn(Di){var Ui=Qn.getYear(Di),ca=Qn.getMonth(Di);return Ui*100+ca}function Zn(Di){var Ui=Qn.getYear(Di),ca=He(Qn,Di);return Ui*10+ca}var ni=d.useCallback(function(Di){if(hn&&hn(Di))return!0;if(On[1]&&si)return!at(Qn,Di,si)&&Qn.isAfter(Di,si);if(Vt&&si)switch(xr){case"quarter":return Zn(Di)>Zn(si);case"month":return Kn(Di)>Kn(si);case"week":return oi(Di)>oi(si);default:return!at(Qn,Di,si)&&Qn.isAfter(Di,si)}return!1},[hn,On[1],si,Vt]),wi=d.useCallback(function(Di){if(hn&&hn(Di))return!0;if(On[0]&&qn)return!at(Qn,Di,si)&&Qn.isAfter(qn,Di);if(Cr&&qn)switch(xr){case"quarter":return Zn(Di)0&&arguments[0]!==void 0?arguments[0]:!1,yo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},es=null;Us&&Ce&&Ce[0]&&Ce[1]&&ni.isAfter(Ce[1],Ce[0])&&(es=Ce);var Is=Aa;if(Aa&&Object(P.a)(Aa)==="object"&&Aa.defaultValue){var Tl=Aa.defaultValue;Is=Object(K.a)(Object(K.a)({},Aa),{},{defaultValue:Nt(Tl,oo)||void 0})}var Tc=null;return jr&&(Tc=function(cc,sl){return jr(cc,sl,{range:oo?"end":"start"})}),d.createElement(br.Provider,{value:{inRange:!0,panelPosition:ms,rangedValue:En||Ho,hoverRangedValue:es}},d.createElement(rn,Object.assign({},ct,yo,{dateRender:Tc,showTime:Is,mode:ho[oo],generateConfig:ni,style:void 0,direction:Po,disabledDate:oo===0?Xs:Xo,disabledTime:function(cc){return hr?hr(cc,oo===0?"start":"end"):!1},className:_()(Object(k.a)({},"".concat($r,"-panel-focused"),oo===0?!dl:!Cl)),value:Nt(Ho,oo),locale:wi,tabIndex:-1,onPanelChange:function(cc,sl){ml(ut(ho,sl,oo),ut(Ho,cc,oo));var tl=cc;ms==="right"&&ho[oo]===sl&&(tl=Gt(tl,sl,ni,-1)),ks(tl,oo)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var ec=0,al=0;oo&&ns.current&&Oo.current&&mo.current&&(ec=ns.current.offsetWidth+Oo.current.offsetWidth,mo.current.offsetWidth&&ec>mo.current.offsetWidth&&(al=ec));var lo=Po==="rtl"?{right:ec}:{left:ec};function Pc(){var ms,yo=Bn($r,ho[oo],Sa),es=Er({prefixCls:$r,components:ao,needConfirmButton:Mo,okDisabled:!Nt(Ho,oo)||Zr&&Zr(Ho[oo]),locale:wi,rangeList:cu,onOk:function(){Nt(Ho,oo)&&(zs(Ho,oo),Oa&&Oa(Ho))}});if(Fa!=="time"&&!Aa){var Is=Bs(oo),Tl=Gt(Is,Fa,ni),Tc=ho[oo],tc=Tc===Fa,cc=Jc(tc?"left":!1,{pickerValue:Is,onPickerValueChange:function(Zs){ks(Zs,oo)}}),sl=Jc("right",{pickerValue:Tl,onPickerValueChange:function(Zs){ks(Gt(Zs,Fa,ni,-1),oo)}});Po==="rtl"?ms=d.createElement(d.Fragment,null,sl,tc&&cc):ms=d.createElement(d.Fragment,null,cc,tc&&sl)}else ms=Jc();var tl=d.createElement(d.Fragment,null,d.createElement("div",{className:"".concat($r,"-panels")},ms),(yo||es)&&d.createElement("div",{className:"".concat($r,"-footer")},yo,es));return wr&&(tl=wr(tl)),d.createElement("div",{className:"".concat($r,"-panel-container"),style:{marginLeft:al},ref:mo,onMouseDown:function(Zs){Zs.preventDefault()}},tl)}var Cc=d.createElement("div",{className:_()("".concat($r,"-range-wrapper"),"".concat($r,"-").concat(Fa,"-range-wrapper")),style:{minWidth:Bl}},d.createElement("div",{className:"".concat($r,"-range-arrow"),style:lo}),Pc()),Ec;Dn&&(Ec=d.createElement("span",{className:"".concat($r,"-suffix")},Dn));var Ql;kn&&(Nt(os,0)&&!Wo[0]||Nt(os,1)&&!Wo[1])&&(Ql=d.createElement("span",{onMouseDown:function(yo){yo.preventDefault(),yo.stopPropagation()},onMouseUp:function(yo){yo.preventDefault(),yo.stopPropagation();var es=os;Wo[0]||(es=ut(es,null,0)),Wo[1]||(es=ut(es,null,1)),zs(es,null),ql(!1,oo)},className:"".concat($r,"-clear")},Xn||d.createElement("span",{className:"".concat($r,"-clear-btn")})));var Ac={size:Ge(Fa,Uo[0])},Vc=0,vc=0;ns.current&&Zo.current&&Oo.current&&(oo===0?vc=ns.current.offsetWidth:(Vc=ec,vc=Zo.current.offsetWidth));var Lc=Po==="rtl"?{right:Vc}:{left:Vc},_c=function(yo,es){var Is=ut(Ho,yo,oo);es==="submit"||es!=="key"&&!Mo?(zs(Is,oo),oo===0?Yr():ga()):Ls(Is)};return d.createElement(q.Provider,{value:{operationRef:qo,hideHeader:Fa==="time",onDateMouseEnter:Wa,onDateMouseLeave:go,hideRanges:!0,onSelect:_c,open:Us}},d.createElement(Ni,{visible:Us,popupElement:Cc,popupStyle:qn,prefixCls:$r,dropdownClassName:si,dropdownAlign:Kn,getPopupContainer:Zn,transitionName:oi,range:!0,direction:Po},d.createElement("div",Object.assign({ref:ma,className:_()($r,"".concat($r,"-range"),Qn,(Vt={},Object(k.a)(Vt,"".concat($r,"-disabled"),Wo[0]&&Wo[1]),Object(k.a)(Vt,"".concat($r,"-focused"),oo===0?Ks:el),Object(k.a)(Vt,"".concat($r,"-rtl"),Po==="rtl"),Vt)),style:On,onClick:mc,onMouseDown:lc},Pe(ct)),d.createElement("div",{className:_()("".concat($r,"-input"),(Cr={},Object(k.a)(Cr,"".concat($r,"-input-active"),oo===0),Object(k.a)(Cr,"".concat($r,"-input-placeholder"),!!Yt),Cr)),ref:ns},d.createElement("input",Object.assign({id:hn,disabled:Wo[0],readOnly:Li||!dl,value:Yt||Xl,onChange:function(yo){Gl(yo.target.value)},autoFocus:Ui,placeholder:Nt(Di,0)||"",ref:Ro},ps,Ac,{autoComplete:za}))),d.createElement("div",{className:"".concat($r,"-range-separator"),ref:Oo},Ai),d.createElement("div",{className:_()("".concat($r,"-input"),(xr={},Object(k.a)(xr,"".concat($r,"-input-active"),oo===1),Object(k.a)(xr,"".concat($r,"-input-placeholder"),!!Ci),xr)),ref:Zo},d.createElement("input",Object.assign({disabled:Wo[1],readOnly:Li||!Cl,value:Ci||Sc,onChange:function(yo){Ts(yo.target.value)},placeholder:Nt(Di,1)||"",ref:hs},Rl,Ac,{autoComplete:za}))),d.createElement("div",{className:"".concat($r,"-active-bar"),style:Object(K.a)(Object(K.a)({},Lc),{},{width:vc,position:"absolute"})}),Ec,Ql)))}var Un=function(ct){Object(X.a)(Cr,ct);var Vt=Object(J.a)(Cr);function Cr(){var xr;return Object(H.a)(this,Cr),xr=Vt.apply(this,arguments),xr.pickerRef=d.createRef(),xr.focus=function(){xr.pickerRef.current&&xr.pickerRef.current.focus()},xr.blur=function(){xr.pickerRef.current&&xr.pickerRef.current.blur()},xr}return Object(B.a)(Cr,[{key:"render",value:function(){return d.createElement(Na,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Cr}(d.Component),nn=Un,Yn=Cn,bi=l("61s2");function Oi(ct,Vt,Cr){return Cr!==void 0?Cr:ct==="year"&&Vt.lang.yearPlaceholder?Vt.lang.yearPlaceholder:ct==="quarter"&&Vt.lang.quarterPlaceholder?Vt.lang.quarterPlaceholder:ct==="month"&&Vt.lang.monthPlaceholder?Vt.lang.monthPlaceholder:ct==="week"&&Vt.lang.weekPlaceholder?Vt.lang.weekPlaceholder:ct==="time"&&Vt.timePickerLocale.placeholder?Vt.timePickerLocale.placeholder:Vt.lang.placeholder}function _i(ct,Vt,Cr){return Cr!==void 0?Cr:ct==="year"&&Vt.lang.yearPlaceholder?Vt.lang.rangeYearPlaceholder:ct==="month"&&Vt.lang.monthPlaceholder?Vt.lang.rangeMonthPlaceholder:ct==="week"&&Vt.lang.weekPlaceholder?Vt.lang.rangeWeekPlaceholder:ct==="time"&&Vt.timePickerLocale.placeholder?Vt.timePickerLocale.rangePlaceholder:Vt.lang.rangePlaceholder}var Zi=l("uaoM"),qi=l("H84U"),ea=l("YMnH"),ya=l("3Nzz"),co=function(ct,Vt){var Cr={};for(var xr in ct)Object.prototype.hasOwnProperty.call(ct,xr)&&Vt.indexOf(xr)<0&&(Cr[xr]=ct[xr]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gr=0,xr=Object.getOwnPropertySymbols(ct);Grer},ze}return P(Le,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function($e){$e.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var $e=this.state,gt=$e.dragging,ir=$e.visible,Xt=this.props.prefixCls,er=this.getSpinHeight(),Kr=this.getTop(),en=this.showScroll(),Fn=en&&ir;return x.createElement("div",{ref:this.scrollbarRef,className:A()("".concat(Xt,"-scrollbar"),K({},"".concat(Xt,"-scrollbar-show"),en)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:Fn?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},x.createElement("div",{ref:this.thumbRef,className:A()("".concat(Xt,"-scrollbar-thumb"),K({},"".concat(Xt,"-scrollbar-thumb-moving"),gt)),style:{width:"100%",height:er,top:Kr,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),Le}(x.Component);function ge(lt){var mt=lt.children,Le=lt.setRef,ze=x.useCallback(function($e){Le($e)},[]);return x.cloneElement(mt,{ref:ze})}function Be(lt,mt,Le,ze,$e,gt){var ir=gt.getKey;return lt.slice(mt,Le+1).map(function(Xt,er){var Kr=mt+er,en=$e(Xt,Kr,{}),Fn=ir(Xt);return x.createElement(ge,{key:Fn,setRef:function(It){return ze(Xt,It)}},en)})}function ee(lt,mt){if(!(lt instanceof mt))throw new TypeError("Cannot call a class as a function")}function ue(lt,mt){for(var Le=0;Lelt.length)&&(mt=lt.length);for(var Le=0,ze=new Array(mt);LeTa&&(tr="bottom")}}Fi!==null&&Fi!==lt.current.scrollTop&&ir(Fi)}er.current=Object(J.a)(function(){Dt&>(),mr(gr-1,tr)})};Ct(3)}}}function it(lt,mt,Le,ze){var $e=Le-lt,gt=mt-Le,ir=Math.min($e,gt)*2;if(ze<=ir){var Xt=Math.floor(ze/2);return ze%2?Le+Xt+1:Le-Xt}return $e>gt?Le-(ze-gt):Le+(ze-$e)}function yt(lt,mt,Le){var ze=lt.length,$e=mt.length,gt,ir;if(ze===0&&$e===0)return null;ze<$e?(gt=lt,ir=mt):(gt=mt,ir=lt);var Xt={__EMPTY_ITEM__:!0};function er(Ct){return Ct!==void 0?Le(Ct):Xt}for(var Kr=null,en=Math.abs(ze-$e)!==1,Fn=0;Fnlt.length)&&(mt=lt.length);for(var Le=0,ze=new Array(mt);Le1&&arguments[1]!==void 0?arguments[1]:!1,er=ir<0&>.current.top||ir>0&>.current.bottom;return Xt&&er?(clearTimeout(ze.current),Le.current=!1):(!er||Le.current)&&$e(),!Le.current&&er}};function de(lt,mt,Le,ze){var $e=Object(x.useRef)(0),gt=Object(x.useRef)(null),ir=Object(x.useRef)(null),Xt=Object(x.useRef)(!1),er=Ee(mt,Le);function Kr(Fn){if(!lt)return;J.a.cancel(gt.current);var ar=Fn.deltaY;if($e.current+=ar,ir.current=ar,er(ar))return;ht||Fn.preventDefault(),gt.current=Object(J.a)(function(){var It=Xt.current?10:1;ze($e.current*It),$e.current=0})}function en(Fn){if(!lt)return;Xt.current=Fn.detail===ir.current}return[Kr,en]}var qe=14/15;function rt(lt,mt,Le){var ze=Object(x.useRef)(!1),$e=Object(x.useRef)(0),gt=Object(x.useRef)(null),ir=Object(x.useRef)(null),Xt,er=function(ar){if(ze.current){var It=Math.ceil(ar.touches[0].pageY),Ct=$e.current-It;$e.current=It,Le(Ct)&&ar.preventDefault(),clearInterval(ir.current),ir.current=setInterval(function(){Ct*=qe,(!Le(Ct,!0)||Math.abs(Ct)<=.1)&&clearInterval(ir.current)},16)}},Kr=function(){ze.current=!1,Xt()},en=function(ar){Xt(),ar.touches.length===1&&!ze.current&&(ze.current=!0,$e.current=Math.ceil(ar.touches[0].pageY),gt.current=ar.target,gt.current.addEventListener("touchmove",er),gt.current.addEventListener("touchend",Kr))};Xt=function(){gt.current&&(gt.current.removeEventListener("touchmove",er),gt.current.removeEventListener("touchend",Kr))},x.useLayoutEffect(function(){return lt&&mt.current.addEventListener("touchstart",en),function(){mt.current.removeEventListener("touchstart",en),Xt(),clearInterval(ir.current)}},[lt])}var ve=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function bt(){return bt=Object.assign||function(lt){for(var mt=1;mtlt.length)&&(mt=lt.length);for(var Le=0,ze=new Array(mt);Le=0)continue;if(!Object.prototype.propertyIsEnumerable.call(lt,ze))continue;Le[ze]=lt[ze]}}return Le}function Gt(lt,mt){if(lt==null)return{};var Le={},ze=Object.keys(lt),$e,gt;for(gt=0;gt=0)continue;Le[$e]=lt[$e]}return Le}var yr=[],br={overflowY:"auto",overflowAnchor:"none"};function Sr(lt,mt){var Le=lt.prefixCls,ze=Le===void 0?"rc-virtual-list":Le,$e=lt.className,gt=lt.height,ir=lt.itemHeight,Xt=lt.fullHeight,er=Xt===void 0?!0:Xt,Kr=lt.style,en=lt.data,Fn=lt.children,ar=lt.itemKey,It=lt.virtual,Ct=lt.component,mr=Ct===void 0?"div":Ct,gr=lt.onScroll,Mt=lt.onVisibleChange,rr=Ze(lt,ve),Dt=!!(It!==!1&>&&ir),tr=Dt&&en&&ir*en.length>gt,Dr=Object(x.useState)(0),dr=Ar(Dr,2),Tr=dr[0],vn=dr[1],on=Object(x.useState)(!1),Gn=Ar(on,2),di=Gn[0],Ti=Gn[1],Fi=A()(ze,$e),la=en||yr,Ta=Object(x.useRef)(),dt=Object(x.useRef)(),Me=Object(x.useRef)(),Xe=x.useCallback(function(Ri){return typeof ar=="function"?ar(Ri):Ri==null?void 0:Ri[ar]},[ar]),Qe={getKey:Xe};function st(Ri){vn(function(Na){var Un;typeof Ri=="function"?Un=Ri(Na):Un=Ri;var nn=zi(Un);return Ta.current.scrollTop=nn,nn})}var nt=Object(x.useRef)({start:0,end:la.length}),ft=Object(x.useRef)(),Bt=Kt(la,Xe),Et=Ar(Bt,1),nr=Et[0];ft.current=nr;var Ur=me(Xe,null,null),Lr=Ar(Ur,4),Vr=Lr[0],sr=Lr[1],Bn=Lr[2],Er=Lr[3],gn=x.useMemo(function(){if(!Dt)return{scrollHeight:void 0,start:0,end:la.length-1,offset:void 0};if(!tr){var Ri;return{scrollHeight:((Ri=dt.current)===null||Ri===void 0?void 0:Ri.offsetHeight)||0,start:0,end:la.length-1,offset:void 0}}for(var Na=0,Un,nn,Yn,bi=la.length,Oi=0;Oi=Tr&&Un===void 0&&(Un=Oi,nn=Na),ea>Tr+gt&&Yn===void 0&&(Yn=Oi),Na=ea}return Un===void 0&&(Un=0,nn=0),Yn===void 0&&(Yn=la.length-1),Yn=Math.min(Yn+1,la.length),{scrollHeight:Na,start:Un,end:Yn,offset:nn}},[tr,Dt,Tr,la,Er,gt]),rn=gn.scrollHeight,Br=gn.start,Vn=gn.end,gi=gn.offset;nt.current.start=Br,nt.current.end=Vn;var Ni=rn-gt,Wi=Object(x.useRef)(Ni);Wi.current=Ni;function zi(Ri){var Na=Ri;return Number.isNaN(Wi.current)||(Na=Math.min(Na,Wi.current)),Na=Math.max(Na,0),Na}var Yi=Tr<=0,mi=Tr>=Ni,va=Ee(Yi,mi);function zn(Ri){var Na=Ri;st(Na)}function fn(Ri){var Na=Ri.currentTarget.scrollTop;Na!==Tr&&st(Na),gr==null||gr(Ri)}var $n=de(Dt,Yi,mi,function(Ri){st(function(Na){var Un=Na+Ri;return Un})}),Cn=Ar($n,2),ki=Cn[0],In=Cn[1];rt(Dt,Ta,function(Ri,Na){return va(Ri,Na)?!1:(ki({preventDefault:function(){},deltaY:Ri}),!0)}),Object(x.useLayoutEffect)(function(){function Ri(Na){Dt&&Na.preventDefault()}return Ta.current.addEventListener("wheel",ki),Ta.current.addEventListener("DOMMouseScroll",In),Ta.current.addEventListener("MozMousePixelScroll",Ri),function(){Ta.current.removeEventListener("wheel",ki),Ta.current.removeEventListener("DOMMouseScroll",In),Ta.current.removeEventListener("MozMousePixelScroll",Ri)}},[Dt]);var na=Re(Ta,la,Bn,ir,Xe,sr,st,function(){var Ri;(Ri=Me.current)===null||Ri===void 0||Ri.delayHidden()});x.useImperativeHandle(mt,function(){return{scrollTo:na}}),Object(x.useLayoutEffect)(function(){if(Mt){var Ri=la.slice(Br,Vn+1);Mt(Ri,la)}},[Br,Vn,la]);var Ei=Be(la,Br,Vn,Vr,Fn,Qe),pi=null;return gt&&(pi=He(kt({},er?"height":"maxHeight",gt),br),Dt&&(pi.overflowY="hidden",di&&(pi.pointerEvents="none"))),x.createElement("div",bt({style:He(He({},Kr),{},{position:"relative"}),className:Fi},rr),x.createElement(mr,{className:"".concat(ze,"-holder"),style:pi,ref:Ta,onScroll:fn},x.createElement(X,{prefixCls:ze,height:rn,offset:gi,onInnerResize:sr,ref:dt},Ei)),Dt&&x.createElement(ke,{ref:Me,prefixCls:ze,scrollTop:Tr,height:gt,scrollHeight:rn,count:la.length,onScroll:zn,onStartMove:function(){Ti(!0)},onStopMove:function(){Ti(!1)}}))}var Tn=x.forwardRef(Sr);Tn.displayName="List";var cn=Tn,Wn=R.a=cn},"+rIm":function(j,R,l){var x=l("bYtY"),b=x.retrieve,A=x.defaults,f=x.extend,t=x.each,e=l("7aKB"),m=l("IwbS"),d=l("Qxkt"),a=l("OELB"),n=a.isRadianAroundZero,s=a.remRadian,c=l("oVpE"),i=c.createSymbol,u=l("Fofx"),r=l("QBsz"),o=r.applyTransform,h=l("aX7z"),p=h.shouldShowAllLabels,g=Math.PI,v=function(k,K){this.opt=K,this.axisModel=k,A(K,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new m.Group;var z=new m.Group({position:K.position.slice(),rotation:K.rotation});z.updateTransform(),this._transform=z.transform,this._dumbGroup=z};v.prototype={constructor:v,hasBuilder:function(k){return!!y[k]},add:function(k){y[k].call(this)},getGroup:function(){return this.group}};var y={axisLine:function(){var k=this.opt,K=this.axisModel;if(!K.get("axisLine.show"))return;var z=this.axisModel.axis.getExtent(),W=this._transform,P=[z[0],0],G=[z[1],0];W&&(o(P,P,W),o(G,G,W));var V=f({lineCap:"round"},K.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new m.Line({anid:"line",subPixelOptimize:!0,shape:{x1:P[0],y1:P[1],x2:G[0],y2:G[1]},style:V,strokeContainThreshold:k.strokeContainThreshold||5,silent:!0,z2:1}));var q=K.get("axisLine.symbol"),re=K.get("axisLine.symbolSize"),ce=K.get("axisLine.symbolOffset")||0;if(typeof ce=="number"&&(ce=[ce,ce]),q!=null){typeof q=="string"&&(q=[q,q]),(typeof re=="string"||typeof re=="number")&&(re=[re,re]);var ie=re[0],fe=re[1];t([{rotate:k.rotation+Math.PI/2,offset:ce[0],r:0},{rotate:k.rotation-Math.PI/2,offset:ce[1],r:Math.sqrt((P[0]-G[0])*(P[0]-G[0])+(P[1]-G[1])*(P[1]-G[1]))}],function(xe,Se){if(q[Se]!=="none"&&q[Se]!=null){var ke=i(q[Se],-ie/2,-fe/2,ie,fe,V.stroke,!0),ge=xe.r+xe.offset,Be=[P[0]+ge*Math.cos(k.rotation),P[1]-ge*Math.sin(k.rotation)];ke.attr({rotation:xe.rotate,position:Be,silent:!0,z2:11}),this.group.add(ke)}},this)}},axisTickLabel:function(){var k=this.axisModel,K=this.opt,z=H(this,k,K),W=X(this,k,K);C(k,W,z),B(this,k,K)},axisName:function(){var k=this.opt,K=this.axisModel,z=b(k.axisName,K.get("name"));if(!z)return;var W=K.get("nameLocation"),P=k.nameDirection,G=K.getModel("nameTextStyle"),V=K.get("nameGap")||0,q=this.axisModel.axis.getExtent(),re=q[0]>q[1]?-1:1,ce=[W==="start"?q[0]-re*V:W==="end"?q[1]+re*V:(q[0]+q[1])/2,M(W)?k.labelOffset+P*V:0],ie,fe=K.get("nameRotate");fe!=null&&(fe=fe*g/180);var xe;M(W)?ie=S(k.rotation,fe!=null?fe:k.rotation,P):(ie=_(k,W,fe||0,q),xe=k.axisNameAvailableWidth,xe!=null&&(xe=Math.abs(xe/Math.sin(ie.rotation)),!isFinite(xe)&&(xe=null)));var Se=G.getFont(),ke=K.get("nameTruncate",!0)||{},ge=ke.ellipsis,Be=b(k.nameTruncateMaxWidth,ke.maxWidth,xe),ee=ge!=null&&Be!=null?e.truncateText(z,Be,Se,ge,{minChar:2,placeholder:ke.placeholder}):z,ue=K.get("tooltip",!0),Ge=K.mainType,ae={componentType:Ge,name:z,$vars:["name"]};ae[Ge+"Index"]=K.componentIndex;var Z=new m.Text({anid:"name",__fullText:z,__truncatedText:ee,position:ce,rotation:ie.rotation,silent:I(K),z2:1,tooltip:ue&&ue.show?f({content:z,formatter:function(){return z},formatterParams:ae},ue):null});m.setTextStyle(Z.style,G,{text:ee,textFont:Se,textFill:G.getTextColor()||K.get("axisLine.lineStyle.color"),textAlign:G.get("align")||ie.textAlign,textVerticalAlign:G.get("verticalAlign")||ie.textVerticalAlign}),K.get("triggerEvent")&&(Z.eventData=w(K),Z.eventData.targetType="axisName",Z.eventData.name=z),this._dumbGroup.add(Z),Z.updateTransform(),this.group.add(Z),Z.decomposeTransform()}},w=v.makeAxisEventDataBase=function(k){var K={componentType:k.mainType,componentIndex:k.componentIndex};return K[k.mainType+"Index"]=k.componentIndex,K},S=v.innerTextLayout=function(k,K,z){var W=s(K-k),P,G;return n(W)?(G=z>0?"top":"bottom",P="center"):n(W-g)?(G=z>0?"bottom":"top",P="center"):(G="middle",W>0&&W0?"right":"left":P=z>0?"left":"right"),{rotation:W,textAlign:P,textVerticalAlign:G}};function _(k,K,z,W){var P=s(z-k.rotation),G,V,q=W[0]>W[1],re=K==="start"&&!q||K!=="start"&&q;return n(P-g/2)?(V=re?"bottom":"top",G="center"):n(P-g*1.5)?(V=re?"top":"bottom",G="center"):(V="middle",Pg/2?G=re?"left":"right":G=re?"right":"left"),{rotation:P,textAlign:G,textVerticalAlign:V}}var I=v.isLabelSilent=function(k){var K=k.get("tooltip");return k.get("silent")||!(k.get("triggerEvent")||K&&K.show)};function C(k,K,z){if(p(k.axis))return;var W=k.get("axisLabel.showMinLabel"),P=k.get("axisLabel.showMaxLabel");K=K||[],z=z||[];var G=K[0],V=K[1],q=K[K.length-1],re=K[K.length-2],ce=z[0],ie=z[1],fe=z[z.length-1],xe=z[z.length-2];W===!1?(E(G),E(ce)):O(G,V)&&(W?(E(V),E(ie)):(E(G),E(ce))),P===!1?(E(q),E(fe)):O(re,q)&&(P?(E(re),E(xe)):(E(q),E(fe)))}function E(k){k&&(k.ignore=!0)}function O(k,K,z){var W=k&&k.getBoundingRect().clone(),P=K&&K.getBoundingRect().clone();if(!W||!P)return;var G=u.identity([]);return u.rotate(G,G,-k.rotation),W.applyTransform(u.mul([],G,k.getLocalTransform())),P.applyTransform(u.mul([],G,K.getLocalTransform())),W.intersect(P)}function M(k){return k==="middle"||k==="center"}function F(k,K,z,W,P){for(var G=[],V=[],q=[],re=0;rer}function W(me){var be=me.length-1;return be<0&&(be=0),[me[0],me[be]]}function P(me,be,Re,it){var yt=new t.Group;return yt.add(new t.Rect({name:"main",style:re(Re),silent:!0,draggable:!0,cursor:"move",drift:d(me,be,yt,"nswe"),ondragend:d(K,be,{isEnd:!0})})),a(it,function(pt){yt.add(new t.Rect({name:pt,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:d(me,be,yt,pt),ondragend:d(K,be,{isEnd:!0})}))}),yt}function G(me,be,Re,it){var yt=it.brushStyle.lineWidth||0,pt=c(yt,o),Pe=Re[0][0],Nt=Re[1][0],ut=Pe-yt/2,Ft=Nt-yt/2,Ut=Re[0][1],Kt=Re[1][1],$t=Ut-pt+yt/2,or=Kt-pt+yt/2,ht=Ut-Pe,Ee=Kt-Nt,de=ht+yt,qe=Ee+yt;q(me,be,"main",Pe,Nt,ht,Ee),it.transformable&&(q(me,be,"w",ut,Ft,pt,qe),q(me,be,"e",$t,Ft,pt,qe),q(me,be,"n",ut,Ft,de,pt),q(me,be,"s",ut,or,de,pt),q(me,be,"nw",ut,Ft,pt,pt),q(me,be,"ne",$t,Ft,pt,pt),q(me,be,"sw",ut,or,pt,pt),q(me,be,"se",$t,or,pt,pt))}function V(me,be){var Re=be.__brushOption,it=Re.transformable,yt=be.childAt(0);yt.useStyle(re(Re)),yt.attr({silent:!it,cursor:it?"move":"default"}),a(["w","e","n","s","se","sw","ne","nw"],function(pt){var Pe=be.childOfName(pt),Nt=fe(me,pt);Pe&&Pe.attr({silent:!it,invisible:!it,cursor:it?g[Nt]+"-resize":null})})}function q(me,be,Re,it,yt,pt,Pe){var Nt=be.childOfName(Re);Nt&&Nt.setShape(Be(ge(me,be,[[it,yt],[it+pt,yt+Pe]])))}function re(me){return A.defaults({strokeNoScale:!0},me.brushStyle)}function ce(me,be,Re,it){var yt=[s(me,Re),s(be,it)],pt=[c(me,Re),c(be,it)];return[[yt[0],pt[0]],[yt[1],pt[1]]]}function ie(me){return t.getTransform(me.group)}function fe(me,be){if(be.length>1){be=be.split("");var Re=[fe(me,be[0]),fe(me,be[1])];return(Re[0]==="e"||Re[0]==="w")&&Re.reverse(),Re.join("")}else{var it={w:"left",e:"right",n:"top",s:"bottom"},yt={left:"w",right:"e",top:"n",bottom:"s"},Re=t.transformDirection(it[be],ie(me));return yt[Re]}}function xe(me,be,Re,it,yt,pt,Pe,Nt){var ut=it.__brushOption,Ft=me(ut.range),Ut=ke(Re,pt,Pe);a(yt.split(""),function(Kt){var $t=p[Kt];Ft[$t[0]][$t[1]]+=Ut[$t[0]]}),ut.range=be(ce(Ft[0][0],Ft[1][0],Ft[0][1],Ft[1][1])),H(Re,it),K(Re,{isEnd:!1})}function Se(me,be,Re,it,yt){var pt=be.__brushOption.range,Pe=ke(me,Re,it);a(pt,function(Nt){Nt[0]+=Pe[0],Nt[1]+=Pe[1]}),H(me,be),K(me,{isEnd:!1})}function ke(me,be,Re){var it=me.group,yt=it.transformCoordToLocal(be,Re),pt=it.transformCoordToLocal(0,0);return[yt[0]-pt[0],yt[1]-pt[1]]}function ge(me,be,Re){var it=J(me,be);return it&&it!==!0?it.clipPath(Re,me._transform):A.clone(Re)}function Be(me){var be=s(me[0][0],me[1][0]),Re=s(me[0][1],me[1][1]),it=c(me[0][0],me[1][0]),yt=c(me[0][1],me[1][1]);return{x:be,y:Re,width:it-be,height:yt-Re}}function ee(me,be,Re){if(!me._brushType||we(me,be))return;var it=me._zr,yt=me._covers,pt=X(me,be,Re);if(!me._dragging)for(var Pe=0;Peit.getWidth()||Re<0||Re>it.getHeight()}var pe={lineX:De(0),lineY:De(1),rect:{createCover:function(me,be){return P(d(xe,function(Re){return Re},function(Re){return Re}),me,be,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(me){var be=W(me);return ce(be[1][0],be[1][1],be[0][0],be[0][1])},updateCoverShape:function(me,be,Re,it){G(me,be,Re,it)},updateCommon:V,contain:Ge},polygon:{createCover:function(me,be){var Re=new t.Group;return Re.add(new t.Polyline({name:"main",style:re(be),silent:!0})),Re},getCreatingRange:function(me){return me},endCreating:function(me,be){be.remove(be.childAt(0)),be.add(new t.Polygon({name:"main",draggable:!0,drift:d(Se,me,be),ondragend:d(K,me,{isEnd:!0})}))},updateCoverShape:function(me,be,Re,it){be.childAt(0).setShape({points:ge(me,be,Re)})},updateCommon:V,contain:Ge}};function De(me){return{createCover:function(be,Re){return P(d(xe,function(it){var yt=[it,[0,100]];return me&&yt.reverse(),yt},function(it){return it[me]}),be,Re,[["w","e"],["n","s"]][me])},getCreatingRange:function(be){var Re=W(be),it=s(Re[0][me],Re[1][me]),yt=c(Re[0][me],Re[1][me]);return[it,yt]},updateCoverShape:function(be,Re,it,yt){var pt,Pe=J(be,Re);if(Pe!==!0&&Pe.getLinearBrushOtherExtent)pt=Pe.getLinearBrushOtherExtent(me,be._transform);else{var Nt=be._zr;pt=[0,[Nt.getWidth(),Nt.getHeight()][1-me]]}var ut=[it,pt];me&&ut.reverse(),G(be,Re,ut,yt)},updateCommon:V,contain:Ge}}var Ne=w;j.exports=Ne},"/MfK":function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="DeleteOutlined";var m=R.a=b.forwardRef(e)},"/POA":function(j,R,l){!function(x,b){if(!0)j.exports=b();else var A,f}(window,function(){return function(x){var b={};function A(f){if(b[f])return b[f].exports;var t=b[f]={i:f,l:!1,exports:{}};return x[f].call(t.exports,t,t.exports,A),t.l=!0,t.exports}return A.m=x,A.c=b,A.d=function(f,t,e){A.o(f,t)||Object.defineProperty(f,t,{enumerable:!0,get:e})},A.r=function(f){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},A.t=function(f,t){if(1&t&&(f=A(f)),8&t)return f;if(4&t&&typeof f=="object"&&f&&f.__esModule)return f;var e=Object.create(null);if(A.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:f}),2&t&&typeof f!="string")for(var m in f)A.d(e,m,function(d){return f[d]}.bind(null,m));return e},A.n=function(f){var t=f&&f.__esModule?function(){return f.default}:function(){return f};return A.d(t,"a",t),t},A.o=function(f,t){return Object.prototype.hasOwnProperty.call(f,t)},A.p="",A(A.s=34)}([function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.forwardEvent=b.EventEmitter=void 0;var f=function(){function t(){this._listeners=[],this._disposed=!1}return Object.defineProperty(t.prototype,"event",{get:function(){var m=this;return this._event||(this._event=function(d){return m._listeners.push(d),{dispose:function(){if(!m._disposed){for(var n=0;n>22},s.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?e.stringFromCodePoint(2097151&this.content):""},s.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},s.prototype.setFromCharData=function(c){this.fg=c[m.CHAR_DATA_ATTR_INDEX],this.bg=0;var i=!1;if(c[m.CHAR_DATA_CHAR_INDEX].length>2)i=!0;else if(c[m.CHAR_DATA_CHAR_INDEX].length===2){var u=c[m.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=u&&u<=56319){var r=c[m.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=r&&r<=57343?this.content=1024*(u-55296)+r-56320+65536|c[m.CHAR_DATA_WIDTH_INDEX]<<22:i=!0}else i=!0}else this.content=c[m.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|c[m.CHAR_DATA_WIDTH_INDEX]<<22;i&&(this.combinedData=c[m.CHAR_DATA_CHAR_INDEX],this.content=2097152|c[m.CHAR_DATA_WIDTH_INDEX]<<22)},s.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},s}(d.AttributeData);b.CellData=a},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.ISoundService=b.ISelectionService=b.IRenderService=b.IMouseService=b.ICoreBrowserService=b.ICharSizeService=void 0;var f=A(14);b.ICharSizeService=f.createDecorator("CharSizeService"),b.ICoreBrowserService=f.createDecorator("CoreBrowserService"),b.IMouseService=f.createDecorator("MouseService"),b.IRenderService=f.createDecorator("RenderService"),b.ISelectionService=f.createDecorator("SelectionService"),b.ISoundService=f.createDecorator("SoundService")},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.ExtendedAttrs=b.AttributeData=void 0;var f=function(){function e(){this.fg=0,this.bg=0,this.extended=new t}return e.toColorRGB=function(m){return[m>>>16&255,m>>>8&255,255&m]},e.fromColorRGB=function(m){return(255&m[0])<<16|(255&m[1])<<8|255&m[2]},e.prototype.clone=function(){var m=new e;return m.fg=this.fg,m.bg=this.bg,m.extended=this.extended.clone(),m},e.prototype.isInverse=function(){return 67108864&this.fg},e.prototype.isBold=function(){return 134217728&this.fg},e.prototype.isUnderline=function(){return 268435456&this.fg},e.prototype.isBlink=function(){return 536870912&this.fg},e.prototype.isInvisible=function(){return 1073741824&this.fg},e.prototype.isItalic=function(){return 67108864&this.bg},e.prototype.isDim=function(){return 134217728&this.bg},e.prototype.getFgColorMode=function(){return 50331648&this.fg},e.prototype.getBgColorMode=function(){return 50331648&this.bg},e.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},e.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},e.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},e.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},e.prototype.isFgDefault=function(){return(50331648&this.fg)==0},e.prototype.isBgDefault=function(){return(50331648&this.bg)==0},e.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},e.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},e.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},e.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},e.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},e.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},e.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},e.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},e.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},e.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},e.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},e}();b.AttributeData=f;var t=function(){function e(m,d){m===void 0&&(m=0),d===void 0&&(d=-1),this.underlineStyle=m,this.underlineColor=d}return e.prototype.clone=function(){return new e(this.underlineStyle,this.underlineColor)},e.prototype.isEmpty=function(){return this.underlineStyle===0},e}();b.ExtendedAttrs=t},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.addDisposableDomListener=void 0,b.addDisposableDomListener=function(f,t,e,m){f.addEventListener(t,e,m);var d=!1;return{dispose:function(){d||(d=!0,f.removeEventListener(t,e,m))}}}},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.Utf8ToUtf32=b.StringToUtf32=b.utf32ToString=b.stringFromCodePoint=void 0,b.stringFromCodePoint=function(e){return e>65535?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)},b.utf32ToString=function(e,m,d){m===void 0&&(m=0),d===void 0&&(d=e.length);for(var a="",n=m;n65535?(s-=65536,a+=String.fromCharCode(55296+(s>>10))+String.fromCharCode(s%1024+56320)):a+=String.fromCharCode(s)}return a};var f=function(){function e(){this._interim=0}return e.prototype.clear=function(){this._interim=0},e.prototype.decode=function(m,d){var a=m.length;if(!a)return 0;var n=0,s=0;this._interim&&(56320<=(u=m.charCodeAt(s++))&&u<=57343?d[n++]=1024*(this._interim-55296)+u-56320+65536:(d[n++]=this._interim,d[n++]=u),this._interim=0);for(var c=s;c=a)return this._interim=i,n;var u;56320<=(u=m.charCodeAt(c))&&u<=57343?d[n++]=1024*(i-55296)+u-56320+65536:(d[n++]=i,d[n++]=u)}else d[n++]=i}return n},e}();b.StringToUtf32=f;var t=function(){function e(){this.interim=new Uint8Array(3)}return e.prototype.clear=function(){this.interim.fill(0)},e.prototype.decode=function(m,d){var a=m.length;if(!a)return 0;var n,s,c,i,u=0,r=0,o=0;if(this.interim[0]){var h=!1,p=this.interim[0];p&=(224&p)==192?31:(240&p)==224?15:7;for(var g=0,v=void 0;(v=63&this.interim[++g])&&g<4;)p<<=6,p|=v;for(var y=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,w=y-g;o=a)return 0;if((192&(v=m[o++]))!=128){o--,h=!0;break}this.interim[g++]=v,p<<=6,p|=63&v}h||(y===2?p<128?o--:d[u++]=p:y===3?p<2048||p>=55296&&p<=57343||(d[u++]=p):p<65536||p>1114111||(d[u++]=p)),this.interim.fill(0)}for(var S=a-4,_=o;_=a)return this.interim[0]=n,u;if((192&(s=m[_++]))!=128){_--;continue}if((r=(31&n)<<6|63&s)<128){_--;continue}d[u++]=r}else if((240&n)==224){if(_>=a)return this.interim[0]=n,u;if((192&(s=m[_++]))!=128){_--;continue}if(_>=a)return this.interim[0]=n,this.interim[1]=s,u;if((192&(c=m[_++]))!=128){_--;continue}if((r=(15&n)<<12|(63&s)<<6|63&c)<2048||r>=55296&&r<=57343)continue;d[u++]=r}else if((248&n)==240){if(_>=a)return this.interim[0]=n,u;if((192&(s=m[_++]))!=128){_--;continue}if(_>=a)return this.interim[0]=n,this.interim[1]=s,u;if((192&(c=m[_++]))!=128){_--;continue}if(_>=a)return this.interim[0]=n,this.interim[1]=s,this.interim[2]=c,u;if((192&(i=m[_++]))!=128){_--;continue}if((r=(7&n)<<18|(63&s)<<12|(63&c)<<6|63&i)<65536||r>1114111)continue;d[u++]=r}}return u},e}();b.Utf8ToUtf32=t},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.CHAR_ATLAS_CELL_SPACING=b.DIM_OPACITY=b.INVERTED_DEFAULT_COLOR=void 0,b.INVERTED_DEFAULT_COLOR=257,b.DIM_OPACITY=.5,b.CHAR_ATLAS_CELL_SPACING=1},function(x,b,A){"use strict";var f,t,e,m;function d(n){var s=n.toString(16);return s.length<2?"0"+s:s}function a(n,s){return n>>0}}(f=b.channels||(b.channels={})),(t=b.color||(b.color={})).blend=function(n,s){var c=(255&s.rgba)/255;if(c===1)return{css:s.css,rgba:s.rgba};var i=s.rgba>>24&255,u=s.rgba>>16&255,r=s.rgba>>8&255,o=n.rgba>>24&255,h=n.rgba>>16&255,p=n.rgba>>8&255,g=o+Math.round((i-o)*c),v=h+Math.round((u-h)*c),y=p+Math.round((r-p)*c);return{css:f.toCss(g,v,y),rgba:f.toRgba(g,v,y)}},t.isOpaque=function(n){return(255&n.rgba)==255},t.ensureContrastRatio=function(n,s,c){var i=m.ensureContrastRatio(n.rgba,s.rgba,c);if(i)return m.toColor(i>>24&255,i>>16&255,i>>8&255)},t.opaque=function(n){var s=(255|n.rgba)>>>0,c=m.toChannels(s),i=c[0],u=c[1],r=c[2];return{css:f.toCss(i,u,r),rgba:s}},t.opacity=function(n,s){var c=Math.round(255*s),i=m.toChannels(n.rgba),u=i[0],r=i[1],o=i[2];return{css:f.toCss(u,r,o,c),rgba:f.toRgba(u,r,o,c)}},(b.css||(b.css={})).toColor=function(n){switch(n.length){case 7:return{css:n,rgba:(parseInt(n.slice(1),16)<<8|255)>>>0};case 9:return{css:n,rgba:parseInt(n.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(n){function s(c,i,u){var r=c/255,o=i/255,h=u/255;return .2126*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.0722*(h<=.03928?h/12.92:Math.pow((h+.055)/1.055,2.4))}n.relativeLuminance=function(c){return s(c>>16&255,c>>8&255,255&c)},n.relativeLuminance2=s}(e=b.rgb||(b.rgb={})),function(n){function s(i,u,r){for(var o=i>>24&255,h=i>>16&255,p=i>>8&255,g=u>>24&255,v=u>>16&255,y=u>>8&255,w=a(e.relativeLuminance2(g,y,v),e.relativeLuminance2(o,h,p));w0||v>0||y>0);)g-=Math.max(0,Math.ceil(.1*g)),v-=Math.max(0,Math.ceil(.1*v)),y-=Math.max(0,Math.ceil(.1*y)),w=a(e.relativeLuminance2(g,y,v),e.relativeLuminance2(o,h,p));return(g<<24|v<<16|y<<8|255)>>>0}function c(i,u,r){for(var o=i>>24&255,h=i>>16&255,p=i>>8&255,g=u>>24&255,v=u>>16&255,y=u>>8&255,w=a(e.relativeLuminance2(g,y,v),e.relativeLuminance2(o,h,p));w>>0}n.ensureContrastRatio=function(i,u,r){var o=e.relativeLuminance(i>>8),h=e.relativeLuminance(u>>8);if(a(o,h)>24&255,i>>16&255,i>>8&255,255&i]},n.toColor=function(i,u,r){return{css:f.toCss(i,u,r),rgba:f.toRgba(i,u,r)}}}(m=b.rgba||(b.rgba={})),b.toPaddedHex=d,b.contrastRatio=a},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.isLinux=b.isWindows=b.isIphone=b.isIpad=b.isMac=b.isSafari=b.isFirefox=void 0;var f=typeof navigator=="undefined",t=f?"node":navigator.userAgent,e=f?"node":navigator.platform;function m(d,a){return d.indexOf(a)>=0}b.isFirefox=!!~t.indexOf("Firefox"),b.isSafari=/^((?!chrome|android).)*safari/i.test(t),b.isMac=m(["Macintosh","MacIntel","MacPPC","Mac68K"],e),b.isIpad=e==="iPad",b.isIphone=e==="iPhone",b.isWindows=m(["Windows","Win16","Win32","WinCE"],e),b.isLinux=e.indexOf("Linux")>=0},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.C1=b.C0=void 0,function(f){f.NUL="\0",f.SOH="",f.STX="",f.ETX="",f.EOT="",f.ENQ="",f.ACK="",f.BEL="\x07",f.BS="\b",f.HT=" ",f.LF=` +`,f.VT="\v",f.FF="\f",f.CR="\r",f.SO="",f.SI="",f.DLE="",f.DC1="",f.DC2="",f.DC3="",f.DC4="",f.NAK="",f.SYN="",f.ETB="",f.CAN="",f.EM="",f.SUB="",f.ESC="",f.FS="",f.GS="",f.RS="",f.US="",f.SP=" ",f.DEL="\x7F"}(b.C0||(b.C0={})),function(f){f.PAD="\x80",f.HOP="\x81",f.BPH="\x82",f.NBH="\x83",f.IND="\x84",f.NEL="\x85",f.SSA="\x86",f.ESA="\x87",f.HTS="\x88",f.HTJ="\x89",f.VTS="\x8A",f.PLD="\x8B",f.PLU="\x8C",f.RI="\x8D",f.SS2="\x8E",f.SS3="\x8F",f.DCS="\x90",f.PU1="\x91",f.PU2="\x92",f.STS="\x93",f.CCH="\x94",f.MW="\x95",f.SPA="\x96",f.EPA="\x97",f.SOS="\x98",f.SGCI="\x99",f.SCI="\x9A",f.CSI="\x9B",f.ST="\x9C",f.OSC="\x9D",f.PM="\x9E",f.APC="\x9F"}(b.C1||(b.C1={}))},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.BaseRenderLayer=void 0;var f=A(3),t=A(9),e=A(25),m=A(6),d=A(28),a=A(10),n=A(17),s=function(){function c(i,u,r,o,h,p,g,v){this._container=i,this._alpha=o,this._colors=h,this._rendererId=p,this._bufferService=g,this._optionsService=v,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+u+"-layer"),this._canvas.style.zIndex=r.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return c.prototype.dispose=function(){var i;n.removeElementFromParent(this._canvas),(i=this._charAtlas)===null||i===void 0||i.dispose()},c.prototype._initCanvas=function(){this._ctx=d.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},c.prototype.onOptionsChanged=function(){},c.prototype.onBlur=function(){},c.prototype.onFocus=function(){},c.prototype.onCursorMove=function(){},c.prototype.onGridChanged=function(i,u){},c.prototype.onSelectionChanged=function(i,u,r){r===void 0&&(r=!1)},c.prototype.setColors=function(i){this._refreshCharAtlas(i)},c.prototype._setTransparency=function(i){if(i!==this._alpha){var u=this._canvas;this._alpha=i,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,u),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},c.prototype._refreshCharAtlas=function(i){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=e.acquireCharAtlas(this._optionsService.options,this._rendererId,i,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},c.prototype.resize=function(i){this._scaledCellWidth=i.scaledCellWidth,this._scaledCellHeight=i.scaledCellHeight,this._scaledCharWidth=i.scaledCharWidth,this._scaledCharHeight=i.scaledCharHeight,this._scaledCharLeft=i.scaledCharLeft,this._scaledCharTop=i.scaledCharTop,this._canvas.width=i.scaledCanvasWidth,this._canvas.height=i.scaledCanvasHeight,this._canvas.style.width=i.canvasWidth+"px",this._canvas.style.height=i.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},c.prototype._fillCells=function(i,u,r,o){this._ctx.fillRect(i*this._scaledCellWidth,u*this._scaledCellHeight,r*this._scaledCellWidth,o*this._scaledCellHeight)},c.prototype._fillBottomLineAtCells=function(i,u,r){r===void 0&&(r=1),this._ctx.fillRect(i*this._scaledCellWidth,(u+1)*this._scaledCellHeight-window.devicePixelRatio-1,r*this._scaledCellWidth,window.devicePixelRatio)},c.prototype._fillLeftLineAtCell=function(i,u,r){this._ctx.fillRect(i*this._scaledCellWidth,u*this._scaledCellHeight,window.devicePixelRatio*r,this._scaledCellHeight)},c.prototype._strokeRectAtCell=function(i,u,r,o){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(i*this._scaledCellWidth+window.devicePixelRatio/2,u*this._scaledCellHeight+window.devicePixelRatio/2,r*this._scaledCellWidth-window.devicePixelRatio,o*this._scaledCellHeight-window.devicePixelRatio)},c.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},c.prototype._clearCells=function(i,u,r,o){this._alpha?this._ctx.clearRect(i*this._scaledCellWidth,u*this._scaledCellHeight,r*this._scaledCellWidth,o*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(i*this._scaledCellWidth,u*this._scaledCellHeight,r*this._scaledCellWidth,o*this._scaledCellHeight))},c.prototype._fillCharTrueColor=function(i,u,r){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(r),this._ctx.fillText(i.getChars(),u*this._scaledCellWidth+this._scaledCharLeft,r*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},c.prototype._drawChars=function(i,u,r){var o,h,p=this._getContrastColor(i);p||i.isFgRGB()||i.isBgRGB()?this._drawUncachedChars(i,u,r,p):(i.isInverse()?(o=i.isBgDefault()?t.INVERTED_DEFAULT_COLOR:i.getBgColor(),h=i.isFgDefault()?t.INVERTED_DEFAULT_COLOR:i.getFgColor()):(h=i.isBgDefault()?f.DEFAULT_COLOR:i.getBgColor(),o=i.isFgDefault()?f.DEFAULT_COLOR:i.getFgColor()),o+=this._optionsService.options.drawBoldTextInBrightColors&&i.isBold()&&o<8?8:0,this._currentGlyphIdentifier.chars=i.getChars()||f.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=i.getCode()||f.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=h,this._currentGlyphIdentifier.fg=o,this._currentGlyphIdentifier.bold=!!i.isBold(),this._currentGlyphIdentifier.dim=!!i.isDim(),this._currentGlyphIdentifier.italic=!!i.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,u*this._scaledCellWidth+this._scaledCharLeft,r*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(i,u,r))},c.prototype._drawUncachedChars=function(i,u,r,o){if(this._ctx.save(),this._ctx.font=this._getFont(!!i.isBold(),!!i.isItalic()),this._ctx.textBaseline="middle",i.isInverse())if(o)this._ctx.fillStyle=o.css;else if(i.isBgDefault())this._ctx.fillStyle=a.color.opaque(this._colors.background).css;else if(i.isBgRGB())this._ctx.fillStyle="rgb("+m.AttributeData.toColorRGB(i.getBgColor()).join(",")+")";else{var h=i.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&i.isBold()&&h<8&&(h+=8),this._ctx.fillStyle=this._colors.ansi[h].css}else if(o)this._ctx.fillStyle=o.css;else if(i.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(i.isFgRGB())this._ctx.fillStyle="rgb("+m.AttributeData.toColorRGB(i.getFgColor()).join(",")+")";else{var p=i.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&i.isBold()&&p<8&&(p+=8),this._ctx.fillStyle=this._colors.ansi[p].css}this._clipRow(r),i.isDim()&&(this._ctx.globalAlpha=t.DIM_OPACITY),this._ctx.fillText(i.getChars(),u*this._scaledCellWidth+this._scaledCharLeft,r*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},c.prototype._clipRow=function(i){this._ctx.beginPath(),this._ctx.rect(0,i*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},c.prototype._getFont=function(i,u){return(u?"italic":"")+" "+(i?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},c.prototype._getContrastColor=function(i){if(this._optionsService.options.minimumContrastRatio!==1){var u=this._colors.contrastCache.getColor(i.bg,i.fg);if(u!==void 0)return u||void 0;var r=i.getFgColor(),o=i.getFgColorMode(),h=i.getBgColor(),p=i.getBgColorMode(),g=!!i.isInverse(),v=!!i.isInverse();if(g){var y=r;r=h,h=y;var w=o;o=p,p=w}var S=this._resolveBackgroundRgba(p,h,g),_=this._resolveForegroundRgba(o,r,g,v),I=a.rgba.ensureContrastRatio(S,_,this._optionsService.options.minimumContrastRatio);if(I){var C={css:a.channels.toCss(I>>24&255,I>>16&255,I>>8&255),rgba:I};return this._colors.contrastCache.setColor(i.bg,i.fg,C),C}this._colors.contrastCache.setColor(i.bg,i.fg,null)}},c.prototype._resolveBackgroundRgba=function(i,u,r){switch(i){case 16777216:case 33554432:return this._colors.ansi[u].rgba;case 50331648:return u<<8;case 0:default:return r?this._colors.foreground.rgba:this._colors.background.rgba}},c.prototype._resolveForegroundRgba=function(i,u,r,o){switch(i){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&o&&u<8&&(u+=8),this._colors.ansi[u].rgba;case 50331648:return u<<8;case 0:default:return r?this._colors.background.rgba:this._colors.foreground.rgba}},c}();b.BaseRenderLayer=s},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.createDecorator=b.getServiceDependencies=b.serviceRegistry=void 0;function f(t,e,m){e.di$target===e?e.di$dependencies.push({id:t,index:m}):(e.di$dependencies=[{id:t,index:m}],e.di$target=e)}b.serviceRegistry=new Map,b.getServiceDependencies=function(t){return t.di$dependencies||[]},b.createDecorator=function(t){if(b.serviceRegistry.has(t))return b.serviceRegistry.get(t);var e=function m(d,a,n){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");f(m,d,n)};return e.toString=function(){return t},b.serviceRegistry.set(t,e),e}},function(x,b,A){"use strict";function f(t,e,m,d){if(m===void 0&&(m=0),d===void 0&&(d=t.length),m>=t.length)return t;m=(t.length+m)%t.length,d=d>=t.length?t.length:(t.length+d)%t.length;for(var a=m;a>22,2097152&s?this._combined[n].charCodeAt(this._combined[n].length-1):c]},a.prototype.set=function(n,s){this._data[3*n+1]=s[t.CHAR_DATA_ATTR_INDEX],s[t.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[n]=s[1],this._data[3*n+0]=2097152|n|s[t.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*n+0]=s[t.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|s[t.CHAR_DATA_WIDTH_INDEX]<<22},a.prototype.getWidth=function(n){return this._data[3*n+0]>>22},a.prototype.hasWidth=function(n){return 12582912&this._data[3*n+0]},a.prototype.getFg=function(n){return this._data[3*n+1]},a.prototype.getBg=function(n){return this._data[3*n+2]},a.prototype.hasContent=function(n){return 4194303&this._data[3*n+0]},a.prototype.getCodePoint=function(n){var s=this._data[3*n+0];return 2097152&s?this._combined[n].charCodeAt(this._combined[n].length-1):2097151&s},a.prototype.isCombined=function(n){return 2097152&this._data[3*n+0]},a.prototype.getString=function(n){var s=this._data[3*n+0];return 2097152&s?this._combined[n]:2097151&s?f.stringFromCodePoint(2097151&s):""},a.prototype.loadCell=function(n,s){var c=3*n;return s.content=this._data[c+0],s.fg=this._data[c+1],s.bg=this._data[c+2],2097152&s.content&&(s.combinedData=this._combined[n]),268435456&s.bg&&(s.extended=this._extendedAttrs[n]),s},a.prototype.setCell=function(n,s){2097152&s.content&&(this._combined[n]=s.combinedData),268435456&s.bg&&(this._extendedAttrs[n]=s.extended),this._data[3*n+0]=s.content,this._data[3*n+1]=s.fg,this._data[3*n+2]=s.bg},a.prototype.setCellFromCodePoint=function(n,s,c,i,u,r){268435456&u&&(this._extendedAttrs[n]=r),this._data[3*n+0]=s|c<<22,this._data[3*n+1]=i,this._data[3*n+2]=u},a.prototype.addCodepointToCell=function(n,s){var c=this._data[3*n+0];2097152&c?this._combined[n]+=f.stringFromCodePoint(s):(2097151&c?(this._combined[n]=f.stringFromCodePoint(2097151&c)+f.stringFromCodePoint(s),c&=-2097152,c|=2097152):c=s|1<<22,this._data[3*n+0]=c)},a.prototype.insertCells=function(n,s,c,i){if((n%=this.length)&&this.getWidth(n-1)===2&&this.setCellFromCodePoint(n-1,0,1,(i==null?void 0:i.fg)||0,(i==null?void 0:i.bg)||0,(i==null?void 0:i.extended)||new m.ExtendedAttrs),s=0;--r)this.setCell(n+s+r,this.loadCell(n+r,u));for(r=0;rthis.length){var c=new Uint32Array(3*n);this.length&&(3*n=n&&delete this._combined[r]}}else this._data=new Uint32Array(0),this._combined={};this.length=n}},a.prototype.fill=function(n){this._combined={},this._extendedAttrs={};for(var s=0;s=0;--n)if(4194303&this._data[3*n+0])return n+(this._data[3*n+0]>>22);return 0},a.prototype.copyCellsFrom=function(n,s,c,i,u){var r=n._data;if(u)for(var o=i-1;o>=0;o--)for(var h=0;h<3;h++)this._data[3*(c+o)+h]=r[3*(s+o)+h];else for(o=0;o=s&&(this._combined[g-s+c]=n._combined[g])}},a.prototype.translateToString=function(n,s,c){n===void 0&&(n=!1),s===void 0&&(s=0),c===void 0&&(c=this.length),n&&(c=Math.min(c,this.getTrimmedLength()));for(var i="";s>22||1}return i},a}();b.BufferLine=d},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.removeElementFromParent=void 0,b.removeElementFromParent=function(){for(var f,t=[],e=0;e24)return I.setWinLines||!1;switch(_){case 1:return!!I.restoreWin;case 2:return!!I.minimizeWin;case 3:return!!I.setWinPosition;case 4:return!!I.setWinSizePixels;case 5:return!!I.raiseWin;case 6:return!!I.lowerWin;case 7:return!!I.refreshWin;case 8:return!!I.setWinSizeChars;case 9:return!!I.maximizeWin;case 10:return!!I.fullscreenWin;case 11:return!!I.getWinState;case 13:return!!I.getWinPosition;case 14:return!!I.getWinSizePixels;case 15:return!!I.getScreenSizePixels;case 16:return!!I.getCellSizePixels;case 18:return!!I.getWinSizeChars;case 19:return!!I.getScreenSizeChars;case 20:return!!I.getIconTitle;case 21:return!!I.getWinTitle;case 22:return!!I.pushTitle;case 23:return!!I.popTitle;case 24:return!!I.setWinLines}return!1}!function(_){_[_.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",_[_.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(e=b.WindowsOptionsReportType||(b.WindowsOptionsReportType={}));var w=function(){function _(I,C,E,O){this._bufferService=I,this._coreService=C,this._logService=E,this._optionsService=O,this._data=new Uint32Array(0)}return _.prototype.hook=function(I){this._data=new Uint32Array(0)},_.prototype.put=function(I,C,E){this._data=s.concat(this._data,I.subarray(C,E))},_.prototype.unhook=function(I){if(I){var C=c.utf32ToString(this._data);switch(this._data=new Uint32Array(0),C){case'"q':return this._coreService.triggerDataEvent(m.C0.ESC+'P1$r0"q'+m.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(m.C0.ESC+'P1$r61;1"p'+m.C0.ESC+"\\");case"r":var E=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(m.C0.ESC+"P1$r"+E+m.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(m.C0.ESC+"P1$r0m"+m.C0.ESC+"\\");case" q":var O={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return O-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(m.C0.ESC+"P1$r"+O+" q"+m.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",C),this._coreService.triggerDataEvent(m.C0.ESC+"P0$r"+m.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},_}(),S=function(_){function I(C,E,O,M,F,H,B,X,J){J===void 0&&(J=new a.EscapeSequenceParser);var k=_.call(this)||this;k._bufferService=C,k._charsetService=E,k._coreService=O,k._dirtyRowService=M,k._logService=F,k._optionsService=H,k._coreMouseService=B,k._unicodeService=X,k._parser=J,k._parseBuffer=new Uint32Array(4096),k._stringDecoder=new c.StringToUtf32,k._utf8Decoder=new c.Utf8ToUtf32,k._workCell=new o.CellData,k._windowTitle="",k._iconName="",k._windowTitleStack=[],k._iconNameStack=[],k._curAttrData=i.DEFAULT_ATTR_DATA.clone(),k._eraseAttrDataInternal=i.DEFAULT_ATTR_DATA.clone(),k._onRequestBell=new u.EventEmitter,k._onRequestRefreshRows=new u.EventEmitter,k._onRequestReset=new u.EventEmitter,k._onRequestScroll=new u.EventEmitter,k._onRequestSyncScrollBar=new u.EventEmitter,k._onRequestWindowsOptionsReport=new u.EventEmitter,k._onA11yChar=new u.EventEmitter,k._onA11yTab=new u.EventEmitter,k._onCursorMove=new u.EventEmitter,k._onLineFeed=new u.EventEmitter,k._onScroll=new u.EventEmitter,k._onTitleChange=new u.EventEmitter,k.register(k._parser),k._parser.setCsiHandlerFallback(function(P,G){k._logService.debug("Unknown CSI code: ",{identifier:k._parser.identToString(P),params:G.toArray()})}),k._parser.setEscHandlerFallback(function(P){k._logService.debug("Unknown ESC code: ",{identifier:k._parser.identToString(P)})}),k._parser.setExecuteHandlerFallback(function(P){k._logService.debug("Unknown EXECUTE code: ",{code:P})}),k._parser.setOscHandlerFallback(function(P,G,V){k._logService.debug("Unknown OSC code: ",{identifier:P,action:G,data:V})}),k._parser.setDcsHandlerFallback(function(P,G,V){G==="HOOK"&&(V=V.toArray()),k._logService.debug("Unknown DCS code: ",{identifier:k._parser.identToString(P),action:G,payload:V})}),k._parser.setPrintHandler(function(P,G,V){return k.print(P,G,V)}),k._parser.setCsiHandler({final:"@"},function(P){return k.insertChars(P)}),k._parser.setCsiHandler({intermediates:" ",final:"@"},function(P){return k.scrollLeft(P)}),k._parser.setCsiHandler({final:"A"},function(P){return k.cursorUp(P)}),k._parser.setCsiHandler({intermediates:" ",final:"A"},function(P){return k.scrollRight(P)}),k._parser.setCsiHandler({final:"B"},function(P){return k.cursorDown(P)}),k._parser.setCsiHandler({final:"C"},function(P){return k.cursorForward(P)}),k._parser.setCsiHandler({final:"D"},function(P){return k.cursorBackward(P)}),k._parser.setCsiHandler({final:"E"},function(P){return k.cursorNextLine(P)}),k._parser.setCsiHandler({final:"F"},function(P){return k.cursorPrecedingLine(P)}),k._parser.setCsiHandler({final:"G"},function(P){return k.cursorCharAbsolute(P)}),k._parser.setCsiHandler({final:"H"},function(P){return k.cursorPosition(P)}),k._parser.setCsiHandler({final:"I"},function(P){return k.cursorForwardTab(P)}),k._parser.setCsiHandler({final:"J"},function(P){return k.eraseInDisplay(P)}),k._parser.setCsiHandler({prefix:"?",final:"J"},function(P){return k.eraseInDisplay(P)}),k._parser.setCsiHandler({final:"K"},function(P){return k.eraseInLine(P)}),k._parser.setCsiHandler({prefix:"?",final:"K"},function(P){return k.eraseInLine(P)}),k._parser.setCsiHandler({final:"L"},function(P){return k.insertLines(P)}),k._parser.setCsiHandler({final:"M"},function(P){return k.deleteLines(P)}),k._parser.setCsiHandler({final:"P"},function(P){return k.deleteChars(P)}),k._parser.setCsiHandler({final:"S"},function(P){return k.scrollUp(P)}),k._parser.setCsiHandler({final:"T"},function(P){return k.scrollDown(P)}),k._parser.setCsiHandler({final:"X"},function(P){return k.eraseChars(P)}),k._parser.setCsiHandler({final:"Z"},function(P){return k.cursorBackwardTab(P)}),k._parser.setCsiHandler({final:"`"},function(P){return k.charPosAbsolute(P)}),k._parser.setCsiHandler({final:"a"},function(P){return k.hPositionRelative(P)}),k._parser.setCsiHandler({final:"b"},function(P){return k.repeatPrecedingCharacter(P)}),k._parser.setCsiHandler({final:"c"},function(P){return k.sendDeviceAttributesPrimary(P)}),k._parser.setCsiHandler({prefix:">",final:"c"},function(P){return k.sendDeviceAttributesSecondary(P)}),k._parser.setCsiHandler({final:"d"},function(P){return k.linePosAbsolute(P)}),k._parser.setCsiHandler({final:"e"},function(P){return k.vPositionRelative(P)}),k._parser.setCsiHandler({final:"f"},function(P){return k.hVPosition(P)}),k._parser.setCsiHandler({final:"g"},function(P){return k.tabClear(P)}),k._parser.setCsiHandler({final:"h"},function(P){return k.setMode(P)}),k._parser.setCsiHandler({prefix:"?",final:"h"},function(P){return k.setModePrivate(P)}),k._parser.setCsiHandler({final:"l"},function(P){return k.resetMode(P)}),k._parser.setCsiHandler({prefix:"?",final:"l"},function(P){return k.resetModePrivate(P)}),k._parser.setCsiHandler({final:"m"},function(P){return k.charAttributes(P)}),k._parser.setCsiHandler({final:"n"},function(P){return k.deviceStatus(P)}),k._parser.setCsiHandler({prefix:"?",final:"n"},function(P){return k.deviceStatusPrivate(P)}),k._parser.setCsiHandler({intermediates:"!",final:"p"},function(P){return k.softReset(P)}),k._parser.setCsiHandler({intermediates:" ",final:"q"},function(P){return k.setCursorStyle(P)}),k._parser.setCsiHandler({final:"r"},function(P){return k.setScrollRegion(P)}),k._parser.setCsiHandler({final:"s"},function(P){return k.saveCursor(P)}),k._parser.setCsiHandler({final:"t"},function(P){return k.windowOptions(P)}),k._parser.setCsiHandler({final:"u"},function(P){return k.restoreCursor(P)}),k._parser.setCsiHandler({intermediates:"'",final:"}"},function(P){return k.insertColumns(P)}),k._parser.setCsiHandler({intermediates:"'",final:"~"},function(P){return k.deleteColumns(P)}),k._parser.setExecuteHandler(m.C0.BEL,function(){return k.bell()}),k._parser.setExecuteHandler(m.C0.LF,function(){return k.lineFeed()}),k._parser.setExecuteHandler(m.C0.VT,function(){return k.lineFeed()}),k._parser.setExecuteHandler(m.C0.FF,function(){return k.lineFeed()}),k._parser.setExecuteHandler(m.C0.CR,function(){return k.carriageReturn()}),k._parser.setExecuteHandler(m.C0.BS,function(){return k.backspace()}),k._parser.setExecuteHandler(m.C0.HT,function(){return k.tab()}),k._parser.setExecuteHandler(m.C0.SO,function(){return k.shiftOut()}),k._parser.setExecuteHandler(m.C0.SI,function(){return k.shiftIn()}),k._parser.setExecuteHandler(m.C1.IND,function(){return k.index()}),k._parser.setExecuteHandler(m.C1.NEL,function(){return k.nextLine()}),k._parser.setExecuteHandler(m.C1.HTS,function(){return k.tabSet()}),k._parser.setOscHandler(0,new p.OscHandler(function(P){k.setTitle(P),k.setIconName(P)})),k._parser.setOscHandler(1,new p.OscHandler(function(P){return k.setIconName(P)})),k._parser.setOscHandler(2,new p.OscHandler(function(P){return k.setTitle(P)})),k._parser.setEscHandler({final:"7"},function(){return k.saveCursor()}),k._parser.setEscHandler({final:"8"},function(){return k.restoreCursor()}),k._parser.setEscHandler({final:"D"},function(){return k.index()}),k._parser.setEscHandler({final:"E"},function(){return k.nextLine()}),k._parser.setEscHandler({final:"H"},function(){return k.tabSet()}),k._parser.setEscHandler({final:"M"},function(){return k.reverseIndex()}),k._parser.setEscHandler({final:"="},function(){return k.keypadApplicationMode()}),k._parser.setEscHandler({final:">"},function(){return k.keypadNumericMode()}),k._parser.setEscHandler({final:"c"},function(){return k.fullReset()}),k._parser.setEscHandler({final:"n"},function(){return k.setgLevel(2)}),k._parser.setEscHandler({final:"o"},function(){return k.setgLevel(3)}),k._parser.setEscHandler({final:"|"},function(){return k.setgLevel(3)}),k._parser.setEscHandler({final:"}"},function(){return k.setgLevel(2)}),k._parser.setEscHandler({final:"~"},function(){return k.setgLevel(1)}),k._parser.setEscHandler({intermediates:"%",final:"@"},function(){return k.selectDefaultCharset()}),k._parser.setEscHandler({intermediates:"%",final:"G"},function(){return k.selectDefaultCharset()});var K=function(G){z._parser.setEscHandler({intermediates:"(",final:G},function(){return k.selectCharset("("+G)}),z._parser.setEscHandler({intermediates:")",final:G},function(){return k.selectCharset(")"+G)}),z._parser.setEscHandler({intermediates:"*",final:G},function(){return k.selectCharset("*"+G)}),z._parser.setEscHandler({intermediates:"+",final:G},function(){return k.selectCharset("+"+G)}),z._parser.setEscHandler({intermediates:"-",final:G},function(){return k.selectCharset("-"+G)}),z._parser.setEscHandler({intermediates:".",final:G},function(){return k.selectCharset("."+G)}),z._parser.setEscHandler({intermediates:"/",final:G},function(){return k.selectCharset("/"+G)})},z=this;for(var W in d.CHARSETS)K(W);return k._parser.setEscHandler({intermediates:"#",final:"8"},function(){return k.screenAlignmentPattern()}),k._parser.setErrorHandler(function(P){return k._logService.error("Parsing error: ",P),P}),k._parser.setDcsHandler({intermediates:"$",final:"q"},new w(k._bufferService,k._coreService,k._logService,k._optionsService)),k}return t(I,_),Object.defineProperty(I.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),I.prototype.dispose=function(){_.prototype.dispose.call(this)},I.prototype.parse=function(C){var E=this._bufferService.buffer,O=E.x,M=E.y;if(this._logService.debug("parsing data",C),this._parseBuffer.length131072)for(var F=0;F0&&W.getWidth(H.x-1)===2&&W.setCellFromCodePoint(H.x-1,0,1,z.fg,z.bg,z.extended);for(var P=E;P=J){if(k){for(;H.x=this._bufferService.rows&&(H.y=this._bufferService.rows-1),H.lines.get(H.ybase+H.y).isWrapped=!0),W=H.lines.get(H.ybase+H.y)}else if(H.x=J-1,F===2)continue}if(K&&(W.insertCells(H.x,F,H.getNullCell(z),z),W.getWidth(J-1)===2&&W.setCellFromCodePoint(J-1,r.NULL_CELL_CODE,r.NULL_CELL_WIDTH,z.fg,z.bg,z.extended)),W.setCellFromCodePoint(H.x++,M,F,z.fg,z.bg,z.extended),F>0)for(;--F;)W.setCellFromCodePoint(H.x++,0,0,z.fg,z.bg,z.extended)}else W.getWidth(H.x-1)?W.addCodepointToCell(H.x-1,M):W.addCodepointToCell(H.x-2,M)}O-E>0&&(W.loadCell(H.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),H.x0&&W.getWidth(H.x)===0&&!W.hasContent(H.x)&&W.setCellFromCodePoint(H.x,0,1,z.fg,z.bg,z.extended),this._dirtyRowService.markDirty(H.y)},I.prototype.addCsiHandler=function(C,E){var O=this;return C.final!=="t"||C.prefix||C.intermediates?this._parser.addCsiHandler(C,E):this._parser.addCsiHandler(C,function(M){return!y(M.params[0],O._optionsService.options.windowOptions)||E(M)})},I.prototype.addDcsHandler=function(C,E){return this._parser.addDcsHandler(C,new g.DcsHandler(E))},I.prototype.addEscHandler=function(C,E){return this._parser.addEscHandler(C,E)},I.prototype.addOscHandler=function(C,E){return this._parser.addOscHandler(C,new p.OscHandler(E))},I.prototype.bell=function(){this._onRequestBell.fire()},I.prototype.lineFeed=function(){var C=this._bufferService.buffer;this._dirtyRowService.markDirty(C.y),this._optionsService.options.convertEol&&(C.x=0),C.y++,C.y===C.scrollBottom+1?(C.y--,this._onRequestScroll.fire(this._eraseAttrData())):C.y>=this._bufferService.rows&&(C.y=this._bufferService.rows-1),C.x>=this._bufferService.cols&&C.x--,this._dirtyRowService.markDirty(C.y),this._onLineFeed.fire()},I.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},I.prototype.backspace=function(){var C,E=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(E.x>0&&E.x--);if(this._restrictCursor(this._bufferService.cols),E.x>0)E.x--;else if(E.x===0&&E.y>E.scrollTop&&E.y<=E.scrollBottom&&((C=E.lines.get(E.ybase+E.y))===null||C===void 0?void 0:C.isWrapped)){E.lines.get(E.ybase+E.y).isWrapped=!1,E.y--,E.x=this._bufferService.cols-1;var O=E.lines.get(E.ybase+E.y);O.hasWidth(E.x)&&!O.hasContent(E.x)&&E.x--}this._restrictCursor()},I.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var C=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-C)}},I.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},I.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},I.prototype._restrictCursor=function(C){C===void 0&&(C=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(C,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},I.prototype._setCursor=function(C,E){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=C,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+E):(this._bufferService.buffer.x=C,this._bufferService.buffer.y=E),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},I.prototype._moveCursor=function(C,E){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+C,this._bufferService.buffer.y+E)},I.prototype.cursorUp=function(C){var E=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;E>=0?this._moveCursor(0,-Math.min(E,C.params[0]||1)):this._moveCursor(0,-(C.params[0]||1))},I.prototype.cursorDown=function(C){var E=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;E>=0?this._moveCursor(0,Math.min(E,C.params[0]||1)):this._moveCursor(0,C.params[0]||1)},I.prototype.cursorForward=function(C){this._moveCursor(C.params[0]||1,0)},I.prototype.cursorBackward=function(C){this._moveCursor(-(C.params[0]||1),0)},I.prototype.cursorNextLine=function(C){this.cursorDown(C),this._bufferService.buffer.x=0},I.prototype.cursorPrecedingLine=function(C){this.cursorUp(C),this._bufferService.buffer.x=0},I.prototype.cursorCharAbsolute=function(C){this._setCursor((C.params[0]||1)-1,this._bufferService.buffer.y)},I.prototype.cursorPosition=function(C){this._setCursor(C.length>=2?(C.params[1]||1)-1:0,(C.params[0]||1)-1)},I.prototype.charPosAbsolute=function(C){this._setCursor((C.params[0]||1)-1,this._bufferService.buffer.y)},I.prototype.hPositionRelative=function(C){this._moveCursor(C.params[0]||1,0)},I.prototype.linePosAbsolute=function(C){this._setCursor(this._bufferService.buffer.x,(C.params[0]||1)-1)},I.prototype.vPositionRelative=function(C){this._moveCursor(0,C.params[0]||1)},I.prototype.hVPosition=function(C){this.cursorPosition(C)},I.prototype.tabClear=function(C){var E=C.params[0];E===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:E===3&&(this._bufferService.buffer.tabs={})},I.prototype.cursorForwardTab=function(C){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var E=C.params[0]||1;E--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},I.prototype.cursorBackwardTab=function(C){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var E=C.params[0]||1,O=this._bufferService.buffer;E--;)O.x=O.prevStop()},I.prototype._eraseInBufferLine=function(C,E,O,M){M===void 0&&(M=!1);var F=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+C);F.replaceCells(E,O,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),M&&(F.isWrapped=!1)},I.prototype._resetBufferLine=function(C){var E=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+C);E.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),E.isWrapped=!1},I.prototype.eraseInDisplay=function(C){var E;switch(this._restrictCursor(),C.params[0]){case 0:for(E=this._bufferService.buffer.y,this._dirtyRowService.markDirty(E),this._eraseInBufferLine(E++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);E=this._bufferService.cols&&(this._bufferService.buffer.lines.get(E+1).isWrapped=!1);E--;)this._resetBufferLine(E);this._dirtyRowService.markDirty(0);break;case 2:for(E=this._bufferService.rows,this._dirtyRowService.markDirty(E-1);E--;)this._resetBufferLine(E);this._dirtyRowService.markDirty(0);break;case 3:var O=this._bufferService.buffer.lines.length-this._bufferService.rows;O>0&&(this._bufferService.buffer.lines.trimStart(O),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-O,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-O,0),this._onScroll.fire(0))}},I.prototype.eraseInLine=function(C){switch(this._restrictCursor(),C.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},I.prototype.insertLines=function(C){this._restrictCursor();var E=C.params[0]||1,O=this._bufferService.buffer;if(!(O.y>O.scrollBottom||O.yO.scrollBottom||O.yE.scrollBottom||E.yE.scrollBottom||E.yE.scrollBottom||E.yE.scrollBottom||E.y0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(m.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(m.C0.ESC+"[?6c"))},I.prototype.sendDeviceAttributesSecondary=function(C){C.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(m.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(m.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(C.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(m.C0.ESC+"[>83;40003;0c"))},I.prototype._is=function(C){return(this._optionsService.options.termName+"").indexOf(C)===0},I.prototype.setMode=function(C){for(var E=0;E=2||M[1]===2&&H+F>=5)break;M[1]&&(F=1)}while(++H+E5)&&(C=1),E.extended.underlineStyle=C,E.fg|=268435456,C===0&&(E.fg&=-268435457),E.updateExtended()},I.prototype.charAttributes=function(C){if(C.length===1&&C.params[0]===0)return this._curAttrData.fg=i.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=i.DEFAULT_ATTR_DATA.bg);for(var E,O=C.length,M=this._curAttrData,F=0;F=30&&E<=37?(M.fg&=-50331904,M.fg|=16777216|E-30):E>=40&&E<=47?(M.bg&=-50331904,M.bg|=16777216|E-40):E>=90&&E<=97?(M.fg&=-50331904,M.fg|=16777224|E-90):E>=100&&E<=107?(M.bg&=-50331904,M.bg|=16777224|E-100):E===0?(M.fg=i.DEFAULT_ATTR_DATA.fg,M.bg=i.DEFAULT_ATTR_DATA.bg):E===1?M.fg|=134217728:E===3?M.bg|=67108864:E===4?(M.fg|=268435456,this._processUnderline(C.hasSubParams(F)?C.getSubParams(F)[0]:1,M)):E===5?M.fg|=536870912:E===7?M.fg|=67108864:E===8?M.fg|=1073741824:E===2?M.bg|=134217728:E===21?this._processUnderline(2,M):E===22?(M.fg&=-134217729,M.bg&=-134217729):E===23?M.bg&=-67108865:E===24?M.fg&=-268435457:E===25?M.fg&=-536870913:E===27?M.fg&=-67108865:E===28?M.fg&=-1073741825:E===39?(M.fg&=-67108864,M.fg|=16777215&i.DEFAULT_ATTR_DATA.fg):E===49?(M.bg&=-67108864,M.bg|=16777215&i.DEFAULT_ATTR_DATA.bg):E===38||E===48||E===58?F+=this._extractColor(C,F,M):E===59?(M.extended=M.extended.clone(),M.extended.underlineColor=-1,M.updateExtended()):E===100?(M.fg&=-67108864,M.fg|=16777215&i.DEFAULT_ATTR_DATA.fg,M.bg&=-67108864,M.bg|=16777215&i.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",E)},I.prototype.deviceStatus=function(C){switch(C.params[0]){case 5:this._coreService.triggerDataEvent(m.C0.ESC+"[0n");break;case 6:var E=this._bufferService.buffer.y+1,O=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(m.C0.ESC+"["+E+";"+O+"R")}},I.prototype.deviceStatusPrivate=function(C){switch(C.params[0]){case 6:var E=this._bufferService.buffer.y+1,O=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(m.C0.ESC+"[?"+E+";"+O+"R")}},I.prototype.softReset=function(C){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=i.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},I.prototype.setCursorStyle=function(C){var E=C.params[0]||1;switch(E){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var O=E%2==1;this._optionsService.options.cursorBlink=O},I.prototype.setScrollRegion=function(C){var E,O=C.params[0]||1;(C.length<2||(E=C.params[1])>this._bufferService.rows||E===0)&&(E=this._bufferService.rows),E>O&&(this._bufferService.buffer.scrollTop=O-1,this._bufferService.buffer.scrollBottom=E-1,this._setCursor(0,0))},I.prototype.windowOptions=function(C){if(y(C.params[0],this._optionsService.options.windowOptions)){var E=C.length>1?C.params[1]:0;switch(C.params[0]){case 14:E!==2&&this._onRequestWindowsOptionsReport.fire(e.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(e.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(m.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:E!==0&&E!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),E!==0&&E!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:E!==0&&E!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),E!==0&&E!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},I.prototype.saveCursor=function(C){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},I.prototype.restoreCursor=function(C){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},I.prototype.setTitle=function(C){this._windowTitle=C,this._onTitleChange.fire(C)},I.prototype.setIconName=function(C){this._iconName=C},I.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},I.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},I.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},I.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,d.DEFAULT_CHARSET)},I.prototype.selectCharset=function(C){C.length===2?C[0]!=="/"&&this._charsetService.setgCharset(v[C[0]],d.CHARSETS[C[1]]||d.DEFAULT_CHARSET):this.selectDefaultCharset()},I.prototype.index=function(){this._restrictCursor();var C=this._bufferService.buffer;this._bufferService.buffer.y++,C.y===C.scrollBottom+1?(C.y--,this._onRequestScroll.fire(this._eraseAttrData())):C.y>=this._bufferService.rows&&(C.y=this._bufferService.rows-1),this._restrictCursor()},I.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},I.prototype.reverseIndex=function(){this._restrictCursor();var C=this._bufferService.buffer;if(C.y===C.scrollTop){var E=C.scrollBottom-C.scrollTop;C.lines.shiftElements(C.ybase+C.y,E,1),C.lines.set(C.ybase+C.y,C.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}else C.y--,this._restrictCursor()},I.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},I.prototype.reset=function(){this._curAttrData=i.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=i.DEFAULT_ATTR_DATA.clone()},I.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},I.prototype.setgLevel=function(C){this._charsetService.setgLevel(C)},I.prototype.screenAlignmentPattern=function(){var C=new o.CellData;C.content=1<<22|"E".charCodeAt(0),C.fg=this._curAttrData.fg,C.bg=this._curAttrData.bg;var E=this._bufferService.buffer;this._setCursor(0,0);for(var O=0;O256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(e),this.length=0,this._subParams=new Int32Array(m),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(e),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return t.fromArray=function(e){var m=new t;if(!e.length)return m;for(var d=e[0]instanceof Array?1:0;d>8,a=255&this._subParamsIdx[m];a-d>0&&e.push(Array.prototype.slice.call(this._subParams,d,a))}return e},t.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},t.prototype.addParam=function(e){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=e>2147483647?2147483647:e}},t.prototype.addSubParam=function(e){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=e>2147483647?2147483647:e,this._subParamsIdx[this.length-1]++}},t.prototype.hasSubParams=function(e){return(255&this._subParamsIdx[e])-(this._subParamsIdx[e]>>8)>0},t.prototype.getSubParams=function(e){var m=this._subParamsIdx[e]>>8,d=255&this._subParamsIdx[e];return d-m>0?this._subParams.subarray(m,d):null},t.prototype.getSubParamsAll=function(){for(var e={},m=0;m>8,a=255&this._subParamsIdx[m];a-d>0&&(e[m]=this._subParams.slice(d,a))}return e},t.prototype.addDigit=function(e){var m;if(!(this._rejectDigits||!(m=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var d=this._digitIsSub?this._subParams:this.params,a=d[m-1];d[m-1]=~a?Math.min(10*a+e,2147483647):e}},t}();b.Params=f},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.OscHandler=b.OscParser=void 0;var f=A(23),t=A(8),e=function(){function d(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return d.prototype.addHandler=function(a,n){this._handlers[a]===void 0&&(this._handlers[a]=[]);var s=this._handlers[a];return s.push(n),{dispose:function(){var i=s.indexOf(n);i!==-1&&s.splice(i,1)}}},d.prototype.setHandler=function(a,n){this._handlers[a]=[n]},d.prototype.clearHandler=function(a){this._handlers[a]&&delete this._handlers[a]},d.prototype.setHandlerFallback=function(a){this._handlerFb=a},d.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},d.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},d.prototype._start=function(){var a=this._handlers[this._id];if(a)for(var n=a.length-1;n>=0;n--)a[n].start();else this._handlerFb(this._id,"START")},d.prototype._put=function(a,n,s){var c=this._handlers[this._id];if(c)for(var i=c.length-1;i>=0;i--)c[i].put(a,n,s);else this._handlerFb(this._id,"PUT",t.utf32ToString(a,n,s))},d.prototype._end=function(a){var n=this._handlers[this._id];if(n){for(var s=n.length-1;s>=0&&n[s].end(a)===!1;s--);for(s--;s>=0;s--)n[s].end(!1)}else this._handlerFb(this._id,"END",a)},d.prototype.start=function(){this.reset(),this._id=-1,this._state=1},d.prototype.put=function(a,n,s){if(this._state!==3){if(this._state===1)for(;n0&&this._put(a,n,s)}},d.prototype.end=function(a){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(a)),this._id=-1,this._state=0)},d}();b.OscParser=e;var m=function(){function d(a){this._handler=a,this._data="",this._hitLimit=!1}return d.prototype.start=function(){this._data="",this._hitLimit=!1},d.prototype.put=function(a,n,s){this._hitLimit||(this._data+=t.utf32ToString(a,n,s),this._data.length>f.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},d.prototype.end=function(a){var n;return this._hitLimit?n=!1:a&&(n=this._handler(this._data)),this._data="",this._hitLimit=!1,n},d}();b.OscHandler=m},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.PAYLOAD_LIMIT=void 0,b.PAYLOAD_LIMIT=1e7},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.DcsHandler=b.DcsParser=void 0;var f=A(8),t=A(21),e=A(23),m=[],d=function(){function n(){this._handlers=Object.create(null),this._active=m,this._ident=0,this._handlerFb=function(){}}return n.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},n.prototype.addHandler=function(s,c){this._handlers[s]===void 0&&(this._handlers[s]=[]);var i=this._handlers[s];return i.push(c),{dispose:function(){var r=i.indexOf(c);r!==-1&&i.splice(r,1)}}},n.prototype.setHandler=function(s,c){this._handlers[s]=[c]},n.prototype.clearHandler=function(s){this._handlers[s]&&delete this._handlers[s]},n.prototype.setHandlerFallback=function(s){this._handlerFb=s},n.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=m,this._ident=0},n.prototype.hook=function(s,c){if(this.reset(),this._ident=s,this._active=this._handlers[s]||m,this._active.length)for(var i=this._active.length-1;i>=0;i--)this._active[i].hook(c);else this._handlerFb(this._ident,"HOOK",c)},n.prototype.put=function(s,c,i){if(this._active.length)for(var u=this._active.length-1;u>=0;u--)this._active[u].put(s,c,i);else this._handlerFb(this._ident,"PUT",f.utf32ToString(s,c,i))},n.prototype.unhook=function(s){if(this._active.length){for(var c=this._active.length-1;c>=0&&this._active[c].unhook(s)===!1;c--);for(c--;c>=0;c--)this._active[c].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",s);this._active=m,this._ident=0},n}();b.DcsParser=d;var a=function(){function n(s){this._handler=s,this._data="",this._hitLimit=!1}return n.prototype.hook=function(s){this._params=s.clone(),this._data="",this._hitLimit=!1},n.prototype.put=function(s,c,i){this._hitLimit||(this._data+=f.utf32ToString(s,c,i),this._data.length>e.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},n.prototype.unhook=function(s){var c;return this._hitLimit?c=!1:s&&(c=this._handler(this._data,this._params||new t.Params)),this._params=void 0,this._data="",this._hitLimit=!1,c},n}();b.DcsHandler=a},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.removeTerminalFromCache=b.acquireCharAtlas=void 0;var f=A(26),t=A(43),e=[];b.acquireCharAtlas=function(m,d,a,n,s){for(var c=f.generateConfig(n,s,m,a),i=0;i=0){if(f.configEquals(r.config,c))return r.atlas;r.ownedBy.length===1?(r.atlas.dispose(),e.splice(i,1)):r.ownedBy.splice(u,1);break}}for(i=0;i1)for(var w=this._getJoinedRanges(r,p,h,i,o),S=0;S1)for(w=this._getJoinedRanges(r,p,h,i,o),S=0;S=this._line.length))return h?(this._line.loadCell(o,h),h):this._line.loadCell(o,new f.CellData)},r.prototype.translateToString=function(o,h,p){return this._line.translateToString(o,h,p)},r}(),i=function(){function r(o){this._core=o}return r.prototype.registerCsiHandler=function(o,h){return this._core.addCsiHandler(o,function(p){return h(p.toArray())})},r.prototype.addCsiHandler=function(o,h){return this.registerCsiHandler(o,h)},r.prototype.registerDcsHandler=function(o,h){return this._core.addDcsHandler(o,function(p,g){return h(p,g.toArray())})},r.prototype.addDcsHandler=function(o,h){return this.registerDcsHandler(o,h)},r.prototype.registerEscHandler=function(o,h){return this._core.addEscHandler(o,h)},r.prototype.addEscHandler=function(o,h){return this.registerEscHandler(o,h)},r.prototype.registerOscHandler=function(o,h){return this._core.addOscHandler(o,h)},r.prototype.addOscHandler=function(o,h){return this.registerOscHandler(o,h)},r}(),u=function(){function r(o){this._core=o}return r.prototype.register=function(o){this._core.unicodeService.register(o)},Object.defineProperty(r.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(h){this._core.unicodeService.activeVersion=h},enumerable:!1,configurable:!0}),r}()},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(k,K){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,W){z.__proto__=W}||function(z,W){for(var P in W)W.hasOwnProperty(P)&&(z[P]=W[P])})(k,K)},function(J,k){function K(){this.constructor=J}f(J,k),J.prototype=k===null?Object.create(k):(K.prototype=k.prototype,new K)});Object.defineProperty(b,"__esModule",{value:!0}),b.Terminal=void 0;var e=A(36),m=A(37),d=A(38),a=A(12),n=A(19),s=A(40),c=A(50),i=A(51),u=A(11),r=A(7),o=A(18),h=A(54),p=A(55),g=A(56),v=A(57),y=A(59),w=A(0),S=A(16),_=A(27),I=A(60),C=A(5),E=A(61),O=A(62),M=A(63),F=A(64),H=A(65),B=typeof window!="undefined"?window.document:null,X=function(J){function k(K){K===void 0&&(K={});var z=J.call(this,K)||this;return z.browser=u,z._keyDownHandled=!1,z._onCursorMove=new w.EventEmitter,z._onKey=new w.EventEmitter,z._onRender=new w.EventEmitter,z._onSelectionChange=new w.EventEmitter,z._onTitleChange=new w.EventEmitter,z._onFocus=new w.EventEmitter,z._onBlur=new w.EventEmitter,z._onA11yCharEmitter=new w.EventEmitter,z._onA11yTabEmitter=new w.EventEmitter,z._setup(),z.linkifier=z._instantiationService.createInstance(c.Linkifier),z.linkifier2=z.register(z._instantiationService.createInstance(M.Linkifier2)),z.register(z._inputHandler.onRequestBell(function(){return z.bell()})),z.register(z._inputHandler.onRequestRefreshRows(function(W,P){return z.refresh(W,P)})),z.register(z._inputHandler.onRequestReset(function(){return z.reset()})),z.register(z._inputHandler.onRequestScroll(function(W,P){return z.scroll(W,P||void 0)})),z.register(z._inputHandler.onRequestWindowsOptionsReport(function(W){return z._reportWindowsOptions(W)})),z.register(w.forwardEvent(z._inputHandler.onCursorMove,z._onCursorMove)),z.register(w.forwardEvent(z._inputHandler.onTitleChange,z._onTitleChange)),z.register(w.forwardEvent(z._inputHandler.onA11yChar,z._onA11yCharEmitter)),z.register(w.forwardEvent(z._inputHandler.onA11yTab,z._onA11yTabEmitter)),z.register(z._bufferService.onResize(function(W){return z._afterResize(W.cols,W.rows)})),z}return t(k,J),Object.defineProperty(k.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),k.prototype.dispose=function(){var K,z,W;this._isDisposed||(J.prototype.dispose.call(this),(K=this._renderService)===null||K===void 0||K.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(W=(z=this.element)===null||z===void 0?void 0:z.parentNode)===null||W===void 0||W.removeChild(this.element))},k.prototype._setup=function(){J.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(k.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),k.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},k.prototype._updateOptions=function(K){var z,W,P,G;switch(J.prototype._updateOptions.call(this,K),K){case"fontFamily":case"fontSize":(z=this._renderService)===null||z===void 0||z.clear(),(W=this._charSizeService)===null||W===void 0||W.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(P=this.viewport)===null||P===void 0||P.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new g.AccessibilityManager(this,this._renderService)):((G=this._accessibilityManager)===null||G===void 0||G.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},k.prototype._onTextAreaFocus=function(K){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(a.C0.ESC+"[I"),this.updateCursorStyle(K),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},k.prototype.blur=function(){var K;return(K=this.textarea)===null||K===void 0?void 0:K.blur()},k.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(a.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},k.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var K=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),z=this._bufferService.buffer.y*K,W=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=W+"px",this.textarea.style.top=z+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=K+"px",this.textarea.style.lineHeight=K+"px",this.textarea.style.zIndex="-5"}},k.prototype._initGlobal=function(){var K=this;this._bindKeys(),this.register(r.addDisposableDomListener(this.element,"copy",function(W){K.hasSelection()&&d.copyHandler(W,K._selectionService)}));var z=function(P){return d.handlePasteEvent(P,K.textarea,K._coreService)};this.register(r.addDisposableDomListener(this.textarea,"paste",z)),this.register(r.addDisposableDomListener(this.element,"paste",z)),u.isFirefox?this.register(r.addDisposableDomListener(this.element,"mousedown",function(W){W.button===2&&d.rightClickHandler(W,K.textarea,K.screenElement,K._selectionService,K.options.rightClickSelectsWord)})):this.register(r.addDisposableDomListener(this.element,"contextmenu",function(W){d.rightClickHandler(W,K.textarea,K.screenElement,K._selectionService,K.options.rightClickSelectsWord)})),u.isLinux&&this.register(r.addDisposableDomListener(this.element,"auxclick",function(W){W.button===1&&d.moveTextAreaUnderMouseCursor(W,K.textarea,K.screenElement)}))},k.prototype._bindKeys=function(){var K=this;this.register(r.addDisposableDomListener(this.textarea,"keyup",function(z){return K._keyUp(z)},!0)),this.register(r.addDisposableDomListener(this.textarea,"keydown",function(z){return K._keyDown(z)},!0)),this.register(r.addDisposableDomListener(this.textarea,"keypress",function(z){return K._keyPress(z)},!0)),this.register(r.addDisposableDomListener(this.textarea,"compositionstart",function(){return K._compositionHelper.compositionstart()})),this.register(r.addDisposableDomListener(this.textarea,"compositionupdate",function(z){return K._compositionHelper.compositionupdate(z)})),this.register(r.addDisposableDomListener(this.textarea,"compositionend",function(){return K._compositionHelper.compositionend()})),this.register(this.onRender(function(){return K._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(z){return K._queueLinkification(z.start,z.end)}))},k.prototype.open=function(K){var z=this;if(!K)throw new Error("Terminal requires a parent element.");B.body.contains(K)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=K.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),K.appendChild(this.element);var W=B.createDocumentFragment();this._viewportElement=B.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),W.appendChild(this._viewportElement),this._viewportScrollArea=B.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=B.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=B.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),W.appendChild(this.screenElement),this.textarea=B.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",o.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(r.addDisposableDomListener(this.textarea,"focus",function(V){return z._onTextAreaFocus(V)})),this.register(r.addDisposableDomListener(this.textarea,"blur",function(){return z._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var P=this._instantiationService.createInstance(F.CoreBrowserService,this.textarea);this._instantiationService.setService(C.ICoreBrowserService,P),this._charSizeService=this._instantiationService.createInstance(E.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(C.ICharSizeService,this._charSizeService),this._compositionView=B.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(e.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(W),this._theme=this.options.theme||this._theme,this._colorManager=new _.ColorManager(B,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(V){return z._colorManager.onOptionsChange(V)})),this._colorManager.setTheme(this._theme);var G=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(I.RenderService,G,this.rows,this.screenElement)),this._instantiationService.setService(C.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(V){return z._onRender.fire(V)})),this.onResize(function(V){return z._renderService.resize(V.cols,V.rows)}),this._soundService=this._instantiationService.createInstance(h.SoundService),this._instantiationService.setService(C.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(O.MouseService),this._instantiationService.setService(C.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(m.Viewport,function(V,q){return z.scrollLines(V,q)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return z.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){z._renderService.onCursorMove(),z._syncTextArea()})),this.register(this.onResize(function(){return z._renderService.onResize(z.cols,z.rows)})),this.register(this.onBlur(function(){return z._renderService.onBlur()})),this.register(this.onFocus(function(){return z._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return z.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(i.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(C.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(V){return z.scrollLines(V.amount,V.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return z._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(V){return z._renderService.onSelectionChanged(V.start,V.end,V.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(V){z.textarea.value=V,z.textarea.focus(),z.textarea.select()})),this.register(this.onScroll(function(){z.viewport.syncScrollArea(),z._selectionService.refresh()})),this.register(r.addDisposableDomListener(this._viewportElement,"scroll",function(){return z._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(p.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return z._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(r.addDisposableDomListener(this.element,"mousedown",function(V){return z._selectionService.onMouseDown(V)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new g.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},k.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(s.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(v.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},k.prototype._setTheme=function(K){var z,W,P;this._theme=K,(z=this._colorManager)===null||z===void 0||z.setTheme(K),(W=this._renderService)===null||W===void 0||W.setColors(this._colorManager.colors),(P=this.viewport)===null||P===void 0||P.onThemeChange(this._colorManager.colors)},k.prototype.bindMouse=function(){var K=this,z=this,W=this.element;function P(ie){var fe,xe,Se=z._mouseService.getRawByteCoords(ie,z.screenElement,z.cols,z.rows);if(!Se)return!1;switch(ie.overrideType||ie.type){case"mousemove":xe=32,ie.buttons===void 0?(fe=3,ie.button!==void 0&&(fe=ie.button<3?ie.button:3)):fe=1&ie.buttons?0:4&ie.buttons?1:2&ie.buttons?2:3;break;case"mouseup":xe=0,fe=ie.button<3?ie.button:3;break;case"mousedown":xe=1,fe=ie.button<3?ie.button:3;break;case"wheel":ie.deltaY!==0&&(xe=ie.deltaY<0?0:1),fe=4;break;default:return!1}return!(xe===void 0||fe===void 0||fe>4)&&z._coreMouseService.triggerMouseEvent({col:Se.x-33,row:Se.y-33,button:fe,action:xe,ctrl:ie.ctrlKey,alt:ie.altKey,shift:ie.shiftKey})}var G={mouseup:null,wheel:null,mousedrag:null,mousemove:null},V=function(fe){return P(fe),fe.buttons||(K._document.removeEventListener("mouseup",G.mouseup),G.mousedrag&&K._document.removeEventListener("mousemove",G.mousedrag)),K.cancel(fe)},q=function(fe){return P(fe),fe.preventDefault(),K.cancel(fe)},re=function(fe){fe.buttons&&P(fe)},ce=function(fe){fe.buttons||P(fe)};this.register(this._coreMouseService.onProtocolChange(function(ie){ie?(K.optionsService.options.logLevel==="debug"&&K._logService.debug("Binding to mouse events:",K._coreMouseService.explainEvents(ie)),K.element.classList.add("enable-mouse-events"),K._selectionService.disable()):(K._logService.debug("Unbinding from mouse events."),K.element.classList.remove("enable-mouse-events"),K._selectionService.enable()),8&ie?G.mousemove||(W.addEventListener("mousemove",ce),G.mousemove=ce):(W.removeEventListener("mousemove",G.mousemove),G.mousemove=null),16&ie?G.wheel||(W.addEventListener("wheel",q,{passive:!1}),G.wheel=q):(W.removeEventListener("wheel",G.wheel),G.wheel=null),2&ie?G.mouseup||(G.mouseup=V):(K._document.removeEventListener("mouseup",G.mouseup),G.mouseup=null),4&ie?G.mousedrag||(G.mousedrag=re):(K._document.removeEventListener("mousemove",G.mousedrag),G.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(r.addDisposableDomListener(W,"mousedown",function(ie){if(ie.preventDefault(),K.focus(),K._coreMouseService.areMouseEventsActive&&!K._selectionService.shouldForceSelection(ie))return P(ie),G.mouseup&&K._document.addEventListener("mouseup",G.mouseup),G.mousedrag&&K._document.addEventListener("mousemove",G.mousedrag),K.cancel(ie)})),this.register(r.addDisposableDomListener(W,"wheel",function(ie){if(!G.wheel){if(!K.buffer.hasScrollback){var fe=K.viewport.getLinesScrolled(ie);if(fe===0)return;for(var xe=a.C0.ESC+(K._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(ie.deltaY<0?"A":"B"),Se="",ke=0;ke47)},k.prototype._keyUp=function(K){this._customKeyEventHandler&&this._customKeyEventHandler(K)===!1||(function(z){return z.keyCode===16||z.keyCode===17||z.keyCode===18}(K)||this.focus(),this.updateCursorStyle(K))},k.prototype._keyPress=function(K){var z;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(K)===!1)return!1;if(this.cancel(K),K.charCode)z=K.charCode;else if(K.which===null||K.which===void 0)z=K.keyCode;else{if(K.which===0||K.charCode===0)return!1;z=K.which}return!(!z||(K.altKey||K.ctrlKey||K.metaKey)&&!this._isThirdLevelShift(this.browser,K))&&(z=String.fromCharCode(z),this._onKey.fire({key:z,domEvent:K}),this._showCursor(),this._coreService.triggerDataEvent(z,!0),!0)},k.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},k.prototype.resize=function(K,z){K!==this.cols||z!==this.rows?J.prototype.resize.call(this,K,z):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},k.prototype._afterResize=function(K,z){var W,P;(W=this._charSizeService)===null||W===void 0||W.measure(),(P=this.viewport)===null||P===void 0||P.syncScrollArea(!0)},k.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var K=1;K=0;o--)(i=a[o])&&(r=(u<3?i(r):u>3?i(n,s,r):i(n,s))||r);return u>3&&r&&Object.defineProperty(n,s,r),r},t=this&&this.__param||function(a,n){return function(s,c){n(s,c,a)}};Object.defineProperty(b,"__esModule",{value:!0}),b.CompositionHelper=void 0;var e=A(5),m=A(1),d=function(){function a(n,s,c,i,u,r){this._textarea=n,this._compositionView=s,this._bufferService=c,this._optionsService=i,this._charSizeService=u,this._coreService=r,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(a.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),a.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},a.prototype.compositionupdate=function(n){var s=this;this._compositionView.textContent=n.data,this.updateCompositionElements(),setTimeout(function(){s._compositionPosition.end=s._textarea.value.length},0)},a.prototype.compositionend=function(){this._finalizeComposition(!0)},a.prototype.keydown=function(n){if(this._isComposing||this._isSendingComposition){if(n.keyCode===229)return!1;if(n.keyCode===16||n.keyCode===17||n.keyCode===18)return!1;this._finalizeComposition(!1)}return n.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},a.prototype._finalizeComposition=function(n){var s=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,n){var c={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(s._isSendingComposition){s._isSendingComposition=!1;var u=void 0;u=s._isComposing?s._textarea.value.substring(c.start,c.end):s._textarea.value.substring(c.start),s._coreService.triggerDataEvent(u,!0)}},0)}else{this._isSendingComposition=!1;var i=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(i,!0)}},a.prototype._handleAnyTextareaChanges=function(){var n=this,s=this._textarea.value;setTimeout(function(){if(!n._isComposing){var c=n._textarea.value.replace(s,"");c.length>0&&n._coreService.triggerDataEvent(c,!0)}},0)},a.prototype.updateCompositionElements=function(n){var s=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var c=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),i=this._bufferService.buffer.y*c,u=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=u+"px",this._compositionView.style.top=i+"px",this._compositionView.style.height=c+"px",this._compositionView.style.lineHeight=c+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var r=this._compositionView.getBoundingClientRect();this._textarea.style.left=u+"px",this._textarea.style.top=i+"px",this._textarea.style.width=r.width+"px",this._textarea.style.height=r.height+"px",this._textarea.style.lineHeight=r.height+"px"}n||setTimeout(function(){return s.updateCompositionElements(!0)},0)}},a=f([t(2,m.IBufferService),t(3,m.IOptionsService),t(4,e.ICharSizeService),t(5,m.ICoreService)],a)}();b.CompositionHelper=d},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(u,r){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,h){o.__proto__=h}||function(o,h){for(var p in h)h.hasOwnProperty(p)&&(o[p]=h[p])})(u,r)},function(i,u){function r(){this.constructor=i}f(i,u),i.prototype=u===null?Object.create(u):(r.prototype=u.prototype,new r)}),e=this&&this.__decorate||function(i,u,r,o){var h,p=arguments.length,g=p<3?u:o===null?o=Object.getOwnPropertyDescriptor(u,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(i,u,r,o);else for(var v=i.length-1;v>=0;v--)(h=i[v])&&(g=(p<3?h(g):p>3?h(u,r,g):h(u,r))||g);return p>3&&g&&Object.defineProperty(u,r,g),g},m=this&&this.__param||function(i,u){return function(r,o){u(r,o,i)}};Object.defineProperty(b,"__esModule",{value:!0}),b.Viewport=void 0;var d=A(2),a=A(7),n=A(5),s=A(1),c=function(i){function u(r,o,h,p,g,v,y){var w=i.call(this)||this;return w._scrollLines=r,w._viewportElement=o,w._scrollArea=h,w._bufferService=p,w._optionsService=g,w._charSizeService=v,w._renderService=y,w.scrollBarWidth=0,w._currentRowHeight=0,w._lastRecordedBufferLength=0,w._lastRecordedViewportHeight=0,w._lastRecordedBufferHeight=0,w._lastTouchY=0,w._lastScrollTop=0,w._wheelPartialScroll=0,w._refreshAnimationFrame=null,w._ignoreNextScrollEvent=!1,w.scrollBarWidth=w._viewportElement.offsetWidth-w._scrollArea.offsetWidth||15,w.register(a.addDisposableDomListener(w._viewportElement,"scroll",w._onScroll.bind(w))),setTimeout(function(){return w.syncScrollArea()},0),w}return t(u,i),u.prototype.onThemeChange=function(r){this._viewportElement.style.backgroundColor=r.background.css},u.prototype._refresh=function(r){var o=this;if(r)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return o._innerRefresh()}))},u.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var r=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==r&&(this._lastRecordedBufferHeight=r,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var o=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==o&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=o),this._refreshAnimationFrame=null},u.prototype.syncScrollArea=function(r){if(r===void 0&&(r=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(r);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var o=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===o&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(r)}else this._refresh(r)},u.prototype._onScroll=function(r){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var o=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(o,!0)}},u.prototype._bubbleScroll=function(r,o){var h=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(o<0&&this._viewportElement.scrollTop!==0||o>0&&h0?1:-1),this._wheelPartialScroll%=1):r.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(o*=this._bufferService.rows),o},u.prototype._applyScrollModifier=function(r,o){var h=this._optionsService.options.fastScrollModifier;return h==="alt"&&o.altKey||h==="ctrl"&&o.ctrlKey||h==="shift"&&o.shiftKey?r*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:r*this._optionsService.options.scrollSensitivity},u.prototype.onTouchStart=function(r){this._lastTouchY=r.touches[0].pageY},u.prototype.onTouchMove=function(r){var o=this._lastTouchY-r.touches[0].pageY;return this._lastTouchY=r.touches[0].pageY,o!==0&&(this._viewportElement.scrollTop+=o,this._bubbleScroll(r,o))},u=e([m(3,s.IBufferService),m(4,s.IOptionsService),m(5,n.ICharSizeService),m(6,n.IRenderService)],u)}(d.Disposable);b.Viewport=c},function(x,b,A){"use strict";function f(d){return d.replace(/\r?\n/g,"\r")}function t(d,a){return a?"[200~"+d+"[201~":d}function e(d,a,n){d=t(d=f(d),n.decPrivateModes.bracketedPasteMode),n.triggerDataEvent(d,!0),a.value=""}function m(d,a,n){var s=n.getBoundingClientRect(),c=d.clientX-s.left-10,i=d.clientY-s.top-10;a.style.width="20px",a.style.height="20px",a.style.left=c+"px",a.style.top=i+"px",a.style.zIndex="1000",a.focus()}Object.defineProperty(b,"__esModule",{value:!0}),b.rightClickHandler=b.moveTextAreaUnderMouseCursor=b.paste=b.handlePasteEvent=b.copyHandler=b.bracketTextForPaste=b.prepareTextForTerminal=void 0,b.prepareTextForTerminal=f,b.bracketTextForPaste=t,b.copyHandler=function(d,a){d.clipboardData&&d.clipboardData.setData("text/plain",a.selectionText),d.preventDefault()},b.handlePasteEvent=function(d,a,n){d.stopPropagation(),d.clipboardData&&e(d.clipboardData.getData("text/plain"),a,n)},b.paste=e,b.moveTextAreaUnderMouseCursor=m,b.rightClickHandler=function(d,a,n,s,c){m(d,a,n),c&&!s.isClickInSelection(d)&&s.selectWordAtCursor(d),a.value=s.selectionText,a.select()}},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(u,r){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,h){o.__proto__=h}||function(o,h){for(var p in h)h.hasOwnProperty(p)&&(o[p]=h[p])})(u,r)},function(i,u){function r(){this.constructor=i}f(i,u),i.prototype=u===null?Object.create(u):(r.prototype=u.prototype,new r)});Object.defineProperty(b,"__esModule",{value:!0}),b.EscapeSequenceParser=b.VT500_TRANSITION_TABLE=b.TransitionTable=void 0;var e=A(2),m=A(15),d=A(21),a=A(22),n=A(24),s=function(){function i(u){this.table=new Uint8Array(u)}return i.prototype.setDefault=function(u,r){m.fill(this.table,u<<4|r)},i.prototype.add=function(u,r,o,h){this.table[r<<8|u]=o<<4|h},i.prototype.addMany=function(u,r,o,h){for(var p=0;p1)throw new Error("only one byte as prefix supported");if((h=r.prefix.charCodeAt(0))&&60>h||h>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(r.intermediates){if(r.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var p=0;pg||g>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");h<<=8,h|=g}}if(r.final.length!==1)throw new Error("final must be a single byte");var v=r.final.charCodeAt(0);if(o[0]>v||v>o[1])throw new Error("final must be in range "+o[0]+" .. "+o[1]);return h<<=8,h|=v},u.prototype.identToString=function(r){for(var o=[];r;)o.push(String.fromCharCode(255&r)),r>>=8;return o.reverse().join("")},u.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},u.prototype.setPrintHandler=function(r){this._printHandler=r},u.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},u.prototype.addEscHandler=function(r,o){var h=this._identifier(r,[48,126]);this._escHandlers[h]===void 0&&(this._escHandlers[h]=[]);var p=this._escHandlers[h];return p.push(o),{dispose:function(){var v=p.indexOf(o);v!==-1&&p.splice(v,1)}}},u.prototype.setEscHandler=function(r,o){this._escHandlers[this._identifier(r,[48,126])]=[o]},u.prototype.clearEscHandler=function(r){this._escHandlers[this._identifier(r,[48,126])]&&delete this._escHandlers[this._identifier(r,[48,126])]},u.prototype.setEscHandlerFallback=function(r){this._escHandlerFb=r},u.prototype.setExecuteHandler=function(r,o){this._executeHandlers[r.charCodeAt(0)]=o},u.prototype.clearExecuteHandler=function(r){this._executeHandlers[r.charCodeAt(0)]&&delete this._executeHandlers[r.charCodeAt(0)]},u.prototype.setExecuteHandlerFallback=function(r){this._executeHandlerFb=r},u.prototype.addCsiHandler=function(r,o){var h=this._identifier(r);this._csiHandlers[h]===void 0&&(this._csiHandlers[h]=[]);var p=this._csiHandlers[h];return p.push(o),{dispose:function(){var v=p.indexOf(o);v!==-1&&p.splice(v,1)}}},u.prototype.setCsiHandler=function(r,o){this._csiHandlers[this._identifier(r)]=[o]},u.prototype.clearCsiHandler=function(r){this._csiHandlers[this._identifier(r)]&&delete this._csiHandlers[this._identifier(r)]},u.prototype.setCsiHandlerFallback=function(r){this._csiHandlerFb=r},u.prototype.addDcsHandler=function(r,o){return this._dcsParser.addHandler(this._identifier(r),o)},u.prototype.setDcsHandler=function(r,o){this._dcsParser.setHandler(this._identifier(r),o)},u.prototype.clearDcsHandler=function(r){this._dcsParser.clearHandler(this._identifier(r))},u.prototype.setDcsHandlerFallback=function(r){this._dcsParser.setHandlerFallback(r)},u.prototype.addOscHandler=function(r,o){return this._oscParser.addHandler(r,o)},u.prototype.setOscHandler=function(r,o){this._oscParser.setHandler(r,o)},u.prototype.clearOscHandler=function(r){this._oscParser.clearHandler(r)},u.prototype.setOscHandlerFallback=function(r){this._oscParser.setHandlerFallback(r)},u.prototype.setErrorHandler=function(r){this._errorHandler=r},u.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},u.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},u.prototype.parse=function(r,o){for(var h=0,p=0,g=this.currentState,v=this._oscParser,y=this._dcsParser,w=this._collect,S=this._params,_=this._transitions.table,I=0;I>4){case 2:for(var C=I+1;;++C){if(C>=o||(h=r[C])<32||h>126&&h<160){this._printHandler(r,I,C),I=C-1;break}if(++C>=o||(h=r[C])<32||h>126&&h<160){this._printHandler(r,I,C),I=C-1;break}if(++C>=o||(h=r[C])<32||h>126&&h<160){this._printHandler(r,I,C),I=C-1;break}if(++C>=o||(h=r[C])<32||h>126&&h<160){this._printHandler(r,I,C),I=C-1;break}}break;case 3:this._executeHandlers[h]?this._executeHandlers[h]():this._executeHandlerFb(h),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:I,code:h,currentState:g,collect:w,params:S,abort:!1}).abort)return;break;case 7:for(var E=this._csiHandlers[w<<8|h],O=E?E.length-1:-1;O>=0&&E[O](S)===!1;O--);O<0&&this._csiHandlerFb(w<<8|h,S),this.precedingCodepoint=0;break;case 8:do switch(h){case 59:S.addParam(0);break;case 58:S.addSubParam(-1);break;default:S.addDigit(h-48)}while(++I47&&h<60);I--;break;case 9:w<<=8,w|=h;break;case 10:for(var M=this._escHandlers[w<<8|h],F=M?M.length-1:-1;F>=0&&M[F]()===!1;F--);F<0&&this._escHandlerFb(w<<8|h),this.precedingCodepoint=0;break;case 11:S.reset(),S.addParam(0),w=0;break;case 12:y.hook(w<<8|h,S);break;case 13:for(var H=I+1;;++H)if(H>=o||(h=r[H])===24||h===26||h===27||h>127&&h<160){y.put(r,I,H),I=H-1;break}break;case 14:y.unhook(h!==24&&h!==26),h===27&&(p|=1),S.reset(),S.addParam(0),w=0,this.precedingCodepoint=0;break;case 4:v.start();break;case 5:for(var B=I+1;;B++)if(B>=o||(h=r[B])<32||h>127&&h<=159){v.put(r,I,B),I=B-1;break}break;case 6:v.end(h!==24&&h!==26),h===27&&(p|=1),S.reset(),S.addParam(0),w=0,this.precedingCodepoint=0}g=15&p}this._collect=w,this.currentState=g},u}(e.Disposable);b.EscapeSequenceParser=c},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(y,w){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,_){S.__proto__=_}||function(S,_){for(var I in _)_.hasOwnProperty(I)&&(S[I]=_[I])})(y,w)},function(v,y){function w(){this.constructor=v}f(v,y),v.prototype=y===null?Object.create(y):(w.prototype=y.prototype,new w)}),e=this&&this.__decorate||function(v,y,w,S){var _,I=arguments.length,C=I<3?y:S===null?S=Object.getOwnPropertyDescriptor(y,w):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")C=Reflect.decorate(v,y,w,S);else for(var E=v.length-1;E>=0;E--)(_=v[E])&&(C=(I<3?_(C):I>3?_(y,w,C):_(y,w))||C);return I>3&&C&&Object.defineProperty(y,w,C),C},m=this&&this.__param||function(v,y){return function(w,S){y(w,S,v)}};Object.defineProperty(b,"__esModule",{value:!0}),b.Renderer=void 0;var d=A(41),a=A(47),n=A(48),s=A(49),c=A(29),i=A(2),u=A(5),r=A(1),o=A(25),h=A(0),p=1,g=function(v){function y(w,S,_,I,C,E,O,M,F){var H=v.call(this)||this;H._colors=w,H._screenElement=S,H._bufferService=C,H._charSizeService=E,H._optionsService=O,H._id=p++,H._onRequestRedraw=new h.EventEmitter;var B=H._optionsService.options.allowTransparency;return H._characterJoinerRegistry=new c.CharacterJoinerRegistry(H._bufferService),H._renderLayers=[new d.TextRenderLayer(H._screenElement,0,H._colors,H._characterJoinerRegistry,B,H._id,H._bufferService,O),new a.SelectionRenderLayer(H._screenElement,1,H._colors,H._id,H._bufferService,O),new s.LinkRenderLayer(H._screenElement,2,H._colors,H._id,_,I,H._bufferService,O),new n.CursorRenderLayer(H._screenElement,3,H._colors,H._id,H._onRequestRedraw,H._bufferService,O,M,F)],H.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},H._devicePixelRatio=window.devicePixelRatio,H._updateDimensions(),H.onOptionsChanged(),H}return t(y,v),Object.defineProperty(y.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),y.prototype.dispose=function(){for(var w=0,S=this._renderLayers;w0&&S===w[0][0]){I=!0;var E=w.shift();_=new n.JoinedCellData(this._workCell,y.translateToString(!0,E[0],E[1]),E[1]-E[0]),C=E[1]-1}!I&&this._isOverlapping(_)&&Cthis._characterWidth;return this._ctx.restore(),this._characterOverlapCache[o]=h,h},u}(m.BaseRenderLayer);b.TextRenderLayer=c},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.GridCache=void 0;var f=function(){function t(){this.cache=[]}return t.prototype.resize=function(e,m){for(var d=0;d>>24,X=F.rgba>>>16&255,J=F.rgba>>>8&255,k=0;k=this.capacity)d=this._head,this._unlinkNode(d),delete this._map[d.key],d.key=e,d.value=m,this._map[e]=d;else{var a=this._nodePool;a.length>0?((d=a.pop()).key=e,d.value=m):d={prev:null,next:null,key:e,value:m},this._map[e]=d,this.size++}this._appendNode(d)},t}();b.LRUMap=f},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(d,a){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,s){n.__proto__=s}||function(n,s){for(var c in s)s.hasOwnProperty(c)&&(n[c]=s[c])})(d,a)},function(m,d){function a(){this.constructor=m}f(m,d),m.prototype=d===null?Object.create(d):(a.prototype=d.prototype,new a)});Object.defineProperty(b,"__esModule",{value:!0}),b.SelectionRenderLayer=void 0;var e=function(m){function d(a,n,s,c,i,u){var r=m.call(this,a,"selection",n,!0,s,c,i,u)||this;return r._clearState(),r}return t(d,m),d.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},d.prototype.resize=function(a){m.prototype.resize.call(this,a),this._clearState()},d.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},d.prototype.onSelectionChanged=function(a,n,s){if(this._didStateChange(a,n,s,this._bufferService.buffer.ydisp))if(this._clearAll(),a&&n){var c=a[1]-this._bufferService.buffer.ydisp,i=n[1]-this._bufferService.buffer.ydisp,u=Math.max(c,0),r=Math.min(i,this._bufferService.rows-1);if(!(u>=this._bufferService.rows||r<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,s){var o=a[0],h=n[0]-o,p=r-u+1;this._fillCells(o,u,h,p)}else{o=c===u?a[0]:0;var g=u===r?n[0]:this._bufferService.cols;this._fillCells(o,u,g-o,1);var v=Math.max(r-u-1,0);if(this._fillCells(0,u+1,this._bufferService.cols,v),u!==r){var y=i===r?n[0]:this._bufferService.cols;this._fillCells(0,r,y,1)}}this._state.start=[a[0],a[1]],this._state.end=[n[0],n[1]],this._state.columnSelectMode=s,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},d.prototype._didStateChange=function(a,n,s,c){return!this._areCoordinatesEqual(a,this._state.start)||!this._areCoordinatesEqual(n,this._state.end)||s!==this._state.columnSelectMode||c!==this._state.ydisp},d.prototype._areCoordinatesEqual=function(a,n){return!(!a||!n)&&a[0]===n[0]&&a[1]===n[1]},d}(A(13).BaseRenderLayer);b.SelectionRenderLayer=e},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(s,c){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var r in u)u.hasOwnProperty(r)&&(i[r]=u[r])})(s,c)},function(n,s){function c(){this.constructor=n}f(n,s),n.prototype=s===null?Object.create(s):(c.prototype=s.prototype,new c)});Object.defineProperty(b,"__esModule",{value:!0}),b.CursorRenderLayer=void 0;var e=A(13),m=A(4),d=function(n){function s(c,i,u,r,o,h,p,g,v){var y=n.call(this,c,"cursor",i,!0,u,r,h,p)||this;return y._onRequestRedraw=o,y._coreService=g,y._coreBrowserService=v,y._cell=new m.CellData,y._state={x:0,y:0,isFocused:!1,style:"",width:0},y._cursorRenderers={bar:y._renderBarCursor.bind(y),block:y._renderBlockCursor.bind(y),underline:y._renderUnderlineCursor.bind(y)},y}return t(s,n),s.prototype.resize=function(c){n.prototype.resize.call(this,c),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},s.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},s.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},s.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},s.prototype.onOptionsChanged=function(){var c,i=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new a(this._coreBrowserService.isFocused,function(){i._render(!0)})):((c=this._cursorBlinkStateManager)===null||c===void 0||c.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},s.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},s.prototype.onGridChanged=function(c,i){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},s.prototype._render=function(c){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var i=this._bufferService.buffer.ybase+this._bufferService.buffer.y,u=i-this._bufferService.buffer.ydisp;if(u<0||u>=this._bufferService.rows)this._clearCursor();else{var r=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(i).loadCell(r,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var o=this._optionsService.options.cursorStyle;return o&&o!=="block"?this._cursorRenderers[o](r,u,this._cell):this._renderBlurCursor(r,u,this._cell),this._ctx.restore(),this._state.x=r,this._state.y=u,this._state.isFocused=!1,this._state.style=o,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===r&&this._state.y===u&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](r,u,this._cell),this._ctx.restore(),this._state.x=r,this._state.y=u,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},s.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},s.prototype._renderBarCursor=function(c,i,u){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(c,i,this._optionsService.options.cursorWidth),this._ctx.restore()},s.prototype._renderBlockCursor=function(c,i,u){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(c,i,u.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(u,c,i),this._ctx.restore()},s.prototype._renderUnderlineCursor=function(c,i,u){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(c,i),this._ctx.restore()},s.prototype._renderBlurCursor=function(c,i,u){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(c,i,u.getWidth(),1),this._ctx.restore()},s}(e.BaseRenderLayer);b.CursorRenderLayer=d;var a=function(){function n(s,c){this._renderCallback=c,this.isCursorVisible=!0,s&&this._restartInterval()}return Object.defineProperty(n.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),n.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},n.prototype.restartBlinkAnimation=function(){var s=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){s._renderCallback(),s._animationFrame=void 0})))},n.prototype._restartInterval=function(s){var c=this;s===void 0&&(s=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(c._animationTimeRestarted){var i=600-(Date.now()-c._animationTimeRestarted);if(c._animationTimeRestarted=void 0,i>0)return void c._restartInterval(i)}c.isCursorVisible=!1,c._animationFrame=window.requestAnimationFrame(function(){c._renderCallback(),c._animationFrame=void 0}),c._blinkInterval=window.setInterval(function(){if(c._animationTimeRestarted){var u=600-(Date.now()-c._animationTimeRestarted);return c._animationTimeRestarted=void 0,void c._restartInterval(u)}c.isCursorVisible=!c.isCursorVisible,c._animationFrame=window.requestAnimationFrame(function(){c._renderCallback(),c._animationFrame=void 0})},600)},s)},n.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},n.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},n}()},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(s,c){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var r in u)u.hasOwnProperty(r)&&(i[r]=u[r])})(s,c)},function(n,s){function c(){this.constructor=n}f(n,s),n.prototype=s===null?Object.create(s):(c.prototype=s.prototype,new c)});Object.defineProperty(b,"__esModule",{value:!0}),b.LinkRenderLayer=void 0;var e=A(13),m=A(9),d=A(26),a=function(n){function s(c,i,u,r,o,h,p,g){var v=n.call(this,c,"link",i,!0,u,r,p,g)||this;return o.onShowLinkUnderline(function(y){return v._onShowLinkUnderline(y)}),o.onHideLinkUnderline(function(y){return v._onHideLinkUnderline(y)}),h.onShowLinkUnderline(function(y){return v._onShowLinkUnderline(y)}),h.onHideLinkUnderline(function(y){return v._onHideLinkUnderline(y)}),v}return t(s,n),s.prototype.resize=function(c){n.prototype.resize.call(this,c),this._state=void 0},s.prototype.reset=function(){this._clearCurrentLink()},s.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var c=this._state.y2-this._state.y1-1;c>0&&this._clearCells(0,this._state.y1+1,this._state.cols,c),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},s.prototype._onShowLinkUnderline=function(c){if(c.fg===m.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:c.fg&&d.is256Color(c.fg)?this._ctx.fillStyle=this._colors.ansi[c.fg].css:this._ctx.fillStyle=this._colors.foreground.css,c.y1===c.y2)this._fillBottomLineAtCells(c.x1,c.y1,c.x2-c.x1);else{this._fillBottomLineAtCells(c.x1,c.y1,c.cols-c.x1);for(var i=c.y1+1;i=0;h--)(u=n[h])&&(o=(r<3?u(o):r>3?u(s,c,o):u(s,c))||o);return r>3&&o&&Object.defineProperty(s,c,o),o},t=this&&this.__param||function(n,s){return function(c,i){s(c,i,n)}};Object.defineProperty(b,"__esModule",{value:!0}),b.MouseZone=b.Linkifier=void 0;var e=A(0),m=A(1),d=function(){function n(s,c,i){this._bufferService=s,this._logService=c,this._unicodeService=i,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new e.EventEmitter,this._onHideLinkUnderline=new e.EventEmitter,this._onLinkTooltip=new e.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(n.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),n.prototype.attachToDom=function(s,c){this._element=s,this._mouseZoneManager=c},n.prototype.linkifyRows=function(s,c){var i=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=s,this._rowsToLinkify.end=c):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,s),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,c)),this._mouseZoneManager.clearAll(s,c),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return i._linkifyRows()},n._timeBeforeLatency))},n.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var s=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var c=s.ydisp+this._rowsToLinkify.start;if(!(c>=s.lines.length)){for(var i=s.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,u=Math.ceil(2e3/this._bufferService.cols),r=this._bufferService.buffer.iterator(!1,c,i,u,u);r.hasNext();)for(var o=r.next(),h=0;h=0;c--)if(s.priority<=this._linkMatchers[c].priority)return void this._linkMatchers.splice(c+1,0,s);this._linkMatchers.splice(0,0,s)}else this._linkMatchers.push(s)},n.prototype.deregisterLinkMatcher=function(s){for(var c=0;c>9&511:void 0;i.validationCallback?i.validationCallback(y,function(C){r._rowsTimeoutId||C&&r._addLink(w[1],w[0]-r._bufferService.buffer.ydisp,y,i,I)}):g._addLink(w[1],w[0]-g._bufferService.buffer.ydisp,y,i,I)},g=this;(u=o.exec(c))!==null&&!(p()==="break"););},n.prototype._addLink=function(s,c,i,u,r){var o=this;if(this._mouseZoneManager&&this._element){var h=this._unicodeService.getStringCellWidth(i),p=s%this._bufferService.cols,g=c+Math.floor(s/this._bufferService.cols),v=(p+h)%this._bufferService.cols,y=g+Math.floor((p+h)/this._bufferService.cols);v===0&&(v=this._bufferService.cols,y--),this._mouseZoneManager.add(new a(p+1,g+1,v+1,y+1,function(w){if(u.handler)return u.handler(w,i);var S=window.open();S?(S.opener=null,S.location.href=i):console.warn("Opening link blocked as opener could not be cleared")},function(){o._onShowLinkUnderline.fire(o._createLinkHoverEvent(p,g,v,y,r)),o._element.classList.add("xterm-cursor-pointer")},function(w){o._onLinkTooltip.fire(o._createLinkHoverEvent(p,g,v,y,r)),u.hoverTooltipCallback&&u.hoverTooltipCallback(w,i,{start:{x:p,y:g},end:{x:v,y}})},function(){o._onHideLinkUnderline.fire(o._createLinkHoverEvent(p,g,v,y,r)),o._element.classList.remove("xterm-cursor-pointer"),u.hoverLeaveCallback&&u.hoverLeaveCallback()},function(w){return!u.willLinkActivate||u.willLinkActivate(w,i)}))}},n.prototype._createLinkHoverEvent=function(s,c,i,u,r){return{x1:s,y1:c,x2:i,y2:u,cols:this._bufferService.cols,fg:r}},n._timeBeforeLatency=200,n=f([t(0,m.IBufferService),t(1,m.ILogService),t(2,m.IUnicodeService)],n)}();b.Linkifier=d;var a=function(s,c,i,u,r,o,h,p,g){this.x1=s,this.y1=c,this.x2=i,this.y2=u,this.clickCallback=r,this.hoverCallback=o,this.tooltipCallback=h,this.leaveCallback=p,this.willLinkActivate=g};b.MouseZone=a},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(y,w){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,_){S.__proto__=_}||function(S,_){for(var I in _)_.hasOwnProperty(I)&&(S[I]=_[I])})(y,w)},function(v,y){function w(){this.constructor=v}f(v,y),v.prototype=y===null?Object.create(y):(w.prototype=y.prototype,new w)}),e=this&&this.__decorate||function(v,y,w,S){var _,I=arguments.length,C=I<3?y:S===null?S=Object.getOwnPropertyDescriptor(y,w):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")C=Reflect.decorate(v,y,w,S);else for(var E=v.length-1;E>=0;E--)(_=v[E])&&(C=(I<3?_(C):I>3?_(y,w,C):_(y,w))||C);return I>3&&C&&Object.defineProperty(y,w,C),C},m=this&&this.__param||function(v,y){return function(w,S){y(w,S,v)}};Object.defineProperty(b,"__esModule",{value:!0}),b.SelectionService=void 0;var d=A(11),a=A(52),n=A(4),s=A(0),c=A(5),i=A(1),u=A(30),r=A(53),o=A(2),h=String.fromCharCode(160),p=new RegExp(h,"g"),g=function(v){function y(w,S,_,I,C,E,O){var M=v.call(this)||this;return M._element=w,M._screenElement=S,M._bufferService=_,M._coreService=I,M._mouseService=C,M._optionsService=E,M._renderService=O,M._dragScrollAmount=0,M._enabled=!0,M._workCell=new n.CellData,M._mouseDownTimeStamp=0,M._onLinuxMouseSelection=M.register(new s.EventEmitter),M._onRedrawRequest=M.register(new s.EventEmitter),M._onSelectionChange=M.register(new s.EventEmitter),M._onRequestScrollLines=M.register(new s.EventEmitter),M._mouseMoveListener=function(F){return M._onMouseMove(F)},M._mouseUpListener=function(F){return M._onMouseUp(F)},M._coreService.onUserInput(function(){M.hasSelection&&M.clearSelection()}),M._trimListener=M._bufferService.buffer.lines.onTrim(function(F){return M._onTrim(F)}),M.register(M._bufferService.buffers.onBufferActivate(function(F){return M._onBufferActivate(F)})),M.enable(),M._model=new a.SelectionModel(M._bufferService),M._activeSelectionMode=0,M}return t(y,v),Object.defineProperty(y.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),y.prototype.dispose=function(){this._removeMouseDownListeners()},y.prototype.reset=function(){this.clearSelection()},y.prototype.disable=function(){this.clearSelection(),this._enabled=!1},y.prototype.enable=function(){this._enabled=!0},Object.defineProperty(y.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"hasSelection",{get:function(){var S=this._model.finalSelectionStart,_=this._model.finalSelectionEnd;return!(!S||!_)&&(S[0]!==_[0]||S[1]!==_[1])},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"selectionText",{get:function(){var S=this._model.finalSelectionStart,_=this._model.finalSelectionEnd;if(!S||!_)return"";var I=this._bufferService.buffer,C=[];if(this._activeSelectionMode===3){if(S[0]===_[0])return"";for(var E=S[1];E<=_[1];E++){var O=I.translateBufferLineToString(E,!0,S[0],_[0]);C.push(O)}}else{var M=S[1]===_[1]?_[0]:void 0;for(C.push(I.translateBufferLineToString(S[1],!0,S[0],M)),E=S[1]+1;E<=_[1]-1;E++){var F=I.lines.get(E);O=I.translateBufferLineToString(E,!0),F&&F.isWrapped?C[C.length-1]+=O:C.push(O)}S[1]!==_[1]&&(F=I.lines.get(_[1]),O=I.translateBufferLineToString(_[1],!0,0,_[0]),F&&F.isWrapped?C[C.length-1]+=O:C.push(O))}return C.map(function(H){return H.replace(p," ")}).join(d.isWindows?`\r `:` -`)},enumerable:!1,configurable:!0}),y.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},y.prototype.refresh=function(w){var S=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return S._refresh()})),d.isLinux&&w)&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},y.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},y.prototype.isClickInSelection=function(w){var S=this._getMouseBufferCoords(w),_=this._model.finalSelectionStart,I=this._model.finalSelectionEnd;return!!(_&&I&&S)&&this._areCoordsInSelection(S,_,I)},y.prototype._areCoordsInSelection=function(w,S,_){return w[1]>S[1]&&w[1]<_[1]||S[1]===_[1]&&w[1]===S[1]&&w[0]>=S[0]&&w[0]<_[0]||S[1]<_[1]&&w[1]===_[1]&&w[0]<_[0]||S[1]<_[1]&&w[1]===S[1]&&w[0]>=S[0]},y.prototype.selectWordAtCursor=function(w){var S=this._getMouseBufferCoords(w);S&&(this._selectWordAt(S,!1),this._model.selectionEnd=void 0,this.refresh(!0))},y.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},y.prototype.selectLines=function(w,S){this._model.clearSelection(),w=Math.max(w,0),S=Math.min(S,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,w],this._model.selectionEnd=[this._bufferService.cols,S],this.refresh(),this._onSelectionChange.fire()},y.prototype._onTrim=function(w){this._model.onTrim(w)&&this.refresh()},y.prototype._getMouseBufferCoords=function(w){var S=this._mouseService.getCoords(w,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(S)return S[0]--,S[1]--,S[1]+=this._bufferService.buffer.ydisp,S},y.prototype._getMouseEventScrollAmount=function(w){var S=u.getCoordsRelativeToElement(w,this._screenElement)[1],_=this._renderService.dimensions.canvasHeight;return S>=0&&S<=_?0:(S>_&&(S-=_),S=Math.min(Math.max(S,-50),50),(S/=50)/Math.abs(S)+Math.round(14*S))},y.prototype.shouldForceSelection=function(w){return d.isMac?w.altKey&&this._optionsService.options.macOptionClickForcesSelection:w.shiftKey},y.prototype.onMouseDown=function(w){if(this._mouseDownTimeStamp=w.timeStamp,(w.button!==2||!this.hasSelection)&&w.button===0){if(!this._enabled){if(!this.shouldForceSelection(w))return;w.stopPropagation()}w.preventDefault(),this._dragScrollAmount=0,this._enabled&&w.shiftKey?this._onIncrementalClick(w):w.detail===1?this._onSingleClick(w):w.detail===2?this._onDoubleClick(w):w.detail===3&&this._onTripleClick(w),this._addMouseDownListeners(),this.refresh(!0)}},y.prototype._addMouseDownListeners=function(){var w=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return w._dragScroll()},50)},y.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},y.prototype._onIncrementalClick=function(w){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(w))},y.prototype._onSingleClick=function(w){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(w)?3:0,this._model.selectionStart=this._getMouseBufferCoords(w),this._model.selectionStart){this._model.selectionEnd=void 0;var S=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);S&&S.length!==this._model.selectionStart[0]&&S.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},y.prototype._onDoubleClick=function(w){var S=this._getMouseBufferCoords(w);S&&(this._activeSelectionMode=1,this._selectWordAt(S,!0))},y.prototype._onTripleClick=function(w){var S=this._getMouseBufferCoords(w);S&&(this._activeSelectionMode=2,this._selectLineAt(S[1]))},y.prototype.shouldColumnSelect=function(w){return w.altKey&&!(d.isMac&&this._optionsService.options.macOptionClickForcesSelection)},y.prototype._onMouseMove=function(w){if(w.stopImmediatePropagation(),this._model.selectionStart){var S=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(w),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var _=this._bufferService.buffer;if(this._model.selectionEnd[1]<_.lines.length){var I=_.lines.get(this._model.selectionEnd[1]);I&&I.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}S&&S[0]===this._model.selectionEnd[0]&&S[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},y.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var w=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(w.ydisp+this._bufferService.rows,w.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=w.ydisp),this.refresh()}},y.prototype._onMouseUp=function(w){var S=w.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&S<500&&w.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var _=this._mouseService.getCoords(w,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(_&&_[0]!==void 0&&_[1]!==void 0){var I=r.moveToCellSequence(_[0]-1,_[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(I,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},y.prototype._onBufferActivate=function(w){var S=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=w.activeBuffer.lines.onTrim(function(_){return S._onTrim(_)})},y.prototype._convertViewportColToCharacterIndex=function(w,S){for(var _=S[0],I=0;S[0]>=I;I++){var C=w.loadCell(I,this._workCell).getChars().length;this._workCell.getWidth()===0?_--:C>1&&S[0]!==I&&(_+=C-1)}return _},y.prototype.setSelection=function(w,S,_){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[w,S],this._model.selectionStartLength=_,this.refresh()},y.prototype._getWordAt=function(w,S,_,I){if(_===void 0&&(_=!0),I===void 0&&(I=!0),!(w[0]>=this._bufferService.cols)){var C=this._bufferService.buffer,E=C.lines.get(w[1]);if(E){var O=C.translateBufferLineToString(w[1],!1),M=this._convertViewportColToCharacterIndex(E,w),F=M,H=w[0]-M,B=0,X=0,J=0,k=0;if(O.charAt(M)===" "){for(;M>0&&O.charAt(M-1)===" ";)M--;for(;F1&&(k+=K-1,F+=K-1);W>0&&M>0&&!this._isCharWordSeparator(E.loadCell(W-1,this._workCell));){E.loadCell(W-1,this._workCell);var P=this._workCell.getChars().length;this._workCell.getWidth()===0?(B++,W--):P>1&&(J+=P-1,M-=P-1),M--,W--}for(;z1&&(k+=G-1,F+=G-1),F++,z++}}F++;var V=M+H-B+J,q=Math.min(this._bufferService.cols,F-M+B+X-J-k);if(S||O.slice(M,F).trim()!==""){if(_&&V===0&&E.getCodePoint(0)!==32){var re=C.lines.get(w[1]-1);if(re&&E.isWrapped&&re.getCodePoint(this._bufferService.cols-1)!==32){var ce=this._getWordAt([this._bufferService.cols-1,w[1]-1],!1,!0,!1);if(ce){var ie=this._bufferService.cols-ce.start;V-=ie,q+=ie}}}if(I&&V+q===this._bufferService.cols&&E.getCodePoint(this._bufferService.cols-1)!==32){var fe=C.lines.get(w[1]+1);if(fe&&fe.isWrapped&&fe.getCodePoint(0)!==32){var xe=this._getWordAt([0,w[1]+1],!1,!1,!0);xe&&(q+=xe.length)}}return{start:V,length:q}}}}},y.prototype._selectWordAt=function(w,S){var _=this._getWordAt(w,S);if(_){for(;_.start<0;)_.start+=this._bufferService.cols,w[1]--;this._model.selectionStart=[_.start,w[1]],this._model.selectionStartLength=_.length}},y.prototype._selectToWordAt=function(w){var S=this._getWordAt(w,!0);if(S){for(var _=w[1];S.start<0;)S.start+=this._bufferService.cols,_--;if(!this._model.areSelectionValuesReversed())for(;S.start+S.length>this._bufferService.cols;)S.length-=this._bufferService.cols,_++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?S.start:S.start+S.length,_]}},y.prototype._isCharWordSeparator=function(w){return w.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(w.getChars())>=0},y.prototype._selectLineAt=function(w){var S=this._bufferService.buffer.getWrappedRangeForLine(w);this._model.selectionStart=[0,S.first],this._model.selectionEnd=[this._bufferService.cols,S.last],this._model.selectionStartLength=0},y=e([m(2,i.IBufferService),m(3,i.ICoreService),m(4,c.IMouseService),m(5,i.IOptionsService),m(6,c.IRenderService)],y)}(o.Disposable);b.SelectionService=g},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.SelectionModel=void 0;var f=function(){function t(e){this._bufferService=e,this.isSelectAllActive=!1,this.selectionStartLength=0}return t.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(t.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var m=this.selectionStart[0]+this.selectionStartLength;return m>this._bufferService.cols?[m%this._bufferService.cols,this.selectionStart[1]+Math.floor(m/this._bufferService.cols)]:[m,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),t.prototype.areSelectionValuesReversed=function(){var e=this.selectionStart,m=this.selectionEnd;return!(!e||!m)&&(e[1]>m[1]||e[1]===m[1]&&e[0]>m[0])},t.prototype.onTrim=function(e){return this.selectionStart&&(this.selectionStart[1]-=e),this.selectionEnd&&(this.selectionEnd[1]-=e),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},t}();b.SelectionModel=f},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.moveToCellSequence=void 0;var f=A(12);function t(s,c,i,u){var r=s-e(i,s),o=c-e(i,c);return n(Math.abs(r-o)-function(h,p,g){for(var v=0,y=h-e(g,h),w=p-e(g,p),S=0;S=0&&cc?"A":"B"}function d(s,c,i,u,r,o){for(var h=s,p=c,g="";h!==i||p!==u;)h+=r?1:-1,r&&h>o.cols-1?(g+=o.buffer.translateBufferLineToString(p,!1,s,h),h=0,s=0,p++):!r&&h<0&&(g+=o.buffer.translateBufferLineToString(p,!1,0,s+1),s=h=o.cols-1,p--);return g+o.buffer.translateBufferLineToString(p,!1,s,h)}function a(s,c){var i=c?"O":"[";return f.C0.ESC+i+s}function n(s,c){s=Math.floor(s);for(var i="",u=0;u0?w-e(S,w):v;var C=w,E=function(O,M,F,H,B,X){var J;return J=t(F,H,B,X).length>0?H-e(B,H):M,O=F&&Js?"D":"C",n(Math.abs(o-s),a(r,u));r=h>c?"D":"C";var p=Math.abs(h-c);return n(function(g,v){return v.cols-g}(h>c?s:o,i)+(p-1)*i.cols+1+((h>c?o:s)-1),a(r,u))}},function(x,b,A){"use strict";var f=this&&this.__decorate||function(d,a,n,s){var c,i=arguments.length,u=i<3?a:s===null?s=Object.getOwnPropertyDescriptor(a,n):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(d,a,n,s);else for(var r=d.length-1;r>=0;r--)(c=d[r])&&(u=(i<3?c(u):i>3?c(a,n,u):c(a,n))||u);return i>3&&u&&Object.defineProperty(a,n,u),u},t=this&&this.__param||function(d,a){return function(n,s){a(n,s,d)}};Object.defineProperty(b,"__esModule",{value:!0}),b.SoundService=void 0;var e=A(1),m=function(){function d(a){this._optionsService=a}return Object.defineProperty(d,"audioContext",{get:function(){if(!d._audioContext){var n=window.AudioContext||window.webkitAudioContext;if(!n)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;d._audioContext=new n}return d._audioContext},enumerable:!1,configurable:!0}),d.prototype.playBellSound=function(){var a=d.audioContext;if(a){var n=a.createBufferSource();a.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(s){n.buffer=s,n.connect(a.destination),n.start(0)})}},d.prototype._base64ToArrayBuffer=function(a){for(var n=window.atob(a),s=n.length,c=new Uint8Array(s),i=0;i=0;v--)(h=i[v])&&(g=(p<3?h(g):p>3?h(u,r,g):h(u,r))||g);return p>3&&g&&Object.defineProperty(u,r,g),g},m=this&&this.__param||function(i,u){return function(r,o){u(r,o,i)}};Object.defineProperty(b,"__esModule",{value:!0}),b.MouseZoneManager=void 0;var d=A(2),a=A(7),n=A(5),s=A(1),c=function(i){function u(r,o,h,p,g,v){var y=i.call(this)||this;return y._element=r,y._screenElement=o,y._bufferService=h,y._mouseService=p,y._selectionService=g,y._optionsService=v,y._zones=[],y._areZonesActive=!1,y._lastHoverCoords=[void 0,void 0],y._initialSelectionLength=0,y.register(a.addDisposableDomListener(y._element,"mousedown",function(w){return y._onMouseDown(w)})),y._mouseMoveListener=function(w){return y._onMouseMove(w)},y._mouseLeaveListener=function(w){return y._onMouseLeave(w)},y._clickListener=function(w){return y._onClick(w)},y}return t(u,i),u.prototype.dispose=function(){i.prototype.dispose.call(this),this._deactivate()},u.prototype.add=function(r){this._zones.push(r),this._zones.length===1&&this._activate()},u.prototype.clearAll=function(r,o){if(this._zones.length!==0){r&&o||(r=0,o=this._bufferService.rows-1);for(var h=0;hr&&p.y1<=o+1||p.y2>r&&p.y2<=o+1||p.y1o+1)&&(this._currentZone&&this._currentZone===p&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(h--,1))}this._zones.length===0&&this._deactivate()}},u.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},u.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},u.prototype._onMouseMove=function(r){this._lastHoverCoords[0]===r.pageX&&this._lastHoverCoords[1]===r.pageY||(this._onHover(r),this._lastHoverCoords=[r.pageX,r.pageY])},u.prototype._onHover=function(r){var o=this,h=this._findZoneEventAt(r);h!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),h&&(this._currentZone=h,h.hoverCallback&&h.hoverCallback(r),this._tooltipTimeout=window.setTimeout(function(){return o._onTooltip(r)},this._optionsService.options.linkTooltipHoverDuration)))},u.prototype._onTooltip=function(r){this._tooltipTimeout=void 0;var o=this._findZoneEventAt(r);o&&o.tooltipCallback&&o.tooltipCallback(r)},u.prototype._onMouseDown=function(r){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var o=this._findZoneEventAt(r);(o==null?void 0:o.willLinkActivate(r))&&(r.preventDefault(),r.stopImmediatePropagation())}},u.prototype._onMouseLeave=function(r){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},u.prototype._onClick=function(r){var o=this._findZoneEventAt(r),h=this._getSelectionLength();o&&h===this._initialSelectionLength&&(o.clickCallback(r),r.preventDefault(),r.stopImmediatePropagation())},u.prototype._getSelectionLength=function(){var r=this._selectionService.selectionText;return r?r.length:0},u.prototype._findZoneEventAt=function(r){var o=this._mouseService.getCoords(r,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(o)for(var h=o[0],p=o[1],g=0;g=v.x1&&h=v.x1||p===v.y2&&hv.y1&&pS[1]&&w[1]<_[1]||S[1]===_[1]&&w[1]===S[1]&&w[0]>=S[0]&&w[0]<_[0]||S[1]<_[1]&&w[1]===_[1]&&w[0]<_[0]||S[1]<_[1]&&w[1]===S[1]&&w[0]>=S[0]},y.prototype.selectWordAtCursor=function(w){var S=this._getMouseBufferCoords(w);S&&(this._selectWordAt(S,!1),this._model.selectionEnd=void 0,this.refresh(!0))},y.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},y.prototype.selectLines=function(w,S){this._model.clearSelection(),w=Math.max(w,0),S=Math.min(S,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,w],this._model.selectionEnd=[this._bufferService.cols,S],this.refresh(),this._onSelectionChange.fire()},y.prototype._onTrim=function(w){this._model.onTrim(w)&&this.refresh()},y.prototype._getMouseBufferCoords=function(w){var S=this._mouseService.getCoords(w,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(S)return S[0]--,S[1]--,S[1]+=this._bufferService.buffer.ydisp,S},y.prototype._getMouseEventScrollAmount=function(w){var S=u.getCoordsRelativeToElement(w,this._screenElement)[1],_=this._renderService.dimensions.canvasHeight;return S>=0&&S<=_?0:(S>_&&(S-=_),S=Math.min(Math.max(S,-50),50),(S/=50)/Math.abs(S)+Math.round(14*S))},y.prototype.shouldForceSelection=function(w){return d.isMac?w.altKey&&this._optionsService.options.macOptionClickForcesSelection:w.shiftKey},y.prototype.onMouseDown=function(w){if(this._mouseDownTimeStamp=w.timeStamp,(w.button!==2||!this.hasSelection)&&w.button===0){if(!this._enabled){if(!this.shouldForceSelection(w))return;w.stopPropagation()}w.preventDefault(),this._dragScrollAmount=0,this._enabled&&w.shiftKey?this._onIncrementalClick(w):w.detail===1?this._onSingleClick(w):w.detail===2?this._onDoubleClick(w):w.detail===3&&this._onTripleClick(w),this._addMouseDownListeners(),this.refresh(!0)}},y.prototype._addMouseDownListeners=function(){var w=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return w._dragScroll()},50)},y.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},y.prototype._onIncrementalClick=function(w){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(w))},y.prototype._onSingleClick=function(w){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(w)?3:0,this._model.selectionStart=this._getMouseBufferCoords(w),this._model.selectionStart){this._model.selectionEnd=void 0;var S=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);S&&S.length!==this._model.selectionStart[0]&&S.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},y.prototype._onDoubleClick=function(w){var S=this._getMouseBufferCoords(w);S&&(this._activeSelectionMode=1,this._selectWordAt(S,!0))},y.prototype._onTripleClick=function(w){var S=this._getMouseBufferCoords(w);S&&(this._activeSelectionMode=2,this._selectLineAt(S[1]))},y.prototype.shouldColumnSelect=function(w){return w.altKey&&!(d.isMac&&this._optionsService.options.macOptionClickForcesSelection)},y.prototype._onMouseMove=function(w){if(w.stopImmediatePropagation(),this._model.selectionStart){var S=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(w),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var _=this._bufferService.buffer;if(this._model.selectionEnd[1]<_.lines.length){var I=_.lines.get(this._model.selectionEnd[1]);I&&I.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}S&&S[0]===this._model.selectionEnd[0]&&S[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},y.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var w=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(w.ydisp+this._bufferService.rows,w.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=w.ydisp),this.refresh()}},y.prototype._onMouseUp=function(w){var S=w.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&S<500&&w.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var _=this._mouseService.getCoords(w,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(_&&_[0]!==void 0&&_[1]!==void 0){var I=r.moveToCellSequence(_[0]-1,_[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(I,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},y.prototype._onBufferActivate=function(w){var S=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=w.activeBuffer.lines.onTrim(function(_){return S._onTrim(_)})},y.prototype._convertViewportColToCharacterIndex=function(w,S){for(var _=S[0],I=0;S[0]>=I;I++){var C=w.loadCell(I,this._workCell).getChars().length;this._workCell.getWidth()===0?_--:C>1&&S[0]!==I&&(_+=C-1)}return _},y.prototype.setSelection=function(w,S,_){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[w,S],this._model.selectionStartLength=_,this.refresh()},y.prototype._getWordAt=function(w,S,_,I){if(_===void 0&&(_=!0),I===void 0&&(I=!0),!(w[0]>=this._bufferService.cols)){var C=this._bufferService.buffer,E=C.lines.get(w[1]);if(E){var O=C.translateBufferLineToString(w[1],!1),M=this._convertViewportColToCharacterIndex(E,w),F=M,H=w[0]-M,B=0,X=0,J=0,k=0;if(O.charAt(M)===" "){for(;M>0&&O.charAt(M-1)===" ";)M--;for(;F1&&(k+=W-1,F+=W-1);K>0&&M>0&&!this._isCharWordSeparator(E.loadCell(K-1,this._workCell));){E.loadCell(K-1,this._workCell);var P=this._workCell.getChars().length;this._workCell.getWidth()===0?(B++,K--):P>1&&(J+=P-1,M-=P-1),M--,K--}for(;z1&&(k+=G-1,F+=G-1),F++,z++}}F++;var V=M+H-B+J,q=Math.min(this._bufferService.cols,F-M+B+X-J-k);if(S||O.slice(M,F).trim()!==""){if(_&&V===0&&E.getCodePoint(0)!==32){var re=C.lines.get(w[1]-1);if(re&&E.isWrapped&&re.getCodePoint(this._bufferService.cols-1)!==32){var ce=this._getWordAt([this._bufferService.cols-1,w[1]-1],!1,!0,!1);if(ce){var ie=this._bufferService.cols-ce.start;V-=ie,q+=ie}}}if(I&&V+q===this._bufferService.cols&&E.getCodePoint(this._bufferService.cols-1)!==32){var fe=C.lines.get(w[1]+1);if(fe&&fe.isWrapped&&fe.getCodePoint(0)!==32){var xe=this._getWordAt([0,w[1]+1],!1,!1,!0);xe&&(q+=xe.length)}}return{start:V,length:q}}}}},y.prototype._selectWordAt=function(w,S){var _=this._getWordAt(w,S);if(_){for(;_.start<0;)_.start+=this._bufferService.cols,w[1]--;this._model.selectionStart=[_.start,w[1]],this._model.selectionStartLength=_.length}},y.prototype._selectToWordAt=function(w){var S=this._getWordAt(w,!0);if(S){for(var _=w[1];S.start<0;)S.start+=this._bufferService.cols,_--;if(!this._model.areSelectionValuesReversed())for(;S.start+S.length>this._bufferService.cols;)S.length-=this._bufferService.cols,_++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?S.start:S.start+S.length,_]}},y.prototype._isCharWordSeparator=function(w){return w.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(w.getChars())>=0},y.prototype._selectLineAt=function(w){var S=this._bufferService.buffer.getWrappedRangeForLine(w);this._model.selectionStart=[0,S.first],this._model.selectionEnd=[this._bufferService.cols,S.last],this._model.selectionStartLength=0},y=e([m(2,i.IBufferService),m(3,i.ICoreService),m(4,c.IMouseService),m(5,i.IOptionsService),m(6,c.IRenderService)],y)}(o.Disposable);b.SelectionService=g},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.SelectionModel=void 0;var f=function(){function t(e){this._bufferService=e,this.isSelectAllActive=!1,this.selectionStartLength=0}return t.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(t.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var m=this.selectionStart[0]+this.selectionStartLength;return m>this._bufferService.cols?[m%this._bufferService.cols,this.selectionStart[1]+Math.floor(m/this._bufferService.cols)]:[m,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),t.prototype.areSelectionValuesReversed=function(){var e=this.selectionStart,m=this.selectionEnd;return!(!e||!m)&&(e[1]>m[1]||e[1]===m[1]&&e[0]>m[0])},t.prototype.onTrim=function(e){return this.selectionStart&&(this.selectionStart[1]-=e),this.selectionEnd&&(this.selectionEnd[1]-=e),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},t}();b.SelectionModel=f},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.moveToCellSequence=void 0;var f=A(12);function t(s,c,i,u){var r=s-e(i,s),o=c-e(i,c);return n(Math.abs(r-o)-function(h,p,g){for(var v=0,y=h-e(g,h),w=p-e(g,p),S=0;S=0&&cc?"A":"B"}function d(s,c,i,u,r,o){for(var h=s,p=c,g="";h!==i||p!==u;)h+=r?1:-1,r&&h>o.cols-1?(g+=o.buffer.translateBufferLineToString(p,!1,s,h),h=0,s=0,p++):!r&&h<0&&(g+=o.buffer.translateBufferLineToString(p,!1,0,s+1),s=h=o.cols-1,p--);return g+o.buffer.translateBufferLineToString(p,!1,s,h)}function a(s,c){var i=c?"O":"[";return f.C0.ESC+i+s}function n(s,c){s=Math.floor(s);for(var i="",u=0;u0?w-e(S,w):v;var C=w,E=function(O,M,F,H,B,X){var J;return J=t(F,H,B,X).length>0?H-e(B,H):M,O=F&&Js?"D":"C",n(Math.abs(o-s),a(r,u));r=h>c?"D":"C";var p=Math.abs(h-c);return n(function(g,v){return v.cols-g}(h>c?s:o,i)+(p-1)*i.cols+1+((h>c?o:s)-1),a(r,u))}},function(x,b,A){"use strict";var f=this&&this.__decorate||function(d,a,n,s){var c,i=arguments.length,u=i<3?a:s===null?s=Object.getOwnPropertyDescriptor(a,n):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(d,a,n,s);else for(var r=d.length-1;r>=0;r--)(c=d[r])&&(u=(i<3?c(u):i>3?c(a,n,u):c(a,n))||u);return i>3&&u&&Object.defineProperty(a,n,u),u},t=this&&this.__param||function(d,a){return function(n,s){a(n,s,d)}};Object.defineProperty(b,"__esModule",{value:!0}),b.SoundService=void 0;var e=A(1),m=function(){function d(a){this._optionsService=a}return Object.defineProperty(d,"audioContext",{get:function(){if(!d._audioContext){var n=window.AudioContext||window.webkitAudioContext;if(!n)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;d._audioContext=new n}return d._audioContext},enumerable:!1,configurable:!0}),d.prototype.playBellSound=function(){var a=d.audioContext;if(a){var n=a.createBufferSource();a.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(s){n.buffer=s,n.connect(a.destination),n.start(0)})}},d.prototype._base64ToArrayBuffer=function(a){for(var n=window.atob(a),s=n.length,c=new Uint8Array(s),i=0;i=0;v--)(h=i[v])&&(g=(p<3?h(g):p>3?h(u,r,g):h(u,r))||g);return p>3&&g&&Object.defineProperty(u,r,g),g},m=this&&this.__param||function(i,u){return function(r,o){u(r,o,i)}};Object.defineProperty(b,"__esModule",{value:!0}),b.MouseZoneManager=void 0;var d=A(2),a=A(7),n=A(5),s=A(1),c=function(i){function u(r,o,h,p,g,v){var y=i.call(this)||this;return y._element=r,y._screenElement=o,y._bufferService=h,y._mouseService=p,y._selectionService=g,y._optionsService=v,y._zones=[],y._areZonesActive=!1,y._lastHoverCoords=[void 0,void 0],y._initialSelectionLength=0,y.register(a.addDisposableDomListener(y._element,"mousedown",function(w){return y._onMouseDown(w)})),y._mouseMoveListener=function(w){return y._onMouseMove(w)},y._mouseLeaveListener=function(w){return y._onMouseLeave(w)},y._clickListener=function(w){return y._onClick(w)},y}return t(u,i),u.prototype.dispose=function(){i.prototype.dispose.call(this),this._deactivate()},u.prototype.add=function(r){this._zones.push(r),this._zones.length===1&&this._activate()},u.prototype.clearAll=function(r,o){if(this._zones.length!==0){r&&o||(r=0,o=this._bufferService.rows-1);for(var h=0;hr&&p.y1<=o+1||p.y2>r&&p.y2<=o+1||p.y1o+1)&&(this._currentZone&&this._currentZone===p&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(h--,1))}this._zones.length===0&&this._deactivate()}},u.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},u.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},u.prototype._onMouseMove=function(r){this._lastHoverCoords[0]===r.pageX&&this._lastHoverCoords[1]===r.pageY||(this._onHover(r),this._lastHoverCoords=[r.pageX,r.pageY])},u.prototype._onHover=function(r){var o=this,h=this._findZoneEventAt(r);h!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),h&&(this._currentZone=h,h.hoverCallback&&h.hoverCallback(r),this._tooltipTimeout=window.setTimeout(function(){return o._onTooltip(r)},this._optionsService.options.linkTooltipHoverDuration)))},u.prototype._onTooltip=function(r){this._tooltipTimeout=void 0;var o=this._findZoneEventAt(r);o&&o.tooltipCallback&&o.tooltipCallback(r)},u.prototype._onMouseDown=function(r){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var o=this._findZoneEventAt(r);(o==null?void 0:o.willLinkActivate(r))&&(r.preventDefault(),r.stopImmediatePropagation())}},u.prototype._onMouseLeave=function(r){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},u.prototype._onClick=function(r){var o=this._findZoneEventAt(r),h=this._getSelectionLength();o&&h===this._initialSelectionLength&&(o.clickCallback(r),r.preventDefault(),r.stopImmediatePropagation())},u.prototype._getSelectionLength=function(){var r=this._selectionService.selectionText;return r?r.length:0},u.prototype._findZoneEventAt=function(r){var o=this._mouseService.getCoords(r,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(o)for(var h=o[0],p=o[1],g=0;g=v.x1&&h=v.x1||p===v.y2&&hv.y1&&po;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},r.prototype._createAccessibilityTreeNode=function(){var o=document.createElement("div");return o.setAttribute("role","listitem"),o.tabIndex=-1,this._refreshRowDimensions(o),o},r.prototype._onTab=function(o){for(var h=0;h0?this._charsToConsume.shift()!==o&&(this._charsToAnnounce+=o):this._charsToAnnounce+=o,o===` -`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=e.tooMuchOutput)),m.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){h._accessibilityTreeRoot.appendChild(h._liveRegion)},0))},r.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,m.isMac&&c.removeElementFromParent(this._liveRegion)},r.prototype._onKey=function(o){this._clearLiveRegion(),this._charsToConsume.push(o)},r.prototype._refreshRows=function(o,h){this._renderRowsDebouncer.refresh(o,h,this._terminal.rows)},r.prototype._renderRows=function(o,h){for(var p=this._terminal.buffer,g=p.lines.length.toString(),v=o;v<=h;v++){var y=p.translateBufferLineToString(p.ydisp+v,!0),w=(p.ydisp+v+1).toString(),S=this._rowElements[v];S&&(y.length===0?S.innerHTML=" ":S.textContent=y,S.setAttribute("aria-posinset",w),S.setAttribute("aria-setsize",g))}this._announceCharacters()},r.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var o=0;o=0;I--)(w=p[I])&&(_=(S<3?w(_):S>3?w(g,v,_):w(g,v))||_);return S>3&&_&&Object.defineProperty(g,v,_),_},m=this&&this.__param||function(p,g){return function(v,y){g(v,y,p)}};Object.defineProperty(b,"__esModule",{value:!0}),b.DomRenderer=void 0;var d=A(58),a=A(9),n=A(2),s=A(5),c=A(1),i=A(0),u=A(10),r=A(17),o=1,h=function(p){function g(v,y,w,S,_,I,C,E,O){var M=p.call(this)||this;return M._colors=v,M._element=y,M._screenElement=w,M._viewportElement=S,M._linkifier=_,M._linkifier2=I,M._charSizeService=C,M._optionsService=E,M._bufferService=O,M._terminalClass=o++,M._rowElements=[],M._rowContainer=document.createElement("div"),M._rowContainer.classList.add("xterm-rows"),M._rowContainer.style.lineHeight="normal",M._rowContainer.setAttribute("aria-hidden","true"),M._refreshRowElements(M._bufferService.cols,M._bufferService.rows),M._selectionContainer=document.createElement("div"),M._selectionContainer.classList.add("xterm-selection"),M._selectionContainer.setAttribute("aria-hidden","true"),M.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},M._updateDimensions(),M._injectCss(),M._rowFactory=new d.DomRendererRowFactory(document,M._optionsService,M._colors),M._element.classList.add("xterm-dom-renderer-owner-"+M._terminalClass),M._screenElement.appendChild(M._rowContainer),M._screenElement.appendChild(M._selectionContainer),M._linkifier.onShowLinkUnderline(function(F){return M._onLinkHover(F)}),M._linkifier.onHideLinkUnderline(function(F){return M._onLinkLeave(F)}),M._linkifier2.onShowLinkUnderline(function(F){return M._onLinkHover(F)}),M._linkifier2.onHideLinkUnderline(function(F){return M._onLinkLeave(F)}),M}return t(g,p),Object.defineProperty(g.prototype,"onRequestRedraw",{get:function(){return new i.EventEmitter().event},enumerable:!1,configurable:!0}),g.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),r.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),p.prototype.dispose.call(this)},g.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var v=0,y=this._rowElements;vy;)this._rowContainer.removeChild(this._rowElements.pop())},g.prototype.onResize=function(v,y){this._refreshRowElements(v,y),this._updateDimensions()},g.prototype.onCharSizeChanged=function(){this._updateDimensions()},g.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},g.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},g.prototype.onSelectionChanged=function(v,y,w){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(v&&y){var S=v[1]-this._bufferService.buffer.ydisp,_=y[1]-this._bufferService.buffer.ydisp,I=Math.max(S,0),C=Math.min(_,this._bufferService.rows-1);if(!(I>=this._bufferService.rows||C<0)){var E=document.createDocumentFragment();if(w)E.appendChild(this._createSelectionElement(I,v[0],y[0],C-I+1));else{var O=S===I?v[0]:0,M=I===C?y[0]:this._bufferService.cols;E.appendChild(this._createSelectionElement(I,O,M));var F=C-I-1;if(E.appendChild(this._createSelectionElement(I+1,0,this._bufferService.cols,F)),I!==C){var H=_===C?y[0]:this._bufferService.cols;E.appendChild(this._createSelectionElement(C,0,H))}}this._selectionContainer.appendChild(E)}}},g.prototype._createSelectionElement=function(v,y,w,S){S===void 0&&(S=1);var _=document.createElement("div");return _.style.height=S*this.dimensions.actualCellHeight+"px",_.style.top=v*this.dimensions.actualCellHeight+"px",_.style.left=y*this.dimensions.actualCellWidth+"px",_.style.width=this.dimensions.actualCellWidth*(w-y)+"px",_},g.prototype.onCursorMove=function(){},g.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},g.prototype.clear=function(){for(var v=0,y=this._rowElements;v=_&&(v=0,w++)}},g=e([m(6,s.ICharSizeService),m(7,c.IOptionsService),m(8,c.IBufferService)],g)}(n.Disposable);b.DomRenderer=h},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.DomRendererRowFactory=b.CURSOR_STYLE_UNDERLINE_CLASS=b.CURSOR_STYLE_BAR_CLASS=b.CURSOR_STYLE_BLOCK_CLASS=b.CURSOR_BLINK_CLASS=b.CURSOR_CLASS=b.UNDERLINE_CLASS=b.ITALIC_CLASS=b.DIM_CLASS=b.BOLD_CLASS=void 0;var f=A(9),t=A(3),e=A(4),m=A(10);b.BOLD_CLASS="xterm-bold",b.DIM_CLASS="xterm-dim",b.ITALIC_CLASS="xterm-italic",b.UNDERLINE_CLASS="xterm-underline",b.CURSOR_CLASS="xterm-cursor",b.CURSOR_BLINK_CLASS="xterm-cursor-blink",b.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",b.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",b.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var d=function(){function n(s,c,i){this._document=s,this._optionsService=c,this._colors=i,this._workCell=new e.CellData}return n.prototype.setColors=function(s){this._colors=s},n.prototype.createRow=function(s,c,i,u,r,o,h){for(var p=this._document.createDocumentFragment(),g=0,v=Math.min(s.length,h)-1;v>=0;v--)if(s.loadCell(v,this._workCell).getCode()!==t.NULL_CELL_CODE||c&&v===u){g=v+1;break}for(v=0;v1&&(w.style.width=o*y+"px"),c&&v===u)switch(w.classList.add(b.CURSOR_CLASS),r&&w.classList.add(b.CURSOR_BLINK_CLASS),i){case"bar":w.classList.add(b.CURSOR_STYLE_BAR_CLASS);break;case"underline":w.classList.add(b.CURSOR_STYLE_UNDERLINE_CLASS);break;default:w.classList.add(b.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&w.classList.add(b.BOLD_CLASS),this._workCell.isItalic()&&w.classList.add(b.ITALIC_CLASS),this._workCell.isDim()&&w.classList.add(b.DIM_CLASS),this._workCell.isUnderline()&&w.classList.add(b.UNDERLINE_CLASS),this._workCell.isInvisible()?w.textContent=t.WHITESPACE_CELL_CHAR:w.textContent=this._workCell.getChars()||t.WHITESPACE_CELL_CHAR;var S=this._workCell.getFgColor(),_=this._workCell.getFgColorMode(),I=this._workCell.getBgColor(),C=this._workCell.getBgColorMode(),E=!!this._workCell.isInverse();if(E){var O=S;S=I,I=O;var M=_;_=C,C=M}switch(_){case 16777216:case 33554432:this._workCell.isBold()&&S<8&&this._optionsService.options.drawBoldTextInBrightColors&&(S+=8),this._applyMinimumContrast(w,this._colors.background,this._colors.ansi[S])||w.classList.add("xterm-fg-"+S);break;case 50331648:var F=m.rgba.toColor(S>>16&255,S>>8&255,255&S);this._applyMinimumContrast(w,this._colors.background,F)||this._addStyle(w,"color:#"+a(S.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(w,this._colors.background,this._colors.foreground)||E&&w.classList.add("xterm-fg-"+f.INVERTED_DEFAULT_COLOR)}switch(C){case 16777216:case 33554432:w.classList.add("xterm-bg-"+I);break;case 50331648:this._addStyle(w,"background-color:#"+a(I.toString(16),"0",6));break;case 0:default:E&&w.classList.add("xterm-bg-"+f.INVERTED_DEFAULT_COLOR)}p.appendChild(w)}}return p},n.prototype._applyMinimumContrast=function(s,c,i){if(this._optionsService.options.minimumContrastRatio===1)return!1;var u=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return u===void 0&&(u=m.color.ensureContrastRatio(c,i,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,u!=null?u:null)),!!u&&(this._addStyle(s,"color:"+u.css),!0)},n.prototype._addStyle=function(s,c){s.setAttribute("style",""+(s.getAttribute("style")||"")+c+";")},n}();function a(n,s,c){for(;n.length"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};b.evaluateKeyboardEvent=function(e,m,d,a){var n={type:0,cancel:!1,key:void 0},s=(e.shiftKey?1:0)|(e.altKey?2:0)|(e.ctrlKey?4:0)|(e.metaKey?8:0);switch(e.keyCode){case 0:e.key==="UIKeyInputUpArrow"?n.key=m?f.C0.ESC+"OA":f.C0.ESC+"[A":e.key==="UIKeyInputLeftArrow"?n.key=m?f.C0.ESC+"OD":f.C0.ESC+"[D":e.key==="UIKeyInputRightArrow"?n.key=m?f.C0.ESC+"OC":f.C0.ESC+"[C":e.key==="UIKeyInputDownArrow"&&(n.key=m?f.C0.ESC+"OB":f.C0.ESC+"[B");break;case 8:if(e.shiftKey){n.key=f.C0.BS;break}if(e.altKey){n.key=f.C0.ESC+f.C0.DEL;break}n.key=f.C0.DEL;break;case 9:if(e.shiftKey){n.key=f.C0.ESC+"[Z";break}n.key=f.C0.HT,n.cancel=!0;break;case 13:n.key=e.altKey?f.C0.ESC+f.C0.CR:f.C0.CR,n.cancel=!0;break;case 27:n.key=f.C0.ESC,e.altKey&&(n.key=f.C0.ESC+f.C0.ESC),n.cancel=!0;break;case 37:if(e.metaKey)break;s?(n.key=f.C0.ESC+"[1;"+(s+1)+"D",n.key===f.C0.ESC+"[1;3D"&&(n.key=f.C0.ESC+(d?"b":"[1;5D"))):n.key=m?f.C0.ESC+"OD":f.C0.ESC+"[D";break;case 39:if(e.metaKey)break;s?(n.key=f.C0.ESC+"[1;"+(s+1)+"C",n.key===f.C0.ESC+"[1;3C"&&(n.key=f.C0.ESC+(d?"f":"[1;5C"))):n.key=m?f.C0.ESC+"OC":f.C0.ESC+"[C";break;case 38:if(e.metaKey)break;s?(n.key=f.C0.ESC+"[1;"+(s+1)+"A",d||n.key!==f.C0.ESC+"[1;3A"||(n.key=f.C0.ESC+"[1;5A")):n.key=m?f.C0.ESC+"OA":f.C0.ESC+"[A";break;case 40:if(e.metaKey)break;s?(n.key=f.C0.ESC+"[1;"+(s+1)+"B",d||n.key!==f.C0.ESC+"[1;3B"||(n.key=f.C0.ESC+"[1;5B")):n.key=m?f.C0.ESC+"OB":f.C0.ESC+"[B";break;case 45:e.shiftKey||e.ctrlKey||(n.key=f.C0.ESC+"[2~");break;case 46:n.key=s?f.C0.ESC+"[3;"+(s+1)+"~":f.C0.ESC+"[3~";break;case 36:n.key=s?f.C0.ESC+"[1;"+(s+1)+"H":m?f.C0.ESC+"OH":f.C0.ESC+"[H";break;case 35:n.key=s?f.C0.ESC+"[1;"+(s+1)+"F":m?f.C0.ESC+"OF":f.C0.ESC+"[F";break;case 33:e.shiftKey?n.type=2:n.key=f.C0.ESC+"[5~";break;case 34:e.shiftKey?n.type=3:n.key=f.C0.ESC+"[6~";break;case 112:n.key=s?f.C0.ESC+"[1;"+(s+1)+"P":f.C0.ESC+"OP";break;case 113:n.key=s?f.C0.ESC+"[1;"+(s+1)+"Q":f.C0.ESC+"OQ";break;case 114:n.key=s?f.C0.ESC+"[1;"+(s+1)+"R":f.C0.ESC+"OR";break;case 115:n.key=s?f.C0.ESC+"[1;"+(s+1)+"S":f.C0.ESC+"OS";break;case 116:n.key=s?f.C0.ESC+"[15;"+(s+1)+"~":f.C0.ESC+"[15~";break;case 117:n.key=s?f.C0.ESC+"[17;"+(s+1)+"~":f.C0.ESC+"[17~";break;case 118:n.key=s?f.C0.ESC+"[18;"+(s+1)+"~":f.C0.ESC+"[18~";break;case 119:n.key=s?f.C0.ESC+"[19;"+(s+1)+"~":f.C0.ESC+"[19~";break;case 120:n.key=s?f.C0.ESC+"[20;"+(s+1)+"~":f.C0.ESC+"[20~";break;case 121:n.key=s?f.C0.ESC+"[21;"+(s+1)+"~":f.C0.ESC+"[21~";break;case 122:n.key=s?f.C0.ESC+"[23;"+(s+1)+"~":f.C0.ESC+"[23~";break;case 123:n.key=s?f.C0.ESC+"[24;"+(s+1)+"~":f.C0.ESC+"[24~";break;default:if(!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)if(d&&!a||!e.altKey||e.metaKey)d&&!e.altKey&&!e.ctrlKey&&e.metaKey?e.keyCode===65&&(n.type=1):e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&e.keyCode>=48&&e.key.length===1?n.key=e.key:e.key&&e.ctrlKey&&e.key==="_"&&(n.key=f.C0.US);else{var c=t[e.keyCode],i=c&&c[e.shiftKey?1:0];if(i)n.key=f.C0.ESC+i;else if(e.keyCode>=65&&e.keyCode<=90){var u=e.ctrlKey?e.keyCode-64:e.keyCode+32;n.key=f.C0.ESC+String.fromCharCode(u)}}else e.keyCode>=65&&e.keyCode<=90?n.key=String.fromCharCode(e.keyCode-64):e.keyCode===32?n.key=f.C0.NUL:e.keyCode>=51&&e.keyCode<=55?n.key=String.fromCharCode(e.keyCode-51+27):e.keyCode===56?n.key=f.C0.DEL:e.keyCode===219?n.key=f.C0.ESC:e.keyCode===220?n.key=f.C0.FS:e.keyCode===221&&(n.key=f.C0.GS)}return n}},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(h,p){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var y in v)v.hasOwnProperty(y)&&(g[y]=v[y])})(h,p)},function(o,h){function p(){this.constructor=o}f(o,h),o.prototype=h===null?Object.create(h):(p.prototype=h.prototype,new p)}),e=this&&this.__decorate||function(o,h,p,g){var v,y=arguments.length,w=y<3?h:g===null?g=Object.getOwnPropertyDescriptor(h,p):g;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(o,h,p,g);else for(var S=o.length-1;S>=0;S--)(v=o[S])&&(w=(y<3?v(w):y>3?v(h,p,w):v(h,p))||w);return y>3&&w&&Object.defineProperty(h,p,w),w},m=this&&this.__param||function(o,h){return function(p,g){h(p,g,o)}};Object.defineProperty(b,"__esModule",{value:!0}),b.RenderService=void 0;var d=A(31),a=A(0),n=A(2),s=A(32),c=A(7),i=A(1),u=A(5),r=function(o){function h(p,g,v,y,w,S){var _=o.call(this)||this;if(_._renderer=p,_._rowCount=g,_._isPaused=!1,_._needsFullRefresh=!1,_._isNextRenderRedrawOnly=!0,_._needsSelectionRefresh=!1,_._canvasWidth=0,_._canvasHeight=0,_._selectionState={start:void 0,end:void 0,columnSelectMode:!1},_._onDimensionsChange=new a.EventEmitter,_._onRender=new a.EventEmitter,_._onRefreshRequest=new a.EventEmitter,_.register({dispose:function(){return _._renderer.dispose()}}),_._renderDebouncer=new d.RenderDebouncer(function(C,E){return _._renderRows(C,E)}),_.register(_._renderDebouncer),_._screenDprMonitor=new s.ScreenDprMonitor,_._screenDprMonitor.setListener(function(){return _.onDevicePixelRatioChange()}),_.register(_._screenDprMonitor),_.register(S.onResize(function(C){return _._fullRefresh()})),_.register(y.onOptionChange(function(){return _._renderer.onOptionsChanged()})),_.register(w.onCharSizeChange(function(){return _.onCharSizeChanged()})),_._renderer.onRequestRedraw(function(C){return _.refreshRows(C.start,C.end,!0)}),_.register(c.addDisposableDomListener(window,"resize",function(){return _.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var I=new IntersectionObserver(function(C){return _._onIntersectionChange(C[C.length-1])},{threshold:0});I.observe(v),_.register({dispose:function(){return I.disconnect()}})}return _}return t(h,o),Object.defineProperty(h.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),h.prototype._onIntersectionChange=function(p){this._isPaused=p.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},h.prototype.refreshRows=function(p,g,v){v===void 0&&(v=!1),this._isPaused?this._needsFullRefresh=!0:(v||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(p,g,this._rowCount))},h.prototype._renderRows=function(p,g){this._renderer.renderRows(p,g),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:p,end:g}),this._isNextRenderRedrawOnly=!0},h.prototype.resize=function(p,g){this._rowCount=g,this._fireOnCanvasResize()},h.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},h.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},h.prototype.dispose=function(){o.prototype.dispose.call(this)},h.prototype.setRenderer=function(p){var g=this;this._renderer.dispose(),this._renderer=p,this._renderer.onRequestRedraw(function(v){return g.refreshRows(v.start,v.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},h.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},h.prototype.setColors=function(p){this._renderer.setColors(p),this._fullRefresh()},h.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},h.prototype.onResize=function(p,g){this._renderer.onResize(p,g),this._fullRefresh()},h.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},h.prototype.onBlur=function(){this._renderer.onBlur()},h.prototype.onFocus=function(){this._renderer.onFocus()},h.prototype.onSelectionChanged=function(p,g,v){this._selectionState.start=p,this._selectionState.end=g,this._selectionState.columnSelectMode=v,this._renderer.onSelectionChanged(p,g,v)},h.prototype.onCursorMove=function(){this._renderer.onCursorMove()},h.prototype.clear=function(){this._renderer.clear()},h.prototype.registerCharacterJoiner=function(p){return this._renderer.registerCharacterJoiner(p)},h.prototype.deregisterCharacterJoiner=function(p){return this._renderer.deregisterCharacterJoiner(p)},h=e([m(3,i.IOptionsService),m(4,u.ICharSizeService),m(5,i.IBufferService)],h)}(n.Disposable);b.RenderService=r},function(x,b,A){"use strict";var f=this&&this.__decorate||function(n,s,c,i){var u,r=arguments.length,o=r<3?s:i===null?i=Object.getOwnPropertyDescriptor(s,c):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,s,c,i);else for(var h=n.length-1;h>=0;h--)(u=n[h])&&(o=(r<3?u(o):r>3?u(s,c,o):u(s,c))||o);return r>3&&o&&Object.defineProperty(s,c,o),o},t=this&&this.__param||function(n,s){return function(c,i){s(c,i,n)}};Object.defineProperty(b,"__esModule",{value:!0}),b.CharSizeService=void 0;var e=A(1),m=A(0),d=function(){function n(s,c,i){this._optionsService=i,this.width=0,this.height=0,this._onCharSizeChange=new m.EventEmitter,this._measureStrategy=new a(s,c,this._optionsService)}return Object.defineProperty(n.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),n.prototype.measure=function(){var s=this._measureStrategy.measure();s.width===this.width&&s.height===this.height||(this.width=s.width,this.height=s.height,this._onCharSizeChange.fire())},n=f([t(2,e.IOptionsService)],n)}();b.CharSizeService=d;var a=function(){function n(s,c,i){this._document=s,this._parentElement=c,this._optionsService=i,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return n.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var s=this._measureElement.getBoundingClientRect();return s.width!==0&&s.height!==0&&(this._result.width=s.width,this._result.height=Math.ceil(s.height)),this._result},n}()},function(x,b,A){"use strict";var f=this&&this.__decorate||function(a,n,s,c){var i,u=arguments.length,r=u<3?n:c===null?c=Object.getOwnPropertyDescriptor(n,s):c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(a,n,s,c);else for(var o=a.length-1;o>=0;o--)(i=a[o])&&(r=(u<3?i(r):u>3?i(n,s,r):i(n,s))||r);return u>3&&r&&Object.defineProperty(n,s,r),r},t=this&&this.__param||function(a,n){return function(s,c){n(s,c,a)}};Object.defineProperty(b,"__esModule",{value:!0}),b.MouseService=void 0;var e=A(5),m=A(30),d=function(){function a(n,s){this._renderService=n,this._charSizeService=s}return a.prototype.getCoords=function(n,s,c,i,u){return m.getCoords(n,s,c,i,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,u)},a.prototype.getRawByteCoords=function(n,s,c,i){var u=this.getCoords(n,s,c,i);return m.getRawByteCoords(u)},a=f([t(0,e.IRenderService),t(1,e.ICharSizeService)],a)}();b.MouseService=d},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(u,r){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,h){o.__proto__=h}||function(o,h){for(var p in h)h.hasOwnProperty(p)&&(o[p]=h[p])})(u,r)},function(i,u){function r(){this.constructor=i}f(i,u),i.prototype=u===null?Object.create(u):(r.prototype=u.prototype,new r)}),e=this&&this.__decorate||function(i,u,r,o){var h,p=arguments.length,g=p<3?u:o===null?o=Object.getOwnPropertyDescriptor(u,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(i,u,r,o);else for(var v=i.length-1;v>=0;v--)(h=i[v])&&(g=(p<3?h(g):p>3?h(u,r,g):h(u,r))||g);return p>3&&g&&Object.defineProperty(u,r,g),g},m=this&&this.__param||function(i,u){return function(r,o){u(r,o,i)}};Object.defineProperty(b,"__esModule",{value:!0}),b.Linkifier2=void 0;var d=A(1),a=A(0),n=A(2),s=A(7),c=function(i){function u(r){var o=i.call(this)||this;return o._bufferService=r,o._linkProviders=[],o._linkCacheDisposables=[],o._isMouseOut=!0,o._activeLine=-1,o._onShowLinkUnderline=o.register(new a.EventEmitter),o._onHideLinkUnderline=o.register(new a.EventEmitter),o.register(n.getDisposeArrayDisposable(o._linkCacheDisposables)),o}return t(u,i),Object.defineProperty(u.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),u.prototype.registerLinkProvider=function(r){var o=this;return this._linkProviders.push(r),{dispose:function(){var p=o._linkProviders.indexOf(r);p!==-1&&o._linkProviders.splice(p,1)}}},u.prototype.attachToDom=function(r,o,h){var p=this;this._element=r,this._mouseService=o,this._renderService=h,this.register(s.addDisposableDomListener(this._element,"mouseleave",function(){p._isMouseOut=!0,p._clearCurrentLink()})),this.register(s.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(s.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},u.prototype._onMouseMove=function(r){if(this._lastMouseEvent=r,this._element&&this._mouseService){var o=this._positionFromMouseEvent(r,this._element,this._mouseService);if(o){this._isMouseOut=!1;for(var h=r.composedPath(),p=0;pr?this._bufferService.cols:y.link.range.end.x,_=w;_<=S;_++){if(h.has(_)){g.splice(v--,1);break}h.add(_)}}},u.prototype._checkLinkProviderResult=function(r,o,h){var p,g=this;if(!this._activeProviderReplies)return h;for(var v=this._activeProviderReplies.get(r),y=!1,w=0;w=r&&this._currentLink.link.range.end.y<=o)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,n.disposeArray(this._linkCacheDisposables))},u.prototype._handleNewLink=function(r){var o=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var h=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);h&&this._linkAtPosition(r.link,h)&&(this._currentLink=r,this._currentLink.state={decorations:{underline:r.link.decorations===void 0||r.link.decorations.underline,pointerCursor:r.link.decorations===void 0||r.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,r.link,this._lastMouseEvent),r.link.decorations={},Object.defineProperties(r.link.decorations,{pointerCursor:{get:function(){var g,v;return(v=(g=o._currentLink)===null||g===void 0?void 0:g.state)===null||v===void 0?void 0:v.decorations.pointerCursor},set:function(g){var v,y;((v=o._currentLink)===null||v===void 0?void 0:v.state)&&o._currentLink.state.decorations.pointerCursor!==g&&(o._currentLink.state.decorations.pointerCursor=g,o._currentLink.state.isHovered&&((y=o._element)===null||y===void 0||y.classList.toggle("xterm-cursor-pointer",g)))}},underline:{get:function(){var g,v;return(v=(g=o._currentLink)===null||g===void 0?void 0:g.state)===null||v===void 0?void 0:v.decorations.underline},set:function(g){var v,y,w;((v=o._currentLink)===null||v===void 0?void 0:v.state)&&((w=(y=o._currentLink)===null||y===void 0?void 0:y.state)===null||w===void 0?void 0:w.decorations.underline)!==g&&(o._currentLink.state.decorations.underline=g,o._currentLink.state.isHovered&&o._fireUnderlineEvent(r.link,g))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(p){var g=p.start===0?0:p.start+1+o._bufferService.buffer.ydisp;o._clearCurrentLink(g,p.end+1+o._bufferService.buffer.ydisp)})))}},u.prototype._linkHover=function(r,o,h){var p;((p=this._currentLink)===null||p===void 0?void 0:p.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(o,!0),this._currentLink.state.decorations.pointerCursor&&r.classList.add("xterm-cursor-pointer")),o.hover&&o.hover(h,o.text)},u.prototype._fireUnderlineEvent=function(r,o){var h=r.range,p=this._bufferService.buffer.ydisp,g=this._createLinkUnderlineEvent(h.start.x-1,h.start.y-p-1,h.end.x,h.end.y-p-1,void 0);(o?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(g)},u.prototype._linkLeave=function(r,o,h){var p;((p=this._currentLink)===null||p===void 0?void 0:p.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(o,!1),this._currentLink.state.decorations.pointerCursor&&r.classList.remove("xterm-cursor-pointer")),o.leave&&o.leave(h,o.text)},u.prototype._linkAtPosition=function(r,o){var h=r.range.start.y===r.range.end.y,p=r.range.start.yo.y;return(h&&r.range.start.x<=o.x&&r.range.end.x>=o.x||p&&r.range.end.x>=o.x||g&&r.range.start.x<=o.x||p&&g)&&r.range.start.y<=o.y&&r.range.end.y>=o.y},u.prototype._positionFromMouseEvent=function(r,o,h){var p=h.getCoords(r,o,this._bufferService.cols,this._bufferService.rows);if(p)return{x:p[0],y:p[1]+this._bufferService.buffer.ydisp}},u.prototype._createLinkUnderlineEvent=function(r,o,h,p,g){return{x1:r,y1:o,x2:h,y2:p,cols:this._bufferService.cols,fg:g}},u=e([m(0,d.IBufferService)],u)}(n.Disposable);b.Linkifier2=c},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.CoreBrowserService=void 0;var f=function(){function t(e){this._textarea=e}return Object.defineProperty(t.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),t}();b.CoreBrowserService=f},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(S,_){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(I,C){I.__proto__=C}||function(I,C){for(var E in C)C.hasOwnProperty(E)&&(I[E]=C[E])})(S,_)},function(w,S){function _(){this.constructor=w}f(w,S),w.prototype=S===null?Object.create(S):(_.prototype=S.prototype,new _)});Object.defineProperty(b,"__esModule",{value:!0}),b.CoreTerminal=void 0;var e=A(2),m=A(1),d=A(66),a=A(67),n=A(68),s=A(74),c=A(75),i=A(0),u=A(76),r=A(77),o=A(78),h=A(80),p=A(81),g=A(19),v=A(82),y=function(w){function S(_){var I=w.call(this)||this;return I._onBinary=new i.EventEmitter,I._onData=new i.EventEmitter,I._onLineFeed=new i.EventEmitter,I._onResize=new i.EventEmitter,I._onScroll=new i.EventEmitter,I._instantiationService=new d.InstantiationService,I.optionsService=new s.OptionsService(_),I._instantiationService.setService(m.IOptionsService,I.optionsService),I._bufferService=I.register(I._instantiationService.createInstance(n.BufferService)),I._instantiationService.setService(m.IBufferService,I._bufferService),I._logService=I._instantiationService.createInstance(a.LogService),I._instantiationService.setService(m.ILogService,I._logService),I._coreService=I.register(I._instantiationService.createInstance(c.CoreService,function(){return I.scrollToBottom()})),I._instantiationService.setService(m.ICoreService,I._coreService),I._coreMouseService=I._instantiationService.createInstance(u.CoreMouseService),I._instantiationService.setService(m.ICoreMouseService,I._coreMouseService),I._dirtyRowService=I._instantiationService.createInstance(r.DirtyRowService),I._instantiationService.setService(m.IDirtyRowService,I._dirtyRowService),I.unicodeService=I._instantiationService.createInstance(o.UnicodeService),I._instantiationService.setService(m.IUnicodeService,I.unicodeService),I._charsetService=I._instantiationService.createInstance(h.CharsetService),I._instantiationService.setService(m.ICharsetService,I._charsetService),I._inputHandler=new g.InputHandler(I._bufferService,I._charsetService,I._coreService,I._dirtyRowService,I._logService,I.optionsService,I._coreMouseService,I.unicodeService),I.register(i.forwardEvent(I._inputHandler.onLineFeed,I._onLineFeed)),I.register(I._inputHandler),I.register(i.forwardEvent(I._bufferService.onResize,I._onResize)),I.register(i.forwardEvent(I._coreService.onData,I._onData)),I.register(i.forwardEvent(I._coreService.onBinary,I._onBinary)),I.register(I.optionsService.onOptionChange(function(C){return I._updateOptions(C)})),I._writeBuffer=new v.WriteBuffer(function(C){return I._inputHandler.parse(C)}),I}return t(S,w),Object.defineProperty(S.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),S.prototype.dispose=function(){var _;this._isDisposed||(w.prototype.dispose.call(this),(_=this._windowsMode)===null||_===void 0||_.dispose(),this._windowsMode=void 0)},S.prototype.write=function(_,I){this._writeBuffer.write(_,I)},S.prototype.writeSync=function(_){this._writeBuffer.writeSync(_)},S.prototype.resize=function(_,I){isNaN(_)||isNaN(I)||(_=Math.max(_,n.MINIMUM_COLS),I=Math.max(I,n.MINIMUM_ROWS),this._bufferService.resize(_,I))},S.prototype.scroll=function(_,I){I===void 0&&(I=!1);var C,E=this._bufferService.buffer;(C=this._cachedBlankLine)&&C.length===this.cols&&C.getFg(0)===_.fg&&C.getBg(0)===_.bg||(C=E.getBlankLine(_,I),this._cachedBlankLine=C),C.isWrapped=I;var O=E.ybase+E.scrollTop,M=E.ybase+E.scrollBottom;if(E.scrollTop===0){var F=E.lines.isFull;M===E.lines.length-1?F?E.lines.recycle().copyFrom(C):E.lines.push(C.clone()):E.lines.splice(M+1,0,C.clone()),F?this._bufferService.isUserScrolling&&(E.ydisp=Math.max(E.ydisp-1,0)):(E.ybase++,this._bufferService.isUserScrolling||E.ydisp++)}else{var H=M-O+1;E.lines.shiftElements(O+1,H-1,-1),E.lines.set(M,C.clone())}this._bufferService.isUserScrolling||(E.ydisp=E.ybase),this._dirtyRowService.markRangeDirty(E.scrollTop,E.scrollBottom),this._onScroll.fire(E.ydisp)},S.prototype.scrollLines=function(_,I){var C=this._bufferService.buffer;if(_<0){if(C.ydisp===0)return;this._bufferService.isUserScrolling=!0}else _+C.ydisp>=C.ybase&&(this._bufferService.isUserScrolling=!1);var E=C.ydisp;C.ydisp=Math.max(Math.min(C.ydisp+_,C.ybase),0),E!==C.ydisp&&(I||this._onScroll.fire(C.ydisp))},S.prototype.scrollPages=function(_){this.scrollLines(_*(this.rows-1))},S.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},S.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},S.prototype.scrollToLine=function(_){var I=_-this._bufferService.buffer.ydisp;I!==0&&this.scrollLines(I)},S.prototype.addEscHandler=function(_,I){return this._inputHandler.addEscHandler(_,I)},S.prototype.addDcsHandler=function(_,I){return this._inputHandler.addDcsHandler(_,I)},S.prototype.addCsiHandler=function(_,I){return this._inputHandler.addCsiHandler(_,I)},S.prototype.addOscHandler=function(_,I){return this._inputHandler.addOscHandler(_,I)},S.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},S.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},S.prototype._updateOptions=function(_){var I;switch(_){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((I=this._windowsMode)===null||I===void 0||I.dispose(),this._windowsMode=void 0)}},S.prototype._enableWindowsMode=function(){var _=this;if(!this._windowsMode){var I=[];I.push(this.onLineFeed(p.updateWindowsModeWrappedState.bind(null,this._bufferService))),I.push(this.addCsiHandler({final:"H"},function(){return p.updateWindowsModeWrappedState(_._bufferService),!1})),this._windowsMode={dispose:function(){for(var E=0,O=I;E0?i[0].index:s.length;if(s.length!==g)throw new Error("[createInstance] First service dependency of "+n.name+" at position "+(g+1)+" conflicts with "+s.length+" static arguments");return new(n.bind.apply(n,f([void 0],f(s,u))))},a}();b.InstantiationService=d},function(x,b,A){"use strict";var f=this&&this.__decorate||function(s,c,i,u){var r,o=arguments.length,h=o<3?c:u===null?u=Object.getOwnPropertyDescriptor(c,i):u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")h=Reflect.decorate(s,c,i,u);else for(var p=s.length-1;p>=0;p--)(r=s[p])&&(h=(o<3?r(h):o>3?r(c,i,h):r(c,i))||h);return o>3&&h&&Object.defineProperty(c,i,h),h},t=this&&this.__param||function(s,c){return function(i,u){c(i,u,s)}},e=this&&this.__spreadArrays||function(){for(var s=0,c=0,i=arguments.length;c=0;v--)(h=i[v])&&(g=(p<3?h(g):p>3?h(u,r,g):h(u,r))||g);return p>3&&g&&Object.defineProperty(u,r,g),g},m=this&&this.__param||function(i,u){return function(r,o){u(r,o,i)}};Object.defineProperty(b,"__esModule",{value:!0}),b.BufferService=b.MINIMUM_ROWS=b.MINIMUM_COLS=void 0;var d=A(1),a=A(69),n=A(0),s=A(2);b.MINIMUM_COLS=2,b.MINIMUM_ROWS=1;var c=function(i){function u(r){var o=i.call(this)||this;return o._optionsService=r,o.isUserScrolling=!1,o._onResize=new n.EventEmitter,o.cols=Math.max(r.options.cols,b.MINIMUM_COLS),o.rows=Math.max(r.options.rows,b.MINIMUM_ROWS),o.buffers=new a.BufferSet(r,o),o}return t(u,i),Object.defineProperty(u.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),u.prototype.dispose=function(){i.prototype.dispose.call(this),this.buffers.dispose()},u.prototype.resize=function(r,o){this.cols=r,this.rows=o,this.buffers.resize(r,o),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:r,rows:o})},u.prototype.reset=function(){this.buffers.dispose(),this.buffers=new a.BufferSet(this._optionsService,this),this.isUserScrolling=!1},u=e([m(0,d.IOptionsService)],u)}(s.Disposable);b.BufferService=c},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(n,s){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,i){c.__proto__=i}||function(c,i){for(var u in i)i.hasOwnProperty(u)&&(c[u]=i[u])})(n,s)},function(a,n){function s(){this.constructor=a}f(a,n),a.prototype=n===null?Object.create(n):(s.prototype=n.prototype,new s)});Object.defineProperty(b,"__esModule",{value:!0}),b.BufferSet=void 0;var e=A(70),m=A(0),d=function(a){function n(s,c){var i=a.call(this)||this;return i._onBufferActivate=i.register(new m.EventEmitter),i._normal=new e.Buffer(!0,s,c),i._normal.fillViewportRows(),i._alt=new e.Buffer(!1,s,c),i._activeBuffer=i._normal,i.setupTabStops(),i}return t(n,a),Object.defineProperty(n.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),n.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},n.prototype.activateAltBuffer=function(s){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(s),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},n.prototype.resize=function(s,c){this._normal.resize(s,c),this._alt.resize(s,c)},n.prototype.setupTabStops=function(s){this._normal.setupTabStops(s),this._alt.setupTabStops(s)},n}(A(2).Disposable);b.BufferSet=d},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.BufferStringIterator=b.Buffer=b.MAX_BUFFER_SIZE=void 0;var f=A(71),t=A(16),e=A(4),m=A(3),d=A(72),a=A(73),n=A(20),s=A(6);b.MAX_BUFFER_SIZE=4294967295;var c=function(){function u(r,o,h){this._hasScrollback=r,this._optionsService=o,this._bufferService=h,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=t.DEFAULT_ATTR_DATA.clone(),this.savedCharset=n.DEFAULT_CHARSET,this.markers=[],this._nullCell=e.CellData.fromCharData([0,m.NULL_CELL_CHAR,m.NULL_CELL_WIDTH,m.NULL_CELL_CODE]),this._whitespaceCell=e.CellData.fromCharData([0,m.WHITESPACE_CELL_CHAR,m.WHITESPACE_CELL_WIDTH,m.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new f.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return u.prototype.getNullCell=function(r){return r?(this._nullCell.fg=r.fg,this._nullCell.bg=r.bg,this._nullCell.extended=r.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new s.ExtendedAttrs),this._nullCell},u.prototype.getWhitespaceCell=function(r){return r?(this._whitespaceCell.fg=r.fg,this._whitespaceCell.bg=r.bg,this._whitespaceCell.extended=r.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new s.ExtendedAttrs),this._whitespaceCell},u.prototype.getBlankLine=function(r,o){return new t.BufferLine(this._bufferService.cols,this.getNullCell(r),o)},Object.defineProperty(u.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isCursorInViewport",{get:function(){var o=this.ybase+this.y-this.ydisp;return o>=0&&ob.MAX_BUFFER_SIZE?b.MAX_BUFFER_SIZE:o},u.prototype.fillViewportRows=function(r){if(this.lines.length===0){r===void 0&&(r=t.DEFAULT_ATTR_DATA);for(var o=this._rows;o--;)this.lines.push(this.getBlankLine(r))}},u.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new f.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},u.prototype.resize=function(r,o){var h=this.getNullCell(t.DEFAULT_ATTR_DATA),p=this._getCorrectBufferLength(o);if(p>this.lines.maxLength&&(this.lines.maxLength=p),this.lines.length>0){if(this._cols0&&this.lines.length<=this.ybase+this.y+v+1?(this.ybase--,v++,this.ydisp>0&&this.ydisp--):this.lines.push(new t.BufferLine(r,h)));else for(y=this._rows;y>o;y--)this.lines.length>o+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(p0&&(this.lines.trimStart(w),this.ybase=Math.max(this.ybase-w,0),this.ydisp=Math.max(this.ydisp-w,0),this.savedY=Math.max(this.savedY-w,0)),this.lines.maxLength=p}this.x=Math.min(this.x,r-1),this.y=Math.min(this.y,o-1),v&&(this.y+=v),this.savedX=Math.min(this.savedX,r-1),this.scrollTop=0}if(this.scrollBottom=o-1,this._isReflowEnabled&&(this._reflow(r,o),this._cols>r))for(g=0;gthis._cols?this._reflowLarger(r,o):this._reflowSmaller(r,o))},u.prototype._reflowLarger=function(r,o){var h=d.reflowLargerGetLinesToRemove(this.lines,this._cols,r,this.ybase+this.y,this.getNullCell(t.DEFAULT_ATTR_DATA));if(h.length>0){var p=d.reflowLargerCreateNewLayout(this.lines,h);d.reflowLargerApplyNewLayout(this.lines,p.layout),this._reflowLargerAdjustViewport(r,o,p.countRemoved)}},u.prototype._reflowLargerAdjustViewport=function(r,o,h){for(var p=this.getNullCell(t.DEFAULT_ATTR_DATA),g=h;g-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length=0;v--){var y=this.lines.get(v);if(!(!y||!y.isWrapped&&y.getTrimmedLength()<=r)){for(var w=[y];y.isWrapped&&v>0;)y=this.lines.get(--v),w.unshift(y);var S=this.ybase+this.y;if(!(S>=v&&S0&&(p.push({start:v+w.length+g,newLines:O}),g+=O.length),w.push.apply(w,O);var H=I.length-1,B=I[H];B===0&&(B=I[--H]);for(var X=w.length-C-1,J=_;X>=0;){var k=Math.min(J,B);if(w[H].copyCellsFrom(w[X],J-k,B-k,k,!0),(B-=k)===0&&(B=I[--H]),(J-=k)===0){X--;var W=Math.max(X,0);J=d.getWrappedLineTrimmedLength(w,W,this._cols)}}for(M=0;M0;)this.ybase===0?this.y0){var K=[],P=[];for(M=0;M=0;M--)if(re&&re.start>V+ce){for(var ie=re.newLines.length-1;ie>=0;ie--)this.lines.set(M--,re.newLines[ie]);M++,K.push({index:V+1,amount:re.newLines.length}),ce+=re.newLines.length,re=p[++q]}else this.lines.set(M,P[V--]);var fe=0;for(M=K.length-1;M>=0;M--)K[M].index+=fe,this.lines.onInsertEmitter.fire(K[M]),fe+=K[M].amount;var xe=Math.max(0,G+g-this.lines.maxLength);xe>0&&this.lines.onTrimEmitter.fire(xe)}},u.prototype.stringIndexToBufferIndex=function(r,o,h){for(h===void 0&&(h=!1);o;){var p=this.lines.get(r);if(!p)return[-1,-1];for(var g=h?p.getTrimmedLength():p.length,v=0;v0&&this.lines.get(o).isWrapped;)o--;for(;h+10;);return r>=this._cols?this._cols-1:r<0?0:r},u.prototype.nextStop=function(r){for(r==null&&(r=this.x);!this.tabs[++r]&&r=this._cols?this._cols-1:r<0?0:r},u.prototype.addMarker=function(r){var o=this,h=new a.Marker(r);return this.markers.push(h),h.register(this.lines.onTrim(function(p){h.line-=p,h.line<0&&h.dispose()})),h.register(this.lines.onInsert(function(p){h.line>=p.index&&(h.line+=p.amount)})),h.register(this.lines.onDelete(function(p){h.line>=p.index&&h.linep.index&&(h.line-=p.amount)})),h.register(h.onDispose(function(){return o._removeMarker(h)})),h},u.prototype._removeMarker=function(r){this.markers.splice(this.markers.indexOf(r),1)},u.prototype.iterator=function(r,o,h,p,g){return new i(this,r,o,h,p,g)},u}();b.Buffer=c;var i=function(){function u(r,o,h,p,g,v){h===void 0&&(h=0),p===void 0&&(p=r.lines.length),g===void 0&&(g=0),v===void 0&&(v=0),this._buffer=r,this._trimRight=o,this._startIndex=h,this._endIndex=p,this._startOverscan=g,this._endOverscan=v,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return u.prototype.hasNext=function(){return this._currentthis._endIndex+this._endOverscan&&(r.last=this._endIndex+this._endOverscan),r.first=Math.max(r.first,0),r.last=Math.min(r.last,this._buffer.lines.length);for(var o="",h=r.first;h<=r.last;++h)o+=this._buffer.translateBufferLineToString(h,this._trimRight);return this._current=r.last+1,{range:r,content:o}},u}();b.BufferStringIterator=i},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.CircularList=void 0;var f=A(0),t=function(){function e(m){this._maxLength=m,this.onDeleteEmitter=new f.EventEmitter,this.onInsertEmitter=new f.EventEmitter,this.onTrimEmitter=new f.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(e.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxLength",{get:function(){return this._maxLength},set:function(d){if(this._maxLength!==d){for(var a=new Array(d),n=0;nthis._length)for(var a=this._length;a=m;s--)this._array[this._getCyclicIndex(s+a.length)]=this._array[this._getCyclicIndex(s)];for(s=0;sthis._maxLength){var c=this._length+a.length-this._maxLength;this._startIndex+=c,this._length=this._maxLength,this.onTrimEmitter.fire(c)}else this._length+=a.length},e.prototype.trimStart=function(m){m>this._length&&(m=this._length),this._startIndex+=m,this._length-=m,this.onTrimEmitter.fire(m)},e.prototype.shiftElements=function(m,d,a){if(!(d<=0)){if(m<0||m>=this._length)throw new Error("start argument out of range");if(m+a<0)throw new Error("Cannot shift elements in list beyond index 0");if(a>0){for(var n=d-1;n>=0;n--)this.set(m+n+a,this.get(m+n));var s=m+d+a-this._length;if(s>0)for(this._length+=s;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(n=0;n=s&&d0&&(_>r||u[_].getTrimmedLength()===0);_--)S++;S>0&&(n.push(s+u.length-S),n.push(S)),s+=u.length-1}}}return n},b.reflowLargerCreateNewLayout=function(t,e){for(var m=[],d=0,a=e[d],n=0,s=0;si&&(n-=i,s++);var u=t[s].getWidth(n-1)===2;u&&n--;var r=u?m-1:m;d.push(r),c+=r}return d},b.getWrappedLineTrimmedLength=f},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(a,n){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var i in c)c.hasOwnProperty(i)&&(s[i]=c[i])})(a,n)},function(d,a){function n(){this.constructor=d}f(d,a),d.prototype=a===null?Object.create(a):(n.prototype=a.prototype,new n)});Object.defineProperty(b,"__esModule",{value:!0}),b.Marker=void 0;var e=A(0),m=function(d){function a(n){var s=d.call(this)||this;return s.line=n,s._id=a._nextId++,s.isDisposed=!1,s._onDispose=new e.EventEmitter,s}return t(a,d),Object.defineProperty(a.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),a.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},a._nextId=1,a}(A(2).Disposable);b.Marker=m},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.OptionsService=b.DEFAULT_OPTIONS=b.DEFAULT_BELL_SOUND=void 0;var f=A(0),t=A(11),e=A(33);b.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",b.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:b.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:t.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var m=["cols","rows"],d=function(){function a(n){this._onOptionChange=new f.EventEmitter,this.options=e.clone(b.DEFAULT_OPTIONS);for(var s=0,c=Object.keys(n);s=0;w--)(g=r[w])&&(y=(v<3?g(y):v>3?g(o,h,y):g(o,h))||y);return v>3&&y&&Object.defineProperty(o,h,y),y},m=this&&this.__param||function(r,o){return function(h,p){o(h,p,r)}};Object.defineProperty(b,"__esModule",{value:!0}),b.CoreService=void 0;var d=A(1),a=A(0),n=A(33),s=A(2),c=Object.freeze({insertMode:!1}),i=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),u=function(r){function o(h,p,g,v){var y=r.call(this)||this;return y._bufferService=p,y._logService=g,y._optionsService=v,y.isCursorInitialized=!1,y.isCursorHidden=!1,y._onData=y.register(new a.EventEmitter),y._onUserInput=y.register(new a.EventEmitter),y._onBinary=y.register(new a.EventEmitter),y._scrollToBottom=h,y.register({dispose:function(){return y._scrollToBottom=void 0}}),y.modes=n.clone(c),y.decPrivateModes=n.clone(i),y}return t(o,r),Object.defineProperty(o.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),o.prototype.reset=function(){this.modes=n.clone(c),this.decPrivateModes=n.clone(i)},o.prototype.triggerDataEvent=function(h,p){if(p===void 0&&(p=!1),!this._optionsService.options.disableStdin){var g=this._bufferService.buffer;g.ybase!==g.ydisp&&this._scrollToBottom(),p&&this._onUserInput.fire(),this._logService.debug('sending data "'+h+'"',function(){return h.split("").map(function(v){return v.charCodeAt(0)})}),this._onData.fire(h)}},o.prototype.triggerBinaryEvent=function(h){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+h+'"',function(){return h.split("").map(function(p){return p.charCodeAt(0)})}),this._onBinary.fire(h))},o=e([m(1,d.IBufferService),m(2,d.ILogService),m(3,d.IOptionsService)],o)}(s.Disposable);b.CoreService=u},function(x,b,A){"use strict";var f=this&&this.__decorate||function(i,u,r,o){var h,p=arguments.length,g=p<3?u:o===null?o=Object.getOwnPropertyDescriptor(u,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(i,u,r,o);else for(var v=i.length-1;v>=0;v--)(h=i[v])&&(g=(p<3?h(g):p>3?h(u,r,g):h(u,r))||g);return p>3&&g&&Object.defineProperty(u,r,g),g},t=this&&this.__param||function(i,u){return function(r,o){u(r,o,i)}};Object.defineProperty(b,"__esModule",{value:!0}),b.CoreMouseService=void 0;var e=A(1),m=A(0),d={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(u){return u.button!==4&&u.action===1&&(u.ctrl=!1,u.alt=!1,u.shift=!1,!0)}},VT200:{events:19,restrict:function(u){return u.action!==32}},DRAG:{events:23,restrict:function(u){return u.action!==32||u.button!==3}},ANY:{events:31,restrict:function(u){return!0}}};function a(i,u){var r=(i.ctrl?16:0)|(i.shift?4:0)|(i.alt?8:0);return i.button===4?(r|=64,r|=i.action):(r|=3&i.button,4&i.button&&(r|=64),8&i.button&&(r|=128),i.action===32?r|=32:i.action!==0||u||(r|=3)),r}var n=String.fromCharCode,s={DEFAULT:function(u){var r=[a(u,!1)+32,u.col+32,u.row+32];return r[0]>255||r[1]>255||r[2]>255?"":""+n(r[0])+n(r[1])+n(r[2])},SGR:function(u){var r=u.action===0&&u.button!==4?"m":"M";return"[<"+a(u,!0)+";"+u.col+";"+u.row+r}},c=function(){function i(u,r){this._bufferService=u,this._coreService=r,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new m.EventEmitter,this._lastEvent=null;for(var o=0,h=Object.keys(d);o=this._bufferService.cols||u.row<0||u.row>=this._bufferService.rows)return!1;if(u.button===4&&u.action===32)return!1;if(u.button===3&&u.action!==32)return!1;if(u.button!==4&&(u.action===2||u.action===3))return!1;if(u.col++,u.row++,u.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,u))return!1;if(!this._protocols[this._activeProtocol].restrict(u))return!1;var r=this._encodings[this._activeEncoding](u);return r&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(r):this._coreService.triggerDataEvent(r,!0)),this._lastEvent=u,!0},i.prototype.explainEvents=function(u){return{down:!!(1&u),up:!!(2&u),drag:!!(4&u),move:!!(8&u),wheel:!!(16&u)}},i.prototype._compareEvents=function(u,r){return u.col===r.col&&u.row===r.row&&u.button===r.button&&u.action===r.action&&u.ctrl===r.ctrl&&u.alt===r.alt&&u.shift===r.shift},i=f([t(0,e.IBufferService),t(1,e.ICoreService)],i)}();b.CoreMouseService=c},function(x,b,A){"use strict";var f=this&&this.__decorate||function(d,a,n,s){var c,i=arguments.length,u=i<3?a:s===null?s=Object.getOwnPropertyDescriptor(a,n):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(d,a,n,s);else for(var r=d.length-1;r>=0;r--)(c=d[r])&&(u=(i<3?c(u):i>3?c(a,n,u):c(a,n))||u);return i>3&&u&&Object.defineProperty(a,n,u),u},t=this&&this.__param||function(d,a){return function(n,s){a(n,s,d)}};Object.defineProperty(b,"__esModule",{value:!0}),b.DirtyRowService=void 0;var e=A(1),m=function(){function d(a){this._bufferService=a,this.clearRange()}return Object.defineProperty(d.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),d.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},d.prototype.markDirty=function(a){athis._end&&(this._end=a)},d.prototype.markRangeDirty=function(a,n){if(a>n){var s=a;a=n,n=s}athis._end&&(this._end=n)},d.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},d=f([t(0,e.IBufferService)],d)}();b.DirtyRowService=m},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.UnicodeService=void 0;var f=A(0),t=A(79),e=function(){function m(){this._providers=Object.create(null),this._active="",this._onChange=new f.EventEmitter;var d=new t.UnicodeV6;this.register(d),this._active=d.version,this._activeProvider=d}return Object.defineProperty(m.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"activeVersion",{get:function(){return this._active},set:function(a){if(!this._providers[a])throw new Error('unknown Unicode version "'+a+'"');this._active=a,this._activeProvider=this._providers[a],this._onChange.fire(a)},enumerable:!1,configurable:!0}),m.prototype.register=function(d){this._providers[d.version]=d},m.prototype.wcwidth=function(d){return this._activeProvider.wcwidth(d)},m.prototype.getStringCellWidth=function(d){for(var a=0,n=d.length,s=0;s=n)return a+this.wcwidth(c);var i=d.charCodeAt(s);56320<=i&&i<=57343?c=1024*(c-55296)+i-56320+65536:a+=this.wcwidth(i)}a+=this.wcwidth(c)}return a},m}();b.UnicodeService=e},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.UnicodeV6=void 0;var f,t=A(15),e=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],m=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],d=function(){function a(){if(this.version="6",!f){f=new Uint8Array(65536),t.fill(f,1),f[0]=0,t.fill(f,0,1,32),t.fill(f,0,127,160),t.fill(f,2,4352,4448),f[9001]=2,f[9002]=2,t.fill(f,2,11904,42192),f[12351]=1,t.fill(f,2,44032,55204),t.fill(f,2,63744,64256),t.fill(f,2,65040,65050),t.fill(f,2,65072,65136),t.fill(f,2,65280,65377),t.fill(f,2,65504,65511);for(var n=0;nc[r][1])return!1;for(;r>=u;)if(s>c[i=u+r>>1][1])u=i+1;else{if(!(s=131072&&n<=196605||n>=196608&&n<=262141?2:1},a}();b.UnicodeV6=d},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.CharsetService=void 0;var f=function(){function t(){this.glevel=0,this._charsets=[]}return t.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},t.prototype.setgLevel=function(e){this.glevel=e,this.charset=this._charsets[e]},t.prototype.setgCharset=function(e,m){this._charsets[e]=m,this.glevel===e&&(this.charset=m)},t}();b.CharsetService=f},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.updateWindowsModeWrappedState=void 0;var f=A(3);b.updateWindowsModeWrappedState=function(t){var e=t.buffer.lines.get(t.buffer.ybase+t.buffer.y-1),m=e==null?void 0:e.get(t.cols-1),d=t.buffer.lines.get(t.buffer.ybase+t.buffer.y);d&&m&&(d.isWrapped=m[f.CHAR_DATA_CODE_INDEX]!==f.NULL_CELL_CODE&&m[f.CHAR_DATA_CODE_INDEX]!==f.WHITESPACE_CELL_CODE)}},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.WriteBuffer=void 0;var f=function(){function t(e){this._action=e,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return t.prototype.writeSync=function(e){if(this._writeBuffer.length){for(var m=this._bufferOffset;m5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return d._innerWrite()})),this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(m)},t.prototype._innerWrite=function(){for(var e=this,m=Date.now();this._writeBuffer.length>this._bufferOffset;){var d=this._writeBuffer[this._bufferOffset],a=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(d),this._pendingData-=d.length,a&&a(),Date.now()-m>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return e._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},t}();b.WriteBuffer=f},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.AddonManager=void 0;var f=function(){function t(){this._addons=[]}return t.prototype.dispose=function(){for(var e=this._addons.length-1;e>=0;e--)this._addons[e].instance.dispose()},t.prototype.loadAddon=function(e,m){var d=this,a={instance:m,dispose:m.dispose,isDisposed:!1};this._addons.push(a),m.dispose=function(){return d._wrappedAddonDispose(a)},m.activate(e)},t.prototype._wrappedAddonDispose=function(e){if(!e.isDisposed){for(var m=-1,d=0;ds;)i+=u*360;return[c,i]},coordToPoint:function(t){var e=t[0],m=t[1]/180*Math.PI,d=Math.cos(m)*e+this.cx,a=-Math.sin(m)*e+this.cy;return[d,a]},getArea:function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),m=e.getExtent().slice();m[0]>m[1]&&m.reverse();var d=t.getExtent(),a=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:m[0],r:m[1],startAngle:-d[0]*a,endAngle:-d[1]*a,clockwise:t.inverse,contain:function(n,s){var c=n-this.cx,i=s-this.cy,u=c*c+i*i,r=this.r,o=this.r0;return u<=r*r&&u>=o*o}}}};var f=A;j.exports=f},"/WM3":function(j,R,l){var x=l("QuXc"),b=l("bYtY"),A=b.isFunction,f={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var m=t.getData(),d=(t.visualColorAccessPath||"itemStyle.color").split("."),a=t.get(d),n=A(a)&&!(a instanceof x)?a:null;(!a||n)&&(a=t.getColorFromPalette(t.name,null,e.getSeriesCount())),m.setVisual("color",a);var s=(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),c=t.get(s);if(m.setVisual("borderColor",c),!e.isSeriesFiltered(t)){n&&m.each(function(u){m.setItemVisual(u,"color",n(t.getDataParams(u)))});var i=function(u,r){var o=u.getItemModel(r),h=o.get(d,!0),p=o.get(s,!0);h!=null&&u.setItemVisual(r,"color",h),p!=null&&u.setItemVisual(r,"borderColor",p)};return{dataEach:m.hasItemOption?i:null}}}};j.exports=f},"/d5a":function(j,R){var l={average:function(A){for(var f=0,t=0,e=0;ef&&(f=A[t]);return isFinite(f)?f:NaN},min:function(A){for(var f=Infinity,t=0;t1){var r;typeof d=="string"?r=l[d]:typeof d=="function"&&(r=d),r&&f.setData(m.downSample(m.mapDimension(s.dim),1/u,r,x))}}}}}j.exports=b},"/ezw":function(j,R,l){"use strict";var x=l("lSNA"),b=l.n(x),A=l("pVnL"),f=l.n(A),t=l("cDf5"),e=l.n(t),m=l("q1tI"),d=l("TSYQ"),a=l.n(d),n=function(z){var K=z.prefixCls,P=z.className,G=z.width,V=z.style;return m.createElement("h3",{className:a()(K,P),style:f()({width:G},V)})},s=n,c=l("RIqP"),i=l.n(c),u=function(z){var K=function(ie){var fe=z.width,xe=z.rows,Se=xe===void 0?2:xe;return Array.isArray(fe)?fe[ie]:Se-1===ie?fe:void 0},P=z.prefixCls,G=z.className,V=z.style,q=z.rows,re=i()(Array(q)).map(function(ce,ie){return m.createElement("li",{key:ie,style:{width:K(ie)}})});return m.createElement("ul",{className:a()(P,G),style:V},re)},r=u,o=l("H84U"),h=function(z){var K,P,G=z.prefixCls,V=z.className,q=z.style,re=z.size,ce=z.shape,ie=a()((K={},b()(K,"".concat(G,"-lg"),re==="large"),b()(K,"".concat(G,"-sm"),re==="small"),K)),fe=a()((P={},b()(P,"".concat(G,"-circle"),ce==="circle"),b()(P,"".concat(G,"-square"),ce==="square"),b()(P,"".concat(G,"-round"),ce==="round"),P)),xe=typeof re=="number"?{width:re,height:re,lineHeight:"".concat(re,"px")}:{};return m.createElement("span",{className:a()(G,V,ie,fe),style:f()(f()({},xe),q)})},p=h,g=l("BGR+"),v=function(z){var K=function(G){var V=G.getPrefixCls,q=z.prefixCls,re=z.className,ce=z.active,ie=V("skeleton",q),fe=Object(g.default)(z,["prefixCls"]),xe=a()(ie,re,"".concat(ie,"-element"),b()({},"".concat(ie,"-active"),ce));return m.createElement("div",{className:xe},m.createElement(p,f()({prefixCls:"".concat(ie,"-avatar")},fe)))};return m.createElement(o.a,null,K)};v.defaultProps={size:"default",shape:"circle"};var y=v,w=function(z){var K=function(G){var V=G.getPrefixCls,q=z.prefixCls,re=z.className,ce=z.active,ie=V("skeleton",q),fe=Object(g.default)(z,["prefixCls"]),xe=a()(ie,re,"".concat(ie,"-element"),b()({},"".concat(ie,"-active"),ce));return m.createElement("div",{className:xe},m.createElement(p,f()({prefixCls:"".concat(ie,"-button")},fe)))};return m.createElement(o.a,null,K)};w.defaultProps={size:"default"};var S=w,_=function(z){var K=function(G){var V=G.getPrefixCls,q=z.prefixCls,re=z.className,ce=z.active,ie=V("skeleton",q),fe=Object(g.default)(z,["prefixCls"]),xe=a()(ie,re,"".concat(ie,"-element"),b()({},"".concat(ie,"-active"),ce));return m.createElement("div",{className:xe},m.createElement(p,f()({prefixCls:"".concat(ie,"-input")},fe)))};return m.createElement(o.a,null,K)};_.defaultProps={size:"default"};var I=_,C="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",E=function(z){var K=function(G){var V=G.getPrefixCls,q=z.prefixCls,re=z.className,ce=z.style,ie=V("skeleton",q),fe=a()(ie,re,"".concat(ie,"-element"));return m.createElement("div",{className:fe},m.createElement("div",{className:a()("".concat(ie,"-image"),re),style:ce},m.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(ie,"-image-svg")},m.createElement("path",{d:C,className:"".concat(ie,"-image-path")}))))};return m.createElement(o.a,null,K)},O=E;function M(W){return W&&e()(W)==="object"?W:{}}function F(W,z){return W&&!z?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function H(W,z){return!W&&z?{width:"38%"}:W&&z?{width:"50%"}:{}}function B(W,z){var K={};return(!W||!z)&&(K.width="61%"),!W&&z?K.rows=3:K.rows=2,K}var X=function(z){var K=function(G){var V=G.getPrefixCls,q=G.direction,re=z.prefixCls,ce=z.loading,ie=z.className,fe=z.children,xe=z.avatar,Se=z.title,ke=z.paragraph,ge=z.active,Be=z.round,ee=V("skeleton",re);if(ce||!("loading"in z)){var ue,Ge=!!xe,ae=!!Se,Z=!!ke,Y;if(Ge){var te=f()(f()({prefixCls:"".concat(ee,"-avatar")},F(ae,Z)),M(xe));Y=m.createElement("div",{className:"".concat(ee,"-header")},m.createElement(p,te))}var we;if(ae||Z){var pe;if(ae){var De=f()(f()({prefixCls:"".concat(ee,"-title")},H(Ge,Z)),M(Se));pe=m.createElement(s,De)}var Ne;if(Z){var me=f()(f()({prefixCls:"".concat(ee,"-paragraph")},B(Ge,ae)),M(ke));Ne=m.createElement(r,me)}we=m.createElement("div",{className:"".concat(ee,"-content")},pe,Ne)}var be=a()(ee,ie,(ue={},b()(ue,"".concat(ee,"-with-avatar"),Ge),b()(ue,"".concat(ee,"-active"),ge),b()(ue,"".concat(ee,"-rtl"),q==="rtl"),b()(ue,"".concat(ee,"-round"),Be),ue));return m.createElement("div",{className:be},Y,we)}return fe};return m.createElement(o.a,null,K)};X.defaultProps={avatar:!1,title:!0,paragraph:!0},X.Button=S,X.Avatar=y,X.Input=I,X.Image=O;var J=X,k=R.a=J},"/iHx":function(j,R,l){var x=l("6GrX"),b=l("IwbS"),A=["textStyle","color"],f={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(A):null)},getFont:function(){return b.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return x.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};j.exports=f},"/ry/":function(j,R,l){var x=l("bYtY"),b=l("T4UG"),A=l("5GhG"),f=A.seriesModelMixin,t=b.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});x.mixin(t,f,!0);var e=t;j.exports=e},"/stD":function(j,R,l){var x=l("bYtY"),b=l("IUWy"),A=l("Kagy"),f=A.toolbox.brush;function t(d,a,n){this.model=d,this.ecModel=a,this.api=n,this._brushType,this._brushMode}t.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:x.clone(f.title)};var e=t.prototype;e.render=e.updateView=function(d,a,n){var s,c,i;a.eachComponent({mainType:"brush"},function(u){s=u.brushType,c=u.brushOption.brushMode||"single",i|=u.areas.length}),this._brushType=s,this._brushMode=c,x.each(d.get("type",!0),function(u){d.setIconStatus(u,(u==="keep"?c==="multiple":u==="clear"?i:u===s)?"emphasis":"normal")})},e.getIcons=function(){var d=this.model,a=d.get("icon",!0),n={};return x.each(d.get("type",!0),function(s){a[s]&&(n[s]=a[s])}),n},e.onclick=function(d,a,n){var s=this._brushType,c=this._brushMode;n==="clear"?(a.dispatchAction({type:"axisAreaSelect",intervals:[]}),a.dispatchAction({type:"brush",command:"clear",areas:[]})):a.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:n==="keep"?s:s===n?!1:n,brushMode:n==="keep"?c==="multiple"?"single":"multiple":c}})},b.register("brush",t);var m=t;j.exports=m},"/wGt":function(j,R,l){"use strict";var x=l("lSNA"),b=l.n(x),A=l("pVnL"),f=l.n(A),t=l("lwsE"),e=l.n(t),m=l("W8MJ"),d=l.n(m),a=l("PJYZ"),n=l.n(a),s=l("7W2i"),c=l.n(s),i=l("LQ03"),u=l.n(i),r=l("q1tI"),o=l("Ff2n"),h=l("1OyB"),p=l("vuIU"),g=l("Ji7U"),v=l("md7G"),y=l("foSv"),w=l("1W/9"),S=l("rePB"),_=l("JX7q"),I=l("TSYQ"),C=l.n(I),E=l("qx4F"),O=l("4IlW");function M(pe){return Array.isArray(pe)?pe:[pe]}var F={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},H=Object.keys(F).filter(function(pe){if(typeof document=="undefined")return!1;var De=document.getElementsByTagName("html")[0];return pe in(De?De.style:{})})[0],B=F[H];function X(pe,De,Ne,me){pe.addEventListener?pe.addEventListener(De,Ne,me):pe.attachEvent&&pe.attachEvent("on".concat(De),Ne)}function J(pe,De,Ne,me){pe.removeEventListener?pe.removeEventListener(De,Ne,me):pe.attachEvent&&pe.detachEvent("on".concat(De),Ne)}function k(pe,De){var Ne=typeof pe=="function"?pe(De):pe;return Array.isArray(Ne)?Ne.length===2?Ne:[Ne[0],Ne[1]]:[Ne]}var W=function(De){return!isNaN(parseFloat(De))&&isFinite(De)},z=!(typeof window!="undefined"&&window.document&&window.document.createElement),K=function pe(De,Ne,me,be){if(!Ne||Ne===document||Ne instanceof Document)return!1;if(Ne===De.parentNode)return!0;var Re=Math.max(Math.abs(me),Math.abs(be))===Math.abs(be),it=Math.max(Math.abs(me),Math.abs(be))===Math.abs(me),yt=Ne.scrollHeight-Ne.clientHeight,pt=Ne.scrollWidth-Ne.clientWidth,Pe=document.defaultView.getComputedStyle(Ne),Nt=Pe.overflowY==="auto"||Pe.overflowY==="scroll",ut=Pe.overflowX==="auto"||Pe.overflowX==="scroll",Ft=yt&&Nt,Ut=pt&&ut;return Re&&(!Ft||Ft&&(Ne.scrollTop>=yt&&be<0||Ne.scrollTop<=0&&be>0))||it&&(!Ut||Ut&&(Ne.scrollLeft>=pt&&me<0||Ne.scrollLeft<=0&&me>0))?pe(De,Ne.parentNode,me,be):!1};function P(pe){var De=G();return function(){var me=Object(y.a)(pe),be;if(De){var Re=Object(y.a)(this).constructor;be=Reflect.construct(me,arguments,Re)}else be=me.apply(this,arguments);return Object(v.a)(this,be)}}function G(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(pe){return!1}}var V={},q=function(pe){Object(g.a)(Ne,pe);var De=P(Ne);function Ne(me){var be;return Object(h.a)(this,Ne),be=De.call(this,me),be.domFocus=function(){be.dom&&be.dom.focus()},be.removeStartHandler=function(Re){if(Re.touches.length>1)return;be.startPos={x:Re.touches[0].clientX,y:Re.touches[0].clientY}},be.removeMoveHandler=function(Re){if(Re.changedTouches.length>1)return;var it=Re.currentTarget,yt=Re.changedTouches[0].clientX-be.startPos.x,pt=Re.changedTouches[0].clientY-be.startPos.y;(it===be.maskDom||it===be.handlerDom||it===be.contentDom&&K(it,Re.target,yt,pt))&&Re.cancelable&&Re.preventDefault()},be.transitionEnd=function(Re){var it=Re.target;J(it,B,be.transitionEnd),it.style.transition=""},be.onKeyDown=function(Re){if(Re.keyCode===O.a.ESC){var it=be.props.onClose;Re.stopPropagation(),it&&it(Re)}},be.onWrapperTransitionEnd=function(Re){var it=be.props,yt=it.open,pt=it.afterVisibleChange;Re.target===be.contentWrapper&&Re.propertyName.match(/transform$/)&&(be.dom.style.transition="",!yt&&be.getCurrentDrawerSome()&&(document.body.style.overflowX="",be.maskDom&&(be.maskDom.style.left="",be.maskDom.style.width="")),pt&&pt(!!yt))},be.openLevelTransition=function(){var Re=be.props,it=Re.open,yt=Re.width,pt=Re.height,Pe=be.getHorizontalBoolAndPlacementName(),Nt=Pe.isHorizontal,ut=Pe.placementName,Ft=be.contentDom?be.contentDom.getBoundingClientRect()[Nt?"width":"height"]:0,Ut=(Nt?yt:pt)||Ft;be.setLevelAndScrolling(it,ut,Ut)},be.setLevelTransform=function(Re,it,yt,pt){var Pe=be.props,Nt=Pe.placement,ut=Pe.levelMove,Ft=Pe.duration,Ut=Pe.ease,Wt=Pe.showMask;be.levelDom.forEach(function($t){$t.style.transition="transform ".concat(Ft," ").concat(Ut),X($t,B,be.transitionEnd);var or=Re?yt:0;if(ut){var ht=k(ut,{target:$t,open:Re});or=Re?ht[0]:ht[1]||0}var Ee=typeof or=="number"?"".concat(or,"px"):or,de=Nt==="left"||Nt==="top"?Ee:"-".concat(Ee);de=Wt&&Nt==="right"&&pt?"calc(".concat(de," + ").concat(pt,"px)"):de,$t.style.transform=or?"".concat(it,"(").concat(de,")"):""})},be.setLevelAndScrolling=function(Re,it,yt){var pt=be.props.onChange;if(!z){var Pe=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(E.a)(!0):0;be.setLevelTransform(Re,it,yt,Pe),be.toggleScrollingToDrawerAndBody(Pe)}pt&&pt(Re)},be.toggleScrollingToDrawerAndBody=function(Re){var it=be.props,yt=it.getOpenCount,pt=it.getContainer,Pe=it.showMask,Nt=it.open,ut=pt&&pt(),Ft=yt&&yt();if(ut&&ut.parentNode===document.body&&Pe){var Ut=["touchstart"],Wt=[document.body,be.maskDom,be.handlerDom,be.contentDom];Nt&&document.body.style.overflow!=="hidden"?(Re&&be.addScrollingEffect(Re),Ft===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",Wt.forEach(function($t,or){if(!$t)return;X($t,Ut[or]||"touchmove",or?be.removeMoveHandler:be.removeStartHandler,be.passive)})):be.getCurrentDrawerSome()&&(Ft||(document.body.style.overflow=""),document.body.style.touchAction="",Re&&be.remScrollingEffect(Re),Wt.forEach(function($t,or){if(!$t)return;J($t,Ut[or]||"touchmove",or?be.removeMoveHandler:be.removeStartHandler,be.passive)}))}},be.addScrollingEffect=function(Re){var it=be.props,yt=it.placement,pt=it.duration,Pe=it.ease,Nt=it.getOpenCount,ut=it.switchScrollingEffect,Ft=Nt&&Nt();Ft===1&&ut();var Ut="width ".concat(pt," ").concat(Pe),Wt="transform ".concat(pt," ").concat(Pe);be.dom.style.transition="none";switch(yt){case"right":be.dom.style.transform="translateX(-".concat(Re,"px)");break;case"top":case"bottom":be.dom.style.width="calc(100% - ".concat(Re,"px)"),be.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(be.timeout),be.timeout=setTimeout(function(){be.dom&&(be.dom.style.transition="".concat(Wt,",").concat(Ut),be.dom.style.width="",be.dom.style.transform="")})},be.remScrollingEffect=function(Re){var it=be.props,yt=it.placement,pt=it.duration,Pe=it.ease,Nt=it.getOpenCount,ut=it.switchScrollingEffect,Ft=Nt&&Nt();Ft||ut(!0),H&&(document.body.style.overflowX="hidden"),be.dom.style.transition="none";var Ut,Wt="width ".concat(pt," ").concat(Pe),$t="transform ".concat(pt," ").concat(Pe);switch(yt){case"left":{be.dom.style.width="100%",Wt="width 0s ".concat(Pe," ").concat(pt);break}case"right":{be.dom.style.transform="translateX(".concat(Re,"px)"),be.dom.style.width="100%",Wt="width 0s ".concat(Pe," ").concat(pt),be.maskDom&&(be.maskDom.style.left="-".concat(Re,"px"),be.maskDom.style.width="calc(100% + ".concat(Re,"px)"));break}case"top":case"bottom":{be.dom.style.width="calc(100% + ".concat(Re,"px)"),be.dom.style.height="100%",be.dom.style.transform="translateZ(0)",Ut="height 0s ".concat(Pe," ").concat(pt);break}default:break}clearTimeout(be.timeout),be.timeout=setTimeout(function(){be.dom&&(be.dom.style.transition="".concat($t,",").concat(Ut?"".concat(Ut,","):"").concat(Wt),be.dom.style.transform="",be.dom.style.width="",be.dom.style.height="")})},be.getCurrentDrawerSome=function(){return!Object.keys(V).some(function(Re){return V[Re]})},be.getLevelDom=function(Re){var it=Re.level,yt=Re.getContainer;if(z)return;var pt=yt&&yt(),Pe=pt?pt.parentNode:null;if(be.levelDom=[],it==="all"){var Nt=Pe?Array.prototype.slice.call(Pe.children):[];Nt.forEach(function(ut){ut.nodeName!=="SCRIPT"&&ut.nodeName!=="STYLE"&&ut.nodeName!=="LINK"&&ut!==pt&&be.levelDom.push(ut)})}else it&&M(it).forEach(function(ut){document.querySelectorAll(ut).forEach(function(Ft){be.levelDom.push(Ft)})})},be.getHorizontalBoolAndPlacementName=function(){var Re=be.props.placement,it=Re==="left"||Re==="right",yt="translate".concat(it?"X":"Y");return{isHorizontal:it,placementName:yt}},be.state={_self:Object(_.a)(be)},be}return Object(p.a)(Ne,[{key:"componentDidMount",value:function(){var be=this;if(!z){var Re=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Re=!0,null}}))}catch(Nt){}this.passive=Re?{passive:!1}:!1}var it=this.props,yt=it.open,pt=it.getContainer,Pe=pt&&pt();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),yt&&(Pe&&Pe.parentNode===document.body&&(V[this.drawerId]=yt),this.openLevelTransition(),this.forceUpdate(function(){be.domFocus()}))}},{key:"componentDidUpdate",value:function(be){var Re=this.props,it=Re.open,yt=Re.getContainer,pt=yt&&yt();it!==be.open&&(it&&this.domFocus(),pt&&pt.parentNode===document.body&&(V[this.drawerId]=!!it),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var be=this.props,Re=be.getOpenCount,it=be.open,yt=be.switchScrollingEffect,pt=typeof Re=="function"&&Re();delete V[this.drawerId],it&&(this.setLevelTransform(!1),document.body.style.touchAction=""),pt||(document.body.style.overflow="",yt(!0))}},{key:"render",value:function(){var be,Re=this,it=this.props,yt=it.className,pt=it.children,Pe=it.style,Nt=it.width,ut=it.height,Ft=it.defaultOpen,Ut=it.open,Wt=it.prefixCls,$t=it.placement,or=it.level,ht=it.levelMove,Ee=it.ease,de=it.duration,qe=it.getContainer,rt=it.handler,ve=it.onChange,bt=it.afterVisibleChange,jt=it.showMask,He=it.maskClosable,kt=it.maskStyle,Ar=it.onClose,at=it.onHandleClick,Ht=it.keyboard,Kt=it.getOpenCount,ot=it.switchScrollingEffect,et=Object(o.a)(it,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"]),Ze=this.dom?Ut:!1,Gt=C()(Wt,(be={},Object(S.a)(be,"".concat(Wt,"-").concat($t),!0),Object(S.a)(be,"".concat(Wt,"-open"),Ze),Object(S.a)(be,yt||"",!!yt),Object(S.a)(be,"no-mask",!jt),be)),yr=this.getHorizontalBoolAndPlacementName(),br=yr.placementName,Sr=$t==="left"||$t==="top"?"-100%":"100%",Tn=Ze?"":"".concat(br,"(").concat(Sr,")"),cn=rt&&r.cloneElement(rt,{onClick:function(lt){rt.props.onClick&&rt.props.onClick(),at&&at(lt)},ref:function(lt){Re.handlerDom=lt}});return r.createElement("div",Object.assign({},et,{tabIndex:-1,className:Gt,style:Pe,ref:function(lt){Re.dom=lt},onKeyDown:Ze&&Ht?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),jt&&r.createElement("div",{className:"".concat(Wt,"-mask"),onClick:He?Ar:void 0,style:kt,ref:function(lt){Re.maskDom=lt}}),r.createElement("div",{className:"".concat(Wt,"-content-wrapper"),style:{transform:Tn,msTransform:Tn,width:W(Nt)?"".concat(Nt,"px"):Nt,height:W(ut)?"".concat(ut,"px"):ut},ref:function(lt){Re.contentWrapper=lt}},r.createElement("div",{className:"".concat(Wt,"-content"),ref:function(lt){Re.contentDom=lt},onTouchStart:Ze&&jt?this.removeStartHandler:void 0,onTouchMove:Ze&&jt?this.removeMoveHandler:void 0},pt),cn))}}],[{key:"getDerivedStateFromProps",value:function(be,Re){var it=Re.prevProps,yt=Re._self,pt={prevProps:be};if(it!==void 0){var Pe=be.placement,Nt=be.level;Pe!==it.placement&&(yt.contentDom=null),Nt!==it.level&&yt.getLevelDom(be)}return pt}}]),Ne}(r.Component);q.defaultProps={switchScrollingEffect:function(){}};var re=q;function ce(pe){var De=ie();return function(){var me=Object(y.a)(pe),be;if(De){var Re=Object(y.a)(this).constructor;be=Reflect.construct(me,arguments,Re)}else be=me.apply(this,arguments);return Object(v.a)(this,be)}}function ie(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(pe){return!1}}var fe=function(pe){Object(g.a)(Ne,pe);var De=ce(Ne);function Ne(me){var be;Object(h.a)(this,Ne),be=De.call(this,me),be.onHandleClick=function(it){var yt=be.props,pt=yt.onHandleClick,Pe=yt.open;if(pt&&pt(it),typeof Pe=="undefined"){var Nt=be.state.open;be.setState({open:!Nt})}},be.onClose=function(it){var yt=be.props,pt=yt.onClose,Pe=yt.open;pt&&pt(it),typeof Pe=="undefined"&&be.setState({open:!1})};var Re=typeof me.open!="undefined"?me.open:!!me.defaultOpen;return be.state={open:Re},"onMaskClick"in me&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),be}return Object(p.a)(Ne,[{key:"render",value:function(){var be=this,Re=this.props,it=Re.defaultOpen,yt=Re.getContainer,pt=Re.wrapperClassName,Pe=Re.forceRender,Nt=Re.handler,ut=Object(o.a)(Re,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),Ft=this.state.open;if(!yt)return r.createElement("div",{className:pt,ref:function($t){be.dom=$t}},r.createElement(re,Object.assign({},ut,{open:Ft,handler:Nt,getContainer:function(){return be.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Ut=!!Nt||Pe;return r.createElement(w.a,{visible:Ft,forceRender:Ut,getContainer:yt,wrapperClassName:pt},function(Wt){var $t=Wt.visible,or=Wt.afterClose,ht=Object(o.a)(Wt,["visible","afterClose"]);return r.createElement(re,Object.assign({},ut,ht,{open:$t!==void 0?$t:Ft,afterVisibleChange:or!==void 0?or:ut.afterVisibleChange,handler:Nt,onClose:be.onClose,onHandleClick:be.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(be,Re){var it=Re.prevProps,yt={prevProps:be};return typeof it!="undefined"&&be.open!==it.open&&(yt.open=be.open),yt}}]),Ne}(r.Component);fe.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:r.createElement("div",{className:"drawer-handle"},r.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var xe=fe,Se=xe,ke=l("V/uB"),ge=l.n(ke),Be=l("BGR+"),ee=l("H84U"),ue=l("CWQg"),Ge=function(pe,De){var Ne={};for(var me in pe)Object.prototype.hasOwnProperty.call(pe,me)&&De.indexOf(me)<0&&(Ne[me]=pe[me]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,me=Object.getOwnPropertySymbols(pe);be=0&&b.each(y,function(w){r.setIconStatus(w,"normal")})}),r.setIconStatus(u,"emphasis"),c.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},p);var g;if(u==="stack"){var v=h.series&&h.series[0]&&h.series[0].stack===e;g=v?b.merge({stack:t.title.tiled},t.title):b.clone(t.title)}i.dispatchAction({type:"changeMagicType",currentType:u,newOption:h,newTitle:g,featureName:"magicType"})},x.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(c,i){i.mergeOption(c.newOption)}),f.register("magicType",m);var s=m;j.exports=s},"06Qe":function(j,R,l){var x=l("ItGF"),b="urn:schemas-microsoft-com:vml",A=typeof window=="undefined"?null:window,f=!1,t=A&&A.document;function e(a){return m(a)}var m;if(t&&!x.canvasSupported)try{!t.namespaces.zrvml&&t.namespaces.add("zrvml",b),m=function(n){return t.createElement("')}}catch(a){m=function(s){return t.createElement("<"+s+' xmlns="'+b+'" class="zrvml">')}}function d(){if(f||!t)return;f=!0;var a=t.styleSheets;a.length<31?t.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):a[0].addRule(".zrvml","behavior:url(#default#VML)")}R.doc=t,R.createNode=e,R.initVML=d},"09Wf":function(j,R,l){"use strict";l.d(R,"b",function(){return b}),l.d(R,"a",function(){return A});var x=l("CWQg"),b=Object(x.a)("success","processing","error","default","warning"),A=Object(x.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(j,R,l){var x=l("T4UG"),b=l("I3/A"),A=l("7aKB"),f=A.encodeHTML,t=l("Qxkt"),e=l("Tghj"),m=e.__DEV__,d=x.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(n,s){for(var c=n.edges||n.links,i=n.data||n.nodes,u=n.levels,r=this.levelModels={},o=0;o=0&&(r[u[o].depth]=new t(u[o],this,s));if(i&&c){var h=b(i,c,this,!0,p);return h.data}function p(g,v){g.wrapMethod("getItemModel",function(y,w){return y.customizeGetParent(function(S){var _=this.parentModel,I=_.getData().getItemLayout(w).depth,C=_.levelModels[I];return C||this.parentModel}),y}),v.wrapMethod("getItemModel",function(y,w){return y.customizeGetParent(function(S){var _=this.parentModel,I=_.getGraph().getEdgeByIndex(w),C=I.node1.getLayout().depth,E=_.levelModels[C];return E||this.parentModel}),y})}},setNodePosition:function(n,s){var c=this.option.data[n];c.localX=s[0],c.localY=s[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(n,s,c){if(c==="edge"){var i=this.getDataParams(n,c),u=i.data,r=u.source+" -- "+u.target;return i.value&&(r+=" : "+i.value),f(r)}else if(c==="node"){var o=this.getGraph().getNodeByIndex(n),h=o.getLayout().value,p=this.getDataParams(n,c).data.name;if(h)var r=p+" : "+h;return f(r)}return d.superCall(this,"formatTooltip",n,s)},optionUpdated:function(){var n=this.option;n.focusNodeAdjacency===!0&&(n.focusNodeAdjacency="allEdges")},getDataParams:function(n,s){var c=d.superCall(this,"getDataParams",n,s);if(c.value==null&&s==="node"){var i=this.getGraph().getNodeByIndex(n),u=i.getLayout().value;c.value=u}return c},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}}),a=d;j.exports=a},"0HBW":function(j,R,l){var x=l("ProS"),b=l("bYtY");l("Hxpc"),l("7uqq"),l("dmGj"),l("SehX");function A(f,t){t.update="updateView",x.registerAction(t,function(e,m){var d={};return m.eachComponent({mainType:"geo",query:e},function(a){a[f](e.name);var n=a.coordinateSystem;b.each(n.regions,function(s){d[s.name]=a.isSelected(s.name)||!1})}),{selected:d,name:e.name}})}A("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),A("select",{type:"geoSelect",event:"geoselected"}),A("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(j,R,l){var x=l("bYtY"),b=l("+TT/"),A=l("OELB"),f=l("IDmD"),t=864e5;function e(a,n,s){this._model=a}e.prototype={constructor:e,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(a){a=A.parseDate(a);var n=a.getFullYear(),s=a.getMonth()+1;s=s<10?"0"+s:s;var c=a.getDate();c=c<10?"0"+c:c;var i=a.getDay();return i=Math.abs((i+7-this.getFirstDayOfWeek())%7),{y:n,m:s,d:c,day:i,time:a.getTime(),formatedDate:n+"-"+s+"-"+c,date:a}},getNextNDay:function(a,n){return n=n||0,n===0?this.getDateInfo(a):(a=new Date(this.getDateInfo(a).time),a.setDate(a.getDate()+n),this.getDateInfo(a))},update:function(a,n){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var s=this._rangeInfo.weeks||1,c=["width","height"],i=this._model.get("cellSize").slice(),u=this._model.getBoxLayoutParams(),r=this._orient==="horizontal"?[s,7]:[7,s];x.each([0,1],function(g){p(i,g)&&(u[c[g]]=i[g]*r[g])});var o={width:n.getWidth(),height:n.getHeight()},h=this._rect=b.getLayoutRect(u,o);x.each([0,1],function(g){p(i,g)||(i[g]=h[c[g]]/r[g])});function p(g,v){return g[v]!=null&&g[v]!=="auto"}this._sw=i[0],this._sh=i[1]},dataToPoint:function(a,n){x.isArray(a)&&(a=a[0]),n==null&&(n=!0);var s=this.getDateInfo(a),c=this._rangeInfo,i=s.formatedDate;if(n&&!(s.time>=c.start.time&&s.timeu.end.time&&a.reverse(),a},_getRangeInfo:function(a){a=[this.getDateInfo(a[0]),this.getDateInfo(a[1])];var n;a[0].time>a[1].time&&(n=!0,a.reverse());var s=Math.floor(a[1].time/t)-Math.floor(a[0].time/t)+1,c=new Date(a[0].time),i=c.getDate(),u=a[1].date.getDate();c.setDate(i+s-1);var r=c.getDate();if(r!==u)for(var o=c.getTime()-a[1].time>0?1:-1;(r=c.getDate())!==u&&(c.getTime()-a[1].time)*o>0;)s-=o,c.setDate(r-o);var h=Math.floor((s+a[0].day+6)/7),p=n?-h+1:h-1;return n&&a.reverse(),{range:[a[0].formatedDate,a[1].formatedDate],start:a[0],end:a[1],allDay:s,weeks:h,nthWeek:p,fweek:a[0].day,lweek:a[1].day}},_getDateByWeeksAndDay:function(a,n,s){var c=this._getRangeInfo(s);if(a>c.weeks||a===0&&nc.lweek)return!1;var i=(a-1)*7-c.fweek+n,u=new Date(c.start.time);return u.setDate(c.start.d+i),this.getDateInfo(u)}},e.dimensions=e.prototype.dimensions,e.getDimensionsInfo=e.prototype.getDimensionsInfo,e.create=function(a,n){var s=[];return a.eachComponent("calendar",function(c){var i=new e(c,a,n);s.push(i),c.coordinateSystem=i}),a.eachSeries(function(c){c.get("coordinateSystem")==="calendar"&&(c.coordinateSystem=s[c.get("calendarIndex")||0])}),s};function m(a,n,s,c){var i=s.calendarModel,u=s.seriesModel,r=i?i.coordinateSystem:u?u.coordinateSystem:null;return r===this?r[a](c):null}f.register("calendar",e);var d=e;j.exports=d},"0JQy":function(j,R){var l="\\ud800-\\udfff",x="\\u0300-\\u036f",b="\\ufe20-\\ufe2f",A="\\u20d0-\\u20ff",f=x+b+A,t="\\ufe0e\\ufe0f",e="["+l+"]",m="["+f+"]",d="\\ud83c[\\udffb-\\udfff]",a="(?:"+m+"|"+d+")",n="[^"+l+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",i="\\u200d",u=a+"?",r="["+t+"]?",o="(?:"+i+"(?:"+[n,s,c].join("|")+")"+r+u+")*",h=r+u+o,p="(?:"+[n+m+"?",m,s,c,e].join("|")+")",g=RegExp(d+"(?="+d+")|"+p+h,"g");function v(y){return y.match(g)||[]}j.exports=v},"0NbB":function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="CaretDownOutlined";var m=R.a=b.forwardRef(e)},"0V0F":function(j,R,l){var x=l("bYtY"),b=x.createHashMap,A=x.each;function f(e){var m=b();e.eachSeries(function(d){var a=d.get("stack");if(a){var n=m.get(a)||m.set(a,[]),s=d.getData(),c={stackResultDimension:s.getCalculationInfo("stackResultDimension"),stackedOverDimension:s.getCalculationInfo("stackedOverDimension"),stackedDimension:s.getCalculationInfo("stackedDimension"),stackedByDimension:s.getCalculationInfo("stackedByDimension"),isStackedByIndex:s.getCalculationInfo("isStackedByIndex"),data:s,seriesModel:d};if(!c.stackedDimension||!(c.isStackedByIndex||c.stackedByDimension))return;n.length&&s.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(c)}}),m.each(t)}function t(e){A(e,function(m,d){var a=[],n=[NaN,NaN],s=[m.stackResultDimension,m.stackedOverDimension],c=m.data,i=m.isStackedByIndex,u=c.map(s,function(r,o,h){var p=c.get(m.stackedDimension,h);if(isNaN(p))return n;var g,v;i?v=c.getRawIndex(h):g=c.get(m.stackedByDimension,h);for(var y=NaN,w=d-1;w>=0;w--){var S=e[w];if(i||(v=S.data.rawIndexOf(S.stackedByDimension,g)),v>=0){var _=S.data.getByRawIndex(S.stackResultDimension,v);if(p>=0&&_>0||p<=0&&_<0){p+=_,y=_;break}}}return a[0]=p,a[1]=y,a});c.hostModel.setData(u),m.data=u})}j.exports=f},"0XgM":function(j,R,l){},"0fbx":function(j,R,l){},"0o9m":function(j,R,l){var x=l("ProS");l("hNWo"),l("RlCK"),l("XpcN");var b=l("kDyi"),A=l("bLfw");x.registerProcessor(x.PRIORITY.PROCESSOR.SERIES_FILTER,b),A.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(j,R,l){var x=l("ProS");x.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),x.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(j,R){var l=arguments[3],x=arguments[4],b=arguments[5],A=JSON.stringify;j.exports=function(f,t){for(var e,m=Object.keys(b),d=0,a=m.length;d=0;w--){var S;if(v[w]!==g&&!v[w].ignore&&(S=i(v[w],h,p))&&(!y.topTarget&&(y.topTarget=v[w]),S!==m)){y.target=v[w];break}}return y},processGesture:function(h,p){this._gestureMgr||(this._gestureMgr=new e);var g=this._gestureMgr;p==="start"&&g.clear();var v=g.recognize(h,this.findHover(h.zrX,h.zrY,null).target,this.proxy.dom);if(p==="end"&&g.clear(),v){var y=v.type;h.gestureEvent=y,this.dispatchToElement({target:v.target},y,v.event)}}},x.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(o){c.prototype[o]=function(h){var p=h.zrX,g=h.zrY,v=u(this,p,g),y,w;if((o!=="mouseup"||!v)&&(y=this.findHover(p,g),w=y.target),o==="mousedown")this._downEl=w,this._downPoint=[h.zrX,h.zrY],this._upEl=w;else if(o==="mouseup")this._upEl=w;else if(o==="click"){if(this._downEl!==this._upEl||!this._downPoint||b.dist(this._downPoint,[h.zrX,h.zrY])>4)return;this._downPoint=null}this.dispatchToElement(y,o,h)}});function i(o,h,p){if(o[o.rectHover?"rectContain":"contain"](h,p)){for(var g=o,v;g;){if(g.clipPath&&!g.clipPath.contain(h,p))return!1;g.silent&&(v=!0),g=g.parent}return v?m:!0}return!1}function u(o,h,p){var g=o.painter;return h<0||h>g.getWidth()||p<0||p>g.getHeight()}x.mixin(c,f),x.mixin(c,A);var r=c;j.exports=r},"10cm":function(j,R,l){var x=l("ProS"),b=l("2B6p"),A=b.updateCenterAndZoom;l("0qV/");var f={type:"graphRoam",event:"graphRoam",update:"none"};x.registerAction(f,function(t,e){e.eachComponent({mainType:"series",query:t},function(m){var d=m.coordinateSystem,a=A(d,t);m.setCenter&&m.setCenter(a.center),m.setZoom&&m.setZoom(a.zoom)})})},"15/o":function(j,R,l){},"19Vz":function(j,R,l){(function(x){x(l("VrN/"))})(function(x){x.defineOption("placeholder","",function(d,a,n){var s=n&&n!=x.Init;if(a&&!s)d.on("blur",t),d.on("change",e),d.on("swapDoc",e),x.on(d.getInputField(),"compositionupdate",d.state.placeholderCompose=function(){f(d)}),e(d);else if(!a&&s){d.off("blur",t),d.off("change",e),d.off("swapDoc",e),x.off(d.getInputField(),"compositionupdate",d.state.placeholderCompose),b(d);var c=d.getWrapperElement();c.className=c.className.replace(" CodeMirror-empty","")}a&&!d.hasFocus()&&t(d)});function b(d){d.state.placeholder&&(d.state.placeholder.parentNode.removeChild(d.state.placeholder),d.state.placeholder=null)}function A(d){b(d);var a=d.state.placeholder=document.createElement("pre");a.style.cssText="height: 0; overflow: visible",a.style.direction=d.getOption("direction"),a.className="CodeMirror-placeholder CodeMirror-line-like";var n=d.getOption("placeholder");typeof n=="string"&&(n=document.createTextNode(n)),a.appendChild(n),d.display.lineSpace.insertBefore(a,d.display.lineSpace.firstChild)}function f(d){setTimeout(function(){var a=!1,n=d.getInputField();n.nodeName=="TEXTAREA"?a=!n.value:d.lineCount()==1&&(a=!/[^\u200b]/.test(n.querySelector(".CodeMirror-line").textContent)),a?A(d):b(d)},20)}function t(d){m(d)&&A(d)}function e(d){var a=d.getWrapperElement(),n=m(d);a.className=a.className.replace(" CodeMirror-empty","")+(n?" CodeMirror-empty":""),n?A(d):b(d)}function m(d){return d.lineCount()===1&&d.getLine(0)===""}})},"1Jh7":function(j,R,l){var x=l("y+Vt"),b=l("T6xi"),A=x.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){b.buildPath(t,e,!1)}});j.exports=A},"1LEl":function(j,R,l){var x=l("ProS"),b=l("F9bG"),A=x.extendComponentView({type:"axisPointer",render:function(t,e,m){var d=e.getComponent("tooltip"),a=t.get("triggerOn")||d&&d.get("triggerOn")||"mousemove|click";b.register("axisPointer",m,function(n,s,c){a!=="none"&&(n==="leave"||a.indexOf(n)>=0)&&c({type:"updateAxisPointer",currTrigger:n,x:s&&s.offsetX,y:s&&s.offsetY})})},remove:function(t,e){b.unregister(e.getZr(),"axisPointer"),A.superApply(this._model,"remove",arguments)},dispose:function(t,e){b.unregister("axisPointer",e),A.superApply(this._model,"dispose",arguments)}}),f=A;j.exports=f},"1MYJ":function(j,R,l){var x=l("y+Vt"),b=x.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var f=this.__dirtyPath,t=this.shape.paths,e=0;e=w||F<0)break;if(s(B)){if(O){F+=S;continue}break}if(F===v)p[S>0?"moveTo":"lineTo"](B[0],B[1]);else if(C>0){var X=g[M],J=E==="y"?1:0,k=(B[J]-X[J])*C;m(a,X),a[J]=X[J]+k,m(n,B),n[J]=B[J]-k,p.bezierCurveTo(a[0],a[1],n[0],n[1],B[0],B[1])}else p.lineTo(B[0],B[1]);M=F,F+=S}return H}function u(p,g,v,y,w,S,_,I,C,E,O){for(var M=0,F=v,H=0;H=w||F<0)break;if(s(B)){if(O){F+=S;continue}break}if(F===v)p[S>0?"moveTo":"lineTo"](B[0],B[1]),m(a,B);else if(C>0){var X=F+S,J=g[X];if(O)for(;J&&s(g[X]);)X+=S,J=g[X];var k=.5,W=g[M],J=g[X];if(!J||s(J))m(n,B);else{s(J)&&!O&&(J=B),b.sub(d,J,W);var z,K;if(E==="x"||E==="y"){var P=E==="x"?0:1;z=Math.abs(B[P]-W[P]),K=Math.abs(B[P]-J[P])}else z=b.dist(B,W),K=b.dist(B,J);k=K/(K+z),e(n,B,d,-C*(1-k))}f(a,a,I),t(a,a,_),f(n,n,I),t(n,n,_),p.bezierCurveTo(a[0],a[1],n[0],n[1],B[0],B[1]),e(a,B,d,C*k)}else p.lineTo(B[0],B[1]);M=F,F+=S}return H}function r(p,g){var v=[Infinity,Infinity],y=[-Infinity,-Infinity];if(g)for(var w=0;wy[0]&&(y[0]=S[0]),S[1]>y[1]&&(y[1]=S[1])}return{min:g?v:y,max:g?y:v}}var o=x.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:A(x.prototype.brush),buildPath:function(p,g){var v=g.points,y=0,w=v.length,S=r(v,g.smoothConstraint);if(g.connectNulls){for(;w>0&&s(v[w-1]);w--);for(;y0&&s(v[S-1]);S--);for(;w=this._maxSize&&s>0){var i=d.head;d.remove(i),delete a[i.key],n=i.value,this._lastRemovedEntry=i}c?c.value=m:c=new b(m),c.key=e,d.insertEntry(c),a[e]=c}return n},f.get=function(e){var m=this._map[e],d=this._list;if(m!=null)return m!==d.tail&&(d.remove(m),d.insertEntry(m)),m.value},f.clear=function(){this._list.clear(),this._map={}};var t=A;j.exports=t},"1bdT":function(j,R,l){var x=l("3gBT"),b=l("H6uX"),A=l("DN4a"),f=l("vWvF"),t=l("bYtY"),e=function(a){A.call(this,a),b.call(this,a),f.call(this,a),this.id=a.id||x()};e.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(a,n){switch(this.draggable){case"horizontal":n=0;break;case"vertical":a=0;break}var s=this.transform;s||(s=this.transform=[1,0,0,1,0,0]),s[4]+=a,s[5]+=n,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(a,n){},attrKV:function(a,n){if(a==="position"||a==="scale"||a==="origin"){if(n){var s=this[a];s||(s=this[a]=[]),s[0]=n[0],s[1]=n[1]}}else this[a]=n},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(a,n){if(typeof a=="string")this.attrKV(a,n);else if(t.isObject(a))for(var s in a)a.hasOwnProperty(s)&&this.attrKV(s,a[s]);return this.dirty(!1),this},setClipPath:function(a){var n=this.__zr;n&&a.addSelfToZr(n),this.clipPath&&this.clipPath!==a&&this.removeClipPath(),this.clipPath=a,a.__zr=n,a.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var a=this.clipPath;a&&(a.__zr&&a.removeSelfFromZr(a.__zr),a.__zr=null,a.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(a){this.__zr=a;var n=this.animators;if(n)for(var s=0;s> RFB.constructor"),Re._screen=document.createElement("div"),Re._screen.style.display="flex",Re._screen.style.width="100%",Re._screen.style.height="100%",Re._screen.style.overflow="auto",Re._screen.style.background=G,Re._canvas=document.createElement("canvas"),Re._canvas.style.margin="auto",Re._canvas.style.outline="none",Re._canvas.style.flexShrink="0",Re._canvas.width=0,Re._canvas.height=0,Re._canvas.tabIndex=-1,Re._screen.appendChild(Re._canvas),Re._cursor=new i.default,Re._cursorImage=De.cursors.none,Re._decoders[p.encodings.encodingRaw]=new g.default,Re._decoders[p.encodings.encodingCopyRect]=new v.default,Re._decoders[p.encodings.encodingRRE]=new y.default,Re._decoders[p.encodings.encodingHextile]=new w.default,Re._decoders[p.encodings.encodingTight]=new S.default,Re._decoders[p.encodings.encodingTightPNG]=new _.default;try{Re._display=new d.default(Re._canvas)}catch(it){throw b.Error("Display exception: "+it),it}return Re._display.onflush=Re._onFlush.bind(W(Re)),Re._keyboard=new s.default(Re._canvas),Re._keyboard.onkeyevent=Re._handleKeyEvent.bind(W(Re)),Re._gestures=new c.default,Re._sock=new u.default,Re._sock.on("message",function(){Re._handleMessage()}),Re._sock.on("open",function(){Re._rfbConnectionState==="connecting"&&Re._rfbInitState===""?(Re._rfbInitState="ProtocolVersion",b.Debug("Starting VNC handshake")):Re._fail("Unexpected server connection while "+Re._rfbConnectionState)}),Re._sock.on("close",function(it){b.Debug("WebSocket on-close event");var yt="";it.code&&(yt="(code: "+it.code,it.reason&&(yt+=", reason: "+it.reason),yt+=")");switch(Re._rfbConnectionState){case"connecting":Re._fail("Connection closed "+yt);break;case"connected":Re._updateConnectionState("disconnecting"),Re._updateConnectionState("disconnected");break;case"disconnecting":Re._updateConnectionState("disconnected");break;case"disconnected":Re._fail("Unexpected server disconnect when already disconnected "+yt);break;default:Re._fail("Unexpected server disconnect before connecting "+yt);break}Re._sock.off("close")}),Re._sock.on("error",function(it){return b.Warn("WebSocket on-error event")}),setTimeout(Re._updateConnectionState.bind(W(Re),"connecting")),b.Debug("<< RFB.constructor"),Re.dragViewport=!1,Re.focusOnClick=!0,Re._viewOnly=!1,Re._clipViewport=!1,Re._scaleViewport=!1,Re._resizeSession=!1,Re._showDotCursor=!1,be.showDotCursor!==void 0&&(b.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),Re._showDotCursor=be.showDotCursor),Re._qualityLevel=6,Re._compressionLevel=2,Re}return H(De,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(me){this._rfbCredentials=me,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;b.Info("Sending Ctrl-Alt-Del"),this.sendKey(o.default.XK_Control_L,"ControlLeft",!0),this.sendKey(o.default.XK_Alt_L,"AltLeft",!0),this.sendKey(o.default.XK_Delete,"Delete",!0),this.sendKey(o.default.XK_Delete,"Delete",!1),this.sendKey(o.default.XK_Alt_L,"AltLeft",!1),this.sendKey(o.default.XK_Control_L,"ControlLeft",!1)}},{key:"machineShutdown",value:function(){this._xvpOp(1,2)}},{key:"machineReboot",value:function(){this._xvpOp(1,3)}},{key:"machineReset",value:function(){this._xvpOp(1,4)}},{key:"sendKey",value:function(me,be,Re){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(Re===void 0){this.sendKey(me,be,!0),this.sendKey(me,be,!1);return}var it=h.default[be];if(this._qemuExtKeyEventSupported&&it)me=me||0,b.Info("Sending key ("+(Re?"down":"up")+"): keysym "+me+", scancode "+it),De.messages.QEMUExtendedKeyEvent(this._sock,me,Re,it);else{if(!me)return;b.Info("Sending keysym ("+(Re?"down":"up")+"): "+me),De.messages.keyEvent(this._sock,me,Re?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(me){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[Se]&&this._clipboardServerCapabilitiesActions[Z])this._clipboardText=me,De.messages.extendedClipboardNotify(this._sock,[Se]);else{for(var be=new Uint8Array(me.length),Re=0;Re> RFB.connect"),b.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(me){me.name==="SyntaxError"?this._fail("Invalid host or port ("+me+")"):this._fail("Error when opening socket ("+me+")")}this._target.appendChild(this._screen),this._gestures.attach(this._canvas),this._cursor.attach(this._canvas),this._refreshCursor(),window.addEventListener("resize",this._eventHandlers.windowResize),this._canvas.addEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.addEventListener("touchstart",this._eventHandlers.focusCanvas),this._canvas.addEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.addEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.addEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.addEventListener("click",this._eventHandlers.handleMouse),this._canvas.addEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.addEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.addEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.addEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.addEventListener("gestureend",this._eventHandlers.handleGesture),b.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){b.Debug(">> RFB.disconnect"),this._cursor.detach(),this._canvas.removeEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gestureend",this._eventHandlers.handleGesture),this._canvas.removeEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.removeEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.removeEventListener("click",this._eventHandlers.handleMouse),this._canvas.removeEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.removeEventListener("touchstart",this._eventHandlers.focusCanvas),window.removeEventListener("resize",this._eventHandlers.windowResize),this._keyboard.ungrab(),this._gestures.detach(),this._sock.close();try{this._target.removeChild(this._screen)}catch(me){if(!(me.name==="NotFoundError"))throw me}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),b.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(me){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(me){this._fbName=me,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(me){var be=this;window.requestAnimationFrame(function(){be._updateClip(),be._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var me=this._display.clipViewport,be=this._clipViewport;if(this._scaleViewport&&(be=!1),me!==be&&(this._display.clipViewport=be),be){var Re=this._screenSize();this._display.viewportChangeSize(Re.w,Re.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var me=this._screenSize();this._display.autoscale(me.w,me.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var me=this._screenSize();De.messages.setDesktopSize(this._sock,Math.floor(me.w),Math.floor(me.h),this._screenID,this._screenFlags),b.Debug("Requested new desktop size: "+me.w+"x"+me.h)}},{key:"_screenSize",value:function(){var me=this._screen.getBoundingClientRect();return{w:me.width,h:me.height}}},{key:"_fixScrollbars",value:function(){var me=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=me}},{key:"_updateConnectionState",value:function(me){var be=this,Re=this._rfbConnectionState;if(me===Re){b.Debug("Already in state '"+me+"', ignoring");return}if(Re==="disconnected"){b.Error("Tried changing state of a disconnected RFB object");return}switch(me){case"connected":if(Re!=="connecting"){b.Error("Bad transition to connected state, previous connection state: "+Re);return}break;case"disconnected":if(Re!=="disconnecting"){b.Error("Bad transition to disconnected state, previous connection state: "+Re);return}break;case"connecting":if(Re!==""){b.Error("Bad transition to connecting state, previous connection state: "+Re);return}break;case"disconnecting":if(Re!=="connected"&&Re!=="connecting"){b.Error("Bad transition to disconnecting state, previous connection state: "+Re);return}break;default:b.Error("Unknown connection state: "+me);return}this._rfbConnectionState=me,b.Debug("New state '"+me+"', was '"+Re+"'."),this._disconnTimer&&me!=="disconnecting"&&(b.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(me){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){b.Error("Disconnection timed out."),be._updateConnectionState("disconnected")},P*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(me){switch(this._rfbConnectionState){case"disconnecting":b.Error("Failed when disconnecting: "+me);break;case"connected":b.Error("Failed while connected: "+me);break;case"connecting":b.Error("Failed when connecting: "+me);break;default:b.Error("RFB failure: "+me);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(me,be){this._capabilities[me]=be,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){b.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":b.Error("Got data while disconnected");break;case"connected":for(;!this._flushing;){if(!this._normalMsg())break;if(this._sock.rQlen===0)break}break;default:this._initMsg();break}}},{key:"_handleKeyEvent",value:function(me,be,Re){this.sendKey(me,be,Re)}},{key:"_handleMouse",value:function(me){if(me.type==="click"&&me.target!==this._canvas)return;if(me.stopPropagation(),me.preventDefault(),me.type==="click"||me.type==="contextmenu")return;var be=(0,t.clientToElement)(me.clientX,me.clientY,this._canvas);switch(me.type){case"mousedown":(0,e.setCapture)(this._canvas),this._handleMouseButton(be.x,be.y,!0,1<f.dragThreshold||Math.abs(yt)>f.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:me,y:be},this._display.viewportChangePos(it,yt));return}if(this._mousePos={x:me,y:be},this._mouseMoveTimer==null){var pt=Date.now()-this._mouseLastMoveTime;pt>V?(this._sendMouse(me,be,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){Re._handleDelayedMouseMove()},V-pt)}}},{key:"_handleDelayedMouseMove",value:function(){this._mouseMoveTimer=null,this._sendMouse(this._mousePos.x,this._mousePos.y,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()}},{key:"_sendMouse",value:function(me,be,Re){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;De.messages.pointerEvent(this._sock,this._display.absX(me),this._display.absY(be),Re)}},{key:"_handleWheel",value:function(me){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;me.stopPropagation(),me.preventDefault();var be=(0,t.clientToElement)(me.clientX,me.clientY,this._canvas),Re=me.deltaX,it=me.deltaY;me.deltaMode!==0&&(Re*=re,it*=re),this._accumulatedWheelDeltaX+=Re,this._accumulatedWheelDeltaY+=it,Math.abs(this._accumulatedWheelDeltaX)>=q&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(be.x,be.y,!0,1<<5),this._handleMouseButton(be.x,be.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(be.x,be.y,!0,1<<6),this._handleMouseButton(be.x,be.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=q&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(be.x,be.y,!0,1<<3),this._handleMouseButton(be.x,be.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(be.x,be.y,!0,1<<4),this._handleMouseButton(be.x,be.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(me,be,Re){this._handleMouseMove(be,Re),this._cursor.move(me.detail.clientX,me.detail.clientY)}},{key:"_handleTapEvent",value:function(me,be){var Re=(0,t.clientToElement)(me.detail.clientX,me.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTimeie;)this._handleMouseButton(Re.x,Re.y,!0,8),this._handleMouseButton(Re.x,Re.y,!1,8),this._gestureLastMagnitudeY+=ie;for(;me.detail.magnitudeY-this._gestureLastMagnitudeY<-ie;)this._handleMouseButton(Re.x,Re.y,!0,16),this._handleMouseButton(Re.x,Re.y,!1,16),this._gestureLastMagnitudeY-=ie;for(;me.detail.magnitudeX-this._gestureLastMagnitudeX>ie;)this._handleMouseButton(Re.x,Re.y,!0,32),this._handleMouseButton(Re.x,Re.y,!1,32),this._gestureLastMagnitudeX+=ie;for(;me.detail.magnitudeX-this._gestureLastMagnitudeX<-ie;)this._handleMouseButton(Re.x,Re.y,!0,64),this._handleMouseButton(Re.x,Re.y,!1,64),this._gestureLastMagnitudeX-=ie;break;case"pinch":if(this._fakeMouseMove(me,Re.x,Re.y),be=Math.hypot(me.detail.magnitudeX,me.detail.magnitudeY),Math.abs(be-this._gestureLastMagnitudeX)>ce){for(this._handleKeyEvent(o.default.XK_Control_L,"ControlLeft",!0);be-this._gestureLastMagnitudeX>ce;)this._handleMouseButton(Re.x,Re.y,!0,8),this._handleMouseButton(Re.x,Re.y,!1,8),this._gestureLastMagnitudeX+=ce;for(;be-this._gestureLastMagnitudeX<-ce;)this._handleMouseButton(Re.x,Re.y,!0,16),this._handleMouseButton(Re.x,Re.y,!1,16),this._gestureLastMagnitudeX-=ce}this._handleKeyEvent(o.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(me.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(me,Re.x,Re.y),this._handleMouseButton(Re.x,Re.y,!1,1);break;case"longpress":this._fakeMouseMove(me,Re.x,Re.y),this._handleMouseButton(Re.x,Re.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var me=this._sock.rQshiftStr(12).substr(4,7);b.Info("Server ProtocolVersion: "+me);var be=0;switch(me){case"000.000":be=1;break;case"003.003":case"003.006":case"003.889":this._rfbVersion=3.3;break;case"003.007":this._rfbVersion=3.7;break;case"003.008":case"004.000":case"004.001":case"005.000":this._rfbVersion=3.8;break;default:return this._fail("Invalid server version "+me)}if(be){for(var Re="ID:"+this._repeaterID;Re.length<250;)Re+="\0";return this._sock.sendString(Re),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var it="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+it+` -`),b.Debug("Sent ProtocolVersion: "+it),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function me(it,yt){for(var pt=0;pt=3.7){var be=this._sock.rQshift8();if(this._sock.rQwait("security type",be,1))return!1;if(be===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var Re=this._sock.rQshiftBytes(be);if(b.Debug("Server security types: "+Re),me(1,Re))this._rfbAuthScheme=1;else if(me(22,Re))this._rfbAuthScheme=22;else if(me(16,Re))this._rfbAuthScheme=16;else if(me(2,Re))this._rfbAuthScheme=2;else if(me(19,Re))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+Re+")");this._sock.send([this._rfbAuthScheme])}else{if(this._sock.rQwait("security scheme",4))return!1;if(this._rfbAuthScheme=this._sock.rQshift32(),this._rfbAuthScheme==0)return this._rfbInitState="SecurityReason",this._securityContext="authentication scheme",this._securityStatus=1,this._initMsg()}return this._rfbInitState="Authentication",b.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var me=this._sock.rQshift32(),be="";if(me>0){if(this._sock.rQwait("reason",me,4))return!1;be=this._sock.rQshiftStr(me)}return be!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:be}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+be+")")):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus}})),this._fail("Security negotiation failed on "+this._securityContext))}},{key:"_negotiateXvpAuth",value:function(){if(this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0||this._rfbCredentials.target===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password","target"]}})),!1;var me=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(me),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var me=this._sock.rQshift8(),be=this._sock.rQshift8();if(!(me==0&&be==2))return this._fail("Unsupported VeNCrypt version "+me+"."+be);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var Re=this._sock.rQshift8();if(Re!=0)return this._fail("VeNCrypt failure "+Re);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var it=this._sock.rQshift8();if(it<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=it,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var yt=[],pt=0;pt0&&this._sock.rQwait("tunnel capabilities",16*me,4))return!1;if(this._rfbTightVNC=!0,me>0)return this._negotiateTightTunnels(me),!1}if(this._sock.rQwait("sub auth count",4))return!1;var be=this._sock.rQshift32();if(be===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*be,4))return!1;for(var Re={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},it=[],yt=0;yt=3.8?(this._rfbInitState="SecurityResult",!0):(this._rfbInitState="ClientInitialisation",this._initMsg());case 22:return this._negotiateXvpAuth();case 2:return this._negotiateStdVNCAuth();case 16:return this._negotiateTightAuth();case 19:return this._negotiateVeNCryptAuth();case 129:return this._negotiateTightUnixAuth();default:return this._fail("Unsupported auth scheme (scheme: "+this._rfbAuthScheme+")")}}},{key:"_handleSecurityResult",value:function(){if(this._sock.rQwait("VNC auth response ",4))return!1;var me=this._sock.rQshift32();return me===0?(this._rfbInitState="ClientInitialisation",b.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=me,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:me}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var me=this._sock.rQshift16(),be=this._sock.rQshift16(),Re=this._sock.rQshift8(),it=this._sock.rQshift8(),yt=this._sock.rQshift8(),pt=this._sock.rQshift8(),Pe=this._sock.rQshift16(),Nt=this._sock.rQshift16(),ut=this._sock.rQshift16(),Ft=this._sock.rQshift8(),Ut=this._sock.rQshift8(),Wt=this._sock.rQshift8();this._sock.rQskipBytes(3);var $t=this._sock.rQshift32();if(this._sock.rQwait("server init name",$t,24))return!1;var or=this._sock.rQshiftStr($t);if(or=(0,A.decodeUTF8)(or,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+$t))return!1;var ht=this._sock.rQshift16(),Ee=this._sock.rQshift16(),de=this._sock.rQshift16();this._sock.rQskipBytes(2);var qe=(ht+Ee+de)*16;if(this._sock.rQwait("TightVNC extended server init header",qe,32+$t))return!1;this._sock.rQskipBytes(16*ht),this._sock.rQskipBytes(16*Ee),this._sock.rQskipBytes(16*de)}return b.Info("Screen: "+me+"x"+be+", bpp: "+Re+", depth: "+it+", bigEndian: "+yt+", trueColor: "+pt+", redMax: "+Pe+", greenMax: "+Nt+", blueMax: "+ut+", redShift: "+Ft+", greenShift: "+Ut+", blueShift: "+Wt),this._setDesktopName(or),this._resize(me,be),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(b.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),De.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),De.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var me=[];me.push(p.encodings.encodingCopyRect),this._fbDepth==24&&(me.push(p.encodings.encodingTight),me.push(p.encodings.encodingTightPNG),me.push(p.encodings.encodingHextile),me.push(p.encodings.encodingRRE)),me.push(p.encodings.encodingRaw),me.push(p.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),me.push(p.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),me.push(p.encodings.pseudoEncodingDesktopSize),me.push(p.encodings.pseudoEncodingLastRect),me.push(p.encodings.pseudoEncodingQEMUExtendedKeyEvent),me.push(p.encodings.pseudoEncodingExtendedDesktopSize),me.push(p.encodings.pseudoEncodingXvp),me.push(p.encodings.pseudoEncodingFence),me.push(p.encodings.pseudoEncodingContinuousUpdates),me.push(p.encodings.pseudoEncodingDesktopName),me.push(p.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(me.push(p.encodings.pseudoEncodingVMwareCursor),me.push(p.encodings.pseudoEncodingCursor)),De.messages.clientEncodings(this._sock,me)}},{key:"_initMsg",value:function(){switch(this._rfbInitState){case"ProtocolVersion":return this._negotiateProtocolVersion();case"Security":return this._negotiateSecurity();case"Authentication":return this._negotiateAuthentication();case"SecurityResult":return this._handleSecurityResult();case"SecurityReason":return this._handleSecurityReason();case"ClientInitialisation":return this._sock.send([this._shared?1:0]),this._rfbInitState="ServerInitialisation",!0;case"ServerInitialisation":return this._negotiateServerInit();default:return this._fail("Unknown init state (state: "+this._rfbInitState+")")}}},{key:"_handleSetColourMapMsg",value:function(){return b.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(b.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var me=this._sock.rQshift32();if(me=(0,x.toSigned32bit)(me),this._sock.rQwait("ServerCutText content",Math.abs(me),8))return!1;if(me>=0){var be=this._sock.rQshiftStr(me);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:be}}))}else{me=Math.abs(me);var Re=this._sock.rQshift32(),it=Re&65535,yt=Re&4278190080,pt=!!(yt&ue);if(pt){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Pe=0;Pe<=15;Pe++){var Nt=1<0&&or.charAt(or.length-1)==="\0"&&(or=or.slice(0,-1)),or=or.replace(`\r +`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=e.tooMuchOutput)),m.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){h._accessibilityTreeRoot.appendChild(h._liveRegion)},0))},r.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,m.isMac&&c.removeElementFromParent(this._liveRegion)},r.prototype._onKey=function(o){this._clearLiveRegion(),this._charsToConsume.push(o)},r.prototype._refreshRows=function(o,h){this._renderRowsDebouncer.refresh(o,h,this._terminal.rows)},r.prototype._renderRows=function(o,h){for(var p=this._terminal.buffer,g=p.lines.length.toString(),v=o;v<=h;v++){var y=p.translateBufferLineToString(p.ydisp+v,!0),w=(p.ydisp+v+1).toString(),S=this._rowElements[v];S&&(y.length===0?S.innerHTML=" ":S.textContent=y,S.setAttribute("aria-posinset",w),S.setAttribute("aria-setsize",g))}this._announceCharacters()},r.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var o=0;o=0;I--)(w=p[I])&&(_=(S<3?w(_):S>3?w(g,v,_):w(g,v))||_);return S>3&&_&&Object.defineProperty(g,v,_),_},m=this&&this.__param||function(p,g){return function(v,y){g(v,y,p)}};Object.defineProperty(b,"__esModule",{value:!0}),b.DomRenderer=void 0;var d=A(58),a=A(9),n=A(2),s=A(5),c=A(1),i=A(0),u=A(10),r=A(17),o=1,h=function(p){function g(v,y,w,S,_,I,C,E,O){var M=p.call(this)||this;return M._colors=v,M._element=y,M._screenElement=w,M._viewportElement=S,M._linkifier=_,M._linkifier2=I,M._charSizeService=C,M._optionsService=E,M._bufferService=O,M._terminalClass=o++,M._rowElements=[],M._rowContainer=document.createElement("div"),M._rowContainer.classList.add("xterm-rows"),M._rowContainer.style.lineHeight="normal",M._rowContainer.setAttribute("aria-hidden","true"),M._refreshRowElements(M._bufferService.cols,M._bufferService.rows),M._selectionContainer=document.createElement("div"),M._selectionContainer.classList.add("xterm-selection"),M._selectionContainer.setAttribute("aria-hidden","true"),M.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},M._updateDimensions(),M._injectCss(),M._rowFactory=new d.DomRendererRowFactory(document,M._optionsService,M._colors),M._element.classList.add("xterm-dom-renderer-owner-"+M._terminalClass),M._screenElement.appendChild(M._rowContainer),M._screenElement.appendChild(M._selectionContainer),M._linkifier.onShowLinkUnderline(function(F){return M._onLinkHover(F)}),M._linkifier.onHideLinkUnderline(function(F){return M._onLinkLeave(F)}),M._linkifier2.onShowLinkUnderline(function(F){return M._onLinkHover(F)}),M._linkifier2.onHideLinkUnderline(function(F){return M._onLinkLeave(F)}),M}return t(g,p),Object.defineProperty(g.prototype,"onRequestRedraw",{get:function(){return new i.EventEmitter().event},enumerable:!1,configurable:!0}),g.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),r.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),p.prototype.dispose.call(this)},g.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var v=0,y=this._rowElements;vy;)this._rowContainer.removeChild(this._rowElements.pop())},g.prototype.onResize=function(v,y){this._refreshRowElements(v,y),this._updateDimensions()},g.prototype.onCharSizeChanged=function(){this._updateDimensions()},g.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},g.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},g.prototype.onSelectionChanged=function(v,y,w){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(v&&y){var S=v[1]-this._bufferService.buffer.ydisp,_=y[1]-this._bufferService.buffer.ydisp,I=Math.max(S,0),C=Math.min(_,this._bufferService.rows-1);if(!(I>=this._bufferService.rows||C<0)){var E=document.createDocumentFragment();if(w)E.appendChild(this._createSelectionElement(I,v[0],y[0],C-I+1));else{var O=S===I?v[0]:0,M=I===C?y[0]:this._bufferService.cols;E.appendChild(this._createSelectionElement(I,O,M));var F=C-I-1;if(E.appendChild(this._createSelectionElement(I+1,0,this._bufferService.cols,F)),I!==C){var H=_===C?y[0]:this._bufferService.cols;E.appendChild(this._createSelectionElement(C,0,H))}}this._selectionContainer.appendChild(E)}}},g.prototype._createSelectionElement=function(v,y,w,S){S===void 0&&(S=1);var _=document.createElement("div");return _.style.height=S*this.dimensions.actualCellHeight+"px",_.style.top=v*this.dimensions.actualCellHeight+"px",_.style.left=y*this.dimensions.actualCellWidth+"px",_.style.width=this.dimensions.actualCellWidth*(w-y)+"px",_},g.prototype.onCursorMove=function(){},g.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},g.prototype.clear=function(){for(var v=0,y=this._rowElements;v=_&&(v=0,w++)}},g=e([m(6,s.ICharSizeService),m(7,c.IOptionsService),m(8,c.IBufferService)],g)}(n.Disposable);b.DomRenderer=h},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.DomRendererRowFactory=b.CURSOR_STYLE_UNDERLINE_CLASS=b.CURSOR_STYLE_BAR_CLASS=b.CURSOR_STYLE_BLOCK_CLASS=b.CURSOR_BLINK_CLASS=b.CURSOR_CLASS=b.UNDERLINE_CLASS=b.ITALIC_CLASS=b.DIM_CLASS=b.BOLD_CLASS=void 0;var f=A(9),t=A(3),e=A(4),m=A(10);b.BOLD_CLASS="xterm-bold",b.DIM_CLASS="xterm-dim",b.ITALIC_CLASS="xterm-italic",b.UNDERLINE_CLASS="xterm-underline",b.CURSOR_CLASS="xterm-cursor",b.CURSOR_BLINK_CLASS="xterm-cursor-blink",b.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",b.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",b.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var d=function(){function n(s,c,i){this._document=s,this._optionsService=c,this._colors=i,this._workCell=new e.CellData}return n.prototype.setColors=function(s){this._colors=s},n.prototype.createRow=function(s,c,i,u,r,o,h){for(var p=this._document.createDocumentFragment(),g=0,v=Math.min(s.length,h)-1;v>=0;v--)if(s.loadCell(v,this._workCell).getCode()!==t.NULL_CELL_CODE||c&&v===u){g=v+1;break}for(v=0;v1&&(w.style.width=o*y+"px"),c&&v===u)switch(w.classList.add(b.CURSOR_CLASS),r&&w.classList.add(b.CURSOR_BLINK_CLASS),i){case"bar":w.classList.add(b.CURSOR_STYLE_BAR_CLASS);break;case"underline":w.classList.add(b.CURSOR_STYLE_UNDERLINE_CLASS);break;default:w.classList.add(b.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&w.classList.add(b.BOLD_CLASS),this._workCell.isItalic()&&w.classList.add(b.ITALIC_CLASS),this._workCell.isDim()&&w.classList.add(b.DIM_CLASS),this._workCell.isUnderline()&&w.classList.add(b.UNDERLINE_CLASS),this._workCell.isInvisible()?w.textContent=t.WHITESPACE_CELL_CHAR:w.textContent=this._workCell.getChars()||t.WHITESPACE_CELL_CHAR;var S=this._workCell.getFgColor(),_=this._workCell.getFgColorMode(),I=this._workCell.getBgColor(),C=this._workCell.getBgColorMode(),E=!!this._workCell.isInverse();if(E){var O=S;S=I,I=O;var M=_;_=C,C=M}switch(_){case 16777216:case 33554432:this._workCell.isBold()&&S<8&&this._optionsService.options.drawBoldTextInBrightColors&&(S+=8),this._applyMinimumContrast(w,this._colors.background,this._colors.ansi[S])||w.classList.add("xterm-fg-"+S);break;case 50331648:var F=m.rgba.toColor(S>>16&255,S>>8&255,255&S);this._applyMinimumContrast(w,this._colors.background,F)||this._addStyle(w,"color:#"+a(S.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(w,this._colors.background,this._colors.foreground)||E&&w.classList.add("xterm-fg-"+f.INVERTED_DEFAULT_COLOR)}switch(C){case 16777216:case 33554432:w.classList.add("xterm-bg-"+I);break;case 50331648:this._addStyle(w,"background-color:#"+a(I.toString(16),"0",6));break;case 0:default:E&&w.classList.add("xterm-bg-"+f.INVERTED_DEFAULT_COLOR)}p.appendChild(w)}}return p},n.prototype._applyMinimumContrast=function(s,c,i){if(this._optionsService.options.minimumContrastRatio===1)return!1;var u=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return u===void 0&&(u=m.color.ensureContrastRatio(c,i,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,u!=null?u:null)),!!u&&(this._addStyle(s,"color:"+u.css),!0)},n.prototype._addStyle=function(s,c){s.setAttribute("style",""+(s.getAttribute("style")||"")+c+";")},n}();function a(n,s,c){for(;n.length"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};b.evaluateKeyboardEvent=function(e,m,d,a){var n={type:0,cancel:!1,key:void 0},s=(e.shiftKey?1:0)|(e.altKey?2:0)|(e.ctrlKey?4:0)|(e.metaKey?8:0);switch(e.keyCode){case 0:e.key==="UIKeyInputUpArrow"?n.key=m?f.C0.ESC+"OA":f.C0.ESC+"[A":e.key==="UIKeyInputLeftArrow"?n.key=m?f.C0.ESC+"OD":f.C0.ESC+"[D":e.key==="UIKeyInputRightArrow"?n.key=m?f.C0.ESC+"OC":f.C0.ESC+"[C":e.key==="UIKeyInputDownArrow"&&(n.key=m?f.C0.ESC+"OB":f.C0.ESC+"[B");break;case 8:if(e.shiftKey){n.key=f.C0.BS;break}if(e.altKey){n.key=f.C0.ESC+f.C0.DEL;break}n.key=f.C0.DEL;break;case 9:if(e.shiftKey){n.key=f.C0.ESC+"[Z";break}n.key=f.C0.HT,n.cancel=!0;break;case 13:n.key=e.altKey?f.C0.ESC+f.C0.CR:f.C0.CR,n.cancel=!0;break;case 27:n.key=f.C0.ESC,e.altKey&&(n.key=f.C0.ESC+f.C0.ESC),n.cancel=!0;break;case 37:if(e.metaKey)break;s?(n.key=f.C0.ESC+"[1;"+(s+1)+"D",n.key===f.C0.ESC+"[1;3D"&&(n.key=f.C0.ESC+(d?"b":"[1;5D"))):n.key=m?f.C0.ESC+"OD":f.C0.ESC+"[D";break;case 39:if(e.metaKey)break;s?(n.key=f.C0.ESC+"[1;"+(s+1)+"C",n.key===f.C0.ESC+"[1;3C"&&(n.key=f.C0.ESC+(d?"f":"[1;5C"))):n.key=m?f.C0.ESC+"OC":f.C0.ESC+"[C";break;case 38:if(e.metaKey)break;s?(n.key=f.C0.ESC+"[1;"+(s+1)+"A",d||n.key!==f.C0.ESC+"[1;3A"||(n.key=f.C0.ESC+"[1;5A")):n.key=m?f.C0.ESC+"OA":f.C0.ESC+"[A";break;case 40:if(e.metaKey)break;s?(n.key=f.C0.ESC+"[1;"+(s+1)+"B",d||n.key!==f.C0.ESC+"[1;3B"||(n.key=f.C0.ESC+"[1;5B")):n.key=m?f.C0.ESC+"OB":f.C0.ESC+"[B";break;case 45:e.shiftKey||e.ctrlKey||(n.key=f.C0.ESC+"[2~");break;case 46:n.key=s?f.C0.ESC+"[3;"+(s+1)+"~":f.C0.ESC+"[3~";break;case 36:n.key=s?f.C0.ESC+"[1;"+(s+1)+"H":m?f.C0.ESC+"OH":f.C0.ESC+"[H";break;case 35:n.key=s?f.C0.ESC+"[1;"+(s+1)+"F":m?f.C0.ESC+"OF":f.C0.ESC+"[F";break;case 33:e.shiftKey?n.type=2:n.key=f.C0.ESC+"[5~";break;case 34:e.shiftKey?n.type=3:n.key=f.C0.ESC+"[6~";break;case 112:n.key=s?f.C0.ESC+"[1;"+(s+1)+"P":f.C0.ESC+"OP";break;case 113:n.key=s?f.C0.ESC+"[1;"+(s+1)+"Q":f.C0.ESC+"OQ";break;case 114:n.key=s?f.C0.ESC+"[1;"+(s+1)+"R":f.C0.ESC+"OR";break;case 115:n.key=s?f.C0.ESC+"[1;"+(s+1)+"S":f.C0.ESC+"OS";break;case 116:n.key=s?f.C0.ESC+"[15;"+(s+1)+"~":f.C0.ESC+"[15~";break;case 117:n.key=s?f.C0.ESC+"[17;"+(s+1)+"~":f.C0.ESC+"[17~";break;case 118:n.key=s?f.C0.ESC+"[18;"+(s+1)+"~":f.C0.ESC+"[18~";break;case 119:n.key=s?f.C0.ESC+"[19;"+(s+1)+"~":f.C0.ESC+"[19~";break;case 120:n.key=s?f.C0.ESC+"[20;"+(s+1)+"~":f.C0.ESC+"[20~";break;case 121:n.key=s?f.C0.ESC+"[21;"+(s+1)+"~":f.C0.ESC+"[21~";break;case 122:n.key=s?f.C0.ESC+"[23;"+(s+1)+"~":f.C0.ESC+"[23~";break;case 123:n.key=s?f.C0.ESC+"[24;"+(s+1)+"~":f.C0.ESC+"[24~";break;default:if(!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)if(d&&!a||!e.altKey||e.metaKey)d&&!e.altKey&&!e.ctrlKey&&e.metaKey?e.keyCode===65&&(n.type=1):e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&e.keyCode>=48&&e.key.length===1?n.key=e.key:e.key&&e.ctrlKey&&e.key==="_"&&(n.key=f.C0.US);else{var c=t[e.keyCode],i=c&&c[e.shiftKey?1:0];if(i)n.key=f.C0.ESC+i;else if(e.keyCode>=65&&e.keyCode<=90){var u=e.ctrlKey?e.keyCode-64:e.keyCode+32;n.key=f.C0.ESC+String.fromCharCode(u)}}else e.keyCode>=65&&e.keyCode<=90?n.key=String.fromCharCode(e.keyCode-64):e.keyCode===32?n.key=f.C0.NUL:e.keyCode>=51&&e.keyCode<=55?n.key=String.fromCharCode(e.keyCode-51+27):e.keyCode===56?n.key=f.C0.DEL:e.keyCode===219?n.key=f.C0.ESC:e.keyCode===220?n.key=f.C0.FS:e.keyCode===221&&(n.key=f.C0.GS)}return n}},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(h,p){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var y in v)v.hasOwnProperty(y)&&(g[y]=v[y])})(h,p)},function(o,h){function p(){this.constructor=o}f(o,h),o.prototype=h===null?Object.create(h):(p.prototype=h.prototype,new p)}),e=this&&this.__decorate||function(o,h,p,g){var v,y=arguments.length,w=y<3?h:g===null?g=Object.getOwnPropertyDescriptor(h,p):g;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(o,h,p,g);else for(var S=o.length-1;S>=0;S--)(v=o[S])&&(w=(y<3?v(w):y>3?v(h,p,w):v(h,p))||w);return y>3&&w&&Object.defineProperty(h,p,w),w},m=this&&this.__param||function(o,h){return function(p,g){h(p,g,o)}};Object.defineProperty(b,"__esModule",{value:!0}),b.RenderService=void 0;var d=A(31),a=A(0),n=A(2),s=A(32),c=A(7),i=A(1),u=A(5),r=function(o){function h(p,g,v,y,w,S){var _=o.call(this)||this;if(_._renderer=p,_._rowCount=g,_._isPaused=!1,_._needsFullRefresh=!1,_._isNextRenderRedrawOnly=!0,_._needsSelectionRefresh=!1,_._canvasWidth=0,_._canvasHeight=0,_._selectionState={start:void 0,end:void 0,columnSelectMode:!1},_._onDimensionsChange=new a.EventEmitter,_._onRender=new a.EventEmitter,_._onRefreshRequest=new a.EventEmitter,_.register({dispose:function(){return _._renderer.dispose()}}),_._renderDebouncer=new d.RenderDebouncer(function(C,E){return _._renderRows(C,E)}),_.register(_._renderDebouncer),_._screenDprMonitor=new s.ScreenDprMonitor,_._screenDprMonitor.setListener(function(){return _.onDevicePixelRatioChange()}),_.register(_._screenDprMonitor),_.register(S.onResize(function(C){return _._fullRefresh()})),_.register(y.onOptionChange(function(){return _._renderer.onOptionsChanged()})),_.register(w.onCharSizeChange(function(){return _.onCharSizeChanged()})),_._renderer.onRequestRedraw(function(C){return _.refreshRows(C.start,C.end,!0)}),_.register(c.addDisposableDomListener(window,"resize",function(){return _.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var I=new IntersectionObserver(function(C){return _._onIntersectionChange(C[C.length-1])},{threshold:0});I.observe(v),_.register({dispose:function(){return I.disconnect()}})}return _}return t(h,o),Object.defineProperty(h.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),h.prototype._onIntersectionChange=function(p){this._isPaused=p.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},h.prototype.refreshRows=function(p,g,v){v===void 0&&(v=!1),this._isPaused?this._needsFullRefresh=!0:(v||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(p,g,this._rowCount))},h.prototype._renderRows=function(p,g){this._renderer.renderRows(p,g),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:p,end:g}),this._isNextRenderRedrawOnly=!0},h.prototype.resize=function(p,g){this._rowCount=g,this._fireOnCanvasResize()},h.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},h.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},h.prototype.dispose=function(){o.prototype.dispose.call(this)},h.prototype.setRenderer=function(p){var g=this;this._renderer.dispose(),this._renderer=p,this._renderer.onRequestRedraw(function(v){return g.refreshRows(v.start,v.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},h.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},h.prototype.setColors=function(p){this._renderer.setColors(p),this._fullRefresh()},h.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},h.prototype.onResize=function(p,g){this._renderer.onResize(p,g),this._fullRefresh()},h.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},h.prototype.onBlur=function(){this._renderer.onBlur()},h.prototype.onFocus=function(){this._renderer.onFocus()},h.prototype.onSelectionChanged=function(p,g,v){this._selectionState.start=p,this._selectionState.end=g,this._selectionState.columnSelectMode=v,this._renderer.onSelectionChanged(p,g,v)},h.prototype.onCursorMove=function(){this._renderer.onCursorMove()},h.prototype.clear=function(){this._renderer.clear()},h.prototype.registerCharacterJoiner=function(p){return this._renderer.registerCharacterJoiner(p)},h.prototype.deregisterCharacterJoiner=function(p){return this._renderer.deregisterCharacterJoiner(p)},h=e([m(3,i.IOptionsService),m(4,u.ICharSizeService),m(5,i.IBufferService)],h)}(n.Disposable);b.RenderService=r},function(x,b,A){"use strict";var f=this&&this.__decorate||function(n,s,c,i){var u,r=arguments.length,o=r<3?s:i===null?i=Object.getOwnPropertyDescriptor(s,c):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,s,c,i);else for(var h=n.length-1;h>=0;h--)(u=n[h])&&(o=(r<3?u(o):r>3?u(s,c,o):u(s,c))||o);return r>3&&o&&Object.defineProperty(s,c,o),o},t=this&&this.__param||function(n,s){return function(c,i){s(c,i,n)}};Object.defineProperty(b,"__esModule",{value:!0}),b.CharSizeService=void 0;var e=A(1),m=A(0),d=function(){function n(s,c,i){this._optionsService=i,this.width=0,this.height=0,this._onCharSizeChange=new m.EventEmitter,this._measureStrategy=new a(s,c,this._optionsService)}return Object.defineProperty(n.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),n.prototype.measure=function(){var s=this._measureStrategy.measure();s.width===this.width&&s.height===this.height||(this.width=s.width,this.height=s.height,this._onCharSizeChange.fire())},n=f([t(2,e.IOptionsService)],n)}();b.CharSizeService=d;var a=function(){function n(s,c,i){this._document=s,this._parentElement=c,this._optionsService=i,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return n.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var s=this._measureElement.getBoundingClientRect();return s.width!==0&&s.height!==0&&(this._result.width=s.width,this._result.height=Math.ceil(s.height)),this._result},n}()},function(x,b,A){"use strict";var f=this&&this.__decorate||function(a,n,s,c){var i,u=arguments.length,r=u<3?n:c===null?c=Object.getOwnPropertyDescriptor(n,s):c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(a,n,s,c);else for(var o=a.length-1;o>=0;o--)(i=a[o])&&(r=(u<3?i(r):u>3?i(n,s,r):i(n,s))||r);return u>3&&r&&Object.defineProperty(n,s,r),r},t=this&&this.__param||function(a,n){return function(s,c){n(s,c,a)}};Object.defineProperty(b,"__esModule",{value:!0}),b.MouseService=void 0;var e=A(5),m=A(30),d=function(){function a(n,s){this._renderService=n,this._charSizeService=s}return a.prototype.getCoords=function(n,s,c,i,u){return m.getCoords(n,s,c,i,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,u)},a.prototype.getRawByteCoords=function(n,s,c,i){var u=this.getCoords(n,s,c,i);return m.getRawByteCoords(u)},a=f([t(0,e.IRenderService),t(1,e.ICharSizeService)],a)}();b.MouseService=d},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(u,r){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,h){o.__proto__=h}||function(o,h){for(var p in h)h.hasOwnProperty(p)&&(o[p]=h[p])})(u,r)},function(i,u){function r(){this.constructor=i}f(i,u),i.prototype=u===null?Object.create(u):(r.prototype=u.prototype,new r)}),e=this&&this.__decorate||function(i,u,r,o){var h,p=arguments.length,g=p<3?u:o===null?o=Object.getOwnPropertyDescriptor(u,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(i,u,r,o);else for(var v=i.length-1;v>=0;v--)(h=i[v])&&(g=(p<3?h(g):p>3?h(u,r,g):h(u,r))||g);return p>3&&g&&Object.defineProperty(u,r,g),g},m=this&&this.__param||function(i,u){return function(r,o){u(r,o,i)}};Object.defineProperty(b,"__esModule",{value:!0}),b.Linkifier2=void 0;var d=A(1),a=A(0),n=A(2),s=A(7),c=function(i){function u(r){var o=i.call(this)||this;return o._bufferService=r,o._linkProviders=[],o._linkCacheDisposables=[],o._isMouseOut=!0,o._activeLine=-1,o._onShowLinkUnderline=o.register(new a.EventEmitter),o._onHideLinkUnderline=o.register(new a.EventEmitter),o.register(n.getDisposeArrayDisposable(o._linkCacheDisposables)),o}return t(u,i),Object.defineProperty(u.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),u.prototype.registerLinkProvider=function(r){var o=this;return this._linkProviders.push(r),{dispose:function(){var p=o._linkProviders.indexOf(r);p!==-1&&o._linkProviders.splice(p,1)}}},u.prototype.attachToDom=function(r,o,h){var p=this;this._element=r,this._mouseService=o,this._renderService=h,this.register(s.addDisposableDomListener(this._element,"mouseleave",function(){p._isMouseOut=!0,p._clearCurrentLink()})),this.register(s.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(s.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},u.prototype._onMouseMove=function(r){if(this._lastMouseEvent=r,this._element&&this._mouseService){var o=this._positionFromMouseEvent(r,this._element,this._mouseService);if(o){this._isMouseOut=!1;for(var h=r.composedPath(),p=0;pr?this._bufferService.cols:y.link.range.end.x,_=w;_<=S;_++){if(h.has(_)){g.splice(v--,1);break}h.add(_)}}},u.prototype._checkLinkProviderResult=function(r,o,h){var p,g=this;if(!this._activeProviderReplies)return h;for(var v=this._activeProviderReplies.get(r),y=!1,w=0;w=r&&this._currentLink.link.range.end.y<=o)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,n.disposeArray(this._linkCacheDisposables))},u.prototype._handleNewLink=function(r){var o=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var h=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);h&&this._linkAtPosition(r.link,h)&&(this._currentLink=r,this._currentLink.state={decorations:{underline:r.link.decorations===void 0||r.link.decorations.underline,pointerCursor:r.link.decorations===void 0||r.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,r.link,this._lastMouseEvent),r.link.decorations={},Object.defineProperties(r.link.decorations,{pointerCursor:{get:function(){var g,v;return(v=(g=o._currentLink)===null||g===void 0?void 0:g.state)===null||v===void 0?void 0:v.decorations.pointerCursor},set:function(g){var v,y;((v=o._currentLink)===null||v===void 0?void 0:v.state)&&o._currentLink.state.decorations.pointerCursor!==g&&(o._currentLink.state.decorations.pointerCursor=g,o._currentLink.state.isHovered&&((y=o._element)===null||y===void 0||y.classList.toggle("xterm-cursor-pointer",g)))}},underline:{get:function(){var g,v;return(v=(g=o._currentLink)===null||g===void 0?void 0:g.state)===null||v===void 0?void 0:v.decorations.underline},set:function(g){var v,y,w;((v=o._currentLink)===null||v===void 0?void 0:v.state)&&((w=(y=o._currentLink)===null||y===void 0?void 0:y.state)===null||w===void 0?void 0:w.decorations.underline)!==g&&(o._currentLink.state.decorations.underline=g,o._currentLink.state.isHovered&&o._fireUnderlineEvent(r.link,g))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(p){var g=p.start===0?0:p.start+1+o._bufferService.buffer.ydisp;o._clearCurrentLink(g,p.end+1+o._bufferService.buffer.ydisp)})))}},u.prototype._linkHover=function(r,o,h){var p;((p=this._currentLink)===null||p===void 0?void 0:p.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(o,!0),this._currentLink.state.decorations.pointerCursor&&r.classList.add("xterm-cursor-pointer")),o.hover&&o.hover(h,o.text)},u.prototype._fireUnderlineEvent=function(r,o){var h=r.range,p=this._bufferService.buffer.ydisp,g=this._createLinkUnderlineEvent(h.start.x-1,h.start.y-p-1,h.end.x,h.end.y-p-1,void 0);(o?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(g)},u.prototype._linkLeave=function(r,o,h){var p;((p=this._currentLink)===null||p===void 0?void 0:p.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(o,!1),this._currentLink.state.decorations.pointerCursor&&r.classList.remove("xterm-cursor-pointer")),o.leave&&o.leave(h,o.text)},u.prototype._linkAtPosition=function(r,o){var h=r.range.start.y===r.range.end.y,p=r.range.start.yo.y;return(h&&r.range.start.x<=o.x&&r.range.end.x>=o.x||p&&r.range.end.x>=o.x||g&&r.range.start.x<=o.x||p&&g)&&r.range.start.y<=o.y&&r.range.end.y>=o.y},u.prototype._positionFromMouseEvent=function(r,o,h){var p=h.getCoords(r,o,this._bufferService.cols,this._bufferService.rows);if(p)return{x:p[0],y:p[1]+this._bufferService.buffer.ydisp}},u.prototype._createLinkUnderlineEvent=function(r,o,h,p,g){return{x1:r,y1:o,x2:h,y2:p,cols:this._bufferService.cols,fg:g}},u=e([m(0,d.IBufferService)],u)}(n.Disposable);b.Linkifier2=c},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.CoreBrowserService=void 0;var f=function(){function t(e){this._textarea=e}return Object.defineProperty(t.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),t}();b.CoreBrowserService=f},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(S,_){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(I,C){I.__proto__=C}||function(I,C){for(var E in C)C.hasOwnProperty(E)&&(I[E]=C[E])})(S,_)},function(w,S){function _(){this.constructor=w}f(w,S),w.prototype=S===null?Object.create(S):(_.prototype=S.prototype,new _)});Object.defineProperty(b,"__esModule",{value:!0}),b.CoreTerminal=void 0;var e=A(2),m=A(1),d=A(66),a=A(67),n=A(68),s=A(74),c=A(75),i=A(0),u=A(76),r=A(77),o=A(78),h=A(80),p=A(81),g=A(19),v=A(82),y=function(w){function S(_){var I=w.call(this)||this;return I._onBinary=new i.EventEmitter,I._onData=new i.EventEmitter,I._onLineFeed=new i.EventEmitter,I._onResize=new i.EventEmitter,I._onScroll=new i.EventEmitter,I._instantiationService=new d.InstantiationService,I.optionsService=new s.OptionsService(_),I._instantiationService.setService(m.IOptionsService,I.optionsService),I._bufferService=I.register(I._instantiationService.createInstance(n.BufferService)),I._instantiationService.setService(m.IBufferService,I._bufferService),I._logService=I._instantiationService.createInstance(a.LogService),I._instantiationService.setService(m.ILogService,I._logService),I._coreService=I.register(I._instantiationService.createInstance(c.CoreService,function(){return I.scrollToBottom()})),I._instantiationService.setService(m.ICoreService,I._coreService),I._coreMouseService=I._instantiationService.createInstance(u.CoreMouseService),I._instantiationService.setService(m.ICoreMouseService,I._coreMouseService),I._dirtyRowService=I._instantiationService.createInstance(r.DirtyRowService),I._instantiationService.setService(m.IDirtyRowService,I._dirtyRowService),I.unicodeService=I._instantiationService.createInstance(o.UnicodeService),I._instantiationService.setService(m.IUnicodeService,I.unicodeService),I._charsetService=I._instantiationService.createInstance(h.CharsetService),I._instantiationService.setService(m.ICharsetService,I._charsetService),I._inputHandler=new g.InputHandler(I._bufferService,I._charsetService,I._coreService,I._dirtyRowService,I._logService,I.optionsService,I._coreMouseService,I.unicodeService),I.register(i.forwardEvent(I._inputHandler.onLineFeed,I._onLineFeed)),I.register(I._inputHandler),I.register(i.forwardEvent(I._bufferService.onResize,I._onResize)),I.register(i.forwardEvent(I._coreService.onData,I._onData)),I.register(i.forwardEvent(I._coreService.onBinary,I._onBinary)),I.register(I.optionsService.onOptionChange(function(C){return I._updateOptions(C)})),I._writeBuffer=new v.WriteBuffer(function(C){return I._inputHandler.parse(C)}),I}return t(S,w),Object.defineProperty(S.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),S.prototype.dispose=function(){var _;this._isDisposed||(w.prototype.dispose.call(this),(_=this._windowsMode)===null||_===void 0||_.dispose(),this._windowsMode=void 0)},S.prototype.write=function(_,I){this._writeBuffer.write(_,I)},S.prototype.writeSync=function(_){this._writeBuffer.writeSync(_)},S.prototype.resize=function(_,I){isNaN(_)||isNaN(I)||(_=Math.max(_,n.MINIMUM_COLS),I=Math.max(I,n.MINIMUM_ROWS),this._bufferService.resize(_,I))},S.prototype.scroll=function(_,I){I===void 0&&(I=!1);var C,E=this._bufferService.buffer;(C=this._cachedBlankLine)&&C.length===this.cols&&C.getFg(0)===_.fg&&C.getBg(0)===_.bg||(C=E.getBlankLine(_,I),this._cachedBlankLine=C),C.isWrapped=I;var O=E.ybase+E.scrollTop,M=E.ybase+E.scrollBottom;if(E.scrollTop===0){var F=E.lines.isFull;M===E.lines.length-1?F?E.lines.recycle().copyFrom(C):E.lines.push(C.clone()):E.lines.splice(M+1,0,C.clone()),F?this._bufferService.isUserScrolling&&(E.ydisp=Math.max(E.ydisp-1,0)):(E.ybase++,this._bufferService.isUserScrolling||E.ydisp++)}else{var H=M-O+1;E.lines.shiftElements(O+1,H-1,-1),E.lines.set(M,C.clone())}this._bufferService.isUserScrolling||(E.ydisp=E.ybase),this._dirtyRowService.markRangeDirty(E.scrollTop,E.scrollBottom),this._onScroll.fire(E.ydisp)},S.prototype.scrollLines=function(_,I){var C=this._bufferService.buffer;if(_<0){if(C.ydisp===0)return;this._bufferService.isUserScrolling=!0}else _+C.ydisp>=C.ybase&&(this._bufferService.isUserScrolling=!1);var E=C.ydisp;C.ydisp=Math.max(Math.min(C.ydisp+_,C.ybase),0),E!==C.ydisp&&(I||this._onScroll.fire(C.ydisp))},S.prototype.scrollPages=function(_){this.scrollLines(_*(this.rows-1))},S.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},S.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},S.prototype.scrollToLine=function(_){var I=_-this._bufferService.buffer.ydisp;I!==0&&this.scrollLines(I)},S.prototype.addEscHandler=function(_,I){return this._inputHandler.addEscHandler(_,I)},S.prototype.addDcsHandler=function(_,I){return this._inputHandler.addDcsHandler(_,I)},S.prototype.addCsiHandler=function(_,I){return this._inputHandler.addCsiHandler(_,I)},S.prototype.addOscHandler=function(_,I){return this._inputHandler.addOscHandler(_,I)},S.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},S.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},S.prototype._updateOptions=function(_){var I;switch(_){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((I=this._windowsMode)===null||I===void 0||I.dispose(),this._windowsMode=void 0)}},S.prototype._enableWindowsMode=function(){var _=this;if(!this._windowsMode){var I=[];I.push(this.onLineFeed(p.updateWindowsModeWrappedState.bind(null,this._bufferService))),I.push(this.addCsiHandler({final:"H"},function(){return p.updateWindowsModeWrappedState(_._bufferService),!1})),this._windowsMode={dispose:function(){for(var E=0,O=I;E0?i[0].index:s.length;if(s.length!==g)throw new Error("[createInstance] First service dependency of "+n.name+" at position "+(g+1)+" conflicts with "+s.length+" static arguments");return new(n.bind.apply(n,f([void 0],f(s,u))))},a}();b.InstantiationService=d},function(x,b,A){"use strict";var f=this&&this.__decorate||function(s,c,i,u){var r,o=arguments.length,h=o<3?c:u===null?u=Object.getOwnPropertyDescriptor(c,i):u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")h=Reflect.decorate(s,c,i,u);else for(var p=s.length-1;p>=0;p--)(r=s[p])&&(h=(o<3?r(h):o>3?r(c,i,h):r(c,i))||h);return o>3&&h&&Object.defineProperty(c,i,h),h},t=this&&this.__param||function(s,c){return function(i,u){c(i,u,s)}},e=this&&this.__spreadArrays||function(){for(var s=0,c=0,i=arguments.length;c=0;v--)(h=i[v])&&(g=(p<3?h(g):p>3?h(u,r,g):h(u,r))||g);return p>3&&g&&Object.defineProperty(u,r,g),g},m=this&&this.__param||function(i,u){return function(r,o){u(r,o,i)}};Object.defineProperty(b,"__esModule",{value:!0}),b.BufferService=b.MINIMUM_ROWS=b.MINIMUM_COLS=void 0;var d=A(1),a=A(69),n=A(0),s=A(2);b.MINIMUM_COLS=2,b.MINIMUM_ROWS=1;var c=function(i){function u(r){var o=i.call(this)||this;return o._optionsService=r,o.isUserScrolling=!1,o._onResize=new n.EventEmitter,o.cols=Math.max(r.options.cols,b.MINIMUM_COLS),o.rows=Math.max(r.options.rows,b.MINIMUM_ROWS),o.buffers=new a.BufferSet(r,o),o}return t(u,i),Object.defineProperty(u.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),u.prototype.dispose=function(){i.prototype.dispose.call(this),this.buffers.dispose()},u.prototype.resize=function(r,o){this.cols=r,this.rows=o,this.buffers.resize(r,o),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:r,rows:o})},u.prototype.reset=function(){this.buffers.dispose(),this.buffers=new a.BufferSet(this._optionsService,this),this.isUserScrolling=!1},u=e([m(0,d.IOptionsService)],u)}(s.Disposable);b.BufferService=c},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(n,s){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,i){c.__proto__=i}||function(c,i){for(var u in i)i.hasOwnProperty(u)&&(c[u]=i[u])})(n,s)},function(a,n){function s(){this.constructor=a}f(a,n),a.prototype=n===null?Object.create(n):(s.prototype=n.prototype,new s)});Object.defineProperty(b,"__esModule",{value:!0}),b.BufferSet=void 0;var e=A(70),m=A(0),d=function(a){function n(s,c){var i=a.call(this)||this;return i._onBufferActivate=i.register(new m.EventEmitter),i._normal=new e.Buffer(!0,s,c),i._normal.fillViewportRows(),i._alt=new e.Buffer(!1,s,c),i._activeBuffer=i._normal,i.setupTabStops(),i}return t(n,a),Object.defineProperty(n.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),n.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},n.prototype.activateAltBuffer=function(s){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(s),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},n.prototype.resize=function(s,c){this._normal.resize(s,c),this._alt.resize(s,c)},n.prototype.setupTabStops=function(s){this._normal.setupTabStops(s),this._alt.setupTabStops(s)},n}(A(2).Disposable);b.BufferSet=d},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.BufferStringIterator=b.Buffer=b.MAX_BUFFER_SIZE=void 0;var f=A(71),t=A(16),e=A(4),m=A(3),d=A(72),a=A(73),n=A(20),s=A(6);b.MAX_BUFFER_SIZE=4294967295;var c=function(){function u(r,o,h){this._hasScrollback=r,this._optionsService=o,this._bufferService=h,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=t.DEFAULT_ATTR_DATA.clone(),this.savedCharset=n.DEFAULT_CHARSET,this.markers=[],this._nullCell=e.CellData.fromCharData([0,m.NULL_CELL_CHAR,m.NULL_CELL_WIDTH,m.NULL_CELL_CODE]),this._whitespaceCell=e.CellData.fromCharData([0,m.WHITESPACE_CELL_CHAR,m.WHITESPACE_CELL_WIDTH,m.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new f.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return u.prototype.getNullCell=function(r){return r?(this._nullCell.fg=r.fg,this._nullCell.bg=r.bg,this._nullCell.extended=r.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new s.ExtendedAttrs),this._nullCell},u.prototype.getWhitespaceCell=function(r){return r?(this._whitespaceCell.fg=r.fg,this._whitespaceCell.bg=r.bg,this._whitespaceCell.extended=r.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new s.ExtendedAttrs),this._whitespaceCell},u.prototype.getBlankLine=function(r,o){return new t.BufferLine(this._bufferService.cols,this.getNullCell(r),o)},Object.defineProperty(u.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isCursorInViewport",{get:function(){var o=this.ybase+this.y-this.ydisp;return o>=0&&ob.MAX_BUFFER_SIZE?b.MAX_BUFFER_SIZE:o},u.prototype.fillViewportRows=function(r){if(this.lines.length===0){r===void 0&&(r=t.DEFAULT_ATTR_DATA);for(var o=this._rows;o--;)this.lines.push(this.getBlankLine(r))}},u.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new f.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},u.prototype.resize=function(r,o){var h=this.getNullCell(t.DEFAULT_ATTR_DATA),p=this._getCorrectBufferLength(o);if(p>this.lines.maxLength&&(this.lines.maxLength=p),this.lines.length>0){if(this._cols0&&this.lines.length<=this.ybase+this.y+v+1?(this.ybase--,v++,this.ydisp>0&&this.ydisp--):this.lines.push(new t.BufferLine(r,h)));else for(y=this._rows;y>o;y--)this.lines.length>o+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(p0&&(this.lines.trimStart(w),this.ybase=Math.max(this.ybase-w,0),this.ydisp=Math.max(this.ydisp-w,0),this.savedY=Math.max(this.savedY-w,0)),this.lines.maxLength=p}this.x=Math.min(this.x,r-1),this.y=Math.min(this.y,o-1),v&&(this.y+=v),this.savedX=Math.min(this.savedX,r-1),this.scrollTop=0}if(this.scrollBottom=o-1,this._isReflowEnabled&&(this._reflow(r,o),this._cols>r))for(g=0;gthis._cols?this._reflowLarger(r,o):this._reflowSmaller(r,o))},u.prototype._reflowLarger=function(r,o){var h=d.reflowLargerGetLinesToRemove(this.lines,this._cols,r,this.ybase+this.y,this.getNullCell(t.DEFAULT_ATTR_DATA));if(h.length>0){var p=d.reflowLargerCreateNewLayout(this.lines,h);d.reflowLargerApplyNewLayout(this.lines,p.layout),this._reflowLargerAdjustViewport(r,o,p.countRemoved)}},u.prototype._reflowLargerAdjustViewport=function(r,o,h){for(var p=this.getNullCell(t.DEFAULT_ATTR_DATA),g=h;g-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length=0;v--){var y=this.lines.get(v);if(!(!y||!y.isWrapped&&y.getTrimmedLength()<=r)){for(var w=[y];y.isWrapped&&v>0;)y=this.lines.get(--v),w.unshift(y);var S=this.ybase+this.y;if(!(S>=v&&S0&&(p.push({start:v+w.length+g,newLines:O}),g+=O.length),w.push.apply(w,O);var H=I.length-1,B=I[H];B===0&&(B=I[--H]);for(var X=w.length-C-1,J=_;X>=0;){var k=Math.min(J,B);if(w[H].copyCellsFrom(w[X],J-k,B-k,k,!0),(B-=k)===0&&(B=I[--H]),(J-=k)===0){X--;var K=Math.max(X,0);J=d.getWrappedLineTrimmedLength(w,K,this._cols)}}for(M=0;M0;)this.ybase===0?this.y0){var W=[],P=[];for(M=0;M=0;M--)if(re&&re.start>V+ce){for(var ie=re.newLines.length-1;ie>=0;ie--)this.lines.set(M--,re.newLines[ie]);M++,W.push({index:V+1,amount:re.newLines.length}),ce+=re.newLines.length,re=p[++q]}else this.lines.set(M,P[V--]);var fe=0;for(M=W.length-1;M>=0;M--)W[M].index+=fe,this.lines.onInsertEmitter.fire(W[M]),fe+=W[M].amount;var xe=Math.max(0,G+g-this.lines.maxLength);xe>0&&this.lines.onTrimEmitter.fire(xe)}},u.prototype.stringIndexToBufferIndex=function(r,o,h){for(h===void 0&&(h=!1);o;){var p=this.lines.get(r);if(!p)return[-1,-1];for(var g=h?p.getTrimmedLength():p.length,v=0;v0&&this.lines.get(o).isWrapped;)o--;for(;h+10;);return r>=this._cols?this._cols-1:r<0?0:r},u.prototype.nextStop=function(r){for(r==null&&(r=this.x);!this.tabs[++r]&&r=this._cols?this._cols-1:r<0?0:r},u.prototype.addMarker=function(r){var o=this,h=new a.Marker(r);return this.markers.push(h),h.register(this.lines.onTrim(function(p){h.line-=p,h.line<0&&h.dispose()})),h.register(this.lines.onInsert(function(p){h.line>=p.index&&(h.line+=p.amount)})),h.register(this.lines.onDelete(function(p){h.line>=p.index&&h.linep.index&&(h.line-=p.amount)})),h.register(h.onDispose(function(){return o._removeMarker(h)})),h},u.prototype._removeMarker=function(r){this.markers.splice(this.markers.indexOf(r),1)},u.prototype.iterator=function(r,o,h,p,g){return new i(this,r,o,h,p,g)},u}();b.Buffer=c;var i=function(){function u(r,o,h,p,g,v){h===void 0&&(h=0),p===void 0&&(p=r.lines.length),g===void 0&&(g=0),v===void 0&&(v=0),this._buffer=r,this._trimRight=o,this._startIndex=h,this._endIndex=p,this._startOverscan=g,this._endOverscan=v,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return u.prototype.hasNext=function(){return this._currentthis._endIndex+this._endOverscan&&(r.last=this._endIndex+this._endOverscan),r.first=Math.max(r.first,0),r.last=Math.min(r.last,this._buffer.lines.length);for(var o="",h=r.first;h<=r.last;++h)o+=this._buffer.translateBufferLineToString(h,this._trimRight);return this._current=r.last+1,{range:r,content:o}},u}();b.BufferStringIterator=i},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.CircularList=void 0;var f=A(0),t=function(){function e(m){this._maxLength=m,this.onDeleteEmitter=new f.EventEmitter,this.onInsertEmitter=new f.EventEmitter,this.onTrimEmitter=new f.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(e.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxLength",{get:function(){return this._maxLength},set:function(d){if(this._maxLength!==d){for(var a=new Array(d),n=0;nthis._length)for(var a=this._length;a=m;s--)this._array[this._getCyclicIndex(s+a.length)]=this._array[this._getCyclicIndex(s)];for(s=0;sthis._maxLength){var c=this._length+a.length-this._maxLength;this._startIndex+=c,this._length=this._maxLength,this.onTrimEmitter.fire(c)}else this._length+=a.length},e.prototype.trimStart=function(m){m>this._length&&(m=this._length),this._startIndex+=m,this._length-=m,this.onTrimEmitter.fire(m)},e.prototype.shiftElements=function(m,d,a){if(!(d<=0)){if(m<0||m>=this._length)throw new Error("start argument out of range");if(m+a<0)throw new Error("Cannot shift elements in list beyond index 0");if(a>0){for(var n=d-1;n>=0;n--)this.set(m+n+a,this.get(m+n));var s=m+d+a-this._length;if(s>0)for(this._length+=s;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(n=0;n=s&&d0&&(_>r||u[_].getTrimmedLength()===0);_--)S++;S>0&&(n.push(s+u.length-S),n.push(S)),s+=u.length-1}}}return n},b.reflowLargerCreateNewLayout=function(t,e){for(var m=[],d=0,a=e[d],n=0,s=0;si&&(n-=i,s++);var u=t[s].getWidth(n-1)===2;u&&n--;var r=u?m-1:m;d.push(r),c+=r}return d},b.getWrappedLineTrimmedLength=f},function(x,b,A){"use strict";var f,t=this&&this.__extends||(f=function(a,n){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var i in c)c.hasOwnProperty(i)&&(s[i]=c[i])})(a,n)},function(d,a){function n(){this.constructor=d}f(d,a),d.prototype=a===null?Object.create(a):(n.prototype=a.prototype,new n)});Object.defineProperty(b,"__esModule",{value:!0}),b.Marker=void 0;var e=A(0),m=function(d){function a(n){var s=d.call(this)||this;return s.line=n,s._id=a._nextId++,s.isDisposed=!1,s._onDispose=new e.EventEmitter,s}return t(a,d),Object.defineProperty(a.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),a.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},a._nextId=1,a}(A(2).Disposable);b.Marker=m},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.OptionsService=b.DEFAULT_OPTIONS=b.DEFAULT_BELL_SOUND=void 0;var f=A(0),t=A(11),e=A(33);b.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",b.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:b.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:t.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var m=["cols","rows"],d=function(){function a(n){this._onOptionChange=new f.EventEmitter,this.options=e.clone(b.DEFAULT_OPTIONS);for(var s=0,c=Object.keys(n);s=0;w--)(g=r[w])&&(y=(v<3?g(y):v>3?g(o,h,y):g(o,h))||y);return v>3&&y&&Object.defineProperty(o,h,y),y},m=this&&this.__param||function(r,o){return function(h,p){o(h,p,r)}};Object.defineProperty(b,"__esModule",{value:!0}),b.CoreService=void 0;var d=A(1),a=A(0),n=A(33),s=A(2),c=Object.freeze({insertMode:!1}),i=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),u=function(r){function o(h,p,g,v){var y=r.call(this)||this;return y._bufferService=p,y._logService=g,y._optionsService=v,y.isCursorInitialized=!1,y.isCursorHidden=!1,y._onData=y.register(new a.EventEmitter),y._onUserInput=y.register(new a.EventEmitter),y._onBinary=y.register(new a.EventEmitter),y._scrollToBottom=h,y.register({dispose:function(){return y._scrollToBottom=void 0}}),y.modes=n.clone(c),y.decPrivateModes=n.clone(i),y}return t(o,r),Object.defineProperty(o.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),o.prototype.reset=function(){this.modes=n.clone(c),this.decPrivateModes=n.clone(i)},o.prototype.triggerDataEvent=function(h,p){if(p===void 0&&(p=!1),!this._optionsService.options.disableStdin){var g=this._bufferService.buffer;g.ybase!==g.ydisp&&this._scrollToBottom(),p&&this._onUserInput.fire(),this._logService.debug('sending data "'+h+'"',function(){return h.split("").map(function(v){return v.charCodeAt(0)})}),this._onData.fire(h)}},o.prototype.triggerBinaryEvent=function(h){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+h+'"',function(){return h.split("").map(function(p){return p.charCodeAt(0)})}),this._onBinary.fire(h))},o=e([m(1,d.IBufferService),m(2,d.ILogService),m(3,d.IOptionsService)],o)}(s.Disposable);b.CoreService=u},function(x,b,A){"use strict";var f=this&&this.__decorate||function(i,u,r,o){var h,p=arguments.length,g=p<3?u:o===null?o=Object.getOwnPropertyDescriptor(u,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(i,u,r,o);else for(var v=i.length-1;v>=0;v--)(h=i[v])&&(g=(p<3?h(g):p>3?h(u,r,g):h(u,r))||g);return p>3&&g&&Object.defineProperty(u,r,g),g},t=this&&this.__param||function(i,u){return function(r,o){u(r,o,i)}};Object.defineProperty(b,"__esModule",{value:!0}),b.CoreMouseService=void 0;var e=A(1),m=A(0),d={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(u){return u.button!==4&&u.action===1&&(u.ctrl=!1,u.alt=!1,u.shift=!1,!0)}},VT200:{events:19,restrict:function(u){return u.action!==32}},DRAG:{events:23,restrict:function(u){return u.action!==32||u.button!==3}},ANY:{events:31,restrict:function(u){return!0}}};function a(i,u){var r=(i.ctrl?16:0)|(i.shift?4:0)|(i.alt?8:0);return i.button===4?(r|=64,r|=i.action):(r|=3&i.button,4&i.button&&(r|=64),8&i.button&&(r|=128),i.action===32?r|=32:i.action!==0||u||(r|=3)),r}var n=String.fromCharCode,s={DEFAULT:function(u){var r=[a(u,!1)+32,u.col+32,u.row+32];return r[0]>255||r[1]>255||r[2]>255?"":""+n(r[0])+n(r[1])+n(r[2])},SGR:function(u){var r=u.action===0&&u.button!==4?"m":"M";return"[<"+a(u,!0)+";"+u.col+";"+u.row+r}},c=function(){function i(u,r){this._bufferService=u,this._coreService=r,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new m.EventEmitter,this._lastEvent=null;for(var o=0,h=Object.keys(d);o=this._bufferService.cols||u.row<0||u.row>=this._bufferService.rows)return!1;if(u.button===4&&u.action===32)return!1;if(u.button===3&&u.action!==32)return!1;if(u.button!==4&&(u.action===2||u.action===3))return!1;if(u.col++,u.row++,u.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,u))return!1;if(!this._protocols[this._activeProtocol].restrict(u))return!1;var r=this._encodings[this._activeEncoding](u);return r&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(r):this._coreService.triggerDataEvent(r,!0)),this._lastEvent=u,!0},i.prototype.explainEvents=function(u){return{down:!!(1&u),up:!!(2&u),drag:!!(4&u),move:!!(8&u),wheel:!!(16&u)}},i.prototype._compareEvents=function(u,r){return u.col===r.col&&u.row===r.row&&u.button===r.button&&u.action===r.action&&u.ctrl===r.ctrl&&u.alt===r.alt&&u.shift===r.shift},i=f([t(0,e.IBufferService),t(1,e.ICoreService)],i)}();b.CoreMouseService=c},function(x,b,A){"use strict";var f=this&&this.__decorate||function(d,a,n,s){var c,i=arguments.length,u=i<3?a:s===null?s=Object.getOwnPropertyDescriptor(a,n):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(d,a,n,s);else for(var r=d.length-1;r>=0;r--)(c=d[r])&&(u=(i<3?c(u):i>3?c(a,n,u):c(a,n))||u);return i>3&&u&&Object.defineProperty(a,n,u),u},t=this&&this.__param||function(d,a){return function(n,s){a(n,s,d)}};Object.defineProperty(b,"__esModule",{value:!0}),b.DirtyRowService=void 0;var e=A(1),m=function(){function d(a){this._bufferService=a,this.clearRange()}return Object.defineProperty(d.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),d.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},d.prototype.markDirty=function(a){athis._end&&(this._end=a)},d.prototype.markRangeDirty=function(a,n){if(a>n){var s=a;a=n,n=s}athis._end&&(this._end=n)},d.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},d=f([t(0,e.IBufferService)],d)}();b.DirtyRowService=m},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.UnicodeService=void 0;var f=A(0),t=A(79),e=function(){function m(){this._providers=Object.create(null),this._active="",this._onChange=new f.EventEmitter;var d=new t.UnicodeV6;this.register(d),this._active=d.version,this._activeProvider=d}return Object.defineProperty(m.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"activeVersion",{get:function(){return this._active},set:function(a){if(!this._providers[a])throw new Error('unknown Unicode version "'+a+'"');this._active=a,this._activeProvider=this._providers[a],this._onChange.fire(a)},enumerable:!1,configurable:!0}),m.prototype.register=function(d){this._providers[d.version]=d},m.prototype.wcwidth=function(d){return this._activeProvider.wcwidth(d)},m.prototype.getStringCellWidth=function(d){for(var a=0,n=d.length,s=0;s=n)return a+this.wcwidth(c);var i=d.charCodeAt(s);56320<=i&&i<=57343?c=1024*(c-55296)+i-56320+65536:a+=this.wcwidth(i)}a+=this.wcwidth(c)}return a},m}();b.UnicodeService=e},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.UnicodeV6=void 0;var f,t=A(15),e=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],m=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],d=function(){function a(){if(this.version="6",!f){f=new Uint8Array(65536),t.fill(f,1),f[0]=0,t.fill(f,0,1,32),t.fill(f,0,127,160),t.fill(f,2,4352,4448),f[9001]=2,f[9002]=2,t.fill(f,2,11904,42192),f[12351]=1,t.fill(f,2,44032,55204),t.fill(f,2,63744,64256),t.fill(f,2,65040,65050),t.fill(f,2,65072,65136),t.fill(f,2,65280,65377),t.fill(f,2,65504,65511);for(var n=0;nc[r][1])return!1;for(;r>=u;)if(s>c[i=u+r>>1][1])u=i+1;else{if(!(s=131072&&n<=196605||n>=196608&&n<=262141?2:1},a}();b.UnicodeV6=d},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.CharsetService=void 0;var f=function(){function t(){this.glevel=0,this._charsets=[]}return t.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},t.prototype.setgLevel=function(e){this.glevel=e,this.charset=this._charsets[e]},t.prototype.setgCharset=function(e,m){this._charsets[e]=m,this.glevel===e&&(this.charset=m)},t}();b.CharsetService=f},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.updateWindowsModeWrappedState=void 0;var f=A(3);b.updateWindowsModeWrappedState=function(t){var e=t.buffer.lines.get(t.buffer.ybase+t.buffer.y-1),m=e==null?void 0:e.get(t.cols-1),d=t.buffer.lines.get(t.buffer.ybase+t.buffer.y);d&&m&&(d.isWrapped=m[f.CHAR_DATA_CODE_INDEX]!==f.NULL_CELL_CODE&&m[f.CHAR_DATA_CODE_INDEX]!==f.WHITESPACE_CELL_CODE)}},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.WriteBuffer=void 0;var f=function(){function t(e){this._action=e,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return t.prototype.writeSync=function(e){if(this._writeBuffer.length){for(var m=this._bufferOffset;m5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return d._innerWrite()})),this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(m)},t.prototype._innerWrite=function(){for(var e=this,m=Date.now();this._writeBuffer.length>this._bufferOffset;){var d=this._writeBuffer[this._bufferOffset],a=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(d),this._pendingData-=d.length,a&&a(),Date.now()-m>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return e._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},t}();b.WriteBuffer=f},function(x,b,A){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.AddonManager=void 0;var f=function(){function t(){this._addons=[]}return t.prototype.dispose=function(){for(var e=this._addons.length-1;e>=0;e--)this._addons[e].instance.dispose()},t.prototype.loadAddon=function(e,m){var d=this,a={instance:m,dispose:m.dispose,isDisposed:!1};this._addons.push(a),m.dispose=function(){return d._wrappedAddonDispose(a)},m.activate(e)},t.prototype._wrappedAddonDispose=function(e){if(!e.isDisposed){for(var m=-1,d=0;ds;)i+=u*360;return[c,i]},coordToPoint:function(t){var e=t[0],m=t[1]/180*Math.PI,d=Math.cos(m)*e+this.cx,a=-Math.sin(m)*e+this.cy;return[d,a]},getArea:function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),m=e.getExtent().slice();m[0]>m[1]&&m.reverse();var d=t.getExtent(),a=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:m[0],r:m[1],startAngle:-d[0]*a,endAngle:-d[1]*a,clockwise:t.inverse,contain:function(n,s){var c=n-this.cx,i=s-this.cy,u=c*c+i*i,r=this.r,o=this.r0;return u<=r*r&&u>=o*o}}}};var f=A;j.exports=f},"/WM3":function(j,R,l){var x=l("QuXc"),b=l("bYtY"),A=b.isFunction,f={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var m=t.getData(),d=(t.visualColorAccessPath||"itemStyle.color").split("."),a=t.get(d),n=A(a)&&!(a instanceof x)?a:null;(!a||n)&&(a=t.getColorFromPalette(t.name,null,e.getSeriesCount())),m.setVisual("color",a);var s=(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),c=t.get(s);if(m.setVisual("borderColor",c),!e.isSeriesFiltered(t)){n&&m.each(function(u){m.setItemVisual(u,"color",n(t.getDataParams(u)))});var i=function(u,r){var o=u.getItemModel(r),h=o.get(d,!0),p=o.get(s,!0);h!=null&&u.setItemVisual(r,"color",h),p!=null&&u.setItemVisual(r,"borderColor",p)};return{dataEach:m.hasItemOption?i:null}}}};j.exports=f},"/d5a":function(j,R){var l={average:function(A){for(var f=0,t=0,e=0;ef&&(f=A[t]);return isFinite(f)?f:NaN},min:function(A){for(var f=Infinity,t=0;t1){var r;typeof d=="string"?r=l[d]:typeof d=="function"&&(r=d),r&&f.setData(m.downSample(m.mapDimension(s.dim),1/u,r,x))}}}}}j.exports=b},"/ezw":function(j,R,l){"use strict";var x=l("lSNA"),b=l.n(x),A=l("pVnL"),f=l.n(A),t=l("cDf5"),e=l.n(t),m=l("q1tI"),d=l("TSYQ"),a=l.n(d),n=function(z){var W=z.prefixCls,P=z.className,G=z.width,V=z.style;return m.createElement("h3",{className:a()(W,P),style:f()({width:G},V)})},s=n,c=l("RIqP"),i=l.n(c),u=function(z){var W=function(ie){var fe=z.width,xe=z.rows,Se=xe===void 0?2:xe;return Array.isArray(fe)?fe[ie]:Se-1===ie?fe:void 0},P=z.prefixCls,G=z.className,V=z.style,q=z.rows,re=i()(Array(q)).map(function(ce,ie){return m.createElement("li",{key:ie,style:{width:W(ie)}})});return m.createElement("ul",{className:a()(P,G),style:V},re)},r=u,o=l("H84U"),h=function(z){var W,P,G=z.prefixCls,V=z.className,q=z.style,re=z.size,ce=z.shape,ie=a()((W={},b()(W,"".concat(G,"-lg"),re==="large"),b()(W,"".concat(G,"-sm"),re==="small"),W)),fe=a()((P={},b()(P,"".concat(G,"-circle"),ce==="circle"),b()(P,"".concat(G,"-square"),ce==="square"),b()(P,"".concat(G,"-round"),ce==="round"),P)),xe=typeof re=="number"?{width:re,height:re,lineHeight:"".concat(re,"px")}:{};return m.createElement("span",{className:a()(G,V,ie,fe),style:f()(f()({},xe),q)})},p=h,g=l("BGR+"),v=function(z){var W=function(G){var V=G.getPrefixCls,q=z.prefixCls,re=z.className,ce=z.active,ie=V("skeleton",q),fe=Object(g.default)(z,["prefixCls"]),xe=a()(ie,re,"".concat(ie,"-element"),b()({},"".concat(ie,"-active"),ce));return m.createElement("div",{className:xe},m.createElement(p,f()({prefixCls:"".concat(ie,"-avatar")},fe)))};return m.createElement(o.a,null,W)};v.defaultProps={size:"default",shape:"circle"};var y=v,w=function(z){var W=function(G){var V=G.getPrefixCls,q=z.prefixCls,re=z.className,ce=z.active,ie=V("skeleton",q),fe=Object(g.default)(z,["prefixCls"]),xe=a()(ie,re,"".concat(ie,"-element"),b()({},"".concat(ie,"-active"),ce));return m.createElement("div",{className:xe},m.createElement(p,f()({prefixCls:"".concat(ie,"-button")},fe)))};return m.createElement(o.a,null,W)};w.defaultProps={size:"default"};var S=w,_=function(z){var W=function(G){var V=G.getPrefixCls,q=z.prefixCls,re=z.className,ce=z.active,ie=V("skeleton",q),fe=Object(g.default)(z,["prefixCls"]),xe=a()(ie,re,"".concat(ie,"-element"),b()({},"".concat(ie,"-active"),ce));return m.createElement("div",{className:xe},m.createElement(p,f()({prefixCls:"".concat(ie,"-input")},fe)))};return m.createElement(o.a,null,W)};_.defaultProps={size:"default"};var I=_,C="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",E=function(z){var W=function(G){var V=G.getPrefixCls,q=z.prefixCls,re=z.className,ce=z.style,ie=V("skeleton",q),fe=a()(ie,re,"".concat(ie,"-element"));return m.createElement("div",{className:fe},m.createElement("div",{className:a()("".concat(ie,"-image"),re),style:ce},m.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(ie,"-image-svg")},m.createElement("path",{d:C,className:"".concat(ie,"-image-path")}))))};return m.createElement(o.a,null,W)},O=E;function M(K){return K&&e()(K)==="object"?K:{}}function F(K,z){return K&&!z?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function H(K,z){return!K&&z?{width:"38%"}:K&&z?{width:"50%"}:{}}function B(K,z){var W={};return(!K||!z)&&(W.width="61%"),!K&&z?W.rows=3:W.rows=2,W}var X=function(z){var W=function(G){var V=G.getPrefixCls,q=G.direction,re=z.prefixCls,ce=z.loading,ie=z.className,fe=z.children,xe=z.avatar,Se=z.title,ke=z.paragraph,ge=z.active,Be=z.round,ee=V("skeleton",re);if(ce||!("loading"in z)){var ue,Ge=!!xe,ae=!!Se,Z=!!ke,Y;if(Ge){var te=f()(f()({prefixCls:"".concat(ee,"-avatar")},F(ae,Z)),M(xe));Y=m.createElement("div",{className:"".concat(ee,"-header")},m.createElement(p,te))}var we;if(ae||Z){var pe;if(ae){var De=f()(f()({prefixCls:"".concat(ee,"-title")},H(Ge,Z)),M(Se));pe=m.createElement(s,De)}var Ne;if(Z){var me=f()(f()({prefixCls:"".concat(ee,"-paragraph")},B(Ge,ae)),M(ke));Ne=m.createElement(r,me)}we=m.createElement("div",{className:"".concat(ee,"-content")},pe,Ne)}var be=a()(ee,ie,(ue={},b()(ue,"".concat(ee,"-with-avatar"),Ge),b()(ue,"".concat(ee,"-active"),ge),b()(ue,"".concat(ee,"-rtl"),q==="rtl"),b()(ue,"".concat(ee,"-round"),Be),ue));return m.createElement("div",{className:be},Y,we)}return fe};return m.createElement(o.a,null,W)};X.defaultProps={avatar:!1,title:!0,paragraph:!0},X.Button=S,X.Avatar=y,X.Input=I,X.Image=O;var J=X,k=R.a=J},"/iHx":function(j,R,l){var x=l("6GrX"),b=l("IwbS"),A=["textStyle","color"],f={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(A):null)},getFont:function(){return b.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return x.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};j.exports=f},"/ry/":function(j,R,l){var x=l("bYtY"),b=l("T4UG"),A=l("5GhG"),f=A.seriesModelMixin,t=b.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});x.mixin(t,f,!0);var e=t;j.exports=e},"/stD":function(j,R,l){var x=l("bYtY"),b=l("IUWy"),A=l("Kagy"),f=A.toolbox.brush;function t(d,a,n){this.model=d,this.ecModel=a,this.api=n,this._brushType,this._brushMode}t.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:x.clone(f.title)};var e=t.prototype;e.render=e.updateView=function(d,a,n){var s,c,i;a.eachComponent({mainType:"brush"},function(u){s=u.brushType,c=u.brushOption.brushMode||"single",i|=u.areas.length}),this._brushType=s,this._brushMode=c,x.each(d.get("type",!0),function(u){d.setIconStatus(u,(u==="keep"?c==="multiple":u==="clear"?i:u===s)?"emphasis":"normal")})},e.getIcons=function(){var d=this.model,a=d.get("icon",!0),n={};return x.each(d.get("type",!0),function(s){a[s]&&(n[s]=a[s])}),n},e.onclick=function(d,a,n){var s=this._brushType,c=this._brushMode;n==="clear"?(a.dispatchAction({type:"axisAreaSelect",intervals:[]}),a.dispatchAction({type:"brush",command:"clear",areas:[]})):a.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:n==="keep"?s:s===n?!1:n,brushMode:n==="keep"?c==="multiple"?"single":"multiple":c}})},b.register("brush",t);var m=t;j.exports=m},"/wGt":function(j,R,l){"use strict";var x=l("lSNA"),b=l.n(x),A=l("pVnL"),f=l.n(A),t=l("lwsE"),e=l.n(t),m=l("W8MJ"),d=l.n(m),a=l("PJYZ"),n=l.n(a),s=l("7W2i"),c=l.n(s),i=l("LQ03"),u=l.n(i),r=l("q1tI"),o=l("Ff2n"),h=l("1OyB"),p=l("vuIU"),g=l("Ji7U"),v=l("md7G"),y=l("foSv"),w=l("1W/9"),S=l("rePB"),_=l("JX7q"),I=l("TSYQ"),C=l.n(I),E=l("qx4F"),O=l("4IlW");function M(pe){return Array.isArray(pe)?pe:[pe]}var F={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},H=Object.keys(F).filter(function(pe){if(typeof document=="undefined")return!1;var De=document.getElementsByTagName("html")[0];return pe in(De?De.style:{})})[0],B=F[H];function X(pe,De,Ne,me){pe.addEventListener?pe.addEventListener(De,Ne,me):pe.attachEvent&&pe.attachEvent("on".concat(De),Ne)}function J(pe,De,Ne,me){pe.removeEventListener?pe.removeEventListener(De,Ne,me):pe.attachEvent&&pe.detachEvent("on".concat(De),Ne)}function k(pe,De){var Ne=typeof pe=="function"?pe(De):pe;return Array.isArray(Ne)?Ne.length===2?Ne:[Ne[0],Ne[1]]:[Ne]}var K=function(De){return!isNaN(parseFloat(De))&&isFinite(De)},z=!(typeof window!="undefined"&&window.document&&window.document.createElement),W=function pe(De,Ne,me,be){if(!Ne||Ne===document||Ne instanceof Document)return!1;if(Ne===De.parentNode)return!0;var Re=Math.max(Math.abs(me),Math.abs(be))===Math.abs(be),it=Math.max(Math.abs(me),Math.abs(be))===Math.abs(me),yt=Ne.scrollHeight-Ne.clientHeight,pt=Ne.scrollWidth-Ne.clientWidth,Pe=document.defaultView.getComputedStyle(Ne),Nt=Pe.overflowY==="auto"||Pe.overflowY==="scroll",ut=Pe.overflowX==="auto"||Pe.overflowX==="scroll",Ft=yt&&Nt,Ut=pt&&ut;return Re&&(!Ft||Ft&&(Ne.scrollTop>=yt&&be<0||Ne.scrollTop<=0&&be>0))||it&&(!Ut||Ut&&(Ne.scrollLeft>=pt&&me<0||Ne.scrollLeft<=0&&me>0))?pe(De,Ne.parentNode,me,be):!1};function P(pe){var De=G();return function(){var me=Object(y.a)(pe),be;if(De){var Re=Object(y.a)(this).constructor;be=Reflect.construct(me,arguments,Re)}else be=me.apply(this,arguments);return Object(v.a)(this,be)}}function G(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(pe){return!1}}var V={},q=function(pe){Object(g.a)(Ne,pe);var De=P(Ne);function Ne(me){var be;return Object(h.a)(this,Ne),be=De.call(this,me),be.domFocus=function(){be.dom&&be.dom.focus()},be.removeStartHandler=function(Re){if(Re.touches.length>1)return;be.startPos={x:Re.touches[0].clientX,y:Re.touches[0].clientY}},be.removeMoveHandler=function(Re){if(Re.changedTouches.length>1)return;var it=Re.currentTarget,yt=Re.changedTouches[0].clientX-be.startPos.x,pt=Re.changedTouches[0].clientY-be.startPos.y;(it===be.maskDom||it===be.handlerDom||it===be.contentDom&&W(it,Re.target,yt,pt))&&Re.cancelable&&Re.preventDefault()},be.transitionEnd=function(Re){var it=Re.target;J(it,B,be.transitionEnd),it.style.transition=""},be.onKeyDown=function(Re){if(Re.keyCode===O.a.ESC){var it=be.props.onClose;Re.stopPropagation(),it&&it(Re)}},be.onWrapperTransitionEnd=function(Re){var it=be.props,yt=it.open,pt=it.afterVisibleChange;Re.target===be.contentWrapper&&Re.propertyName.match(/transform$/)&&(be.dom.style.transition="",!yt&&be.getCurrentDrawerSome()&&(document.body.style.overflowX="",be.maskDom&&(be.maskDom.style.left="",be.maskDom.style.width="")),pt&&pt(!!yt))},be.openLevelTransition=function(){var Re=be.props,it=Re.open,yt=Re.width,pt=Re.height,Pe=be.getHorizontalBoolAndPlacementName(),Nt=Pe.isHorizontal,ut=Pe.placementName,Ft=be.contentDom?be.contentDom.getBoundingClientRect()[Nt?"width":"height"]:0,Ut=(Nt?yt:pt)||Ft;be.setLevelAndScrolling(it,ut,Ut)},be.setLevelTransform=function(Re,it,yt,pt){var Pe=be.props,Nt=Pe.placement,ut=Pe.levelMove,Ft=Pe.duration,Ut=Pe.ease,Kt=Pe.showMask;be.levelDom.forEach(function($t){$t.style.transition="transform ".concat(Ft," ").concat(Ut),X($t,B,be.transitionEnd);var or=Re?yt:0;if(ut){var ht=k(ut,{target:$t,open:Re});or=Re?ht[0]:ht[1]||0}var Ee=typeof or=="number"?"".concat(or,"px"):or,de=Nt==="left"||Nt==="top"?Ee:"-".concat(Ee);de=Kt&&Nt==="right"&&pt?"calc(".concat(de," + ").concat(pt,"px)"):de,$t.style.transform=or?"".concat(it,"(").concat(de,")"):""})},be.setLevelAndScrolling=function(Re,it,yt){var pt=be.props.onChange;if(!z){var Pe=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(E.a)(!0):0;be.setLevelTransform(Re,it,yt,Pe),be.toggleScrollingToDrawerAndBody(Pe)}pt&&pt(Re)},be.toggleScrollingToDrawerAndBody=function(Re){var it=be.props,yt=it.getOpenCount,pt=it.getContainer,Pe=it.showMask,Nt=it.open,ut=pt&&pt(),Ft=yt&&yt();if(ut&&ut.parentNode===document.body&&Pe){var Ut=["touchstart"],Kt=[document.body,be.maskDom,be.handlerDom,be.contentDom];Nt&&document.body.style.overflow!=="hidden"?(Re&&be.addScrollingEffect(Re),Ft===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",Kt.forEach(function($t,or){if(!$t)return;X($t,Ut[or]||"touchmove",or?be.removeMoveHandler:be.removeStartHandler,be.passive)})):be.getCurrentDrawerSome()&&(Ft||(document.body.style.overflow=""),document.body.style.touchAction="",Re&&be.remScrollingEffect(Re),Kt.forEach(function($t,or){if(!$t)return;J($t,Ut[or]||"touchmove",or?be.removeMoveHandler:be.removeStartHandler,be.passive)}))}},be.addScrollingEffect=function(Re){var it=be.props,yt=it.placement,pt=it.duration,Pe=it.ease,Nt=it.getOpenCount,ut=it.switchScrollingEffect,Ft=Nt&&Nt();Ft===1&&ut();var Ut="width ".concat(pt," ").concat(Pe),Kt="transform ".concat(pt," ").concat(Pe);be.dom.style.transition="none";switch(yt){case"right":be.dom.style.transform="translateX(-".concat(Re,"px)");break;case"top":case"bottom":be.dom.style.width="calc(100% - ".concat(Re,"px)"),be.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(be.timeout),be.timeout=setTimeout(function(){be.dom&&(be.dom.style.transition="".concat(Kt,",").concat(Ut),be.dom.style.width="",be.dom.style.transform="")})},be.remScrollingEffect=function(Re){var it=be.props,yt=it.placement,pt=it.duration,Pe=it.ease,Nt=it.getOpenCount,ut=it.switchScrollingEffect,Ft=Nt&&Nt();Ft||ut(!0),H&&(document.body.style.overflowX="hidden"),be.dom.style.transition="none";var Ut,Kt="width ".concat(pt," ").concat(Pe),$t="transform ".concat(pt," ").concat(Pe);switch(yt){case"left":{be.dom.style.width="100%",Kt="width 0s ".concat(Pe," ").concat(pt);break}case"right":{be.dom.style.transform="translateX(".concat(Re,"px)"),be.dom.style.width="100%",Kt="width 0s ".concat(Pe," ").concat(pt),be.maskDom&&(be.maskDom.style.left="-".concat(Re,"px"),be.maskDom.style.width="calc(100% + ".concat(Re,"px)"));break}case"top":case"bottom":{be.dom.style.width="calc(100% + ".concat(Re,"px)"),be.dom.style.height="100%",be.dom.style.transform="translateZ(0)",Ut="height 0s ".concat(Pe," ").concat(pt);break}default:break}clearTimeout(be.timeout),be.timeout=setTimeout(function(){be.dom&&(be.dom.style.transition="".concat($t,",").concat(Ut?"".concat(Ut,","):"").concat(Kt),be.dom.style.transform="",be.dom.style.width="",be.dom.style.height="")})},be.getCurrentDrawerSome=function(){return!Object.keys(V).some(function(Re){return V[Re]})},be.getLevelDom=function(Re){var it=Re.level,yt=Re.getContainer;if(z)return;var pt=yt&&yt(),Pe=pt?pt.parentNode:null;if(be.levelDom=[],it==="all"){var Nt=Pe?Array.prototype.slice.call(Pe.children):[];Nt.forEach(function(ut){ut.nodeName!=="SCRIPT"&&ut.nodeName!=="STYLE"&&ut.nodeName!=="LINK"&&ut!==pt&&be.levelDom.push(ut)})}else it&&M(it).forEach(function(ut){document.querySelectorAll(ut).forEach(function(Ft){be.levelDom.push(Ft)})})},be.getHorizontalBoolAndPlacementName=function(){var Re=be.props.placement,it=Re==="left"||Re==="right",yt="translate".concat(it?"X":"Y");return{isHorizontal:it,placementName:yt}},be.state={_self:Object(_.a)(be)},be}return Object(p.a)(Ne,[{key:"componentDidMount",value:function(){var be=this;if(!z){var Re=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Re=!0,null}}))}catch(Nt){}this.passive=Re?{passive:!1}:!1}var it=this.props,yt=it.open,pt=it.getContainer,Pe=pt&&pt();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),yt&&(Pe&&Pe.parentNode===document.body&&(V[this.drawerId]=yt),this.openLevelTransition(),this.forceUpdate(function(){be.domFocus()}))}},{key:"componentDidUpdate",value:function(be){var Re=this.props,it=Re.open,yt=Re.getContainer,pt=yt&&yt();it!==be.open&&(it&&this.domFocus(),pt&&pt.parentNode===document.body&&(V[this.drawerId]=!!it),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var be=this.props,Re=be.getOpenCount,it=be.open,yt=be.switchScrollingEffect,pt=typeof Re=="function"&&Re();delete V[this.drawerId],it&&(this.setLevelTransform(!1),document.body.style.touchAction=""),pt||(document.body.style.overflow="",yt(!0))}},{key:"render",value:function(){var be,Re=this,it=this.props,yt=it.className,pt=it.children,Pe=it.style,Nt=it.width,ut=it.height,Ft=it.defaultOpen,Ut=it.open,Kt=it.prefixCls,$t=it.placement,or=it.level,ht=it.levelMove,Ee=it.ease,de=it.duration,qe=it.getContainer,rt=it.handler,ve=it.onChange,bt=it.afterVisibleChange,jt=it.showMask,He=it.maskClosable,kt=it.maskStyle,Ar=it.onClose,at=it.onHandleClick,Ht=it.keyboard,Wt=it.getOpenCount,ot=it.switchScrollingEffect,et=Object(o.a)(it,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"]),Ze=this.dom?Ut:!1,Gt=C()(Kt,(be={},Object(S.a)(be,"".concat(Kt,"-").concat($t),!0),Object(S.a)(be,"".concat(Kt,"-open"),Ze),Object(S.a)(be,yt||"",!!yt),Object(S.a)(be,"no-mask",!jt),be)),yr=this.getHorizontalBoolAndPlacementName(),br=yr.placementName,Sr=$t==="left"||$t==="top"?"-100%":"100%",Tn=Ze?"":"".concat(br,"(").concat(Sr,")"),cn=rt&&r.cloneElement(rt,{onClick:function(lt){rt.props.onClick&&rt.props.onClick(),at&&at(lt)},ref:function(lt){Re.handlerDom=lt}});return r.createElement("div",Object.assign({},et,{tabIndex:-1,className:Gt,style:Pe,ref:function(lt){Re.dom=lt},onKeyDown:Ze&&Ht?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),jt&&r.createElement("div",{className:"".concat(Kt,"-mask"),onClick:He?Ar:void 0,style:kt,ref:function(lt){Re.maskDom=lt}}),r.createElement("div",{className:"".concat(Kt,"-content-wrapper"),style:{transform:Tn,msTransform:Tn,width:K(Nt)?"".concat(Nt,"px"):Nt,height:K(ut)?"".concat(ut,"px"):ut},ref:function(lt){Re.contentWrapper=lt}},r.createElement("div",{className:"".concat(Kt,"-content"),ref:function(lt){Re.contentDom=lt},onTouchStart:Ze&&jt?this.removeStartHandler:void 0,onTouchMove:Ze&&jt?this.removeMoveHandler:void 0},pt),cn))}}],[{key:"getDerivedStateFromProps",value:function(be,Re){var it=Re.prevProps,yt=Re._self,pt={prevProps:be};if(it!==void 0){var Pe=be.placement,Nt=be.level;Pe!==it.placement&&(yt.contentDom=null),Nt!==it.level&&yt.getLevelDom(be)}return pt}}]),Ne}(r.Component);q.defaultProps={switchScrollingEffect:function(){}};var re=q;function ce(pe){var De=ie();return function(){var me=Object(y.a)(pe),be;if(De){var Re=Object(y.a)(this).constructor;be=Reflect.construct(me,arguments,Re)}else be=me.apply(this,arguments);return Object(v.a)(this,be)}}function ie(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(pe){return!1}}var fe=function(pe){Object(g.a)(Ne,pe);var De=ce(Ne);function Ne(me){var be;Object(h.a)(this,Ne),be=De.call(this,me),be.onHandleClick=function(it){var yt=be.props,pt=yt.onHandleClick,Pe=yt.open;if(pt&&pt(it),typeof Pe=="undefined"){var Nt=be.state.open;be.setState({open:!Nt})}},be.onClose=function(it){var yt=be.props,pt=yt.onClose,Pe=yt.open;pt&&pt(it),typeof Pe=="undefined"&&be.setState({open:!1})};var Re=typeof me.open!="undefined"?me.open:!!me.defaultOpen;return be.state={open:Re},"onMaskClick"in me&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),be}return Object(p.a)(Ne,[{key:"render",value:function(){var be=this,Re=this.props,it=Re.defaultOpen,yt=Re.getContainer,pt=Re.wrapperClassName,Pe=Re.forceRender,Nt=Re.handler,ut=Object(o.a)(Re,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),Ft=this.state.open;if(!yt)return r.createElement("div",{className:pt,ref:function($t){be.dom=$t}},r.createElement(re,Object.assign({},ut,{open:Ft,handler:Nt,getContainer:function(){return be.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Ut=!!Nt||Pe;return r.createElement(w.a,{visible:Ft,forceRender:Ut,getContainer:yt,wrapperClassName:pt},function(Kt){var $t=Kt.visible,or=Kt.afterClose,ht=Object(o.a)(Kt,["visible","afterClose"]);return r.createElement(re,Object.assign({},ut,ht,{open:$t!==void 0?$t:Ft,afterVisibleChange:or!==void 0?or:ut.afterVisibleChange,handler:Nt,onClose:be.onClose,onHandleClick:be.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(be,Re){var it=Re.prevProps,yt={prevProps:be};return typeof it!="undefined"&&be.open!==it.open&&(yt.open=be.open),yt}}]),Ne}(r.Component);fe.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:r.createElement("div",{className:"drawer-handle"},r.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var xe=fe,Se=xe,ke=l("V/uB"),ge=l.n(ke),Be=l("BGR+"),ee=l("H84U"),ue=l("CWQg"),Ge=function(pe,De){var Ne={};for(var me in pe)Object.prototype.hasOwnProperty.call(pe,me)&&De.indexOf(me)<0&&(Ne[me]=pe[me]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,me=Object.getOwnPropertySymbols(pe);be=0&&b.each(y,function(w){r.setIconStatus(w,"normal")})}),r.setIconStatus(u,"emphasis"),c.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},p);var g;if(u==="stack"){var v=h.series&&h.series[0]&&h.series[0].stack===e;g=v?b.merge({stack:t.title.tiled},t.title):b.clone(t.title)}i.dispatchAction({type:"changeMagicType",currentType:u,newOption:h,newTitle:g,featureName:"magicType"})},x.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(c,i){i.mergeOption(c.newOption)}),f.register("magicType",m);var s=m;j.exports=s},"06Qe":function(j,R,l){var x=l("ItGF"),b="urn:schemas-microsoft-com:vml",A=typeof window=="undefined"?null:window,f=!1,t=A&&A.document;function e(a){return m(a)}var m;if(t&&!x.canvasSupported)try{!t.namespaces.zrvml&&t.namespaces.add("zrvml",b),m=function(n){return t.createElement("')}}catch(a){m=function(s){return t.createElement("<"+s+' xmlns="'+b+'" class="zrvml">')}}function d(){if(f||!t)return;f=!0;var a=t.styleSheets;a.length<31?t.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):a[0].addRule(".zrvml","behavior:url(#default#VML)")}R.doc=t,R.createNode=e,R.initVML=d},"09Wf":function(j,R,l){"use strict";l.d(R,"b",function(){return b}),l.d(R,"a",function(){return A});var x=l("CWQg"),b=Object(x.a)("success","processing","error","default","warning"),A=Object(x.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(j,R,l){var x=l("T4UG"),b=l("I3/A"),A=l("7aKB"),f=A.encodeHTML,t=l("Qxkt"),e=l("Tghj"),m=e.__DEV__,d=x.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(n,s){for(var c=n.edges||n.links,i=n.data||n.nodes,u=n.levels,r=this.levelModels={},o=0;o=0&&(r[u[o].depth]=new t(u[o],this,s));if(i&&c){var h=b(i,c,this,!0,p);return h.data}function p(g,v){g.wrapMethod("getItemModel",function(y,w){return y.customizeGetParent(function(S){var _=this.parentModel,I=_.getData().getItemLayout(w).depth,C=_.levelModels[I];return C||this.parentModel}),y}),v.wrapMethod("getItemModel",function(y,w){return y.customizeGetParent(function(S){var _=this.parentModel,I=_.getGraph().getEdgeByIndex(w),C=I.node1.getLayout().depth,E=_.levelModels[C];return E||this.parentModel}),y})}},setNodePosition:function(n,s){var c=this.option.data[n];c.localX=s[0],c.localY=s[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(n,s,c){if(c==="edge"){var i=this.getDataParams(n,c),u=i.data,r=u.source+" -- "+u.target;return i.value&&(r+=" : "+i.value),f(r)}else if(c==="node"){var o=this.getGraph().getNodeByIndex(n),h=o.getLayout().value,p=this.getDataParams(n,c).data.name;if(h)var r=p+" : "+h;return f(r)}return d.superCall(this,"formatTooltip",n,s)},optionUpdated:function(){var n=this.option;n.focusNodeAdjacency===!0&&(n.focusNodeAdjacency="allEdges")},getDataParams:function(n,s){var c=d.superCall(this,"getDataParams",n,s);if(c.value==null&&s==="node"){var i=this.getGraph().getNodeByIndex(n),u=i.getLayout().value;c.value=u}return c},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}}),a=d;j.exports=a},"0HBW":function(j,R,l){var x=l("ProS"),b=l("bYtY");l("Hxpc"),l("7uqq"),l("dmGj"),l("SehX");function A(f,t){t.update="updateView",x.registerAction(t,function(e,m){var d={};return m.eachComponent({mainType:"geo",query:e},function(a){a[f](e.name);var n=a.coordinateSystem;b.each(n.regions,function(s){d[s.name]=a.isSelected(s.name)||!1})}),{selected:d,name:e.name}})}A("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),A("select",{type:"geoSelect",event:"geoselected"}),A("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(j,R,l){var x=l("bYtY"),b=l("+TT/"),A=l("OELB"),f=l("IDmD"),t=864e5;function e(a,n,s){this._model=a}e.prototype={constructor:e,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(a){a=A.parseDate(a);var n=a.getFullYear(),s=a.getMonth()+1;s=s<10?"0"+s:s;var c=a.getDate();c=c<10?"0"+c:c;var i=a.getDay();return i=Math.abs((i+7-this.getFirstDayOfWeek())%7),{y:n,m:s,d:c,day:i,time:a.getTime(),formatedDate:n+"-"+s+"-"+c,date:a}},getNextNDay:function(a,n){return n=n||0,n===0?this.getDateInfo(a):(a=new Date(this.getDateInfo(a).time),a.setDate(a.getDate()+n),this.getDateInfo(a))},update:function(a,n){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var s=this._rangeInfo.weeks||1,c=["width","height"],i=this._model.get("cellSize").slice(),u=this._model.getBoxLayoutParams(),r=this._orient==="horizontal"?[s,7]:[7,s];x.each([0,1],function(g){p(i,g)&&(u[c[g]]=i[g]*r[g])});var o={width:n.getWidth(),height:n.getHeight()},h=this._rect=b.getLayoutRect(u,o);x.each([0,1],function(g){p(i,g)||(i[g]=h[c[g]]/r[g])});function p(g,v){return g[v]!=null&&g[v]!=="auto"}this._sw=i[0],this._sh=i[1]},dataToPoint:function(a,n){x.isArray(a)&&(a=a[0]),n==null&&(n=!0);var s=this.getDateInfo(a),c=this._rangeInfo,i=s.formatedDate;if(n&&!(s.time>=c.start.time&&s.timeu.end.time&&a.reverse(),a},_getRangeInfo:function(a){a=[this.getDateInfo(a[0]),this.getDateInfo(a[1])];var n;a[0].time>a[1].time&&(n=!0,a.reverse());var s=Math.floor(a[1].time/t)-Math.floor(a[0].time/t)+1,c=new Date(a[0].time),i=c.getDate(),u=a[1].date.getDate();c.setDate(i+s-1);var r=c.getDate();if(r!==u)for(var o=c.getTime()-a[1].time>0?1:-1;(r=c.getDate())!==u&&(c.getTime()-a[1].time)*o>0;)s-=o,c.setDate(r-o);var h=Math.floor((s+a[0].day+6)/7),p=n?-h+1:h-1;return n&&a.reverse(),{range:[a[0].formatedDate,a[1].formatedDate],start:a[0],end:a[1],allDay:s,weeks:h,nthWeek:p,fweek:a[0].day,lweek:a[1].day}},_getDateByWeeksAndDay:function(a,n,s){var c=this._getRangeInfo(s);if(a>c.weeks||a===0&&nc.lweek)return!1;var i=(a-1)*7-c.fweek+n,u=new Date(c.start.time);return u.setDate(c.start.d+i),this.getDateInfo(u)}},e.dimensions=e.prototype.dimensions,e.getDimensionsInfo=e.prototype.getDimensionsInfo,e.create=function(a,n){var s=[];return a.eachComponent("calendar",function(c){var i=new e(c,a,n);s.push(i),c.coordinateSystem=i}),a.eachSeries(function(c){c.get("coordinateSystem")==="calendar"&&(c.coordinateSystem=s[c.get("calendarIndex")||0])}),s};function m(a,n,s,c){var i=s.calendarModel,u=s.seriesModel,r=i?i.coordinateSystem:u?u.coordinateSystem:null;return r===this?r[a](c):null}f.register("calendar",e);var d=e;j.exports=d},"0JQy":function(j,R){var l="\\ud800-\\udfff",x="\\u0300-\\u036f",b="\\ufe20-\\ufe2f",A="\\u20d0-\\u20ff",f=x+b+A,t="\\ufe0e\\ufe0f",e="["+l+"]",m="["+f+"]",d="\\ud83c[\\udffb-\\udfff]",a="(?:"+m+"|"+d+")",n="[^"+l+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",i="\\u200d",u=a+"?",r="["+t+"]?",o="(?:"+i+"(?:"+[n,s,c].join("|")+")"+r+u+")*",h=r+u+o,p="(?:"+[n+m+"?",m,s,c,e].join("|")+")",g=RegExp(d+"(?="+d+")|"+p+h,"g");function v(y){return y.match(g)||[]}j.exports=v},"0NbB":function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="CaretDownOutlined";var m=R.a=b.forwardRef(e)},"0V0F":function(j,R,l){var x=l("bYtY"),b=x.createHashMap,A=x.each;function f(e){var m=b();e.eachSeries(function(d){var a=d.get("stack");if(a){var n=m.get(a)||m.set(a,[]),s=d.getData(),c={stackResultDimension:s.getCalculationInfo("stackResultDimension"),stackedOverDimension:s.getCalculationInfo("stackedOverDimension"),stackedDimension:s.getCalculationInfo("stackedDimension"),stackedByDimension:s.getCalculationInfo("stackedByDimension"),isStackedByIndex:s.getCalculationInfo("isStackedByIndex"),data:s,seriesModel:d};if(!c.stackedDimension||!(c.isStackedByIndex||c.stackedByDimension))return;n.length&&s.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(c)}}),m.each(t)}function t(e){A(e,function(m,d){var a=[],n=[NaN,NaN],s=[m.stackResultDimension,m.stackedOverDimension],c=m.data,i=m.isStackedByIndex,u=c.map(s,function(r,o,h){var p=c.get(m.stackedDimension,h);if(isNaN(p))return n;var g,v;i?v=c.getRawIndex(h):g=c.get(m.stackedByDimension,h);for(var y=NaN,w=d-1;w>=0;w--){var S=e[w];if(i||(v=S.data.rawIndexOf(S.stackedByDimension,g)),v>=0){var _=S.data.getByRawIndex(S.stackResultDimension,v);if(p>=0&&_>0||p<=0&&_<0){p+=_,y=_;break}}}return a[0]=p,a[1]=y,a});c.hostModel.setData(u),m.data=u})}j.exports=f},"0XgM":function(j,R,l){},"0fbx":function(j,R,l){},"0o9m":function(j,R,l){var x=l("ProS");l("hNWo"),l("RlCK"),l("XpcN");var b=l("kDyi"),A=l("bLfw");x.registerProcessor(x.PRIORITY.PROCESSOR.SERIES_FILTER,b),A.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(j,R,l){var x=l("ProS");x.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),x.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(j,R){var l=arguments[3],x=arguments[4],b=arguments[5],A=JSON.stringify;j.exports=function(f,t){for(var e,m=Object.keys(b),d=0,a=m.length;d=0;w--){var S;if(v[w]!==g&&!v[w].ignore&&(S=i(v[w],h,p))&&(!y.topTarget&&(y.topTarget=v[w]),S!==m)){y.target=v[w];break}}return y},processGesture:function(h,p){this._gestureMgr||(this._gestureMgr=new e);var g=this._gestureMgr;p==="start"&&g.clear();var v=g.recognize(h,this.findHover(h.zrX,h.zrY,null).target,this.proxy.dom);if(p==="end"&&g.clear(),v){var y=v.type;h.gestureEvent=y,this.dispatchToElement({target:v.target},y,v.event)}}},x.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(o){c.prototype[o]=function(h){var p=h.zrX,g=h.zrY,v=u(this,p,g),y,w;if((o!=="mouseup"||!v)&&(y=this.findHover(p,g),w=y.target),o==="mousedown")this._downEl=w,this._downPoint=[h.zrX,h.zrY],this._upEl=w;else if(o==="mouseup")this._upEl=w;else if(o==="click"){if(this._downEl!==this._upEl||!this._downPoint||b.dist(this._downPoint,[h.zrX,h.zrY])>4)return;this._downPoint=null}this.dispatchToElement(y,o,h)}});function i(o,h,p){if(o[o.rectHover?"rectContain":"contain"](h,p)){for(var g=o,v;g;){if(g.clipPath&&!g.clipPath.contain(h,p))return!1;g.silent&&(v=!0),g=g.parent}return v?m:!0}return!1}function u(o,h,p){var g=o.painter;return h<0||h>g.getWidth()||p<0||p>g.getHeight()}x.mixin(c,f),x.mixin(c,A);var r=c;j.exports=r},"10cm":function(j,R,l){var x=l("ProS"),b=l("2B6p"),A=b.updateCenterAndZoom;l("0qV/");var f={type:"graphRoam",event:"graphRoam",update:"none"};x.registerAction(f,function(t,e){e.eachComponent({mainType:"series",query:t},function(m){var d=m.coordinateSystem,a=A(d,t);m.setCenter&&m.setCenter(a.center),m.setZoom&&m.setZoom(a.zoom)})})},"15/o":function(j,R,l){},"19Vz":function(j,R,l){(function(x){x(l("VrN/"))})(function(x){x.defineOption("placeholder","",function(d,a,n){var s=n&&n!=x.Init;if(a&&!s)d.on("blur",t),d.on("change",e),d.on("swapDoc",e),x.on(d.getInputField(),"compositionupdate",d.state.placeholderCompose=function(){f(d)}),e(d);else if(!a&&s){d.off("blur",t),d.off("change",e),d.off("swapDoc",e),x.off(d.getInputField(),"compositionupdate",d.state.placeholderCompose),b(d);var c=d.getWrapperElement();c.className=c.className.replace(" CodeMirror-empty","")}a&&!d.hasFocus()&&t(d)});function b(d){d.state.placeholder&&(d.state.placeholder.parentNode.removeChild(d.state.placeholder),d.state.placeholder=null)}function A(d){b(d);var a=d.state.placeholder=document.createElement("pre");a.style.cssText="height: 0; overflow: visible",a.style.direction=d.getOption("direction"),a.className="CodeMirror-placeholder CodeMirror-line-like";var n=d.getOption("placeholder");typeof n=="string"&&(n=document.createTextNode(n)),a.appendChild(n),d.display.lineSpace.insertBefore(a,d.display.lineSpace.firstChild)}function f(d){setTimeout(function(){var a=!1,n=d.getInputField();n.nodeName=="TEXTAREA"?a=!n.value:d.lineCount()==1&&(a=!/[^\u200b]/.test(n.querySelector(".CodeMirror-line").textContent)),a?A(d):b(d)},20)}function t(d){m(d)&&A(d)}function e(d){var a=d.getWrapperElement(),n=m(d);a.className=a.className.replace(" CodeMirror-empty","")+(n?" CodeMirror-empty":""),n?A(d):b(d)}function m(d){return d.lineCount()===1&&d.getLine(0)===""}})},"1Jh7":function(j,R,l){var x=l("y+Vt"),b=l("T6xi"),A=x.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){b.buildPath(t,e,!1)}});j.exports=A},"1LEl":function(j,R,l){var x=l("ProS"),b=l("F9bG"),A=x.extendComponentView({type:"axisPointer",render:function(t,e,m){var d=e.getComponent("tooltip"),a=t.get("triggerOn")||d&&d.get("triggerOn")||"mousemove|click";b.register("axisPointer",m,function(n,s,c){a!=="none"&&(n==="leave"||a.indexOf(n)>=0)&&c({type:"updateAxisPointer",currTrigger:n,x:s&&s.offsetX,y:s&&s.offsetY})})},remove:function(t,e){b.unregister(e.getZr(),"axisPointer"),A.superApply(this._model,"remove",arguments)},dispose:function(t,e){b.unregister("axisPointer",e),A.superApply(this._model,"dispose",arguments)}}),f=A;j.exports=f},"1MYJ":function(j,R,l){var x=l("y+Vt"),b=x.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var f=this.__dirtyPath,t=this.shape.paths,e=0;e=w||F<0)break;if(s(B)){if(O){F+=S;continue}break}if(F===v)p[S>0?"moveTo":"lineTo"](B[0],B[1]);else if(C>0){var X=g[M],J=E==="y"?1:0,k=(B[J]-X[J])*C;m(a,X),a[J]=X[J]+k,m(n,B),n[J]=B[J]-k,p.bezierCurveTo(a[0],a[1],n[0],n[1],B[0],B[1])}else p.lineTo(B[0],B[1]);M=F,F+=S}return H}function u(p,g,v,y,w,S,_,I,C,E,O){for(var M=0,F=v,H=0;H=w||F<0)break;if(s(B)){if(O){F+=S;continue}break}if(F===v)p[S>0?"moveTo":"lineTo"](B[0],B[1]),m(a,B);else if(C>0){var X=F+S,J=g[X];if(O)for(;J&&s(g[X]);)X+=S,J=g[X];var k=.5,K=g[M],J=g[X];if(!J||s(J))m(n,B);else{s(J)&&!O&&(J=B),b.sub(d,J,K);var z,W;if(E==="x"||E==="y"){var P=E==="x"?0:1;z=Math.abs(B[P]-K[P]),W=Math.abs(B[P]-J[P])}else z=b.dist(B,K),W=b.dist(B,J);k=W/(W+z),e(n,B,d,-C*(1-k))}f(a,a,I),t(a,a,_),f(n,n,I),t(n,n,_),p.bezierCurveTo(a[0],a[1],n[0],n[1],B[0],B[1]),e(a,B,d,C*k)}else p.lineTo(B[0],B[1]);M=F,F+=S}return H}function r(p,g){var v=[Infinity,Infinity],y=[-Infinity,-Infinity];if(g)for(var w=0;wy[0]&&(y[0]=S[0]),S[1]>y[1]&&(y[1]=S[1])}return{min:g?v:y,max:g?y:v}}var o=x.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:A(x.prototype.brush),buildPath:function(p,g){var v=g.points,y=0,w=v.length,S=r(v,g.smoothConstraint);if(g.connectNulls){for(;w>0&&s(v[w-1]);w--);for(;y0&&s(v[S-1]);S--);for(;w=this._maxSize&&s>0){var i=d.head;d.remove(i),delete a[i.key],n=i.value,this._lastRemovedEntry=i}c?c.value=m:c=new b(m),c.key=e,d.insertEntry(c),a[e]=c}return n},f.get=function(e){var m=this._map[e],d=this._list;if(m!=null)return m!==d.tail&&(d.remove(m),d.insertEntry(m)),m.value},f.clear=function(){this._list.clear(),this._map={}};var t=A;j.exports=t},"1bdT":function(j,R,l){var x=l("3gBT"),b=l("H6uX"),A=l("DN4a"),f=l("vWvF"),t=l("bYtY"),e=function(a){A.call(this,a),b.call(this,a),f.call(this,a),this.id=a.id||x()};e.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(a,n){switch(this.draggable){case"horizontal":n=0;break;case"vertical":a=0;break}var s=this.transform;s||(s=this.transform=[1,0,0,1,0,0]),s[4]+=a,s[5]+=n,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(a,n){},attrKV:function(a,n){if(a==="position"||a==="scale"||a==="origin"){if(n){var s=this[a];s||(s=this[a]=[]),s[0]=n[0],s[1]=n[1]}}else this[a]=n},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(a,n){if(typeof a=="string")this.attrKV(a,n);else if(t.isObject(a))for(var s in a)a.hasOwnProperty(s)&&this.attrKV(s,a[s]);return this.dirty(!1),this},setClipPath:function(a){var n=this.__zr;n&&a.addSelfToZr(n),this.clipPath&&this.clipPath!==a&&this.removeClipPath(),this.clipPath=a,a.__zr=n,a.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var a=this.clipPath;a&&(a.__zr&&a.removeSelfFromZr(a.__zr),a.__zr=null,a.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(a){this.__zr=a;var n=this.animators;if(n)for(var s=0;s> RFB.constructor"),Re._screen=document.createElement("div"),Re._screen.style.display="flex",Re._screen.style.width="100%",Re._screen.style.height="100%",Re._screen.style.overflow="auto",Re._screen.style.background=G,Re._canvas=document.createElement("canvas"),Re._canvas.style.margin="auto",Re._canvas.style.outline="none",Re._canvas.style.flexShrink="0",Re._canvas.width=0,Re._canvas.height=0,Re._canvas.tabIndex=-1,Re._screen.appendChild(Re._canvas),Re._cursor=new i.default,Re._cursorImage=De.cursors.none,Re._decoders[p.encodings.encodingRaw]=new g.default,Re._decoders[p.encodings.encodingCopyRect]=new v.default,Re._decoders[p.encodings.encodingRRE]=new y.default,Re._decoders[p.encodings.encodingHextile]=new w.default,Re._decoders[p.encodings.encodingTight]=new S.default,Re._decoders[p.encodings.encodingTightPNG]=new _.default;try{Re._display=new d.default(Re._canvas)}catch(it){throw b.Error("Display exception: "+it),it}return Re._display.onflush=Re._onFlush.bind(K(Re)),Re._keyboard=new s.default(Re._canvas),Re._keyboard.onkeyevent=Re._handleKeyEvent.bind(K(Re)),Re._gestures=new c.default,Re._sock=new u.default,Re._sock.on("message",function(){Re._handleMessage()}),Re._sock.on("open",function(){Re._rfbConnectionState==="connecting"&&Re._rfbInitState===""?(Re._rfbInitState="ProtocolVersion",b.Debug("Starting VNC handshake")):Re._fail("Unexpected server connection while "+Re._rfbConnectionState)}),Re._sock.on("close",function(it){b.Debug("WebSocket on-close event");var yt="";it.code&&(yt="(code: "+it.code,it.reason&&(yt+=", reason: "+it.reason),yt+=")");switch(Re._rfbConnectionState){case"connecting":Re._fail("Connection closed "+yt);break;case"connected":Re._updateConnectionState("disconnecting"),Re._updateConnectionState("disconnected");break;case"disconnecting":Re._updateConnectionState("disconnected");break;case"disconnected":Re._fail("Unexpected server disconnect when already disconnected "+yt);break;default:Re._fail("Unexpected server disconnect before connecting "+yt);break}Re._sock.off("close")}),Re._sock.on("error",function(it){return b.Warn("WebSocket on-error event")}),setTimeout(Re._updateConnectionState.bind(K(Re),"connecting")),b.Debug("<< RFB.constructor"),Re.dragViewport=!1,Re.focusOnClick=!0,Re._viewOnly=!1,Re._clipViewport=!1,Re._scaleViewport=!1,Re._resizeSession=!1,Re._showDotCursor=!1,be.showDotCursor!==void 0&&(b.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),Re._showDotCursor=be.showDotCursor),Re._qualityLevel=6,Re._compressionLevel=2,Re}return H(De,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(me){this._rfbCredentials=me,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;b.Info("Sending Ctrl-Alt-Del"),this.sendKey(o.default.XK_Control_L,"ControlLeft",!0),this.sendKey(o.default.XK_Alt_L,"AltLeft",!0),this.sendKey(o.default.XK_Delete,"Delete",!0),this.sendKey(o.default.XK_Delete,"Delete",!1),this.sendKey(o.default.XK_Alt_L,"AltLeft",!1),this.sendKey(o.default.XK_Control_L,"ControlLeft",!1)}},{key:"machineShutdown",value:function(){this._xvpOp(1,2)}},{key:"machineReboot",value:function(){this._xvpOp(1,3)}},{key:"machineReset",value:function(){this._xvpOp(1,4)}},{key:"sendKey",value:function(me,be,Re){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(Re===void 0){this.sendKey(me,be,!0),this.sendKey(me,be,!1);return}var it=h.default[be];if(this._qemuExtKeyEventSupported&&it)me=me||0,b.Info("Sending key ("+(Re?"down":"up")+"): keysym "+me+", scancode "+it),De.messages.QEMUExtendedKeyEvent(this._sock,me,Re,it);else{if(!me)return;b.Info("Sending keysym ("+(Re?"down":"up")+"): "+me),De.messages.keyEvent(this._sock,me,Re?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(me){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[Se]&&this._clipboardServerCapabilitiesActions[Z])this._clipboardText=me,De.messages.extendedClipboardNotify(this._sock,[Se]);else{for(var be=new Uint8Array(me.length),Re=0;Re> RFB.connect"),b.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(me){me.name==="SyntaxError"?this._fail("Invalid host or port ("+me+")"):this._fail("Error when opening socket ("+me+")")}this._target.appendChild(this._screen),this._gestures.attach(this._canvas),this._cursor.attach(this._canvas),this._refreshCursor(),window.addEventListener("resize",this._eventHandlers.windowResize),this._canvas.addEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.addEventListener("touchstart",this._eventHandlers.focusCanvas),this._canvas.addEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.addEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.addEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.addEventListener("click",this._eventHandlers.handleMouse),this._canvas.addEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.addEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.addEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.addEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.addEventListener("gestureend",this._eventHandlers.handleGesture),b.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){b.Debug(">> RFB.disconnect"),this._cursor.detach(),this._canvas.removeEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gestureend",this._eventHandlers.handleGesture),this._canvas.removeEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.removeEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.removeEventListener("click",this._eventHandlers.handleMouse),this._canvas.removeEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.removeEventListener("touchstart",this._eventHandlers.focusCanvas),window.removeEventListener("resize",this._eventHandlers.windowResize),this._keyboard.ungrab(),this._gestures.detach(),this._sock.close();try{this._target.removeChild(this._screen)}catch(me){if(!(me.name==="NotFoundError"))throw me}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),b.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(me){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(me){this._fbName=me,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(me){var be=this;window.requestAnimationFrame(function(){be._updateClip(),be._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var me=this._display.clipViewport,be=this._clipViewport;if(this._scaleViewport&&(be=!1),me!==be&&(this._display.clipViewport=be),be){var Re=this._screenSize();this._display.viewportChangeSize(Re.w,Re.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var me=this._screenSize();this._display.autoscale(me.w,me.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var me=this._screenSize();De.messages.setDesktopSize(this._sock,Math.floor(me.w),Math.floor(me.h),this._screenID,this._screenFlags),b.Debug("Requested new desktop size: "+me.w+"x"+me.h)}},{key:"_screenSize",value:function(){var me=this._screen.getBoundingClientRect();return{w:me.width,h:me.height}}},{key:"_fixScrollbars",value:function(){var me=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=me}},{key:"_updateConnectionState",value:function(me){var be=this,Re=this._rfbConnectionState;if(me===Re){b.Debug("Already in state '"+me+"', ignoring");return}if(Re==="disconnected"){b.Error("Tried changing state of a disconnected RFB object");return}switch(me){case"connected":if(Re!=="connecting"){b.Error("Bad transition to connected state, previous connection state: "+Re);return}break;case"disconnected":if(Re!=="disconnecting"){b.Error("Bad transition to disconnected state, previous connection state: "+Re);return}break;case"connecting":if(Re!==""){b.Error("Bad transition to connecting state, previous connection state: "+Re);return}break;case"disconnecting":if(Re!=="connected"&&Re!=="connecting"){b.Error("Bad transition to disconnecting state, previous connection state: "+Re);return}break;default:b.Error("Unknown connection state: "+me);return}this._rfbConnectionState=me,b.Debug("New state '"+me+"', was '"+Re+"'."),this._disconnTimer&&me!=="disconnecting"&&(b.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(me){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){b.Error("Disconnection timed out."),be._updateConnectionState("disconnected")},P*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(me){switch(this._rfbConnectionState){case"disconnecting":b.Error("Failed when disconnecting: "+me);break;case"connected":b.Error("Failed while connected: "+me);break;case"connecting":b.Error("Failed when connecting: "+me);break;default:b.Error("RFB failure: "+me);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(me,be){this._capabilities[me]=be,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){b.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":b.Error("Got data while disconnected");break;case"connected":for(;!this._flushing;){if(!this._normalMsg())break;if(this._sock.rQlen===0)break}break;default:this._initMsg();break}}},{key:"_handleKeyEvent",value:function(me,be,Re){this.sendKey(me,be,Re)}},{key:"_handleMouse",value:function(me){if(me.type==="click"&&me.target!==this._canvas)return;if(me.stopPropagation(),me.preventDefault(),me.type==="click"||me.type==="contextmenu")return;var be=(0,t.clientToElement)(me.clientX,me.clientY,this._canvas);switch(me.type){case"mousedown":(0,e.setCapture)(this._canvas),this._handleMouseButton(be.x,be.y,!0,1<f.dragThreshold||Math.abs(yt)>f.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:me,y:be},this._display.viewportChangePos(it,yt));return}if(this._mousePos={x:me,y:be},this._mouseMoveTimer==null){var pt=Date.now()-this._mouseLastMoveTime;pt>V?(this._sendMouse(me,be,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){Re._handleDelayedMouseMove()},V-pt)}}},{key:"_handleDelayedMouseMove",value:function(){this._mouseMoveTimer=null,this._sendMouse(this._mousePos.x,this._mousePos.y,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()}},{key:"_sendMouse",value:function(me,be,Re){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;De.messages.pointerEvent(this._sock,this._display.absX(me),this._display.absY(be),Re)}},{key:"_handleWheel",value:function(me){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;me.stopPropagation(),me.preventDefault();var be=(0,t.clientToElement)(me.clientX,me.clientY,this._canvas),Re=me.deltaX,it=me.deltaY;me.deltaMode!==0&&(Re*=re,it*=re),this._accumulatedWheelDeltaX+=Re,this._accumulatedWheelDeltaY+=it,Math.abs(this._accumulatedWheelDeltaX)>=q&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(be.x,be.y,!0,1<<5),this._handleMouseButton(be.x,be.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(be.x,be.y,!0,1<<6),this._handleMouseButton(be.x,be.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=q&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(be.x,be.y,!0,1<<3),this._handleMouseButton(be.x,be.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(be.x,be.y,!0,1<<4),this._handleMouseButton(be.x,be.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(me,be,Re){this._handleMouseMove(be,Re),this._cursor.move(me.detail.clientX,me.detail.clientY)}},{key:"_handleTapEvent",value:function(me,be){var Re=(0,t.clientToElement)(me.detail.clientX,me.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTimeie;)this._handleMouseButton(Re.x,Re.y,!0,8),this._handleMouseButton(Re.x,Re.y,!1,8),this._gestureLastMagnitudeY+=ie;for(;me.detail.magnitudeY-this._gestureLastMagnitudeY<-ie;)this._handleMouseButton(Re.x,Re.y,!0,16),this._handleMouseButton(Re.x,Re.y,!1,16),this._gestureLastMagnitudeY-=ie;for(;me.detail.magnitudeX-this._gestureLastMagnitudeX>ie;)this._handleMouseButton(Re.x,Re.y,!0,32),this._handleMouseButton(Re.x,Re.y,!1,32),this._gestureLastMagnitudeX+=ie;for(;me.detail.magnitudeX-this._gestureLastMagnitudeX<-ie;)this._handleMouseButton(Re.x,Re.y,!0,64),this._handleMouseButton(Re.x,Re.y,!1,64),this._gestureLastMagnitudeX-=ie;break;case"pinch":if(this._fakeMouseMove(me,Re.x,Re.y),be=Math.hypot(me.detail.magnitudeX,me.detail.magnitudeY),Math.abs(be-this._gestureLastMagnitudeX)>ce){for(this._handleKeyEvent(o.default.XK_Control_L,"ControlLeft",!0);be-this._gestureLastMagnitudeX>ce;)this._handleMouseButton(Re.x,Re.y,!0,8),this._handleMouseButton(Re.x,Re.y,!1,8),this._gestureLastMagnitudeX+=ce;for(;be-this._gestureLastMagnitudeX<-ce;)this._handleMouseButton(Re.x,Re.y,!0,16),this._handleMouseButton(Re.x,Re.y,!1,16),this._gestureLastMagnitudeX-=ce}this._handleKeyEvent(o.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(me.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(me,Re.x,Re.y),this._handleMouseButton(Re.x,Re.y,!1,1);break;case"longpress":this._fakeMouseMove(me,Re.x,Re.y),this._handleMouseButton(Re.x,Re.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var me=this._sock.rQshiftStr(12).substr(4,7);b.Info("Server ProtocolVersion: "+me);var be=0;switch(me){case"000.000":be=1;break;case"003.003":case"003.006":case"003.889":this._rfbVersion=3.3;break;case"003.007":this._rfbVersion=3.7;break;case"003.008":case"004.000":case"004.001":case"005.000":this._rfbVersion=3.8;break;default:return this._fail("Invalid server version "+me)}if(be){for(var Re="ID:"+this._repeaterID;Re.length<250;)Re+="\0";return this._sock.sendString(Re),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var it="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+it+` +`),b.Debug("Sent ProtocolVersion: "+it),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function me(it,yt){for(var pt=0;pt=3.7){var be=this._sock.rQshift8();if(this._sock.rQwait("security type",be,1))return!1;if(be===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var Re=this._sock.rQshiftBytes(be);if(b.Debug("Server security types: "+Re),me(1,Re))this._rfbAuthScheme=1;else if(me(22,Re))this._rfbAuthScheme=22;else if(me(16,Re))this._rfbAuthScheme=16;else if(me(2,Re))this._rfbAuthScheme=2;else if(me(19,Re))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+Re+")");this._sock.send([this._rfbAuthScheme])}else{if(this._sock.rQwait("security scheme",4))return!1;if(this._rfbAuthScheme=this._sock.rQshift32(),this._rfbAuthScheme==0)return this._rfbInitState="SecurityReason",this._securityContext="authentication scheme",this._securityStatus=1,this._initMsg()}return this._rfbInitState="Authentication",b.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var me=this._sock.rQshift32(),be="";if(me>0){if(this._sock.rQwait("reason",me,4))return!1;be=this._sock.rQshiftStr(me)}return be!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:be}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+be+")")):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus}})),this._fail("Security negotiation failed on "+this._securityContext))}},{key:"_negotiateXvpAuth",value:function(){if(this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0||this._rfbCredentials.target===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password","target"]}})),!1;var me=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(me),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var me=this._sock.rQshift8(),be=this._sock.rQshift8();if(!(me==0&&be==2))return this._fail("Unsupported VeNCrypt version "+me+"."+be);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var Re=this._sock.rQshift8();if(Re!=0)return this._fail("VeNCrypt failure "+Re);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var it=this._sock.rQshift8();if(it<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=it,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var yt=[],pt=0;pt0&&this._sock.rQwait("tunnel capabilities",16*me,4))return!1;if(this._rfbTightVNC=!0,me>0)return this._negotiateTightTunnels(me),!1}if(this._sock.rQwait("sub auth count",4))return!1;var be=this._sock.rQshift32();if(be===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*be,4))return!1;for(var Re={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},it=[],yt=0;yt=3.8?(this._rfbInitState="SecurityResult",!0):(this._rfbInitState="ClientInitialisation",this._initMsg());case 22:return this._negotiateXvpAuth();case 2:return this._negotiateStdVNCAuth();case 16:return this._negotiateTightAuth();case 19:return this._negotiateVeNCryptAuth();case 129:return this._negotiateTightUnixAuth();default:return this._fail("Unsupported auth scheme (scheme: "+this._rfbAuthScheme+")")}}},{key:"_handleSecurityResult",value:function(){if(this._sock.rQwait("VNC auth response ",4))return!1;var me=this._sock.rQshift32();return me===0?(this._rfbInitState="ClientInitialisation",b.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=me,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:me}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var me=this._sock.rQshift16(),be=this._sock.rQshift16(),Re=this._sock.rQshift8(),it=this._sock.rQshift8(),yt=this._sock.rQshift8(),pt=this._sock.rQshift8(),Pe=this._sock.rQshift16(),Nt=this._sock.rQshift16(),ut=this._sock.rQshift16(),Ft=this._sock.rQshift8(),Ut=this._sock.rQshift8(),Kt=this._sock.rQshift8();this._sock.rQskipBytes(3);var $t=this._sock.rQshift32();if(this._sock.rQwait("server init name",$t,24))return!1;var or=this._sock.rQshiftStr($t);if(or=(0,A.decodeUTF8)(or,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+$t))return!1;var ht=this._sock.rQshift16(),Ee=this._sock.rQshift16(),de=this._sock.rQshift16();this._sock.rQskipBytes(2);var qe=(ht+Ee+de)*16;if(this._sock.rQwait("TightVNC extended server init header",qe,32+$t))return!1;this._sock.rQskipBytes(16*ht),this._sock.rQskipBytes(16*Ee),this._sock.rQskipBytes(16*de)}return b.Info("Screen: "+me+"x"+be+", bpp: "+Re+", depth: "+it+", bigEndian: "+yt+", trueColor: "+pt+", redMax: "+Pe+", greenMax: "+Nt+", blueMax: "+ut+", redShift: "+Ft+", greenShift: "+Ut+", blueShift: "+Kt),this._setDesktopName(or),this._resize(me,be),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(b.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),De.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),De.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var me=[];me.push(p.encodings.encodingCopyRect),this._fbDepth==24&&(me.push(p.encodings.encodingTight),me.push(p.encodings.encodingTightPNG),me.push(p.encodings.encodingHextile),me.push(p.encodings.encodingRRE)),me.push(p.encodings.encodingRaw),me.push(p.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),me.push(p.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),me.push(p.encodings.pseudoEncodingDesktopSize),me.push(p.encodings.pseudoEncodingLastRect),me.push(p.encodings.pseudoEncodingQEMUExtendedKeyEvent),me.push(p.encodings.pseudoEncodingExtendedDesktopSize),me.push(p.encodings.pseudoEncodingXvp),me.push(p.encodings.pseudoEncodingFence),me.push(p.encodings.pseudoEncodingContinuousUpdates),me.push(p.encodings.pseudoEncodingDesktopName),me.push(p.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(me.push(p.encodings.pseudoEncodingVMwareCursor),me.push(p.encodings.pseudoEncodingCursor)),De.messages.clientEncodings(this._sock,me)}},{key:"_initMsg",value:function(){switch(this._rfbInitState){case"ProtocolVersion":return this._negotiateProtocolVersion();case"Security":return this._negotiateSecurity();case"Authentication":return this._negotiateAuthentication();case"SecurityResult":return this._handleSecurityResult();case"SecurityReason":return this._handleSecurityReason();case"ClientInitialisation":return this._sock.send([this._shared?1:0]),this._rfbInitState="ServerInitialisation",!0;case"ServerInitialisation":return this._negotiateServerInit();default:return this._fail("Unknown init state (state: "+this._rfbInitState+")")}}},{key:"_handleSetColourMapMsg",value:function(){return b.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(b.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var me=this._sock.rQshift32();if(me=(0,x.toSigned32bit)(me),this._sock.rQwait("ServerCutText content",Math.abs(me),8))return!1;if(me>=0){var be=this._sock.rQshiftStr(me);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:be}}))}else{me=Math.abs(me);var Re=this._sock.rQshift32(),it=Re&65535,yt=Re&4278190080,pt=!!(yt&ue);if(pt){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Pe=0;Pe<=15;Pe++){var Nt=1<0&&or.charAt(or.length-1)==="\0"&&(or=or.slice(0,-1)),or=or.replace(`\r `,` -`),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:or}}))}}else return this._fail("Unexpected action in extended clipboard message: "+yt)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var me=this._sock.rQshift32(),be=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",be,9))return!1;be>64&&(b.Warn("Bad payload length ("+be+") in fence response"),be=64);var Re=this._sock.rQshiftStr(be);return this._supportsFence=!0,me&1<<31?(me&=1<<0|1<<1,De.messages.clientFence(this._sock,me,Re),!0):this._fail("Unexpected fence response")}},{key:"_handleXvpMsg",value:function(){if(this._sock.rQwait("XVP version and message",3,1))return!1;this._sock.rQskipBytes(1);var me=this._sock.rQshift8(),be=this._sock.rQshift8();switch(be){case 0:b.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=me,b.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+be+")");break}return!0}},{key:"_normalMsg",value:function(){var me;this._FBU.rects>0?me=0:me=this._sock.rQshift8();var be,Re;switch(me){case 0:return Re=this._framebufferUpdate(),Re&&!this._enabledContinuousUpdates&&De.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),Re;case 1:return this._handleSetColourMapMsg();case 2:return b.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return be=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,be&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),b.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+me+")"),b.Debug("sock.rQslice(0, 30): "+this._sock.rQslice(0,30)),!0}}},{key:"_onFlush",value:function(){this._flushing=!1,this._sock.rQlen>0&&this._handleMessage()}},{key:"_framebufferUpdate",value:function(){if(this._FBU.rects===0){if(this._sock.rQwait("FBU header",3,1))return!1;if(this._sock.rQskipBytes(1),this._FBU.rects=this._sock.rQshift16(),this._display.pending())return this._flushing=!0,this._display.flush(),!1}for(;this._FBU.rects>0;){if(this._FBU.encoding===null){if(this._sock.rQwait("rect header",12))return!1;var me=this._sock.rQshiftBytes(12);this._FBU.x=(me[0]<<8)+me[1],this._FBU.y=(me[2]<<8)+me[3],this._FBU.width=(me[4]<<8)+me[5],this._FBU.height=(me[6]<<8)+me[7],this._FBU.encoding=parseInt((me[8]<<24)+(me[9]<<16)+(me[10]<<8)+me[11],10)}if(!this._handleRect())return!1;this._FBU.rects--,this._FBU.encoding=null}return this._display.flip(),!0}},{key:"_handleRect",value:function(){switch(this._FBU.encoding){case p.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case p.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case p.encodings.pseudoEncodingCursor:return this._handleCursor();case p.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var me=document.createEvent("keyboardEvent");me.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(be){}return!0;case p.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case p.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case p.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var me=this._FBU.x,be=this._FBU.y,Re=this._FBU.width,it=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var yt=this._sock.rQshift8();this._sock.rQshift8();var pt,Pe=4;if(yt==0){var Nt=4294967040|0;if(pt=new Array(Re*it*Pe),this._sock.rQwait("VMware cursor classic encoding",Re*it*Pe*2,2))return!1;for(var ut=new Array(Re*it),Ft=0;Ft>8&255,Ee=or>>16&255,de=or>>24&255;pt[$t*Pe]=ht,pt[$t*Pe+1]=Ee,pt[$t*Pe+2]=de,pt[$t*Pe+3]=255}else(ut[$t]&Nt)==Nt?Ut[$t]==0?(pt[$t*Pe]=0,pt[$t*Pe+1]=0,pt[$t*Pe+2]=0,pt[$t*Pe+3]=0):((Ut[$t]&Nt)==Nt,pt[$t*Pe]=0,pt[$t*Pe+1]=0,pt[$t*Pe+2]=0,pt[$t*Pe+3]=255):(pt[$t*Pe]=0,pt[$t*Pe+1]=0,pt[$t*Pe+2]=0,pt[$t*Pe+3]=255)}else if(yt==1){if(this._sock.rQwait("VMware cursor alpha encoding",Re*it*4,2))return!1;pt=new Array(Re*it*Pe);for(var qe=0;qe>24&255,pt[qe*4+1]=rt>>16&255,pt[qe*4+2]=rt>>8&255,pt[qe*4+3]=rt&255}}else return b.Warn("The given cursor type is not supported: "+yt+" given."),!1;return this._updateCursor(pt,me,be,Re,it),!0}},{key:"_handleCursor",value:function(){var me=this._FBU.x,be=this._FBU.y,Re=this._FBU.width,it=this._FBU.height,yt=Re*it*4,pt=Math.ceil(Re/8)*it,Pe=yt+pt;if(this._sock.rQwait("cursor encoding",Pe))return!1;for(var Nt=this._sock.rQshiftBytes(yt),ut=this._sock.rQshiftBytes(pt),Ft=new Uint8Array(Re*it*4),Ut=0,Wt=0;Wt9){b.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===me)return;this._qualityLevel=me,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(me){if(!Number.isInteger(me)||me<0||me>9){b.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===me)return;this._compressionLevel=me,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(me,be){var Re=me.split("").map(function(it){return it.charCodeAt(0)});return new r.default(Re).encrypt(be)}}]),De}(m.default);R.default=te,te.messages={keyEvent:function(pe,De,Ne){var me=pe._sQ,be=pe._sQlen;me[be]=4,me[be+1]=Ne,me[be+2]=0,me[be+3]=0,me[be+4]=De>>24,me[be+5]=De>>16,me[be+6]=De>>8,me[be+7]=De,pe._sQlen+=8,pe.flush()},QEMUExtendedKeyEvent:function(pe,De,Ne,me){function be(pt){var Pe=me>>8,Nt=me&255;return Pe===224&&Nt<127?Nt|128:pt}var Re=pe._sQ,it=pe._sQlen;Re[it]=255,Re[it+1]=0,Re[it+2]=Ne>>8,Re[it+3]=Ne,Re[it+4]=De>>24,Re[it+5]=De>>16,Re[it+6]=De>>8,Re[it+7]=De;var yt=be(me);Re[it+8]=yt>>24,Re[it+9]=yt>>16,Re[it+10]=yt>>8,Re[it+11]=yt,pe._sQlen+=12,pe.flush()},pointerEvent:function(pe,De,Ne,me){var be=pe._sQ,Re=pe._sQlen;be[Re]=5,be[Re+1]=me,be[Re+2]=De>>8,be[Re+3]=De,be[Re+4]=Ne>>8,be[Re+5]=Ne,pe._sQlen+=6,pe.flush()},_buildExtendedClipboardFlags:function(pe,De){for(var Ne=new Uint8Array(4),me=0,be=0,Re=0;Re>24,Ne[1]=0,Ne[2]=0,Ne[3]=me,Ne},extendedClipboardProvide:function(pe,De,Ne){for(var me=new n.default,be=[],Re=0;Re64&&(b.Warn("Bad payload length ("+be+") in fence response"),be=64);var Re=this._sock.rQshiftStr(be);return this._supportsFence=!0,me&1<<31?(me&=1<<0|1<<1,De.messages.clientFence(this._sock,me,Re),!0):this._fail("Unexpected fence response")}},{key:"_handleXvpMsg",value:function(){if(this._sock.rQwait("XVP version and message",3,1))return!1;this._sock.rQskipBytes(1);var me=this._sock.rQshift8(),be=this._sock.rQshift8();switch(be){case 0:b.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=me,b.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+be+")");break}return!0}},{key:"_normalMsg",value:function(){var me;this._FBU.rects>0?me=0:me=this._sock.rQshift8();var be,Re;switch(me){case 0:return Re=this._framebufferUpdate(),Re&&!this._enabledContinuousUpdates&&De.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),Re;case 1:return this._handleSetColourMapMsg();case 2:return b.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return be=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,be&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),b.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+me+")"),b.Debug("sock.rQslice(0, 30): "+this._sock.rQslice(0,30)),!0}}},{key:"_onFlush",value:function(){this._flushing=!1,this._sock.rQlen>0&&this._handleMessage()}},{key:"_framebufferUpdate",value:function(){if(this._FBU.rects===0){if(this._sock.rQwait("FBU header",3,1))return!1;if(this._sock.rQskipBytes(1),this._FBU.rects=this._sock.rQshift16(),this._display.pending())return this._flushing=!0,this._display.flush(),!1}for(;this._FBU.rects>0;){if(this._FBU.encoding===null){if(this._sock.rQwait("rect header",12))return!1;var me=this._sock.rQshiftBytes(12);this._FBU.x=(me[0]<<8)+me[1],this._FBU.y=(me[2]<<8)+me[3],this._FBU.width=(me[4]<<8)+me[5],this._FBU.height=(me[6]<<8)+me[7],this._FBU.encoding=parseInt((me[8]<<24)+(me[9]<<16)+(me[10]<<8)+me[11],10)}if(!this._handleRect())return!1;this._FBU.rects--,this._FBU.encoding=null}return this._display.flip(),!0}},{key:"_handleRect",value:function(){switch(this._FBU.encoding){case p.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case p.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case p.encodings.pseudoEncodingCursor:return this._handleCursor();case p.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var me=document.createEvent("keyboardEvent");me.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(be){}return!0;case p.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case p.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case p.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var me=this._FBU.x,be=this._FBU.y,Re=this._FBU.width,it=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var yt=this._sock.rQshift8();this._sock.rQshift8();var pt,Pe=4;if(yt==0){var Nt=4294967040|0;if(pt=new Array(Re*it*Pe),this._sock.rQwait("VMware cursor classic encoding",Re*it*Pe*2,2))return!1;for(var ut=new Array(Re*it),Ft=0;Ft>8&255,Ee=or>>16&255,de=or>>24&255;pt[$t*Pe]=ht,pt[$t*Pe+1]=Ee,pt[$t*Pe+2]=de,pt[$t*Pe+3]=255}else(ut[$t]&Nt)==Nt?Ut[$t]==0?(pt[$t*Pe]=0,pt[$t*Pe+1]=0,pt[$t*Pe+2]=0,pt[$t*Pe+3]=0):((Ut[$t]&Nt)==Nt,pt[$t*Pe]=0,pt[$t*Pe+1]=0,pt[$t*Pe+2]=0,pt[$t*Pe+3]=255):(pt[$t*Pe]=0,pt[$t*Pe+1]=0,pt[$t*Pe+2]=0,pt[$t*Pe+3]=255)}else if(yt==1){if(this._sock.rQwait("VMware cursor alpha encoding",Re*it*4,2))return!1;pt=new Array(Re*it*Pe);for(var qe=0;qe>24&255,pt[qe*4+1]=rt>>16&255,pt[qe*4+2]=rt>>8&255,pt[qe*4+3]=rt&255}}else return b.Warn("The given cursor type is not supported: "+yt+" given."),!1;return this._updateCursor(pt,me,be,Re,it),!0}},{key:"_handleCursor",value:function(){var me=this._FBU.x,be=this._FBU.y,Re=this._FBU.width,it=this._FBU.height,yt=Re*it*4,pt=Math.ceil(Re/8)*it,Pe=yt+pt;if(this._sock.rQwait("cursor encoding",Pe))return!1;for(var Nt=this._sock.rQshiftBytes(yt),ut=this._sock.rQshiftBytes(pt),Ft=new Uint8Array(Re*it*4),Ut=0,Kt=0;Kt9){b.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===me)return;this._qualityLevel=me,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(me){if(!Number.isInteger(me)||me<0||me>9){b.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===me)return;this._compressionLevel=me,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(me,be){var Re=me.split("").map(function(it){return it.charCodeAt(0)});return new r.default(Re).encrypt(be)}}]),De}(m.default);R.default=te,te.messages={keyEvent:function(pe,De,Ne){var me=pe._sQ,be=pe._sQlen;me[be]=4,me[be+1]=Ne,me[be+2]=0,me[be+3]=0,me[be+4]=De>>24,me[be+5]=De>>16,me[be+6]=De>>8,me[be+7]=De,pe._sQlen+=8,pe.flush()},QEMUExtendedKeyEvent:function(pe,De,Ne,me){function be(pt){var Pe=me>>8,Nt=me&255;return Pe===224&&Nt<127?Nt|128:pt}var Re=pe._sQ,it=pe._sQlen;Re[it]=255,Re[it+1]=0,Re[it+2]=Ne>>8,Re[it+3]=Ne,Re[it+4]=De>>24,Re[it+5]=De>>16,Re[it+6]=De>>8,Re[it+7]=De;var yt=be(me);Re[it+8]=yt>>24,Re[it+9]=yt>>16,Re[it+10]=yt>>8,Re[it+11]=yt,pe._sQlen+=12,pe.flush()},pointerEvent:function(pe,De,Ne,me){var be=pe._sQ,Re=pe._sQlen;be[Re]=5,be[Re+1]=me,be[Re+2]=De>>8,be[Re+3]=De,be[Re+4]=Ne>>8,be[Re+5]=Ne,pe._sQlen+=6,pe.flush()},_buildExtendedClipboardFlags:function(pe,De){for(var Ne=new Uint8Array(4),me=0,be=0,Re=0;Re>24,Ne[1]=0,Ne[2]=0,Ne[3]=me,Ne},extendedClipboardProvide:function(pe,De,Ne){for(var me=new n.default,be=[],Re=0;Re>24&255,it.length>>16&255,it.length>>8&255,it.length&255);for(var yt=0;yt>24,be[Re+1]=Ne[me[it]]>>16,be[Re+2]=Ne[me[it]]>>8,be[Re+3]=Ne[me[it]]>>0,Re+=4,be[3]|=1<2&&arguments[2]!==void 0?arguments[2]:!1,me=pe._sQ,be=pe._sQlen;me[be]=6,me[be+1]=0,me[be+2]=0,me[be+3]=0;var Re;Ne?Re=(0,x.toUnsigned32bit)(-De.length):Re=De.length,me[be+4]=Re>>24,me[be+5]=Re>>16,me[be+6]=Re>>8,me[be+7]=Re,pe._sQlen+=8;for(var it=0,yt=De.length;yt>0;){for(var pt=Math.min(yt,pe._sQbufferSize-pe._sQlen),Pe=0;Pe>8,Re[it+3]=De,Re[it+4]=Ne>>8,Re[it+5]=Ne,Re[it+6]=1,Re[it+7]=0,Re[it+8]=me>>24,Re[it+9]=me>>16,Re[it+10]=me>>8,Re[it+11]=me,Re[it+12]=0,Re[it+13]=0,Re[it+14]=0,Re[it+15]=0,Re[it+16]=De>>8,Re[it+17]=De,Re[it+18]=Ne>>8,Re[it+19]=Ne,Re[it+20]=be>>24,Re[it+21]=be>>16,Re[it+22]=be>>8,Re[it+23]=be,pe._sQlen+=24,pe.flush()},clientFence:function(pe,De,Ne){var me=pe._sQ,be=pe._sQlen;me[be]=248,me[be+1]=0,me[be+2]=0,me[be+3]=0,me[be+4]=De>>24,me[be+5]=De>>16,me[be+6]=De>>8,me[be+7]=De;var Re=Ne.length;me[be+8]=Re;for(var it=0;it>8,it[yt+3]=Ne,it[yt+4]=me>>8,it[yt+5]=me,it[yt+6]=be>>8,it[yt+7]=be,it[yt+8]=Re>>8,it[yt+9]=Re,pe._sQlen+=10,pe.flush()},pixelFormat:function(pe,De,Ne){var me=pe._sQ,be=pe._sQlen,Re;De>16?Re=32:De>8?Re=16:Re=8;var it=Math.floor(De/3);me[be]=0,me[be+1]=0,me[be+2]=0,me[be+3]=0,me[be+4]=Re,me[be+5]=De,me[be+6]=0,me[be+7]=Ne?1:0,me[be+8]=0,me[be+9]=(1<>8,Ne[me+3]=De.length;for(var be=me+4,Re=0;Re>24,Ne[be+1]=it>>16,Ne[be+2]=it>>8,Ne[be+3]=it,be+=4}pe._sQlen+=be-me,pe.flush()},fbUpdateRequest:function(pe,De,Ne,me,be,Re){var it=pe._sQ,yt=pe._sQlen;typeof Ne=="undefined"&&(Ne=0),typeof me=="undefined"&&(me=0),it[yt]=3,it[yt+1]=De?1:0,it[yt+2]=Ne>>8&255,it[yt+3]=Ne&255,it[yt+4]=me>>8&255,it[yt+5]=me&255,it[yt+6]=be>>8&255,it[yt+7]=be&255,it[yt+8]=Re>>8&255,it[yt+9]=Re&255,pe._sQlen+=10,pe.flush()},xvpOp:function(pe,De,Ne){var me=pe._sQ,be=pe._sQlen;me[be]=250,me[be+1]=0,me[be+2]=De,me[be+3]=Ne,pe._sQlen+=4,pe.flush()}},te.cursors={none:{rgbaPixels:new Uint8Array,w:0,h:0,hotx:0,hoty:0},dot:{rgbaPixels:new Uint8Array([255,255,255,255,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,255,255,255,255,255]),w:3,h:3,hotx:1,hoty:1}}},"1eCo":function(j,R,l){(function(x){x(l("VrN/"))})(function(x){"use strict";var b={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},A={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};x.defineMode("xml",function(f,t){var e=f.indentUnit,m={},d=t.htmlMode?b:A;for(var a in d)m[a]=d[a];for(var a in t)m[a]=t[a];var n,s;function c(M,F){function H(J){return F.tokenize=J,J(M,F)}var B=M.next();if(B=="<")return M.eat("!")?M.eat("[")?M.match("CDATA[")?H(r("atom","]]>")):null:M.match("--")?H(r("comment","-->")):M.match("DOCTYPE",!0,!0)?(M.eatWhile(/[\w\._\-]/),H(o(1))):null:M.eat("?")?(M.eatWhile(/[\w\._\-]/),F.tokenize=r("meta","?>"),"meta"):(n=M.eat("/")?"closeTag":"openTag",F.tokenize=i,"tag bracket");if(B=="&"){var X;return M.eat("#")?M.eat("x")?X=M.eatWhile(/[a-fA-F\d]/)&&M.eat(";"):X=M.eatWhile(/[\d]/)&&M.eat(";"):X=M.eatWhile(/[\w\.\-:]/)&&M.eat(";"),X?"atom":"error"}else return M.eatWhile(/[^&<]/),null}c.isInText=!0;function i(M,F){var H=M.next();if(H==">"||H=="/"&&M.eat(">"))return F.tokenize=c,n=H==">"?"endTag":"selfcloseTag","tag bracket";if(H=="=")return n="equals",null;if(H=="<"){F.tokenize=c,F.state=v,F.tagName=F.tagStart=null;var B=F.tokenize(M,F);return B?B+" tag error":"tag error"}else return/[\'\"]/.test(H)?(F.tokenize=u(H),F.stringStartCol=M.column(),F.tokenize(M,F)):(M.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function u(M){var F=function(B,X){for(;!B.eol();)if(B.next()==M){X.tokenize=i;break}return"string"};return F.isInAttribute=!0,F}function r(M,F){return function(H,B){for(;!H.eol();){if(H.match(F)){B.tokenize=c;break}H.next()}return M}}function o(M){return function(F,H){for(var B;(B=F.next())!=null;){if(B=="<")return H.tokenize=o(M+1),H.tokenize(F,H);if(B==">")if(M==1){H.tokenize=c;break}else return H.tokenize=o(M-1),H.tokenize(F,H)}return"meta"}}function h(M,F,H){this.prev=M.context,this.tagName=F,this.indent=M.indented,this.startOfLine=H,(m.doNotIndent.hasOwnProperty(F)||M.context&&M.context.noIndent)&&(this.noIndent=!0)}function p(M){M.context&&(M.context=M.context.prev)}function g(M,F){for(var H;;){if(!M.context)return;if(H=M.context.tagName,!m.contextGrabbers.hasOwnProperty(H)||!m.contextGrabbers[H].hasOwnProperty(F))return;p(M)}}function v(M,F,H){return M=="openTag"?(H.tagStart=F.column(),y):M=="closeTag"?w:v}function y(M,F,H){return M=="word"?(H.tagName=F.current(),s="tag",I):m.allowMissingTagName&&M=="endTag"?(s="tag bracket",I(M,F,H)):(s="error",y)}function w(M,F,H){if(M=="word"){var B=F.current();return H.context&&H.context.tagName!=B&&m.implicitlyClosed.hasOwnProperty(H.context.tagName)&&p(H),H.context&&H.context.tagName==B||m.matchClosing===!1?(s="tag",S):(s="tag error",_)}else return m.allowMissingTagName&&M=="endTag"?(s="tag bracket",S(M,F,H)):(s="error",_)}function S(M,F,H){return M!="endTag"?(s="error",S):(p(H),v)}function _(M,F,H){return s="error",S(M,F,H)}function I(M,F,H){if(M=="word")return s="attribute",C;if(M=="endTag"||M=="selfcloseTag"){var B=H.tagName,X=H.tagStart;return H.tagName=H.tagStart=null,M=="selfcloseTag"||m.autoSelfClosers.hasOwnProperty(B)?g(H,B):(g(H,B),H.context=new h(H,B,X==H.indented)),v}return s="error",I}function C(M,F,H){return M=="equals"?E:(m.allowMissing||(s="error"),I(M,F,H))}function E(M,F,H){return M=="string"?O:M=="word"&&m.allowUnquoted?(s="string",I):(s="error",I(M,F,H))}function O(M,F,H){return M=="string"?O:I(M,F,H)}return{startState:function(F){var H={tokenize:c,state:v,indented:F||0,tagName:null,tagStart:null,context:null};return F!=null&&(H.baseIndent=F),H},token:function(F,H){if(!H.tagName&&F.sol()&&(H.indented=F.indentation()),F.eatSpace())return null;n=null;var B=H.tokenize(F,H);return(B||n)&&B!="comment"&&(s=null,H.state=H.state(n||B,F,H),s&&(B=s=="error"?B+" error":s)),B},indent:function(F,H,B){var X=F.context;if(F.tokenize.isInAttribute)return F.tagStart==F.indented?F.stringStartCol+1:F.indented+e;if(X&&X.noIndent)return x.Pass;if(F.tokenize!=i&&F.tokenize!=c)return B?B.match(/^(\s*)/)[0].length:0;if(F.tagName)return m.multilineTagIndentPastTag!==!1?F.tagStart+F.tagName.length+2:F.tagStart+e*(m.multilineTagIndentFactor||1);if(m.alignCDATA&&/$/,blockCommentStart:"",configuration:m.htmlMode?"html":"xml",helperType:m.htmlMode?"html":"xml",skipAttribute:function(F){F.state==E&&(F.state=I)},xmlCurrentTag:function(F){return F.tagName?{name:F.tagName,close:F.type=="closeTag"}:null},xmlCurrentContext:function(F){for(var H=[],B=F.context;B;B=B.prev)B.tagName&&H.push(B.tagName);return H.reverse()}}}),x.defineMIME("text/xml","xml"),x.defineMIME("application/xml","xml"),x.mimeModes.hasOwnProperty("text/html")||x.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1n7x":function(j,R,l){(function(x,b){/*! * html2pdf.js v0.10.1 * Copyright (c) 2021 Erik Koopmans * Released under the MIT License. -*/(function(f,t){j.exports=t(l("dtIV"),l("wOnQ"))})(self,function(A,f){return function(){var t={"./src/plugin/hyperlinks.js":function(n,s,c){"use strict";c.r(s);var i=c("./node_modules/core-js/modules/web.dom-collections.for-each.js"),u=c.n(i),r=c("./node_modules/core-js/modules/es.string.link.js"),o=c.n(r),h=c("./src/worker.js"),p=c("./src/utils.js"),g=[],v={toContainer:h.default.prototype.toContainer,toPdf:h.default.prototype.toPdf};h.default.prototype.toContainer=function(){return v.toContainer.call(this).then(function(){if(this.opt.enableLinks){var S=this.prop.container,_=S.querySelectorAll("a"),I=(0,p.unitConvert)(S.getBoundingClientRect(),this.prop.pageSize.k);g=[],Array.prototype.forEach.call(_,function(C){for(var E=C.getClientRects(),O=0;Oz){var P=K;K=z,z=P}}else if(F==="l"||F==="landscape"){if(F="l",z>K){var P=K;K=z,z=P}}else throw"Invalid orientation: "+F;var G={width:K,height:z,unit:H,k:W};return G},s.default=E.jsPDF},"./src/plugin/pagebreaks.js":function(n,s,c){"use strict";c.r(s);var i=c("./node_modules/core-js/modules/es.array.concat.js"),u=c.n(i),r=c("./node_modules/core-js/modules/es.array.slice.js"),o=c.n(r),h=c("./node_modules/core-js/modules/es.array.join.js"),p=c.n(h),g=c("./node_modules/core-js/modules/web.dom-collections.for-each.js"),v=c.n(g),y=c("./node_modules/core-js/modules/es.object.keys.js"),w=c.n(y),S=c("./src/worker.js"),_=c("./src/utils.js"),I={toContainer:S.default.prototype.toContainer};S.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},S.default.prototype.toContainer=function(){return I.toContainer.call(this).then(function(){var O=this.prop.container,M=this.prop.pageSize.inner.px.height,F=[].concat(this.opt.pagebreak.mode),H={avoidAll:F.indexOf("avoid-all")!==-1,css:F.indexOf("css")!==-1,legacy:F.indexOf("legacy")!==-1},B={},X=this;["before","after","avoid"].forEach(function(W){var z=H.avoidAll&&W==="avoid";B[W]=z?[]:[].concat(X.opt.pagebreak[W]||[]),B[W].length>0&&(B[W]=Array.prototype.slice.call(O.querySelectorAll(B[W].join(", "))))});var J=O.querySelectorAll(".html2pdf__page-break");J=Array.prototype.slice.call(J);var k=O.querySelectorAll("*");Array.prototype.forEach.call(k,function(z){var K={before:!1,after:H.legacy&&J.indexOf(z)!==-1,avoid:H.avoidAll};if(H.css){var P=window.getComputedStyle(z),G=["always","page","left","right"],V=["avoid","avoid-page"];K={before:K.before||G.indexOf(P.breakBefore||P.pageBreakBefore)!==-1,after:K.after||G.indexOf(P.breakAfter||P.pageBreakAfter)!==-1,avoid:K.avoid||V.indexOf(P.breakInside||P.pageBreakInside)!==-1}}Object.keys(K).forEach(function(xe){K[xe]=K[xe]||B[xe].indexOf(z)!==-1});var q=z.getBoundingClientRect();if(K.avoid&&!K.before){var re=Math.floor(q.top/M),ce=Math.floor(q.bottom/M),ie=Math.abs(q.bottom-q.top)/M;ce!==re&&ie<=1&&(K.before=!0)}if(K.before){var fe=(0,_.createElement)("div",{style:{display:"block",height:M-q.top%M+"px"}});z.parentNode.insertBefore(fe,z)}if(K.after){var fe=(0,_.createElement)("div",{style:{display:"block",height:M-q.bottom%M+"px"}});z.parentNode.insertBefore(fe,z.nextSibling)}})})}},"./src/utils.js":function(n,s,c){"use strict";c.r(s),c.d(s,{objType:function(){return F},createElement:function(){return H},cloneNode:function(){return B},unitConvert:function(){return X},toPx:function(){return J}});var i=c("./node_modules/core-js/modules/es.number.constructor.js"),u=c.n(i),r=c("./node_modules/core-js/modules/es.symbol.js"),o=c.n(r),h=c("./node_modules/core-js/modules/es.symbol.description.js"),p=c.n(h),g=c("./node_modules/core-js/modules/es.object.to-string.js"),v=c.n(g),y=c("./node_modules/core-js/modules/es.symbol.iterator.js"),w=c.n(y),S=c("./node_modules/core-js/modules/es.array.iterator.js"),_=c.n(S),I=c("./node_modules/core-js/modules/es.string.iterator.js"),C=c.n(I),E=c("./node_modules/core-js/modules/web.dom-collections.iterator.js"),O=c.n(E);function M(k){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M=function(z){return typeof z}:M=function(z){return z&&typeof Symbol=="function"&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z},M(k)}var F=function(W){var z=M(W);return z==="undefined"?"undefined":z==="string"||W instanceof String?"string":z==="number"||W instanceof Number?"number":z==="function"||W instanceof Function?"function":!!W&&W.constructor===Array?"array":W&&W.nodeType===1?"element":z==="object"?"object":"unknown"},H=function(W,z){var K=document.createElement(W);if(z.className&&(K.className=z.className),z.innerHTML){K.innerHTML=z.innerHTML;for(var P=K.getElementsByTagName("script"),G=P.length;G-- >0;null)P[G].parentNode.removeChild(P[G])}for(var V in z.style)K.style[V]=z.style[V];return K},B=function k(W,z){for(var K=W.nodeType===3?document.createTextNode(W.nodeValue):W.cloneNode(!1),P=W.firstChild;P;P=P.nextSibling)(z===!0||P.nodeType!==1||P.nodeName!=="SCRIPT")&&K.appendChild(k(P,z));return W.nodeType===1&&(W.nodeName==="CANVAS"?(K.width=W.width,K.height=W.height,K.getContext("2d").drawImage(W,0,0)):(W.nodeName==="TEXTAREA"||W.nodeName==="SELECT")&&(K.value=W.value),K.addEventListener("load",function(){K.scrollTop=W.scrollTop,K.scrollLeft=W.scrollLeft},!0)),K},X=function(W,z){if(F(W)==="number")return W*72/96/z;var K={};for(var P in W)K[P]=W[P]*72/96/z;return K},J=function(W,z){return Math.floor(W*z/72*96)}},"./src/worker.js":function(n,s,c){"use strict";c.r(s);var i=c("./node_modules/core-js/modules/es.object.assign.js"),u=c.n(i),r=c("./node_modules/core-js/modules/es.array.map.js"),o=c.n(r),h=c("./node_modules/core-js/modules/es.object.keys.js"),p=c.n(h),g=c("./node_modules/core-js/modules/es.array.concat.js"),v=c.n(g),y=c("./node_modules/core-js/modules/es.object.to-string.js"),w=c.n(y),S=c("./node_modules/core-js/modules/es.regexp.to-string.js"),_=c.n(S),I=c("./node_modules/core-js/modules/es.function.name.js"),C=c.n(I),E=c("./node_modules/core-js/modules/web.dom-collections.for-each.js"),O=c.n(E),M=c("jspdf"),F=c.n(M),H=c("html2canvas"),B=c.n(H),X=c("./src/utils.js"),J=c("./node_modules/es6-promise/dist/es6-promise.js"),k=c.n(J),W=k().Promise,z=function K(P){var G=Object.assign(K.convert(W.resolve()),JSON.parse(JSON.stringify(K.template))),V=K.convert(W.resolve(),G);return V=V.setProgress(1,K,1,[K]),V=V.set(P),V};z.prototype=Object.create(W.prototype),z.prototype.constructor=z,z.convert=function(P,G){return P.__proto__=G||z.prototype,P},z.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},z.prototype.from=function(P,G){function V(q){switch((0,X.objType)(q)){case"string":return"string";case"element":return q.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){G=G||V(P);switch(G){case"string":return this.set({src:(0,X.createElement)("div",{innerHTML:P})});case"element":return this.set({src:P});case"canvas":return this.set({canvas:P});case"img":return this.set({img:P});default:return this.error("Unknown source type.")}})},z.prototype.to=function(P){switch(P){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},z.prototype.toContainer=function(){var P=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(P).then(function(){var V={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},q={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};V.opacity=0;var re=(0,X.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,X.createElement)("div",{className:"html2pdf__overlay",style:V}),this.prop.container=(0,X.createElement)("div",{className:"html2pdf__container",style:q}),this.prop.container.appendChild(re),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},z.prototype.toCanvas=function(){var P=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(P).then(function(){var V=Object.assign({},this.opt.html2canvas);return delete V.onrendered,H(this.prop.container,V)}).then(function(V){var q=this.opt.html2canvas.onrendered||function(){};q(V),this.prop.canvas=V,document.body.removeChild(this.prop.overlay)})},z.prototype.toImg=function(){var P=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(P).then(function(){var V=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=V})},z.prototype.toPdf=function(){var P=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(P).then(function(){var V=this.prop.canvas,q=this.opt,re=V.height,ce=Math.floor(V.width*this.prop.pageSize.inner.ratio),ie=Math.ceil(re/ce),fe=this.prop.pageSize.inner.height,xe=document.createElement("canvas"),Se=xe.getContext("2d");xe.width=V.width,xe.height=ce,this.prop.pdf=this.prop.pdf||new M.jsPDF(q.jsPDF);for(var ke=0;ke1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-indexed-object.js"),u=c("./node_modules/core-js/internals/to-length.js"),r=c("./node_modules/core-js/internals/to-absolute-index.js"),o=function(p){return function(g,v,y){var w=i(g),S=u(w.length),_=r(y,S),I;if(p&&v!=v){for(;S>_;)if(I=w[_++],I!=I)return!0}else for(;S>_;_++)if((p||_ in w)&&w[_]===v)return p||_||0;return!p&&-1}};n.exports={includes:o(!0),indexOf:o(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(n,s,c){var i=c("./node_modules/core-js/internals/function-bind-context.js"),u=c("./node_modules/core-js/internals/indexed-object.js"),r=c("./node_modules/core-js/internals/to-object.js"),o=c("./node_modules/core-js/internals/to-length.js"),h=c("./node_modules/core-js/internals/array-species-create.js"),p=[].push,g=function(y){var w=y==1,S=y==2,_=y==3,I=y==4,C=y==6,E=y==7,O=y==5||C;return function(M,F,H,B){for(var X=r(M),J=u(X),k=i(F,H,3),W=o(J.length),z=0,K=B||h,P=w?K(M,W):S||E?K(M,0):void 0,G,V;W>z;z++)if((O||z in J)&&(G=J[z],V=k(G,z,X),y))if(w)P[z]=V;else if(V)switch(y){case 3:return!0;case 5:return G;case 6:return z;case 2:p.call(P,G)}else switch(y){case 4:return!1;case 7:p.call(P,G)}return C?-1:_||I?I:P}};n.exports={forEach:g(0),map:g(1),filter:g(2),some:g(3),every:g(4),find:g(5),findIndex:g(6),filterReject:g(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(n,s,c){var i=c("./node_modules/core-js/internals/fails.js"),u=c("./node_modules/core-js/internals/well-known-symbol.js"),r=c("./node_modules/core-js/internals/engine-v8-version.js"),o=u("species");n.exports=function(h){return r>=51||!i(function(){var p=[],g=p.constructor={};return g[o]=function(){return{foo:1}},p[h](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/fails.js");n.exports=function(u,r){var o=[][u];return!!o&&i(function(){o.call(null,r||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(n,s,c){var i=c("./node_modules/core-js/internals/is-object.js"),u=c("./node_modules/core-js/internals/is-array.js"),r=c("./node_modules/core-js/internals/well-known-symbol.js"),o=r("species");n.exports=function(h){var p;return u(h)&&(p=h.constructor,typeof p=="function"&&(p===Array||u(p.prototype))?p=void 0:i(p)&&(p=p[o],p===null&&(p=void 0))),p===void 0?Array:p}},"./node_modules/core-js/internals/array-species-create.js":function(n,s,c){var i=c("./node_modules/core-js/internals/array-species-constructor.js");n.exports=function(u,r){return new(i(u))(r===0?0:r)}},"./node_modules/core-js/internals/classof-raw.js":function(n){var s={}.toString;n.exports=function(c){return s.call(c).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-string-tag-support.js"),u=c("./node_modules/core-js/internals/classof-raw.js"),r=c("./node_modules/core-js/internals/well-known-symbol.js"),o=r("toStringTag"),h=u(function(){return arguments}())=="Arguments",p=function(v,y){try{return v[y]}catch(w){}};n.exports=i?u:function(g){var v,y,w;return g===void 0?"Undefined":g===null?"Null":typeof(y=p(v=Object(g),o))=="string"?y:h?u(v):(w=u(v))=="Object"&&typeof v.callee=="function"?"Arguments":w}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,s,c){var i=c("./node_modules/core-js/internals/has.js"),u=c("./node_modules/core-js/internals/own-keys.js"),r=c("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),o=c("./node_modules/core-js/internals/object-define-property.js");n.exports=function(h,p){for(var g=u(p),v=o.f,y=r.f,w=0;w"+v+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,u=c("./node_modules/core-js/internals/object-create.js"),r=c("./node_modules/core-js/internals/create-property-descriptor.js"),o=c("./node_modules/core-js/internals/set-to-string-tag.js"),h=c("./node_modules/core-js/internals/iterators.js"),p=function(){return this};n.exports=function(g,v,y){var w=v+" Iterator";return g.prototype=u(i,{next:r(1,y)}),o(g,w,!1,!0),h[w]=p,g}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(n,s,c){var i=c("./node_modules/core-js/internals/descriptors.js"),u=c("./node_modules/core-js/internals/object-define-property.js"),r=c("./node_modules/core-js/internals/create-property-descriptor.js");n.exports=i?function(o,h,p){return u.f(o,h,r(1,p))}:function(o,h,p){return o[h]=p,o}},"./node_modules/core-js/internals/create-property-descriptor.js":function(n){n.exports=function(s,c){return{enumerable:!(s&1),configurable:!(s&2),writable:!(s&4),value:c}}},"./node_modules/core-js/internals/create-property.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/to-property-key.js"),u=c("./node_modules/core-js/internals/object-define-property.js"),r=c("./node_modules/core-js/internals/create-property-descriptor.js");n.exports=function(o,h,p){var g=i(h);g in o?u.f(o,g,r(0,p)):o[g]=p}},"./node_modules/core-js/internals/define-iterator.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/create-iterator-constructor.js"),r=c("./node_modules/core-js/internals/object-get-prototype-of.js"),o=c("./node_modules/core-js/internals/object-set-prototype-of.js"),h=c("./node_modules/core-js/internals/set-to-string-tag.js"),p=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),g=c("./node_modules/core-js/internals/redefine.js"),v=c("./node_modules/core-js/internals/well-known-symbol.js"),y=c("./node_modules/core-js/internals/is-pure.js"),w=c("./node_modules/core-js/internals/iterators.js"),S=c("./node_modules/core-js/internals/iterators-core.js"),_=S.IteratorPrototype,I=S.BUGGY_SAFARI_ITERATORS,C=v("iterator"),E="keys",O="values",M="entries",F=function(){return this};n.exports=function(H,B,X,J,k,W,z){u(X,B,J);var K=function(ke){if(ke===k&&re)return re;if(!I&&ke in V)return V[ke];switch(ke){case E:return function(){return new X(this,ke)};case O:return function(){return new X(this,ke)};case M:return function(){return new X(this,ke)}}return function(){return new X(this)}},P=B+" Iterator",G=!1,V=H.prototype,q=V[C]||V["@@iterator"]||k&&V[k],re=!I&&q||K(k),ce=B=="Array"&&V.entries||q,ie,fe,xe;if(ce&&(ie=r(ce.call(new H)),_!==Object.prototype&&ie.next&&(!y&&r(ie)!==_&&(o?o(ie,_):typeof ie[C]!="function"&&p(ie,C,F)),h(ie,P,!0,!0),y&&(w[P]=F))),k==O&&q&&q.name!==O&&(G=!0,re=function(){return q.call(this)}),(!y||z)&&V[C]!==re&&p(V,C,re),w[B]=re,k)if(fe={values:K(O),keys:W?re:K(E),entries:K(M)},z)for(xe in fe)(I||G||!(xe in V))&&g(V,xe,fe[xe]);else i({target:B,proto:!0,forced:I||G},fe);return fe}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(n,s,c){var i=c("./node_modules/core-js/internals/path.js"),u=c("./node_modules/core-js/internals/has.js"),r=c("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),o=c("./node_modules/core-js/internals/object-define-property.js").f;n.exports=function(h){var p=i.Symbol||(i.Symbol={});u(p,h)||o(p,h,{value:r.f(h)})}},"./node_modules/core-js/internals/descriptors.js":function(n,s,c){var i=c("./node_modules/core-js/internals/fails.js");n.exports=!i(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/is-object.js"),r=i.document,o=u(r)&&u(r.createElement);n.exports=function(h){return o?r.createElement(h):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(n){n.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(n,s,c){var i=c("./node_modules/core-js/internals/get-built-in.js");n.exports=i("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/engine-user-agent.js"),r=i.process,o=i.Deno,h=r&&r.versions||o&&o.version,p=h&&h.v8,g,v;p?(g=p.split("."),v=g[0]<4?1:g[0]+g[1]):u&&(g=u.match(/Edge\/(\d+)/),(!g||g[1]>=74)&&(g=u.match(/Chrome\/(\d+)/),g&&(v=g[1]))),n.exports=v&&+v},"./node_modules/core-js/internals/enum-bug-keys.js":function(n){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,r=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),o=c("./node_modules/core-js/internals/redefine.js"),h=c("./node_modules/core-js/internals/set-global.js"),p=c("./node_modules/core-js/internals/copy-constructor-properties.js"),g=c("./node_modules/core-js/internals/is-forced.js");n.exports=function(v,y){var w=v.target,S=v.global,_=v.stat,I,C,E,O,M,F;if(S?C=i:_?C=i[w]||h(w,{}):C=(i[w]||{}).prototype,C)for(E in y){if(M=y[E],v.noTargetGet?(F=u(C,E),O=F&&F.value):O=C[E],I=g(S?E:w+(_?".":"#")+E,v.forced),!I&&O!==void 0){if(typeof M===typeof O)continue;p(M,O)}(v.sham||O&&O.sham)&&r(M,"sham",!0),o(C,E,M,v)}}},"./node_modules/core-js/internals/fails.js":function(n){n.exports=function(s){try{return!!s()}catch(c){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(n,s,c){var i=c("./node_modules/core-js/internals/a-function.js");n.exports=function(u,r,o){if(i(u),r===void 0)return u;switch(o){case 0:return function(){return u.call(r)};case 1:return function(h){return u.call(r,h)};case 2:return function(h,p){return u.call(r,h,p)};case 3:return function(h,p,g){return u.call(r,h,p,g)}}return function(){return u.apply(r,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=function(o){return typeof o=="function"?o:void 0};n.exports=function(r,o){return arguments.length<2?u(i[r]):i[r]&&i[r][o]}},"./node_modules/core-js/internals/global.js":function(n){var s=function(i){return i&&i.Math==Math&&i};n.exports=s(typeof globalThis=="object"&&globalThis)||s(typeof window=="object"&&window)||s(typeof self=="object"&&self)||s(typeof x=="object"&&x)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-object.js"),u={}.hasOwnProperty;n.exports=Object.hasOwn||function(o,h){return u.call(i(o),h)}},"./node_modules/core-js/internals/hidden-keys.js":function(n){n.exports={}},"./node_modules/core-js/internals/html.js":function(n,s,c){var i=c("./node_modules/core-js/internals/get-built-in.js");n.exports=i("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(n,s,c){var i=c("./node_modules/core-js/internals/descriptors.js"),u=c("./node_modules/core-js/internals/fails.js"),r=c("./node_modules/core-js/internals/document-create-element.js");n.exports=!i&&!u(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(n,s,c){var i=c("./node_modules/core-js/internals/fails.js"),u=c("./node_modules/core-js/internals/classof-raw.js"),r="".split;n.exports=i(function(){return!Object("z").propertyIsEnumerable(0)})?function(o){return u(o)=="String"?r.call(o,""):Object(o)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(n,s,c){var i=c("./node_modules/core-js/internals/is-object.js"),u=c("./node_modules/core-js/internals/object-set-prototype-of.js");n.exports=function(r,o,h){var p,g;return u&&typeof(p=o.constructor)=="function"&&p!==h&&i(g=p.prototype)&&g!==h.prototype&&u(r,g),r}},"./node_modules/core-js/internals/inspect-source.js":function(n,s,c){var i=c("./node_modules/core-js/internals/shared-store.js"),u=Function.toString;typeof i.inspectSource!="function"&&(i.inspectSource=function(r){return u.call(r)}),n.exports=i.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(n,s,c){var i=c("./node_modules/core-js/internals/native-weak-map.js"),u=c("./node_modules/core-js/internals/global.js"),r=c("./node_modules/core-js/internals/is-object.js"),o=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),h=c("./node_modules/core-js/internals/has.js"),p=c("./node_modules/core-js/internals/shared-store.js"),g=c("./node_modules/core-js/internals/shared-key.js"),v=c("./node_modules/core-js/internals/hidden-keys.js"),y="Object already initialized",w=u.WeakMap,S,_,I,C=function(J){return I(J)?_(J):S(J,{})},E=function(J){return function(k){var W;if(!r(k)||(W=_(k)).type!==J)throw TypeError("Incompatible receiver, "+J+" required");return W}};if(i||p.state){var O=p.state||(p.state=new w),M=O.get,F=O.has,H=O.set;S=function(J,k){if(F.call(O,J))throw new TypeError(y);return k.facade=J,H.call(O,J,k),k},_=function(J){return M.call(O,J)||{}},I=function(J){return F.call(O,J)}}else{var B=g("state");v[B]=!0,S=function(J,k){if(h(J,B))throw new TypeError(y);return k.facade=J,o(J,B,k),k},_=function(J){return h(J,B)?J[B]:{}},I=function(J){return h(J,B)}}n.exports={set:S,get:_,has:I,enforce:C,getterFor:E}},"./node_modules/core-js/internals/is-array.js":function(n,s,c){var i=c("./node_modules/core-js/internals/classof-raw.js");n.exports=Array.isArray||function(r){return i(r)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(n,s,c){var i=c("./node_modules/core-js/internals/fails.js"),u=/#|\.prototype\./,r=function(y,w){var S=h[o(y)];return S==g?!0:S==p?!1:typeof w=="function"?i(w):!!w},o=r.normalize=function(v){return String(v).replace(u,".").toLowerCase()},h=r.data={},p=r.NATIVE="N",g=r.POLYFILL="P";n.exports=r},"./node_modules/core-js/internals/is-object.js":function(n){n.exports=function(s){return typeof s=="object"?s!==null:typeof s=="function"}},"./node_modules/core-js/internals/is-pure.js":function(n){n.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(n,s,c){var i=c("./node_modules/core-js/internals/get-built-in.js"),u=c("./node_modules/core-js/internals/use-symbol-as-uid.js");n.exports=u?function(r){return typeof r=="symbol"}:function(r){var o=i("Symbol");return typeof o=="function"&&Object(r)instanceof o}},"./node_modules/core-js/internals/iterators-core.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/fails.js"),u=c("./node_modules/core-js/internals/object-get-prototype-of.js"),r=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),o=c("./node_modules/core-js/internals/has.js"),h=c("./node_modules/core-js/internals/well-known-symbol.js"),p=c("./node_modules/core-js/internals/is-pure.js"),g=h("iterator"),v=!1,y=function(){return this},w,S,_;[].keys&&(_=[].keys(),"next"in _?(S=u(u(_)),S!==Object.prototype&&(w=S)):v=!0);var I=w==null||i(function(){var C={};return w[g].call(C)!==C});I&&(w={}),(!p||I)&&!o(w,g)&&r(w,g,y),n.exports={IteratorPrototype:w,BUGGY_SAFARI_ITERATORS:v}},"./node_modules/core-js/internals/iterators.js":function(n){n.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(n,s,c){var i=c("./node_modules/core-js/internals/engine-v8-version.js"),u=c("./node_modules/core-js/internals/fails.js");n.exports=!!Object.getOwnPropertySymbols&&!u(function(){var r=Symbol();return!String(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&i&&i<41})},"./node_modules/core-js/internals/native-weak-map.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/inspect-source.js"),r=i.WeakMap;n.exports=typeof r=="function"&&/native code/.test(u(r))},"./node_modules/core-js/internals/object-assign.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/descriptors.js"),u=c("./node_modules/core-js/internals/fails.js"),r=c("./node_modules/core-js/internals/object-keys.js"),o=c("./node_modules/core-js/internals/object-get-own-property-symbols.js"),h=c("./node_modules/core-js/internals/object-property-is-enumerable.js"),p=c("./node_modules/core-js/internals/to-object.js"),g=c("./node_modules/core-js/internals/indexed-object.js"),v=Object.assign,y=Object.defineProperty;n.exports=!v||u(function(){if(i&&v({b:1},v(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var w={},S={},_=Symbol(),I="abcdefghijklmnopqrst";return w[_]=7,I.split("").forEach(function(C){S[C]=C}),v({},w)[_]!=7||r(v({},S)).join("")!=I})?function(S,_){for(var I=p(S),C=arguments.length,E=1,O=o.f,M=h.f;C>E;)for(var F=g(arguments[E++]),H=O?r(F).concat(O(F)):r(F),B=H.length,X=0,J;B>X;)J=H[X++],(!i||M.call(F,J))&&(I[J]=F[J]);return I}:v},"./node_modules/core-js/internals/object-create.js":function(n,s,c){var i=c("./node_modules/core-js/internals/an-object.js"),u=c("./node_modules/core-js/internals/object-define-properties.js"),r=c("./node_modules/core-js/internals/enum-bug-keys.js"),o=c("./node_modules/core-js/internals/hidden-keys.js"),h=c("./node_modules/core-js/internals/html.js"),p=c("./node_modules/core-js/internals/document-create-element.js"),g=c("./node_modules/core-js/internals/shared-key.js"),v=">",y="<",w="prototype",S="script",_=g("IE_PROTO"),I=function(){},C=function(B){return y+S+v+B+y+"/"+S+v},E=function(B){B.write(C("")),B.close();var X=B.parentWindow.Object;return B=null,X},O=function(){var B=p("iframe"),X="java"+S+":",J;if(B.style)return B.style.display="none",h.appendChild(B),B.src=String(X),J=B.contentWindow.document,J.open(),J.write(C("document.F=Object")),J.close(),J.F},M,F=function(){try{M=new ActiveXObject("htmlfile")}catch(X){}F=document.domain&&M?E(M):O()||E(M);for(var B=r.length;B--;)delete F[w][r[B]];return F()};o[_]=!0,n.exports=Object.create||function(B,X){var J;return B!==null?(I[w]=i(B),J=new I,I[w]=null,J[_]=B):J=F(),X===void 0?J:u(J,X)}},"./node_modules/core-js/internals/object-define-properties.js":function(n,s,c){var i=c("./node_modules/core-js/internals/descriptors.js"),u=c("./node_modules/core-js/internals/object-define-property.js"),r=c("./node_modules/core-js/internals/an-object.js"),o=c("./node_modules/core-js/internals/object-keys.js");n.exports=i?Object.defineProperties:function(p,g){r(p);for(var v=o(g),y=v.length,w=0,S;y>w;)u.f(p,S=v[w++],g[S]);return p}},"./node_modules/core-js/internals/object-define-property.js":function(n,s,c){var i=c("./node_modules/core-js/internals/descriptors.js"),u=c("./node_modules/core-js/internals/ie8-dom-define.js"),r=c("./node_modules/core-js/internals/an-object.js"),o=c("./node_modules/core-js/internals/to-property-key.js"),h=Object.defineProperty;s.f=i?h:function(g,v,y){if(r(g),v=o(v),r(y),u)try{return h(g,v,y)}catch(w){}if("get"in y||"set"in y)throw TypeError("Accessors not supported");return"value"in y&&(g[v]=y.value),g}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,s,c){var i=c("./node_modules/core-js/internals/descriptors.js"),u=c("./node_modules/core-js/internals/object-property-is-enumerable.js"),r=c("./node_modules/core-js/internals/create-property-descriptor.js"),o=c("./node_modules/core-js/internals/to-indexed-object.js"),h=c("./node_modules/core-js/internals/to-property-key.js"),p=c("./node_modules/core-js/internals/has.js"),g=c("./node_modules/core-js/internals/ie8-dom-define.js"),v=Object.getOwnPropertyDescriptor;s.f=i?v:function(w,S){if(w=o(w),S=h(S),g)try{return v(w,S)}catch(_){}if(p(w,S))return r(!u.f.call(w,S),w[S])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-indexed-object.js"),u=c("./node_modules/core-js/internals/object-get-own-property-names.js").f,r={}.toString,o=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],h=function(g){try{return u(g)}catch(v){return o.slice()}};n.exports.f=function(g){return o&&r.call(g)=="[object Window]"?h(g):u(i(g))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,s,c){var i=c("./node_modules/core-js/internals/object-keys-internal.js"),u=c("./node_modules/core-js/internals/enum-bug-keys.js"),r=u.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(h){return i(h,r)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,s){s.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,s,c){var i=c("./node_modules/core-js/internals/has.js"),u=c("./node_modules/core-js/internals/to-object.js"),r=c("./node_modules/core-js/internals/shared-key.js"),o=c("./node_modules/core-js/internals/correct-prototype-getter.js"),h=r("IE_PROTO"),p=Object.prototype;n.exports=o?Object.getPrototypeOf:function(g){return g=u(g),i(g,h)?g[h]:typeof g.constructor=="function"&&g instanceof g.constructor?g.constructor.prototype:g instanceof Object?p:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(n,s,c){var i=c("./node_modules/core-js/internals/has.js"),u=c("./node_modules/core-js/internals/to-indexed-object.js"),r=c("./node_modules/core-js/internals/array-includes.js").indexOf,o=c("./node_modules/core-js/internals/hidden-keys.js");n.exports=function(h,p){var g=u(h),v=0,y=[],w;for(w in g)!i(o,w)&&i(g,w)&&y.push(w);for(;p.length>v;)i(g,w=p[v++])&&(~r(y,w)||y.push(w));return y}},"./node_modules/core-js/internals/object-keys.js":function(n,s,c){var i=c("./node_modules/core-js/internals/object-keys-internal.js"),u=c("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(o){return i(o,u)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,s){"use strict";var c={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,u=i&&!c.call({1:2},1);s.f=u?function(o){var h=i(this,o);return!!h&&h.enumerable}:c},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,s,c){var i=c("./node_modules/core-js/internals/an-object.js"),u=c("./node_modules/core-js/internals/a-possible-prototype.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r=!1,o={},h;try{h=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,h.call(o,[]),r=o instanceof Array}catch(p){}return function(g,v){return i(g),u(v),r?h.call(g,v):g.__proto__=v,g}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/to-string-tag-support.js"),u=c("./node_modules/core-js/internals/classof.js");n.exports=i?{}.toString:function(){return"[object "+u(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(n,s,c){var i=c("./node_modules/core-js/internals/is-object.js");n.exports=function(u,r){var o,h;if(r==="string"&&typeof(o=u.toString)=="function"&&!i(h=o.call(u)))return h;if(typeof(o=u.valueOf)=="function"&&!i(h=o.call(u)))return h;if(r!=="string"&&typeof(o=u.toString)=="function"&&!i(h=o.call(u)))return h;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(n,s,c){var i=c("./node_modules/core-js/internals/get-built-in.js"),u=c("./node_modules/core-js/internals/object-get-own-property-names.js"),r=c("./node_modules/core-js/internals/object-get-own-property-symbols.js"),o=c("./node_modules/core-js/internals/an-object.js");n.exports=i("Reflect","ownKeys")||function(p){var g=u.f(o(p)),v=r.f;return v?g.concat(v(p)):g}},"./node_modules/core-js/internals/path.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js");n.exports=i},"./node_modules/core-js/internals/redefine.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),r=c("./node_modules/core-js/internals/has.js"),o=c("./node_modules/core-js/internals/set-global.js"),h=c("./node_modules/core-js/internals/inspect-source.js"),p=c("./node_modules/core-js/internals/internal-state.js"),g=p.get,v=p.enforce,y=String(String).split("String");(n.exports=function(w,S,_,I){var C=I?!!I.unsafe:!1,E=I?!!I.enumerable:!1,O=I?!!I.noTargetGet:!1,M;if(typeof _=="function"&&(typeof S=="string"&&!r(_,"name")&&u(_,"name",S),M=v(_),M.source||(M.source=y.join(typeof S=="string"?S:""))),w===i){E?w[S]=_:o(S,_);return}else C?!O&&w[S]&&(E=!0):delete w[S];E?w[S]=_:u(w,S,_)})(Function.prototype,"toString",function(){return typeof this=="function"&&g(this).source||h(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/an-object.js");n.exports=function(){var u=i(this),r="";return u.global&&(r+="g"),u.ignoreCase&&(r+="i"),u.multiline&&(r+="m"),u.dotAll&&(r+="s"),u.unicode&&(r+="u"),u.sticky&&(r+="y"),r}},"./node_modules/core-js/internals/require-object-coercible.js":function(n){n.exports=function(s){if(s==null)throw TypeError("Can't call method on "+s);return s}},"./node_modules/core-js/internals/set-global.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js");n.exports=function(u,r){try{Object.defineProperty(i,u,{value:r,configurable:!0,writable:!0})}catch(o){i[u]=r}return r}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,s,c){var i=c("./node_modules/core-js/internals/object-define-property.js").f,u=c("./node_modules/core-js/internals/has.js"),r=c("./node_modules/core-js/internals/well-known-symbol.js"),o=r("toStringTag");n.exports=function(h,p,g){h&&!u(h=g?h:h.prototype,o)&&i(h,o,{configurable:!0,value:p})}},"./node_modules/core-js/internals/shared-key.js":function(n,s,c){var i=c("./node_modules/core-js/internals/shared.js"),u=c("./node_modules/core-js/internals/uid.js"),r=i("keys");n.exports=function(o){return r[o]||(r[o]=u(o))}},"./node_modules/core-js/internals/shared-store.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/set-global.js"),r="__core-js_shared__",o=i[r]||u(r,{});n.exports=o},"./node_modules/core-js/internals/shared.js":function(n,s,c){var i=c("./node_modules/core-js/internals/is-pure.js"),u=c("./node_modules/core-js/internals/shared-store.js");(n.exports=function(r,o){return u[r]||(u[r]=o!==void 0?o:{})})("versions",[]).push({version:"3.16.0",mode:i?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(n,s,c){var i=c("./node_modules/core-js/internals/fails.js");n.exports=function(u){return i(function(){var r=""[u]('"');return r!==r.toLowerCase()||r.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-integer.js"),u=c("./node_modules/core-js/internals/to-string.js"),r=c("./node_modules/core-js/internals/require-object-coercible.js"),o=function(p){return function(g,v){var y=u(r(g)),w=i(v),S=y.length,_,I;return w<0||w>=S?p?"":void 0:(_=y.charCodeAt(w),_<55296||_>56319||w+1===S||(I=y.charCodeAt(w+1))<56320||I>57343?p?y.charAt(w):_:p?y.slice(w,w+2):(_-55296<<10)+(I-56320)+65536)}};n.exports={codeAt:o(!1),charAt:o(!0)}},"./node_modules/core-js/internals/string-trim.js":function(n,s,c){var i=c("./node_modules/core-js/internals/require-object-coercible.js"),u=c("./node_modules/core-js/internals/to-string.js"),r=c("./node_modules/core-js/internals/whitespaces.js"),o="["+r+"]",h=RegExp("^"+o+o+"*"),p=RegExp(o+o+"*$"),g=function(y){return function(w){var S=u(i(w));return y&1&&(S=S.replace(h,"")),y&2&&(S=S.replace(p,"")),S}};n.exports={start:g(1),end:g(2),trim:g(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-integer.js"),u=Math.max,r=Math.min;n.exports=function(o,h){var p=i(o);return p<0?u(p+h,0):r(p,h)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,s,c){var i=c("./node_modules/core-js/internals/indexed-object.js"),u=c("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(r){return i(u(r))}},"./node_modules/core-js/internals/to-integer.js":function(n){var s=Math.ceil,c=Math.floor;n.exports=function(i){return isNaN(i=+i)?0:(i>0?c:s)(i)}},"./node_modules/core-js/internals/to-length.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-integer.js"),u=Math.min;n.exports=function(r){return r>0?u(i(r),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,s,c){var i=c("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(u){return Object(i(u))}},"./node_modules/core-js/internals/to-primitive.js":function(n,s,c){var i=c("./node_modules/core-js/internals/is-object.js"),u=c("./node_modules/core-js/internals/is-symbol.js"),r=c("./node_modules/core-js/internals/ordinary-to-primitive.js"),o=c("./node_modules/core-js/internals/well-known-symbol.js"),h=o("toPrimitive");n.exports=function(p,g){if(!i(p)||u(p))return p;var v=p[h],y;if(v!==void 0){if(g===void 0&&(g="default"),y=v.call(p,g),!i(y)||u(y))return y;throw TypeError("Can't convert object to primitive value")}return g===void 0&&(g="number"),r(p,g)}},"./node_modules/core-js/internals/to-property-key.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-primitive.js"),u=c("./node_modules/core-js/internals/is-symbol.js");n.exports=function(r){var o=i(r,"string");return u(o)?o:String(o)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(n,s,c){var i=c("./node_modules/core-js/internals/well-known-symbol.js"),u=i("toStringTag"),r={};r[u]="z",n.exports=String(r)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(n,s,c){var i=c("./node_modules/core-js/internals/is-symbol.js");n.exports=function(u){if(i(u))throw TypeError("Cannot convert a Symbol value to a string");return String(u)}},"./node_modules/core-js/internals/uid.js":function(n){var s=0,c=Math.random();n.exports=function(i){return"Symbol("+String(i===void 0?"":i)+")_"+(++s+c).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(n,s,c){var i=c("./node_modules/core-js/internals/native-symbol.js");n.exports=i&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(n,s,c){var i=c("./node_modules/core-js/internals/well-known-symbol.js");s.f=i},"./node_modules/core-js/internals/well-known-symbol.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/shared.js"),r=c("./node_modules/core-js/internals/has.js"),o=c("./node_modules/core-js/internals/uid.js"),h=c("./node_modules/core-js/internals/native-symbol.js"),p=c("./node_modules/core-js/internals/use-symbol-as-uid.js"),g=u("wks"),v=i.Symbol,y=p?v:v&&v.withoutSetter||o;n.exports=function(w){return(!r(g,w)||!(h||typeof g[w]=="string"))&&(h&&r(v,w)?g[w]=v[w]:g[w]=y("Symbol."+w)),g[w]}},"./node_modules/core-js/internals/whitespaces.js":function(n){n.exports=` -\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/fails.js"),r=c("./node_modules/core-js/internals/is-array.js"),o=c("./node_modules/core-js/internals/is-object.js"),h=c("./node_modules/core-js/internals/to-object.js"),p=c("./node_modules/core-js/internals/to-length.js"),g=c("./node_modules/core-js/internals/create-property.js"),v=c("./node_modules/core-js/internals/array-species-create.js"),y=c("./node_modules/core-js/internals/array-method-has-species-support.js"),w=c("./node_modules/core-js/internals/well-known-symbol.js"),S=c("./node_modules/core-js/internals/engine-v8-version.js"),_=w("isConcatSpreadable"),I=9007199254740991,C="Maximum allowed index exceeded",E=S>=51||!u(function(){var H=[];return H[_]=!1,H.concat()[0]!==H}),O=y("concat"),M=function(B){if(!o(B))return!1;var X=B[_];return X!==void 0?!!X:r(B)},F=!E||!O;i({target:"Array",proto:!0,forced:F},{concat:function(B){var X=h(this),J=v(X,0),k=0,W,z,K,P,G;for(W=-1,K=arguments.length;WI)throw TypeError(C);for(z=0;z=I)throw TypeError(C);g(J,k++,G)}return J.length=k,J}})},"./node_modules/core-js/modules/es.array.iterator.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/to-indexed-object.js"),u=c("./node_modules/core-js/internals/add-to-unscopables.js"),r=c("./node_modules/core-js/internals/iterators.js"),o=c("./node_modules/core-js/internals/internal-state.js"),h=c("./node_modules/core-js/internals/define-iterator.js"),p="Array Iterator",g=o.set,v=o.getterFor(p);n.exports=h(Array,"Array",function(y,w){g(this,{type:p,target:i(y),index:0,kind:w})},function(){var y=v(this),w=y.target,S=y.kind,_=y.index++;return!w||_>=w.length?(y.target=void 0,{value:void 0,done:!0}):S=="keys"?{value:_,done:!1}:S=="values"?{value:w[_],done:!1}:{value:[_,w[_]],done:!1}},"values"),r.Arguments=r.Array,u("keys"),u("values"),u("entries")},"./node_modules/core-js/modules/es.array.join.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/indexed-object.js"),r=c("./node_modules/core-js/internals/to-indexed-object.js"),o=c("./node_modules/core-js/internals/array-method-is-strict.js"),h=[].join,p=u!=Object,g=o("join",",");i({target:"Array",proto:!0,forced:p||!g},{join:function(y){return h.call(r(this),y===void 0?",":y)}})},"./node_modules/core-js/modules/es.array.map.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/array-iteration.js").map,r=c("./node_modules/core-js/internals/array-method-has-species-support.js"),o=r("map");i({target:"Array",proto:!0,forced:!o},{map:function(p){return u(this,p,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/is-object.js"),r=c("./node_modules/core-js/internals/is-array.js"),o=c("./node_modules/core-js/internals/to-absolute-index.js"),h=c("./node_modules/core-js/internals/to-length.js"),p=c("./node_modules/core-js/internals/to-indexed-object.js"),g=c("./node_modules/core-js/internals/create-property.js"),v=c("./node_modules/core-js/internals/well-known-symbol.js"),y=c("./node_modules/core-js/internals/array-method-has-species-support.js"),w=y("slice"),S=v("species"),_=[].slice,I=Math.max;i({target:"Array",proto:!0,forced:!w},{slice:function(E,O){var M=p(this),F=h(M.length),H=o(E,F),B=o(O===void 0?F:O,F),X,J,k;if(r(M)&&(X=M.constructor,typeof X=="function"&&(X===Array||r(X.prototype))?X=void 0:u(X)&&(X=X[S],X===null&&(X=void 0)),X===Array||X===void 0))return _.call(M,H,B);for(J=new(X===void 0?Array:X)(I(B-H,0)),k=0;H2){if(P=E(P),G=P.charCodeAt(0),G===43||G===45){if(V=P.charCodeAt(2),V===88||V===120)return NaN}else if(G===48){switch(P.charCodeAt(1)){case 66:case 98:q=2,re=49;break;case 79:case 111:q=8,re=55;break;default:return+P}for(ce=P.slice(2),ie=ce.length,fe=0;fere)return NaN;return parseInt(ce,q)}}return+P};if(r(O,!M(" 0o1")||!M("0b1")||M("+0x1"))){for(var X=function(K){var P=arguments.length<1?0:K,G=this;return G instanceof X&&(H?w(function(){F.valueOf.call(G)}):p(G)!=O)?g(new M(B(P)),G,X):B(P)},J=i?_(M):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),k=0,W;J.length>k;k++)h(M,W=J[k])&&!h(X,W)&&C(X,W,I(M,W));X.prototype=F,F.constructor=X,o(u,O,X)}},"./node_modules/core-js/modules/es.object.assign.js":function(n,s,c){var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/object-assign.js");i({target:"Object",stat:!0,forced:Object.assign!==u},{assign:u})},"./node_modules/core-js/modules/es.object.keys.js":function(n,s,c){var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/to-object.js"),r=c("./node_modules/core-js/internals/object-keys.js"),o=c("./node_modules/core-js/internals/fails.js"),h=o(function(){r(1)});i({target:"Object",stat:!0,forced:h},{keys:function(g){return r(u(g))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-string-tag-support.js"),u=c("./node_modules/core-js/internals/redefine.js"),r=c("./node_modules/core-js/internals/object-to-string.js");i||u(Object.prototype,"toString",r,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/redefine.js"),u=c("./node_modules/core-js/internals/an-object.js"),r=c("./node_modules/core-js/internals/to-string.js"),o=c("./node_modules/core-js/internals/fails.js"),h=c("./node_modules/core-js/internals/regexp-flags.js"),p="toString",g=RegExp.prototype,v=g[p],y=o(function(){return v.call({source:"a",flags:"b"})!="/a/b"}),w=v.name!=p;(y||w)&&i(RegExp.prototype,p,function(){var _=u(this),I=r(_.source),C=_.flags,E=r(C===void 0&&_ instanceof RegExp&&!("flags"in g)?h.call(_):C);return"/"+I+"/"+E},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/string-multibyte.js").charAt,u=c("./node_modules/core-js/internals/to-string.js"),r=c("./node_modules/core-js/internals/internal-state.js"),o=c("./node_modules/core-js/internals/define-iterator.js"),h="String Iterator",p=r.set,g=r.getterFor(h);o(String,"String",function(v){p(this,{type:h,string:u(v),index:0})},function(){var y=g(this),w=y.string,S=y.index,_;return S>=w.length?{value:void 0,done:!0}:(_=i(w,S),y.index+=_.length,{value:_,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/create-html.js"),r=c("./node_modules/core-js/internals/string-html-forced.js");i({target:"String",proto:!0,forced:r("link")},{link:function(h){return u(this,"a","href",h)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/descriptors.js"),r=c("./node_modules/core-js/internals/global.js"),o=c("./node_modules/core-js/internals/has.js"),h=c("./node_modules/core-js/internals/is-object.js"),p=c("./node_modules/core-js/internals/object-define-property.js").f,g=c("./node_modules/core-js/internals/copy-constructor-properties.js"),v=r.Symbol;if(u&&typeof v=="function"&&(!("description"in v.prototype)||v().description!==void 0)){var y={},w=function(){var O=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),M=this instanceof w?new v(O):O===void 0?v():v(O);return O===""&&(y[M]=!0),M};g(w,v);var S=w.prototype=v.prototype;S.constructor=w;var _=S.toString,I=String(v("test"))=="Symbol(test)",C=/^Symbol\((.*)\)[^)]+$/;p(S,"description",{configurable:!0,get:function(){var O=h(this)?this.valueOf():this,M=_.call(O);if(o(y,O))return"";var F=I?M.slice(7,-1):M.replace(C,"$1");return F===""?void 0:F}}),i({global:!0,forced:!0},{Symbol:w})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(n,s,c){var i=c("./node_modules/core-js/internals/define-well-known-symbol.js");i("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/global.js"),r=c("./node_modules/core-js/internals/get-built-in.js"),o=c("./node_modules/core-js/internals/is-pure.js"),h=c("./node_modules/core-js/internals/descriptors.js"),p=c("./node_modules/core-js/internals/native-symbol.js"),g=c("./node_modules/core-js/internals/fails.js"),v=c("./node_modules/core-js/internals/has.js"),y=c("./node_modules/core-js/internals/is-array.js"),w=c("./node_modules/core-js/internals/is-object.js"),S=c("./node_modules/core-js/internals/is-symbol.js"),_=c("./node_modules/core-js/internals/an-object.js"),I=c("./node_modules/core-js/internals/to-object.js"),C=c("./node_modules/core-js/internals/to-indexed-object.js"),E=c("./node_modules/core-js/internals/to-property-key.js"),O=c("./node_modules/core-js/internals/to-string.js"),M=c("./node_modules/core-js/internals/create-property-descriptor.js"),F=c("./node_modules/core-js/internals/object-create.js"),H=c("./node_modules/core-js/internals/object-keys.js"),B=c("./node_modules/core-js/internals/object-get-own-property-names.js"),X=c("./node_modules/core-js/internals/object-get-own-property-names-external.js"),J=c("./node_modules/core-js/internals/object-get-own-property-symbols.js"),k=c("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),W=c("./node_modules/core-js/internals/object-define-property.js"),z=c("./node_modules/core-js/internals/object-property-is-enumerable.js"),K=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),P=c("./node_modules/core-js/internals/redefine.js"),G=c("./node_modules/core-js/internals/shared.js"),V=c("./node_modules/core-js/internals/shared-key.js"),q=c("./node_modules/core-js/internals/hidden-keys.js"),re=c("./node_modules/core-js/internals/uid.js"),ce=c("./node_modules/core-js/internals/well-known-symbol.js"),ie=c("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),fe=c("./node_modules/core-js/internals/define-well-known-symbol.js"),xe=c("./node_modules/core-js/internals/set-to-string-tag.js"),Se=c("./node_modules/core-js/internals/internal-state.js"),ke=c("./node_modules/core-js/internals/array-iteration.js").forEach,ge=V("hidden"),Be="Symbol",ee="prototype",ue=ce("toPrimitive"),Ge=Se.set,ae=Se.getterFor(Be),Z=Object[ee],Y=u.Symbol,te=r("JSON","stringify"),we=k.f,pe=W.f,De=X.f,Ne=z.f,me=G("symbols"),be=G("op-symbols"),Re=G("string-to-symbol-registry"),it=G("symbol-to-string-registry"),yt=G("wks"),pt=u.QObject,Pe=!pt||!pt[ee]||!pt[ee].findChild,Nt=h&&g(function(){return F(pe({},"a",{get:function(){return pe(this,"a",{value:7}).a}})).a!=7})?function(qe,rt,ve){var bt=we(Z,rt);bt&&delete Z[rt],pe(qe,rt,ve),bt&&qe!==Z&&pe(Z,rt,bt)}:pe,ut=function(rt,ve){var bt=me[rt]=F(Y[ee]);return Ge(bt,{type:Be,tag:rt,description:ve}),h||(bt.description=ve),bt},Ft=function(rt,ve,bt){rt===Z&&Ft(be,ve,bt),_(rt);var jt=E(ve);return _(bt),v(me,jt)?(bt.enumerable?(v(rt,ge)&&rt[ge][jt]&&(rt[ge][jt]=!1),bt=F(bt,{enumerable:M(0,!1)})):(v(rt,ge)||pe(rt,ge,M(1,{})),rt[ge][jt]=!0),Nt(rt,jt,bt)):pe(rt,jt,bt)},Ut=function(rt,ve){_(rt);var bt=C(ve),jt=H(bt).concat(Ee(bt));return ke(jt,function(He){(!h||$t.call(bt,He))&&Ft(rt,He,bt[He])}),rt},Wt=function(rt,ve){return ve===void 0?F(rt):Ut(F(rt),ve)},$t=function(rt){var ve=E(rt),bt=Ne.call(this,ve);return this===Z&&v(me,ve)&&!v(be,ve)?!1:bt||!v(this,ve)||!v(me,ve)||v(this,ge)&&this[ge][ve]?bt:!0},or=function(rt,ve){var bt=C(rt),jt=E(ve);if(bt===Z&&v(me,jt)&&!v(be,jt))return;var He=we(bt,jt);return He&&v(me,jt)&&!(v(bt,ge)&&bt[ge][jt])&&(He.enumerable=!0),He},ht=function(rt){var ve=De(C(rt)),bt=[];return ke(ve,function(jt){!v(me,jt)&&!v(q,jt)&&bt.push(jt)}),bt},Ee=function(rt){var ve=rt===Z,bt=De(ve?be:C(rt)),jt=[];return ke(bt,function(He){v(me,He)&&(!ve||v(Z,He))&&jt.push(me[He])}),jt};if(p||(Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var rt=!arguments.length||arguments[0]===void 0?void 0:O(arguments[0]),ve=re(rt),bt=function jt(He){this===Z&&jt.call(be,He),v(this,ge)&&v(this[ge],ve)&&(this[ge][ve]=!1),Nt(this,ve,M(1,He))};return h&&Pe&&Nt(Z,ve,{configurable:!0,set:bt}),ut(ve,rt)},P(Y[ee],"toString",function(){return ae(this).tag}),P(Y,"withoutSetter",function(qe){return ut(re(qe),qe)}),z.f=$t,W.f=Ft,k.f=or,B.f=X.f=ht,J.f=Ee,ie.f=function(qe){return ut(ce(qe),qe)},h&&(pe(Y[ee],"description",{configurable:!0,get:function(){return ae(this).description}}),o||P(Z,"propertyIsEnumerable",$t,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:Y}),ke(H(yt),function(qe){fe(qe)}),i({target:Be,stat:!0,forced:!p},{for:function(rt){var ve=O(rt);if(v(Re,ve))return Re[ve];var bt=Y(ve);return Re[ve]=bt,it[bt]=ve,bt},keyFor:function(rt){if(!S(rt))throw TypeError(rt+" is not a symbol");if(v(it,rt))return it[rt]},useSetter:function(){Pe=!0},useSimple:function(){Pe=!1}}),i({target:"Object",stat:!0,forced:!p,sham:!h},{create:Wt,defineProperty:Ft,defineProperties:Ut,getOwnPropertyDescriptor:or}),i({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:ht,getOwnPropertySymbols:Ee}),i({target:"Object",stat:!0,forced:g(function(){J.f(1)})},{getOwnPropertySymbols:function(rt){return J.f(I(rt))}}),te){var de=!p||g(function(){var qe=Y();return te([qe])!="[null]"||te({a:qe})!="{}"||te(Object(qe))!="{}"});i({target:"JSON",stat:!0,forced:de},{stringify:function(rt,ve,bt){for(var jt=[rt],He=1,kt;arguments.length>He;)jt.push(arguments[He++]);return kt=ve,!w(ve)&&rt===void 0||S(rt)?void 0:(y(ve)||(ve=function(at,Ht){if(typeof kt=="function"&&(Ht=kt.call(this,at,Ht)),!S(Ht))return Ht}),jt[1]=ve,te.apply(null,jt))}})}Y[ee][ue]||K(Y[ee],ue,Y[ee].valueOf),xe(Y,Be),q[ge]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/dom-iterables.js"),r=c("./node_modules/core-js/internals/array-for-each.js"),o=c("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var h in u){var p=i[h],g=p&&p.prototype;if(g&&g.forEach!==r)try{o(g,"forEach",r)}catch(v){g.forEach=r}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/dom-iterables.js"),r=c("./node_modules/core-js/modules/es.array.iterator.js"),o=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),h=c("./node_modules/core-js/internals/well-known-symbol.js"),p=h("iterator"),g=h("toStringTag"),v=r.values;for(var y in u){var w=i[y],S=w&&w.prototype;if(S){if(S[p]!==v)try{o(S,p,v)}catch(I){S[p]=v}if(S[g]||o(S,g,y),u[y]){for(var _ in r)if(S[_]!==r[_])try{o(S,_,r[_])}catch(I){S[_]=r[_]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(n){/*! +*/(function(f,t){j.exports=t(l("dtIV"),l("wOnQ"))})(self,function(A,f){return function(){var t={"./src/plugin/hyperlinks.js":function(n,s,c){"use strict";c.r(s);var i=c("./node_modules/core-js/modules/web.dom-collections.for-each.js"),u=c.n(i),r=c("./node_modules/core-js/modules/es.string.link.js"),o=c.n(r),h=c("./src/worker.js"),p=c("./src/utils.js"),g=[],v={toContainer:h.default.prototype.toContainer,toPdf:h.default.prototype.toPdf};h.default.prototype.toContainer=function(){return v.toContainer.call(this).then(function(){if(this.opt.enableLinks){var S=this.prop.container,_=S.querySelectorAll("a"),I=(0,p.unitConvert)(S.getBoundingClientRect(),this.prop.pageSize.k);g=[],Array.prototype.forEach.call(_,function(C){for(var E=C.getClientRects(),O=0;Oz){var P=W;W=z,z=P}}else if(F==="l"||F==="landscape"){if(F="l",z>W){var P=W;W=z,z=P}}else throw"Invalid orientation: "+F;var G={width:W,height:z,unit:H,k:K};return G},s.default=E.jsPDF},"./src/plugin/pagebreaks.js":function(n,s,c){"use strict";c.r(s);var i=c("./node_modules/core-js/modules/es.array.concat.js"),u=c.n(i),r=c("./node_modules/core-js/modules/es.array.slice.js"),o=c.n(r),h=c("./node_modules/core-js/modules/es.array.join.js"),p=c.n(h),g=c("./node_modules/core-js/modules/web.dom-collections.for-each.js"),v=c.n(g),y=c("./node_modules/core-js/modules/es.object.keys.js"),w=c.n(y),S=c("./src/worker.js"),_=c("./src/utils.js"),I={toContainer:S.default.prototype.toContainer};S.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},S.default.prototype.toContainer=function(){return I.toContainer.call(this).then(function(){var O=this.prop.container,M=this.prop.pageSize.inner.px.height,F=[].concat(this.opt.pagebreak.mode),H={avoidAll:F.indexOf("avoid-all")!==-1,css:F.indexOf("css")!==-1,legacy:F.indexOf("legacy")!==-1},B={},X=this;["before","after","avoid"].forEach(function(K){var z=H.avoidAll&&K==="avoid";B[K]=z?[]:[].concat(X.opt.pagebreak[K]||[]),B[K].length>0&&(B[K]=Array.prototype.slice.call(O.querySelectorAll(B[K].join(", "))))});var J=O.querySelectorAll(".html2pdf__page-break");J=Array.prototype.slice.call(J);var k=O.querySelectorAll("*");Array.prototype.forEach.call(k,function(z){var W={before:!1,after:H.legacy&&J.indexOf(z)!==-1,avoid:H.avoidAll};if(H.css){var P=window.getComputedStyle(z),G=["always","page","left","right"],V=["avoid","avoid-page"];W={before:W.before||G.indexOf(P.breakBefore||P.pageBreakBefore)!==-1,after:W.after||G.indexOf(P.breakAfter||P.pageBreakAfter)!==-1,avoid:W.avoid||V.indexOf(P.breakInside||P.pageBreakInside)!==-1}}Object.keys(W).forEach(function(xe){W[xe]=W[xe]||B[xe].indexOf(z)!==-1});var q=z.getBoundingClientRect();if(W.avoid&&!W.before){var re=Math.floor(q.top/M),ce=Math.floor(q.bottom/M),ie=Math.abs(q.bottom-q.top)/M;ce!==re&&ie<=1&&(W.before=!0)}if(W.before){var fe=(0,_.createElement)("div",{style:{display:"block",height:M-q.top%M+"px"}});z.parentNode.insertBefore(fe,z)}if(W.after){var fe=(0,_.createElement)("div",{style:{display:"block",height:M-q.bottom%M+"px"}});z.parentNode.insertBefore(fe,z.nextSibling)}})})}},"./src/utils.js":function(n,s,c){"use strict";c.r(s),c.d(s,{objType:function(){return F},createElement:function(){return H},cloneNode:function(){return B},unitConvert:function(){return X},toPx:function(){return J}});var i=c("./node_modules/core-js/modules/es.number.constructor.js"),u=c.n(i),r=c("./node_modules/core-js/modules/es.symbol.js"),o=c.n(r),h=c("./node_modules/core-js/modules/es.symbol.description.js"),p=c.n(h),g=c("./node_modules/core-js/modules/es.object.to-string.js"),v=c.n(g),y=c("./node_modules/core-js/modules/es.symbol.iterator.js"),w=c.n(y),S=c("./node_modules/core-js/modules/es.array.iterator.js"),_=c.n(S),I=c("./node_modules/core-js/modules/es.string.iterator.js"),C=c.n(I),E=c("./node_modules/core-js/modules/web.dom-collections.iterator.js"),O=c.n(E);function M(k){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M=function(z){return typeof z}:M=function(z){return z&&typeof Symbol=="function"&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z},M(k)}var F=function(K){var z=M(K);return z==="undefined"?"undefined":z==="string"||K instanceof String?"string":z==="number"||K instanceof Number?"number":z==="function"||K instanceof Function?"function":!!K&&K.constructor===Array?"array":K&&K.nodeType===1?"element":z==="object"?"object":"unknown"},H=function(K,z){var W=document.createElement(K);if(z.className&&(W.className=z.className),z.innerHTML){W.innerHTML=z.innerHTML;for(var P=W.getElementsByTagName("script"),G=P.length;G-- >0;null)P[G].parentNode.removeChild(P[G])}for(var V in z.style)W.style[V]=z.style[V];return W},B=function k(K,z){for(var W=K.nodeType===3?document.createTextNode(K.nodeValue):K.cloneNode(!1),P=K.firstChild;P;P=P.nextSibling)(z===!0||P.nodeType!==1||P.nodeName!=="SCRIPT")&&W.appendChild(k(P,z));return K.nodeType===1&&(K.nodeName==="CANVAS"?(W.width=K.width,W.height=K.height,W.getContext("2d").drawImage(K,0,0)):(K.nodeName==="TEXTAREA"||K.nodeName==="SELECT")&&(W.value=K.value),W.addEventListener("load",function(){W.scrollTop=K.scrollTop,W.scrollLeft=K.scrollLeft},!0)),W},X=function(K,z){if(F(K)==="number")return K*72/96/z;var W={};for(var P in K)W[P]=K[P]*72/96/z;return W},J=function(K,z){return Math.floor(K*z/72*96)}},"./src/worker.js":function(n,s,c){"use strict";c.r(s);var i=c("./node_modules/core-js/modules/es.object.assign.js"),u=c.n(i),r=c("./node_modules/core-js/modules/es.array.map.js"),o=c.n(r),h=c("./node_modules/core-js/modules/es.object.keys.js"),p=c.n(h),g=c("./node_modules/core-js/modules/es.array.concat.js"),v=c.n(g),y=c("./node_modules/core-js/modules/es.object.to-string.js"),w=c.n(y),S=c("./node_modules/core-js/modules/es.regexp.to-string.js"),_=c.n(S),I=c("./node_modules/core-js/modules/es.function.name.js"),C=c.n(I),E=c("./node_modules/core-js/modules/web.dom-collections.for-each.js"),O=c.n(E),M=c("jspdf"),F=c.n(M),H=c("html2canvas"),B=c.n(H),X=c("./src/utils.js"),J=c("./node_modules/es6-promise/dist/es6-promise.js"),k=c.n(J),K=k().Promise,z=function W(P){var G=Object.assign(W.convert(K.resolve()),JSON.parse(JSON.stringify(W.template))),V=W.convert(K.resolve(),G);return V=V.setProgress(1,W,1,[W]),V=V.set(P),V};z.prototype=Object.create(K.prototype),z.prototype.constructor=z,z.convert=function(P,G){return P.__proto__=G||z.prototype,P},z.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},z.prototype.from=function(P,G){function V(q){switch((0,X.objType)(q)){case"string":return"string";case"element":return q.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){G=G||V(P);switch(G){case"string":return this.set({src:(0,X.createElement)("div",{innerHTML:P})});case"element":return this.set({src:P});case"canvas":return this.set({canvas:P});case"img":return this.set({img:P});default:return this.error("Unknown source type.")}})},z.prototype.to=function(P){switch(P){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},z.prototype.toContainer=function(){var P=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(P).then(function(){var V={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},q={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};V.opacity=0;var re=(0,X.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,X.createElement)("div",{className:"html2pdf__overlay",style:V}),this.prop.container=(0,X.createElement)("div",{className:"html2pdf__container",style:q}),this.prop.container.appendChild(re),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},z.prototype.toCanvas=function(){var P=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(P).then(function(){var V=Object.assign({},this.opt.html2canvas);return delete V.onrendered,H(this.prop.container,V)}).then(function(V){var q=this.opt.html2canvas.onrendered||function(){};q(V),this.prop.canvas=V,document.body.removeChild(this.prop.overlay)})},z.prototype.toImg=function(){var P=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(P).then(function(){var V=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=V})},z.prototype.toPdf=function(){var P=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(P).then(function(){var V=this.prop.canvas,q=this.opt,re=V.height,ce=Math.floor(V.width*this.prop.pageSize.inner.ratio),ie=Math.ceil(re/ce),fe=this.prop.pageSize.inner.height,xe=document.createElement("canvas"),Se=xe.getContext("2d");xe.width=V.width,xe.height=ce,this.prop.pdf=this.prop.pdf||new M.jsPDF(q.jsPDF);for(var ke=0;ke1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-indexed-object.js"),u=c("./node_modules/core-js/internals/to-length.js"),r=c("./node_modules/core-js/internals/to-absolute-index.js"),o=function(p){return function(g,v,y){var w=i(g),S=u(w.length),_=r(y,S),I;if(p&&v!=v){for(;S>_;)if(I=w[_++],I!=I)return!0}else for(;S>_;_++)if((p||_ in w)&&w[_]===v)return p||_||0;return!p&&-1}};n.exports={includes:o(!0),indexOf:o(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(n,s,c){var i=c("./node_modules/core-js/internals/function-bind-context.js"),u=c("./node_modules/core-js/internals/indexed-object.js"),r=c("./node_modules/core-js/internals/to-object.js"),o=c("./node_modules/core-js/internals/to-length.js"),h=c("./node_modules/core-js/internals/array-species-create.js"),p=[].push,g=function(y){var w=y==1,S=y==2,_=y==3,I=y==4,C=y==6,E=y==7,O=y==5||C;return function(M,F,H,B){for(var X=r(M),J=u(X),k=i(F,H,3),K=o(J.length),z=0,W=B||h,P=w?W(M,K):S||E?W(M,0):void 0,G,V;K>z;z++)if((O||z in J)&&(G=J[z],V=k(G,z,X),y))if(w)P[z]=V;else if(V)switch(y){case 3:return!0;case 5:return G;case 6:return z;case 2:p.call(P,G)}else switch(y){case 4:return!1;case 7:p.call(P,G)}return C?-1:_||I?I:P}};n.exports={forEach:g(0),map:g(1),filter:g(2),some:g(3),every:g(4),find:g(5),findIndex:g(6),filterReject:g(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(n,s,c){var i=c("./node_modules/core-js/internals/fails.js"),u=c("./node_modules/core-js/internals/well-known-symbol.js"),r=c("./node_modules/core-js/internals/engine-v8-version.js"),o=u("species");n.exports=function(h){return r>=51||!i(function(){var p=[],g=p.constructor={};return g[o]=function(){return{foo:1}},p[h](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/fails.js");n.exports=function(u,r){var o=[][u];return!!o&&i(function(){o.call(null,r||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(n,s,c){var i=c("./node_modules/core-js/internals/is-object.js"),u=c("./node_modules/core-js/internals/is-array.js"),r=c("./node_modules/core-js/internals/well-known-symbol.js"),o=r("species");n.exports=function(h){var p;return u(h)&&(p=h.constructor,typeof p=="function"&&(p===Array||u(p.prototype))?p=void 0:i(p)&&(p=p[o],p===null&&(p=void 0))),p===void 0?Array:p}},"./node_modules/core-js/internals/array-species-create.js":function(n,s,c){var i=c("./node_modules/core-js/internals/array-species-constructor.js");n.exports=function(u,r){return new(i(u))(r===0?0:r)}},"./node_modules/core-js/internals/classof-raw.js":function(n){var s={}.toString;n.exports=function(c){return s.call(c).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-string-tag-support.js"),u=c("./node_modules/core-js/internals/classof-raw.js"),r=c("./node_modules/core-js/internals/well-known-symbol.js"),o=r("toStringTag"),h=u(function(){return arguments}())=="Arguments",p=function(v,y){try{return v[y]}catch(w){}};n.exports=i?u:function(g){var v,y,w;return g===void 0?"Undefined":g===null?"Null":typeof(y=p(v=Object(g),o))=="string"?y:h?u(v):(w=u(v))=="Object"&&typeof v.callee=="function"?"Arguments":w}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,s,c){var i=c("./node_modules/core-js/internals/has.js"),u=c("./node_modules/core-js/internals/own-keys.js"),r=c("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),o=c("./node_modules/core-js/internals/object-define-property.js");n.exports=function(h,p){for(var g=u(p),v=o.f,y=r.f,w=0;w"+v+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,u=c("./node_modules/core-js/internals/object-create.js"),r=c("./node_modules/core-js/internals/create-property-descriptor.js"),o=c("./node_modules/core-js/internals/set-to-string-tag.js"),h=c("./node_modules/core-js/internals/iterators.js"),p=function(){return this};n.exports=function(g,v,y){var w=v+" Iterator";return g.prototype=u(i,{next:r(1,y)}),o(g,w,!1,!0),h[w]=p,g}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(n,s,c){var i=c("./node_modules/core-js/internals/descriptors.js"),u=c("./node_modules/core-js/internals/object-define-property.js"),r=c("./node_modules/core-js/internals/create-property-descriptor.js");n.exports=i?function(o,h,p){return u.f(o,h,r(1,p))}:function(o,h,p){return o[h]=p,o}},"./node_modules/core-js/internals/create-property-descriptor.js":function(n){n.exports=function(s,c){return{enumerable:!(s&1),configurable:!(s&2),writable:!(s&4),value:c}}},"./node_modules/core-js/internals/create-property.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/to-property-key.js"),u=c("./node_modules/core-js/internals/object-define-property.js"),r=c("./node_modules/core-js/internals/create-property-descriptor.js");n.exports=function(o,h,p){var g=i(h);g in o?u.f(o,g,r(0,p)):o[g]=p}},"./node_modules/core-js/internals/define-iterator.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/create-iterator-constructor.js"),r=c("./node_modules/core-js/internals/object-get-prototype-of.js"),o=c("./node_modules/core-js/internals/object-set-prototype-of.js"),h=c("./node_modules/core-js/internals/set-to-string-tag.js"),p=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),g=c("./node_modules/core-js/internals/redefine.js"),v=c("./node_modules/core-js/internals/well-known-symbol.js"),y=c("./node_modules/core-js/internals/is-pure.js"),w=c("./node_modules/core-js/internals/iterators.js"),S=c("./node_modules/core-js/internals/iterators-core.js"),_=S.IteratorPrototype,I=S.BUGGY_SAFARI_ITERATORS,C=v("iterator"),E="keys",O="values",M="entries",F=function(){return this};n.exports=function(H,B,X,J,k,K,z){u(X,B,J);var W=function(ke){if(ke===k&&re)return re;if(!I&&ke in V)return V[ke];switch(ke){case E:return function(){return new X(this,ke)};case O:return function(){return new X(this,ke)};case M:return function(){return new X(this,ke)}}return function(){return new X(this)}},P=B+" Iterator",G=!1,V=H.prototype,q=V[C]||V["@@iterator"]||k&&V[k],re=!I&&q||W(k),ce=B=="Array"&&V.entries||q,ie,fe,xe;if(ce&&(ie=r(ce.call(new H)),_!==Object.prototype&&ie.next&&(!y&&r(ie)!==_&&(o?o(ie,_):typeof ie[C]!="function"&&p(ie,C,F)),h(ie,P,!0,!0),y&&(w[P]=F))),k==O&&q&&q.name!==O&&(G=!0,re=function(){return q.call(this)}),(!y||z)&&V[C]!==re&&p(V,C,re),w[B]=re,k)if(fe={values:W(O),keys:K?re:W(E),entries:W(M)},z)for(xe in fe)(I||G||!(xe in V))&&g(V,xe,fe[xe]);else i({target:B,proto:!0,forced:I||G},fe);return fe}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(n,s,c){var i=c("./node_modules/core-js/internals/path.js"),u=c("./node_modules/core-js/internals/has.js"),r=c("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),o=c("./node_modules/core-js/internals/object-define-property.js").f;n.exports=function(h){var p=i.Symbol||(i.Symbol={});u(p,h)||o(p,h,{value:r.f(h)})}},"./node_modules/core-js/internals/descriptors.js":function(n,s,c){var i=c("./node_modules/core-js/internals/fails.js");n.exports=!i(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/is-object.js"),r=i.document,o=u(r)&&u(r.createElement);n.exports=function(h){return o?r.createElement(h):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(n){n.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(n,s,c){var i=c("./node_modules/core-js/internals/get-built-in.js");n.exports=i("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/engine-user-agent.js"),r=i.process,o=i.Deno,h=r&&r.versions||o&&o.version,p=h&&h.v8,g,v;p?(g=p.split("."),v=g[0]<4?1:g[0]+g[1]):u&&(g=u.match(/Edge\/(\d+)/),(!g||g[1]>=74)&&(g=u.match(/Chrome\/(\d+)/),g&&(v=g[1]))),n.exports=v&&+v},"./node_modules/core-js/internals/enum-bug-keys.js":function(n){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,r=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),o=c("./node_modules/core-js/internals/redefine.js"),h=c("./node_modules/core-js/internals/set-global.js"),p=c("./node_modules/core-js/internals/copy-constructor-properties.js"),g=c("./node_modules/core-js/internals/is-forced.js");n.exports=function(v,y){var w=v.target,S=v.global,_=v.stat,I,C,E,O,M,F;if(S?C=i:_?C=i[w]||h(w,{}):C=(i[w]||{}).prototype,C)for(E in y){if(M=y[E],v.noTargetGet?(F=u(C,E),O=F&&F.value):O=C[E],I=g(S?E:w+(_?".":"#")+E,v.forced),!I&&O!==void 0){if(typeof M===typeof O)continue;p(M,O)}(v.sham||O&&O.sham)&&r(M,"sham",!0),o(C,E,M,v)}}},"./node_modules/core-js/internals/fails.js":function(n){n.exports=function(s){try{return!!s()}catch(c){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(n,s,c){var i=c("./node_modules/core-js/internals/a-function.js");n.exports=function(u,r,o){if(i(u),r===void 0)return u;switch(o){case 0:return function(){return u.call(r)};case 1:return function(h){return u.call(r,h)};case 2:return function(h,p){return u.call(r,h,p)};case 3:return function(h,p,g){return u.call(r,h,p,g)}}return function(){return u.apply(r,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=function(o){return typeof o=="function"?o:void 0};n.exports=function(r,o){return arguments.length<2?u(i[r]):i[r]&&i[r][o]}},"./node_modules/core-js/internals/global.js":function(n){var s=function(i){return i&&i.Math==Math&&i};n.exports=s(typeof globalThis=="object"&&globalThis)||s(typeof window=="object"&&window)||s(typeof self=="object"&&self)||s(typeof x=="object"&&x)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-object.js"),u={}.hasOwnProperty;n.exports=Object.hasOwn||function(o,h){return u.call(i(o),h)}},"./node_modules/core-js/internals/hidden-keys.js":function(n){n.exports={}},"./node_modules/core-js/internals/html.js":function(n,s,c){var i=c("./node_modules/core-js/internals/get-built-in.js");n.exports=i("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(n,s,c){var i=c("./node_modules/core-js/internals/descriptors.js"),u=c("./node_modules/core-js/internals/fails.js"),r=c("./node_modules/core-js/internals/document-create-element.js");n.exports=!i&&!u(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(n,s,c){var i=c("./node_modules/core-js/internals/fails.js"),u=c("./node_modules/core-js/internals/classof-raw.js"),r="".split;n.exports=i(function(){return!Object("z").propertyIsEnumerable(0)})?function(o){return u(o)=="String"?r.call(o,""):Object(o)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(n,s,c){var i=c("./node_modules/core-js/internals/is-object.js"),u=c("./node_modules/core-js/internals/object-set-prototype-of.js");n.exports=function(r,o,h){var p,g;return u&&typeof(p=o.constructor)=="function"&&p!==h&&i(g=p.prototype)&&g!==h.prototype&&u(r,g),r}},"./node_modules/core-js/internals/inspect-source.js":function(n,s,c){var i=c("./node_modules/core-js/internals/shared-store.js"),u=Function.toString;typeof i.inspectSource!="function"&&(i.inspectSource=function(r){return u.call(r)}),n.exports=i.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(n,s,c){var i=c("./node_modules/core-js/internals/native-weak-map.js"),u=c("./node_modules/core-js/internals/global.js"),r=c("./node_modules/core-js/internals/is-object.js"),o=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),h=c("./node_modules/core-js/internals/has.js"),p=c("./node_modules/core-js/internals/shared-store.js"),g=c("./node_modules/core-js/internals/shared-key.js"),v=c("./node_modules/core-js/internals/hidden-keys.js"),y="Object already initialized",w=u.WeakMap,S,_,I,C=function(J){return I(J)?_(J):S(J,{})},E=function(J){return function(k){var K;if(!r(k)||(K=_(k)).type!==J)throw TypeError("Incompatible receiver, "+J+" required");return K}};if(i||p.state){var O=p.state||(p.state=new w),M=O.get,F=O.has,H=O.set;S=function(J,k){if(F.call(O,J))throw new TypeError(y);return k.facade=J,H.call(O,J,k),k},_=function(J){return M.call(O,J)||{}},I=function(J){return F.call(O,J)}}else{var B=g("state");v[B]=!0,S=function(J,k){if(h(J,B))throw new TypeError(y);return k.facade=J,o(J,B,k),k},_=function(J){return h(J,B)?J[B]:{}},I=function(J){return h(J,B)}}n.exports={set:S,get:_,has:I,enforce:C,getterFor:E}},"./node_modules/core-js/internals/is-array.js":function(n,s,c){var i=c("./node_modules/core-js/internals/classof-raw.js");n.exports=Array.isArray||function(r){return i(r)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(n,s,c){var i=c("./node_modules/core-js/internals/fails.js"),u=/#|\.prototype\./,r=function(y,w){var S=h[o(y)];return S==g?!0:S==p?!1:typeof w=="function"?i(w):!!w},o=r.normalize=function(v){return String(v).replace(u,".").toLowerCase()},h=r.data={},p=r.NATIVE="N",g=r.POLYFILL="P";n.exports=r},"./node_modules/core-js/internals/is-object.js":function(n){n.exports=function(s){return typeof s=="object"?s!==null:typeof s=="function"}},"./node_modules/core-js/internals/is-pure.js":function(n){n.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(n,s,c){var i=c("./node_modules/core-js/internals/get-built-in.js"),u=c("./node_modules/core-js/internals/use-symbol-as-uid.js");n.exports=u?function(r){return typeof r=="symbol"}:function(r){var o=i("Symbol");return typeof o=="function"&&Object(r)instanceof o}},"./node_modules/core-js/internals/iterators-core.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/fails.js"),u=c("./node_modules/core-js/internals/object-get-prototype-of.js"),r=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),o=c("./node_modules/core-js/internals/has.js"),h=c("./node_modules/core-js/internals/well-known-symbol.js"),p=c("./node_modules/core-js/internals/is-pure.js"),g=h("iterator"),v=!1,y=function(){return this},w,S,_;[].keys&&(_=[].keys(),"next"in _?(S=u(u(_)),S!==Object.prototype&&(w=S)):v=!0);var I=w==null||i(function(){var C={};return w[g].call(C)!==C});I&&(w={}),(!p||I)&&!o(w,g)&&r(w,g,y),n.exports={IteratorPrototype:w,BUGGY_SAFARI_ITERATORS:v}},"./node_modules/core-js/internals/iterators.js":function(n){n.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(n,s,c){var i=c("./node_modules/core-js/internals/engine-v8-version.js"),u=c("./node_modules/core-js/internals/fails.js");n.exports=!!Object.getOwnPropertySymbols&&!u(function(){var r=Symbol();return!String(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&i&&i<41})},"./node_modules/core-js/internals/native-weak-map.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/inspect-source.js"),r=i.WeakMap;n.exports=typeof r=="function"&&/native code/.test(u(r))},"./node_modules/core-js/internals/object-assign.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/descriptors.js"),u=c("./node_modules/core-js/internals/fails.js"),r=c("./node_modules/core-js/internals/object-keys.js"),o=c("./node_modules/core-js/internals/object-get-own-property-symbols.js"),h=c("./node_modules/core-js/internals/object-property-is-enumerable.js"),p=c("./node_modules/core-js/internals/to-object.js"),g=c("./node_modules/core-js/internals/indexed-object.js"),v=Object.assign,y=Object.defineProperty;n.exports=!v||u(function(){if(i&&v({b:1},v(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var w={},S={},_=Symbol(),I="abcdefghijklmnopqrst";return w[_]=7,I.split("").forEach(function(C){S[C]=C}),v({},w)[_]!=7||r(v({},S)).join("")!=I})?function(S,_){for(var I=p(S),C=arguments.length,E=1,O=o.f,M=h.f;C>E;)for(var F=g(arguments[E++]),H=O?r(F).concat(O(F)):r(F),B=H.length,X=0,J;B>X;)J=H[X++],(!i||M.call(F,J))&&(I[J]=F[J]);return I}:v},"./node_modules/core-js/internals/object-create.js":function(n,s,c){var i=c("./node_modules/core-js/internals/an-object.js"),u=c("./node_modules/core-js/internals/object-define-properties.js"),r=c("./node_modules/core-js/internals/enum-bug-keys.js"),o=c("./node_modules/core-js/internals/hidden-keys.js"),h=c("./node_modules/core-js/internals/html.js"),p=c("./node_modules/core-js/internals/document-create-element.js"),g=c("./node_modules/core-js/internals/shared-key.js"),v=">",y="<",w="prototype",S="script",_=g("IE_PROTO"),I=function(){},C=function(B){return y+S+v+B+y+"/"+S+v},E=function(B){B.write(C("")),B.close();var X=B.parentWindow.Object;return B=null,X},O=function(){var B=p("iframe"),X="java"+S+":",J;if(B.style)return B.style.display="none",h.appendChild(B),B.src=String(X),J=B.contentWindow.document,J.open(),J.write(C("document.F=Object")),J.close(),J.F},M,F=function(){try{M=new ActiveXObject("htmlfile")}catch(X){}F=document.domain&&M?E(M):O()||E(M);for(var B=r.length;B--;)delete F[w][r[B]];return F()};o[_]=!0,n.exports=Object.create||function(B,X){var J;return B!==null?(I[w]=i(B),J=new I,I[w]=null,J[_]=B):J=F(),X===void 0?J:u(J,X)}},"./node_modules/core-js/internals/object-define-properties.js":function(n,s,c){var i=c("./node_modules/core-js/internals/descriptors.js"),u=c("./node_modules/core-js/internals/object-define-property.js"),r=c("./node_modules/core-js/internals/an-object.js"),o=c("./node_modules/core-js/internals/object-keys.js");n.exports=i?Object.defineProperties:function(p,g){r(p);for(var v=o(g),y=v.length,w=0,S;y>w;)u.f(p,S=v[w++],g[S]);return p}},"./node_modules/core-js/internals/object-define-property.js":function(n,s,c){var i=c("./node_modules/core-js/internals/descriptors.js"),u=c("./node_modules/core-js/internals/ie8-dom-define.js"),r=c("./node_modules/core-js/internals/an-object.js"),o=c("./node_modules/core-js/internals/to-property-key.js"),h=Object.defineProperty;s.f=i?h:function(g,v,y){if(r(g),v=o(v),r(y),u)try{return h(g,v,y)}catch(w){}if("get"in y||"set"in y)throw TypeError("Accessors not supported");return"value"in y&&(g[v]=y.value),g}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,s,c){var i=c("./node_modules/core-js/internals/descriptors.js"),u=c("./node_modules/core-js/internals/object-property-is-enumerable.js"),r=c("./node_modules/core-js/internals/create-property-descriptor.js"),o=c("./node_modules/core-js/internals/to-indexed-object.js"),h=c("./node_modules/core-js/internals/to-property-key.js"),p=c("./node_modules/core-js/internals/has.js"),g=c("./node_modules/core-js/internals/ie8-dom-define.js"),v=Object.getOwnPropertyDescriptor;s.f=i?v:function(w,S){if(w=o(w),S=h(S),g)try{return v(w,S)}catch(_){}if(p(w,S))return r(!u.f.call(w,S),w[S])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-indexed-object.js"),u=c("./node_modules/core-js/internals/object-get-own-property-names.js").f,r={}.toString,o=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],h=function(g){try{return u(g)}catch(v){return o.slice()}};n.exports.f=function(g){return o&&r.call(g)=="[object Window]"?h(g):u(i(g))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,s,c){var i=c("./node_modules/core-js/internals/object-keys-internal.js"),u=c("./node_modules/core-js/internals/enum-bug-keys.js"),r=u.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(h){return i(h,r)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,s){s.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,s,c){var i=c("./node_modules/core-js/internals/has.js"),u=c("./node_modules/core-js/internals/to-object.js"),r=c("./node_modules/core-js/internals/shared-key.js"),o=c("./node_modules/core-js/internals/correct-prototype-getter.js"),h=r("IE_PROTO"),p=Object.prototype;n.exports=o?Object.getPrototypeOf:function(g){return g=u(g),i(g,h)?g[h]:typeof g.constructor=="function"&&g instanceof g.constructor?g.constructor.prototype:g instanceof Object?p:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(n,s,c){var i=c("./node_modules/core-js/internals/has.js"),u=c("./node_modules/core-js/internals/to-indexed-object.js"),r=c("./node_modules/core-js/internals/array-includes.js").indexOf,o=c("./node_modules/core-js/internals/hidden-keys.js");n.exports=function(h,p){var g=u(h),v=0,y=[],w;for(w in g)!i(o,w)&&i(g,w)&&y.push(w);for(;p.length>v;)i(g,w=p[v++])&&(~r(y,w)||y.push(w));return y}},"./node_modules/core-js/internals/object-keys.js":function(n,s,c){var i=c("./node_modules/core-js/internals/object-keys-internal.js"),u=c("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(o){return i(o,u)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,s){"use strict";var c={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,u=i&&!c.call({1:2},1);s.f=u?function(o){var h=i(this,o);return!!h&&h.enumerable}:c},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,s,c){var i=c("./node_modules/core-js/internals/an-object.js"),u=c("./node_modules/core-js/internals/a-possible-prototype.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r=!1,o={},h;try{h=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,h.call(o,[]),r=o instanceof Array}catch(p){}return function(g,v){return i(g),u(v),r?h.call(g,v):g.__proto__=v,g}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/to-string-tag-support.js"),u=c("./node_modules/core-js/internals/classof.js");n.exports=i?{}.toString:function(){return"[object "+u(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(n,s,c){var i=c("./node_modules/core-js/internals/is-object.js");n.exports=function(u,r){var o,h;if(r==="string"&&typeof(o=u.toString)=="function"&&!i(h=o.call(u)))return h;if(typeof(o=u.valueOf)=="function"&&!i(h=o.call(u)))return h;if(r!=="string"&&typeof(o=u.toString)=="function"&&!i(h=o.call(u)))return h;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(n,s,c){var i=c("./node_modules/core-js/internals/get-built-in.js"),u=c("./node_modules/core-js/internals/object-get-own-property-names.js"),r=c("./node_modules/core-js/internals/object-get-own-property-symbols.js"),o=c("./node_modules/core-js/internals/an-object.js");n.exports=i("Reflect","ownKeys")||function(p){var g=u.f(o(p)),v=r.f;return v?g.concat(v(p)):g}},"./node_modules/core-js/internals/path.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js");n.exports=i},"./node_modules/core-js/internals/redefine.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),r=c("./node_modules/core-js/internals/has.js"),o=c("./node_modules/core-js/internals/set-global.js"),h=c("./node_modules/core-js/internals/inspect-source.js"),p=c("./node_modules/core-js/internals/internal-state.js"),g=p.get,v=p.enforce,y=String(String).split("String");(n.exports=function(w,S,_,I){var C=I?!!I.unsafe:!1,E=I?!!I.enumerable:!1,O=I?!!I.noTargetGet:!1,M;if(typeof _=="function"&&(typeof S=="string"&&!r(_,"name")&&u(_,"name",S),M=v(_),M.source||(M.source=y.join(typeof S=="string"?S:""))),w===i){E?w[S]=_:o(S,_);return}else C?!O&&w[S]&&(E=!0):delete w[S];E?w[S]=_:u(w,S,_)})(Function.prototype,"toString",function(){return typeof this=="function"&&g(this).source||h(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/an-object.js");n.exports=function(){var u=i(this),r="";return u.global&&(r+="g"),u.ignoreCase&&(r+="i"),u.multiline&&(r+="m"),u.dotAll&&(r+="s"),u.unicode&&(r+="u"),u.sticky&&(r+="y"),r}},"./node_modules/core-js/internals/require-object-coercible.js":function(n){n.exports=function(s){if(s==null)throw TypeError("Can't call method on "+s);return s}},"./node_modules/core-js/internals/set-global.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js");n.exports=function(u,r){try{Object.defineProperty(i,u,{value:r,configurable:!0,writable:!0})}catch(o){i[u]=r}return r}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,s,c){var i=c("./node_modules/core-js/internals/object-define-property.js").f,u=c("./node_modules/core-js/internals/has.js"),r=c("./node_modules/core-js/internals/well-known-symbol.js"),o=r("toStringTag");n.exports=function(h,p,g){h&&!u(h=g?h:h.prototype,o)&&i(h,o,{configurable:!0,value:p})}},"./node_modules/core-js/internals/shared-key.js":function(n,s,c){var i=c("./node_modules/core-js/internals/shared.js"),u=c("./node_modules/core-js/internals/uid.js"),r=i("keys");n.exports=function(o){return r[o]||(r[o]=u(o))}},"./node_modules/core-js/internals/shared-store.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/set-global.js"),r="__core-js_shared__",o=i[r]||u(r,{});n.exports=o},"./node_modules/core-js/internals/shared.js":function(n,s,c){var i=c("./node_modules/core-js/internals/is-pure.js"),u=c("./node_modules/core-js/internals/shared-store.js");(n.exports=function(r,o){return u[r]||(u[r]=o!==void 0?o:{})})("versions",[]).push({version:"3.16.0",mode:i?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(n,s,c){var i=c("./node_modules/core-js/internals/fails.js");n.exports=function(u){return i(function(){var r=""[u]('"');return r!==r.toLowerCase()||r.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-integer.js"),u=c("./node_modules/core-js/internals/to-string.js"),r=c("./node_modules/core-js/internals/require-object-coercible.js"),o=function(p){return function(g,v){var y=u(r(g)),w=i(v),S=y.length,_,I;return w<0||w>=S?p?"":void 0:(_=y.charCodeAt(w),_<55296||_>56319||w+1===S||(I=y.charCodeAt(w+1))<56320||I>57343?p?y.charAt(w):_:p?y.slice(w,w+2):(_-55296<<10)+(I-56320)+65536)}};n.exports={codeAt:o(!1),charAt:o(!0)}},"./node_modules/core-js/internals/string-trim.js":function(n,s,c){var i=c("./node_modules/core-js/internals/require-object-coercible.js"),u=c("./node_modules/core-js/internals/to-string.js"),r=c("./node_modules/core-js/internals/whitespaces.js"),o="["+r+"]",h=RegExp("^"+o+o+"*"),p=RegExp(o+o+"*$"),g=function(y){return function(w){var S=u(i(w));return y&1&&(S=S.replace(h,"")),y&2&&(S=S.replace(p,"")),S}};n.exports={start:g(1),end:g(2),trim:g(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-integer.js"),u=Math.max,r=Math.min;n.exports=function(o,h){var p=i(o);return p<0?u(p+h,0):r(p,h)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,s,c){var i=c("./node_modules/core-js/internals/indexed-object.js"),u=c("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(r){return i(u(r))}},"./node_modules/core-js/internals/to-integer.js":function(n){var s=Math.ceil,c=Math.floor;n.exports=function(i){return isNaN(i=+i)?0:(i>0?c:s)(i)}},"./node_modules/core-js/internals/to-length.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-integer.js"),u=Math.min;n.exports=function(r){return r>0?u(i(r),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,s,c){var i=c("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(u){return Object(i(u))}},"./node_modules/core-js/internals/to-primitive.js":function(n,s,c){var i=c("./node_modules/core-js/internals/is-object.js"),u=c("./node_modules/core-js/internals/is-symbol.js"),r=c("./node_modules/core-js/internals/ordinary-to-primitive.js"),o=c("./node_modules/core-js/internals/well-known-symbol.js"),h=o("toPrimitive");n.exports=function(p,g){if(!i(p)||u(p))return p;var v=p[h],y;if(v!==void 0){if(g===void 0&&(g="default"),y=v.call(p,g),!i(y)||u(y))return y;throw TypeError("Can't convert object to primitive value")}return g===void 0&&(g="number"),r(p,g)}},"./node_modules/core-js/internals/to-property-key.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-primitive.js"),u=c("./node_modules/core-js/internals/is-symbol.js");n.exports=function(r){var o=i(r,"string");return u(o)?o:String(o)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(n,s,c){var i=c("./node_modules/core-js/internals/well-known-symbol.js"),u=i("toStringTag"),r={};r[u]="z",n.exports=String(r)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(n,s,c){var i=c("./node_modules/core-js/internals/is-symbol.js");n.exports=function(u){if(i(u))throw TypeError("Cannot convert a Symbol value to a string");return String(u)}},"./node_modules/core-js/internals/uid.js":function(n){var s=0,c=Math.random();n.exports=function(i){return"Symbol("+String(i===void 0?"":i)+")_"+(++s+c).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(n,s,c){var i=c("./node_modules/core-js/internals/native-symbol.js");n.exports=i&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(n,s,c){var i=c("./node_modules/core-js/internals/well-known-symbol.js");s.f=i},"./node_modules/core-js/internals/well-known-symbol.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/shared.js"),r=c("./node_modules/core-js/internals/has.js"),o=c("./node_modules/core-js/internals/uid.js"),h=c("./node_modules/core-js/internals/native-symbol.js"),p=c("./node_modules/core-js/internals/use-symbol-as-uid.js"),g=u("wks"),v=i.Symbol,y=p?v:v&&v.withoutSetter||o;n.exports=function(w){return(!r(g,w)||!(h||typeof g[w]=="string"))&&(h&&r(v,w)?g[w]=v[w]:g[w]=y("Symbol."+w)),g[w]}},"./node_modules/core-js/internals/whitespaces.js":function(n){n.exports=` +\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/fails.js"),r=c("./node_modules/core-js/internals/is-array.js"),o=c("./node_modules/core-js/internals/is-object.js"),h=c("./node_modules/core-js/internals/to-object.js"),p=c("./node_modules/core-js/internals/to-length.js"),g=c("./node_modules/core-js/internals/create-property.js"),v=c("./node_modules/core-js/internals/array-species-create.js"),y=c("./node_modules/core-js/internals/array-method-has-species-support.js"),w=c("./node_modules/core-js/internals/well-known-symbol.js"),S=c("./node_modules/core-js/internals/engine-v8-version.js"),_=w("isConcatSpreadable"),I=9007199254740991,C="Maximum allowed index exceeded",E=S>=51||!u(function(){var H=[];return H[_]=!1,H.concat()[0]!==H}),O=y("concat"),M=function(B){if(!o(B))return!1;var X=B[_];return X!==void 0?!!X:r(B)},F=!E||!O;i({target:"Array",proto:!0,forced:F},{concat:function(B){var X=h(this),J=v(X,0),k=0,K,z,W,P,G;for(K=-1,W=arguments.length;KI)throw TypeError(C);for(z=0;z=I)throw TypeError(C);g(J,k++,G)}return J.length=k,J}})},"./node_modules/core-js/modules/es.array.iterator.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/to-indexed-object.js"),u=c("./node_modules/core-js/internals/add-to-unscopables.js"),r=c("./node_modules/core-js/internals/iterators.js"),o=c("./node_modules/core-js/internals/internal-state.js"),h=c("./node_modules/core-js/internals/define-iterator.js"),p="Array Iterator",g=o.set,v=o.getterFor(p);n.exports=h(Array,"Array",function(y,w){g(this,{type:p,target:i(y),index:0,kind:w})},function(){var y=v(this),w=y.target,S=y.kind,_=y.index++;return!w||_>=w.length?(y.target=void 0,{value:void 0,done:!0}):S=="keys"?{value:_,done:!1}:S=="values"?{value:w[_],done:!1}:{value:[_,w[_]],done:!1}},"values"),r.Arguments=r.Array,u("keys"),u("values"),u("entries")},"./node_modules/core-js/modules/es.array.join.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/indexed-object.js"),r=c("./node_modules/core-js/internals/to-indexed-object.js"),o=c("./node_modules/core-js/internals/array-method-is-strict.js"),h=[].join,p=u!=Object,g=o("join",",");i({target:"Array",proto:!0,forced:p||!g},{join:function(y){return h.call(r(this),y===void 0?",":y)}})},"./node_modules/core-js/modules/es.array.map.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/array-iteration.js").map,r=c("./node_modules/core-js/internals/array-method-has-species-support.js"),o=r("map");i({target:"Array",proto:!0,forced:!o},{map:function(p){return u(this,p,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/is-object.js"),r=c("./node_modules/core-js/internals/is-array.js"),o=c("./node_modules/core-js/internals/to-absolute-index.js"),h=c("./node_modules/core-js/internals/to-length.js"),p=c("./node_modules/core-js/internals/to-indexed-object.js"),g=c("./node_modules/core-js/internals/create-property.js"),v=c("./node_modules/core-js/internals/well-known-symbol.js"),y=c("./node_modules/core-js/internals/array-method-has-species-support.js"),w=y("slice"),S=v("species"),_=[].slice,I=Math.max;i({target:"Array",proto:!0,forced:!w},{slice:function(E,O){var M=p(this),F=h(M.length),H=o(E,F),B=o(O===void 0?F:O,F),X,J,k;if(r(M)&&(X=M.constructor,typeof X=="function"&&(X===Array||r(X.prototype))?X=void 0:u(X)&&(X=X[S],X===null&&(X=void 0)),X===Array||X===void 0))return _.call(M,H,B);for(J=new(X===void 0?Array:X)(I(B-H,0)),k=0;H2){if(P=E(P),G=P.charCodeAt(0),G===43||G===45){if(V=P.charCodeAt(2),V===88||V===120)return NaN}else if(G===48){switch(P.charCodeAt(1)){case 66:case 98:q=2,re=49;break;case 79:case 111:q=8,re=55;break;default:return+P}for(ce=P.slice(2),ie=ce.length,fe=0;fere)return NaN;return parseInt(ce,q)}}return+P};if(r(O,!M(" 0o1")||!M("0b1")||M("+0x1"))){for(var X=function(W){var P=arguments.length<1?0:W,G=this;return G instanceof X&&(H?w(function(){F.valueOf.call(G)}):p(G)!=O)?g(new M(B(P)),G,X):B(P)},J=i?_(M):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),k=0,K;J.length>k;k++)h(M,K=J[k])&&!h(X,K)&&C(X,K,I(M,K));X.prototype=F,F.constructor=X,o(u,O,X)}},"./node_modules/core-js/modules/es.object.assign.js":function(n,s,c){var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/object-assign.js");i({target:"Object",stat:!0,forced:Object.assign!==u},{assign:u})},"./node_modules/core-js/modules/es.object.keys.js":function(n,s,c){var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/to-object.js"),r=c("./node_modules/core-js/internals/object-keys.js"),o=c("./node_modules/core-js/internals/fails.js"),h=o(function(){r(1)});i({target:"Object",stat:!0,forced:h},{keys:function(g){return r(u(g))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(n,s,c){var i=c("./node_modules/core-js/internals/to-string-tag-support.js"),u=c("./node_modules/core-js/internals/redefine.js"),r=c("./node_modules/core-js/internals/object-to-string.js");i||u(Object.prototype,"toString",r,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/redefine.js"),u=c("./node_modules/core-js/internals/an-object.js"),r=c("./node_modules/core-js/internals/to-string.js"),o=c("./node_modules/core-js/internals/fails.js"),h=c("./node_modules/core-js/internals/regexp-flags.js"),p="toString",g=RegExp.prototype,v=g[p],y=o(function(){return v.call({source:"a",flags:"b"})!="/a/b"}),w=v.name!=p;(y||w)&&i(RegExp.prototype,p,function(){var _=u(this),I=r(_.source),C=_.flags,E=r(C===void 0&&_ instanceof RegExp&&!("flags"in g)?h.call(_):C);return"/"+I+"/"+E},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/string-multibyte.js").charAt,u=c("./node_modules/core-js/internals/to-string.js"),r=c("./node_modules/core-js/internals/internal-state.js"),o=c("./node_modules/core-js/internals/define-iterator.js"),h="String Iterator",p=r.set,g=r.getterFor(h);o(String,"String",function(v){p(this,{type:h,string:u(v),index:0})},function(){var y=g(this),w=y.string,S=y.index,_;return S>=w.length?{value:void 0,done:!0}:(_=i(w,S),y.index+=_.length,{value:_,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/create-html.js"),r=c("./node_modules/core-js/internals/string-html-forced.js");i({target:"String",proto:!0,forced:r("link")},{link:function(h){return u(this,"a","href",h)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/descriptors.js"),r=c("./node_modules/core-js/internals/global.js"),o=c("./node_modules/core-js/internals/has.js"),h=c("./node_modules/core-js/internals/is-object.js"),p=c("./node_modules/core-js/internals/object-define-property.js").f,g=c("./node_modules/core-js/internals/copy-constructor-properties.js"),v=r.Symbol;if(u&&typeof v=="function"&&(!("description"in v.prototype)||v().description!==void 0)){var y={},w=function(){var O=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),M=this instanceof w?new v(O):O===void 0?v():v(O);return O===""&&(y[M]=!0),M};g(w,v);var S=w.prototype=v.prototype;S.constructor=w;var _=S.toString,I=String(v("test"))=="Symbol(test)",C=/^Symbol\((.*)\)[^)]+$/;p(S,"description",{configurable:!0,get:function(){var O=h(this)?this.valueOf():this,M=_.call(O);if(o(y,O))return"";var F=I?M.slice(7,-1):M.replace(C,"$1");return F===""?void 0:F}}),i({global:!0,forced:!0},{Symbol:w})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(n,s,c){var i=c("./node_modules/core-js/internals/define-well-known-symbol.js");i("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(n,s,c){"use strict";var i=c("./node_modules/core-js/internals/export.js"),u=c("./node_modules/core-js/internals/global.js"),r=c("./node_modules/core-js/internals/get-built-in.js"),o=c("./node_modules/core-js/internals/is-pure.js"),h=c("./node_modules/core-js/internals/descriptors.js"),p=c("./node_modules/core-js/internals/native-symbol.js"),g=c("./node_modules/core-js/internals/fails.js"),v=c("./node_modules/core-js/internals/has.js"),y=c("./node_modules/core-js/internals/is-array.js"),w=c("./node_modules/core-js/internals/is-object.js"),S=c("./node_modules/core-js/internals/is-symbol.js"),_=c("./node_modules/core-js/internals/an-object.js"),I=c("./node_modules/core-js/internals/to-object.js"),C=c("./node_modules/core-js/internals/to-indexed-object.js"),E=c("./node_modules/core-js/internals/to-property-key.js"),O=c("./node_modules/core-js/internals/to-string.js"),M=c("./node_modules/core-js/internals/create-property-descriptor.js"),F=c("./node_modules/core-js/internals/object-create.js"),H=c("./node_modules/core-js/internals/object-keys.js"),B=c("./node_modules/core-js/internals/object-get-own-property-names.js"),X=c("./node_modules/core-js/internals/object-get-own-property-names-external.js"),J=c("./node_modules/core-js/internals/object-get-own-property-symbols.js"),k=c("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),K=c("./node_modules/core-js/internals/object-define-property.js"),z=c("./node_modules/core-js/internals/object-property-is-enumerable.js"),W=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),P=c("./node_modules/core-js/internals/redefine.js"),G=c("./node_modules/core-js/internals/shared.js"),V=c("./node_modules/core-js/internals/shared-key.js"),q=c("./node_modules/core-js/internals/hidden-keys.js"),re=c("./node_modules/core-js/internals/uid.js"),ce=c("./node_modules/core-js/internals/well-known-symbol.js"),ie=c("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),fe=c("./node_modules/core-js/internals/define-well-known-symbol.js"),xe=c("./node_modules/core-js/internals/set-to-string-tag.js"),Se=c("./node_modules/core-js/internals/internal-state.js"),ke=c("./node_modules/core-js/internals/array-iteration.js").forEach,ge=V("hidden"),Be="Symbol",ee="prototype",ue=ce("toPrimitive"),Ge=Se.set,ae=Se.getterFor(Be),Z=Object[ee],Y=u.Symbol,te=r("JSON","stringify"),we=k.f,pe=K.f,De=X.f,Ne=z.f,me=G("symbols"),be=G("op-symbols"),Re=G("string-to-symbol-registry"),it=G("symbol-to-string-registry"),yt=G("wks"),pt=u.QObject,Pe=!pt||!pt[ee]||!pt[ee].findChild,Nt=h&&g(function(){return F(pe({},"a",{get:function(){return pe(this,"a",{value:7}).a}})).a!=7})?function(qe,rt,ve){var bt=we(Z,rt);bt&&delete Z[rt],pe(qe,rt,ve),bt&&qe!==Z&&pe(Z,rt,bt)}:pe,ut=function(rt,ve){var bt=me[rt]=F(Y[ee]);return Ge(bt,{type:Be,tag:rt,description:ve}),h||(bt.description=ve),bt},Ft=function(rt,ve,bt){rt===Z&&Ft(be,ve,bt),_(rt);var jt=E(ve);return _(bt),v(me,jt)?(bt.enumerable?(v(rt,ge)&&rt[ge][jt]&&(rt[ge][jt]=!1),bt=F(bt,{enumerable:M(0,!1)})):(v(rt,ge)||pe(rt,ge,M(1,{})),rt[ge][jt]=!0),Nt(rt,jt,bt)):pe(rt,jt,bt)},Ut=function(rt,ve){_(rt);var bt=C(ve),jt=H(bt).concat(Ee(bt));return ke(jt,function(He){(!h||$t.call(bt,He))&&Ft(rt,He,bt[He])}),rt},Kt=function(rt,ve){return ve===void 0?F(rt):Ut(F(rt),ve)},$t=function(rt){var ve=E(rt),bt=Ne.call(this,ve);return this===Z&&v(me,ve)&&!v(be,ve)?!1:bt||!v(this,ve)||!v(me,ve)||v(this,ge)&&this[ge][ve]?bt:!0},or=function(rt,ve){var bt=C(rt),jt=E(ve);if(bt===Z&&v(me,jt)&&!v(be,jt))return;var He=we(bt,jt);return He&&v(me,jt)&&!(v(bt,ge)&&bt[ge][jt])&&(He.enumerable=!0),He},ht=function(rt){var ve=De(C(rt)),bt=[];return ke(ve,function(jt){!v(me,jt)&&!v(q,jt)&&bt.push(jt)}),bt},Ee=function(rt){var ve=rt===Z,bt=De(ve?be:C(rt)),jt=[];return ke(bt,function(He){v(me,He)&&(!ve||v(Z,He))&&jt.push(me[He])}),jt};if(p||(Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var rt=!arguments.length||arguments[0]===void 0?void 0:O(arguments[0]),ve=re(rt),bt=function jt(He){this===Z&&jt.call(be,He),v(this,ge)&&v(this[ge],ve)&&(this[ge][ve]=!1),Nt(this,ve,M(1,He))};return h&&Pe&&Nt(Z,ve,{configurable:!0,set:bt}),ut(ve,rt)},P(Y[ee],"toString",function(){return ae(this).tag}),P(Y,"withoutSetter",function(qe){return ut(re(qe),qe)}),z.f=$t,K.f=Ft,k.f=or,B.f=X.f=ht,J.f=Ee,ie.f=function(qe){return ut(ce(qe),qe)},h&&(pe(Y[ee],"description",{configurable:!0,get:function(){return ae(this).description}}),o||P(Z,"propertyIsEnumerable",$t,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:Y}),ke(H(yt),function(qe){fe(qe)}),i({target:Be,stat:!0,forced:!p},{for:function(rt){var ve=O(rt);if(v(Re,ve))return Re[ve];var bt=Y(ve);return Re[ve]=bt,it[bt]=ve,bt},keyFor:function(rt){if(!S(rt))throw TypeError(rt+" is not a symbol");if(v(it,rt))return it[rt]},useSetter:function(){Pe=!0},useSimple:function(){Pe=!1}}),i({target:"Object",stat:!0,forced:!p,sham:!h},{create:Kt,defineProperty:Ft,defineProperties:Ut,getOwnPropertyDescriptor:or}),i({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:ht,getOwnPropertySymbols:Ee}),i({target:"Object",stat:!0,forced:g(function(){J.f(1)})},{getOwnPropertySymbols:function(rt){return J.f(I(rt))}}),te){var de=!p||g(function(){var qe=Y();return te([qe])!="[null]"||te({a:qe})!="{}"||te(Object(qe))!="{}"});i({target:"JSON",stat:!0,forced:de},{stringify:function(rt,ve,bt){for(var jt=[rt],He=1,kt;arguments.length>He;)jt.push(arguments[He++]);return kt=ve,!w(ve)&&rt===void 0||S(rt)?void 0:(y(ve)||(ve=function(at,Ht){if(typeof kt=="function"&&(Ht=kt.call(this,at,Ht)),!S(Ht))return Ht}),jt[1]=ve,te.apply(null,jt))}})}Y[ee][ue]||W(Y[ee],ue,Y[ee].valueOf),xe(Y,Be),q[ge]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/dom-iterables.js"),r=c("./node_modules/core-js/internals/array-for-each.js"),o=c("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var h in u){var p=i[h],g=p&&p.prototype;if(g&&g.forEach!==r)try{o(g,"forEach",r)}catch(v){g.forEach=r}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(n,s,c){var i=c("./node_modules/core-js/internals/global.js"),u=c("./node_modules/core-js/internals/dom-iterables.js"),r=c("./node_modules/core-js/modules/es.array.iterator.js"),o=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),h=c("./node_modules/core-js/internals/well-known-symbol.js"),p=h("iterator"),g=h("toStringTag"),v=r.values;for(var y in u){var w=i[y],S=w&&w.prototype;if(S){if(S[p]!==v)try{o(S,p,v)}catch(I){S[p]=v}if(S[g]||o(S,g,y),u[y]){for(var _ in r)if(S[_]!==r[_])try{o(S,_,r[_])}catch(I){S[_]=r[_]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(n){/*! * @overview es6-promise - a tiny implementation of Promises/A+. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) * @license Licensed under MIT license * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE * @version v4.2.8+1e68dce6 - */(function(s,c){n.exports=c()})(this,function(){"use strict";function s(pt){var Pe=typeof pt;return pt!==null&&(Pe==="object"||Pe==="function")}function c(pt){return typeof pt=="function"}var i=void 0;Array.isArray?i=Array.isArray:i=function(Pe){return Object.prototype.toString.call(Pe)==="[object Array]"};var u=i,r=0,o=void 0,h=void 0,p=function(Pe,Nt){H[r]=Pe,H[r+1]=Nt,r+=2,r===2&&(h?h(B):J())};function g(pt){h=pt}function v(pt){p=pt}var y=typeof window!="undefined"?window:void 0,w=y||{},S=w.MutationObserver||w.WebKitMutationObserver,_=typeof self=="undefined"&&typeof b!="undefined"&&{}.toString.call(b)==="[object process]",I=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function C(){return function(){return b.nextTick(B)}}function E(){return typeof o!="undefined"?function(){o(B)}:F()}function O(){var pt=0,Pe=new S(B),Nt=document.createTextNode("");return Pe.observe(Nt,{characterData:!0}),function(){Nt.data=pt=++pt%2}}function M(){var pt=new MessageChannel;return pt.port1.onmessage=B,function(){return pt.port2.postMessage(0)}}function F(){var pt=setTimeout;return function(){return pt(B,1)}}var H=new Array(1e3);function B(){for(var pt=0;pti.getHeight()&&(_.textPosition="top",O=!0);var M=O?-5-I.height:o+8;C+I.width/2>i.getWidth()?(_.textPosition=["100%",M],_.textAlign="right"):C-I.width/2<0&&(_.textPosition=[0,M],_.textAlign="left")}})},updateView:function(s,c,i,u){b.each(this._features,function(r){r.updateView&&r.updateView(r.model,c,i,u)})},remove:function(s,c){b.each(this._features,function(i){i.remove&&i.remove(s,c)}),this.group.removeAll()},dispose:function(s,c){b.each(this._features,function(i){i.dispose&&i.dispose(s,c)})}});function n(s){return s.indexOf("my")===0}j.exports=a},"2B6p":function(j,R){function l(x,b,A){var f=x.getZoom(),t=x.getCenter(),e=b.zoom,m=x.dataToPoint(t);if(b.dx!=null&&b.dy!=null){m[0]-=b.dx,m[1]-=b.dy;var t=x.pointToData(m);x.setCenter(t)}if(e!=null){if(A){var d=A.min||0,a=A.max||Infinity;e=Math.max(Math.min(f*e,a),d)/f}x.scale[0]*=e,x.scale[1]*=e;var n=x.position,s=(b.originX-n[0])*(e-1),c=(b.originY-n[1])*(e-1);n[0]-=s,n[1]-=c,x.updateTransform();var t=x.pointToData(m);x.setCenter(t),x.setZoom(e*f)}return{center:x.getCenter(),zoom:x.getZoom()}}R.updateCenterAndZoom=l},"2BaD":function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="CloseCircleOutlined";var m=R.a=b.forwardRef(e)},"2DNl":function(j,R,l){var x=l("IMiH"),b=l("loD1"),A=l("59Ip"),f=l("aKvl"),t=l("n1HI"),e=l("hX1E"),m=e.normalizeRadian,d=l("Sj9i"),a=l("hyiK"),n=x.CMD,s=Math.PI*2,c=1e-4;function i(S,_){return Math.abs(S-_)_&&B>C&&B>O&&B>F||B<_&&B1&&o(),W=d.cubicAt(_,C,O,F,r[0]),k>1&&(z=d.cubicAt(_,C,O,F,r[1]))),k===2?P_&&F>C&&F>O||F<_&&F=0&&B<=1){for(var X=0,J=d.quadraticAt(_,C,O,B),k=0;kI||F<-I)return 0;var H=Math.sqrt(I*I-F*F);u[0]=-H,u[1]=H;var B=Math.abs(C-E);if(B<1e-4)return 0;if(B%s<1e-4){C=0,E=s;var X=O?1:-1;return M>=u[0]+S&&M<=u[1]+S?X:0}if(O){var H=C;C=m(E),E=m(H)}else C=m(C),E=m(E);C>E&&(E+=s);for(var J=0,k=0;k<2;k++){var W=u[k];if(W+S>M){var z=Math.atan2(F,W),X=O?1:-1;z<0&&(z=s+z),(z>=C&&z<=E||z+s>=C&&z+s<=E)&&(z>Math.PI/2&&z1&&(I||(O+=a(M,F,H,B,C,E))),X===1&&(M=S[X],F=S[X+1],H=M,B=F);switch(J){case n.M:H=S[X++],B=S[X++],M=H,F=B;break;case n.L:if(I){if(b.containStroke(M,F,S[X],S[X+1],_,C,E))return!0}else O+=a(M,F,S[X],S[X+1],C,E)||0;M=S[X++],F=S[X++];break;case n.C:if(I){if(A.containStroke(M,F,S[X++],S[X++],S[X++],S[X++],S[X],S[X+1],_,C,E))return!0}else O+=h(M,F,S[X++],S[X++],S[X++],S[X++],S[X],S[X+1],C,E)||0;M=S[X++],F=S[X++];break;case n.Q:if(I){if(f.containStroke(M,F,S[X++],S[X++],S[X],S[X+1],_,C,E))return!0}else O+=p(M,F,S[X++],S[X++],S[X],S[X+1],C,E)||0;M=S[X++],F=S[X++];break;case n.A:var k=S[X++],W=S[X++],z=S[X++],K=S[X++],P=S[X++],G=S[X++];X+=1;var V=1-S[X++],q=Math.cos(P)*z+k,re=Math.sin(P)*K+W;X>1?O+=a(M,F,q,re,C,E):(H=q,B=re);var ce=(C-k)*K/z+k;if(I){if(t.containStroke(k,W,K,P,P+G,V,_,ce,E))return!0}else O+=g(k,W,K,P,P+G,V,ce,E);M=Math.cos(P+G)*z+k,F=Math.sin(P+G)*K+W;break;case n.R:H=M=S[X++],B=F=S[X++];var ie=S[X++],fe=S[X++],q=H+ie,re=B+fe;if(I){if(b.containStroke(H,B,q,B,_,C,E)||b.containStroke(q,B,q,re,_,C,E)||b.containStroke(q,re,H,re,_,C,E)||b.containStroke(H,re,H,B,_,C,E))return!0}else O+=a(q,B,q,re,C,E),O+=a(H,re,H,B,C,E);break;case n.Z:if(I){if(b.containStroke(M,F,H,B,_,C,E))return!0}else O+=a(M,F,H,B,C,E);M=H,F=B;break}}return!I&&!i(F,B)&&(O+=a(M,F,H,B,C,E)||0),O!==0}function y(S,_,I){return v(S,0,!1,_,I)}function w(S,_,I,C){return v(S,_,!0,I,C)}R.contain=y,R.containStroke=w},"2KFj":function(j,R,l){"use strict";l.d(R,"a",function(){return A});var x=l("XPR9");function b(f,t){for(;!Object.prototype.hasOwnProperty.call(f,t)&&!(f=Object(x.a)(f),f===null););return f}function A(f,t,e){return typeof Reflect!="undefined"&&Reflect.get?A=Reflect.get:A=function(d,a,n){var s=b(d,a);if(!s)return;var c=Object.getOwnPropertyDescriptor(s,a);return c.get?c.get.call(n):c.value},A(f,t,e||f)}},"2Qr1":function(j,R,l){"use strict";l.d(R,"d",function(){return a}),l.d(R,"c",function(){return s}),l.d(R,"e",function(){return c}),l.d(R,"b",function(){return r}),l.d(R,"f",function(){return o}),l.d(R,"g",function(){return h}),l.d(R,"a",function(){return p});var x=l("rePB"),b=l("KQm4"),A=l("T5bk"),f=l("U8pU"),t=l("VTBJ"),e=l("Kwbf"),m=l("WKfj");function d(g,v){var y=g.key,w;return"value"in g&&(w=g.value),y!=null?y:w!==void 0?w:"rc-index-key-".concat(v)}function a(g){var v=[];function y(w,S){w.forEach(function(_){S||!("options"in _)?v.push({key:d(_,v.length),groupOption:S,data:_}):(v.push({key:d(_,v.length),group:!0,data:_}),y(_.options,!0))})}return y(g,!1),v}function n(g){var v=Object(t.a)({},g);return"props"in v||Object.defineProperty(v,"props",{get:function(){return Object(e.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),v}}),v}function s(g,v){var y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=y.prevValueOptions,S=w===void 0?[]:w,_=new Map;return v.forEach(function(I){if(!I.group){var C=I.data;_.set(C.value,C)}}),g.map(function(I){var C=_.get(I);return C||(C=Object(t.a)({},S.find(function(E){return E._INTERNAL_OPTION_VALUE_===I}))),n(C)})}var c=function(v,y){var w=y.options,S=y.prevValue,_=y.labelInValue,I=y.optionLabelProp,C=s([v],w)[0],E={value:v},O,M=Object(m.d)(S);return _&&(O=M.find(function(F){return Object(f.a)(F)==="object"&&"value"in F?F.value===v:F.key===v})),O&&Object(f.a)(O)==="object"&&"label"in O?(E.label=O.label,C&&typeof O.label=="string"&&typeof C[I]=="string"&&O.label.trim()!==C[I].trim()&&Object(e.a)(!1,"`label` of `value` is not same as `label` in Select options.")):C&&I in C?E.label=C[I]:E.label=v,E.key=E.value,E};function i(g){return Object(m.d)(g).join("")}function u(g){return function(v,y){var w=v.toLowerCase();if("options"in y)return i(y.label).toLowerCase().includes(w);var S=y[g],_=i(S).toLowerCase();return _.includes(w)}}function r(g,v,y){var w=y.optionFilterProp,S=y.filterOption,_=[],I;return S===!1?v:(typeof S=="function"?I=S:I=u(w),v.forEach(function(C){if("options"in C){var E=I(g,C);if(E)_.push(C);else{var O=C.options.filter(function(M){return I(g,M)});O.length&&_.push(Object(t.a)(Object(t.a)({},C),{},{options:O}))}return}I(g,n(C))&&_.push(C)}),_)}function o(g,v){if(!v||!v.length)return null;var y=!1;function w(_,I){var C=Object(A.a)(I),E=C[0],O=C.slice(1);if(!E)return[_];var M=_.split(E);return y=y||M.length>1,M.reduce(function(F,H){return[].concat(Object(b.a)(F),Object(b.a)(w(H,O)))},[]).filter(function(F){return F})}var S=w(g,v);return y?S:null}function h(g,v){var y=s([g],v)[0];return y.disabled}function p(g,v,y,w){var S=Object(m.d)(v).slice().sort(),_=Object(b.a)(g),I=new Set;return g.forEach(function(C){C.options?C.options.forEach(function(E){I.add(E.value)}):I.add(C.value)}),S.forEach(function(C){var E=w?C.value:C;if(!I.has(E)){var O;_.push(w?(O={},Object(x.a)(O,y,C.label),Object(x.a)(O,"value",E),O):{value:E})}}),_}},"2dDv":function(j,R,l){var x=l("bYtY"),b=l("Fofx"),A=l("+TT/"),f=l("aX7z"),t=l("D1WM"),e=l("IwbS"),m=l("OELB"),d=l("72pK"),a=x.each,n=Math.min,s=Math.max,c=Math.floor,i=Math.ceil,u=m.round,r=Math.PI;function o(y,w,S){this._axesMap=x.createHashMap(),this._axesLayout={},this.dimensions=y.dimensions,this._rect,this._model=y,this._init(y,w,S)}o.prototype={type:"parallel",constructor:o,_init:function(y,w,S){var _=y.dimensions,I=y.parallelAxisIndex;a(_,function(C,E){var O=I[E],M=w.getComponent("parallelAxis",O),F=this._axesMap.set(C,new t(C,f.createScaleByModel(M),[0,0],M.get("type"),O)),H=F.type==="category";F.onBand=H&&M.get("boundaryGap"),F.inverse=M.get("inverse"),M.axis=F,F.model=M,F.coordinateSystem=M.coordinateSystem=this},this)},update:function(y,w){this._updateAxesFromSeries(this._model,y)},containPoint:function(y){var w=this._makeLayoutInfo(),S=w.axisBase,_=w.layoutBase,I=w.pixelDimIndex,C=y[1-I],E=y[I];return C>=S&&C<=S+w.axisLength&&E>=_&&E<=_+w.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(y,w){w.eachSeries(function(S){if(!y.contains(S,w))return;var _=S.getData();a(this.dimensions,function(I){var C=this._axesMap.get(I);C.scale.unionExtentFromData(_,_.mapDimension(I)),f.niceScaleExtent(C.scale,C.model)},this)},this)},resize:function(y,w){this._rect=A.getLayoutRect(y.getBoxLayoutParams(),{width:w.getWidth(),height:w.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var y=this._model,w=this._rect,S=["x","y"],_=["width","height"],I=y.get("layout"),C=I==="horizontal"?0:1,E=w[_[C]],O=[0,E],M=this.dimensions.length,F=h(y.get("axisExpandWidth"),O),H=h(y.get("axisExpandCount")||0,[0,M]),B=y.get("axisExpandable")&&M>3&&M>H&&H>1&&F>0&&E>0,X=y.get("axisExpandWindow"),J;if(X)J=h(X[1]-X[0],O),X[1]=X[0]+J;else{J=h(F*(H-1),O);var k=y.get("axisExpandCenter")||c(M/2);X=[F*k-J/2],X[1]=X[0]+J}var W=(E-J)/(M-H);W<3&&(W=0);var z=[c(u(X[0]/F,1))+1,i(u(X[1]/F,1))-1],K=W/F*X[0];return{layout:I,pixelDimIndex:C,layoutBase:w[S[C]],layoutLength:E,axisBase:w[S[1-C]],axisLength:w[_[1-C]],axisExpandable:B,axisExpandWidth:F,axisCollapseWidth:W,axisExpandWindow:X,axisCount:M,winInnerIndices:z,axisExpandWindow0Pos:K}},_layoutAxes:function(){var y=this._rect,w=this._axesMap,S=this.dimensions,_=this._makeLayoutInfo(),I=_.layout;w.each(function(C){var E=[0,_.axisLength],O=C.inverse?1:0;C.setExtent(E[O],E[1-O])}),a(S,function(C,E){var O=(_.axisExpandable?g:p)(E,_),M={horizontal:{x:O.position,y:_.axisLength},vertical:{x:0,y:O.position}},F={horizontal:r/2,vertical:0},H=[M[I].x+y.x,M[I].y+y.y],B=F[I],X=b.create();b.rotate(X,X,B),b.translate(X,X,H),this._axesLayout[C]={position:H,rotation:B,transform:X,axisNameAvailableWidth:O.axisNameAvailableWidth,axisLabelShow:O.axisLabelShow,nameTruncateMaxWidth:O.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(y){return this._axesMap.get(y)},dataToPoint:function(y,w){return this.axisCoordToPoint(this._axesMap.get(w).dataToCoord(y),w)},eachActiveState:function(y,w,S,_){S==null&&(S=0),_==null&&(_=y.count());var I=this._axesMap,C=this.dimensions,E=[],O=[];x.each(C,function(W){E.push(y.mapDimension(W)),O.push(I.get(W).model)});for(var M=this.hasAxisBrushed(),F=S;F<_;F++){var H;if(!M)H="normal";else{H="active";for(var B=y.getValues(E,F),X=0,J=C.length;XI*(1-H[0])?(M="jump",O=E-I*(1-H[2])):(O=E-I*H[1])>=0&&(O=E-I*(1-H[1]))<=0&&(O=0),O*=w.axisExpandWidth/F,O?d(O,_,C,"all"):M="none";else{var I=_[1]-_[0],X=C[1]*E/I;_=[s(0,X-I/2)],_[1]=n(C[1],_[0]+I),_[0]=_[1]-I}return{axisExpandWindow:_,behavior:M}}};function h(y,w){return n(s(y,w[0]),w[1])}function p(y,w){var S=w.layoutLength/(w.axisCount-1);return{position:S*y,axisNameAvailableWidth:S,axisLabelShow:!0}}function g(y,w){var S=w.layoutLength,_=w.axisExpandWidth,I=w.axisCount,C=w.axisCollapseWidth,E=w.winInnerIndices,O,M=C,F=!1,H;return y1&&arguments[1]!==void 0?arguments[1]:1,Gt=de.length,yr=0;yr1&&arguments[1]!==void 0?arguments[1]:!1;return Object(z.a)(Z).map(function(te,we){if(!i.isValidElement(te)||!te.type)return null;var pe=te.type.isSelectOptGroup,De=te.key,Ne=te.props,me=Ne.children,be=Object(w.a)(Ne,["children"]);return Y||!pe?K(te):Object(W.a)(Object(W.a)({key:"__RC_SELECT_GRP__".concat(De===null?we:De,"__"),label:De},be),{},{options:P(me)})}).filter(function(te){return te})}var G=l("2Qr1"),V=l("qNPg"),q=l("U8pU"),re=l("Kwbf"),ce=l("WKfj");function ie(Z){var Y=Z.mode,te=Z.options,we=Z.children,pe=Z.backfill,De=Z.allowClear,Ne=Z.placeholder,me=Z.getInputElement,be=Z.showSearch,Re=Z.onSearch,it=Z.defaultOpen,yt=Z.autoFocus,pt=Z.labelInValue,Pe=Z.value,Nt=Z.inputValue,ut=Z.optionLabelProp,Ft=Y==="multiple"||Y==="tags",Ut=be!==void 0?be:Ft||Y==="combobox",Wt=te||P(we);if(Object(re.a)(Y!=="tags"||Wt.every(function(Ee){return!Ee.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Y==="tags"||Y==="combobox"){var $t=Wt.some(function(Ee){return Ee.options?Ee.options.some(function(de){return typeof("value"in de?de.value:de.key)=="number"}):typeof("value"in Ee?Ee.value:Ee.key)=="number"});Object(re.a)(!$t,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(re.a)(Y!=="combobox"||!ut,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(re.a)(Y==="combobox"||!pe,"`backfill` only works with `combobox` mode."),Object(re.a)(Y==="combobox"||!me,"`getInputElement` only work with `combobox` mode."),Object(re.b)(Y!=="combobox"||!me||!De||!Ne,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Re&&!Ut&&Y!=="combobox"&&Y!=="tags"&&Object(re.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(re.b)(!it||yt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Pe!=null){var or=Object(ce.d)(Pe);Object(re.a)(!pt||or.every(function(Ee){return Object(q.a)(Ee)==="object"&&("key"in Ee||"value"in Ee)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(re.a)(!Ft||Array.isArray(Pe),"`value` should be array when `mode` is `multiple` or `tags`")}if(we){var ht=null;Object(z.a)(we).some(function(Ee){if(!i.isValidElement(Ee)||!Ee.type)return!1;var de=Ee.type;if(de.isSelectOption)return!1;if(de.isSelectOptGroup){var qe=Object(z.a)(Ee.props.children).every(function(rt){return!i.isValidElement(rt)||!Ee.type||rt.type.isSelectOption?!0:(ht=rt.type,!1)});return!qe}return ht=de,!0}),ht&&Object(re.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(ht.displayName||ht.name||ht,"`.")),Object(re.a)(Nt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var fe=ie,xe=Object(V.a)({prefixCls:"rc-select",components:{optionList:H},convertChildrenToData:P,flattenOptions:G.d,getLabeledValue:G.e,filterOptions:G.b,isValueDisabled:G.g,findValueOption:G.c,warningProps:fe,fillOptionsWithMissingValue:G.a}),Se=function(Z){Object(g.a)(te,Z);var Y=Object(v.a)(te);function te(){var we;return Object(h.a)(this,te),we=Y.apply(this,arguments),we.selectRef=i.createRef(),we.focus=function(){we.selectRef.current.focus()},we.blur=function(){we.selectRef.current.blur()},we}return Object(p.a)(te,[{key:"render",value:function(){return i.createElement(xe,Object.assign({ref:this.selectRef},this.props))}}]),te}(i.Component);Se.Option=X,Se.OptGroup=k;var ke=Se,ge=ke,Be=l("H84U"),ee=l("1vzs"),ue=l("3Nzz"),Ge=function(Z){n()(te,Z);var Y=c()(te);function te(){var we;return e()(this,te),we=Y.apply(this,arguments),we.selectRef=i.createRef(),we.focus=function(){we.selectRef.current&&we.selectRef.current.focus()},we.blur=function(){we.selectRef.current&&we.selectRef.current.blur()},we.getMode=function(){var pe=we.props.mode;return pe==="combobox"?void 0:pe===te.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":pe},we.renderSelect=function(pe){var De=pe.getPopupContainer,Ne=pe.getPrefixCls,me=pe.renderEmpty,be=pe.direction,Re=pe.virtual,it=pe.dropdownMatchSelectWidth,yt=we.props,pt=yt.prefixCls,Pe=yt.notFoundContent,Nt=yt.className,ut=yt.size,Ft=yt.listHeight,Ut=Ft===void 0?256:Ft,Wt=yt.listItemHeight,$t=Wt===void 0?24:Wt,or=yt.getPopupContainer,ht=yt.dropdownClassName,Ee=yt.bordered,de=Ne("select",pt),qe=we.getMode(),rt=qe==="multiple"||qe==="tags",ve;Pe!==void 0?ve=Pe:qe==="combobox"?ve=null:ve=me("Select");var bt=Object(ee.a)(f()(f()({},we.props),{multiple:rt,prefixCls:de})),jt=bt.suffixIcon,He=bt.itemIcon,kt=bt.removeIcon,Ar=bt.clearIcon,at=Object(u.default)(we.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),Ht=o()(ht,b()({},"".concat(de,"-dropdown-").concat(be),be==="rtl"));return i.createElement(ue.b.Consumer,null,function(Kt){var ot,et=ut||Kt,Ze=o()(Nt,(ot={},b()(ot,"".concat(de,"-lg"),et==="large"),b()(ot,"".concat(de,"-sm"),et==="small"),b()(ot,"".concat(de,"-rtl"),be==="rtl"),b()(ot,"".concat(de,"-borderless"),!Ee),ot));return i.createElement(ge,f()({ref:we.selectRef,virtual:Re,dropdownMatchSelectWidth:it},at,{listHeight:Ut,listItemHeight:$t,mode:qe,prefixCls:de,direction:be,inputIcon:jt,menuItemSelectedIcon:He,removeIcon:kt,clearIcon:Ar,notFoundContent:ve,className:Ze,getPopupContainer:or||De,dropdownClassName:Ht}))})},we}return d()(te,[{key:"render",value:function(){return i.createElement(Be.a,null,this.renderSelect)}}]),te}(i.Component);Ge.Option=X,Ge.OptGroup=k,Ge.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",Ge.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var ae=R.a=Ge},"2fw6":function(j,R,l){var x=l("y+Vt"),b=x.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(f,t,e){e&&f.moveTo(t.cx+t.r,t.cy),f.arc(t.cx,t.cy,t.r,0,Math.PI*2,!0)}});j.exports=b},"2jpz":function(j,R,l){"use strict";l.d(R,"a",function(){return p});var x=l("cDf5"),b=l.n(x),A=l("q1tI"),f=l.n(A),t=l("TSYQ"),e=l.n(t),m=l("gZBC"),d=l.n(m),a=l("vk+C"),n=l.n(a),s=l("pG52"),c=l.n(s),i=l("Csr3"),u=l.n(i),r=l("e5VY"),o=l.n(r),h=l("0n0R");function p(g,v,y,w){var S=w.isLeaf,_=w.expanded,I=w.loading;if(I)return A.createElement(d.a,{className:"".concat(g,"-switcher-loading-icon")});var C;if(y&&b()(y)==="object"&&(C=y.showLeafIcon),S)return y?b()(y)==="object"&&!C?A.createElement("span",{className:"".concat(g,"-switcher-leaf-line")}):A.createElement(n.a,{className:"".concat(g,"-switcher-line-icon")}):null;var E="".concat(g,"-switcher-icon");return Object(h.b)(v)?Object(h.a)(v,{className:e()(v.props.className||"",E)}):v||(y?_?A.createElement(c.a,{className:"".concat(g,"-switcher-line-icon")}):A.createElement(u.a,{className:"".concat(g,"-switcher-line-icon")}):A.createElement(o.a,{className:E}))}},"2oIt":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};R.default=x},"2uGb":function(j,R,l){var x=l("ProS");l("ko1b"),l("s2lz"),l("RBEP");var b=l("kMLO"),A=l("nKiI");x.registerVisual(b),x.registerLayout(A)},"2w7y":function(j,R,l){var x=l("ProS");l("qMZE"),l("g0SD"),x.registerPreprocessor(function(b){b.markPoint=b.markPoint||{}})},"33Ds":function(j,R,l){var x=l("ProS"),b=l("b9oc"),A=l("Kagy"),f=l("IUWy"),t=A.toolbox.restore;function e(a){this.model=a}e.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.title};var m=e.prototype;m.onclick=function(a,n,s){b.clear(a),n.dispatchAction({type:"restore",from:this.uid})},f.register("restore",e),x.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(a,n){n.resetOption("recreate")});var d=e;j.exports=d},"34/K":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;function x(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var m=0;m>0&3)*255/3,y[w*4+1]=(p[g+w]>>2&3)*255/3,y[w*4+2]=(p[g+w]>>4&3)*255/3,y[w*4+4]=0;p=y,g=0}return c.blitImage(m,o,a,h,p,g),s.rQskipBytes(h*r),this._lines-=h,!(this._lines>0)}}]),t}();R.default=f},"3690":function(j,R,l){"use strict";function x(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(s){return typeof s}:x=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},x(a)}Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var b=f(l("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return A=function(){return a},a}function f(a){if(a&&a.__esModule)return a;if(a===null||x(a)!=="object"&&typeof a!="function")return{default:a};var n=A();if(n&&n.has(a))return n.get(a);var s={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in a)if(Object.prototype.hasOwnProperty.call(a,i)){var u=c?Object.getOwnPropertyDescriptor(a,i):null;u&&(u.get||u.set)?Object.defineProperty(s,i,u):s[i]=a[i]}return s.default=a,n&&n.set(a,s),s}function t(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}function e(a,n){for(var s=0;s0;){var p=1;if(r.rQwait("HEXTILE",p))return!1;var g=r.rQ,v=r.rQi,y=g[v];if(y>30)throw new Error("Illegal hextile subencoding (subencoding: "+y+")");var w=this._totalTiles-this._tiles,S=w%this._tilesX,_=Math.floor(w/this._tilesX),I=s+S*16,C=c+_*16,E=Math.min(16,s+i-I),O=Math.min(16,c+u-C);if(y&1)p+=E*O*4;else if(y&2&&(p+=4),y&4&&(p+=4),y&8){if(p++,r.rQwait("HEXTILE",p))return!1;var M=g[v+p-1];y&16?p+=M*(4+2):p+=M*2}if(r.rQwait("HEXTILE",p))return!1;if(v++,y===0)this._lastsubencoding&1?b.Debug(" Ignoring blank after RAW"):o.fillRect(I,C,E,O,this._background);else if(y&1)o.blitImage(I,C,E,O,g,v),v+=p-1;else{if(y&2&&(this._background=[g[v],g[v+1],g[v+2],g[v+3]],v+=4),y&4&&(this._foreground=[g[v],g[v+1],g[v+2],g[v+3]],v+=4),o.startTile(I,C,E,O,this._background),y&8){var F=g[v];v++;for(var H=0;H>4,k=X&15,W=g[v];v++;var z=(W>>4)+1,K=(W&15)+1;o.subTile(J,k,z,K,B)}}o.finishTile()}r.rQi=v,this._lastsubencoding=y,this._tiles--}return!0}}]),a}();R.default=d},"3C/r":function(j,R){var l=function(A,f){this.image=A,this.repeat=f,this.type="pattern"};l.prototype.getCanvasPattern=function(b){return b.createPattern(this.image,this.repeat||"repeat")};var x=l;j.exports=x},"3CBa":function(j,R,l){var x=l("hydK"),b=x.createElement,A=l("bYtY"),f=l("SUKs"),t=l("y+Vt"),e=l("Dagg"),m=l("dqUG"),d=l("DBLp"),a=l("sW+o"),n=l("n6Mw"),s=l("vKoX"),c=l("P47w"),i=c.path,u=c.image,r=c.text;function o(E){return parseInt(E,10)}function h(E){return E instanceof t?i:E instanceof e?u:E instanceof m?r:i}function p(E,O){return O&&E&&O.parentNode!==E}function g(E,O,M){if(p(E,O)&&M){var F=M.nextSibling;F?E.insertBefore(O,F):E.appendChild(O)}}function v(E,O){if(p(E,O)){var M=E.firstChild;M?E.insertBefore(O,M):E.appendChild(O)}}function y(E,O){O&&E&&O.parentNode===E&&E.removeChild(O)}function w(E){return E.__textSvgEl}function S(E){return E.__svgEl}var _=function(O,M,F,H){this.root=O,this.storage=M,this._opts=F=A.extend({},F||{});var B=b("svg");B.setAttribute("xmlns","http://www.w3.org/2000/svg"),B.setAttribute("version","1.1"),B.setAttribute("baseProfile","full"),B.style.cssText="user-select:none;position:absolute;left:0;top:0;";var X=b("g");B.appendChild(X);var J=b("g");B.appendChild(J),this.gradientManager=new a(H,J),this.clipPathManager=new n(H,J),this.shadowManager=new s(H,J);var k=document.createElement("div");k.style.cssText="overflow:hidden;position:relative",this._svgDom=B,this._svgRoot=J,this._backgroundRoot=X,this._viewport=k,O.appendChild(k),k.appendChild(B),this.resize(F.width,F.height),this._visibleList=[]};_.prototype={constructor:_,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var O=this.getViewportRoot();if(O)return{offsetLeft:O.offsetLeft||0,offsetTop:O.offsetTop||0}},refresh:function(){var O=this.storage.getDisplayList(!0);this._paintList(O)},setBackgroundColor:function(O){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var M=b("rect");M.setAttribute("width",this.getWidth()),M.setAttribute("height",this.getHeight()),M.setAttribute("x",0),M.setAttribute("y",0),M.setAttribute("id",0),M.style.fill=O,this._backgroundRoot.appendChild(M),this._backgroundNode=M},_paintList:function(O){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var M=this._svgRoot,F=this._visibleList,H=O.length,B=[],X;for(X=0;X=0;--J)if(X[J]===B)return!0;return!1}),F}else return null;else return F[0]},resize:function(O,M){var F=this._viewport;F.style.display="none";var H=this._opts;if(O!=null&&(H.width=O),M!=null&&(H.height=M),O=this._getSize(0),M=this._getSize(1),F.style.display="",this._width!==O||this._height!==M){this._width=O,this._height=M;var B=F.style;B.width=O+"px",B.height=M+"px";var X=this._svgDom;X.setAttribute("width",O),X.setAttribute("height",M)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",O),this._backgroundNode.setAttribute("height",M))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(O){var M=this._opts,F=["width","height"][O],H=["clientWidth","clientHeight"][O],B=["paddingLeft","paddingTop"][O],X=["paddingRight","paddingBottom"][O];if(M[F]!=null&&M[F]!=="auto")return parseFloat(M[F]);var J=this.root,k=document.defaultView.getComputedStyle(J);return(J[H]||o(k[F])||o(J.style[F]))-(o(k[B])||0)-(o(k[X])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var O=encodeURIComponent(this._svgDom.outerHTML.replace(/> -\r<`));return"data:image/svg+xml;charset=UTF-8,"+O}};function I(E){return function(){f('In SVG mode painter not support method "'+E+'"')}}A.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(E){_.prototype[E]=I(E)});var C=_;j.exports=C},"3LNs":function(j,R,l){var x=l("bYtY"),b=l("Yl7c"),A=l("IwbS"),f=l("zTMp"),t=l("YH21"),e=l("iLNv"),m=l("4NO4"),d=m.makeInner,a=d(),n=x.clone,s=x.bind;function c(){}c.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(g,v,y,w){var S=v.get("value"),_=v.get("status");if(this._axisModel=g,this._axisPointerModel=v,this._api=y,!w&&this._lastValue===S&&this._lastStatus===_)return;this._lastValue=S,this._lastStatus=_;var I=this._group,C=this._handle;if(!_||_==="hide"){I&&I.hide(),C&&C.hide();return}I&&I.show(),C&&C.show();var E={};this.makeElOption(E,S,g,v,y);var O=E.graphicKey;O!==this._lastGraphicKey&&this.clear(y),this._lastGraphicKey=O;var M=this._moveAnimation=this.determineAnimation(g,v);if(!I)I=this._group=new A.Group,this.createPointerEl(I,E,g,v),this.createLabelEl(I,E,g,v),y.getZr().add(I);else{var F=x.curry(i,v,M);this.updatePointerEl(I,E,F,v),this.updateLabelEl(I,E,F,v)}h(I,v,!0),this._renderHandle(S)},remove:function(g){this.clear(g)},dispose:function(g){this.clear(g)},determineAnimation:function(g,v){var y=v.get("animation"),w=g.axis,S=w.type==="category",_=v.get("snap");if(!_&&!S)return!1;if(y==="auto"||y==null){var I=this.animationThreshold;if(S&&w.getBandWidth()>I)return!0;if(_){var C=f.getAxisInfo(g).seriesDataCount,E=w.getExtent();return Math.abs(E[0]-E[1])/C>I}return!1}return y===!0},makeElOption:function(g,v,y,w,S){},createPointerEl:function(g,v,y,w){var S=v.pointer;if(S){var _=a(g).pointerEl=new A[S.type](n(v.pointer));g.add(_)}},createLabelEl:function(g,v,y,w){if(v.label){var S=a(g).labelEl=new A.Rect(n(v.label));g.add(S),r(S,w)}},updatePointerEl:function(g,v,y){var w=a(g).pointerEl;w&&v.pointer&&(w.setStyle(v.pointer.style),y(w,{shape:v.pointer.shape}))},updateLabelEl:function(g,v,y,w){var S=a(g).labelEl;S&&(S.setStyle(v.label.style),y(S,{shape:v.label.shape,position:v.label.position}),r(S,w))},_renderHandle:function(g){if(this._dragging||!this.updateHandleTransform)return;var v=this._axisPointerModel,y=this._api.getZr(),w=this._handle,S=v.getModel("handle"),_=v.get("status");if(!S.get("show")||!_||_==="hide"){w&&y.remove(w),this._handle=null;return}var I;this._handle||(I=!0,w=this._handle=A.createIcon(S.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(O){t.stop(O.event)},onmousedown:s(this._onHandleDragMove,this,0,0),drift:s(this._onHandleDragMove,this),ondragend:s(this._onHandleDragEnd,this)}),y.add(w)),h(w,v,!1);var C=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];w.setStyle(S.getItemStyle(null,C));var E=S.get("size");x.isArray(E)||(E=[E,E]),w.attr("scale",[E[0]/2,E[1]/2]),e.createOrUpdate(this,"_doDispatchAxisPointer",S.get("throttle")||0,"fixRate"),this._moveHandleToValue(g,I)},_moveHandleToValue:function(g,v){i(this._axisPointerModel,!v&&this._moveAnimation,this._handle,o(this.getHandleTransform(g,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(g,v){var y=this._handle;if(!y)return;this._dragging=!0;var w=this.updateHandleTransform(o(y),[g,v],this._axisModel,this._axisPointerModel);this._payloadInfo=w,y.stopAnimation(),y.attr(o(w)),a(y).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var g=this._handle;if(!g)return;var v=this._payloadInfo,y=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:v.cursorPoint[0],y:v.cursorPoint[1],tooltipOption:v.tooltipOption,axesInfo:[{axisDim:y.axis.dim,axisIndex:y.componentIndex}]})},_onHandleDragEnd:function(g){this._dragging=!1;var v=this._handle;if(!v)return;var y=this._axisPointerModel.get("value");this._moveHandleToValue(y),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(g){this._lastValue=null,this._lastStatus=null;var v=g.getZr(),y=this._group,w=this._handle;v&&y&&(this._lastGraphicKey=null,y&&v.remove(y),w&&v.remove(w),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(g,v,y){return y=y||0,{x:g[y],y:g[1-y],width:v[y],height:v[1-y]}}},c.prototype.constructor=c;function i(g,v,y,w){u(a(y).lastProp,w)||(a(y).lastProp=w,v?A.updateProps(y,w,g):(y.stopAnimation(),y.attr(w)))}function u(g,v){if(x.isObject(g)&&x.isObject(v)){var y=!0;return x.each(v,function(w,S){y=y&&u(g[S],w)}),!!y}else return g===v}function r(g,v){g[v.get("label.show")?"show":"hide"]()}function o(g){return{position:g.position.slice(),rotation:g.rotation||0}}function h(g,v,y){var w=v.get("z"),S=v.get("zlevel");g&&g.traverse(function(_){_.type!=="group"&&(w!=null&&(_.z=w),S!=null&&(_.zlevel=S),_.silent=y)})}b.enableClassExtend(c);var p=c;j.exports=p},"3OrL":function(j,R,l){var x=l("bYtY"),b=l("6Ic6"),A=l("IwbS"),f=l("y+Vt"),t=["itemStyle"],e=["emphasis","itemStyle"],m=b.extend({type:"boxplot",render:function(i,u,r){var o=i.getData(),h=this.group,p=this._data;this._data||h.removeAll();var g=i.get("layout")==="horizontal"?1:0;o.diff(p).add(function(v){if(o.hasValue(v)){var y=o.getItemLayout(v),w=a(y,o,v,g,!0);o.setItemGraphicEl(v,w),h.add(w)}}).update(function(v,y){var w=p.getItemGraphicEl(y);if(!o.hasValue(v)){h.remove(w);return}var S=o.getItemLayout(v);w?n(S,w,o,v):w=a(S,o,v,g),h.add(w),o.setItemGraphicEl(v,w)}).remove(function(v){var y=p.getItemGraphicEl(v);y&&h.remove(y)}).execute(),this._data=o},remove:function(i){var u=this.group,r=this._data;this._data=null,r&&r.eachItemGraphicEl(function(o){o&&u.remove(o)})},dispose:x.noop}),d=f.extend({type:"boxplotBoxPath",shape:{},buildPath:function(i,u){var r=u.points,o=0;for(i.moveTo(r[o][0],r[o][1]),o++;o<4;o++)i.lineTo(r[o][0],r[o][1]);for(i.closePath();o=0||Ft.indexOf("Bottom")>=0?Wt.top="".concat(Ut.height-Nt.offset[1],"px"):(Ft.indexOf("Top")>=0||Ft.indexOf("bottom")>=0)&&(Wt.top="".concat(-Nt.offset[1],"px")),Ft.indexOf("left")>=0||Ft.indexOf("Right")>=0?Wt.left="".concat(Ut.width-Nt.offset[0],"px"):(Ft.indexOf("right")>=0||Ft.indexOf("Left")>=0)&&(Wt.left="".concat(-Nt.offset[0],"px")),Pe.style.transformOrigin="".concat(Wt.left," ").concat(Wt.top)},Be=function(){var Pe=W.title,Nt=W.overlay;return Pe===0?Pe:Nt||Pe||""},ee=W.prefixCls,ue=W.openClassName,Ge=W.getPopupContainer,ae=W.getTooltipContainer,Z=W.overlayClassName,Y=W.color,te=W.overlayInnerStyle,we=W.children,pe=V("tooltip",ee),De=ie;!("visible"in W)&&xe()&&(De=!1);var Ne=X(Object(O.b)(we)?we:m.createElement("span",null,we),pe),me=Ne.props,be=w()(me.className,b()({},ue||"".concat(pe,"-open"),!0)),Re=w()(Z,(K={},b()(K,"".concat(pe,"-rtl"),q==="rtl"),b()(K,"".concat(pe,"-").concat(Y),Y&&B.test(Y)),K)),it,yt;return Y&&!B.test(Y)&&(it=e()(e()({},te),{background:Y}),yt={background:Y}),m.createElement(v,e()({},W,{prefixCls:pe,overlayClassName:Re,getTooltipContainer:Ge||ae||G,ref:z,builtinPlacements:ke(),overlay:Be(),visible:De,onVisibleChange:Se,onPopupAlign:ge,overlayInnerStyle:it,arrowContent:m.createElement("span",{className:"".concat(pe,"-arrow-content"),style:yt})}),De?Object(O.a)(Ne,{className:be}):Ne)});J.displayName="Tooltip",J.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var k=R.a=J},"3TkU":function(j,R,l){l("aTJb"),l("OlYY"),l("fc+c"),l("QUw5"),l("Swgg"),l("LBfv"),l("noeP")},"3X6L":function(j,R,l){var x=l("bYtY"),b=l("7a+S"),A=l("OKJ2"),f=b.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});x.mixin(f,A);var t=f;j.exports=t},"3dVZ":function(j,R,l){},"3e3G":function(j,R,l){var x=l("bYtY"),b=l("QuXc"),A=function(e,m,d,a,n){this.x=e==null?.5:e,this.y=m==null?.5:m,this.r=d==null?.5:d,this.type="radial",this.global=n||!1,b.call(this,a)};A.prototype={constructor:A},x.inherits(A,b);var f=A;j.exports=f},"3gBT":function(j,R){var l=2311;function x(){return l++}j.exports=x},"3hzK":function(j,R){var l={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};j.exports=l},"3m61":function(j,R){function l(b){return b instanceof Array||(b=[b,b]),b}function x(b){b.eachSeriesByType("graph",function(A){var f=A.getGraph(),t=A.getEdgeData(),e=l(A.get("edgeSymbol")),m=l(A.get("edgeSymbolSize")),d="lineStyle.color".split("."),a="lineStyle.opacity".split(".");t.setVisual("fromSymbol",e&&e[0]),t.setVisual("toSymbol",e&&e[1]),t.setVisual("fromSymbolSize",m&&m[0]),t.setVisual("toSymbolSize",m&&m[1]),t.setVisual("color",A.get(d)),t.setVisual("opacity",A.get(a)),t.each(function(n){var s=t.getItemModel(n),c=f.getEdgeByIndex(n),i=l(s.getShallow("symbol",!0)),u=l(s.getShallow("symbolSize",!0)),r=s.get(d),o=s.get(a);switch(r){case"source":r=c.node1.getVisual("color");break;case"target":r=c.node2.getVisual("color");break}i[0]&&c.setVisual("fromSymbol",i[0]),i[1]&&c.setVisual("toSymbol",i[1]),u[0]&&c.setVisual("fromSymbolSize",u[0]),u[1]&&c.setVisual("toSymbolSize",u[1]),c.setVisual("color",r),c.setVisual("opacity",o)})})}j.exports=x},"3ouR":function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M354 671h58.9c4.7 0 9.2-2.1 12.3-5.7L512 561.8l86.8 103.5c3 3.6 7.5 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.4-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.7 0-9.2 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3-3.6-7.5-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"close-square",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="CloseSquareOutlined";var m=R.a=b.forwardRef(e)},"3zoK":function(j,R,l){var x=l("bYtY"),b=l("bLfw"),A=l("KCsZ"),f=l("nkfE"),t=l("OELB"),e=l("ICMv"),m=b.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return A([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(s){var c=this.activeIntervals=x.clone(s);if(c)for(var i=c.length-1;i>=0;i--)t.asc(c[i])},getActiveState:function(s){var c=this.activeIntervals;if(!c.length)return"normal";if(s==null||isNaN(s))return"inactive";if(c.length===1){var i=c[0];if(i[0]<=s&&s<=i[1])return"active"}else for(var u=0,r=c.length;u40&&(H=Math.max(1,Math.floor(F/40)));for(var B=M[0],X=_.dataToCoord(B+1)-_.dataToCoord(B),J=Math.abs(X*Math.cos(E)),k=Math.abs(X*Math.sin(E)),W=0,z=0;B<=M[1];B+=H){var K=0,P=0,G=b.getBoundingRect(C(B),I.font,"center","top");K=G.width*1.3,P=G.height*1.3,W=Math.max(W,K,7),z=Math.max(z,P,7)}var V=W/J,q=z/k;isNaN(V)&&(V=Infinity),isNaN(q)&&(q=Infinity);var re=Math.max(0,Math.floor(Math.min(V,q))),ce=a(_.model),ie=_.getExtent(),fe=ce.lastAutoInterval,xe=ce.lastTickCount;return fe!=null&&xe!=null&&Math.abs(fe-re)<=1&&Math.abs(xe-F)<=1&&fe>re&&ce.axisExtend0===ie[0]&&ce.axisExtend1===ie[1]?re=fe:(ce.lastTickCount=F,ce.lastAutoInterval=re,ce.axisExtend0=ie[0],ce.axisExtend1=ie[1]),re}function y(_){var I=_.getLabelModel();return{axisRotate:_.getRotate?_.getRotate():_.isHorizontal&&!_.isHorizontal()?90:0,labelRotate:I.get("rotate")||0,font:I.getFont()}}function w(_,I,C){var E=e(_),O=_.scale,M=O.getExtent(),F=_.getLabelModel(),H=[],B=Math.max((I||0)+1,1),X=M[0],J=O.count();X!==0&&B>1&&J/B>2&&(X=Math.round(Math.ceil(X/B)*B));var k=d(_),W=F.get("showMinLabel")||k,z=F.get("showMaxLabel")||k;W&&X!==M[0]&&P(M[0]);for(var K=X;K<=M[1];K+=B)P(K);z&&K-B!==M[1]&&P(M[1]);function P(G){H.push(C?G:{formattedLabel:E(G),rawLabel:O.getLabel(G),tickValue:G})}return H}function S(_,I,C){var E=_.scale,O=e(_),M=[];return x.each(E.getTicks(),function(F){var H=E.getLabel(F);I(F,H)&&M.push(C?F:{formattedLabel:O(F),rawLabel:H,tickValue:F})}),M}R.createAxisLabels=n,R.createAxisTicks=s,R.calculateCategoryInterval=v},"4NO4":function(j,R,l){var x=l("bYtY"),b=l("ItGF"),A=x.each,f=x.isObject,t=x.isArray,e="series\0";function m(C){return C instanceof Array?C:C==null?[]:[C]}function d(C,E,O){if(C){C[E]=C[E]||{},C.emphasis=C.emphasis||{},C.emphasis[E]=C.emphasis[E]||{};for(var M=0,F=O.length;M=O.length&&O.push({option:M})}),O}function i(C){var E=x.createHashMap();A(C,function(O,M){var F=O.exist;F&&E.set(F.id,O)}),A(C,function(O,M){var F=O.option;x.assert(!F||F.id==null||!E.get(F.id)||E.get(F.id)===O,"id duplicates: "+(F&&F.id)),F&&F.id!=null&&E.set(F.id,O),!O.keyInfo&&(O.keyInfo={})}),A(C,function(O,M){var F=O.exist,H=O.option,B=O.keyInfo;if(!f(H))return;if(B.name=H.name!=null?H.name+"":F?F.name:e+M,F)B.id=F.id;else if(H.id!=null)B.id=H.id+"";else{var X=0;do B.id="\0"+B.name+"\0"+X++;while(E.get(B.id))}E.set(B.id,O)})}function u(C){var E=C.name;return!!(E&&E.indexOf(e))}function r(C){return f(C)&&C.id&&(C.id+"").indexOf("\0_ec_\0")===0}function o(C,E){var O={},M={};return F(C||[],O),F(E||[],M,O),[H(O),H(M)];function F(B,X,J){for(var k=0,W=B.length;k=t[0]&&f<=t[1]},b.prototype.normalize=function(f){var t=this._extent;return t[1]===t[0]?.5:(f-t[0])/(t[1]-t[0])},b.prototype.scale=function(f){var t=this._extent;return f*(t[1]-t[0])+t[0]},b.prototype.unionExtent=function(f){var t=this._extent;f[0]t[1]&&(t[1]=f[1])},b.prototype.unionExtentFromData=function(f,t){this.unionExtent(f.getApproximateExtent(t))},b.prototype.getExtent=function(){return this._extent.slice()},b.prototype.setExtent=function(f,t){var e=this._extent;isNaN(f)||(e[0]=f),isNaN(t)||(e[1]=t)},b.prototype.isBlank=function(){return this._isBlank},b.prototype.setBlank=function(f){this._isBlank=f},b.prototype.getLabel=null,x.enableClassExtend(b),x.enableClassManagement(b,{registerWhenExtend:!0});var A=b;j.exports=A},"4fz+":function(j,R,l){var x=l("bYtY"),b=l("1bdT"),A=l("mFDi"),f=function(m){m=m||{},b.call(this,m);for(var d in m)m.hasOwnProperty(d)&&(this[d]=m[d]);this._children=[],this.__storage=null,this.__dirty=!0};f.prototype={constructor:f,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(m){return this._children[m]},childOfName:function(m){for(var d=this._children,a=0;a=0&&(a.splice(n,0,m),this._doAdd(m))}return this},_doAdd:function(m){m.parent&&m.parent.remove(m),m.parent=this;var d=this.__storage,a=this.__zr;d&&d!==m.__storage&&(d.addToStorage(m),m instanceof f&&m.addChildrenToStorage(d)),a&&a.refresh()},remove:function(m){var d=this.__zr,a=this.__storage,n=this._children,s=x.indexOf(n,m);return s<0?this:(n.splice(s,1),m.parent=null,a&&(a.delFromStorage(m),m instanceof f&&m.delChildrenFromStorage(a)),d&&d.refresh(),this)},removeAll:function(){var m=this._children,d=this.__storage,a,n;for(n=0;n1e-4){I[0]=p-v,I[1]=g-y,C[0]=p+v,C[1]=g+y;return}if(d[0]=e(w)*v+p,d[1]=t(w)*y+g,a[0]=e(S)*v+p,a[1]=t(S)*y+g,E(I,d,a),O(C,d,a),w=w%m,w<0&&(w=w+m),S=S%m,S<0&&(S=S+m),w>S&&!_?S+=m:ww&&(n[0]=e(H)*v+p,n[1]=t(H)*y+g,E(I,n,I),O(C,n,C))}R.fromPoints=s,R.fromLine=c,R.fromCubic=r,R.fromQuadratic=o,R.fromArc=h},"4vCz":function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("X2/X")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="PlusSquareOutlined";var d=f.forwardRef(m);R.default=d},"4xFK":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};R.default=x},"56rv":function(j,R,l){var x=l("IwbS"),b=l("x3X8"),A=b.getDefaultLabel;function f(e,m,d,a,n,s,c){var i=d.getModel("label"),u=d.getModel("emphasis.label");x.setLabelStyle(e,m,i,u,{labelFetcher:n,labelDataIndex:s,defaultText:A(n.getData(),s),isRectText:!0,autoColor:a}),t(e),t(m)}function t(e,m){e.textPosition==="outside"&&(e.textPosition=m)}R.setLabel=f},"59Ip":function(j,R,l){var x=l("Sj9i");function b(A,f,t,e,m,d,a,n,s,c,i){if(s===0)return!1;var u=s;if(i>f+u&&i>e+u&&i>d+u&&i>n+u||iA+u&&c>t+u&&c>m+u&&c>a+u||cd)return m[n];return m[a-1]}var e={clearColorPalette:function(){f(this).colorIdx=0,f(this).colorNameMap={}},getColorFromPalette:function(m,d,a){d=d||this;var n=f(d),s=n.colorIdx||0,c=n.colorNameMap=n.colorNameMap||{};if(c.hasOwnProperty(m))return c[m];var i=A(this.get("color",!0)),u=this.get("colorLayer",!0),r=a==null||!u?i:t(u,a);if(r=r||i,!r||!r.length)return;var o=r[s];return m&&(c[m]=o),n.colorIdx=(s+1)%r.length,o}};j.exports=e},"5NDa":function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("OnYD"),f=l.n(A),t=l("+L6B")},"5NHt":function(j,R,l){l("aTJb"),l("OlYY"),l("fc+c"),l("N5BQ"),l("IyUQ"),l("LBfv"),l("noeP")},"5OYt":function(j,R,l){"use strict";var x=l("J4zp"),b=l.n(x),A=l("q1tI"),f=l.n(A),t=l("ACnJ");function e(){var m=Object(A.useState)({}),d=b()(m,2),a=d[0],n=d[1];return Object(A.useEffect)(function(){var s=t.a.subscribe(function(c){n(c)});return function(){return t.a.unsubscribe(s)}},[]),a}R.a=e},"5RzL":function(j,R,l){"use strict";var x=l("pVnL"),b=l.n(x),A=l("lSNA"),f=l.n(A),t=l("lwsE"),e=l.n(t),m=l("W8MJ"),d=l.n(m),a=l("7W2i"),n=l.n(a),s=l("LQ03"),c=l.n(s),i=l("q1tI"),u=l("1OyB"),r=l("vuIU"),o=l("Ji7U"),h=l("LK+K"),p=l("KQm4"),g=l("U8pU"),v=l("ODXe"),y=l("VTBJ"),w=l("qNPg"),S=l("2Qr1"),_=l("815F"),I=l("NvD2"),C=l("wPlo"),E=l("6cGi"),O=l("Kwbf"),M=l("4IlW"),F=l("YrtM"),H=l("fAei"),B=i.createContext(null);function X(He,kt){if(!He)return!0;var Ar=He.data,at=Ar.disabled,Ht=Ar.disableCheckbox;switch(kt){case"select":return at;case"checkbox":return at||Ht}return!1}function J(He,kt){var Ar=i.useCallback(function(Ht){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",ot=arguments.length>2?arguments[2]:void 0,et=He.get(Ht);return!ot&&X(et,Kt)?null:et},[He]),at=i.useCallback(function(Ht){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",ot=arguments.length>2?arguments[2]:void 0,et=kt.get(Ht);return!ot&&X(et,Kt)?null:et},[kt]);return[Ar,at]}function k(He){return i.useMemo(function(){var kt=new Map,Ar=new Map;return He.forEach(function(at){kt.set(at.key,at),Ar.set(at.data.value,at)}),[kt,Ar]},[He])}var W={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},z=function(kt,Ar){var at=kt.prefixCls,Ht=kt.height,Kt=kt.itemHeight,ot=kt.virtual,et=kt.options,Ze=kt.flattenOptions,Gt=kt.multiple,yr=kt.searchValue,br=kt.onSelect,Sr=kt.onToggleOpen,Tn=kt.open,cn=kt.notFoundContent,Kn=kt.onMouseEnter,lt=i.useContext(B),mt=lt.checkable,Le=lt.checkedKeys,ze=lt.halfCheckedKeys,$e=lt.treeExpandedKeys,gt=lt.treeDefaultExpandAll,ir=lt.treeDefaultExpandedKeys,Xt=lt.onTreeExpand,er=lt.treeIcon,Wr=lt.showTreeIcon,en=lt.switcherIcon,Fn=lt.treeLine,ar=lt.treeNodeFilterProp,It=lt.loadData,Ct=lt.treeLoadedKeys,mr=lt.treeMotion,gr=lt.onTreeLoad,Mt=i.useRef(),rr=Object(F.a)(function(){return et},[Tn,et],function(rn,Br){return Br[0]&&rn[1]!==Br[1]}),Dt=k(Ze),tr=Object(v.a)(Dt,2),Dr=tr[0],dr=tr[1],Tr=J(Dr,dr),vn=Object(v.a)(Tr,2),on=vn[0],Gn=vn[1],di=i.useMemo(function(){return Le.map(function(rn){var Br=Gn(rn);return Br?Br.key:null})},[Le]),Ti=i.useMemo(function(){return mt?{checked:di,halfChecked:ze}:null},[di,ze,mt]);i.useEffect(function(){if(Tn&&!Gt&&di.length){var rn;(rn=Mt.current)===null||rn===void 0||rn.scrollTo({key:di[0]})}},[Tn]);var Fi=String(yr).toLowerCase(),la=function(Br){return Fi?String(Br[ar]).toLowerCase().includes(Fi):!1},Ta=i.useState(ir),dt=Object(v.a)(Ta,2),Me=dt[0],Xe=dt[1],Qe=i.useState(null),st=Object(v.a)(Qe,2),nt=st[0],ft=st[1],Bt=i.useMemo(function(){return $e?Object(p.a)($e):yr?nt:Me},[Me,nt,Fi,$e]);i.useEffect(function(){yr&&ft(Ze.map(function(rn){return rn.key}))},[yr]);var Et=function(Br){Xe(Br),ft(Br),Xt&&Xt(Br)},nr=function(Br){Br.preventDefault()},Ur=function(Br,Vn){var gi=Vn.node.key,Ni=on(gi,mt?"checkbox":"select");Ni!==null&&br(Ni.data.value,{selected:!Le.includes(Ni.data.value)}),Gt||Sr(!1)},Lr=i.useState(null),Vr=Object(v.a)(Lr,2),sr=Vr[0],Bn=Vr[1],Er=on(sr);if(i.useImperativeHandle(Ar,function(){return{onKeyDown:function(Br){var Vn,gi=Br.which;switch(gi){case M.a.UP:case M.a.DOWN:case M.a.LEFT:case M.a.RIGHT:(Vn=Mt.current)===null||Vn===void 0||Vn.onKeyDown(Br);break;case M.a.ENTER:{Er!==null&&Ur(null,{node:{key:sr},selected:!Le.includes(Er.data.value)});break}case M.a.ESC:Sr(!1)}},onKeyUp:function(){}}}),rr.length===0)return i.createElement("div",{role:"listbox",className:"".concat(at,"-empty"),onMouseDown:nr},cn);var gn={};return Ct&&(gn.loadedKeys=Ct),Bt&&(gn.expandedKeys=Bt),i.createElement("div",{onMouseDown:nr,onMouseEnter:Kn},Er&&Tn&&i.createElement("span",{style:W,"aria-live":"assertive"},Er.data.value),i.createElement(H.b,Object.assign({ref:Mt,focusable:!1,prefixCls:"".concat(at,"-tree"),treeData:rr,height:Ht,itemHeight:Kt,virtual:ot,multiple:Gt,icon:er,showIcon:Wr,switcherIcon:en,showLine:Fn,loadData:yr?null:It,motion:mr,checkable:mt,checkStrictly:!0,checkedKeys:Ti,selectedKeys:mt?[]:di,defaultExpandAll:gt},gn,{onActiveChange:Bn,onSelect:Ur,onCheck:Ur,onExpand:Et,onLoad:gr,filterTreeNode:la})))},K=i.forwardRef(z);K.displayName="OptionList";var P=K,G=function(){return null},V=G,q=l("Ff2n"),re=l("Zm9Q");function ce(He){return Object(re.a)(He).map(function(kt){if(!i.isValidElement(kt)||!kt.type)return null;var Ar=kt.key,at=kt.props,Ht=at.children,Kt=at.value,ot=Object(q.a)(at,["children","value"]),et=Object(y.a)({key:Ar,value:Kt},ot),Ze=ce(Ht);return Ze.length&&(et.children=Ze),et}).filter(function(kt){return kt})}function ie(He){if(!He)return He;var kt=Object(y.a)({},He);return"props"in kt||Object.defineProperty(kt,"props",{get:function(){return Object(O.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),kt}}),kt}function fe(He,kt,Ar,at,Ht){var Kt=null,ot=null;function et(){function Ze(Gt){var yr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",br=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Gt.map(function(Sr,Tn){var cn="".concat(yr,"-").concat(Tn),Kn=Ar.includes(Sr.value),lt=Ze(Sr.children||[],cn,Kn),mt=i.createElement(V,Object.assign({},Sr),lt.map(function(ze){return ze.node}));if(kt===Sr.value&&(Kt=mt),Kn){var Le={pos:cn,node:mt,children:lt};return br||ot.push(Le),Le}return null}).filter(function(Sr){return Sr})}ot||(ot=[],Ze(at),ot.sort(function(Gt,yr){var br=Gt.node.props.value,Sr=yr.node.props.value,Tn=Ar.indexOf(br),cn=Ar.indexOf(Sr);return Tn-cn}))}Object.defineProperty(He,"triggerNode",{get:function(){return Object(O.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),et(),Kt}}),Object.defineProperty(He,"allCheckedNodes",{get:function(){return Object(O.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),et(),Ht?ot:ot.map(function(Gt){var yr=Gt.node;return yr})}})}function xe(He){return Array.isArray(He)?He:He!==void 0?[He]:[]}function Se(He,kt){var Ar=new Map;return kt.forEach(function(at){var Ht=at.data;Ar.set(Ht.value,Ht)}),He.map(function(at){return ie(Ar.get(at))})}function ke(He,kt){var Ar=Se([He],kt)[0];return Ar?Ar.disabled:!1}function ge(He){return He.disabled||He.disableCheckbox||He.checkable===!1}function Be(He){for(var kt=He.parent,Ar=0,at=kt;at;)at=at.parent,Ar+=1;return Ar}function ee(He){function kt(at){return(at||[]).map(function(Ht){var Kt=Ht.value,ot=Ht.key,et=Ht.children,Ze=Object(y.a)(Object(y.a)({},Ht),{},{key:"key"in Ht?ot:Kt});return et&&(Ze.children=kt(et)),Ze})}var Ar=Object(_.d)(kt(He),!0);return Ar.map(function(at){return{key:at.data.key,data:at.data,level:Be(at)}})}function ue(He){return function(kt,Ar){var at=Ar[He];return String(at).toLowerCase().includes(String(kt).toLowerCase())}}function Ge(He,kt,Ar){var at=Ar.optionFilterProp,Ht=Ar.filterOption;if(Ht===!1)return kt;var Kt;typeof Ht=="function"?Kt=Ht:Kt=ue(at);function ot(et){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return et.map(function(Gt){var yr=Gt.children,br=Ze||Kt(He,ie(Gt)),Sr=ot(yr||[],br);return br||Sr.length?Object(y.a)(Object(y.a)({},Gt),{},{children:Sr}):null}).filter(function(Gt){return Gt})}return ot(kt)}function ae(He,kt,Ar,at){var Ht=new Map;return xe(kt).forEach(function(Kt){Kt&&Object(g.a)(Kt)==="object"&&"value"in Kt&&Ht.set(Kt.value,Kt)}),He.map(function(Kt){var ot={value:Kt},et=Ar(Kt,"select",!0),Ze=et?at(et.data):Kt;if(Ht.has(Kt)){var Gt=Ht.get(Kt);ot.label="label"in Gt?Gt.label:Ze,"halfChecked"in Gt&&(ot.halfChecked=Gt.halfChecked)}else ot.label=Ze;return ot})}function Z(He,kt){var Ar=new Set(He);return Ar.add(kt),Array.from(Ar)}function Y(He,kt){var Ar=new Set(He);return Ar.delete(kt),Array.from(Ar)}function te(He){var kt=He.searchPlaceholder,Ar=He.treeCheckStrictly,at=He.treeCheckable,Ht=He.labelInValue,Kt=He.value,ot=He.multiple;Object(O.a)(!kt,"`searchPlaceholder` has been removed."),Ar&&Ht===!1&&Object(O.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Ht||Ar)&&Object(O.a)(xe(Kt).every(function(et){return et&&Object(g.a)(et)==="object"&&"value"in et}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Ar||ot||at?Object(O.a)(!Kt||Array.isArray(Kt),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(O.a)(!Array.isArray(Kt),"`value` should not be array when `TreeSelect` is single mode.")}var we=te,pe=10;function De(He,kt){var Ar=kt.id,at=kt.pId,Ht=kt.rootPId,Kt={},ot=[],et=He.map(function(Ze){var Gt=Object(y.a)({},Ze),yr=Gt[Ar];return Kt[yr]=Gt,Gt.key=Gt.key||yr,Gt});return et.forEach(function(Ze){var Gt=Ze[at],yr=Kt[Gt];yr&&(yr.children=yr.children||[],yr.children.push(Ze)),(Gt===Ht||!yr&&Ht===null)&&ot.push(Ze)}),ot}function Ne(He,kt){var Ar=0,at=new Set;function Ht(Kt){return(Kt||[]).map(function(ot){var et=ot.key,Ze=ot.value,Gt=ot.children,yr=Object(q.a)(ot,["key","value","children"]),br="value"in ot?Ze:et,Sr=Object(y.a)(Object(y.a)({},yr),{},{key:et!=null?et:br,value:br,title:kt(ot)});return"children"in ot&&(Sr.children=Ht(Gt)),Sr})}return Ht(He)}function me(He,kt,Ar){var at=Ar.getLabelProp,Ht=Ar.simpleMode,Kt=i.useRef({});return He?(Kt.current.formatTreeData=Kt.current.treeData===He?Kt.current.formatTreeData:Ne(Ht?De(He,Object(y.a)({id:"id",pId:"pId",rootPId:null},Ht!==!0?Ht:{})):He,at),Kt.current.treeData=He):Kt.current.formatTreeData=Kt.current.children===kt?Kt.current.formatTreeData:Ne(ce(kt),at),Kt.current.formatTreeData}var be="SHOW_ALL",Re="SHOW_PARENT",it="SHOW_CHILD";function yt(He,kt,Ar){var at=new Set(He);return kt===it?He.filter(function(Ht){var Kt=Ar[Ht];return!(Kt&&Kt.children&&Kt.children.every(function(ot){var et=ot.node;return ge(et)||at.has(et.key)}))}):kt===Re?He.filter(function(Ht){var Kt=Ar[Ht],ot=Kt?Kt.parent:null;return!(ot&&!ge(ot.node)&&at.has(ot.node.key))}):He}function pt(He,kt){var Ar=kt.value,at=kt.getEntityByValue,Ht=kt.getEntityByKey,Kt=kt.treeConduction,ot=kt.showCheckedStrategy,et=kt.conductKeyEntities,Ze=kt.getLabelProp;return i.useMemo(function(){var Gt=He;if(Kt){var yr=yt(He.map(function(br){var Sr=at(br);return Sr?Sr.key:br}),ot,et);Gt=yr.map(function(br){var Sr=Ht(br);return Sr?Sr.data.value:br})}return ae(Gt,Ar,at,Ze)},[He,Ar,Kt,ot,at])}var Pe=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],Nt=Object(w.a)({prefixCls:"rc-tree-select",components:{optionList:P},convertChildrenToData:function(){return null},flattenOptions:ee,getLabeledValue:S.e,filterOptions:Ge,isValueDisabled:ke,findValueOption:Se,omitDOMProps:function(kt){var Ar=Object(y.a)({},kt);return Pe.forEach(function(at){delete Ar[at]}),Ar}});Nt.displayName="Select";var ut=i.forwardRef(function(He,kt){var Ar=He.multiple,at=He.treeCheckable,Ht=He.treeCheckStrictly,Kt=He.showCheckedStrategy,ot=Kt===void 0?"SHOW_CHILD":Kt,et=He.labelInValue,Ze=He.loadData,Gt=He.treeLoadedKeys,yr=He.treeNodeFilterProp,br=yr===void 0?"value":yr,Sr=He.treeNodeLabelProp,Tn=He.treeDataSimpleMode,cn=He.treeData,Kn=He.treeExpandedKeys,lt=He.treeDefaultExpandedKeys,mt=He.treeDefaultExpandAll,Le=He.children,ze=He.treeIcon,$e=He.showTreeIcon,gt=He.switcherIcon,ir=He.treeLine,Xt=He.treeMotion,er=He.filterTreeNode,Wr=He.dropdownPopupAlign,en=He.onChange,Fn=He.onTreeExpand,ar=He.onTreeLoad,It=He.onDropdownVisibleChange,Ct=He.onSelect,mr=He.onDeselect,gr=at||Ht,Mt=Ar||gr,rr=at&&!Ht,Dt=Ht||et,tr=i.useRef(null);i.useImperativeHandle(kt,function(){return{focus:tr.current.focus,blur:tr.current.blur}});var Dr=function(gi){return cn&&gi.label||gi.title},dr=function(gi){return Sr?gi[Sr]:Dr(gi)},Tr=me(cn,Le,{getLabelProp:Dr,simpleMode:Tn}),vn=Object(i.useMemo)(function(){return ee(Tr)},[Tr]),on=k(vn),Gn=Object(v.a)(on,2),di=Gn[0],Ti=Gn[1],Fi=J(di,Ti),la=Object(v.a)(Fi,2),Ta=la[0],dt=la[1],Me=Object(i.useMemo)(function(){return rr?Object(_.a)(Tr):{keyEntities:null}},[Tr,at,Ht]),Xe=Me.keyEntities,Qe=Object(E.a)(He.defaultValue,{value:He.value}),st=Object(v.a)(Qe,2),nt=st[0],ft=st[1],Bt=function(gi){var Ni=[],Ki=[];return gi.forEach(function(zi){dt(zi)?Ki.push(zi):Ni.push(zi)}),{missingRawValues:Ni,existRawValues:Ki}},Et=Object(i.useMemo)(function(){var Vn=[],gi=[];if(xe(nt).forEach(function(fn){if(fn&&Object(g.a)(fn)==="object"&&"value"in fn)if(fn.halfChecked&&Ht){var $n=dt(fn.value);Vn.push($n?$n.key:fn.value)}else gi.push(fn.value);else gi.push(fn)}),rr){var Ni=Bt(gi),Ki=Ni.missingRawValues,zi=Ni.existRawValues,Yi=zi.map(function(fn){return dt(fn).key}),mi=Object(I.a)(Yi,!0,Xe),va=mi.checkedKeys,zn=mi.halfCheckedKeys;return[[].concat(Object(p.a)(Ki),Object(p.a)(va.map(function(fn){return Ta(fn).data.value}))),zn]}return[gi,Vn]},[nt,Mt,Dt,at,Ht]),nr=Object(v.a)(Et,2),Ur=nr[0],Lr=nr[1],Vr=pt(Ur,{treeConduction:rr,value:nt,showCheckedStrategy:ot,conductKeyEntities:Xe,getEntityByValue:dt,getEntityByKey:Ta,getLabelProp:dr}),sr=function(gi,Ni,Ki){if(ft(Mt?gi:gi[0]),en){var zi=gi;if(rr&&ot!=="SHOW_ALL"){var Yi=gi.map(function(na){var Ei=dt(na);return Ei?Ei.key:na}),mi=yt(Yi,ot,Xe);zi=mi.map(function(na){var Ei=Ta(na);return Ei?Ei.data.value:na})}var va=Ni||{triggerValue:void 0,selected:void 0},zn=va.triggerValue,fn=va.selected,$n=Dt?ae(zi,nt,dt,dr):zi;if(Ht){var Cn=Lr.map(function(na){var Ei=Ta(na);return Ei?Ei.data.value:na}).filter(function(na){return!zi.includes(na)});$n=[].concat(Object(p.a)($n),Object(p.a)(ae(Cn,nt,dt,dr)))}var ki={preValue:Vr,triggerValue:zn},In=!0;(Ht||Ki==="selection"&&!fn)&&(In=!1),fe(ki,zn,gi,Tr,In),gr?ki.checked=fn:ki.selected=fn,en(Mt?$n:$n[0],Dt?null:zi.map(function(na){var Ei=dt(na);return Ei?dr(Ei.data):null}),ki)}},Bn=function(gi,Ni,Ki){var zi=gi;if(!Mt)sr([gi],{selected:!0,triggerValue:gi},Ki);else{var Yi=Z(Ur,gi);if(rr){var mi=Bt(Yi),va=mi.missingRawValues,zn=mi.existRawValues,fn=zn.map(function(ki){return dt(ki).key}),$n=Object(I.a)(fn,!0,Xe),Cn=$n.checkedKeys;Yi=[].concat(Object(p.a)(va),Object(p.a)(Cn.map(function(ki){return Ta(ki).data.value})))}sr(Yi,{selected:!0,triggerValue:gi},Ki)}Ct&&Ct(zi,Ni)},Er=function(gi,Ni,Ki){var zi=gi,Yi=Y(Ur,gi);if(rr){var mi=Bt(Yi),va=mi.missingRawValues,zn=mi.existRawValues,fn=zn.map(function(ki){return dt(ki).key}),$n=Object(I.a)(fn,{checked:!1,halfCheckedKeys:Lr},Xe),Cn=$n.checkedKeys;Yi=[].concat(Object(p.a)(va),Object(p.a)(Cn.map(function(ki){return Ta(ki).data.value})))}sr(Yi,{selected:!1,triggerValue:gi},Ki),mr&&mr(zi,Ni)},gn=function(){sr([],null,"clear")},rn=i.useCallback(function(Vn){if(It){var gi={};Object.defineProperty(gi,"documentClickClose",{get:function(){return Object(O.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),It(Vn,gi)}},[It]),Br={optionLabelProp:null,optionFilterProp:br,dropdownAlign:Wr,internalProps:{mark:C.a,onClear:gn,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:Bn,onRawDeselect:Er}};return"filterTreeNode"in He&&(Br.filterOption=er),i.createElement(B.Provider,{value:{checkable:gr,loadData:Ze,treeLoadedKeys:Gt,onTreeLoad:ar,checkedKeys:Ur,halfCheckedKeys:Lr,treeDefaultExpandAll:mt,treeExpandedKeys:Kn,treeDefaultExpandedKeys:lt,onTreeExpand:Fn,treeIcon:ze,treeMotion:Xt,showTreeIcon:$e,switcherIcon:gt,treeLine:ir,treeNodeFilterProp:br}},i.createElement(Nt,Object.assign({ref:tr,mode:Mt?"multiple":null},He,Br,{value:Vr,labelInValue:!0,options:Tr,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:rn})))}),Ft=function(He){Object(o.a)(Ar,He);var kt=Object(h.a)(Ar);function Ar(){var at;return Object(u.a)(this,Ar),at=kt.apply(this,arguments),at.selectRef=i.createRef(),at.focus=function(){at.selectRef.current.focus()},at.blur=function(){at.selectRef.current.blur()},at}return Object(r.a)(Ar,[{key:"render",value:function(){return i.createElement(ut,Object.assign({ref:this.selectRef},this.props))}}]),Ar}(i.Component);Ft.TreeNode=V,Ft.SHOW_ALL=be,Ft.SHOW_PARENT=Re,Ft.SHOW_CHILD=it;var Ut=Ft,Wt=Ut,$t=l("TSYQ"),or=l.n($t),ht=l("BGR+"),Ee=l("H84U"),de=l("uaoM"),qe=l("1vzs"),rt=l("2jpz"),ve=l("3Nzz"),bt=function(He){n()(Ar,He);var kt=c()(Ar);function Ar(at){var Ht;return e()(this,Ar),Ht=kt.call(this,at),Ht.selectRef=i.createRef(),Ht.renderTreeSelect=function(Kt){var ot=Kt.getPopupContainer,et=Kt.getPrefixCls,Ze=Kt.renderEmpty,Gt=Kt.direction,yr=Kt.virtual,br=Kt.dropdownMatchSelectWidth,Sr=Ht.props,Tn=Sr.prefixCls,cn=Sr.size,Kn=Sr.className,lt=Sr.treeCheckable,mt=Sr.multiple,Le=Sr.listHeight,ze=Le===void 0?256:Le,$e=Sr.listItemHeight,gt=$e===void 0?26:$e,ir=Sr.notFoundContent,Xt=Sr.switcherIcon,er=Sr.treeLine,Wr=Sr.getPopupContainer,en=Sr.dropdownClassName,Fn=Sr.bordered,ar=Sr.treeIcon,It=ar===void 0?!1:ar,Ct=et("select",Tn),mr=et("select-tree",Tn),gr=et("tree-select",Tn),Mt=or()(en,"".concat(gr,"-dropdown"),f()({},"".concat(gr,"-dropdown-rtl"),Gt==="rtl")),rr=!!(lt||mt),Dt=Object(qe.a)(b()(b()({},Ht.props),{multiple:rr,prefixCls:Ct})),tr=Dt.suffixIcon,Dr=Dt.itemIcon,dr=Dt.removeIcon,Tr=Dt.clearIcon,vn;ir!==void 0?vn=ir:vn=Ze("Select");var on=Object(ht.default)(Ht.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return i.createElement(ve.b.Consumer,null,function(Gn){var di,Ti=cn||Gn,Fi=or()(!Tn&&gr,(di={},f()(di,"".concat(Ct,"-lg"),Ti==="large"),f()(di,"".concat(Ct,"-sm"),Ti==="small"),f()(di,"".concat(Ct,"-rtl"),Gt==="rtl"),f()(di,"".concat(Ct,"-borderless"),!Fn),di),Kn);return i.createElement(Wt,b()({virtual:yr,dropdownMatchSelectWidth:br},on,{ref:Ht.selectRef,prefixCls:Ct,className:Fi,listHeight:ze,listItemHeight:gt,treeCheckable:lt&&i.createElement("span",{className:"".concat(Ct,"-tree-checkbox-inner")}),inputIcon:tr,menuItemSelectedIcon:Dr,removeIcon:dr,clearIcon:Tr,switcherIcon:function(Ta){return Object(rt.a)(mr,Xt,er,Ta)},showTreeIcon:It,notFoundContent:vn,getPopupContainer:Wr||ot,treeMotion:null,dropdownClassName:Mt}))})},Object(de.a)(at.multiple!==!1||!at.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),Ht}return d()(Ar,[{key:"focus",value:function(){this.selectRef.current&&this.selectRef.current.focus()}},{key:"blur",value:function(){this.selectRef.current&&this.selectRef.current.blur()}},{key:"render",value:function(){return i.createElement(Ee.a,null,this.renderTreeSelect)}}]),Ar}(i.Component);bt.TreeNode=V,bt.SHOW_ALL=be,bt.SHOW_PARENT=Re,bt.SHOW_CHILD=it,bt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var jt=R.a=bt},"5Uyt":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("KmBX"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},"5YOS":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("xb2K"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},"5YgA":function(j,R,l){},"5bA4":function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="LeftOutlined";var m=R.a=b.forwardRef(e)},"5nXd":function(j,R,l){var x=l("MFOe"),b=x.slice,A=x.pluck,f=x.each,t=x.bind,e=x.create,m=x.isList,d=x.isFunction,a=x.isObject;j.exports={createStore:c};var n={version:"2.0.12",enabled:!1,get:function(u,r){var o=this.storage.read(this._namespacePrefix+u);return this._deserialize(o,r)},set:function(u,r){return r===void 0?this.remove(u):(this.storage.write(this._namespacePrefix+u,this._serialize(r)),r)},remove:function(u){this.storage.remove(this._namespacePrefix+u)},each:function(u){var r=this;this.storage.each(function(o,h){u.call(r,r._deserialize(o),(h||"").replace(r._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(u){return this._namespacePrefix=="__storejs_"+u+"_"},createStore:function(){return c.apply(this,arguments)},addPlugin:function(u){this._addPlugin(u)},namespace:function(u){return c(this.storage,this.plugins,u)}};function s(){var i=typeof console=="undefined"?null:console;if(!i)return;var u=i.warn?i.warn:i.log;u.apply(i,arguments)}function c(i,u,r){r||(r=""),i&&!m(i)&&(i=[i]),u&&!m(u)&&(u=[u]);var o=r?"__storejs_"+r+"_":"",h=r?new RegExp("^"+o):null,p=/^[a-zA-Z0-9_\-]*$/;if(!p.test(r))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var g={_namespacePrefix:o,_namespaceRegexp:h,_testStorage:function(w){try{var S="__storejs__test__";w.write(S,S);var _=w.read(S)===S;return w.remove(S),_}catch(I){return!1}},_assignPluginFnProp:function(w,S){var _=this[S];this[S]=function(){var C=b(arguments,0),E=this;function O(){return _?(f(arguments,function(F,H){C[H]=F}),_.apply(E,C)):void 0}var M=[O].concat(C);return w.apply(E,M)}},_serialize:function(w){return JSON.stringify(w)},_deserialize:function(w,S){if(!w)return S;var _="";try{_=JSON.parse(w)}catch(I){_=w}return _!==void 0?_:S},_addStorage:function(w){if(this.enabled)return;this._testStorage(w)&&(this.storage=w,this.enabled=!0)},_addPlugin:function(w){var S=this;if(m(w)){f(w,function(C){S._addPlugin(C)});return}var _=A(this.plugins,function(C){return w===C});if(_)return;if(this.plugins.push(w),!d(w))throw new Error("Plugins must be function values that return objects");var I=w.call(this);if(!a(I))throw new Error("Plugins must return an object of function properties");f(I,function(C,E){if(!d(C))throw new Error("Bad plugin property: "+E+" from plugin "+w.name+". Plugins should only return functions.");S._assignPluginFnProp(C,E)})},addStorage:function(w){s("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(w)}},v=e(g,n,{plugins:[]});return v.raw={},f(v,function(y,w){d(y)&&(v.raw[w]=t(v,y))}),f(i,function(y){v._addStorage(y)}),f(u,function(y){v._addPlugin(y)}),v}},"5rEg":function(j,R,l){"use strict";var x=l("pVnL"),b=l.n(x),A=l("lwsE"),f=l.n(A),t=l("W8MJ"),e=l.n(t),m=l("7W2i"),d=l.n(m),a=l("LQ03"),n=l.n(a),s=l("lSNA"),c=l.n(s),i=l("q1tI"),u=l("TSYQ"),r=l.n(u),o=l("BGR+"),h=l("kbBi"),p=l.n(h),g=l("CWQg"),v=l("0n0R"),y=Object(g.a)("text","input");function w(te){return!!(te.prefix||te.suffix||te.allowClear)}var S=function(te){d()(pe,te);var we=n()(pe);function pe(){var De;return f()(this,pe),De=we.apply(this,arguments),De.containerRef=i.createRef(),De.onInputMouseUp=function(Ne){var me;if((me=De.containerRef.current)===null||me===void 0?void 0:me.contains(Ne.target)){var be=De.props.triggerFocus;be()}},De}return e()(pe,[{key:"renderClearIcon",value:function(Ne){var me=this.props,be=me.allowClear,Re=me.value,it=me.disabled,yt=me.readOnly,pt=me.inputType,Pe=me.handleReset;if(!be)return null;var Nt=!it&&!yt&&Re,ut=pt===y[0]?"".concat(Ne,"-textarea-clear-icon"):"".concat(Ne,"-clear-icon");return i.createElement(p.a,{onClick:Pe,className:r()(ut,c()({},"".concat(ut,"-hidden"),!Nt)),role:"button"})}},{key:"renderSuffix",value:function(Ne){var me=this.props,be=me.suffix,Re=me.allowClear;return be||Re?i.createElement("span",{className:"".concat(Ne,"-suffix")},this.renderClearIcon(Ne),be):null}},{key:"renderLabeledIcon",value:function(Ne,me){var be,Re=this.props,it=Re.focused,yt=Re.value,pt=Re.prefix,Pe=Re.className,Nt=Re.size,ut=Re.suffix,Ft=Re.disabled,Ut=Re.allowClear,Wt=Re.direction,$t=Re.style,or=Re.readOnly,ht=Re.bordered,Ee=this.renderSuffix(Ne);if(!w(this.props))return Object(v.a)(me,{value:yt});var de=pt?i.createElement("span",{className:"".concat(Ne,"-prefix")},pt):null,qe=r()(Pe,"".concat(Ne,"-affix-wrapper"),(be={},c()(be,"".concat(Ne,"-affix-wrapper-focused"),it),c()(be,"".concat(Ne,"-affix-wrapper-disabled"),Ft),c()(be,"".concat(Ne,"-affix-wrapper-sm"),Nt==="small"),c()(be,"".concat(Ne,"-affix-wrapper-lg"),Nt==="large"),c()(be,"".concat(Ne,"-affix-wrapper-input-with-clear-btn"),ut&&Ut&&yt),c()(be,"".concat(Ne,"-affix-wrapper-rtl"),Wt==="rtl"),c()(be,"".concat(Ne,"-affix-wrapper-readonly"),or),c()(be,"".concat(Ne,"-affix-wrapper-borderless"),!ht),be));return i.createElement("span",{ref:this.containerRef,className:qe,style:$t,onMouseUp:this.onInputMouseUp},de,Object(v.a)(me,{style:null,value:yt,className:F(Ne,ht,Nt,Ft)}),Ee)}},{key:"renderInputWithLabel",value:function(Ne,me){var be,Re,it=this.props,yt=it.addonBefore,pt=it.addonAfter,Pe=it.style,Nt=it.size,ut=it.className,Ft=it.direction;if(!yt&&!pt)return me;var Ut="".concat(Ne,"-group"),Wt="".concat(Ut,"-addon"),$t=yt?i.createElement("span",{className:Wt},yt):null,or=pt?i.createElement("span",{className:Wt},pt):null,ht=r()("".concat(Ne,"-wrapper"),(be={},c()(be,Ut,yt||pt),c()(be,"".concat(Ut,"-rtl"),Ft==="rtl"),be)),Ee=r()(ut,"".concat(Ne,"-group-wrapper"),(Re={},c()(Re,"".concat(Ne,"-group-wrapper-sm"),Nt==="small"),c()(Re,"".concat(Ne,"-group-wrapper-lg"),Nt==="large"),c()(Re,"".concat(Ne,"-group-wrapper-rtl"),Ft==="rtl"),Re));return i.createElement("span",{className:Ee,style:Pe},i.createElement("span",{className:ht},$t,Object(v.a)(me,{style:null}),or))}},{key:"renderTextAreaWithClearIcon",value:function(Ne,me){var be,Re=this.props,it=Re.value,yt=Re.allowClear,pt=Re.className,Pe=Re.style,Nt=Re.direction,ut=Re.bordered;if(!yt)return Object(v.a)(me,{value:it});var Ft=r()(pt,"".concat(Ne,"-affix-wrapper"),"".concat(Ne,"-affix-wrapper-textarea-with-clear-btn"),(be={},c()(be,"".concat(Ne,"-affix-wrapper-rtl"),Nt==="rtl"),c()(be,"".concat(Ne,"-affix-wrapper-borderless"),!ut),be));return i.createElement("span",{className:Ft,style:Pe},Object(v.a)(me,{style:null,value:it}),this.renderClearIcon(Ne))}},{key:"render",value:function(){var Ne=this.props,me=Ne.prefixCls,be=Ne.inputType,Re=Ne.element;return be===y[0]?this.renderTextAreaWithClearIcon(me,Re):this.renderInputWithLabel(me,this.renderLabeledIcon(me,Re))}}]),pe}(i.Component),_=S,I=l("H84U"),C=l("3Nzz"),E=l("uaoM");function O(te){return typeof te=="undefined"||te===null?"":te}function M(te,we,pe){if(pe){var De=we;if(we.type==="click"){De=Object.create(we),De.target=te,De.currentTarget=te;var Ne=te.value;te.value="",pe(De),te.value=Ne;return}pe(De)}}function F(te,we,pe,De,Ne){var me;return r()(te,(me={},c()(me,"".concat(te,"-sm"),pe==="small"),c()(me,"".concat(te,"-lg"),pe==="large"),c()(me,"".concat(te,"-disabled"),De),c()(me,"".concat(te,"-rtl"),Ne==="rtl"),c()(me,"".concat(te,"-borderless"),!we),me))}var H=function(te){d()(pe,te);var we=n()(pe);function pe(De){var Ne;f()(this,pe),Ne=we.call(this,De),Ne.direction="ltr",Ne.focus=function(){Ne.input.focus()},Ne.saveClearableInput=function(be){Ne.clearableInput=be},Ne.saveInput=function(be){Ne.input=be},Ne.onFocus=function(be){var Re=Ne.props.onFocus;Ne.setState({focused:!0},Ne.clearPasswordValueAttribute),Re&&Re(be)},Ne.onBlur=function(be){var Re=Ne.props.onBlur;Ne.setState({focused:!1},Ne.clearPasswordValueAttribute),Re&&Re(be)},Ne.handleReset=function(be){Ne.setValue("",function(){Ne.focus()}),M(Ne.input,be,Ne.props.onChange)},Ne.renderInput=function(be,Re,it){var yt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},pt=Ne.props,Pe=pt.className,Nt=pt.addonBefore,ut=pt.addonAfter,Ft=pt.size,Ut=pt.disabled,Wt=Object(o.default)(Ne.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return i.createElement("input",b()({autoComplete:yt.autoComplete},Wt,{onChange:Ne.handleChange,onFocus:Ne.onFocus,onBlur:Ne.onBlur,onKeyDown:Ne.handleKeyDown,className:r()(F(be,it,Ft||Re,Ut,Ne.direction),c()({},Pe,Pe&&!Nt&&!ut)),ref:Ne.saveInput}))},Ne.clearPasswordValueAttribute=function(){Ne.removePasswordTimeout=setTimeout(function(){Ne.input&&Ne.input.getAttribute("type")==="password"&&Ne.input.hasAttribute("value")&&Ne.input.removeAttribute("value")})},Ne.handleChange=function(be){Ne.setValue(be.target.value,Ne.clearPasswordValueAttribute),M(Ne.input,be,Ne.props.onChange)},Ne.handleKeyDown=function(be){var Re=Ne.props,it=Re.onPressEnter,yt=Re.onKeyDown;be.keyCode===13&&it&&it(be),yt&&yt(be)},Ne.renderComponent=function(be){var Re=be.getPrefixCls,it=be.direction,yt=be.input,pt=Ne.state,Pe=pt.value,Nt=pt.focused,ut=Ne.props,Ft=ut.prefixCls,Ut=ut.bordered,Wt=Ut===void 0?!0:Ut,$t=Re("input",Ft);return Ne.direction=it,i.createElement(C.b.Consumer,null,function(or){return i.createElement(_,b()({size:or},Ne.props,{prefixCls:$t,inputType:"input",value:O(Pe),element:Ne.renderInput($t,or,Wt,yt),handleReset:Ne.handleReset,ref:Ne.saveClearableInput,direction:it,focused:Nt,triggerFocus:Ne.focus,bordered:Wt}))})};var me=typeof De.value=="undefined"?De.defaultValue:De.value;return Ne.state={value:me,focused:!1,prevValue:De.value},Ne}return e()(pe,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(Ne){return w(Ne)!==w(this.props)&&Object(E.a)(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(Ne,me){this.props.value===void 0&&this.setState({value:Ne},me)}},{key:"render",value:function(){return i.createElement(I.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Ne,me){var be=me.prevValue,Re={prevValue:Ne.value};return(Ne.value!==void 0||be!==Ne.value)&&(Re.value=Ne.value),Re}}]),pe}(i.Component);H.defaultProps={type:"text"};var B=H,X=function(we){return i.createElement(I.a,null,function(pe){var De,Ne=pe.getPrefixCls,me=pe.direction,be=we.prefixCls,Re=we.className,it=Re===void 0?"":Re,yt=Ne("input-group",be),pt=r()(yt,(De={},c()(De,"".concat(yt,"-lg"),we.size==="large"),c()(De,"".concat(yt,"-sm"),we.size==="small"),c()(De,"".concat(yt,"-compact"),we.compact),c()(De,"".concat(yt,"-rtl"),me==="rtl"),De),it);return i.createElement("span",{className:pt,style:we.style,onMouseEnter:we.onMouseEnter,onMouseLeave:we.onMouseLeave,onFocus:we.onFocus,onBlur:we.onBlur},we.children)})},J=X,k=l("c+Xe"),W=l("w6Tc"),z=l.n(W),K=l("gZBC"),P=l.n(K),G=l("2/Rp"),V=function(te,we){var pe={};for(var De in te)Object.prototype.hasOwnProperty.call(te,De)&&we.indexOf(De)<0&&(pe[De]=te[De]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,De=Object.getOwnPropertySymbols(te);Ne=0&&E<0)&&(C=k,E=J,_=H,I.length=0),e(B,function(W){I.push({seriesIndex:O.seriesIndex,dataIndexInside:W,dataIndex:O.getData().getRawIndex(W)})}))}),{payloadBatch:I,snapToValue:_}}function c(v,y,w,S){v[y.key]={value:w,payloadBatch:S}}function i(v,y,w,S){var _=w.payloadBatch,I=y.axis,C=I.model,E=y.axisPointerModel;if(!y.triggerTooltip||!_.length)return;var O=y.coordSys.model,M=f.makeKey(O),F=v.map[M];F||(F=v.map[M]={coordSysId:O.id,coordSysIndex:O.componentIndex,coordSysType:O.type,coordSysMainType:O.mainType,dataByAxis:[]},v.list.push(F)),F.dataByAxis.push({axisDim:I.dim,axisIndex:C.componentIndex,axisType:C.type,axisId:C.id,value:S,valueLabelOpt:{precision:E.get("label.precision"),formatter:E.get("label.formatter")},seriesDataIndices:_.slice()})}function u(v,y,w){var S=w.axesInfo=[];e(y,function(_,I){var C=_.axisPointerModel.option,E=v[I];E?(!_.useHandle&&(C.status="show"),C.value=E.value,C.seriesDataIndices=(E.payloadBatch||[]).slice()):!_.useHandle&&(C.status="hide"),C.status==="show"&&S.push({axisDim:_.axis.dim,axisIndex:_.axis.model.componentIndex,value:C.value})})}function r(v,y,w,S){if(g(y)||!v.list.length){S({type:"hideTip"});return}var _=((v.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};S({type:"showTip",escapeConnect:!0,x:y[0],y:y[1],tooltipOption:w.tooltipOption,position:w.position,dataIndexInside:_.dataIndexInside,dataIndex:_.dataIndex,seriesIndex:_.seriesIndex,dataByCoordSys:v.list})}function o(v,y,w){var S=w.getZr(),_="axisPointerLastHighlights",I=d(S)[_]||{},C=d(S)[_]={};e(v,function(M,F){var H=M.axisPointerModel.option;H.status==="show"&&e(H.seriesDataIndices,function(B){var X=B.seriesIndex+" | "+B.dataIndex;C[X]=B})});var E=[],O=[];x.each(I,function(M,F){!C[F]&&O.push(M)}),x.each(C,function(M,F){!I[F]&&E.push(M)}),O.length&&w.dispatchAction({type:"downplay",escapeConnect:!0,batch:O}),E.length&&w.dispatchAction({type:"highlight",escapeConnect:!0,batch:E})}function h(v,y){for(var w=0;w<(v||[]).length;w++){var S=v[w];if(y.axis.dim===S.axisDim&&y.axis.model.componentIndex===S.axisIndex)return S}}function p(v){var y=v.axis.model,w={},S=w.axisDim=v.axis.dim;return w.axisIndex=w[S+"AxisIndex"]=y.componentIndex,w.axisName=w[S+"AxisName"]=y.name,w.axisId=w[S+"AxisId"]=y.id,w}function g(v){return!v||v[0]==null||isNaN(v[0])||v[1]==null||isNaN(v[1])}j.exports=a},"6BzB":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.shrinkBuf=x,R.arraySet=b,R.flattenChunks=A,R.Buf32=R.Buf16=R.Buf8=void 0;function x(m,d){return m.length===d?m:m.subarray?m.subarray(0,d):(m.length=d,m)}function b(m,d,a,n,s){if(d.subarray&&m.subarray){m.set(d.subarray(a,a+n),s);return}for(var c=0;cs&&(n=0,a={}),n++,a[W]=K,K}function h(J,k,W,z,K,P,G,V){return G?g(J,k,W,z,K,P,G,V):p(J,k,W,z,K,P,V)}function p(J,k,W,z,K,P,G){var V=F(J,k,K,P,G),q=o(J,k);K&&(q+=K[1]+K[3]);var re=V.outerHeight,ce=v(0,q,W),ie=y(0,re,z),fe=new x(ce,ie,q,re);return fe.lineHeight=V.lineHeight,fe}function g(J,k,W,z,K,P,G,V){var q=H(J,{rich:G,truncate:V,font:k,textAlign:W,textPadding:K,textLineHeight:P}),re=q.outerWidth,ce=q.outerHeight,ie=v(0,re,W),fe=y(0,ce,z);return new x(ie,fe,re,ce)}function v(J,k,W){return W==="right"?J-=k:W==="center"&&(J-=k/2),J}function y(J,k,W){return W==="middle"?J-=k/2:W==="bottom"&&(J-=k),J}function w(J,k,W){var z=k.textPosition,K=k.textDistance,P=W.x,G=W.y;K=K||0;var V=W.height,q=W.width,re=V/2,ce="left",ie="top";switch(z){case"left":P-=K,G+=re,ce="right",ie="middle";break;case"right":P+=K+q,G+=re,ie="middle";break;case"top":P+=q/2,G-=K,ce="center",ie="bottom";break;case"bottom":P+=q/2,G+=V+K,ce="center";break;case"inside":P+=q/2,G+=re,ce="center",ie="middle";break;case"insideLeft":P+=K,G+=re,ie="middle";break;case"insideRight":P+=q-K,G+=re,ce="right",ie="middle";break;case"insideTop":P+=q/2,G+=K,ce="center";break;case"insideBottom":P+=q/2,G+=V-K,ce="center",ie="bottom";break;case"insideTopLeft":P+=K,G+=K;break;case"insideTopRight":P+=q-K,G+=K,ce="right";break;case"insideBottomLeft":P+=K,G+=V-K,ie="bottom";break;case"insideBottomRight":P+=q-K,G+=V-K,ce="right",ie="bottom";break}return J=J||{},J.x=P,J.y=G,J.textAlign=ce,J.textVerticalAlign=ie,J}function S(J,k,W){var z={textPosition:J,textDistance:W};return w({},z,k)}function _(J,k,W,z,K){if(!k)return"";var P=(J+"").split(` -`);K=I(k,W,z,K);for(var G=0,V=P.length;G=P;V++)G-=P;var q=o(W,k);return q>G&&(W="",q=0),G=J-q,z.ellipsis=W,z.ellipsisWidth=q,z.contentWidth=G,z.containerWidth=J,z}function C(J,k){var W=k.containerWidth,z=k.font,K=k.contentWidth;if(!W)return"";var P=o(J,z);if(P<=W)return J;for(var G=0;;G++){if(P<=K||G>=k.maxIterations){J+=k.ellipsis;break}var V=G===0?E(J,K,k.ascCharWidth,k.cnCharWidth):P>0?Math.floor(J.length*K/P):0;J=J.substr(0,V),P=o(J,z)}return J===""&&(J=k.placeholder),J}function E(J,k,W,z){for(var K=0,P=0,G=J.length;Pce)J="",G=[];else if(ie!=null)for(var fe=I(ie-(W?W[1]+W[3]:0),k,K.ellipsis,{minChar:K.minChar,placeholder:K.placeholder}),xe=0,Se=G.length;xez&&B(W,J.substring(z,P)),B(W,K[2],K[1]),z=c.lastIndex}zxe)return{lines:[],width:0,height:0};ue.textWidth=o(ue.text,Z);var te=Ge.textWidth,we=te==null||te==="auto";if(typeof te=="string"&&te.charAt(te.length-1)==="%")ue.percentWidth=te,re.push(ue),te=0;else{if(we){te=ue.textWidth;var pe=Ge.textBackgroundColor,De=pe&&pe.image;De&&(De=b.findExistImage(De),b.isImageReady(De)&&(te=Math.max(te,De.width*Y/De.height)))}var Ne=ae?ae[1]+ae[3]:0;te+=Ne;var me=fe!=null?fe-Be:null;me!=null&&me"],b.isArray(p)&&(p=p.slice(),I=!0),C=g?p:I?[E(p[0]),E(p[1])]:E(p),b.isString(_))return _.replace("{value}",I?C[0]:C).replace("{value2}",I?C[1]:C);if(b.isFunction(_))return I?_(p[0],p[1]):_(p);if(I)return p[0]===S[0]?v[0]+" "+C[1]:p[1]===S[1]?v[1]+" "+C[0]:C[0]+" - "+C[1];return C;function E(O){return O===S[0]?"min":O===S[1]?"max":(+O).toFixed(Math.min(w,20))}},resetExtent:function(){var p=this.option,g=i([p.min,p.max]);this._dataExtent=g},getDataDimension:function(p){var g=this.option.dimension,v=p.dimensions;if(g==null&&!v.length)return;if(g!=null)return p.getDimension(g);for(var y=p.dimensions,w=y.length-1;w>=0;w--){var S=y[w],_=p.getDimensionInfo(S);if(!_.isCalculationCoord)return S}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var p=this.ecModel,g=this.option,v={inRange:g.inRange,outOfRange:g.outOfRange},y=g.target||(g.target={}),w=g.controller||(g.controller={});b.merge(y,v),b.merge(w,v);var S=this.isCategory();_.call(this,y),_.call(this,w),I.call(this,y,"inRange","outOfRange"),C.call(this,w);function _(E){s(g.color)&&!E.inRange&&(E.inRange={color:g.color.slice().reverse()}),E.inRange=E.inRange||{color:p.get("gradientColor")},c(this.stateList,function(O){var M=E[O];if(b.isString(M)){var F=f.get(M,"active",S);F?(E[O]={},E[O][M]=F):delete E[O]}},this)}function I(E,O,M){var F=E[O],H=E[M];F&&!H&&(H=E[M]={},c(F,function(B,X){if(!t.isValidType(X))return;var J=f.get(X,"inactive",S);J!=null&&(H[X]=J,X==="color"&&!H.hasOwnProperty("opacity")&&!H.hasOwnProperty("colorAlpha")&&(H.opacity=[0,0]))}))}function C(E){var O=(E.inRange||{}).symbol||(E.outOfRange||{}).symbol,M=(E.inRange||{}).symbolSize||(E.outOfRange||{}).symbolSize,F=this.get("inactiveColor");c(this.stateList,function(H){var B=this.itemSize,X=E[H];X||(X=E[H]={color:S?F:[F]}),X.symbol==null&&(X.symbol=O&&b.clone(O)||(S?"roundRect":["roundRect"])),X.symbolSize==null&&(X.symbolSize=M&&b.clone(M)||(S?B[0]:[B[0],B[0]])),X.symbol=a(X.symbol,function(W){return W==="none"||W==="square"?"roundRect":W});var J=X.symbolSize;if(J!=null){var k=-Infinity;n(J,function(W){W>k&&(k=W)}),X.symbolSize=a(J,function(W){return u(W,[0,k],[0,B[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:r,getValueState:r,getVisualMeta:r}),h=o;j.exports=h},"6usn":function(j,R,l){var x=l("bYtY");function b(f,t){return x.map(["Radius","Angle"],function(e,m){var d=this["get"+e+"Axis"](),a=t[m],n=f[m]/2,s="dataTo"+e,c=d.type==="category"?d.getBandWidth():Math.abs(d[s](a-n)-d[s](a+n));return e==="Angle"&&(c=c*Math.PI/180),c},this)}function A(f){var t=f.getRadiusAxis(),e=f.getAngleAxis(),m=t.getExtent();return m[0]>m[1]&&m.reverse(),{coordSys:{type:"polar",cx:f.cx,cy:f.cy,r:m[1],r0:m[0]},api:{coord:x.bind(function(d){var a=t.dataToRadius(d[0]),n=e.dataToAngle(d[1]),s=f.coordToPoint([a,n]);return s.push(a,n*Math.PI/180),s}),size:x.bind(b,f)}}}j.exports=A},"6xvX":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("V7ic"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},"711d":function(j,R){function l(x){return function(b){return b==null?void 0:b[x]}}j.exports=l},"72pK":function(j,R){function l(A,f,t,e,m,d){A=A||0;var a=t[1]-t[0];if(m!=null&&(m=b(m,[0,a])),d!=null&&(d=Math.max(d,m!=null?m:0)),e==="all"){var n=Math.abs(f[1]-f[0]);n=b(n,[0,a]),m=d=b(n,[m,d]),e=0}f[0]=b(f[0],t),f[1]=b(f[1],t);var s=x(f,e);f[e]+=A;var c=m||0,i=t.slice();s.sign<0?i[0]+=c:i[1]-=c,f[e]=b(f[e],i);var u=x(f,e);m!=null&&(u.sign!==s.sign||u.spand&&(f[1-e]=f[e]+u.sign*d),f}function x(A,f){var t=A[f]-A[1-f];return{span:Math.abs(t),sign:t>0?-1:t<0?1:f?-1:1}}function b(A,f){return Math.min(f[1]!=null?f[1]:Infinity,Math.max(f[0]!=null?f[0]:-Infinity,A))}j.exports=l},"75ce":function(j,R,l){var x=l("ProS");l("IXuL"),l("8X+K");var b=l("f5Yq"),A=l("h8O9"),f=l("/d5a");l("Ae16"),x.registerVisual(b("line","circle","line")),x.registerLayout(A("line")),x.registerProcessor(x.PRIORITY.PROCESSOR.STATISTIC,f("line"))},"75ev":function(j,R,l){var x=l("ProS");l("IWNH"),l("bNin"),l("v5uJ");var b=l("f5Yq"),A=l("yik8");x.registerVisual(b("tree","circle")),x.registerLayout(A)},"7AJT":function(j,R,l){var x=l("bYtY"),b=l("hM6l"),A=function(t,e,m,d,a){b.call(this,t,e,m),this.type=d||"value",this.position=a||"bottom"};A.prototype={constructor:A,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return t==="top"||t==="bottom"},getGlobalExtent:function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t[this.dim==="x"?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},x.inherits(A,b);var f=A;j.exports=f},"7Cbv":function(j,R,l){"use strict";var x=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),b=new Uint8Array(16);function A(){if(!x)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return x(b)}var f=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function t(i){return typeof i=="string"&&f.test(i)}for(var e=t,m=[],d=0;d<256;++d)m.push((d+256).toString(16).substr(1));function a(i){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(m[i[u+0]]+m[i[u+1]]+m[i[u+2]]+m[i[u+3]]+"-"+m[i[u+4]]+m[i[u+5]]+"-"+m[i[u+6]]+m[i[u+7]]+"-"+m[i[u+8]]+m[i[u+9]]+"-"+m[i[u+10]]+m[i[u+11]]+m[i[u+12]]+m[i[u+13]]+m[i[u+14]]+m[i[u+15]]).toLowerCase();if(!e(r))throw TypeError("Stringified UUID is invalid");return r}var n=a;function s(i,u,r){i=i||{};var o=i.random||(i.rng||A)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,u){r=r||0;for(var h=0;h<16;++h)u[r+h]=o[h];return u}return n(o)}var c=R.a=s},"7DRL":function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("bYtY"),f=A.createHashMap,t=A.isString,e=A.isArray,m=A.each,d=A.assert,a=l("MEGo"),n=a.parseXML,s=f(),c={registerMap:function(u,r,o){var h;return e(r)?h=r:r.svg?h=[{type:"svg",source:r.svg,specialAreas:r.specialAreas}]:(r.geoJson&&!r.features&&(o=r.specialAreas,r=r.geoJson),h=[{type:"geoJSON",source:r,specialAreas:o}]),m(h,function(p){var g=p.type;g==="geoJson"&&(g=p.type="geoJSON");var v=i[g];v(p)}),s.set(u,h)},retrieveMap:function(u){return s.get(u)}},i={geoJSON:function(u){var r=u.source;u.geoJSON=t(r)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(r):new Function("return ("+r+");")():r},svg:function(u){u.svgXML=n(u.source)}};j.exports=c},"7G+c":function(j,R,l){var x=l("bYtY"),b=x.createHashMap,A=x.isTypedArray,f=l("Yl7c"),t=f.enableClassCheck,e=l("k9D9"),m=e.SOURCE_FORMAT_ORIGINAL,d=e.SERIES_LAYOUT_BY_COLUMN,a=e.SOURCE_FORMAT_UNKNOWN,n=e.SOURCE_FORMAT_TYPED_ARRAY,s=e.SOURCE_FORMAT_KEYED_COLUMNS;function c(u){this.fromDataset=u.fromDataset,this.data=u.data||(u.sourceFormat===s?{}:[]),this.sourceFormat=u.sourceFormat||a,this.seriesLayoutBy=u.seriesLayoutBy||d,this.dimensionsDefine=u.dimensionsDefine,this.encodeDefine=u.encodeDefine&&b(u.encodeDefine),this.startIndex=u.startIndex||0,this.dimensionsDetectCount=u.dimensionsDetectCount}c.seriesDataToSource=function(u){return new c({data:u,sourceFormat:A(u)?n:m,fromDataset:!1})},t(c);var i=c;j.exports=i},"7Kak":function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("KPFz"),f=l.n(A)},"7Phj":function(j,R,l){var x=l("bYtY"),b=l("OELB"),A=b.parsePercent,f=x.each;function t(a){var n=e(a);f(n,function(s){var c=s.seriesModels;if(!c.length)return;m(s),f(c,function(i,u){d(i,s.boxOffsetList[u],s.boxWidthList[u])})})}function e(a){var n=[],s=[];return a.eachSeriesByType("boxplot",function(c){var i=c.getBaseAxis(),u=x.indexOf(s,i);u<0&&(u=s.length,s[u]=i,n[u]={axis:i,seriesModels:[]}),n[u].seriesModels.push(c)}),n}function m(a){var n,s=a.axis,c=a.seriesModels,i=c.length,u=a.boxWidthList=[],r=a.boxOffsetList=[],o=[],h;if(s.type==="category")h=s.getBandWidth();else{var p=0;f(c,function(S){p=Math.max(p,S.getData().count())}),n=s.getExtent(),Math.abs(n[1]-n[0])/p}f(c,function(S){var _=S.get("boxWidth");x.isArray(_)||(_=[_,_]),o.push([A(_[0],h)||0,A(_[1],h)||0])});var g=h*.8-2,v=g/i*.3,y=(g-v*(i-1))/i,w=y/2-g/2;f(c,function(S,_){r.push(w),w+=v+y,u.push(Math.min(Math.max(y,o[_][0]),o[_][1]))})}function d(a,n,s){var c=a.coordinateSystem,i=a.getData(),u=s/2,r=a.get("layout")==="horizontal"?0:1,o=1-r,h=["x","y"],p=i.mapDimension(h[r]),g=i.mapDimension(h[o],!0);if(p==null||g.length<5)return;for(var v=0;v=0&&O.splice(M,1),C.__hoverMir=null},clearHover:function(C){for(var E=this._hoverElements,O=0;O15)break}}H.__drawIndex=V,H.__drawIndex0&&C>M[0]){for(B=0;BC);B++);H=O[M[B]]}if(M.splice(B+1,0,C),O[C]=E,!E.virtual)if(H){var J=H.dom;J.nextSibling?X.insertBefore(E.dom,J.nextSibling):X.appendChild(E.dom)}else X.firstChild?X.insertBefore(E.dom,X.firstChild):X.appendChild(E.dom)},eachLayer:function(C,E){var O=this._zlevelList,M,F;for(F=0;F0?i:0),this._needsManuallyCompositing),J.__builtin__||f("ZLevel "+X+" has been used by unkown layer "+J.id),J!==F&&(J.__used=!0,J.__startIndex!==O&&(J.__dirty=!0),J.__startIndex=O,J.incremental?J.__drawIndex=-1:J.__drawIndex=O,E(O),F=J),M.__dirty&&(J.__dirty=!0,J.incremental&&J.__drawIndex<0&&(J.__drawIndex=O))}E(O),this.eachBuiltinLayer(function(k,W){!k.__used&&k.getElementCount()>0&&(k.__dirty=!0,k.__startIndex=k.__endIndex=k.__drawIndex=0),k.__dirty&&k.__drawIndex<0&&(k.__drawIndex=k.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(C){C.clear()},setBackgroundColor:function(C){this._backgroundColor=C},configLayer:function(C,E){if(E){var O=this._layerConfig;O[C]?A.merge(O[C],E,!0):O[C]=E;for(var M=0;M=d&&(m=d-1),m<0&&(m=0)),this.option.currentIndex=m},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(m){this.option.autoPlay=!!m},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var m=this.option,d=m.data||[],a=m.axisType,n=this._names=[];if(a==="category"){var s=[];x.each(d,function(u,r){var o=f.getDataItemValue(u),h;x.isObject(u)?(h=x.clone(u),h.value=r):h=r,s.push(h),!x.isString(o)&&(o==null||isNaN(o))&&(o=""),n.push(o+"")}),d=s}var c={category:"ordinal",time:"time"}[a]||"number",i=this._data=new A([{name:"value",type:c}],this);i.initData(d,n)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),e=t;j.exports=e},"7aKB":function(j,R,l){var x=l("bYtY"),b=l("6GrX"),A=l("OELB");function f(w){return isNaN(w)?"-":(w=(w+"").split("."),w[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(w.length>1?"."+w[1]:""))}function t(w,S){return w=(w||"").toLowerCase().replace(/-(.)/g,function(_,I){return I.toUpperCase()}),S&&w&&(w=w.charAt(0).toUpperCase()+w.slice(1)),w}var e=x.normalizeCssArray,m=/([&<>"'])/g,d={"&":"&","<":"<",">":">",'"':""","'":"'"};function a(w){return w==null?"":(w+"").replace(m,function(S,_){return d[_]})}var n=["a","b","c","d","e","f","g"],s=function(w,S){return"{"+w+(S==null?"":S)+"}"};function c(w,S,_){x.isArray(S)||(S=[S]);var I=S.length;if(!I)return"";for(var C=S[0].$vars||[],E=0;E':'':{renderMode:C,content:"{marker"+E+"|} ",style:{color:_}}:""}function r(w,S){return w+="","0000".substr(0,S-w.length)+w}function o(w,S,_){(w==="week"||w==="month"||w==="quarter"||w==="half-year"||w==="year")&&(w=`MM-dd -yyyy`);var I=A.parseDate(S),C=_?"UTC":"",E=I["get"+C+"FullYear"](),O=I["get"+C+"Month"]()+1,M=I["get"+C+"Date"](),F=I["get"+C+"Hours"](),H=I["get"+C+"Minutes"](),B=I["get"+C+"Seconds"](),X=I["get"+C+"Milliseconds"]();return w=w.replace("MM",r(O,2)).replace("M",O).replace("yyyy",E).replace("yy",E%100).replace("dd",r(M,2)).replace("d",M).replace("hh",r(F,2)).replace("h",F).replace("mm",r(H,2)).replace("m",H).replace("ss",r(B,2)).replace("s",B).replace("SSS",r(X,3)),w}function h(w){return w&&w.charAt(0).toUpperCase()+w.substr(1)}var p=b.truncateText;function g(w){return b.getBoundingRect(w.text,w.font,w.textAlign,w.textVerticalAlign,w.textPadding,w.textLineHeight,w.rich,w.truncate)}function v(w,S,_,I,C,E,O,M){return b.getBoundingRect(w,S,_,I,C,M,E,O)}function y(w,S){if(S==="_blank"||S==="blank"){var _=window.open();_.opener=null,_.location=w}else window.open(w,S)}R.addCommas=f,R.toCamelCase=t,R.normalizeCssArray=e,R.encodeHTML=a,R.formatTpl=c,R.formatTplSimple=i,R.getTooltipMarker=u,R.formatTime=o,R.capitalFirst=h,R.truncateText=p,R.getTextBoundingRect=g,R.getTextRect=v,R.windowOpen=y},"7bkD":function(j,R,l){var x=l("bYtY");function b(A,f){f=f||{};var t=A.coordinateSystem,e=A.axis,m={},d=e.position,a=e.orient,n=t.getRect(),s=[n.x,n.x+n.width,n.y,n.y+n.height],c={horizontal:{top:s[2],bottom:s[3]},vertical:{left:s[0],right:s[1]}};m.position=[a==="vertical"?c.vertical[d]:s[0],a==="horizontal"?c.horizontal[d]:s[3]];var i={horizontal:0,vertical:1};m.rotation=Math.PI/2*i[a];var u={top:-1,bottom:1,right:1,left:-1};m.labelDirection=m.tickDirection=m.nameDirection=u[d],A.get("axisTick.inside")&&(m.tickDirection=-m.tickDirection),x.retrieve(f.labelInside,A.get("axisLabel.inside"))&&(m.labelDirection=-m.labelDirection);var r=f.rotate;return r==null&&(r=A.get("axisLabel.rotate")),m.labelRotation=d==="top"?-r:r,m.z2=1,m}R.layout=b},"7hqr":function(j,R,l){var x=l("bYtY"),b=x.each,A=x.isString;function f(m,d,a){a=a||{};var n=a.byIndex,s=a.stackedCoordDimension,c=!!(m&&m.get("stack")),i,u,r,o;if(b(d,function(v,y){A(v)&&(d[y]=v={name:v}),c&&!v.isExtraCoord&&(!n&&!i&&v.ordinalMeta&&(i=v),!u&&v.type!=="ordinal"&&v.type!=="time"&&(!s||s===v.coordDim)&&(u=v))}),u&&!n&&!i&&(n=!0),u){r="__\0ecstackresult",o="__\0ecstackedover",i&&(i.createInvertedIndices=!0);var h=u.coordDim,p=u.type,g=0;b(d,function(v){v.coordDim===h&&g++}),d.push({name:r,coordDim:h,coordDimIndex:g,type:p,isExtraCoord:!0,isCalculationCoord:!0}),g++,d.push({name:o,coordDim:o,coordDimIndex:g,type:p,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:u&&u.name,stackedByDimension:i&&i.name,isStackedByIndex:n,stackedOverDimension:o,stackResultDimension:r}}function t(m,d){return!!d&&d===m.getCalculationInfo("stackedDimension")}function e(m,d){return t(m,d)?m.getCalculationInfo("stackResultDimension"):d}R.enableDataStack=f,R.isDimensionStacked=t,R.getStackedDimension=e},"7mYs":function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("IwbS"),f=l("7aKB"),t=l("OELB"),e={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},m={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},d=x.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(a,n,s){var c=this.group;c.removeAll();var i=a.coordinateSystem,u=i.getRangeInfo(),r=i.getOrient();this._renderDayRect(a,u,c),this._renderLines(a,u,r,c),this._renderYearText(a,u,r,c),this._renderMonthText(a,r,c),this._renderWeekText(a,u,r,c)},_renderDayRect:function(a,n,s){for(var c=a.coordinateSystem,i=a.getModel("itemStyle").getItemStyle(),u=c.getCellWidth(),r=c.getCellHeight(),o=n.start.time;o<=n.end.time;o=c.getNextNDay(o,1).time){var h=c.dataToRect([o],!1).tl,p=new A.Rect({shape:{x:h[0],y:h[1],width:u,height:r},cursor:"default",style:i});s.add(p)}},_renderLines:function(a,n,s,c){var i=this,u=a.coordinateSystem,r=a.getModel("splitLine.lineStyle").getLineStyle(),o=a.get("splitLine.show"),h=r.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var p=n.start,g=0;p.time<=n.end.time;g++){y(p.formatedDate),g===0&&(p=u.getDateInfo(n.start.y+"-"+n.start.m));var v=p.date;v.setMonth(v.getMonth()+1),p=u.getDateInfo(v)}y(u.getNextNDay(n.end.time,1).formatedDate);function y(w){i._firstDayOfMonth.push(u.getDateInfo(w)),i._firstDayPoints.push(u.dataToRect([w],!1).tl);var S=i._getLinePointsOfOneWeek(a,w,s);i._tlpoints.push(S[0]),i._blpoints.push(S[S.length-1]),o&&i._drawSplitline(S,r,c)}o&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,h,s),r,c),o&&this._drawSplitline(i._getEdgesPoints(i._blpoints,h,s),r,c)},_getEdgesPoints:function(a,n,s){var c=[a[0].slice(),a[a.length-1].slice()],i=s==="horizontal"?0:1;return c[0][i]=c[0][i]-n/2,c[1][i]=c[1][i]+n/2,c},_drawSplitline:function(a,n,s){var c=new A.Polyline({z2:20,shape:{points:a},style:n});s.add(c)},_getLinePointsOfOneWeek:function(a,n,s){var c=a.coordinateSystem;n=c.getDateInfo(n);for(var i=[],u=0;u<7;u++){var r=c.getNextNDay(n.time,u),o=c.dataToRect([r.time],!1);i[2*r.day]=o.tl,i[2*r.day+1]=o[s==="horizontal"?"bl":"tr"]}return i},_formatterLabel:function(a,n){return typeof a=="string"&&a?f.formatTplSimple(a,n):typeof a=="function"?a(n):n.nameMap},_yearTextPositionControl:function(a,n,s,c,i){n=n.slice();var u=["center","bottom"];c==="bottom"?(n[1]+=i,u=["center","top"]):c==="left"?n[0]-=i:c==="right"?(n[0]+=i,u=["center","top"]):n[1]-=i;var r=0;return(c==="left"||c==="right")&&(r=Math.PI/2),{rotation:r,position:n,style:{textAlign:u[0],textVerticalAlign:u[1]}}},_renderYearText:function(a,n,s,c){var i=a.getModel("yearLabel");if(!i.get("show"))return;var u=i.get("margin"),r=i.get("position");r||(r=s!=="horizontal"?"top":"left");var o=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],h=(o[0][0]+o[1][0])/2,p=(o[0][1]+o[1][1])/2,g=s==="horizontal"?0:1,v={top:[h,o[g][1]],bottom:[h,o[1-g][1]],left:[o[1-g][0],p],right:[o[g][0],p]},y=n.start.y;+n.end.y>+n.start.y&&(y=y+"-"+n.end.y);var w=i.get("formatter"),S={start:n.start.y,end:n.end.y,nameMap:y},_=this._formatterLabel(w,S),I=new A.Text({z2:30});A.setTextStyle(I.style,i,{text:_}),I.attr(this._yearTextPositionControl(I,v[r],s,r,u)),c.add(I)},_monthTextPositionControl:function(a,n,s,c,i){var u="left",r="top",o=a[0],h=a[1];return s==="horizontal"?(h=h+i,n&&(u="center"),c==="start"&&(r="bottom")):(o=o+i,n&&(r="middle"),c==="start"&&(u="right")),{x:o,y:h,textAlign:u,textVerticalAlign:r}},_renderMonthText:function(a,n,s){var c=a.getModel("monthLabel");if(!c.get("show"))return;var i=c.get("nameMap"),u=c.get("margin"),r=c.get("position"),o=c.get("align"),h=[this._tlpoints,this._blpoints];b.isString(i)&&(i=e[i.toUpperCase()]||[]);var p=r==="start"?0:1,g=n==="horizontal"?0:1;u=r==="start"?-u:u;for(var v=o==="center",y=0;y1?(E.width=w,E.height=w/I):(E.height=w,E.width=w*I),E.y=y[1]-E.height/2,E.x=y[0]-E.width/2}else v=u.getBoxLayoutParams(),v.aspect=I,E=e.getLayoutRect(v,{width:S,height:_});this.setViewRect(E.x,E.y,E.width,E.height),this.setCenter(u.get("center")),this.setZoom(u.get("zoom"))}function s(u,r){f.each(r.get("geoCoord"),function(o,h){u.addGeoCoord(h,o)})}var c={dimensions:t.prototype.dimensions,create:function(u,r){var o=[];u.eachComponent("geo",function(p,g){var v=p.get("map"),y=p.get("aspectScale"),w=!0,S=a.retrieveMap(v);S&&S[0]&&S[0].type==="svg"?(y==null&&(y=1),w=!1):y==null&&(y=.75);var _=new t(v+g,v,p.get("nameMap"),w);_.aspectScale=y,_.zoomLimit=p.get("scaleLimit"),o.push(_),s(_,p),p.coordinateSystem=_,_.model=p,_.resize=n,_.resize(p,r)}),u.eachSeries(function(p){var g=p.get("coordinateSystem");if(g==="geo"){var v=p.get("geoIndex")||0;p.coordinateSystem=o[v]}});var h={};return u.eachSeriesByType("map",function(p){if(!p.getHostGeoModel()){var g=p.getMapType();h[g]=h[g]||[],h[g].push(p)}}),f.each(h,function(p,g){var v=f.map(p,function(w){return w.get("nameMap")}),y=new t(g,g,f.mergeAll(v));y.zoomLimit=f.retrieve.apply(null,f.map(p,function(w){return w.get("scaleLimit")})),o.push(y),y.resize=n,y.aspectScale=p[0].get("aspectScale"),y.resize(p[0],r),f.each(p,function(w){w.coordinateSystem=y,s(y,w)})}),o},getFilledRegions:function(u,r,o){for(var h=(u||[]).slice(),p=f.createHashMap(),g=0;g=32&&f<=255)return f;var t=x[f];return t!==void 0?t:16777216|f}};R.default=b},"815F":function(j,R,l){"use strict";l.d(R,"e",function(){return m}),l.d(R,"c",function(){return a}),l.d(R,"d",function(){return n}),l.d(R,"a",function(){return c}),l.d(R,"f",function(){return i}),l.d(R,"b",function(){return u});var x=l("KQm4"),b=l("VTBJ"),A=l("Ff2n"),f=l("Zm9Q"),t=l("Kwbf"),e=l("OZM5");function m(r,o){return r!=null?r:o}function d(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=new Map;function h(p){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(p||[]).forEach(function(v){var y=v.key,w=v.children;Object(t.a)(y!=null,"Tree node must have a certain key: [".concat(g).concat(y,"]"));var S=String(y);Object(t.a)(!o.has(S)||y===null||y===void 0,"Same 'key' exist in the Tree: ".concat(S)),o.set(S,!0),h(w,"".concat(g).concat(S," > "))})}h(r)}function a(r){function o(h){var p=Object(f.a)(h);return p.map(function(g){if(!Object(e.i)(g))return Object(t.a)(!g,"Tree/TreeNode can only accept TreeNode as children."),null;var v=g.key,y=g.props,w=y.children,S=Object(A.a)(y,["children"]),_=Object(b.a)({key:v},S),I=o(w);return I.length&&(_.children=I),_}).filter(function(g){return g})}return o(r)}function n(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],h=new Set(o===!0?[]:o),p=[];function g(v){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return v.map(function(w,S){var _=Object(e.h)(y?y.pos:"0",S),I=m(w.key,_),C=Object(b.a)(Object(b.a)({},w),{},{parent:y,pos:_,children:null,data:w,isStart:[].concat(Object(x.a)(y?y.isStart:[]),[S===0]),isEnd:[].concat(Object(x.a)(y?y.isEnd:[]),[S===v.length-1])});return p.push(C),o===!0||h.has(I)?C.children=g(w.children||[],C):C.children=[],C})}return g(r),p}function s(r,o,h){var p;h?typeof h=="string"?p=function(y){return y[h]}:typeof h=="function"&&(p=function(y){return h(y)}):p=function(y,w){return m(y.key,w)};function g(v,y,w){var S=v?v.children:r,_=v?Object(e.h)(w.pos,y):"0";if(v){var I=p(v,_),C={node:v,index:y,pos:_,key:I,parentPos:w.node?w.pos:null,level:w.level+1};o(C)}S&&S.forEach(function(E,O){g(E,O,{node:v,pos:_,level:w?w.level+1:-1})})}g(null)}function c(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=o.initWrapper,p=o.processEntity,g=o.onProcessFinished,v=arguments.length>2?arguments[2]:void 0,y={},w={},S={posEntities:y,keyEntities:w};return h&&(S=h(S)||S),s(r,function(_){var I=_.node,C=_.index,E=_.pos,O=_.key,M=_.parentPos,F=_.level,H={node:I,index:C,key:O,pos:E,level:F},B=m(O,E);y[E]=H,w[B]=H,H.parent=y[M],H.parent&&(H.parent.children=H.parent.children||[],H.parent.children.push(H)),p&&p(H,S)},v),g&&g(S),S}function i(r,o){var h=o.expandedKeys,p=o.selectedKeys,g=o.loadedKeys,v=o.loadingKeys,y=o.checkedKeys,w=o.halfCheckedKeys,S=o.dragOverNodeKey,_=o.dropPosition,I=o.keyEntities,C=I[r],E={eventKey:r,expanded:h.indexOf(r)!==-1,selected:p.indexOf(r)!==-1,loaded:g.indexOf(r)!==-1,loading:v.indexOf(r)!==-1,checked:y.indexOf(r)!==-1,halfChecked:w.indexOf(r)!==-1,pos:String(C?C.pos:""),dragOver:S===r&&_===0,dragOverGapTop:S===r&&_===-1,dragOverGapBottom:S===r&&_===1};return E}function u(r){var o=r.data,h=r.expanded,p=r.selected,g=r.checked,v=r.loaded,y=r.loading,w=r.halfChecked,S=r.dragOver,_=r.dragOverGapTop,I=r.dragOverGapBottom,C=r.pos,E=r.active,O=Object(b.a)(Object(b.a)({},o),{},{expanded:h,selected:p,checked:g,loaded:v,loading:y,halfChecked:w,dragOver:S,dragOverGapTop:_,dragOverGapBottom:I,pos:C,active:E});return"props"in O||Object.defineProperty(O,"props",{get:function(){return Object(t.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),r}}),O}},"8CQX":function(j,R,l){"use strict";function x(u){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(o){return typeof o}:x=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},x(u)}Object.defineProperty(R,"__esModule",{value:!0}),R.getKeycode=s,R.getKey=c,R.getKeysym=i;var b=n(l("mHUz")),A=n(l("8+yF")),f=n(l("6Qwc")),t=n(l("gIYZ")),e=n(l("mTgk")),m=a(l("GdRQ"));function d(){if(typeof WeakMap!="function")return null;var u=new WeakMap;return d=function(){return u},u}function a(u){if(u&&u.__esModule)return u;if(u===null||x(u)!=="object"&&typeof u!="function")return{default:u};var r=d();if(r&&r.has(u))return r.get(u);var o={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(Object.prototype.hasOwnProperty.call(u,p)){var g=h?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(o,p,g):o[p]=u[p]}return o.default=u,r&&r.set(u,o),o}function n(u){return u&&u.__esModule?u:{default:u}}function s(u){if(u.code){switch(u.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return u.code}if(u.type!=="keypress"&&u.keyCode in f.default){var r=f.default[u.keyCode];if(m.isMac()&&r==="ContextMenu"&&(r="MetaRight"),u.location===2)switch(r){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(u.location===3)switch(r){case"Delete":return"NumpadDecimal";case"Insert":return"Numpad0";case"End":return"Numpad1";case"ArrowDown":return"Numpad2";case"PageDown":return"Numpad3";case"ArrowLeft":return"Numpad4";case"ArrowRight":return"Numpad6";case"Home":return"Numpad7";case"ArrowUp":return"Numpad8";case"PageUp":return"Numpad9";case"Enter":return"NumpadEnter"}return r}return"Unidentified"}function c(u){if(u.key!==void 0){switch(u.key){case"Spacebar":return" ";case"Esc":return"Escape";case"Scroll":return"ScrollLock";case"Win":return"Meta";case"Apps":return"ContextMenu";case"Up":return"ArrowUp";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Down":return"ArrowDown";case"Del":return"Delete";case"Divide":return"/";case"Multiply":return"*";case"Subtract":return"-";case"Add":return"+";case"Decimal":return u.char}switch(u.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(u.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(u.key==="\0"&&u.code==="NumpadDecimal")return"Delete";if(!m.isIE()&&!m.isEdge())return u.key;if(u.key.length!==1&&u.key!=="Unidentified")return u.key}var r=s(u);return r in t.default?t.default[r]:u.charCode?String.fromCharCode(u.charCode):"Unidentified"}function i(u){var r=c(u);if(r==="Unidentified")return null;if(r in e.default){var o=u.location;if(r==="Meta"&&o===0&&(o=2),r==="Clear"&&o===3){var h=s(u);h==="NumLock"&&(o=0)}if((o===void 0||o>3)&&(o=0),r==="Meta"){var p=s(u);if(p==="AltLeft")return b.default.XK_Meta_L;if(p==="AltRight")return b.default.XK_Meta_R}if(r==="Clear"){var g=s(u);if(g==="NumLock")return b.default.XK_Num_Lock}return e.default[r][o]}if(r.length!==1)return null;var v=r.charCodeAt();return v?A.default.lookup(v):null}},"8EBN":function(j,R,l){(function(x){x(l("VrN/"))})(function(x){"use strict";x.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var b=0;b-1&&f.substring(m+1,f.length);if(d)return x.findModeByExtension(d)},x.findModeByName=function(f){f=f.toLowerCase();for(var t=0;t>v&1&&(this._zlibs[v].reset(),b.Info("Reset zlib stream "+v));this._ctl=this._ctl>>4}var y;if(this._ctl===8)y=this._fillRect(i,u,r,o,h,p,g);else if(this._ctl===9)y=this._jpegRect(i,u,r,o,h,p,g);else if(this._ctl===10)y=this._pngRect(i,u,r,o,h,p,g);else if((this._ctl&128)==0)y=this._basicRect(this._ctl,i,u,r,o,h,p,g);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return y&&(this._ctl=null),y}},{key:"_fillRect",value:function(i,u,r,o,h,p,g){if(h.rQwait("TIGHT",3))return!1;var v=h.rQi,y=h.rQ;return p.fillRect(i,u,r,o,[y[v+2],y[v+1],y[v]],!1),h.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(i,u,r,o,h,p,g){var v=this._readData(h);return v===null?!1:(p.imageRect(i,u,r,o,"image/jpeg",v),!0)}},{key:"_pngRect",value:function(i,u,r,o,h,p,g){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(i,u,r,o,h,p,g,v){if(this._filter===null)if(i&4){if(p.rQwait("TIGHT",1))return!1;this._filter=p.rQshift8()}else this._filter=0;var y=i&3,w;switch(this._filter){case 0:w=this._copyFilter(y,u,r,o,h,p,g,v);break;case 1:w=this._paletteFilter(y,u,r,o,h,p,g,v);break;case 2:w=this._gradientFilter(y,u,r,o,h,p,g,v);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return w&&(this._filter=null),w}},{key:"_copyFilter",value:function(i,u,r,o,h,p,g,v){var y=o*h*3,w;if(y<12){if(p.rQwait("TIGHT",y))return!1;w=p.rQshiftBytes(y)}else{if(w=this._readData(p),w===null)return!1;this._zlibs[i].setInput(w),w=this._zlibs[i].inflate(y),this._zlibs[i].setInput(null)}return g.blitRgbImage(u,r,o,h,w,0,!1),!0}},{key:"_paletteFilter",value:function(i,u,r,o,h,p,g,v){if(this._numColors===0){if(p.rQwait("TIGHT palette",1))return!1;var y=p.rQpeek8()+1,w=y*3;if(p.rQwait("TIGHT palette",1+w))return!1;this._numColors=y,p.rQskipBytes(1),p.rQshiftTo(this._palette,w)}var S=this._numColors<=2?1:8,_=Math.floor((o*S+7)/8),I=_*h,C;if(I<12){if(p.rQwait("TIGHT",I))return!1;C=p.rQshiftBytes(I)}else{if(C=this._readData(p),C===null)return!1;this._zlibs[i].setInput(C),C=this._zlibs[i].inflate(I),this._zlibs[i].setInput(null)}return this._numColors==2?this._monoRect(u,r,o,h,C,this._palette,g):this._paletteRect(u,r,o,h,C,this._palette,g),this._numColors=0,!0}},{key:"_monoRect",value:function(i,u,r,o,h,p,g){for(var v=this._getScratchBuffer(r*o*4),y=Math.floor((r+7)/8),w=Math.floor(r/8),S=0;S=0;E--)_=(S*r+C*8+7-E)*4,I=(h[S*y+C]>>E&1)*3,v[_]=p[I],v[_+1]=p[I+1],v[_+2]=p[I+2],v[_+3]=255;for(var O=7;O>=8-r%8;O--)_=(S*r+C*8+7-O)*4,I=(h[S*y+C]>>O&1)*3,v[_]=p[I],v[_+1]=p[I+1],v[_+2]=p[I+2],v[_+3]=255}g.blitRgbxImage(i,u,r,o,v,0,!1)}},{key:"_paletteRect",value:function(i,u,r,o,h,p,g){for(var v=this._getScratchBuffer(r*o*4),y=r*o*4,w=0,S=0;w=0;W--){var z=X[W].dimension,K=H.dimensions[z],P=H.getDimensionInfo(K);if(J=P&&P.coordDim,J==="x"||J==="y"){k=X[W];break}}if(!k)return;var G=B.getAxis(J),V=A.map(k.stops,function(ke){return{coord:G.toGlobalCoord(G.dataToCoord(ke.value)),color:ke.color}}),q=V.length,re=k.outerColors.slice();q&&V[0].coord>V[q-1].coord&&(V.reverse(),re.reverse());var ce=10,ie=V[0].coord-ce,fe=V[q-1].coord+ce,xe=fe-ie;if(xe<.001)return"transparent";A.each(V,function(ke){ke.offset=(ke.coord-ie)/xe}),V.push({offset:q?V[q-1].offset:.5,color:re[1]||"transparent"}),V.unshift({offset:q?V[0].offset:.5,color:re[0]||"transparent"});var Se=new a.LinearGradient(0,0,0,0,V,!0);return Se[J]=ie,Se[J+"2"]=fe,Se}function E(H,B,X){var J=H.get("showAllSymbol"),k=J==="auto";if(J&&!k)return;var W=X.getAxesByScale("ordinal")[0];if(!W)return;if(k&&O(W,B))return;var z=B.mapDimension(W.dim),K={};return A.each(W.getViewLabels(),function(P){K[P.tickValue]=1}),function(P){return!K.hasOwnProperty(B.get(z,P))}}function O(H,B){var X=H.getExtent(),J=Math.abs(X[1]-X[0])/H.scale.count();isNaN(J)&&(J=0);for(var k=B.count(),W=Math.max(1,Math.round(k/5)),z=0;zJ)return!1;return!0}function M(H,B,X){if(H.type==="cartesian2d"){var J=H.getBaseAxis().isHorizontal(),k=g(H,B,X);if(!X.get("clip",!0)){var W=k.shape,z=Math.max(W.width,W.height);J?(W.y-=z,W.height+=z*2):(W.x-=z,W.width+=z*2)}return k}else return v(H,B,X)}var F=u.extend({type:"line",init:function(){var H=new a.Group,B=new e;this.group.add(B.group),this._symbolDraw=B,this._lineGroup=H},render:function(H,B,X){var J=H.coordinateSystem,k=this.group,W=H.getData(),z=H.getModel("lineStyle"),K=H.getModel("areaStyle"),P=W.mapArray(W.getItemLayout),G=J.type==="polar",V=this._coordSys,q=this._symbolDraw,re=this._polyline,ce=this._polygon,ie=this._lineGroup,fe=H.get("animation"),xe=!K.isEmpty(),Se=K.get("origin"),ke=o(J,W,Se),ge=_(J,W,ke),Be=H.get("showSymbol"),ee=Be&&!G&&E(H,W,J),ue=this._data;ue&&ue.eachItemGraphicEl(function(pe,De){pe.__temp&&(k.remove(pe),ue.setItemGraphicEl(De,null))}),Be||q.remove(),k.add(ie);var Ge=!G&&H.get("step"),ae;J&&J.getArea&&H.get("clip",!0)&&(ae=J.getArea(),ae.width!=null?(ae.x-=.1,ae.y-=.1,ae.width+=.2,ae.height+=.2):ae.r0&&(ae.r0-=.5,ae.r1+=.5)),this._clipShapeForSymbol=ae,re&&V.type===J.type&&Ge===this._step?(xe&&!ce?ce=this._newPolygon(P,ge,J,fe):ce&&!xe&&(ie.remove(ce),ce=this._polygon=null),ie.setClipPath(M(J,!1,H)),Be&&q.updateData(W,{isIgnore:ee,clipShape:ae}),W.eachItemGraphicEl(function(pe){pe.stopAnimation(!0)}),(!y(this._stackedOnPoints,ge)||!y(this._points,P))&&(fe?this._updateAnimation(W,ge,J,X,Ge,Se):(Ge&&(P=I(P,J,Ge),ge=I(ge,J,Ge)),re.setShape({points:P}),ce&&ce.setShape({points:P,stackedOnPoints:ge})))):(Be&&q.updateData(W,{isIgnore:ee,clipShape:ae}),Ge&&(P=I(P,J,Ge),ge=I(ge,J,Ge)),re=this._newPolyline(P,J,fe),xe&&(ce=this._newPolygon(P,ge,J,fe)),ie.setClipPath(M(J,!0,H)));var Z=C(W,J)||W.getVisual("color");re.useStyle(A.defaults(z.getLineStyle(),{fill:"none",stroke:Z,lineJoin:"bevel"}));var Y=H.get("smooth");if(Y=S(H.get("smooth")),re.setShape({smooth:Y,smoothMonotone:H.get("smoothMonotone"),connectNulls:H.get("connectNulls")}),ce){var te=W.getCalculationInfo("stackedOnSeries"),we=0;ce.useStyle(A.defaults(K.getAreaStyle(),{fill:Z,opacity:.7,lineJoin:"bevel"})),te&&(we=S(te.get("smooth"))),ce.setShape({smooth:Y,stackedOnSmooth:we,smoothMonotone:H.get("smoothMonotone"),connectNulls:H.get("connectNulls")})}this._data=W,this._coordSys=J,this._stackedOnPoints=ge,this._points=P,this._step=Ge,this._valueOrigin=Se},dispose:function(){},highlight:function(H,B,X,J){var k=H.getData(),W=n.queryDataIndex(k,J);if(!(W instanceof Array)&&W!=null&&W>=0){var z=k.getItemGraphicEl(W);if(!z){var K=k.getItemLayout(W);if(!K)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(K[0],K[1]))return;z=new m(k,W),z.position=K,z.setZ(H.get("zlevel"),H.get("z")),z.ignore=isNaN(K[0])||isNaN(K[1]),z.__temp=!0,k.setItemGraphicEl(W,z),z.stopSymbolAnimation(!0),this.group.add(z)}z.highlight()}else u.prototype.highlight.call(this,H,B,X,J)},downplay:function(H,B,X,J){var k=H.getData(),W=n.queryDataIndex(k,J);if(W!=null&&W>=0){var z=k.getItemGraphicEl(W);z&&(z.__temp?(k.setItemGraphicEl(W,null),this.group.remove(z)):z.downplay())}else u.prototype.downplay.call(this,H,B,X,J)},_newPolyline:function(H){var B=this._polyline;return B&&this._lineGroup.remove(B),B=new c({shape:{points:H},silent:!0,z2:10}),this._lineGroup.add(B),this._polyline=B,B},_newPolygon:function(H,B){var X=this._polygon;return X&&this._lineGroup.remove(X),X=new i({shape:{points:H,stackedOnPoints:B},silent:!0}),this._lineGroup.add(X),this._polygon=X,X},_updateAnimation:function(H,B,X,J,k,W){var z=this._polyline,K=this._polygon,P=H.hostModel,G=d(this._data,H,this._stackedOnPoints,B,this._coordSys,X,this._valueOrigin,W),V=G.current,q=G.stackedOnCurrent,re=G.next,ce=G.stackedOnNext;if(k&&(V=I(G.current,X,k),q=I(G.stackedOnCurrent,X,k),re=I(G.next,X,k),ce=I(G.stackedOnNext,X,k)),w(V,re)>3e3||K&&w(q,ce)>3e3){z.setShape({points:re}),K&&K.setShape({points:re,stackedOnPoints:ce});return}z.shape.__points=G.current,z.shape.points=V,a.updateProps(z,{shape:{points:re}},P),K&&(K.setShape({points:V,stackedOnPoints:q}),a.updateProps(K,{shape:{points:re,stackedOnPoints:ce}},P));for(var ie=[],fe=G.status,xe=0;xet)return;var c=this._model.coordinateSystem.getSlidedAxisExpandWindow([d.offsetX,d.offsetY]);c.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:c.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(d){if(this._mouseDownPoint||!m(this,"mousemove"))return;var a=this._model,n=a.coordinateSystem.getSlidedAxisExpandWindow([d.offsetX,d.offsetY]),s=n.behavior;s==="jump"&&this._throttledDispatchExpand.debounceNextCall(a.get("axisExpandDebounce")),this._throttledDispatchExpand(s==="none"?null:{axisExpandWindow:n.axisExpandWindow,animation:s==="jump"?null:!1})}};function m(d,a){var n=d._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===a}x.registerPreprocessor(f)},"8x+h":function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("ProS"),f=l("bYtY"),t=l("K4ya"),e=l("Qxkt"),m=["#ddd"],d=A.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(s,c){var i=this.option;!c&&t.replaceVisualOption(i,s,["inBrush","outOfBrush"]);var u=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:m},u.hasOwnProperty("liftZ")||(u.liftZ=5)},setAreas:function(s){if(!s)return;this.areas=f.map(s,function(c){return a(this.option,c)},this)},setBrushOption:function(s){this.brushOption=a(this.option,s),this.brushType=this.brushOption.brushType}});function a(s,c){return f.merge({brushType:s.brushType,brushMode:s.brushMode,transformable:s.transformable,brushStyle:new e(s.brushStyle).getItemStyle(),removeOnClick:s.removeOnClick,z:s.z},c,!0)}var n=d;j.exports=n},"8z0m":function(j,R,l){"use strict";var x=l("lSNA"),b=l.n(x),A=l("RIqP"),f=l.n(A),t=l("pVnL"),e=l.n(t),m=l("J4zp"),d=l.n(m),a=l("q1tI"),n=l.n(a),s=l("TSYQ"),c=l.n(s);function i(Ht,Kt){var ot="cannot "+Ht.method+" "+Ht.action+" "+Kt.status+"'",et=new Error(ot);return et.status=Kt.status,et.method=Ht.method,et.url=Ht.action,et}function u(Ht){var Kt=Ht.responseText||Ht.response;if(!Kt)return Kt;try{return JSON.parse(Kt)}catch(ot){return Kt}}function r(Ht){var Kt=new XMLHttpRequest;Ht.onProgress&&Kt.upload&&(Kt.upload.onprogress=function(Gt){Gt.total>0&&(Gt.percent=Gt.loaded/Gt.total*100),Ht.onProgress(Gt)});var ot=new FormData;Ht.data&&Object.keys(Ht.data).forEach(function(Ze){var Gt=Ht.data[Ze];if(Array.isArray(Gt)){Gt.forEach(function(yr){ot.append(Ze+"[]",yr)});return}ot.append(Ze,Ht.data[Ze])}),Ht.file instanceof Blob?ot.append(Ht.filename,Ht.file,Ht.file.name):ot.append(Ht.filename,Ht.file),Kt.onerror=function(Gt){Ht.onError(Gt)},Kt.onload=function(){return Kt.status<200||Kt.status>=300?Ht.onError(i(Ht,Kt),u(Kt)):Ht.onSuccess(u(Kt),Kt)},Kt.open(Ht.method,Ht.action,!0),Ht.withCredentials&&"withCredentials"in Kt&&(Kt.withCredentials=!0);var et=Ht.headers||{};return et["X-Requested-With"]!==null&&Kt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(et).forEach(function(Ze){et[Ze]!==null&&Kt.setRequestHeader(Ze,et[Ze])}),Kt.send(ot),{abort:function(){Kt.abort()}}}var o=+new Date,h=0;function p(){return"rc-upload-"+o+"-"+ ++h}function g(Ht,Kt){return Ht.indexOf(Kt,Ht.length-Kt.length)!==-1}var v=function(Ht,Kt){if(Ht&&Kt){var ot=Array.isArray(Kt)?Kt:Kt.split(","),et=Ht.name||"",Ze=Ht.type||"",Gt=Ze.replace(/\/.*$/,"");return ot.some(function(yr){var br=yr.trim();return br.charAt(0)==="."?g(et.toLowerCase(),br.toLowerCase()):/\/\*$/.test(br)?Gt===br.replace(/\/.*$/,""):Ze===br})}return!0};function y(Ht,Kt){var ot=Ht.createReader(),et=[];function Ze(){ot.readEntries(function(Gt){var yr=Array.prototype.slice.apply(Gt);et=et.concat(yr);var br=!yr.length;br?Kt(et):Ze()})}Ze()}var w=function(Kt,ot,et){var Ze=function Gt(yr,br){br=br||"",yr.isFile?yr.file(function(Sr){et(Sr)&&(yr.fullPath&&!Sr.webkitRelativePath&&(Object.defineProperties(Sr,{webkitRelativePath:{writable:!0}}),Sr.webkitRelativePath=yr.fullPath.replace(/^\//,""),Object.defineProperties(Sr,{webkitRelativePath:{writable:!1}})),ot([Sr]))}):yr.isDirectory&&y(yr,function(Sr){Sr.forEach(function(Tn){Gt(Tn,""+br+yr.name+"/")})})};Kt.forEach(function(Gt){Ze(Gt.webkitGetAsEntry())})},S=w,_=Object.assign||function(Ht){for(var Kt=1;Kt=0)continue;if(!Object.prototype.hasOwnProperty.call(Ht,et))continue;ot[et]=Ht[et]}return ot}function M(Ht,Kt){if(!(Ht instanceof Kt))throw new TypeError("Cannot call a class as a function")}function F(Ht,Kt){if(!Ht)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Kt&&(typeof Kt=="object"||typeof Kt=="function")?Kt:Ht}function H(Ht,Kt){if(typeof Kt!="function"&&Kt!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Kt);Ht.prototype=Object.create(Kt&&Kt.prototype,{constructor:{value:Ht,enumerable:!1,writable:!0,configurable:!0}}),Kt&&(Object.setPrototypeOf?Object.setPrototypeOf(Ht,Kt):Ht.__proto__=Kt)}var B=function(Kt){return Object.keys(Kt).reduce(function(ot,et){return(et.substr(0,5)==="data-"||et.substr(0,5)==="aria-"||et==="role")&&(ot[et]=Kt[et]),ot},{})},X=function(Ht){H(Kt,Ht);function Kt(){var ot,et,Ze,Gt;M(this,Kt);for(var yr=arguments.length,br=Array(yr),Sr=0;Sr0&&arguments[0]!==void 0?arguments[0]:"",ot=Kt.split("/"),et=ot[ot.length-1],Ze=et.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Ze)||[""])[0]},Pe=function(Kt){return Kt.indexOf("image/")===0},Nt=function(Kt){if(Kt.type&&!Kt.thumbUrl)return Pe(Kt.type);var ot=Kt.thumbUrl||Kt.url,et=pt(ot);return/^data:image\//.test(ot)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(et)?!0:/^data:/.test(ot)?!1:!et},ut=200;function Ft(Ht){return new Promise(function(Kt){if(!Ht.type||!Pe(Ht.type)){Kt("");return}var ot=document.createElement("canvas");ot.width=ut,ot.height=ut,ot.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(ut,"px; height: ").concat(ut,"px; z-index: 9999; display: none;"),document.body.appendChild(ot);var et=ot.getContext("2d"),Ze=new Image;Ze.onload=function(){var Gt=Ze.width,yr=Ze.height,br=ut,Sr=ut,Tn=0,cn=0;Gt=1)&&(M=1),M}var w;(this._dirty||o==="reset")&&(this._dirty=!1,w=s(this,u)),this._modBy=g,this._modDataCount=v;var S=c&&c.step;if(i?this._dueEnd=i._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var _=this._dueIndex,I=Math.min(S!=null?this._dueIndex+S:Infinity,this._dueEnd);if(!u&&(w||_1&&r>0?g:p}};return h;function p(){return i=c?null:v=0;_--){var I=S[_],C=I.node,E=I.width,O=I.text;w>y.width&&(w-=E-g,E=g,O=null);var M=new x.Polygon({shape:{points:n(p,0,E,v,_===S.length-1,_===0)},style:A.defaults(r.getItemStyle(),{lineJoin:"bevel",text:O,textFill:o.getTextColor(),textFont:o.getFont()}),z:10,onclick:A.curry(h,C)});this.group.add(M),s(M,i,C),p+=E+m}},remove:function(){this.group.removeAll()}};function n(i,u,r,o,h,p){var g=[[h?i:i-d,u],[i+r,u],[i+r,u+o],[h?i:i-d,u+o]];return!p&&g.splice(2,0,[i+r+d,u+o/2]),!h&&g.push([i,u+o/2]),g}function s(i,u,r){i.eventData={componentType:"series",componentSubType:"treemap",componentIndex:u.componentIndex,seriesIndex:u.componentIndex,seriesName:u.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:r&&r.dataIndex,name:r&&r.name},treePathInfo:r&&t(r,u)}}var c=a;j.exports=c},"9u0u":function(j,R,l){var x=l("bYtY");function b(f,t){var e={};return x.each(f,function(m){m.each(m.mapDimension("value"),function(d,a){var n="ec-"+m.getName(a);e[n]=e[n]||[],isNaN(d)||e[n].push(d)})}),f[0].map(f[0].mapDimension("value"),function(m,d){for(var a="ec-"+f[0].getName(d),n=0,s=Infinity,c=-Infinity,i=e[a].length,u=0;u0){var me=Be==="button"?"".concat(pe,"-button"):pe;Ne=ge.map(function(it){return typeof it=="string"?t.createElement(y,{ref:J,key:it,prefixCls:me,disabled:ue,value:it,checked:V===it},it):t.createElement(y,{ref:J,key:"radio-group-value-options-".concat(it.value),prefixCls:me,disabled:it.disabled||ue,value:it.value,checked:V===it.value,style:it.style},it.label)})}var be=ae||K,Re=d()(De,"".concat(De,"-").concat(ee),(fe={},b()(fe,"".concat(De,"-").concat(be),be),b()(fe,"".concat(De,"-rtl"),z==="rtl"),fe),ke);return t.createElement("div",{className:Re,style:Z,onMouseEnter:te,onMouseLeave:we,id:Y},Ne)};return t.createElement(s,{value:{onChange:re,value:V,disabled:X.disabled,name:X.name}},ce())});C.defaultProps={buttonStyle:"outline"};var E=t.memo(C),O=function(X,J){var k={};for(var W in X)Object.prototype.hasOwnProperty.call(X,W)&&J.indexOf(W)<0&&(k[W]=X[W]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,W=Object.getOwnPropertySymbols(X);z=l;)c|=s&1,s>>=1;return s+c}function f(s,c,i,u){var r=c+1;if(r===i)return 1;if(u(s[r++],s[c])<0){for(;r=0;)r++;return r-c}function t(s,c,i){for(i--;c>>1,r(o,s[g])<0?p=g:h=g+1;var v=u-h;switch(v){case 3:s[h+3]=s[h+2];case 2:s[h+2]=s[h+1];case 1:s[h+1]=s[h];break;default:for(;v>0;)s[h+v]=s[h+v-1],v--}s[h]=o}}function m(s,c,i,u,r,o){var h=0,p=0,g=1;if(o(s,c[i+r])>0){for(p=u-r;g0;)h=g,g=(g<<1)+1,g<=0&&(g=p);g>p&&(g=p),h+=r,g+=r}else{for(p=r+1;gp&&(g=p);var v=h;h=r-g,g=r-v}for(h++;h>>1);o(s,c[i+y])>0?h=y+1:g=y}return g}function d(s,c,i,u,r,o){var h=0,p=0,g=1;if(o(s,c[i+r])<0){for(p=r+1;gp&&(g=p);var v=h;h=r-g,g=r-v}else{for(p=u-r;g=0;)h=g,g=(g<<1)+1,g<=0&&(g=p);g>p&&(g=p),h+=r,g+=r}for(h++;h>>1);o(s,c[i+y])<0?g=y:h=y+1}return g}function a(s,c){var i=x,u=0,r=b,o=0,h,p,g=0;u=s.length,u<2*b&&(r=u>>>1);var v=[];o=u<120?5:u<1542?10:u<119151?19:40,h=[],p=[];function y(E,O){h[g]=E,p[g]=O,g+=1}function w(){for(;g>1;){var E=g-2;if(E>=1&&p[E-1]<=p[E]+p[E+1]||E>=2&&p[E-2]<=p[E]+p[E-1])p[E-1]p[E+1])break;_(E)}}function S(){for(;g>1;){var E=g-2;E>0&&p[E-1]=x||z>=x);if(K)break;k<0&&(k=0),k+=2}if(i=k,i<1&&(i=1),O===1){for(H=0;H=0;H--)s[W+H]=s[k+H];s[J]=v[X];return}for(var z=i;;){var K=0,P=0,G=!1;do if(c(v[X],s[B])<0){if(s[J--]=s[B--],K++,P=0,--O===0){G=!0;break}}else if(s[J--]=v[X--],P++,K=0,--F===1){G=!0;break}while((K|P)=0;H--)s[W+H]=s[k+H];if(O===0){G=!0;break}}if(s[J--]=v[X--],--F===1){G=!0;break}if(P=F-m(s[B],v,0,F,F-1,c),P!==0){for(J-=P,X-=P,F-=P,W=J+1,k=X+1,H=0;H=x||P>=x);if(G)break;z<0&&(z=0),z+=2}if(i=z,i<1&&(i=1),F===1){for(J-=O,B-=O,W=J+1,k=B+1,H=O-1;H>=0;H--)s[W+H]=s[k+H];s[J]=v[X]}else{if(F===0)throw new Error;for(k=J-(F-1),H=0;Hp&&(g=p),e(s,i,i+g,i+o,c),o=g}h.pushRun(i,o),h.mergeRuns(),r-=o,i+=o}while(r!==0);h.forceMergeRuns()}j.exports=n},Bd2K:function(j,R,l){(function(x){x(l("VrN/"),l("osHv"))})(function(x){x.defineOption("autoCloseTags",!1,function(a,n,s){if(s!=x.Init&&s&&a.removeKeyMap("autoCloseTags"),!n)return;var c={name:"autoCloseTags"};(typeof n!="object"||n.whenClosing!==!1)&&(c["'/'"]=function(i){return e(i)}),(typeof n!="object"||n.whenOpening!==!1)&&(c["'>'"]=function(i){return f(i)}),a.addKeyMap(c)});var b=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],A=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function f(a){if(a.getOption("disableInput"))return x.Pass;for(var n=a.listSelections(),s=[],c=a.getOption("autoCloseTags"),i=0;iu.ch&&(g=g.slice(0,g.length-r.end+u.ch));var S=g.toLowerCase();if(!g||r.type=="string"&&(r.end!=u.ch||!/[\"\']/.test(r.string.charAt(r.string.length-1))||r.string.length==1)||r.type=="tag"&&p.close||r.string.indexOf("/")==u.ch-r.start-1||y&&m(y,S)>-1||d(a,o.mode.xmlCurrentContext&&o.mode.xmlCurrentContext(h)||[],g,u,!0))return x.Pass;var _=typeof c=="object"&&c.emptyTags;if(_&&m(_,g)>-1){s[i]={text:"/>",newPos:x.Pos(u.line,u.ch+2)};continue}var I=w&&m(w,S)>-1;s[i]={indent:I,text:">"+(I?` + \**********************/m.r(d);var a=m("./src/worker.js"),n=m("./src/plugin/jspdf-plugin.js"),s=m("./src/plugin/pagebreaks.js"),c=m("./src/plugin/hyperlinks.js"),i=function u(r,o){var h=new u.Worker(o);return r?h.from(r).save():h};i.Worker=a.default,d.default=i}(),d=d.default,d}()})}).call(this,l("yLpj"),l("Q2Ig"))},"1q3G":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=x;function x(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},"1tlw":function(j,R,l){var x=l("MBQ8"),b=x.extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(f){return f.stack=null,b.superApply(this,"getInitialData",arguments)}}),A=b;j.exports=A},"1u/T":function(j,R,l){var x=l("ProS"),b={type:"selectDataRange",event:"dataRangeSelected",update:"update"};x.registerAction(b,function(A,f){f.eachComponent({mainType:"visualMap",query:A},function(t){t.setSelected(A.selected)})})},"1vzs":function(j,R,l){"use strict";l.d(R,"a",function(){return r});var x=l("q1tI"),b=l.n(x),A=l("HQEm"),f=l.n(A),t=l("gZBC"),e=l.n(t),m=l("NAnI"),d=l.n(m),a=l("V/uB"),n=l.n(a),s=l("kbBi"),c=l.n(s),i=l("w6Tc"),u=l.n(i);function r(o){var h=o.suffixIcon,p=o.clearIcon,g=o.menuItemSelectedIcon,v=o.removeIcon,y=o.loading,w=o.multiple,S=o.prefixCls,_=p;p||(_=x.createElement(c.a,null));var I=null;if(h!==void 0)I=h;else if(y)I=x.createElement(e.a,{spin:!0});else{var C="".concat(S,"-suffix");I=function(F){var H=F.open,B=F.showSearch;return H&&B?x.createElement(u.a,{className:C}):x.createElement(f.a,{className:C})}}var E=null;g!==void 0?E=g:w?E=x.createElement(d.a,null):E=null;var O=null;return v!==void 0?O=v:O=x.createElement(n.a,null),{clearIcon:_,suffixIcon:I,itemIcon:E,removeIcon:O}}},"1xaR":function(j,R,l){var x=l("ProS"),b=l("bYtY");l("qgGe"),l("NA0q"),l("RPvy");var A=l("mOdp"),f=l("y3NT"),t=l("0/Rx");x.registerVisual(b.curry(A,"sunburst")),x.registerLayout(b.curry(f,"sunburst")),x.registerProcessor(b.curry(t,"sunburst"))},"24YM":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.SensorTabIndex=R.SensorClassName=R.SizeSensorId=void 0;var x="size-sensor-id";R.SizeSensorId=x;var b="size-sensor-object";R.SensorClassName=b;var A="-1";R.SensorTabIndex=A},"2548":function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("6GrX"),f=l("IUWy"),t=l("IwbS"),e=l("Qxkt"),m=l("gPAo"),d=l("eRkO"),a=x.extendComponentView({type:"toolbox",render:function(s,c,i,u){var r=this.group;if(r.removeAll(),!s.get("show"))return;var o=+s.get("itemSize"),h=s.get("feature")||{},p=this._features||(this._features={}),g=[];b.each(h,function(w,S){g.push(S)}),new m(this._featureNames||[],g).add(v).update(v).remove(b.curry(v,null)).execute(),this._featureNames=g;function v(w,S){var _=g[w],I=g[S],C=h[_],E=new e(C,s,s.ecModel),O;if(u&&u.newTitle!=null&&u.featureName===_&&(C.title=u.newTitle),_&&!I){if(n(_))O={model:E,onclick:E.option.onclick,featureName:_};else{var M=f.get(_);if(!M)return;O=new M(E,c,i)}p[_]=O}else{if(O=p[I],!O)return;O.model=E,O.ecModel=c,O.api=i}if(!_&&I){O.dispose&&O.dispose(c,i);return}if(!E.get("show")||O.unusable){O.remove&&O.remove(c,i);return}y(E,O,_),E.setIconStatus=function(F,H){var B=this.option,X=this.iconPaths;B.iconStatus=B.iconStatus||{},B.iconStatus[F]=H,X[F]&&X[F].trigger(H)},O.render&&O.render(E,c,i,u)}function y(w,S,_){var I=w.getModel("iconStyle"),C=w.getModel("emphasis.iconStyle"),E=S.getIcons?S.getIcons():w.get("icon"),O=w.get("title")||{};if(typeof E=="string"){var M=E,F=O;E={},O={},E[_]=M,O[_]=F}var H=w.iconPaths={};b.each(E,function(B,X){var J=t.createIcon(B,{},{x:-o/2,y:-o/2,width:o,height:o});J.setStyle(I.getItemStyle()),J.hoverStyle=C.getItemStyle(),J.setStyle({text:O[X],textAlign:C.get("textAlign"),textBorderRadius:C.get("textBorderRadius"),textPadding:C.get("textPadding"),textFill:null});var k=s.getModel("tooltip");k&&k.get("show")&&J.attr("tooltip",b.extend({content:O[X],formatter:k.get("formatter",!0)||function(){return O[X]},formatterParams:{componentType:"toolbox",name:X,title:O[X],$vars:["name","title"]},position:k.get("position",!0)||"bottom"},k.option)),t.setHoverStyle(J),s.get("showTitle")&&(J.__title=O[X],J.on("mouseover",function(){var K=C.getItemStyle(),z=s.get("orient")==="vertical"?s.get("right")==null?"right":"left":s.get("bottom")==null?"bottom":"top";J.setStyle({textFill:C.get("textFill")||K.fill||K.stroke||"#000",textBackgroundColor:C.get("textBackgroundColor"),textPosition:C.get("textPosition")||z})}).on("mouseout",function(){J.setStyle({textFill:null,textBackgroundColor:null})})),J.trigger(w.get("iconStatus."+X)||"normal"),r.add(J),J.on("click",b.bind(S.onclick,S,c,i,X)),H[X]=J})}d.layout(r,s,i),r.add(d.makeBackground(r.getBoundingRect(),s)),r.eachChild(function(w){var S=w.__title,_=w.hoverStyle;if(_&&S){var I=A.getBoundingRect(S,A.makeFont(_)),C=w.position[0]+r.position[0],E=w.position[1]+r.position[1]+o,O=!1;E+I.height>i.getHeight()&&(_.textPosition="top",O=!0);var M=O?-5-I.height:o+8;C+I.width/2>i.getWidth()?(_.textPosition=["100%",M],_.textAlign="right"):C-I.width/2<0&&(_.textPosition=[0,M],_.textAlign="left")}})},updateView:function(s,c,i,u){b.each(this._features,function(r){r.updateView&&r.updateView(r.model,c,i,u)})},remove:function(s,c){b.each(this._features,function(i){i.remove&&i.remove(s,c)}),this.group.removeAll()},dispose:function(s,c){b.each(this._features,function(i){i.dispose&&i.dispose(s,c)})}});function n(s){return s.indexOf("my")===0}j.exports=a},"2B6p":function(j,R){function l(x,b,A){var f=x.getZoom(),t=x.getCenter(),e=b.zoom,m=x.dataToPoint(t);if(b.dx!=null&&b.dy!=null){m[0]-=b.dx,m[1]-=b.dy;var t=x.pointToData(m);x.setCenter(t)}if(e!=null){if(A){var d=A.min||0,a=A.max||Infinity;e=Math.max(Math.min(f*e,a),d)/f}x.scale[0]*=e,x.scale[1]*=e;var n=x.position,s=(b.originX-n[0])*(e-1),c=(b.originY-n[1])*(e-1);n[0]-=s,n[1]-=c,x.updateTransform();var t=x.pointToData(m);x.setCenter(t),x.setZoom(e*f)}return{center:x.getCenter(),zoom:x.getZoom()}}R.updateCenterAndZoom=l},"2BaD":function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="CloseCircleOutlined";var m=R.a=b.forwardRef(e)},"2DNl":function(j,R,l){var x=l("IMiH"),b=l("loD1"),A=l("59Ip"),f=l("aKvl"),t=l("n1HI"),e=l("hX1E"),m=e.normalizeRadian,d=l("Sj9i"),a=l("hyiK"),n=x.CMD,s=Math.PI*2,c=1e-4;function i(S,_){return Math.abs(S-_)_&&B>C&&B>O&&B>F||B<_&&B1&&o(),K=d.cubicAt(_,C,O,F,r[0]),k>1&&(z=d.cubicAt(_,C,O,F,r[1]))),k===2?P_&&F>C&&F>O||F<_&&F=0&&B<=1){for(var X=0,J=d.quadraticAt(_,C,O,B),k=0;kI||F<-I)return 0;var H=Math.sqrt(I*I-F*F);u[0]=-H,u[1]=H;var B=Math.abs(C-E);if(B<1e-4)return 0;if(B%s<1e-4){C=0,E=s;var X=O?1:-1;return M>=u[0]+S&&M<=u[1]+S?X:0}if(O){var H=C;C=m(E),E=m(H)}else C=m(C),E=m(E);C>E&&(E+=s);for(var J=0,k=0;k<2;k++){var K=u[k];if(K+S>M){var z=Math.atan2(F,K),X=O?1:-1;z<0&&(z=s+z),(z>=C&&z<=E||z+s>=C&&z+s<=E)&&(z>Math.PI/2&&z1&&(I||(O+=a(M,F,H,B,C,E))),X===1&&(M=S[X],F=S[X+1],H=M,B=F);switch(J){case n.M:H=S[X++],B=S[X++],M=H,F=B;break;case n.L:if(I){if(b.containStroke(M,F,S[X],S[X+1],_,C,E))return!0}else O+=a(M,F,S[X],S[X+1],C,E)||0;M=S[X++],F=S[X++];break;case n.C:if(I){if(A.containStroke(M,F,S[X++],S[X++],S[X++],S[X++],S[X],S[X+1],_,C,E))return!0}else O+=h(M,F,S[X++],S[X++],S[X++],S[X++],S[X],S[X+1],C,E)||0;M=S[X++],F=S[X++];break;case n.Q:if(I){if(f.containStroke(M,F,S[X++],S[X++],S[X],S[X+1],_,C,E))return!0}else O+=p(M,F,S[X++],S[X++],S[X],S[X+1],C,E)||0;M=S[X++],F=S[X++];break;case n.A:var k=S[X++],K=S[X++],z=S[X++],W=S[X++],P=S[X++],G=S[X++];X+=1;var V=1-S[X++],q=Math.cos(P)*z+k,re=Math.sin(P)*W+K;X>1?O+=a(M,F,q,re,C,E):(H=q,B=re);var ce=(C-k)*W/z+k;if(I){if(t.containStroke(k,K,W,P,P+G,V,_,ce,E))return!0}else O+=g(k,K,W,P,P+G,V,ce,E);M=Math.cos(P+G)*z+k,F=Math.sin(P+G)*W+K;break;case n.R:H=M=S[X++],B=F=S[X++];var ie=S[X++],fe=S[X++],q=H+ie,re=B+fe;if(I){if(b.containStroke(H,B,q,B,_,C,E)||b.containStroke(q,B,q,re,_,C,E)||b.containStroke(q,re,H,re,_,C,E)||b.containStroke(H,re,H,B,_,C,E))return!0}else O+=a(q,B,q,re,C,E),O+=a(H,re,H,B,C,E);break;case n.Z:if(I){if(b.containStroke(M,F,H,B,_,C,E))return!0}else O+=a(M,F,H,B,C,E);M=H,F=B;break}}return!I&&!i(F,B)&&(O+=a(M,F,H,B,C,E)||0),O!==0}function y(S,_,I){return v(S,0,!1,_,I)}function w(S,_,I,C){return v(S,_,!0,I,C)}R.contain=y,R.containStroke=w},"2KFj":function(j,R,l){"use strict";l.d(R,"a",function(){return A});var x=l("XPR9");function b(f,t){for(;!Object.prototype.hasOwnProperty.call(f,t)&&!(f=Object(x.a)(f),f===null););return f}function A(f,t,e){return typeof Reflect!="undefined"&&Reflect.get?A=Reflect.get:A=function(d,a,n){var s=b(d,a);if(!s)return;var c=Object.getOwnPropertyDescriptor(s,a);return c.get?c.get.call(n):c.value},A(f,t,e||f)}},"2Qr1":function(j,R,l){"use strict";l.d(R,"d",function(){return a}),l.d(R,"c",function(){return s}),l.d(R,"e",function(){return c}),l.d(R,"b",function(){return r}),l.d(R,"f",function(){return o}),l.d(R,"g",function(){return h}),l.d(R,"a",function(){return p});var x=l("rePB"),b=l("KQm4"),A=l("T5bk"),f=l("U8pU"),t=l("VTBJ"),e=l("Kwbf"),m=l("WKfj");function d(g,v){var y=g.key,w;return"value"in g&&(w=g.value),y!=null?y:w!==void 0?w:"rc-index-key-".concat(v)}function a(g){var v=[];function y(w,S){w.forEach(function(_){S||!("options"in _)?v.push({key:d(_,v.length),groupOption:S,data:_}):(v.push({key:d(_,v.length),group:!0,data:_}),y(_.options,!0))})}return y(g,!1),v}function n(g){var v=Object(t.a)({},g);return"props"in v||Object.defineProperty(v,"props",{get:function(){return Object(e.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),v}}),v}function s(g,v){var y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=y.prevValueOptions,S=w===void 0?[]:w,_=new Map;return v.forEach(function(I){if(!I.group){var C=I.data;_.set(C.value,C)}}),g.map(function(I){var C=_.get(I);return C||(C=Object(t.a)({},S.find(function(E){return E._INTERNAL_OPTION_VALUE_===I}))),n(C)})}var c=function(v,y){var w=y.options,S=y.prevValue,_=y.labelInValue,I=y.optionLabelProp,C=s([v],w)[0],E={value:v},O,M=Object(m.d)(S);return _&&(O=M.find(function(F){return Object(f.a)(F)==="object"&&"value"in F?F.value===v:F.key===v})),O&&Object(f.a)(O)==="object"&&"label"in O?(E.label=O.label,C&&typeof O.label=="string"&&typeof C[I]=="string"&&O.label.trim()!==C[I].trim()&&Object(e.a)(!1,"`label` of `value` is not same as `label` in Select options.")):C&&I in C?E.label=C[I]:E.label=v,E.key=E.value,E};function i(g){return Object(m.d)(g).join("")}function u(g){return function(v,y){var w=v.toLowerCase();if("options"in y)return i(y.label).toLowerCase().includes(w);var S=y[g],_=i(S).toLowerCase();return _.includes(w)}}function r(g,v,y){var w=y.optionFilterProp,S=y.filterOption,_=[],I;return S===!1?v:(typeof S=="function"?I=S:I=u(w),v.forEach(function(C){if("options"in C){var E=I(g,C);if(E)_.push(C);else{var O=C.options.filter(function(M){return I(g,M)});O.length&&_.push(Object(t.a)(Object(t.a)({},C),{},{options:O}))}return}I(g,n(C))&&_.push(C)}),_)}function o(g,v){if(!v||!v.length)return null;var y=!1;function w(_,I){var C=Object(A.a)(I),E=C[0],O=C.slice(1);if(!E)return[_];var M=_.split(E);return y=y||M.length>1,M.reduce(function(F,H){return[].concat(Object(b.a)(F),Object(b.a)(w(H,O)))},[]).filter(function(F){return F})}var S=w(g,v);return y?S:null}function h(g,v){var y=s([g],v)[0];return y.disabled}function p(g,v,y,w){var S=Object(m.d)(v).slice().sort(),_=Object(b.a)(g),I=new Set;return g.forEach(function(C){C.options?C.options.forEach(function(E){I.add(E.value)}):I.add(C.value)}),S.forEach(function(C){var E=w?C.value:C;if(!I.has(E)){var O;_.push(w?(O={},Object(x.a)(O,y,C.label),Object(x.a)(O,"value",E),O):{value:E})}}),_}},"2dDv":function(j,R,l){var x=l("bYtY"),b=l("Fofx"),A=l("+TT/"),f=l("aX7z"),t=l("D1WM"),e=l("IwbS"),m=l("OELB"),d=l("72pK"),a=x.each,n=Math.min,s=Math.max,c=Math.floor,i=Math.ceil,u=m.round,r=Math.PI;function o(y,w,S){this._axesMap=x.createHashMap(),this._axesLayout={},this.dimensions=y.dimensions,this._rect,this._model=y,this._init(y,w,S)}o.prototype={type:"parallel",constructor:o,_init:function(y,w,S){var _=y.dimensions,I=y.parallelAxisIndex;a(_,function(C,E){var O=I[E],M=w.getComponent("parallelAxis",O),F=this._axesMap.set(C,new t(C,f.createScaleByModel(M),[0,0],M.get("type"),O)),H=F.type==="category";F.onBand=H&&M.get("boundaryGap"),F.inverse=M.get("inverse"),M.axis=F,F.model=M,F.coordinateSystem=M.coordinateSystem=this},this)},update:function(y,w){this._updateAxesFromSeries(this._model,y)},containPoint:function(y){var w=this._makeLayoutInfo(),S=w.axisBase,_=w.layoutBase,I=w.pixelDimIndex,C=y[1-I],E=y[I];return C>=S&&C<=S+w.axisLength&&E>=_&&E<=_+w.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(y,w){w.eachSeries(function(S){if(!y.contains(S,w))return;var _=S.getData();a(this.dimensions,function(I){var C=this._axesMap.get(I);C.scale.unionExtentFromData(_,_.mapDimension(I)),f.niceScaleExtent(C.scale,C.model)},this)},this)},resize:function(y,w){this._rect=A.getLayoutRect(y.getBoxLayoutParams(),{width:w.getWidth(),height:w.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var y=this._model,w=this._rect,S=["x","y"],_=["width","height"],I=y.get("layout"),C=I==="horizontal"?0:1,E=w[_[C]],O=[0,E],M=this.dimensions.length,F=h(y.get("axisExpandWidth"),O),H=h(y.get("axisExpandCount")||0,[0,M]),B=y.get("axisExpandable")&&M>3&&M>H&&H>1&&F>0&&E>0,X=y.get("axisExpandWindow"),J;if(X)J=h(X[1]-X[0],O),X[1]=X[0]+J;else{J=h(F*(H-1),O);var k=y.get("axisExpandCenter")||c(M/2);X=[F*k-J/2],X[1]=X[0]+J}var K=(E-J)/(M-H);K<3&&(K=0);var z=[c(u(X[0]/F,1))+1,i(u(X[1]/F,1))-1],W=K/F*X[0];return{layout:I,pixelDimIndex:C,layoutBase:w[S[C]],layoutLength:E,axisBase:w[S[1-C]],axisLength:w[_[1-C]],axisExpandable:B,axisExpandWidth:F,axisCollapseWidth:K,axisExpandWindow:X,axisCount:M,winInnerIndices:z,axisExpandWindow0Pos:W}},_layoutAxes:function(){var y=this._rect,w=this._axesMap,S=this.dimensions,_=this._makeLayoutInfo(),I=_.layout;w.each(function(C){var E=[0,_.axisLength],O=C.inverse?1:0;C.setExtent(E[O],E[1-O])}),a(S,function(C,E){var O=(_.axisExpandable?g:p)(E,_),M={horizontal:{x:O.position,y:_.axisLength},vertical:{x:0,y:O.position}},F={horizontal:r/2,vertical:0},H=[M[I].x+y.x,M[I].y+y.y],B=F[I],X=b.create();b.rotate(X,X,B),b.translate(X,X,H),this._axesLayout[C]={position:H,rotation:B,transform:X,axisNameAvailableWidth:O.axisNameAvailableWidth,axisLabelShow:O.axisLabelShow,nameTruncateMaxWidth:O.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(y){return this._axesMap.get(y)},dataToPoint:function(y,w){return this.axisCoordToPoint(this._axesMap.get(w).dataToCoord(y),w)},eachActiveState:function(y,w,S,_){S==null&&(S=0),_==null&&(_=y.count());var I=this._axesMap,C=this.dimensions,E=[],O=[];x.each(C,function(K){E.push(y.mapDimension(K)),O.push(I.get(K).model)});for(var M=this.hasAxisBrushed(),F=S;F<_;F++){var H;if(!M)H="normal";else{H="active";for(var B=y.getValues(E,F),X=0,J=C.length;XI*(1-H[0])?(M="jump",O=E-I*(1-H[2])):(O=E-I*H[1])>=0&&(O=E-I*(1-H[1]))<=0&&(O=0),O*=w.axisExpandWidth/F,O?d(O,_,C,"all"):M="none";else{var I=_[1]-_[0],X=C[1]*E/I;_=[s(0,X-I/2)],_[1]=n(C[1],_[0]+I),_[0]=_[1]-I}return{axisExpandWindow:_,behavior:M}}};function h(y,w){return n(s(y,w[0]),w[1])}function p(y,w){var S=w.layoutLength/(w.axisCount-1);return{position:S*y,axisNameAvailableWidth:S,axisLabelShow:!0}}function g(y,w){var S=w.layoutLength,_=w.axisExpandWidth,I=w.axisCount,C=w.axisCollapseWidth,E=w.winInnerIndices,O,M=C,F=!1,H;return y1&&arguments[1]!==void 0?arguments[1]:1,Gt=de.length,yr=0;yr1&&arguments[1]!==void 0?arguments[1]:!1;return Object(z.a)(Z).map(function(te,we){if(!i.isValidElement(te)||!te.type)return null;var pe=te.type.isSelectOptGroup,De=te.key,Ne=te.props,me=Ne.children,be=Object(w.a)(Ne,["children"]);return Y||!pe?W(te):Object(K.a)(Object(K.a)({key:"__RC_SELECT_GRP__".concat(De===null?we:De,"__"),label:De},be),{},{options:P(me)})}).filter(function(te){return te})}var G=l("2Qr1"),V=l("qNPg"),q=l("U8pU"),re=l("Kwbf"),ce=l("WKfj");function ie(Z){var Y=Z.mode,te=Z.options,we=Z.children,pe=Z.backfill,De=Z.allowClear,Ne=Z.placeholder,me=Z.getInputElement,be=Z.showSearch,Re=Z.onSearch,it=Z.defaultOpen,yt=Z.autoFocus,pt=Z.labelInValue,Pe=Z.value,Nt=Z.inputValue,ut=Z.optionLabelProp,Ft=Y==="multiple"||Y==="tags",Ut=be!==void 0?be:Ft||Y==="combobox",Kt=te||P(we);if(Object(re.a)(Y!=="tags"||Kt.every(function(Ee){return!Ee.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Y==="tags"||Y==="combobox"){var $t=Kt.some(function(Ee){return Ee.options?Ee.options.some(function(de){return typeof("value"in de?de.value:de.key)=="number"}):typeof("value"in Ee?Ee.value:Ee.key)=="number"});Object(re.a)(!$t,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(re.a)(Y!=="combobox"||!ut,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(re.a)(Y==="combobox"||!pe,"`backfill` only works with `combobox` mode."),Object(re.a)(Y==="combobox"||!me,"`getInputElement` only work with `combobox` mode."),Object(re.b)(Y!=="combobox"||!me||!De||!Ne,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Re&&!Ut&&Y!=="combobox"&&Y!=="tags"&&Object(re.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(re.b)(!it||yt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Pe!=null){var or=Object(ce.d)(Pe);Object(re.a)(!pt||or.every(function(Ee){return Object(q.a)(Ee)==="object"&&("key"in Ee||"value"in Ee)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(re.a)(!Ft||Array.isArray(Pe),"`value` should be array when `mode` is `multiple` or `tags`")}if(we){var ht=null;Object(z.a)(we).some(function(Ee){if(!i.isValidElement(Ee)||!Ee.type)return!1;var de=Ee.type;if(de.isSelectOption)return!1;if(de.isSelectOptGroup){var qe=Object(z.a)(Ee.props.children).every(function(rt){return!i.isValidElement(rt)||!Ee.type||rt.type.isSelectOption?!0:(ht=rt.type,!1)});return!qe}return ht=de,!0}),ht&&Object(re.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(ht.displayName||ht.name||ht,"`.")),Object(re.a)(Nt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var fe=ie,xe=Object(V.a)({prefixCls:"rc-select",components:{optionList:H},convertChildrenToData:P,flattenOptions:G.d,getLabeledValue:G.e,filterOptions:G.b,isValueDisabled:G.g,findValueOption:G.c,warningProps:fe,fillOptionsWithMissingValue:G.a}),Se=function(Z){Object(g.a)(te,Z);var Y=Object(v.a)(te);function te(){var we;return Object(h.a)(this,te),we=Y.apply(this,arguments),we.selectRef=i.createRef(),we.focus=function(){we.selectRef.current.focus()},we.blur=function(){we.selectRef.current.blur()},we}return Object(p.a)(te,[{key:"render",value:function(){return i.createElement(xe,Object.assign({ref:this.selectRef},this.props))}}]),te}(i.Component);Se.Option=X,Se.OptGroup=k;var ke=Se,ge=ke,Be=l("H84U"),ee=l("1vzs"),ue=l("3Nzz"),Ge=function(Z){n()(te,Z);var Y=c()(te);function te(){var we;return e()(this,te),we=Y.apply(this,arguments),we.selectRef=i.createRef(),we.focus=function(){we.selectRef.current&&we.selectRef.current.focus()},we.blur=function(){we.selectRef.current&&we.selectRef.current.blur()},we.getMode=function(){var pe=we.props.mode;return pe==="combobox"?void 0:pe===te.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":pe},we.renderSelect=function(pe){var De=pe.getPopupContainer,Ne=pe.getPrefixCls,me=pe.renderEmpty,be=pe.direction,Re=pe.virtual,it=pe.dropdownMatchSelectWidth,yt=we.props,pt=yt.prefixCls,Pe=yt.notFoundContent,Nt=yt.className,ut=yt.size,Ft=yt.listHeight,Ut=Ft===void 0?256:Ft,Kt=yt.listItemHeight,$t=Kt===void 0?24:Kt,or=yt.getPopupContainer,ht=yt.dropdownClassName,Ee=yt.bordered,de=Ne("select",pt),qe=we.getMode(),rt=qe==="multiple"||qe==="tags",ve;Pe!==void 0?ve=Pe:qe==="combobox"?ve=null:ve=me("Select");var bt=Object(ee.a)(f()(f()({},we.props),{multiple:rt,prefixCls:de})),jt=bt.suffixIcon,He=bt.itemIcon,kt=bt.removeIcon,Ar=bt.clearIcon,at=Object(u.default)(we.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),Ht=o()(ht,b()({},"".concat(de,"-dropdown-").concat(be),be==="rtl"));return i.createElement(ue.b.Consumer,null,function(Wt){var ot,et=ut||Wt,Ze=o()(Nt,(ot={},b()(ot,"".concat(de,"-lg"),et==="large"),b()(ot,"".concat(de,"-sm"),et==="small"),b()(ot,"".concat(de,"-rtl"),be==="rtl"),b()(ot,"".concat(de,"-borderless"),!Ee),ot));return i.createElement(ge,f()({ref:we.selectRef,virtual:Re,dropdownMatchSelectWidth:it},at,{listHeight:Ut,listItemHeight:$t,mode:qe,prefixCls:de,direction:be,inputIcon:jt,menuItemSelectedIcon:He,removeIcon:kt,clearIcon:Ar,notFoundContent:ve,className:Ze,getPopupContainer:or||De,dropdownClassName:Ht}))})},we}return d()(te,[{key:"render",value:function(){return i.createElement(Be.a,null,this.renderSelect)}}]),te}(i.Component);Ge.Option=X,Ge.OptGroup=k,Ge.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",Ge.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var ae=R.a=Ge},"2fw6":function(j,R,l){var x=l("y+Vt"),b=x.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(f,t,e){e&&f.moveTo(t.cx+t.r,t.cy),f.arc(t.cx,t.cy,t.r,0,Math.PI*2,!0)}});j.exports=b},"2jpz":function(j,R,l){"use strict";l.d(R,"a",function(){return p});var x=l("cDf5"),b=l.n(x),A=l("q1tI"),f=l.n(A),t=l("TSYQ"),e=l.n(t),m=l("gZBC"),d=l.n(m),a=l("vk+C"),n=l.n(a),s=l("pG52"),c=l.n(s),i=l("Csr3"),u=l.n(i),r=l("e5VY"),o=l.n(r),h=l("0n0R");function p(g,v,y,w){var S=w.isLeaf,_=w.expanded,I=w.loading;if(I)return A.createElement(d.a,{className:"".concat(g,"-switcher-loading-icon")});var C;if(y&&b()(y)==="object"&&(C=y.showLeafIcon),S)return y?b()(y)==="object"&&!C?A.createElement("span",{className:"".concat(g,"-switcher-leaf-line")}):A.createElement(n.a,{className:"".concat(g,"-switcher-line-icon")}):null;var E="".concat(g,"-switcher-icon");return Object(h.b)(v)?Object(h.a)(v,{className:e()(v.props.className||"",E)}):v||(y?_?A.createElement(c.a,{className:"".concat(g,"-switcher-line-icon")}):A.createElement(u.a,{className:"".concat(g,"-switcher-line-icon")}):A.createElement(o.a,{className:E}))}},"2oIt":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};R.default=x},"2uGb":function(j,R,l){var x=l("ProS");l("ko1b"),l("s2lz"),l("RBEP");var b=l("kMLO"),A=l("nKiI");x.registerVisual(b),x.registerLayout(A)},"2w7y":function(j,R,l){var x=l("ProS");l("qMZE"),l("g0SD"),x.registerPreprocessor(function(b){b.markPoint=b.markPoint||{}})},"33Ds":function(j,R,l){var x=l("ProS"),b=l("b9oc"),A=l("Kagy"),f=l("IUWy"),t=A.toolbox.restore;function e(a){this.model=a}e.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.title};var m=e.prototype;m.onclick=function(a,n,s){b.clear(a),n.dispatchAction({type:"restore",from:this.uid})},f.register("restore",e),x.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(a,n){n.resetOption("recreate")});var d=e;j.exports=d},"34/K":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;function x(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var m=0;m>0&3)*255/3,y[w*4+1]=(p[g+w]>>2&3)*255/3,y[w*4+2]=(p[g+w]>>4&3)*255/3,y[w*4+4]=0;p=y,g=0}return c.blitImage(m,o,a,h,p,g),s.rQskipBytes(h*r),this._lines-=h,!(this._lines>0)}}]),t}();R.default=f},"3690":function(j,R,l){"use strict";function x(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(s){return typeof s}:x=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},x(a)}Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var b=f(l("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return A=function(){return a},a}function f(a){if(a&&a.__esModule)return a;if(a===null||x(a)!=="object"&&typeof a!="function")return{default:a};var n=A();if(n&&n.has(a))return n.get(a);var s={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in a)if(Object.prototype.hasOwnProperty.call(a,i)){var u=c?Object.getOwnPropertyDescriptor(a,i):null;u&&(u.get||u.set)?Object.defineProperty(s,i,u):s[i]=a[i]}return s.default=a,n&&n.set(a,s),s}function t(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}function e(a,n){for(var s=0;s0;){var p=1;if(r.rQwait("HEXTILE",p))return!1;var g=r.rQ,v=r.rQi,y=g[v];if(y>30)throw new Error("Illegal hextile subencoding (subencoding: "+y+")");var w=this._totalTiles-this._tiles,S=w%this._tilesX,_=Math.floor(w/this._tilesX),I=s+S*16,C=c+_*16,E=Math.min(16,s+i-I),O=Math.min(16,c+u-C);if(y&1)p+=E*O*4;else if(y&2&&(p+=4),y&4&&(p+=4),y&8){if(p++,r.rQwait("HEXTILE",p))return!1;var M=g[v+p-1];y&16?p+=M*(4+2):p+=M*2}if(r.rQwait("HEXTILE",p))return!1;if(v++,y===0)this._lastsubencoding&1?b.Debug(" Ignoring blank after RAW"):o.fillRect(I,C,E,O,this._background);else if(y&1)o.blitImage(I,C,E,O,g,v),v+=p-1;else{if(y&2&&(this._background=[g[v],g[v+1],g[v+2],g[v+3]],v+=4),y&4&&(this._foreground=[g[v],g[v+1],g[v+2],g[v+3]],v+=4),o.startTile(I,C,E,O,this._background),y&8){var F=g[v];v++;for(var H=0;H>4,k=X&15,K=g[v];v++;var z=(K>>4)+1,W=(K&15)+1;o.subTile(J,k,z,W,B)}}o.finishTile()}r.rQi=v,this._lastsubencoding=y,this._tiles--}return!0}}]),a}();R.default=d},"3C/r":function(j,R){var l=function(A,f){this.image=A,this.repeat=f,this.type="pattern"};l.prototype.getCanvasPattern=function(b){return b.createPattern(this.image,this.repeat||"repeat")};var x=l;j.exports=x},"3CBa":function(j,R,l){var x=l("hydK"),b=x.createElement,A=l("bYtY"),f=l("SUKs"),t=l("y+Vt"),e=l("Dagg"),m=l("dqUG"),d=l("DBLp"),a=l("sW+o"),n=l("n6Mw"),s=l("vKoX"),c=l("P47w"),i=c.path,u=c.image,r=c.text;function o(E){return parseInt(E,10)}function h(E){return E instanceof t?i:E instanceof e?u:E instanceof m?r:i}function p(E,O){return O&&E&&O.parentNode!==E}function g(E,O,M){if(p(E,O)&&M){var F=M.nextSibling;F?E.insertBefore(O,F):E.appendChild(O)}}function v(E,O){if(p(E,O)){var M=E.firstChild;M?E.insertBefore(O,M):E.appendChild(O)}}function y(E,O){O&&E&&O.parentNode===E&&E.removeChild(O)}function w(E){return E.__textSvgEl}function S(E){return E.__svgEl}var _=function(O,M,F,H){this.root=O,this.storage=M,this._opts=F=A.extend({},F||{});var B=b("svg");B.setAttribute("xmlns","http://www.w3.org/2000/svg"),B.setAttribute("version","1.1"),B.setAttribute("baseProfile","full"),B.style.cssText="user-select:none;position:absolute;left:0;top:0;";var X=b("g");B.appendChild(X);var J=b("g");B.appendChild(J),this.gradientManager=new a(H,J),this.clipPathManager=new n(H,J),this.shadowManager=new s(H,J);var k=document.createElement("div");k.style.cssText="overflow:hidden;position:relative",this._svgDom=B,this._svgRoot=J,this._backgroundRoot=X,this._viewport=k,O.appendChild(k),k.appendChild(B),this.resize(F.width,F.height),this._visibleList=[]};_.prototype={constructor:_,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var O=this.getViewportRoot();if(O)return{offsetLeft:O.offsetLeft||0,offsetTop:O.offsetTop||0}},refresh:function(){var O=this.storage.getDisplayList(!0);this._paintList(O)},setBackgroundColor:function(O){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var M=b("rect");M.setAttribute("width",this.getWidth()),M.setAttribute("height",this.getHeight()),M.setAttribute("x",0),M.setAttribute("y",0),M.setAttribute("id",0),M.style.fill=O,this._backgroundRoot.appendChild(M),this._backgroundNode=M},_paintList:function(O){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var M=this._svgRoot,F=this._visibleList,H=O.length,B=[],X;for(X=0;X=0;--J)if(X[J]===B)return!0;return!1}),F}else return null;else return F[0]},resize:function(O,M){var F=this._viewport;F.style.display="none";var H=this._opts;if(O!=null&&(H.width=O),M!=null&&(H.height=M),O=this._getSize(0),M=this._getSize(1),F.style.display="",this._width!==O||this._height!==M){this._width=O,this._height=M;var B=F.style;B.width=O+"px",B.height=M+"px";var X=this._svgDom;X.setAttribute("width",O),X.setAttribute("height",M)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",O),this._backgroundNode.setAttribute("height",M))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(O){var M=this._opts,F=["width","height"][O],H=["clientWidth","clientHeight"][O],B=["paddingLeft","paddingTop"][O],X=["paddingRight","paddingBottom"][O];if(M[F]!=null&&M[F]!=="auto")return parseFloat(M[F]);var J=this.root,k=document.defaultView.getComputedStyle(J);return(J[H]||o(k[F])||o(J.style[F]))-(o(k[B])||0)-(o(k[X])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var O=encodeURIComponent(this._svgDom.outerHTML.replace(/> +\r<`));return"data:image/svg+xml;charset=UTF-8,"+O}};function I(E){return function(){f('In SVG mode painter not support method "'+E+'"')}}A.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(E){_.prototype[E]=I(E)});var C=_;j.exports=C},"3LNs":function(j,R,l){var x=l("bYtY"),b=l("Yl7c"),A=l("IwbS"),f=l("zTMp"),t=l("YH21"),e=l("iLNv"),m=l("4NO4"),d=m.makeInner,a=d(),n=x.clone,s=x.bind;function c(){}c.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(g,v,y,w){var S=v.get("value"),_=v.get("status");if(this._axisModel=g,this._axisPointerModel=v,this._api=y,!w&&this._lastValue===S&&this._lastStatus===_)return;this._lastValue=S,this._lastStatus=_;var I=this._group,C=this._handle;if(!_||_==="hide"){I&&I.hide(),C&&C.hide();return}I&&I.show(),C&&C.show();var E={};this.makeElOption(E,S,g,v,y);var O=E.graphicKey;O!==this._lastGraphicKey&&this.clear(y),this._lastGraphicKey=O;var M=this._moveAnimation=this.determineAnimation(g,v);if(!I)I=this._group=new A.Group,this.createPointerEl(I,E,g,v),this.createLabelEl(I,E,g,v),y.getZr().add(I);else{var F=x.curry(i,v,M);this.updatePointerEl(I,E,F,v),this.updateLabelEl(I,E,F,v)}h(I,v,!0),this._renderHandle(S)},remove:function(g){this.clear(g)},dispose:function(g){this.clear(g)},determineAnimation:function(g,v){var y=v.get("animation"),w=g.axis,S=w.type==="category",_=v.get("snap");if(!_&&!S)return!1;if(y==="auto"||y==null){var I=this.animationThreshold;if(S&&w.getBandWidth()>I)return!0;if(_){var C=f.getAxisInfo(g).seriesDataCount,E=w.getExtent();return Math.abs(E[0]-E[1])/C>I}return!1}return y===!0},makeElOption:function(g,v,y,w,S){},createPointerEl:function(g,v,y,w){var S=v.pointer;if(S){var _=a(g).pointerEl=new A[S.type](n(v.pointer));g.add(_)}},createLabelEl:function(g,v,y,w){if(v.label){var S=a(g).labelEl=new A.Rect(n(v.label));g.add(S),r(S,w)}},updatePointerEl:function(g,v,y){var w=a(g).pointerEl;w&&v.pointer&&(w.setStyle(v.pointer.style),y(w,{shape:v.pointer.shape}))},updateLabelEl:function(g,v,y,w){var S=a(g).labelEl;S&&(S.setStyle(v.label.style),y(S,{shape:v.label.shape,position:v.label.position}),r(S,w))},_renderHandle:function(g){if(this._dragging||!this.updateHandleTransform)return;var v=this._axisPointerModel,y=this._api.getZr(),w=this._handle,S=v.getModel("handle"),_=v.get("status");if(!S.get("show")||!_||_==="hide"){w&&y.remove(w),this._handle=null;return}var I;this._handle||(I=!0,w=this._handle=A.createIcon(S.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(O){t.stop(O.event)},onmousedown:s(this._onHandleDragMove,this,0,0),drift:s(this._onHandleDragMove,this),ondragend:s(this._onHandleDragEnd,this)}),y.add(w)),h(w,v,!1);var C=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];w.setStyle(S.getItemStyle(null,C));var E=S.get("size");x.isArray(E)||(E=[E,E]),w.attr("scale",[E[0]/2,E[1]/2]),e.createOrUpdate(this,"_doDispatchAxisPointer",S.get("throttle")||0,"fixRate"),this._moveHandleToValue(g,I)},_moveHandleToValue:function(g,v){i(this._axisPointerModel,!v&&this._moveAnimation,this._handle,o(this.getHandleTransform(g,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(g,v){var y=this._handle;if(!y)return;this._dragging=!0;var w=this.updateHandleTransform(o(y),[g,v],this._axisModel,this._axisPointerModel);this._payloadInfo=w,y.stopAnimation(),y.attr(o(w)),a(y).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var g=this._handle;if(!g)return;var v=this._payloadInfo,y=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:v.cursorPoint[0],y:v.cursorPoint[1],tooltipOption:v.tooltipOption,axesInfo:[{axisDim:y.axis.dim,axisIndex:y.componentIndex}]})},_onHandleDragEnd:function(g){this._dragging=!1;var v=this._handle;if(!v)return;var y=this._axisPointerModel.get("value");this._moveHandleToValue(y),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(g){this._lastValue=null,this._lastStatus=null;var v=g.getZr(),y=this._group,w=this._handle;v&&y&&(this._lastGraphicKey=null,y&&v.remove(y),w&&v.remove(w),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(g,v,y){return y=y||0,{x:g[y],y:g[1-y],width:v[y],height:v[1-y]}}},c.prototype.constructor=c;function i(g,v,y,w){u(a(y).lastProp,w)||(a(y).lastProp=w,v?A.updateProps(y,w,g):(y.stopAnimation(),y.attr(w)))}function u(g,v){if(x.isObject(g)&&x.isObject(v)){var y=!0;return x.each(v,function(w,S){y=y&&u(g[S],w)}),!!y}else return g===v}function r(g,v){g[v.get("label.show")?"show":"hide"]()}function o(g){return{position:g.position.slice(),rotation:g.rotation||0}}function h(g,v,y){var w=v.get("z"),S=v.get("zlevel");g&&g.traverse(function(_){_.type!=="group"&&(w!=null&&(_.z=w),S!=null&&(_.zlevel=S),_.silent=y)})}b.enableClassExtend(c);var p=c;j.exports=p},"3OrL":function(j,R,l){var x=l("bYtY"),b=l("6Ic6"),A=l("IwbS"),f=l("y+Vt"),t=["itemStyle"],e=["emphasis","itemStyle"],m=b.extend({type:"boxplot",render:function(i,u,r){var o=i.getData(),h=this.group,p=this._data;this._data||h.removeAll();var g=i.get("layout")==="horizontal"?1:0;o.diff(p).add(function(v){if(o.hasValue(v)){var y=o.getItemLayout(v),w=a(y,o,v,g,!0);o.setItemGraphicEl(v,w),h.add(w)}}).update(function(v,y){var w=p.getItemGraphicEl(y);if(!o.hasValue(v)){h.remove(w);return}var S=o.getItemLayout(v);w?n(S,w,o,v):w=a(S,o,v,g),h.add(w),o.setItemGraphicEl(v,w)}).remove(function(v){var y=p.getItemGraphicEl(v);y&&h.remove(y)}).execute(),this._data=o},remove:function(i){var u=this.group,r=this._data;this._data=null,r&&r.eachItemGraphicEl(function(o){o&&u.remove(o)})},dispose:x.noop}),d=f.extend({type:"boxplotBoxPath",shape:{},buildPath:function(i,u){var r=u.points,o=0;for(i.moveTo(r[o][0],r[o][1]),o++;o<4;o++)i.lineTo(r[o][0],r[o][1]);for(i.closePath();o=0||Ft.indexOf("Bottom")>=0?Kt.top="".concat(Ut.height-Nt.offset[1],"px"):(Ft.indexOf("Top")>=0||Ft.indexOf("bottom")>=0)&&(Kt.top="".concat(-Nt.offset[1],"px")),Ft.indexOf("left")>=0||Ft.indexOf("Right")>=0?Kt.left="".concat(Ut.width-Nt.offset[0],"px"):(Ft.indexOf("right")>=0||Ft.indexOf("Left")>=0)&&(Kt.left="".concat(-Nt.offset[0],"px")),Pe.style.transformOrigin="".concat(Kt.left," ").concat(Kt.top)},Be=function(){var Pe=K.title,Nt=K.overlay;return Pe===0?Pe:Nt||Pe||""},ee=K.prefixCls,ue=K.openClassName,Ge=K.getPopupContainer,ae=K.getTooltipContainer,Z=K.overlayClassName,Y=K.color,te=K.overlayInnerStyle,we=K.children,pe=V("tooltip",ee),De=ie;!("visible"in K)&&xe()&&(De=!1);var Ne=X(Object(O.b)(we)?we:m.createElement("span",null,we),pe),me=Ne.props,be=w()(me.className,b()({},ue||"".concat(pe,"-open"),!0)),Re=w()(Z,(W={},b()(W,"".concat(pe,"-rtl"),q==="rtl"),b()(W,"".concat(pe,"-").concat(Y),Y&&B.test(Y)),W)),it,yt;return Y&&!B.test(Y)&&(it=e()(e()({},te),{background:Y}),yt={background:Y}),m.createElement(v,e()({},K,{prefixCls:pe,overlayClassName:Re,getTooltipContainer:Ge||ae||G,ref:z,builtinPlacements:ke(),overlay:Be(),visible:De,onVisibleChange:Se,onPopupAlign:ge,overlayInnerStyle:it,arrowContent:m.createElement("span",{className:"".concat(pe,"-arrow-content"),style:yt})}),De?Object(O.a)(Ne,{className:be}):Ne)});J.displayName="Tooltip",J.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var k=R.a=J},"3TkU":function(j,R,l){l("aTJb"),l("OlYY"),l("fc+c"),l("QUw5"),l("Swgg"),l("LBfv"),l("noeP")},"3X6L":function(j,R,l){var x=l("bYtY"),b=l("7a+S"),A=l("OKJ2"),f=b.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});x.mixin(f,A);var t=f;j.exports=t},"3dVZ":function(j,R,l){},"3e3G":function(j,R,l){var x=l("bYtY"),b=l("QuXc"),A=function(e,m,d,a,n){this.x=e==null?.5:e,this.y=m==null?.5:m,this.r=d==null?.5:d,this.type="radial",this.global=n||!1,b.call(this,a)};A.prototype={constructor:A},x.inherits(A,b);var f=A;j.exports=f},"3gBT":function(j,R){var l=2311;function x(){return l++}j.exports=x},"3hzK":function(j,R){var l={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};j.exports=l},"3m61":function(j,R){function l(b){return b instanceof Array||(b=[b,b]),b}function x(b){b.eachSeriesByType("graph",function(A){var f=A.getGraph(),t=A.getEdgeData(),e=l(A.get("edgeSymbol")),m=l(A.get("edgeSymbolSize")),d="lineStyle.color".split("."),a="lineStyle.opacity".split(".");t.setVisual("fromSymbol",e&&e[0]),t.setVisual("toSymbol",e&&e[1]),t.setVisual("fromSymbolSize",m&&m[0]),t.setVisual("toSymbolSize",m&&m[1]),t.setVisual("color",A.get(d)),t.setVisual("opacity",A.get(a)),t.each(function(n){var s=t.getItemModel(n),c=f.getEdgeByIndex(n),i=l(s.getShallow("symbol",!0)),u=l(s.getShallow("symbolSize",!0)),r=s.get(d),o=s.get(a);switch(r){case"source":r=c.node1.getVisual("color");break;case"target":r=c.node2.getVisual("color");break}i[0]&&c.setVisual("fromSymbol",i[0]),i[1]&&c.setVisual("toSymbol",i[1]),u[0]&&c.setVisual("fromSymbolSize",u[0]),u[1]&&c.setVisual("toSymbolSize",u[1]),c.setVisual("color",r),c.setVisual("opacity",o)})})}j.exports=x},"3ouR":function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M354 671h58.9c4.7 0 9.2-2.1 12.3-5.7L512 561.8l86.8 103.5c3 3.6 7.5 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.4-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.7 0-9.2 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3-3.6-7.5-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"close-square",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="CloseSquareOutlined";var m=R.a=b.forwardRef(e)},"3zoK":function(j,R,l){var x=l("bYtY"),b=l("bLfw"),A=l("KCsZ"),f=l("nkfE"),t=l("OELB"),e=l("ICMv"),m=b.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return A([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(s){var c=this.activeIntervals=x.clone(s);if(c)for(var i=c.length-1;i>=0;i--)t.asc(c[i])},getActiveState:function(s){var c=this.activeIntervals;if(!c.length)return"normal";if(s==null||isNaN(s))return"inactive";if(c.length===1){var i=c[0];if(i[0]<=s&&s<=i[1])return"active"}else for(var u=0,r=c.length;u40&&(H=Math.max(1,Math.floor(F/40)));for(var B=M[0],X=_.dataToCoord(B+1)-_.dataToCoord(B),J=Math.abs(X*Math.cos(E)),k=Math.abs(X*Math.sin(E)),K=0,z=0;B<=M[1];B+=H){var W=0,P=0,G=b.getBoundingRect(C(B),I.font,"center","top");W=G.width*1.3,P=G.height*1.3,K=Math.max(K,W,7),z=Math.max(z,P,7)}var V=K/J,q=z/k;isNaN(V)&&(V=Infinity),isNaN(q)&&(q=Infinity);var re=Math.max(0,Math.floor(Math.min(V,q))),ce=a(_.model),ie=_.getExtent(),fe=ce.lastAutoInterval,xe=ce.lastTickCount;return fe!=null&&xe!=null&&Math.abs(fe-re)<=1&&Math.abs(xe-F)<=1&&fe>re&&ce.axisExtend0===ie[0]&&ce.axisExtend1===ie[1]?re=fe:(ce.lastTickCount=F,ce.lastAutoInterval=re,ce.axisExtend0=ie[0],ce.axisExtend1=ie[1]),re}function y(_){var I=_.getLabelModel();return{axisRotate:_.getRotate?_.getRotate():_.isHorizontal&&!_.isHorizontal()?90:0,labelRotate:I.get("rotate")||0,font:I.getFont()}}function w(_,I,C){var E=e(_),O=_.scale,M=O.getExtent(),F=_.getLabelModel(),H=[],B=Math.max((I||0)+1,1),X=M[0],J=O.count();X!==0&&B>1&&J/B>2&&(X=Math.round(Math.ceil(X/B)*B));var k=d(_),K=F.get("showMinLabel")||k,z=F.get("showMaxLabel")||k;K&&X!==M[0]&&P(M[0]);for(var W=X;W<=M[1];W+=B)P(W);z&&W-B!==M[1]&&P(M[1]);function P(G){H.push(C?G:{formattedLabel:E(G),rawLabel:O.getLabel(G),tickValue:G})}return H}function S(_,I,C){var E=_.scale,O=e(_),M=[];return x.each(E.getTicks(),function(F){var H=E.getLabel(F);I(F,H)&&M.push(C?F:{formattedLabel:O(F),rawLabel:H,tickValue:F})}),M}R.createAxisLabels=n,R.createAxisTicks=s,R.calculateCategoryInterval=v},"4NO4":function(j,R,l){var x=l("bYtY"),b=l("ItGF"),A=x.each,f=x.isObject,t=x.isArray,e="series\0";function m(C){return C instanceof Array?C:C==null?[]:[C]}function d(C,E,O){if(C){C[E]=C[E]||{},C.emphasis=C.emphasis||{},C.emphasis[E]=C.emphasis[E]||{};for(var M=0,F=O.length;M=O.length&&O.push({option:M})}),O}function i(C){var E=x.createHashMap();A(C,function(O,M){var F=O.exist;F&&E.set(F.id,O)}),A(C,function(O,M){var F=O.option;x.assert(!F||F.id==null||!E.get(F.id)||E.get(F.id)===O,"id duplicates: "+(F&&F.id)),F&&F.id!=null&&E.set(F.id,O),!O.keyInfo&&(O.keyInfo={})}),A(C,function(O,M){var F=O.exist,H=O.option,B=O.keyInfo;if(!f(H))return;if(B.name=H.name!=null?H.name+"":F?F.name:e+M,F)B.id=F.id;else if(H.id!=null)B.id=H.id+"";else{var X=0;do B.id="\0"+B.name+"\0"+X++;while(E.get(B.id))}E.set(B.id,O)})}function u(C){var E=C.name;return!!(E&&E.indexOf(e))}function r(C){return f(C)&&C.id&&(C.id+"").indexOf("\0_ec_\0")===0}function o(C,E){var O={},M={};return F(C||[],O),F(E||[],M,O),[H(O),H(M)];function F(B,X,J){for(var k=0,K=B.length;k=t[0]&&f<=t[1]},b.prototype.normalize=function(f){var t=this._extent;return t[1]===t[0]?.5:(f-t[0])/(t[1]-t[0])},b.prototype.scale=function(f){var t=this._extent;return f*(t[1]-t[0])+t[0]},b.prototype.unionExtent=function(f){var t=this._extent;f[0]t[1]&&(t[1]=f[1])},b.prototype.unionExtentFromData=function(f,t){this.unionExtent(f.getApproximateExtent(t))},b.prototype.getExtent=function(){return this._extent.slice()},b.prototype.setExtent=function(f,t){var e=this._extent;isNaN(f)||(e[0]=f),isNaN(t)||(e[1]=t)},b.prototype.isBlank=function(){return this._isBlank},b.prototype.setBlank=function(f){this._isBlank=f},b.prototype.getLabel=null,x.enableClassExtend(b),x.enableClassManagement(b,{registerWhenExtend:!0});var A=b;j.exports=A},"4fz+":function(j,R,l){var x=l("bYtY"),b=l("1bdT"),A=l("mFDi"),f=function(m){m=m||{},b.call(this,m);for(var d in m)m.hasOwnProperty(d)&&(this[d]=m[d]);this._children=[],this.__storage=null,this.__dirty=!0};f.prototype={constructor:f,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(m){return this._children[m]},childOfName:function(m){for(var d=this._children,a=0;a=0&&(a.splice(n,0,m),this._doAdd(m))}return this},_doAdd:function(m){m.parent&&m.parent.remove(m),m.parent=this;var d=this.__storage,a=this.__zr;d&&d!==m.__storage&&(d.addToStorage(m),m instanceof f&&m.addChildrenToStorage(d)),a&&a.refresh()},remove:function(m){var d=this.__zr,a=this.__storage,n=this._children,s=x.indexOf(n,m);return s<0?this:(n.splice(s,1),m.parent=null,a&&(a.delFromStorage(m),m instanceof f&&m.delChildrenFromStorage(a)),d&&d.refresh(),this)},removeAll:function(){var m=this._children,d=this.__storage,a,n;for(n=0;n1e-4){I[0]=p-v,I[1]=g-y,C[0]=p+v,C[1]=g+y;return}if(d[0]=e(w)*v+p,d[1]=t(w)*y+g,a[0]=e(S)*v+p,a[1]=t(S)*y+g,E(I,d,a),O(C,d,a),w=w%m,w<0&&(w=w+m),S=S%m,S<0&&(S=S+m),w>S&&!_?S+=m:ww&&(n[0]=e(H)*v+p,n[1]=t(H)*y+g,E(I,n,I),O(C,n,C))}R.fromPoints=s,R.fromLine=c,R.fromCubic=r,R.fromQuadratic=o,R.fromArc=h},"4vCz":function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("X2/X")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="PlusSquareOutlined";var d=f.forwardRef(m);R.default=d},"4xFK":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};R.default=x},"56rv":function(j,R,l){var x=l("IwbS"),b=l("x3X8"),A=b.getDefaultLabel;function f(e,m,d,a,n,s,c){var i=d.getModel("label"),u=d.getModel("emphasis.label");x.setLabelStyle(e,m,i,u,{labelFetcher:n,labelDataIndex:s,defaultText:A(n.getData(),s),isRectText:!0,autoColor:a}),t(e),t(m)}function t(e,m){e.textPosition==="outside"&&(e.textPosition=m)}R.setLabel=f},"59Ip":function(j,R,l){var x=l("Sj9i");function b(A,f,t,e,m,d,a,n,s,c,i){if(s===0)return!1;var u=s;if(i>f+u&&i>e+u&&i>d+u&&i>n+u||iA+u&&c>t+u&&c>m+u&&c>a+u||cd)return m[n];return m[a-1]}var e={clearColorPalette:function(){f(this).colorIdx=0,f(this).colorNameMap={}},getColorFromPalette:function(m,d,a){d=d||this;var n=f(d),s=n.colorIdx||0,c=n.colorNameMap=n.colorNameMap||{};if(c.hasOwnProperty(m))return c[m];var i=A(this.get("color",!0)),u=this.get("colorLayer",!0),r=a==null||!u?i:t(u,a);if(r=r||i,!r||!r.length)return;var o=r[s];return m&&(c[m]=o),n.colorIdx=(s+1)%r.length,o}};j.exports=e},"5NDa":function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("OnYD"),f=l.n(A),t=l("+L6B")},"5NHt":function(j,R,l){l("aTJb"),l("OlYY"),l("fc+c"),l("N5BQ"),l("IyUQ"),l("LBfv"),l("noeP")},"5OYt":function(j,R,l){"use strict";var x=l("J4zp"),b=l.n(x),A=l("q1tI"),f=l.n(A),t=l("ACnJ");function e(){var m=Object(A.useState)({}),d=b()(m,2),a=d[0],n=d[1];return Object(A.useEffect)(function(){var s=t.a.subscribe(function(c){n(c)});return function(){return t.a.unsubscribe(s)}},[]),a}R.a=e},"5RzL":function(j,R,l){"use strict";var x=l("pVnL"),b=l.n(x),A=l("lSNA"),f=l.n(A),t=l("lwsE"),e=l.n(t),m=l("W8MJ"),d=l.n(m),a=l("7W2i"),n=l.n(a),s=l("LQ03"),c=l.n(s),i=l("q1tI"),u=l("1OyB"),r=l("vuIU"),o=l("Ji7U"),h=l("LK+K"),p=l("KQm4"),g=l("U8pU"),v=l("ODXe"),y=l("VTBJ"),w=l("qNPg"),S=l("2Qr1"),_=l("815F"),I=l("NvD2"),C=l("wPlo"),E=l("6cGi"),O=l("Kwbf"),M=l("4IlW"),F=l("YrtM"),H=l("fAei"),B=i.createContext(null);function X(He,kt){if(!He)return!0;var Ar=He.data,at=Ar.disabled,Ht=Ar.disableCheckbox;switch(kt){case"select":return at;case"checkbox":return at||Ht}return!1}function J(He,kt){var Ar=i.useCallback(function(Ht){var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",ot=arguments.length>2?arguments[2]:void 0,et=He.get(Ht);return!ot&&X(et,Wt)?null:et},[He]),at=i.useCallback(function(Ht){var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",ot=arguments.length>2?arguments[2]:void 0,et=kt.get(Ht);return!ot&&X(et,Wt)?null:et},[kt]);return[Ar,at]}function k(He){return i.useMemo(function(){var kt=new Map,Ar=new Map;return He.forEach(function(at){kt.set(at.key,at),Ar.set(at.data.value,at)}),[kt,Ar]},[He])}var K={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},z=function(kt,Ar){var at=kt.prefixCls,Ht=kt.height,Wt=kt.itemHeight,ot=kt.virtual,et=kt.options,Ze=kt.flattenOptions,Gt=kt.multiple,yr=kt.searchValue,br=kt.onSelect,Sr=kt.onToggleOpen,Tn=kt.open,cn=kt.notFoundContent,Wn=kt.onMouseEnter,lt=i.useContext(B),mt=lt.checkable,Le=lt.checkedKeys,ze=lt.halfCheckedKeys,$e=lt.treeExpandedKeys,gt=lt.treeDefaultExpandAll,ir=lt.treeDefaultExpandedKeys,Xt=lt.onTreeExpand,er=lt.treeIcon,Kr=lt.showTreeIcon,en=lt.switcherIcon,Fn=lt.treeLine,ar=lt.treeNodeFilterProp,It=lt.loadData,Ct=lt.treeLoadedKeys,mr=lt.treeMotion,gr=lt.onTreeLoad,Mt=i.useRef(),rr=Object(F.a)(function(){return et},[Tn,et],function(rn,Br){return Br[0]&&rn[1]!==Br[1]}),Dt=k(Ze),tr=Object(v.a)(Dt,2),Dr=tr[0],dr=tr[1],Tr=J(Dr,dr),vn=Object(v.a)(Tr,2),on=vn[0],Gn=vn[1],di=i.useMemo(function(){return Le.map(function(rn){var Br=Gn(rn);return Br?Br.key:null})},[Le]),Ti=i.useMemo(function(){return mt?{checked:di,halfChecked:ze}:null},[di,ze,mt]);i.useEffect(function(){if(Tn&&!Gt&&di.length){var rn;(rn=Mt.current)===null||rn===void 0||rn.scrollTo({key:di[0]})}},[Tn]);var Fi=String(yr).toLowerCase(),la=function(Br){return Fi?String(Br[ar]).toLowerCase().includes(Fi):!1},Ta=i.useState(ir),dt=Object(v.a)(Ta,2),Me=dt[0],Xe=dt[1],Qe=i.useState(null),st=Object(v.a)(Qe,2),nt=st[0],ft=st[1],Bt=i.useMemo(function(){return $e?Object(p.a)($e):yr?nt:Me},[Me,nt,Fi,$e]);i.useEffect(function(){yr&&ft(Ze.map(function(rn){return rn.key}))},[yr]);var Et=function(Br){Xe(Br),ft(Br),Xt&&Xt(Br)},nr=function(Br){Br.preventDefault()},Ur=function(Br,Vn){var gi=Vn.node.key,Ni=on(gi,mt?"checkbox":"select");Ni!==null&&br(Ni.data.value,{selected:!Le.includes(Ni.data.value)}),Gt||Sr(!1)},Lr=i.useState(null),Vr=Object(v.a)(Lr,2),sr=Vr[0],Bn=Vr[1],Er=on(sr);if(i.useImperativeHandle(Ar,function(){return{onKeyDown:function(Br){var Vn,gi=Br.which;switch(gi){case M.a.UP:case M.a.DOWN:case M.a.LEFT:case M.a.RIGHT:(Vn=Mt.current)===null||Vn===void 0||Vn.onKeyDown(Br);break;case M.a.ENTER:{Er!==null&&Ur(null,{node:{key:sr},selected:!Le.includes(Er.data.value)});break}case M.a.ESC:Sr(!1)}},onKeyUp:function(){}}}),rr.length===0)return i.createElement("div",{role:"listbox",className:"".concat(at,"-empty"),onMouseDown:nr},cn);var gn={};return Ct&&(gn.loadedKeys=Ct),Bt&&(gn.expandedKeys=Bt),i.createElement("div",{onMouseDown:nr,onMouseEnter:Wn},Er&&Tn&&i.createElement("span",{style:K,"aria-live":"assertive"},Er.data.value),i.createElement(H.b,Object.assign({ref:Mt,focusable:!1,prefixCls:"".concat(at,"-tree"),treeData:rr,height:Ht,itemHeight:Wt,virtual:ot,multiple:Gt,icon:er,showIcon:Kr,switcherIcon:en,showLine:Fn,loadData:yr?null:It,motion:mr,checkable:mt,checkStrictly:!0,checkedKeys:Ti,selectedKeys:mt?[]:di,defaultExpandAll:gt},gn,{onActiveChange:Bn,onSelect:Ur,onCheck:Ur,onExpand:Et,onLoad:gr,filterTreeNode:la})))},W=i.forwardRef(z);W.displayName="OptionList";var P=W,G=function(){return null},V=G,q=l("Ff2n"),re=l("Zm9Q");function ce(He){return Object(re.a)(He).map(function(kt){if(!i.isValidElement(kt)||!kt.type)return null;var Ar=kt.key,at=kt.props,Ht=at.children,Wt=at.value,ot=Object(q.a)(at,["children","value"]),et=Object(y.a)({key:Ar,value:Wt},ot),Ze=ce(Ht);return Ze.length&&(et.children=Ze),et}).filter(function(kt){return kt})}function ie(He){if(!He)return He;var kt=Object(y.a)({},He);return"props"in kt||Object.defineProperty(kt,"props",{get:function(){return Object(O.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),kt}}),kt}function fe(He,kt,Ar,at,Ht){var Wt=null,ot=null;function et(){function Ze(Gt){var yr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",br=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Gt.map(function(Sr,Tn){var cn="".concat(yr,"-").concat(Tn),Wn=Ar.includes(Sr.value),lt=Ze(Sr.children||[],cn,Wn),mt=i.createElement(V,Object.assign({},Sr),lt.map(function(ze){return ze.node}));if(kt===Sr.value&&(Wt=mt),Wn){var Le={pos:cn,node:mt,children:lt};return br||ot.push(Le),Le}return null}).filter(function(Sr){return Sr})}ot||(ot=[],Ze(at),ot.sort(function(Gt,yr){var br=Gt.node.props.value,Sr=yr.node.props.value,Tn=Ar.indexOf(br),cn=Ar.indexOf(Sr);return Tn-cn}))}Object.defineProperty(He,"triggerNode",{get:function(){return Object(O.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),et(),Wt}}),Object.defineProperty(He,"allCheckedNodes",{get:function(){return Object(O.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),et(),Ht?ot:ot.map(function(Gt){var yr=Gt.node;return yr})}})}function xe(He){return Array.isArray(He)?He:He!==void 0?[He]:[]}function Se(He,kt){var Ar=new Map;return kt.forEach(function(at){var Ht=at.data;Ar.set(Ht.value,Ht)}),He.map(function(at){return ie(Ar.get(at))})}function ke(He,kt){var Ar=Se([He],kt)[0];return Ar?Ar.disabled:!1}function ge(He){return He.disabled||He.disableCheckbox||He.checkable===!1}function Be(He){for(var kt=He.parent,Ar=0,at=kt;at;)at=at.parent,Ar+=1;return Ar}function ee(He){function kt(at){return(at||[]).map(function(Ht){var Wt=Ht.value,ot=Ht.key,et=Ht.children,Ze=Object(y.a)(Object(y.a)({},Ht),{},{key:"key"in Ht?ot:Wt});return et&&(Ze.children=kt(et)),Ze})}var Ar=Object(_.d)(kt(He),!0);return Ar.map(function(at){return{key:at.data.key,data:at.data,level:Be(at)}})}function ue(He){return function(kt,Ar){var at=Ar[He];return String(at).toLowerCase().includes(String(kt).toLowerCase())}}function Ge(He,kt,Ar){var at=Ar.optionFilterProp,Ht=Ar.filterOption;if(Ht===!1)return kt;var Wt;typeof Ht=="function"?Wt=Ht:Wt=ue(at);function ot(et){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return et.map(function(Gt){var yr=Gt.children,br=Ze||Wt(He,ie(Gt)),Sr=ot(yr||[],br);return br||Sr.length?Object(y.a)(Object(y.a)({},Gt),{},{children:Sr}):null}).filter(function(Gt){return Gt})}return ot(kt)}function ae(He,kt,Ar,at){var Ht=new Map;return xe(kt).forEach(function(Wt){Wt&&Object(g.a)(Wt)==="object"&&"value"in Wt&&Ht.set(Wt.value,Wt)}),He.map(function(Wt){var ot={value:Wt},et=Ar(Wt,"select",!0),Ze=et?at(et.data):Wt;if(Ht.has(Wt)){var Gt=Ht.get(Wt);ot.label="label"in Gt?Gt.label:Ze,"halfChecked"in Gt&&(ot.halfChecked=Gt.halfChecked)}else ot.label=Ze;return ot})}function Z(He,kt){var Ar=new Set(He);return Ar.add(kt),Array.from(Ar)}function Y(He,kt){var Ar=new Set(He);return Ar.delete(kt),Array.from(Ar)}function te(He){var kt=He.searchPlaceholder,Ar=He.treeCheckStrictly,at=He.treeCheckable,Ht=He.labelInValue,Wt=He.value,ot=He.multiple;Object(O.a)(!kt,"`searchPlaceholder` has been removed."),Ar&&Ht===!1&&Object(O.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Ht||Ar)&&Object(O.a)(xe(Wt).every(function(et){return et&&Object(g.a)(et)==="object"&&"value"in et}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Ar||ot||at?Object(O.a)(!Wt||Array.isArray(Wt),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(O.a)(!Array.isArray(Wt),"`value` should not be array when `TreeSelect` is single mode.")}var we=te,pe=10;function De(He,kt){var Ar=kt.id,at=kt.pId,Ht=kt.rootPId,Wt={},ot=[],et=He.map(function(Ze){var Gt=Object(y.a)({},Ze),yr=Gt[Ar];return Wt[yr]=Gt,Gt.key=Gt.key||yr,Gt});return et.forEach(function(Ze){var Gt=Ze[at],yr=Wt[Gt];yr&&(yr.children=yr.children||[],yr.children.push(Ze)),(Gt===Ht||!yr&&Ht===null)&&ot.push(Ze)}),ot}function Ne(He,kt){var Ar=0,at=new Set;function Ht(Wt){return(Wt||[]).map(function(ot){var et=ot.key,Ze=ot.value,Gt=ot.children,yr=Object(q.a)(ot,["key","value","children"]),br="value"in ot?Ze:et,Sr=Object(y.a)(Object(y.a)({},yr),{},{key:et!=null?et:br,value:br,title:kt(ot)});return"children"in ot&&(Sr.children=Ht(Gt)),Sr})}return Ht(He)}function me(He,kt,Ar){var at=Ar.getLabelProp,Ht=Ar.simpleMode,Wt=i.useRef({});return He?(Wt.current.formatTreeData=Wt.current.treeData===He?Wt.current.formatTreeData:Ne(Ht?De(He,Object(y.a)({id:"id",pId:"pId",rootPId:null},Ht!==!0?Ht:{})):He,at),Wt.current.treeData=He):Wt.current.formatTreeData=Wt.current.children===kt?Wt.current.formatTreeData:Ne(ce(kt),at),Wt.current.formatTreeData}var be="SHOW_ALL",Re="SHOW_PARENT",it="SHOW_CHILD";function yt(He,kt,Ar){var at=new Set(He);return kt===it?He.filter(function(Ht){var Wt=Ar[Ht];return!(Wt&&Wt.children&&Wt.children.every(function(ot){var et=ot.node;return ge(et)||at.has(et.key)}))}):kt===Re?He.filter(function(Ht){var Wt=Ar[Ht],ot=Wt?Wt.parent:null;return!(ot&&!ge(ot.node)&&at.has(ot.node.key))}):He}function pt(He,kt){var Ar=kt.value,at=kt.getEntityByValue,Ht=kt.getEntityByKey,Wt=kt.treeConduction,ot=kt.showCheckedStrategy,et=kt.conductKeyEntities,Ze=kt.getLabelProp;return i.useMemo(function(){var Gt=He;if(Wt){var yr=yt(He.map(function(br){var Sr=at(br);return Sr?Sr.key:br}),ot,et);Gt=yr.map(function(br){var Sr=Ht(br);return Sr?Sr.data.value:br})}return ae(Gt,Ar,at,Ze)},[He,Ar,Wt,ot,at])}var Pe=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],Nt=Object(w.a)({prefixCls:"rc-tree-select",components:{optionList:P},convertChildrenToData:function(){return null},flattenOptions:ee,getLabeledValue:S.e,filterOptions:Ge,isValueDisabled:ke,findValueOption:Se,omitDOMProps:function(kt){var Ar=Object(y.a)({},kt);return Pe.forEach(function(at){delete Ar[at]}),Ar}});Nt.displayName="Select";var ut=i.forwardRef(function(He,kt){var Ar=He.multiple,at=He.treeCheckable,Ht=He.treeCheckStrictly,Wt=He.showCheckedStrategy,ot=Wt===void 0?"SHOW_CHILD":Wt,et=He.labelInValue,Ze=He.loadData,Gt=He.treeLoadedKeys,yr=He.treeNodeFilterProp,br=yr===void 0?"value":yr,Sr=He.treeNodeLabelProp,Tn=He.treeDataSimpleMode,cn=He.treeData,Wn=He.treeExpandedKeys,lt=He.treeDefaultExpandedKeys,mt=He.treeDefaultExpandAll,Le=He.children,ze=He.treeIcon,$e=He.showTreeIcon,gt=He.switcherIcon,ir=He.treeLine,Xt=He.treeMotion,er=He.filterTreeNode,Kr=He.dropdownPopupAlign,en=He.onChange,Fn=He.onTreeExpand,ar=He.onTreeLoad,It=He.onDropdownVisibleChange,Ct=He.onSelect,mr=He.onDeselect,gr=at||Ht,Mt=Ar||gr,rr=at&&!Ht,Dt=Ht||et,tr=i.useRef(null);i.useImperativeHandle(kt,function(){return{focus:tr.current.focus,blur:tr.current.blur}});var Dr=function(gi){return cn&&gi.label||gi.title},dr=function(gi){return Sr?gi[Sr]:Dr(gi)},Tr=me(cn,Le,{getLabelProp:Dr,simpleMode:Tn}),vn=Object(i.useMemo)(function(){return ee(Tr)},[Tr]),on=k(vn),Gn=Object(v.a)(on,2),di=Gn[0],Ti=Gn[1],Fi=J(di,Ti),la=Object(v.a)(Fi,2),Ta=la[0],dt=la[1],Me=Object(i.useMemo)(function(){return rr?Object(_.a)(Tr):{keyEntities:null}},[Tr,at,Ht]),Xe=Me.keyEntities,Qe=Object(E.a)(He.defaultValue,{value:He.value}),st=Object(v.a)(Qe,2),nt=st[0],ft=st[1],Bt=function(gi){var Ni=[],Wi=[];return gi.forEach(function(zi){dt(zi)?Wi.push(zi):Ni.push(zi)}),{missingRawValues:Ni,existRawValues:Wi}},Et=Object(i.useMemo)(function(){var Vn=[],gi=[];if(xe(nt).forEach(function(fn){if(fn&&Object(g.a)(fn)==="object"&&"value"in fn)if(fn.halfChecked&&Ht){var $n=dt(fn.value);Vn.push($n?$n.key:fn.value)}else gi.push(fn.value);else gi.push(fn)}),rr){var Ni=Bt(gi),Wi=Ni.missingRawValues,zi=Ni.existRawValues,Yi=zi.map(function(fn){return dt(fn).key}),mi=Object(I.a)(Yi,!0,Xe),va=mi.checkedKeys,zn=mi.halfCheckedKeys;return[[].concat(Object(p.a)(Wi),Object(p.a)(va.map(function(fn){return Ta(fn).data.value}))),zn]}return[gi,Vn]},[nt,Mt,Dt,at,Ht]),nr=Object(v.a)(Et,2),Ur=nr[0],Lr=nr[1],Vr=pt(Ur,{treeConduction:rr,value:nt,showCheckedStrategy:ot,conductKeyEntities:Xe,getEntityByValue:dt,getEntityByKey:Ta,getLabelProp:dr}),sr=function(gi,Ni,Wi){if(ft(Mt?gi:gi[0]),en){var zi=gi;if(rr&&ot!=="SHOW_ALL"){var Yi=gi.map(function(na){var Ei=dt(na);return Ei?Ei.key:na}),mi=yt(Yi,ot,Xe);zi=mi.map(function(na){var Ei=Ta(na);return Ei?Ei.data.value:na})}var va=Ni||{triggerValue:void 0,selected:void 0},zn=va.triggerValue,fn=va.selected,$n=Dt?ae(zi,nt,dt,dr):zi;if(Ht){var Cn=Lr.map(function(na){var Ei=Ta(na);return Ei?Ei.data.value:na}).filter(function(na){return!zi.includes(na)});$n=[].concat(Object(p.a)($n),Object(p.a)(ae(Cn,nt,dt,dr)))}var ki={preValue:Vr,triggerValue:zn},In=!0;(Ht||Wi==="selection"&&!fn)&&(In=!1),fe(ki,zn,gi,Tr,In),gr?ki.checked=fn:ki.selected=fn,en(Mt?$n:$n[0],Dt?null:zi.map(function(na){var Ei=dt(na);return Ei?dr(Ei.data):null}),ki)}},Bn=function(gi,Ni,Wi){var zi=gi;if(!Mt)sr([gi],{selected:!0,triggerValue:gi},Wi);else{var Yi=Z(Ur,gi);if(rr){var mi=Bt(Yi),va=mi.missingRawValues,zn=mi.existRawValues,fn=zn.map(function(ki){return dt(ki).key}),$n=Object(I.a)(fn,!0,Xe),Cn=$n.checkedKeys;Yi=[].concat(Object(p.a)(va),Object(p.a)(Cn.map(function(ki){return Ta(ki).data.value})))}sr(Yi,{selected:!0,triggerValue:gi},Wi)}Ct&&Ct(zi,Ni)},Er=function(gi,Ni,Wi){var zi=gi,Yi=Y(Ur,gi);if(rr){var mi=Bt(Yi),va=mi.missingRawValues,zn=mi.existRawValues,fn=zn.map(function(ki){return dt(ki).key}),$n=Object(I.a)(fn,{checked:!1,halfCheckedKeys:Lr},Xe),Cn=$n.checkedKeys;Yi=[].concat(Object(p.a)(va),Object(p.a)(Cn.map(function(ki){return Ta(ki).data.value})))}sr(Yi,{selected:!1,triggerValue:gi},Wi),mr&&mr(zi,Ni)},gn=function(){sr([],null,"clear")},rn=i.useCallback(function(Vn){if(It){var gi={};Object.defineProperty(gi,"documentClickClose",{get:function(){return Object(O.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),It(Vn,gi)}},[It]),Br={optionLabelProp:null,optionFilterProp:br,dropdownAlign:Kr,internalProps:{mark:C.a,onClear:gn,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:Bn,onRawDeselect:Er}};return"filterTreeNode"in He&&(Br.filterOption=er),i.createElement(B.Provider,{value:{checkable:gr,loadData:Ze,treeLoadedKeys:Gt,onTreeLoad:ar,checkedKeys:Ur,halfCheckedKeys:Lr,treeDefaultExpandAll:mt,treeExpandedKeys:Wn,treeDefaultExpandedKeys:lt,onTreeExpand:Fn,treeIcon:ze,treeMotion:Xt,showTreeIcon:$e,switcherIcon:gt,treeLine:ir,treeNodeFilterProp:br}},i.createElement(Nt,Object.assign({ref:tr,mode:Mt?"multiple":null},He,Br,{value:Vr,labelInValue:!0,options:Tr,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:rn})))}),Ft=function(He){Object(o.a)(Ar,He);var kt=Object(h.a)(Ar);function Ar(){var at;return Object(u.a)(this,Ar),at=kt.apply(this,arguments),at.selectRef=i.createRef(),at.focus=function(){at.selectRef.current.focus()},at.blur=function(){at.selectRef.current.blur()},at}return Object(r.a)(Ar,[{key:"render",value:function(){return i.createElement(ut,Object.assign({ref:this.selectRef},this.props))}}]),Ar}(i.Component);Ft.TreeNode=V,Ft.SHOW_ALL=be,Ft.SHOW_PARENT=Re,Ft.SHOW_CHILD=it;var Ut=Ft,Kt=Ut,$t=l("TSYQ"),or=l.n($t),ht=l("BGR+"),Ee=l("H84U"),de=l("uaoM"),qe=l("1vzs"),rt=l("2jpz"),ve=l("3Nzz"),bt=function(He){n()(Ar,He);var kt=c()(Ar);function Ar(at){var Ht;return e()(this,Ar),Ht=kt.call(this,at),Ht.selectRef=i.createRef(),Ht.renderTreeSelect=function(Wt){var ot=Wt.getPopupContainer,et=Wt.getPrefixCls,Ze=Wt.renderEmpty,Gt=Wt.direction,yr=Wt.virtual,br=Wt.dropdownMatchSelectWidth,Sr=Ht.props,Tn=Sr.prefixCls,cn=Sr.size,Wn=Sr.className,lt=Sr.treeCheckable,mt=Sr.multiple,Le=Sr.listHeight,ze=Le===void 0?256:Le,$e=Sr.listItemHeight,gt=$e===void 0?26:$e,ir=Sr.notFoundContent,Xt=Sr.switcherIcon,er=Sr.treeLine,Kr=Sr.getPopupContainer,en=Sr.dropdownClassName,Fn=Sr.bordered,ar=Sr.treeIcon,It=ar===void 0?!1:ar,Ct=et("select",Tn),mr=et("select-tree",Tn),gr=et("tree-select",Tn),Mt=or()(en,"".concat(gr,"-dropdown"),f()({},"".concat(gr,"-dropdown-rtl"),Gt==="rtl")),rr=!!(lt||mt),Dt=Object(qe.a)(b()(b()({},Ht.props),{multiple:rr,prefixCls:Ct})),tr=Dt.suffixIcon,Dr=Dt.itemIcon,dr=Dt.removeIcon,Tr=Dt.clearIcon,vn;ir!==void 0?vn=ir:vn=Ze("Select");var on=Object(ht.default)(Ht.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return i.createElement(ve.b.Consumer,null,function(Gn){var di,Ti=cn||Gn,Fi=or()(!Tn&&gr,(di={},f()(di,"".concat(Ct,"-lg"),Ti==="large"),f()(di,"".concat(Ct,"-sm"),Ti==="small"),f()(di,"".concat(Ct,"-rtl"),Gt==="rtl"),f()(di,"".concat(Ct,"-borderless"),!Fn),di),Wn);return i.createElement(Kt,b()({virtual:yr,dropdownMatchSelectWidth:br},on,{ref:Ht.selectRef,prefixCls:Ct,className:Fi,listHeight:ze,listItemHeight:gt,treeCheckable:lt&&i.createElement("span",{className:"".concat(Ct,"-tree-checkbox-inner")}),inputIcon:tr,menuItemSelectedIcon:Dr,removeIcon:dr,clearIcon:Tr,switcherIcon:function(Ta){return Object(rt.a)(mr,Xt,er,Ta)},showTreeIcon:It,notFoundContent:vn,getPopupContainer:Kr||ot,treeMotion:null,dropdownClassName:Mt}))})},Object(de.a)(at.multiple!==!1||!at.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),Ht}return d()(Ar,[{key:"focus",value:function(){this.selectRef.current&&this.selectRef.current.focus()}},{key:"blur",value:function(){this.selectRef.current&&this.selectRef.current.blur()}},{key:"render",value:function(){return i.createElement(Ee.a,null,this.renderTreeSelect)}}]),Ar}(i.Component);bt.TreeNode=V,bt.SHOW_ALL=be,bt.SHOW_PARENT=Re,bt.SHOW_CHILD=it,bt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var jt=R.a=bt},"5Uyt":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("KmBX"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},"5YOS":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("xb2K"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},"5YgA":function(j,R,l){},"5bA4":function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="LeftOutlined";var m=R.a=b.forwardRef(e)},"5nXd":function(j,R,l){var x=l("MFOe"),b=x.slice,A=x.pluck,f=x.each,t=x.bind,e=x.create,m=x.isList,d=x.isFunction,a=x.isObject;j.exports={createStore:c};var n={version:"2.0.12",enabled:!1,get:function(u,r){var o=this.storage.read(this._namespacePrefix+u);return this._deserialize(o,r)},set:function(u,r){return r===void 0?this.remove(u):(this.storage.write(this._namespacePrefix+u,this._serialize(r)),r)},remove:function(u){this.storage.remove(this._namespacePrefix+u)},each:function(u){var r=this;this.storage.each(function(o,h){u.call(r,r._deserialize(o),(h||"").replace(r._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(u){return this._namespacePrefix=="__storejs_"+u+"_"},createStore:function(){return c.apply(this,arguments)},addPlugin:function(u){this._addPlugin(u)},namespace:function(u){return c(this.storage,this.plugins,u)}};function s(){var i=typeof console=="undefined"?null:console;if(!i)return;var u=i.warn?i.warn:i.log;u.apply(i,arguments)}function c(i,u,r){r||(r=""),i&&!m(i)&&(i=[i]),u&&!m(u)&&(u=[u]);var o=r?"__storejs_"+r+"_":"",h=r?new RegExp("^"+o):null,p=/^[a-zA-Z0-9_\-]*$/;if(!p.test(r))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var g={_namespacePrefix:o,_namespaceRegexp:h,_testStorage:function(w){try{var S="__storejs__test__";w.write(S,S);var _=w.read(S)===S;return w.remove(S),_}catch(I){return!1}},_assignPluginFnProp:function(w,S){var _=this[S];this[S]=function(){var C=b(arguments,0),E=this;function O(){return _?(f(arguments,function(F,H){C[H]=F}),_.apply(E,C)):void 0}var M=[O].concat(C);return w.apply(E,M)}},_serialize:function(w){return JSON.stringify(w)},_deserialize:function(w,S){if(!w)return S;var _="";try{_=JSON.parse(w)}catch(I){_=w}return _!==void 0?_:S},_addStorage:function(w){if(this.enabled)return;this._testStorage(w)&&(this.storage=w,this.enabled=!0)},_addPlugin:function(w){var S=this;if(m(w)){f(w,function(C){S._addPlugin(C)});return}var _=A(this.plugins,function(C){return w===C});if(_)return;if(this.plugins.push(w),!d(w))throw new Error("Plugins must be function values that return objects");var I=w.call(this);if(!a(I))throw new Error("Plugins must return an object of function properties");f(I,function(C,E){if(!d(C))throw new Error("Bad plugin property: "+E+" from plugin "+w.name+". Plugins should only return functions.");S._assignPluginFnProp(C,E)})},addStorage:function(w){s("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(w)}},v=e(g,n,{plugins:[]});return v.raw={},f(v,function(y,w){d(y)&&(v.raw[w]=t(v,y))}),f(i,function(y){v._addStorage(y)}),f(u,function(y){v._addPlugin(y)}),v}},"5rEg":function(j,R,l){"use strict";var x=l("pVnL"),b=l.n(x),A=l("lwsE"),f=l.n(A),t=l("W8MJ"),e=l.n(t),m=l("7W2i"),d=l.n(m),a=l("LQ03"),n=l.n(a),s=l("lSNA"),c=l.n(s),i=l("q1tI"),u=l("TSYQ"),r=l.n(u),o=l("BGR+"),h=l("kbBi"),p=l.n(h),g=l("CWQg"),v=l("0n0R"),y=Object(g.a)("text","input");function w(te){return!!(te.prefix||te.suffix||te.allowClear)}var S=function(te){d()(pe,te);var we=n()(pe);function pe(){var De;return f()(this,pe),De=we.apply(this,arguments),De.containerRef=i.createRef(),De.onInputMouseUp=function(Ne){var me;if((me=De.containerRef.current)===null||me===void 0?void 0:me.contains(Ne.target)){var be=De.props.triggerFocus;be()}},De}return e()(pe,[{key:"renderClearIcon",value:function(Ne){var me=this.props,be=me.allowClear,Re=me.value,it=me.disabled,yt=me.readOnly,pt=me.inputType,Pe=me.handleReset;if(!be)return null;var Nt=!it&&!yt&&Re,ut=pt===y[0]?"".concat(Ne,"-textarea-clear-icon"):"".concat(Ne,"-clear-icon");return i.createElement(p.a,{onClick:Pe,className:r()(ut,c()({},"".concat(ut,"-hidden"),!Nt)),role:"button"})}},{key:"renderSuffix",value:function(Ne){var me=this.props,be=me.suffix,Re=me.allowClear;return be||Re?i.createElement("span",{className:"".concat(Ne,"-suffix")},this.renderClearIcon(Ne),be):null}},{key:"renderLabeledIcon",value:function(Ne,me){var be,Re=this.props,it=Re.focused,yt=Re.value,pt=Re.prefix,Pe=Re.className,Nt=Re.size,ut=Re.suffix,Ft=Re.disabled,Ut=Re.allowClear,Kt=Re.direction,$t=Re.style,or=Re.readOnly,ht=Re.bordered,Ee=this.renderSuffix(Ne);if(!w(this.props))return Object(v.a)(me,{value:yt});var de=pt?i.createElement("span",{className:"".concat(Ne,"-prefix")},pt):null,qe=r()(Pe,"".concat(Ne,"-affix-wrapper"),(be={},c()(be,"".concat(Ne,"-affix-wrapper-focused"),it),c()(be,"".concat(Ne,"-affix-wrapper-disabled"),Ft),c()(be,"".concat(Ne,"-affix-wrapper-sm"),Nt==="small"),c()(be,"".concat(Ne,"-affix-wrapper-lg"),Nt==="large"),c()(be,"".concat(Ne,"-affix-wrapper-input-with-clear-btn"),ut&&Ut&&yt),c()(be,"".concat(Ne,"-affix-wrapper-rtl"),Kt==="rtl"),c()(be,"".concat(Ne,"-affix-wrapper-readonly"),or),c()(be,"".concat(Ne,"-affix-wrapper-borderless"),!ht),be));return i.createElement("span",{ref:this.containerRef,className:qe,style:$t,onMouseUp:this.onInputMouseUp},de,Object(v.a)(me,{style:null,value:yt,className:F(Ne,ht,Nt,Ft)}),Ee)}},{key:"renderInputWithLabel",value:function(Ne,me){var be,Re,it=this.props,yt=it.addonBefore,pt=it.addonAfter,Pe=it.style,Nt=it.size,ut=it.className,Ft=it.direction;if(!yt&&!pt)return me;var Ut="".concat(Ne,"-group"),Kt="".concat(Ut,"-addon"),$t=yt?i.createElement("span",{className:Kt},yt):null,or=pt?i.createElement("span",{className:Kt},pt):null,ht=r()("".concat(Ne,"-wrapper"),(be={},c()(be,Ut,yt||pt),c()(be,"".concat(Ut,"-rtl"),Ft==="rtl"),be)),Ee=r()(ut,"".concat(Ne,"-group-wrapper"),(Re={},c()(Re,"".concat(Ne,"-group-wrapper-sm"),Nt==="small"),c()(Re,"".concat(Ne,"-group-wrapper-lg"),Nt==="large"),c()(Re,"".concat(Ne,"-group-wrapper-rtl"),Ft==="rtl"),Re));return i.createElement("span",{className:Ee,style:Pe},i.createElement("span",{className:ht},$t,Object(v.a)(me,{style:null}),or))}},{key:"renderTextAreaWithClearIcon",value:function(Ne,me){var be,Re=this.props,it=Re.value,yt=Re.allowClear,pt=Re.className,Pe=Re.style,Nt=Re.direction,ut=Re.bordered;if(!yt)return Object(v.a)(me,{value:it});var Ft=r()(pt,"".concat(Ne,"-affix-wrapper"),"".concat(Ne,"-affix-wrapper-textarea-with-clear-btn"),(be={},c()(be,"".concat(Ne,"-affix-wrapper-rtl"),Nt==="rtl"),c()(be,"".concat(Ne,"-affix-wrapper-borderless"),!ut),be));return i.createElement("span",{className:Ft,style:Pe},Object(v.a)(me,{style:null,value:it}),this.renderClearIcon(Ne))}},{key:"render",value:function(){var Ne=this.props,me=Ne.prefixCls,be=Ne.inputType,Re=Ne.element;return be===y[0]?this.renderTextAreaWithClearIcon(me,Re):this.renderInputWithLabel(me,this.renderLabeledIcon(me,Re))}}]),pe}(i.Component),_=S,I=l("H84U"),C=l("3Nzz"),E=l("uaoM");function O(te){return typeof te=="undefined"||te===null?"":te}function M(te,we,pe){if(pe){var De=we;if(we.type==="click"){De=Object.create(we),De.target=te,De.currentTarget=te;var Ne=te.value;te.value="",pe(De),te.value=Ne;return}pe(De)}}function F(te,we,pe,De,Ne){var me;return r()(te,(me={},c()(me,"".concat(te,"-sm"),pe==="small"),c()(me,"".concat(te,"-lg"),pe==="large"),c()(me,"".concat(te,"-disabled"),De),c()(me,"".concat(te,"-rtl"),Ne==="rtl"),c()(me,"".concat(te,"-borderless"),!we),me))}var H=function(te){d()(pe,te);var we=n()(pe);function pe(De){var Ne;f()(this,pe),Ne=we.call(this,De),Ne.direction="ltr",Ne.focus=function(){Ne.input.focus()},Ne.saveClearableInput=function(be){Ne.clearableInput=be},Ne.saveInput=function(be){Ne.input=be},Ne.onFocus=function(be){var Re=Ne.props.onFocus;Ne.setState({focused:!0},Ne.clearPasswordValueAttribute),Re&&Re(be)},Ne.onBlur=function(be){var Re=Ne.props.onBlur;Ne.setState({focused:!1},Ne.clearPasswordValueAttribute),Re&&Re(be)},Ne.handleReset=function(be){Ne.setValue("",function(){Ne.focus()}),M(Ne.input,be,Ne.props.onChange)},Ne.renderInput=function(be,Re,it){var yt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},pt=Ne.props,Pe=pt.className,Nt=pt.addonBefore,ut=pt.addonAfter,Ft=pt.size,Ut=pt.disabled,Kt=Object(o.default)(Ne.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return i.createElement("input",b()({autoComplete:yt.autoComplete},Kt,{onChange:Ne.handleChange,onFocus:Ne.onFocus,onBlur:Ne.onBlur,onKeyDown:Ne.handleKeyDown,className:r()(F(be,it,Ft||Re,Ut,Ne.direction),c()({},Pe,Pe&&!Nt&&!ut)),ref:Ne.saveInput}))},Ne.clearPasswordValueAttribute=function(){Ne.removePasswordTimeout=setTimeout(function(){Ne.input&&Ne.input.getAttribute("type")==="password"&&Ne.input.hasAttribute("value")&&Ne.input.removeAttribute("value")})},Ne.handleChange=function(be){Ne.setValue(be.target.value,Ne.clearPasswordValueAttribute),M(Ne.input,be,Ne.props.onChange)},Ne.handleKeyDown=function(be){var Re=Ne.props,it=Re.onPressEnter,yt=Re.onKeyDown;be.keyCode===13&&it&&it(be),yt&&yt(be)},Ne.renderComponent=function(be){var Re=be.getPrefixCls,it=be.direction,yt=be.input,pt=Ne.state,Pe=pt.value,Nt=pt.focused,ut=Ne.props,Ft=ut.prefixCls,Ut=ut.bordered,Kt=Ut===void 0?!0:Ut,$t=Re("input",Ft);return Ne.direction=it,i.createElement(C.b.Consumer,null,function(or){return i.createElement(_,b()({size:or},Ne.props,{prefixCls:$t,inputType:"input",value:O(Pe),element:Ne.renderInput($t,or,Kt,yt),handleReset:Ne.handleReset,ref:Ne.saveClearableInput,direction:it,focused:Nt,triggerFocus:Ne.focus,bordered:Kt}))})};var me=typeof De.value=="undefined"?De.defaultValue:De.value;return Ne.state={value:me,focused:!1,prevValue:De.value},Ne}return e()(pe,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(Ne){return w(Ne)!==w(this.props)&&Object(E.a)(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(Ne,me){this.props.value===void 0&&this.setState({value:Ne},me)}},{key:"render",value:function(){return i.createElement(I.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Ne,me){var be=me.prevValue,Re={prevValue:Ne.value};return(Ne.value!==void 0||be!==Ne.value)&&(Re.value=Ne.value),Re}}]),pe}(i.Component);H.defaultProps={type:"text"};var B=H,X=function(we){return i.createElement(I.a,null,function(pe){var De,Ne=pe.getPrefixCls,me=pe.direction,be=we.prefixCls,Re=we.className,it=Re===void 0?"":Re,yt=Ne("input-group",be),pt=r()(yt,(De={},c()(De,"".concat(yt,"-lg"),we.size==="large"),c()(De,"".concat(yt,"-sm"),we.size==="small"),c()(De,"".concat(yt,"-compact"),we.compact),c()(De,"".concat(yt,"-rtl"),me==="rtl"),De),it);return i.createElement("span",{className:pt,style:we.style,onMouseEnter:we.onMouseEnter,onMouseLeave:we.onMouseLeave,onFocus:we.onFocus,onBlur:we.onBlur},we.children)})},J=X,k=l("c+Xe"),K=l("w6Tc"),z=l.n(K),W=l("gZBC"),P=l.n(W),G=l("2/Rp"),V=function(te,we){var pe={};for(var De in te)Object.prototype.hasOwnProperty.call(te,De)&&we.indexOf(De)<0&&(pe[De]=te[De]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,De=Object.getOwnPropertySymbols(te);Ne=0&&E<0)&&(C=k,E=J,_=H,I.length=0),e(B,function(K){I.push({seriesIndex:O.seriesIndex,dataIndexInside:K,dataIndex:O.getData().getRawIndex(K)})}))}),{payloadBatch:I,snapToValue:_}}function c(v,y,w,S){v[y.key]={value:w,payloadBatch:S}}function i(v,y,w,S){var _=w.payloadBatch,I=y.axis,C=I.model,E=y.axisPointerModel;if(!y.triggerTooltip||!_.length)return;var O=y.coordSys.model,M=f.makeKey(O),F=v.map[M];F||(F=v.map[M]={coordSysId:O.id,coordSysIndex:O.componentIndex,coordSysType:O.type,coordSysMainType:O.mainType,dataByAxis:[]},v.list.push(F)),F.dataByAxis.push({axisDim:I.dim,axisIndex:C.componentIndex,axisType:C.type,axisId:C.id,value:S,valueLabelOpt:{precision:E.get("label.precision"),formatter:E.get("label.formatter")},seriesDataIndices:_.slice()})}function u(v,y,w){var S=w.axesInfo=[];e(y,function(_,I){var C=_.axisPointerModel.option,E=v[I];E?(!_.useHandle&&(C.status="show"),C.value=E.value,C.seriesDataIndices=(E.payloadBatch||[]).slice()):!_.useHandle&&(C.status="hide"),C.status==="show"&&S.push({axisDim:_.axis.dim,axisIndex:_.axis.model.componentIndex,value:C.value})})}function r(v,y,w,S){if(g(y)||!v.list.length){S({type:"hideTip"});return}var _=((v.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};S({type:"showTip",escapeConnect:!0,x:y[0],y:y[1],tooltipOption:w.tooltipOption,position:w.position,dataIndexInside:_.dataIndexInside,dataIndex:_.dataIndex,seriesIndex:_.seriesIndex,dataByCoordSys:v.list})}function o(v,y,w){var S=w.getZr(),_="axisPointerLastHighlights",I=d(S)[_]||{},C=d(S)[_]={};e(v,function(M,F){var H=M.axisPointerModel.option;H.status==="show"&&e(H.seriesDataIndices,function(B){var X=B.seriesIndex+" | "+B.dataIndex;C[X]=B})});var E=[],O=[];x.each(I,function(M,F){!C[F]&&O.push(M)}),x.each(C,function(M,F){!I[F]&&E.push(M)}),O.length&&w.dispatchAction({type:"downplay",escapeConnect:!0,batch:O}),E.length&&w.dispatchAction({type:"highlight",escapeConnect:!0,batch:E})}function h(v,y){for(var w=0;w<(v||[]).length;w++){var S=v[w];if(y.axis.dim===S.axisDim&&y.axis.model.componentIndex===S.axisIndex)return S}}function p(v){var y=v.axis.model,w={},S=w.axisDim=v.axis.dim;return w.axisIndex=w[S+"AxisIndex"]=y.componentIndex,w.axisName=w[S+"AxisName"]=y.name,w.axisId=w[S+"AxisId"]=y.id,w}function g(v){return!v||v[0]==null||isNaN(v[0])||v[1]==null||isNaN(v[1])}j.exports=a},"6BzB":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.shrinkBuf=x,R.arraySet=b,R.flattenChunks=A,R.Buf32=R.Buf16=R.Buf8=void 0;function x(m,d){return m.length===d?m:m.subarray?m.subarray(0,d):(m.length=d,m)}function b(m,d,a,n,s){if(d.subarray&&m.subarray){m.set(d.subarray(a,a+n),s);return}for(var c=0;cs&&(n=0,a={}),n++,a[K]=W,W}function h(J,k,K,z,W,P,G,V){return G?g(J,k,K,z,W,P,G,V):p(J,k,K,z,W,P,V)}function p(J,k,K,z,W,P,G){var V=F(J,k,W,P,G),q=o(J,k);W&&(q+=W[1]+W[3]);var re=V.outerHeight,ce=v(0,q,K),ie=y(0,re,z),fe=new x(ce,ie,q,re);return fe.lineHeight=V.lineHeight,fe}function g(J,k,K,z,W,P,G,V){var q=H(J,{rich:G,truncate:V,font:k,textAlign:K,textPadding:W,textLineHeight:P}),re=q.outerWidth,ce=q.outerHeight,ie=v(0,re,K),fe=y(0,ce,z);return new x(ie,fe,re,ce)}function v(J,k,K){return K==="right"?J-=k:K==="center"&&(J-=k/2),J}function y(J,k,K){return K==="middle"?J-=k/2:K==="bottom"&&(J-=k),J}function w(J,k,K){var z=k.textPosition,W=k.textDistance,P=K.x,G=K.y;W=W||0;var V=K.height,q=K.width,re=V/2,ce="left",ie="top";switch(z){case"left":P-=W,G+=re,ce="right",ie="middle";break;case"right":P+=W+q,G+=re,ie="middle";break;case"top":P+=q/2,G-=W,ce="center",ie="bottom";break;case"bottom":P+=q/2,G+=V+W,ce="center";break;case"inside":P+=q/2,G+=re,ce="center",ie="middle";break;case"insideLeft":P+=W,G+=re,ie="middle";break;case"insideRight":P+=q-W,G+=re,ce="right",ie="middle";break;case"insideTop":P+=q/2,G+=W,ce="center";break;case"insideBottom":P+=q/2,G+=V-W,ce="center",ie="bottom";break;case"insideTopLeft":P+=W,G+=W;break;case"insideTopRight":P+=q-W,G+=W,ce="right";break;case"insideBottomLeft":P+=W,G+=V-W,ie="bottom";break;case"insideBottomRight":P+=q-W,G+=V-W,ce="right",ie="bottom";break}return J=J||{},J.x=P,J.y=G,J.textAlign=ce,J.textVerticalAlign=ie,J}function S(J,k,K){var z={textPosition:J,textDistance:K};return w({},z,k)}function _(J,k,K,z,W){if(!k)return"";var P=(J+"").split(` +`);W=I(k,K,z,W);for(var G=0,V=P.length;G=P;V++)G-=P;var q=o(K,k);return q>G&&(K="",q=0),G=J-q,z.ellipsis=K,z.ellipsisWidth=q,z.contentWidth=G,z.containerWidth=J,z}function C(J,k){var K=k.containerWidth,z=k.font,W=k.contentWidth;if(!K)return"";var P=o(J,z);if(P<=K)return J;for(var G=0;;G++){if(P<=W||G>=k.maxIterations){J+=k.ellipsis;break}var V=G===0?E(J,W,k.ascCharWidth,k.cnCharWidth):P>0?Math.floor(J.length*W/P):0;J=J.substr(0,V),P=o(J,z)}return J===""&&(J=k.placeholder),J}function E(J,k,K,z){for(var W=0,P=0,G=J.length;Pce)J="",G=[];else if(ie!=null)for(var fe=I(ie-(K?K[1]+K[3]:0),k,W.ellipsis,{minChar:W.minChar,placeholder:W.placeholder}),xe=0,Se=G.length;xez&&B(K,J.substring(z,P)),B(K,W[2],W[1]),z=c.lastIndex}zxe)return{lines:[],width:0,height:0};ue.textWidth=o(ue.text,Z);var te=Ge.textWidth,we=te==null||te==="auto";if(typeof te=="string"&&te.charAt(te.length-1)==="%")ue.percentWidth=te,re.push(ue),te=0;else{if(we){te=ue.textWidth;var pe=Ge.textBackgroundColor,De=pe&&pe.image;De&&(De=b.findExistImage(De),b.isImageReady(De)&&(te=Math.max(te,De.width*Y/De.height)))}var Ne=ae?ae[1]+ae[3]:0;te+=Ne;var me=fe!=null?fe-Be:null;me!=null&&me"],b.isArray(p)&&(p=p.slice(),I=!0),C=g?p:I?[E(p[0]),E(p[1])]:E(p),b.isString(_))return _.replace("{value}",I?C[0]:C).replace("{value2}",I?C[1]:C);if(b.isFunction(_))return I?_(p[0],p[1]):_(p);if(I)return p[0]===S[0]?v[0]+" "+C[1]:p[1]===S[1]?v[1]+" "+C[0]:C[0]+" - "+C[1];return C;function E(O){return O===S[0]?"min":O===S[1]?"max":(+O).toFixed(Math.min(w,20))}},resetExtent:function(){var p=this.option,g=i([p.min,p.max]);this._dataExtent=g},getDataDimension:function(p){var g=this.option.dimension,v=p.dimensions;if(g==null&&!v.length)return;if(g!=null)return p.getDimension(g);for(var y=p.dimensions,w=y.length-1;w>=0;w--){var S=y[w],_=p.getDimensionInfo(S);if(!_.isCalculationCoord)return S}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var p=this.ecModel,g=this.option,v={inRange:g.inRange,outOfRange:g.outOfRange},y=g.target||(g.target={}),w=g.controller||(g.controller={});b.merge(y,v),b.merge(w,v);var S=this.isCategory();_.call(this,y),_.call(this,w),I.call(this,y,"inRange","outOfRange"),C.call(this,w);function _(E){s(g.color)&&!E.inRange&&(E.inRange={color:g.color.slice().reverse()}),E.inRange=E.inRange||{color:p.get("gradientColor")},c(this.stateList,function(O){var M=E[O];if(b.isString(M)){var F=f.get(M,"active",S);F?(E[O]={},E[O][M]=F):delete E[O]}},this)}function I(E,O,M){var F=E[O],H=E[M];F&&!H&&(H=E[M]={},c(F,function(B,X){if(!t.isValidType(X))return;var J=f.get(X,"inactive",S);J!=null&&(H[X]=J,X==="color"&&!H.hasOwnProperty("opacity")&&!H.hasOwnProperty("colorAlpha")&&(H.opacity=[0,0]))}))}function C(E){var O=(E.inRange||{}).symbol||(E.outOfRange||{}).symbol,M=(E.inRange||{}).symbolSize||(E.outOfRange||{}).symbolSize,F=this.get("inactiveColor");c(this.stateList,function(H){var B=this.itemSize,X=E[H];X||(X=E[H]={color:S?F:[F]}),X.symbol==null&&(X.symbol=O&&b.clone(O)||(S?"roundRect":["roundRect"])),X.symbolSize==null&&(X.symbolSize=M&&b.clone(M)||(S?B[0]:[B[0],B[0]])),X.symbol=a(X.symbol,function(K){return K==="none"||K==="square"?"roundRect":K});var J=X.symbolSize;if(J!=null){var k=-Infinity;n(J,function(K){K>k&&(k=K)}),X.symbolSize=a(J,function(K){return u(K,[0,k],[0,B[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:r,getValueState:r,getVisualMeta:r}),h=o;j.exports=h},"6usn":function(j,R,l){var x=l("bYtY");function b(f,t){return x.map(["Radius","Angle"],function(e,m){var d=this["get"+e+"Axis"](),a=t[m],n=f[m]/2,s="dataTo"+e,c=d.type==="category"?d.getBandWidth():Math.abs(d[s](a-n)-d[s](a+n));return e==="Angle"&&(c=c*Math.PI/180),c},this)}function A(f){var t=f.getRadiusAxis(),e=f.getAngleAxis(),m=t.getExtent();return m[0]>m[1]&&m.reverse(),{coordSys:{type:"polar",cx:f.cx,cy:f.cy,r:m[1],r0:m[0]},api:{coord:x.bind(function(d){var a=t.dataToRadius(d[0]),n=e.dataToAngle(d[1]),s=f.coordToPoint([a,n]);return s.push(a,n*Math.PI/180),s}),size:x.bind(b,f)}}}j.exports=A},"6xvX":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("V7ic"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},"711d":function(j,R){function l(x){return function(b){return b==null?void 0:b[x]}}j.exports=l},"72pK":function(j,R){function l(A,f,t,e,m,d){A=A||0;var a=t[1]-t[0];if(m!=null&&(m=b(m,[0,a])),d!=null&&(d=Math.max(d,m!=null?m:0)),e==="all"){var n=Math.abs(f[1]-f[0]);n=b(n,[0,a]),m=d=b(n,[m,d]),e=0}f[0]=b(f[0],t),f[1]=b(f[1],t);var s=x(f,e);f[e]+=A;var c=m||0,i=t.slice();s.sign<0?i[0]+=c:i[1]-=c,f[e]=b(f[e],i);var u=x(f,e);m!=null&&(u.sign!==s.sign||u.spand&&(f[1-e]=f[e]+u.sign*d),f}function x(A,f){var t=A[f]-A[1-f];return{span:Math.abs(t),sign:t>0?-1:t<0?1:f?-1:1}}function b(A,f){return Math.min(f[1]!=null?f[1]:Infinity,Math.max(f[0]!=null?f[0]:-Infinity,A))}j.exports=l},"75ce":function(j,R,l){var x=l("ProS");l("IXuL"),l("8X+K");var b=l("f5Yq"),A=l("h8O9"),f=l("/d5a");l("Ae16"),x.registerVisual(b("line","circle","line")),x.registerLayout(A("line")),x.registerProcessor(x.PRIORITY.PROCESSOR.STATISTIC,f("line"))},"75ev":function(j,R,l){var x=l("ProS");l("IWNH"),l("bNin"),l("v5uJ");var b=l("f5Yq"),A=l("yik8");x.registerVisual(b("tree","circle")),x.registerLayout(A)},"7AJT":function(j,R,l){var x=l("bYtY"),b=l("hM6l"),A=function(t,e,m,d,a){b.call(this,t,e,m),this.type=d||"value",this.position=a||"bottom"};A.prototype={constructor:A,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return t==="top"||t==="bottom"},getGlobalExtent:function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t[this.dim==="x"?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},x.inherits(A,b);var f=A;j.exports=f},"7Cbv":function(j,R,l){"use strict";var x=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),b=new Uint8Array(16);function A(){if(!x)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return x(b)}var f=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function t(i){return typeof i=="string"&&f.test(i)}for(var e=t,m=[],d=0;d<256;++d)m.push((d+256).toString(16).substr(1));function a(i){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(m[i[u+0]]+m[i[u+1]]+m[i[u+2]]+m[i[u+3]]+"-"+m[i[u+4]]+m[i[u+5]]+"-"+m[i[u+6]]+m[i[u+7]]+"-"+m[i[u+8]]+m[i[u+9]]+"-"+m[i[u+10]]+m[i[u+11]]+m[i[u+12]]+m[i[u+13]]+m[i[u+14]]+m[i[u+15]]).toLowerCase();if(!e(r))throw TypeError("Stringified UUID is invalid");return r}var n=a;function s(i,u,r){i=i||{};var o=i.random||(i.rng||A)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,u){r=r||0;for(var h=0;h<16;++h)u[r+h]=o[h];return u}return n(o)}var c=R.a=s},"7DRL":function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("bYtY"),f=A.createHashMap,t=A.isString,e=A.isArray,m=A.each,d=A.assert,a=l("MEGo"),n=a.parseXML,s=f(),c={registerMap:function(u,r,o){var h;return e(r)?h=r:r.svg?h=[{type:"svg",source:r.svg,specialAreas:r.specialAreas}]:(r.geoJson&&!r.features&&(o=r.specialAreas,r=r.geoJson),h=[{type:"geoJSON",source:r,specialAreas:o}]),m(h,function(p){var g=p.type;g==="geoJson"&&(g=p.type="geoJSON");var v=i[g];v(p)}),s.set(u,h)},retrieveMap:function(u){return s.get(u)}},i={geoJSON:function(u){var r=u.source;u.geoJSON=t(r)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(r):new Function("return ("+r+");")():r},svg:function(u){u.svgXML=n(u.source)}};j.exports=c},"7G+c":function(j,R,l){var x=l("bYtY"),b=x.createHashMap,A=x.isTypedArray,f=l("Yl7c"),t=f.enableClassCheck,e=l("k9D9"),m=e.SOURCE_FORMAT_ORIGINAL,d=e.SERIES_LAYOUT_BY_COLUMN,a=e.SOURCE_FORMAT_UNKNOWN,n=e.SOURCE_FORMAT_TYPED_ARRAY,s=e.SOURCE_FORMAT_KEYED_COLUMNS;function c(u){this.fromDataset=u.fromDataset,this.data=u.data||(u.sourceFormat===s?{}:[]),this.sourceFormat=u.sourceFormat||a,this.seriesLayoutBy=u.seriesLayoutBy||d,this.dimensionsDefine=u.dimensionsDefine,this.encodeDefine=u.encodeDefine&&b(u.encodeDefine),this.startIndex=u.startIndex||0,this.dimensionsDetectCount=u.dimensionsDetectCount}c.seriesDataToSource=function(u){return new c({data:u,sourceFormat:A(u)?n:m,fromDataset:!1})},t(c);var i=c;j.exports=i},"7Kak":function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("KPFz"),f=l.n(A)},"7Phj":function(j,R,l){var x=l("bYtY"),b=l("OELB"),A=b.parsePercent,f=x.each;function t(a){var n=e(a);f(n,function(s){var c=s.seriesModels;if(!c.length)return;m(s),f(c,function(i,u){d(i,s.boxOffsetList[u],s.boxWidthList[u])})})}function e(a){var n=[],s=[];return a.eachSeriesByType("boxplot",function(c){var i=c.getBaseAxis(),u=x.indexOf(s,i);u<0&&(u=s.length,s[u]=i,n[u]={axis:i,seriesModels:[]}),n[u].seriesModels.push(c)}),n}function m(a){var n,s=a.axis,c=a.seriesModels,i=c.length,u=a.boxWidthList=[],r=a.boxOffsetList=[],o=[],h;if(s.type==="category")h=s.getBandWidth();else{var p=0;f(c,function(S){p=Math.max(p,S.getData().count())}),n=s.getExtent(),Math.abs(n[1]-n[0])/p}f(c,function(S){var _=S.get("boxWidth");x.isArray(_)||(_=[_,_]),o.push([A(_[0],h)||0,A(_[1],h)||0])});var g=h*.8-2,v=g/i*.3,y=(g-v*(i-1))/i,w=y/2-g/2;f(c,function(S,_){r.push(w),w+=v+y,u.push(Math.min(Math.max(y,o[_][0]),o[_][1]))})}function d(a,n,s){var c=a.coordinateSystem,i=a.getData(),u=s/2,r=a.get("layout")==="horizontal"?0:1,o=1-r,h=["x","y"],p=i.mapDimension(h[r]),g=i.mapDimension(h[o],!0);if(p==null||g.length<5)return;for(var v=0;v=0&&O.splice(M,1),C.__hoverMir=null},clearHover:function(C){for(var E=this._hoverElements,O=0;O15)break}}H.__drawIndex=V,H.__drawIndex0&&C>M[0]){for(B=0;BC);B++);H=O[M[B]]}if(M.splice(B+1,0,C),O[C]=E,!E.virtual)if(H){var J=H.dom;J.nextSibling?X.insertBefore(E.dom,J.nextSibling):X.appendChild(E.dom)}else X.firstChild?X.insertBefore(E.dom,X.firstChild):X.appendChild(E.dom)},eachLayer:function(C,E){var O=this._zlevelList,M,F;for(F=0;F0?i:0),this._needsManuallyCompositing),J.__builtin__||f("ZLevel "+X+" has been used by unkown layer "+J.id),J!==F&&(J.__used=!0,J.__startIndex!==O&&(J.__dirty=!0),J.__startIndex=O,J.incremental?J.__drawIndex=-1:J.__drawIndex=O,E(O),F=J),M.__dirty&&(J.__dirty=!0,J.incremental&&J.__drawIndex<0&&(J.__drawIndex=O))}E(O),this.eachBuiltinLayer(function(k,K){!k.__used&&k.getElementCount()>0&&(k.__dirty=!0,k.__startIndex=k.__endIndex=k.__drawIndex=0),k.__dirty&&k.__drawIndex<0&&(k.__drawIndex=k.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(C){C.clear()},setBackgroundColor:function(C){this._backgroundColor=C},configLayer:function(C,E){if(E){var O=this._layerConfig;O[C]?A.merge(O[C],E,!0):O[C]=E;for(var M=0;M=d&&(m=d-1),m<0&&(m=0)),this.option.currentIndex=m},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(m){this.option.autoPlay=!!m},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var m=this.option,d=m.data||[],a=m.axisType,n=this._names=[];if(a==="category"){var s=[];x.each(d,function(u,r){var o=f.getDataItemValue(u),h;x.isObject(u)?(h=x.clone(u),h.value=r):h=r,s.push(h),!x.isString(o)&&(o==null||isNaN(o))&&(o=""),n.push(o+"")}),d=s}var c={category:"ordinal",time:"time"}[a]||"number",i=this._data=new A([{name:"value",type:c}],this);i.initData(d,n)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),e=t;j.exports=e},"7aKB":function(j,R,l){var x=l("bYtY"),b=l("6GrX"),A=l("OELB");function f(w){return isNaN(w)?"-":(w=(w+"").split("."),w[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(w.length>1?"."+w[1]:""))}function t(w,S){return w=(w||"").toLowerCase().replace(/-(.)/g,function(_,I){return I.toUpperCase()}),S&&w&&(w=w.charAt(0).toUpperCase()+w.slice(1)),w}var e=x.normalizeCssArray,m=/([&<>"'])/g,d={"&":"&","<":"<",">":">",'"':""","'":"'"};function a(w){return w==null?"":(w+"").replace(m,function(S,_){return d[_]})}var n=["a","b","c","d","e","f","g"],s=function(w,S){return"{"+w+(S==null?"":S)+"}"};function c(w,S,_){x.isArray(S)||(S=[S]);var I=S.length;if(!I)return"";for(var C=S[0].$vars||[],E=0;E':'':{renderMode:C,content:"{marker"+E+"|} ",style:{color:_}}:""}function r(w,S){return w+="","0000".substr(0,S-w.length)+w}function o(w,S,_){(w==="week"||w==="month"||w==="quarter"||w==="half-year"||w==="year")&&(w=`MM-dd +yyyy`);var I=A.parseDate(S),C=_?"UTC":"",E=I["get"+C+"FullYear"](),O=I["get"+C+"Month"]()+1,M=I["get"+C+"Date"](),F=I["get"+C+"Hours"](),H=I["get"+C+"Minutes"](),B=I["get"+C+"Seconds"](),X=I["get"+C+"Milliseconds"]();return w=w.replace("MM",r(O,2)).replace("M",O).replace("yyyy",E).replace("yy",E%100).replace("dd",r(M,2)).replace("d",M).replace("hh",r(F,2)).replace("h",F).replace("mm",r(H,2)).replace("m",H).replace("ss",r(B,2)).replace("s",B).replace("SSS",r(X,3)),w}function h(w){return w&&w.charAt(0).toUpperCase()+w.substr(1)}var p=b.truncateText;function g(w){return b.getBoundingRect(w.text,w.font,w.textAlign,w.textVerticalAlign,w.textPadding,w.textLineHeight,w.rich,w.truncate)}function v(w,S,_,I,C,E,O,M){return b.getBoundingRect(w,S,_,I,C,M,E,O)}function y(w,S){if(S==="_blank"||S==="blank"){var _=window.open();_.opener=null,_.location=w}else window.open(w,S)}R.addCommas=f,R.toCamelCase=t,R.normalizeCssArray=e,R.encodeHTML=a,R.formatTpl=c,R.formatTplSimple=i,R.getTooltipMarker=u,R.formatTime=o,R.capitalFirst=h,R.truncateText=p,R.getTextBoundingRect=g,R.getTextRect=v,R.windowOpen=y},"7bkD":function(j,R,l){var x=l("bYtY");function b(A,f){f=f||{};var t=A.coordinateSystem,e=A.axis,m={},d=e.position,a=e.orient,n=t.getRect(),s=[n.x,n.x+n.width,n.y,n.y+n.height],c={horizontal:{top:s[2],bottom:s[3]},vertical:{left:s[0],right:s[1]}};m.position=[a==="vertical"?c.vertical[d]:s[0],a==="horizontal"?c.horizontal[d]:s[3]];var i={horizontal:0,vertical:1};m.rotation=Math.PI/2*i[a];var u={top:-1,bottom:1,right:1,left:-1};m.labelDirection=m.tickDirection=m.nameDirection=u[d],A.get("axisTick.inside")&&(m.tickDirection=-m.tickDirection),x.retrieve(f.labelInside,A.get("axisLabel.inside"))&&(m.labelDirection=-m.labelDirection);var r=f.rotate;return r==null&&(r=A.get("axisLabel.rotate")),m.labelRotation=d==="top"?-r:r,m.z2=1,m}R.layout=b},"7hqr":function(j,R,l){var x=l("bYtY"),b=x.each,A=x.isString;function f(m,d,a){a=a||{};var n=a.byIndex,s=a.stackedCoordDimension,c=!!(m&&m.get("stack")),i,u,r,o;if(b(d,function(v,y){A(v)&&(d[y]=v={name:v}),c&&!v.isExtraCoord&&(!n&&!i&&v.ordinalMeta&&(i=v),!u&&v.type!=="ordinal"&&v.type!=="time"&&(!s||s===v.coordDim)&&(u=v))}),u&&!n&&!i&&(n=!0),u){r="__\0ecstackresult",o="__\0ecstackedover",i&&(i.createInvertedIndices=!0);var h=u.coordDim,p=u.type,g=0;b(d,function(v){v.coordDim===h&&g++}),d.push({name:r,coordDim:h,coordDimIndex:g,type:p,isExtraCoord:!0,isCalculationCoord:!0}),g++,d.push({name:o,coordDim:o,coordDimIndex:g,type:p,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:u&&u.name,stackedByDimension:i&&i.name,isStackedByIndex:n,stackedOverDimension:o,stackResultDimension:r}}function t(m,d){return!!d&&d===m.getCalculationInfo("stackedDimension")}function e(m,d){return t(m,d)?m.getCalculationInfo("stackResultDimension"):d}R.enableDataStack=f,R.isDimensionStacked=t,R.getStackedDimension=e},"7mYs":function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("IwbS"),f=l("7aKB"),t=l("OELB"),e={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},m={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},d=x.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(a,n,s){var c=this.group;c.removeAll();var i=a.coordinateSystem,u=i.getRangeInfo(),r=i.getOrient();this._renderDayRect(a,u,c),this._renderLines(a,u,r,c),this._renderYearText(a,u,r,c),this._renderMonthText(a,r,c),this._renderWeekText(a,u,r,c)},_renderDayRect:function(a,n,s){for(var c=a.coordinateSystem,i=a.getModel("itemStyle").getItemStyle(),u=c.getCellWidth(),r=c.getCellHeight(),o=n.start.time;o<=n.end.time;o=c.getNextNDay(o,1).time){var h=c.dataToRect([o],!1).tl,p=new A.Rect({shape:{x:h[0],y:h[1],width:u,height:r},cursor:"default",style:i});s.add(p)}},_renderLines:function(a,n,s,c){var i=this,u=a.coordinateSystem,r=a.getModel("splitLine.lineStyle").getLineStyle(),o=a.get("splitLine.show"),h=r.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var p=n.start,g=0;p.time<=n.end.time;g++){y(p.formatedDate),g===0&&(p=u.getDateInfo(n.start.y+"-"+n.start.m));var v=p.date;v.setMonth(v.getMonth()+1),p=u.getDateInfo(v)}y(u.getNextNDay(n.end.time,1).formatedDate);function y(w){i._firstDayOfMonth.push(u.getDateInfo(w)),i._firstDayPoints.push(u.dataToRect([w],!1).tl);var S=i._getLinePointsOfOneWeek(a,w,s);i._tlpoints.push(S[0]),i._blpoints.push(S[S.length-1]),o&&i._drawSplitline(S,r,c)}o&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,h,s),r,c),o&&this._drawSplitline(i._getEdgesPoints(i._blpoints,h,s),r,c)},_getEdgesPoints:function(a,n,s){var c=[a[0].slice(),a[a.length-1].slice()],i=s==="horizontal"?0:1;return c[0][i]=c[0][i]-n/2,c[1][i]=c[1][i]+n/2,c},_drawSplitline:function(a,n,s){var c=new A.Polyline({z2:20,shape:{points:a},style:n});s.add(c)},_getLinePointsOfOneWeek:function(a,n,s){var c=a.coordinateSystem;n=c.getDateInfo(n);for(var i=[],u=0;u<7;u++){var r=c.getNextNDay(n.time,u),o=c.dataToRect([r.time],!1);i[2*r.day]=o.tl,i[2*r.day+1]=o[s==="horizontal"?"bl":"tr"]}return i},_formatterLabel:function(a,n){return typeof a=="string"&&a?f.formatTplSimple(a,n):typeof a=="function"?a(n):n.nameMap},_yearTextPositionControl:function(a,n,s,c,i){n=n.slice();var u=["center","bottom"];c==="bottom"?(n[1]+=i,u=["center","top"]):c==="left"?n[0]-=i:c==="right"?(n[0]+=i,u=["center","top"]):n[1]-=i;var r=0;return(c==="left"||c==="right")&&(r=Math.PI/2),{rotation:r,position:n,style:{textAlign:u[0],textVerticalAlign:u[1]}}},_renderYearText:function(a,n,s,c){var i=a.getModel("yearLabel");if(!i.get("show"))return;var u=i.get("margin"),r=i.get("position");r||(r=s!=="horizontal"?"top":"left");var o=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],h=(o[0][0]+o[1][0])/2,p=(o[0][1]+o[1][1])/2,g=s==="horizontal"?0:1,v={top:[h,o[g][1]],bottom:[h,o[1-g][1]],left:[o[1-g][0],p],right:[o[g][0],p]},y=n.start.y;+n.end.y>+n.start.y&&(y=y+"-"+n.end.y);var w=i.get("formatter"),S={start:n.start.y,end:n.end.y,nameMap:y},_=this._formatterLabel(w,S),I=new A.Text({z2:30});A.setTextStyle(I.style,i,{text:_}),I.attr(this._yearTextPositionControl(I,v[r],s,r,u)),c.add(I)},_monthTextPositionControl:function(a,n,s,c,i){var u="left",r="top",o=a[0],h=a[1];return s==="horizontal"?(h=h+i,n&&(u="center"),c==="start"&&(r="bottom")):(o=o+i,n&&(r="middle"),c==="start"&&(u="right")),{x:o,y:h,textAlign:u,textVerticalAlign:r}},_renderMonthText:function(a,n,s){var c=a.getModel("monthLabel");if(!c.get("show"))return;var i=c.get("nameMap"),u=c.get("margin"),r=c.get("position"),o=c.get("align"),h=[this._tlpoints,this._blpoints];b.isString(i)&&(i=e[i.toUpperCase()]||[]);var p=r==="start"?0:1,g=n==="horizontal"?0:1;u=r==="start"?-u:u;for(var v=o==="center",y=0;y1?(E.width=w,E.height=w/I):(E.height=w,E.width=w*I),E.y=y[1]-E.height/2,E.x=y[0]-E.width/2}else v=u.getBoxLayoutParams(),v.aspect=I,E=e.getLayoutRect(v,{width:S,height:_});this.setViewRect(E.x,E.y,E.width,E.height),this.setCenter(u.get("center")),this.setZoom(u.get("zoom"))}function s(u,r){f.each(r.get("geoCoord"),function(o,h){u.addGeoCoord(h,o)})}var c={dimensions:t.prototype.dimensions,create:function(u,r){var o=[];u.eachComponent("geo",function(p,g){var v=p.get("map"),y=p.get("aspectScale"),w=!0,S=a.retrieveMap(v);S&&S[0]&&S[0].type==="svg"?(y==null&&(y=1),w=!1):y==null&&(y=.75);var _=new t(v+g,v,p.get("nameMap"),w);_.aspectScale=y,_.zoomLimit=p.get("scaleLimit"),o.push(_),s(_,p),p.coordinateSystem=_,_.model=p,_.resize=n,_.resize(p,r)}),u.eachSeries(function(p){var g=p.get("coordinateSystem");if(g==="geo"){var v=p.get("geoIndex")||0;p.coordinateSystem=o[v]}});var h={};return u.eachSeriesByType("map",function(p){if(!p.getHostGeoModel()){var g=p.getMapType();h[g]=h[g]||[],h[g].push(p)}}),f.each(h,function(p,g){var v=f.map(p,function(w){return w.get("nameMap")}),y=new t(g,g,f.mergeAll(v));y.zoomLimit=f.retrieve.apply(null,f.map(p,function(w){return w.get("scaleLimit")})),o.push(y),y.resize=n,y.aspectScale=p[0].get("aspectScale"),y.resize(p[0],r),f.each(p,function(w){w.coordinateSystem=y,s(y,w)})}),o},getFilledRegions:function(u,r,o){for(var h=(u||[]).slice(),p=f.createHashMap(),g=0;g=32&&f<=255)return f;var t=x[f];return t!==void 0?t:16777216|f}};R.default=b},"815F":function(j,R,l){"use strict";l.d(R,"e",function(){return m}),l.d(R,"c",function(){return a}),l.d(R,"d",function(){return n}),l.d(R,"a",function(){return c}),l.d(R,"f",function(){return i}),l.d(R,"b",function(){return u});var x=l("KQm4"),b=l("VTBJ"),A=l("Ff2n"),f=l("Zm9Q"),t=l("Kwbf"),e=l("OZM5");function m(r,o){return r!=null?r:o}function d(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=new Map;function h(p){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(p||[]).forEach(function(v){var y=v.key,w=v.children;Object(t.a)(y!=null,"Tree node must have a certain key: [".concat(g).concat(y,"]"));var S=String(y);Object(t.a)(!o.has(S)||y===null||y===void 0,"Same 'key' exist in the Tree: ".concat(S)),o.set(S,!0),h(w,"".concat(g).concat(S," > "))})}h(r)}function a(r){function o(h){var p=Object(f.a)(h);return p.map(function(g){if(!Object(e.i)(g))return Object(t.a)(!g,"Tree/TreeNode can only accept TreeNode as children."),null;var v=g.key,y=g.props,w=y.children,S=Object(A.a)(y,["children"]),_=Object(b.a)({key:v},S),I=o(w);return I.length&&(_.children=I),_}).filter(function(g){return g})}return o(r)}function n(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],h=new Set(o===!0?[]:o),p=[];function g(v){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return v.map(function(w,S){var _=Object(e.h)(y?y.pos:"0",S),I=m(w.key,_),C=Object(b.a)(Object(b.a)({},w),{},{parent:y,pos:_,children:null,data:w,isStart:[].concat(Object(x.a)(y?y.isStart:[]),[S===0]),isEnd:[].concat(Object(x.a)(y?y.isEnd:[]),[S===v.length-1])});return p.push(C),o===!0||h.has(I)?C.children=g(w.children||[],C):C.children=[],C})}return g(r),p}function s(r,o,h){var p;h?typeof h=="string"?p=function(y){return y[h]}:typeof h=="function"&&(p=function(y){return h(y)}):p=function(y,w){return m(y.key,w)};function g(v,y,w){var S=v?v.children:r,_=v?Object(e.h)(w.pos,y):"0";if(v){var I=p(v,_),C={node:v,index:y,pos:_,key:I,parentPos:w.node?w.pos:null,level:w.level+1};o(C)}S&&S.forEach(function(E,O){g(E,O,{node:v,pos:_,level:w?w.level+1:-1})})}g(null)}function c(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=o.initWrapper,p=o.processEntity,g=o.onProcessFinished,v=arguments.length>2?arguments[2]:void 0,y={},w={},S={posEntities:y,keyEntities:w};return h&&(S=h(S)||S),s(r,function(_){var I=_.node,C=_.index,E=_.pos,O=_.key,M=_.parentPos,F=_.level,H={node:I,index:C,key:O,pos:E,level:F},B=m(O,E);y[E]=H,w[B]=H,H.parent=y[M],H.parent&&(H.parent.children=H.parent.children||[],H.parent.children.push(H)),p&&p(H,S)},v),g&&g(S),S}function i(r,o){var h=o.expandedKeys,p=o.selectedKeys,g=o.loadedKeys,v=o.loadingKeys,y=o.checkedKeys,w=o.halfCheckedKeys,S=o.dragOverNodeKey,_=o.dropPosition,I=o.keyEntities,C=I[r],E={eventKey:r,expanded:h.indexOf(r)!==-1,selected:p.indexOf(r)!==-1,loaded:g.indexOf(r)!==-1,loading:v.indexOf(r)!==-1,checked:y.indexOf(r)!==-1,halfChecked:w.indexOf(r)!==-1,pos:String(C?C.pos:""),dragOver:S===r&&_===0,dragOverGapTop:S===r&&_===-1,dragOverGapBottom:S===r&&_===1};return E}function u(r){var o=r.data,h=r.expanded,p=r.selected,g=r.checked,v=r.loaded,y=r.loading,w=r.halfChecked,S=r.dragOver,_=r.dragOverGapTop,I=r.dragOverGapBottom,C=r.pos,E=r.active,O=Object(b.a)(Object(b.a)({},o),{},{expanded:h,selected:p,checked:g,loaded:v,loading:y,halfChecked:w,dragOver:S,dragOverGapTop:_,dragOverGapBottom:I,pos:C,active:E});return"props"in O||Object.defineProperty(O,"props",{get:function(){return Object(t.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),r}}),O}},"8CQX":function(j,R,l){"use strict";function x(u){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(o){return typeof o}:x=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},x(u)}Object.defineProperty(R,"__esModule",{value:!0}),R.getKeycode=s,R.getKey=c,R.getKeysym=i;var b=n(l("mHUz")),A=n(l("8+yF")),f=n(l("6Qwc")),t=n(l("gIYZ")),e=n(l("mTgk")),m=a(l("GdRQ"));function d(){if(typeof WeakMap!="function")return null;var u=new WeakMap;return d=function(){return u},u}function a(u){if(u&&u.__esModule)return u;if(u===null||x(u)!=="object"&&typeof u!="function")return{default:u};var r=d();if(r&&r.has(u))return r.get(u);var o={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(Object.prototype.hasOwnProperty.call(u,p)){var g=h?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(o,p,g):o[p]=u[p]}return o.default=u,r&&r.set(u,o),o}function n(u){return u&&u.__esModule?u:{default:u}}function s(u){if(u.code){switch(u.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return u.code}if(u.type!=="keypress"&&u.keyCode in f.default){var r=f.default[u.keyCode];if(m.isMac()&&r==="ContextMenu"&&(r="MetaRight"),u.location===2)switch(r){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(u.location===3)switch(r){case"Delete":return"NumpadDecimal";case"Insert":return"Numpad0";case"End":return"Numpad1";case"ArrowDown":return"Numpad2";case"PageDown":return"Numpad3";case"ArrowLeft":return"Numpad4";case"ArrowRight":return"Numpad6";case"Home":return"Numpad7";case"ArrowUp":return"Numpad8";case"PageUp":return"Numpad9";case"Enter":return"NumpadEnter"}return r}return"Unidentified"}function c(u){if(u.key!==void 0){switch(u.key){case"Spacebar":return" ";case"Esc":return"Escape";case"Scroll":return"ScrollLock";case"Win":return"Meta";case"Apps":return"ContextMenu";case"Up":return"ArrowUp";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Down":return"ArrowDown";case"Del":return"Delete";case"Divide":return"/";case"Multiply":return"*";case"Subtract":return"-";case"Add":return"+";case"Decimal":return u.char}switch(u.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(u.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(u.key==="\0"&&u.code==="NumpadDecimal")return"Delete";if(!m.isIE()&&!m.isEdge())return u.key;if(u.key.length!==1&&u.key!=="Unidentified")return u.key}var r=s(u);return r in t.default?t.default[r]:u.charCode?String.fromCharCode(u.charCode):"Unidentified"}function i(u){var r=c(u);if(r==="Unidentified")return null;if(r in e.default){var o=u.location;if(r==="Meta"&&o===0&&(o=2),r==="Clear"&&o===3){var h=s(u);h==="NumLock"&&(o=0)}if((o===void 0||o>3)&&(o=0),r==="Meta"){var p=s(u);if(p==="AltLeft")return b.default.XK_Meta_L;if(p==="AltRight")return b.default.XK_Meta_R}if(r==="Clear"){var g=s(u);if(g==="NumLock")return b.default.XK_Num_Lock}return e.default[r][o]}if(r.length!==1)return null;var v=r.charCodeAt();return v?A.default.lookup(v):null}},"8EBN":function(j,R,l){(function(x){x(l("VrN/"))})(function(x){"use strict";x.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var b=0;b-1&&f.substring(m+1,f.length);if(d)return x.findModeByExtension(d)},x.findModeByName=function(f){f=f.toLowerCase();for(var t=0;t>v&1&&(this._zlibs[v].reset(),b.Info("Reset zlib stream "+v));this._ctl=this._ctl>>4}var y;if(this._ctl===8)y=this._fillRect(i,u,r,o,h,p,g);else if(this._ctl===9)y=this._jpegRect(i,u,r,o,h,p,g);else if(this._ctl===10)y=this._pngRect(i,u,r,o,h,p,g);else if((this._ctl&128)==0)y=this._basicRect(this._ctl,i,u,r,o,h,p,g);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return y&&(this._ctl=null),y}},{key:"_fillRect",value:function(i,u,r,o,h,p,g){if(h.rQwait("TIGHT",3))return!1;var v=h.rQi,y=h.rQ;return p.fillRect(i,u,r,o,[y[v+2],y[v+1],y[v]],!1),h.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(i,u,r,o,h,p,g){var v=this._readData(h);return v===null?!1:(p.imageRect(i,u,r,o,"image/jpeg",v),!0)}},{key:"_pngRect",value:function(i,u,r,o,h,p,g){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(i,u,r,o,h,p,g,v){if(this._filter===null)if(i&4){if(p.rQwait("TIGHT",1))return!1;this._filter=p.rQshift8()}else this._filter=0;var y=i&3,w;switch(this._filter){case 0:w=this._copyFilter(y,u,r,o,h,p,g,v);break;case 1:w=this._paletteFilter(y,u,r,o,h,p,g,v);break;case 2:w=this._gradientFilter(y,u,r,o,h,p,g,v);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return w&&(this._filter=null),w}},{key:"_copyFilter",value:function(i,u,r,o,h,p,g,v){var y=o*h*3,w;if(y<12){if(p.rQwait("TIGHT",y))return!1;w=p.rQshiftBytes(y)}else{if(w=this._readData(p),w===null)return!1;this._zlibs[i].setInput(w),w=this._zlibs[i].inflate(y),this._zlibs[i].setInput(null)}return g.blitRgbImage(u,r,o,h,w,0,!1),!0}},{key:"_paletteFilter",value:function(i,u,r,o,h,p,g,v){if(this._numColors===0){if(p.rQwait("TIGHT palette",1))return!1;var y=p.rQpeek8()+1,w=y*3;if(p.rQwait("TIGHT palette",1+w))return!1;this._numColors=y,p.rQskipBytes(1),p.rQshiftTo(this._palette,w)}var S=this._numColors<=2?1:8,_=Math.floor((o*S+7)/8),I=_*h,C;if(I<12){if(p.rQwait("TIGHT",I))return!1;C=p.rQshiftBytes(I)}else{if(C=this._readData(p),C===null)return!1;this._zlibs[i].setInput(C),C=this._zlibs[i].inflate(I),this._zlibs[i].setInput(null)}return this._numColors==2?this._monoRect(u,r,o,h,C,this._palette,g):this._paletteRect(u,r,o,h,C,this._palette,g),this._numColors=0,!0}},{key:"_monoRect",value:function(i,u,r,o,h,p,g){for(var v=this._getScratchBuffer(r*o*4),y=Math.floor((r+7)/8),w=Math.floor(r/8),S=0;S=0;E--)_=(S*r+C*8+7-E)*4,I=(h[S*y+C]>>E&1)*3,v[_]=p[I],v[_+1]=p[I+1],v[_+2]=p[I+2],v[_+3]=255;for(var O=7;O>=8-r%8;O--)_=(S*r+C*8+7-O)*4,I=(h[S*y+C]>>O&1)*3,v[_]=p[I],v[_+1]=p[I+1],v[_+2]=p[I+2],v[_+3]=255}g.blitRgbxImage(i,u,r,o,v,0,!1)}},{key:"_paletteRect",value:function(i,u,r,o,h,p,g){for(var v=this._getScratchBuffer(r*o*4),y=r*o*4,w=0,S=0;w=0;K--){var z=X[K].dimension,W=H.dimensions[z],P=H.getDimensionInfo(W);if(J=P&&P.coordDim,J==="x"||J==="y"){k=X[K];break}}if(!k)return;var G=B.getAxis(J),V=A.map(k.stops,function(ke){return{coord:G.toGlobalCoord(G.dataToCoord(ke.value)),color:ke.color}}),q=V.length,re=k.outerColors.slice();q&&V[0].coord>V[q-1].coord&&(V.reverse(),re.reverse());var ce=10,ie=V[0].coord-ce,fe=V[q-1].coord+ce,xe=fe-ie;if(xe<.001)return"transparent";A.each(V,function(ke){ke.offset=(ke.coord-ie)/xe}),V.push({offset:q?V[q-1].offset:.5,color:re[1]||"transparent"}),V.unshift({offset:q?V[0].offset:.5,color:re[0]||"transparent"});var Se=new a.LinearGradient(0,0,0,0,V,!0);return Se[J]=ie,Se[J+"2"]=fe,Se}function E(H,B,X){var J=H.get("showAllSymbol"),k=J==="auto";if(J&&!k)return;var K=X.getAxesByScale("ordinal")[0];if(!K)return;if(k&&O(K,B))return;var z=B.mapDimension(K.dim),W={};return A.each(K.getViewLabels(),function(P){W[P.tickValue]=1}),function(P){return!W.hasOwnProperty(B.get(z,P))}}function O(H,B){var X=H.getExtent(),J=Math.abs(X[1]-X[0])/H.scale.count();isNaN(J)&&(J=0);for(var k=B.count(),K=Math.max(1,Math.round(k/5)),z=0;zJ)return!1;return!0}function M(H,B,X){if(H.type==="cartesian2d"){var J=H.getBaseAxis().isHorizontal(),k=g(H,B,X);if(!X.get("clip",!0)){var K=k.shape,z=Math.max(K.width,K.height);J?(K.y-=z,K.height+=z*2):(K.x-=z,K.width+=z*2)}return k}else return v(H,B,X)}var F=u.extend({type:"line",init:function(){var H=new a.Group,B=new e;this.group.add(B.group),this._symbolDraw=B,this._lineGroup=H},render:function(H,B,X){var J=H.coordinateSystem,k=this.group,K=H.getData(),z=H.getModel("lineStyle"),W=H.getModel("areaStyle"),P=K.mapArray(K.getItemLayout),G=J.type==="polar",V=this._coordSys,q=this._symbolDraw,re=this._polyline,ce=this._polygon,ie=this._lineGroup,fe=H.get("animation"),xe=!W.isEmpty(),Se=W.get("origin"),ke=o(J,K,Se),ge=_(J,K,ke),Be=H.get("showSymbol"),ee=Be&&!G&&E(H,K,J),ue=this._data;ue&&ue.eachItemGraphicEl(function(pe,De){pe.__temp&&(k.remove(pe),ue.setItemGraphicEl(De,null))}),Be||q.remove(),k.add(ie);var Ge=!G&&H.get("step"),ae;J&&J.getArea&&H.get("clip",!0)&&(ae=J.getArea(),ae.width!=null?(ae.x-=.1,ae.y-=.1,ae.width+=.2,ae.height+=.2):ae.r0&&(ae.r0-=.5,ae.r1+=.5)),this._clipShapeForSymbol=ae,re&&V.type===J.type&&Ge===this._step?(xe&&!ce?ce=this._newPolygon(P,ge,J,fe):ce&&!xe&&(ie.remove(ce),ce=this._polygon=null),ie.setClipPath(M(J,!1,H)),Be&&q.updateData(K,{isIgnore:ee,clipShape:ae}),K.eachItemGraphicEl(function(pe){pe.stopAnimation(!0)}),(!y(this._stackedOnPoints,ge)||!y(this._points,P))&&(fe?this._updateAnimation(K,ge,J,X,Ge,Se):(Ge&&(P=I(P,J,Ge),ge=I(ge,J,Ge)),re.setShape({points:P}),ce&&ce.setShape({points:P,stackedOnPoints:ge})))):(Be&&q.updateData(K,{isIgnore:ee,clipShape:ae}),Ge&&(P=I(P,J,Ge),ge=I(ge,J,Ge)),re=this._newPolyline(P,J,fe),xe&&(ce=this._newPolygon(P,ge,J,fe)),ie.setClipPath(M(J,!0,H)));var Z=C(K,J)||K.getVisual("color");re.useStyle(A.defaults(z.getLineStyle(),{fill:"none",stroke:Z,lineJoin:"bevel"}));var Y=H.get("smooth");if(Y=S(H.get("smooth")),re.setShape({smooth:Y,smoothMonotone:H.get("smoothMonotone"),connectNulls:H.get("connectNulls")}),ce){var te=K.getCalculationInfo("stackedOnSeries"),we=0;ce.useStyle(A.defaults(W.getAreaStyle(),{fill:Z,opacity:.7,lineJoin:"bevel"})),te&&(we=S(te.get("smooth"))),ce.setShape({smooth:Y,stackedOnSmooth:we,smoothMonotone:H.get("smoothMonotone"),connectNulls:H.get("connectNulls")})}this._data=K,this._coordSys=J,this._stackedOnPoints=ge,this._points=P,this._step=Ge,this._valueOrigin=Se},dispose:function(){},highlight:function(H,B,X,J){var k=H.getData(),K=n.queryDataIndex(k,J);if(!(K instanceof Array)&&K!=null&&K>=0){var z=k.getItemGraphicEl(K);if(!z){var W=k.getItemLayout(K);if(!W)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(W[0],W[1]))return;z=new m(k,K),z.position=W,z.setZ(H.get("zlevel"),H.get("z")),z.ignore=isNaN(W[0])||isNaN(W[1]),z.__temp=!0,k.setItemGraphicEl(K,z),z.stopSymbolAnimation(!0),this.group.add(z)}z.highlight()}else u.prototype.highlight.call(this,H,B,X,J)},downplay:function(H,B,X,J){var k=H.getData(),K=n.queryDataIndex(k,J);if(K!=null&&K>=0){var z=k.getItemGraphicEl(K);z&&(z.__temp?(k.setItemGraphicEl(K,null),this.group.remove(z)):z.downplay())}else u.prototype.downplay.call(this,H,B,X,J)},_newPolyline:function(H){var B=this._polyline;return B&&this._lineGroup.remove(B),B=new c({shape:{points:H},silent:!0,z2:10}),this._lineGroup.add(B),this._polyline=B,B},_newPolygon:function(H,B){var X=this._polygon;return X&&this._lineGroup.remove(X),X=new i({shape:{points:H,stackedOnPoints:B},silent:!0}),this._lineGroup.add(X),this._polygon=X,X},_updateAnimation:function(H,B,X,J,k,K){var z=this._polyline,W=this._polygon,P=H.hostModel,G=d(this._data,H,this._stackedOnPoints,B,this._coordSys,X,this._valueOrigin,K),V=G.current,q=G.stackedOnCurrent,re=G.next,ce=G.stackedOnNext;if(k&&(V=I(G.current,X,k),q=I(G.stackedOnCurrent,X,k),re=I(G.next,X,k),ce=I(G.stackedOnNext,X,k)),w(V,re)>3e3||W&&w(q,ce)>3e3){z.setShape({points:re}),W&&W.setShape({points:re,stackedOnPoints:ce});return}z.shape.__points=G.current,z.shape.points=V,a.updateProps(z,{shape:{points:re}},P),W&&(W.setShape({points:V,stackedOnPoints:q}),a.updateProps(W,{shape:{points:re,stackedOnPoints:ce}},P));for(var ie=[],fe=G.status,xe=0;xet)return;var c=this._model.coordinateSystem.getSlidedAxisExpandWindow([d.offsetX,d.offsetY]);c.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:c.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(d){if(this._mouseDownPoint||!m(this,"mousemove"))return;var a=this._model,n=a.coordinateSystem.getSlidedAxisExpandWindow([d.offsetX,d.offsetY]),s=n.behavior;s==="jump"&&this._throttledDispatchExpand.debounceNextCall(a.get("axisExpandDebounce")),this._throttledDispatchExpand(s==="none"?null:{axisExpandWindow:n.axisExpandWindow,animation:s==="jump"?null:!1})}};function m(d,a){var n=d._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===a}x.registerPreprocessor(f)},"8x+h":function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("ProS"),f=l("bYtY"),t=l("K4ya"),e=l("Qxkt"),m=["#ddd"],d=A.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(s,c){var i=this.option;!c&&t.replaceVisualOption(i,s,["inBrush","outOfBrush"]);var u=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:m},u.hasOwnProperty("liftZ")||(u.liftZ=5)},setAreas:function(s){if(!s)return;this.areas=f.map(s,function(c){return a(this.option,c)},this)},setBrushOption:function(s){this.brushOption=a(this.option,s),this.brushType=this.brushOption.brushType}});function a(s,c){return f.merge({brushType:s.brushType,brushMode:s.brushMode,transformable:s.transformable,brushStyle:new e(s.brushStyle).getItemStyle(),removeOnClick:s.removeOnClick,z:s.z},c,!0)}var n=d;j.exports=n},"8z0m":function(j,R,l){"use strict";var x=l("lSNA"),b=l.n(x),A=l("RIqP"),f=l.n(A),t=l("pVnL"),e=l.n(t),m=l("J4zp"),d=l.n(m),a=l("q1tI"),n=l.n(a),s=l("TSYQ"),c=l.n(s);function i(Ht,Wt){var ot="cannot "+Ht.method+" "+Ht.action+" "+Wt.status+"'",et=new Error(ot);return et.status=Wt.status,et.method=Ht.method,et.url=Ht.action,et}function u(Ht){var Wt=Ht.responseText||Ht.response;if(!Wt)return Wt;try{return JSON.parse(Wt)}catch(ot){return Wt}}function r(Ht){var Wt=new XMLHttpRequest;Ht.onProgress&&Wt.upload&&(Wt.upload.onprogress=function(Gt){Gt.total>0&&(Gt.percent=Gt.loaded/Gt.total*100),Ht.onProgress(Gt)});var ot=new FormData;Ht.data&&Object.keys(Ht.data).forEach(function(Ze){var Gt=Ht.data[Ze];if(Array.isArray(Gt)){Gt.forEach(function(yr){ot.append(Ze+"[]",yr)});return}ot.append(Ze,Ht.data[Ze])}),Ht.file instanceof Blob?ot.append(Ht.filename,Ht.file,Ht.file.name):ot.append(Ht.filename,Ht.file),Wt.onerror=function(Gt){Ht.onError(Gt)},Wt.onload=function(){return Wt.status<200||Wt.status>=300?Ht.onError(i(Ht,Wt),u(Wt)):Ht.onSuccess(u(Wt),Wt)},Wt.open(Ht.method,Ht.action,!0),Ht.withCredentials&&"withCredentials"in Wt&&(Wt.withCredentials=!0);var et=Ht.headers||{};return et["X-Requested-With"]!==null&&Wt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(et).forEach(function(Ze){et[Ze]!==null&&Wt.setRequestHeader(Ze,et[Ze])}),Wt.send(ot),{abort:function(){Wt.abort()}}}var o=+new Date,h=0;function p(){return"rc-upload-"+o+"-"+ ++h}function g(Ht,Wt){return Ht.indexOf(Wt,Ht.length-Wt.length)!==-1}var v=function(Ht,Wt){if(Ht&&Wt){var ot=Array.isArray(Wt)?Wt:Wt.split(","),et=Ht.name||"",Ze=Ht.type||"",Gt=Ze.replace(/\/.*$/,"");return ot.some(function(yr){var br=yr.trim();return br.charAt(0)==="."?g(et.toLowerCase(),br.toLowerCase()):/\/\*$/.test(br)?Gt===br.replace(/\/.*$/,""):Ze===br})}return!0};function y(Ht,Wt){var ot=Ht.createReader(),et=[];function Ze(){ot.readEntries(function(Gt){var yr=Array.prototype.slice.apply(Gt);et=et.concat(yr);var br=!yr.length;br?Wt(et):Ze()})}Ze()}var w=function(Wt,ot,et){var Ze=function Gt(yr,br){br=br||"",yr.isFile?yr.file(function(Sr){et(Sr)&&(yr.fullPath&&!Sr.webkitRelativePath&&(Object.defineProperties(Sr,{webkitRelativePath:{writable:!0}}),Sr.webkitRelativePath=yr.fullPath.replace(/^\//,""),Object.defineProperties(Sr,{webkitRelativePath:{writable:!1}})),ot([Sr]))}):yr.isDirectory&&y(yr,function(Sr){Sr.forEach(function(Tn){Gt(Tn,""+br+yr.name+"/")})})};Wt.forEach(function(Gt){Ze(Gt.webkitGetAsEntry())})},S=w,_=Object.assign||function(Ht){for(var Wt=1;Wt=0)continue;if(!Object.prototype.hasOwnProperty.call(Ht,et))continue;ot[et]=Ht[et]}return ot}function M(Ht,Wt){if(!(Ht instanceof Wt))throw new TypeError("Cannot call a class as a function")}function F(Ht,Wt){if(!Ht)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Wt&&(typeof Wt=="object"||typeof Wt=="function")?Wt:Ht}function H(Ht,Wt){if(typeof Wt!="function"&&Wt!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Wt);Ht.prototype=Object.create(Wt&&Wt.prototype,{constructor:{value:Ht,enumerable:!1,writable:!0,configurable:!0}}),Wt&&(Object.setPrototypeOf?Object.setPrototypeOf(Ht,Wt):Ht.__proto__=Wt)}var B=function(Wt){return Object.keys(Wt).reduce(function(ot,et){return(et.substr(0,5)==="data-"||et.substr(0,5)==="aria-"||et==="role")&&(ot[et]=Wt[et]),ot},{})},X=function(Ht){H(Wt,Ht);function Wt(){var ot,et,Ze,Gt;M(this,Wt);for(var yr=arguments.length,br=Array(yr),Sr=0;Sr0&&arguments[0]!==void 0?arguments[0]:"",ot=Wt.split("/"),et=ot[ot.length-1],Ze=et.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Ze)||[""])[0]},Pe=function(Wt){return Wt.indexOf("image/")===0},Nt=function(Wt){if(Wt.type&&!Wt.thumbUrl)return Pe(Wt.type);var ot=Wt.thumbUrl||Wt.url,et=pt(ot);return/^data:image\//.test(ot)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(et)?!0:/^data:/.test(ot)?!1:!et},ut=200;function Ft(Ht){return new Promise(function(Wt){if(!Ht.type||!Pe(Ht.type)){Wt("");return}var ot=document.createElement("canvas");ot.width=ut,ot.height=ut,ot.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(ut,"px; height: ").concat(ut,"px; z-index: 9999; display: none;"),document.body.appendChild(ot);var et=ot.getContext("2d"),Ze=new Image;Ze.onload=function(){var Gt=Ze.width,yr=Ze.height,br=ut,Sr=ut,Tn=0,cn=0;Gt=1)&&(M=1),M}var w;(this._dirty||o==="reset")&&(this._dirty=!1,w=s(this,u)),this._modBy=g,this._modDataCount=v;var S=c&&c.step;if(i?this._dueEnd=i._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var _=this._dueIndex,I=Math.min(S!=null?this._dueIndex+S:Infinity,this._dueEnd);if(!u&&(w||_1&&r>0?g:p}};return h;function p(){return i=c?null:v=0;_--){var I=S[_],C=I.node,E=I.width,O=I.text;w>y.width&&(w-=E-g,E=g,O=null);var M=new x.Polygon({shape:{points:n(p,0,E,v,_===S.length-1,_===0)},style:A.defaults(r.getItemStyle(),{lineJoin:"bevel",text:O,textFill:o.getTextColor(),textFont:o.getFont()}),z:10,onclick:A.curry(h,C)});this.group.add(M),s(M,i,C),p+=E+m}},remove:function(){this.group.removeAll()}};function n(i,u,r,o,h,p){var g=[[h?i:i-d,u],[i+r,u],[i+r,u+o],[h?i:i-d,u+o]];return!p&&g.splice(2,0,[i+r+d,u+o/2]),!h&&g.push([i,u+o/2]),g}function s(i,u,r){i.eventData={componentType:"series",componentSubType:"treemap",componentIndex:u.componentIndex,seriesIndex:u.componentIndex,seriesName:u.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:r&&r.dataIndex,name:r&&r.name},treePathInfo:r&&t(r,u)}}var c=a;j.exports=c},"9u0u":function(j,R,l){var x=l("bYtY");function b(f,t){var e={};return x.each(f,function(m){m.each(m.mapDimension("value"),function(d,a){var n="ec-"+m.getName(a);e[n]=e[n]||[],isNaN(d)||e[n].push(d)})}),f[0].map(f[0].mapDimension("value"),function(m,d){for(var a="ec-"+f[0].getName(d),n=0,s=Infinity,c=-Infinity,i=e[a].length,u=0;u0){var me=Be==="button"?"".concat(pe,"-button"):pe;Ne=ge.map(function(it){return typeof it=="string"?t.createElement(y,{ref:J,key:it,prefixCls:me,disabled:ue,value:it,checked:V===it},it):t.createElement(y,{ref:J,key:"radio-group-value-options-".concat(it.value),prefixCls:me,disabled:it.disabled||ue,value:it.value,checked:V===it.value,style:it.style},it.label)})}var be=ae||W,Re=d()(De,"".concat(De,"-").concat(ee),(fe={},b()(fe,"".concat(De,"-").concat(be),be),b()(fe,"".concat(De,"-rtl"),z==="rtl"),fe),ke);return t.createElement("div",{className:Re,style:Z,onMouseEnter:te,onMouseLeave:we,id:Y},Ne)};return t.createElement(s,{value:{onChange:re,value:V,disabled:X.disabled,name:X.name}},ce())});C.defaultProps={buttonStyle:"outline"};var E=t.memo(C),O=function(X,J){var k={};for(var K in X)Object.prototype.hasOwnProperty.call(X,K)&&J.indexOf(K)<0&&(k[K]=X[K]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,K=Object.getOwnPropertySymbols(X);z=l;)c|=s&1,s>>=1;return s+c}function f(s,c,i,u){var r=c+1;if(r===i)return 1;if(u(s[r++],s[c])<0){for(;r=0;)r++;return r-c}function t(s,c,i){for(i--;c>>1,r(o,s[g])<0?p=g:h=g+1;var v=u-h;switch(v){case 3:s[h+3]=s[h+2];case 2:s[h+2]=s[h+1];case 1:s[h+1]=s[h];break;default:for(;v>0;)s[h+v]=s[h+v-1],v--}s[h]=o}}function m(s,c,i,u,r,o){var h=0,p=0,g=1;if(o(s,c[i+r])>0){for(p=u-r;g0;)h=g,g=(g<<1)+1,g<=0&&(g=p);g>p&&(g=p),h+=r,g+=r}else{for(p=r+1;gp&&(g=p);var v=h;h=r-g,g=r-v}for(h++;h>>1);o(s,c[i+y])>0?h=y+1:g=y}return g}function d(s,c,i,u,r,o){var h=0,p=0,g=1;if(o(s,c[i+r])<0){for(p=r+1;gp&&(g=p);var v=h;h=r-g,g=r-v}else{for(p=u-r;g=0;)h=g,g=(g<<1)+1,g<=0&&(g=p);g>p&&(g=p),h+=r,g+=r}for(h++;h>>1);o(s,c[i+y])<0?g=y:h=y+1}return g}function a(s,c){var i=x,u=0,r=b,o=0,h,p,g=0;u=s.length,u<2*b&&(r=u>>>1);var v=[];o=u<120?5:u<1542?10:u<119151?19:40,h=[],p=[];function y(E,O){h[g]=E,p[g]=O,g+=1}function w(){for(;g>1;){var E=g-2;if(E>=1&&p[E-1]<=p[E]+p[E+1]||E>=2&&p[E-2]<=p[E]+p[E-1])p[E-1]p[E+1])break;_(E)}}function S(){for(;g>1;){var E=g-2;E>0&&p[E-1]=x||z>=x);if(W)break;k<0&&(k=0),k+=2}if(i=k,i<1&&(i=1),O===1){for(H=0;H=0;H--)s[K+H]=s[k+H];s[J]=v[X];return}for(var z=i;;){var W=0,P=0,G=!1;do if(c(v[X],s[B])<0){if(s[J--]=s[B--],W++,P=0,--O===0){G=!0;break}}else if(s[J--]=v[X--],P++,W=0,--F===1){G=!0;break}while((W|P)=0;H--)s[K+H]=s[k+H];if(O===0){G=!0;break}}if(s[J--]=v[X--],--F===1){G=!0;break}if(P=F-m(s[B],v,0,F,F-1,c),P!==0){for(J-=P,X-=P,F-=P,K=J+1,k=X+1,H=0;H=x||P>=x);if(G)break;z<0&&(z=0),z+=2}if(i=z,i<1&&(i=1),F===1){for(J-=O,B-=O,K=J+1,k=B+1,H=O-1;H>=0;H--)s[K+H]=s[k+H];s[J]=v[X]}else{if(F===0)throw new Error;for(k=J-(F-1),H=0;Hp&&(g=p),e(s,i,i+g,i+o,c),o=g}h.pushRun(i,o),h.mergeRuns(),r-=o,i+=o}while(r!==0);h.forceMergeRuns()}j.exports=n},Bd2K:function(j,R,l){(function(x){x(l("VrN/"),l("osHv"))})(function(x){x.defineOption("autoCloseTags",!1,function(a,n,s){if(s!=x.Init&&s&&a.removeKeyMap("autoCloseTags"),!n)return;var c={name:"autoCloseTags"};(typeof n!="object"||n.whenClosing!==!1)&&(c["'/'"]=function(i){return e(i)}),(typeof n!="object"||n.whenOpening!==!1)&&(c["'>'"]=function(i){return f(i)}),a.addKeyMap(c)});var b=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],A=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function f(a){if(a.getOption("disableInput"))return x.Pass;for(var n=a.listSelections(),s=[],c=a.getOption("autoCloseTags"),i=0;iu.ch&&(g=g.slice(0,g.length-r.end+u.ch));var S=g.toLowerCase();if(!g||r.type=="string"&&(r.end!=u.ch||!/[\"\']/.test(r.string.charAt(r.string.length-1))||r.string.length==1)||r.type=="tag"&&p.close||r.string.indexOf("/")==u.ch-r.start-1||y&&m(y,S)>-1||d(a,o.mode.xmlCurrentContext&&o.mode.xmlCurrentContext(h)||[],g,u,!0))return x.Pass;var _=typeof c=="object"&&c.emptyTags;if(_&&m(_,g)>-1){s[i]={text:"/>",newPos:x.Pos(u.line,u.ch+2)};continue}var I=w&&m(w,S)>-1;s[i]={indent:I,text:">"+(I?` -`:"")+"",newPos:I?x.Pos(u.line+1,0):x.Pos(u.line,u.ch+1)}}for(var C=typeof c=="object"&&c.dontIndentOnAutoClose,i=n.length-1;i>=0;i--){var E=s[i];a.replaceRange(E.text,n[i].head,n[i].anchor,"+insert");var O=a.listSelections().slice(0);O[i]={head:E.newPos,anchor:E.newPos},a.setSelections(O),!C&&E.indent&&(a.indentLine(E.newPos.line,null,!0),a.indentLine(E.newPos.line+1,null,!0))}}function t(a,n){for(var s=a.listSelections(),c=[],i=n?"/":""&&(y+=">"),c[o]=y}if(a.replaceSelections(c),s=a.listSelections(),!r)for(var o=0;o=0&&n[h]==s;h--)++o;c=r.to;for(var h=1;h.5?w:y}function n(y,w,S,_,I){var C=y.length;if(I===1)for(var E=0;EI;if(C)y.length=I;else for(var E=_;E=0&&!(z[we]<=te);we--);we=Math.min(we,F-2)}else{for(we=ie;wete);we++);we=Math.min(we-1,F-2)}ie=we,fe=te;var pe=z[we+1]-z[we];if(pe===0)return;if(Se=(te-z[we])/pe,M)if(ge=K[we],ke=K[we===0?we:we-1],Be=K[we>F-2?F-1:we+1],ee=K[we>F-3?F-1:we+2],B)i(ke,ge,Be,ee,Se,Se*Se,Se*Se*Se,E(Y,I),k);else{var De;if(X)De=i(ke,ge,Be,ee,Se,Se*Se,Se*Se*Se,ue,1),De=o(ue);else{if(J)return a(ge,Be,Se);De=u(ke,ge,Be,ee,Se,Se*Se,Se*Se*Se)}O(Y,I,De)}else if(B)n(K[we],K[we+1],Se,E(Y,I),k);else{var De;if(X)n(K[we],K[we+1],Se,ue,1),De=o(ue);else{if(J)return a(K[we],K[we+1],Se);De=d(K[we],K[we+1],Se)}O(Y,I,De)}},ae=new x({target:y._target,life:W,loop:y._loop,delay:y._delay,onframe:Ge,ondestroy:S});return w&&w!=="spline"&&(ae.easing=w),ae}var g=function(w,S,_,I){this._tracks={},this._target=w,this._loop=S||!1,this._getter=_||e,this._setter=I||m,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};g.prototype={when:function(w,S){var _=this._tracks;for(var I in S){if(!S.hasOwnProperty(I))continue;if(!_[I]){_[I]=[];var C=this._getter(this._target,I);if(C==null)continue;w!==0&&_[I].push({time:0,value:r(C)})}_[I].push({time:w,value:S[I]})}return this},during:function(w){return this._onframeList.push(w),this},pause:function(){for(var w=0;ws&&(s=i.height)}this.height=s+1},getNodeById:function(n){if(this.getId()===n)return this;for(var s=0,c=this.children,i=c.length;s=0&&this.hostTree.data.setItemLayout(this.dataIndex,n,s)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(n){if(this.dataIndex<0)return;var s=this.hostTree,c=s.data.getItemModel(this.dataIndex),i=this.getLevelModel();return i?c.getModel(n,i.getModel(n)):c.getModel(n)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(n,s){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,n,s)},getVisual:function(n,s){return this.hostTree.data.getItemVisual(this.dataIndex,n,s)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(n){for(var s=n.parentNode;s;){if(s===this)return!0;s=s.parentNode}return!1},isDescendantOf:function(n){return n!==this&&n.isAncestorOf(this)}};function m(n,s){this.root,this.data,this._nodes=[],this.hostModel=n,this.levelModels=x.map(s||[],function(c){return new b(c,n,n.ecModel)})}m.prototype={constructor:m,type:"tree",eachNode:function(n,s,c){this.root.eachNode(n,s,c)},getNodeByDataIndex:function(n){var s=this.data.getRawIndex(n);return this._nodes[s]},getNodeByName:function(n){return this.root.getNodeByName(n)},update:function(){for(var n=this.data,s=this._nodes,c=0,i=s.length;c0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(i){this.option.selected=A.clone(i)},getValueState:function(i){var u=t.findPieceIndex(i,this._pieceList);return u!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[u])]?"inRange":"outOfRange"},findTargetDataIndices:function(i){var u=[];return this.eachTargetSeries(function(r){var o=[],h=r.getData();h.each(this.getDataDimension(h),function(p,g){var v=t.findPieceIndex(p,this._pieceList);v===i&&o.push(g)},this),u.push({seriesId:r.id,dataIndex:o})},this),u},getRepresentValue:function(i){var u;if(this.isCategory())u=i.value;else if(i.value!=null)u=i.value;else{var r=i.interval||[];u=r[0]===-Infinity&&r[1]===Infinity?0:(r[0]+r[1])/2}return u},getVisualMeta:function(i){if(this.isCategory())return;var u=[],r=[],o=this;function h(y,w){var S=o.getRepresentValue({interval:y});w||(w=o.getValueState(S));var _=i(S,w);y[0]===-Infinity?r[0]=_:y[1]===Infinity?r[1]=_:u.push({value:y[0],color:_},{value:y[1],color:_})}var p=this._pieceList.slice();if(!p.length)p.push({interval:[-Infinity,Infinity]});else{var g=p[0].interval[0];g!==-Infinity&&p.unshift({interval:[-Infinity,g]}),g=p[p.length-1].interval[1],g!==Infinity&&p.push({interval:[g,Infinity]})}var v=-Infinity;return A.each(p,function(y){var w=y.interval;w&&(w[0]>v&&h([v,w[0]],"outOfRange"),h(w.slice()),v=w[1])},this),{stops:u,outerColors:r}}}),n={splitNumber:function(){var i=this.option,u=this._pieceList,r=Math.min(i.precision,20),o=this.getExtent(),h=i.splitNumber;h=Math.max(parseInt(h,10),1),i.splitNumber=h;for(var p=(o[1]-o[0])/h;+p.toFixed(r)!==p&&r<5;)r++;i.precision=r,p=+p.toFixed(r),i.minOpen&&u.push({interval:[-Infinity,o[0]],close:[0,0]});for(var g=0,v=o[0];g","\u2265"][o[0]]];r.text=r.text||this.formatValueText(r.value!=null?r.value:r.interval,!1,h)},this)}};function s(i,u){var r=i.inverse;(i.orient==="vertical"?!r:r)&&u.reverse()}var c=a;j.exports=c},BvKs:function(j,R,l){"use strict";l.d(R,"a",function(){return ar});var x=l("pVnL"),b=l.n(x),A=l("lSNA"),f=l.n(A),t=l("lwsE"),e=l.n(t),m=l("W8MJ"),d=l.n(m),a=l("7W2i"),n=l.n(a),s=l("LQ03"),c=l.n(s),i=l("q1tI"),u=l("VTBJ"),r=l("1OyB"),o=l("vuIU"),h=l("JX7q"),p=l("Ji7U"),g=l("LK+K"),v=l("I8Z2"),y=l("BGR+"),w=l("wx14"),S=l("rePB"),_=l("4IlW"),I=l("2GS6"),C=l("Gytx"),E=l.n(C),O=l("TSYQ"),M=l.n(O),F=l("U8pU"),H=l("ODXe"),B=/iPhone/i,X=/iPod/i,J=/iPad/i,k=/\bAndroid(?:.+)Mobile\b/i,W=/Android/i,z=/\bAndroid(?:.+)SD4930UR\b/i,K=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,P=/Windows Phone/i,G=/\bWindows(?:.+)ARM\b/i,V=/BlackBerry/i,q=/BB10/i,re=/Opera Mini/i,ce=/\b(CriOS|Chrome)(?:.+)Mobile/i,ie=/Mobile(?:.+)Firefox\b/i;function fe(It,Ct){return It.test(Ct)}function xe(It){var Ct=It||(typeof navigator!="undefined"?navigator.userAgent:""),mr=Ct.split("[FBAN");if(typeof mr[1]!="undefined"){var gr=mr,Mt=Object(H.a)(gr,1);Ct=Mt[0]}if(mr=Ct.split("Twitter"),typeof mr[1]!="undefined"){var rr=mr,Dt=Object(H.a)(rr,1);Ct=Dt[0]}var tr={apple:{phone:fe(B,Ct)&&!fe(P,Ct),ipod:fe(X,Ct),tablet:!fe(B,Ct)&&fe(J,Ct)&&!fe(P,Ct),device:(fe(B,Ct)||fe(X,Ct)||fe(J,Ct))&&!fe(P,Ct)},amazon:{phone:fe(z,Ct),tablet:!fe(z,Ct)&&fe(K,Ct),device:fe(z,Ct)||fe(K,Ct)},android:{phone:!fe(P,Ct)&&fe(z,Ct)||!fe(P,Ct)&&fe(k,Ct),tablet:!fe(P,Ct)&&!fe(z,Ct)&&!fe(k,Ct)&&(fe(K,Ct)||fe(W,Ct)),device:!fe(P,Ct)&&(fe(z,Ct)||fe(K,Ct)||fe(k,Ct)||fe(W,Ct))||fe(/\bokhttp\b/i,Ct)},windows:{phone:fe(P,Ct),tablet:fe(G,Ct),device:fe(P,Ct)||fe(G,Ct)},other:{blackberry:fe(V,Ct),blackberry10:fe(q,Ct),opera:fe(re,Ct),firefox:fe(ie,Ct),chrome:fe(ce,Ct),device:fe(V,Ct)||fe(q,Ct)||fe(re,Ct)||fe(ie,Ct)||fe(ce,Ct)},any:null,phone:null,tablet:null};return tr.any=tr.apple.device||tr.android.device||tr.windows.device||tr.other.device,tr.phone=tr.apple.phone||tr.android.phone||tr.windows.phone,tr.tablet=tr.apple.tablet||tr.android.tablet||tr.windows.tablet,tr}var Se=Object(u.a)(Object(u.a)({},xe()),{},{isMobile:xe}),ke=Se;function ge(){}function Be(It,Ct,mr){var gr=Ct||"";return It.key||"".concat(gr,"item_").concat(mr)}function ee(It){return"".concat(It,"-menu-")}function ue(It,Ct){var mr=-1;i.Children.forEach(It,function(gr){mr+=1,gr&&gr.type&&gr.type.isMenuItemGroup?i.Children.forEach(gr.props.children,function(Mt){mr+=1,Ct(Mt,mr)}):Ct(gr,mr)})}function Ge(It,Ct,mr){if(!It||mr.find)return;i.Children.forEach(It,function(gr){if(gr){var Mt=gr.type;if(!Mt||!(Mt.isSubMenu||Mt.isMenuItem||Mt.isMenuItemGroup))return;Ct.indexOf(gr.key)!==-1?mr.find=!0:gr.props.children&&Ge(gr.props.children,Ct,mr)}})}var ae=["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","onSelect","onDeselect","onDestroy","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","onOpenChange","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","onItemHover","onTitleMouseEnter","onTitleMouseLeave","onTitleClick","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","motion","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],Z=function(Ct){var mr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,gr=Ct&&typeof Ct.getBoundingClientRect=="function"&&Ct.getBoundingClientRect().width;if(gr){if(mr){var Mt=getComputedStyle(Ct),rr=Mt.marginLeft,Dt=Mt.marginRight;gr+=+rr.replace("px","")+ +Dt.replace("px","")}gr=+gr.toFixed(6)}return gr||0},Y=function(Ct,mr,gr){Ct&&Object(F.a)(Ct.style)==="object"&&(Ct.style[mr]=gr)},te=function(){return ke.any},we=l("KQm4"),pe=l("Ff2n"),De=l("i8i4"),Ne=l("bdgK"),me=l("uciX"),be=l("8XRh"),Re={adjustX:1,adjustY:1},it={topLeft:{points:["bl","tl"],overflow:Re,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Re,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Re,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Re,offset:[4,0]}},yt={topLeft:{points:["bl","tl"],overflow:Re,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Re,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Re,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Re,offset:[4,0]}},pt=it,Pe=0,Nt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},ut=function(Ct,mr,gr){var Mt=ee(mr),rr=Ct.getState();Ct.setState({defaultActiveFirst:Object(u.a)(Object(u.a)({},rr.defaultActiveFirst),{},Object(S.a)({},Mt,gr))})},Ft=function(It){Object(p.a)(mr,It);var Ct=Object(g.a)(mr);function mr(gr){var Mt;Object(r.a)(this,mr),Mt=Ct.call(this,gr),Mt.onDestroy=function(Tr){Mt.props.onDestroy(Tr)},Mt.onKeyDown=function(Tr){var vn=Tr.keyCode,on=Mt.menuInstance,Gn=Mt.props,di=Gn.isOpen,Ti=Gn.store;if(vn===_.a.ENTER)return Mt.onTitleClick(Tr),ut(Ti,Mt.props.eventKey,!0),!0;if(vn===_.a.RIGHT)return di?on.onKeyDown(Tr):(Mt.triggerOpenChange(!0),ut(Ti,Mt.props.eventKey,!0)),!0;if(vn===_.a.LEFT){var Fi;if(di)Fi=on.onKeyDown(Tr);else return;return Fi||(Mt.triggerOpenChange(!1),Fi=!0),Fi}return di&&(vn===_.a.UP||vn===_.a.DOWN)?on.onKeyDown(Tr):void 0},Mt.onOpenChange=function(Tr){Mt.props.onOpenChange(Tr)},Mt.onPopupVisibleChange=function(Tr){Mt.triggerOpenChange(Tr,Tr?"mouseenter":"mouseleave")},Mt.onMouseEnter=function(Tr){var vn=Mt.props,on=vn.eventKey,Gn=vn.onMouseEnter,di=vn.store;ut(di,Mt.props.eventKey,!1),Gn({key:on,domEvent:Tr})},Mt.onMouseLeave=function(Tr){var vn=Mt.props,on=vn.parentMenu,Gn=vn.eventKey,di=vn.onMouseLeave;on.subMenuInstance=Object(h.a)(Mt),di({key:Gn,domEvent:Tr})},Mt.onTitleMouseEnter=function(Tr){var vn=Mt.props,on=vn.eventKey,Gn=vn.onItemHover,di=vn.onTitleMouseEnter;Gn({key:on,hover:!0}),di({key:on,domEvent:Tr})},Mt.onTitleMouseLeave=function(Tr){var vn=Mt.props,on=vn.parentMenu,Gn=vn.eventKey,di=vn.onItemHover,Ti=vn.onTitleMouseLeave;on.subMenuInstance=Object(h.a)(Mt),di({key:Gn,hover:!1}),Ti({key:Gn,domEvent:Tr})},Mt.onTitleClick=function(Tr){var vn=Object(h.a)(Mt),on=vn.props;if(on.onTitleClick({key:on.eventKey,domEvent:Tr}),on.triggerSubMenuAction==="hover")return;Mt.triggerOpenChange(!on.isOpen,"click"),ut(on.store,Mt.props.eventKey,!1)},Mt.onSubMenuClick=function(Tr){typeof Mt.props.onClick=="function"&&Mt.props.onClick(Mt.addKeyPath(Tr))},Mt.onSelect=function(Tr){Mt.props.onSelect(Tr)},Mt.onDeselect=function(Tr){Mt.props.onDeselect(Tr)},Mt.getPrefixCls=function(){return"".concat(Mt.props.rootPrefixCls,"-submenu")},Mt.getActiveClassName=function(){return"".concat(Mt.getPrefixCls(),"-active")},Mt.getDisabledClassName=function(){return"".concat(Mt.getPrefixCls(),"-disabled")},Mt.getSelectedClassName=function(){return"".concat(Mt.getPrefixCls(),"-selected")},Mt.getOpenClassName=function(){return"".concat(Mt.props.rootPrefixCls,"-submenu-open")},Mt.saveMenuInstance=function(Tr){Mt.menuInstance=Tr},Mt.addKeyPath=function(Tr){return Object(u.a)(Object(u.a)({},Tr),{},{keyPath:(Tr.keyPath||[]).concat(Mt.props.eventKey)})},Mt.triggerOpenChange=function(Tr,vn){var on=Mt.props.eventKey,Gn=function(){Mt.onOpenChange({key:on,item:Object(h.a)(Mt),trigger:vn,open:Tr})};vn==="mouseenter"?Mt.mouseenterTimeout=setTimeout(function(){Gn()},0):Gn()},Mt.isChildrenSelected=function(){var Tr={find:!1};return Ge(Mt.props.children,Mt.props.selectedKeys,Tr),Tr.find},Mt.isOpen=function(){return Mt.props.openKeys.indexOf(Mt.props.eventKey)!==-1},Mt.adjustWidth=function(){if(!Mt.subMenuTitle||!Mt.menuInstance)return;var Tr=De.findDOMNode(Mt.menuInstance);if(Tr.offsetWidth>=Mt.subMenuTitle.offsetWidth)return;Tr.style.minWidth="".concat(Mt.subMenuTitle.offsetWidth,"px")},Mt.saveSubMenuTitle=function(Tr){Mt.subMenuTitle=Tr},Mt.getBaseProps=function(){var Tr=Object(h.a)(Mt),vn=Tr.props;return{mode:vn.mode==="horizontal"?"vertical":vn.mode,visible:Mt.props.isOpen,level:vn.level+1,inlineIndent:vn.inlineIndent,focusable:!1,onClick:Mt.onSubMenuClick,onSelect:Mt.onSelect,onDeselect:Mt.onDeselect,onDestroy:Mt.onDestroy,selectedKeys:vn.selectedKeys,eventKey:"".concat(vn.eventKey,"-menu-"),openKeys:vn.openKeys,motion:vn.motion,onOpenChange:Mt.onOpenChange,subMenuOpenDelay:vn.subMenuOpenDelay,parentMenu:Object(h.a)(Mt),subMenuCloseDelay:vn.subMenuCloseDelay,forceSubMenuRender:vn.forceSubMenuRender,triggerSubMenuAction:vn.triggerSubMenuAction,builtinPlacements:vn.builtinPlacements,defaultActiveFirst:vn.store.getState().defaultActiveFirst[ee(vn.eventKey)],multiple:vn.multiple,prefixCls:vn.rootPrefixCls,id:Mt.internalMenuId,manualRef:Mt.saveMenuInstance,itemIcon:vn.itemIcon,expandIcon:vn.expandIcon,direction:vn.direction}},Mt.getMotion=function(Tr,vn){var on=Object(h.a)(Mt),Gn=on.haveRendered,di=Mt.props,Ti=di.motion,Fi=di.rootPrefixCls,la=Object(u.a)(Object(u.a)({},Ti),{},{leavedClassName:"".concat(Fi,"-hidden"),removeOnLeave:!1,motionAppear:Gn||!vn||Tr!=="inline"});return la};var rr=gr.store,Dt=gr.eventKey,tr=rr.getState(),Dr=tr.defaultActiveFirst;Mt.isRootMenu=!1;var dr=!1;return Dr&&(dr=Dr[Dt]),ut(rr,Dt,dr),Mt}return Object(o.a)(mr,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Mt=this,rr=this.props,Dt=rr.mode,tr=rr.parentMenu,Dr=rr.manualRef;if(Dr&&Dr(this),Dt!=="horizontal"||!tr.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return Mt.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var Mt=this.props,rr=Mt.onDestroy,Dt=Mt.eventKey;rr&&rr(Dt),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(Mt){var rr=this,Dt=this.getBaseProps(),tr=this.getMotion(Dt.mode,Dt.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||Dt.visible||Dt.forceSubMenuRender,!this.haveOpened)return i.createElement("div",null);var Dr=Dt.direction;return i.createElement(be.default,Object.assign({visible:Dt.visible},tr),function(dr){var Tr=dr.className,vn=dr.style,on=M()("".concat(Dt.prefixCls,"-sub"),Tr,Object(S.a)({},"".concat(Dt.prefixCls,"-rtl"),Dr==="rtl"));return i.createElement(kt,Object.assign({},Dt,{id:rr.internalMenuId,className:on,style:vn}),Mt)})}},{key:"render",value:function(){var Mt,rr=Object(u.a)({},this.props),Dt=rr.isOpen,tr=this.getPrefixCls(),Dr=rr.mode==="inline",dr=M()(tr,"".concat(tr,"-").concat(rr.mode),(Mt={},Object(S.a)(Mt,rr.className,!!rr.className),Object(S.a)(Mt,this.getOpenClassName(),Dt),Object(S.a)(Mt,this.getActiveClassName(),rr.active||Dt&&!Dr),Object(S.a)(Mt,this.getDisabledClassName(),rr.disabled),Object(S.a)(Mt,this.getSelectedClassName(),this.isChildrenSelected()),Mt));this.internalMenuId||(rr.eventKey?this.internalMenuId="".concat(rr.eventKey,"$Menu"):(Pe+=1,this.internalMenuId="$__$".concat(Pe,"$Menu")));var Tr={},vn={},on={};rr.disabled||(Tr={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},vn={onClick:this.onTitleClick},on={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Gn={},di=rr.direction;Dr&&(di==="rtl"?Gn.paddingRight=rr.inlineIndent*rr.level:Gn.paddingLeft=rr.inlineIndent*rr.level);var Ti={};this.props.isOpen&&(Ti={"aria-owns":this.internalMenuId});var Fi=null;rr.mode!=="horizontal"&&(Fi=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Fi=i.createElement(this.props.expandIcon,Object(u.a)({},this.props))));var la=i.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:Gn,className:"".concat(tr,"-title"),role:"button"},on,vn,{"aria-expanded":Dt},Ti,{"aria-haspopup":"true",title:typeof rr.title=="string"?rr.title:void 0}),rr.title,Fi||i.createElement("i",{className:"".concat(tr,"-arrow")})),Ta=this.renderChildren(rr.children),dt=rr.parentMenu.isRootMenu?rr.parentMenu.props.getPopupContainer:function(Lr){return Lr.parentNode},Me=Nt[rr.mode],Xe=rr.popupOffset?{offset:rr.popupOffset}:{},Qe=rr.mode==="inline"?"":rr.popupClassName;Qe+=di==="rtl"?" ".concat(tr,"-rtl"):"";var st=rr.disabled,nt=rr.triggerSubMenuAction,ft=rr.subMenuOpenDelay,Bt=rr.forceSubMenuRender,Et=rr.subMenuCloseDelay,nr=rr.builtinPlacements;ae.forEach(function(Lr){return delete rr[Lr]}),delete rr.onClick;var Ur=di==="rtl"?Object.assign({},yt,nr):Object.assign({},it,nr);return delete rr.direction,i.createElement("li",Object.assign({},rr,Tr,{className:dr,role:"menuitem"}),Dr&&la,Dr&&Ta,!Dr&&i.createElement(me.a,{prefixCls:tr,popupClassName:M()("".concat(tr,"-popup"),Qe),getPopupContainer:dt,builtinPlacements:Ur,popupPlacement:Me,popupVisible:Dt,popupAlign:Xe,popup:Ta,action:st?[]:[nt],mouseEnterDelay:ft,mouseLeaveDelay:Et,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:Bt},la))}}]),mr}(i.Component);Ft.defaultProps={onMouseEnter:ge,onMouseLeave:ge,onTitleMouseEnter:ge,onTitleMouseLeave:ge,onTitleClick:ge,manualRef:ge,mode:"vertical",title:""};var Ut=Object(v.b)(function(It,Ct){var mr=It.openKeys,gr=It.activeKey,Mt=It.selectedKeys,rr=Ct.eventKey,Dt=Ct.subMenuKey;return{isOpen:mr.indexOf(rr)>-1,active:gr[Dt]===rr,selectedKeys:Mt}})(Ft);Ut.isSubMenu=!0;var Wt=Ut,$t="menuitem-overflowed",or=.5,ht=function(It){Object(p.a)(mr,It);var Ct=Object(g.a)(mr);function mr(){var gr;return Object(r.a)(this,mr),gr=Ct.apply(this,arguments),gr.resizeObserver=null,gr.mutationObserver=null,gr.originalTotalWidth=0,gr.overflowedItems=[],gr.menuItemSizes=[],gr.cancelFrameId=null,gr.state={lastVisibleIndex:void 0},gr.getMenuItemNodes=function(){var Mt=gr.props.prefixCls,rr=De.findDOMNode(Object(h.a)(gr));return rr?[].slice.call(rr.children).filter(function(Dt){return Dt.className.split(" ").indexOf("".concat(Mt,"-overflowed-submenu"))<0}):[]},gr.getOverflowedSubMenuItem=function(Mt,rr,Dt){var tr=gr.props,Dr=tr.overflowedIndicator,dr=tr.level,Tr=tr.mode,vn=tr.prefixCls,on=tr.theme;if(dr!==1||Tr!=="horizontal")return null;var Gn=gr.props.children[0],di=Gn.props,Ti=di.children,Fi=di.title,la=di.style,Ta=Object(pe.a)(di,["children","title","style"]),dt=Object(u.a)({},la),Me="".concat(Mt,"-overflowed-indicator"),Xe="".concat(Mt,"-overflowed-indicator");rr.length===0&&Dt!==!0?dt=Object(u.a)(Object(u.a)({},dt),{},{display:"none"}):Dt&&(dt=Object(u.a)(Object(u.a)({},dt),{},{visibility:"hidden",position:"absolute"}),Me="".concat(Me,"-placeholder"),Xe="".concat(Xe,"-placeholder"));var Qe=on?"".concat(vn,"-").concat(on):"",st={};return ae.forEach(function(nt){Ta[nt]!==void 0&&(st[nt]=Ta[nt])}),i.createElement(Wt,Object.assign({title:Dr,className:"".concat(vn,"-overflowed-submenu"),popupClassName:Qe},st,{key:Me,eventKey:Xe,disabled:!1,style:dt}),rr)},gr.setChildrenWidthAndResize=function(){if(gr.props.mode!=="horizontal")return;var Mt=De.findDOMNode(Object(h.a)(gr));if(!Mt)return;var rr=Mt.children;if(!rr||rr.length===0)return;var Dt=Mt.children[rr.length-1];Y(Dt,"display","inline-block");var tr=gr.getMenuItemNodes(),Dr=tr.filter(function(dr){return dr.className.split(" ").indexOf($t)>=0});Dr.forEach(function(dr){Y(dr,"display","inline-block")}),gr.menuItemSizes=tr.map(function(dr){return Z(dr,!0)}),Dr.forEach(function(dr){Y(dr,"display","none")}),gr.overflowedIndicatorWidth=Z(Mt.children[Mt.children.length-1],!0),gr.originalTotalWidth=gr.menuItemSizes.reduce(function(dr,Tr){return dr+Tr},0),gr.handleResize(),Y(Dt,"display","none")},gr.handleResize=function(){if(gr.props.mode!=="horizontal")return;var Mt=De.findDOMNode(Object(h.a)(gr));if(!Mt)return;var rr=Z(Mt);gr.overflowedItems=[];var Dt=0,tr;gr.originalTotalWidth>rr+or&&(tr=-1,gr.menuItemSizes.forEach(function(Dr){Dt+=Dr,Dt+gr.overflowedIndicatorWidth<=rr&&(tr+=1)})),gr.setState({lastVisibleIndex:tr})},gr}return Object(o.a)(mr,[{key:"componentDidMount",value:function(){var Mt=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var rr=De.findDOMNode(this);if(!rr)return;this.resizeObserver=new Ne.default(function(Dt){Dt.forEach(function(){var tr=Mt.cancelFrameId;cancelAnimationFrame(tr),Mt.cancelFrameId=requestAnimationFrame(Mt.setChildrenWidthAndResize)})}),[].slice.call(rr.children).concat(rr).forEach(function(Dt){Mt.resizeObserver.observe(Dt)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){Mt.resizeObserver.disconnect(),[].slice.call(rr.children).concat(rr).forEach(function(Dt){Mt.resizeObserver.observe(Dt)}),Mt.setChildrenWidthAndResize()}),this.mutationObserver.observe(rr,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(Mt){var rr=this,Dt=this.state.lastVisibleIndex;return(Mt||[]).reduce(function(tr,Dr,dr){var Tr=Dr;if(rr.props.mode==="horizontal"){var vn=rr.getOverflowedSubMenuItem(Dr.props.eventKey,[]);Dt!==void 0&&rr.props.className.indexOf("".concat(rr.props.prefixCls,"-root"))!==-1&&(dr>Dt&&(Tr=i.cloneElement(Dr,{style:{display:"none"},eventKey:"".concat(Dr.props.eventKey,"-hidden"),className:"".concat($t)})),dr===Dt+1&&(rr.overflowedItems=Mt.slice(Dt+1).map(function(Gn){return i.cloneElement(Gn,{key:Gn.props.eventKey,mode:"vertical-left"})}),vn=rr.getOverflowedSubMenuItem(Dr.props.eventKey,rr.overflowedItems)));var on=[].concat(Object(we.a)(tr),[vn,Tr]);return dr===Mt.length-1&&on.push(rr.getOverflowedSubMenuItem(Dr.props.eventKey,[],!0)),on}return[].concat(Object(we.a)(tr),[Tr])},[])}},{key:"render",value:function(){var Mt=this.props,rr=Mt.visible,Dt=Mt.prefixCls,tr=Mt.overflowedIndicator,Dr=Mt.mode,dr=Mt.level,Tr=Mt.tag,vn=Mt.children,on=Mt.theme,Gn=Object(pe.a)(Mt,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),di=Tr;return i.createElement(di,Object.assign({},Gn),this.renderChildren(vn))}}]),mr}(i.Component);ht.defaultProps={tag:"div",className:""};var Ee=ht;function de(It){return It.length?It.every(function(Ct){return!!Ct.props.disabled}):!0}function qe(It,Ct,mr){var gr=It.getState();It.setState({activeKey:Object(u.a)(Object(u.a)({},gr.activeKey),{},Object(S.a)({},Ct,mr))})}function rt(It){return It.eventKey||"0-menu-"}function ve(It,Ct){var mr=Ct,gr=It.children,Mt=It.eventKey;if(mr){var rr;if(ue(gr,function(Dt,tr){Dt&&Dt.props&&!Dt.props.disabled&&mr===Be(Dt,Mt,tr)&&(rr=!0)}),rr)return mr}return mr=null,It.defaultActiveFirst&&ue(gr,function(Dt,tr){!mr&&Dt&&!Dt.props.disabled&&(mr=Be(Dt,Mt,tr))}),mr}function bt(It){if(It){var Ct=this.instanceArray.indexOf(It);Ct!==-1?this.instanceArray[Ct]=It:this.instanceArray.push(It)}}var jt=function(It){Object(p.a)(mr,It);var Ct=Object(g.a)(mr);function mr(gr){var Mt;return Object(r.a)(this,mr),Mt=Ct.call(this,gr),Mt.onKeyDown=function(rr,Dt){var tr=rr.keyCode,Dr;if(Mt.getFlatInstanceArray().forEach(function(Tr){Tr&&Tr.props.active&&Tr.onKeyDown&&(Dr=Tr.onKeyDown(rr))}),Dr)return 1;var dr=null;return(tr===_.a.UP||tr===_.a.DOWN)&&(dr=Mt.step(tr===_.a.UP?-1:1)),dr?(rr.preventDefault(),qe(Mt.props.store,rt(Mt.props),dr.props.eventKey),typeof Dt=="function"&&Dt(dr),1):void 0},Mt.onItemHover=function(rr){var Dt=rr.key,tr=rr.hover;qe(Mt.props.store,rt(Mt.props),tr?Dt:null)},Mt.onDeselect=function(rr){Mt.props.onDeselect(rr)},Mt.onSelect=function(rr){Mt.props.onSelect(rr)},Mt.onClick=function(rr){Mt.props.onClick(rr)},Mt.onOpenChange=function(rr){Mt.props.onOpenChange(rr)},Mt.onDestroy=function(rr){Mt.props.onDestroy(rr)},Mt.getFlatInstanceArray=function(){return Mt.instanceArray},Mt.step=function(rr){var Dt=Mt.getFlatInstanceArray(),tr=Mt.props.store.getState().activeKey[rt(Mt.props)],Dr=Dt.length;if(!Dr)return null;rr<0&&(Dt=Dt.concat().reverse());var dr=-1;if(Dt.every(function(Gn,di){return Gn&&Gn.props.eventKey===tr?(dr=di,!1):!0}),!Mt.props.defaultActiveFirst&&dr!==-1&&de(Dt.slice(dr,Dr-1)))return;var Tr=(dr+1)%Dr,vn=Tr;do{var on=Dt[vn];if(!on||on.props.disabled)vn=(vn+1)%Dr;else return on}while(vn!==Tr);return null},Mt.renderCommonMenuItem=function(rr,Dt,tr){var Dr=Mt.props.store.getState(),dr=Object(h.a)(Mt),Tr=dr.props,vn=Be(rr,Tr.eventKey,Dt),on=rr.props;if(!on||typeof rr.type=="string")return rr;var Gn=vn===Dr.activeKey,di=Object(u.a)(Object(u.a)({mode:on.mode||Tr.mode,level:Tr.level,inlineIndent:Tr.inlineIndent,renderMenuItem:Mt.renderMenuItem,rootPrefixCls:Tr.prefixCls,index:Dt,parentMenu:Tr.parentMenu,manualRef:on.disabled?void 0:Object(I.a)(rr.ref,bt.bind(Object(h.a)(Mt))),eventKey:vn,active:!on.disabled&&Gn,multiple:Tr.multiple,onClick:function(Fi){(on.onClick||ge)(Fi),Mt.onClick(Fi)},onItemHover:Mt.onItemHover,motion:Tr.motion,subMenuOpenDelay:Tr.subMenuOpenDelay,subMenuCloseDelay:Tr.subMenuCloseDelay,forceSubMenuRender:Tr.forceSubMenuRender,onOpenChange:Mt.onOpenChange,onDeselect:Mt.onDeselect,onSelect:Mt.onSelect,builtinPlacements:Tr.builtinPlacements,itemIcon:on.itemIcon||Mt.props.itemIcon,expandIcon:on.expandIcon||Mt.props.expandIcon},tr),{},{direction:Tr.direction});return(Tr.mode==="inline"||te())&&(di.triggerSubMenuAction="click"),i.cloneElement(rr,di)},Mt.renderMenuItem=function(rr,Dt,tr){if(!rr)return null;var Dr=Mt.props.store.getState(),dr={openKeys:Dr.openKeys,selectedKeys:Dr.selectedKeys,triggerSubMenuAction:Mt.props.triggerSubMenuAction,subMenuKey:tr};return Mt.renderCommonMenuItem(rr,Dt,dr)},gr.store.setState({activeKey:Object(u.a)(Object(u.a)({},gr.store.getState().activeKey),{},Object(S.a)({},gr.eventKey,ve(gr,gr.activeKey)))}),Mt.instanceArray=[],Mt}return Object(o.a)(mr,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(Mt){return this.props.visible||Mt.visible||this.props.className!==Mt.className||!E()(this.props.style,Mt.style)}},{key:"componentDidUpdate",value:function(Mt){var rr=this.props,Dt="activeKey"in rr?rr.activeKey:rr.store.getState().activeKey[rt(rr)],tr=ve(rr,Dt);if(tr!==Dt)qe(rr.store,rt(rr),tr);else if("activeKey"in Mt){var Dr=ve(Mt,Mt.activeKey);tr!==Dr&&qe(rr.store,rt(rr),tr)}}},{key:"render",value:function(){var Mt=this,rr=Object(w.a)({},this.props);this.instanceArray=[];var Dt=M()(rr.prefixCls,rr.className,"".concat(rr.prefixCls,"-").concat(rr.mode)),tr={className:Dt,role:rr.role||"menu"};rr.id&&(tr.id=rr.id),rr.focusable&&(tr.tabIndex=0,tr.onKeyDown=this.onKeyDown);var Dr=rr.prefixCls,dr=rr.eventKey,Tr=rr.visible,vn=rr.level,on=rr.mode,Gn=rr.overflowedIndicator,di=rr.theme;return ae.forEach(function(Ti){return delete rr[Ti]}),delete rr.onClick,i.createElement(Ee,Object.assign({},rr,{prefixCls:Dr,mode:on,tag:"ul",level:vn,theme:di,visible:Tr,overflowedIndicator:Gn},tr),i.Children.map(rr.children,function(Ti,Fi){return Mt.renderMenuItem(Ti,Fi,dr||"0-menu-")}))}}]),mr}(i.Component);jt.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:ge};var He=Object(v.b)()(jt),kt=He,Ar=l("Kwbf");function at(It,Ct,mr){var gr=It.prefixCls,Mt=It.motion,rr=It.defaultMotions,Dt=rr===void 0?{}:rr,tr=It.openAnimation,Dr=It.openTransitionName,dr=Ct.switchingModeFromInline;if(Mt)return Mt;if(Object(F.a)(tr)==="object"&&tr)Object(Ar.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof tr=="string")return{motionName:"".concat(gr,"-open-").concat(tr)};if(Dr)return{motionName:Dr};var Tr=Dt[mr];return Tr||(dr?null:Dt.other)}var Ht=function(It){Object(p.a)(mr,It);var Ct=Object(g.a)(mr);function mr(gr){var Mt;Object(r.a)(this,mr),Mt=Ct.call(this,gr),Mt.inlineOpenKeys=[],Mt.onSelect=function(tr){var Dr=Object(h.a)(Mt),dr=Dr.props;if(dr.selectable){var Tr=Mt.store.getState(),vn=Tr.selectedKeys,on=tr.key;dr.multiple?vn=vn.concat([on]):vn=[on],"selectedKeys"in dr||Mt.store.setState({selectedKeys:vn}),dr.onSelect(Object(u.a)(Object(u.a)({},tr),{},{selectedKeys:vn}))}},Mt.onClick=function(tr){var Dr=Mt.getRealMenuMode(),dr=Object(h.a)(Mt),Tr=dr.store,vn=dr.props.onOpenChange;Dr!=="inline"&&!("openKeys"in Mt.props)&&(Tr.setState({openKeys:[]}),vn([])),Mt.props.onClick(tr)},Mt.onKeyDown=function(tr,Dr){Mt.innerMenu.getWrappedInstance().onKeyDown(tr,Dr)},Mt.onOpenChange=function(tr){var Dr=Object(h.a)(Mt),dr=Dr.props,Tr=Mt.store.getState().openKeys.concat(),vn=!1,on=function(di){var Ti=!1;if(di.open)Ti=Tr.indexOf(di.key)===-1,Ti&&Tr.push(di.key);else{var Fi=Tr.indexOf(di.key);Ti=Fi!==-1,Ti&&Tr.splice(Fi,1)}vn=vn||Ti};Array.isArray(tr)?tr.forEach(on):on(tr),vn&&("openKeys"in Mt.props||Mt.store.setState({openKeys:Tr}),dr.onOpenChange(Tr))},Mt.onDeselect=function(tr){var Dr=Object(h.a)(Mt),dr=Dr.props;if(dr.selectable){var Tr=Mt.store.getState().selectedKeys.concat(),vn=tr.key,on=Tr.indexOf(vn);on!==-1&&Tr.splice(on,1),"selectedKeys"in dr||Mt.store.setState({selectedKeys:Tr}),dr.onDeselect(Object(u.a)(Object(u.a)({},tr),{},{selectedKeys:Tr}))}},Mt.onMouseEnter=function(tr){Mt.restoreModeVerticalFromInline();var Dr=Mt.props.onMouseEnter;Dr&&Dr(tr)},Mt.onTransitionEnd=function(tr){var Dr=tr.propertyName==="width"&&tr.target===tr.currentTarget,dr=tr.target.className,Tr=Object.prototype.toString.call(dr)==="[object SVGAnimatedString]"?dr.animVal:dr,vn=tr.propertyName==="font-size"&&Tr.indexOf("anticon")>=0;(Dr||vn)&&Mt.restoreModeVerticalFromInline()},Mt.setInnerMenu=function(tr){Mt.innerMenu=tr},Mt.isRootMenu=!0;var rr=gr.defaultSelectedKeys,Dt=gr.defaultOpenKeys;return"selectedKeys"in gr&&(rr=gr.selectedKeys||[]),"openKeys"in gr&&(Dt=gr.openKeys||[]),Mt.store=Object(v.c)({selectedKeys:rr,openKeys:Dt,activeKey:{"0-menu-":ve(gr,gr.activeKey)}}),Mt.state={switchingModeFromInline:!1},Mt}return Object(o.a)(mr,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(Mt){this.updateOpentKeysWhenSwitchMode(Mt),this.updateMiniStore();var rr=this.props,Dt=rr.siderCollapsed,tr=rr.inlineCollapsed,Dr=rr.onOpenChange;(!Mt.inlineCollapsed&&tr||!Mt.siderCollapsed&&Dt)&&Dr([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(Mt){var rr=this.props,Dt=this.store,tr=this.inlineOpenKeys,Dr=Dt.getState(),dr={};Mt.mode==="inline"&&rr.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in rr||((rr.inlineCollapsed&&!Mt.inlineCollapsed||rr.siderCollapsed&&!Mt.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=Dr.openKeys.concat(),dr.openKeys=[]),(!rr.inlineCollapsed&&Mt.inlineCollapsed||!rr.siderCollapsed&&Mt.siderCollapsed)&&(dr.openKeys=tr,this.inlineOpenKeys=[])),Object.keys(dr).length&&Dt.setState(dr)}},{key:"updateMenuDisplay",value:function(){var Mt=this.props.collapsedWidth,rr=this.store,Dt=this.prevOpenKeys,tr=this.getInlineCollapsed()&&(Mt===0||Mt==="0"||Mt==="0px");tr?(this.prevOpenKeys=rr.getState().openKeys.concat(),this.store.setState({openKeys:[]})):Dt&&(this.store.setState({openKeys:Dt}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var Mt=this.props.mode,rr=this.state.switchingModeFromInline,Dt=this.getInlineCollapsed();return rr&&Dt?"inline":Dt?"vertical":Mt}},{key:"getInlineCollapsed",value:function(){var Mt=this.props,rr=Mt.inlineCollapsed,Dt=Mt.siderCollapsed;return Dt!==void 0?Dt:rr}},{key:"restoreModeVerticalFromInline",value:function(){var Mt=this.state.switchingModeFromInline;Mt&&this.setState({switchingModeFromInline:!1})}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var Mt=Object(u.a)({},Object(y.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),rr=this.getRealMenuMode();return Mt.className+=" ".concat(Mt.prefixCls,"-root"),Mt.direction==="rtl"&&(Mt.className+=" ".concat(Mt.prefixCls,"-rtl")),Mt=Object(u.a)(Object(u.a)({},Mt),{},{mode:rr,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:at(this.props,this.state,rr)}),delete Mt.openAnimation,delete Mt.openTransitionName,i.createElement(v.a,{store:this.store},i.createElement(kt,Object.assign({},Mt,{ref:this.setInnerMenu}),this.props.children))}}]),mr}(i.Component);Ht.defaultProps={selectable:!0,onClick:ge,onSelect:ge,onOpenChange:ge,onDeselect:ge,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:i.createElement("span",null,"\xB7\xB7\xB7")};var Kt=Ht,ot=function(It){Object(p.a)(mr,It);var Ct=Object(g.a)(mr);function mr(){var gr;return Object(r.a)(this,mr),gr=Ct.apply(this,arguments),gr.onKeyDown=function(Mt){var rr=Mt.keyCode;return rr===_.a.ENTER?(gr.onClick(Mt),!0):void 0},gr.onMouseLeave=function(Mt){var rr=gr.props,Dt=rr.eventKey,tr=rr.onItemHover,Dr=rr.onMouseLeave;tr({key:Dt,hover:!1}),Dr({key:Dt,domEvent:Mt})},gr.onMouseEnter=function(Mt){var rr=gr.props,Dt=rr.eventKey,tr=rr.onItemHover,Dr=rr.onMouseEnter;tr({key:Dt,hover:!0}),Dr({key:Dt,domEvent:Mt})},gr.onClick=function(Mt){var rr=gr.props,Dt=rr.eventKey,tr=rr.multiple,Dr=rr.onClick,dr=rr.onSelect,Tr=rr.onDeselect,vn=rr.isSelected,on={key:Dt,keyPath:[Dt],item:Object(h.a)(gr),domEvent:Mt};Dr(on),tr?vn?Tr(on):dr(on):vn||dr(on)},gr.saveNode=function(Mt){gr.node=Mt},gr}return Object(o.a)(mr,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var Mt=this.props;Mt.onDestroy&&Mt.onDestroy(Mt.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var Mt,rr=Object(u.a)({},this.props),Dt=M()(this.getPrefixCls(),rr.className,(Mt={},Object(S.a)(Mt,this.getActiveClassName(),!rr.disabled&&rr.active),Object(S.a)(Mt,this.getSelectedClassName(),rr.isSelected),Object(S.a)(Mt,this.getDisabledClassName(),rr.disabled),Mt)),tr=Object(u.a)(Object(u.a)({},rr.attribute),{},{title:typeof rr.title=="string"?rr.title:void 0,className:Dt,role:rr.role||"menuitem","aria-disabled":rr.disabled});rr.role==="option"?tr=Object(u.a)(Object(u.a)({},tr),{},{role:"option","aria-selected":rr.isSelected}):(rr.role===null||rr.role==="none")&&(tr.role="none");var Dr={onClick:rr.disabled?null:this.onClick,onMouseLeave:rr.disabled?null:this.onMouseLeave,onMouseEnter:rr.disabled?null:this.onMouseEnter},dr=Object(u.a)({},rr.style);rr.mode==="inline"&&(rr.direction==="rtl"?dr.paddingRight=rr.inlineIndent*rr.level:dr.paddingLeft=rr.inlineIndent*rr.level),ae.forEach(function(vn){return delete rr[vn]}),delete rr.direction;var Tr=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Tr=i.createElement(this.props.itemIcon,this.props)),i.createElement("li",Object.assign({},Object(y.default)(rr,["onClick","onMouseEnter","onMouseLeave","onSelect"]),tr,Dr,{style:dr,ref:this.saveNode}),rr.children,Tr)}}]),mr}(i.Component);ot.isMenuItem=!0,ot.defaultProps={onSelect:ge,onMouseEnter:ge,onMouseLeave:ge,manualRef:ge};var et=Object(v.b)(function(It,Ct){var mr=It.activeKey,gr=It.selectedKeys,Mt=Ct.eventKey,rr=Ct.subMenuKey;return{active:mr[rr]===Mt,isSelected:gr.indexOf(Mt)!==-1}})(ot),Ze=et,Gt=function(It){Object(p.a)(mr,It);var Ct=Object(g.a)(mr);function mr(){var gr;return Object(r.a)(this,mr),gr=Ct.apply(this,arguments),gr.renderInnerMenuItem=function(Mt){var rr=gr.props,Dt=rr.renderMenuItem,tr=rr.index;return Dt(Mt,tr,gr.props.subMenuKey)},gr}return Object(o.a)(mr,[{key:"render",value:function(){var Mt=Object(w.a)({},this.props),rr=Mt.className,Dt=rr===void 0?"":rr,tr=Mt.rootPrefixCls,Dr="".concat(tr,"-item-group-title"),dr="".concat(tr,"-item-group-list"),Tr=Mt.title,vn=Mt.children;return ae.forEach(function(on){return delete Mt[on]}),delete Mt.onClick,delete Mt.direction,i.createElement("li",Object.assign({},Mt,{className:"".concat(Dt," ").concat(tr,"-item-group")}),i.createElement("div",{className:Dr,title:typeof Tr=="string"?Tr:void 0},Tr),i.createElement("ul",{className:dr},i.Children.map(vn,this.renderInnerMenuItem)))}}]),mr}(i.Component);Gt.isMenuItemGroup=!0,Gt.defaultProps={disabled:!0};var yr=Gt,br=function(Ct){var mr=Ct.className,gr=Ct.rootPrefixCls,Mt=Ct.style;return i.createElement("li",{className:"".concat(mr," ").concat(gr,"-item-divider"),style:Mt})};br.defaultProps={disabled:!0,className:"",style:{}};var Sr=br,Tn=Kt,cn=Object(i.createContext)({inlineCollapsed:!1}),Kn=cn,lt=l("0n0R"),mt=function(It){n()(mr,It);var Ct=c()(mr);function mr(){return e()(this,mr),Ct.apply(this,arguments)}return d()(mr,[{key:"renderTitle",value:function(Mt){var rr=this.props,Dt=rr.icon,tr=rr.title,Dr=rr.level,dr=rr.rootPrefixCls;if(!Dt)return Mt&&Dr===1&&tr&&typeof tr=="string"?i.createElement("div",{className:"".concat(dr,"-inline-collapsed-noicon")},tr.charAt(0)):tr;var Tr=Object(lt.b)(tr)&&tr.type==="span";return i.createElement(i.Fragment,null,Dt,Tr?tr:i.createElement("span",null,tr))}},{key:"render",value:function(){var Mt=this,rr=this.props,Dt=rr.rootPrefixCls,tr=rr.popupClassName;return i.createElement(Kn.Consumer,null,function(Dr){var dr=Dr.inlineCollapsed,Tr=Dr.antdMenuTheme;return i.createElement(Wt,b()({},Object(y.default)(Mt.props,["icon"]),{title:Mt.renderTitle(dr),popupClassName:M()(Dt,"".concat(Dt,"-").concat(Tr),tr)}))})}}]),mr}(i.Component);mt.contextType=Kn,mt.isSubMenu=1;var Le=mt,ze=l("Zm9Q"),$e=l("3S7+"),gt=l("ZX9x"),ir=function(It,Ct){var mr={};for(var gr in It)Object.prototype.hasOwnProperty.call(It,gr)&&Ct.indexOf(gr)<0&&(mr[gr]=It[gr]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,gr=Object.getOwnPropertySymbols(It);Mt1&&s&&s.length>1){var i=A(s)/A(c);!isFinite(i)&&(i=1),a.pinchScale=i;var u=f(s);return a.pinchX=u[0],a.pinchY=u[1],{type:"pinch",target:d[0].target,event:a}}}},e=b;j.exports=e},C0tN:function(j,R,l){l("0o9m"),l("8Uz6"),l("Ducp"),l("6/nd")},CBdT:function(j,R,l){var x=l("ProS");l("8waO"),l("AEZ6"),l("YNf1");var b=l("q3GZ");x.registerVisual(b)},CF2D:function(j,R,l){var x=l("ProS");l("vZI5"),l("GeKi");var b=l("6r85"),A=l("TJmX"),f=l("CbHG");x.registerPreprocessor(b),x.registerVisual(A),x.registerLayout(f)},CFYs:function(j,R,l){"use strict";var x=l("lSNA"),b=l.n(x),A=l("pVnL"),f=l.n(A),t=l("lwsE"),e=l.n(t),m=l("W8MJ"),d=l.n(m),a=l("PJYZ"),n=l.n(a),s=l("7W2i"),c=l.n(s),i=l("LQ03"),u=l.n(i),r=l("q1tI"),o=l.n(r),h=l("TSYQ"),p=l.n(h),g=l("BGR+"),v=l("V/uB"),y=l.n(v),w=l("NAnI"),S=l.n(w),_=l("J84W"),I=l.n(_),C=l("kbBi"),E=l.n(C),O=l("H84U"),M=l("CWQg"),F=l("uaoM"),H=l("Zss7"),B=l.n(H),X=2,J=.16,k=.05,W=.05,z=.15,K=5,P=4,G=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function V(Xt,er,Wr){var en;return Math.round(Xt.h)>=60&&Math.round(Xt.h)<=240?en=Wr?Math.round(Xt.h)-X*er:Math.round(Xt.h)+X*er:en=Wr?Math.round(Xt.h)+X*er:Math.round(Xt.h)-X*er,en<0?en+=360:en>=360&&(en-=360),en}function q(Xt,er,Wr){if(Xt.h===0&&Xt.s===0)return Xt.s;var en;return Wr?en=Xt.s-J*er:er===P?en=Xt.s+J:en=Xt.s+k*er,en>1&&(en=1),Wr&&er===K&&en>.1&&(en=.1),en<.06&&(en=.06),Number(en.toFixed(2))}function re(Xt,er,Wr){var en;return Wr?en=Xt.v+W*er:en=Xt.v-z*er,en>1&&(en=1),Number(en.toFixed(2))}function ce(Xt){for(var er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Wr=[],en=B()(Xt),Fn=K;Fn>0;Fn-=1){var ar=en.toHsv(),It=B()({h:V(ar,Fn,!0),s:q(ar,Fn,!0),v:re(ar,Fn,!0)}).toHexString();Wr.push(It)}Wr.push(en.toHexString());for(var Ct=1;Ct<=P;Ct+=1){var mr=en.toHsv(),gr=B()({h:V(mr,Ct),s:q(mr,Ct),v:re(mr,Ct)}).toHexString();Wr.push(gr)}return er.theme==="dark"?G.map(function(Mt){var rr=Mt.index,Dt=Mt.opacity,tr=B.a.mix(er.backgroundColor||"#141414",Wr[rr],Dt*100).toHexString();return tr}):Wr}var ie={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},fe={},xe={};Object.keys(ie).forEach(function(Xt){fe[Xt]=ce(ie[Xt]),fe[Xt].primary=fe[Xt][5],xe[Xt]=ce(ie[Xt],{theme:"dark",backgroundColor:"#141414"}),xe[Xt].primary=xe[Xt][5]});var Se=fe.red,ke=fe.volcano,ge=fe.gold,Be=fe.orange,ee=fe.yellow,ue=fe.lime,Ge=fe.green,ae=fe.cyan,Z=fe.blue,Y=fe.geekblue,te=fe.purple,we=fe.magenta,pe=fe.grey;function De(Xt){return!Xt||Xt<0?0:Xt>100?100:Xt}function Ne(Xt){var er=Xt.success,Wr=Xt.successPercent,en=Wr;return er&&"progress"in er&&(Object(F.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),en=er.progress),er&&"percent"in er&&(en=er.percent),en}var me=function(Xt,er){var Wr={};for(var en in Xt)Object.prototype.hasOwnProperty.call(Xt,en)&&er.indexOf(en)<0&&(Wr[en]=Xt[en]);if(Xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fn=0,en=Object.getOwnPropertySymbols(Xt);FnXt.length)&&(er=Xt.length);for(var Wr=0,en=new Array(er);Wr=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Xt,en))continue;Wr[en]=Xt[en]}}return Wr}function Ee(Xt,er){if(Xt==null)return{};var Wr={},en=Object.keys(Xt),Fn,ar;for(ar=0;ar=0)continue;Wr[Fn]=Xt[Fn]}return Wr}var de=function(er){var Wr=er.className,en=er.percent,Fn=er.prefixCls,ar=er.strokeColor,It=er.strokeLinecap,Ct=er.strokeWidth,mr=er.style,gr=er.trailColor,Mt=er.trailWidth,rr=er.transition,Dt=ht(er,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete Dt.gapPosition;var tr=Array.isArray(en)?en:[en],Dr=Array.isArray(ar)?ar:[ar],dr=Pe(tr),Tr=ut(dr,1),vn=Tr[0],on=Ct/2,Gn=100-Ct/2,di="M ".concat(It==="round"?on:0,",").concat(on,` - L `).concat(It==="round"?Gn:100,",").concat(on),Ti="0 0 100 ".concat(Ct),Fi=0;return o.a.createElement("svg",Nt({className:p()("".concat(Fn,"-line"),Wr),viewBox:Ti,preserveAspectRatio:"none",style:mr},Dt),o.a.createElement("path",{className:"".concat(Fn,"-line-trail"),d:di,strokeLinecap:It,stroke:gr,strokeWidth:Mt||Ct,fillOpacity:"0"}),tr.map(function(la,Ta){var dt={strokeDasharray:"".concat(la,"px, 100px"),strokeDashoffset:"-".concat(Fi,"px"),transition:rr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Me=Dr[Ta]||Dr[Dr.length-1];return Fi+=la,o.a.createElement("path",{key:Ta,className:"".concat(Fn,"-line-path"),d:di,strokeLinecap:It,stroke:Me,strokeWidth:Ct,fillOpacity:"0",ref:vn[Ta],style:dt})}))};de.defaultProps=pt;var qe=de;function rt(){return rt=Object.assign||function(Xt){for(var er=1;erXt.length)&&(er=Xt.length);for(var Wr=0,en=new Array(er);Wr=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Xt,en))continue;Wr[en]=Xt[en]}}return Wr}function Ht(Xt,er){if(Xt==null)return{};var Wr={},en=Object.keys(Xt),Fn,ar;for(ar=0;ar=0)continue;Wr[Fn]=Xt[Fn]}return Wr}var Kt=0;function ot(Xt){return+Xt.replace("%","")}function et(Xt){return Array.isArray(Xt)?Xt:[Xt]}function Ze(Xt,er,Wr,en){var Fn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,ar=arguments.length>5?arguments[5]:void 0,It=50-en/2,Ct=0,mr=-It,gr=0,Mt=-2*It;switch(ar){case"left":Ct=-It,mr=0,gr=2*It,Mt=0;break;case"right":Ct=It,mr=0,gr=-2*It,Mt=0;break;case"bottom":mr=It,Mt=2*It;break;default:}var rr="M 50,50 m ".concat(Ct,",").concat(mr,` +`:"")+"",newPos:I?x.Pos(u.line+1,0):x.Pos(u.line,u.ch+1)}}for(var C=typeof c=="object"&&c.dontIndentOnAutoClose,i=n.length-1;i>=0;i--){var E=s[i];a.replaceRange(E.text,n[i].head,n[i].anchor,"+insert");var O=a.listSelections().slice(0);O[i]={head:E.newPos,anchor:E.newPos},a.setSelections(O),!C&&E.indent&&(a.indentLine(E.newPos.line,null,!0),a.indentLine(E.newPos.line+1,null,!0))}}function t(a,n){for(var s=a.listSelections(),c=[],i=n?"/":""&&(y+=">"),c[o]=y}if(a.replaceSelections(c),s=a.listSelections(),!r)for(var o=0;o=0&&n[h]==s;h--)++o;c=r.to;for(var h=1;h.5?w:y}function n(y,w,S,_,I){var C=y.length;if(I===1)for(var E=0;EI;if(C)y.length=I;else for(var E=_;E=0&&!(z[we]<=te);we--);we=Math.min(we,F-2)}else{for(we=ie;wete);we++);we=Math.min(we-1,F-2)}ie=we,fe=te;var pe=z[we+1]-z[we];if(pe===0)return;if(Se=(te-z[we])/pe,M)if(ge=W[we],ke=W[we===0?we:we-1],Be=W[we>F-2?F-1:we+1],ee=W[we>F-3?F-1:we+2],B)i(ke,ge,Be,ee,Se,Se*Se,Se*Se*Se,E(Y,I),k);else{var De;if(X)De=i(ke,ge,Be,ee,Se,Se*Se,Se*Se*Se,ue,1),De=o(ue);else{if(J)return a(ge,Be,Se);De=u(ke,ge,Be,ee,Se,Se*Se,Se*Se*Se)}O(Y,I,De)}else if(B)n(W[we],W[we+1],Se,E(Y,I),k);else{var De;if(X)n(W[we],W[we+1],Se,ue,1),De=o(ue);else{if(J)return a(W[we],W[we+1],Se);De=d(W[we],W[we+1],Se)}O(Y,I,De)}},ae=new x({target:y._target,life:K,loop:y._loop,delay:y._delay,onframe:Ge,ondestroy:S});return w&&w!=="spline"&&(ae.easing=w),ae}var g=function(w,S,_,I){this._tracks={},this._target=w,this._loop=S||!1,this._getter=_||e,this._setter=I||m,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};g.prototype={when:function(w,S){var _=this._tracks;for(var I in S){if(!S.hasOwnProperty(I))continue;if(!_[I]){_[I]=[];var C=this._getter(this._target,I);if(C==null)continue;w!==0&&_[I].push({time:0,value:r(C)})}_[I].push({time:w,value:S[I]})}return this},during:function(w){return this._onframeList.push(w),this},pause:function(){for(var w=0;ws&&(s=i.height)}this.height=s+1},getNodeById:function(n){if(this.getId()===n)return this;for(var s=0,c=this.children,i=c.length;s=0&&this.hostTree.data.setItemLayout(this.dataIndex,n,s)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(n){if(this.dataIndex<0)return;var s=this.hostTree,c=s.data.getItemModel(this.dataIndex),i=this.getLevelModel();return i?c.getModel(n,i.getModel(n)):c.getModel(n)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(n,s){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,n,s)},getVisual:function(n,s){return this.hostTree.data.getItemVisual(this.dataIndex,n,s)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(n){for(var s=n.parentNode;s;){if(s===this)return!0;s=s.parentNode}return!1},isDescendantOf:function(n){return n!==this&&n.isAncestorOf(this)}};function m(n,s){this.root,this.data,this._nodes=[],this.hostModel=n,this.levelModels=x.map(s||[],function(c){return new b(c,n,n.ecModel)})}m.prototype={constructor:m,type:"tree",eachNode:function(n,s,c){this.root.eachNode(n,s,c)},getNodeByDataIndex:function(n){var s=this.data.getRawIndex(n);return this._nodes[s]},getNodeByName:function(n){return this.root.getNodeByName(n)},update:function(){for(var n=this.data,s=this._nodes,c=0,i=s.length;c0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(i){this.option.selected=A.clone(i)},getValueState:function(i){var u=t.findPieceIndex(i,this._pieceList);return u!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[u])]?"inRange":"outOfRange"},findTargetDataIndices:function(i){var u=[];return this.eachTargetSeries(function(r){var o=[],h=r.getData();h.each(this.getDataDimension(h),function(p,g){var v=t.findPieceIndex(p,this._pieceList);v===i&&o.push(g)},this),u.push({seriesId:r.id,dataIndex:o})},this),u},getRepresentValue:function(i){var u;if(this.isCategory())u=i.value;else if(i.value!=null)u=i.value;else{var r=i.interval||[];u=r[0]===-Infinity&&r[1]===Infinity?0:(r[0]+r[1])/2}return u},getVisualMeta:function(i){if(this.isCategory())return;var u=[],r=[],o=this;function h(y,w){var S=o.getRepresentValue({interval:y});w||(w=o.getValueState(S));var _=i(S,w);y[0]===-Infinity?r[0]=_:y[1]===Infinity?r[1]=_:u.push({value:y[0],color:_},{value:y[1],color:_})}var p=this._pieceList.slice();if(!p.length)p.push({interval:[-Infinity,Infinity]});else{var g=p[0].interval[0];g!==-Infinity&&p.unshift({interval:[-Infinity,g]}),g=p[p.length-1].interval[1],g!==Infinity&&p.push({interval:[g,Infinity]})}var v=-Infinity;return A.each(p,function(y){var w=y.interval;w&&(w[0]>v&&h([v,w[0]],"outOfRange"),h(w.slice()),v=w[1])},this),{stops:u,outerColors:r}}}),n={splitNumber:function(){var i=this.option,u=this._pieceList,r=Math.min(i.precision,20),o=this.getExtent(),h=i.splitNumber;h=Math.max(parseInt(h,10),1),i.splitNumber=h;for(var p=(o[1]-o[0])/h;+p.toFixed(r)!==p&&r<5;)r++;i.precision=r,p=+p.toFixed(r),i.minOpen&&u.push({interval:[-Infinity,o[0]],close:[0,0]});for(var g=0,v=o[0];g","\u2265"][o[0]]];r.text=r.text||this.formatValueText(r.value!=null?r.value:r.interval,!1,h)},this)}};function s(i,u){var r=i.inverse;(i.orient==="vertical"?!r:r)&&u.reverse()}var c=a;j.exports=c},BvKs:function(j,R,l){"use strict";l.d(R,"a",function(){return ar});var x=l("pVnL"),b=l.n(x),A=l("lSNA"),f=l.n(A),t=l("lwsE"),e=l.n(t),m=l("W8MJ"),d=l.n(m),a=l("7W2i"),n=l.n(a),s=l("LQ03"),c=l.n(s),i=l("q1tI"),u=l("VTBJ"),r=l("1OyB"),o=l("vuIU"),h=l("JX7q"),p=l("Ji7U"),g=l("LK+K"),v=l("I8Z2"),y=l("BGR+"),w=l("wx14"),S=l("rePB"),_=l("4IlW"),I=l("2GS6"),C=l("Gytx"),E=l.n(C),O=l("TSYQ"),M=l.n(O),F=l("U8pU"),H=l("ODXe"),B=/iPhone/i,X=/iPod/i,J=/iPad/i,k=/\bAndroid(?:.+)Mobile\b/i,K=/Android/i,z=/\bAndroid(?:.+)SD4930UR\b/i,W=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,P=/Windows Phone/i,G=/\bWindows(?:.+)ARM\b/i,V=/BlackBerry/i,q=/BB10/i,re=/Opera Mini/i,ce=/\b(CriOS|Chrome)(?:.+)Mobile/i,ie=/Mobile(?:.+)Firefox\b/i;function fe(It,Ct){return It.test(Ct)}function xe(It){var Ct=It||(typeof navigator!="undefined"?navigator.userAgent:""),mr=Ct.split("[FBAN");if(typeof mr[1]!="undefined"){var gr=mr,Mt=Object(H.a)(gr,1);Ct=Mt[0]}if(mr=Ct.split("Twitter"),typeof mr[1]!="undefined"){var rr=mr,Dt=Object(H.a)(rr,1);Ct=Dt[0]}var tr={apple:{phone:fe(B,Ct)&&!fe(P,Ct),ipod:fe(X,Ct),tablet:!fe(B,Ct)&&fe(J,Ct)&&!fe(P,Ct),device:(fe(B,Ct)||fe(X,Ct)||fe(J,Ct))&&!fe(P,Ct)},amazon:{phone:fe(z,Ct),tablet:!fe(z,Ct)&&fe(W,Ct),device:fe(z,Ct)||fe(W,Ct)},android:{phone:!fe(P,Ct)&&fe(z,Ct)||!fe(P,Ct)&&fe(k,Ct),tablet:!fe(P,Ct)&&!fe(z,Ct)&&!fe(k,Ct)&&(fe(W,Ct)||fe(K,Ct)),device:!fe(P,Ct)&&(fe(z,Ct)||fe(W,Ct)||fe(k,Ct)||fe(K,Ct))||fe(/\bokhttp\b/i,Ct)},windows:{phone:fe(P,Ct),tablet:fe(G,Ct),device:fe(P,Ct)||fe(G,Ct)},other:{blackberry:fe(V,Ct),blackberry10:fe(q,Ct),opera:fe(re,Ct),firefox:fe(ie,Ct),chrome:fe(ce,Ct),device:fe(V,Ct)||fe(q,Ct)||fe(re,Ct)||fe(ie,Ct)||fe(ce,Ct)},any:null,phone:null,tablet:null};return tr.any=tr.apple.device||tr.android.device||tr.windows.device||tr.other.device,tr.phone=tr.apple.phone||tr.android.phone||tr.windows.phone,tr.tablet=tr.apple.tablet||tr.android.tablet||tr.windows.tablet,tr}var Se=Object(u.a)(Object(u.a)({},xe()),{},{isMobile:xe}),ke=Se;function ge(){}function Be(It,Ct,mr){var gr=Ct||"";return It.key||"".concat(gr,"item_").concat(mr)}function ee(It){return"".concat(It,"-menu-")}function ue(It,Ct){var mr=-1;i.Children.forEach(It,function(gr){mr+=1,gr&&gr.type&&gr.type.isMenuItemGroup?i.Children.forEach(gr.props.children,function(Mt){mr+=1,Ct(Mt,mr)}):Ct(gr,mr)})}function Ge(It,Ct,mr){if(!It||mr.find)return;i.Children.forEach(It,function(gr){if(gr){var Mt=gr.type;if(!Mt||!(Mt.isSubMenu||Mt.isMenuItem||Mt.isMenuItemGroup))return;Ct.indexOf(gr.key)!==-1?mr.find=!0:gr.props.children&&Ge(gr.props.children,Ct,mr)}})}var ae=["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","onSelect","onDeselect","onDestroy","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","onOpenChange","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","onItemHover","onTitleMouseEnter","onTitleMouseLeave","onTitleClick","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","motion","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],Z=function(Ct){var mr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,gr=Ct&&typeof Ct.getBoundingClientRect=="function"&&Ct.getBoundingClientRect().width;if(gr){if(mr){var Mt=getComputedStyle(Ct),rr=Mt.marginLeft,Dt=Mt.marginRight;gr+=+rr.replace("px","")+ +Dt.replace("px","")}gr=+gr.toFixed(6)}return gr||0},Y=function(Ct,mr,gr){Ct&&Object(F.a)(Ct.style)==="object"&&(Ct.style[mr]=gr)},te=function(){return ke.any},we=l("KQm4"),pe=l("Ff2n"),De=l("i8i4"),Ne=l("bdgK"),me=l("uciX"),be=l("8XRh"),Re={adjustX:1,adjustY:1},it={topLeft:{points:["bl","tl"],overflow:Re,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Re,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Re,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Re,offset:[4,0]}},yt={topLeft:{points:["bl","tl"],overflow:Re,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Re,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Re,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Re,offset:[4,0]}},pt=it,Pe=0,Nt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},ut=function(Ct,mr,gr){var Mt=ee(mr),rr=Ct.getState();Ct.setState({defaultActiveFirst:Object(u.a)(Object(u.a)({},rr.defaultActiveFirst),{},Object(S.a)({},Mt,gr))})},Ft=function(It){Object(p.a)(mr,It);var Ct=Object(g.a)(mr);function mr(gr){var Mt;Object(r.a)(this,mr),Mt=Ct.call(this,gr),Mt.onDestroy=function(Tr){Mt.props.onDestroy(Tr)},Mt.onKeyDown=function(Tr){var vn=Tr.keyCode,on=Mt.menuInstance,Gn=Mt.props,di=Gn.isOpen,Ti=Gn.store;if(vn===_.a.ENTER)return Mt.onTitleClick(Tr),ut(Ti,Mt.props.eventKey,!0),!0;if(vn===_.a.RIGHT)return di?on.onKeyDown(Tr):(Mt.triggerOpenChange(!0),ut(Ti,Mt.props.eventKey,!0)),!0;if(vn===_.a.LEFT){var Fi;if(di)Fi=on.onKeyDown(Tr);else return;return Fi||(Mt.triggerOpenChange(!1),Fi=!0),Fi}return di&&(vn===_.a.UP||vn===_.a.DOWN)?on.onKeyDown(Tr):void 0},Mt.onOpenChange=function(Tr){Mt.props.onOpenChange(Tr)},Mt.onPopupVisibleChange=function(Tr){Mt.triggerOpenChange(Tr,Tr?"mouseenter":"mouseleave")},Mt.onMouseEnter=function(Tr){var vn=Mt.props,on=vn.eventKey,Gn=vn.onMouseEnter,di=vn.store;ut(di,Mt.props.eventKey,!1),Gn({key:on,domEvent:Tr})},Mt.onMouseLeave=function(Tr){var vn=Mt.props,on=vn.parentMenu,Gn=vn.eventKey,di=vn.onMouseLeave;on.subMenuInstance=Object(h.a)(Mt),di({key:Gn,domEvent:Tr})},Mt.onTitleMouseEnter=function(Tr){var vn=Mt.props,on=vn.eventKey,Gn=vn.onItemHover,di=vn.onTitleMouseEnter;Gn({key:on,hover:!0}),di({key:on,domEvent:Tr})},Mt.onTitleMouseLeave=function(Tr){var vn=Mt.props,on=vn.parentMenu,Gn=vn.eventKey,di=vn.onItemHover,Ti=vn.onTitleMouseLeave;on.subMenuInstance=Object(h.a)(Mt),di({key:Gn,hover:!1}),Ti({key:Gn,domEvent:Tr})},Mt.onTitleClick=function(Tr){var vn=Object(h.a)(Mt),on=vn.props;if(on.onTitleClick({key:on.eventKey,domEvent:Tr}),on.triggerSubMenuAction==="hover")return;Mt.triggerOpenChange(!on.isOpen,"click"),ut(on.store,Mt.props.eventKey,!1)},Mt.onSubMenuClick=function(Tr){typeof Mt.props.onClick=="function"&&Mt.props.onClick(Mt.addKeyPath(Tr))},Mt.onSelect=function(Tr){Mt.props.onSelect(Tr)},Mt.onDeselect=function(Tr){Mt.props.onDeselect(Tr)},Mt.getPrefixCls=function(){return"".concat(Mt.props.rootPrefixCls,"-submenu")},Mt.getActiveClassName=function(){return"".concat(Mt.getPrefixCls(),"-active")},Mt.getDisabledClassName=function(){return"".concat(Mt.getPrefixCls(),"-disabled")},Mt.getSelectedClassName=function(){return"".concat(Mt.getPrefixCls(),"-selected")},Mt.getOpenClassName=function(){return"".concat(Mt.props.rootPrefixCls,"-submenu-open")},Mt.saveMenuInstance=function(Tr){Mt.menuInstance=Tr},Mt.addKeyPath=function(Tr){return Object(u.a)(Object(u.a)({},Tr),{},{keyPath:(Tr.keyPath||[]).concat(Mt.props.eventKey)})},Mt.triggerOpenChange=function(Tr,vn){var on=Mt.props.eventKey,Gn=function(){Mt.onOpenChange({key:on,item:Object(h.a)(Mt),trigger:vn,open:Tr})};vn==="mouseenter"?Mt.mouseenterTimeout=setTimeout(function(){Gn()},0):Gn()},Mt.isChildrenSelected=function(){var Tr={find:!1};return Ge(Mt.props.children,Mt.props.selectedKeys,Tr),Tr.find},Mt.isOpen=function(){return Mt.props.openKeys.indexOf(Mt.props.eventKey)!==-1},Mt.adjustWidth=function(){if(!Mt.subMenuTitle||!Mt.menuInstance)return;var Tr=De.findDOMNode(Mt.menuInstance);if(Tr.offsetWidth>=Mt.subMenuTitle.offsetWidth)return;Tr.style.minWidth="".concat(Mt.subMenuTitle.offsetWidth,"px")},Mt.saveSubMenuTitle=function(Tr){Mt.subMenuTitle=Tr},Mt.getBaseProps=function(){var Tr=Object(h.a)(Mt),vn=Tr.props;return{mode:vn.mode==="horizontal"?"vertical":vn.mode,visible:Mt.props.isOpen,level:vn.level+1,inlineIndent:vn.inlineIndent,focusable:!1,onClick:Mt.onSubMenuClick,onSelect:Mt.onSelect,onDeselect:Mt.onDeselect,onDestroy:Mt.onDestroy,selectedKeys:vn.selectedKeys,eventKey:"".concat(vn.eventKey,"-menu-"),openKeys:vn.openKeys,motion:vn.motion,onOpenChange:Mt.onOpenChange,subMenuOpenDelay:vn.subMenuOpenDelay,parentMenu:Object(h.a)(Mt),subMenuCloseDelay:vn.subMenuCloseDelay,forceSubMenuRender:vn.forceSubMenuRender,triggerSubMenuAction:vn.triggerSubMenuAction,builtinPlacements:vn.builtinPlacements,defaultActiveFirst:vn.store.getState().defaultActiveFirst[ee(vn.eventKey)],multiple:vn.multiple,prefixCls:vn.rootPrefixCls,id:Mt.internalMenuId,manualRef:Mt.saveMenuInstance,itemIcon:vn.itemIcon,expandIcon:vn.expandIcon,direction:vn.direction}},Mt.getMotion=function(Tr,vn){var on=Object(h.a)(Mt),Gn=on.haveRendered,di=Mt.props,Ti=di.motion,Fi=di.rootPrefixCls,la=Object(u.a)(Object(u.a)({},Ti),{},{leavedClassName:"".concat(Fi,"-hidden"),removeOnLeave:!1,motionAppear:Gn||!vn||Tr!=="inline"});return la};var rr=gr.store,Dt=gr.eventKey,tr=rr.getState(),Dr=tr.defaultActiveFirst;Mt.isRootMenu=!1;var dr=!1;return Dr&&(dr=Dr[Dt]),ut(rr,Dt,dr),Mt}return Object(o.a)(mr,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Mt=this,rr=this.props,Dt=rr.mode,tr=rr.parentMenu,Dr=rr.manualRef;if(Dr&&Dr(this),Dt!=="horizontal"||!tr.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return Mt.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var Mt=this.props,rr=Mt.onDestroy,Dt=Mt.eventKey;rr&&rr(Dt),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(Mt){var rr=this,Dt=this.getBaseProps(),tr=this.getMotion(Dt.mode,Dt.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||Dt.visible||Dt.forceSubMenuRender,!this.haveOpened)return i.createElement("div",null);var Dr=Dt.direction;return i.createElement(be.default,Object.assign({visible:Dt.visible},tr),function(dr){var Tr=dr.className,vn=dr.style,on=M()("".concat(Dt.prefixCls,"-sub"),Tr,Object(S.a)({},"".concat(Dt.prefixCls,"-rtl"),Dr==="rtl"));return i.createElement(kt,Object.assign({},Dt,{id:rr.internalMenuId,className:on,style:vn}),Mt)})}},{key:"render",value:function(){var Mt,rr=Object(u.a)({},this.props),Dt=rr.isOpen,tr=this.getPrefixCls(),Dr=rr.mode==="inline",dr=M()(tr,"".concat(tr,"-").concat(rr.mode),(Mt={},Object(S.a)(Mt,rr.className,!!rr.className),Object(S.a)(Mt,this.getOpenClassName(),Dt),Object(S.a)(Mt,this.getActiveClassName(),rr.active||Dt&&!Dr),Object(S.a)(Mt,this.getDisabledClassName(),rr.disabled),Object(S.a)(Mt,this.getSelectedClassName(),this.isChildrenSelected()),Mt));this.internalMenuId||(rr.eventKey?this.internalMenuId="".concat(rr.eventKey,"$Menu"):(Pe+=1,this.internalMenuId="$__$".concat(Pe,"$Menu")));var Tr={},vn={},on={};rr.disabled||(Tr={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},vn={onClick:this.onTitleClick},on={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Gn={},di=rr.direction;Dr&&(di==="rtl"?Gn.paddingRight=rr.inlineIndent*rr.level:Gn.paddingLeft=rr.inlineIndent*rr.level);var Ti={};this.props.isOpen&&(Ti={"aria-owns":this.internalMenuId});var Fi=null;rr.mode!=="horizontal"&&(Fi=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Fi=i.createElement(this.props.expandIcon,Object(u.a)({},this.props))));var la=i.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:Gn,className:"".concat(tr,"-title"),role:"button"},on,vn,{"aria-expanded":Dt},Ti,{"aria-haspopup":"true",title:typeof rr.title=="string"?rr.title:void 0}),rr.title,Fi||i.createElement("i",{className:"".concat(tr,"-arrow")})),Ta=this.renderChildren(rr.children),dt=rr.parentMenu.isRootMenu?rr.parentMenu.props.getPopupContainer:function(Lr){return Lr.parentNode},Me=Nt[rr.mode],Xe=rr.popupOffset?{offset:rr.popupOffset}:{},Qe=rr.mode==="inline"?"":rr.popupClassName;Qe+=di==="rtl"?" ".concat(tr,"-rtl"):"";var st=rr.disabled,nt=rr.triggerSubMenuAction,ft=rr.subMenuOpenDelay,Bt=rr.forceSubMenuRender,Et=rr.subMenuCloseDelay,nr=rr.builtinPlacements;ae.forEach(function(Lr){return delete rr[Lr]}),delete rr.onClick;var Ur=di==="rtl"?Object.assign({},yt,nr):Object.assign({},it,nr);return delete rr.direction,i.createElement("li",Object.assign({},rr,Tr,{className:dr,role:"menuitem"}),Dr&&la,Dr&&Ta,!Dr&&i.createElement(me.a,{prefixCls:tr,popupClassName:M()("".concat(tr,"-popup"),Qe),getPopupContainer:dt,builtinPlacements:Ur,popupPlacement:Me,popupVisible:Dt,popupAlign:Xe,popup:Ta,action:st?[]:[nt],mouseEnterDelay:ft,mouseLeaveDelay:Et,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:Bt},la))}}]),mr}(i.Component);Ft.defaultProps={onMouseEnter:ge,onMouseLeave:ge,onTitleMouseEnter:ge,onTitleMouseLeave:ge,onTitleClick:ge,manualRef:ge,mode:"vertical",title:""};var Ut=Object(v.b)(function(It,Ct){var mr=It.openKeys,gr=It.activeKey,Mt=It.selectedKeys,rr=Ct.eventKey,Dt=Ct.subMenuKey;return{isOpen:mr.indexOf(rr)>-1,active:gr[Dt]===rr,selectedKeys:Mt}})(Ft);Ut.isSubMenu=!0;var Kt=Ut,$t="menuitem-overflowed",or=.5,ht=function(It){Object(p.a)(mr,It);var Ct=Object(g.a)(mr);function mr(){var gr;return Object(r.a)(this,mr),gr=Ct.apply(this,arguments),gr.resizeObserver=null,gr.mutationObserver=null,gr.originalTotalWidth=0,gr.overflowedItems=[],gr.menuItemSizes=[],gr.cancelFrameId=null,gr.state={lastVisibleIndex:void 0},gr.getMenuItemNodes=function(){var Mt=gr.props.prefixCls,rr=De.findDOMNode(Object(h.a)(gr));return rr?[].slice.call(rr.children).filter(function(Dt){return Dt.className.split(" ").indexOf("".concat(Mt,"-overflowed-submenu"))<0}):[]},gr.getOverflowedSubMenuItem=function(Mt,rr,Dt){var tr=gr.props,Dr=tr.overflowedIndicator,dr=tr.level,Tr=tr.mode,vn=tr.prefixCls,on=tr.theme;if(dr!==1||Tr!=="horizontal")return null;var Gn=gr.props.children[0],di=Gn.props,Ti=di.children,Fi=di.title,la=di.style,Ta=Object(pe.a)(di,["children","title","style"]),dt=Object(u.a)({},la),Me="".concat(Mt,"-overflowed-indicator"),Xe="".concat(Mt,"-overflowed-indicator");rr.length===0&&Dt!==!0?dt=Object(u.a)(Object(u.a)({},dt),{},{display:"none"}):Dt&&(dt=Object(u.a)(Object(u.a)({},dt),{},{visibility:"hidden",position:"absolute"}),Me="".concat(Me,"-placeholder"),Xe="".concat(Xe,"-placeholder"));var Qe=on?"".concat(vn,"-").concat(on):"",st={};return ae.forEach(function(nt){Ta[nt]!==void 0&&(st[nt]=Ta[nt])}),i.createElement(Kt,Object.assign({title:Dr,className:"".concat(vn,"-overflowed-submenu"),popupClassName:Qe},st,{key:Me,eventKey:Xe,disabled:!1,style:dt}),rr)},gr.setChildrenWidthAndResize=function(){if(gr.props.mode!=="horizontal")return;var Mt=De.findDOMNode(Object(h.a)(gr));if(!Mt)return;var rr=Mt.children;if(!rr||rr.length===0)return;var Dt=Mt.children[rr.length-1];Y(Dt,"display","inline-block");var tr=gr.getMenuItemNodes(),Dr=tr.filter(function(dr){return dr.className.split(" ").indexOf($t)>=0});Dr.forEach(function(dr){Y(dr,"display","inline-block")}),gr.menuItemSizes=tr.map(function(dr){return Z(dr,!0)}),Dr.forEach(function(dr){Y(dr,"display","none")}),gr.overflowedIndicatorWidth=Z(Mt.children[Mt.children.length-1],!0),gr.originalTotalWidth=gr.menuItemSizes.reduce(function(dr,Tr){return dr+Tr},0),gr.handleResize(),Y(Dt,"display","none")},gr.handleResize=function(){if(gr.props.mode!=="horizontal")return;var Mt=De.findDOMNode(Object(h.a)(gr));if(!Mt)return;var rr=Z(Mt);gr.overflowedItems=[];var Dt=0,tr;gr.originalTotalWidth>rr+or&&(tr=-1,gr.menuItemSizes.forEach(function(Dr){Dt+=Dr,Dt+gr.overflowedIndicatorWidth<=rr&&(tr+=1)})),gr.setState({lastVisibleIndex:tr})},gr}return Object(o.a)(mr,[{key:"componentDidMount",value:function(){var Mt=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var rr=De.findDOMNode(this);if(!rr)return;this.resizeObserver=new Ne.default(function(Dt){Dt.forEach(function(){var tr=Mt.cancelFrameId;cancelAnimationFrame(tr),Mt.cancelFrameId=requestAnimationFrame(Mt.setChildrenWidthAndResize)})}),[].slice.call(rr.children).concat(rr).forEach(function(Dt){Mt.resizeObserver.observe(Dt)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){Mt.resizeObserver.disconnect(),[].slice.call(rr.children).concat(rr).forEach(function(Dt){Mt.resizeObserver.observe(Dt)}),Mt.setChildrenWidthAndResize()}),this.mutationObserver.observe(rr,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(Mt){var rr=this,Dt=this.state.lastVisibleIndex;return(Mt||[]).reduce(function(tr,Dr,dr){var Tr=Dr;if(rr.props.mode==="horizontal"){var vn=rr.getOverflowedSubMenuItem(Dr.props.eventKey,[]);Dt!==void 0&&rr.props.className.indexOf("".concat(rr.props.prefixCls,"-root"))!==-1&&(dr>Dt&&(Tr=i.cloneElement(Dr,{style:{display:"none"},eventKey:"".concat(Dr.props.eventKey,"-hidden"),className:"".concat($t)})),dr===Dt+1&&(rr.overflowedItems=Mt.slice(Dt+1).map(function(Gn){return i.cloneElement(Gn,{key:Gn.props.eventKey,mode:"vertical-left"})}),vn=rr.getOverflowedSubMenuItem(Dr.props.eventKey,rr.overflowedItems)));var on=[].concat(Object(we.a)(tr),[vn,Tr]);return dr===Mt.length-1&&on.push(rr.getOverflowedSubMenuItem(Dr.props.eventKey,[],!0)),on}return[].concat(Object(we.a)(tr),[Tr])},[])}},{key:"render",value:function(){var Mt=this.props,rr=Mt.visible,Dt=Mt.prefixCls,tr=Mt.overflowedIndicator,Dr=Mt.mode,dr=Mt.level,Tr=Mt.tag,vn=Mt.children,on=Mt.theme,Gn=Object(pe.a)(Mt,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),di=Tr;return i.createElement(di,Object.assign({},Gn),this.renderChildren(vn))}}]),mr}(i.Component);ht.defaultProps={tag:"div",className:""};var Ee=ht;function de(It){return It.length?It.every(function(Ct){return!!Ct.props.disabled}):!0}function qe(It,Ct,mr){var gr=It.getState();It.setState({activeKey:Object(u.a)(Object(u.a)({},gr.activeKey),{},Object(S.a)({},Ct,mr))})}function rt(It){return It.eventKey||"0-menu-"}function ve(It,Ct){var mr=Ct,gr=It.children,Mt=It.eventKey;if(mr){var rr;if(ue(gr,function(Dt,tr){Dt&&Dt.props&&!Dt.props.disabled&&mr===Be(Dt,Mt,tr)&&(rr=!0)}),rr)return mr}return mr=null,It.defaultActiveFirst&&ue(gr,function(Dt,tr){!mr&&Dt&&!Dt.props.disabled&&(mr=Be(Dt,Mt,tr))}),mr}function bt(It){if(It){var Ct=this.instanceArray.indexOf(It);Ct!==-1?this.instanceArray[Ct]=It:this.instanceArray.push(It)}}var jt=function(It){Object(p.a)(mr,It);var Ct=Object(g.a)(mr);function mr(gr){var Mt;return Object(r.a)(this,mr),Mt=Ct.call(this,gr),Mt.onKeyDown=function(rr,Dt){var tr=rr.keyCode,Dr;if(Mt.getFlatInstanceArray().forEach(function(Tr){Tr&&Tr.props.active&&Tr.onKeyDown&&(Dr=Tr.onKeyDown(rr))}),Dr)return 1;var dr=null;return(tr===_.a.UP||tr===_.a.DOWN)&&(dr=Mt.step(tr===_.a.UP?-1:1)),dr?(rr.preventDefault(),qe(Mt.props.store,rt(Mt.props),dr.props.eventKey),typeof Dt=="function"&&Dt(dr),1):void 0},Mt.onItemHover=function(rr){var Dt=rr.key,tr=rr.hover;qe(Mt.props.store,rt(Mt.props),tr?Dt:null)},Mt.onDeselect=function(rr){Mt.props.onDeselect(rr)},Mt.onSelect=function(rr){Mt.props.onSelect(rr)},Mt.onClick=function(rr){Mt.props.onClick(rr)},Mt.onOpenChange=function(rr){Mt.props.onOpenChange(rr)},Mt.onDestroy=function(rr){Mt.props.onDestroy(rr)},Mt.getFlatInstanceArray=function(){return Mt.instanceArray},Mt.step=function(rr){var Dt=Mt.getFlatInstanceArray(),tr=Mt.props.store.getState().activeKey[rt(Mt.props)],Dr=Dt.length;if(!Dr)return null;rr<0&&(Dt=Dt.concat().reverse());var dr=-1;if(Dt.every(function(Gn,di){return Gn&&Gn.props.eventKey===tr?(dr=di,!1):!0}),!Mt.props.defaultActiveFirst&&dr!==-1&&de(Dt.slice(dr,Dr-1)))return;var Tr=(dr+1)%Dr,vn=Tr;do{var on=Dt[vn];if(!on||on.props.disabled)vn=(vn+1)%Dr;else return on}while(vn!==Tr);return null},Mt.renderCommonMenuItem=function(rr,Dt,tr){var Dr=Mt.props.store.getState(),dr=Object(h.a)(Mt),Tr=dr.props,vn=Be(rr,Tr.eventKey,Dt),on=rr.props;if(!on||typeof rr.type=="string")return rr;var Gn=vn===Dr.activeKey,di=Object(u.a)(Object(u.a)({mode:on.mode||Tr.mode,level:Tr.level,inlineIndent:Tr.inlineIndent,renderMenuItem:Mt.renderMenuItem,rootPrefixCls:Tr.prefixCls,index:Dt,parentMenu:Tr.parentMenu,manualRef:on.disabled?void 0:Object(I.a)(rr.ref,bt.bind(Object(h.a)(Mt))),eventKey:vn,active:!on.disabled&&Gn,multiple:Tr.multiple,onClick:function(Fi){(on.onClick||ge)(Fi),Mt.onClick(Fi)},onItemHover:Mt.onItemHover,motion:Tr.motion,subMenuOpenDelay:Tr.subMenuOpenDelay,subMenuCloseDelay:Tr.subMenuCloseDelay,forceSubMenuRender:Tr.forceSubMenuRender,onOpenChange:Mt.onOpenChange,onDeselect:Mt.onDeselect,onSelect:Mt.onSelect,builtinPlacements:Tr.builtinPlacements,itemIcon:on.itemIcon||Mt.props.itemIcon,expandIcon:on.expandIcon||Mt.props.expandIcon},tr),{},{direction:Tr.direction});return(Tr.mode==="inline"||te())&&(di.triggerSubMenuAction="click"),i.cloneElement(rr,di)},Mt.renderMenuItem=function(rr,Dt,tr){if(!rr)return null;var Dr=Mt.props.store.getState(),dr={openKeys:Dr.openKeys,selectedKeys:Dr.selectedKeys,triggerSubMenuAction:Mt.props.triggerSubMenuAction,subMenuKey:tr};return Mt.renderCommonMenuItem(rr,Dt,dr)},gr.store.setState({activeKey:Object(u.a)(Object(u.a)({},gr.store.getState().activeKey),{},Object(S.a)({},gr.eventKey,ve(gr,gr.activeKey)))}),Mt.instanceArray=[],Mt}return Object(o.a)(mr,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(Mt){return this.props.visible||Mt.visible||this.props.className!==Mt.className||!E()(this.props.style,Mt.style)}},{key:"componentDidUpdate",value:function(Mt){var rr=this.props,Dt="activeKey"in rr?rr.activeKey:rr.store.getState().activeKey[rt(rr)],tr=ve(rr,Dt);if(tr!==Dt)qe(rr.store,rt(rr),tr);else if("activeKey"in Mt){var Dr=ve(Mt,Mt.activeKey);tr!==Dr&&qe(rr.store,rt(rr),tr)}}},{key:"render",value:function(){var Mt=this,rr=Object(w.a)({},this.props);this.instanceArray=[];var Dt=M()(rr.prefixCls,rr.className,"".concat(rr.prefixCls,"-").concat(rr.mode)),tr={className:Dt,role:rr.role||"menu"};rr.id&&(tr.id=rr.id),rr.focusable&&(tr.tabIndex=0,tr.onKeyDown=this.onKeyDown);var Dr=rr.prefixCls,dr=rr.eventKey,Tr=rr.visible,vn=rr.level,on=rr.mode,Gn=rr.overflowedIndicator,di=rr.theme;return ae.forEach(function(Ti){return delete rr[Ti]}),delete rr.onClick,i.createElement(Ee,Object.assign({},rr,{prefixCls:Dr,mode:on,tag:"ul",level:vn,theme:di,visible:Tr,overflowedIndicator:Gn},tr),i.Children.map(rr.children,function(Ti,Fi){return Mt.renderMenuItem(Ti,Fi,dr||"0-menu-")}))}}]),mr}(i.Component);jt.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:ge};var He=Object(v.b)()(jt),kt=He,Ar=l("Kwbf");function at(It,Ct,mr){var gr=It.prefixCls,Mt=It.motion,rr=It.defaultMotions,Dt=rr===void 0?{}:rr,tr=It.openAnimation,Dr=It.openTransitionName,dr=Ct.switchingModeFromInline;if(Mt)return Mt;if(Object(F.a)(tr)==="object"&&tr)Object(Ar.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof tr=="string")return{motionName:"".concat(gr,"-open-").concat(tr)};if(Dr)return{motionName:Dr};var Tr=Dt[mr];return Tr||(dr?null:Dt.other)}var Ht=function(It){Object(p.a)(mr,It);var Ct=Object(g.a)(mr);function mr(gr){var Mt;Object(r.a)(this,mr),Mt=Ct.call(this,gr),Mt.inlineOpenKeys=[],Mt.onSelect=function(tr){var Dr=Object(h.a)(Mt),dr=Dr.props;if(dr.selectable){var Tr=Mt.store.getState(),vn=Tr.selectedKeys,on=tr.key;dr.multiple?vn=vn.concat([on]):vn=[on],"selectedKeys"in dr||Mt.store.setState({selectedKeys:vn}),dr.onSelect(Object(u.a)(Object(u.a)({},tr),{},{selectedKeys:vn}))}},Mt.onClick=function(tr){var Dr=Mt.getRealMenuMode(),dr=Object(h.a)(Mt),Tr=dr.store,vn=dr.props.onOpenChange;Dr!=="inline"&&!("openKeys"in Mt.props)&&(Tr.setState({openKeys:[]}),vn([])),Mt.props.onClick(tr)},Mt.onKeyDown=function(tr,Dr){Mt.innerMenu.getWrappedInstance().onKeyDown(tr,Dr)},Mt.onOpenChange=function(tr){var Dr=Object(h.a)(Mt),dr=Dr.props,Tr=Mt.store.getState().openKeys.concat(),vn=!1,on=function(di){var Ti=!1;if(di.open)Ti=Tr.indexOf(di.key)===-1,Ti&&Tr.push(di.key);else{var Fi=Tr.indexOf(di.key);Ti=Fi!==-1,Ti&&Tr.splice(Fi,1)}vn=vn||Ti};Array.isArray(tr)?tr.forEach(on):on(tr),vn&&("openKeys"in Mt.props||Mt.store.setState({openKeys:Tr}),dr.onOpenChange(Tr))},Mt.onDeselect=function(tr){var Dr=Object(h.a)(Mt),dr=Dr.props;if(dr.selectable){var Tr=Mt.store.getState().selectedKeys.concat(),vn=tr.key,on=Tr.indexOf(vn);on!==-1&&Tr.splice(on,1),"selectedKeys"in dr||Mt.store.setState({selectedKeys:Tr}),dr.onDeselect(Object(u.a)(Object(u.a)({},tr),{},{selectedKeys:Tr}))}},Mt.onMouseEnter=function(tr){Mt.restoreModeVerticalFromInline();var Dr=Mt.props.onMouseEnter;Dr&&Dr(tr)},Mt.onTransitionEnd=function(tr){var Dr=tr.propertyName==="width"&&tr.target===tr.currentTarget,dr=tr.target.className,Tr=Object.prototype.toString.call(dr)==="[object SVGAnimatedString]"?dr.animVal:dr,vn=tr.propertyName==="font-size"&&Tr.indexOf("anticon")>=0;(Dr||vn)&&Mt.restoreModeVerticalFromInline()},Mt.setInnerMenu=function(tr){Mt.innerMenu=tr},Mt.isRootMenu=!0;var rr=gr.defaultSelectedKeys,Dt=gr.defaultOpenKeys;return"selectedKeys"in gr&&(rr=gr.selectedKeys||[]),"openKeys"in gr&&(Dt=gr.openKeys||[]),Mt.store=Object(v.c)({selectedKeys:rr,openKeys:Dt,activeKey:{"0-menu-":ve(gr,gr.activeKey)}}),Mt.state={switchingModeFromInline:!1},Mt}return Object(o.a)(mr,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(Mt){this.updateOpentKeysWhenSwitchMode(Mt),this.updateMiniStore();var rr=this.props,Dt=rr.siderCollapsed,tr=rr.inlineCollapsed,Dr=rr.onOpenChange;(!Mt.inlineCollapsed&&tr||!Mt.siderCollapsed&&Dt)&&Dr([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(Mt){var rr=this.props,Dt=this.store,tr=this.inlineOpenKeys,Dr=Dt.getState(),dr={};Mt.mode==="inline"&&rr.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in rr||((rr.inlineCollapsed&&!Mt.inlineCollapsed||rr.siderCollapsed&&!Mt.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=Dr.openKeys.concat(),dr.openKeys=[]),(!rr.inlineCollapsed&&Mt.inlineCollapsed||!rr.siderCollapsed&&Mt.siderCollapsed)&&(dr.openKeys=tr,this.inlineOpenKeys=[])),Object.keys(dr).length&&Dt.setState(dr)}},{key:"updateMenuDisplay",value:function(){var Mt=this.props.collapsedWidth,rr=this.store,Dt=this.prevOpenKeys,tr=this.getInlineCollapsed()&&(Mt===0||Mt==="0"||Mt==="0px");tr?(this.prevOpenKeys=rr.getState().openKeys.concat(),this.store.setState({openKeys:[]})):Dt&&(this.store.setState({openKeys:Dt}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var Mt=this.props.mode,rr=this.state.switchingModeFromInline,Dt=this.getInlineCollapsed();return rr&&Dt?"inline":Dt?"vertical":Mt}},{key:"getInlineCollapsed",value:function(){var Mt=this.props,rr=Mt.inlineCollapsed,Dt=Mt.siderCollapsed;return Dt!==void 0?Dt:rr}},{key:"restoreModeVerticalFromInline",value:function(){var Mt=this.state.switchingModeFromInline;Mt&&this.setState({switchingModeFromInline:!1})}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var Mt=Object(u.a)({},Object(y.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),rr=this.getRealMenuMode();return Mt.className+=" ".concat(Mt.prefixCls,"-root"),Mt.direction==="rtl"&&(Mt.className+=" ".concat(Mt.prefixCls,"-rtl")),Mt=Object(u.a)(Object(u.a)({},Mt),{},{mode:rr,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:at(this.props,this.state,rr)}),delete Mt.openAnimation,delete Mt.openTransitionName,i.createElement(v.a,{store:this.store},i.createElement(kt,Object.assign({},Mt,{ref:this.setInnerMenu}),this.props.children))}}]),mr}(i.Component);Ht.defaultProps={selectable:!0,onClick:ge,onSelect:ge,onOpenChange:ge,onDeselect:ge,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:i.createElement("span",null,"\xB7\xB7\xB7")};var Wt=Ht,ot=function(It){Object(p.a)(mr,It);var Ct=Object(g.a)(mr);function mr(){var gr;return Object(r.a)(this,mr),gr=Ct.apply(this,arguments),gr.onKeyDown=function(Mt){var rr=Mt.keyCode;return rr===_.a.ENTER?(gr.onClick(Mt),!0):void 0},gr.onMouseLeave=function(Mt){var rr=gr.props,Dt=rr.eventKey,tr=rr.onItemHover,Dr=rr.onMouseLeave;tr({key:Dt,hover:!1}),Dr({key:Dt,domEvent:Mt})},gr.onMouseEnter=function(Mt){var rr=gr.props,Dt=rr.eventKey,tr=rr.onItemHover,Dr=rr.onMouseEnter;tr({key:Dt,hover:!0}),Dr({key:Dt,domEvent:Mt})},gr.onClick=function(Mt){var rr=gr.props,Dt=rr.eventKey,tr=rr.multiple,Dr=rr.onClick,dr=rr.onSelect,Tr=rr.onDeselect,vn=rr.isSelected,on={key:Dt,keyPath:[Dt],item:Object(h.a)(gr),domEvent:Mt};Dr(on),tr?vn?Tr(on):dr(on):vn||dr(on)},gr.saveNode=function(Mt){gr.node=Mt},gr}return Object(o.a)(mr,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var Mt=this.props;Mt.onDestroy&&Mt.onDestroy(Mt.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var Mt,rr=Object(u.a)({},this.props),Dt=M()(this.getPrefixCls(),rr.className,(Mt={},Object(S.a)(Mt,this.getActiveClassName(),!rr.disabled&&rr.active),Object(S.a)(Mt,this.getSelectedClassName(),rr.isSelected),Object(S.a)(Mt,this.getDisabledClassName(),rr.disabled),Mt)),tr=Object(u.a)(Object(u.a)({},rr.attribute),{},{title:typeof rr.title=="string"?rr.title:void 0,className:Dt,role:rr.role||"menuitem","aria-disabled":rr.disabled});rr.role==="option"?tr=Object(u.a)(Object(u.a)({},tr),{},{role:"option","aria-selected":rr.isSelected}):(rr.role===null||rr.role==="none")&&(tr.role="none");var Dr={onClick:rr.disabled?null:this.onClick,onMouseLeave:rr.disabled?null:this.onMouseLeave,onMouseEnter:rr.disabled?null:this.onMouseEnter},dr=Object(u.a)({},rr.style);rr.mode==="inline"&&(rr.direction==="rtl"?dr.paddingRight=rr.inlineIndent*rr.level:dr.paddingLeft=rr.inlineIndent*rr.level),ae.forEach(function(vn){return delete rr[vn]}),delete rr.direction;var Tr=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Tr=i.createElement(this.props.itemIcon,this.props)),i.createElement("li",Object.assign({},Object(y.default)(rr,["onClick","onMouseEnter","onMouseLeave","onSelect"]),tr,Dr,{style:dr,ref:this.saveNode}),rr.children,Tr)}}]),mr}(i.Component);ot.isMenuItem=!0,ot.defaultProps={onSelect:ge,onMouseEnter:ge,onMouseLeave:ge,manualRef:ge};var et=Object(v.b)(function(It,Ct){var mr=It.activeKey,gr=It.selectedKeys,Mt=Ct.eventKey,rr=Ct.subMenuKey;return{active:mr[rr]===Mt,isSelected:gr.indexOf(Mt)!==-1}})(ot),Ze=et,Gt=function(It){Object(p.a)(mr,It);var Ct=Object(g.a)(mr);function mr(){var gr;return Object(r.a)(this,mr),gr=Ct.apply(this,arguments),gr.renderInnerMenuItem=function(Mt){var rr=gr.props,Dt=rr.renderMenuItem,tr=rr.index;return Dt(Mt,tr,gr.props.subMenuKey)},gr}return Object(o.a)(mr,[{key:"render",value:function(){var Mt=Object(w.a)({},this.props),rr=Mt.className,Dt=rr===void 0?"":rr,tr=Mt.rootPrefixCls,Dr="".concat(tr,"-item-group-title"),dr="".concat(tr,"-item-group-list"),Tr=Mt.title,vn=Mt.children;return ae.forEach(function(on){return delete Mt[on]}),delete Mt.onClick,delete Mt.direction,i.createElement("li",Object.assign({},Mt,{className:"".concat(Dt," ").concat(tr,"-item-group")}),i.createElement("div",{className:Dr,title:typeof Tr=="string"?Tr:void 0},Tr),i.createElement("ul",{className:dr},i.Children.map(vn,this.renderInnerMenuItem)))}}]),mr}(i.Component);Gt.isMenuItemGroup=!0,Gt.defaultProps={disabled:!0};var yr=Gt,br=function(Ct){var mr=Ct.className,gr=Ct.rootPrefixCls,Mt=Ct.style;return i.createElement("li",{className:"".concat(mr," ").concat(gr,"-item-divider"),style:Mt})};br.defaultProps={disabled:!0,className:"",style:{}};var Sr=br,Tn=Wt,cn=Object(i.createContext)({inlineCollapsed:!1}),Wn=cn,lt=l("0n0R"),mt=function(It){n()(mr,It);var Ct=c()(mr);function mr(){return e()(this,mr),Ct.apply(this,arguments)}return d()(mr,[{key:"renderTitle",value:function(Mt){var rr=this.props,Dt=rr.icon,tr=rr.title,Dr=rr.level,dr=rr.rootPrefixCls;if(!Dt)return Mt&&Dr===1&&tr&&typeof tr=="string"?i.createElement("div",{className:"".concat(dr,"-inline-collapsed-noicon")},tr.charAt(0)):tr;var Tr=Object(lt.b)(tr)&&tr.type==="span";return i.createElement(i.Fragment,null,Dt,Tr?tr:i.createElement("span",null,tr))}},{key:"render",value:function(){var Mt=this,rr=this.props,Dt=rr.rootPrefixCls,tr=rr.popupClassName;return i.createElement(Wn.Consumer,null,function(Dr){var dr=Dr.inlineCollapsed,Tr=Dr.antdMenuTheme;return i.createElement(Kt,b()({},Object(y.default)(Mt.props,["icon"]),{title:Mt.renderTitle(dr),popupClassName:M()(Dt,"".concat(Dt,"-").concat(Tr),tr)}))})}}]),mr}(i.Component);mt.contextType=Wn,mt.isSubMenu=1;var Le=mt,ze=l("Zm9Q"),$e=l("3S7+"),gt=l("ZX9x"),ir=function(It,Ct){var mr={};for(var gr in It)Object.prototype.hasOwnProperty.call(It,gr)&&Ct.indexOf(gr)<0&&(mr[gr]=It[gr]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,gr=Object.getOwnPropertySymbols(It);Mt1&&s&&s.length>1){var i=A(s)/A(c);!isFinite(i)&&(i=1),a.pinchScale=i;var u=f(s);return a.pinchX=u[0],a.pinchY=u[1],{type:"pinch",target:d[0].target,event:a}}}},e=b;j.exports=e},C0tN:function(j,R,l){l("0o9m"),l("8Uz6"),l("Ducp"),l("6/nd")},CBdT:function(j,R,l){var x=l("ProS");l("8waO"),l("AEZ6"),l("YNf1");var b=l("q3GZ");x.registerVisual(b)},CF2D:function(j,R,l){var x=l("ProS");l("vZI5"),l("GeKi");var b=l("6r85"),A=l("TJmX"),f=l("CbHG");x.registerPreprocessor(b),x.registerVisual(A),x.registerLayout(f)},CFYs:function(j,R,l){"use strict";var x=l("lSNA"),b=l.n(x),A=l("pVnL"),f=l.n(A),t=l("lwsE"),e=l.n(t),m=l("W8MJ"),d=l.n(m),a=l("PJYZ"),n=l.n(a),s=l("7W2i"),c=l.n(s),i=l("LQ03"),u=l.n(i),r=l("q1tI"),o=l.n(r),h=l("TSYQ"),p=l.n(h),g=l("BGR+"),v=l("V/uB"),y=l.n(v),w=l("NAnI"),S=l.n(w),_=l("J84W"),I=l.n(_),C=l("kbBi"),E=l.n(C),O=l("H84U"),M=l("CWQg"),F=l("uaoM"),H=l("Zss7"),B=l.n(H),X=2,J=.16,k=.05,K=.05,z=.15,W=5,P=4,G=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function V(Xt,er,Kr){var en;return Math.round(Xt.h)>=60&&Math.round(Xt.h)<=240?en=Kr?Math.round(Xt.h)-X*er:Math.round(Xt.h)+X*er:en=Kr?Math.round(Xt.h)+X*er:Math.round(Xt.h)-X*er,en<0?en+=360:en>=360&&(en-=360),en}function q(Xt,er,Kr){if(Xt.h===0&&Xt.s===0)return Xt.s;var en;return Kr?en=Xt.s-J*er:er===P?en=Xt.s+J:en=Xt.s+k*er,en>1&&(en=1),Kr&&er===W&&en>.1&&(en=.1),en<.06&&(en=.06),Number(en.toFixed(2))}function re(Xt,er,Kr){var en;return Kr?en=Xt.v+K*er:en=Xt.v-z*er,en>1&&(en=1),Number(en.toFixed(2))}function ce(Xt){for(var er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Kr=[],en=B()(Xt),Fn=W;Fn>0;Fn-=1){var ar=en.toHsv(),It=B()({h:V(ar,Fn,!0),s:q(ar,Fn,!0),v:re(ar,Fn,!0)}).toHexString();Kr.push(It)}Kr.push(en.toHexString());for(var Ct=1;Ct<=P;Ct+=1){var mr=en.toHsv(),gr=B()({h:V(mr,Ct),s:q(mr,Ct),v:re(mr,Ct)}).toHexString();Kr.push(gr)}return er.theme==="dark"?G.map(function(Mt){var rr=Mt.index,Dt=Mt.opacity,tr=B.a.mix(er.backgroundColor||"#141414",Kr[rr],Dt*100).toHexString();return tr}):Kr}var ie={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},fe={},xe={};Object.keys(ie).forEach(function(Xt){fe[Xt]=ce(ie[Xt]),fe[Xt].primary=fe[Xt][5],xe[Xt]=ce(ie[Xt],{theme:"dark",backgroundColor:"#141414"}),xe[Xt].primary=xe[Xt][5]});var Se=fe.red,ke=fe.volcano,ge=fe.gold,Be=fe.orange,ee=fe.yellow,ue=fe.lime,Ge=fe.green,ae=fe.cyan,Z=fe.blue,Y=fe.geekblue,te=fe.purple,we=fe.magenta,pe=fe.grey;function De(Xt){return!Xt||Xt<0?0:Xt>100?100:Xt}function Ne(Xt){var er=Xt.success,Kr=Xt.successPercent,en=Kr;return er&&"progress"in er&&(Object(F.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),en=er.progress),er&&"percent"in er&&(en=er.percent),en}var me=function(Xt,er){var Kr={};for(var en in Xt)Object.prototype.hasOwnProperty.call(Xt,en)&&er.indexOf(en)<0&&(Kr[en]=Xt[en]);if(Xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fn=0,en=Object.getOwnPropertySymbols(Xt);FnXt.length)&&(er=Xt.length);for(var Kr=0,en=new Array(er);Kr=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Xt,en))continue;Kr[en]=Xt[en]}}return Kr}function Ee(Xt,er){if(Xt==null)return{};var Kr={},en=Object.keys(Xt),Fn,ar;for(ar=0;ar=0)continue;Kr[Fn]=Xt[Fn]}return Kr}var de=function(er){var Kr=er.className,en=er.percent,Fn=er.prefixCls,ar=er.strokeColor,It=er.strokeLinecap,Ct=er.strokeWidth,mr=er.style,gr=er.trailColor,Mt=er.trailWidth,rr=er.transition,Dt=ht(er,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete Dt.gapPosition;var tr=Array.isArray(en)?en:[en],Dr=Array.isArray(ar)?ar:[ar],dr=Pe(tr),Tr=ut(dr,1),vn=Tr[0],on=Ct/2,Gn=100-Ct/2,di="M ".concat(It==="round"?on:0,",").concat(on,` + L `).concat(It==="round"?Gn:100,",").concat(on),Ti="0 0 100 ".concat(Ct),Fi=0;return o.a.createElement("svg",Nt({className:p()("".concat(Fn,"-line"),Kr),viewBox:Ti,preserveAspectRatio:"none",style:mr},Dt),o.a.createElement("path",{className:"".concat(Fn,"-line-trail"),d:di,strokeLinecap:It,stroke:gr,strokeWidth:Mt||Ct,fillOpacity:"0"}),tr.map(function(la,Ta){var dt={strokeDasharray:"".concat(la,"px, 100px"),strokeDashoffset:"-".concat(Fi,"px"),transition:rr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Me=Dr[Ta]||Dr[Dr.length-1];return Fi+=la,o.a.createElement("path",{key:Ta,className:"".concat(Fn,"-line-path"),d:di,strokeLinecap:It,stroke:Me,strokeWidth:Ct,fillOpacity:"0",ref:vn[Ta],style:dt})}))};de.defaultProps=pt;var qe=de;function rt(){return rt=Object.assign||function(Xt){for(var er=1;erXt.length)&&(er=Xt.length);for(var Kr=0,en=new Array(er);Kr=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Xt,en))continue;Kr[en]=Xt[en]}}return Kr}function Ht(Xt,er){if(Xt==null)return{};var Kr={},en=Object.keys(Xt),Fn,ar;for(ar=0;ar=0)continue;Kr[Fn]=Xt[Fn]}return Kr}var Wt=0;function ot(Xt){return+Xt.replace("%","")}function et(Xt){return Array.isArray(Xt)?Xt:[Xt]}function Ze(Xt,er,Kr,en){var Fn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,ar=arguments.length>5?arguments[5]:void 0,It=50-en/2,Ct=0,mr=-It,gr=0,Mt=-2*It;switch(ar){case"left":Ct=-It,mr=0,gr=2*It,Mt=0;break;case"right":Ct=It,mr=0,gr=-2*It,Mt=0;break;case"bottom":mr=It,Mt=2*It;break;default:}var rr="M 50,50 m ".concat(Ct,",").concat(mr,` a `).concat(It,",").concat(It," 0 1 1 ").concat(gr,",").concat(-Mt,` - a `).concat(It,",").concat(It," 0 1 1 ").concat(-gr,",").concat(Mt),Dt=Math.PI*2*It,tr={stroke:Wr,strokeDasharray:"".concat(er/100*(Dt-Fn),"px ").concat(Dt,"px"),strokeDashoffset:"-".concat(Fn/2+Xt/100*(Dt-Fn),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:rr,pathStyle:tr}}var Gt=function(er){var Wr=er.prefixCls,en=er.strokeWidth,Fn=er.trailWidth,ar=er.gapDegree,It=er.gapPosition,Ct=er.trailColor,mr=er.strokeLinecap,gr=er.style,Mt=er.className,rr=er.strokeColor,Dt=er.percent,tr=at(er,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),Dr=Object(r.useMemo)(function(){return Kt+=1,Kt},[]),dr=Ze(0,100,Ct,en,ar,It),Tr=dr.pathString,vn=dr.pathStyle,on=et(Dt),Gn=et(rr),di=Gn.find(function(dt){return Object.prototype.toString.call(dt)==="[object Object]"}),Ti=Pe(on),Fi=ve(Ti,1),la=Fi[0],Ta=function(){var Me=0;return on.map(function(Xe,Qe){var st=Gn[Qe]||Gn[Gn.length-1],nt=Object.prototype.toString.call(st)==="[object Object]"?"url(#".concat(Wr,"-gradient-").concat(Dr,")"):"",ft=Ze(Me,Xe,st,en,ar,It);return Me+=Xe,o.a.createElement("path",{key:Qe,className:"".concat(Wr,"-circle-path"),d:ft.pathString,stroke:nt,strokeLinecap:mr,strokeWidth:en,opacity:Xe===0?0:1,fillOpacity:"0",style:ft.pathStyle,ref:la[Qe]})})};return o.a.createElement("svg",rt({className:p()("".concat(Wr,"-circle"),Mt),viewBox:"0 0 100 100",style:gr},tr),di&&o.a.createElement("defs",null,o.a.createElement("linearGradient",{id:"".concat(Wr,"-gradient-").concat(Dr),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(di).sort(function(dt,Me){return ot(dt)-ot(Me)}).map(function(dt,Me){return o.a.createElement("stop",{key:Me,offset:dt,stopColor:di[dt]})}))),o.a.createElement("path",{className:"".concat(Wr,"-circle-trail"),d:Tr,stroke:Ct,strokeLinecap:mr,strokeWidth:Fn||en,fillOpacity:"0",style:vn}),Ta().reverse())};Gt.defaultProps=pt;var yr=Gt,br={Line:qe,Circle:yr};function Sr(Xt){var er=Xt.percent,Wr=Xt.success,en=Xt.successPercent,Fn=De(er),ar=Ne({success:Wr,successPercent:en});return ar?[De(ar),De(Fn-De(ar))]:Fn}function Tn(Xt){var er=Xt.success,Wr=Xt.strokeColor,en=Xt.successPercent,Fn=Wr||null,ar=Ne({success:er,successPercent:en});return ar?[ie.green,Fn]:Fn}var cn=function(er){var Wr=er.prefixCls,en=er.width,Fn=er.strokeWidth,ar=er.trailColor,It=er.strokeLinecap,Ct=er.gapPosition,mr=er.gapDegree,gr=er.type,Mt=er.children,rr=en||120,Dt={width:rr,height:rr,fontSize:rr*.15+6},tr=Fn||6,Dr=Ct||gr==="dashboard"&&"bottom"||"top",dr=function(){return mr||mr===0?mr:gr==="dashboard"?75:void 0},Tr=Tn(er),vn=Object.prototype.toString.call(Tr)==="[object Object]",on=p()("".concat(Wr,"-inner"),b()({},"".concat(Wr,"-circle-gradient"),vn));return r.createElement("div",{className:on,style:Dt},r.createElement(yr,{percent:Sr(er),strokeWidth:tr,trailWidth:tr,strokeColor:Tr,strokeLinecap:It,trailColor:ar,prefixCls:Wr,gapDegree:dr(),gapPosition:Dr}),Mt)},Kn=cn,lt=function(er){for(var Wr=er.size,en=er.steps,Fn=er.percent,ar=Fn===void 0?0:Fn,It=er.strokeWidth,Ct=It===void 0?8:It,mr=er.strokeColor,gr=er.trailColor,Mt=er.prefixCls,rr=er.children,Dt=Math.floor(en*(ar/100)),tr=Wr==="small"?2:14,Dr=[],dr=0;dr=100?"success":Fn||"normal"}},{key:"renderProcessInfo",value:function(Fn,ar){var It=this.props,Ct=It.showInfo,mr=It.format,gr=It.type,Mt=It.percent,rr=Ne(this.props);if(!Ct)return null;var Dt,tr=mr||function(dr){return"".concat(dr,"%")},Dr=gr==="line";return mr||ar!=="exception"&&ar!=="success"?Dt=tr(De(Mt),De(rr)):ar==="exception"?Dt=Dr?r.createElement(E.a,null):r.createElement(y.a,null):ar==="success"&&(Dt=Dr?r.createElement(I.a,null):r.createElement(S.a,null)),r.createElement("span",{className:"".concat(Fn,"-text"),title:typeof Dt=="string"?Dt:void 0},Dt)}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderProgress)}}]),Wr}(r.Component);gt.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var ir=R.a=gt},"CMP+":function(j,R,l){var x=l("bYtY"),b=l("hM6l"),A=function(t,e,m,d){b.call(this,t,e,m),this.type=d||"value",this.model=null};A.prototype={constructor:A,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},x.inherits(A,b);var f=A;j.exports=f},CP8R:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};R.default=x},"CWI+":function(j,R,l){},CbHG:function(j,R,l){var x=l("IwbS"),b=x.subPixelOptimize,A=l("zM3Q"),f=l("OELB"),t=f.parsePercent,e=l("bYtY"),m=e.retrieve2,d=typeof Float32Array!="undefined"?Float32Array:Array,a={seriesType:"candlestick",plan:A(),reset:function(c){var i=c.coordinateSystem,u=c.getData(),r=s(c,u),o=0,h=1,p=["x","y"],g=u.mapDimension(p[o]),v=u.mapDimension(p[h],!0),y=v[0],w=v[1],S=v[2],_=v[3];if(u.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),g==null||v.length<4)return;return{progress:c.pipelineContext.large?C:I};function I(E,O){for(var M;(M=E.next())!=null;){var F=O.get(g,M),H=O.get(y,M),B=O.get(w,M),X=O.get(S,M),J=O.get(_,M),k=Math.min(H,B),W=Math.max(H,B),z=q(k,F),K=q(W,F),P=q(X,F),G=q(J,F),V=[];re(V,K,0),re(V,z,1),V.push(ie(G),ie(K),ie(P),ie(z)),O.setItemLayout(M,{sign:n(O,M,H,B,w),initBaseline:H>B?K[h]:z[h],ends:V,brushRect:ce(X,J,F)})}function q(fe,xe){var Se=[];return Se[o]=xe,Se[h]=fe,isNaN(xe)||isNaN(fe)?[NaN,NaN]:i.dataToPoint(Se)}function re(fe,xe,Se){var ke=xe.slice(),ge=xe.slice();ke[o]=b(ke[o]+r/2,1,!1),ge[o]=b(ge[o]-r/2,1,!0),Se?fe.push(ke,ge):fe.push(ge,ke)}function ce(fe,xe,Se){var ke=q(fe,Se),ge=q(xe,Se);return ke[o]-=r/2,ge[o]-=r/2,{x:ke[0],y:ke[1],width:h?r:ge[0]-ke[0],height:h?ge[1]-ke[1]:r}}function ie(fe){return fe[o]=b(fe[o],1),fe}}function C(E,O){for(var M=new d(E.count*4),F=0,H,B=[],X=[],J;(J=E.next())!=null;){var k=O.get(g,J),W=O.get(y,J),z=O.get(w,J),K=O.get(S,J),P=O.get(_,J);if(isNaN(k)||isNaN(K)||isNaN(P)){M[F++]=NaN,F+=3;continue}M[F++]=n(O,J,W,z,w),B[o]=k,B[h]=K,H=i.dataToPoint(B,null,X),M[F++]=H?H[0]:NaN,M[F++]=H?H[1]:NaN,B[h]=P,H=i.dataToPoint(B,null,X),M[F++]=H?H[1]:NaN}O.setLayout("largePoints",M)}}};function n(c,i,u,r,o){var h;return u>r?h=-1:u0?c.get(o,i-1)<=r?1:-1:1,h}function s(c,i){var u=c.getBaseAxis(),r,o=u.type==="category"?u.getBandWidth():(r=u.getExtent(),Math.abs(r[1]-r[0])/i.count()),h=t(m(c.get("barMaxWidth"),o),o),p=t(m(c.get("barMinWidth"),1),o),g=c.get("barWidth");return g!=null?t(g,o):Math.max(Math.min(o/2,h),p)}j.exports=a},Cm0C:function(j,R,l){l("5NHt"),l("f3JH")},Cmcn:function(j,R,l){"use strict";l.d(R,"a",function(){return b});var x=l("0HTW");function b(A,f){var t;if(typeof Symbol=="undefined"||A[Symbol.iterator]==null){if(Array.isArray(A)||(t=Object(x.a)(A))||f&&A&&typeof A.length=="number"){t&&(A=t);var e=0,m=function(){};return{s:m,n:function(){return e>=A.length?{done:!0}:{done:!1,value:A[e++]}},e:function(c){throw c},f:m}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var d=!0,a=!1,n;return{s:function(){t=A[Symbol.iterator]()},n:function(){var c=t.next();return d=c.done,c},e:function(c){a=!0,n=c},f:function(){try{!d&&t.return!=null&&t.return()}finally{if(a)throw n}}}}},CrYA:function(j,R,l){var x=l("MFOe"),b=x.Global;j.exports={name:"sessionStorage",read:f,write:t,each:e,remove:m,clearAll:d};function A(){return b.sessionStorage}function f(a){return A().getItem(a)}function t(a,n){return A().setItem(a,n)}function e(a){for(var n=A().length-1;n>=0;n--){var s=A().key(n);a(f(s),s)}}function m(a){return A().removeItem(a)}function d(){return A().clear()}},Csr3:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("4vCz"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},D1WM:function(j,R,l){var x=l("bYtY"),b=l("hM6l"),A=function(t,e,m,d,a){b.call(this,t,e,m),this.type=d||"value",this.axisIndex=a};A.prototype={constructor:A,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},x.inherits(A,b);var f=A;j.exports=f},D5nY:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("4NO4"),f=A.makeInner,t=A.getDataItemValue,e=l("bYtY"),m=e.createHashMap,d=e.each,a=e.map,n=e.isArray,s=e.isString,c=e.isObject,i=e.isTypedArray,u=e.isArrayLike,r=e.extend,o=e.assert,h=l("7G+c"),p=l("k9D9"),g=p.SOURCE_FORMAT_ORIGINAL,v=p.SOURCE_FORMAT_ARRAY_ROWS,y=p.SOURCE_FORMAT_OBJECT_ROWS,w=p.SOURCE_FORMAT_KEYED_COLUMNS,S=p.SOURCE_FORMAT_UNKNOWN,_=p.SOURCE_FORMAT_TYPED_ARRAY,I=p.SERIES_LAYOUT_BY_ROW,C={Must:1,Might:2,Not:3},E=f();function O(V){var q=V.option.source,re=S;if(i(q))re=_;else if(n(q)){q.length===0&&(re=v);for(var ce=0,ie=q.length;ce0&&(h=this.getLineLength(u)/g*1e3),h!==this._period||p!==this._loop){u.stopAnimation();var w=v;y&&(w=v(i)),u.__t>0&&(w=-h*u.__t),u.__t=0;var S=u.animate("",p).when(h,{__t:1}).delay(w).during(function(){r.updateSymbolPosition(u)});p||S.done(function(){r.remove(u)}),S.start()}this._period=h,this._loop=p},a.getLineLength=function(s){return e.dist(s.__p1,s.__cp1)+e.dist(s.__cp1,s.__p2)},a.updateAnimationPoints=function(s,c){s.__p1=c[0],s.__p2=c[1],s.__cp1=c[2]||[(c[0][0]+c[1][0])/2,(c[0][1]+c[1][1])/2]},a.updateData=function(s,c,i){this.childAt(0).updateData(s,c,i),this._updateEffectSymbol(s,c)},a.updateSymbolPosition=function(s){var c=s.__p1,i=s.__p2,u=s.__cp1,r=s.__t,o=s.position,h=[o[0],o[1]],p=m.quadraticAt,g=m.quadraticDerivativeAt;o[0]=p(c[0],u[0],i[0],r),o[1]=p(c[1],u[1],i[1],r);var v=g(c[0],u[0],i[0],r),y=g(c[1],u[1],i[1],r);if(s.rotation=-Math.atan2(y,v)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(s.__lastT!==void 0&&s.__lastT=n&&r+1>=s){for(var o=[],h=0;h=n&&_+1>=s)return x(a,y.components,m,e);u[v]=y}c++}for(;c<=i;){var g=p();if(g)return g}},pushComponent:function(e,m,d){var a=e[e.length-1];a&&a.added===m&&a.removed===d?e[e.length-1]={count:a.count+1,added:m,removed:d}:e.push({count:1,added:m,removed:d})},extractCommon:function(e,m,d,a){for(var n=m.length,s=d.length,c=e.newPos,i=c-a,u=0;c+1=0)&&(Z=o);var Y=new e.Text({position:ge(K.center.slice()),scale:[1/I.scale[0],1/I.scale[1]],z2:10,silent:!0});if(e.setLabelStyle(Y.style,Y.hoverStyle={},fe,xe,{labelFetcher:Z,labelDataIndex:ae,defaultText:K.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!E){var te=[1/O[0],1/O[1]];e.updateProps(Y,{scale:te},o)}P.add(Y)}if(w)w.setItemGraphicEl(Se,P);else{var V=o.getRegionModel(K.name);G.eventData={componentType:"geo",componentIndex:o.componentIndex,geoIndex:o.componentIndex,name:K.name,region:V&&V.option||{}}}var we=P.__regions||(P.__regions=[]);we.push(K),P.highDownSilentOnTouch=!!o.get("selectedMode"),e.setHoverStyle(P,ie),_.add(P)}),this._updateController(o,h,p),c(this,o,_,p,g),i(o,_)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&m.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(o){var h=o.map;this._mapName!==h&&x.each(m.makeGraphic(h,this.uid),function(p){this._backgroundGroup.add(p)},this),this._mapName=h},_updateController:function(o,h,p){var g=o.coordinateSystem,v=this._controller,y=this._controllerHost;y.zoomLimit=o.get("scaleLimit"),y.zoom=g.getZoom(),v.enable(o.get("roam")||!1);var w=o.mainType;function S(){var _={type:"geoRoam",componentType:w};return _[w+"Id"]=o.id,_}v.off("pan").on("pan",function(_){this._mouseDownFlag=!1,A.updateViewOnPan(y,_.dx,_.dy),p.dispatchAction(x.extend(S(),{dx:_.dx,dy:_.dy}))},this),v.off("zoom").on("zoom",function(_){if(this._mouseDownFlag=!1,A.updateViewOnZoom(y,_.scale,_.originX,_.originY),p.dispatchAction(x.extend(S(),{zoom:_.scale,originX:_.originX,originY:_.originY})),this._updateGroup){var I=this.group.scale;this._regionsGroup.traverse(function(C){C.type==="text"&&C.attr("scale",[1/I[0],1/I[1]])})}},this),v.setPointerChecker(function(_,I,C){return g.getViewRectAfterRoam().contain(I,C)&&!t(_,p,o)})}};var r=u;j.exports=r},DFOY:function(j,R,l){"use strict";var x=l("pVnL"),b=l.n(x),A=l("lSNA"),f=l.n(A),t=l("lwsE"),e=l.n(t),m=l("W8MJ"),d=l.n(m),a=l("PJYZ"),n=l.n(a),s=l("7W2i"),c=l.n(s),i=l("LQ03"),u=l.n(i),r=l("q1tI"),o=l("uciX"),h=l("2W6z"),p=l.n(h),g=l("4IlW"),v=l("uK0f"),y=l.n(v);function w(et,Ze){if(et===Ze)return!0;if(!et||!Ze)return!1;var Gt=et.length;if(Ze.length!==Gt)return!1;for(var yr=0;yr0;(er||Sr.isLeaf===!1)&&(ir+=" ".concat(Kn,"-menu-item-expand"),Sr.loading||(Xt=r.createElement("span",{className:"".concat(Kn,"-menu-item-expand-icon")},mt))),lt==="hover"&&(er||Sr.isLeaf===!1)&&(gt={onMouseEnter:this.delayOnSelect.bind(this,ze),onMouseLeave:this.delayOnSelect.bind(this),onClick:ze}),this.isActiveOption(Sr,Tn)&&(ir+=" ".concat(Kn,"-menu-item-active"),gt.ref=this.saveMenuItem(Tn)),Sr.disabled&&(ir+=" ".concat(Kn,"-menu-item-disabled"));var Wr=null;Sr.loading&&(ir+=" ".concat(Kn,"-menu-item-loading"),Wr=Le||null);var en="";return"title"in Sr?en=Sr.title:typeof Sr[this.getFieldName("label")]=="string"&&(en=Sr[this.getFieldName("label")]),r.createElement("li",Object.assign({key:Sr[this.getFieldName("value")],className:ir,title:en},gt,{role:"menuitem",onMouseDown:function(ar){return ar.preventDefault()}}),Sr[this.getFieldName("label")],Xt,Wr)}},{key:"getActiveOptions",value:function(Sr){var Tn=this,cn=this.props.options,Kn=Sr||this.props.activeValue;return y()(cn,function(lt,mt){return lt[Tn.getFieldName("value")]===Kn[mt]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var Sr=this,Tn=this.props.options,cn=this.getActiveOptions().map(function(Kn){return Kn[Sr.getFieldName("children")]}).filter(function(Kn){return!!Kn});return cn.unshift(Tn),cn}},{key:"delayOnSelect",value:function(Sr){for(var Tn=this,cn=arguments.length,Kn=new Array(cn>1?cn-1:0),lt=1;lt=0)continue;if(!Object.prototype.propertyIsEnumerable.call(et,yr))continue;Gt[yr]=et[yr]}}return Gt}function G(et,Ze){if(et==null)return{};var Gt={},yr=Object.keys(et),br,Sr;for(Sr=0;Sr=0)continue;Gt[br]=et[br]}return Gt}function V(et){return ie(et)||ce(et)||re(et)||q()}function q(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function re(et,Ze){if(!et)return;if(typeof et=="string")return fe(et,Ze);var Gt=Object.prototype.toString.call(et).slice(8,-1);if(Gt==="Object"&&et.constructor&&(Gt=et.constructor.name),Gt==="Map"||Gt==="Set")return Array.from(et);if(Gt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Gt))return fe(et,Ze)}function ce(et){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(et))return Array.from(et)}function ie(et){if(Array.isArray(et))return fe(et)}function fe(et,Ze){(Ze==null||Ze>et.length)&&(Ze=et.length);for(var Gt=0,yr=new Array(Ze);Gt=Le.length?0:$e):($e-=1,$e=$e<0?Le.length-1:$e):$e=0,lt[mt]=Le[$e][Sr.getFieldName("value")]}else if(cn.keyCode===g.a.LEFT||cn.keyCode===g.a.BACKSPACE)cn.preventDefault(),lt.splice(lt.length-1,1);else if(cn.keyCode===g.a.RIGHT)cn.preventDefault(),Le[ze]&&Le[ze][Sr.getFieldName("children")]&<.push(Le[ze][Sr.getFieldName("children")][0][Sr.getFieldName("value")]);else if(cn.keyCode===g.a.ESC||cn.keyCode===g.a.TAB){Sr.setPopupVisible(!1);return}(!lt||lt.length===0)&&Sr.setPopupVisible(!1);var gt=Sr.getActiveOptions(lt),ir=gt[gt.length-1];Sr.handleMenuSelect(ir,gt.length-1,cn),Sr.props.onKeyDown&&Sr.props.onKeyDown(cn)},Sr.saveTrigger=function(cn){Sr.trigger=cn};var Tn=[];return"value"in br?Tn=br.value||[]:"defaultValue"in br&&(Tn=br.defaultValue||[]),p()(!("filedNames"in br),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),Sr.state={popupVisible:br.popupVisible,activeValue:Tn,value:Tn,prevProps:br},Sr.defaultFieldNames={label:"label",value:"value",children:"children"},Sr}return ke(yr,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(Sr){var Tn=this.defaultFieldNames,cn=this.props,Kn=cn.fieldNames,lt=cn.filedNames;return"filedNames"in this.props?lt[Sr]||Tn[Sr]:Kn[Sr]||Tn[Sr]}},{key:"getFieldNames",value:function(){var Sr=this.props,Tn=Sr.fieldNames,cn=Sr.filedNames;return"filedNames"in this.props?cn:Tn}},{key:"getCurrentLevelOptions",value:function(){var Sr=this,Tn=this.props.options,cn=Tn===void 0?[]:Tn,Kn=this.state.activeValue,lt=Kn===void 0?[]:Kn,mt=y()(cn,function(Le,ze){return Le[Sr.getFieldName("value")]===lt[ze]},{childrenKeyName:this.getFieldName("children")});return mt[mt.length-2]?mt[mt.length-2][this.getFieldName("children")]:V(cn).filter(function(Le){return!Le.disabled})}},{key:"getActiveOptions",value:function(Sr){var Tn=this;return y()(this.props.options||[],function(cn,Kn){return cn[Tn.getFieldName("value")]===Sr[Kn]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var Sr=this.props,Tn=Sr.prefixCls,cn=Sr.transitionName,Kn=Sr.popupClassName,lt=Sr.options,mt=lt===void 0?[]:lt,Le=Sr.disabled,ze=Sr.builtinPlacements,$e=Sr.popupPlacement,gt=Sr.children,ir=Sr.dropdownRender,Xt=P(Sr,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),er=r.createElement("div",null),Wr="";mt&&mt.length>0?er=r.createElement(k,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):Wr=" ".concat(Tn,"-menus-empty");var en=er;return ir&&(en=ir(er)),r.createElement(o.a,Object.assign({ref:this.saveTrigger},Xt,{popupPlacement:$e,builtinPlacements:ze,popupTransitionName:cn,action:Le?[]:["click"],popupVisible:Le?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(Tn,"-menus"),popupClassName:Kn+Wr,popup:en}),r.cloneElement(gt,{onKeyDown:this.handleKeyDown,tabIndex:Le?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(Sr,Tn){var cn=Tn.prevProps,Kn=cn===void 0?{}:cn,lt={prevProps:Sr};return"value"in Sr&&!w(Kn.value,Sr.value)&&(lt.value=Sr.value||[],"loadData"in Sr||(lt.activeValue=Sr.value||[])),"popupVisible"in Sr&&(lt.popupVisible=Sr.popupVisible),lt}}]),yr}(r.Component);return et.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:z,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},et}(),te=Y,we=te,pe=l("TSYQ"),De=l.n(pe),Ne=l("BGR+"),me=l("kbBi"),be=l.n(me),Re=l("HQEm"),it=l.n(Re),yt=l("fEPi"),pt=l.n(yt),Pe=l("5YOS"),Nt=l.n(Pe),ut=l("DFhj"),Ft=l.n(ut),Ut=l("5rEg"),Wt=l("H84U"),$t=l("YMnH"),or=l("uaoM"),ht=l("3Nzz"),Ee=l("0n0R"),de=function(et,Ze){var Gt={};for(var yr in et)Object.prototype.hasOwnProperty.call(et,yr)&&Ze.indexOf(yr)<0&&(Gt[yr]=et[yr]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var br=0,yr=Object.getOwnPropertySymbols(et);br-1})}function bt(et,Ze,Gt,yr){return Ze.map(function(br,Sr){var Tn=br[yr.label],cn=Tn.indexOf(et)>-1?rt(Tn,et,Gt):Tn;return Sr===0?cn:[" / ",cn]})}function jt(et,Ze,Gt,yr){function br(Sr){return Sr[yr.label].indexOf(Gt)>-1}return et.findIndex(br)-Ze.findIndex(br)}function He(et){var Ze=et.fieldNames;return Ze}function kt(et){var Ze=He(et)||{},Gt={children:Ze.children||"children",label:Ze.label||"label",value:Ze.value||"value"};return Gt}function Ar(et,Ze){var Gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],yr=kt(Ze),br=[],Sr=yr.children;return et.forEach(function(Tn){var cn=Gt.concat(Tn);(Ze.changeOnSelect||!Tn[Sr]||!Tn[Sr].length)&&br.push(cn),Tn[Sr]&&(br=br.concat(Ar(Tn[Sr],Ze,cn)))}),br}var at=function(Ze){return Ze.join(" / ")};function Ht(et){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(et||[]).forEach(function(Gt){var yr=Ze.value||"value";Object(or.a)(yr in Gt,"Cascader","Not found `value` in `options`."),Ht(Gt[Ze.children||"children"],Ze)})}var Kt=function(et){c()(Gt,et);var Ze=u()(Gt);function Gt(yr){var br;return e()(this,Gt),br=Ze.call(this,yr),br.cachedOptions=[],br.setValue=function(Sr){var Tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in br.props||br.setState({value:Sr});var cn=br.props.onChange;cn&&cn(Sr,Tn)},br.saveInput=function(Sr){br.input=Sr},br.handleChange=function(Sr,Tn){if(br.setState({inputValue:""}),Tn[0].__IS_FILTERED_OPTION){var cn=Sr[0],Kn=Tn[0].path;br.setValue(cn,Kn);return}br.setValue(Sr,Tn)},br.handlePopupVisibleChange=function(Sr){"popupVisible"in br.props||br.setState(function(cn){return{popupVisible:Sr,inputFocused:Sr,inputValue:Sr?cn.inputValue:""}});var Tn=br.props.onPopupVisibleChange;Tn&&Tn(Sr)},br.handleInputBlur=function(){br.setState({inputFocused:!1})},br.handleInputClick=function(Sr){var Tn=br.state,cn=Tn.inputFocused,Kn=Tn.popupVisible;(cn||Kn)&&Sr.stopPropagation()},br.handleKeyDown=function(Sr){(Sr.keyCode===g.a.BACKSPACE||Sr.keyCode===g.a.SPACE)&&Sr.stopPropagation()},br.handleInputChange=function(Sr){var Tn=br.state.popupVisible,cn=Sr.target.value;Tn||br.handlePopupVisibleChange(!0),br.setState({inputValue:cn})},br.clearSelection=function(Sr){var Tn=br.state.inputValue;Sr.preventDefault(),Sr.stopPropagation(),Tn?br.setState({inputValue:""}):(br.handlePopupVisibleChange(!1),br.clearSelectionTimeout=setTimeout(function(){br.setValue([])},200))},br.renderCascader=function(Sr,Tn){var cn=Sr.getPopupContainer,Kn=Sr.getPrefixCls,lt=Sr.renderEmpty,mt=Sr.direction;return r.createElement(ht.b.Consumer,null,function(Le){var ze,$e,gt,ir,Xt=n()(br),er=Xt.props,Wr=Xt.state,en=er.prefixCls,Fn=er.inputPrefixCls,ar=er.children,It=er.placeholder,Ct=It===void 0?Tn.placeholder||"Please select":It,mr=er.size,gr=er.disabled,Mt=er.className,rr=er.style,Dt=er.allowClear,tr=er.showSearch,Dr=tr===void 0?!1:tr,dr=er.suffixIcon,Tr=er.expandIcon,vn=er.notFoundContent,on=er.popupClassName,Gn=er.bordered,di=er.dropdownRender,Ti=de(er,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),Fi=mr||Le,la=Wr.value,Ta=Wr.inputFocused,dt=mt==="rtl",Me=Kn("cascader",en),Xe=Kn("input",Fn),Qe=De()((ze={},f()(ze,"".concat(Xe,"-lg"),Fi==="large"),f()(ze,"".concat(Xe,"-sm"),Fi==="small"),ze)),st=Dt&&!gr&&la.length>0||Wr.inputValue?r.createElement(be.a,{className:"".concat(Me,"-picker-clear"),onClick:br.clearSelection}):null,nt=De()(($e={},f()($e,"".concat(Me,"-picker-arrow"),!0),f()($e,"".concat(Me,"-picker-arrow-expand"),Wr.popupVisible),$e)),ft=De()(Mt,"".concat(Me,"-picker"),(gt={},f()(gt,"".concat(Me,"-picker-rtl"),dt),f()(gt,"".concat(Me,"-picker-with-value"),Wr.inputValue),f()(gt,"".concat(Me,"-picker-disabled"),gr),f()(gt,"".concat(Me,"-picker-").concat(Fi),!!Fi),f()(gt,"".concat(Me,"-picker-show-search"),!!Dr),f()(gt,"".concat(Me,"-picker-focused"),Ta),f()(gt,"".concat(Me,"-picker-borderless"),!Gn),gt)),Bt=Object(Ne.default)(Ti,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),Et=er.options,nr=kt(br.props);if(Et&&Et.length>0)Wr.inputValue&&(Et=br.generateFilteredOptions(Me,lt));else{var Ur;Et=[(Ur={},f()(Ur,nr.label,vn||lt("Cascader")),f()(Ur,nr.value,"ANT_CASCADER_NOT_FOUND"),Ur)]}Wr.popupVisible?br.cachedOptions=Et:Et=br.cachedOptions;var Lr={},Vr=(Et||[]).length===1&&Et[0].isEmptyNode;Vr&&(Lr.height="auto");var sr=Dr.matchInputWidth!==!1;sr&&(Wr.inputValue||Vr)&&br.input&&(Lr.width=br.input.input.offsetWidth);var Bn;dr?Bn=Object(Ee.c)(dr,r.createElement("span",{className:"".concat(Me,"-picker-arrow")},dr),function(){var Ni;return{className:De()((Ni={},f()(Ni,dr.props.className,dr.props.className),f()(Ni,"".concat(Me,"-picker-arrow"),!0),Ni))}}):Bn=r.createElement(it.a,{className:nt});var Er=ar||r.createElement("span",{style:rr,className:ft},r.createElement("span",{className:"".concat(Me,"-picker-label")},br.getLabel()),r.createElement(Ut.a,b()({},Bt,{tabIndex:"-1",ref:br.saveInput,prefixCls:Xe,placeholder:la&&la.length>0?void 0:Ct,className:"".concat(Me,"-input ").concat(Qe),value:Wr.inputValue,disabled:gr,readOnly:!Dr,autoComplete:Bt.autoComplete||"off",onClick:Dr?br.handleInputClick:void 0,onBlur:Dr?br.handleInputBlur:void 0,onKeyDown:br.handleKeyDown,onChange:Dr?br.handleInputChange:void 0})),st,Bn),gn;Tr?gn=Tr:gn=dt?r.createElement(Ft.a,null):r.createElement(pt.a,null);var rn=r.createElement("span",{className:"".concat(Me,"-menu-item-loading-icon")},r.createElement(Nt.a,{spin:!0})),Br=er.getPopupContainer||cn,Vn=Object(Ne.default)(er,["inputIcon","expandIcon","loadingIcon","bordered"]),gi=De()(on,(ir={},f()(ir,"".concat(Me,"-menu-").concat(mt),mt==="rtl"),f()(ir,"".concat(Me,"-menu-empty"),Et.length===1&&Et[0].value==="ANT_CASCADER_NOT_FOUND"),ir));return r.createElement(we,b()({},Vn,{prefixCls:Me,getPopupContainer:Br,options:Et,value:la,popupVisible:Wr.popupVisible,onPopupVisibleChange:br.handlePopupVisibleChange,onChange:br.handleChange,dropdownMenuColumnStyle:Lr,expandIcon:gn,loadingIcon:rn,popupClassName:gi,popupPlacement:br.getPopupPlacement(mt),dropdownRender:di}),Er)})},br.state={value:yr.value||yr.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:yr.popupVisible,flattenOptions:yr.showSearch?Ar(yr.options,yr):void 0,prevProps:yr},br}return d()(Gt,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var br=this.props,Sr=br.options,Tn=br.displayRender,cn=Tn===void 0?at:Tn,Kn=kt(this.props),lt=this.state.value,mt=Array.isArray(lt[0])?lt[0]:lt,Le=y()(Sr,function($e,gt){return $e[Kn.value]===mt[gt]},{childrenKeyName:Kn.children}),ze=Le.length?Le.map(function($e){return $e[Kn.label]}):lt;return cn(ze,Le)}},{key:"generateFilteredOptions",value:function(br,Sr){var Tn=this,cn,Kn=this.props,lt=Kn.showSearch,mt=Kn.notFoundContent,Le=kt(this.props),ze=lt.filter,$e=ze===void 0?ve:ze,gt=lt.render,ir=gt===void 0?bt:gt,Xt=lt.sort,er=Xt===void 0?jt:Xt,Wr=lt.limit,en=Wr===void 0?qe:Wr,Fn=this.state,ar=Fn.flattenOptions,It=ar===void 0?[]:ar,Ct=Fn.inputValue,mr;if(en>0){mr=[];var gr=0;It.some(function(Mt){var rr=$e(Tn.state.inputValue,Mt,Le);return rr&&(mr.push(Mt),gr+=1),gr>=en})}else Object(or.a)(typeof en!="number","Cascader","'limit' of showSearch should be positive number or false."),mr=It.filter(function(Mt){return $e(Tn.state.inputValue,Mt,Le)});return mr=mr.sort(function(Mt,rr){return er(Mt,rr,Ct,Le)}),mr.length>0?mr.map(function(Mt){var rr;return rr={__IS_FILTERED_OPTION:!0,path:Mt},f()(rr,Le.value,Mt.map(function(Dt){return Dt[Le.value]})),f()(rr,Le.label,ir(Ct,Mt,br,Le)),f()(rr,"disabled",Mt.some(function(Dt){return!!Dt.disabled})),f()(rr,"isEmptyNode",!0),rr}):[(cn={},f()(cn,Le.value,"ANT_CASCADER_NOT_FOUND"),f()(cn,Le.label,mt||Sr("Cascader")),f()(cn,"disabled",!0),f()(cn,"isEmptyNode",!0),cn)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var br=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",Sr=this.props.popupPlacement;return Sr!==void 0?Sr:br==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var br=this;return r.createElement(Wt.a,null,function(Sr){return r.createElement($t.a,null,function(Tn){return br.renderCascader(Sr,Tn)})})}}],[{key:"getDerivedStateFromProps",value:function(br,Sr){var Tn=Sr.prevProps,cn={prevProps:br};return"value"in br&&(cn.value=br.value||[]),"popupVisible"in br&&(cn.popupVisible=br.popupVisible),br.showSearch&&Tn.options!==br.options&&(cn.flattenOptions=Ar(br.options,br)),cn}}]),Gt}(r.Component);Kt.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var ot=R.a=Kt},DFhj:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("GGyF"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},DL4k:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};R.default=x},DN4a:function(j,R,l){var x=l("Fofx"),b=l("QBsz"),A=x.identity,f=5e-5;function t(c){return c>f||c<-f}var e=function(i){i=i||{},i.position||(this.position=[0,0]),i.rotation==null&&(this.rotation=0),i.scale||(this.scale=[1,1]),this.origin=this.origin||null},m=e.prototype;m.transform=null,m.needLocalTransform=function(){return t(this.rotation)||t(this.position[0])||t(this.position[1])||t(this.scale[0]-1)||t(this.scale[1]-1)};var d=[];m.updateTransform=function(){var c=this.parent,i=c&&c.transform,u=this.needLocalTransform(),r=this.transform;if(!(u||i)){r&&A(r);return}r=r||x.create(),u?this.getLocalTransform(r):A(r),i&&(u?x.mul(r,c.transform,r):x.copy(r,c.transform)),this.transform=r;var o=this.globalScaleRatio;if(o!=null&&o!==1){this.getGlobalScale(d);var h=d[0]<0?-1:1,p=d[1]<0?-1:1,g=((d[0]-h)*o+h)/d[0]||0,v=((d[1]-p)*o+p)/d[1]||0;r[0]*=g,r[1]*=g,r[2]*=v,r[3]*=v}this.invTransform=this.invTransform||x.create(),x.invert(this.invTransform,r)},m.getLocalTransform=function(c){return e.getLocalTransform(this,c)},m.setTransform=function(c){var i=this.transform,u=c.dpr||1;i?c.setTransform(u*i[0],u*i[1],u*i[2],u*i[3],u*i[4],u*i[5]):c.setTransform(u,0,0,u,0,0)},m.restoreTransform=function(c){var i=c.dpr||1;c.setTransform(i,0,0,i,0,0)};var a=[],n=x.create();m.setLocalTransform=function(c){if(!c)return;var i=c[0]*c[0]+c[1]*c[1],u=c[2]*c[2]+c[3]*c[3],r=this.position,o=this.scale;t(i-1)&&(i=Math.sqrt(i)),t(u-1)&&(u=Math.sqrt(u)),c[0]<0&&(i=-i),c[3]<0&&(u=-u),r[0]=c[4],r[1]=c[5],o[0]=i,o[1]=u,this.rotation=Math.atan2(-c[1]/u,c[0]/i)},m.decomposeTransform=function(){if(!this.transform)return;var c=this.parent,i=this.transform;c&&c.transform&&(x.mul(a,c.invTransform,i),i=a);var u=this.origin;u&&(u[0]||u[1])&&(n[4]=u[0],n[5]=u[1],x.mul(a,i,n),a[4]-=u[0],a[5]-=u[1],i=a),this.setLocalTransform(i)},m.getGlobalScale=function(c){var i=this.transform;return c=c||[],i?(c[0]=Math.sqrt(i[0]*i[0]+i[1]*i[1]),c[1]=Math.sqrt(i[2]*i[2]+i[3]*i[3]),i[0]<0&&(c[0]=-c[0]),i[3]<0&&(c[1]=-c[1]),c):(c[0]=1,c[1]=1,c)},m.transformCoordToLocal=function(c,i){var u=[c,i],r=this.invTransform;return r&&b.applyTransform(u,u,r),u},m.transformCoordToGlobal=function(c,i){var u=[c,i],r=this.transform;return r&&b.applyTransform(u,u,r),u},e.getLocalTransform=function(c,i){i=i||[],A(i);var u=c.origin,r=c.scale||[1,1],o=c.rotation||0,h=c.position||[0,0];return u&&(i[4]-=u[0],i[5]-=u[1]),x.scale(i,i,r),o&&x.rotate(i,i,o),u&&(i[4]+=u[0],i[5]+=u[1]),i[4]+=h[0],i[5]+=h[1],i};var s=e;j.exports=s},DO2E:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};R.default=x},DYRE:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("OPEp"),f=l.n(A)},DZo9:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("JGo8"),f=l.n(A),t=l("+L6B"),e=l("MXD1"),m=l("5Dmo")},Dagg:function(j,R,l){var x=l("Gev7"),b=l("mFDi"),A=l("bYtY"),f=l("Xnb7");function t(m){x.call(this,m)}t.prototype={constructor:t,type:"image",brush:function(d,a){var n=this.style,s=n.image;n.bind(d,this,a);var c=this._image=f.createOrUpdateImage(s,this._image,this,this.onload);if(!c||!f.isImageReady(c))return;var i=n.x||0,u=n.y||0,r=n.width,o=n.height,h=c.width/c.height;if(r==null&&o!=null?r=o*h:o==null&&r!=null?o=r/h:r==null&&o==null&&(r=c.width,o=c.height),this.setTransform(d),n.sWidth&&n.sHeight){var p=n.sx||0,g=n.sy||0;d.drawImage(c,p,g,n.sWidth,n.sHeight,i,u,r,o)}else if(n.sx&&n.sy){var p=n.sx,g=n.sy,v=r-p,y=o-g;d.drawImage(c,p,g,v,y,i,u,r,o)}else d.drawImage(c,i,u,r,o);n.text!=null&&(this.restoreTransform(d),this.drawRectText(d,this.getBoundingRect()))},getBoundingRect:function(){var d=this.style;return this._rect||(this._rect=new b(d.x||0,d.y||0,d.width||0,d.height||0)),this._rect}},A.inherits(t,x);var e=t;j.exports=e},Dg8C:function(j,R,l){var x=l("XxSj"),b=l("bYtY");function A(f,t){f.eachSeriesByType("sankey",function(e){var m=e.getGraph(),d=m.nodes;if(d.length){var a=Infinity,n=-Infinity;b.each(d,function(s){var c=s.getLayout().value;cn&&(n=c)}),b.each(d,function(s){var c=new x({type:"color",mappingMethod:"linear",dataExtent:[a,n],visual:e.get("color")}),i=c.mapValueToVisual(s.getLayout().value),u=s.getModel().get("itemStyle.color");u!=null?s.setVisual("color",u):s.setVisual("color",i)})}})}j.exports=A},DjyN:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("Urep"),f=l.n(A),t=l("OaEy")},DlQD:function(j,R,l){(function(x,b){j.exports=b()})(this,function(){"use strict";function x(Wt,$t){for(var or=0;or<$t.length;or++){var ht=$t[or];ht.enumerable=ht.enumerable||!1,ht.configurable=!0,"value"in ht&&(ht.writable=!0),Object.defineProperty(Wt,ht.key,ht)}}function b(Wt,$t,or){return $t&&x(Wt.prototype,$t),or&&x(Wt,or),Wt}function A(Wt,$t){if(!Wt)return;if(typeof Wt=="string")return f(Wt,$t);var or=Object.prototype.toString.call(Wt).slice(8,-1);if(or==="Object"&&Wt.constructor&&(or=Wt.constructor.name),or==="Map"||or==="Set")return Array.from(Wt);if(or==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(or))return f(Wt,$t)}function f(Wt,$t){($t==null||$t>Wt.length)&&($t=Wt.length);for(var or=0,ht=new Array($t);or<$t;or++)ht[or]=Wt[or];return ht}function t(Wt,$t){var or;if(typeof Symbol=="undefined"||Wt[Symbol.iterator]==null){if(Array.isArray(Wt)||(or=A(Wt))||$t&&Wt&&typeof Wt.length=="number"){or&&(Wt=or);var ht=0;return function(){return ht>=Wt.length?{done:!0}:{done:!1,value:Wt[ht++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return or=Wt[Symbol.iterator](),or.next.bind(or)}function e(Wt,$t){return $t={exports:{}},Wt($t,$t.exports),$t.exports}var m=e(function(Wt){function $t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function or(ht){Wt.exports.defaults=ht}Wt.exports={defaults:$t(),getDefaults:$t,changeDefaults:or}}),d=m.defaults,a=m.getDefaults,n=m.changeDefaults,s=/[&<>"']/,c=/[&<>"']/g,i=/[<>"']|&(?!#?\w+;)/,u=/[<>"']|&(?!#?\w+;)/g,r={"&":"&","<":"<",">":">",'"':""","'":"'"},o=function($t){return r[$t]};function h(Wt,$t){if($t){if(s.test(Wt))return Wt.replace(c,o)}else if(i.test(Wt))return Wt.replace(u,o);return Wt}var p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function g(Wt){return Wt.replace(p,function($t,or){return or=or.toLowerCase(),or==="colon"?":":or.charAt(0)==="#"?or.charAt(1)==="x"?String.fromCharCode(parseInt(or.substring(2),16)):String.fromCharCode(+or.substring(1)):""})}var v=/(^|[^\[])\^/g;function y(Wt,$t){Wt=Wt.source||Wt,$t=$t||"";var or={replace:function(Ee,de){return de=de.source||de,de=de.replace(v,"$1"),Wt=Wt.replace(Ee,de),or},getRegex:function(){return new RegExp(Wt,$t)}};return or}var w=/[^\w:]/g,S=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function _(Wt,$t,or){if(Wt){var ht;try{ht=decodeURIComponent(g(or)).replace(w,"").toLowerCase()}catch(Ee){return null}if(ht.indexOf("javascript:")===0||ht.indexOf("vbscript:")===0||ht.indexOf("data:")===0)return null}$t&&!S.test(or)&&(or=M($t,or));try{or=encodeURI(or).replace(/%25/g,"%")}catch(Ee){return null}return or}var I={},C=/^[^:]+:\/*[^/]*$/,E=/^([^:]+:)[\s\S]*$/,O=/^([^:]+:\/*[^/]*)[\s\S]*$/;function M(Wt,$t){I[" "+Wt]||(C.test(Wt)?I[" "+Wt]=Wt+"/":I[" "+Wt]=X(Wt,"/",!0)),Wt=I[" "+Wt];var or=Wt.indexOf(":")===-1;return $t.substring(0,2)==="//"?or?$t:Wt.replace(E,"$1")+$t:$t.charAt(0)==="/"?or?$t:Wt.replace(O,"$1")+$t:Wt+$t}var F={exec:function(){}};function H(Wt){for(var $t=1,or,ht;$t=0&&rt[bt]==="\\";)ve=!ve;return ve?"|":" |"}),ht=or.split(/ \|/),Ee=0;if(ht.length>$t)ht.splice($t);else for(;ht.length<$t;)ht.push("");for(;Ee=100?"success":Fn||"normal"}},{key:"renderProcessInfo",value:function(Fn,ar){var It=this.props,Ct=It.showInfo,mr=It.format,gr=It.type,Mt=It.percent,rr=Ne(this.props);if(!Ct)return null;var Dt,tr=mr||function(dr){return"".concat(dr,"%")},Dr=gr==="line";return mr||ar!=="exception"&&ar!=="success"?Dt=tr(De(Mt),De(rr)):ar==="exception"?Dt=Dr?r.createElement(E.a,null):r.createElement(y.a,null):ar==="success"&&(Dt=Dr?r.createElement(I.a,null):r.createElement(S.a,null)),r.createElement("span",{className:"".concat(Fn,"-text"),title:typeof Dt=="string"?Dt:void 0},Dt)}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderProgress)}}]),Kr}(r.Component);gt.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var ir=R.a=gt},"CMP+":function(j,R,l){var x=l("bYtY"),b=l("hM6l"),A=function(t,e,m,d){b.call(this,t,e,m),this.type=d||"value",this.model=null};A.prototype={constructor:A,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},x.inherits(A,b);var f=A;j.exports=f},CP8R:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};R.default=x},"CWI+":function(j,R,l){},CbHG:function(j,R,l){var x=l("IwbS"),b=x.subPixelOptimize,A=l("zM3Q"),f=l("OELB"),t=f.parsePercent,e=l("bYtY"),m=e.retrieve2,d=typeof Float32Array!="undefined"?Float32Array:Array,a={seriesType:"candlestick",plan:A(),reset:function(c){var i=c.coordinateSystem,u=c.getData(),r=s(c,u),o=0,h=1,p=["x","y"],g=u.mapDimension(p[o]),v=u.mapDimension(p[h],!0),y=v[0],w=v[1],S=v[2],_=v[3];if(u.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),g==null||v.length<4)return;return{progress:c.pipelineContext.large?C:I};function I(E,O){for(var M;(M=E.next())!=null;){var F=O.get(g,M),H=O.get(y,M),B=O.get(w,M),X=O.get(S,M),J=O.get(_,M),k=Math.min(H,B),K=Math.max(H,B),z=q(k,F),W=q(K,F),P=q(X,F),G=q(J,F),V=[];re(V,W,0),re(V,z,1),V.push(ie(G),ie(W),ie(P),ie(z)),O.setItemLayout(M,{sign:n(O,M,H,B,w),initBaseline:H>B?W[h]:z[h],ends:V,brushRect:ce(X,J,F)})}function q(fe,xe){var Se=[];return Se[o]=xe,Se[h]=fe,isNaN(xe)||isNaN(fe)?[NaN,NaN]:i.dataToPoint(Se)}function re(fe,xe,Se){var ke=xe.slice(),ge=xe.slice();ke[o]=b(ke[o]+r/2,1,!1),ge[o]=b(ge[o]-r/2,1,!0),Se?fe.push(ke,ge):fe.push(ge,ke)}function ce(fe,xe,Se){var ke=q(fe,Se),ge=q(xe,Se);return ke[o]-=r/2,ge[o]-=r/2,{x:ke[0],y:ke[1],width:h?r:ge[0]-ke[0],height:h?ge[1]-ke[1]:r}}function ie(fe){return fe[o]=b(fe[o],1),fe}}function C(E,O){for(var M=new d(E.count*4),F=0,H,B=[],X=[],J;(J=E.next())!=null;){var k=O.get(g,J),K=O.get(y,J),z=O.get(w,J),W=O.get(S,J),P=O.get(_,J);if(isNaN(k)||isNaN(W)||isNaN(P)){M[F++]=NaN,F+=3;continue}M[F++]=n(O,J,K,z,w),B[o]=k,B[h]=W,H=i.dataToPoint(B,null,X),M[F++]=H?H[0]:NaN,M[F++]=H?H[1]:NaN,B[h]=P,H=i.dataToPoint(B,null,X),M[F++]=H?H[1]:NaN}O.setLayout("largePoints",M)}}};function n(c,i,u,r,o){var h;return u>r?h=-1:u0?c.get(o,i-1)<=r?1:-1:1,h}function s(c,i){var u=c.getBaseAxis(),r,o=u.type==="category"?u.getBandWidth():(r=u.getExtent(),Math.abs(r[1]-r[0])/i.count()),h=t(m(c.get("barMaxWidth"),o),o),p=t(m(c.get("barMinWidth"),1),o),g=c.get("barWidth");return g!=null?t(g,o):Math.max(Math.min(o/2,h),p)}j.exports=a},Cm0C:function(j,R,l){l("5NHt"),l("f3JH")},Cmcn:function(j,R,l){"use strict";l.d(R,"a",function(){return b});var x=l("0HTW");function b(A,f){var t;if(typeof Symbol=="undefined"||A[Symbol.iterator]==null){if(Array.isArray(A)||(t=Object(x.a)(A))||f&&A&&typeof A.length=="number"){t&&(A=t);var e=0,m=function(){};return{s:m,n:function(){return e>=A.length?{done:!0}:{done:!1,value:A[e++]}},e:function(c){throw c},f:m}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var d=!0,a=!1,n;return{s:function(){t=A[Symbol.iterator]()},n:function(){var c=t.next();return d=c.done,c},e:function(c){a=!0,n=c},f:function(){try{!d&&t.return!=null&&t.return()}finally{if(a)throw n}}}}},CrYA:function(j,R,l){var x=l("MFOe"),b=x.Global;j.exports={name:"sessionStorage",read:f,write:t,each:e,remove:m,clearAll:d};function A(){return b.sessionStorage}function f(a){return A().getItem(a)}function t(a,n){return A().setItem(a,n)}function e(a){for(var n=A().length-1;n>=0;n--){var s=A().key(n);a(f(s),s)}}function m(a){return A().removeItem(a)}function d(){return A().clear()}},Csr3:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("4vCz"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},D1WM:function(j,R,l){var x=l("bYtY"),b=l("hM6l"),A=function(t,e,m,d,a){b.call(this,t,e,m),this.type=d||"value",this.axisIndex=a};A.prototype={constructor:A,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},x.inherits(A,b);var f=A;j.exports=f},D5nY:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("4NO4"),f=A.makeInner,t=A.getDataItemValue,e=l("bYtY"),m=e.createHashMap,d=e.each,a=e.map,n=e.isArray,s=e.isString,c=e.isObject,i=e.isTypedArray,u=e.isArrayLike,r=e.extend,o=e.assert,h=l("7G+c"),p=l("k9D9"),g=p.SOURCE_FORMAT_ORIGINAL,v=p.SOURCE_FORMAT_ARRAY_ROWS,y=p.SOURCE_FORMAT_OBJECT_ROWS,w=p.SOURCE_FORMAT_KEYED_COLUMNS,S=p.SOURCE_FORMAT_UNKNOWN,_=p.SOURCE_FORMAT_TYPED_ARRAY,I=p.SERIES_LAYOUT_BY_ROW,C={Must:1,Might:2,Not:3},E=f();function O(V){var q=V.option.source,re=S;if(i(q))re=_;else if(n(q)){q.length===0&&(re=v);for(var ce=0,ie=q.length;ce0&&(h=this.getLineLength(u)/g*1e3),h!==this._period||p!==this._loop){u.stopAnimation();var w=v;y&&(w=v(i)),u.__t>0&&(w=-h*u.__t),u.__t=0;var S=u.animate("",p).when(h,{__t:1}).delay(w).during(function(){r.updateSymbolPosition(u)});p||S.done(function(){r.remove(u)}),S.start()}this._period=h,this._loop=p},a.getLineLength=function(s){return e.dist(s.__p1,s.__cp1)+e.dist(s.__cp1,s.__p2)},a.updateAnimationPoints=function(s,c){s.__p1=c[0],s.__p2=c[1],s.__cp1=c[2]||[(c[0][0]+c[1][0])/2,(c[0][1]+c[1][1])/2]},a.updateData=function(s,c,i){this.childAt(0).updateData(s,c,i),this._updateEffectSymbol(s,c)},a.updateSymbolPosition=function(s){var c=s.__p1,i=s.__p2,u=s.__cp1,r=s.__t,o=s.position,h=[o[0],o[1]],p=m.quadraticAt,g=m.quadraticDerivativeAt;o[0]=p(c[0],u[0],i[0],r),o[1]=p(c[1],u[1],i[1],r);var v=g(c[0],u[0],i[0],r),y=g(c[1],u[1],i[1],r);if(s.rotation=-Math.atan2(y,v)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(s.__lastT!==void 0&&s.__lastT=n&&r+1>=s){for(var o=[],h=0;h=n&&_+1>=s)return x(a,y.components,m,e);u[v]=y}c++}for(;c<=i;){var g=p();if(g)return g}},pushComponent:function(e,m,d){var a=e[e.length-1];a&&a.added===m&&a.removed===d?e[e.length-1]={count:a.count+1,added:m,removed:d}:e.push({count:1,added:m,removed:d})},extractCommon:function(e,m,d,a){for(var n=m.length,s=d.length,c=e.newPos,i=c-a,u=0;c+1=0)&&(Z=o);var Y=new e.Text({position:ge(W.center.slice()),scale:[1/I.scale[0],1/I.scale[1]],z2:10,silent:!0});if(e.setLabelStyle(Y.style,Y.hoverStyle={},fe,xe,{labelFetcher:Z,labelDataIndex:ae,defaultText:W.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!E){var te=[1/O[0],1/O[1]];e.updateProps(Y,{scale:te},o)}P.add(Y)}if(w)w.setItemGraphicEl(Se,P);else{var V=o.getRegionModel(W.name);G.eventData={componentType:"geo",componentIndex:o.componentIndex,geoIndex:o.componentIndex,name:W.name,region:V&&V.option||{}}}var we=P.__regions||(P.__regions=[]);we.push(W),P.highDownSilentOnTouch=!!o.get("selectedMode"),e.setHoverStyle(P,ie),_.add(P)}),this._updateController(o,h,p),c(this,o,_,p,g),i(o,_)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&m.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(o){var h=o.map;this._mapName!==h&&x.each(m.makeGraphic(h,this.uid),function(p){this._backgroundGroup.add(p)},this),this._mapName=h},_updateController:function(o,h,p){var g=o.coordinateSystem,v=this._controller,y=this._controllerHost;y.zoomLimit=o.get("scaleLimit"),y.zoom=g.getZoom(),v.enable(o.get("roam")||!1);var w=o.mainType;function S(){var _={type:"geoRoam",componentType:w};return _[w+"Id"]=o.id,_}v.off("pan").on("pan",function(_){this._mouseDownFlag=!1,A.updateViewOnPan(y,_.dx,_.dy),p.dispatchAction(x.extend(S(),{dx:_.dx,dy:_.dy}))},this),v.off("zoom").on("zoom",function(_){if(this._mouseDownFlag=!1,A.updateViewOnZoom(y,_.scale,_.originX,_.originY),p.dispatchAction(x.extend(S(),{zoom:_.scale,originX:_.originX,originY:_.originY})),this._updateGroup){var I=this.group.scale;this._regionsGroup.traverse(function(C){C.type==="text"&&C.attr("scale",[1/I[0],1/I[1]])})}},this),v.setPointerChecker(function(_,I,C){return g.getViewRectAfterRoam().contain(I,C)&&!t(_,p,o)})}};var r=u;j.exports=r},DFOY:function(j,R,l){"use strict";var x=l("pVnL"),b=l.n(x),A=l("lSNA"),f=l.n(A),t=l("lwsE"),e=l.n(t),m=l("W8MJ"),d=l.n(m),a=l("PJYZ"),n=l.n(a),s=l("7W2i"),c=l.n(s),i=l("LQ03"),u=l.n(i),r=l("q1tI"),o=l("uciX"),h=l("2W6z"),p=l.n(h),g=l("4IlW"),v=l("uK0f"),y=l.n(v);function w(et,Ze){if(et===Ze)return!0;if(!et||!Ze)return!1;var Gt=et.length;if(Ze.length!==Gt)return!1;for(var yr=0;yr0;(er||Sr.isLeaf===!1)&&(ir+=" ".concat(Wn,"-menu-item-expand"),Sr.loading||(Xt=r.createElement("span",{className:"".concat(Wn,"-menu-item-expand-icon")},mt))),lt==="hover"&&(er||Sr.isLeaf===!1)&&(gt={onMouseEnter:this.delayOnSelect.bind(this,ze),onMouseLeave:this.delayOnSelect.bind(this),onClick:ze}),this.isActiveOption(Sr,Tn)&&(ir+=" ".concat(Wn,"-menu-item-active"),gt.ref=this.saveMenuItem(Tn)),Sr.disabled&&(ir+=" ".concat(Wn,"-menu-item-disabled"));var Kr=null;Sr.loading&&(ir+=" ".concat(Wn,"-menu-item-loading"),Kr=Le||null);var en="";return"title"in Sr?en=Sr.title:typeof Sr[this.getFieldName("label")]=="string"&&(en=Sr[this.getFieldName("label")]),r.createElement("li",Object.assign({key:Sr[this.getFieldName("value")],className:ir,title:en},gt,{role:"menuitem",onMouseDown:function(ar){return ar.preventDefault()}}),Sr[this.getFieldName("label")],Xt,Kr)}},{key:"getActiveOptions",value:function(Sr){var Tn=this,cn=this.props.options,Wn=Sr||this.props.activeValue;return y()(cn,function(lt,mt){return lt[Tn.getFieldName("value")]===Wn[mt]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var Sr=this,Tn=this.props.options,cn=this.getActiveOptions().map(function(Wn){return Wn[Sr.getFieldName("children")]}).filter(function(Wn){return!!Wn});return cn.unshift(Tn),cn}},{key:"delayOnSelect",value:function(Sr){for(var Tn=this,cn=arguments.length,Wn=new Array(cn>1?cn-1:0),lt=1;lt=0)continue;if(!Object.prototype.propertyIsEnumerable.call(et,yr))continue;Gt[yr]=et[yr]}}return Gt}function G(et,Ze){if(et==null)return{};var Gt={},yr=Object.keys(et),br,Sr;for(Sr=0;Sr=0)continue;Gt[br]=et[br]}return Gt}function V(et){return ie(et)||ce(et)||re(et)||q()}function q(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function re(et,Ze){if(!et)return;if(typeof et=="string")return fe(et,Ze);var Gt=Object.prototype.toString.call(et).slice(8,-1);if(Gt==="Object"&&et.constructor&&(Gt=et.constructor.name),Gt==="Map"||Gt==="Set")return Array.from(et);if(Gt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Gt))return fe(et,Ze)}function ce(et){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(et))return Array.from(et)}function ie(et){if(Array.isArray(et))return fe(et)}function fe(et,Ze){(Ze==null||Ze>et.length)&&(Ze=et.length);for(var Gt=0,yr=new Array(Ze);Gt=Le.length?0:$e):($e-=1,$e=$e<0?Le.length-1:$e):$e=0,lt[mt]=Le[$e][Sr.getFieldName("value")]}else if(cn.keyCode===g.a.LEFT||cn.keyCode===g.a.BACKSPACE)cn.preventDefault(),lt.splice(lt.length-1,1);else if(cn.keyCode===g.a.RIGHT)cn.preventDefault(),Le[ze]&&Le[ze][Sr.getFieldName("children")]&<.push(Le[ze][Sr.getFieldName("children")][0][Sr.getFieldName("value")]);else if(cn.keyCode===g.a.ESC||cn.keyCode===g.a.TAB){Sr.setPopupVisible(!1);return}(!lt||lt.length===0)&&Sr.setPopupVisible(!1);var gt=Sr.getActiveOptions(lt),ir=gt[gt.length-1];Sr.handleMenuSelect(ir,gt.length-1,cn),Sr.props.onKeyDown&&Sr.props.onKeyDown(cn)},Sr.saveTrigger=function(cn){Sr.trigger=cn};var Tn=[];return"value"in br?Tn=br.value||[]:"defaultValue"in br&&(Tn=br.defaultValue||[]),p()(!("filedNames"in br),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),Sr.state={popupVisible:br.popupVisible,activeValue:Tn,value:Tn,prevProps:br},Sr.defaultFieldNames={label:"label",value:"value",children:"children"},Sr}return ke(yr,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(Sr){var Tn=this.defaultFieldNames,cn=this.props,Wn=cn.fieldNames,lt=cn.filedNames;return"filedNames"in this.props?lt[Sr]||Tn[Sr]:Wn[Sr]||Tn[Sr]}},{key:"getFieldNames",value:function(){var Sr=this.props,Tn=Sr.fieldNames,cn=Sr.filedNames;return"filedNames"in this.props?cn:Tn}},{key:"getCurrentLevelOptions",value:function(){var Sr=this,Tn=this.props.options,cn=Tn===void 0?[]:Tn,Wn=this.state.activeValue,lt=Wn===void 0?[]:Wn,mt=y()(cn,function(Le,ze){return Le[Sr.getFieldName("value")]===lt[ze]},{childrenKeyName:this.getFieldName("children")});return mt[mt.length-2]?mt[mt.length-2][this.getFieldName("children")]:V(cn).filter(function(Le){return!Le.disabled})}},{key:"getActiveOptions",value:function(Sr){var Tn=this;return y()(this.props.options||[],function(cn,Wn){return cn[Tn.getFieldName("value")]===Sr[Wn]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var Sr=this.props,Tn=Sr.prefixCls,cn=Sr.transitionName,Wn=Sr.popupClassName,lt=Sr.options,mt=lt===void 0?[]:lt,Le=Sr.disabled,ze=Sr.builtinPlacements,$e=Sr.popupPlacement,gt=Sr.children,ir=Sr.dropdownRender,Xt=P(Sr,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),er=r.createElement("div",null),Kr="";mt&&mt.length>0?er=r.createElement(k,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):Kr=" ".concat(Tn,"-menus-empty");var en=er;return ir&&(en=ir(er)),r.createElement(o.a,Object.assign({ref:this.saveTrigger},Xt,{popupPlacement:$e,builtinPlacements:ze,popupTransitionName:cn,action:Le?[]:["click"],popupVisible:Le?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(Tn,"-menus"),popupClassName:Wn+Kr,popup:en}),r.cloneElement(gt,{onKeyDown:this.handleKeyDown,tabIndex:Le?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(Sr,Tn){var cn=Tn.prevProps,Wn=cn===void 0?{}:cn,lt={prevProps:Sr};return"value"in Sr&&!w(Wn.value,Sr.value)&&(lt.value=Sr.value||[],"loadData"in Sr||(lt.activeValue=Sr.value||[])),"popupVisible"in Sr&&(lt.popupVisible=Sr.popupVisible),lt}}]),yr}(r.Component);return et.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:z,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},et}(),te=Y,we=te,pe=l("TSYQ"),De=l.n(pe),Ne=l("BGR+"),me=l("kbBi"),be=l.n(me),Re=l("HQEm"),it=l.n(Re),yt=l("fEPi"),pt=l.n(yt),Pe=l("5YOS"),Nt=l.n(Pe),ut=l("DFhj"),Ft=l.n(ut),Ut=l("5rEg"),Kt=l("H84U"),$t=l("YMnH"),or=l("uaoM"),ht=l("3Nzz"),Ee=l("0n0R"),de=function(et,Ze){var Gt={};for(var yr in et)Object.prototype.hasOwnProperty.call(et,yr)&&Ze.indexOf(yr)<0&&(Gt[yr]=et[yr]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var br=0,yr=Object.getOwnPropertySymbols(et);br-1})}function bt(et,Ze,Gt,yr){return Ze.map(function(br,Sr){var Tn=br[yr.label],cn=Tn.indexOf(et)>-1?rt(Tn,et,Gt):Tn;return Sr===0?cn:[" / ",cn]})}function jt(et,Ze,Gt,yr){function br(Sr){return Sr[yr.label].indexOf(Gt)>-1}return et.findIndex(br)-Ze.findIndex(br)}function He(et){var Ze=et.fieldNames;return Ze}function kt(et){var Ze=He(et)||{},Gt={children:Ze.children||"children",label:Ze.label||"label",value:Ze.value||"value"};return Gt}function Ar(et,Ze){var Gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],yr=kt(Ze),br=[],Sr=yr.children;return et.forEach(function(Tn){var cn=Gt.concat(Tn);(Ze.changeOnSelect||!Tn[Sr]||!Tn[Sr].length)&&br.push(cn),Tn[Sr]&&(br=br.concat(Ar(Tn[Sr],Ze,cn)))}),br}var at=function(Ze){return Ze.join(" / ")};function Ht(et){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(et||[]).forEach(function(Gt){var yr=Ze.value||"value";Object(or.a)(yr in Gt,"Cascader","Not found `value` in `options`."),Ht(Gt[Ze.children||"children"],Ze)})}var Wt=function(et){c()(Gt,et);var Ze=u()(Gt);function Gt(yr){var br;return e()(this,Gt),br=Ze.call(this,yr),br.cachedOptions=[],br.setValue=function(Sr){var Tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in br.props||br.setState({value:Sr});var cn=br.props.onChange;cn&&cn(Sr,Tn)},br.saveInput=function(Sr){br.input=Sr},br.handleChange=function(Sr,Tn){if(br.setState({inputValue:""}),Tn[0].__IS_FILTERED_OPTION){var cn=Sr[0],Wn=Tn[0].path;br.setValue(cn,Wn);return}br.setValue(Sr,Tn)},br.handlePopupVisibleChange=function(Sr){"popupVisible"in br.props||br.setState(function(cn){return{popupVisible:Sr,inputFocused:Sr,inputValue:Sr?cn.inputValue:""}});var Tn=br.props.onPopupVisibleChange;Tn&&Tn(Sr)},br.handleInputBlur=function(){br.setState({inputFocused:!1})},br.handleInputClick=function(Sr){var Tn=br.state,cn=Tn.inputFocused,Wn=Tn.popupVisible;(cn||Wn)&&Sr.stopPropagation()},br.handleKeyDown=function(Sr){(Sr.keyCode===g.a.BACKSPACE||Sr.keyCode===g.a.SPACE)&&Sr.stopPropagation()},br.handleInputChange=function(Sr){var Tn=br.state.popupVisible,cn=Sr.target.value;Tn||br.handlePopupVisibleChange(!0),br.setState({inputValue:cn})},br.clearSelection=function(Sr){var Tn=br.state.inputValue;Sr.preventDefault(),Sr.stopPropagation(),Tn?br.setState({inputValue:""}):(br.handlePopupVisibleChange(!1),br.clearSelectionTimeout=setTimeout(function(){br.setValue([])},200))},br.renderCascader=function(Sr,Tn){var cn=Sr.getPopupContainer,Wn=Sr.getPrefixCls,lt=Sr.renderEmpty,mt=Sr.direction;return r.createElement(ht.b.Consumer,null,function(Le){var ze,$e,gt,ir,Xt=n()(br),er=Xt.props,Kr=Xt.state,en=er.prefixCls,Fn=er.inputPrefixCls,ar=er.children,It=er.placeholder,Ct=It===void 0?Tn.placeholder||"Please select":It,mr=er.size,gr=er.disabled,Mt=er.className,rr=er.style,Dt=er.allowClear,tr=er.showSearch,Dr=tr===void 0?!1:tr,dr=er.suffixIcon,Tr=er.expandIcon,vn=er.notFoundContent,on=er.popupClassName,Gn=er.bordered,di=er.dropdownRender,Ti=de(er,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),Fi=mr||Le,la=Kr.value,Ta=Kr.inputFocused,dt=mt==="rtl",Me=Wn("cascader",en),Xe=Wn("input",Fn),Qe=De()((ze={},f()(ze,"".concat(Xe,"-lg"),Fi==="large"),f()(ze,"".concat(Xe,"-sm"),Fi==="small"),ze)),st=Dt&&!gr&&la.length>0||Kr.inputValue?r.createElement(be.a,{className:"".concat(Me,"-picker-clear"),onClick:br.clearSelection}):null,nt=De()(($e={},f()($e,"".concat(Me,"-picker-arrow"),!0),f()($e,"".concat(Me,"-picker-arrow-expand"),Kr.popupVisible),$e)),ft=De()(Mt,"".concat(Me,"-picker"),(gt={},f()(gt,"".concat(Me,"-picker-rtl"),dt),f()(gt,"".concat(Me,"-picker-with-value"),Kr.inputValue),f()(gt,"".concat(Me,"-picker-disabled"),gr),f()(gt,"".concat(Me,"-picker-").concat(Fi),!!Fi),f()(gt,"".concat(Me,"-picker-show-search"),!!Dr),f()(gt,"".concat(Me,"-picker-focused"),Ta),f()(gt,"".concat(Me,"-picker-borderless"),!Gn),gt)),Bt=Object(Ne.default)(Ti,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),Et=er.options,nr=kt(br.props);if(Et&&Et.length>0)Kr.inputValue&&(Et=br.generateFilteredOptions(Me,lt));else{var Ur;Et=[(Ur={},f()(Ur,nr.label,vn||lt("Cascader")),f()(Ur,nr.value,"ANT_CASCADER_NOT_FOUND"),Ur)]}Kr.popupVisible?br.cachedOptions=Et:Et=br.cachedOptions;var Lr={},Vr=(Et||[]).length===1&&Et[0].isEmptyNode;Vr&&(Lr.height="auto");var sr=Dr.matchInputWidth!==!1;sr&&(Kr.inputValue||Vr)&&br.input&&(Lr.width=br.input.input.offsetWidth);var Bn;dr?Bn=Object(Ee.c)(dr,r.createElement("span",{className:"".concat(Me,"-picker-arrow")},dr),function(){var Ni;return{className:De()((Ni={},f()(Ni,dr.props.className,dr.props.className),f()(Ni,"".concat(Me,"-picker-arrow"),!0),Ni))}}):Bn=r.createElement(it.a,{className:nt});var Er=ar||r.createElement("span",{style:rr,className:ft},r.createElement("span",{className:"".concat(Me,"-picker-label")},br.getLabel()),r.createElement(Ut.a,b()({},Bt,{tabIndex:"-1",ref:br.saveInput,prefixCls:Xe,placeholder:la&&la.length>0?void 0:Ct,className:"".concat(Me,"-input ").concat(Qe),value:Kr.inputValue,disabled:gr,readOnly:!Dr,autoComplete:Bt.autoComplete||"off",onClick:Dr?br.handleInputClick:void 0,onBlur:Dr?br.handleInputBlur:void 0,onKeyDown:br.handleKeyDown,onChange:Dr?br.handleInputChange:void 0})),st,Bn),gn;Tr?gn=Tr:gn=dt?r.createElement(Ft.a,null):r.createElement(pt.a,null);var rn=r.createElement("span",{className:"".concat(Me,"-menu-item-loading-icon")},r.createElement(Nt.a,{spin:!0})),Br=er.getPopupContainer||cn,Vn=Object(Ne.default)(er,["inputIcon","expandIcon","loadingIcon","bordered"]),gi=De()(on,(ir={},f()(ir,"".concat(Me,"-menu-").concat(mt),mt==="rtl"),f()(ir,"".concat(Me,"-menu-empty"),Et.length===1&&Et[0].value==="ANT_CASCADER_NOT_FOUND"),ir));return r.createElement(we,b()({},Vn,{prefixCls:Me,getPopupContainer:Br,options:Et,value:la,popupVisible:Kr.popupVisible,onPopupVisibleChange:br.handlePopupVisibleChange,onChange:br.handleChange,dropdownMenuColumnStyle:Lr,expandIcon:gn,loadingIcon:rn,popupClassName:gi,popupPlacement:br.getPopupPlacement(mt),dropdownRender:di}),Er)})},br.state={value:yr.value||yr.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:yr.popupVisible,flattenOptions:yr.showSearch?Ar(yr.options,yr):void 0,prevProps:yr},br}return d()(Gt,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var br=this.props,Sr=br.options,Tn=br.displayRender,cn=Tn===void 0?at:Tn,Wn=kt(this.props),lt=this.state.value,mt=Array.isArray(lt[0])?lt[0]:lt,Le=y()(Sr,function($e,gt){return $e[Wn.value]===mt[gt]},{childrenKeyName:Wn.children}),ze=Le.length?Le.map(function($e){return $e[Wn.label]}):lt;return cn(ze,Le)}},{key:"generateFilteredOptions",value:function(br,Sr){var Tn=this,cn,Wn=this.props,lt=Wn.showSearch,mt=Wn.notFoundContent,Le=kt(this.props),ze=lt.filter,$e=ze===void 0?ve:ze,gt=lt.render,ir=gt===void 0?bt:gt,Xt=lt.sort,er=Xt===void 0?jt:Xt,Kr=lt.limit,en=Kr===void 0?qe:Kr,Fn=this.state,ar=Fn.flattenOptions,It=ar===void 0?[]:ar,Ct=Fn.inputValue,mr;if(en>0){mr=[];var gr=0;It.some(function(Mt){var rr=$e(Tn.state.inputValue,Mt,Le);return rr&&(mr.push(Mt),gr+=1),gr>=en})}else Object(or.a)(typeof en!="number","Cascader","'limit' of showSearch should be positive number or false."),mr=It.filter(function(Mt){return $e(Tn.state.inputValue,Mt,Le)});return mr=mr.sort(function(Mt,rr){return er(Mt,rr,Ct,Le)}),mr.length>0?mr.map(function(Mt){var rr;return rr={__IS_FILTERED_OPTION:!0,path:Mt},f()(rr,Le.value,Mt.map(function(Dt){return Dt[Le.value]})),f()(rr,Le.label,ir(Ct,Mt,br,Le)),f()(rr,"disabled",Mt.some(function(Dt){return!!Dt.disabled})),f()(rr,"isEmptyNode",!0),rr}):[(cn={},f()(cn,Le.value,"ANT_CASCADER_NOT_FOUND"),f()(cn,Le.label,mt||Sr("Cascader")),f()(cn,"disabled",!0),f()(cn,"isEmptyNode",!0),cn)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var br=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",Sr=this.props.popupPlacement;return Sr!==void 0?Sr:br==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var br=this;return r.createElement(Kt.a,null,function(Sr){return r.createElement($t.a,null,function(Tn){return br.renderCascader(Sr,Tn)})})}}],[{key:"getDerivedStateFromProps",value:function(br,Sr){var Tn=Sr.prevProps,cn={prevProps:br};return"value"in br&&(cn.value=br.value||[]),"popupVisible"in br&&(cn.popupVisible=br.popupVisible),br.showSearch&&Tn.options!==br.options&&(cn.flattenOptions=Ar(br.options,br)),cn}}]),Gt}(r.Component);Wt.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var ot=R.a=Wt},DFhj:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("GGyF"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},DL4k:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};R.default=x},DN4a:function(j,R,l){var x=l("Fofx"),b=l("QBsz"),A=x.identity,f=5e-5;function t(c){return c>f||c<-f}var e=function(i){i=i||{},i.position||(this.position=[0,0]),i.rotation==null&&(this.rotation=0),i.scale||(this.scale=[1,1]),this.origin=this.origin||null},m=e.prototype;m.transform=null,m.needLocalTransform=function(){return t(this.rotation)||t(this.position[0])||t(this.position[1])||t(this.scale[0]-1)||t(this.scale[1]-1)};var d=[];m.updateTransform=function(){var c=this.parent,i=c&&c.transform,u=this.needLocalTransform(),r=this.transform;if(!(u||i)){r&&A(r);return}r=r||x.create(),u?this.getLocalTransform(r):A(r),i&&(u?x.mul(r,c.transform,r):x.copy(r,c.transform)),this.transform=r;var o=this.globalScaleRatio;if(o!=null&&o!==1){this.getGlobalScale(d);var h=d[0]<0?-1:1,p=d[1]<0?-1:1,g=((d[0]-h)*o+h)/d[0]||0,v=((d[1]-p)*o+p)/d[1]||0;r[0]*=g,r[1]*=g,r[2]*=v,r[3]*=v}this.invTransform=this.invTransform||x.create(),x.invert(this.invTransform,r)},m.getLocalTransform=function(c){return e.getLocalTransform(this,c)},m.setTransform=function(c){var i=this.transform,u=c.dpr||1;i?c.setTransform(u*i[0],u*i[1],u*i[2],u*i[3],u*i[4],u*i[5]):c.setTransform(u,0,0,u,0,0)},m.restoreTransform=function(c){var i=c.dpr||1;c.setTransform(i,0,0,i,0,0)};var a=[],n=x.create();m.setLocalTransform=function(c){if(!c)return;var i=c[0]*c[0]+c[1]*c[1],u=c[2]*c[2]+c[3]*c[3],r=this.position,o=this.scale;t(i-1)&&(i=Math.sqrt(i)),t(u-1)&&(u=Math.sqrt(u)),c[0]<0&&(i=-i),c[3]<0&&(u=-u),r[0]=c[4],r[1]=c[5],o[0]=i,o[1]=u,this.rotation=Math.atan2(-c[1]/u,c[0]/i)},m.decomposeTransform=function(){if(!this.transform)return;var c=this.parent,i=this.transform;c&&c.transform&&(x.mul(a,c.invTransform,i),i=a);var u=this.origin;u&&(u[0]||u[1])&&(n[4]=u[0],n[5]=u[1],x.mul(a,i,n),a[4]-=u[0],a[5]-=u[1],i=a),this.setLocalTransform(i)},m.getGlobalScale=function(c){var i=this.transform;return c=c||[],i?(c[0]=Math.sqrt(i[0]*i[0]+i[1]*i[1]),c[1]=Math.sqrt(i[2]*i[2]+i[3]*i[3]),i[0]<0&&(c[0]=-c[0]),i[3]<0&&(c[1]=-c[1]),c):(c[0]=1,c[1]=1,c)},m.transformCoordToLocal=function(c,i){var u=[c,i],r=this.invTransform;return r&&b.applyTransform(u,u,r),u},m.transformCoordToGlobal=function(c,i){var u=[c,i],r=this.transform;return r&&b.applyTransform(u,u,r),u},e.getLocalTransform=function(c,i){i=i||[],A(i);var u=c.origin,r=c.scale||[1,1],o=c.rotation||0,h=c.position||[0,0];return u&&(i[4]-=u[0],i[5]-=u[1]),x.scale(i,i,r),o&&x.rotate(i,i,o),u&&(i[4]+=u[0],i[5]+=u[1]),i[4]+=h[0],i[5]+=h[1],i};var s=e;j.exports=s},DO2E:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};R.default=x},DYRE:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("OPEp"),f=l.n(A)},DZo9:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("JGo8"),f=l.n(A),t=l("+L6B"),e=l("MXD1"),m=l("5Dmo")},Dagg:function(j,R,l){var x=l("Gev7"),b=l("mFDi"),A=l("bYtY"),f=l("Xnb7");function t(m){x.call(this,m)}t.prototype={constructor:t,type:"image",brush:function(d,a){var n=this.style,s=n.image;n.bind(d,this,a);var c=this._image=f.createOrUpdateImage(s,this._image,this,this.onload);if(!c||!f.isImageReady(c))return;var i=n.x||0,u=n.y||0,r=n.width,o=n.height,h=c.width/c.height;if(r==null&&o!=null?r=o*h:o==null&&r!=null?o=r/h:r==null&&o==null&&(r=c.width,o=c.height),this.setTransform(d),n.sWidth&&n.sHeight){var p=n.sx||0,g=n.sy||0;d.drawImage(c,p,g,n.sWidth,n.sHeight,i,u,r,o)}else if(n.sx&&n.sy){var p=n.sx,g=n.sy,v=r-p,y=o-g;d.drawImage(c,p,g,v,y,i,u,r,o)}else d.drawImage(c,i,u,r,o);n.text!=null&&(this.restoreTransform(d),this.drawRectText(d,this.getBoundingRect()))},getBoundingRect:function(){var d=this.style;return this._rect||(this._rect=new b(d.x||0,d.y||0,d.width||0,d.height||0)),this._rect}},A.inherits(t,x);var e=t;j.exports=e},Dg8C:function(j,R,l){var x=l("XxSj"),b=l("bYtY");function A(f,t){f.eachSeriesByType("sankey",function(e){var m=e.getGraph(),d=m.nodes;if(d.length){var a=Infinity,n=-Infinity;b.each(d,function(s){var c=s.getLayout().value;cn&&(n=c)}),b.each(d,function(s){var c=new x({type:"color",mappingMethod:"linear",dataExtent:[a,n],visual:e.get("color")}),i=c.mapValueToVisual(s.getLayout().value),u=s.getModel().get("itemStyle.color");u!=null?s.setVisual("color",u):s.setVisual("color",i)})}})}j.exports=A},DjyN:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("Urep"),f=l.n(A),t=l("OaEy")},DlQD:function(j,R,l){(function(x,b){j.exports=b()})(this,function(){"use strict";function x(Kt,$t){for(var or=0;or<$t.length;or++){var ht=$t[or];ht.enumerable=ht.enumerable||!1,ht.configurable=!0,"value"in ht&&(ht.writable=!0),Object.defineProperty(Kt,ht.key,ht)}}function b(Kt,$t,or){return $t&&x(Kt.prototype,$t),or&&x(Kt,or),Kt}function A(Kt,$t){if(!Kt)return;if(typeof Kt=="string")return f(Kt,$t);var or=Object.prototype.toString.call(Kt).slice(8,-1);if(or==="Object"&&Kt.constructor&&(or=Kt.constructor.name),or==="Map"||or==="Set")return Array.from(Kt);if(or==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(or))return f(Kt,$t)}function f(Kt,$t){($t==null||$t>Kt.length)&&($t=Kt.length);for(var or=0,ht=new Array($t);or<$t;or++)ht[or]=Kt[or];return ht}function t(Kt,$t){var or;if(typeof Symbol=="undefined"||Kt[Symbol.iterator]==null){if(Array.isArray(Kt)||(or=A(Kt))||$t&&Kt&&typeof Kt.length=="number"){or&&(Kt=or);var ht=0;return function(){return ht>=Kt.length?{done:!0}:{done:!1,value:Kt[ht++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return or=Kt[Symbol.iterator](),or.next.bind(or)}function e(Kt,$t){return $t={exports:{}},Kt($t,$t.exports),$t.exports}var m=e(function(Kt){function $t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function or(ht){Kt.exports.defaults=ht}Kt.exports={defaults:$t(),getDefaults:$t,changeDefaults:or}}),d=m.defaults,a=m.getDefaults,n=m.changeDefaults,s=/[&<>"']/,c=/[&<>"']/g,i=/[<>"']|&(?!#?\w+;)/,u=/[<>"']|&(?!#?\w+;)/g,r={"&":"&","<":"<",">":">",'"':""","'":"'"},o=function($t){return r[$t]};function h(Kt,$t){if($t){if(s.test(Kt))return Kt.replace(c,o)}else if(i.test(Kt))return Kt.replace(u,o);return Kt}var p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function g(Kt){return Kt.replace(p,function($t,or){return or=or.toLowerCase(),or==="colon"?":":or.charAt(0)==="#"?or.charAt(1)==="x"?String.fromCharCode(parseInt(or.substring(2),16)):String.fromCharCode(+or.substring(1)):""})}var v=/(^|[^\[])\^/g;function y(Kt,$t){Kt=Kt.source||Kt,$t=$t||"";var or={replace:function(Ee,de){return de=de.source||de,de=de.replace(v,"$1"),Kt=Kt.replace(Ee,de),or},getRegex:function(){return new RegExp(Kt,$t)}};return or}var w=/[^\w:]/g,S=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function _(Kt,$t,or){if(Kt){var ht;try{ht=decodeURIComponent(g(or)).replace(w,"").toLowerCase()}catch(Ee){return null}if(ht.indexOf("javascript:")===0||ht.indexOf("vbscript:")===0||ht.indexOf("data:")===0)return null}$t&&!S.test(or)&&(or=M($t,or));try{or=encodeURI(or).replace(/%25/g,"%")}catch(Ee){return null}return or}var I={},C=/^[^:]+:\/*[^/]*$/,E=/^([^:]+:)[\s\S]*$/,O=/^([^:]+:\/*[^/]*)[\s\S]*$/;function M(Kt,$t){I[" "+Kt]||(C.test(Kt)?I[" "+Kt]=Kt+"/":I[" "+Kt]=X(Kt,"/",!0)),Kt=I[" "+Kt];var or=Kt.indexOf(":")===-1;return $t.substring(0,2)==="//"?or?$t:Kt.replace(E,"$1")+$t:$t.charAt(0)==="/"?or?$t:Kt.replace(O,"$1")+$t:Kt+$t}var F={exec:function(){}};function H(Kt){for(var $t=1,or,ht;$t=0&&rt[bt]==="\\";)ve=!ve;return ve?"|":" |"}),ht=or.split(/ \|/),Ee=0;if(ht.length>$t)ht.splice($t);else for(;ht.length<$t;)ht.push("");for(;Ee=ht.length?Ee.slice(ht.length):Ee}).join(` -`)}var ce=function(){function Wt(or){this.options=or||z}var $t=Wt.prototype;return $t.space=function(ht){var Ee=this.rules.block.newline.exec(ht);if(Ee)return Ee[0].length>1?{type:"space",raw:Ee[0]}:{raw:` -`}},$t.code=function(ht,Ee){var de=this.rules.block.code.exec(ht);if(de){var qe=Ee[Ee.length-1];if(qe&&qe.type==="paragraph")return{raw:de[0],text:de[0].trimRight()};var rt=de[0].replace(/^ {4}/gm,"");return{type:"code",raw:de[0],codeBlockStyle:"indented",text:this.options.pedantic?rt:K(rt,` +`)}var ce=function(){function Kt(or){this.options=or||z}var $t=Kt.prototype;return $t.space=function(ht){var Ee=this.rules.block.newline.exec(ht);if(Ee)return Ee[0].length>1?{type:"space",raw:Ee[0]}:{raw:` +`}},$t.code=function(ht,Ee){var de=this.rules.block.code.exec(ht);if(de){var qe=Ee[Ee.length-1];if(qe&&qe.type==="paragraph")return{raw:de[0],text:de[0].trimRight()};var rt=de[0].replace(/^ {4}/gm,"");return{type:"code",raw:de[0],codeBlockStyle:"indented",text:this.options.pedantic?rt:W(rt,` `)}}},$t.fences=function(ht){var Ee=this.rules.block.fences.exec(ht);if(Ee){var de=Ee[0],qe=re(de,Ee[3]||"");return{type:"code",raw:de,lang:Ee[2]?Ee[2].trim():Ee[2],text:qe}}},$t.heading=function(ht){var Ee=this.rules.block.heading.exec(ht);if(Ee)return{type:"heading",raw:Ee[0],depth:Ee[1].length,text:Ee[2]}},$t.nptable=function(ht){var Ee=this.rules.block.nptable.exec(ht);if(Ee){var de={type:"table",header:P(Ee[1].replace(/^ *| *\| *$/g,"")),align:Ee[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ee[3]?Ee[3].replace(/\n$/,"").split(` -`):[],raw:Ee[0]};if(de.header.length===de.align.length){var qe=de.align.length,rt;for(rt=0;rt ?/gm,"");return{type:"blockquote",raw:Ee[0],text:de}}},$t.list=function(ht){var Ee=this.rules.block.list.exec(ht);if(Ee){for(var de=Ee[0],qe=Ee[2],rt=qe.length>1,ve=qe[qe.length-1]===")",bt={type:"list",raw:de,ordered:rt,start:rt?+qe.slice(0,-1):"",loose:!1,items:[]},jt=Ee[0].match(this.rules.block.item),He=!1,kt,Ar,at,Ht,Kt,ot,et,Ze=jt.length,Gt=0;Gt ?/gm,"");return{type:"blockquote",raw:Ee[0],text:de}}},$t.list=function(ht){var Ee=this.rules.block.list.exec(ht);if(Ee){for(var de=Ee[0],qe=Ee[2],rt=qe.length>1,ve=qe[qe.length-1]===")",bt={type:"list",raw:de,ordered:rt,start:rt?+qe.slice(0,-1):"",loose:!1,items:[]},jt=Ee[0].match(this.rules.block.item),He=!1,kt,Ar,at,Ht,Wt,ot,et,Ze=jt.length,Gt=0;Gt1||this.options.smartLists&&at!==qe)&&(Ht=jt.slice(Gt+1).join(` -`),bt.raw=bt.raw.substring(0,bt.raw.length-Ht.length),Gt=Ze-1)),Kt=He||/\n\n(?!\s*$)/.test(kt),Gt!==Ze-1&&(He=kt.charAt(kt.length-1)===` -`,Kt||(Kt=He)),Kt&&(bt.loose=!0),ot=/^\[[ xX]\] /.test(kt),et=void 0,ot&&(et=kt[1]!==" ",kt=kt.replace(/^\[[ xX]\] +/,"")),bt.items.push({type:"list_item",raw:de,task:ot,checked:et,loose:Kt,text:kt});return bt}},$t.html=function(ht){var Ee=this.rules.block.html.exec(ht);if(Ee)return{type:this.options.sanitize?"paragraph":"html",raw:Ee[0],pre:!this.options.sanitizer&&(Ee[1]==="pre"||Ee[1]==="script"||Ee[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ee[0]):G(Ee[0]):Ee[0]}},$t.def=function(ht){var Ee=this.rules.block.def.exec(ht);if(Ee){Ee[3]&&(Ee[3]=Ee[3].substring(1,Ee[3].length-1));var de=Ee[1].toLowerCase().replace(/\s+/g," ");return{tag:de,raw:Ee[0],href:Ee[2],title:Ee[3]}}},$t.table=function(ht){var Ee=this.rules.block.table.exec(ht);if(Ee){var de={type:"table",header:P(Ee[1].replace(/^ *| *\| *$/g,"")),align:Ee[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ee[3]?Ee[3].replace(/\n$/,"").split(` +`),bt.raw=bt.raw.substring(0,bt.raw.length-Ht.length),Gt=Ze-1)),Wt=He||/\n\n(?!\s*$)/.test(kt),Gt!==Ze-1&&(He=kt.charAt(kt.length-1)===` +`,Wt||(Wt=He)),Wt&&(bt.loose=!0),ot=/^\[[ xX]\] /.test(kt),et=void 0,ot&&(et=kt[1]!==" ",kt=kt.replace(/^\[[ xX]\] +/,"")),bt.items.push({type:"list_item",raw:de,task:ot,checked:et,loose:Wt,text:kt});return bt}},$t.html=function(ht){var Ee=this.rules.block.html.exec(ht);if(Ee)return{type:this.options.sanitize?"paragraph":"html",raw:Ee[0],pre:!this.options.sanitizer&&(Ee[1]==="pre"||Ee[1]==="script"||Ee[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ee[0]):G(Ee[0]):Ee[0]}},$t.def=function(ht){var Ee=this.rules.block.def.exec(ht);if(Ee){Ee[3]&&(Ee[3]=Ee[3].substring(1,Ee[3].length-1));var de=Ee[1].toLowerCase().replace(/\s+/g," ");return{tag:de,raw:Ee[0],href:Ee[2],title:Ee[3]}}},$t.table=function(ht){var Ee=this.rules.block.table.exec(ht);if(Ee){var de={type:"table",header:P(Ee[1].replace(/^ *| *\| *$/g,"")),align:Ee[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ee[3]?Ee[3].replace(/\n$/,"").split(` `):[]};if(de.header.length===de.align.length){de.raw=Ee[0];var qe=de.align.length,rt;for(rt=0;rt/i.test(qe[0])&&(Ee=!1),!de&&/^<(pre|code|kbd|script)(\s|>)/i.test(qe[0])?de=!0:de&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(qe[0])&&(de=!1),{type:this.options.sanitize?"text":"html",raw:qe[0],inLink:Ee,inRawBlock:de,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(qe[0]):G(qe[0]):qe[0]}},$t.link=function(ht){var Ee=this.rules.inline.link.exec(ht);if(Ee){var de=V(Ee[2],"()");if(de>-1){var qe=Ee[0].indexOf("!")===0?5:4,rt=qe+Ee[1].length+de;Ee[2]=Ee[2].substring(0,de),Ee[0]=Ee[0].substring(0,rt).trim(),Ee[3]=""}var ve=Ee[2],bt="";if(this.options.pedantic){var jt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(ve);jt?(ve=jt[1],bt=jt[3]):bt=""}else bt=Ee[3]?Ee[3].slice(1,-1):"";ve=ve.trim().replace(/^<([\s\S]*)>$/,"$1");var He=q(Ee,{href:ve&&ve.replace(this.rules.inline._escapes,"$1"),title:bt&&bt.replace(this.rules.inline._escapes,"$1")},Ee[0]);return He}},$t.reflink=function(ht,Ee){var de;if((de=this.rules.inline.reflink.exec(ht))||(de=this.rules.inline.nolink.exec(ht))){var qe=(de[2]||de[1]).replace(/\s+/g," ");if(qe=Ee[qe.toLowerCase()],!qe||!qe.href){var rt=de[0].charAt(0);return{type:"text",raw:rt,text:rt}}var ve=q(de,qe,de[0]);return ve}},$t.strong=function(ht,Ee,de){de===void 0&&(de="");var qe=this.rules.inline.strong.start.exec(ht);if(qe&&(!qe[1]||qe[1]&&(de===""||this.rules.inline.punctuation.exec(de)))){Ee=Ee.slice(-1*ht.length);var rt=qe[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;rt.lastIndex=0;for(var ve;(qe=rt.exec(Ee))!=null;)if(ve=this.rules.inline.strong.middle.exec(Ee.slice(0,qe.index+3)),ve)return{type:"strong",raw:ht.slice(0,ve[0].length),text:ht.slice(2,ve[0].length-2)}}},$t.em=function(ht,Ee,de){de===void 0&&(de="");var qe=this.rules.inline.em.start.exec(ht);if(qe&&(!qe[1]||qe[1]&&(de===""||this.rules.inline.punctuation.exec(de)))){Ee=Ee.slice(-1*ht.length);var rt=qe[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;rt.lastIndex=0;for(var ve;(qe=rt.exec(Ee))!=null;)if(ve=this.rules.inline.em.middle.exec(Ee.slice(0,qe.index+2)),ve)return{type:"em",raw:ht.slice(0,ve[0].length),text:ht.slice(1,ve[0].length-1)}}},$t.codespan=function(ht){var Ee=this.rules.inline.code.exec(ht);if(Ee){var de=Ee[2].replace(/\n/g," "),qe=/[^ ]/.test(de),rt=de.startsWith(" ")&&de.endsWith(" ");return qe&&rt&&(de=de.substring(1,de.length-1)),de=G(de,!0),{type:"codespan",raw:Ee[0],text:de}}},$t.br=function(ht){var Ee=this.rules.inline.br.exec(ht);if(Ee)return{type:"br",raw:Ee[0]}},$t.del=function(ht){var Ee=this.rules.inline.del.exec(ht);if(Ee)return{type:"del",raw:Ee[0],text:Ee[1]}},$t.autolink=function(ht,Ee){var de=this.rules.inline.autolink.exec(ht);if(de){var qe,rt;return de[2]==="@"?(qe=G(this.options.mangle?Ee(de[1]):de[1]),rt="mailto:"+qe):(qe=G(de[1]),rt=qe),{type:"link",raw:de[0],text:qe,href:rt,tokens:[{type:"text",raw:qe,text:qe}]}}},$t.url=function(ht,Ee){var de;if(de=this.rules.inline.url.exec(ht)){var qe,rt;if(de[2]==="@")qe=G(this.options.mangle?Ee(de[0]):de[0]),rt="mailto:"+qe;else{var ve;do ve=de[0],de[0]=this.rules.inline._backpedal.exec(de[0])[0];while(ve!==de[0]);qe=G(de[0]),de[1]==="www."?rt="http://"+qe:rt=qe}return{type:"link",raw:de[0],text:qe,href:rt,tokens:[{type:"text",raw:qe,text:qe}]}}},$t.inlineText=function(ht,Ee,de){var qe=this.rules.inline.text.exec(ht);if(qe){var rt;return Ee?rt=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(qe[0]):G(qe[0]):qe[0]:rt=G(this.options.smartypants?de(qe[0]):qe[0]),{type:"text",raw:qe[0],text:rt}}},Wt}(),ie=W.noopTest,fe=W.edit,xe=W.merge,Se={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:ie,table:ie,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};Se._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,Se._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,Se.def=fe(Se.def).replace("label",Se._label).replace("title",Se._title).getRegex(),Se.bullet=/(?:[*+-]|\d{1,9}[.)])/,Se.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,Se.item=fe(Se.item,"gm").replace(/bull/g,Se.bullet).getRegex(),Se.list=fe(Se.list).replace(/bull/g,Se.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Se.def.source+")").getRegex(),Se._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Se._comment=//,Se.html=fe(Se.html,"i").replace("comment",Se._comment).replace("tag",Se._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Se.paragraph=fe(Se._paragraph).replace("hr",Se.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",Se._tag).getRegex(),Se.blockquote=fe(Se.blockquote).replace("paragraph",Se.paragraph).getRegex(),Se.normal=xe({},Se),Se.gfm=xe({},Se.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),Se.gfm.nptable=fe(Se.gfm.nptable).replace("hr",Se.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",Se._tag).getRegex(),Se.gfm.table=fe(Se.gfm.table).replace("hr",Se.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",Se._tag).getRegex(),Se.pedantic=xe({},Se.normal,{html:fe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Se._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:ie,paragraph:fe(Se.normal._paragraph).replace("hr",Se.hr).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",Se.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var ke={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ie,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:ie,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~",ke.punctuation=fe(ke.punctuation).replace(/punctuation/g,ke._punctuation).getRegex(),ke._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",ke._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",ke.em.start=fe(ke.em.start).replace(/punctuation/g,ke._punctuation).getRegex(),ke.em.middle=fe(ke.em.middle).replace(/punctuation/g,ke._punctuation).replace(/overlapSkip/g,ke._overlapSkip).getRegex(),ke.em.endAst=fe(ke.em.endAst,"g").replace(/punctuation/g,ke._punctuation).getRegex(),ke.em.endUnd=fe(ke.em.endUnd,"g").replace(/punctuation/g,ke._punctuation).getRegex(),ke.strong.start=fe(ke.strong.start).replace(/punctuation/g,ke._punctuation).getRegex(),ke.strong.middle=fe(ke.strong.middle).replace(/punctuation/g,ke._punctuation).replace(/blockSkip/g,ke._blockSkip).getRegex(),ke.strong.endAst=fe(ke.strong.endAst,"g").replace(/punctuation/g,ke._punctuation).getRegex(),ke.strong.endUnd=fe(ke.strong.endUnd,"g").replace(/punctuation/g,ke._punctuation).getRegex(),ke.blockSkip=fe(ke._blockSkip,"g").getRegex(),ke.overlapSkip=fe(ke._overlapSkip,"g").getRegex(),ke._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,ke._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,ke._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,ke.autolink=fe(ke.autolink).replace("scheme",ke._scheme).replace("email",ke._email).getRegex(),ke._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,ke.tag=fe(ke.tag).replace("comment",Se._comment).replace("attribute",ke._attribute).getRegex(),ke._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,ke._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,ke._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,ke.link=fe(ke.link).replace("label",ke._label).replace("href",ke._href).replace("title",ke._title).getRegex(),ke.reflink=fe(ke.reflink).replace("label",ke._label).getRegex(),ke.reflinkSearch=fe(ke.reflinkSearch,"g").replace("reflink",ke.reflink).replace("nolink",ke.nolink).getRegex(),ke.normal=xe({},ke),ke.pedantic=xe({},ke.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:fe(/^!?\[(label)\]\((.*?)\)/).replace("label",ke._label).getRegex(),reflink:fe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ke._label).getRegex()}),ke.gfm=xe({},ke.normal,{escape:fe(ke.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\.5&&(ht="x"+ht.toString(16)),$t+="&#"+ht+";";return $t}var Z=function(){function Wt(or){this.tokens=[],this.tokens.links=Object.create(null),this.options=or||Be,this.options.tokenizer=this.options.tokenizer||new ce,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var ht={block:ee.normal,inline:ue.normal};this.options.pedantic?(ht.block=ee.pedantic,ht.inline=ue.pedantic):this.options.gfm&&(ht.block=ee.gfm,this.options.breaks?ht.inline=ue.breaks:ht.inline=ue.gfm),this.tokenizer.rules=ht}Wt.lex=function(ht,Ee){var de=new Wt(Ee);return de.lex(ht)};var $t=Wt.prototype;return $t.lex=function(ht){return ht=ht.replace(/\r\n|\r/g,` +`?Ee[1].slice(0,-1):Ee[1]}},$t.text=function(ht,Ee){var de=this.rules.block.text.exec(ht);if(de){var qe=Ee[Ee.length-1];return qe&&qe.type==="text"?{raw:de[0],text:de[0]}:{type:"text",raw:de[0],text:de[0]}}},$t.escape=function(ht){var Ee=this.rules.inline.escape.exec(ht);if(Ee)return{type:"escape",raw:Ee[0],text:G(Ee[1])}},$t.tag=function(ht,Ee,de){var qe=this.rules.inline.tag.exec(ht);if(qe)return!Ee&&/^/i.test(qe[0])&&(Ee=!1),!de&&/^<(pre|code|kbd|script)(\s|>)/i.test(qe[0])?de=!0:de&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(qe[0])&&(de=!1),{type:this.options.sanitize?"text":"html",raw:qe[0],inLink:Ee,inRawBlock:de,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(qe[0]):G(qe[0]):qe[0]}},$t.link=function(ht){var Ee=this.rules.inline.link.exec(ht);if(Ee){var de=V(Ee[2],"()");if(de>-1){var qe=Ee[0].indexOf("!")===0?5:4,rt=qe+Ee[1].length+de;Ee[2]=Ee[2].substring(0,de),Ee[0]=Ee[0].substring(0,rt).trim(),Ee[3]=""}var ve=Ee[2],bt="";if(this.options.pedantic){var jt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(ve);jt?(ve=jt[1],bt=jt[3]):bt=""}else bt=Ee[3]?Ee[3].slice(1,-1):"";ve=ve.trim().replace(/^<([\s\S]*)>$/,"$1");var He=q(Ee,{href:ve&&ve.replace(this.rules.inline._escapes,"$1"),title:bt&&bt.replace(this.rules.inline._escapes,"$1")},Ee[0]);return He}},$t.reflink=function(ht,Ee){var de;if((de=this.rules.inline.reflink.exec(ht))||(de=this.rules.inline.nolink.exec(ht))){var qe=(de[2]||de[1]).replace(/\s+/g," ");if(qe=Ee[qe.toLowerCase()],!qe||!qe.href){var rt=de[0].charAt(0);return{type:"text",raw:rt,text:rt}}var ve=q(de,qe,de[0]);return ve}},$t.strong=function(ht,Ee,de){de===void 0&&(de="");var qe=this.rules.inline.strong.start.exec(ht);if(qe&&(!qe[1]||qe[1]&&(de===""||this.rules.inline.punctuation.exec(de)))){Ee=Ee.slice(-1*ht.length);var rt=qe[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;rt.lastIndex=0;for(var ve;(qe=rt.exec(Ee))!=null;)if(ve=this.rules.inline.strong.middle.exec(Ee.slice(0,qe.index+3)),ve)return{type:"strong",raw:ht.slice(0,ve[0].length),text:ht.slice(2,ve[0].length-2)}}},$t.em=function(ht,Ee,de){de===void 0&&(de="");var qe=this.rules.inline.em.start.exec(ht);if(qe&&(!qe[1]||qe[1]&&(de===""||this.rules.inline.punctuation.exec(de)))){Ee=Ee.slice(-1*ht.length);var rt=qe[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;rt.lastIndex=0;for(var ve;(qe=rt.exec(Ee))!=null;)if(ve=this.rules.inline.em.middle.exec(Ee.slice(0,qe.index+2)),ve)return{type:"em",raw:ht.slice(0,ve[0].length),text:ht.slice(1,ve[0].length-1)}}},$t.codespan=function(ht){var Ee=this.rules.inline.code.exec(ht);if(Ee){var de=Ee[2].replace(/\n/g," "),qe=/[^ ]/.test(de),rt=de.startsWith(" ")&&de.endsWith(" ");return qe&&rt&&(de=de.substring(1,de.length-1)),de=G(de,!0),{type:"codespan",raw:Ee[0],text:de}}},$t.br=function(ht){var Ee=this.rules.inline.br.exec(ht);if(Ee)return{type:"br",raw:Ee[0]}},$t.del=function(ht){var Ee=this.rules.inline.del.exec(ht);if(Ee)return{type:"del",raw:Ee[0],text:Ee[1]}},$t.autolink=function(ht,Ee){var de=this.rules.inline.autolink.exec(ht);if(de){var qe,rt;return de[2]==="@"?(qe=G(this.options.mangle?Ee(de[1]):de[1]),rt="mailto:"+qe):(qe=G(de[1]),rt=qe),{type:"link",raw:de[0],text:qe,href:rt,tokens:[{type:"text",raw:qe,text:qe}]}}},$t.url=function(ht,Ee){var de;if(de=this.rules.inline.url.exec(ht)){var qe,rt;if(de[2]==="@")qe=G(this.options.mangle?Ee(de[0]):de[0]),rt="mailto:"+qe;else{var ve;do ve=de[0],de[0]=this.rules.inline._backpedal.exec(de[0])[0];while(ve!==de[0]);qe=G(de[0]),de[1]==="www."?rt="http://"+qe:rt=qe}return{type:"link",raw:de[0],text:qe,href:rt,tokens:[{type:"text",raw:qe,text:qe}]}}},$t.inlineText=function(ht,Ee,de){var qe=this.rules.inline.text.exec(ht);if(qe){var rt;return Ee?rt=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(qe[0]):G(qe[0]):qe[0]:rt=G(this.options.smartypants?de(qe[0]):qe[0]),{type:"text",raw:qe[0],text:rt}}},Kt}(),ie=K.noopTest,fe=K.edit,xe=K.merge,Se={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:ie,table:ie,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};Se._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,Se._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,Se.def=fe(Se.def).replace("label",Se._label).replace("title",Se._title).getRegex(),Se.bullet=/(?:[*+-]|\d{1,9}[.)])/,Se.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,Se.item=fe(Se.item,"gm").replace(/bull/g,Se.bullet).getRegex(),Se.list=fe(Se.list).replace(/bull/g,Se.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Se.def.source+")").getRegex(),Se._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Se._comment=//,Se.html=fe(Se.html,"i").replace("comment",Se._comment).replace("tag",Se._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Se.paragraph=fe(Se._paragraph).replace("hr",Se.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",Se._tag).getRegex(),Se.blockquote=fe(Se.blockquote).replace("paragraph",Se.paragraph).getRegex(),Se.normal=xe({},Se),Se.gfm=xe({},Se.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),Se.gfm.nptable=fe(Se.gfm.nptable).replace("hr",Se.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",Se._tag).getRegex(),Se.gfm.table=fe(Se.gfm.table).replace("hr",Se.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",Se._tag).getRegex(),Se.pedantic=xe({},Se.normal,{html:fe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Se._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:ie,paragraph:fe(Se.normal._paragraph).replace("hr",Se.hr).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",Se.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var ke={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ie,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:ie,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~",ke.punctuation=fe(ke.punctuation).replace(/punctuation/g,ke._punctuation).getRegex(),ke._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",ke._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",ke.em.start=fe(ke.em.start).replace(/punctuation/g,ke._punctuation).getRegex(),ke.em.middle=fe(ke.em.middle).replace(/punctuation/g,ke._punctuation).replace(/overlapSkip/g,ke._overlapSkip).getRegex(),ke.em.endAst=fe(ke.em.endAst,"g").replace(/punctuation/g,ke._punctuation).getRegex(),ke.em.endUnd=fe(ke.em.endUnd,"g").replace(/punctuation/g,ke._punctuation).getRegex(),ke.strong.start=fe(ke.strong.start).replace(/punctuation/g,ke._punctuation).getRegex(),ke.strong.middle=fe(ke.strong.middle).replace(/punctuation/g,ke._punctuation).replace(/blockSkip/g,ke._blockSkip).getRegex(),ke.strong.endAst=fe(ke.strong.endAst,"g").replace(/punctuation/g,ke._punctuation).getRegex(),ke.strong.endUnd=fe(ke.strong.endUnd,"g").replace(/punctuation/g,ke._punctuation).getRegex(),ke.blockSkip=fe(ke._blockSkip,"g").getRegex(),ke.overlapSkip=fe(ke._overlapSkip,"g").getRegex(),ke._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,ke._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,ke._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,ke.autolink=fe(ke.autolink).replace("scheme",ke._scheme).replace("email",ke._email).getRegex(),ke._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,ke.tag=fe(ke.tag).replace("comment",Se._comment).replace("attribute",ke._attribute).getRegex(),ke._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,ke._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,ke._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,ke.link=fe(ke.link).replace("label",ke._label).replace("href",ke._href).replace("title",ke._title).getRegex(),ke.reflink=fe(ke.reflink).replace("label",ke._label).getRegex(),ke.reflinkSearch=fe(ke.reflinkSearch,"g").replace("reflink",ke.reflink).replace("nolink",ke.nolink).getRegex(),ke.normal=xe({},ke),ke.pedantic=xe({},ke.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:fe(/^!?\[(label)\]\((.*?)\)/).replace("label",ke._label).getRegex(),reflink:fe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ke._label).getRegex()}),ke.gfm=xe({},ke.normal,{escape:fe(ke.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\.5&&(ht="x"+ht.toString(16)),$t+="&#"+ht+";";return $t}var Z=function(){function Kt(or){this.tokens=[],this.tokens.links=Object.create(null),this.options=or||Be,this.options.tokenizer=this.options.tokenizer||new ce,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var ht={block:ee.normal,inline:ue.normal};this.options.pedantic?(ht.block=ee.pedantic,ht.inline=ue.pedantic):this.options.gfm&&(ht.block=ee.gfm,this.options.breaks?ht.inline=ue.breaks:ht.inline=ue.gfm),this.tokenizer.rules=ht}Kt.lex=function(ht,Ee){var de=new Kt(Ee);return de.lex(ht)};var $t=Kt.prototype;return $t.lex=function(ht){return ht=ht.replace(/\r\n|\r/g,` `).replace(/\t/g," "),this.blockTokens(ht,this.tokens,!0),this.inline(this.tokens),this.tokens},$t.blockTokens=function(ht,Ee,de){Ee===void 0&&(Ee=[]),de===void 0&&(de=!0),ht=ht.replace(/^ +$/gm,"");for(var qe,rt,ve,bt;ht;){if(qe=this.tokenizer.space(ht)){ht=ht.substring(qe.raw.length),qe.type&&Ee.push(qe);continue}if(qe=this.tokenizer.code(ht,Ee)){ht=ht.substring(qe.raw.length),qe.type?Ee.push(qe):(bt=Ee[Ee.length-1],bt.raw+=` `+qe.raw,bt.text+=` `+qe.text);continue}if(qe=this.tokenizer.fences(ht)){ht=ht.substring(qe.raw.length),Ee.push(qe);continue}if(qe=this.tokenizer.heading(ht)){ht=ht.substring(qe.raw.length),Ee.push(qe);continue}if(qe=this.tokenizer.nptable(ht)){ht=ht.substring(qe.raw.length),Ee.push(qe);continue}if(qe=this.tokenizer.hr(ht)){ht=ht.substring(qe.raw.length),Ee.push(qe);continue}if(qe=this.tokenizer.blockquote(ht)){ht=ht.substring(qe.raw.length),qe.tokens=this.blockTokens(qe.text,[],de),Ee.push(qe);continue}if(qe=this.tokenizer.list(ht)){for(ht=ht.substring(qe.raw.length),ve=qe.items.length,rt=0;rt0)for(;(jt=this.tokenizer.rules.inline.reflinkSearch.exec(bt))!=null;)He.includes(jt[0].slice(jt[0].lastIndexOf("[")+1,-1))&&(bt=bt.slice(0,jt.index)+"["+"a".repeat(jt[0].length-2)+"]"+bt.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(jt=this.tokenizer.rules.inline.blockSkip.exec(bt))!=null;)bt=bt.slice(0,jt.index)+"["+"a".repeat(jt[0].length-2)+"]"+bt.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;ht;){if(ve=this.tokenizer.escape(ht)){ht=ht.substring(ve.raw.length),Ee.push(ve);continue}if(ve=this.tokenizer.tag(ht,de,qe)){ht=ht.substring(ve.raw.length),de=ve.inLink,qe=ve.inRawBlock,Ee.push(ve);continue}if(ve=this.tokenizer.link(ht)){ht=ht.substring(ve.raw.length),ve.type==="link"&&(ve.tokens=this.inlineTokens(ve.text,[],!0,qe)),Ee.push(ve);continue}if(ve=this.tokenizer.reflink(ht,this.tokens.links)){ht=ht.substring(ve.raw.length),ve.type==="link"&&(ve.tokens=this.inlineTokens(ve.text,[],!0,qe)),Ee.push(ve);continue}if(ve=this.tokenizer.strong(ht,bt,rt)){ht=ht.substring(ve.raw.length),ve.tokens=this.inlineTokens(ve.text,[],de,qe),Ee.push(ve);continue}if(ve=this.tokenizer.em(ht,bt,rt)){ht=ht.substring(ve.raw.length),ve.tokens=this.inlineTokens(ve.text,[],de,qe),Ee.push(ve);continue}if(ve=this.tokenizer.codespan(ht)){ht=ht.substring(ve.raw.length),Ee.push(ve);continue}if(ve=this.tokenizer.br(ht)){ht=ht.substring(ve.raw.length),Ee.push(ve);continue}if(ve=this.tokenizer.del(ht)){ht=ht.substring(ve.raw.length),ve.tokens=this.inlineTokens(ve.text,[],de,qe),Ee.push(ve);continue}if(ve=this.tokenizer.autolink(ht,ae)){ht=ht.substring(ve.raw.length),Ee.push(ve);continue}if(!de&&(ve=this.tokenizer.url(ht,ae))){ht=ht.substring(ve.raw.length),Ee.push(ve);continue}if(ve=this.tokenizer.inlineText(ht,qe,Ge)){ht=ht.substring(ve.raw.length),rt=ve.raw.slice(-1),Ee.push(ve);continue}if(ht){var kt="Infinite loop on byte: "+ht.charCodeAt(0);if(this.options.silent){console.error(kt);break}else throw new Error(kt)}}return Ee},b(Wt,null,[{key:"rules",get:function(){return{block:ee,inline:ue}}}]),Wt}(),Y=m.defaults,te=W.cleanUrl,we=W.escape,pe=function(){function Wt(or){this.options=or||Y}var $t=Wt.prototype;return $t.code=function(ht,Ee,de){var qe=(Ee||"").match(/\S*/)[0];if(this.options.highlight){var rt=this.options.highlight(ht,qe);rt!=null&&rt!==ht&&(de=!0,ht=rt)}return qe?'
'+(de?ht:we(ht,!0))+`
+`+qe.text);continue}if(ht){var jt="Infinite loop on byte: "+ht.charCodeAt(0);if(this.options.silent){console.error(jt);break}else throw new Error(jt)}}return Ee},$t.inline=function(ht){var Ee,de,qe,rt,ve,bt,jt=ht.length;for(Ee=0;Ee0)for(;(jt=this.tokenizer.rules.inline.reflinkSearch.exec(bt))!=null;)He.includes(jt[0].slice(jt[0].lastIndexOf("[")+1,-1))&&(bt=bt.slice(0,jt.index)+"["+"a".repeat(jt[0].length-2)+"]"+bt.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(jt=this.tokenizer.rules.inline.blockSkip.exec(bt))!=null;)bt=bt.slice(0,jt.index)+"["+"a".repeat(jt[0].length-2)+"]"+bt.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;ht;){if(ve=this.tokenizer.escape(ht)){ht=ht.substring(ve.raw.length),Ee.push(ve);continue}if(ve=this.tokenizer.tag(ht,de,qe)){ht=ht.substring(ve.raw.length),de=ve.inLink,qe=ve.inRawBlock,Ee.push(ve);continue}if(ve=this.tokenizer.link(ht)){ht=ht.substring(ve.raw.length),ve.type==="link"&&(ve.tokens=this.inlineTokens(ve.text,[],!0,qe)),Ee.push(ve);continue}if(ve=this.tokenizer.reflink(ht,this.tokens.links)){ht=ht.substring(ve.raw.length),ve.type==="link"&&(ve.tokens=this.inlineTokens(ve.text,[],!0,qe)),Ee.push(ve);continue}if(ve=this.tokenizer.strong(ht,bt,rt)){ht=ht.substring(ve.raw.length),ve.tokens=this.inlineTokens(ve.text,[],de,qe),Ee.push(ve);continue}if(ve=this.tokenizer.em(ht,bt,rt)){ht=ht.substring(ve.raw.length),ve.tokens=this.inlineTokens(ve.text,[],de,qe),Ee.push(ve);continue}if(ve=this.tokenizer.codespan(ht)){ht=ht.substring(ve.raw.length),Ee.push(ve);continue}if(ve=this.tokenizer.br(ht)){ht=ht.substring(ve.raw.length),Ee.push(ve);continue}if(ve=this.tokenizer.del(ht)){ht=ht.substring(ve.raw.length),ve.tokens=this.inlineTokens(ve.text,[],de,qe),Ee.push(ve);continue}if(ve=this.tokenizer.autolink(ht,ae)){ht=ht.substring(ve.raw.length),Ee.push(ve);continue}if(!de&&(ve=this.tokenizer.url(ht,ae))){ht=ht.substring(ve.raw.length),Ee.push(ve);continue}if(ve=this.tokenizer.inlineText(ht,qe,Ge)){ht=ht.substring(ve.raw.length),rt=ve.raw.slice(-1),Ee.push(ve);continue}if(ht){var kt="Infinite loop on byte: "+ht.charCodeAt(0);if(this.options.silent){console.error(kt);break}else throw new Error(kt)}}return Ee},b(Kt,null,[{key:"rules",get:function(){return{block:ee,inline:ue}}}]),Kt}(),Y=m.defaults,te=K.cleanUrl,we=K.escape,pe=function(){function Kt(or){this.options=or||Y}var $t=Kt.prototype;return $t.code=function(ht,Ee,de){var qe=(Ee||"").match(/\S*/)[0];if(this.options.highlight){var rt=this.options.highlight(ht,qe);rt!=null&&rt!==ht&&(de=!0,ht=rt)}return qe?'
'+(de?ht:we(ht,!0))+`
`:"
"+(de?ht:we(ht,!0))+`
`},$t.blockquote=function(ht){return`
`+ht+`
@@ -76,18 +76,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `},$t.tablerow=function(ht){return` `+ht+` `},$t.tablecell=function(ht,Ee){var de=Ee.header?"th":"td",qe=Ee.align?"<"+de+' align="'+Ee.align+'">':"<"+de+">";return qe+ht+" -`},$t.strong=function(ht){return""+ht+""},$t.em=function(ht){return""+ht+""},$t.codespan=function(ht){return""+ht+""},$t.br=function(){return this.options.xhtml?"
":"
"},$t.del=function(ht){return""+ht+""},$t.link=function(ht,Ee,de){if(ht=te(this.options.sanitize,this.options.baseUrl,ht),ht===null)return de;var qe='
",qe},$t.image=function(ht,Ee,de){if(ht=te(this.options.sanitize,this.options.baseUrl,ht),ht===null)return de;var qe=''+de+'":">",qe},$t.text=function(ht){return ht},Wt}(),De=function(){function Wt(){}var $t=Wt.prototype;return $t.strong=function(ht){return ht},$t.em=function(ht){return ht},$t.codespan=function(ht){return ht},$t.del=function(ht){return ht},$t.html=function(ht){return ht},$t.text=function(ht){return ht},$t.link=function(ht,Ee,de){return""+de},$t.image=function(ht,Ee,de){return""+de},$t.br=function(){return""},Wt}(),Ne=function(){function Wt(){this.seen={}}var $t=Wt.prototype;return $t.slug=function(ht){var Ee=ht.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(Ee)){var de=Ee;do this.seen[de]++,Ee=de+"-"+this.seen[de];while(this.seen.hasOwnProperty(Ee))}return this.seen[Ee]=0,Ee},Wt}(),me=m.defaults,be=W.unescape,Re=function(){function Wt(or){this.options=or||me,this.options.renderer=this.options.renderer||new pe,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new De,this.slugger=new Ne}Wt.parse=function(ht,Ee){var de=new Wt(Ee);return de.parse(ht)};var $t=Wt.prototype;return $t.parse=function(ht,Ee){Ee===void 0&&(Ee=!0);var de="",qe,rt,ve,bt,jt,He,kt,Ar,at,Ht,Kt,ot,et,Ze,Gt,yr,br,Sr,Tn=ht.length;for(qe=0;qe0&&Gt.tokens[0].type==="text"?(Gt.tokens[0].text=Sr+" "+Gt.tokens[0].text,Gt.tokens[0].tokens&&Gt.tokens[0].tokens.length>0&&Gt.tokens[0].tokens[0].type==="text"&&(Gt.tokens[0].tokens[0].text=Sr+" "+Gt.tokens[0].tokens[0].text)):Gt.tokens.unshift({type:"text",text:Sr}):Ze+=Sr),Ze+=this.parse(Gt.tokens,et),at+=this.renderer.listitem(Ze,br,yr);de+=this.renderer.list(at,Kt,ot);continue}case"html":{de+=this.renderer.html(Ht.text);continue}case"paragraph":{de+=this.renderer.paragraph(this.parseInline(Ht.tokens));continue}case"text":{for(at=Ht.tokens?this.parseInline(Ht.tokens):Ht.text;qe+1An error occurred:

"+pt(ve.message+"",!0)+"
";throw ve}}Ft.options=Ft.setOptions=function(Wt){return it(Ft.defaults,Wt),Nt(Ft.defaults),Ft},Ft.getDefaults=Pe,Ft.defaults=ut,Ft.use=function(Wt){var $t=it({},Wt);if(Wt.renderer&&function(){var ht=Ft.defaults.renderer||new pe,Ee=function(rt){var ve=ht[rt];ht[rt]=function(){for(var bt=arguments.length,jt=new Array(bt),He=0;He=0;i--){if(!A(c[i]))continue;var u=c[i].split("="),r=unescape(u[0]),o=unescape(u[1]);s(o,r)}}function m(s,c){if(!s)return;f.cookie=escape(s)+"="+escape(c)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function d(s){if(!s||!n(s))return;f.cookie=escape(s)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function a(){e(function(s,c){d(c)})}function n(s){return new RegExp("(?:^|;\\s*)"+escape(s).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(f.cookie)}},Ducp:function(j,R,l){var x=l("bYtY"),b=l("IwbS"),A=l("+TT/"),f=l("XpcN"),t=b.Group,e=["width","height"],m=["x","y"],d=f.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){d.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new t),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new t),this._showController},resetInner:function(){d.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(n,s,c,i,u,r,o){var h=this;d.superCall(this,"renderInner",n,s,c,i,u,r,o);var p=this._controllerGroup,g=s.get("pageIconSize",!0);x.isArray(g)||(g=[g,g]),y("pagePrev",0);var v=s.getModel("pageTextStyle");p.add(new b.Text({name:"pageText",style:{textFill:v.getTextColor(),font:v.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),y("pageNext",1);function y(w,S){var _=w+"DataIndex",I=b.createIcon(s.get("pageIcons",!0)[s.getOrient().name][S],{onclick:x.bind(h._pageGo,h,_,s,i)},{x:-g[0]/2,y:-g[1]/2,width:g[0],height:g[1]});I.name=w,p.add(I)}},layoutInner:function(n,s,c,i,u,r){var o=this.getSelectorGroup(),h=n.getOrient().index,p=e[h],g=m[h],v=e[1-h],y=m[1-h];u&&A.box("horizontal",o,n.get("selectorItemGap",!0));var w=n.get("selectorButtonGap",!0),S=o.getBoundingRect(),_=[-S.x,-S.y],I=x.clone(c);u&&(I[p]=c[p]-S[p]-w);var C=this._layoutContentAndController(n,i,I,h,p,v,y);if(u){if(r==="end")_[h]+=C[p]+w;else{var E=S[p]+w;_[h]-=E,C[g]-=E}C[p]+=S[p]+w,_[1-h]+=C[y]+C[v]/2-S[v]/2,C[v]=Math.max(C[v],S[v]),C[y]=Math.min(C[y],S[y]+_[1-h]),o.attr("position",_)}return C},_layoutContentAndController:function(n,s,c,i,u,r,o){var h=this.getContentGroup(),p=this._containerGroup,g=this._controllerGroup;A.box(n.get("orient"),h,n.get("itemGap"),i?c.width:null,i?null:c.height),A.box("horizontal",g,n.get("pageButtonItemGap",!0));var v=h.getBoundingRect(),y=g.getBoundingRect(),w=this._showController=v[u]>c[u],S=[-v.x,-v.y];s||(S[i]=h.position[i]);var _=[0,0],I=[-y.x,-y.y],C=x.retrieve2(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(w){var E=n.get("pageButtonPosition",!0);E==="end"?I[i]+=c[u]-y[u]:_[i]+=y[u]+C}I[1-i]+=v[r]/2-y[r]/2,h.attr("position",S),p.attr("position",_),g.attr("position",I);var O={x:0,y:0};if(O[u]=w?c[u]:v[u],O[r]=Math.max(v[r],y[r]),O[o]=Math.min(0,y[o]+I[1-i]),p.__rectSize=c[u],w){var M={x:0,y:0};M[u]=Math.max(c[u]-y[u]-C,0),M[r]=O[r],p.setClipPath(new b.Rect({shape:M})),p.__rectSize=M[u]}else g.eachChild(function(H){H.attr({invisible:!0,silent:!0})});var F=this._getPageInfo(n);return F.pageIndex!=null&&b.updateProps(h,{position:F.contentPosition},w?n:!1),this._updatePageInfoView(n,F),O},_pageGo:function(n,s,c){var i=this._getPageInfo(s)[n];i!=null&&c.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:s.id})},_updatePageInfoView:function(n,s){var c=this._controllerGroup;x.each(["pagePrev","pageNext"],function(p){var g=s[p+"DataIndex"]!=null,v=c.childOfName(p);v&&(v.setStyle("fill",g?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),v.cursor=g?"pointer":"default")});var i=c.childOfName("pageText"),u=n.get("pageFormatter"),r=s.pageIndex,o=r!=null?r+1:0,h=s.pageCount;i&&u&&i.setStyle("text",x.isString(u)?u.replace("{current}",o).replace("{total}",h):u({current:o,total:h}))},_getPageInfo:function(n){var s=n.get("scrollDataIndex",!0),c=this.getContentGroup(),i=this._containerGroup.__rectSize,u=n.getOrient().index,r=e[u],o=m[u],h=this._findTargetItemIndex(s),p=c.children(),g=p[h],v=p.length,y=v?1:0,w={contentPosition:c.position.slice(),pageCount:y,pageIndex:y-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!g)return w;var S=O(g);w.contentPosition[u]=-S.s;for(var _=h+1,I=S,C=S,E=null;_<=v;++_)E=O(p[_]),(!E&&C.e>I.s+i||E&&!M(E,I.s))&&(C.i>I.i?I=C:I=E,I&&(w.pageNextDataIndex==null&&(w.pageNextDataIndex=I.i),++w.pageCount)),C=E;for(var _=h-1,I=S,C=S,E=null;_>=-1;--_)E=O(p[_]),(!E||!M(C,E.s))&&I.i=H&&F.s<=H+i}},_findTargetItemIndex:function(n){if(!this._showController)return 0;var s,c=this.getContentGroup(),i;return c.eachChild(function(u,r){var o=u.__legendDataIndex;i==null&&o!=null&&(i=r),o===n&&(s=r)}),s!=null?s:i}}),a=d;j.exports=a},"E/ki":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};R.default=x},E2g8:function(j,R,l){(function(x,b){/*! +`},$t.strong=function(ht){return""+ht+""},$t.em=function(ht){return""+ht+""},$t.codespan=function(ht){return""+ht+""},$t.br=function(){return this.options.xhtml?"
":"
"},$t.del=function(ht){return""+ht+""},$t.link=function(ht,Ee,de){if(ht=te(this.options.sanitize,this.options.baseUrl,ht),ht===null)return de;var qe='
",qe},$t.image=function(ht,Ee,de){if(ht=te(this.options.sanitize,this.options.baseUrl,ht),ht===null)return de;var qe=''+de+'":">",qe},$t.text=function(ht){return ht},Kt}(),De=function(){function Kt(){}var $t=Kt.prototype;return $t.strong=function(ht){return ht},$t.em=function(ht){return ht},$t.codespan=function(ht){return ht},$t.del=function(ht){return ht},$t.html=function(ht){return ht},$t.text=function(ht){return ht},$t.link=function(ht,Ee,de){return""+de},$t.image=function(ht,Ee,de){return""+de},$t.br=function(){return""},Kt}(),Ne=function(){function Kt(){this.seen={}}var $t=Kt.prototype;return $t.slug=function(ht){var Ee=ht.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(Ee)){var de=Ee;do this.seen[de]++,Ee=de+"-"+this.seen[de];while(this.seen.hasOwnProperty(Ee))}return this.seen[Ee]=0,Ee},Kt}(),me=m.defaults,be=K.unescape,Re=function(){function Kt(or){this.options=or||me,this.options.renderer=this.options.renderer||new pe,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new De,this.slugger=new Ne}Kt.parse=function(ht,Ee){var de=new Kt(Ee);return de.parse(ht)};var $t=Kt.prototype;return $t.parse=function(ht,Ee){Ee===void 0&&(Ee=!0);var de="",qe,rt,ve,bt,jt,He,kt,Ar,at,Ht,Wt,ot,et,Ze,Gt,yr,br,Sr,Tn=ht.length;for(qe=0;qe0&&Gt.tokens[0].type==="text"?(Gt.tokens[0].text=Sr+" "+Gt.tokens[0].text,Gt.tokens[0].tokens&&Gt.tokens[0].tokens.length>0&&Gt.tokens[0].tokens[0].type==="text"&&(Gt.tokens[0].tokens[0].text=Sr+" "+Gt.tokens[0].tokens[0].text)):Gt.tokens.unshift({type:"text",text:Sr}):Ze+=Sr),Ze+=this.parse(Gt.tokens,et),at+=this.renderer.listitem(Ze,br,yr);de+=this.renderer.list(at,Wt,ot);continue}case"html":{de+=this.renderer.html(Ht.text);continue}case"paragraph":{de+=this.renderer.paragraph(this.parseInline(Ht.tokens));continue}case"text":{for(at=Ht.tokens?this.parseInline(Ht.tokens):Ht.text;qe+1An error occurred:

"+pt(ve.message+"",!0)+"
";throw ve}}Ft.options=Ft.setOptions=function(Kt){return it(Ft.defaults,Kt),Nt(Ft.defaults),Ft},Ft.getDefaults=Pe,Ft.defaults=ut,Ft.use=function(Kt){var $t=it({},Kt);if(Kt.renderer&&function(){var ht=Ft.defaults.renderer||new pe,Ee=function(rt){var ve=ht[rt];ht[rt]=function(){for(var bt=arguments.length,jt=new Array(bt),He=0;He=0;i--){if(!A(c[i]))continue;var u=c[i].split("="),r=unescape(u[0]),o=unescape(u[1]);s(o,r)}}function m(s,c){if(!s)return;f.cookie=escape(s)+"="+escape(c)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function d(s){if(!s||!n(s))return;f.cookie=escape(s)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function a(){e(function(s,c){d(c)})}function n(s){return new RegExp("(?:^|;\\s*)"+escape(s).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(f.cookie)}},Ducp:function(j,R,l){var x=l("bYtY"),b=l("IwbS"),A=l("+TT/"),f=l("XpcN"),t=b.Group,e=["width","height"],m=["x","y"],d=f.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){d.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new t),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new t),this._showController},resetInner:function(){d.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(n,s,c,i,u,r,o){var h=this;d.superCall(this,"renderInner",n,s,c,i,u,r,o);var p=this._controllerGroup,g=s.get("pageIconSize",!0);x.isArray(g)||(g=[g,g]),y("pagePrev",0);var v=s.getModel("pageTextStyle");p.add(new b.Text({name:"pageText",style:{textFill:v.getTextColor(),font:v.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),y("pageNext",1);function y(w,S){var _=w+"DataIndex",I=b.createIcon(s.get("pageIcons",!0)[s.getOrient().name][S],{onclick:x.bind(h._pageGo,h,_,s,i)},{x:-g[0]/2,y:-g[1]/2,width:g[0],height:g[1]});I.name=w,p.add(I)}},layoutInner:function(n,s,c,i,u,r){var o=this.getSelectorGroup(),h=n.getOrient().index,p=e[h],g=m[h],v=e[1-h],y=m[1-h];u&&A.box("horizontal",o,n.get("selectorItemGap",!0));var w=n.get("selectorButtonGap",!0),S=o.getBoundingRect(),_=[-S.x,-S.y],I=x.clone(c);u&&(I[p]=c[p]-S[p]-w);var C=this._layoutContentAndController(n,i,I,h,p,v,y);if(u){if(r==="end")_[h]+=C[p]+w;else{var E=S[p]+w;_[h]-=E,C[g]-=E}C[p]+=S[p]+w,_[1-h]+=C[y]+C[v]/2-S[v]/2,C[v]=Math.max(C[v],S[v]),C[y]=Math.min(C[y],S[y]+_[1-h]),o.attr("position",_)}return C},_layoutContentAndController:function(n,s,c,i,u,r,o){var h=this.getContentGroup(),p=this._containerGroup,g=this._controllerGroup;A.box(n.get("orient"),h,n.get("itemGap"),i?c.width:null,i?null:c.height),A.box("horizontal",g,n.get("pageButtonItemGap",!0));var v=h.getBoundingRect(),y=g.getBoundingRect(),w=this._showController=v[u]>c[u],S=[-v.x,-v.y];s||(S[i]=h.position[i]);var _=[0,0],I=[-y.x,-y.y],C=x.retrieve2(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(w){var E=n.get("pageButtonPosition",!0);E==="end"?I[i]+=c[u]-y[u]:_[i]+=y[u]+C}I[1-i]+=v[r]/2-y[r]/2,h.attr("position",S),p.attr("position",_),g.attr("position",I);var O={x:0,y:0};if(O[u]=w?c[u]:v[u],O[r]=Math.max(v[r],y[r]),O[o]=Math.min(0,y[o]+I[1-i]),p.__rectSize=c[u],w){var M={x:0,y:0};M[u]=Math.max(c[u]-y[u]-C,0),M[r]=O[r],p.setClipPath(new b.Rect({shape:M})),p.__rectSize=M[u]}else g.eachChild(function(H){H.attr({invisible:!0,silent:!0})});var F=this._getPageInfo(n);return F.pageIndex!=null&&b.updateProps(h,{position:F.contentPosition},w?n:!1),this._updatePageInfoView(n,F),O},_pageGo:function(n,s,c){var i=this._getPageInfo(s)[n];i!=null&&c.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:s.id})},_updatePageInfoView:function(n,s){var c=this._controllerGroup;x.each(["pagePrev","pageNext"],function(p){var g=s[p+"DataIndex"]!=null,v=c.childOfName(p);v&&(v.setStyle("fill",g?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),v.cursor=g?"pointer":"default")});var i=c.childOfName("pageText"),u=n.get("pageFormatter"),r=s.pageIndex,o=r!=null?r+1:0,h=s.pageCount;i&&u&&i.setStyle("text",x.isString(u)?u.replace("{current}",o).replace("{total}",h):u({current:o,total:h}))},_getPageInfo:function(n){var s=n.get("scrollDataIndex",!0),c=this.getContentGroup(),i=this._containerGroup.__rectSize,u=n.getOrient().index,r=e[u],o=m[u],h=this._findTargetItemIndex(s),p=c.children(),g=p[h],v=p.length,y=v?1:0,w={contentPosition:c.position.slice(),pageCount:y,pageIndex:y-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!g)return w;var S=O(g);w.contentPosition[u]=-S.s;for(var _=h+1,I=S,C=S,E=null;_<=v;++_)E=O(p[_]),(!E&&C.e>I.s+i||E&&!M(E,I.s))&&(C.i>I.i?I=C:I=E,I&&(w.pageNextDataIndex==null&&(w.pageNextDataIndex=I.i),++w.pageCount)),C=E;for(var _=h-1,I=S,C=S,E=null;_>=-1;--_)E=O(p[_]),(!E||!M(C,E.s))&&I.i=H&&F.s<=H+i}},_findTargetItemIndex:function(n){if(!this._showController)return 0;var s,c=this.getContentGroup(),i;return c.eachChild(function(u,r){var o=u.__legendDataIndex;i==null&&o!=null&&(i=r),o===n&&(s=r)}),s!=null?s:i}}),a=d;j.exports=a},"E/ki":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};R.default=x},E2g8:function(j,R,l){(function(x,b){/*! * @overview es6-promise - a tiny implementation of Promises/A+. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) * @license Licensed under MIT license * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE * @version v4.2.8+1e68dce6 -*/(function(A,f){j.exports=f()})(this,function(){"use strict";function A(pe){var De=typeof pe;return pe!==null&&(De==="object"||De==="function")}function f(pe){return typeof pe=="function"}var t=void 0;Array.isArray?t=Array.isArray:t=function(De){return Object.prototype.toString.call(De)==="[object Array]"};var e=t,m=0,d=void 0,a=void 0,n=function(De,Ne){S[m]=De,S[m+1]=Ne,m+=2,m===2&&(a?a(_):C())};function s(pe){a=pe}function c(pe){n=pe}var i=typeof window!="undefined"?window:void 0,u=i||{},r=u.MutationObserver||u.WebKitMutationObserver,o=typeof self=="undefined"&&typeof x!="undefined"&&{}.toString.call(x)==="[object process]",h=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function p(){return function(){return x.nextTick(_)}}function g(){return typeof d!="undefined"?function(){d(_)}:w()}function v(){var pe=0,De=new r(_),Ne=document.createTextNode("");return De.observe(Ne,{characterData:!0}),function(){Ne.data=pe=++pe%2}}function y(){var pe=new MessageChannel;return pe.port1.onmessage=_,function(){return pe.port2.postMessage(0)}}function w(){var pe=setTimeout;return function(){return pe(_,1)}}var S=new Array(1e3);function _(){for(var pe=0;pe`,triples:"",explode:"[]{}"},A=x.Pos;x.defineOption("autoCloseBrackets",!1,function(r,o,h){h&&h!=x.Init&&(r.removeKeyMap(t),r.state.closeBrackets=null),o&&(e(f(o,"pairs")),r.state.closeBrackets=o,r.addKeyMap(t))});function f(r,o){return o=="pairs"&&typeof r=="string"?r:typeof r=="object"&&r[o]!=null?r[o]:b[o]}var t={Backspace:a,Enter:n};function e(r){for(var o=0;o=0;g--){var y=p[g].head;r.replaceRange("",A(y.line,y.ch-1),A(y.line,y.ch+1),"+delete")}}function n(r){var o=d(r),h=o&&f(o,"explode");if(!h||r.getOption("disableInput"))return x.Pass;for(var p=r.listSelections(),g=0;g0;return{anchor:new A(r.anchor.line,r.anchor.ch+(o?-1:1)),head:new A(r.head.line,r.head.ch+(o?1:-1))}}function c(r,o){var h=d(r);if(!h||r.getOption("disableInput"))return x.Pass;var p=f(h,"pairs"),g=p.indexOf(o);if(g==-1)return x.Pass;for(var v=f(h,"closeBefore"),y=f(h,"triples"),w=p.charAt(g+1)==o,S=r.listSelections(),_=g%2==0,I,C=0;C=0&&r.getRange(O,A(O.line,O.ch+3))==o+o+o?M="skipThree":M="skip";else if(w&&O.ch>1&&y.indexOf(o)>=0&&r.getRange(A(O.line,O.ch-2),O)==o+o){if(O.ch>2&&/\bstring/.test(r.getTokenTypeAt(A(O.line,O.ch-2))))return x.Pass;M="addFour"}else if(w){var H=O.ch==0?" ":r.getRange(A(O.line,O.ch-1),O);if(!x.isWordChar(F)&&H!=o&&!x.isWordChar(H))M="both";else return x.Pass}else if(_&&(F.length===0||/\s/.test(F)||v.indexOf(F)>-1))M="both";else return x.Pass;if(!I)I=M;else if(I!=M)return x.Pass}var B=g%2?p.charAt(g-1):o,X=g%2?o:p.charAt(g+1);r.operation(function(){if(I=="skip")r.execCommand("goCharRight");else if(I=="skipThree")for(var J=0;J<3;J++)r.execCommand("goCharRight");else if(I=="surround"){for(var k=r.getSelections(),J=0;Jw[0][1]&&(w[0][1]=C[0]),C[1]w[1][1]&&(w[1][1]=C[1])}return w&&v(w)}};function v(y){return new A(y[0][0],y[1][0],y[0][1]-y[0][0],y[1][1]-y[1][0])}R.layoutCovers=c},ERHi:function(j,R,l){var x=l("ProS");l("Z6js"),l("R4Th");var b=l("f5Yq"),A=l("h8O9");x.registerVisual(b("effectScatter","circle")),x.registerLayout(A("effectScatter"))},EUZL:function(j,R,l){(function(x,b,A){/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var f={};function t(d){d.version="0.17.5";var a=1200,n=1252;typeof cptable=="undefined"&&(typeof x!="undefined"?x.cptable=l("IkRI"):typeof window!="undefined"&&(window.cptable=l("IkRI")));for(var s=[874,932,936,949,950],c=0;c<=8;++c)s.push(1250+c);var i={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},u=function(N){if(s.indexOf(N)==-1)return;n=i[0]=N};function r(){u(1252)}var o=function(N){a=N,u(N)};function h(){o(1200),r()}function p(T){for(var N=[],L=0,Q=T.length;L>1;++L)N[L]=String.fromCharCode(T.charCodeAt(2*L)+(T.charCodeAt(2*L+1)<<8));return N.join("")}function v(T){for(var N=[],L=0;L>1;++L)N[L]=String.fromCharCode(T.charCodeAt(2*L+1)+(T.charCodeAt(2*L)<<8));return N.join("")}var y=function(N){var L=N.charCodeAt(0),Q=N.charCodeAt(1);return L==255&&Q==254?g(N.slice(2)):L==254&&Q==255?v(N.slice(2)):L==65279?N.slice(1):N},w=function(N){return String.fromCharCode(N)},S=function(N){return String.fromCharCode(N)};typeof cptable!="undefined"&&(o=function(N){a=N,u(N)},y=function(N){return N.charCodeAt(0)===255&&N.charCodeAt(1)===254?cptable.utils.decode(1200,p(N.slice(2))):N},w=function(N){return a===1200?String.fromCharCode(N):cptable.utils.decode(a,[N&255,N>>8])[0]},S=function(N){return cptable.utils.decode(n,[N])[0]});var _=null,I=!0,C=function(){var N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(Q){for(var ne="",Te=0,Ve=0,je=0,vt=0,St=0,Pt=0,pr=0,_r=0;_r>2,Ve=Q.charCodeAt(_r++),St=(Te&3)<<4|Ve>>4,je=Q.charCodeAt(_r++),Pt=(Ve&15)<<2|je>>6,pr=je&63,isNaN(Ve)?Pt=pr=64:isNaN(je)&&(pr=64),ne+=N.charAt(vt)+N.charAt(St)+N.charAt(Pt)+N.charAt(pr);return ne},decode:function(Q){var ne="",Te=0,Ve=0,je=0,vt=0,St=0,Pt=0,pr=0;Q=Q.replace(/[^\w\+\/\=]/g,"");for(var _r=0;_r>4,ne+=String.fromCharCode(Te),Pt=N.indexOf(Q.charAt(_r++)),Ve=(St&15)<<4|Pt>>2,Pt!==64&&(ne+=String.fromCharCode(Ve)),pr=N.indexOf(Q.charAt(_r++)),je=(Pt&3)<<6|pr,pr!==64&&(ne+=String.fromCharCode(je));return ne}}}(),E=typeof b!="undefined"&&typeof A!="undefined"&&typeof A.versions!="undefined"&&!!A.versions.node,O=function(){};if(typeof b!="undefined"){var M=!b.from;if(!M)try{b.from("foo","utf8")}catch(T){M=!0}O=M?function(T,N){return N?new b(T,N):new b(T)}:b.from.bind(b),b.alloc||(b.alloc=function(T){return new b(T)}),b.allocUnsafe||(b.allocUnsafe=function(T){return new b(T)})}function F(T){return E?b.alloc(T):new Array(T)}function H(T){return E?b.allocUnsafe(T):new Array(T)}var B=function(N){return E?O(N,"binary"):N.split("").map(function(L){return L.charCodeAt(0)&255})};function X(T){if(typeof ArrayBuffer=="undefined")return B(T);for(var N=new ArrayBuffer(T.length),L=new Uint8Array(N),Q=0;Q!=T.length;++Q)L[Q]=T.charCodeAt(Q)&255;return N}function J(T){if(Array.isArray(T))return T.map(function(Q){return String.fromCharCode(Q)}).join("");for(var N=[],L=0;L=0;)Mn+=tn.charAt(ti--);return Mn}function Q(tn,Mn){for(var ti="";ti.length=Mn?ti:Q("0",Mn-ti.length)+ti}function Te(tn,Mn){var ti=""+tn;return ti.length>=Mn?ti:Q(" ",Mn-ti.length)+ti}function Ve(tn,Mn){var ti=""+tn;return ti.length>=Mn?ti:ti+Q(" ",Mn-ti.length)}function je(tn,Mn){var ti=""+Math.round(tn);return ti.length>=Mn?ti:Q("0",Mn-ti.length)+ti}function vt(tn,Mn){var ti=""+tn;return ti.length>=Mn?ti:Q("0",Mn-ti.length)+ti}var St=Math.pow(2,32);function Pt(tn,Mn){if(tn>St||tn<-St)return je(tn,Mn);var ti=Math.round(tn);return vt(ti,Mn)}function pr(tn,Mn){return Mn=Mn||0,tn.length>=7+Mn&&(tn.charCodeAt(Mn)|32)===103&&(tn.charCodeAt(Mn+1)|32)===101&&(tn.charCodeAt(Mn+2)|32)===110&&(tn.charCodeAt(Mn+3)|32)===101&&(tn.charCodeAt(Mn+4)|32)===114&&(tn.charCodeAt(Mn+5)|32)===97&&(tn.charCodeAt(Mn+6)|32)===108}var _r=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],Rr=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function ln(tn){tn[0]="General",tn[1]="0",tn[2]="0.00",tn[3]="#,##0",tn[4]="#,##0.00",tn[9]="0%",tn[10]="0.00%",tn[11]="0.00E+00",tn[12]="# ?/?",tn[13]="# ??/??",tn[14]="m/d/yy",tn[15]="d-mmm-yy",tn[16]="d-mmm",tn[17]="mmm-yy",tn[18]="h:mm AM/PM",tn[19]="h:mm:ss AM/PM",tn[20]="h:mm",tn[21]="h:mm:ss",tn[22]="m/d/yy h:mm",tn[37]="#,##0 ;(#,##0)",tn[38]="#,##0 ;[Red](#,##0)",tn[39]="#,##0.00;(#,##0.00)",tn[40]="#,##0.00;[Red](#,##0.00)",tn[45]="mm:ss",tn[46]="[h]:mm:ss",tn[47]="mmss.0",tn[48]="##0.0E+0",tn[49]="@",tn[56]='"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "'}var kr={};ln(kr);var An=[],Nn=0;for(Nn=5;Nn<=8;++Nn)An[Nn]=32+Nn;for(Nn=23;Nn<=26;++Nn)An[Nn]=0;for(Nn=27;Nn<=31;++Nn)An[Nn]=14;for(Nn=50;Nn<=58;++Nn)An[Nn]=14;for(Nn=59;Nn<=62;++Nn)An[Nn]=Nn-58;for(Nn=67;Nn<=68;++Nn)An[Nn]=Nn-58;for(Nn=72;Nn<=75;++Nn)An[Nn]=Nn-58;for(Nn=67;Nn<=68;++Nn)An[Nn]=Nn-57;for(Nn=76;Nn<=78;++Nn)An[Nn]=Nn-56;for(Nn=79;Nn<=81;++Nn)An[Nn]=Nn-34;var Rn=[];Rn[5]=Rn[63]='"$"#,##0_);\\("$"#,##0\\)',Rn[6]=Rn[64]='"$"#,##0_);[Red]\\("$"#,##0\\)',Rn[7]=Rn[65]='"$"#,##0.00_);\\("$"#,##0.00\\)',Rn[8]=Rn[66]='"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Rn[41]='_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',Rn[42]='_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',Rn[43]='_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',Rn[44]='_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)';function un(tn,Mn,ti){for(var Da=tn<0?-1:1,ui=tn*Da,pa=0,Ii=1,Ua=0,ei=1,Va=0,as=0,ds=Math.floor(ui);VaMn&&(Va>Mn?(as=ei,Ua=pa):(as=Va,Ua=Ii)),!ti)return[0,Da*Ua,as];var Lo=Math.floor(Da*Ua/as);return[Lo,Da*Ua-Lo*as,as]}function Bi(tn,Mn,ti){if(tn>2958465||tn<0)return null;var Da=tn|0,ui=Math.floor(86400*(tn-Da)),pa=0,Ii=[],Ua={D:Da,T:ui,u:86400*(tn-Da)-ui,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(Ua.u)<1e-6&&(Ua.u=0),Mn&&Mn.date1904&&(Da+=1462),Ua.u>.9999&&(Ua.u=0,++ui==86400&&(Ua.T=ui=0,++Da,++Ua.D)),Da===60)Ii=ti?[1317,10,29]:[1900,2,29],pa=3;else if(Da===0)Ii=ti?[1317,8,29]:[1900,1,0],pa=6;else{Da>60&&--Da;var ei=new Date(1900,0,1);ei.setDate(ei.getDate()+Da-1),Ii=[ei.getFullYear(),ei.getMonth()+1,ei.getDate()],pa=ei.getDay(),Da<60&&(pa=(pa+6)%7),ti&&(pa=ua(ei,Ii))}return Ua.y=Ii[0],Ua.m=Ii[1],Ua.d=Ii[2],Ua.S=ui%60,ui=Math.floor(ui/60),Ua.M=ui%60,ui=Math.floor(ui/60),Ua.H=ui,Ua.q=pa,Ua}N.parse_date_code=Bi;var fa=new Date(1899,11,31,0,0,0),$i=fa.getTime(),wa=new Date(1900,2,1,0,0,0);function no(tn,Mn){var ti=tn.getTime();return Mn?ti-=1461*24*60*60*1e3:tn>=wa&&(ti+=24*60*60*1e3),(ti-($i+(tn.getTimezoneOffset()-fa.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function Ca(tn){return tn.toString(10)}N._general_int=Ca;var Ma=function(){var Mn=/(?:\.0*|(\.\d*[1-9])0+)$/;function ti(Va){return Va.indexOf(".")==-1?Va:Va.replace(Mn,"$1")}var Da=/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,ui=/(E[+-])(\d)$/;function pa(Va){return Va.indexOf("E")==-1?Va:Va.replace(Da,"$1E").replace(ui,"$10$2")}function Ii(Va){var as=Va<0?12:11,ds=ti(Va.toFixed(12));return ds.length<=as?ds:(ds=Va.toPrecision(10),ds.length<=as?ds:Va.toExponential(5))}function Ua(Va){var as=ti(Va.toFixed(11));return as.length>(Va<0?12:11)||as==="0"||as==="-0"?Va.toPrecision(6):as}function ei(Va){var as=Math.floor(Math.log(Math.abs(Va))*Math.LOG10E),ds;return as>=-4&&as<=-1?ds=Va.toPrecision(10+as):Math.abs(as)<=9?ds=Ii(Va):as===10?ds=Va.toFixed(10).substr(0,12):ds=Ua(Va),ti(pa(ds.toUpperCase()))}return ei}();N._general_num=Ma;function La(tn,Mn){switch(typeof tn){case"string":return tn;case"boolean":return tn?"TRUE":"FALSE";case"number":return(tn|0)===tn?tn.toString(10):Ma(tn);case"undefined":return"";case"object":if(tn==null)return"";if(tn instanceof Date)return aa(14,no(tn,Mn&&Mn.date1904),Mn)}throw new Error("unsupported value in General format: "+tn)}N._general=La;function ua(tn,Mn){Mn[0]-=581;var ti=tn.getDay();return tn<60&&(ti=(ti+6)%7),ti}function xo(tn,Mn,ti,Da){var ui="",pa=0,Ii=0,Ua=ti.y,ei,Va=0;switch(tn){case 98:Ua=ti.y+543;case 121:switch(Mn.length){case 1:case 2:ei=Ua%100,Va=2;break;default:ei=Ua%1e4,Va=4;break}break;case 109:switch(Mn.length){case 1:case 2:ei=ti.m,Va=Mn.length;break;case 3:return Rr[ti.m-1][1];case 5:return Rr[ti.m-1][0];default:return Rr[ti.m-1][2]}break;case 100:switch(Mn.length){case 1:case 2:ei=ti.d,Va=Mn.length;break;case 3:return _r[ti.q][0];default:return _r[ti.q][1]}break;case 104:switch(Mn.length){case 1:case 2:ei=1+(ti.H+11)%12,Va=Mn.length;break;default:throw"bad hour format: "+Mn}break;case 72:switch(Mn.length){case 1:case 2:ei=ti.H,Va=Mn.length;break;default:throw"bad hour format: "+Mn}break;case 77:switch(Mn.length){case 1:case 2:ei=ti.M,Va=Mn.length;break;default:throw"bad minute format: "+Mn}break;case 115:if(Mn!="s"&&Mn!="ss"&&Mn!=".0"&&Mn!=".00"&&Mn!=".000")throw"bad second format: "+Mn;return ti.u===0&&(Mn=="s"||Mn=="ss")?ne(ti.S,Mn.length):(Da>=2?Ii=Da===3?1e3:100:Ii=Da===1?10:1,pa=Math.round(Ii*(ti.S+ti.u)),pa>=60*Ii&&(pa=0),Mn==="s"?pa===0?"0":""+pa/Ii:(ui=ne(pa,2+Da),Mn==="ss"?ui.substr(0,2):"."+ui.substr(2,Mn.length-1)));case 90:switch(Mn){case"[h]":case"[hh]":ei=ti.D*24+ti.H;break;case"[m]":case"[mm]":ei=(ti.D*24+ti.H)*60+ti.M;break;case"[s]":case"[ss]":ei=((ti.D*24+ti.H)*60+ti.M)*60+Math.round(ti.S+ti.u);break;default:throw"bad abstime format: "+Mn}Va=Mn.length===3?1:2;break;case 101:ei=Ua,Va=1;break}var as=Va>0?ne(ei,Va):"";return as}function Os(tn){var Mn=3;if(tn.length<=Mn)return tn;for(var ti=tn.length%Mn,Da=tn.substr(0,ti);ti!=tn.length;ti+=Mn)Da+=(Da.length>0?",":"")+tn.substr(ti,Mn);return Da}var is=function(){var Mn=/%/g;function ti(So,Vi,sa){var Rs=Vi.replace(Mn,""),qa=Vi.length-Rs.length;return is(So,Rs,sa*Math.pow(10,2*qa))+Q("%",qa)}function Da(So,Vi,sa){for(var Rs=Vi.length-1;Vi.charCodeAt(Rs-1)===44;)--Rs;return is(So,Vi.substr(0,Rs),sa/Math.pow(10,3*(Vi.length-Rs)))}function ui(So,Vi){var sa,Rs=So.indexOf("E")-So.indexOf(".")-1;if(So.match(/^#+0.0E\+0$/)){if(Vi==0)return"0.0E+0";if(Vi<0)return"-"+ui(So,-Vi);var qa=So.indexOf(".");qa===-1&&(qa=So.indexOf("E"));var eo=Math.floor(Math.log(Vi)*Math.LOG10E)%qa;if(eo<0&&(eo+=qa),sa=(Vi/Math.pow(10,eo)).toPrecision(Rs+1+(qa+eo)%qa),sa.indexOf("e")===-1){var $o=Math.floor(Math.log(Vi)*Math.LOG10E);for(sa.indexOf(".")===-1?sa=sa.charAt(0)+"."+sa.substr(1)+"E+"+($o-sa.length+eo):sa+="E+"+($o-eo);sa.substr(0,2)==="0.";)sa=sa.charAt(0)+sa.substr(2,qa)+"."+sa.substr(2+qa),sa=sa.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");sa=sa.replace(/\+-/,"-")}sa=sa.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(ol,Wl,Il,Ol){return Wl+Il+Ol.substr(0,(qa+eo)%qa)+"."+Ol.substr(eo)+"E"})}else sa=Vi.toExponential(Rs);return So.match(/E\+00$/)&&sa.match(/e[+-]\d$/)&&(sa=sa.substr(0,sa.length-1)+"0"+sa.charAt(sa.length-1)),So.match(/E\-/)&&sa.match(/e\+/)&&(sa=sa.replace(/e\+/,"e")),sa.replace("e","E")}var pa=/# (\?+)( ?)\/( ?)(\d+)/;function Ii(So,Vi,sa){var Rs=parseInt(So[4],10),qa=Math.round(Vi*Rs),eo=Math.floor(qa/Rs),$o=qa-eo*Rs,ol=Rs;return sa+(eo===0?"":""+eo)+" "+($o===0?Q(" ",So[1].length+1+So[4].length):Te($o,So[1].length)+So[2]+"/"+So[3]+ne(ol,So[4].length))}function Ua(So,Vi,sa){return sa+(Vi===0?"":""+Vi)+Q(" ",So[1].length+2+So[4].length)}var ei=/^#*0*\.([0#]+)/,Va=/\).*[0#]/,as=/\(###\) ###\\?-####/;function ds(So){for(var Vi="",sa,Rs=0;Rs!=So.length;++Rs)switch(sa=So.charCodeAt(Rs)){case 35:break;case 63:Vi+=" ";break;case 48:Vi+="0";break;default:Vi+=String.fromCharCode(sa)}return Vi}function Lo(So,Vi){var sa=Math.pow(10,Vi);return""+Math.round(So*sa)/sa}function yc(So,Vi){var sa=So-Math.floor(So),Rs=Math.pow(10,Vi);return Vi<(""+Math.round(sa*Rs)).length?0:Math.round(sa*Rs)}function kc(So,Vi){return Vi<(""+Math.round((So-Math.floor(So))*Math.pow(10,Vi))).length?1:0}function wc(So){return So<2147483647&&So>-2147483648?""+(So>=0?So|0:So-1|0):""+Math.floor(So)}function Kl(So,Vi,sa){if(So.charCodeAt(0)===40&&!Vi.match(Va)){var Rs=Vi.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return sa>=0?Kl("n",Rs,sa):"("+Kl("n",Rs,-sa)+")"}if(Vi.charCodeAt(Vi.length-1)===44)return Da(So,Vi,sa);if(Vi.indexOf("%")!==-1)return ti(So,Vi,sa);if(Vi.indexOf("E")!==-1)return ui(Vi,sa);if(Vi.charCodeAt(0)===36)return"$"+Kl(So,Vi.substr(Vi.charAt(1)==" "?2:1),sa);var qa,eo,$o,ol,Wl=Math.abs(sa),Il=sa<0?"-":"";if(Vi.match(/^00+$/))return Il+Pt(Wl,Vi.length);if(Vi.match(/^[#?]+$/))return qa=Pt(sa,0),qa==="0"&&(qa=""),qa.length>Vi.length?qa:ds(Vi.substr(0,Vi.length-qa.length))+qa;if(eo=Vi.match(pa))return Ii(eo,Wl,Il);if(Vi.match(/^#+0+$/))return Il+Pt(Wl,Vi.length-Vi.indexOf("0"));if(eo=Vi.match(ei))return qa=Lo(sa,eo[1].length).replace(/^([^\.]+)$/,"$1."+ds(eo[1])).replace(/\.$/,"."+ds(eo[1])).replace(/\.(\d*)$/,function(Mu,Ch){return"."+Ch+Q("0",ds(eo[1]).length-Ch.length)}),Vi.indexOf("0.")!==-1?qa:qa.replace(/^0\./,".");if(Vi=Vi.replace(/^#+([0.])/,"$1"),eo=Vi.match(/^(0*)\.(#*)$/))return Il+Lo(Wl,eo[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,eo[1].length?"0.":".");if(eo=Vi.match(/^#{1,3},##0(\.?)$/))return Il+Os(Pt(Wl,0));if(eo=Vi.match(/^#,##0\.([#0]*0)$/))return sa<0?"-"+Kl(So,Vi,-sa):Os(""+(Math.floor(sa)+kc(sa,eo[1].length)))+"."+ne(yc(sa,eo[1].length),eo[1].length);if(eo=Vi.match(/^#,#*,#0/))return Kl(So,Vi.replace(/^#,#*,/,""),sa);if(eo=Vi.match(/^([0#]+)(\\?-([0#]+))+$/))return qa=L(Kl(So,Vi.replace(/[\\-]/g,""),sa)),$o=0,L(L(Vi.replace(/\\/g,"")).replace(/[0#]/g,function(Mu){return $o=0?Qs("n",Rs,sa):"("+Qs("n",Rs,-sa)+")"}if(Vi.charCodeAt(Vi.length-1)===44)return pd(So,Vi,sa);if(Vi.indexOf("%")!==-1)return Nd(So,Vi,sa);if(Vi.indexOf("E")!==-1)return tu(Vi,sa);if(Vi.charCodeAt(0)===36)return"$"+Qs(So,Vi.substr(Vi.charAt(1)==" "?2:1),sa);var qa,eo,$o,ol,Wl=Math.abs(sa),Il=sa<0?"-":"";if(Vi.match(/^00+$/))return Il+ne(Wl,Vi.length);if(Vi.match(/^[#?]+$/))return qa=""+sa,sa===0&&(qa=""),qa.length>Vi.length?qa:ds(Vi.substr(0,Vi.length-qa.length))+qa;if(eo=Vi.match(pa))return Ua(eo,Wl,Il);if(Vi.match(/^#+0+$/))return Il+ne(Wl,Vi.length-Vi.indexOf("0"));if(eo=Vi.match(ei))return qa=(""+sa).replace(/^([^\.]+)$/,"$1."+ds(eo[1])).replace(/\.$/,"."+ds(eo[1])),qa=qa.replace(/\.(\d*)$/,function(Mu,Ch){return"."+Ch+Q("0",ds(eo[1]).length-Ch.length)}),Vi.indexOf("0.")!==-1?qa:qa.replace(/^0\./,".");if(Vi=Vi.replace(/^#+([0.])/,"$1"),eo=Vi.match(/^(0*)\.(#*)$/))return Il+(""+Wl).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,eo[1].length?"0.":".");if(eo=Vi.match(/^#{1,3},##0(\.?)$/))return Il+Os(""+Wl);if(eo=Vi.match(/^#,##0\.([#0]*0)$/))return sa<0?"-"+Qs(So,Vi,-sa):Os(""+sa)+"."+Q("0",eo[1].length);if(eo=Vi.match(/^#,#*,#0/))return Qs(So,Vi.replace(/^#,#*,/,""),sa);if(eo=Vi.match(/^([0#]+)(\\?-([0#]+))+$/))return qa=L(Qs(So,Vi.replace(/[\\-]/g,""),sa)),$o=0,L(L(Vi.replace(/\\/g,"")).replace(/[0#]/g,function(Mu){return $o-1||ti=="\\"&&tn.charAt(Mn+1)=="-"&&"0#".indexOf(tn.charAt(Mn+2))>-1););break;case"?":for(;tn.charAt(++Mn)===ti;);break;case"*":++Mn,(tn.charAt(Mn)==" "||tn.charAt(Mn)=="*")&&++Mn;break;case"(":case")":++Mn;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;Mn-1;);break;case" ":++Mn;break;default:++Mn;break}return!1}N.is_date=Dl;function Ao(tn,Mn,ti,Da){for(var ui=[],pa="",Ii=0,Ua="",ei="t",Va,as,ds,Lo="H";Ii=12?"P":"A"),wc.t="T",Lo="h",Ii+=3):tn.substr(Ii,5).toUpperCase()==="AM/PM"?(Va!=null&&(wc.v=Va.H>=12?"PM":"AM"),wc.t="T",Ii+=5,Lo="h"):tn.substr(Ii,5).toUpperCase()==="\u4E0A\u5348/\u4E0B\u5348"?(Va!=null&&(wc.v=Va.H>=12?"\u4E0B\u5348":"\u4E0A\u5348"),wc.t="T",Ii+=5,Lo="h"):(wc.t="t",++Ii),Va==null&&wc.t==="T")return"";ui[ui.length]=wc,ei=Ua;break;case"[":for(pa=Ua;tn.charAt(Ii++)!=="]"&&Ii-1&&(pa=(pa.match(/\$([^-\[\]]*)/)||[])[1]||"$",Dl(tn)||(ui[ui.length]={t:"t",v:pa}));break;case".":if(Va!=null){for(pa=Ua;++Ii-1;)pa+=Ua;ui[ui.length]={t:"n",v:pa};break;case"?":for(pa=Ua;tn.charAt(++Ii)===Ua;)pa+=Ua;ui[ui.length]={t:Ua,v:pa},ei=Ua;break;case"*":++Ii,(tn.charAt(Ii)==" "||tn.charAt(Ii)=="*")&&++Ii;break;case"(":case")":ui[ui.length]={t:Da===1?"t":Ua,v:Ua},++Ii;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(pa=Ua;Ii-1;)pa+=tn.charAt(Ii);ui[ui.length]={t:"D",v:pa};break;case" ":ui[ui.length]={t:Ua,v:Ua},++Ii;break;case"$":ui[ui.length]={t:"t",v:"$"},++Ii;break;default:if(",$-+/():!^&'~{}<>=\u20ACacfijklopqrtuvwxzP".indexOf(Ua)===-1)throw new Error("unrecognized character "+Ua+" in "+tn);ui[ui.length]={t:"t",v:Ua},++Ii;break}var Kl=0,pd=0,Nd;for(Ii=ui.length-1,ei="t";Ii>=0;--Ii)switch(ui[Ii].t){case"h":case"H":ui[Ii].t=Lo,ei="h",Kl<1&&(Kl=1);break;case"s":(Nd=ui[Ii].v.match(/\.0+$/))&&(pd=Math.max(pd,Nd[0].length-1)),Kl<3&&(Kl=3);case"d":case"y":case"M":case"e":ei=ui[Ii].t;break;case"m":ei==="s"&&(ui[Ii].t="M",Kl<2&&(Kl=2));break;case"X":break;case"Z":Kl<1&&ui[Ii].v.match(/[Hh]/)&&(Kl=1),Kl<2&&ui[Ii].v.match(/[Mm]/)&&(Kl=2),Kl<3&&ui[Ii].v.match(/[Ss]/)&&(Kl=3)}switch(Kl){case 0:break;case 1:Va.u>=.5&&(Va.u=0,++Va.S),Va.S>=60&&(Va.S=0,++Va.M),Va.M>=60&&(Va.M=0,++Va.H);break;case 2:Va.u>=.5&&(Va.u=0,++Va.S),Va.S>=60&&(Va.S=0,++Va.M);break}var tu="",Qs;for(Ii=0;Ii0){tu.charCodeAt(0)==40?(Vi=Mn<0&&tu.charCodeAt(0)===45?-Mn:Mn,sa=is("n",tu,Vi)):(Vi=Mn<0&&Da>1?-Mn:Mn,sa=is("n",tu,Vi),Vi<0&&ui[0]&&ui[0].t=="t"&&(sa=sa.substr(1),ui[0].v="-"+ui[0].v)),Qs=sa.length-1;var Rs=ui.length;for(Ii=0;Ii-1){Rs=Ii;break}var qa=ui.length;if(Rs===ui.length&&sa.indexOf("E")===-1){for(Ii=ui.length-1;Ii>=0;--Ii){if(ui[Ii]==null||"n?".indexOf(ui[Ii].t)===-1)continue;Qs>=ui[Ii].v.length-1?(Qs-=ui[Ii].v.length,ui[Ii].v=sa.substr(Qs+1,ui[Ii].v.length)):Qs<0?ui[Ii].v="":(ui[Ii].v=sa.substr(0,Qs+1),Qs=-1),ui[Ii].t="t",qa=Ii}Qs>=0&&qa=0;--Ii){if(ui[Ii]==null||"n?".indexOf(ui[Ii].t)===-1)continue;for(as=ui[Ii].v.indexOf(".")>-1&&Ii===Rs?ui[Ii].v.indexOf(".")-1:ui[Ii].v.length-1,So=ui[Ii].v.substr(as+1);as>=0;--as)Qs>=0&&(ui[Ii].v.charAt(as)==="0"||ui[Ii].v.charAt(as)==="#")&&(So=sa.charAt(Qs--)+So);ui[Ii].v=So,ui[Ii].t="t",qa=Ii}for(Qs>=0&&qa-1&&Ii===Rs?ui[Ii].v.indexOf(".")+1:0,So=ui[Ii].v.substr(0,as);as-1&&(Vi=Da>1&&Mn<0&&Ii>0&&ui[Ii-1].v==="-"?-Mn:Mn,ui[Ii].v=is(ui[Ii].t,ui[Ii].v,Vi),ui[Ii].t="t");var eo="";for(Ii=0;Ii!==ui.length;++Ii)ui[Ii]!=null&&(eo+=ui[Ii].v);return eo}N._eval=Ao;var Hs=/\[[=<>]/,Qo=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function $l(tn,Mn){if(Mn==null)return!1;var ti=parseFloat(Mn[2]);switch(Mn[1]){case"=":if(tn==ti)return!0;break;case">":if(tn>ti)return!0;break;case"<":if(tn":if(tn!=ti)return!0;break;case">=":if(tn>=ti)return!0;break;case"<=":if(tn<=ti)return!0;break}return!1}function ii(tn,Mn){var ti=Gs(tn),Da=ti.length,ui=ti[Da-1].indexOf("@");if(Da<4&&ui>-1&&--Da,ti.length>4)throw new Error("cannot find right format for |"+ti.join("|")+"|");if(typeof Mn!="number")return[4,ti.length===4||ui>-1?ti[ti.length-1]:"@"];switch(ti.length){case 1:ti=ui>-1?["General","General","General",ti[0]]:[ti[0],ti[0],ti[0],"@"];break;case 2:ti=ui>-1?[ti[0],ti[0],ti[0],ti[1]]:[ti[0],ti[1],ti[0],"@"];break;case 3:ti=ui>-1?[ti[0],ti[1],ti[0],ti[2]]:[ti[0],ti[1],ti[2],"@"];break;case 4:break}var pa=Mn>0?ti[0]:Mn<0?ti[1]:ti[2];if(ti[0].indexOf("[")===-1&&ti[1].indexOf("[")===-1)return[Da,pa];if(ti[0].match(Hs)!=null||ti[1].match(Hs)!=null){var Ii=ti[0].match(Qo),Ua=ti[1].match(Qo);return $l(Mn,Ii)?[Da,ti[0]]:$l(Mn,Ua)?[Da,ti[1]]:[Da,ti[Ii!=null&&Ua!=null?2:1]]}return[Da,pa]}function aa(tn,Mn,ti){ti==null&&(ti={});var Da="";switch(typeof tn){case"string":tn=="m/d/yy"&&ti.dateNF?Da=ti.dateNF:Da=tn;break;case"number":tn==14&&ti.dateNF?Da=ti.dateNF:Da=(ti.table!=null?ti.table:kr)[tn],Da==null&&(Da=ti.table&&ti.table[An[tn]]||kr[An[tn]]),Da==null&&(Da=Rn[tn]||"General");break}if(pr(Da,0))return La(Mn,ti);Mn instanceof Date&&(Mn=no(Mn,ti.date1904));var ui=ii(Da,Mn);if(pr(ui[1]))return La(Mn,ti);if(Mn===!0)Mn="TRUE";else if(Mn===!1)Mn="FALSE";else if(Mn===""||Mn==null)return"";return Ao(ui[1],Mn,ti,ui[0])}function Hi(tn,Mn){if(typeof Mn!="number"){Mn=+Mn||-1;for(var ti=0;ti<392;++ti){if(kr[ti]==null){Mn<0&&(Mn=ti);continue}if(kr[ti]==tn){Mn=ti;break}}Mn<0&&(Mn=391)}return kr[Mn]=tn,Mn}N.load=Hi,N._table=kr,N.get_table=function(){return kr},N.load_table=function(Mn){for(var ti=0;ti!=392;++ti)Mn[ti]!==void 0&&Hi(Mn[ti],ti)},N.init_table=ln,N.format=aa};V(G);var q={"General Number":"General","General Date":G._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":G._table[15],"Short Date":G._table[14],"Long Time":G._table[19],"Medium Time":G._table[18],"Short Time":G._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:G._table[2],Standard:G._table[4],Percent:G._table[10],Scientific:G._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'},re={"5":'"$"#,##0_);\\("$"#,##0\\)',"6":'"$"#,##0_);[Red]\\("$"#,##0\\)',"7":'"$"#,##0.00_);\\("$"#,##0.00\\)',"8":'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',"23":"General","24":"General","25":"General","26":"General","27":"m/d/yy","28":"m/d/yy","29":"m/d/yy","30":"m/d/yy","31":"m/d/yy","32":"h:mm:ss","33":"h:mm:ss","34":"h:mm:ss","35":"h:mm:ss","36":"m/d/yy","41":'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',"42":'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',"43":'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',"44":'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',"50":"m/d/yy","51":"m/d/yy","52":"m/d/yy","53":"m/d/yy","54":"m/d/yy","55":"m/d/yy","56":"m/d/yy","57":"m/d/yy","58":"m/d/yy","59":"0","60":"0.00","61":"#,##0","62":"#,##0.00","63":'"$"#,##0_);\\("$"#,##0\\)',"64":'"$"#,##0_);[Red]\\("$"#,##0\\)',"65":'"$"#,##0.00_);\\("$"#,##0.00\\)',"66":'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',"67":"0%","68":"0.00%","69":"# ?/?","70":"# ??/??","71":"m/d/yy","72":"m/d/yy","73":"d-mmm-yy","74":"d-mmm","75":"mmm-yy","76":"h:mm","77":"h:mm:ss","78":"m/d/yy h:mm","79":"mm:ss","80":"[h]:mm:ss","81":"mmss.0"},ce=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function ie(T){var N=typeof T=="number"?G._table[T]:T;return N=N.replace(ce,"(\\d+)"),new RegExp("^"+N+"$")}function fe(T,N,L){var Q=-1,ne=-1,Te=-1,Ve=-1,je=-1,vt=-1;(N.match(ce)||[]).forEach(function(pr,_r){var Rr=parseInt(L[_r+1],10);switch(pr.toLowerCase().charAt(0)){case"y":Q=Rr;break;case"d":Te=Rr;break;case"h":Ve=Rr;break;case"s":vt=Rr;break;case"m":Ve>=0?je=Rr:ne=Rr;break}}),vt>=0&&je==-1&&ne>=0&&(je=ne,ne=-1);var St=(""+(Q>=0?Q:new Date().getFullYear())).slice(-4)+"-"+("00"+(ne>=1?ne:1)).slice(-2)+"-"+("00"+(Te>=1?Te:1)).slice(-2);St.length==7&&(St="0"+St),St.length==8&&(St="20"+St);var Pt=("00"+(Ve>=0?Ve:0)).slice(-2)+":"+("00"+(je>=0?je:0)).slice(-2)+":"+("00"+(vt>=0?vt:0)).slice(-2);return Ve==-1&&je==-1&&vt==-1?St:Q==-1&&ne==-1&&Te==-1?Pt:St+"T"+Pt}var xe=!0,Se;(function(T){T(Se={})})(function(T){T.version="1.2.0";function N(){for(var je=0,vt=new Array(256),St=0;St!=256;++St)je=St,je=je&1?-306674912^je>>>1:je>>>1,je=je&1?-306674912^je>>>1:je>>>1,je=je&1?-306674912^je>>>1:je>>>1,je=je&1?-306674912^je>>>1:je>>>1,je=je&1?-306674912^je>>>1:je>>>1,je=je&1?-306674912^je>>>1:je>>>1,je=je&1?-306674912^je>>>1:je>>>1,je=je&1?-306674912^je>>>1:je>>>1,vt[St]=je;return typeof Int32Array!="undefined"?new Int32Array(vt):vt}var L=N();function Q(je,vt){for(var St=vt^-1,Pt=je.length-1,pr=0;pr>>8^L[(St^je.charCodeAt(pr++))&255],St=St>>>8^L[(St^je.charCodeAt(pr++))&255];return pr===Pt&&(St=St>>>8^L[(St^je.charCodeAt(pr))&255]),St^-1}function ne(je,vt){if(je.length>1e4)return Te(je,vt);for(var St=vt^-1,Pt=je.length-3,pr=0;pr>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255];for(;pr>>8^L[(St^je[pr++])&255];return St^-1}function Te(je,vt){for(var St=vt^-1,Pt=je.length-7,pr=0;pr>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255];for(;pr>>8^L[(St^je[pr++])&255];return St^-1}function Ve(je,vt){for(var St=vt^-1,Pt=0,pr=je.length,_r,Rr;Pt>>8^L[(St^_r)&255]:_r<2048?(St=St>>>8^L[(St^(192|_r>>6&31))&255],St=St>>>8^L[(St^(128|_r&63))&255]):_r>=55296&&_r<57344?(_r=(_r&1023)+64,Rr=je.charCodeAt(Pt++)&1023,St=St>>>8^L[(St^(240|_r>>8&7))&255],St=St>>>8^L[(St^(128|_r>>2&63))&255],St=St>>>8^L[(St^(128|Rr>>6&15|(_r&3)<<4))&255],St=St>>>8^L[(St^(128|Rr&63))&255]):(St=St>>>8^L[(St^(224|_r>>12&15))&255],St=St>>>8^L[(St^(128|_r>>6&63))&255],St=St>>>8^L[(St^(128|_r&63))&255]);return St^-1}T.table=L,T.bstr=Q,T.buf=ne,T.str=Ve});var ke=function(){var N={};N.version="1.1.4";function L(Sn,yi){for(var fi=Sn.split("/"),li=yi.split("/"),Si=0,ai=0,ka=Math.min(fi.length,li.length);Si>>1,Sn.write_shift(2,fi);var li=yi.getFullYear()-1980;li=li<<4|yi.getMonth()+1,li=li<<5|yi.getDate(),Sn.write_shift(2,li)}function Ve(Sn){var yi=Sn.read_shift(2)&65535,fi=Sn.read_shift(2)&65535,li=new Date,Si=fi&31;fi>>>=5;var ai=fi&15;fi>>>=4,li.setMilliseconds(0),li.setFullYear(fi+1980),li.setMonth(ai-1),li.setDate(Si);var ka=yi&31;yi>>>=5;var _o=yi&63;return yi>>>=6,li.setHours(yi),li.setMinutes(_o),li.setSeconds(ka<<1),li}function je(Sn){Cn(Sn,0);for(var yi={},fi=0;Sn.l<=Sn.length-4;){var li=Sn.read_shift(2),Si=Sn.read_shift(2),ai=Sn.l+Si,ka={};switch(li){case 21589:fi=Sn.read_shift(1),fi&1&&(ka.mtime=Sn.read_shift(4)),Si>5&&(fi&2&&(ka.atime=Sn.read_shift(4)),fi&4&&(ka.ctime=Sn.read_shift(4))),ka.mtime&&(ka.mt=new Date(ka.mtime*1e3));break}Sn.l=ai,yi[li]=ka}return yi}var vt;function St(){return vt||(vt=l(4))}function Pt(Sn,yi){if(Sn[0]==80&&Sn[1]==75)return Wl(Sn,yi);if(Sn.length<512)throw new Error("CFB file size "+Sn.length+" < 512");var fi=3,li=512,Si=0,ai=0,ka=0,_o=0,Xa=0,To=[],Za=Sn.slice(0,512);Cn(Za,0);var gs=pr(Za);fi=gs[0];switch(fi){case 3:li=512;break;case 4:li=4096;break;case 0:if(gs[1]==0)return Wl(Sn,yi);default:throw new Error("Major Version: Expected 3 or 4 saw "+fi)}li!==512&&(Za=Sn.slice(0,li),Cn(Za,28));var ys=Sn.slice(0,li);_r(Za,fi);var rl=Za.read_shift(4,"i");if(fi===3&&rl!==0)throw new Error("# Directory Sectors: Expected 0 saw "+rl);Za.l+=4,ka=Za.read_shift(4,"i"),Za.l+=4,Za.chk("00100000","Mini Stream Cutoff Size: "),_o=Za.read_shift(4,"i"),Si=Za.read_shift(4,"i"),Xa=Za.read_shift(4,"i"),ai=Za.read_shift(4,"i");for(var _s=-1,vs=0;vs<109&&!(_s=Za.read_shift(4,"i"),_s<0);++vs)To[vs]=_s;var ac=Rr(Sn,li);An(Xa,ai,ac,li,To);var zc=Rn(ac,ka,To,li);zc[ka].name="!Directory",Si>0&&_o!==xo&&(zc[_o].name="!MiniFAT"),zc[To[0]].name="!FAT",zc.fat_addrs=To,zc.ssz=li;var ju={},vu=[],td=[],Wh=[];un(ka,zc,ac,vu,Si,ju,td,_o),ln(td,Wh,vu),vu.shift();var Vh={FileIndex:td,FullPaths:Wh};return yi&&yi.raw&&(Vh.raw={header:ys,sectors:ac}),Vh}function pr(Sn){if(Sn[Sn.l]==80&&Sn[Sn.l+1]==75)return[0,0];Sn.chk(Os,"Header Signature: "),Sn.l+=16;var yi=Sn.read_shift(2,"u");return[Sn.read_shift(2,"u"),yi]}function _r(Sn,yi){var fi=9;Sn.l+=2;switch(fi=Sn.read_shift(2)){case 9:if(yi!=3)throw new Error("Sector Shift: Expected 9 saw "+fi);break;case 12:if(yi!=4)throw new Error("Sector Shift: Expected 12 saw "+fi);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+fi)}Sn.chk("0600","Mini Sector Shift: "),Sn.chk("000000000000","Reserved: ")}function Rr(Sn,yi){for(var fi=Math.ceil(Sn.length/yi)-1,li=[],Si=1;Si0&&ka>=0;)ai.push(yi.slice(ka*ua,ka*ua+ua)),Si-=ua,ka=Ki(fi,ka*4);return ai.length===0?In(0):z(ai).slice(0,Sn.size)}function An(Sn,yi,fi,li,Si){var ai=xo;if(Sn===xo){if(yi!==0)throw new Error("DIFAT chain shorter than expected")}else if(Sn!==-1){var ka=fi[Sn],_o=(li>>>2)-1;if(!ka)return;for(var Xa=0;Xa<_o&&!((ai=Ki(ka,Xa*4))===xo);++Xa)Si.push(ai);yi>=1&&An(Ki(ka,li-4),yi-1,fi,li,Si)}}function Nn(Sn,yi,fi,li,Si){var ai=[],ka=[];Si||(Si=[]);var _o=li-1,Xa=0,To=0;for(Xa=yi;Xa>=0;){Si[Xa]=!0,ai[ai.length]=Xa,ka.push(Sn[Xa]);var Za=fi[Math.floor(Xa*4/li)];if(To=Xa*4&_o,li<4+To)throw new Error("FAT boundary crossed: "+Xa+" 4 "+li);if(!Sn[Za])break;Xa=Ki(Sn[Za],To)}return{nodes:ai,data:Fi([ka])}}function Rn(Sn,yi,fi,li){var Si=Sn.length,ai=[],ka=[],_o=[],Xa=[],To=li-1,Za=0,gs=0,ys=0,rl=0;for(Za=0;Za=Si&&(ys-=Si),ka[ys])continue;Xa=[];var _s=[];for(gs=ys;gs>=0;){_s[gs]=!0,ka[gs]=!0,_o[_o.length]=gs,Xa.push(Sn[gs]);var vs=fi[Math.floor(gs*4/li)];if(rl=gs*4&To,li<4+rl)throw new Error("FAT boundary crossed: "+gs+" 4 "+li);if(!Sn[vs])break;if(gs=Ki(Sn[vs],rl),_s[gs])break}ai[ys]={nodes:_o,data:Fi([Xa])}}return ai}function un(Sn,yi,fi,li,Si,ai,ka,_o){for(var Xa=0,To=li.length?2:0,Za=yi[Sn].data,gs=0,ys=0,rl;gs0&&Xa!==xo&&(yi[Xa].name="!StreamData")):vs.size>=4096?(vs.storage="fat",yi[vs.start]===void 0&&(yi[vs.start]=Nn(fi,vs.start,yi.fat_addrs,yi.ssz)),yi[vs.start].name=vs.name,vs.content=yi[vs.start].data.slice(0,vs.size)):(vs.storage="minifat",vs.size<0?vs.size=0:Xa!==xo&&vs.start!==xo&&yi[Xa]&&(vs.content=kr(vs,yi[Xa].data,(yi[_o]||{}).data))),vs.content&&Cn(vs.content,0),ai[rl]=vs,ka.push(vs)}}function Bi(Sn,yi){return new Date((Ni(Sn,yi+4)/1e7*Math.pow(2,32)+Ni(Sn,yi)/1e7-11644473600)*1e3)}function fa(Sn,yi){return St(),Pt(vt.readFileSync(Sn),yi)}function $i(Sn,yi){switch(yi&&yi.type||"base64"){case"file":return fa(Sn,yi);case"base64":return Pt(B(C.decode(Sn)),yi);case"binary":return Pt(B(Sn),yi)}return Pt(Sn,yi)}function wa(Sn,yi){var fi=yi||{},li=fi.root||"Root Entry";if(Sn.FullPaths||(Sn.FullPaths=[]),Sn.FileIndex||(Sn.FileIndex=[]),Sn.FullPaths.length!==Sn.FileIndex.length)throw new Error("inconsistent CFB structure");Sn.FullPaths.length===0&&(Sn.FullPaths[0]=li+"/",Sn.FileIndex[0]={name:li,type:5}),fi.CLSID&&(Sn.FileIndex[0].clsid=fi.CLSID),no(Sn)}function no(Sn){var yi="Sh33tJ5";if(ke.find(Sn,"/"+yi))return;var fi=In(4);fi[0]=55,fi[1]=fi[3]=50,fi[2]=54,Sn.FileIndex.push({name:yi,type:2,content:fi,size:4,L:69,R:69,C:69}),Sn.FullPaths.push(Sn.FullPaths[0]+yi),Ca(Sn)}function Ca(Sn,yi){wa(Sn);for(var fi=!1,li=!1,Si=Sn.FullPaths.length-1;Si>=0;--Si){var ai=Sn.FileIndex[Si];switch(ai.type){case 0:li?fi=!0:(Sn.FileIndex.pop(),Sn.FullPaths.pop());break;case 1:case 2:case 5:li=!0,isNaN(ai.R*ai.L*ai.C)&&(fi=!0),ai.R>-1&&ai.L>-1&&ai.R==ai.L&&(fi=!0);break;default:fi=!0;break}}if(!fi&&!yi)return;var ka=new Date(1987,1,19),_o=0,Xa=[];for(Si=0;Si1?1:-1,Za.size=0,Za.type=5;else if(gs.slice(-1)=="/"){for(_o=Si+1;_o=Xa.length?-1:_o,_o=Si+1;_o=Xa.length?-1:_o,Za.type=1}else Q(Sn.FullPaths[Si+1]||"")==Q(gs)&&(Za.R=Si+1),Za.type=2}}function Ma(Sn,yi){var fi=yi||{};if(Ca(Sn),fi.fileType=="zip")return Ol(Sn,fi);var li=function(rl){for(var _s=0,vs=0,ac=0;ac0&&(ju<4096?_s+=ju+63>>6:vs+=ju+511>>9)}for(var vu=rl.FullPaths.length+3>>2,td=_s+7>>3,Wh=_s+127>>7,Vh=td+vs+vu+Wh,Eh=Vh+127>>7,Bf=Eh<=109?0:Math.ceil((Eh-109)/127);Vh+Eh+Bf+127>>7>Eh;)Bf=++Eh<=109?0:Math.ceil((Eh-109)/127);var sh=[1,Bf,Eh,Wh,vu,vs,_s,0];return rl.FileIndex[0].size=_s<<6,sh[7]=(rl.FileIndex[0].start=sh[0]+sh[1]+sh[2]+sh[3]+sh[4]+sh[5])+(sh[6]+7>>3),sh}(Sn),Si=In(li[7]<<9),ai=0,ka=0;{for(ai=0;ai<8;++ai)Si.write_shift(1,is[ai]);for(ai=0;ai<8;++ai)Si.write_shift(2,0);for(Si.write_shift(2,62),Si.write_shift(2,3),Si.write_shift(2,65534),Si.write_shift(2,9),Si.write_shift(2,6),ai=0;ai<3;++ai)Si.write_shift(2,0);for(Si.write_shift(4,0),Si.write_shift(4,li[2]),Si.write_shift(4,li[0]+li[1]+li[2]+li[3]-1),Si.write_shift(4,0),Si.write_shift(4,1<<12),Si.write_shift(4,li[3]?li[0]+li[1]+li[2]-1:xo),Si.write_shift(4,li[3]),Si.write_shift(-4,li[1]?li[0]-1:xo),Si.write_shift(4,li[1]),ai=0;ai<109;++ai)Si.write_shift(-4,ai>9)}for(_o(li[6]+7>>3);Si.l&511;)Si.write_shift(-4,Ms.ENDOFCHAIN);for(ka=ai=0,Xa=0;Xa=4096)continue;Za.start=ka,_o(To+63>>6)}for(;Si.l&511;)Si.write_shift(-4,Ms.ENDOFCHAIN);for(ai=0;ai=4096){for(Si.l=Za.start+1<<9,Xa=0;Xa0&&Za.size<4096){for(Xa=0;Xa>16|yi>>8|yi)&255}for(var Da=typeof Uint8Array!="undefined",ui=Da?new Uint8Array(1<<8):[],pa=0;pa<1<<8;++pa)ui[pa]=ti(pa);function Ii(Sn,yi){var fi=ui[Sn&255];return yi<=8?fi>>>8-yi:(fi=fi<<8|ui[Sn>>8&255],yi<=16?fi>>>16-yi:(fi=fi<<8|ui[Sn>>16&255],fi>>>24-yi))}function Ua(Sn,yi){var fi=yi&7,li=yi>>>3;return(Sn[li]|(fi<=6?0:Sn[li+1]<<8))>>>fi&3}function ei(Sn,yi){var fi=yi&7,li=yi>>>3;return(Sn[li]|(fi<=5?0:Sn[li+1]<<8))>>>fi&7}function Va(Sn,yi){var fi=yi&7,li=yi>>>3;return(Sn[li]|(fi<=4?0:Sn[li+1]<<8))>>>fi&15}function as(Sn,yi){var fi=yi&7,li=yi>>>3;return(Sn[li]|(fi<=3?0:Sn[li+1]<<8))>>>fi&31}function ds(Sn,yi){var fi=yi&7,li=yi>>>3;return(Sn[li]|(fi<=1?0:Sn[li+1]<<8))>>>fi&127}function Lo(Sn,yi,fi){var li=yi&7,Si=yi>>>3,ai=(1<>>li;return fi<8-li?ka&ai:(ka|=Sn[Si+1]<<8-li,fi<16-li?ka&ai:(ka|=Sn[Si+2]<<16-li,fi<24-li||(ka|=Sn[Si+3]<<24-li),ka&ai))}function yc(Sn,yi){var fi=Sn.length,li=2*fi>yi?2*fi:yi+5,Si=0;if(fi>=yi)return Sn;if(E){var ai=H(li);if(Sn.copy)Sn.copy(ai);else for(;Si0;)li[li.l++]=fi[Si++]}return li.l}}();return function(yi){var fi=In(50+Math.floor(yi.length*1.1)),li=Sn(yi,fi);return fi.slice(0,li)}}();function Kl(Sn,yi,fi){var li=1,Si=0,ai=0,ka=0,_o=0,Xa=Sn.length,To=Da?new Uint16Array(32):kc(32);for(ai=0;ai<32;++ai)To[ai]=0;for(ai=Xa;ai>li-gs,ka=(1<=0;--ka)yi[_o|ka<>8-_s;for(var vs=(1<<7-_s)-1;vs>=0;--vs)Vi[rl|vs<<_s]=_s&7|ys<<3}var ac=[];for(Xa=1;ac.length>>=3){case 16:for(ai=3+Ua(Sn,yi),yi+=2,rl=ac[ac.length-1];ai-- >0;)ac.push(rl);break;case 17:for(ai=3+ei(Sn,yi),yi+=3;ai-- >0;)ac.push(0);break;case 18:for(ai=11+ds(Sn,yi),yi+=7;ai-- >0;)ac.push(0);break;default:ac.push(rl),Xa>>0,_o=0,Xa=0;(li&1)==0;){if(li=ei(Sn,fi),fi+=3,li>>>1==0){fi&7&&(fi+=8-(fi&7));var To=Sn[fi>>>3]|Sn[(fi>>>3)+1]<<8;if(fi+=32,!yi&&ka>>3,(fi>>>3)+To),ai+=To,fi+=8*To;else for(;To-- >0;)Si[ai++]=Sn[fi>>>3],fi+=8;continue}else li>>>1==1?(_o=9,Xa=5):(fi=qa(Sn,fi),_o=sa,Xa=Rs);for(!yi&&ka>>1==1?pd[Za]:Qs[Za];if(fi+=gs&15,gs>>>=4,(gs>>>8&255)===0)Si[ai++]=gs;else{if(gs==256)break;gs-=257;var ys=gs<8?0:gs-4>>2;ys>5&&(ys=0);var rl=ai+tn[gs];ys>0&&(rl+=Lo(Sn,fi,ys),fi+=ys),Za=Lo(Sn,fi,Xa),gs=li>>>1==1?Nd[Za]:So[Za],fi+=gs&15,gs>>>=4;var _s=gs<4?0:gs-2>>1,vs=Mn[gs];for(_s>0&&(vs+=Lo(Sn,fi,_s),fi+=_s),!yi&&ka>>3]}function $o(Sn,yi){var fi=Sn.slice(Sn.l||0),li=eo(fi,yi);return Sn.l+=li[1],li[0]}function ol(Sn,yi){if(Sn)typeof console!="undefined"&&console.error(yi);else throw new Error(yi)}function Wl(Sn,yi){var fi=Sn;Cn(fi,0);var li=[],Si=[],ai={FileIndex:li,FullPaths:Si};wa(ai,{root:yi.root});for(var ka=fi.length-4;(fi[ka]!=80||fi[ka+1]!=75||fi[ka+2]!=5||fi[ka+3]!=6)&&ka>=0;)--ka;fi.l=ka+4,fi.l+=4;var _o=fi.read_shift(2);fi.l+=6;var Xa=fi.read_shift(4);for(fi.l=Xa,ka=0;ka<_o;++ka){fi.l+=20;var To=fi.read_shift(4),Za=fi.read_shift(4),gs=fi.read_shift(2),ys=fi.read_shift(2),rl=fi.read_shift(2);fi.l+=8;var _s=fi.read_shift(4),vs=je(fi.slice(fi.l+gs,fi.l+gs+ys));fi.l+=gs+ys+rl;var ac=fi.l;fi.l=_s+4,Il(fi,To,Za,ai,vs),fi.l=ac}return ai}function Il(Sn,yi,fi,li,Si){Sn.l+=2;var ai=Sn.read_shift(2),ka=Sn.read_shift(2),_o=Ve(Sn);if(ai&8257)throw new Error("Unsupported ZIP encryption");for(var Xa=Sn.read_shift(4),To=Sn.read_shift(4),Za=Sn.read_shift(4),gs=Sn.read_shift(2),ys=Sn.read_shift(2),rl="",_s=0;_s3&&(Q=!0);switch(ne[Te].slice(ne[Te].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+ne[Te].slice(ne[Te].length-1));case"D":L*=24;case"H":L*=60;case"M":if(Q)L*=60;else throw new Error("Unsupported ISO Duration Field: M");case"S":break}N+=L*parseInt(ne[Te],10)}return N}var it=new Date("2017-02-19T19:06:09.000Z");isNaN(it.getFullYear())&&(it=new Date("2/19/17"));var yt=it.getFullYear()==2017;function pt(T,N){var L=new Date(T);if(yt)return N>0?L.setTime(L.getTime()+L.getTimezoneOffset()*60*1e3):N<0&&L.setTime(L.getTime()-L.getTimezoneOffset()*60*1e3),L;if(T instanceof Date)return T;if(it.getFullYear()==1917&&!isNaN(L.getFullYear())){var Q=L.getFullYear();return T.indexOf(""+Q)>-1||L.setFullYear(L.getFullYear()+100),L}var ne=T.match(/\d+/g)||["2017","2","19","0","0","0"],Te=new Date(+ne[0],+ne[1]-1,+ne[2],+ne[3]||0,+ne[4]||0,+ne[5]||0);return T.indexOf("Z")>-1&&(Te=new Date(Te.getTime()-Te.getTimezoneOffset()*60*1e3)),Te}function Pe(T){for(var N="",L=0;L!=T.length;++L)N+=String.fromCharCode(T[L]);return N}function Nt(T){if(typeof JSON!="undefined"&&!Array.isArray(T))return JSON.parse(JSON.stringify(T));if(typeof T!="object"||T==null)return T;if(T instanceof Date)return new Date(T.getTime());var N={};for(var L in T)Object.prototype.hasOwnProperty.call(T,L)&&(N[L]=Nt(T[L]));return N}function ut(T,N){for(var L="";L.length8099)?L:(ne>0||Te>1)&&Q!=101||T.toLowerCase().match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)?N:T.match(/[^-0-9:,\/\\]/)?L:N}var Wt="abacaba".split(/(:?b)/i).length==5;function $t(T,N,L){if(Wt||typeof N=="string")return T.split(N);for(var Q=T.split(N),ne=[Q[0]],Te=1;Te\r -`,Kt=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,ot=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg;Ht.match(ot)||(ot=/<[^>]*>/g);var et=/<\w*:/,Ze=/<(\/?)\w+:/;function Gt(T,N,L){for(var Q={},ne=0,Te=0;ne!==T.length&&!((Te=T.charCodeAt(ne))===32||Te===10||Te===13);++ne);if(N||(Q[0]=T.slice(0,ne)),ne===T.length)return Q;var Ve=T.match(Kt),je=0,vt="",St=0,Pt="",pr="",_r=1;if(Ve)for(St=0;St!=Ve.length;++St){for(pr=Ve[St],Te=0;Te!=pr.length&&!(pr.charCodeAt(Te)===61);++Te);for(Pt=pr.slice(0,Te).trim();pr.charCodeAt(Te+1)==32;)++Te;for(_r=(ne=pr.charCodeAt(Te+1))==34||ne==39?1:0,vt=pr.slice(Te+1+_r,pr.length-_r),je=0;je!=Pt.length&&!(Pt.charCodeAt(je)===58);++je);if(je===Pt.length)Pt.indexOf("_")>0&&(Pt=Pt.slice(0,Pt.indexOf("_"))),Q[Pt]=vt,L||(Q[Pt.toLowerCase()]=vt);else{var Rr=(je===5&&Pt.slice(0,5)==="xmlns"?"xmlns":"")+Pt.slice(je+1);if(Q[Rr]&&Pt.slice(je-3,je)=="ext")continue;Q[Rr]=vt,L||(Q[Rr.toLowerCase()]=vt)}}return Q}function yr(T){return T.replace(Ze,"<$1")}var br={""":'"',"'":"'",">":">","<":"<","&":"&"},Sr=Z(br),Tn=function(){var T=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/ig,N=/_x([\da-fA-F]{4})_/ig;return function L(Q){var ne=Q+"",Te=ne.indexOf("-1?16:10))||je}).replace(N,function(je,vt){return String.fromCharCode(parseInt(vt,16))});var Ve=ne.indexOf("]]>");return L(ne.slice(0,Te))+ne.slice(Te+9,Ve)+L(ne.slice(Ve+3))}}(),cn=/[&<>'"]/g,Kn=/[\u0000-\u0008\u000b-\u001f]/g;function lt(T){var N=T+"";return N.replace(cn,function(L){return Sr[L]}).replace(Kn,function(L){return"_x"+("000"+L.charCodeAt(0).toString(16)).slice(-4)+"_"})}function mt(T){return lt(T).replace(/ /g,"_x0020_")}var Le=/[\u0000-\u001f]/g;function ze(T){var N=T+"";return N.replace(cn,function(L){return Sr[L]}).replace(/\n/g,"
").replace(Le,function(L){return"&#x"+("000"+L.charCodeAt(0).toString(16)).slice(-4)+";"})}function $e(T){var N=T+"";return N.replace(cn,function(L){return Sr[L]}).replace(Le,function(L){return"&#x"+L.charCodeAt(0).toString(16).toUpperCase()+";"})}var gt=function(){var T=/&#(\d+);/g;function N(L,Q){return String.fromCharCode(parseInt(Q,10))}return function(Q){return Q.replace(T,N)}}(),ir=function(){return function(N){return N.replace(/(\r\n|[\r\n])/g," ")}}();function Xt(T){switch(T){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}var er=function(N){for(var L="",Q=0,ne=0,Te=0,Ve=0,je=0,vt=0;Q191&&ne<224){je=(ne&31)<<6,je|=Te&63,L+=String.fromCharCode(je);continue}if(Ve=N.charCodeAt(Q++),ne<240){L+=String.fromCharCode((ne&15)<<12|(Te&63)<<6|Ve&63);continue}je=N.charCodeAt(Q++),vt=((ne&7)<<18|(Te&63)<<12|(Ve&63)<<6|je&63)-65536,L+=String.fromCharCode(55296+(vt>>>10&1023)),L+=String.fromCharCode(56320+(vt&1023))}return L},Wr=function(N){for(var L=[],Q=0,ne=0,Te=0;Q>6))),L.push(String.fromCharCode(128+(ne&63)));break;case(ne>=55296&&ne<57344):ne-=55296,Te=N.charCodeAt(Q++)-56320+(ne<<10),L.push(String.fromCharCode(240+(Te>>18&7))),L.push(String.fromCharCode(144+(Te>>12&63))),L.push(String.fromCharCode(128+(Te>>6&63))),L.push(String.fromCharCode(128+(Te&63)));break;default:L.push(String.fromCharCode(224+(ne>>12))),L.push(String.fromCharCode(128+(ne>>6&63))),L.push(String.fromCharCode(128+(ne&63)))}}return L.join("")};if(E){var en=function(N){var L=b.alloc(2*N.length),Q,ne,Te=1,Ve=0,je=0,vt;for(ne=0;ne>>10&1023),Q=56320+(Q&1023)),je!==0&&(L[Ve++]=je&255,L[Ve++]=je>>>8,je=0),L[Ve++]=Q%256,L[Ve++]=Q>>>8;return L.slice(0,Ve).toString("ucs2")},Fn="foo bar baz\xE2\x98\x83\xF0\x9F\x8D\xA3";er(Fn)==en(Fn)&&(er=en);var ar=function(N){return O(N,"binary").toString("utf8")};er(Fn)==ar(Fn)&&(er=ar),Wr=function(N){return O(N,"utf8").toString("binary")}}var It=function(){var T={};return function(L,Q){var ne=L+"|"+(Q||"");return T[ne]?T[ne]:T[ne]=new RegExp("<(?:\\w+:)?"+L+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)",Q||"")}}(),Ct=function(){var T=[["nbsp"," "],["middot","\xB7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(N){return[new RegExp("&"+N[0]+";","ig"),N[1]]});return function(L){for(var Q=L.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,` -`).replace(/<[^>]*>/g,""),ne=0;ne([\\s\\S]*?)","g")}}(),gr=/<\/?(?:vt:)?variant>/g,Mt=/<(?:vt:)([^>]*)>([\s\S]*)"+N+""}function Dr(T){return Ge(T).map(function(N){return" "+N+'="'+T[N]+'"'}).join("")}function dr(T,N,L){return"<"+T+(L!=null?Dr(L):"")+(N!=null?(N.match(Dt)?' xml:space="preserve"':"")+">"+N+""}function Tr(T,N){try{return T.toISOString().replace(/\.\d*/,"")}catch(L){if(N)throw L}return""}function vn(T,N){switch(typeof T){case"string":var L=dr("vt:lpwstr",lt(T));return N&&(L=L.replace(/"/g,"_x0022_")),L;case"number":return dr((T|0)==T?"vt:i4":"vt:r8",lt(String(T)));case"boolean":return dr("vt:bool",T?"true":"false")}if(T instanceof Date)return dr("vt:filetime",Tr(T));throw new Error("Unable to serialize "+T)}var on={dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"};on.main=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"];var Gn={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function di(T,N){for(var L=1-2*(T[N+7]>>>7),Q=((T[N+7]&127)<<4)+(T[N+6]>>>4&15),ne=T[N+6]&15,Te=5;Te>=0;--Te)ne=ne*256+T[N+Te];return Q==2047?ne==0?L*Infinity:NaN:(Q==0?Q=-1022:(Q-=1023,ne+=Math.pow(2,52)),L*Math.pow(2,Q-52)*ne)}function Ti(T,N,L){var Q=(N<0||1/N==-Infinity?1:0)<<7,ne=0,Te=0,Ve=Q?-N:N;isFinite(Ve)?Ve==0?ne=Te=0:(ne=Math.floor(Math.log(Ve)/Math.LN2),Te=Ve*Math.pow(2,52-ne),ne<=-1023&&(!isFinite(Te)||Te>4|Q}var Fi=function(N){for(var L=[],Q=10240,ne=0;ne0?Qe(N,L+4,L+4+Q-1):""},ft=nt,Bt=function(N,L){var Q=Ni(N,L);return Q>0?Qe(N,L+4,L+4+Q-1):""},Et=Bt,nr=function(N,L){var Q=2*Ni(N,L);return Q>0?Qe(N,L+4,L+4+Q-1):""},Ur=nr,Lr,Vr;Lr=Vr=function(N,L){var Q=Ni(N,L);return Q>0?Ta(N,L+4,L+4+Q):""};var sr=function(N,L){var Q=Ni(N,L);return Q>0?Qe(N,L+4,L+4+Q):""},Bn=sr,Er,gn;Er=gn=function(N,L){return di(N,L)};var rn=function(N){return Array.isArray(N)};E&&(Ta=function(N,L,Q){return b.isBuffer(N)?N.toString("utf16le",L,Q).replace(K,""):dt(N,L,Q)},Me=function(N,L,Q){return b.isBuffer(N)?N.toString("hex",L,L+Q):Xe(N,L,Q)},nt=function(N,L){if(!b.isBuffer(N))return ft(N,L);var Q=N.readUInt32LE(L);return Q>0?N.toString("utf8",L+4,L+4+Q-1):""},Bt=function(N,L){if(!b.isBuffer(N))return Et(N,L);var Q=N.readUInt32LE(L);return Q>0?N.toString("utf8",L+4,L+4+Q-1):""},nr=function(N,L){if(!b.isBuffer(N))return Ur(N,L);var Q=2*N.readUInt32LE(L);return N.toString("utf16le",L+4,L+4+Q-1)},Lr=function(N,L){if(!b.isBuffer(N))return Vr(N,L);var Q=N.readUInt32LE(L);return N.toString("utf16le",L+4,L+4+Q)},sr=function(N,L){if(!b.isBuffer(N))return Bn(N,L);var Q=N.readUInt32LE(L);return N.toString("utf8",L+4,L+4+Q)},Qe=function(N,L,Q){return b.isBuffer(N)?N.toString("utf8",L,Q):st(N,L,Q)},Fi=function(N){return N[0].length>0&&b.isBuffer(N[0][0])?b.concat(N[0]):la(N)},z=function(N){return b.isBuffer(N[0])?b.concat(N):[].concat.apply([],N)},Er=function(N,L){return b.isBuffer(N)?N.readDoubleLE(L):gn(N,L)},rn=function(N){return b.isBuffer(N)||Array.isArray(N)}),typeof cptable!="undefined"&&(Ta=function(N,L,Q){return cptable.utils.decode(1200,N.slice(L,Q)).replace(K,"")},Qe=function(N,L,Q){return cptable.utils.decode(65001,N.slice(L,Q))},nt=function(N,L){var Q=Ni(N,L);return Q>0?cptable.utils.decode(n,N.slice(L+4,L+4+Q-1)):""},Bt=function(N,L){var Q=Ni(N,L);return Q>0?cptable.utils.decode(a,N.slice(L+4,L+4+Q-1)):""},nr=function(N,L){var Q=2*Ni(N,L);return Q>0?cptable.utils.decode(1200,N.slice(L+4,L+4+Q-1)):""},Lr=function(N,L){var Q=Ni(N,L);return Q>0?cptable.utils.decode(1200,N.slice(L+4,L+4+Q)):""},sr=function(N,L){var Q=Ni(N,L);return Q>0?cptable.utils.decode(65001,N.slice(L+4,L+4+Q)):""});var Br=function(N,L){return N[L]},Vn=function(N,L){return N[L+1]*(1<<8)+N[L]},gi=function(N,L){var Q=N[L+1]*(1<<8)+N[L];return Q<32768?Q:(65535-Q+1)*-1},Ni=function(N,L){return N[L+3]*(1<<24)+(N[L+2]<<16)+(N[L+1]<<8)+N[L]},Ki=function(N,L){return N[L+3]<<24|N[L+2]<<16|N[L+1]<<8|N[L]},zi=function(N,L){return N[L]<<24|N[L+1]<<16|N[L+2]<<8|N[L+3]};function Yi(T,N){var L="",Q,ne,Te=[],Ve,je,vt,St;switch(N){case"dbcs":if(St=this.l,E&&b.isBuffer(this))L=this.slice(this.l,this.l+2*T).toString("utf16le");else for(vt=0;vt0?Ki:zi)(this,this.l),this.l+=4,Q):(ne=Ni(this,this.l),this.l+=4,ne);case 8:case-8:if(N==="f")return T==8?ne=Er(this,this.l):ne=Er([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,ne;T=8;case 16:L=Me(this,this.l,T);break}}return this.l+=T,L}var mi=function(N,L,Q){N[Q]=L&255,N[Q+1]=L>>>8&255,N[Q+2]=L>>>16&255,N[Q+3]=L>>>24&255},va=function(N,L,Q){N[Q]=L&255,N[Q+1]=L>>8&255,N[Q+2]=L>>16&255,N[Q+3]=L>>24&255},zn=function(N,L,Q){N[Q]=L&255,N[Q+1]=L>>>8&255};function fn(T,N,L){var Q=0,ne=0;if(L==="dbcs"){for(ne=0;ne!=N.length;++ne)zn(this,N.charCodeAt(ne),this.l+2*ne);Q=2*N.length}else if(L==="sbcs"){if(typeof cptable!="undefined"&&n==874)for(ne=0;ne!=N.length;++ne){var Te=cptable.utils.encode(n,N.charAt(ne));this[this.l+ne]=Te[0]}else for(N=N.replace(/[^\x00-\x7F]/g,"_"),ne=0;ne!=N.length;++ne)this[this.l+ne]=N.charCodeAt(ne)&255;Q=N.length}else if(L==="hex"){for(;ne>8}for(;this.l>>=8,this[this.l+1]=N&255;break;case 3:Q=3,this[this.l]=N&255,N>>>=8,this[this.l+1]=N&255,N>>>=8,this[this.l+2]=N&255;break;case 4:Q=4,mi(this,N,this.l);break;case 8:if(Q=8,L==="f"){Ti(this,N,this.l);break}case 16:break;case-4:Q=4,va(this,N,this.l);break}return this.l+=Q,this}function $n(T,N){var L=Me(this,this.l,T.length>>1);if(L!==T)throw new Error(N+"Expected "+T+" saw "+L);this.l+=T.length>>1}function Cn(T,N){T.l=N,T.read_shift=Yi,T.chk=$n,T.write_shift=fn}function ki(T,N){T.l+=N}function In(T){var N=F(T);return Cn(N,0),N}function na(T,N,L){if(!T)return;var Q,ne,Te;Cn(T,T.l||0);for(var Ve=T.length,je=0,vt=0;T.lQ.l&&(Q=Q.slice(0,Q.l),Q.l=Q.length),Q.length>0&&T.push(Q),Q=null},Te=function(St){return Q&&St=128?1:0)+1,Q>=128&&++Te,Q>=16384&&++Te,Q>=2097152&&++Te;var Ve=T.next(Te);ne<=127?Ve.write_shift(1,ne):(Ve.write_shift(1,(ne&127)+128),Ve.write_shift(1,ne>>7));for(var je=0;je!=4;++je)if(Q>=128)Ve.write_shift(1,(Q&127)+128),Q>>=7;else{Ve.write_shift(1,Q);break}Q>0&&rn(L)&&T.push(L)}function Ri(T,N,L){var Q=Nt(T);if(N.s?(Q.cRel&&(Q.c+=N.s.c),Q.rRel&&(Q.r+=N.s.r)):(Q.cRel&&(Q.c+=N.c),Q.rRel&&(Q.r+=N.r)),!L||L.biff<12){for(;Q.c>=256;)Q.c-=256;for(;Q.r>=65536;)Q.r-=65536}return Q}function Na(T,N,L){var Q=Nt(T);return Q.s=Ri(Q.s,N.s,L),Q.e=Ri(Q.e,N.s,L),Q}function Un(T,N){if(T.cRel&&T.c<0)for(T=Nt(T);T.c<0;)T.c+=N>8?16384:256;if(T.rRel&&T.r<0)for(T=Nt(T);T.r<0;)T.r+=N>8?1048576:N>5?65536:16384;var L=dn(T);return!T.cRel&&T.cRel!=null&&(L=co(L)),!T.rRel&&T.rRel!=null&&(L=Zi(L)),L}function nn(T,N){return T.s.r==0&&!T.s.rRel&&(T.e.r==(N.biff>=12?1048575:N.biff>=8?65536:16384)&&!T.e.rRel)?(T.s.cRel?"":"$")+ya(T.s.c)+":"+(T.e.cRel?"":"$")+ya(T.e.c):T.s.c==0&&!T.s.cRel&&(T.e.c==(N.biff>=12?16383:255)&&!T.e.cRel)?(T.s.rRel?"":"$")+_i(T.s.r)+":"+(T.e.rRel?"":"$")+_i(T.e.r):Un(T.s,N.biff)+":"+Un(T.e,N.biff)}var Yn={},bi=function(N,L){var Q;if(typeof L!="undefined")Q=L;else try{Q=l(5)}catch(ne){Q=null}N.rc4=function(ne,Te){var Ve=new Array(256),je=0,vt=0,St=0,Pt=0;for(vt=0;vt!=256;++vt)Ve[vt]=vt;for(vt=0;vt!=256;++vt)St=St+Ve[vt]+ne[vt%ne.length].charCodeAt(0)&255,Pt=Ve[vt],Ve[vt]=Ve[St],Ve[St]=Pt;vt=St=0;var pr=F(Te.length);for(je=0;je!=Te.length;++je)vt=vt+1&255,St=(St+Ve[vt])%256,Pt=Ve[vt],Ve[vt]=Ve[St],Ve[St]=Pt,pr[je]=Te[je]^Ve[Ve[vt]+Ve[St]&255];return pr},N.md5=function(ne){if(!Q)throw new Error("Unsupported crypto");return Q.createHash("md5").update(ne).digest("hex")}};bi(Yn,typeof crypto!="undefined"?crypto:void 0);function Oi(T){return parseInt(qi(T),10)-1}function _i(T){return""+(T+1)}function Zi(T){return T.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function qi(T){return T.replace(/\$(\d+)$/,"$1")}function ea(T){for(var N=io(T),L=0,Q=0;Q!==N.length;++Q)L=26*L+N.charCodeAt(Q)-64;return L-1}function ya(T){if(T<0)throw new Error("invalid column "+T);var N="";for(++T;T;T=Math.floor((T-1)/26))N=String.fromCharCode((T-1)%26+65)+N;return N}function co(T){return T.replace(/^([A-Z])/,"$$$1")}function io(T){return T.replace(/^\$([A-Z])/,"$1")}function rs(T){return T.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Pi(T){for(var N=0,L=0,Q=0;Q=48&&ne<=57?N=10*N+(ne-48):ne>=65&&ne<=90&&(L=26*L+(ne-64))}return{c:L-1,r:N-1}}function dn(T){for(var N=T.c+1,L="";N;N=(N-1)/26|0)L=String.fromCharCode((N-1)%26+65)+L;return L+(T.r+1)}function ha(T){var N=T.indexOf(":");return N==-1?{s:Pi(T),e:Pi(T)}:{s:Pi(T.slice(0,N)),e:Pi(T.slice(N+1))}}function ba(T,N){return typeof N=="undefined"||typeof N=="number"?ba(T.s,T.e):(typeof T!="string"&&(T=dn(T)),typeof N!="string"&&(N=dn(N)),T==N?T:T+":"+N)}function ta(T){var N={s:{c:0,r:0},e:{c:0,r:0}},L=0,Q=0,ne=0,Te=T.length;for(L=0;Q26);++Q)L=26*L+ne;for(N.s.c=--L,L=0;Q9);++Q)L=10*L+ne;if(N.s.r=--L,Q===Te||ne!=10)return N.e.c=N.s.c,N.e.r=N.s.r,N;for(++Q,L=0;Q!=Te&&!((ne=T.charCodeAt(Q)-64)<1||ne>26);++Q)L=26*L+ne;for(N.e.c=--L,L=0;Q!=Te&&!((ne=T.charCodeAt(Q)-48)<0||ne>9);++Q)L=10*L+ne;return N.e.r=--L,N}function so(T,N){var L=T.t=="d"&&N instanceof Date;if(T.z!=null)try{return T.w=G.format(T.z,L?pe(N):N)}catch(Q){}try{return T.w=G.format((T.XF||{}).numFmtId||(L?14:0),L?pe(N):N)}catch(Q){return""+N}}function lr(T,N,L){return T==null||T.t==null||T.t=="z"?"":T.w!==void 0?T.w:(T.t=="d"&&!T.z&&L&&L.dateNF&&(T.z=L.dateNF),T.t=="e"?Mo[T.v]||T.v:N==null?so(T,T.v):so(T,N))}function pn(T,N){var L=N&&N.sheet?N.sheet:"Sheet1",Q={};return Q[L]=T,{SheetNames:[L],Sheets:Q}}function _n(T,N,L){var Q=L||{},ne=T?Array.isArray(T):Q.dense;_!=null&&ne==null&&(ne=_);var Te=T||(ne?[]:{}),Ve=0,je=0;if(Te&&Q.origin!=null){if(typeof Q.origin=="number")Ve=Q.origin;else{var vt=typeof Q.origin=="string"?Pi(Q.origin):Q.origin;Ve=vt.r,je=vt.c}Te["!ref"]||(Te["!ref"]="A1:A1")}var St={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(Te["!ref"]){var Pt=ta(Te["!ref"]);St.s.c=Pt.s.c,St.s.r=Pt.s.r,St.e.c=Math.max(St.e.c,Pt.e.c),St.e.r=Math.max(St.e.r,Pt.e.r),Ve==-1&&(St.e.r=Ve=Pt.e.r+1)}for(var pr=0;pr!=N.length;++pr){if(!N[pr])continue;if(!Array.isArray(N[pr]))throw new Error("aoa_to_sheet expects an array of arrays");for(var _r=0;_r!=N[pr].length;++_r){if(typeof N[pr][_r]=="undefined")continue;var Rr={v:N[pr][_r]},ln=Ve+pr,kr=je+_r;if(St.s.r>ln&&(St.s.r=ln),St.s.c>kr&&(St.s.c=kr),St.e.r0&&N.write_shift(0,T,"dbcs"),L?N.slice(0,N.l):N}function xr(T){return{ich:T.read_shift(2),ifnt:T.read_shift(2)}}function Gr(T,N){return N||(N=In(4)),N.write_shift(2,T.ich||0),N.write_shift(2,T.ifnt||0),N}function $r(T,N){var L=T.l,Q=T.read_shift(1),ne=Vt(T),Te=[],Ve={t:ne,h:ne};if((Q&1)!==0){for(var je=T.read_shift(4),vt=0;vt!=je;++vt)Te.push(xr(T));Ve.r=Te}else Ve.r=[{ich:0,ifnt:0}];return T.l=L+N,Ve}function hn(T,N){var L=!1;return N==null&&(L=!0,N=In(15+4*T.t.length)),N.write_shift(1,0),Cr(T.t,N),L?N.slice(0,N.l):N}var On=$r;function Qn(T,N){var L=!1;return N==null&&(L=!0,N=In(23+4*T.t.length)),N.write_shift(1,1),Cr(T.t,N),N.write_shift(4,1),Gr({ich:0,ifnt:0},N),L?N.slice(0,N.l):N}function qn(T){var N=T.read_shift(4),L=T.read_shift(2);return L+=T.read_shift(1)<<16,T.l++,{c:N,iStyleRef:L}}function si(T,N){return N==null&&(N=In(8)),N.write_shift(-4,T.c),N.write_shift(3,T.iStyleRef||T.s),N.write_shift(1,0),N}function oi(T){var N=T.read_shift(2);return N+=T.read_shift(1)<<16,T.l++,{c:-1,iStyleRef:N}}function Wn(T,N){return N==null&&(N=In(4)),N.write_shift(3,T.iStyleRef||T.s),N.write_shift(1,0),N}var Zn=Vt,ni=Cr;function wi(T){var N=T.read_shift(4);return N===0||N===4294967295?"":T.read_shift(N,"dbcs")}function Di(T,N){var L=!1;return N==null&&(L=!0,N=In(127)),N.write_shift(4,T.length>0?T.length:4294967295),T.length>0&&N.write_shift(0,T,"dbcs"),L?N.slice(0,N.l):N}var Ui=Vt,ca=wi,ia=Di;function Ia(T){var N=T.slice(T.l,T.l+4),L=N[0]&1,Q=N[0]&2;T.l+=4,N[0]&=252;var ne=Q===0?Er([0,0,0,0,N[0],N[1],N[2],N[3]],0):Ki(N,0)>>2;return L?ne/100:ne}function Fa(T,N){N==null&&(N=In(4));var L=0,Q=0,ne=T*100;if(T==(T|0)&&T>=-(1<<29)&&T<1<<29?Q=1:ne==(ne|0)&&ne>=-(1<<29)&&ne<1<<29&&(Q=1,L=1),Q)N.write_shift(-4,((L?ne:T)<<2)+(L+2));else throw new Error("unsupported RkNumber "+T)}function Aa(T){var N={s:{},e:{}};return N.s.r=T.read_shift(4),N.e.r=T.read_shift(4),N.s.c=T.read_shift(4),N.e.c=T.read_shift(4),N}function Ea(T,N){return N||(N=In(16)),N.write_shift(4,T.s.r),N.write_shift(4,T.e.r),N.write_shift(4,T.s.c),N.write_shift(4,T.e.c),N}var xa=Aa,Ai=Ea;function oa(T){if(T.length-T.l<8)throw"XLS Xnum Buffer underflow";return T.read_shift(8,"f")}function Ba(T,N){return(N||In(8)).write_shift(8,T,"f")}function Nr(T){var N={},L=T.read_shift(1),Q=L>>>1,ne=T.read_shift(1),Te=T.read_shift(2,"i"),Ve=T.read_shift(1),je=T.read_shift(1),vt=T.read_shift(1);T.l++;switch(Q){case 0:N.auto=1;break;case 1:N.index=ne;var St=za[ne];St&&(N.rgb=Tt(St));break;case 2:N.rgb=Tt([Ve,je,vt]);break;case 3:N.theme=ne;break}return Te!=0&&(N.tint=Te>0?Te/32767:Te/32768),N}function Qr(T,N){if(N||(N=In(8)),!T||T.auto)return N.write_shift(4,0),N.write_shift(4,0),N;T.index!=null?(N.write_shift(1,2),N.write_shift(1,T.index)):T.theme!=null?(N.write_shift(1,6),N.write_shift(1,T.theme)):(N.write_shift(1,5),N.write_shift(1,0));var L=T.tint||0;if(L>0?L*=32767:L<0&&(L*=32768),N.write_shift(2,L),!T.rgb||T.theme!=null)N.write_shift(2,0),N.write_shift(1,0),N.write_shift(1,0);else{var Q=T.rgb||"FFFFFF";typeof Q=="number"&&(Q=("000000"+Q.toString(16)).slice(-6)),N.write_shift(1,parseInt(Q.slice(0,2),16)),N.write_shift(1,parseInt(Q.slice(2,4),16)),N.write_shift(1,parseInt(Q.slice(4,6),16)),N.write_shift(1,255)}return N}function bn(T){var N=T.read_shift(1);T.l++;var L={fBold:N&1,fItalic:N&2,fUnderline:N&4,fStrikeout:N&8,fOutline:N&16,fShadow:N&32,fCondense:N&64,fExtend:N&128};return L}function Zr(T,N){N||(N=In(2));var L=(T.italic?2:0)|(T.strike?8:0)|(T.outline?16:0)|(T.shadow?32:0)|(T.condense?64:0)|(T.extend?128:0);return N.write_shift(1,L),N.write_shift(1,0),N}function hr(T,N){var L={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},Q=T.read_shift(4);switch(Q){case 0:return"";case 4294967295:case 4294967294:return L[T.read_shift(4)]||""}if(Q>400)throw new Error("Unsupported Clipboard: "+Q.toString(16));return T.l-=4,T.read_shift(0,N==1?"lpstr":"lpwstr")}function jr(T){return hr(T,1)}function wr(T){return hr(T,2)}var an=2,Jr=3,kn=11,Dn=12,Xn=19,vi=30,Li=64,ji=65,Sa=71,Ga=4096,Ya=80,bo=81,vo=[Ya,bo],po={1:{n:"CodePage",t:an},2:{n:"Category",t:Ya},3:{n:"PresentationFormat",t:Ya},4:{n:"ByteCount",t:Jr},5:{n:"LineCount",t:Jr},6:{n:"ParagraphCount",t:Jr},7:{n:"SlideCount",t:Jr},8:{n:"NoteCount",t:Jr},9:{n:"HiddenCount",t:Jr},10:{n:"MultimediaClipCount",t:Jr},11:{n:"ScaleCrop",t:kn},12:{n:"HeadingPairs",t:Ga|Dn},13:{n:"TitlesOfParts",t:Ga|vi},14:{n:"Manager",t:Ya},15:{n:"Company",t:Ya},16:{n:"LinksUpToDate",t:kn},17:{n:"CharacterCount",t:Jr},19:{n:"SharedDoc",t:kn},22:{n:"HyperlinksChanged",t:kn},23:{n:"AppVersion",t:Jr,p:"version"},24:{n:"DigSig",t:ji},26:{n:"ContentType",t:Ya},27:{n:"ContentStatus",t:Ya},28:{n:"Language",t:Ya},29:{n:"Version",t:Ya},255:{},2147483648:{n:"Locale",t:Xn},2147483651:{n:"Behavior",t:Xn},1919054434:{}},Ha={1:{n:"CodePage",t:an},2:{n:"Title",t:Ya},3:{n:"Subject",t:Ya},4:{n:"Author",t:Ya},5:{n:"Keywords",t:Ya},6:{n:"Comments",t:Ya},7:{n:"Template",t:Ya},8:{n:"LastAuthor",t:Ya},9:{n:"RevNumber",t:Ya},10:{n:"EditTime",t:Li},11:{n:"LastPrinted",t:Li},12:{n:"CreatedDate",t:Li},13:{n:"ModifiedDate",t:Li},14:{n:"PageCount",t:Jr},15:{n:"WordCount",t:Jr},16:{n:"CharCount",t:Jr},17:{n:"Thumbnail",t:Sa},18:{n:"Application",t:Ya},19:{n:"DocSecurity",t:Jr},255:{},2147483648:{n:"Locale",t:Xn},2147483651:{n:"Behavior",t:Xn},1919054434:{}},Oa=ae(po,"n"),ao=ae(Ha,"n"),to={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Po=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Yo(T){return T.map(function(N){return[N>>16&255,N>>8&255,N&255]})}var ro=Yo([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),za=Nt(ro),Mo={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Io=Y(Mo),ma={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.sheetMetadata":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"TODO","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"vba","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},mo=function(){var T={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};return Ge(T).forEach(function(N){["xlsm","xlam"].forEach(function(L){T[N][L]||(T[N][L]=T[N].xlsx)})}),Ge(T).forEach(function(N){Ge(T[N]).forEach(function(L){ma[T[N][L]]=N})}),T}(),ns=te(ma);on.CT="http://schemas.openxmlformats.org/package/2006/content-types";function Zo(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""}}function Oo(T){var N=Zo();if(!T||!T.match)return N;var L={};if((T.match(ot)||[]).forEach(function(Q){var ne=Gt(Q);switch(ne[0].replace(et,"<")){case"0?N.calcchains[0]:"",N.sst=N.strs.length>0?N.strs[0]:"",N.style=N.styles.length>0?N.styles[0]:"",N.defaults=L,delete N.calcchains,N}var Ro=dr("Types",null,{xmlns:on.CT,"xmlns:xsd":on.xsd,"xmlns:xsi":on.xsi}),hs=[["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels",ns.rels[0]]].map(function(T){return dr("Default",null,{Extension:T[0],ContentType:T[1]})});function Uo(T,N){var L=[],Q;L[L.length]=Ht,L[L.length]=Ro,L=L.concat(hs);var ne=function(vt){T[vt]&&T[vt].length>0&&(Q=T[vt][0],L[L.length]=dr("Override",null,{PartName:(Q[0]=="/"?"":"/")+Q,ContentType:mo[vt][N.bookType||"xlsx"]}))},Te=function(vt){(T[vt]||[]).forEach(function(St){L[L.length]=dr("Override",null,{PartName:(St[0]=="/"?"":"/")+St,ContentType:mo[vt][N.bookType||"xlsx"]})})},Ve=function(vt){(T[vt]||[]).forEach(function(St){L[L.length]=dr("Override",null,{PartName:(St[0]=="/"?"":"/")+St,ContentType:ns[vt][0]})})};return ne("workbooks"),Te("sheets"),Te("charts"),Ve("themes"),["strs","styles"].forEach(ne),["coreprops","extprops","custprops"].forEach(Ve),Ve("vba"),Ve("comments"),Ve("drawings"),L.length>2&&(L[L.length]="",L[1]=L[1].replace("/>",">")),L.join("")}var Ja={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function Es(T){var N=T.lastIndexOf("/");return T.slice(0,N+1)+"_rels/"+T.slice(N+1)+".rels"}function oo(T,N){var L={"!id":{}};if(!T)return L;N.charAt(0)!=="/"&&(N="/"+N);var Q={};return(T.match(ot)||[]).forEach(function(ne){var Te=Gt(ne);if(Te[0]==="2&&(N[N.length]="",N[1]=N[1].replace("/>",">")),N.join("")}var Ko=[Ja.HLINK,Ja.XPATH,Ja.XMISS];function Vo(T,N,L,Q,ne,Te){if(ne||(ne={}),T["!id"]||(T["!id"]={}),N<0)for(N=1;T["!id"]["rId"+N];++N);if(ne.Id="rId"+N,ne.Type=Q,ne.Target=L,Te?ne.TargetMode=Te:Ko.indexOf(ne.Type)>-1&&(ne.TargetMode="External"),T["!id"][ne.Id])throw new Error("Cannot rewrite rId "+N);return T["!id"][ne.Id]=ne,T[("/"+ne.Target).replace("//","/")]=ne,N}var Go="application/vnd.oasis.opendocument.spreadsheet";function os(T,N){for(var L=Of(T),Q,ne;Q=jh.exec(L);)switch(Q[3]){case"manifest":break;case"file-entry":if(ne=Gt(Q[0],!1),ne.path=="/"&&ne.type!==Go)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(N&&N.WTF)throw Q}}function Vs(T){var N=[Ht];N.push(` +*/(function(A,f){j.exports=f()})(this,function(){"use strict";function A(pe){var De=typeof pe;return pe!==null&&(De==="object"||De==="function")}function f(pe){return typeof pe=="function"}var t=void 0;Array.isArray?t=Array.isArray:t=function(De){return Object.prototype.toString.call(De)==="[object Array]"};var e=t,m=0,d=void 0,a=void 0,n=function(De,Ne){S[m]=De,S[m+1]=Ne,m+=2,m===2&&(a?a(_):C())};function s(pe){a=pe}function c(pe){n=pe}var i=typeof window!="undefined"?window:void 0,u=i||{},r=u.MutationObserver||u.WebKitMutationObserver,o=typeof self=="undefined"&&typeof x!="undefined"&&{}.toString.call(x)==="[object process]",h=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function p(){return function(){return x.nextTick(_)}}function g(){return typeof d!="undefined"?function(){d(_)}:w()}function v(){var pe=0,De=new r(_),Ne=document.createTextNode("");return De.observe(Ne,{characterData:!0}),function(){Ne.data=pe=++pe%2}}function y(){var pe=new MessageChannel;return pe.port1.onmessage=_,function(){return pe.port2.postMessage(0)}}function w(){var pe=setTimeout;return function(){return pe(_,1)}}var S=new Array(1e3);function _(){for(var pe=0;pe`,triples:"",explode:"[]{}"},A=x.Pos;x.defineOption("autoCloseBrackets",!1,function(r,o,h){h&&h!=x.Init&&(r.removeKeyMap(t),r.state.closeBrackets=null),o&&(e(f(o,"pairs")),r.state.closeBrackets=o,r.addKeyMap(t))});function f(r,o){return o=="pairs"&&typeof r=="string"?r:typeof r=="object"&&r[o]!=null?r[o]:b[o]}var t={Backspace:a,Enter:n};function e(r){for(var o=0;o=0;g--){var y=p[g].head;r.replaceRange("",A(y.line,y.ch-1),A(y.line,y.ch+1),"+delete")}}function n(r){var o=d(r),h=o&&f(o,"explode");if(!h||r.getOption("disableInput"))return x.Pass;for(var p=r.listSelections(),g=0;g0;return{anchor:new A(r.anchor.line,r.anchor.ch+(o?-1:1)),head:new A(r.head.line,r.head.ch+(o?1:-1))}}function c(r,o){var h=d(r);if(!h||r.getOption("disableInput"))return x.Pass;var p=f(h,"pairs"),g=p.indexOf(o);if(g==-1)return x.Pass;for(var v=f(h,"closeBefore"),y=f(h,"triples"),w=p.charAt(g+1)==o,S=r.listSelections(),_=g%2==0,I,C=0;C=0&&r.getRange(O,A(O.line,O.ch+3))==o+o+o?M="skipThree":M="skip";else if(w&&O.ch>1&&y.indexOf(o)>=0&&r.getRange(A(O.line,O.ch-2),O)==o+o){if(O.ch>2&&/\bstring/.test(r.getTokenTypeAt(A(O.line,O.ch-2))))return x.Pass;M="addFour"}else if(w){var H=O.ch==0?" ":r.getRange(A(O.line,O.ch-1),O);if(!x.isWordChar(F)&&H!=o&&!x.isWordChar(H))M="both";else return x.Pass}else if(_&&(F.length===0||/\s/.test(F)||v.indexOf(F)>-1))M="both";else return x.Pass;if(!I)I=M;else if(I!=M)return x.Pass}var B=g%2?p.charAt(g-1):o,X=g%2?o:p.charAt(g+1);r.operation(function(){if(I=="skip")r.execCommand("goCharRight");else if(I=="skipThree")for(var J=0;J<3;J++)r.execCommand("goCharRight");else if(I=="surround"){for(var k=r.getSelections(),J=0;Jw[0][1]&&(w[0][1]=C[0]),C[1]w[1][1]&&(w[1][1]=C[1])}return w&&v(w)}};function v(y){return new A(y[0][0],y[1][0],y[0][1]-y[0][0],y[1][1]-y[1][0])}R.layoutCovers=c},ERHi:function(j,R,l){var x=l("ProS");l("Z6js"),l("R4Th");var b=l("f5Yq"),A=l("h8O9");x.registerVisual(b("effectScatter","circle")),x.registerLayout(A("effectScatter"))},EUZL:function(j,R,l){(function(x,b,A){/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var f={};function t(d){d.version="0.17.5";var a=1200,n=1252;typeof cptable=="undefined"&&(typeof x!="undefined"?x.cptable=l("IkRI"):typeof window!="undefined"&&(window.cptable=l("IkRI")));for(var s=[874,932,936,949,950],c=0;c<=8;++c)s.push(1250+c);var i={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},u=function(N){if(s.indexOf(N)==-1)return;n=i[0]=N};function r(){u(1252)}var o=function(N){a=N,u(N)};function h(){o(1200),r()}function p(T){for(var N=[],L=0,Q=T.length;L>1;++L)N[L]=String.fromCharCode(T.charCodeAt(2*L)+(T.charCodeAt(2*L+1)<<8));return N.join("")}function v(T){for(var N=[],L=0;L>1;++L)N[L]=String.fromCharCode(T.charCodeAt(2*L+1)+(T.charCodeAt(2*L)<<8));return N.join("")}var y=function(N){var L=N.charCodeAt(0),Q=N.charCodeAt(1);return L==255&&Q==254?g(N.slice(2)):L==254&&Q==255?v(N.slice(2)):L==65279?N.slice(1):N},w=function(N){return String.fromCharCode(N)},S=function(N){return String.fromCharCode(N)};typeof cptable!="undefined"&&(o=function(N){a=N,u(N)},y=function(N){return N.charCodeAt(0)===255&&N.charCodeAt(1)===254?cptable.utils.decode(1200,p(N.slice(2))):N},w=function(N){return a===1200?String.fromCharCode(N):cptable.utils.decode(a,[N&255,N>>8])[0]},S=function(N){return cptable.utils.decode(n,[N])[0]});var _=null,I=!0,C=function(){var N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(Q){for(var ne="",Te=0,Ve=0,je=0,vt=0,St=0,Pt=0,pr=0,_r=0;_r>2,Ve=Q.charCodeAt(_r++),St=(Te&3)<<4|Ve>>4,je=Q.charCodeAt(_r++),Pt=(Ve&15)<<2|je>>6,pr=je&63,isNaN(Ve)?Pt=pr=64:isNaN(je)&&(pr=64),ne+=N.charAt(vt)+N.charAt(St)+N.charAt(Pt)+N.charAt(pr);return ne},decode:function(Q){var ne="",Te=0,Ve=0,je=0,vt=0,St=0,Pt=0,pr=0;Q=Q.replace(/[^\w\+\/\=]/g,"");for(var _r=0;_r>4,ne+=String.fromCharCode(Te),Pt=N.indexOf(Q.charAt(_r++)),Ve=(St&15)<<4|Pt>>2,Pt!==64&&(ne+=String.fromCharCode(Ve)),pr=N.indexOf(Q.charAt(_r++)),je=(Pt&3)<<6|pr,pr!==64&&(ne+=String.fromCharCode(je));return ne}}}(),E=typeof b!="undefined"&&typeof A!="undefined"&&typeof A.versions!="undefined"&&!!A.versions.node,O=function(){};if(typeof b!="undefined"){var M=!b.from;if(!M)try{b.from("foo","utf8")}catch(T){M=!0}O=M?function(T,N){return N?new b(T,N):new b(T)}:b.from.bind(b),b.alloc||(b.alloc=function(T){return new b(T)}),b.allocUnsafe||(b.allocUnsafe=function(T){return new b(T)})}function F(T){return E?b.alloc(T):new Array(T)}function H(T){return E?b.allocUnsafe(T):new Array(T)}var B=function(N){return E?O(N,"binary"):N.split("").map(function(L){return L.charCodeAt(0)&255})};function X(T){if(typeof ArrayBuffer=="undefined")return B(T);for(var N=new ArrayBuffer(T.length),L=new Uint8Array(N),Q=0;Q!=T.length;++Q)L[Q]=T.charCodeAt(Q)&255;return N}function J(T){if(Array.isArray(T))return T.map(function(Q){return String.fromCharCode(Q)}).join("");for(var N=[],L=0;L=0;)Mn+=tn.charAt(ti--);return Mn}function Q(tn,Mn){for(var ti="";ti.length=Mn?ti:Q("0",Mn-ti.length)+ti}function Te(tn,Mn){var ti=""+tn;return ti.length>=Mn?ti:Q(" ",Mn-ti.length)+ti}function Ve(tn,Mn){var ti=""+tn;return ti.length>=Mn?ti:ti+Q(" ",Mn-ti.length)}function je(tn,Mn){var ti=""+Math.round(tn);return ti.length>=Mn?ti:Q("0",Mn-ti.length)+ti}function vt(tn,Mn){var ti=""+tn;return ti.length>=Mn?ti:Q("0",Mn-ti.length)+ti}var St=Math.pow(2,32);function Pt(tn,Mn){if(tn>St||tn<-St)return je(tn,Mn);var ti=Math.round(tn);return vt(ti,Mn)}function pr(tn,Mn){return Mn=Mn||0,tn.length>=7+Mn&&(tn.charCodeAt(Mn)|32)===103&&(tn.charCodeAt(Mn+1)|32)===101&&(tn.charCodeAt(Mn+2)|32)===110&&(tn.charCodeAt(Mn+3)|32)===101&&(tn.charCodeAt(Mn+4)|32)===114&&(tn.charCodeAt(Mn+5)|32)===97&&(tn.charCodeAt(Mn+6)|32)===108}var _r=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],Rr=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function ln(tn){tn[0]="General",tn[1]="0",tn[2]="0.00",tn[3]="#,##0",tn[4]="#,##0.00",tn[9]="0%",tn[10]="0.00%",tn[11]="0.00E+00",tn[12]="# ?/?",tn[13]="# ??/??",tn[14]="m/d/yy",tn[15]="d-mmm-yy",tn[16]="d-mmm",tn[17]="mmm-yy",tn[18]="h:mm AM/PM",tn[19]="h:mm:ss AM/PM",tn[20]="h:mm",tn[21]="h:mm:ss",tn[22]="m/d/yy h:mm",tn[37]="#,##0 ;(#,##0)",tn[38]="#,##0 ;[Red](#,##0)",tn[39]="#,##0.00;(#,##0.00)",tn[40]="#,##0.00;[Red](#,##0.00)",tn[45]="mm:ss",tn[46]="[h]:mm:ss",tn[47]="mmss.0",tn[48]="##0.0E+0",tn[49]="@",tn[56]='"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "'}var kr={};ln(kr);var An=[],Nn=0;for(Nn=5;Nn<=8;++Nn)An[Nn]=32+Nn;for(Nn=23;Nn<=26;++Nn)An[Nn]=0;for(Nn=27;Nn<=31;++Nn)An[Nn]=14;for(Nn=50;Nn<=58;++Nn)An[Nn]=14;for(Nn=59;Nn<=62;++Nn)An[Nn]=Nn-58;for(Nn=67;Nn<=68;++Nn)An[Nn]=Nn-58;for(Nn=72;Nn<=75;++Nn)An[Nn]=Nn-58;for(Nn=67;Nn<=68;++Nn)An[Nn]=Nn-57;for(Nn=76;Nn<=78;++Nn)An[Nn]=Nn-56;for(Nn=79;Nn<=81;++Nn)An[Nn]=Nn-34;var Rn=[];Rn[5]=Rn[63]='"$"#,##0_);\\("$"#,##0\\)',Rn[6]=Rn[64]='"$"#,##0_);[Red]\\("$"#,##0\\)',Rn[7]=Rn[65]='"$"#,##0.00_);\\("$"#,##0.00\\)',Rn[8]=Rn[66]='"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Rn[41]='_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',Rn[42]='_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',Rn[43]='_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',Rn[44]='_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)';function un(tn,Mn,ti){for(var Da=tn<0?-1:1,ui=tn*Da,pa=0,Ii=1,Ua=0,ei=1,Va=0,as=0,ds=Math.floor(ui);VaMn&&(Va>Mn?(as=ei,Ua=pa):(as=Va,Ua=Ii)),!ti)return[0,Da*Ua,as];var Lo=Math.floor(Da*Ua/as);return[Lo,Da*Ua-Lo*as,as]}function Bi(tn,Mn,ti){if(tn>2958465||tn<0)return null;var Da=tn|0,ui=Math.floor(86400*(tn-Da)),pa=0,Ii=[],Ua={D:Da,T:ui,u:86400*(tn-Da)-ui,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(Ua.u)<1e-6&&(Ua.u=0),Mn&&Mn.date1904&&(Da+=1462),Ua.u>.9999&&(Ua.u=0,++ui==86400&&(Ua.T=ui=0,++Da,++Ua.D)),Da===60)Ii=ti?[1317,10,29]:[1900,2,29],pa=3;else if(Da===0)Ii=ti?[1317,8,29]:[1900,1,0],pa=6;else{Da>60&&--Da;var ei=new Date(1900,0,1);ei.setDate(ei.getDate()+Da-1),Ii=[ei.getFullYear(),ei.getMonth()+1,ei.getDate()],pa=ei.getDay(),Da<60&&(pa=(pa+6)%7),ti&&(pa=ua(ei,Ii))}return Ua.y=Ii[0],Ua.m=Ii[1],Ua.d=Ii[2],Ua.S=ui%60,ui=Math.floor(ui/60),Ua.M=ui%60,ui=Math.floor(ui/60),Ua.H=ui,Ua.q=pa,Ua}N.parse_date_code=Bi;var fa=new Date(1899,11,31,0,0,0),$i=fa.getTime(),wa=new Date(1900,2,1,0,0,0);function no(tn,Mn){var ti=tn.getTime();return Mn?ti-=1461*24*60*60*1e3:tn>=wa&&(ti+=24*60*60*1e3),(ti-($i+(tn.getTimezoneOffset()-fa.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function Ca(tn){return tn.toString(10)}N._general_int=Ca;var Ma=function(){var Mn=/(?:\.0*|(\.\d*[1-9])0+)$/;function ti(Va){return Va.indexOf(".")==-1?Va:Va.replace(Mn,"$1")}var Da=/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,ui=/(E[+-])(\d)$/;function pa(Va){return Va.indexOf("E")==-1?Va:Va.replace(Da,"$1E").replace(ui,"$10$2")}function Ii(Va){var as=Va<0?12:11,ds=ti(Va.toFixed(12));return ds.length<=as?ds:(ds=Va.toPrecision(10),ds.length<=as?ds:Va.toExponential(5))}function Ua(Va){var as=ti(Va.toFixed(11));return as.length>(Va<0?12:11)||as==="0"||as==="-0"?Va.toPrecision(6):as}function ei(Va){var as=Math.floor(Math.log(Math.abs(Va))*Math.LOG10E),ds;return as>=-4&&as<=-1?ds=Va.toPrecision(10+as):Math.abs(as)<=9?ds=Ii(Va):as===10?ds=Va.toFixed(10).substr(0,12):ds=Ua(Va),ti(pa(ds.toUpperCase()))}return ei}();N._general_num=Ma;function La(tn,Mn){switch(typeof tn){case"string":return tn;case"boolean":return tn?"TRUE":"FALSE";case"number":return(tn|0)===tn?tn.toString(10):Ma(tn);case"undefined":return"";case"object":if(tn==null)return"";if(tn instanceof Date)return aa(14,no(tn,Mn&&Mn.date1904),Mn)}throw new Error("unsupported value in General format: "+tn)}N._general=La;function ua(tn,Mn){Mn[0]-=581;var ti=tn.getDay();return tn<60&&(ti=(ti+6)%7),ti}function xo(tn,Mn,ti,Da){var ui="",pa=0,Ii=0,Ua=ti.y,ei,Va=0;switch(tn){case 98:Ua=ti.y+543;case 121:switch(Mn.length){case 1:case 2:ei=Ua%100,Va=2;break;default:ei=Ua%1e4,Va=4;break}break;case 109:switch(Mn.length){case 1:case 2:ei=ti.m,Va=Mn.length;break;case 3:return Rr[ti.m-1][1];case 5:return Rr[ti.m-1][0];default:return Rr[ti.m-1][2]}break;case 100:switch(Mn.length){case 1:case 2:ei=ti.d,Va=Mn.length;break;case 3:return _r[ti.q][0];default:return _r[ti.q][1]}break;case 104:switch(Mn.length){case 1:case 2:ei=1+(ti.H+11)%12,Va=Mn.length;break;default:throw"bad hour format: "+Mn}break;case 72:switch(Mn.length){case 1:case 2:ei=ti.H,Va=Mn.length;break;default:throw"bad hour format: "+Mn}break;case 77:switch(Mn.length){case 1:case 2:ei=ti.M,Va=Mn.length;break;default:throw"bad minute format: "+Mn}break;case 115:if(Mn!="s"&&Mn!="ss"&&Mn!=".0"&&Mn!=".00"&&Mn!=".000")throw"bad second format: "+Mn;return ti.u===0&&(Mn=="s"||Mn=="ss")?ne(ti.S,Mn.length):(Da>=2?Ii=Da===3?1e3:100:Ii=Da===1?10:1,pa=Math.round(Ii*(ti.S+ti.u)),pa>=60*Ii&&(pa=0),Mn==="s"?pa===0?"0":""+pa/Ii:(ui=ne(pa,2+Da),Mn==="ss"?ui.substr(0,2):"."+ui.substr(2,Mn.length-1)));case 90:switch(Mn){case"[h]":case"[hh]":ei=ti.D*24+ti.H;break;case"[m]":case"[mm]":ei=(ti.D*24+ti.H)*60+ti.M;break;case"[s]":case"[ss]":ei=((ti.D*24+ti.H)*60+ti.M)*60+Math.round(ti.S+ti.u);break;default:throw"bad abstime format: "+Mn}Va=Mn.length===3?1:2;break;case 101:ei=Ua,Va=1;break}var as=Va>0?ne(ei,Va):"";return as}function Os(tn){var Mn=3;if(tn.length<=Mn)return tn;for(var ti=tn.length%Mn,Da=tn.substr(0,ti);ti!=tn.length;ti+=Mn)Da+=(Da.length>0?",":"")+tn.substr(ti,Mn);return Da}var is=function(){var Mn=/%/g;function ti(So,Vi,sa){var Rs=Vi.replace(Mn,""),qa=Vi.length-Rs.length;return is(So,Rs,sa*Math.pow(10,2*qa))+Q("%",qa)}function Da(So,Vi,sa){for(var Rs=Vi.length-1;Vi.charCodeAt(Rs-1)===44;)--Rs;return is(So,Vi.substr(0,Rs),sa/Math.pow(10,3*(Vi.length-Rs)))}function ui(So,Vi){var sa,Rs=So.indexOf("E")-So.indexOf(".")-1;if(So.match(/^#+0.0E\+0$/)){if(Vi==0)return"0.0E+0";if(Vi<0)return"-"+ui(So,-Vi);var qa=So.indexOf(".");qa===-1&&(qa=So.indexOf("E"));var eo=Math.floor(Math.log(Vi)*Math.LOG10E)%qa;if(eo<0&&(eo+=qa),sa=(Vi/Math.pow(10,eo)).toPrecision(Rs+1+(qa+eo)%qa),sa.indexOf("e")===-1){var $o=Math.floor(Math.log(Vi)*Math.LOG10E);for(sa.indexOf(".")===-1?sa=sa.charAt(0)+"."+sa.substr(1)+"E+"+($o-sa.length+eo):sa+="E+"+($o-eo);sa.substr(0,2)==="0.";)sa=sa.charAt(0)+sa.substr(2,qa)+"."+sa.substr(2+qa),sa=sa.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");sa=sa.replace(/\+-/,"-")}sa=sa.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(ol,Kl,Il,Ol){return Kl+Il+Ol.substr(0,(qa+eo)%qa)+"."+Ol.substr(eo)+"E"})}else sa=Vi.toExponential(Rs);return So.match(/E\+00$/)&&sa.match(/e[+-]\d$/)&&(sa=sa.substr(0,sa.length-1)+"0"+sa.charAt(sa.length-1)),So.match(/E\-/)&&sa.match(/e\+/)&&(sa=sa.replace(/e\+/,"e")),sa.replace("e","E")}var pa=/# (\?+)( ?)\/( ?)(\d+)/;function Ii(So,Vi,sa){var Rs=parseInt(So[4],10),qa=Math.round(Vi*Rs),eo=Math.floor(qa/Rs),$o=qa-eo*Rs,ol=Rs;return sa+(eo===0?"":""+eo)+" "+($o===0?Q(" ",So[1].length+1+So[4].length):Te($o,So[1].length)+So[2]+"/"+So[3]+ne(ol,So[4].length))}function Ua(So,Vi,sa){return sa+(Vi===0?"":""+Vi)+Q(" ",So[1].length+2+So[4].length)}var ei=/^#*0*\.([0#]+)/,Va=/\).*[0#]/,as=/\(###\) ###\\?-####/;function ds(So){for(var Vi="",sa,Rs=0;Rs!=So.length;++Rs)switch(sa=So.charCodeAt(Rs)){case 35:break;case 63:Vi+=" ";break;case 48:Vi+="0";break;default:Vi+=String.fromCharCode(sa)}return Vi}function Lo(So,Vi){var sa=Math.pow(10,Vi);return""+Math.round(So*sa)/sa}function yc(So,Vi){var sa=So-Math.floor(So),Rs=Math.pow(10,Vi);return Vi<(""+Math.round(sa*Rs)).length?0:Math.round(sa*Rs)}function kc(So,Vi){return Vi<(""+Math.round((So-Math.floor(So))*Math.pow(10,Vi))).length?1:0}function wc(So){return So<2147483647&&So>-2147483648?""+(So>=0?So|0:So-1|0):""+Math.floor(So)}function Wl(So,Vi,sa){if(So.charCodeAt(0)===40&&!Vi.match(Va)){var Rs=Vi.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return sa>=0?Wl("n",Rs,sa):"("+Wl("n",Rs,-sa)+")"}if(Vi.charCodeAt(Vi.length-1)===44)return Da(So,Vi,sa);if(Vi.indexOf("%")!==-1)return ti(So,Vi,sa);if(Vi.indexOf("E")!==-1)return ui(Vi,sa);if(Vi.charCodeAt(0)===36)return"$"+Wl(So,Vi.substr(Vi.charAt(1)==" "?2:1),sa);var qa,eo,$o,ol,Kl=Math.abs(sa),Il=sa<0?"-":"";if(Vi.match(/^00+$/))return Il+Pt(Kl,Vi.length);if(Vi.match(/^[#?]+$/))return qa=Pt(sa,0),qa==="0"&&(qa=""),qa.length>Vi.length?qa:ds(Vi.substr(0,Vi.length-qa.length))+qa;if(eo=Vi.match(pa))return Ii(eo,Kl,Il);if(Vi.match(/^#+0+$/))return Il+Pt(Kl,Vi.length-Vi.indexOf("0"));if(eo=Vi.match(ei))return qa=Lo(sa,eo[1].length).replace(/^([^\.]+)$/,"$1."+ds(eo[1])).replace(/\.$/,"."+ds(eo[1])).replace(/\.(\d*)$/,function(Mu,Ch){return"."+Ch+Q("0",ds(eo[1]).length-Ch.length)}),Vi.indexOf("0.")!==-1?qa:qa.replace(/^0\./,".");if(Vi=Vi.replace(/^#+([0.])/,"$1"),eo=Vi.match(/^(0*)\.(#*)$/))return Il+Lo(Kl,eo[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,eo[1].length?"0.":".");if(eo=Vi.match(/^#{1,3},##0(\.?)$/))return Il+Os(Pt(Kl,0));if(eo=Vi.match(/^#,##0\.([#0]*0)$/))return sa<0?"-"+Wl(So,Vi,-sa):Os(""+(Math.floor(sa)+kc(sa,eo[1].length)))+"."+ne(yc(sa,eo[1].length),eo[1].length);if(eo=Vi.match(/^#,#*,#0/))return Wl(So,Vi.replace(/^#,#*,/,""),sa);if(eo=Vi.match(/^([0#]+)(\\?-([0#]+))+$/))return qa=L(Wl(So,Vi.replace(/[\\-]/g,""),sa)),$o=0,L(L(Vi.replace(/\\/g,"")).replace(/[0#]/g,function(Mu){return $o=0?Qs("n",Rs,sa):"("+Qs("n",Rs,-sa)+")"}if(Vi.charCodeAt(Vi.length-1)===44)return pd(So,Vi,sa);if(Vi.indexOf("%")!==-1)return Nd(So,Vi,sa);if(Vi.indexOf("E")!==-1)return tu(Vi,sa);if(Vi.charCodeAt(0)===36)return"$"+Qs(So,Vi.substr(Vi.charAt(1)==" "?2:1),sa);var qa,eo,$o,ol,Kl=Math.abs(sa),Il=sa<0?"-":"";if(Vi.match(/^00+$/))return Il+ne(Kl,Vi.length);if(Vi.match(/^[#?]+$/))return qa=""+sa,sa===0&&(qa=""),qa.length>Vi.length?qa:ds(Vi.substr(0,Vi.length-qa.length))+qa;if(eo=Vi.match(pa))return Ua(eo,Kl,Il);if(Vi.match(/^#+0+$/))return Il+ne(Kl,Vi.length-Vi.indexOf("0"));if(eo=Vi.match(ei))return qa=(""+sa).replace(/^([^\.]+)$/,"$1."+ds(eo[1])).replace(/\.$/,"."+ds(eo[1])),qa=qa.replace(/\.(\d*)$/,function(Mu,Ch){return"."+Ch+Q("0",ds(eo[1]).length-Ch.length)}),Vi.indexOf("0.")!==-1?qa:qa.replace(/^0\./,".");if(Vi=Vi.replace(/^#+([0.])/,"$1"),eo=Vi.match(/^(0*)\.(#*)$/))return Il+(""+Kl).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,eo[1].length?"0.":".");if(eo=Vi.match(/^#{1,3},##0(\.?)$/))return Il+Os(""+Kl);if(eo=Vi.match(/^#,##0\.([#0]*0)$/))return sa<0?"-"+Qs(So,Vi,-sa):Os(""+sa)+"."+Q("0",eo[1].length);if(eo=Vi.match(/^#,#*,#0/))return Qs(So,Vi.replace(/^#,#*,/,""),sa);if(eo=Vi.match(/^([0#]+)(\\?-([0#]+))+$/))return qa=L(Qs(So,Vi.replace(/[\\-]/g,""),sa)),$o=0,L(L(Vi.replace(/\\/g,"")).replace(/[0#]/g,function(Mu){return $o-1||ti=="\\"&&tn.charAt(Mn+1)=="-"&&"0#".indexOf(tn.charAt(Mn+2))>-1););break;case"?":for(;tn.charAt(++Mn)===ti;);break;case"*":++Mn,(tn.charAt(Mn)==" "||tn.charAt(Mn)=="*")&&++Mn;break;case"(":case")":++Mn;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;Mn-1;);break;case" ":++Mn;break;default:++Mn;break}return!1}N.is_date=Dl;function Ao(tn,Mn,ti,Da){for(var ui=[],pa="",Ii=0,Ua="",ei="t",Va,as,ds,Lo="H";Ii=12?"P":"A"),wc.t="T",Lo="h",Ii+=3):tn.substr(Ii,5).toUpperCase()==="AM/PM"?(Va!=null&&(wc.v=Va.H>=12?"PM":"AM"),wc.t="T",Ii+=5,Lo="h"):tn.substr(Ii,5).toUpperCase()==="\u4E0A\u5348/\u4E0B\u5348"?(Va!=null&&(wc.v=Va.H>=12?"\u4E0B\u5348":"\u4E0A\u5348"),wc.t="T",Ii+=5,Lo="h"):(wc.t="t",++Ii),Va==null&&wc.t==="T")return"";ui[ui.length]=wc,ei=Ua;break;case"[":for(pa=Ua;tn.charAt(Ii++)!=="]"&&Ii-1&&(pa=(pa.match(/\$([^-\[\]]*)/)||[])[1]||"$",Dl(tn)||(ui[ui.length]={t:"t",v:pa}));break;case".":if(Va!=null){for(pa=Ua;++Ii-1;)pa+=Ua;ui[ui.length]={t:"n",v:pa};break;case"?":for(pa=Ua;tn.charAt(++Ii)===Ua;)pa+=Ua;ui[ui.length]={t:Ua,v:pa},ei=Ua;break;case"*":++Ii,(tn.charAt(Ii)==" "||tn.charAt(Ii)=="*")&&++Ii;break;case"(":case")":ui[ui.length]={t:Da===1?"t":Ua,v:Ua},++Ii;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(pa=Ua;Ii-1;)pa+=tn.charAt(Ii);ui[ui.length]={t:"D",v:pa};break;case" ":ui[ui.length]={t:Ua,v:Ua},++Ii;break;case"$":ui[ui.length]={t:"t",v:"$"},++Ii;break;default:if(",$-+/():!^&'~{}<>=\u20ACacfijklopqrtuvwxzP".indexOf(Ua)===-1)throw new Error("unrecognized character "+Ua+" in "+tn);ui[ui.length]={t:"t",v:Ua},++Ii;break}var Wl=0,pd=0,Nd;for(Ii=ui.length-1,ei="t";Ii>=0;--Ii)switch(ui[Ii].t){case"h":case"H":ui[Ii].t=Lo,ei="h",Wl<1&&(Wl=1);break;case"s":(Nd=ui[Ii].v.match(/\.0+$/))&&(pd=Math.max(pd,Nd[0].length-1)),Wl<3&&(Wl=3);case"d":case"y":case"M":case"e":ei=ui[Ii].t;break;case"m":ei==="s"&&(ui[Ii].t="M",Wl<2&&(Wl=2));break;case"X":break;case"Z":Wl<1&&ui[Ii].v.match(/[Hh]/)&&(Wl=1),Wl<2&&ui[Ii].v.match(/[Mm]/)&&(Wl=2),Wl<3&&ui[Ii].v.match(/[Ss]/)&&(Wl=3)}switch(Wl){case 0:break;case 1:Va.u>=.5&&(Va.u=0,++Va.S),Va.S>=60&&(Va.S=0,++Va.M),Va.M>=60&&(Va.M=0,++Va.H);break;case 2:Va.u>=.5&&(Va.u=0,++Va.S),Va.S>=60&&(Va.S=0,++Va.M);break}var tu="",Qs;for(Ii=0;Ii0){tu.charCodeAt(0)==40?(Vi=Mn<0&&tu.charCodeAt(0)===45?-Mn:Mn,sa=is("n",tu,Vi)):(Vi=Mn<0&&Da>1?-Mn:Mn,sa=is("n",tu,Vi),Vi<0&&ui[0]&&ui[0].t=="t"&&(sa=sa.substr(1),ui[0].v="-"+ui[0].v)),Qs=sa.length-1;var Rs=ui.length;for(Ii=0;Ii-1){Rs=Ii;break}var qa=ui.length;if(Rs===ui.length&&sa.indexOf("E")===-1){for(Ii=ui.length-1;Ii>=0;--Ii){if(ui[Ii]==null||"n?".indexOf(ui[Ii].t)===-1)continue;Qs>=ui[Ii].v.length-1?(Qs-=ui[Ii].v.length,ui[Ii].v=sa.substr(Qs+1,ui[Ii].v.length)):Qs<0?ui[Ii].v="":(ui[Ii].v=sa.substr(0,Qs+1),Qs=-1),ui[Ii].t="t",qa=Ii}Qs>=0&&qa=0;--Ii){if(ui[Ii]==null||"n?".indexOf(ui[Ii].t)===-1)continue;for(as=ui[Ii].v.indexOf(".")>-1&&Ii===Rs?ui[Ii].v.indexOf(".")-1:ui[Ii].v.length-1,So=ui[Ii].v.substr(as+1);as>=0;--as)Qs>=0&&(ui[Ii].v.charAt(as)==="0"||ui[Ii].v.charAt(as)==="#")&&(So=sa.charAt(Qs--)+So);ui[Ii].v=So,ui[Ii].t="t",qa=Ii}for(Qs>=0&&qa-1&&Ii===Rs?ui[Ii].v.indexOf(".")+1:0,So=ui[Ii].v.substr(0,as);as-1&&(Vi=Da>1&&Mn<0&&Ii>0&&ui[Ii-1].v==="-"?-Mn:Mn,ui[Ii].v=is(ui[Ii].t,ui[Ii].v,Vi),ui[Ii].t="t");var eo="";for(Ii=0;Ii!==ui.length;++Ii)ui[Ii]!=null&&(eo+=ui[Ii].v);return eo}N._eval=Ao;var Hs=/\[[=<>]/,Qo=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function $l(tn,Mn){if(Mn==null)return!1;var ti=parseFloat(Mn[2]);switch(Mn[1]){case"=":if(tn==ti)return!0;break;case">":if(tn>ti)return!0;break;case"<":if(tn":if(tn!=ti)return!0;break;case">=":if(tn>=ti)return!0;break;case"<=":if(tn<=ti)return!0;break}return!1}function ii(tn,Mn){var ti=Gs(tn),Da=ti.length,ui=ti[Da-1].indexOf("@");if(Da<4&&ui>-1&&--Da,ti.length>4)throw new Error("cannot find right format for |"+ti.join("|")+"|");if(typeof Mn!="number")return[4,ti.length===4||ui>-1?ti[ti.length-1]:"@"];switch(ti.length){case 1:ti=ui>-1?["General","General","General",ti[0]]:[ti[0],ti[0],ti[0],"@"];break;case 2:ti=ui>-1?[ti[0],ti[0],ti[0],ti[1]]:[ti[0],ti[1],ti[0],"@"];break;case 3:ti=ui>-1?[ti[0],ti[1],ti[0],ti[2]]:[ti[0],ti[1],ti[2],"@"];break;case 4:break}var pa=Mn>0?ti[0]:Mn<0?ti[1]:ti[2];if(ti[0].indexOf("[")===-1&&ti[1].indexOf("[")===-1)return[Da,pa];if(ti[0].match(Hs)!=null||ti[1].match(Hs)!=null){var Ii=ti[0].match(Qo),Ua=ti[1].match(Qo);return $l(Mn,Ii)?[Da,ti[0]]:$l(Mn,Ua)?[Da,ti[1]]:[Da,ti[Ii!=null&&Ua!=null?2:1]]}return[Da,pa]}function aa(tn,Mn,ti){ti==null&&(ti={});var Da="";switch(typeof tn){case"string":tn=="m/d/yy"&&ti.dateNF?Da=ti.dateNF:Da=tn;break;case"number":tn==14&&ti.dateNF?Da=ti.dateNF:Da=(ti.table!=null?ti.table:kr)[tn],Da==null&&(Da=ti.table&&ti.table[An[tn]]||kr[An[tn]]),Da==null&&(Da=Rn[tn]||"General");break}if(pr(Da,0))return La(Mn,ti);Mn instanceof Date&&(Mn=no(Mn,ti.date1904));var ui=ii(Da,Mn);if(pr(ui[1]))return La(Mn,ti);if(Mn===!0)Mn="TRUE";else if(Mn===!1)Mn="FALSE";else if(Mn===""||Mn==null)return"";return Ao(ui[1],Mn,ti,ui[0])}function Hi(tn,Mn){if(typeof Mn!="number"){Mn=+Mn||-1;for(var ti=0;ti<392;++ti){if(kr[ti]==null){Mn<0&&(Mn=ti);continue}if(kr[ti]==tn){Mn=ti;break}}Mn<0&&(Mn=391)}return kr[Mn]=tn,Mn}N.load=Hi,N._table=kr,N.get_table=function(){return kr},N.load_table=function(Mn){for(var ti=0;ti!=392;++ti)Mn[ti]!==void 0&&Hi(Mn[ti],ti)},N.init_table=ln,N.format=aa};V(G);var q={"General Number":"General","General Date":G._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":G._table[15],"Short Date":G._table[14],"Long Time":G._table[19],"Medium Time":G._table[18],"Short Time":G._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:G._table[2],Standard:G._table[4],Percent:G._table[10],Scientific:G._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'},re={"5":'"$"#,##0_);\\("$"#,##0\\)',"6":'"$"#,##0_);[Red]\\("$"#,##0\\)',"7":'"$"#,##0.00_);\\("$"#,##0.00\\)',"8":'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',"23":"General","24":"General","25":"General","26":"General","27":"m/d/yy","28":"m/d/yy","29":"m/d/yy","30":"m/d/yy","31":"m/d/yy","32":"h:mm:ss","33":"h:mm:ss","34":"h:mm:ss","35":"h:mm:ss","36":"m/d/yy","41":'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',"42":'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',"43":'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',"44":'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',"50":"m/d/yy","51":"m/d/yy","52":"m/d/yy","53":"m/d/yy","54":"m/d/yy","55":"m/d/yy","56":"m/d/yy","57":"m/d/yy","58":"m/d/yy","59":"0","60":"0.00","61":"#,##0","62":"#,##0.00","63":'"$"#,##0_);\\("$"#,##0\\)',"64":'"$"#,##0_);[Red]\\("$"#,##0\\)',"65":'"$"#,##0.00_);\\("$"#,##0.00\\)',"66":'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',"67":"0%","68":"0.00%","69":"# ?/?","70":"# ??/??","71":"m/d/yy","72":"m/d/yy","73":"d-mmm-yy","74":"d-mmm","75":"mmm-yy","76":"h:mm","77":"h:mm:ss","78":"m/d/yy h:mm","79":"mm:ss","80":"[h]:mm:ss","81":"mmss.0"},ce=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function ie(T){var N=typeof T=="number"?G._table[T]:T;return N=N.replace(ce,"(\\d+)"),new RegExp("^"+N+"$")}function fe(T,N,L){var Q=-1,ne=-1,Te=-1,Ve=-1,je=-1,vt=-1;(N.match(ce)||[]).forEach(function(pr,_r){var Rr=parseInt(L[_r+1],10);switch(pr.toLowerCase().charAt(0)){case"y":Q=Rr;break;case"d":Te=Rr;break;case"h":Ve=Rr;break;case"s":vt=Rr;break;case"m":Ve>=0?je=Rr:ne=Rr;break}}),vt>=0&&je==-1&&ne>=0&&(je=ne,ne=-1);var St=(""+(Q>=0?Q:new Date().getFullYear())).slice(-4)+"-"+("00"+(ne>=1?ne:1)).slice(-2)+"-"+("00"+(Te>=1?Te:1)).slice(-2);St.length==7&&(St="0"+St),St.length==8&&(St="20"+St);var Pt=("00"+(Ve>=0?Ve:0)).slice(-2)+":"+("00"+(je>=0?je:0)).slice(-2)+":"+("00"+(vt>=0?vt:0)).slice(-2);return Ve==-1&&je==-1&&vt==-1?St:Q==-1&&ne==-1&&Te==-1?Pt:St+"T"+Pt}var xe=!0,Se;(function(T){T(Se={})})(function(T){T.version="1.2.0";function N(){for(var je=0,vt=new Array(256),St=0;St!=256;++St)je=St,je=je&1?-306674912^je>>>1:je>>>1,je=je&1?-306674912^je>>>1:je>>>1,je=je&1?-306674912^je>>>1:je>>>1,je=je&1?-306674912^je>>>1:je>>>1,je=je&1?-306674912^je>>>1:je>>>1,je=je&1?-306674912^je>>>1:je>>>1,je=je&1?-306674912^je>>>1:je>>>1,je=je&1?-306674912^je>>>1:je>>>1,vt[St]=je;return typeof Int32Array!="undefined"?new Int32Array(vt):vt}var L=N();function Q(je,vt){for(var St=vt^-1,Pt=je.length-1,pr=0;pr>>8^L[(St^je.charCodeAt(pr++))&255],St=St>>>8^L[(St^je.charCodeAt(pr++))&255];return pr===Pt&&(St=St>>>8^L[(St^je.charCodeAt(pr))&255]),St^-1}function ne(je,vt){if(je.length>1e4)return Te(je,vt);for(var St=vt^-1,Pt=je.length-3,pr=0;pr>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255];for(;pr>>8^L[(St^je[pr++])&255];return St^-1}function Te(je,vt){for(var St=vt^-1,Pt=je.length-7,pr=0;pr>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255],St=St>>>8^L[(St^je[pr++])&255];for(;pr>>8^L[(St^je[pr++])&255];return St^-1}function Ve(je,vt){for(var St=vt^-1,Pt=0,pr=je.length,_r,Rr;Pt>>8^L[(St^_r)&255]:_r<2048?(St=St>>>8^L[(St^(192|_r>>6&31))&255],St=St>>>8^L[(St^(128|_r&63))&255]):_r>=55296&&_r<57344?(_r=(_r&1023)+64,Rr=je.charCodeAt(Pt++)&1023,St=St>>>8^L[(St^(240|_r>>8&7))&255],St=St>>>8^L[(St^(128|_r>>2&63))&255],St=St>>>8^L[(St^(128|Rr>>6&15|(_r&3)<<4))&255],St=St>>>8^L[(St^(128|Rr&63))&255]):(St=St>>>8^L[(St^(224|_r>>12&15))&255],St=St>>>8^L[(St^(128|_r>>6&63))&255],St=St>>>8^L[(St^(128|_r&63))&255]);return St^-1}T.table=L,T.bstr=Q,T.buf=ne,T.str=Ve});var ke=function(){var N={};N.version="1.1.4";function L(Sn,yi){for(var fi=Sn.split("/"),li=yi.split("/"),Si=0,ai=0,ka=Math.min(fi.length,li.length);Si>>1,Sn.write_shift(2,fi);var li=yi.getFullYear()-1980;li=li<<4|yi.getMonth()+1,li=li<<5|yi.getDate(),Sn.write_shift(2,li)}function Ve(Sn){var yi=Sn.read_shift(2)&65535,fi=Sn.read_shift(2)&65535,li=new Date,Si=fi&31;fi>>>=5;var ai=fi&15;fi>>>=4,li.setMilliseconds(0),li.setFullYear(fi+1980),li.setMonth(ai-1),li.setDate(Si);var ka=yi&31;yi>>>=5;var _o=yi&63;return yi>>>=6,li.setHours(yi),li.setMinutes(_o),li.setSeconds(ka<<1),li}function je(Sn){Cn(Sn,0);for(var yi={},fi=0;Sn.l<=Sn.length-4;){var li=Sn.read_shift(2),Si=Sn.read_shift(2),ai=Sn.l+Si,ka={};switch(li){case 21589:fi=Sn.read_shift(1),fi&1&&(ka.mtime=Sn.read_shift(4)),Si>5&&(fi&2&&(ka.atime=Sn.read_shift(4)),fi&4&&(ka.ctime=Sn.read_shift(4))),ka.mtime&&(ka.mt=new Date(ka.mtime*1e3));break}Sn.l=ai,yi[li]=ka}return yi}var vt;function St(){return vt||(vt=l(4))}function Pt(Sn,yi){if(Sn[0]==80&&Sn[1]==75)return Kl(Sn,yi);if(Sn.length<512)throw new Error("CFB file size "+Sn.length+" < 512");var fi=3,li=512,Si=0,ai=0,ka=0,_o=0,Xa=0,To=[],Za=Sn.slice(0,512);Cn(Za,0);var gs=pr(Za);fi=gs[0];switch(fi){case 3:li=512;break;case 4:li=4096;break;case 0:if(gs[1]==0)return Kl(Sn,yi);default:throw new Error("Major Version: Expected 3 or 4 saw "+fi)}li!==512&&(Za=Sn.slice(0,li),Cn(Za,28));var ys=Sn.slice(0,li);_r(Za,fi);var rl=Za.read_shift(4,"i");if(fi===3&&rl!==0)throw new Error("# Directory Sectors: Expected 0 saw "+rl);Za.l+=4,ka=Za.read_shift(4,"i"),Za.l+=4,Za.chk("00100000","Mini Stream Cutoff Size: "),_o=Za.read_shift(4,"i"),Si=Za.read_shift(4,"i"),Xa=Za.read_shift(4,"i"),ai=Za.read_shift(4,"i");for(var _s=-1,vs=0;vs<109&&!(_s=Za.read_shift(4,"i"),_s<0);++vs)To[vs]=_s;var ac=Rr(Sn,li);An(Xa,ai,ac,li,To);var zc=Rn(ac,ka,To,li);zc[ka].name="!Directory",Si>0&&_o!==xo&&(zc[_o].name="!MiniFAT"),zc[To[0]].name="!FAT",zc.fat_addrs=To,zc.ssz=li;var ju={},vu=[],td=[],Kh=[];un(ka,zc,ac,vu,Si,ju,td,_o),ln(td,Kh,vu),vu.shift();var Vh={FileIndex:td,FullPaths:Kh};return yi&&yi.raw&&(Vh.raw={header:ys,sectors:ac}),Vh}function pr(Sn){if(Sn[Sn.l]==80&&Sn[Sn.l+1]==75)return[0,0];Sn.chk(Os,"Header Signature: "),Sn.l+=16;var yi=Sn.read_shift(2,"u");return[Sn.read_shift(2,"u"),yi]}function _r(Sn,yi){var fi=9;Sn.l+=2;switch(fi=Sn.read_shift(2)){case 9:if(yi!=3)throw new Error("Sector Shift: Expected 9 saw "+fi);break;case 12:if(yi!=4)throw new Error("Sector Shift: Expected 12 saw "+fi);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+fi)}Sn.chk("0600","Mini Sector Shift: "),Sn.chk("000000000000","Reserved: ")}function Rr(Sn,yi){for(var fi=Math.ceil(Sn.length/yi)-1,li=[],Si=1;Si0&&ka>=0;)ai.push(yi.slice(ka*ua,ka*ua+ua)),Si-=ua,ka=Wi(fi,ka*4);return ai.length===0?In(0):z(ai).slice(0,Sn.size)}function An(Sn,yi,fi,li,Si){var ai=xo;if(Sn===xo){if(yi!==0)throw new Error("DIFAT chain shorter than expected")}else if(Sn!==-1){var ka=fi[Sn],_o=(li>>>2)-1;if(!ka)return;for(var Xa=0;Xa<_o&&!((ai=Wi(ka,Xa*4))===xo);++Xa)Si.push(ai);yi>=1&&An(Wi(ka,li-4),yi-1,fi,li,Si)}}function Nn(Sn,yi,fi,li,Si){var ai=[],ka=[];Si||(Si=[]);var _o=li-1,Xa=0,To=0;for(Xa=yi;Xa>=0;){Si[Xa]=!0,ai[ai.length]=Xa,ka.push(Sn[Xa]);var Za=fi[Math.floor(Xa*4/li)];if(To=Xa*4&_o,li<4+To)throw new Error("FAT boundary crossed: "+Xa+" 4 "+li);if(!Sn[Za])break;Xa=Wi(Sn[Za],To)}return{nodes:ai,data:Fi([ka])}}function Rn(Sn,yi,fi,li){var Si=Sn.length,ai=[],ka=[],_o=[],Xa=[],To=li-1,Za=0,gs=0,ys=0,rl=0;for(Za=0;Za=Si&&(ys-=Si),ka[ys])continue;Xa=[];var _s=[];for(gs=ys;gs>=0;){_s[gs]=!0,ka[gs]=!0,_o[_o.length]=gs,Xa.push(Sn[gs]);var vs=fi[Math.floor(gs*4/li)];if(rl=gs*4&To,li<4+rl)throw new Error("FAT boundary crossed: "+gs+" 4 "+li);if(!Sn[vs])break;if(gs=Wi(Sn[vs],rl),_s[gs])break}ai[ys]={nodes:_o,data:Fi([Xa])}}return ai}function un(Sn,yi,fi,li,Si,ai,ka,_o){for(var Xa=0,To=li.length?2:0,Za=yi[Sn].data,gs=0,ys=0,rl;gs0&&Xa!==xo&&(yi[Xa].name="!StreamData")):vs.size>=4096?(vs.storage="fat",yi[vs.start]===void 0&&(yi[vs.start]=Nn(fi,vs.start,yi.fat_addrs,yi.ssz)),yi[vs.start].name=vs.name,vs.content=yi[vs.start].data.slice(0,vs.size)):(vs.storage="minifat",vs.size<0?vs.size=0:Xa!==xo&&vs.start!==xo&&yi[Xa]&&(vs.content=kr(vs,yi[Xa].data,(yi[_o]||{}).data))),vs.content&&Cn(vs.content,0),ai[rl]=vs,ka.push(vs)}}function Bi(Sn,yi){return new Date((Ni(Sn,yi+4)/1e7*Math.pow(2,32)+Ni(Sn,yi)/1e7-11644473600)*1e3)}function fa(Sn,yi){return St(),Pt(vt.readFileSync(Sn),yi)}function $i(Sn,yi){switch(yi&&yi.type||"base64"){case"file":return fa(Sn,yi);case"base64":return Pt(B(C.decode(Sn)),yi);case"binary":return Pt(B(Sn),yi)}return Pt(Sn,yi)}function wa(Sn,yi){var fi=yi||{},li=fi.root||"Root Entry";if(Sn.FullPaths||(Sn.FullPaths=[]),Sn.FileIndex||(Sn.FileIndex=[]),Sn.FullPaths.length!==Sn.FileIndex.length)throw new Error("inconsistent CFB structure");Sn.FullPaths.length===0&&(Sn.FullPaths[0]=li+"/",Sn.FileIndex[0]={name:li,type:5}),fi.CLSID&&(Sn.FileIndex[0].clsid=fi.CLSID),no(Sn)}function no(Sn){var yi="Sh33tJ5";if(ke.find(Sn,"/"+yi))return;var fi=In(4);fi[0]=55,fi[1]=fi[3]=50,fi[2]=54,Sn.FileIndex.push({name:yi,type:2,content:fi,size:4,L:69,R:69,C:69}),Sn.FullPaths.push(Sn.FullPaths[0]+yi),Ca(Sn)}function Ca(Sn,yi){wa(Sn);for(var fi=!1,li=!1,Si=Sn.FullPaths.length-1;Si>=0;--Si){var ai=Sn.FileIndex[Si];switch(ai.type){case 0:li?fi=!0:(Sn.FileIndex.pop(),Sn.FullPaths.pop());break;case 1:case 2:case 5:li=!0,isNaN(ai.R*ai.L*ai.C)&&(fi=!0),ai.R>-1&&ai.L>-1&&ai.R==ai.L&&(fi=!0);break;default:fi=!0;break}}if(!fi&&!yi)return;var ka=new Date(1987,1,19),_o=0,Xa=[];for(Si=0;Si1?1:-1,Za.size=0,Za.type=5;else if(gs.slice(-1)=="/"){for(_o=Si+1;_o=Xa.length?-1:_o,_o=Si+1;_o=Xa.length?-1:_o,Za.type=1}else Q(Sn.FullPaths[Si+1]||"")==Q(gs)&&(Za.R=Si+1),Za.type=2}}function Ma(Sn,yi){var fi=yi||{};if(Ca(Sn),fi.fileType=="zip")return Ol(Sn,fi);var li=function(rl){for(var _s=0,vs=0,ac=0;ac0&&(ju<4096?_s+=ju+63>>6:vs+=ju+511>>9)}for(var vu=rl.FullPaths.length+3>>2,td=_s+7>>3,Kh=_s+127>>7,Vh=td+vs+vu+Kh,Eh=Vh+127>>7,Bf=Eh<=109?0:Math.ceil((Eh-109)/127);Vh+Eh+Bf+127>>7>Eh;)Bf=++Eh<=109?0:Math.ceil((Eh-109)/127);var sh=[1,Bf,Eh,Kh,vu,vs,_s,0];return rl.FileIndex[0].size=_s<<6,sh[7]=(rl.FileIndex[0].start=sh[0]+sh[1]+sh[2]+sh[3]+sh[4]+sh[5])+(sh[6]+7>>3),sh}(Sn),Si=In(li[7]<<9),ai=0,ka=0;{for(ai=0;ai<8;++ai)Si.write_shift(1,is[ai]);for(ai=0;ai<8;++ai)Si.write_shift(2,0);for(Si.write_shift(2,62),Si.write_shift(2,3),Si.write_shift(2,65534),Si.write_shift(2,9),Si.write_shift(2,6),ai=0;ai<3;++ai)Si.write_shift(2,0);for(Si.write_shift(4,0),Si.write_shift(4,li[2]),Si.write_shift(4,li[0]+li[1]+li[2]+li[3]-1),Si.write_shift(4,0),Si.write_shift(4,1<<12),Si.write_shift(4,li[3]?li[0]+li[1]+li[2]-1:xo),Si.write_shift(4,li[3]),Si.write_shift(-4,li[1]?li[0]-1:xo),Si.write_shift(4,li[1]),ai=0;ai<109;++ai)Si.write_shift(-4,ai>9)}for(_o(li[6]+7>>3);Si.l&511;)Si.write_shift(-4,Ms.ENDOFCHAIN);for(ka=ai=0,Xa=0;Xa=4096)continue;Za.start=ka,_o(To+63>>6)}for(;Si.l&511;)Si.write_shift(-4,Ms.ENDOFCHAIN);for(ai=0;ai=4096){for(Si.l=Za.start+1<<9,Xa=0;Xa0&&Za.size<4096){for(Xa=0;Xa>16|yi>>8|yi)&255}for(var Da=typeof Uint8Array!="undefined",ui=Da?new Uint8Array(1<<8):[],pa=0;pa<1<<8;++pa)ui[pa]=ti(pa);function Ii(Sn,yi){var fi=ui[Sn&255];return yi<=8?fi>>>8-yi:(fi=fi<<8|ui[Sn>>8&255],yi<=16?fi>>>16-yi:(fi=fi<<8|ui[Sn>>16&255],fi>>>24-yi))}function Ua(Sn,yi){var fi=yi&7,li=yi>>>3;return(Sn[li]|(fi<=6?0:Sn[li+1]<<8))>>>fi&3}function ei(Sn,yi){var fi=yi&7,li=yi>>>3;return(Sn[li]|(fi<=5?0:Sn[li+1]<<8))>>>fi&7}function Va(Sn,yi){var fi=yi&7,li=yi>>>3;return(Sn[li]|(fi<=4?0:Sn[li+1]<<8))>>>fi&15}function as(Sn,yi){var fi=yi&7,li=yi>>>3;return(Sn[li]|(fi<=3?0:Sn[li+1]<<8))>>>fi&31}function ds(Sn,yi){var fi=yi&7,li=yi>>>3;return(Sn[li]|(fi<=1?0:Sn[li+1]<<8))>>>fi&127}function Lo(Sn,yi,fi){var li=yi&7,Si=yi>>>3,ai=(1<>>li;return fi<8-li?ka&ai:(ka|=Sn[Si+1]<<8-li,fi<16-li?ka&ai:(ka|=Sn[Si+2]<<16-li,fi<24-li||(ka|=Sn[Si+3]<<24-li),ka&ai))}function yc(Sn,yi){var fi=Sn.length,li=2*fi>yi?2*fi:yi+5,Si=0;if(fi>=yi)return Sn;if(E){var ai=H(li);if(Sn.copy)Sn.copy(ai);else for(;Si0;)li[li.l++]=fi[Si++]}return li.l}}();return function(yi){var fi=In(50+Math.floor(yi.length*1.1)),li=Sn(yi,fi);return fi.slice(0,li)}}();function Wl(Sn,yi,fi){var li=1,Si=0,ai=0,ka=0,_o=0,Xa=Sn.length,To=Da?new Uint16Array(32):kc(32);for(ai=0;ai<32;++ai)To[ai]=0;for(ai=Xa;ai>li-gs,ka=(1<=0;--ka)yi[_o|ka<>8-_s;for(var vs=(1<<7-_s)-1;vs>=0;--vs)Vi[rl|vs<<_s]=_s&7|ys<<3}var ac=[];for(Xa=1;ac.length>>=3){case 16:for(ai=3+Ua(Sn,yi),yi+=2,rl=ac[ac.length-1];ai-- >0;)ac.push(rl);break;case 17:for(ai=3+ei(Sn,yi),yi+=3;ai-- >0;)ac.push(0);break;case 18:for(ai=11+ds(Sn,yi),yi+=7;ai-- >0;)ac.push(0);break;default:ac.push(rl),Xa>>0,_o=0,Xa=0;(li&1)==0;){if(li=ei(Sn,fi),fi+=3,li>>>1==0){fi&7&&(fi+=8-(fi&7));var To=Sn[fi>>>3]|Sn[(fi>>>3)+1]<<8;if(fi+=32,!yi&&ka>>3,(fi>>>3)+To),ai+=To,fi+=8*To;else for(;To-- >0;)Si[ai++]=Sn[fi>>>3],fi+=8;continue}else li>>>1==1?(_o=9,Xa=5):(fi=qa(Sn,fi),_o=sa,Xa=Rs);for(!yi&&ka>>1==1?pd[Za]:Qs[Za];if(fi+=gs&15,gs>>>=4,(gs>>>8&255)===0)Si[ai++]=gs;else{if(gs==256)break;gs-=257;var ys=gs<8?0:gs-4>>2;ys>5&&(ys=0);var rl=ai+tn[gs];ys>0&&(rl+=Lo(Sn,fi,ys),fi+=ys),Za=Lo(Sn,fi,Xa),gs=li>>>1==1?Nd[Za]:So[Za],fi+=gs&15,gs>>>=4;var _s=gs<4?0:gs-2>>1,vs=Mn[gs];for(_s>0&&(vs+=Lo(Sn,fi,_s),fi+=_s),!yi&&ka>>3]}function $o(Sn,yi){var fi=Sn.slice(Sn.l||0),li=eo(fi,yi);return Sn.l+=li[1],li[0]}function ol(Sn,yi){if(Sn)typeof console!="undefined"&&console.error(yi);else throw new Error(yi)}function Kl(Sn,yi){var fi=Sn;Cn(fi,0);var li=[],Si=[],ai={FileIndex:li,FullPaths:Si};wa(ai,{root:yi.root});for(var ka=fi.length-4;(fi[ka]!=80||fi[ka+1]!=75||fi[ka+2]!=5||fi[ka+3]!=6)&&ka>=0;)--ka;fi.l=ka+4,fi.l+=4;var _o=fi.read_shift(2);fi.l+=6;var Xa=fi.read_shift(4);for(fi.l=Xa,ka=0;ka<_o;++ka){fi.l+=20;var To=fi.read_shift(4),Za=fi.read_shift(4),gs=fi.read_shift(2),ys=fi.read_shift(2),rl=fi.read_shift(2);fi.l+=8;var _s=fi.read_shift(4),vs=je(fi.slice(fi.l+gs,fi.l+gs+ys));fi.l+=gs+ys+rl;var ac=fi.l;fi.l=_s+4,Il(fi,To,Za,ai,vs),fi.l=ac}return ai}function Il(Sn,yi,fi,li,Si){Sn.l+=2;var ai=Sn.read_shift(2),ka=Sn.read_shift(2),_o=Ve(Sn);if(ai&8257)throw new Error("Unsupported ZIP encryption");for(var Xa=Sn.read_shift(4),To=Sn.read_shift(4),Za=Sn.read_shift(4),gs=Sn.read_shift(2),ys=Sn.read_shift(2),rl="",_s=0;_s3&&(Q=!0);switch(ne[Te].slice(ne[Te].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+ne[Te].slice(ne[Te].length-1));case"D":L*=24;case"H":L*=60;case"M":if(Q)L*=60;else throw new Error("Unsupported ISO Duration Field: M");case"S":break}N+=L*parseInt(ne[Te],10)}return N}var it=new Date("2017-02-19T19:06:09.000Z");isNaN(it.getFullYear())&&(it=new Date("2/19/17"));var yt=it.getFullYear()==2017;function pt(T,N){var L=new Date(T);if(yt)return N>0?L.setTime(L.getTime()+L.getTimezoneOffset()*60*1e3):N<0&&L.setTime(L.getTime()-L.getTimezoneOffset()*60*1e3),L;if(T instanceof Date)return T;if(it.getFullYear()==1917&&!isNaN(L.getFullYear())){var Q=L.getFullYear();return T.indexOf(""+Q)>-1||L.setFullYear(L.getFullYear()+100),L}var ne=T.match(/\d+/g)||["2017","2","19","0","0","0"],Te=new Date(+ne[0],+ne[1]-1,+ne[2],+ne[3]||0,+ne[4]||0,+ne[5]||0);return T.indexOf("Z")>-1&&(Te=new Date(Te.getTime()-Te.getTimezoneOffset()*60*1e3)),Te}function Pe(T){for(var N="",L=0;L!=T.length;++L)N+=String.fromCharCode(T[L]);return N}function Nt(T){if(typeof JSON!="undefined"&&!Array.isArray(T))return JSON.parse(JSON.stringify(T));if(typeof T!="object"||T==null)return T;if(T instanceof Date)return new Date(T.getTime());var N={};for(var L in T)Object.prototype.hasOwnProperty.call(T,L)&&(N[L]=Nt(T[L]));return N}function ut(T,N){for(var L="";L.length8099)?L:(ne>0||Te>1)&&Q!=101||T.toLowerCase().match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)?N:T.match(/[^-0-9:,\/\\]/)?L:N}var Kt="abacaba".split(/(:?b)/i).length==5;function $t(T,N,L){if(Kt||typeof N=="string")return T.split(N);for(var Q=T.split(N),ne=[Q[0]],Te=1;Te\r +`,Wt=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,ot=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg;Ht.match(ot)||(ot=/<[^>]*>/g);var et=/<\w*:/,Ze=/<(\/?)\w+:/;function Gt(T,N,L){for(var Q={},ne=0,Te=0;ne!==T.length&&!((Te=T.charCodeAt(ne))===32||Te===10||Te===13);++ne);if(N||(Q[0]=T.slice(0,ne)),ne===T.length)return Q;var Ve=T.match(Wt),je=0,vt="",St=0,Pt="",pr="",_r=1;if(Ve)for(St=0;St!=Ve.length;++St){for(pr=Ve[St],Te=0;Te!=pr.length&&!(pr.charCodeAt(Te)===61);++Te);for(Pt=pr.slice(0,Te).trim();pr.charCodeAt(Te+1)==32;)++Te;for(_r=(ne=pr.charCodeAt(Te+1))==34||ne==39?1:0,vt=pr.slice(Te+1+_r,pr.length-_r),je=0;je!=Pt.length&&!(Pt.charCodeAt(je)===58);++je);if(je===Pt.length)Pt.indexOf("_")>0&&(Pt=Pt.slice(0,Pt.indexOf("_"))),Q[Pt]=vt,L||(Q[Pt.toLowerCase()]=vt);else{var Rr=(je===5&&Pt.slice(0,5)==="xmlns"?"xmlns":"")+Pt.slice(je+1);if(Q[Rr]&&Pt.slice(je-3,je)=="ext")continue;Q[Rr]=vt,L||(Q[Rr.toLowerCase()]=vt)}}return Q}function yr(T){return T.replace(Ze,"<$1")}var br={""":'"',"'":"'",">":">","<":"<","&":"&"},Sr=Z(br),Tn=function(){var T=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/ig,N=/_x([\da-fA-F]{4})_/ig;return function L(Q){var ne=Q+"",Te=ne.indexOf("-1?16:10))||je}).replace(N,function(je,vt){return String.fromCharCode(parseInt(vt,16))});var Ve=ne.indexOf("]]>");return L(ne.slice(0,Te))+ne.slice(Te+9,Ve)+L(ne.slice(Ve+3))}}(),cn=/[&<>'"]/g,Wn=/[\u0000-\u0008\u000b-\u001f]/g;function lt(T){var N=T+"";return N.replace(cn,function(L){return Sr[L]}).replace(Wn,function(L){return"_x"+("000"+L.charCodeAt(0).toString(16)).slice(-4)+"_"})}function mt(T){return lt(T).replace(/ /g,"_x0020_")}var Le=/[\u0000-\u001f]/g;function ze(T){var N=T+"";return N.replace(cn,function(L){return Sr[L]}).replace(/\n/g,"
").replace(Le,function(L){return"&#x"+("000"+L.charCodeAt(0).toString(16)).slice(-4)+";"})}function $e(T){var N=T+"";return N.replace(cn,function(L){return Sr[L]}).replace(Le,function(L){return"&#x"+L.charCodeAt(0).toString(16).toUpperCase()+";"})}var gt=function(){var T=/&#(\d+);/g;function N(L,Q){return String.fromCharCode(parseInt(Q,10))}return function(Q){return Q.replace(T,N)}}(),ir=function(){return function(N){return N.replace(/(\r\n|[\r\n])/g," ")}}();function Xt(T){switch(T){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}var er=function(N){for(var L="",Q=0,ne=0,Te=0,Ve=0,je=0,vt=0;Q191&&ne<224){je=(ne&31)<<6,je|=Te&63,L+=String.fromCharCode(je);continue}if(Ve=N.charCodeAt(Q++),ne<240){L+=String.fromCharCode((ne&15)<<12|(Te&63)<<6|Ve&63);continue}je=N.charCodeAt(Q++),vt=((ne&7)<<18|(Te&63)<<12|(Ve&63)<<6|je&63)-65536,L+=String.fromCharCode(55296+(vt>>>10&1023)),L+=String.fromCharCode(56320+(vt&1023))}return L},Kr=function(N){for(var L=[],Q=0,ne=0,Te=0;Q>6))),L.push(String.fromCharCode(128+(ne&63)));break;case(ne>=55296&&ne<57344):ne-=55296,Te=N.charCodeAt(Q++)-56320+(ne<<10),L.push(String.fromCharCode(240+(Te>>18&7))),L.push(String.fromCharCode(144+(Te>>12&63))),L.push(String.fromCharCode(128+(Te>>6&63))),L.push(String.fromCharCode(128+(Te&63)));break;default:L.push(String.fromCharCode(224+(ne>>12))),L.push(String.fromCharCode(128+(ne>>6&63))),L.push(String.fromCharCode(128+(ne&63)))}}return L.join("")};if(E){var en=function(N){var L=b.alloc(2*N.length),Q,ne,Te=1,Ve=0,je=0,vt;for(ne=0;ne>>10&1023),Q=56320+(Q&1023)),je!==0&&(L[Ve++]=je&255,L[Ve++]=je>>>8,je=0),L[Ve++]=Q%256,L[Ve++]=Q>>>8;return L.slice(0,Ve).toString("ucs2")},Fn="foo bar baz\xE2\x98\x83\xF0\x9F\x8D\xA3";er(Fn)==en(Fn)&&(er=en);var ar=function(N){return O(N,"binary").toString("utf8")};er(Fn)==ar(Fn)&&(er=ar),Kr=function(N){return O(N,"utf8").toString("binary")}}var It=function(){var T={};return function(L,Q){var ne=L+"|"+(Q||"");return T[ne]?T[ne]:T[ne]=new RegExp("<(?:\\w+:)?"+L+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)",Q||"")}}(),Ct=function(){var T=[["nbsp"," "],["middot","\xB7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(N){return[new RegExp("&"+N[0]+";","ig"),N[1]]});return function(L){for(var Q=L.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,` +`).replace(/<[^>]*>/g,""),ne=0;ne([\\s\\S]*?)","g")}}(),gr=/<\/?(?:vt:)?variant>/g,Mt=/<(?:vt:)([^>]*)>([\s\S]*)"+N+""}function Dr(T){return Ge(T).map(function(N){return" "+N+'="'+T[N]+'"'}).join("")}function dr(T,N,L){return"<"+T+(L!=null?Dr(L):"")+(N!=null?(N.match(Dt)?' xml:space="preserve"':"")+">"+N+""}function Tr(T,N){try{return T.toISOString().replace(/\.\d*/,"")}catch(L){if(N)throw L}return""}function vn(T,N){switch(typeof T){case"string":var L=dr("vt:lpwstr",lt(T));return N&&(L=L.replace(/"/g,"_x0022_")),L;case"number":return dr((T|0)==T?"vt:i4":"vt:r8",lt(String(T)));case"boolean":return dr("vt:bool",T?"true":"false")}if(T instanceof Date)return dr("vt:filetime",Tr(T));throw new Error("Unable to serialize "+T)}var on={dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"};on.main=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"];var Gn={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function di(T,N){for(var L=1-2*(T[N+7]>>>7),Q=((T[N+7]&127)<<4)+(T[N+6]>>>4&15),ne=T[N+6]&15,Te=5;Te>=0;--Te)ne=ne*256+T[N+Te];return Q==2047?ne==0?L*Infinity:NaN:(Q==0?Q=-1022:(Q-=1023,ne+=Math.pow(2,52)),L*Math.pow(2,Q-52)*ne)}function Ti(T,N,L){var Q=(N<0||1/N==-Infinity?1:0)<<7,ne=0,Te=0,Ve=Q?-N:N;isFinite(Ve)?Ve==0?ne=Te=0:(ne=Math.floor(Math.log(Ve)/Math.LN2),Te=Ve*Math.pow(2,52-ne),ne<=-1023&&(!isFinite(Te)||Te>4|Q}var Fi=function(N){for(var L=[],Q=10240,ne=0;ne0?Qe(N,L+4,L+4+Q-1):""},ft=nt,Bt=function(N,L){var Q=Ni(N,L);return Q>0?Qe(N,L+4,L+4+Q-1):""},Et=Bt,nr=function(N,L){var Q=2*Ni(N,L);return Q>0?Qe(N,L+4,L+4+Q-1):""},Ur=nr,Lr,Vr;Lr=Vr=function(N,L){var Q=Ni(N,L);return Q>0?Ta(N,L+4,L+4+Q):""};var sr=function(N,L){var Q=Ni(N,L);return Q>0?Qe(N,L+4,L+4+Q):""},Bn=sr,Er,gn;Er=gn=function(N,L){return di(N,L)};var rn=function(N){return Array.isArray(N)};E&&(Ta=function(N,L,Q){return b.isBuffer(N)?N.toString("utf16le",L,Q).replace(W,""):dt(N,L,Q)},Me=function(N,L,Q){return b.isBuffer(N)?N.toString("hex",L,L+Q):Xe(N,L,Q)},nt=function(N,L){if(!b.isBuffer(N))return ft(N,L);var Q=N.readUInt32LE(L);return Q>0?N.toString("utf8",L+4,L+4+Q-1):""},Bt=function(N,L){if(!b.isBuffer(N))return Et(N,L);var Q=N.readUInt32LE(L);return Q>0?N.toString("utf8",L+4,L+4+Q-1):""},nr=function(N,L){if(!b.isBuffer(N))return Ur(N,L);var Q=2*N.readUInt32LE(L);return N.toString("utf16le",L+4,L+4+Q-1)},Lr=function(N,L){if(!b.isBuffer(N))return Vr(N,L);var Q=N.readUInt32LE(L);return N.toString("utf16le",L+4,L+4+Q)},sr=function(N,L){if(!b.isBuffer(N))return Bn(N,L);var Q=N.readUInt32LE(L);return N.toString("utf8",L+4,L+4+Q)},Qe=function(N,L,Q){return b.isBuffer(N)?N.toString("utf8",L,Q):st(N,L,Q)},Fi=function(N){return N[0].length>0&&b.isBuffer(N[0][0])?b.concat(N[0]):la(N)},z=function(N){return b.isBuffer(N[0])?b.concat(N):[].concat.apply([],N)},Er=function(N,L){return b.isBuffer(N)?N.readDoubleLE(L):gn(N,L)},rn=function(N){return b.isBuffer(N)||Array.isArray(N)}),typeof cptable!="undefined"&&(Ta=function(N,L,Q){return cptable.utils.decode(1200,N.slice(L,Q)).replace(W,"")},Qe=function(N,L,Q){return cptable.utils.decode(65001,N.slice(L,Q))},nt=function(N,L){var Q=Ni(N,L);return Q>0?cptable.utils.decode(n,N.slice(L+4,L+4+Q-1)):""},Bt=function(N,L){var Q=Ni(N,L);return Q>0?cptable.utils.decode(a,N.slice(L+4,L+4+Q-1)):""},nr=function(N,L){var Q=2*Ni(N,L);return Q>0?cptable.utils.decode(1200,N.slice(L+4,L+4+Q-1)):""},Lr=function(N,L){var Q=Ni(N,L);return Q>0?cptable.utils.decode(1200,N.slice(L+4,L+4+Q)):""},sr=function(N,L){var Q=Ni(N,L);return Q>0?cptable.utils.decode(65001,N.slice(L+4,L+4+Q)):""});var Br=function(N,L){return N[L]},Vn=function(N,L){return N[L+1]*(1<<8)+N[L]},gi=function(N,L){var Q=N[L+1]*(1<<8)+N[L];return Q<32768?Q:(65535-Q+1)*-1},Ni=function(N,L){return N[L+3]*(1<<24)+(N[L+2]<<16)+(N[L+1]<<8)+N[L]},Wi=function(N,L){return N[L+3]<<24|N[L+2]<<16|N[L+1]<<8|N[L]},zi=function(N,L){return N[L]<<24|N[L+1]<<16|N[L+2]<<8|N[L+3]};function Yi(T,N){var L="",Q,ne,Te=[],Ve,je,vt,St;switch(N){case"dbcs":if(St=this.l,E&&b.isBuffer(this))L=this.slice(this.l,this.l+2*T).toString("utf16le");else for(vt=0;vt0?Wi:zi)(this,this.l),this.l+=4,Q):(ne=Ni(this,this.l),this.l+=4,ne);case 8:case-8:if(N==="f")return T==8?ne=Er(this,this.l):ne=Er([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,ne;T=8;case 16:L=Me(this,this.l,T);break}}return this.l+=T,L}var mi=function(N,L,Q){N[Q]=L&255,N[Q+1]=L>>>8&255,N[Q+2]=L>>>16&255,N[Q+3]=L>>>24&255},va=function(N,L,Q){N[Q]=L&255,N[Q+1]=L>>8&255,N[Q+2]=L>>16&255,N[Q+3]=L>>24&255},zn=function(N,L,Q){N[Q]=L&255,N[Q+1]=L>>>8&255};function fn(T,N,L){var Q=0,ne=0;if(L==="dbcs"){for(ne=0;ne!=N.length;++ne)zn(this,N.charCodeAt(ne),this.l+2*ne);Q=2*N.length}else if(L==="sbcs"){if(typeof cptable!="undefined"&&n==874)for(ne=0;ne!=N.length;++ne){var Te=cptable.utils.encode(n,N.charAt(ne));this[this.l+ne]=Te[0]}else for(N=N.replace(/[^\x00-\x7F]/g,"_"),ne=0;ne!=N.length;++ne)this[this.l+ne]=N.charCodeAt(ne)&255;Q=N.length}else if(L==="hex"){for(;ne>8}for(;this.l>>=8,this[this.l+1]=N&255;break;case 3:Q=3,this[this.l]=N&255,N>>>=8,this[this.l+1]=N&255,N>>>=8,this[this.l+2]=N&255;break;case 4:Q=4,mi(this,N,this.l);break;case 8:if(Q=8,L==="f"){Ti(this,N,this.l);break}case 16:break;case-4:Q=4,va(this,N,this.l);break}return this.l+=Q,this}function $n(T,N){var L=Me(this,this.l,T.length>>1);if(L!==T)throw new Error(N+"Expected "+T+" saw "+L);this.l+=T.length>>1}function Cn(T,N){T.l=N,T.read_shift=Yi,T.chk=$n,T.write_shift=fn}function ki(T,N){T.l+=N}function In(T){var N=F(T);return Cn(N,0),N}function na(T,N,L){if(!T)return;var Q,ne,Te;Cn(T,T.l||0);for(var Ve=T.length,je=0,vt=0;T.lQ.l&&(Q=Q.slice(0,Q.l),Q.l=Q.length),Q.length>0&&T.push(Q),Q=null},Te=function(St){return Q&&St=128?1:0)+1,Q>=128&&++Te,Q>=16384&&++Te,Q>=2097152&&++Te;var Ve=T.next(Te);ne<=127?Ve.write_shift(1,ne):(Ve.write_shift(1,(ne&127)+128),Ve.write_shift(1,ne>>7));for(var je=0;je!=4;++je)if(Q>=128)Ve.write_shift(1,(Q&127)+128),Q>>=7;else{Ve.write_shift(1,Q);break}Q>0&&rn(L)&&T.push(L)}function Ri(T,N,L){var Q=Nt(T);if(N.s?(Q.cRel&&(Q.c+=N.s.c),Q.rRel&&(Q.r+=N.s.r)):(Q.cRel&&(Q.c+=N.c),Q.rRel&&(Q.r+=N.r)),!L||L.biff<12){for(;Q.c>=256;)Q.c-=256;for(;Q.r>=65536;)Q.r-=65536}return Q}function Na(T,N,L){var Q=Nt(T);return Q.s=Ri(Q.s,N.s,L),Q.e=Ri(Q.e,N.s,L),Q}function Un(T,N){if(T.cRel&&T.c<0)for(T=Nt(T);T.c<0;)T.c+=N>8?16384:256;if(T.rRel&&T.r<0)for(T=Nt(T);T.r<0;)T.r+=N>8?1048576:N>5?65536:16384;var L=dn(T);return!T.cRel&&T.cRel!=null&&(L=co(L)),!T.rRel&&T.rRel!=null&&(L=Zi(L)),L}function nn(T,N){return T.s.r==0&&!T.s.rRel&&(T.e.r==(N.biff>=12?1048575:N.biff>=8?65536:16384)&&!T.e.rRel)?(T.s.cRel?"":"$")+ya(T.s.c)+":"+(T.e.cRel?"":"$")+ya(T.e.c):T.s.c==0&&!T.s.cRel&&(T.e.c==(N.biff>=12?16383:255)&&!T.e.cRel)?(T.s.rRel?"":"$")+_i(T.s.r)+":"+(T.e.rRel?"":"$")+_i(T.e.r):Un(T.s,N.biff)+":"+Un(T.e,N.biff)}var Yn={},bi=function(N,L){var Q;if(typeof L!="undefined")Q=L;else try{Q=l(5)}catch(ne){Q=null}N.rc4=function(ne,Te){var Ve=new Array(256),je=0,vt=0,St=0,Pt=0;for(vt=0;vt!=256;++vt)Ve[vt]=vt;for(vt=0;vt!=256;++vt)St=St+Ve[vt]+ne[vt%ne.length].charCodeAt(0)&255,Pt=Ve[vt],Ve[vt]=Ve[St],Ve[St]=Pt;vt=St=0;var pr=F(Te.length);for(je=0;je!=Te.length;++je)vt=vt+1&255,St=(St+Ve[vt])%256,Pt=Ve[vt],Ve[vt]=Ve[St],Ve[St]=Pt,pr[je]=Te[je]^Ve[Ve[vt]+Ve[St]&255];return pr},N.md5=function(ne){if(!Q)throw new Error("Unsupported crypto");return Q.createHash("md5").update(ne).digest("hex")}};bi(Yn,typeof crypto!="undefined"?crypto:void 0);function Oi(T){return parseInt(qi(T),10)-1}function _i(T){return""+(T+1)}function Zi(T){return T.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function qi(T){return T.replace(/\$(\d+)$/,"$1")}function ea(T){for(var N=io(T),L=0,Q=0;Q!==N.length;++Q)L=26*L+N.charCodeAt(Q)-64;return L-1}function ya(T){if(T<0)throw new Error("invalid column "+T);var N="";for(++T;T;T=Math.floor((T-1)/26))N=String.fromCharCode((T-1)%26+65)+N;return N}function co(T){return T.replace(/^([A-Z])/,"$$$1")}function io(T){return T.replace(/^\$([A-Z])/,"$1")}function rs(T){return T.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Pi(T){for(var N=0,L=0,Q=0;Q=48&&ne<=57?N=10*N+(ne-48):ne>=65&&ne<=90&&(L=26*L+(ne-64))}return{c:L-1,r:N-1}}function dn(T){for(var N=T.c+1,L="";N;N=(N-1)/26|0)L=String.fromCharCode((N-1)%26+65)+L;return L+(T.r+1)}function ha(T){var N=T.indexOf(":");return N==-1?{s:Pi(T),e:Pi(T)}:{s:Pi(T.slice(0,N)),e:Pi(T.slice(N+1))}}function ba(T,N){return typeof N=="undefined"||typeof N=="number"?ba(T.s,T.e):(typeof T!="string"&&(T=dn(T)),typeof N!="string"&&(N=dn(N)),T==N?T:T+":"+N)}function ta(T){var N={s:{c:0,r:0},e:{c:0,r:0}},L=0,Q=0,ne=0,Te=T.length;for(L=0;Q26);++Q)L=26*L+ne;for(N.s.c=--L,L=0;Q9);++Q)L=10*L+ne;if(N.s.r=--L,Q===Te||ne!=10)return N.e.c=N.s.c,N.e.r=N.s.r,N;for(++Q,L=0;Q!=Te&&!((ne=T.charCodeAt(Q)-64)<1||ne>26);++Q)L=26*L+ne;for(N.e.c=--L,L=0;Q!=Te&&!((ne=T.charCodeAt(Q)-48)<0||ne>9);++Q)L=10*L+ne;return N.e.r=--L,N}function so(T,N){var L=T.t=="d"&&N instanceof Date;if(T.z!=null)try{return T.w=G.format(T.z,L?pe(N):N)}catch(Q){}try{return T.w=G.format((T.XF||{}).numFmtId||(L?14:0),L?pe(N):N)}catch(Q){return""+N}}function lr(T,N,L){return T==null||T.t==null||T.t=="z"?"":T.w!==void 0?T.w:(T.t=="d"&&!T.z&&L&&L.dateNF&&(T.z=L.dateNF),T.t=="e"?Mo[T.v]||T.v:N==null?so(T,T.v):so(T,N))}function pn(T,N){var L=N&&N.sheet?N.sheet:"Sheet1",Q={};return Q[L]=T,{SheetNames:[L],Sheets:Q}}function _n(T,N,L){var Q=L||{},ne=T?Array.isArray(T):Q.dense;_!=null&&ne==null&&(ne=_);var Te=T||(ne?[]:{}),Ve=0,je=0;if(Te&&Q.origin!=null){if(typeof Q.origin=="number")Ve=Q.origin;else{var vt=typeof Q.origin=="string"?Pi(Q.origin):Q.origin;Ve=vt.r,je=vt.c}Te["!ref"]||(Te["!ref"]="A1:A1")}var St={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(Te["!ref"]){var Pt=ta(Te["!ref"]);St.s.c=Pt.s.c,St.s.r=Pt.s.r,St.e.c=Math.max(St.e.c,Pt.e.c),St.e.r=Math.max(St.e.r,Pt.e.r),Ve==-1&&(St.e.r=Ve=Pt.e.r+1)}for(var pr=0;pr!=N.length;++pr){if(!N[pr])continue;if(!Array.isArray(N[pr]))throw new Error("aoa_to_sheet expects an array of arrays");for(var _r=0;_r!=N[pr].length;++_r){if(typeof N[pr][_r]=="undefined")continue;var Rr={v:N[pr][_r]},ln=Ve+pr,kr=je+_r;if(St.s.r>ln&&(St.s.r=ln),St.s.c>kr&&(St.s.c=kr),St.e.r0&&N.write_shift(0,T,"dbcs"),L?N.slice(0,N.l):N}function xr(T){return{ich:T.read_shift(2),ifnt:T.read_shift(2)}}function Gr(T,N){return N||(N=In(4)),N.write_shift(2,T.ich||0),N.write_shift(2,T.ifnt||0),N}function $r(T,N){var L=T.l,Q=T.read_shift(1),ne=Vt(T),Te=[],Ve={t:ne,h:ne};if((Q&1)!==0){for(var je=T.read_shift(4),vt=0;vt!=je;++vt)Te.push(xr(T));Ve.r=Te}else Ve.r=[{ich:0,ifnt:0}];return T.l=L+N,Ve}function hn(T,N){var L=!1;return N==null&&(L=!0,N=In(15+4*T.t.length)),N.write_shift(1,0),Cr(T.t,N),L?N.slice(0,N.l):N}var On=$r;function Qn(T,N){var L=!1;return N==null&&(L=!0,N=In(23+4*T.t.length)),N.write_shift(1,1),Cr(T.t,N),N.write_shift(4,1),Gr({ich:0,ifnt:0},N),L?N.slice(0,N.l):N}function qn(T){var N=T.read_shift(4),L=T.read_shift(2);return L+=T.read_shift(1)<<16,T.l++,{c:N,iStyleRef:L}}function si(T,N){return N==null&&(N=In(8)),N.write_shift(-4,T.c),N.write_shift(3,T.iStyleRef||T.s),N.write_shift(1,0),N}function oi(T){var N=T.read_shift(2);return N+=T.read_shift(1)<<16,T.l++,{c:-1,iStyleRef:N}}function Kn(T,N){return N==null&&(N=In(4)),N.write_shift(3,T.iStyleRef||T.s),N.write_shift(1,0),N}var Zn=Vt,ni=Cr;function wi(T){var N=T.read_shift(4);return N===0||N===4294967295?"":T.read_shift(N,"dbcs")}function Di(T,N){var L=!1;return N==null&&(L=!0,N=In(127)),N.write_shift(4,T.length>0?T.length:4294967295),T.length>0&&N.write_shift(0,T,"dbcs"),L?N.slice(0,N.l):N}var Ui=Vt,ca=wi,ia=Di;function Ia(T){var N=T.slice(T.l,T.l+4),L=N[0]&1,Q=N[0]&2;T.l+=4,N[0]&=252;var ne=Q===0?Er([0,0,0,0,N[0],N[1],N[2],N[3]],0):Wi(N,0)>>2;return L?ne/100:ne}function Fa(T,N){N==null&&(N=In(4));var L=0,Q=0,ne=T*100;if(T==(T|0)&&T>=-(1<<29)&&T<1<<29?Q=1:ne==(ne|0)&&ne>=-(1<<29)&&ne<1<<29&&(Q=1,L=1),Q)N.write_shift(-4,((L?ne:T)<<2)+(L+2));else throw new Error("unsupported RkNumber "+T)}function Aa(T){var N={s:{},e:{}};return N.s.r=T.read_shift(4),N.e.r=T.read_shift(4),N.s.c=T.read_shift(4),N.e.c=T.read_shift(4),N}function Ea(T,N){return N||(N=In(16)),N.write_shift(4,T.s.r),N.write_shift(4,T.e.r),N.write_shift(4,T.s.c),N.write_shift(4,T.e.c),N}var xa=Aa,Ai=Ea;function oa(T){if(T.length-T.l<8)throw"XLS Xnum Buffer underflow";return T.read_shift(8,"f")}function Ba(T,N){return(N||In(8)).write_shift(8,T,"f")}function Nr(T){var N={},L=T.read_shift(1),Q=L>>>1,ne=T.read_shift(1),Te=T.read_shift(2,"i"),Ve=T.read_shift(1),je=T.read_shift(1),vt=T.read_shift(1);T.l++;switch(Q){case 0:N.auto=1;break;case 1:N.index=ne;var St=za[ne];St&&(N.rgb=Tt(St));break;case 2:N.rgb=Tt([Ve,je,vt]);break;case 3:N.theme=ne;break}return Te!=0&&(N.tint=Te>0?Te/32767:Te/32768),N}function Qr(T,N){if(N||(N=In(8)),!T||T.auto)return N.write_shift(4,0),N.write_shift(4,0),N;T.index!=null?(N.write_shift(1,2),N.write_shift(1,T.index)):T.theme!=null?(N.write_shift(1,6),N.write_shift(1,T.theme)):(N.write_shift(1,5),N.write_shift(1,0));var L=T.tint||0;if(L>0?L*=32767:L<0&&(L*=32768),N.write_shift(2,L),!T.rgb||T.theme!=null)N.write_shift(2,0),N.write_shift(1,0),N.write_shift(1,0);else{var Q=T.rgb||"FFFFFF";typeof Q=="number"&&(Q=("000000"+Q.toString(16)).slice(-6)),N.write_shift(1,parseInt(Q.slice(0,2),16)),N.write_shift(1,parseInt(Q.slice(2,4),16)),N.write_shift(1,parseInt(Q.slice(4,6),16)),N.write_shift(1,255)}return N}function bn(T){var N=T.read_shift(1);T.l++;var L={fBold:N&1,fItalic:N&2,fUnderline:N&4,fStrikeout:N&8,fOutline:N&16,fShadow:N&32,fCondense:N&64,fExtend:N&128};return L}function Zr(T,N){N||(N=In(2));var L=(T.italic?2:0)|(T.strike?8:0)|(T.outline?16:0)|(T.shadow?32:0)|(T.condense?64:0)|(T.extend?128:0);return N.write_shift(1,L),N.write_shift(1,0),N}function hr(T,N){var L={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},Q=T.read_shift(4);switch(Q){case 0:return"";case 4294967295:case 4294967294:return L[T.read_shift(4)]||""}if(Q>400)throw new Error("Unsupported Clipboard: "+Q.toString(16));return T.l-=4,T.read_shift(0,N==1?"lpstr":"lpwstr")}function jr(T){return hr(T,1)}function wr(T){return hr(T,2)}var an=2,Jr=3,kn=11,Dn=12,Xn=19,vi=30,Li=64,ji=65,Sa=71,Ga=4096,Ya=80,bo=81,vo=[Ya,bo],po={1:{n:"CodePage",t:an},2:{n:"Category",t:Ya},3:{n:"PresentationFormat",t:Ya},4:{n:"ByteCount",t:Jr},5:{n:"LineCount",t:Jr},6:{n:"ParagraphCount",t:Jr},7:{n:"SlideCount",t:Jr},8:{n:"NoteCount",t:Jr},9:{n:"HiddenCount",t:Jr},10:{n:"MultimediaClipCount",t:Jr},11:{n:"ScaleCrop",t:kn},12:{n:"HeadingPairs",t:Ga|Dn},13:{n:"TitlesOfParts",t:Ga|vi},14:{n:"Manager",t:Ya},15:{n:"Company",t:Ya},16:{n:"LinksUpToDate",t:kn},17:{n:"CharacterCount",t:Jr},19:{n:"SharedDoc",t:kn},22:{n:"HyperlinksChanged",t:kn},23:{n:"AppVersion",t:Jr,p:"version"},24:{n:"DigSig",t:ji},26:{n:"ContentType",t:Ya},27:{n:"ContentStatus",t:Ya},28:{n:"Language",t:Ya},29:{n:"Version",t:Ya},255:{},2147483648:{n:"Locale",t:Xn},2147483651:{n:"Behavior",t:Xn},1919054434:{}},Ha={1:{n:"CodePage",t:an},2:{n:"Title",t:Ya},3:{n:"Subject",t:Ya},4:{n:"Author",t:Ya},5:{n:"Keywords",t:Ya},6:{n:"Comments",t:Ya},7:{n:"Template",t:Ya},8:{n:"LastAuthor",t:Ya},9:{n:"RevNumber",t:Ya},10:{n:"EditTime",t:Li},11:{n:"LastPrinted",t:Li},12:{n:"CreatedDate",t:Li},13:{n:"ModifiedDate",t:Li},14:{n:"PageCount",t:Jr},15:{n:"WordCount",t:Jr},16:{n:"CharCount",t:Jr},17:{n:"Thumbnail",t:Sa},18:{n:"Application",t:Ya},19:{n:"DocSecurity",t:Jr},255:{},2147483648:{n:"Locale",t:Xn},2147483651:{n:"Behavior",t:Xn},1919054434:{}},Oa=ae(po,"n"),ao=ae(Ha,"n"),to={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Po=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Yo(T){return T.map(function(N){return[N>>16&255,N>>8&255,N&255]})}var ro=Yo([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),za=Nt(ro),Mo={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Io=Y(Mo),ma={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.sheetMetadata":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"TODO","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"vba","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},mo=function(){var T={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};return Ge(T).forEach(function(N){["xlsm","xlam"].forEach(function(L){T[N][L]||(T[N][L]=T[N].xlsx)})}),Ge(T).forEach(function(N){Ge(T[N]).forEach(function(L){ma[T[N][L]]=N})}),T}(),ns=te(ma);on.CT="http://schemas.openxmlformats.org/package/2006/content-types";function Zo(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""}}function Oo(T){var N=Zo();if(!T||!T.match)return N;var L={};if((T.match(ot)||[]).forEach(function(Q){var ne=Gt(Q);switch(ne[0].replace(et,"<")){case"0?N.calcchains[0]:"",N.sst=N.strs.length>0?N.strs[0]:"",N.style=N.styles.length>0?N.styles[0]:"",N.defaults=L,delete N.calcchains,N}var Ro=dr("Types",null,{xmlns:on.CT,"xmlns:xsd":on.xsd,"xmlns:xsi":on.xsi}),hs=[["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels",ns.rels[0]]].map(function(T){return dr("Default",null,{Extension:T[0],ContentType:T[1]})});function Uo(T,N){var L=[],Q;L[L.length]=Ht,L[L.length]=Ro,L=L.concat(hs);var ne=function(vt){T[vt]&&T[vt].length>0&&(Q=T[vt][0],L[L.length]=dr("Override",null,{PartName:(Q[0]=="/"?"":"/")+Q,ContentType:mo[vt][N.bookType||"xlsx"]}))},Te=function(vt){(T[vt]||[]).forEach(function(St){L[L.length]=dr("Override",null,{PartName:(St[0]=="/"?"":"/")+St,ContentType:mo[vt][N.bookType||"xlsx"]})})},Ve=function(vt){(T[vt]||[]).forEach(function(St){L[L.length]=dr("Override",null,{PartName:(St[0]=="/"?"":"/")+St,ContentType:ns[vt][0]})})};return ne("workbooks"),Te("sheets"),Te("charts"),Ve("themes"),["strs","styles"].forEach(ne),["coreprops","extprops","custprops"].forEach(Ve),Ve("vba"),Ve("comments"),Ve("drawings"),L.length>2&&(L[L.length]="",L[1]=L[1].replace("/>",">")),L.join("")}var Ja={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function Es(T){var N=T.lastIndexOf("/");return T.slice(0,N+1)+"_rels/"+T.slice(N+1)+".rels"}function oo(T,N){var L={"!id":{}};if(!T)return L;N.charAt(0)!=="/"&&(N="/"+N);var Q={};return(T.match(ot)||[]).forEach(function(ne){var Te=Gt(ne);if(Te[0]==="2&&(N[N.length]="",N[1]=N[1].replace("/>",">")),N.join("")}var Wo=[Ja.HLINK,Ja.XPATH,Ja.XMISS];function Vo(T,N,L,Q,ne,Te){if(ne||(ne={}),T["!id"]||(T["!id"]={}),N<0)for(N=1;T["!id"]["rId"+N];++N);if(ne.Id="rId"+N,ne.Type=Q,ne.Target=L,Te?ne.TargetMode=Te:Wo.indexOf(ne.Type)>-1&&(ne.TargetMode="External"),T["!id"][ne.Id])throw new Error("Cannot rewrite rId "+N);return T["!id"][ne.Id]=ne,T[("/"+ne.Target).replace("//","/")]=ne,N}var Go="application/vnd.oasis.opendocument.spreadsheet";function os(T,N){for(var L=Of(T),Q,ne;Q=jh.exec(L);)switch(Q[3]){case"manifest":break;case"file-entry":if(ne=Gt(Q[0],!1),ne.path=="/"&&ne.type!==Go)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(N&&N.WTF)throw Q}}function Vs(T){var N=[Ht];N.push(` `),N.push(` `);for(var L=0;L `);return N.push(""),N.join("")}function xs(T,N,L){return[' @@ -97,7 +97,7 @@ Please report this to https://github.com/markedjs/marked.`,$t.silent)return"

A `,' `,` `].join("")}function Bs(T){var N=[Ht];N.push(` -`);for(var L=0;L!=T.length;++L)N.push(xs(T[L][0],T[L][1])),N.push(Js("",T[L][0]));return N.push(xs("","Document","pkg")),N.push(""),N.join("")}var ks=function(){var T='SheetJS '+d.version+"";return function(){return T}}(),Jo=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];on.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",Ja.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";var bs=function(){for(var T=new Array(Jo.length),N=0;N]*>([\\s\\S]*?)")}return T}();function Ho(T){var N={};T=er(T);for(var L=0;L0&&(N[Q[1]]=Tn(ne[1])),Q[2]==="date"&&N[Q[1]]&&(N[Q[1]]=pt(N[Q[1]]))}return N}var Ls=dr("cp:coreProperties",null,{"xmlns:cp":on.CORE_PROPS,"xmlns:dc":on.dc,"xmlns:dcterms":on.dcterms,"xmlns:dcmitype":on.dcmitype,"xmlns:xsi":on.xsi});function Ps(T,N,L,Q,ne){if(ne[T]!=null||N==null||N==="")return;ne[T]=N,N=lt(N),Q[Q.length]=L?dr(T,N,L):tr(T,N)}function Ra(T,N){var L=N||{},Q=[Ht,Ls],ne={};if(!T&&!L.Props)return Q.join("");T&&(T.CreatedDate!=null&&Ps("dcterms:created",typeof T.CreatedDate=="string"?T.CreatedDate:Tr(T.CreatedDate,L.WTF),{"xsi:type":"dcterms:W3CDTF"},Q,ne),T.ModifiedDate!=null&&Ps("dcterms:modified",typeof T.ModifiedDate=="string"?T.ModifiedDate:Tr(T.ModifiedDate,L.WTF),{"xsi:type":"dcterms:W3CDTF"},Q,ne));for(var Te=0;Te!=Jo.length;++Te){var Ve=Jo[Te],je=L.Props&&L.Props[Ve[1]]!=null?L.Props[Ve[1]]:T?T[Ve[1]]:null;je===!0?je="1":je===!1?je="0":typeof je=="number"&&(je=String(je)),je!=null&&Ps(Ve[0],je,null,Q,ne)}return Q.length>2&&(Q[Q.length]="",Q[1]=Q[1].replace("/>",">")),Q.join("")}var ho=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];on.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",Ja.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";var ll=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function ml(T,N,L,Q){var ne=[];if(typeof T=="string")ne=rr(T,Q);else for(var Te=0;Te0)for(var St=0;St!==ne.length;St+=2){vt=+ne[St+1].v;switch(ne[St].v){case"Worksheets":case"\u5DE5\u4F5C\u8868":case"\u041B\u0438\u0441\u0442\u044B":case"\u0623\u0648\u0631\u0627\u0642 \u0627\u0644\u0639\u0645\u0644":case"\u30EF\u30FC\u30AF\u30B7\u30FC\u30C8":case"\u05D2\u05DC\u05D9\u05D5\u05E0\u05D5\u05EA \u05E2\u05D1\u05D5\u05D3\u05D4":case"Arbeitsbl\xE4tter":case"\xC7al\u0131\u015Fma Sayfalar\u0131":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de c\xE1lculo":case"Planilhas":case"Regneark":case"Hojas de c\xE1lculo":case"Werkbladen":L.Worksheets=vt,L.SheetNames=Ve.slice(je,je+vt);break;case"Named Ranges":case"Rangos con nombre":case"\u540D\u524D\u4ED8\u304D\u4E00\u89A7":case"Benannte Bereiche":case"Navngivne omr\xE5der":L.NamedRanges=vt,L.DefinedNames=Ve.slice(je,je+vt);break;case"Charts":case"Diagramme":L.Chartsheets=vt,L.ChartNames=Ve.slice(je,je+vt);break}je+=vt}}function wl(T,N,L){var Q={};return N||(N={}),T=er(T),ho.forEach(function(ne){var Te=(T.match(It(ne[0]))||[])[1];switch(ne[2]){case"string":Te&&(N[ne[1]]=Tn(Te));break;case"bool":N[ne[1]]=Te==="true";break;case"raw":var Ve=T.match(new RegExp("<"+ne[0]+"[^>]*>([\\s\\S]*?)"));Ve&&Ve.length>0&&(Q[ne[1]]=Ve[1]);break}}),Q.HeadingPairs&&Q.TitlesOfParts&&ml(Q.HeadingPairs,Q.TitlesOfParts,N,L),N}var El=dr("Properties",null,{xmlns:on.EXT_PROPS,"xmlns:vt":on.vt});function Xs(T){var N=[],L=dr;return T||(T={}),T.Application="SheetJS",N[N.length]=Ht,N[N.length]=El,ho.forEach(function(Q){if(T[Q[1]]===void 0)return;var ne;switch(Q[2]){case"string":ne=lt(String(T[Q[1]]));break;case"bool":ne=T[Q[1]]?"true":"false";break}ne!==void 0&&(N[N.length]=L(Q[0],ne))}),N[N.length]=L("HeadingPairs",L("vt:vector",L("vt:variant","Worksheets")+L("vt:variant",L("vt:i4",String(T.Worksheets))),{size:2,baseType:"variant"})),N[N.length]=L("TitlesOfParts",L("vt:vector",T.SheetNames.map(function(Q){return""+lt(Q)+""}).join(""),{size:T.Worksheets,baseType:"lpstr"})),N.length>2&&(N[N.length]="",N[1]=N[1].replace("/>",">")),N.join("")}on.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",Ja.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var Xo=/<[^>]+>[^<]*/g;function gl(T,N){var L={},Q="",ne=T.match(Xo);if(ne)for(var Te=0;Te!=ne.length;++Te){var Ve=ne[Te],je=Gt(Ve);switch(je[0]){case"":Q=null;break;default:if(Ve.indexOf(""),St=vt[0].slice(4),Pt=vt[1];switch(St){case"lpstr":case"bstr":case"lpwstr":L[Q]=Tn(Pt);break;case"bool":L[Q]=Xt(Pt);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":L[Q]=parseInt(Pt,10);break;case"r4":case"r8":case"decimal":L[Q]=parseFloat(Pt);break;case"filetime":case"date":L[Q]=pt(Pt);break;case"cy":case"error":L[Q]=Tn(Pt);break;default:if(St.slice(-1)=="/")break;N.WTF&&typeof console!="undefined"&&console.warn("Unexpected",Ve,St,vt)}}else if(!(Ve.slice(0,2)==="2&&(N[N.length]="",N[1]=N[1].replace("/>",">")),N.join("")}var $s={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"},us=Z($s);function _l(T,N,L){N=us[N]||N,T[N]=L}function Kc(T,N){var L=[];return Ge($s).map(function(Q){for(var ne=0;ne'+ne.join("")+""}function Bl(T){var N=T.read_shift(4),L=T.read_shift(4);return new Date((L/1e7*Math.pow(2,32)+N/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function oc(T){var N=typeof T=="string"?new Date(Date.parse(T)):T,L=N.getTime()/1e3+11644473600,Q=L%Math.pow(2,32),ne=(L-Q)/Math.pow(2,32);Q*=1e7,ne*=1e7;var Te=Q/Math.pow(2,32)|0;Te>0&&(Q=Q%Math.pow(2,32),ne+=Te);var Ve=In(8);return Ve.write_shift(4,Q),Ve.write_shift(4,ne),Ve}function sc(T,N,L){var Q=T.l,ne=T.read_shift(0,"lpstr-cp");if(L)for(;T.l-Q&3;)++T.l;return ne}function ql(T,N,L){var Q=T.read_shift(0,"lpwstr");return L&&(T.l+=4-(Q.length+1&3)&3),Q}function Al(T,N,L){return N===31?ql(T):sc(T,N,L)}function zs(T,N,L){return Al(T,N,L===!1?0:4)}function Ml(T,N){if(!N)throw new Error("VtUnalignedString must have positive length");return Al(T,N,0)}function vl(T){for(var N=T.read_shift(4),L=[],Q=0;Q!=N;++Q){var ne=T.l;L[Q]=T.read_shift(0,"lpwstr").replace(K,""),T.l-ne&2&&(T.l+=2)}return L}function cl(T){for(var N=T.read_shift(4),L=[],Q=0;Q!=N;++Q)L[Q]=T.read_shift(0,"lpstr-cp").replace(K,"");return L}function mn(T){var N=T.l,L=Ss(T,bo);T[T.l]==0&&T[T.l+1]==0&&T.l-N&2&&(T.l+=2);var Q=Ss(T,Jr);return[L,Q]}function da(T){for(var N=T.read_shift(4),L=[],Q=0;Q>2+1<<2),Q}function pc(T){var N=T.read_shift(4),L=T.slice(T.l,T.l+N);return T.l+=N,(N&3)>0&&(T.l+=4-(N&3)&3),L}function xc(T){var N={};return N.Size=T.read_shift(4),T.l+=N.Size+3-(N.Size-1)%4,N}function Ss(T,N,L){var Q=T.read_shift(2),ne,Te=L||{};if(T.l+=2,N!==Dn&&(Q!==N&&vo.indexOf(N)===-1&&!((N&65534)==4126&&(Q&65534)==4126)))throw new Error("Expected type "+N+" saw "+Q);switch(N===Dn?Q:N){case 2:return ne=T.read_shift(2,"i"),Te.raw||(T.l+=2),ne;case 3:return ne=T.read_shift(4,"i"),ne;case 11:return T.read_shift(4)!==0;case 19:return ne=T.read_shift(4),ne;case 30:return sc(T,Q,4).replace(K,"");case 31:return ql(T);case 64:return Bl(T);case 65:return pc(T);case 71:return xc(T);case 80:return zs(T,Q,!Te.raw).replace(K,"");case 81:return Ml(T,Q).replace(K,"");case 4108:return da(T);case 4126:case 4127:return Q==4127?vl(T):cl(T);default:throw new Error("TypedPropertyValue unrecognized type "+N+" "+Q)}}function Ks(T,N){var L=In(4),Q=In(4);L.write_shift(4,T==80?31:T);switch(T){case 3:Q.write_shift(-4,N);break;case 5:Q=In(8),Q.write_shift(8,N,"f");break;case 11:Q.write_shift(4,N?1:0);break;case 64:Q=oc(N);break;case 31:case 80:for(Q=In(4+2*(N.length+1)+(N.length%2?0:2)),Q.write_shift(4,N.length+1),Q.write_shift(0,N,"dbcs");Q.l!=Q.length;)Q.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+T+" "+N)}return z([L,Q])}function xl(T,N){var L=T.l,Q=T.read_shift(4),ne=T.read_shift(4),Te=[],Ve=0,je=0,vt=-1,St={};for(Ve=0;Ve!=ne;++Ve){var Pt=T.read_shift(4),pr=T.read_shift(4);Te[Ve]=[Pt,pr+L]}Te.sort(function(Rn,un){return Rn[1]-un[1]});var _r={};for(Ve=0;Ve!=ne;++Ve){if(T.l!==Te[Ve][1]){var Rr=!0;if(Ve>0&&N)switch(N[Te[Ve-1][0]].t){case 2:T.l+2===Te[Ve][1]&&(T.l+=2,Rr=!1);break;case 80:T.l<=Te[Ve][1]&&(T.l=Te[Ve][1],Rr=!1);break;case 4108:T.l<=Te[Ve][1]&&(T.l=Te[Ve][1],Rr=!1);break}if((!N||Ve==0)&&T.l<=Te[Ve][1]&&(Rr=!1,T.l=Te[Ve][1]),Rr)throw new Error("Read Error: Expected address "+Te[Ve][1]+" at "+T.l+" :"+Ve)}if(N){var ln=N[Te[Ve][0]];if(_r[ln.n]=Ss(T,ln.t,{raw:!0}),ln.p==="version"&&(_r[ln.n]=String(_r[ln.n]>>16)+"."+("0000"+String(_r[ln.n]&65535)).slice(-4)),ln.n=="CodePage")switch(_r[ln.n]){case 0:_r[ln.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:o(je=_r[ln.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+_r[ln.n])}}else if(Te[Ve][0]===1){if(je=_r.CodePage=Ss(T,an),o(je),vt!==-1){var kr=T.l;T.l=Te[vt][1],St=Oc(T,je),T.l=kr}}else if(Te[Ve][0]===0){if(je===0){vt=Ve,T.l=Te[Ve+1][1];continue}St=Oc(T,je)}else{var An=St[Te[Ve][0]],Nn;switch(T[T.l]){case 65:T.l+=4,Nn=pc(T);break;case 30:T.l+=4,Nn=zs(T,T[T.l-4]).replace(/\u0000+$/,"");break;case 31:T.l+=4,Nn=zs(T,T[T.l-4]).replace(/\u0000+$/,"");break;case 3:T.l+=4,Nn=T.read_shift(4,"i");break;case 19:T.l+=4,Nn=T.read_shift(4);break;case 5:T.l+=4,Nn=T.read_shift(8,"f");break;case 11:T.l+=4,Nn=Ts(T,4);break;case 64:T.l+=4,Nn=pt(Bl(T));break;default:throw new Error("unparsed value: "+T[T.l])}_r[An]=Nn}}return T.l=L+Q,_r}var ul=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"].concat(ll);function nc(T){switch(typeof T){case"boolean":return 11;case"number":return(T|0)==T?3:5;case"string":return 31;case"object":if(T instanceof Date)return 64;break}return-1}function Xl(T,N,L){var Q=In(8),ne=[],Te=[],Ve=8,je=0,vt=In(8),St=In(8);if(vt.write_shift(4,2),vt.write_shift(4,1200),St.write_shift(4,1),Te.push(vt),ne.push(St),Ve+=8+vt.length,!N){St=In(8),St.write_shift(4,0),ne.unshift(St);var Pt=[In(4)];for(Pt[0].write_shift(4,T.length),je=0;je-1)continue;if(T[je][1]==null)continue;var _r=T[je][1],Rr=0;if(N){Rr=+N[T[je][0]];var ln=L[Rr];if(ln.p=="version"&&typeof _r=="string"){var kr=_r.split(".");_r=(+kr[0]<<16)+(+kr[1]||0)}vt=Ks(ln.t,_r)}else{var An=nc(_r);An==-1&&(An=31,_r=String(_r)),vt=Ks(An,_r)}Te.push(vt),St=In(8),St.write_shift(4,N?Rr:2+je),ne.push(St),Ve+=8+vt.length}var Nn=8*(Te.length+1);for(je=0;je=12?2:1),ne="sbcs-cont",Te=a;if(L&&L.biff>=8&&(a=1200),!L||L.biff==8){var Ve=T.read_shift(1);Ve&&(ne="dbcs-cont")}else L.biff==12&&(ne="wstr");L.biff>=2&&L.biff<=5&&(ne="cpstr");var je=Q?T.read_shift(Q,ne):"";return a=Te,je}function Ce(T){var N=a;a=1200;var L=T.read_shift(2),Q=T.read_shift(1),ne=Q&4,Te=Q&8,Ve=1+(Q&1),je=0,vt,St={};Te&&(je=T.read_shift(2)),ne&&(vt=T.read_shift(4));var Pt=Ve==2?"dbcs-cont":"sbcs-cont",pr=L===0?"":T.read_shift(L,Pt);return Te&&(T.l+=4*je),ne&&(T.l+=vt),St.t=pr,Te||(St.raw=""+St.t+"",St.r=St.t),a=N,St}function Ie(T){var N=T.t||"",L=1,Q=In(3+(L>1?2:0));Q.write_shift(2,N.length),Q.write_shift(1,(L>1?8:0)|1),L>1&&Q.write_shift(2,L);var ne=In(2*N.length);ne.write_shift(2*N.length,N,"utf16le");var Te=[Q,ne];return z(Te)}function Ye(T,N,L){var Q;if(L){if(L.biff>=2&&L.biff<=5)return T.read_shift(N,"cpstr");if(L.biff>=12)return T.read_shift(N,"dbcs-cont")}var ne=T.read_shift(1);return ne===0?Q=T.read_shift(N,"sbcs-cont"):Q=T.read_shift(N,"dbcs-cont"),Q}function _t(T,N,L){var Q=T.read_shift(L&&L.biff==2?1:2);return Q===0?(T.l++,""):Ye(T,Q,L)}function Yt(T,N,L){if(L.biff>5)return _t(T,N,L);var Q=T.read_shift(1);return Q===0?(T.l++,""):T.read_shift(Q,L.biff<=4||!T.lens?"cpstr":"sbcs-cont")}function Pr(T,N,L){return L||(L=In(3+2*T.length)),L.write_shift(2,T.length),L.write_shift(1,1),L.write_shift(31,T,"utf16le"),L}function Yr(T){var N=T.read_shift(1);T.l++;var L=T.read_shift(2);return T.l+=2,[N,L]}function yn(T){var N=T.read_shift(4),L=T.l,Q=!1;N>24&&(T.l+=N-24,T.read_shift(16)==="795881f43b1d7f48af2c825dc4852763"&&(Q=!0),T.l=L);var ne=T.read_shift((Q?N-24:N)>>1,"utf16le").replace(K,"");return Q&&(T.l+=24),ne}function Jn(T){for(var N=T.read_shift(2),L="";N-- >0;)L+="../";var Q=T.read_shift(0,"lpstr-ansi");if(T.l+=2,T.read_shift(2)!=57005)throw new Error("Bad FileMoniker");var ne=T.read_shift(4);if(ne===0)return L+Q.replace(/\\/g,"/");var Te=T.read_shift(4);if(T.read_shift(2)!=3)throw new Error("Bad FileMoniker");var Ve=T.read_shift(Te>>1,"utf16le").replace(K,"");return L+Ve}function Ci(T,N){var L=T.read_shift(16);N-=16;switch(L){case"e0c9ea79f9bace118c8200aa004ba90b":return yn(T,N);case"0303000000000000c000000000000046":return Jn(T,N);default:throw new Error("Unsupported Moniker "+L)}}function Xi(T){var N=T.read_shift(4),L=N>0?T.read_shift(N,"utf16le").replace(K,""):"";return L}function ga(T,N){N||(N=In(6+T.length*2)),N.write_shift(4,1+T.length);for(var L=0;L-1?31:23;switch(Q.charAt(0)){case"#":Te=28;break;case".":Te&=~2;break}N.write_shift(4,2),N.write_shift(4,Te);var Ve=[8,6815827,6619237,4849780,83];for(L=0;L-1?Q.slice(0,ne):Q;for(N.write_shift(4,2*(je.length+1)),L=0;L-1?Q.slice(ne+1):"",N)}else{for(Ve="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),L=0;L8?4:2,ne=T.read_shift(Q),Te=T.read_shift(Q,"i"),Ve=T.read_shift(Q,"i");return[ne,Te,Ve]}function ls(T){var N=T.read_shift(2),L=Ia(T);return[N,L]}function Ys(T,N,L){T.l+=4,N-=4;var Q=T.l+N,ne=he(T,N,L),Te=T.read_shift(2);if(Q-=T.l,Te!==Q)throw new Error("Malformed AddinUdf: padding = "+Q+" != "+Te);return T.l+=Te,ne}function Rl(T){var N=T.read_shift(2),L=T.read_shift(2),Q=T.read_shift(2),ne=T.read_shift(2);return{s:{c:Q,r:N},e:{c:ne,r:L}}}function kl(T,N){return N||(N=In(8)),N.write_shift(2,T.s.r),N.write_shift(2,T.e.r),N.write_shift(2,T.s.c),N.write_shift(2,T.e.c),N}function el(T){var N=T.read_shift(2),L=T.read_shift(2),Q=T.read_shift(1),ne=T.read_shift(1);return{s:{c:Q,r:N},e:{c:ne,r:L}}}var Cl=el;function mc(T){T.l+=4;var N=T.read_shift(2),L=T.read_shift(2),Q=T.read_shift(2);return T.l+=12,[L,N,Q]}function lc(T){var N={};return T.l+=4,T.l+=16,N.fSharedNote=T.read_shift(2),T.l+=4,N}function bl(T){var N={};return T.l+=4,T.cf=T.read_shift(2),N}function il(T){T.l+=2,T.l+=T.read_shift(2)}var Yl={0:il,4:il,5:il,6:il,7:bl,8:il,9:il,10:il,11:il,12:il,13:lc,14:il,15:il,16:il,17:il,18:il,19:il,20:il,21:mc};function cu(T,N){for(var L=T.l+N,Q=[];T.l=2&&(L.dt=T.read_shift(2),T.l-=2);switch(L.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(N>6)throw new Error("Unexpected BIFF Ver "+L.BIFFVer)}return T.read_shift(N),L}function ec(T,N,L){var Q=1536,ne=16;switch(L.bookType){case"biff8":break;case"biff5":Q=1280,ne=8;break;case"biff4":Q=4,ne=6;break;case"biff3":Q=3,ne=6;break;case"biff2":Q=2,ne=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var Te=In(ne);return Te.write_shift(2,Q),Te.write_shift(2,N),ne>4&&Te.write_shift(2,29282),ne>6&&Te.write_shift(2,1997),ne>8&&(Te.write_shift(2,49161),Te.write_shift(2,1),Te.write_shift(2,1798),Te.write_shift(2,0)),Te}function al(T,N){return N===0||T.read_shift(2)!==1200,1200}function lo(T,N,L){if(L.enc)return T.l+=N,"";var Q=T.l,ne=Yt(T,0,L);return T.read_shift(N+Q-T.l),ne}function Pc(T,N){var L=!N||N.biff==8,Q=In(L?112:54);for(Q.write_shift(N.biff==8?2:1,7),L&&Q.write_shift(1,0),Q.write_shift(4,859007059),Q.write_shift(4,5458548|(L?0:536870912));Q.l=8?2:1,Q=In(8+L*T.name.length);Q.write_shift(4,T.pos),Q.write_shift(1,T.hs||0),Q.write_shift(1,T.dt),Q.write_shift(1,T.name.length),N.biff>=8&&Q.write_shift(1,1),Q.write_shift(L*T.name.length,T.name,N.biff<8?"sbcs":"utf16le");var ne=Q.slice(0,Q.l);return ne.l=Q.l,ne}function Ac(T,N){for(var L=T.l+N,Q=T.read_shift(4),ne=T.read_shift(4),Te=[],Ve=0;Ve!=ne&&T.l>15),ne&=32767);var Te={Unsynced:Q&1,DyZero:(Q&2)>>1,ExAsc:(Q&4)>>2,ExDsc:(Q&8)>>3};return[Te,ne]}function es(T){var N=T.read_shift(2),L=T.read_shift(2),Q=T.read_shift(2),ne=T.read_shift(2),Te=T.read_shift(2),Ve=T.read_shift(2),je=T.read_shift(2),vt=T.read_shift(2),St=T.read_shift(2);return{Pos:[N,L],Dim:[Q,ne],Flags:Te,CurTab:Ve,FirstTab:je,Selected:vt,TabRatio:St}}function Is(){var T=In(18);return T.write_shift(2,0),T.write_shift(2,0),T.write_shift(2,29280),T.write_shift(2,17600),T.write_shift(2,56),T.write_shift(2,0),T.write_shift(2,0),T.write_shift(2,1),T.write_shift(2,500),T}function Tl(T,N,L){if(L&&L.biff>=2&&L.biff<5)return{};var Q=T.read_shift(2);return{RTL:Q&64}}function Tc(T){var N=In(18),L=1718;return T&&T.RTL&&(L|=64),N.write_shift(2,L),N.write_shift(4,0),N.write_shift(4,64),N.write_shift(4,0),N.write_shift(4,0),N}function tc(){}function cc(T,N,L){var Q={dyHeight:T.read_shift(2),fl:T.read_shift(2)};switch(L&&L.biff||8){case 2:break;case 3:case 4:T.l+=2;break;default:T.l+=10;break}return Q.name=he(T,0,L),Q}function sl(T,N){var L=T.name||"Arial",Q=N&&N.biff==5,ne=Q?15+L.length:16+2*L.length,Te=In(ne);return Te.write_shift(2,(T.sz||12)*20),Te.write_shift(4,0),Te.write_shift(2,400),Te.write_shift(4,0),Te.write_shift(2,0),Te.write_shift(1,L.length),Q||Te.write_shift(1,1),Te.write_shift((Q?1:2)*L.length,L,Q?"sbcs":"utf16le"),Te}function tl(T){var N=ss(T);return N.isst=T.read_shift(4),N}function Fl(T,N,L,Q){var ne=In(10);return ps(T,N,Q,ne),ne.write_shift(4,L),ne}function Zs(T,N,L){L.biffguess&&L.biff==2&&(L.biff=5);var Q=T.l+N,ne=ss(T,6);L.biff==2&&T.l++;var Te=_t(T,Q-T.l,L);return ne.val=Te,ne}function Nc(T,N,L,Q,ne){var Te=!ne||ne.biff==8,Ve=In(6+2+ +Te+(1+Te)*L.length);return ps(T,N,Q,Ve),Ve.write_shift(2,L.length),Te&&Ve.write_shift(1,1),Ve.write_shift((1+Te)*L.length,L,Te?"utf16le":"sbcs"),Ve}function Ru(T,N,L){var Q=T.read_shift(2),ne=Yt(T,0,L);return[Q,ne]}function uu(T,N,L,Q){var ne=L&&L.biff==5;Q||(Q=In(ne?3+N.length:5+2*N.length)),Q.write_shift(2,T),Q.write_shift(ne?1:2,N.length),ne||Q.write_shift(1,1),Q.write_shift((ne?1:2)*N.length,N,ne?"sbcs":"utf16le");var Te=Q.length>Q.l?Q.slice(0,Q.l):Q;return Te.l==null&&(Te.l=Te.length),Te}var Hu=Yt;function Xc(T,N,L){var Q=T.l+N,ne=L.biff==8||!L.biff?4:2,Te=T.read_shift(ne),Ve=T.read_shift(ne),je=T.read_shift(2),vt=T.read_shift(2);return T.l=Q,{s:{r:Te,c:je},e:{r:Ve,c:vt}}}function bu(T,N){var L=N.biff==8||!N.biff?4:2,Q=In(2*L+6);return Q.write_shift(L,T.s.r),Q.write_shift(L,T.e.r+1),Q.write_shift(2,T.s.c),Q.write_shift(2,T.e.c+1),Q.write_shift(2,0),Q}function Tu(T){var N=T.read_shift(2),L=T.read_shift(2),Q=ls(T);return{r:N,c:L,ixfe:Q[0],rknum:Q[1]}}function Dd(T,N){for(var L=T.l+N-2,Q=T.read_shift(2),ne=T.read_shift(2),Te=[];T.l>26],Q.cellStyles&&(ne.alc=Te&7,ne.fWrap=Te>>3&1,ne.alcV=Te>>4&7,ne.fJustLast=Te>>7&1,ne.trot=Te>>8&255,ne.cIndent=Te>>16&15,ne.fShrinkToFit=Te>>20&1,ne.iReadOrder=Te>>22&2,ne.fAtrNum=Te>>26&1,ne.fAtrFnt=Te>>27&1,ne.fAtrAlc=Te>>28&1,ne.fAtrBdr=Te>>29&1,ne.fAtrPat=Te>>30&1,ne.fAtrProt=Te>>31&1,ne.dgLeft=Ve&15,ne.dgRight=Ve>>4&15,ne.dgTop=Ve>>8&15,ne.dgBottom=Ve>>12&15,ne.icvLeft=Ve>>16&127,ne.icvRight=Ve>>23&127,ne.grbitDiag=Ve>>30&3,ne.icvTop=je&127,ne.icvBottom=je>>7&127,ne.icvDiag=je>>14&127,ne.dgDiag=je>>21&15,ne.icvFore=vt&127,ne.icvBack=vt>>7&127,ne.fsxButton=vt>>14&1),ne}function Rd(T,N,L){var Q={};return Q.ifnt=T.read_shift(2),Q.numFmtId=T.read_shift(2),Q.flags=T.read_shift(2),Q.fStyle=Q.flags>>2&1,N-=6,Q.data=Md(T,N,Q.fStyle,L),Q}function du(T,N,L,Q){var ne=L&&L.biff==5;Q||(Q=In(ne?16:20)),Q.write_shift(2,0),T.style?(Q.write_shift(2,T.numFmtId||0),Q.write_shift(2,65524)):(Q.write_shift(2,T.numFmtId||0),Q.write_shift(2,N<<4));var Te=0;return T.numFmtId>0&&ne&&(Te|=1024),Q.write_shift(4,Te),Q.write_shift(4,0),ne||Q.write_shift(4,0),Q.write_shift(2,0),Q}function Rc(T){T.l+=4;var N=[T.read_shift(2),T.read_shift(2)];if(N[0]!==0&&N[0]--,N[1]!==0&&N[1]--,N[0]>7||N[1]>7)throw new Error("Bad Gutters: "+N.join("|"));return N}function Fc(T){var N=In(8);return N.write_shift(4,0),N.write_shift(2,T[0]?T[0]+1:0),N.write_shift(2,T[1]?T[1]+1:0),N}function Uc(T,N,L){var Q=ss(T,6);(L.biff==2||N==9)&&++T.l;var ne=ri(T,2);return Q.val=ne,Q.t=ne===!0||ne===!1?"b":"e",Q}function Fu(T,N,L,Q,ne,Te){var Ve=In(8);return ps(T,N,Q,Ve),Lt(L,Te,Ve),Ve}function zu(T,N,L){L.biffguess&&L.biff==2&&(L.biff=5);var Q=ss(T,6),ne=oa(T,8);return Q.val=ne,Q}function rd(T,N,L,Q){var ne=In(14);return ps(T,N,Q,ne),Ba(L,ne),ne}var Iu=Ws;function yu(T,N,L){var Q=T.l+N,ne=T.read_shift(2),Te=T.read_shift(2);if(L.sbcch=Te,Te==1025||Te==14849)return[Te,ne];if(Te<1||Te>255)throw new Error("Unexpected SupBook type: "+Te);for(var Ve=Ye(T,Te),je=[];Q>T.l;)je.push(_t(T));return[Te,ne,Ve,je]}function Ku(T,N,L){var Q=T.read_shift(2),ne,Te={fBuiltIn:Q&1,fWantAdvise:Q>>>1&1,fWantPict:Q>>>2&1,fOle:Q>>>3&1,fOleLink:Q>>>4&1,cf:Q>>>5&1023,fIcon:Q>>>15&1};return L.sbcch===14849&&(ne=Ys(T,N-2,L)),Te.body=ne||T.read_shift(N-2),typeof ne=="string"&&(Te.Name=ne),Te}var Wu=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function Vu(T,N,L){var Q=T.l+N,ne=T.read_shift(2),Te=T.read_shift(1),Ve=T.read_shift(1),je=T.read_shift(L&&L.biff==2?1:2),vt=0;(!L||L.biff>=5)&&(L.biff!=5&&(T.l+=2),vt=T.read_shift(2),L.biff==5&&(T.l+=2),T.l+=4);var St=Ye(T,Ve,L);ne&32&&(St=Wu[St.charCodeAt(0)]);var Pt=Q-T.l;L&&L.biff==2&&--Pt;var pr=Q==T.l||je===0||!(Pt>0)?[]:xm(T,Pt,L,je);return{chKey:Te,Name:St,itab:vt,rgce:pr}}function $c(T,N,L){if(L.biff<8)return hu(T,N,L);for(var Q=[],ne=T.l+N,Te=T.read_shift(L.biff>8?4:2);Te--!==0;)Q.push(dl(T,L.biff>8?12:6,L));if(T.l!=ne)throw new Error("Bad ExternSheet: "+T.l+" != "+ne);return Q}function hu(T,N,L){T[T.l+1]==3&&T[T.l]++;var Q=he(T,N,L);return Q.charCodeAt(0)==3?Q.slice(1):Q}function wu(T,N,L){if(L.biff<8){T.l+=N;return}var Q=T.read_shift(2),ne=T.read_shift(2),Te=Ye(T,Q,L),Ve=Ye(T,ne,L);return[Te,Ve]}function Xu(T,N,L){var Q=el(T,6);T.l++;var ne=T.read_shift(1);return N-=8,[Sm(T,N,L),ne,Q]}function nu(T,N,L){var Q=Cl(T,6);switch(L.biff){case 2:T.l++,N-=7;break;case 3:case 4:T.l+=2,N-=8;break;default:T.l+=6,N-=12}return[Q,ym(T,N,L,Q)]}function Fd(T){var N=T.read_shift(4)!==0,L=T.read_shift(4)!==0,Q=T.read_shift(4);return[N,L,Q]}function Yc(T,N,L){if(L.biff<8)return;var Q=T.read_shift(2),ne=T.read_shift(2),Te=T.read_shift(2),Ve=T.read_shift(2),je=Yt(T,0,L);return L.biff<8&&T.read_shift(1),[{r:Q,c:ne},je,Ve,Te]}function ru(T,N,L){return Yc(T,N,L)}function Gu(T,N){for(var L=[],Q=T.read_shift(2);Q--;)L.push(Rl(T,N));return L}function Bd(T){var N=In(2+T.length*8);N.write_shift(2,T.length);for(var L=0;L=(Pt?je:2*je))break}if(ne.length!==je&&ne.length!==je*2)throw new Error("cchText: "+je+" != "+ne.length);return T.l=Q+N,{t:ne}}catch(_r){return T.l=Q+N,{t:ne}}}function gd(T,N){var L=Rl(T,8);T.l+=16;var Q=Ka(T,N-24);return[L,Q]}function Ad(T){var N=In(24),L=Pi(T[0]);N.write_shift(2,L.r),N.write_shift(2,L.r),N.write_shift(2,L.c),N.write_shift(2,L.c);for(var Q="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),ne=0;ne<16;++ne)N.write_shift(1,parseInt(Q[ne],16));return z([N,go(T[1])])}function id(T,N){T.read_shift(2);var L=Rl(T,8),Q=T.read_shift((N-10)/2,"dbcs-cont");return Q=Q.replace(K,""),[L,Q]}function Lu(T){var N=T[1].Tooltip,L=In(10+2*(N.length+1));L.write_shift(2,2048);var Q=Pi(T[0]);L.write_shift(2,Q.r),L.write_shift(2,Q.r),L.write_shift(2,Q.c),L.write_shift(2,Q.c);for(var ne=0;ne0;)L.push(As(T,8));return L}function Zl(T){for(var N=T.read_shift(2),L=[];N-- >0;)L.push(As(T,8));return L}function jc(T){T.l+=2;var N={cxfs:0,crc:0};return N.cxfs=T.read_shift(2),N.crc=T.read_shift(4),N}function iu(T,N,L){if(!L.cellStyles)return ki(T,N);var Q=L&&L.biff>=12?4:2,ne=T.read_shift(Q),Te=T.read_shift(Q),Ve=T.read_shift(Q),je=T.read_shift(Q),vt=T.read_shift(2);Q==2&&(T.l+=2);var St={s:ne,e:Te,w:Ve,ixfe:je,flags:vt};return(L.biff>=5||!L.biff)&&(St.level=vt>>8&7),St}function Qu(T,N){var L=In(12);L.write_shift(2,N),L.write_shift(2,N),L.write_shift(2,T.width*256),L.write_shift(2,0);var Q=0;return T.hidden&&(Q|=1),L.write_shift(1,Q),Q=T.level||0,L.write_shift(1,Q),L.write_shift(2,0),L}function Zu(T,N){var L={};return N<32||(T.l+=16,L.header=oa(T,8),L.footer=oa(T,8),T.l+=2),L}function pu(T,N,L){var Q={area:!1};if(L.biff!=5)return T.l+=N,Q;var ne=T.read_shift(1);return T.l+=3,ne&16&&(Q.area=!0),Q}function qc(T){for(var N=In(2*T),L=0;L1048576&&(An=1e6),_r!=2&&(Nn=pr.read_shift(2));var Rn=pr.read_shift(2),un=St.codepage||1252;_r!=2&&(pr.l+=16,pr.read_shift(1),pr[pr.l]!==0&&(un=T[pr[pr.l]]),pr.l+=1,pr.l+=2),kr&&(pr.l+=36);for(var Bi=[],fa={},$i=Math.min(pr.length,_r==2?521:Nn-10-(ln?264:0)),wa=kr?32:11;pr.l<$i&&pr[pr.l]!=13;){fa={},fa.name=cptable.utils.decode(un,pr.slice(pr.l,pr.l+wa)).replace(/[\u0000\r\n].*$/g,""),pr.l+=wa,fa.type=String.fromCharCode(pr.read_shift(1)),_r!=2&&!kr&&(fa.offset=pr.read_shift(4)),fa.len=pr.read_shift(1),_r==2&&(fa.offset=pr.read_shift(2)),fa.dec=pr.read_shift(1),fa.name.length&&Bi.push(fa),_r!=2&&(pr.l+=kr?13:14);switch(fa.type){case"B":(!ln||fa.len!=8)&&St.WTF&&console.log("Skipping "+fa.name+":"+fa.type);break;case"G":case"P":St.WTF&&console.log("Skipping "+fa.name+":"+fa.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+fa.type)}}if(pr[pr.l]!==13&&(pr.l=Nn-1),pr.read_shift(1)!==13)throw new Error("DBF Terminator not found "+pr.l+" "+pr[pr.l]);pr.l=Nn;var no=0,Ca=0;for(Pt[0]=[],Ca=0;Ca!=Bi.length;++Ca)Pt[0][Ca]=Bi[Ca].name;for(;An-- >0;){if(pr[pr.l]===42){pr.l+=Rn;continue}for(++pr.l,Pt[++no]=[],Ca=0,Ca=0;Ca!=Bi.length;++Ca){var Ma=pr.slice(pr.l,pr.l+Bi[Ca].len);pr.l+=Bi[Ca].len,Cn(Ma,0);var La=cptable.utils.decode(un,Ma);switch(Bi[Ca].type){case"C":La.trim().length&&(Pt[no][Ca]=La.replace(/\s+$/,""));break;case"D":La.length===8?Pt[no][Ca]=new Date(+La.slice(0,4),+La.slice(4,6)-1,+La.slice(6,8)):Pt[no][Ca]=La;break;case"F":Pt[no][Ca]=parseFloat(La.trim());break;case"+":case"I":Pt[no][Ca]=kr?Ma.read_shift(-4,"i")^2147483648:Ma.read_shift(4,"i");break;case"L":switch(La.trim().toUpperCase()){case"Y":case"T":Pt[no][Ca]=!0;break;case"N":case"F":Pt[no][Ca]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+La+"|")}break;case"M":if(!Rr)throw new Error("DBF Unexpected MEMO for type "+_r.toString(16));Pt[no][Ca]="##MEMO##"+(kr?parseInt(La.trim(),10):Ma.read_shift(4));break;case"N":La=La.replace(/\u0000/g,"").trim(),La&&La!="."&&(Pt[no][Ca]=+La||0);break;case"@":Pt[no][Ca]=new Date(Ma.read_shift(-8,"f")-621356832e5);break;case"T":Pt[no][Ca]=new Date((Ma.read_shift(4)-2440588)*864e5+Ma.read_shift(4));break;case"Y":Pt[no][Ca]=Ma.read_shift(4,"i")/1e4;break;case"O":Pt[no][Ca]=-Ma.read_shift(-8,"f");break;case"B":if(ln&&Bi[Ca].len==8){Pt[no][Ca]=Ma.read_shift(8,"f");break}case"G":case"P":Ma.l+=Bi[Ca].len;break;case"0":if(Bi[Ca].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+Bi[Ca].type)}}}if(_r!=2&&(pr.l=0&&o(+Pt.codepage),Pt.type=="string")throw new Error("Cannot write DBF to JS string");var pr=Ei(),_r=af(vt,{header:1,raw:!0,cellDates:!0}),Rr=_r[0],ln=_r.slice(1),kr=0,An=0,Nn=0,Rn=1;for(kr=0;kr":190,"?":191,"{":223},N=new RegExp("N("+Ge(T).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),L=function(Rr,ln){var kr=T[ln];return typeof kr=="number"?S(kr):kr},Q=function(Rr,ln,kr){var An=ln.charCodeAt(0)-32<<4|kr.charCodeAt(0)-48;return An==59?Rr:S(An)};T["|"]=254;function ne(_r,Rr){switch(Rr.type){case"base64":return Te(C.decode(_r),Rr);case"binary":return Te(_r,Rr);case"buffer":return Te(E&&b.isBuffer(_r)?_r.toString("binary"):J(_r),Rr);case"array":return Te(Pe(_r),Rr)}throw new Error("Unrecognized type "+Rr.type)}function Te(_r,Rr){var ln=_r.split(/[\n\r]+/),kr=-1,An=-1,Nn=0,Rn=0,un=[],Bi=[],fa=null,$i={},wa=[],no=[],Ca=[],Ma=0,La;for(+Rr.codepage>=0&&o(+Rr.codepage);Nn!==ln.length;++Nn){Ma=0;var ua=ln[Nn].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,Q).replace(N,L),xo=ua.replace(/;;/g,"\0").split(";").map(function(Hi){return Hi.replace(/\u0000/g,";")}),Os=xo[0],is;if(ua.length>0)switch(Os){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":xo[1].charAt(0)=="P"&&Bi.push(ua.slice(3).replace(/;;/g,";"));break;case"C":var Gs=!1,Ms=!1,Dl=!1,Ao=!1,Hs=-1,Qo=-1;for(Rn=1;Rn-1&&un[Hs][Qo];if(!ii||!ii[1])throw new Error("SYLK shared formula cannot find base");un[kr][An][1]=fs(ii[1],{r:kr-Hs,c:An-Qo})}break;case"F":var aa=0;for(Rn=1;Rn0?(wa[kr].hpt=Ma,wa[kr].hpx=js(Ma)):Ma===0&&(wa[kr].hidden=!0);break;default:if(Rr&&Rr.WTF)throw new Error("SYLK bad record "+ua)}aa<1&&(fa=null);break;default:if(Rr&&Rr.WTF)throw new Error("SYLK bad record "+ua)}}return wa.length>0&&($i["!rows"]=wa),no.length>0&&($i["!cols"]=no),Rr&&Rr.sheetRows&&(un=un.slice(0,Rr.sheetRows)),[un,$i]}function Ve(_r,Rr){var ln=ne(_r,Rr),kr=ln[0],An=ln[1],Nn=Pn(kr,Rr);return Ge(An).forEach(function(Rn){Nn[Rn]=An[Rn]}),Nn}function je(_r,Rr){return pn(Ve(_r,Rr),Rr)}function vt(_r,Rr,ln,kr){var An="C;Y"+(ln+1)+";X"+(kr+1)+";K";switch(_r.t){case"n":An+=_r.v||0,_r.f&&!_r.F&&(An+=";E"+Ds(_r.f,{r:ln,c:kr}));break;case"b":An+=_r.v?"TRUE":"FALSE";break;case"e":An+=_r.w||_r.v;break;case"d":An+='"'+(_r.w||_r.v)+'"';break;case"s":An+='"'+_r.v.replace(/"/g,"")+'"';break}return An}function St(_r,Rr){Rr.forEach(function(ln,kr){var An="F;W"+(kr+1)+" "+(kr+1)+" ";ln.hidden?An+="0":(typeof ln.width=="number"&&!ln.wpx&&(ln.wpx=ra(ln.width)),typeof ln.wpx=="number"&&!ln.wch&&(ln.wch=Pa(ln.wpx)),typeof ln.wch=="number"&&(An+=Math.round(ln.wch))),An.charAt(An.length-1)!=" "&&_r.push(An)})}function Pt(_r,Rr){Rr.forEach(function(ln,kr){var An="F;";ln.hidden?An+="M0;":ln.hpt?An+="M"+20*ln.hpt+";":ln.hpx&&(An+="M"+20*ts(ln.hpx)+";"),An.length>2&&_r.push(An+"R"+(kr+1))})}function pr(_r,Rr){var ln=["ID;PWXL;N;E"],kr=[],An=ta(_r["!ref"]),Nn,Rn=Array.isArray(_r),un=`\r +`);for(var L=0;L!=T.length;++L)N.push(xs(T[L][0],T[L][1])),N.push(Js("",T[L][0]));return N.push(xs("","Document","pkg")),N.push(""),N.join("")}var ks=function(){var T='SheetJS '+d.version+"";return function(){return T}}(),Jo=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];on.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",Ja.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";var bs=function(){for(var T=new Array(Jo.length),N=0;N]*>([\\s\\S]*?)")}return T}();function Ho(T){var N={};T=er(T);for(var L=0;L0&&(N[Q[1]]=Tn(ne[1])),Q[2]==="date"&&N[Q[1]]&&(N[Q[1]]=pt(N[Q[1]]))}return N}var Ls=dr("cp:coreProperties",null,{"xmlns:cp":on.CORE_PROPS,"xmlns:dc":on.dc,"xmlns:dcterms":on.dcterms,"xmlns:dcmitype":on.dcmitype,"xmlns:xsi":on.xsi});function Ps(T,N,L,Q,ne){if(ne[T]!=null||N==null||N==="")return;ne[T]=N,N=lt(N),Q[Q.length]=L?dr(T,N,L):tr(T,N)}function Ra(T,N){var L=N||{},Q=[Ht,Ls],ne={};if(!T&&!L.Props)return Q.join("");T&&(T.CreatedDate!=null&&Ps("dcterms:created",typeof T.CreatedDate=="string"?T.CreatedDate:Tr(T.CreatedDate,L.WTF),{"xsi:type":"dcterms:W3CDTF"},Q,ne),T.ModifiedDate!=null&&Ps("dcterms:modified",typeof T.ModifiedDate=="string"?T.ModifiedDate:Tr(T.ModifiedDate,L.WTF),{"xsi:type":"dcterms:W3CDTF"},Q,ne));for(var Te=0;Te!=Jo.length;++Te){var Ve=Jo[Te],je=L.Props&&L.Props[Ve[1]]!=null?L.Props[Ve[1]]:T?T[Ve[1]]:null;je===!0?je="1":je===!1?je="0":typeof je=="number"&&(je=String(je)),je!=null&&Ps(Ve[0],je,null,Q,ne)}return Q.length>2&&(Q[Q.length]="",Q[1]=Q[1].replace("/>",">")),Q.join("")}var ho=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];on.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",Ja.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";var ll=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function ml(T,N,L,Q){var ne=[];if(typeof T=="string")ne=rr(T,Q);else for(var Te=0;Te0)for(var St=0;St!==ne.length;St+=2){vt=+ne[St+1].v;switch(ne[St].v){case"Worksheets":case"\u5DE5\u4F5C\u8868":case"\u041B\u0438\u0441\u0442\u044B":case"\u0623\u0648\u0631\u0627\u0642 \u0627\u0644\u0639\u0645\u0644":case"\u30EF\u30FC\u30AF\u30B7\u30FC\u30C8":case"\u05D2\u05DC\u05D9\u05D5\u05E0\u05D5\u05EA \u05E2\u05D1\u05D5\u05D3\u05D4":case"Arbeitsbl\xE4tter":case"\xC7al\u0131\u015Fma Sayfalar\u0131":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de c\xE1lculo":case"Planilhas":case"Regneark":case"Hojas de c\xE1lculo":case"Werkbladen":L.Worksheets=vt,L.SheetNames=Ve.slice(je,je+vt);break;case"Named Ranges":case"Rangos con nombre":case"\u540D\u524D\u4ED8\u304D\u4E00\u89A7":case"Benannte Bereiche":case"Navngivne omr\xE5der":L.NamedRanges=vt,L.DefinedNames=Ve.slice(je,je+vt);break;case"Charts":case"Diagramme":L.Chartsheets=vt,L.ChartNames=Ve.slice(je,je+vt);break}je+=vt}}function wl(T,N,L){var Q={};return N||(N={}),T=er(T),ho.forEach(function(ne){var Te=(T.match(It(ne[0]))||[])[1];switch(ne[2]){case"string":Te&&(N[ne[1]]=Tn(Te));break;case"bool":N[ne[1]]=Te==="true";break;case"raw":var Ve=T.match(new RegExp("<"+ne[0]+"[^>]*>([\\s\\S]*?)"));Ve&&Ve.length>0&&(Q[ne[1]]=Ve[1]);break}}),Q.HeadingPairs&&Q.TitlesOfParts&&ml(Q.HeadingPairs,Q.TitlesOfParts,N,L),N}var El=dr("Properties",null,{xmlns:on.EXT_PROPS,"xmlns:vt":on.vt});function Xs(T){var N=[],L=dr;return T||(T={}),T.Application="SheetJS",N[N.length]=Ht,N[N.length]=El,ho.forEach(function(Q){if(T[Q[1]]===void 0)return;var ne;switch(Q[2]){case"string":ne=lt(String(T[Q[1]]));break;case"bool":ne=T[Q[1]]?"true":"false";break}ne!==void 0&&(N[N.length]=L(Q[0],ne))}),N[N.length]=L("HeadingPairs",L("vt:vector",L("vt:variant","Worksheets")+L("vt:variant",L("vt:i4",String(T.Worksheets))),{size:2,baseType:"variant"})),N[N.length]=L("TitlesOfParts",L("vt:vector",T.SheetNames.map(function(Q){return""+lt(Q)+""}).join(""),{size:T.Worksheets,baseType:"lpstr"})),N.length>2&&(N[N.length]="",N[1]=N[1].replace("/>",">")),N.join("")}on.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",Ja.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var Xo=/<[^>]+>[^<]*/g;function gl(T,N){var L={},Q="",ne=T.match(Xo);if(ne)for(var Te=0;Te!=ne.length;++Te){var Ve=ne[Te],je=Gt(Ve);switch(je[0]){case"":Q=null;break;default:if(Ve.indexOf(""),St=vt[0].slice(4),Pt=vt[1];switch(St){case"lpstr":case"bstr":case"lpwstr":L[Q]=Tn(Pt);break;case"bool":L[Q]=Xt(Pt);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":L[Q]=parseInt(Pt,10);break;case"r4":case"r8":case"decimal":L[Q]=parseFloat(Pt);break;case"filetime":case"date":L[Q]=pt(Pt);break;case"cy":case"error":L[Q]=Tn(Pt);break;default:if(St.slice(-1)=="/")break;N.WTF&&typeof console!="undefined"&&console.warn("Unexpected",Ve,St,vt)}}else if(!(Ve.slice(0,2)==="2&&(N[N.length]="",N[1]=N[1].replace("/>",">")),N.join("")}var $s={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"},us=Z($s);function _l(T,N,L){N=us[N]||N,T[N]=L}function Wc(T,N){var L=[];return Ge($s).map(function(Q){for(var ne=0;ne'+ne.join("")+""}function Bl(T){var N=T.read_shift(4),L=T.read_shift(4);return new Date((L/1e7*Math.pow(2,32)+N/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function oc(T){var N=typeof T=="string"?new Date(Date.parse(T)):T,L=N.getTime()/1e3+11644473600,Q=L%Math.pow(2,32),ne=(L-Q)/Math.pow(2,32);Q*=1e7,ne*=1e7;var Te=Q/Math.pow(2,32)|0;Te>0&&(Q=Q%Math.pow(2,32),ne+=Te);var Ve=In(8);return Ve.write_shift(4,Q),Ve.write_shift(4,ne),Ve}function sc(T,N,L){var Q=T.l,ne=T.read_shift(0,"lpstr-cp");if(L)for(;T.l-Q&3;)++T.l;return ne}function ql(T,N,L){var Q=T.read_shift(0,"lpwstr");return L&&(T.l+=4-(Q.length+1&3)&3),Q}function Al(T,N,L){return N===31?ql(T):sc(T,N,L)}function zs(T,N,L){return Al(T,N,L===!1?0:4)}function Ml(T,N){if(!N)throw new Error("VtUnalignedString must have positive length");return Al(T,N,0)}function vl(T){for(var N=T.read_shift(4),L=[],Q=0;Q!=N;++Q){var ne=T.l;L[Q]=T.read_shift(0,"lpwstr").replace(W,""),T.l-ne&2&&(T.l+=2)}return L}function cl(T){for(var N=T.read_shift(4),L=[],Q=0;Q!=N;++Q)L[Q]=T.read_shift(0,"lpstr-cp").replace(W,"");return L}function mn(T){var N=T.l,L=Ss(T,bo);T[T.l]==0&&T[T.l+1]==0&&T.l-N&2&&(T.l+=2);var Q=Ss(T,Jr);return[L,Q]}function da(T){for(var N=T.read_shift(4),L=[],Q=0;Q>2+1<<2),Q}function pc(T){var N=T.read_shift(4),L=T.slice(T.l,T.l+N);return T.l+=N,(N&3)>0&&(T.l+=4-(N&3)&3),L}function xc(T){var N={};return N.Size=T.read_shift(4),T.l+=N.Size+3-(N.Size-1)%4,N}function Ss(T,N,L){var Q=T.read_shift(2),ne,Te=L||{};if(T.l+=2,N!==Dn&&(Q!==N&&vo.indexOf(N)===-1&&!((N&65534)==4126&&(Q&65534)==4126)))throw new Error("Expected type "+N+" saw "+Q);switch(N===Dn?Q:N){case 2:return ne=T.read_shift(2,"i"),Te.raw||(T.l+=2),ne;case 3:return ne=T.read_shift(4,"i"),ne;case 11:return T.read_shift(4)!==0;case 19:return ne=T.read_shift(4),ne;case 30:return sc(T,Q,4).replace(W,"");case 31:return ql(T);case 64:return Bl(T);case 65:return pc(T);case 71:return xc(T);case 80:return zs(T,Q,!Te.raw).replace(W,"");case 81:return Ml(T,Q).replace(W,"");case 4108:return da(T);case 4126:case 4127:return Q==4127?vl(T):cl(T);default:throw new Error("TypedPropertyValue unrecognized type "+N+" "+Q)}}function Ws(T,N){var L=In(4),Q=In(4);L.write_shift(4,T==80?31:T);switch(T){case 3:Q.write_shift(-4,N);break;case 5:Q=In(8),Q.write_shift(8,N,"f");break;case 11:Q.write_shift(4,N?1:0);break;case 64:Q=oc(N);break;case 31:case 80:for(Q=In(4+2*(N.length+1)+(N.length%2?0:2)),Q.write_shift(4,N.length+1),Q.write_shift(0,N,"dbcs");Q.l!=Q.length;)Q.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+T+" "+N)}return z([L,Q])}function xl(T,N){var L=T.l,Q=T.read_shift(4),ne=T.read_shift(4),Te=[],Ve=0,je=0,vt=-1,St={};for(Ve=0;Ve!=ne;++Ve){var Pt=T.read_shift(4),pr=T.read_shift(4);Te[Ve]=[Pt,pr+L]}Te.sort(function(Rn,un){return Rn[1]-un[1]});var _r={};for(Ve=0;Ve!=ne;++Ve){if(T.l!==Te[Ve][1]){var Rr=!0;if(Ve>0&&N)switch(N[Te[Ve-1][0]].t){case 2:T.l+2===Te[Ve][1]&&(T.l+=2,Rr=!1);break;case 80:T.l<=Te[Ve][1]&&(T.l=Te[Ve][1],Rr=!1);break;case 4108:T.l<=Te[Ve][1]&&(T.l=Te[Ve][1],Rr=!1);break}if((!N||Ve==0)&&T.l<=Te[Ve][1]&&(Rr=!1,T.l=Te[Ve][1]),Rr)throw new Error("Read Error: Expected address "+Te[Ve][1]+" at "+T.l+" :"+Ve)}if(N){var ln=N[Te[Ve][0]];if(_r[ln.n]=Ss(T,ln.t,{raw:!0}),ln.p==="version"&&(_r[ln.n]=String(_r[ln.n]>>16)+"."+("0000"+String(_r[ln.n]&65535)).slice(-4)),ln.n=="CodePage")switch(_r[ln.n]){case 0:_r[ln.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:o(je=_r[ln.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+_r[ln.n])}}else if(Te[Ve][0]===1){if(je=_r.CodePage=Ss(T,an),o(je),vt!==-1){var kr=T.l;T.l=Te[vt][1],St=Oc(T,je),T.l=kr}}else if(Te[Ve][0]===0){if(je===0){vt=Ve,T.l=Te[Ve+1][1];continue}St=Oc(T,je)}else{var An=St[Te[Ve][0]],Nn;switch(T[T.l]){case 65:T.l+=4,Nn=pc(T);break;case 30:T.l+=4,Nn=zs(T,T[T.l-4]).replace(/\u0000+$/,"");break;case 31:T.l+=4,Nn=zs(T,T[T.l-4]).replace(/\u0000+$/,"");break;case 3:T.l+=4,Nn=T.read_shift(4,"i");break;case 19:T.l+=4,Nn=T.read_shift(4);break;case 5:T.l+=4,Nn=T.read_shift(8,"f");break;case 11:T.l+=4,Nn=Ts(T,4);break;case 64:T.l+=4,Nn=pt(Bl(T));break;default:throw new Error("unparsed value: "+T[T.l])}_r[An]=Nn}}return T.l=L+Q,_r}var ul=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"].concat(ll);function nc(T){switch(typeof T){case"boolean":return 11;case"number":return(T|0)==T?3:5;case"string":return 31;case"object":if(T instanceof Date)return 64;break}return-1}function Xl(T,N,L){var Q=In(8),ne=[],Te=[],Ve=8,je=0,vt=In(8),St=In(8);if(vt.write_shift(4,2),vt.write_shift(4,1200),St.write_shift(4,1),Te.push(vt),ne.push(St),Ve+=8+vt.length,!N){St=In(8),St.write_shift(4,0),ne.unshift(St);var Pt=[In(4)];for(Pt[0].write_shift(4,T.length),je=0;je-1)continue;if(T[je][1]==null)continue;var _r=T[je][1],Rr=0;if(N){Rr=+N[T[je][0]];var ln=L[Rr];if(ln.p=="version"&&typeof _r=="string"){var kr=_r.split(".");_r=(+kr[0]<<16)+(+kr[1]||0)}vt=Ws(ln.t,_r)}else{var An=nc(_r);An==-1&&(An=31,_r=String(_r)),vt=Ws(An,_r)}Te.push(vt),St=In(8),St.write_shift(4,N?Rr:2+je),ne.push(St),Ve+=8+vt.length}var Nn=8*(Te.length+1);for(je=0;je=12?2:1),ne="sbcs-cont",Te=a;if(L&&L.biff>=8&&(a=1200),!L||L.biff==8){var Ve=T.read_shift(1);Ve&&(ne="dbcs-cont")}else L.biff==12&&(ne="wstr");L.biff>=2&&L.biff<=5&&(ne="cpstr");var je=Q?T.read_shift(Q,ne):"";return a=Te,je}function Ce(T){var N=a;a=1200;var L=T.read_shift(2),Q=T.read_shift(1),ne=Q&4,Te=Q&8,Ve=1+(Q&1),je=0,vt,St={};Te&&(je=T.read_shift(2)),ne&&(vt=T.read_shift(4));var Pt=Ve==2?"dbcs-cont":"sbcs-cont",pr=L===0?"":T.read_shift(L,Pt);return Te&&(T.l+=4*je),ne&&(T.l+=vt),St.t=pr,Te||(St.raw=""+St.t+"",St.r=St.t),a=N,St}function Ie(T){var N=T.t||"",L=1,Q=In(3+(L>1?2:0));Q.write_shift(2,N.length),Q.write_shift(1,(L>1?8:0)|1),L>1&&Q.write_shift(2,L);var ne=In(2*N.length);ne.write_shift(2*N.length,N,"utf16le");var Te=[Q,ne];return z(Te)}function Ye(T,N,L){var Q;if(L){if(L.biff>=2&&L.biff<=5)return T.read_shift(N,"cpstr");if(L.biff>=12)return T.read_shift(N,"dbcs-cont")}var ne=T.read_shift(1);return ne===0?Q=T.read_shift(N,"sbcs-cont"):Q=T.read_shift(N,"dbcs-cont"),Q}function _t(T,N,L){var Q=T.read_shift(L&&L.biff==2?1:2);return Q===0?(T.l++,""):Ye(T,Q,L)}function Yt(T,N,L){if(L.biff>5)return _t(T,N,L);var Q=T.read_shift(1);return Q===0?(T.l++,""):T.read_shift(Q,L.biff<=4||!T.lens?"cpstr":"sbcs-cont")}function Pr(T,N,L){return L||(L=In(3+2*T.length)),L.write_shift(2,T.length),L.write_shift(1,1),L.write_shift(31,T,"utf16le"),L}function Yr(T){var N=T.read_shift(1);T.l++;var L=T.read_shift(2);return T.l+=2,[N,L]}function yn(T){var N=T.read_shift(4),L=T.l,Q=!1;N>24&&(T.l+=N-24,T.read_shift(16)==="795881f43b1d7f48af2c825dc4852763"&&(Q=!0),T.l=L);var ne=T.read_shift((Q?N-24:N)>>1,"utf16le").replace(W,"");return Q&&(T.l+=24),ne}function Jn(T){for(var N=T.read_shift(2),L="";N-- >0;)L+="../";var Q=T.read_shift(0,"lpstr-ansi");if(T.l+=2,T.read_shift(2)!=57005)throw new Error("Bad FileMoniker");var ne=T.read_shift(4);if(ne===0)return L+Q.replace(/\\/g,"/");var Te=T.read_shift(4);if(T.read_shift(2)!=3)throw new Error("Bad FileMoniker");var Ve=T.read_shift(Te>>1,"utf16le").replace(W,"");return L+Ve}function Ci(T,N){var L=T.read_shift(16);N-=16;switch(L){case"e0c9ea79f9bace118c8200aa004ba90b":return yn(T,N);case"0303000000000000c000000000000046":return Jn(T,N);default:throw new Error("Unsupported Moniker "+L)}}function Xi(T){var N=T.read_shift(4),L=N>0?T.read_shift(N,"utf16le").replace(W,""):"";return L}function ga(T,N){N||(N=In(6+T.length*2)),N.write_shift(4,1+T.length);for(var L=0;L-1?31:23;switch(Q.charAt(0)){case"#":Te=28;break;case".":Te&=~2;break}N.write_shift(4,2),N.write_shift(4,Te);var Ve=[8,6815827,6619237,4849780,83];for(L=0;L-1?Q.slice(0,ne):Q;for(N.write_shift(4,2*(je.length+1)),L=0;L-1?Q.slice(ne+1):"",N)}else{for(Ve="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),L=0;L8?4:2,ne=T.read_shift(Q),Te=T.read_shift(Q,"i"),Ve=T.read_shift(Q,"i");return[ne,Te,Ve]}function ls(T){var N=T.read_shift(2),L=Ia(T);return[N,L]}function Ys(T,N,L){T.l+=4,N-=4;var Q=T.l+N,ne=he(T,N,L),Te=T.read_shift(2);if(Q-=T.l,Te!==Q)throw new Error("Malformed AddinUdf: padding = "+Q+" != "+Te);return T.l+=Te,ne}function Rl(T){var N=T.read_shift(2),L=T.read_shift(2),Q=T.read_shift(2),ne=T.read_shift(2);return{s:{c:Q,r:N},e:{c:ne,r:L}}}function kl(T,N){return N||(N=In(8)),N.write_shift(2,T.s.r),N.write_shift(2,T.e.r),N.write_shift(2,T.s.c),N.write_shift(2,T.e.c),N}function el(T){var N=T.read_shift(2),L=T.read_shift(2),Q=T.read_shift(1),ne=T.read_shift(1);return{s:{c:Q,r:N},e:{c:ne,r:L}}}var Cl=el;function mc(T){T.l+=4;var N=T.read_shift(2),L=T.read_shift(2),Q=T.read_shift(2);return T.l+=12,[L,N,Q]}function lc(T){var N={};return T.l+=4,T.l+=16,N.fSharedNote=T.read_shift(2),T.l+=4,N}function bl(T){var N={};return T.l+=4,T.cf=T.read_shift(2),N}function il(T){T.l+=2,T.l+=T.read_shift(2)}var Yl={0:il,4:il,5:il,6:il,7:bl,8:il,9:il,10:il,11:il,12:il,13:lc,14:il,15:il,16:il,17:il,18:il,19:il,20:il,21:mc};function cu(T,N){for(var L=T.l+N,Q=[];T.l=2&&(L.dt=T.read_shift(2),T.l-=2);switch(L.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(N>6)throw new Error("Unexpected BIFF Ver "+L.BIFFVer)}return T.read_shift(N),L}function ec(T,N,L){var Q=1536,ne=16;switch(L.bookType){case"biff8":break;case"biff5":Q=1280,ne=8;break;case"biff4":Q=4,ne=6;break;case"biff3":Q=3,ne=6;break;case"biff2":Q=2,ne=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var Te=In(ne);return Te.write_shift(2,Q),Te.write_shift(2,N),ne>4&&Te.write_shift(2,29282),ne>6&&Te.write_shift(2,1997),ne>8&&(Te.write_shift(2,49161),Te.write_shift(2,1),Te.write_shift(2,1798),Te.write_shift(2,0)),Te}function al(T,N){return N===0||T.read_shift(2)!==1200,1200}function lo(T,N,L){if(L.enc)return T.l+=N,"";var Q=T.l,ne=Yt(T,0,L);return T.read_shift(N+Q-T.l),ne}function Pc(T,N){var L=!N||N.biff==8,Q=In(L?112:54);for(Q.write_shift(N.biff==8?2:1,7),L&&Q.write_shift(1,0),Q.write_shift(4,859007059),Q.write_shift(4,5458548|(L?0:536870912));Q.l=8?2:1,Q=In(8+L*T.name.length);Q.write_shift(4,T.pos),Q.write_shift(1,T.hs||0),Q.write_shift(1,T.dt),Q.write_shift(1,T.name.length),N.biff>=8&&Q.write_shift(1,1),Q.write_shift(L*T.name.length,T.name,N.biff<8?"sbcs":"utf16le");var ne=Q.slice(0,Q.l);return ne.l=Q.l,ne}function Ac(T,N){for(var L=T.l+N,Q=T.read_shift(4),ne=T.read_shift(4),Te=[],Ve=0;Ve!=ne&&T.l>15),ne&=32767);var Te={Unsynced:Q&1,DyZero:(Q&2)>>1,ExAsc:(Q&4)>>2,ExDsc:(Q&8)>>3};return[Te,ne]}function es(T){var N=T.read_shift(2),L=T.read_shift(2),Q=T.read_shift(2),ne=T.read_shift(2),Te=T.read_shift(2),Ve=T.read_shift(2),je=T.read_shift(2),vt=T.read_shift(2),St=T.read_shift(2);return{Pos:[N,L],Dim:[Q,ne],Flags:Te,CurTab:Ve,FirstTab:je,Selected:vt,TabRatio:St}}function Is(){var T=In(18);return T.write_shift(2,0),T.write_shift(2,0),T.write_shift(2,29280),T.write_shift(2,17600),T.write_shift(2,56),T.write_shift(2,0),T.write_shift(2,0),T.write_shift(2,1),T.write_shift(2,500),T}function Tl(T,N,L){if(L&&L.biff>=2&&L.biff<5)return{};var Q=T.read_shift(2);return{RTL:Q&64}}function Tc(T){var N=In(18),L=1718;return T&&T.RTL&&(L|=64),N.write_shift(2,L),N.write_shift(4,0),N.write_shift(4,64),N.write_shift(4,0),N.write_shift(4,0),N}function tc(){}function cc(T,N,L){var Q={dyHeight:T.read_shift(2),fl:T.read_shift(2)};switch(L&&L.biff||8){case 2:break;case 3:case 4:T.l+=2;break;default:T.l+=10;break}return Q.name=he(T,0,L),Q}function sl(T,N){var L=T.name||"Arial",Q=N&&N.biff==5,ne=Q?15+L.length:16+2*L.length,Te=In(ne);return Te.write_shift(2,(T.sz||12)*20),Te.write_shift(4,0),Te.write_shift(2,400),Te.write_shift(4,0),Te.write_shift(2,0),Te.write_shift(1,L.length),Q||Te.write_shift(1,1),Te.write_shift((Q?1:2)*L.length,L,Q?"sbcs":"utf16le"),Te}function tl(T){var N=ss(T);return N.isst=T.read_shift(4),N}function Fl(T,N,L,Q){var ne=In(10);return ps(T,N,Q,ne),ne.write_shift(4,L),ne}function Zs(T,N,L){L.biffguess&&L.biff==2&&(L.biff=5);var Q=T.l+N,ne=ss(T,6);L.biff==2&&T.l++;var Te=_t(T,Q-T.l,L);return ne.val=Te,ne}function Nc(T,N,L,Q,ne){var Te=!ne||ne.biff==8,Ve=In(6+2+ +Te+(1+Te)*L.length);return ps(T,N,Q,Ve),Ve.write_shift(2,L.length),Te&&Ve.write_shift(1,1),Ve.write_shift((1+Te)*L.length,L,Te?"utf16le":"sbcs"),Ve}function Ru(T,N,L){var Q=T.read_shift(2),ne=Yt(T,0,L);return[Q,ne]}function uu(T,N,L,Q){var ne=L&&L.biff==5;Q||(Q=In(ne?3+N.length:5+2*N.length)),Q.write_shift(2,T),Q.write_shift(ne?1:2,N.length),ne||Q.write_shift(1,1),Q.write_shift((ne?1:2)*N.length,N,ne?"sbcs":"utf16le");var Te=Q.length>Q.l?Q.slice(0,Q.l):Q;return Te.l==null&&(Te.l=Te.length),Te}var Hu=Yt;function Xc(T,N,L){var Q=T.l+N,ne=L.biff==8||!L.biff?4:2,Te=T.read_shift(ne),Ve=T.read_shift(ne),je=T.read_shift(2),vt=T.read_shift(2);return T.l=Q,{s:{r:Te,c:je},e:{r:Ve,c:vt}}}function bu(T,N){var L=N.biff==8||!N.biff?4:2,Q=In(2*L+6);return Q.write_shift(L,T.s.r),Q.write_shift(L,T.e.r+1),Q.write_shift(2,T.s.c),Q.write_shift(2,T.e.c+1),Q.write_shift(2,0),Q}function Tu(T){var N=T.read_shift(2),L=T.read_shift(2),Q=ls(T);return{r:N,c:L,ixfe:Q[0],rknum:Q[1]}}function Dd(T,N){for(var L=T.l+N-2,Q=T.read_shift(2),ne=T.read_shift(2),Te=[];T.l>26],Q.cellStyles&&(ne.alc=Te&7,ne.fWrap=Te>>3&1,ne.alcV=Te>>4&7,ne.fJustLast=Te>>7&1,ne.trot=Te>>8&255,ne.cIndent=Te>>16&15,ne.fShrinkToFit=Te>>20&1,ne.iReadOrder=Te>>22&2,ne.fAtrNum=Te>>26&1,ne.fAtrFnt=Te>>27&1,ne.fAtrAlc=Te>>28&1,ne.fAtrBdr=Te>>29&1,ne.fAtrPat=Te>>30&1,ne.fAtrProt=Te>>31&1,ne.dgLeft=Ve&15,ne.dgRight=Ve>>4&15,ne.dgTop=Ve>>8&15,ne.dgBottom=Ve>>12&15,ne.icvLeft=Ve>>16&127,ne.icvRight=Ve>>23&127,ne.grbitDiag=Ve>>30&3,ne.icvTop=je&127,ne.icvBottom=je>>7&127,ne.icvDiag=je>>14&127,ne.dgDiag=je>>21&15,ne.icvFore=vt&127,ne.icvBack=vt>>7&127,ne.fsxButton=vt>>14&1),ne}function Rd(T,N,L){var Q={};return Q.ifnt=T.read_shift(2),Q.numFmtId=T.read_shift(2),Q.flags=T.read_shift(2),Q.fStyle=Q.flags>>2&1,N-=6,Q.data=Md(T,N,Q.fStyle,L),Q}function du(T,N,L,Q){var ne=L&&L.biff==5;Q||(Q=In(ne?16:20)),Q.write_shift(2,0),T.style?(Q.write_shift(2,T.numFmtId||0),Q.write_shift(2,65524)):(Q.write_shift(2,T.numFmtId||0),Q.write_shift(2,N<<4));var Te=0;return T.numFmtId>0&&ne&&(Te|=1024),Q.write_shift(4,Te),Q.write_shift(4,0),ne||Q.write_shift(4,0),Q.write_shift(2,0),Q}function Rc(T){T.l+=4;var N=[T.read_shift(2),T.read_shift(2)];if(N[0]!==0&&N[0]--,N[1]!==0&&N[1]--,N[0]>7||N[1]>7)throw new Error("Bad Gutters: "+N.join("|"));return N}function Fc(T){var N=In(8);return N.write_shift(4,0),N.write_shift(2,T[0]?T[0]+1:0),N.write_shift(2,T[1]?T[1]+1:0),N}function Uc(T,N,L){var Q=ss(T,6);(L.biff==2||N==9)&&++T.l;var ne=ri(T,2);return Q.val=ne,Q.t=ne===!0||ne===!1?"b":"e",Q}function Fu(T,N,L,Q,ne,Te){var Ve=In(8);return ps(T,N,Q,Ve),Lt(L,Te,Ve),Ve}function zu(T,N,L){L.biffguess&&L.biff==2&&(L.biff=5);var Q=ss(T,6),ne=oa(T,8);return Q.val=ne,Q}function rd(T,N,L,Q){var ne=In(14);return ps(T,N,Q,ne),Ba(L,ne),ne}var Iu=Ks;function yu(T,N,L){var Q=T.l+N,ne=T.read_shift(2),Te=T.read_shift(2);if(L.sbcch=Te,Te==1025||Te==14849)return[Te,ne];if(Te<1||Te>255)throw new Error("Unexpected SupBook type: "+Te);for(var Ve=Ye(T,Te),je=[];Q>T.l;)je.push(_t(T));return[Te,ne,Ve,je]}function Wu(T,N,L){var Q=T.read_shift(2),ne,Te={fBuiltIn:Q&1,fWantAdvise:Q>>>1&1,fWantPict:Q>>>2&1,fOle:Q>>>3&1,fOleLink:Q>>>4&1,cf:Q>>>5&1023,fIcon:Q>>>15&1};return L.sbcch===14849&&(ne=Ys(T,N-2,L)),Te.body=ne||T.read_shift(N-2),typeof ne=="string"&&(Te.Name=ne),Te}var Ku=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function Vu(T,N,L){var Q=T.l+N,ne=T.read_shift(2),Te=T.read_shift(1),Ve=T.read_shift(1),je=T.read_shift(L&&L.biff==2?1:2),vt=0;(!L||L.biff>=5)&&(L.biff!=5&&(T.l+=2),vt=T.read_shift(2),L.biff==5&&(T.l+=2),T.l+=4);var St=Ye(T,Ve,L);ne&32&&(St=Ku[St.charCodeAt(0)]);var Pt=Q-T.l;L&&L.biff==2&&--Pt;var pr=Q==T.l||je===0||!(Pt>0)?[]:xm(T,Pt,L,je);return{chKey:Te,Name:St,itab:vt,rgce:pr}}function $c(T,N,L){if(L.biff<8)return hu(T,N,L);for(var Q=[],ne=T.l+N,Te=T.read_shift(L.biff>8?4:2);Te--!==0;)Q.push(dl(T,L.biff>8?12:6,L));if(T.l!=ne)throw new Error("Bad ExternSheet: "+T.l+" != "+ne);return Q}function hu(T,N,L){T[T.l+1]==3&&T[T.l]++;var Q=he(T,N,L);return Q.charCodeAt(0)==3?Q.slice(1):Q}function wu(T,N,L){if(L.biff<8){T.l+=N;return}var Q=T.read_shift(2),ne=T.read_shift(2),Te=Ye(T,Q,L),Ve=Ye(T,ne,L);return[Te,Ve]}function Xu(T,N,L){var Q=el(T,6);T.l++;var ne=T.read_shift(1);return N-=8,[Sm(T,N,L),ne,Q]}function nu(T,N,L){var Q=Cl(T,6);switch(L.biff){case 2:T.l++,N-=7;break;case 3:case 4:T.l+=2,N-=8;break;default:T.l+=6,N-=12}return[Q,ym(T,N,L,Q)]}function Fd(T){var N=T.read_shift(4)!==0,L=T.read_shift(4)!==0,Q=T.read_shift(4);return[N,L,Q]}function Yc(T,N,L){if(L.biff<8)return;var Q=T.read_shift(2),ne=T.read_shift(2),Te=T.read_shift(2),Ve=T.read_shift(2),je=Yt(T,0,L);return L.biff<8&&T.read_shift(1),[{r:Q,c:ne},je,Ve,Te]}function ru(T,N,L){return Yc(T,N,L)}function Gu(T,N){for(var L=[],Q=T.read_shift(2);Q--;)L.push(Rl(T,N));return L}function Bd(T){var N=In(2+T.length*8);N.write_shift(2,T.length);for(var L=0;L=(Pt?je:2*je))break}if(ne.length!==je&&ne.length!==je*2)throw new Error("cchText: "+je+" != "+ne.length);return T.l=Q+N,{t:ne}}catch(_r){return T.l=Q+N,{t:ne}}}function gd(T,N){var L=Rl(T,8);T.l+=16;var Q=Wa(T,N-24);return[L,Q]}function Ad(T){var N=In(24),L=Pi(T[0]);N.write_shift(2,L.r),N.write_shift(2,L.r),N.write_shift(2,L.c),N.write_shift(2,L.c);for(var Q="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),ne=0;ne<16;++ne)N.write_shift(1,parseInt(Q[ne],16));return z([N,go(T[1])])}function id(T,N){T.read_shift(2);var L=Rl(T,8),Q=T.read_shift((N-10)/2,"dbcs-cont");return Q=Q.replace(W,""),[L,Q]}function Lu(T){var N=T[1].Tooltip,L=In(10+2*(N.length+1));L.write_shift(2,2048);var Q=Pi(T[0]);L.write_shift(2,Q.r),L.write_shift(2,Q.r),L.write_shift(2,Q.c),L.write_shift(2,Q.c);for(var ne=0;ne0;)L.push(As(T,8));return L}function Zl(T){for(var N=T.read_shift(2),L=[];N-- >0;)L.push(As(T,8));return L}function jc(T){T.l+=2;var N={cxfs:0,crc:0};return N.cxfs=T.read_shift(2),N.crc=T.read_shift(4),N}function iu(T,N,L){if(!L.cellStyles)return ki(T,N);var Q=L&&L.biff>=12?4:2,ne=T.read_shift(Q),Te=T.read_shift(Q),Ve=T.read_shift(Q),je=T.read_shift(Q),vt=T.read_shift(2);Q==2&&(T.l+=2);var St={s:ne,e:Te,w:Ve,ixfe:je,flags:vt};return(L.biff>=5||!L.biff)&&(St.level=vt>>8&7),St}function Qu(T,N){var L=In(12);L.write_shift(2,N),L.write_shift(2,N),L.write_shift(2,T.width*256),L.write_shift(2,0);var Q=0;return T.hidden&&(Q|=1),L.write_shift(1,Q),Q=T.level||0,L.write_shift(1,Q),L.write_shift(2,0),L}function Zu(T,N){var L={};return N<32||(T.l+=16,L.header=oa(T,8),L.footer=oa(T,8),T.l+=2),L}function pu(T,N,L){var Q={area:!1};if(L.biff!=5)return T.l+=N,Q;var ne=T.read_shift(1);return T.l+=3,ne&16&&(Q.area=!0),Q}function qc(T){for(var N=In(2*T),L=0;L1048576&&(An=1e6),_r!=2&&(Nn=pr.read_shift(2));var Rn=pr.read_shift(2),un=St.codepage||1252;_r!=2&&(pr.l+=16,pr.read_shift(1),pr[pr.l]!==0&&(un=T[pr[pr.l]]),pr.l+=1,pr.l+=2),kr&&(pr.l+=36);for(var Bi=[],fa={},$i=Math.min(pr.length,_r==2?521:Nn-10-(ln?264:0)),wa=kr?32:11;pr.l<$i&&pr[pr.l]!=13;){fa={},fa.name=cptable.utils.decode(un,pr.slice(pr.l,pr.l+wa)).replace(/[\u0000\r\n].*$/g,""),pr.l+=wa,fa.type=String.fromCharCode(pr.read_shift(1)),_r!=2&&!kr&&(fa.offset=pr.read_shift(4)),fa.len=pr.read_shift(1),_r==2&&(fa.offset=pr.read_shift(2)),fa.dec=pr.read_shift(1),fa.name.length&&Bi.push(fa),_r!=2&&(pr.l+=kr?13:14);switch(fa.type){case"B":(!ln||fa.len!=8)&&St.WTF&&console.log("Skipping "+fa.name+":"+fa.type);break;case"G":case"P":St.WTF&&console.log("Skipping "+fa.name+":"+fa.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+fa.type)}}if(pr[pr.l]!==13&&(pr.l=Nn-1),pr.read_shift(1)!==13)throw new Error("DBF Terminator not found "+pr.l+" "+pr[pr.l]);pr.l=Nn;var no=0,Ca=0;for(Pt[0]=[],Ca=0;Ca!=Bi.length;++Ca)Pt[0][Ca]=Bi[Ca].name;for(;An-- >0;){if(pr[pr.l]===42){pr.l+=Rn;continue}for(++pr.l,Pt[++no]=[],Ca=0,Ca=0;Ca!=Bi.length;++Ca){var Ma=pr.slice(pr.l,pr.l+Bi[Ca].len);pr.l+=Bi[Ca].len,Cn(Ma,0);var La=cptable.utils.decode(un,Ma);switch(Bi[Ca].type){case"C":La.trim().length&&(Pt[no][Ca]=La.replace(/\s+$/,""));break;case"D":La.length===8?Pt[no][Ca]=new Date(+La.slice(0,4),+La.slice(4,6)-1,+La.slice(6,8)):Pt[no][Ca]=La;break;case"F":Pt[no][Ca]=parseFloat(La.trim());break;case"+":case"I":Pt[no][Ca]=kr?Ma.read_shift(-4,"i")^2147483648:Ma.read_shift(4,"i");break;case"L":switch(La.trim().toUpperCase()){case"Y":case"T":Pt[no][Ca]=!0;break;case"N":case"F":Pt[no][Ca]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+La+"|")}break;case"M":if(!Rr)throw new Error("DBF Unexpected MEMO for type "+_r.toString(16));Pt[no][Ca]="##MEMO##"+(kr?parseInt(La.trim(),10):Ma.read_shift(4));break;case"N":La=La.replace(/\u0000/g,"").trim(),La&&La!="."&&(Pt[no][Ca]=+La||0);break;case"@":Pt[no][Ca]=new Date(Ma.read_shift(-8,"f")-621356832e5);break;case"T":Pt[no][Ca]=new Date((Ma.read_shift(4)-2440588)*864e5+Ma.read_shift(4));break;case"Y":Pt[no][Ca]=Ma.read_shift(4,"i")/1e4;break;case"O":Pt[no][Ca]=-Ma.read_shift(-8,"f");break;case"B":if(ln&&Bi[Ca].len==8){Pt[no][Ca]=Ma.read_shift(8,"f");break}case"G":case"P":Ma.l+=Bi[Ca].len;break;case"0":if(Bi[Ca].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+Bi[Ca].type)}}}if(_r!=2&&(pr.l=0&&o(+Pt.codepage),Pt.type=="string")throw new Error("Cannot write DBF to JS string");var pr=Ei(),_r=af(vt,{header:1,raw:!0,cellDates:!0}),Rr=_r[0],ln=_r.slice(1),kr=0,An=0,Nn=0,Rn=1;for(kr=0;kr":190,"?":191,"{":223},N=new RegExp("N("+Ge(T).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),L=function(Rr,ln){var kr=T[ln];return typeof kr=="number"?S(kr):kr},Q=function(Rr,ln,kr){var An=ln.charCodeAt(0)-32<<4|kr.charCodeAt(0)-48;return An==59?Rr:S(An)};T["|"]=254;function ne(_r,Rr){switch(Rr.type){case"base64":return Te(C.decode(_r),Rr);case"binary":return Te(_r,Rr);case"buffer":return Te(E&&b.isBuffer(_r)?_r.toString("binary"):J(_r),Rr);case"array":return Te(Pe(_r),Rr)}throw new Error("Unrecognized type "+Rr.type)}function Te(_r,Rr){var ln=_r.split(/[\n\r]+/),kr=-1,An=-1,Nn=0,Rn=0,un=[],Bi=[],fa=null,$i={},wa=[],no=[],Ca=[],Ma=0,La;for(+Rr.codepage>=0&&o(+Rr.codepage);Nn!==ln.length;++Nn){Ma=0;var ua=ln[Nn].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,Q).replace(N,L),xo=ua.replace(/;;/g,"\0").split(";").map(function(Hi){return Hi.replace(/\u0000/g,";")}),Os=xo[0],is;if(ua.length>0)switch(Os){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":xo[1].charAt(0)=="P"&&Bi.push(ua.slice(3).replace(/;;/g,";"));break;case"C":var Gs=!1,Ms=!1,Dl=!1,Ao=!1,Hs=-1,Qo=-1;for(Rn=1;Rn-1&&un[Hs][Qo];if(!ii||!ii[1])throw new Error("SYLK shared formula cannot find base");un[kr][An][1]=fs(ii[1],{r:kr-Hs,c:An-Qo})}break;case"F":var aa=0;for(Rn=1;Rn0?(wa[kr].hpt=Ma,wa[kr].hpx=js(Ma)):Ma===0&&(wa[kr].hidden=!0);break;default:if(Rr&&Rr.WTF)throw new Error("SYLK bad record "+ua)}aa<1&&(fa=null);break;default:if(Rr&&Rr.WTF)throw new Error("SYLK bad record "+ua)}}return wa.length>0&&($i["!rows"]=wa),no.length>0&&($i["!cols"]=no),Rr&&Rr.sheetRows&&(un=un.slice(0,Rr.sheetRows)),[un,$i]}function Ve(_r,Rr){var ln=ne(_r,Rr),kr=ln[0],An=ln[1],Nn=Pn(kr,Rr);return Ge(An).forEach(function(Rn){Nn[Rn]=An[Rn]}),Nn}function je(_r,Rr){return pn(Ve(_r,Rr),Rr)}function vt(_r,Rr,ln,kr){var An="C;Y"+(ln+1)+";X"+(kr+1)+";K";switch(_r.t){case"n":An+=_r.v||0,_r.f&&!_r.F&&(An+=";E"+Ds(_r.f,{r:ln,c:kr}));break;case"b":An+=_r.v?"TRUE":"FALSE";break;case"e":An+=_r.w||_r.v;break;case"d":An+='"'+(_r.w||_r.v)+'"';break;case"s":An+='"'+_r.v.replace(/"/g,"")+'"';break}return An}function St(_r,Rr){Rr.forEach(function(ln,kr){var An="F;W"+(kr+1)+" "+(kr+1)+" ";ln.hidden?An+="0":(typeof ln.width=="number"&&!ln.wpx&&(ln.wpx=ra(ln.width)),typeof ln.wpx=="number"&&!ln.wch&&(ln.wch=Pa(ln.wpx)),typeof ln.wch=="number"&&(An+=Math.round(ln.wch))),An.charAt(An.length-1)!=" "&&_r.push(An)})}function Pt(_r,Rr){Rr.forEach(function(ln,kr){var An="F;";ln.hidden?An+="M0;":ln.hpt?An+="M"+20*ln.hpt+";":ln.hpx&&(An+="M"+20*ts(ln.hpx)+";"),An.length>2&&_r.push(An+"R"+(kr+1))})}function pr(_r,Rr){var ln=["ID;PWXL;N;E"],kr=[],An=ta(_r["!ref"]),Nn,Rn=Array.isArray(_r),un=`\r `;ln.push("P;PGeneral"),ln.push("F;P0;DG0G8;M255"),_r["!cols"]&&St(ln,_r["!cols"]),_r["!rows"]&&Pt(ln,_r["!rows"]),ln.push("B;Y"+(An.e.r-An.s.r+1)+";X"+(An.e.c-An.s.c+1)+";D"+[An.s.c,An.s.r,An.e.c,An.e.r].join(" "));for(var Bi=An.s.r;Bi<=An.e.r;++Bi)for(var fa=An.s.c;fa<=An.e.c;++fa){var $i=dn({r:Bi,c:fa});if(Nn=Rn?(_r[Bi]||[])[fa]:_r[$i],!Nn||Nn.v==null&&(!Nn.f||Nn.F))continue;kr.push(vt(Nn,_r,Bi,fa,Rr))}return ln.join(un)+un+kr.join(un)+un+"E"+un}return{to_workbook:je,to_sheet:Ve,from_sheet:pr}}(),Sd=function(){function T(Te,Ve){switch(Ve.type){case"base64":return N(C.decode(Te),Ve);case"binary":return N(Te,Ve);case"buffer":return N(E&&b.isBuffer(Te)?Te.toString("binary"):J(Te),Ve);case"array":return N(Pe(Te),Ve)}throw new Error("Unrecognized type "+Ve.type)}function N(Te,Ve){for(var je=Te.split(` `),vt=-1,St=-1,Pt=0,pr=[];Pt!==je.length;++Pt){if(je[Pt].trim()==="BOT"){pr[++vt]=[],St=0;continue}if(vt<0)continue;var _r=je[Pt].trim().split(","),Rr=_r[0],ln=_r[1];++Pt;for(var kr=je[Pt]||"";(kr.match(/["]/g)||[]).length&1&&PtA `)}function Pt(pr){return[Te,Ve,je,Ve,St(pr),vt].join(` `)}return{to_workbook:ne,to_sheet:Q,from_sheet:Pt}}(),au=function(){function T(Pt,pr,_r,Rr,ln){ln.raw?pr[_r][Rr]=Pt:Pt===""||(Pt==="TRUE"?pr[_r][Rr]=!0:Pt==="FALSE"?pr[_r][Rr]=!1:isNaN(Ft(Pt))?isNaN(Ut(Pt).getDate())?pr[_r][Rr]=Pt:pr[_r][Rr]=pt(Pt):pr[_r][Rr]=Ft(Pt))}function N(Pt,pr){var _r=pr||{},Rr=[];if(!Pt||Pt.length===0)return Rr;for(var ln=Pt.split(/[\r\n]/),kr=ln.length-1;kr>=0&&ln[kr].length===0;)--kr;for(var An=10,Nn=0,Rn=0;Rn<=kr;++Rn)Nn=ln[Rn].indexOf(" "),Nn==-1?Nn=ln[Rn].length:Nn++,An=Math.max(An,Nn);for(Rn=0;Rn<=kr;++Rn){Rr[Rn]=[];var un=0;for(T(ln[Rn].slice(0,An).trim(),Rr,Rn,un,_r),un=1;un<=(ln[Rn].length-An)/10+1;++un)T(ln[Rn].slice(An+(un-1)*10,An+un*10).trim(),Rr,Rn,un,_r)}return _r.sheetRows&&(Rr=Rr.slice(0,_r.sheetRows)),Rr}var L={44:",",9:" ",59:";",124:"|"},Q={44:3,9:2,59:1,124:0};function ne(Pt){for(var pr={},_r=!1,Rr=0,ln=0;Rr0&&Ma(),ln["!ref"]=ba(kr),ln}function Ve(Pt,pr){return pr&&pr.PRN?pr.FS||(Pt.slice(0,4)=="sep="||(Pt.indexOf(" ")>=0||Pt.indexOf(",")>=0||Pt.indexOf(";")>=0))?Te(Pt,pr):Pn(N(Pt,pr),pr):Te(Pt,pr)}function je(Pt,pr){var _r="",Rr=pr.type=="string"?[0,0,0,0]:Mf(Pt,pr);switch(pr.type){case"base64":_r=C.decode(Pt);break;case"binary":_r=Pt;break;case"buffer":pr.codepage==65001?_r=Pt.toString("utf8"):pr.codepage&&typeof cptable!="undefined"?_r=cptable.utils.decode(pr.codepage,Pt):_r=E&&b.isBuffer(Pt)?Pt.toString("binary"):J(Pt);break;case"array":_r=Pe(Pt);break;case"string":_r=Pt;break;default:throw new Error("Unrecognized type "+pr.type)}return Rr[0]==239&&Rr[1]==187&&Rr[2]==191?_r=er(_r.slice(3)):pr.type!="string"&&pr.codepage==65001?_r=er(_r):pr.type=="binary"&&typeof cptable!="undefined"&&pr.codepage&&(_r=cptable.utils.decode(pr.codepage,cptable.utils.encode(28591,_r))),_r.slice(0,19)=="socialcalc:version:"?Su.to_sheet(pr.type=="string"?_r:er(_r),pr):Ve(_r,pr)}function vt(Pt,pr){return pn(je(Pt,pr),pr)}function St(Pt){for(var pr=[],_r=ta(Pt["!ref"]),Rr,ln=Array.isArray(Pt),kr=_r.s.r;kr<=_r.e.r;++kr){for(var An=[],Nn=_r.s.c;Nn<=_r.e.c;++Nn){var Rn=dn({r:kr,c:Nn});if(Rr=ln?(Pt[kr]||[])[Nn]:Pt[Rn],!Rr||Rr.v==null){An.push(" ");continue}for(var un=(Rr.w||(lr(Rr),Rr.w)||"").slice(0,10);un.length<10;)un+=" ";An.push(un+(Nn===0?" ":""))}pr.push(An.join(""))}return pr.join(` -`)}return{to_workbook:vt,to_sheet:je,from_sheet:St}}();function Jd(T,N){var L=N||{},Q=!!L.WTF;L.WTF=!0;try{var ne=sd.to_workbook(T,L);return L.WTF=Q,ne}catch(Te){if(L.WTF=Q,!Te.message.match(/SYLK bad record ID/)&&Q)throw Te;return au.to_workbook(T,N)}}var ou=function(){function T(ii,aa,Hi){if(!ii)return;Cn(ii,ii.l||0);for(var tn=Hi.Enum||Qo;ii.l=16&&ii[14]==5&&ii[15]===108)))throw new Error("Unsupported Works 3 for Mac file");if(ii[2]==2)Hi.Enum=Qo,T(ii,function(Lo,yc,kc){switch(kc){case 0:Hi.vers=Lo,Lo>=4096&&(Hi.qpro=!0);break;case 6:Ua=Lo;break;case 204:Lo&&(ti=Lo);break;case 222:ti=Lo;break;case 15:case 51:Hi.qpro||(Lo[1].v=Lo[1].v.slice(1));case 13:case 14:case 16:kc==14&&(Lo[2]&112)==112&&(Lo[2]&15)>1&&(Lo[2]&15)<15&&(Lo[1].z=Hi.dateNF||G._table[14],Hi.cellDates&&(Lo[1].t="d",Lo[1].v=be(Lo[1].v))),Hi.qpro&&(Lo[3]>Da&&(tn["!ref"]=ba(Ua),ui[Mn]=tn,pa.push(Mn),tn=Hi.dense?[]:{},Ua={s:{r:0,c:0},e:{r:0,c:0}},Da=Lo[3],Mn=ti||"Sheet"+(Da+1),ti=""));var wc=Hi.dense?(tn[Lo[0].r]||[])[Lo[0].c]:tn[dn(Lo[0])];if(wc){wc.t=Lo[1].t,wc.v=Lo[1].v,Lo[1].z!=null&&(wc.z=Lo[1].z),Lo[1].f!=null&&(wc.f=Lo[1].f);break}Hi.dense?(tn[Lo[0].r]||(tn[Lo[0].r]=[]),tn[Lo[0].r][Lo[0].c]=Lo[1]):tn[dn(Lo[0])]=Lo[1];break;default:}},Hi);else if(ii[2]==26||ii[2]==14)Hi.Enum=$l,ii[2]==14&&(Hi.qpro=!0,ii.l=0),T(ii,function(Lo,yc,kc){switch(kc){case 204:Mn=Lo;break;case 22:Lo[1].v=Lo[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(Lo[3]>Da&&(tn["!ref"]=ba(Ua),ui[Mn]=tn,pa.push(Mn),tn=Hi.dense?[]:{},Ua={s:{r:0,c:0},e:{r:0,c:0}},Da=Lo[3],Mn="Sheet"+(Da+1)),ei>0&&Lo[0].r>=ei)break;Hi.dense?(tn[Lo[0].r]||(tn[Lo[0].r]=[]),tn[Lo[0].r][Lo[0].c]=Lo[1]):tn[dn(Lo[0])]=Lo[1],Ua.e.c=0&&o(+Hi.codepage),Hi.type=="string")throw new Error("Cannot write WK1 to JS string");var tn=Ei(),Mn=ta(ii["!ref"]),ti=Array.isArray(ii),Da=[];jo(tn,0,Te(1030)),jo(tn,6,vt(Mn));for(var ui=Math.min(Mn.e.r,8191),pa=Mn.s.r;pa<=ui;++pa)for(var Ii=_i(pa),Ua=Mn.s.c;Ua<=Mn.e.c;++Ua){pa===Mn.s.r&&(Da[Ua]=ya(Ua));var ei=Da[Ua]+Ii,Va=ti?(ii[pa]||[])[Ua]:ii[ei];if(!Va||Va.t=="z")continue;if(Va.t=="n")(Va.v|0)==Va.v&&Va.v>=-32768&&Va.v<=32767?jo(tn,13,Rr(pa,Ua,Va.v)):jo(tn,14,kr(pa,Ua,Va.v));else{var as=lr(Va);jo(tn,15,pr(pa,Ua,as.slice(0,239)))}}return jo(tn,1),tn.end()}function ne(ii,aa){var Hi=aa||{};if(+Hi.codepage>=0&&o(+Hi.codepage),Hi.type=="string")throw new Error("Cannot write WK3 to JS string");var tn=Ei();jo(tn,0,Ve(ii));for(var Mn=0,ti=0;Mn8191&&(Hi=8191),aa.write_shift(2,Hi),aa.write_shift(1,Mn),aa.write_shift(1,tn),aa.write_shift(2,0),aa.write_shift(2,0),aa.write_shift(1,1),aa.write_shift(1,2),aa.write_shift(4,0),aa.write_shift(4,0),aa}function je(ii,aa,Hi){var tn={s:{c:0,r:0},e:{c:0,r:0}};return aa==8&&Hi.qpro?(tn.s.c=ii.read_shift(1),ii.l++,tn.s.r=ii.read_shift(2),tn.e.c=ii.read_shift(1),ii.l++,tn.e.r=ii.read_shift(2),tn):(tn.s.c=ii.read_shift(2),tn.s.r=ii.read_shift(2),aa==12&&Hi.qpro&&(ii.l+=2),tn.e.c=ii.read_shift(2),tn.e.r=ii.read_shift(2),aa==12&&Hi.qpro&&(ii.l+=2),tn.s.c==65535&&(tn.s.c=tn.e.c=tn.s.r=tn.e.r=0),tn)}function vt(ii){var aa=In(8);return aa.write_shift(2,ii.s.c),aa.write_shift(2,ii.s.r),aa.write_shift(2,ii.e.c),aa.write_shift(2,ii.e.r),aa}function St(ii,aa,Hi){var tn=[{c:0,r:0},{t:"n",v:0},0,0];return Hi.qpro&&Hi.vers!=20768?(tn[0].c=ii.read_shift(1),tn[3]=ii.read_shift(1),tn[0].r=ii.read_shift(2),ii.l+=2):(tn[2]=ii.read_shift(1),tn[0].c=ii.read_shift(2),tn[0].r=ii.read_shift(2)),tn}function Pt(ii,aa,Hi){var tn=ii.l+aa,Mn=St(ii,aa,Hi);if(Mn[1].t="s",Hi.vers==20768){ii.l++;var ti=ii.read_shift(1);return Mn[1].v=ii.read_shift(ti,"utf8"),Mn}return Hi.qpro&&ii.l++,Mn[1].v=ii.read_shift(tn-ii.l,"cstr"),Mn}function pr(ii,aa,Hi){var tn=In(7+Hi.length);tn.write_shift(1,255),tn.write_shift(2,aa),tn.write_shift(2,ii),tn.write_shift(1,39);for(var Mn=0;Mn=128?95:ti)}return tn.write_shift(1,0),tn}function _r(ii,aa,Hi){var tn=St(ii,aa,Hi);return tn[1].v=ii.read_shift(2,"i"),tn}function Rr(ii,aa,Hi){var tn=In(7);return tn.write_shift(1,255),tn.write_shift(2,aa),tn.write_shift(2,ii),tn.write_shift(2,Hi,"i"),tn}function ln(ii,aa,Hi){var tn=St(ii,aa,Hi);return tn[1].v=ii.read_shift(8,"f"),tn}function kr(ii,aa,Hi){var tn=In(13);return tn.write_shift(1,255),tn.write_shift(2,aa),tn.write_shift(2,ii),tn.write_shift(8,Hi,"f"),tn}function An(ii,aa,Hi){var tn=ii.l+aa,Mn=St(ii,aa,Hi);if(Mn[1].v=ii.read_shift(8,"f"),Hi.qpro)ii.l=tn;else{var ti=ii.read_shift(2);fa(ii.slice(ii.l,ii.l+ti),Mn),ii.l+=ti}return Mn}function Nn(ii,aa,Hi){var tn=aa&32768;return aa&=~32768,aa=(tn?ii:0)+(aa>=8192?aa-16384:aa),(tn?"":"$")+(Hi?ya(aa):_i(aa))}var Rn=[8,8,8,8,8,8,8,8,6,4,4,5,5,7,3,3,3,3,3,3,1,1,2,6,8,8,8,8,8,8,8,8],un={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},Bi=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function fa(ii,aa){Cn(ii,0);for(var Hi=[],tn=0,Mn="",ti="",Da="",ui="";ii.lHi.length){console.error("WK1 bad formula parse 0x"+pa.toString(16)+":|"+Hi.join("|")+"|");return}var Va=Hi.slice(-tn);Hi.length-=tn,Hi.push(un[pa][0]+"("+Va.join(",")+")")}else return pa<=7?console.error("WK1 invalid opcode "+pa.toString(16)):pa<=24?console.error("WK1 unsupported op "+pa.toString(16)):pa<=30?console.error("WK1 invalid opcode "+pa.toString(16)):pa<=115?console.error("WK1 unsupported function opcode "+pa.toString(16)):console.error("WK1 unrecognized opcode "+pa.toString(16))}}Hi.length==1?aa[1].f=""+Hi[0]:console.error("WK1 bad formula parse |"+Hi.join("|")+"|")}function $i(ii){var aa=[{c:0,r:0},{t:"n",v:0},0];return aa[0].r=ii.read_shift(2),aa[3]=ii[ii.l++],aa[0].c=ii[ii.l++],aa}function wa(ii,aa){var Hi=$i(ii,aa);return Hi[1].t="s",Hi[1].v=ii.read_shift(aa-4,"cstr"),Hi}function no(ii,aa,Hi,tn){var Mn=In(6+tn.length);Mn.write_shift(2,ii),Mn.write_shift(1,Hi),Mn.write_shift(1,aa),Mn.write_shift(1,39);for(var ti=0;ti=128?95:Da)}return Mn.write_shift(1,0),Mn}function Ca(ii,aa){var Hi=$i(ii,aa);Hi[1].v=ii.read_shift(2);var tn=Hi[1].v>>1;if(Hi[1].v&1)switch(tn&7){case 0:tn=(tn>>3)*5e3;break;case 1:tn=(tn>>3)*500;break;case 2:tn=(tn>>3)/20;break;case 3:tn=(tn>>3)/200;break;case 4:tn=(tn>>3)/2e3;break;case 5:tn=(tn>>3)/2e4;break;case 6:tn=(tn>>3)/16;break;case 7:tn=(tn>>3)/64;break}return Hi[1].v=tn,Hi}function Ma(ii,aa){var Hi=$i(ii,aa),tn=ii.read_shift(4),Mn=ii.read_shift(4),ti=ii.read_shift(2);if(ti==65535)return tn===0&&Mn===3221225472?(Hi[1].t="e",Hi[1].v=15):tn===0&&Mn===3489660928?(Hi[1].t="e",Hi[1].v=42):Hi[1].v=0,Hi;var Da=ti&32768;return ti=(ti&32767)-16446,Hi[1].v=(1-Da*2)*(Mn*Math.pow(2,ti+32)+tn*Math.pow(2,ti)),Hi}function La(ii,aa,Hi,tn){var Mn=In(14);if(Mn.write_shift(2,ii),Mn.write_shift(1,Hi),Mn.write_shift(1,aa),tn==0)return Mn.write_shift(4,0),Mn.write_shift(4,0),Mn.write_shift(2,65535),Mn;var ti=0,Da=0,ui=0,pa=0;return tn<0&&(ti=1,tn=-tn),Da=Math.log2(tn)|0,tn/=Math.pow(2,Da-31),pa=tn>>>0,(pa&2147483648)==0&&(tn/=2,++Da,pa=tn>>>0),tn-=pa,pa|=2147483648,pa>>>=0,tn*=Math.pow(2,32),ui=tn>>>0,Mn.write_shift(4,ui),Mn.write_shift(4,pa),Da+=16383+(ti?32768:0),Mn.write_shift(2,Da),Mn}function ua(ii,aa){var Hi=Ma(ii,14);return ii.l+=aa-14,Hi}function xo(ii,aa){var Hi=$i(ii,aa),tn=ii.read_shift(4);return Hi[1].v=tn>>6,Hi}function Os(ii,aa){var Hi=$i(ii,aa),tn=ii.read_shift(8,"f");return Hi[1].v=tn,Hi}function is(ii,aa){var Hi=Os(ii,14);return ii.l+=aa-10,Hi}function Gs(ii,aa){return ii[ii.l+aa-1]==0?ii.read_shift(aa,"cstr"):""}function Ms(ii,aa){var Hi=ii[ii.l++];Hi>aa-1&&(Hi=aa-1);for(var tn="";tn.length127?95:Mn}return Hi[Hi.l++]=0,Hi}var Qo={0:{n:"BOF",f:Rt},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:je},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:_r},14:{n:"NUMBER",f:ln},15:{n:"LABEL",f:Pt},16:{n:"FORMULA",f:An},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:Pt},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:Gs},222:{n:"SHEETNAMELP",f:Ms},65535:{n:""}},$l={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:wa},23:{n:"NUMBER17",f:Ma},24:{n:"NUMBER18",f:Ca},25:{n:"FORMULA19",f:ua},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:Ao},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:xo},38:{n:"??"},39:{n:"NUMBER27",f:Os},40:{n:"FORMULA28",f:is},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:Gs},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:Dl},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:Q,book_to_wk3:ne,to_workbook:N}}();function $u(T){var N={},L=T.match(ot),Q=0,ne=!1;if(L)for(;Q!=L.length;++Q){var Te=Gt(L[Q]);switch(Te[0].replace(/\w*:/g,"")){case"":case"":N.shadow=1;break;case"":break;case"":case"":N.outline=1;break;case"":break;case"":case"":N.strike=1;break;case"":break;case"":case"":N.u=1;break;case"":break;case"":case"":N.b=1;break;case"":break;case"":case"":N.i=1;break;case"":break;case"":case"":break;case"":ne=!1;break;default:if(Te[0].charCodeAt(1)!==47&&!ne)throw new Error("Unrecognized rich format "+Te[0])}}return N}var ld=function(){var T=It("t"),N=It("rPr");function L(Te){var Ve=Te.match(T);if(!Ve)return{t:"s",v:""};var je={t:"s",v:Tn(Ve[1])},vt=Te.match(N);return vt&&(je.s=$u(vt[1])),je}var Q=/<(?:\w+:)?r>/g,ne=/<\/(?:\w+:)?r>/;return function(Ve){return Ve.replace(Q,"").split(ne).map(L).filter(function(je){return je.v})}}(),ku=function(){var N=/(\r\n|\n)/g;function L(ne,Te,Ve){var je=[];ne.u&&je.push("text-decoration: underline;"),ne.uval&&je.push("text-underline-style:"+ne.uval+";"),ne.sz&&je.push("font-size:"+ne.sz+"pt;"),ne.outline&&je.push("text-effect: outline;"),ne.shadow&&je.push("text-shadow: auto;"),Te.push(''),ne.b&&(Te.push(""),Ve.push("")),ne.i&&(Te.push(""),Ve.push("")),ne.strike&&(Te.push(""),Ve.push(""));var vt=ne.valign||"";return vt=="superscript"||vt=="super"?vt="sup":vt=="subscript"&&(vt="sub"),vt!=""&&(Te.push("<"+vt+">"),Ve.push("")),Ve.push(""),ne}function Q(ne){var Te=[[],ne.v,[]];return ne.v?(ne.s&&L(ne.s,Te[0],Te[2]),Te[0].join("")+Te[1].replace(N,"
")+Te[2].join("")):""}return function(Te){return Te.map(Q).join("")}}(),Cd=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Pu=/<(?:\w+:)?r>/,qu=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function _e(T,N){var L=N?N.cellHTML:!0,Q={};return T?(T.match(/^\s*<(?:\w+:)?t[^>]*>/)?(Q.t=Tn(er(T.slice(T.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),Q.r=er(T),L&&(Q.h=ze(Q.t))):T.match(Pu)&&(Q.r=er(T),Q.t=Tn(er((T.replace(qu,"").match(Cd)||[]).join("").replace(ot,""))),L&&(Q.h=ku(ld(Q.r)))),Q):{t:""}}var Je=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Ot=/<(?:\w+:)?(?:si|sstItem)>/g,ur=/<\/(?:\w+:)?(?:si|sstItem)>/;function Or(T,N){var L=[],Q="";if(!T)return L;var ne=T.match(Je);if(ne){Q=ne[2].replace(Ot,"").split(ur);for(var Te=0;Te!=Q.length;++Te){var Ve=_e(Q[Te].trim(),N);Ve!=null&&(L[L.length]=Ve)}ne=Gt(ne[1]),L.Count=ne.count,L.Unique=ne.uniqueCount}return L}Ja.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var Kr=/^\s|\s$|[\t\n\r]/;function Ue(T,N){if(!N.bookSST)return"";var L=[Ht];L[L.length]=dr("sst",null,{xmlns:on.main[0],count:T.Count,uniqueCount:T.Unique});for(var Q=0;Q!=T.length;++Q){if(T[Q]==null)continue;var ne=T[Q],Te="";ne.r?Te+=ne.r:(Te+=""),Te+="",L[L.length]=Te}return L.length>2&&(L[L.length]="",L[1]=L[1].replace("/>",">")),L.join("")}function se(T){return[T.read_shift(4),T.read_shift(4)]}function Oe(T,N){var L=[],Q=!1;return na(T,function(Te,Ve,je){switch(je){case 159:L.Count=Te[0],L.Unique=Te[1];break;case 19:L.push(Te);break;case 160:return!0;case 35:Q=!0;break;case 36:Q=!1;break;default:if(Ve.indexOf("Begin")>0||Ve.indexOf("End")>0,!Q||N.WTF)throw new Error("Unexpected record "+je+" "+Ve)}}),L}function tt(T,N){return N||(N=In(8)),N.write_shift(4,T.Count),N.write_shift(4,T.Unique),N}var wt=hn;function zt(T){var N=Ei();pi(N,"BrtBeginSst",tt(T));for(var L=0;L=4&&(T.l+=N-4),L}function Fr(T){var N={};return N.id=T.read_shift(0,"lpp4"),N.R=Jt(T,4),N.U=Jt(T,4),N.W=Jt(T,4),N}function Xr(T){for(var N=T.read_shift(4),L=T.l+N-4,Q={},ne=T.read_shift(4),Te=[];ne-- >0;)Te.push({t:T.read_shift(4),v:T.read_shift(0,"lpp4")});if(Q.name=T.read_shift(0,"lpp4"),Q.comps=Te,T.l!=L)throw new Error("Bad DataSpaceMapEntry: "+T.l+" != "+L);return Q}function Mr(T){var N=[];T.l+=4;for(var L=T.read_shift(4);L-- >0;)N.push(Xr(T));return N}function Ir(T){var N=[];T.l+=4;for(var L=T.read_shift(4);L-- >0;)N.push(T.read_shift(0,"lpp4"));return N}function zr(T){var N={};return T.read_shift(4),T.l+=4,N.id=T.read_shift(0,"lpp4"),N.name=T.read_shift(0,"lpp4"),N.R=Jt(T,4),N.U=Jt(T,4),N.W=Jt(T,4),N}function qr(T){var N=zr(T);if(N.ename=T.read_shift(0,"8lpp4"),N.blksz=T.read_shift(4),N.cmode=T.read_shift(4),T.read_shift(4)!=4)throw new Error("Bad !Primary record");return N}function Ln(T,N){var L=T.l+N,Q={};Q.Flags=T.read_shift(4)&63,T.l+=4,Q.AlgID=T.read_shift(4);var ne=!1;switch(Q.AlgID){case 26126:case 26127:case 26128:ne=Q.Flags==36;break;case 26625:ne=Q.Flags==4;break;case 0:ne=Q.Flags==16||Q.Flags==4||Q.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+Q.AlgID}if(!ne)throw new Error("Encryption Flags/AlgID mismatch");return Q.AlgIDHash=T.read_shift(4),Q.KeySize=T.read_shift(4),Q.ProviderType=T.read_shift(4),T.l+=8,Q.CSPName=T.read_shift(L-T.l>>1,"utf16le"),T.l=L,Q}function xi(T,N){var L={},Q=T.l+N;return T.l+=4,L.Salt=T.slice(T.l,T.l+16),T.l+=16,L.Verifier=T.slice(T.l,T.l+16),T.l+=16,T.read_shift(4),L.VerifierHash=T.slice(T.l,Q),T.l=Q,L}function Wi(T){var N=Jt(T);switch(N.Minor){case 2:return[N.Minor,_a(T,N)];case 3:return[N.Minor,Ji(T,N)];case 4:return[N.Minor,Co(T,N)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+N.Minor)}function _a(T){var N=T.read_shift(4);if((N&63)!=36)throw new Error("EncryptionInfo mismatch");var L=T.read_shift(4),Q=Ln(T,L),ne=xi(T,T.length-T.l);return{t:"Std",h:Q,v:ne}}function Ji(){throw new Error("File is password-protected: ECMA-376 Extensible")}function Co(T){var N=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];T.l+=4;var L=T.read_shift(T.length-T.l,"utf8"),Q={};return L.replace(ot,function(Te){var Ve=Gt(Te);switch(yr(Ve[0])){case"":break;case"":case"":break;case"":break;case"4||Q.Major<2)throw new Error("unrecognized major version code: "+Q.Major);L.Flags=T.read_shift(4),N-=4;var ne=T.read_shift(4);return N-=4,L.EncryptionHeader=Ln(T,ne),N-=ne,L.EncryptionVerifier=xi(T,N),L}function zo(T){var N={},L=N.EncryptionVersionInfo=Jt(T,4);if(L.Major!=1||L.Minor!=1)throw"unrecognized version code "+L.Major+" : "+L.Minor;return N.Salt=T.read_shift(16),N.EncryptedVerifier=T.read_shift(16),N.EncryptedVerifierHash=T.read_shift(16),N}function Eo(T){var N=0,L,Q=Zt(T),ne=Q.length+1,Te,Ve,je,vt,St;for(L=F(ne),L[0]=Q.length,Te=1;Te!=ne;++Te)L[Te]=Q[Te-1];for(Te=ne-1;Te>=0;--Te)Ve=L[Te],je=(N&16384)===0?0:1,vt=N<<1&32767,St=je|vt,N=St^Ve;return N^52811}var ko=function(){var T=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],N=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],L=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],Q=function(je){return(je/2|je*128)&255},ne=function(je,vt){return Q(je^vt)},Te=function(je){for(var vt=N[je.length-1],St=104,Pt=je.length-1;Pt>=0;--Pt)for(var pr=je[Pt],_r=0;_r!=7;++_r)pr&64&&(vt^=L[St]),pr*=2,--St;return vt};return function(Ve){for(var je=Zt(Ve),vt=Te(je),St=je.length,Pt=F(16),pr=0;pr!=16;++pr)Pt[pr]=0;var _r,Rr,ln;for((St&1)===1&&(_r=vt>>8,Pt[St]=ne(T[0],_r),--St,_r=vt&255,Rr=je[je.length-1],Pt[St]=ne(Rr,_r));St>0;)--St,_r=vt>>8,Pt[St]=ne(je[St],_r),--St,_r=vt&255,Pt[St]=ne(je[St],_r);for(St=15,ln=15-je.length;ln>0;)_r=vt>>8,Pt[St]=ne(T[ln],_r),--St,--ln,_r=vt&255,Pt[St]=ne(je[St],_r),--St,--ln;return Pt}}(),Ns=function(N,L,Q,ne,Te){Te||(Te=L),ne||(ne=ko(N));var Ve,je;for(Ve=0;Ve!=L.length;++Ve)je=L[Ve],je^=ne[Q],je=(je>>5|je<<3)&255,Te[Ve]=je,++Q;return[Te,Q,ne]},D=function(N){var L=0,Q=ko(N);return function(ne){var Te=Ns("",ne,L,Q);return L=Te[1],Te[0]}};function U(T,N,L,Q){var ne={key:Rt(T),verificationBytes:Rt(T)};return L.password&&(ne.verifier=Eo(L.password)),Q.valid=ne.verificationBytes===ne.verifier,Q.valid&&(Q.insitu=D(L.password)),ne}function oe(T,N,L){var Q=L||{};return Q.Info=T.read_shift(2),T.l-=2,Q.Info===1?Q.Data=zo(T,N):Q.Data=ja(T,N),Q}function le(T,N,L){var Q={Type:L.biff>=8?T.read_shift(2):0};return Q.Type?oe(T,N-2,Q):U(T,L.biff>=8?N:N-2,L,Q),Q}var Ae=function(){function T(ne,Te){switch(Te.type){case"base64":return N(C.decode(ne),Te);case"binary":return N(ne,Te);case"buffer":return N(E&&b.isBuffer(ne)?ne.toString("binary"):J(ne),Te);case"array":return N(Pe(ne),Te)}throw new Error("Unrecognized type "+Te.type)}function N(ne,Te){var Ve=Te||{},je=Ve.dense?[]:{},vt=ne.match(/\\trowd.*?\\row\b/g);if(!vt.length)throw new Error("RTF missing table");var St={s:{c:0,r:0},e:{c:0,r:vt.length-1}};return vt.forEach(function(Pt,pr){Array.isArray(je)&&(je[pr]=[]);for(var _r=/\\\w+\b/g,Rr=0,ln,kr=-1;ln=_r.exec(Pt);){switch(ln[0]){case"\\cell":var An=Pt.slice(Rr,_r.lastIndex-ln[0].length);if(An[0]==" "&&(An=An.slice(1)),++kr,An.length){var Nn={v:An,t:"s"};Array.isArray(je)?je[pr][kr]=Nn:je[dn({r:pr,c:kr})]=Nn}break}Rr=_r.lastIndex}kr>St.e.c&&(St.e.c=kr)}),je["!ref"]=ba(St),je}function L(ne,Te){return pn(T(ne,Te),Te)}function Q(ne){for(var Te=["{\\rtf1\\ansi"],Ve=ta(ne["!ref"]),je,vt=Array.isArray(ne),St=Ve.s.r;St<=Ve.e.r;++St){Te.push("\\trowd\\trautofit1");for(var Pt=Ve.s.c;Pt<=Ve.e.c;++Pt)Te.push("\\cellx"+(Pt+1));for(Te.push("\\pard\\intbl"),Pt=Ve.s.c;Pt<=Ve.e.c;++Pt){var pr=dn({r:St,c:Pt});if(je=vt?(ne[St]||[])[Pt]:ne[pr],!je||je.v==null&&(!je.f||je.F))continue;Te.push(" "+(je.w||(lr(je),je.w))),Te.push("\\cell")}Te.push("\\pard\\intbl\\row")}return Te.join("")+"}"}return{to_workbook:L,to_sheet:T,from_sheet:Q}}();function We(T){var N=T.slice(T[0]==="#"?1:0).slice(0,6);return[parseInt(N.slice(0,2),16),parseInt(N.slice(2,4),16),parseInt(N.slice(4,6),16)]}function Tt(T){for(var N=0,L=1;N!=3;++N)L=L*256+(T[N]>255?255:T[N]<0?0:T[N]);return L.toString(16).toUpperCase().slice(1)}function Qt(T){var N=T[0]/255,L=T[1]/255,Q=T[2]/255,ne=Math.max(N,L,Q),Te=Math.min(N,L,Q),Ve=ne-Te;if(Ve===0)return[0,0,N];var je=0,vt=0,St=ne+Te;vt=Ve/(St>1?2-St:St);switch(ne){case N:je=((L-Q)/Ve+6)%6;break;case L:je=(Q-N)/Ve+2;break;case Q:je=(N-L)/Ve+4;break}return[je/6,vt,St/2]}function fr(T){var N=T[0],L=T[1],Q=T[2],ne=L*2*(Q<.5?Q:1-Q),Te=Q-ne/2,Ve=[Te,Te,Te],je=6*N,vt;if(L!==0)switch(je|0){case 0:case 6:vt=ne*je,Ve[0]+=ne,Ve[1]+=vt;break;case 1:vt=ne*(2-je),Ve[0]+=vt,Ve[1]+=ne;break;case 2:vt=ne*(je-2),Ve[1]+=ne,Ve[2]+=vt;break;case 3:vt=ne*(4-je),Ve[1]+=vt,Ve[2]+=ne;break;case 4:vt=ne*(je-4),Ve[2]+=ne,Ve[0]+=vt;break;case 5:vt=ne*(6-je),Ve[2]+=vt,Ve[0]+=ne;break}for(var St=0;St!=3;++St)Ve[St]=Math.round(Ve[St]*255);return Ve}function vr(T,N){if(N===0)return T;var L=Qt(We(T));return N<0?L[2]=L[2]*(1+N):L[2]=1-(1-L[2])*(1-N),Tt(fr(L))}var xn=6,Hn=15,hi=1,ci=xn;function ra(T){return Math.floor((T+Math.round(128/ci)/256)*ci)}function Pa(T){return Math.floor((T-5)/ci*100+.5)/100}function $a(T){return Math.round((T*ci+5)/ci*256)/256}function Qa(T){return $a(Pa(ra(T)))}function Wa(T){var N=Math.abs(T-Qa(T)),L=ci;if(N>.005)for(ci=hi;ci":case"":break;case"":case"":ne={},je.diagonalUp&&(ne.diagonalUp=Xt(je.diagonalUp)),je.diagonalDown&&(ne.diagonalDown=Xt(je.diagonalDown)),N.Borders.push(ne);break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":break;case"":Te=!1;break;default:if(Q&&Q.WTF&&!Te)throw new Error("unrecognized "+je[0]+" in borders")}})}function Ll(T,N,L,Q){N.Fills=[];var ne={},Te=!1;(T[0].match(ot)||[]).forEach(function(Ve){var je=Gt(Ve);switch(yr(je[0])){case"":case"":break;case"":case"":ne={},N.Fills.push(ne);break;case"":break;case"":break;case"":N.Fills.push(ne),ne={};break;case"":je.patternType&&(ne.patternType=je.patternType);break;case"":case"":break;case"":case"":break;case"":case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":Te=!1;break;default:if(Q&&Q.WTF&&!Te)throw new Error("unrecognized "+je[0]+" in fills")}})}function bc(T,N,L,Q){N.Fonts=[];var ne={},Te=!1;(T[0].match(ot)||[]).forEach(function(Ve){var je=Gt(Ve);switch(yr(je[0])){case"":case"":break;case"":break;case"":case"":N.Fonts.push(ne),ne={};break;case"":case"":break;case"":ne.bold=1;break;case"":ne.italic=1;break;case"":ne.underline=1;break;case"":ne.strike=1;break;case"":ne.outline=1;break;case"":ne.shadow=1;break;case"":ne.condense=1;break;case"":ne.extend=1;break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":Te=!1;break;case"":case"":break;case"":Te=!1;break;default:if(Q&&Q.WTF&&!Te)throw new Error("unrecognized "+je[0]+" in fonts")}})}function Gc(T,N,L){N.NumberFmt=[];for(var Q=Ge(G._table),ne=0;ne":case"":case"":break;case"0){if(vt>392){for(vt=392;vt>60&&!(N.NumberFmt[vt]==null);--vt);N.NumberFmt[vt]=je}G.load(je,vt)}}break;case"":break;default:if(L.WTF)throw new Error("unrecognized "+Ve[0]+" in numFmts")}}}function ic(T){var N=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(L){for(var Q=L[0];Q<=L[1];++Q)T[Q]!=null&&(N[N.length]=dr("numFmt",null,{numFmtId:Q,formatCode:lt(T[Q])}))}),N.length===1?"":(N[N.length]="",N[0]=dr("numFmts",null,{count:N.length-2}).replace("/>",">"),N.join(""))}var Dc=["numFmtId","fillId","fontId","borderId","xfId"],uc=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function gc(T,N,L){N.CellXf=[];var Q,ne=!1;(T[0].match(ot)||[]).forEach(function(Te){var Ve=Gt(Te),je=0;switch(yr(Ve[0])){case"":case"":case"":break;case"":for(Q=Ve,delete Q[0],je=0;je392){for(je=392;je>60;--je)if(N.NumberFmt[Q.numFmtId]==N.NumberFmt[je]){Q.numFmtId=je;break}}N.CellXf.push(Q);break;case"":break;case"":var vt={};Ve.vertical&&(vt.vertical=Ve.vertical),Ve.horizontal&&(vt.horizontal=Ve.horizontal),Ve.textRotation!=null&&(vt.textRotation=Ve.textRotation),Ve.indent&&(vt.indent=Ve.indent),Ve.wrapText&&(vt.wrapText=Xt(Ve.wrapText)),Q.alignment=vt;break;case"":break;case"":case"":break;case"":ne=!1;break;case"":case"":break;case"":ne=!1;break;default:if(L&&L.WTF&&!ne)throw new Error("unrecognized "+Ve[0]+" in cellXfs")}})}function dc(T){var N=[];return N[N.length]=dr("cellXfs",null),T.forEach(function(L){N[N.length]=dr("xf",null,L)}),N[N.length]="",N.length===2?"":(N[0]=dr("cellXfs",null,{count:N.length-2}).replace("/>",">"),N.join(""))}var Jl=function(){var N=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,L=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,Q=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,ne=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,Te=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(je,vt,St){var Pt={};if(!je)return Pt;je=je.replace(//mg,"").replace(//gm,"");var pr;return(pr=je.match(N))&&Gc(pr,Pt,St),(pr=je.match(ne))&&bc(pr,Pt,vt,St),(pr=je.match(Q))&&Ll(pr,Pt,vt,St),(pr=je.match(Te))&&Pl(pr,Pt,vt,St),(pr=je.match(L))&&gc(pr,Pt,St),Pt}}(),Hc=dr("styleSheet",null,{xmlns:on.main[0],"xmlns:vt":on.vt});Ja.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";function cd(T,N){var L=[Ht,Hc],Q;return T.SSF&&(Q=ic(T.SSF))!=null&&(L[L.length]=Q),L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',(Q=dc(N.cellXfs))&&(L[L.length]=Q),L[L.length]='',L[L.length]='',L[L.length]='',L.length>2&&(L[L.length]="",L[1]=L[1].replace("/>",">")),L.join("")}function su(T,N){var L=T.read_shift(2),Q=Vt(T,N-2);return[L,Q]}function hc(T,N,L){L||(L=In(6+4*N.length)),L.write_shift(2,T),Cr(N,L);var Q=L.length>L.l?L.slice(0,L.l):L;return L.l==null&&(L.l=L.length),Q}function eu(T,N,L){var Q={};Q.sz=T.read_shift(2)/20;var ne=bn(T,2,L);ne.fItalic&&(Q.italic=1),ne.fCondense&&(Q.condense=1),ne.fExtend&&(Q.extend=1),ne.fShadow&&(Q.shadow=1),ne.fOutline&&(Q.outline=1),ne.fStrikeout&&(Q.strike=1);var Te=T.read_shift(2);Te===700&&(Q.bold=1);switch(T.read_shift(2)){case 1:Q.vertAlign="superscript";break;case 2:Q.vertAlign="subscript";break}var Ve=T.read_shift(1);Ve!=0&&(Q.underline=Ve);var je=T.read_shift(1);je>0&&(Q.family=je);var vt=T.read_shift(1);vt>0&&(Q.charset=vt),T.l++,Q.color=Nr(T,8);switch(T.read_shift(1)){case 1:Q.scheme="major";break;case 2:Q.scheme="minor";break}return Q.name=Vt(T,N-21),Q}function Ic(T,N){N||(N=In(25+4*32)),N.write_shift(2,T.sz*20),Zr(T,N),N.write_shift(2,T.bold?700:400);var L=0;T.vertAlign=="superscript"?L=1:T.vertAlign=="subscript"&&(L=2),N.write_shift(2,L),N.write_shift(1,T.underline||0),N.write_shift(1,T.family||0),N.write_shift(1,T.charset||0),N.write_shift(1,0),Qr(T.color,N);var Q=0;return T.scheme=="major"&&(Q=1),T.scheme=="minor"&&(Q=2),N.write_shift(1,Q),Cr(T.name,N),N.length>N.l?N.slice(0,N.l):N}var $d=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Do=Z($d),Qc=ki;function lu(T,N){N||(N=In(4*3+8*7+16*1));var L=Do[T.patternType];L==null&&(L=40),N.write_shift(4,L);var Q=0;if(L!=40)for(Qr({auto:1},N),Qr({auto:1},N);Q<12;++Q)N.write_shift(4,0);else{for(;Q<4;++Q)N.write_shift(4,0);for(;Q<12;++Q)N.write_shift(4,0)}return N.length>N.l?N.slice(0,N.l):N}function zl(T,N){var L=T.l+N,Q=T.read_shift(2),ne=T.read_shift(2);return T.l=L,{ixfe:Q,numFmtId:ne}}function Cu(T,N,L){L||(L=In(16)),L.write_shift(2,N||0),L.write_shift(2,T.numFmtId||0),L.write_shift(2,0),L.write_shift(2,0),L.write_shift(2,0),L.write_shift(1,0),L.write_shift(1,0);var Q=0;return L.write_shift(1,Q),L.write_shift(1,0),L.write_shift(1,0),L.write_shift(1,0),L}function fl(T,N){return N||(N=In(10)),N.write_shift(1,0),N.write_shift(1,0),N.write_shift(4,0),N.write_shift(4,0),N}var rc=ki;function qd(T,N){return N||(N=In(51)),N.write_shift(1,0),fl(null,N),fl(null,N),fl(null,N),fl(null,N),fl(null,N),N.length>N.l?N.slice(0,N.l):N}function Nh(T,N){return N||(N=In(12+4*10)),N.write_shift(4,T.xfId),N.write_shift(2,1),N.write_shift(1,+T.builtinId),N.write_shift(1,0),Di(T.name||"",N),N.length>N.l?N.slice(0,N.l):N}function Ed(T,N,L){var Q=In(4+256*2*4);return Q.write_shift(4,T),Di(N,Q),Di(L,Q),Q.length>Q.l?Q.slice(0,Q.l):Q}function _h(T,N,L){var Q={};Q.NumberFmt=[];for(var ne in G._table)Q.NumberFmt[ne]=G._table[ne];Q.CellXf=[],Q.Fonts=[];var Te=[],Ve=!1;return na(T,function(vt,St,Pt){switch(Pt){case 44:Q.NumberFmt[vt[0]]=vt[1],G.load(vt[1],vt[0]);break;case 43:Q.Fonts.push(vt),vt.color.theme!=null&&N&&N.themeElements&&N.themeElements.clrScheme&&(vt.color.rgb=vr(N.themeElements.clrScheme[vt.color.theme].rgb,vt.color.tint||0));break;case 1025:break;case 45:break;case 46:break;case 47:Te[Te.length-1]=="BrtBeginCellXFs"&&Q.CellXf.push(vt);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:Ve=!0;break;case 36:Ve=!1;break;case 37:Te.push(St),Ve=!0;break;case 38:Te.pop(),Ve=!1;break;default:if((St||"").indexOf("Begin")>0)Te.push(St);else if((St||"").indexOf("End")>0)Te.pop();else if(!Ve||L.WTF&&Te[Te.length-1]!="BrtACBegin")throw new Error("Unexpected record "+Pt+" "+St)}}),Q}function jd(T,N){if(!N)return;var L=0;if([[5,8],[23,26],[41,44],[50,392]].forEach(function(Q){for(var ne=Q[0];ne<=Q[1];++ne)N[ne]!=null&&++L}),L==0)return;pi(T,"BrtBeginFmts",ct(L)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(Q){for(var ne=Q[0];ne<=Q[1];++ne)N[ne]!=null&&pi(T,"BrtFmt",hc(ne,N[ne]))}),pi(T,"BrtEndFmts")}function ud(T){var N=1;if(N==0)return;pi(T,"BrtBeginFonts",ct(N)),pi(T,"BrtFont",Ic({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),pi(T,"BrtEndFonts")}function Th(T){var N=2;if(N==0)return;pi(T,"BrtBeginFills",ct(N)),pi(T,"BrtFill",lu({patternType:"none"})),pi(T,"BrtFill",lu({patternType:"gray125"})),pi(T,"BrtEndFills")}function uh(T){var N=1;if(N==0)return;pi(T,"BrtBeginBorders",ct(N)),pi(T,"BrtBorder",qd({})),pi(T,"BrtEndBorders")}function Dh(T){var N=1;pi(T,"BrtBeginCellStyleXFs",ct(N)),pi(T,"BrtXF",Cu({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),pi(T,"BrtEndCellStyleXFs")}function dh(T,N){pi(T,"BrtBeginCellXFs",ct(N.length)),N.forEach(function(L){pi(T,"BrtXF",Cu(L,0))}),pi(T,"BrtEndCellXFs")}function _d(T){var N=1;pi(T,"BrtBeginStyles",ct(N)),pi(T,"BrtStyle",Nh({xfId:0,builtinId:0,name:"Normal"})),pi(T,"BrtEndStyles")}function Mh(T){var N=0;pi(T,"BrtBeginDXFs",ct(N)),pi(T,"BrtEndDXFs")}function hh(T){var N=0;pi(T,"BrtBeginTableStyles",Ed(N,"TableStyleMedium9","PivotStyleMedium4")),pi(T,"BrtEndTableStyles")}function Rh(){return}function fh(T,N){var L=Ei();return pi(L,"BrtBeginStyleSheet"),jd(L,T.SSF),ud(L,T),Th(L,T),uh(L,T),Dh(L,T),dh(L,N.cellXfs),_d(L,T),Mh(L,T),hh(L,T),Rh(L,T),pi(L,"BrtEndStyleSheet"),L.end()}Ja.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";var Fh=["","","","","","","","","","","",""];function eh(T,N,L){N.themeElements.clrScheme=[];var Q={};(T[0].match(ot)||[]).forEach(function(ne){var Te=Gt(ne);switch(Te[0]){case"":break;case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":Te[0].charAt(1)==="/"?(N.themeElements.clrScheme[Fh.indexOf(Te[0])]=Q,Q={}):Q.name=Te[0].slice(3,Te[0].length-1);break;default:if(L&&L.WTF)throw new Error("Unrecognized "+Te[0]+" in clrScheme")}})}function ph(){}function Td(){}var Bc=/]*)>[\s\S]*<\/a:clrScheme>/,ed=/]*)>[\s\S]*<\/a:fontScheme>/,Du=/]*)>[\s\S]*<\/a:fmtScheme>/;function lh(T,N,L){N.themeElements={};var Q;[["clrScheme",Bc,eh],["fontScheme",ed,ph],["fmtScheme",Du,Td]].forEach(function(ne){if(!(Q=T.match(ne[1])))throw new Error(ne[0]+" not found in themeElements");ne[2](Q,N,L)})}var mh=/]*)>[\s\S]*<\/a:themeElements>/;function Hd(T,N){if(!T||T.length===0)return Hd(Id());var L,Q={};if(!(L=T.match(mh)))throw new Error("themeElements not found in theme");return lh(L[0],Q,N),Q.raw=T,Q}function Id(T,N){if(N&&N.themeXLSX)return N.themeXLSX;if(T&&typeof T.raw=="string")return T.raw;var L=[Ht];return L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]="",L.join("")}function zd(T,N,L){var Q=T.l+N,ne=T.read_shift(4);if(ne===124226)return;if(!L.cellStyles){T.l=Q;return}var Te=T.slice(T.l);T.l=Q;var Ve;try{Ve=Ar(Te,{type:"array"})}catch(vt){return}var je=ve(Ve,"theme/theme/theme1.xml",!0);return je?Hd(je,L):void 0}function gh(T){return T.read_shift(4)}function ch(T){var N={};N.xclrType=T.read_shift(2),N.nTintShade=T.read_shift(2);switch(N.xclrType){case 0:T.l+=4;break;case 1:N.xclrValue=sf(T,4);break;case 2:N.xclrValue=No(T,4);break;case 3:N.xclrValue=gh(T,4);break;case 4:T.l+=4;break}return T.l+=8,N}function sf(T,N){return ki(T,N)}function lf(T,N){return ki(T,N)}function Xh(T){var N=T.read_shift(2),L=T.read_shift(2)-4,Q=[N];switch(N){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:Q[1]=ch(T,L);break;case 6:Q[1]=lf(T,L);break;case 14:case 15:Q[1]=T.read_shift(L===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+N+" "+L)}return Q}function cf(T,N){var L=T.l+N;T.l+=2;var Q=T.read_shift(2);T.l+=2;for(var ne=T.read_shift(2),Te=[];ne-- >0;)Te.push(Xh(T,L-T.l));return{ixfe:Q,ext:Te}}function Gh(T,N){N.forEach(function(L){switch(L[0]){case 4:break;case 5:break;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:break;case 13:break;case 14:break;case 15:break}})}function uf(T){var N=[];if(!T)return N;var L=1;return(T.match(ot)||[]).forEach(function(Q){var ne=Gt(Q);switch(ne[0]){case"":case"":break;case"0)){if(!((je||"").indexOf("End")>0)){if(!ne||L.WTF)throw new Error("Unexpected record "+vt+" "+je)}}}}),Q}function ff(){}function pf(T,N,L,Q){if(!T)return T;var ne=Q||{},Te=!1,Ve=!1;na(T,function(vt,St,Pt){if(Ve)return;switch(Pt){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:Te=!0;break;case 36:Te=!1;break;default:if(!((St||"").indexOf("Begin")>0)){if(!((St||"").indexOf("End")>0)){if(!Te||ne.WTF)throw new Error("Unexpected record "+Pt.toString(16)+" "+St)}}}},ne)}Ja.IMG="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Ja.DRAW="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";function mf(T,N){if(!T)return"??";var L=(T.match(/]*r:id="([^"]*)"/)||["",""])[1];return N["!id"][L].Target}var Ah=1024;function gf(T,N){for(var L=[21600,21600],Q=["m0,0l0",L[1],L[0],L[1],L[0],"0xe"].join(","),ne=[dr("xml",null,{"xmlns:v":Gn.v,"xmlns:o":Gn.o,"xmlns:x":Gn.x,"xmlns:mv":Gn.mv}).replace(/\/>/,">"),dr("o:shapelayout",dr("o:idmap",null,{"v:ext":"edit",data:T}),{"v:ext":"edit"}),dr("v:shapetype",[dr("v:stroke",null,{joinstyle:"miter"}),dr("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:L.join(","),path:Q})];Ah",St,dr("v:shadow",null,Pt),dr("v:path",null,{"o:connecttype":"none"}),'

','',"","",tr("x:Anchor",[Ve.c+1,0,Ve.r+1,0,Ve.c+3,20,Ve.r+5,20].join(",")),tr("x:AutoFill","False"),tr("x:Row",String(Ve.r)),tr("x:Column",String(Ve.c)),Te[1].hidden?"":"","",""])}),ne.push(""),ne.join("")}Ja.CMNT="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";function Af(T,N){var L=Array.isArray(T),Q;N.forEach(function(ne){var Te=Pi(ne.ref);if(L?(T[Te.r]||(T[Te.r]=[]),Q=T[Te.r][Te.c]):Q=T[ne.ref],!Q){Q={t:"z"},L?T[Te.r][Te.c]=Q:T[ne.ref]=Q;var Ve=ta(T["!ref"]||"BDWGO1000001:A1");Ve.s.r>Te.r&&(Ve.s.r=Te.r),Ve.e.rTe.c&&(Ve.s.c=Te.c),Ve.e.c/))return[];var L=[],Q=[],ne=T.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);ne&&ne[1]&&ne[1].split(/<\/\w*:?author>/).forEach(function(Ve){if(Ve===""||Ve.trim()==="")return;var je=Ve.match(/<(?:\w+:)?author[^>]*>(.*)/);je&&L.push(je[1])});var Te=T.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return Te&&Te[1]&&Te[1].split(/<\/\w*:?comment>/).forEach(function(Ve){if(Ve===""||Ve.trim()==="")return;var je=Ve.match(/<(?:\w+:)?comment[^>]*>/);if(!je)return;var vt=Gt(je[0]),St={author:vt.authorId&&L[vt.authorId]||"sheetjsghost",ref:vt.ref,guid:vt.guid},Pt=Pi(vt.ref);if(N.sheetRows&&N.sheetRows<=Pt.r)return;var pr=Ve.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),_r=!!pr&&!!pr[1]&&_e(pr[1])||{r:"",t:"",h:""};St.r=_r.r,_r.r==""&&(_r.t=_r.h=""),St.t=(_r.t||"").replace(/\r\n/g,` +`)}return{to_workbook:vt,to_sheet:je,from_sheet:St}}();function Jd(T,N){var L=N||{},Q=!!L.WTF;L.WTF=!0;try{var ne=sd.to_workbook(T,L);return L.WTF=Q,ne}catch(Te){if(L.WTF=Q,!Te.message.match(/SYLK bad record ID/)&&Q)throw Te;return au.to_workbook(T,N)}}var ou=function(){function T(ii,aa,Hi){if(!ii)return;Cn(ii,ii.l||0);for(var tn=Hi.Enum||Qo;ii.l=16&&ii[14]==5&&ii[15]===108)))throw new Error("Unsupported Works 3 for Mac file");if(ii[2]==2)Hi.Enum=Qo,T(ii,function(Lo,yc,kc){switch(kc){case 0:Hi.vers=Lo,Lo>=4096&&(Hi.qpro=!0);break;case 6:Ua=Lo;break;case 204:Lo&&(ti=Lo);break;case 222:ti=Lo;break;case 15:case 51:Hi.qpro||(Lo[1].v=Lo[1].v.slice(1));case 13:case 14:case 16:kc==14&&(Lo[2]&112)==112&&(Lo[2]&15)>1&&(Lo[2]&15)<15&&(Lo[1].z=Hi.dateNF||G._table[14],Hi.cellDates&&(Lo[1].t="d",Lo[1].v=be(Lo[1].v))),Hi.qpro&&(Lo[3]>Da&&(tn["!ref"]=ba(Ua),ui[Mn]=tn,pa.push(Mn),tn=Hi.dense?[]:{},Ua={s:{r:0,c:0},e:{r:0,c:0}},Da=Lo[3],Mn=ti||"Sheet"+(Da+1),ti=""));var wc=Hi.dense?(tn[Lo[0].r]||[])[Lo[0].c]:tn[dn(Lo[0])];if(wc){wc.t=Lo[1].t,wc.v=Lo[1].v,Lo[1].z!=null&&(wc.z=Lo[1].z),Lo[1].f!=null&&(wc.f=Lo[1].f);break}Hi.dense?(tn[Lo[0].r]||(tn[Lo[0].r]=[]),tn[Lo[0].r][Lo[0].c]=Lo[1]):tn[dn(Lo[0])]=Lo[1];break;default:}},Hi);else if(ii[2]==26||ii[2]==14)Hi.Enum=$l,ii[2]==14&&(Hi.qpro=!0,ii.l=0),T(ii,function(Lo,yc,kc){switch(kc){case 204:Mn=Lo;break;case 22:Lo[1].v=Lo[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(Lo[3]>Da&&(tn["!ref"]=ba(Ua),ui[Mn]=tn,pa.push(Mn),tn=Hi.dense?[]:{},Ua={s:{r:0,c:0},e:{r:0,c:0}},Da=Lo[3],Mn="Sheet"+(Da+1)),ei>0&&Lo[0].r>=ei)break;Hi.dense?(tn[Lo[0].r]||(tn[Lo[0].r]=[]),tn[Lo[0].r][Lo[0].c]=Lo[1]):tn[dn(Lo[0])]=Lo[1],Ua.e.c=0&&o(+Hi.codepage),Hi.type=="string")throw new Error("Cannot write WK1 to JS string");var tn=Ei(),Mn=ta(ii["!ref"]),ti=Array.isArray(ii),Da=[];jo(tn,0,Te(1030)),jo(tn,6,vt(Mn));for(var ui=Math.min(Mn.e.r,8191),pa=Mn.s.r;pa<=ui;++pa)for(var Ii=_i(pa),Ua=Mn.s.c;Ua<=Mn.e.c;++Ua){pa===Mn.s.r&&(Da[Ua]=ya(Ua));var ei=Da[Ua]+Ii,Va=ti?(ii[pa]||[])[Ua]:ii[ei];if(!Va||Va.t=="z")continue;if(Va.t=="n")(Va.v|0)==Va.v&&Va.v>=-32768&&Va.v<=32767?jo(tn,13,Rr(pa,Ua,Va.v)):jo(tn,14,kr(pa,Ua,Va.v));else{var as=lr(Va);jo(tn,15,pr(pa,Ua,as.slice(0,239)))}}return jo(tn,1),tn.end()}function ne(ii,aa){var Hi=aa||{};if(+Hi.codepage>=0&&o(+Hi.codepage),Hi.type=="string")throw new Error("Cannot write WK3 to JS string");var tn=Ei();jo(tn,0,Ve(ii));for(var Mn=0,ti=0;Mn8191&&(Hi=8191),aa.write_shift(2,Hi),aa.write_shift(1,Mn),aa.write_shift(1,tn),aa.write_shift(2,0),aa.write_shift(2,0),aa.write_shift(1,1),aa.write_shift(1,2),aa.write_shift(4,0),aa.write_shift(4,0),aa}function je(ii,aa,Hi){var tn={s:{c:0,r:0},e:{c:0,r:0}};return aa==8&&Hi.qpro?(tn.s.c=ii.read_shift(1),ii.l++,tn.s.r=ii.read_shift(2),tn.e.c=ii.read_shift(1),ii.l++,tn.e.r=ii.read_shift(2),tn):(tn.s.c=ii.read_shift(2),tn.s.r=ii.read_shift(2),aa==12&&Hi.qpro&&(ii.l+=2),tn.e.c=ii.read_shift(2),tn.e.r=ii.read_shift(2),aa==12&&Hi.qpro&&(ii.l+=2),tn.s.c==65535&&(tn.s.c=tn.e.c=tn.s.r=tn.e.r=0),tn)}function vt(ii){var aa=In(8);return aa.write_shift(2,ii.s.c),aa.write_shift(2,ii.s.r),aa.write_shift(2,ii.e.c),aa.write_shift(2,ii.e.r),aa}function St(ii,aa,Hi){var tn=[{c:0,r:0},{t:"n",v:0},0,0];return Hi.qpro&&Hi.vers!=20768?(tn[0].c=ii.read_shift(1),tn[3]=ii.read_shift(1),tn[0].r=ii.read_shift(2),ii.l+=2):(tn[2]=ii.read_shift(1),tn[0].c=ii.read_shift(2),tn[0].r=ii.read_shift(2)),tn}function Pt(ii,aa,Hi){var tn=ii.l+aa,Mn=St(ii,aa,Hi);if(Mn[1].t="s",Hi.vers==20768){ii.l++;var ti=ii.read_shift(1);return Mn[1].v=ii.read_shift(ti,"utf8"),Mn}return Hi.qpro&&ii.l++,Mn[1].v=ii.read_shift(tn-ii.l,"cstr"),Mn}function pr(ii,aa,Hi){var tn=In(7+Hi.length);tn.write_shift(1,255),tn.write_shift(2,aa),tn.write_shift(2,ii),tn.write_shift(1,39);for(var Mn=0;Mn=128?95:ti)}return tn.write_shift(1,0),tn}function _r(ii,aa,Hi){var tn=St(ii,aa,Hi);return tn[1].v=ii.read_shift(2,"i"),tn}function Rr(ii,aa,Hi){var tn=In(7);return tn.write_shift(1,255),tn.write_shift(2,aa),tn.write_shift(2,ii),tn.write_shift(2,Hi,"i"),tn}function ln(ii,aa,Hi){var tn=St(ii,aa,Hi);return tn[1].v=ii.read_shift(8,"f"),tn}function kr(ii,aa,Hi){var tn=In(13);return tn.write_shift(1,255),tn.write_shift(2,aa),tn.write_shift(2,ii),tn.write_shift(8,Hi,"f"),tn}function An(ii,aa,Hi){var tn=ii.l+aa,Mn=St(ii,aa,Hi);if(Mn[1].v=ii.read_shift(8,"f"),Hi.qpro)ii.l=tn;else{var ti=ii.read_shift(2);fa(ii.slice(ii.l,ii.l+ti),Mn),ii.l+=ti}return Mn}function Nn(ii,aa,Hi){var tn=aa&32768;return aa&=~32768,aa=(tn?ii:0)+(aa>=8192?aa-16384:aa),(tn?"":"$")+(Hi?ya(aa):_i(aa))}var Rn=[8,8,8,8,8,8,8,8,6,4,4,5,5,7,3,3,3,3,3,3,1,1,2,6,8,8,8,8,8,8,8,8],un={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},Bi=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function fa(ii,aa){Cn(ii,0);for(var Hi=[],tn=0,Mn="",ti="",Da="",ui="";ii.lHi.length){console.error("WK1 bad formula parse 0x"+pa.toString(16)+":|"+Hi.join("|")+"|");return}var Va=Hi.slice(-tn);Hi.length-=tn,Hi.push(un[pa][0]+"("+Va.join(",")+")")}else return pa<=7?console.error("WK1 invalid opcode "+pa.toString(16)):pa<=24?console.error("WK1 unsupported op "+pa.toString(16)):pa<=30?console.error("WK1 invalid opcode "+pa.toString(16)):pa<=115?console.error("WK1 unsupported function opcode "+pa.toString(16)):console.error("WK1 unrecognized opcode "+pa.toString(16))}}Hi.length==1?aa[1].f=""+Hi[0]:console.error("WK1 bad formula parse |"+Hi.join("|")+"|")}function $i(ii){var aa=[{c:0,r:0},{t:"n",v:0},0];return aa[0].r=ii.read_shift(2),aa[3]=ii[ii.l++],aa[0].c=ii[ii.l++],aa}function wa(ii,aa){var Hi=$i(ii,aa);return Hi[1].t="s",Hi[1].v=ii.read_shift(aa-4,"cstr"),Hi}function no(ii,aa,Hi,tn){var Mn=In(6+tn.length);Mn.write_shift(2,ii),Mn.write_shift(1,Hi),Mn.write_shift(1,aa),Mn.write_shift(1,39);for(var ti=0;ti=128?95:Da)}return Mn.write_shift(1,0),Mn}function Ca(ii,aa){var Hi=$i(ii,aa);Hi[1].v=ii.read_shift(2);var tn=Hi[1].v>>1;if(Hi[1].v&1)switch(tn&7){case 0:tn=(tn>>3)*5e3;break;case 1:tn=(tn>>3)*500;break;case 2:tn=(tn>>3)/20;break;case 3:tn=(tn>>3)/200;break;case 4:tn=(tn>>3)/2e3;break;case 5:tn=(tn>>3)/2e4;break;case 6:tn=(tn>>3)/16;break;case 7:tn=(tn>>3)/64;break}return Hi[1].v=tn,Hi}function Ma(ii,aa){var Hi=$i(ii,aa),tn=ii.read_shift(4),Mn=ii.read_shift(4),ti=ii.read_shift(2);if(ti==65535)return tn===0&&Mn===3221225472?(Hi[1].t="e",Hi[1].v=15):tn===0&&Mn===3489660928?(Hi[1].t="e",Hi[1].v=42):Hi[1].v=0,Hi;var Da=ti&32768;return ti=(ti&32767)-16446,Hi[1].v=(1-Da*2)*(Mn*Math.pow(2,ti+32)+tn*Math.pow(2,ti)),Hi}function La(ii,aa,Hi,tn){var Mn=In(14);if(Mn.write_shift(2,ii),Mn.write_shift(1,Hi),Mn.write_shift(1,aa),tn==0)return Mn.write_shift(4,0),Mn.write_shift(4,0),Mn.write_shift(2,65535),Mn;var ti=0,Da=0,ui=0,pa=0;return tn<0&&(ti=1,tn=-tn),Da=Math.log2(tn)|0,tn/=Math.pow(2,Da-31),pa=tn>>>0,(pa&2147483648)==0&&(tn/=2,++Da,pa=tn>>>0),tn-=pa,pa|=2147483648,pa>>>=0,tn*=Math.pow(2,32),ui=tn>>>0,Mn.write_shift(4,ui),Mn.write_shift(4,pa),Da+=16383+(ti?32768:0),Mn.write_shift(2,Da),Mn}function ua(ii,aa){var Hi=Ma(ii,14);return ii.l+=aa-14,Hi}function xo(ii,aa){var Hi=$i(ii,aa),tn=ii.read_shift(4);return Hi[1].v=tn>>6,Hi}function Os(ii,aa){var Hi=$i(ii,aa),tn=ii.read_shift(8,"f");return Hi[1].v=tn,Hi}function is(ii,aa){var Hi=Os(ii,14);return ii.l+=aa-10,Hi}function Gs(ii,aa){return ii[ii.l+aa-1]==0?ii.read_shift(aa,"cstr"):""}function Ms(ii,aa){var Hi=ii[ii.l++];Hi>aa-1&&(Hi=aa-1);for(var tn="";tn.length127?95:Mn}return Hi[Hi.l++]=0,Hi}var Qo={0:{n:"BOF",f:Rt},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:je},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:_r},14:{n:"NUMBER",f:ln},15:{n:"LABEL",f:Pt},16:{n:"FORMULA",f:An},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:Pt},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:Gs},222:{n:"SHEETNAMELP",f:Ms},65535:{n:""}},$l={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:wa},23:{n:"NUMBER17",f:Ma},24:{n:"NUMBER18",f:Ca},25:{n:"FORMULA19",f:ua},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:Ao},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:xo},38:{n:"??"},39:{n:"NUMBER27",f:Os},40:{n:"FORMULA28",f:is},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:Gs},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:Dl},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:Q,book_to_wk3:ne,to_workbook:N}}();function $u(T){var N={},L=T.match(ot),Q=0,ne=!1;if(L)for(;Q!=L.length;++Q){var Te=Gt(L[Q]);switch(Te[0].replace(/\w*:/g,"")){case"":case"":N.shadow=1;break;case"":break;case"":case"":N.outline=1;break;case"":break;case"":case"":N.strike=1;break;case"":break;case"":case"":N.u=1;break;case"":break;case"":case"":N.b=1;break;case"":break;case"":case"":N.i=1;break;case"":break;case"":case"":break;case"":ne=!1;break;default:if(Te[0].charCodeAt(1)!==47&&!ne)throw new Error("Unrecognized rich format "+Te[0])}}return N}var ld=function(){var T=It("t"),N=It("rPr");function L(Te){var Ve=Te.match(T);if(!Ve)return{t:"s",v:""};var je={t:"s",v:Tn(Ve[1])},vt=Te.match(N);return vt&&(je.s=$u(vt[1])),je}var Q=/<(?:\w+:)?r>/g,ne=/<\/(?:\w+:)?r>/;return function(Ve){return Ve.replace(Q,"").split(ne).map(L).filter(function(je){return je.v})}}(),ku=function(){var N=/(\r\n|\n)/g;function L(ne,Te,Ve){var je=[];ne.u&&je.push("text-decoration: underline;"),ne.uval&&je.push("text-underline-style:"+ne.uval+";"),ne.sz&&je.push("font-size:"+ne.sz+"pt;"),ne.outline&&je.push("text-effect: outline;"),ne.shadow&&je.push("text-shadow: auto;"),Te.push(''),ne.b&&(Te.push(""),Ve.push("")),ne.i&&(Te.push(""),Ve.push("")),ne.strike&&(Te.push(""),Ve.push(""));var vt=ne.valign||"";return vt=="superscript"||vt=="super"?vt="sup":vt=="subscript"&&(vt="sub"),vt!=""&&(Te.push("<"+vt+">"),Ve.push("")),Ve.push(""),ne}function Q(ne){var Te=[[],ne.v,[]];return ne.v?(ne.s&&L(ne.s,Te[0],Te[2]),Te[0].join("")+Te[1].replace(N,"
")+Te[2].join("")):""}return function(Te){return Te.map(Q).join("")}}(),Cd=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Pu=/<(?:\w+:)?r>/,qu=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function _e(T,N){var L=N?N.cellHTML:!0,Q={};return T?(T.match(/^\s*<(?:\w+:)?t[^>]*>/)?(Q.t=Tn(er(T.slice(T.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),Q.r=er(T),L&&(Q.h=ze(Q.t))):T.match(Pu)&&(Q.r=er(T),Q.t=Tn(er((T.replace(qu,"").match(Cd)||[]).join("").replace(ot,""))),L&&(Q.h=ku(ld(Q.r)))),Q):{t:""}}var Je=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Ot=/<(?:\w+:)?(?:si|sstItem)>/g,ur=/<\/(?:\w+:)?(?:si|sstItem)>/;function Or(T,N){var L=[],Q="";if(!T)return L;var ne=T.match(Je);if(ne){Q=ne[2].replace(Ot,"").split(ur);for(var Te=0;Te!=Q.length;++Te){var Ve=_e(Q[Te].trim(),N);Ve!=null&&(L[L.length]=Ve)}ne=Gt(ne[1]),L.Count=ne.count,L.Unique=ne.uniqueCount}return L}Ja.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var Wr=/^\s|\s$|[\t\n\r]/;function Ue(T,N){if(!N.bookSST)return"";var L=[Ht];L[L.length]=dr("sst",null,{xmlns:on.main[0],count:T.Count,uniqueCount:T.Unique});for(var Q=0;Q!=T.length;++Q){if(T[Q]==null)continue;var ne=T[Q],Te="";ne.r?Te+=ne.r:(Te+=""),Te+="",L[L.length]=Te}return L.length>2&&(L[L.length]="",L[1]=L[1].replace("/>",">")),L.join("")}function se(T){return[T.read_shift(4),T.read_shift(4)]}function Oe(T,N){var L=[],Q=!1;return na(T,function(Te,Ve,je){switch(je){case 159:L.Count=Te[0],L.Unique=Te[1];break;case 19:L.push(Te);break;case 160:return!0;case 35:Q=!0;break;case 36:Q=!1;break;default:if(Ve.indexOf("Begin")>0||Ve.indexOf("End")>0,!Q||N.WTF)throw new Error("Unexpected record "+je+" "+Ve)}}),L}function tt(T,N){return N||(N=In(8)),N.write_shift(4,T.Count),N.write_shift(4,T.Unique),N}var wt=hn;function zt(T){var N=Ei();pi(N,"BrtBeginSst",tt(T));for(var L=0;L=4&&(T.l+=N-4),L}function Fr(T){var N={};return N.id=T.read_shift(0,"lpp4"),N.R=Jt(T,4),N.U=Jt(T,4),N.W=Jt(T,4),N}function Xr(T){for(var N=T.read_shift(4),L=T.l+N-4,Q={},ne=T.read_shift(4),Te=[];ne-- >0;)Te.push({t:T.read_shift(4),v:T.read_shift(0,"lpp4")});if(Q.name=T.read_shift(0,"lpp4"),Q.comps=Te,T.l!=L)throw new Error("Bad DataSpaceMapEntry: "+T.l+" != "+L);return Q}function Mr(T){var N=[];T.l+=4;for(var L=T.read_shift(4);L-- >0;)N.push(Xr(T));return N}function Ir(T){var N=[];T.l+=4;for(var L=T.read_shift(4);L-- >0;)N.push(T.read_shift(0,"lpp4"));return N}function zr(T){var N={};return T.read_shift(4),T.l+=4,N.id=T.read_shift(0,"lpp4"),N.name=T.read_shift(0,"lpp4"),N.R=Jt(T,4),N.U=Jt(T,4),N.W=Jt(T,4),N}function qr(T){var N=zr(T);if(N.ename=T.read_shift(0,"8lpp4"),N.blksz=T.read_shift(4),N.cmode=T.read_shift(4),T.read_shift(4)!=4)throw new Error("Bad !Primary record");return N}function Ln(T,N){var L=T.l+N,Q={};Q.Flags=T.read_shift(4)&63,T.l+=4,Q.AlgID=T.read_shift(4);var ne=!1;switch(Q.AlgID){case 26126:case 26127:case 26128:ne=Q.Flags==36;break;case 26625:ne=Q.Flags==4;break;case 0:ne=Q.Flags==16||Q.Flags==4||Q.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+Q.AlgID}if(!ne)throw new Error("Encryption Flags/AlgID mismatch");return Q.AlgIDHash=T.read_shift(4),Q.KeySize=T.read_shift(4),Q.ProviderType=T.read_shift(4),T.l+=8,Q.CSPName=T.read_shift(L-T.l>>1,"utf16le"),T.l=L,Q}function xi(T,N){var L={},Q=T.l+N;return T.l+=4,L.Salt=T.slice(T.l,T.l+16),T.l+=16,L.Verifier=T.slice(T.l,T.l+16),T.l+=16,T.read_shift(4),L.VerifierHash=T.slice(T.l,Q),T.l=Q,L}function Ki(T){var N=Jt(T);switch(N.Minor){case 2:return[N.Minor,_a(T,N)];case 3:return[N.Minor,Ji(T,N)];case 4:return[N.Minor,Co(T,N)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+N.Minor)}function _a(T){var N=T.read_shift(4);if((N&63)!=36)throw new Error("EncryptionInfo mismatch");var L=T.read_shift(4),Q=Ln(T,L),ne=xi(T,T.length-T.l);return{t:"Std",h:Q,v:ne}}function Ji(){throw new Error("File is password-protected: ECMA-376 Extensible")}function Co(T){var N=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];T.l+=4;var L=T.read_shift(T.length-T.l,"utf8"),Q={};return L.replace(ot,function(Te){var Ve=Gt(Te);switch(yr(Ve[0])){case"":break;case"":case"":break;case"":break;case"4||Q.Major<2)throw new Error("unrecognized major version code: "+Q.Major);L.Flags=T.read_shift(4),N-=4;var ne=T.read_shift(4);return N-=4,L.EncryptionHeader=Ln(T,ne),N-=ne,L.EncryptionVerifier=xi(T,N),L}function zo(T){var N={},L=N.EncryptionVersionInfo=Jt(T,4);if(L.Major!=1||L.Minor!=1)throw"unrecognized version code "+L.Major+" : "+L.Minor;return N.Salt=T.read_shift(16),N.EncryptedVerifier=T.read_shift(16),N.EncryptedVerifierHash=T.read_shift(16),N}function Eo(T){var N=0,L,Q=Zt(T),ne=Q.length+1,Te,Ve,je,vt,St;for(L=F(ne),L[0]=Q.length,Te=1;Te!=ne;++Te)L[Te]=Q[Te-1];for(Te=ne-1;Te>=0;--Te)Ve=L[Te],je=(N&16384)===0?0:1,vt=N<<1&32767,St=je|vt,N=St^Ve;return N^52811}var ko=function(){var T=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],N=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],L=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],Q=function(je){return(je/2|je*128)&255},ne=function(je,vt){return Q(je^vt)},Te=function(je){for(var vt=N[je.length-1],St=104,Pt=je.length-1;Pt>=0;--Pt)for(var pr=je[Pt],_r=0;_r!=7;++_r)pr&64&&(vt^=L[St]),pr*=2,--St;return vt};return function(Ve){for(var je=Zt(Ve),vt=Te(je),St=je.length,Pt=F(16),pr=0;pr!=16;++pr)Pt[pr]=0;var _r,Rr,ln;for((St&1)===1&&(_r=vt>>8,Pt[St]=ne(T[0],_r),--St,_r=vt&255,Rr=je[je.length-1],Pt[St]=ne(Rr,_r));St>0;)--St,_r=vt>>8,Pt[St]=ne(je[St],_r),--St,_r=vt&255,Pt[St]=ne(je[St],_r);for(St=15,ln=15-je.length;ln>0;)_r=vt>>8,Pt[St]=ne(T[ln],_r),--St,--ln,_r=vt&255,Pt[St]=ne(je[St],_r),--St,--ln;return Pt}}(),Ns=function(N,L,Q,ne,Te){Te||(Te=L),ne||(ne=ko(N));var Ve,je;for(Ve=0;Ve!=L.length;++Ve)je=L[Ve],je^=ne[Q],je=(je>>5|je<<3)&255,Te[Ve]=je,++Q;return[Te,Q,ne]},D=function(N){var L=0,Q=ko(N);return function(ne){var Te=Ns("",ne,L,Q);return L=Te[1],Te[0]}};function U(T,N,L,Q){var ne={key:Rt(T),verificationBytes:Rt(T)};return L.password&&(ne.verifier=Eo(L.password)),Q.valid=ne.verificationBytes===ne.verifier,Q.valid&&(Q.insitu=D(L.password)),ne}function oe(T,N,L){var Q=L||{};return Q.Info=T.read_shift(2),T.l-=2,Q.Info===1?Q.Data=zo(T,N):Q.Data=ja(T,N),Q}function le(T,N,L){var Q={Type:L.biff>=8?T.read_shift(2):0};return Q.Type?oe(T,N-2,Q):U(T,L.biff>=8?N:N-2,L,Q),Q}var Ae=function(){function T(ne,Te){switch(Te.type){case"base64":return N(C.decode(ne),Te);case"binary":return N(ne,Te);case"buffer":return N(E&&b.isBuffer(ne)?ne.toString("binary"):J(ne),Te);case"array":return N(Pe(ne),Te)}throw new Error("Unrecognized type "+Te.type)}function N(ne,Te){var Ve=Te||{},je=Ve.dense?[]:{},vt=ne.match(/\\trowd.*?\\row\b/g);if(!vt.length)throw new Error("RTF missing table");var St={s:{c:0,r:0},e:{c:0,r:vt.length-1}};return vt.forEach(function(Pt,pr){Array.isArray(je)&&(je[pr]=[]);for(var _r=/\\\w+\b/g,Rr=0,ln,kr=-1;ln=_r.exec(Pt);){switch(ln[0]){case"\\cell":var An=Pt.slice(Rr,_r.lastIndex-ln[0].length);if(An[0]==" "&&(An=An.slice(1)),++kr,An.length){var Nn={v:An,t:"s"};Array.isArray(je)?je[pr][kr]=Nn:je[dn({r:pr,c:kr})]=Nn}break}Rr=_r.lastIndex}kr>St.e.c&&(St.e.c=kr)}),je["!ref"]=ba(St),je}function L(ne,Te){return pn(T(ne,Te),Te)}function Q(ne){for(var Te=["{\\rtf1\\ansi"],Ve=ta(ne["!ref"]),je,vt=Array.isArray(ne),St=Ve.s.r;St<=Ve.e.r;++St){Te.push("\\trowd\\trautofit1");for(var Pt=Ve.s.c;Pt<=Ve.e.c;++Pt)Te.push("\\cellx"+(Pt+1));for(Te.push("\\pard\\intbl"),Pt=Ve.s.c;Pt<=Ve.e.c;++Pt){var pr=dn({r:St,c:Pt});if(je=vt?(ne[St]||[])[Pt]:ne[pr],!je||je.v==null&&(!je.f||je.F))continue;Te.push(" "+(je.w||(lr(je),je.w))),Te.push("\\cell")}Te.push("\\pard\\intbl\\row")}return Te.join("")+"}"}return{to_workbook:L,to_sheet:T,from_sheet:Q}}();function Ke(T){var N=T.slice(T[0]==="#"?1:0).slice(0,6);return[parseInt(N.slice(0,2),16),parseInt(N.slice(2,4),16),parseInt(N.slice(4,6),16)]}function Tt(T){for(var N=0,L=1;N!=3;++N)L=L*256+(T[N]>255?255:T[N]<0?0:T[N]);return L.toString(16).toUpperCase().slice(1)}function Qt(T){var N=T[0]/255,L=T[1]/255,Q=T[2]/255,ne=Math.max(N,L,Q),Te=Math.min(N,L,Q),Ve=ne-Te;if(Ve===0)return[0,0,N];var je=0,vt=0,St=ne+Te;vt=Ve/(St>1?2-St:St);switch(ne){case N:je=((L-Q)/Ve+6)%6;break;case L:je=(Q-N)/Ve+2;break;case Q:je=(N-L)/Ve+4;break}return[je/6,vt,St/2]}function fr(T){var N=T[0],L=T[1],Q=T[2],ne=L*2*(Q<.5?Q:1-Q),Te=Q-ne/2,Ve=[Te,Te,Te],je=6*N,vt;if(L!==0)switch(je|0){case 0:case 6:vt=ne*je,Ve[0]+=ne,Ve[1]+=vt;break;case 1:vt=ne*(2-je),Ve[0]+=vt,Ve[1]+=ne;break;case 2:vt=ne*(je-2),Ve[1]+=ne,Ve[2]+=vt;break;case 3:vt=ne*(4-je),Ve[1]+=vt,Ve[2]+=ne;break;case 4:vt=ne*(je-4),Ve[2]+=ne,Ve[0]+=vt;break;case 5:vt=ne*(6-je),Ve[2]+=vt,Ve[0]+=ne;break}for(var St=0;St!=3;++St)Ve[St]=Math.round(Ve[St]*255);return Ve}function vr(T,N){if(N===0)return T;var L=Qt(Ke(T));return N<0?L[2]=L[2]*(1+N):L[2]=1-(1-L[2])*(1-N),Tt(fr(L))}var xn=6,Hn=15,hi=1,ci=xn;function ra(T){return Math.floor((T+Math.round(128/ci)/256)*ci)}function Pa(T){return Math.floor((T-5)/ci*100+.5)/100}function $a(T){return Math.round((T*ci+5)/ci*256)/256}function Qa(T){return $a(Pa(ra(T)))}function Ka(T){var N=Math.abs(T-Qa(T)),L=ci;if(N>.005)for(ci=hi;ci":case"":break;case"":case"":ne={},je.diagonalUp&&(ne.diagonalUp=Xt(je.diagonalUp)),je.diagonalDown&&(ne.diagonalDown=Xt(je.diagonalDown)),N.Borders.push(ne);break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":break;case"":Te=!1;break;default:if(Q&&Q.WTF&&!Te)throw new Error("unrecognized "+je[0]+" in borders")}})}function Ll(T,N,L,Q){N.Fills=[];var ne={},Te=!1;(T[0].match(ot)||[]).forEach(function(Ve){var je=Gt(Ve);switch(yr(je[0])){case"":case"":break;case"":case"":ne={},N.Fills.push(ne);break;case"":break;case"":break;case"":N.Fills.push(ne),ne={};break;case"":je.patternType&&(ne.patternType=je.patternType);break;case"":case"":break;case"":case"":break;case"":case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":Te=!1;break;default:if(Q&&Q.WTF&&!Te)throw new Error("unrecognized "+je[0]+" in fills")}})}function bc(T,N,L,Q){N.Fonts=[];var ne={},Te=!1;(T[0].match(ot)||[]).forEach(function(Ve){var je=Gt(Ve);switch(yr(je[0])){case"":case"":break;case"":break;case"
":case"":N.Fonts.push(ne),ne={};break;case"":case"":break;case"":ne.bold=1;break;case"":ne.italic=1;break;case"":ne.underline=1;break;case"":ne.strike=1;break;case"":ne.outline=1;break;case"":ne.shadow=1;break;case"":ne.condense=1;break;case"":ne.extend=1;break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":Te=!1;break;case"":case"":break;case"":Te=!1;break;default:if(Q&&Q.WTF&&!Te)throw new Error("unrecognized "+je[0]+" in fonts")}})}function Gc(T,N,L){N.NumberFmt=[];for(var Q=Ge(G._table),ne=0;ne":case"":case"":break;case"0){if(vt>392){for(vt=392;vt>60&&!(N.NumberFmt[vt]==null);--vt);N.NumberFmt[vt]=je}G.load(je,vt)}}break;case"":break;default:if(L.WTF)throw new Error("unrecognized "+Ve[0]+" in numFmts")}}}function ic(T){var N=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(L){for(var Q=L[0];Q<=L[1];++Q)T[Q]!=null&&(N[N.length]=dr("numFmt",null,{numFmtId:Q,formatCode:lt(T[Q])}))}),N.length===1?"":(N[N.length]="",N[0]=dr("numFmts",null,{count:N.length-2}).replace("/>",">"),N.join(""))}var Dc=["numFmtId","fillId","fontId","borderId","xfId"],uc=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function gc(T,N,L){N.CellXf=[];var Q,ne=!1;(T[0].match(ot)||[]).forEach(function(Te){var Ve=Gt(Te),je=0;switch(yr(Ve[0])){case"":case"":case"":break;case"":for(Q=Ve,delete Q[0],je=0;je392){for(je=392;je>60;--je)if(N.NumberFmt[Q.numFmtId]==N.NumberFmt[je]){Q.numFmtId=je;break}}N.CellXf.push(Q);break;case"":break;case"":var vt={};Ve.vertical&&(vt.vertical=Ve.vertical),Ve.horizontal&&(vt.horizontal=Ve.horizontal),Ve.textRotation!=null&&(vt.textRotation=Ve.textRotation),Ve.indent&&(vt.indent=Ve.indent),Ve.wrapText&&(vt.wrapText=Xt(Ve.wrapText)),Q.alignment=vt;break;case"":break;case"":case"":break;case"":ne=!1;break;case"":case"":break;case"":ne=!1;break;default:if(L&&L.WTF&&!ne)throw new Error("unrecognized "+Ve[0]+" in cellXfs")}})}function dc(T){var N=[];return N[N.length]=dr("cellXfs",null),T.forEach(function(L){N[N.length]=dr("xf",null,L)}),N[N.length]="",N.length===2?"":(N[0]=dr("cellXfs",null,{count:N.length-2}).replace("/>",">"),N.join(""))}var Jl=function(){var N=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,L=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,Q=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,ne=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,Te=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(je,vt,St){var Pt={};if(!je)return Pt;je=je.replace(//mg,"").replace(//gm,"");var pr;return(pr=je.match(N))&&Gc(pr,Pt,St),(pr=je.match(ne))&&bc(pr,Pt,vt,St),(pr=je.match(Q))&&Ll(pr,Pt,vt,St),(pr=je.match(Te))&&Pl(pr,Pt,vt,St),(pr=je.match(L))&&gc(pr,Pt,St),Pt}}(),Hc=dr("styleSheet",null,{xmlns:on.main[0],"xmlns:vt":on.vt});Ja.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";function cd(T,N){var L=[Ht,Hc],Q;return T.SSF&&(Q=ic(T.SSF))!=null&&(L[L.length]=Q),L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',(Q=dc(N.cellXfs))&&(L[L.length]=Q),L[L.length]='',L[L.length]='',L[L.length]='',L.length>2&&(L[L.length]="",L[1]=L[1].replace("/>",">")),L.join("")}function su(T,N){var L=T.read_shift(2),Q=Vt(T,N-2);return[L,Q]}function hc(T,N,L){L||(L=In(6+4*N.length)),L.write_shift(2,T),Cr(N,L);var Q=L.length>L.l?L.slice(0,L.l):L;return L.l==null&&(L.l=L.length),Q}function eu(T,N,L){var Q={};Q.sz=T.read_shift(2)/20;var ne=bn(T,2,L);ne.fItalic&&(Q.italic=1),ne.fCondense&&(Q.condense=1),ne.fExtend&&(Q.extend=1),ne.fShadow&&(Q.shadow=1),ne.fOutline&&(Q.outline=1),ne.fStrikeout&&(Q.strike=1);var Te=T.read_shift(2);Te===700&&(Q.bold=1);switch(T.read_shift(2)){case 1:Q.vertAlign="superscript";break;case 2:Q.vertAlign="subscript";break}var Ve=T.read_shift(1);Ve!=0&&(Q.underline=Ve);var je=T.read_shift(1);je>0&&(Q.family=je);var vt=T.read_shift(1);vt>0&&(Q.charset=vt),T.l++,Q.color=Nr(T,8);switch(T.read_shift(1)){case 1:Q.scheme="major";break;case 2:Q.scheme="minor";break}return Q.name=Vt(T,N-21),Q}function Ic(T,N){N||(N=In(25+4*32)),N.write_shift(2,T.sz*20),Zr(T,N),N.write_shift(2,T.bold?700:400);var L=0;T.vertAlign=="superscript"?L=1:T.vertAlign=="subscript"&&(L=2),N.write_shift(2,L),N.write_shift(1,T.underline||0),N.write_shift(1,T.family||0),N.write_shift(1,T.charset||0),N.write_shift(1,0),Qr(T.color,N);var Q=0;return T.scheme=="major"&&(Q=1),T.scheme=="minor"&&(Q=2),N.write_shift(1,Q),Cr(T.name,N),N.length>N.l?N.slice(0,N.l):N}var $d=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Do=Z($d),Qc=ki;function lu(T,N){N||(N=In(4*3+8*7+16*1));var L=Do[T.patternType];L==null&&(L=40),N.write_shift(4,L);var Q=0;if(L!=40)for(Qr({auto:1},N),Qr({auto:1},N);Q<12;++Q)N.write_shift(4,0);else{for(;Q<4;++Q)N.write_shift(4,0);for(;Q<12;++Q)N.write_shift(4,0)}return N.length>N.l?N.slice(0,N.l):N}function zl(T,N){var L=T.l+N,Q=T.read_shift(2),ne=T.read_shift(2);return T.l=L,{ixfe:Q,numFmtId:ne}}function Cu(T,N,L){L||(L=In(16)),L.write_shift(2,N||0),L.write_shift(2,T.numFmtId||0),L.write_shift(2,0),L.write_shift(2,0),L.write_shift(2,0),L.write_shift(1,0),L.write_shift(1,0);var Q=0;return L.write_shift(1,Q),L.write_shift(1,0),L.write_shift(1,0),L.write_shift(1,0),L}function fl(T,N){return N||(N=In(10)),N.write_shift(1,0),N.write_shift(1,0),N.write_shift(4,0),N.write_shift(4,0),N}var rc=ki;function qd(T,N){return N||(N=In(51)),N.write_shift(1,0),fl(null,N),fl(null,N),fl(null,N),fl(null,N),fl(null,N),N.length>N.l?N.slice(0,N.l):N}function Nh(T,N){return N||(N=In(12+4*10)),N.write_shift(4,T.xfId),N.write_shift(2,1),N.write_shift(1,+T.builtinId),N.write_shift(1,0),Di(T.name||"",N),N.length>N.l?N.slice(0,N.l):N}function Ed(T,N,L){var Q=In(4+256*2*4);return Q.write_shift(4,T),Di(N,Q),Di(L,Q),Q.length>Q.l?Q.slice(0,Q.l):Q}function _h(T,N,L){var Q={};Q.NumberFmt=[];for(var ne in G._table)Q.NumberFmt[ne]=G._table[ne];Q.CellXf=[],Q.Fonts=[];var Te=[],Ve=!1;return na(T,function(vt,St,Pt){switch(Pt){case 44:Q.NumberFmt[vt[0]]=vt[1],G.load(vt[1],vt[0]);break;case 43:Q.Fonts.push(vt),vt.color.theme!=null&&N&&N.themeElements&&N.themeElements.clrScheme&&(vt.color.rgb=vr(N.themeElements.clrScheme[vt.color.theme].rgb,vt.color.tint||0));break;case 1025:break;case 45:break;case 46:break;case 47:Te[Te.length-1]=="BrtBeginCellXFs"&&Q.CellXf.push(vt);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:Ve=!0;break;case 36:Ve=!1;break;case 37:Te.push(St),Ve=!0;break;case 38:Te.pop(),Ve=!1;break;default:if((St||"").indexOf("Begin")>0)Te.push(St);else if((St||"").indexOf("End")>0)Te.pop();else if(!Ve||L.WTF&&Te[Te.length-1]!="BrtACBegin")throw new Error("Unexpected record "+Pt+" "+St)}}),Q}function jd(T,N){if(!N)return;var L=0;if([[5,8],[23,26],[41,44],[50,392]].forEach(function(Q){for(var ne=Q[0];ne<=Q[1];++ne)N[ne]!=null&&++L}),L==0)return;pi(T,"BrtBeginFmts",ct(L)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(Q){for(var ne=Q[0];ne<=Q[1];++ne)N[ne]!=null&&pi(T,"BrtFmt",hc(ne,N[ne]))}),pi(T,"BrtEndFmts")}function ud(T){var N=1;if(N==0)return;pi(T,"BrtBeginFonts",ct(N)),pi(T,"BrtFont",Ic({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),pi(T,"BrtEndFonts")}function Th(T){var N=2;if(N==0)return;pi(T,"BrtBeginFills",ct(N)),pi(T,"BrtFill",lu({patternType:"none"})),pi(T,"BrtFill",lu({patternType:"gray125"})),pi(T,"BrtEndFills")}function uh(T){var N=1;if(N==0)return;pi(T,"BrtBeginBorders",ct(N)),pi(T,"BrtBorder",qd({})),pi(T,"BrtEndBorders")}function Dh(T){var N=1;pi(T,"BrtBeginCellStyleXFs",ct(N)),pi(T,"BrtXF",Cu({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),pi(T,"BrtEndCellStyleXFs")}function dh(T,N){pi(T,"BrtBeginCellXFs",ct(N.length)),N.forEach(function(L){pi(T,"BrtXF",Cu(L,0))}),pi(T,"BrtEndCellXFs")}function _d(T){var N=1;pi(T,"BrtBeginStyles",ct(N)),pi(T,"BrtStyle",Nh({xfId:0,builtinId:0,name:"Normal"})),pi(T,"BrtEndStyles")}function Mh(T){var N=0;pi(T,"BrtBeginDXFs",ct(N)),pi(T,"BrtEndDXFs")}function hh(T){var N=0;pi(T,"BrtBeginTableStyles",Ed(N,"TableStyleMedium9","PivotStyleMedium4")),pi(T,"BrtEndTableStyles")}function Rh(){return}function fh(T,N){var L=Ei();return pi(L,"BrtBeginStyleSheet"),jd(L,T.SSF),ud(L,T),Th(L,T),uh(L,T),Dh(L,T),dh(L,N.cellXfs),_d(L,T),Mh(L,T),hh(L,T),Rh(L,T),pi(L,"BrtEndStyleSheet"),L.end()}Ja.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";var Fh=["","","","","","","","","","","",""];function eh(T,N,L){N.themeElements.clrScheme=[];var Q={};(T[0].match(ot)||[]).forEach(function(ne){var Te=Gt(ne);switch(Te[0]){case"":break;case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":Te[0].charAt(1)==="/"?(N.themeElements.clrScheme[Fh.indexOf(Te[0])]=Q,Q={}):Q.name=Te[0].slice(3,Te[0].length-1);break;default:if(L&&L.WTF)throw new Error("Unrecognized "+Te[0]+" in clrScheme")}})}function ph(){}function Td(){}var Bc=/]*)>[\s\S]*<\/a:clrScheme>/,ed=/]*)>[\s\S]*<\/a:fontScheme>/,Du=/]*)>[\s\S]*<\/a:fmtScheme>/;function lh(T,N,L){N.themeElements={};var Q;[["clrScheme",Bc,eh],["fontScheme",ed,ph],["fmtScheme",Du,Td]].forEach(function(ne){if(!(Q=T.match(ne[1])))throw new Error(ne[0]+" not found in themeElements");ne[2](Q,N,L)})}var mh=/]*)>[\s\S]*<\/a:themeElements>/;function Hd(T,N){if(!T||T.length===0)return Hd(Id());var L,Q={};if(!(L=T.match(mh)))throw new Error("themeElements not found in theme");return lh(L[0],Q,N),Q.raw=T,Q}function Id(T,N){if(N&&N.themeXLSX)return N.themeXLSX;if(T&&typeof T.raw=="string")return T.raw;var L=[Ht];return L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]='',L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]='',L[L.length]="",L[L.length]="",L[L.length]="",L[L.length]="",L.join("")}function zd(T,N,L){var Q=T.l+N,ne=T.read_shift(4);if(ne===124226)return;if(!L.cellStyles){T.l=Q;return}var Te=T.slice(T.l);T.l=Q;var Ve;try{Ve=Ar(Te,{type:"array"})}catch(vt){return}var je=ve(Ve,"theme/theme/theme1.xml",!0);return je?Hd(je,L):void 0}function gh(T){return T.read_shift(4)}function ch(T){var N={};N.xclrType=T.read_shift(2),N.nTintShade=T.read_shift(2);switch(N.xclrType){case 0:T.l+=4;break;case 1:N.xclrValue=sf(T,4);break;case 2:N.xclrValue=No(T,4);break;case 3:N.xclrValue=gh(T,4);break;case 4:T.l+=4;break}return T.l+=8,N}function sf(T,N){return ki(T,N)}function lf(T,N){return ki(T,N)}function Xh(T){var N=T.read_shift(2),L=T.read_shift(2)-4,Q=[N];switch(N){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:Q[1]=ch(T,L);break;case 6:Q[1]=lf(T,L);break;case 14:case 15:Q[1]=T.read_shift(L===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+N+" "+L)}return Q}function cf(T,N){var L=T.l+N;T.l+=2;var Q=T.read_shift(2);T.l+=2;for(var ne=T.read_shift(2),Te=[];ne-- >0;)Te.push(Xh(T,L-T.l));return{ixfe:Q,ext:Te}}function Gh(T,N){N.forEach(function(L){switch(L[0]){case 4:break;case 5:break;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:break;case 13:break;case 14:break;case 15:break}})}function uf(T){var N=[];if(!T)return N;var L=1;return(T.match(ot)||[]).forEach(function(Q){var ne=Gt(Q);switch(ne[0]){case"":case"":break;case"0)){if(!((je||"").indexOf("End")>0)){if(!ne||L.WTF)throw new Error("Unexpected record "+vt+" "+je)}}}}),Q}function ff(){}function pf(T,N,L,Q){if(!T)return T;var ne=Q||{},Te=!1,Ve=!1;na(T,function(vt,St,Pt){if(Ve)return;switch(Pt){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:Te=!0;break;case 36:Te=!1;break;default:if(!((St||"").indexOf("Begin")>0)){if(!((St||"").indexOf("End")>0)){if(!Te||ne.WTF)throw new Error("Unexpected record "+Pt.toString(16)+" "+St)}}}},ne)}Ja.IMG="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Ja.DRAW="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";function mf(T,N){if(!T)return"??";var L=(T.match(/]*r:id="([^"]*)"/)||["",""])[1];return N["!id"][L].Target}var Ah=1024;function gf(T,N){for(var L=[21600,21600],Q=["m0,0l0",L[1],L[0],L[1],L[0],"0xe"].join(","),ne=[dr("xml",null,{"xmlns:v":Gn.v,"xmlns:o":Gn.o,"xmlns:x":Gn.x,"xmlns:mv":Gn.mv}).replace(/\/>/,">"),dr("o:shapelayout",dr("o:idmap",null,{"v:ext":"edit",data:T}),{"v:ext":"edit"}),dr("v:shapetype",[dr("v:stroke",null,{joinstyle:"miter"}),dr("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:L.join(","),path:Q})];Ah",St,dr("v:shadow",null,Pt),dr("v:path",null,{"o:connecttype":"none"}),'
','',"","",tr("x:Anchor",[Ve.c+1,0,Ve.r+1,0,Ve.c+3,20,Ve.r+5,20].join(",")),tr("x:AutoFill","False"),tr("x:Row",String(Ve.r)),tr("x:Column",String(Ve.c)),Te[1].hidden?"":"","",""])}),ne.push(""),ne.join("")}Ja.CMNT="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";function Af(T,N){var L=Array.isArray(T),Q;N.forEach(function(ne){var Te=Pi(ne.ref);if(L?(T[Te.r]||(T[Te.r]=[]),Q=T[Te.r][Te.c]):Q=T[ne.ref],!Q){Q={t:"z"},L?T[Te.r][Te.c]=Q:T[ne.ref]=Q;var Ve=ta(T["!ref"]||"BDWGO1000001:A1");Ve.s.r>Te.r&&(Ve.s.r=Te.r),Ve.e.rTe.c&&(Ve.s.c=Te.c),Ve.e.c/))return[];var L=[],Q=[],ne=T.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);ne&&ne[1]&&ne[1].split(/<\/\w*:?author>/).forEach(function(Ve){if(Ve===""||Ve.trim()==="")return;var je=Ve.match(/<(?:\w+:)?author[^>]*>(.*)/);je&&L.push(je[1])});var Te=T.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return Te&&Te[1]&&Te[1].split(/<\/\w*:?comment>/).forEach(function(Ve){if(Ve===""||Ve.trim()==="")return;var je=Ve.match(/<(?:\w+:)?comment[^>]*>/);if(!je)return;var vt=Gt(je[0]),St={author:vt.authorId&&L[vt.authorId]||"sheetjsghost",ref:vt.ref,guid:vt.guid},Pt=Pi(vt.ref);if(N.sheetRows&&N.sheetRows<=Pt.r)return;var pr=Ve.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),_r=!!pr&&!!pr[1]&&_e(pr[1])||{r:"",t:"",h:""};St.r=_r.r,_r.r==""&&(_r.t=_r.h=""),St.t=(_r.t||"").replace(/\r\n/g,` `).replace(/\r/g,` -`),N.cellHTML&&(St.h=_r.h),Q.push(St)}),Q}var bf=dr("comments",null,{xmlns:on.main[0]});function yf(T){var N=[Ht,bf],L=[];return N.push(""),T.forEach(function(Q){Q[1].forEach(function(ne){var Te=lt(ne.a);if(L.indexOf(Te)>-1)return;L.push(Te),N.push(""+Te+"")})}),N.push(""),N.push(""),T.forEach(function(Q){Q[1].forEach(function(ne){N.push(''),N.push(tr("t",ne.t==null?"":lt(ne.t))),N.push("")})}),N.push(""),N.length>2&&(N[N.length]="",N[1]=N[1].replace("/>",">")),N.join("")}function xt(T){var N={};N.iauthor=T.read_shift(4);var L=xa(T,16);return N.rfx=L.s,N.ref=dn(L.s),T.l+=16,N}function ye(T,N){return N==null&&(N=In(36)),N.write_shift(4,T[1].iauthor),Ai(T[0],N),N.write_shift(4,0),N.write_shift(4,0),N.write_shift(4,0),N.write_shift(4,0),N}var Fe=Vt;function Ke(T){return Cr(T.slice(0,54))}function At(T,N){var L=[],Q=[],ne={},Te=!1;return na(T,function(je,vt,St){switch(St){case 632:Q.push(je);break;case 635:ne=je;break;case 637:ne.t=je.t,ne.h=je.h,ne.r=je.r;break;case 636:if(ne.author=Q[ne.iauthor],delete ne.iauthor,N.sheetRows&&ne.rfx&&N.sheetRows<=ne.rfx.r)break;ne.t||(ne.t=""),delete ne.rfx,L.push(ne);break;case 3072:break;case 35:Te=!0;break;case 36:Te=!1;break;case 37:break;case 38:break;default:if(!((vt||"").indexOf("Begin")>0)){if(!((vt||"").indexOf("End")>0)){if(!Te||N.WTF)throw new Error("Unexpected record "+St+" "+vt)}}}}),L}function cr(T){var N=Ei(),L=[];return pi(N,"BrtBeginComments"),pi(N,"BrtBeginCommentAuthors"),T.forEach(function(Q){Q[1].forEach(function(ne){if(L.indexOf(ne.a)>-1)return;L.push(ne.a.slice(0,54)),pi(N,"BrtCommentAuthor",Ke(ne.a))})}),pi(N,"BrtEndCommentAuthors"),pi(N,"BrtBeginCommentList"),T.forEach(function(Q){Q[1].forEach(function(ne){ne.iauthor=L.indexOf(ne.a);var Te={s:Pi(Q[0]),e:Pi(Q[0])};pi(N,"BrtBeginComment",ye([Te,ne])),ne.t&&ne.t.length>0&&pi(N,"BrtCommentText",Qn(ne)),pi(N,"BrtEndComment"),delete ne.iauthor})}),pi(N,"BrtEndCommentList"),pi(N,"BrtEndComments"),N.end()}var Hr="application/vnd.ms-office.vbaProject";function sn(T){var N=ke.utils.cfb_new({root:"R"});return T.FullPaths.forEach(function(L,Q){if(L.slice(-1)==="/"||!L.match(/_VBA_PROJECT_CUR/))return;var ne=L.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");ke.utils.cfb_add(N,ne,T.FileIndex[Q].content)}),ke.write(N)}function wn(T,N){N.FullPaths.forEach(function(L,Q){if(Q==0)return;var ne=L.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");ne.slice(-1)!=="/"&&ke.utils.cfb_add(T,ne,N.FileIndex[Q].content)})}var jn=["xlsb","xlsm","xlam","biff8","xla"];Ja.DS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",Ja.MS="http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet";function Gi(){return{"!type":"dialog"}}function Mi(){return{"!type":"dialog"}}function Qi(){return{"!type":"macro"}}function wo(){return{"!type":"macro"}}var fo=function(){var T=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,N={r:0,c:0};function L(Q,ne,Te,Ve){var je=!1,vt=!1;Te.length==0?vt=!0:Te.charAt(0)=="["&&(vt=!0,Te=Te.slice(1,-1)),Ve.length==0?je=!0:Ve.charAt(0)=="["&&(je=!0,Ve=Ve.slice(1,-1));var St=Te.length>0?parseInt(Te,10)|0:0,Pt=Ve.length>0?parseInt(Ve,10)|0:0;return je?Pt+=N.c:--Pt,vt?St+=N.r:--St,ne+(je?"":"$")+ya(Pt)+(vt?"":"$")+_i(St)}return function(ne,Te){return N=Te,ne.replace(T,L)}}(),Bo=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,Ds=function(){return function(N,L){return N.replace(Bo,function(Q,ne,Te,Ve,je,vt){var St=ea(Ve)-(Te?0:L.c),Pt=Oi(vt)-(je?0:L.r),pr=Pt==0?"":je?Pt+1:"["+Pt+"]",_r=St==0?"":Te?St+1:"["+St+"]";return ne+"R"+pr+"C"+_r})}}();function fs(T,N){return T.replace(Bo,function(L,Q,ne,Te,Ve,je){return Q+(ne=="$"?ne+Te:ya(ea(Te)+N.c))+(Ve=="$"?Ve+je:_i(Oi(je)+N.r))})}function cs(T,N,L){var Q=ha(N),ne=Q.s,Te=Pi(L),Ve={r:Te.r-ne.r,c:Te.c-ne.c};return fs(T,Ve)}function yl(T){return!(T.length==1)}function Nl(T){return T.replace(/_xlfn\./g,"")}function Cs(T){T.l+=1;return}function Wo(T,N){var L=T.read_shift(N==1?1:2);return[L&16383,L>>14&1,L>>15&1]}function Ul(T,N,L){var Q=2;if(L){if(L.biff>=2&&L.biff<=5)return jl(T,N,L);L.biff==12&&(Q=4)}var ne=T.read_shift(Q),Te=T.read_shift(Q),Ve=Wo(T,2),je=Wo(T,2);return{s:{r:ne,c:Ve[0],cRel:Ve[1],rRel:Ve[2]},e:{r:Te,c:je[0],cRel:je[1],rRel:je[2]}}}function jl(T){var N=Wo(T,2),L=Wo(T,2),Q=T.read_shift(1),ne=T.read_shift(1);return{s:{r:N[0],c:Q,cRel:N[1],rRel:N[2]},e:{r:L[0],c:ne,cRel:L[1],rRel:L[2]}}}function pl(T,N,L){if(L.biff<8)return jl(T,N,L);var Q=T.read_shift(L.biff==12?4:2),ne=T.read_shift(L.biff==12?4:2),Te=Wo(T,2),Ve=Wo(T,2);return{s:{r:Q,c:Te[0],cRel:Te[1],rRel:Te[2]},e:{r:ne,c:Ve[0],cRel:Ve[1],rRel:Ve[2]}}}function Au(T,N,L){if(L&&L.biff>=2&&L.biff<=5)return Uu(T,N,L);var Q=T.read_shift(L&&L.biff==12?4:2),ne=Wo(T,2);return{r:Q,c:ne[0],cRel:ne[1],rRel:ne[2]}}function Uu(T){var N=Wo(T,2),L=T.read_shift(1);return{r:N[0],c:L,cRel:N[1],rRel:N[2]}}function Eu(T){var N=T.read_shift(2),L=T.read_shift(2);return{r:N,c:L&255,fQuoted:!!(L&16384),cRel:L>>15,rRel:L>>15}}function Zc(T,N,L){var Q=L&&L.biff?L.biff:8;if(Q>=2&&Q<=5)return th(T,N,L);var ne=T.read_shift(Q>=12?4:2),Te=T.read_shift(2),Ve=(Te&16384)>>14,je=(Te&32768)>>15;if(Te&=16383,je==1)for(;ne>524287;)ne-=1048576;if(Ve==1)for(;Te>8191;)Te=Te-16384;return{r:ne,c:Te,cRel:Ve,rRel:je}}function th(T){var N=T.read_shift(2),L=T.read_shift(1),Q=(N&32768)>>15,ne=(N&16384)>>14;return N&=16383,Q==1&&N>=8192&&(N=N-16384),ne==1&&L>=128&&(L=L-256),{r:N,c:L,cRel:ne,rRel:Q}}function dd(T,N,L){var Q=(T[T.l++]&96)>>5,ne=Ul(T,L.biff>=2&&L.biff<=5?6:8,L);return[Q,ne]}function Kd(T,N,L){var Q=(T[T.l++]&96)>>5,ne=T.read_shift(2,"i"),Te=8;if(L)switch(L.biff){case 5:T.l+=12,Te=6;break;case 12:Te=12;break}var Ve=Ul(T,Te,L);return[Q,ne,Ve]}function Wd(T,N,L){var Q=(T[T.l++]&96)>>5;return T.l+=L&&L.biff>8?12:L.biff<8?6:8,[Q]}function Vd(T,N,L){var Q=(T[T.l++]&96)>>5,ne=T.read_shift(2),Te=8;if(L)switch(L.biff){case 5:T.l+=12,Te=6;break;case 12:Te=12;break}return T.l+=Te,[Q,ne]}function rh(T,N,L){var Q=(T[T.l++]&96)>>5,ne=pl(T,N-1,L);return[Q,ne]}function hd(T,N,L){var Q=(T[T.l++]&96)>>5;return T.l+=L.biff==2?6:L.biff==12?14:7,[Q]}function Xd(T){var N=T[T.l+1]&1,L=1;return T.l+=4,[N,L]}function nh(T,N,L){T.l+=2;for(var Q=T.read_shift(L&&L.biff==2?1:2),ne=[],Te=0;Te<=Q;++Te)ne.push(T.read_shift(L&&L.biff==2?1:2));return ne}function ih(T,N,L){var Q=T[T.l+1]&255?1:0;return T.l+=2,[Q,T.read_shift(L&&L.biff==2?1:2)]}function Od(T,N,L){var Q=T[T.l+1]&255?1:0;return T.l+=2,[Q,T.read_shift(L&&L.biff==2?1:2)]}function ah(T){var N=T[T.l+1]&255?1:0;return T.l+=2,[N,T.read_shift(2)]}function Ld(T,N,L){var Q=T[T.l+1]&255?1:0;return T.l+=L&&L.biff==2?3:4,[Q]}function oh(T){var N=T.read_shift(1),L=T.read_shift(1);return[N,L]}function vh(T){return T.read_shift(2),oh(T,2)}function Ep(T){return T.read_shift(2),oh(T,2)}function _p(T,N,L){var Q=(T[T.l]&96)>>5;T.l+=1;var ne=Au(T,0,L);return[Q,ne]}function Tp(T,N,L){var Q=(T[T.l]&96)>>5;T.l+=1;var ne=Zc(T,0,L);return[Q,ne]}function Ip(T,N,L){var Q=(T[T.l]&96)>>5;T.l+=1;var ne=T.read_shift(2);L&&L.biff==5&&(T.l+=12);var Te=Au(T,0,L);return[Q,ne,Te]}function Op(T,N,L){var Q=(T[T.l]&96)>>5;T.l+=1;var ne=T.read_shift(L&&L.biff<=3?1:2);return[Nm[ne],Hf[ne],Q]}function Lp(T,N,L){var Q=T[T.l++],ne=T.read_shift(1),Te=L&&L.biff<=3?[Q==88?-1:0,T.read_shift(1)]:Np(T);return[ne,(Te[0]===0?Hf:Lm)[Te[1]]]}function Np(T){return[T[T.l+1]>>7,T.read_shift(2)&32767]}function Dp(T,N,L){T.l+=L&&L.biff==2?3:4;return}function Mp(T,N,L){if(T.l++,L&&L.biff==12)return[T.read_shift(4,"i"),0];var Q=T.read_shift(2),ne=T.read_shift(L&&L.biff==2?1:2);return[Q,ne]}function Rp(T){return T.l++,Mo[T.read_shift(1)]}function Fp(T){return T.l++,T.read_shift(2)}function Bp(T){return T.l++,T.read_shift(1)!==0}function kp(T){return T.l++,oa(T,8)}function Pp(T,N,L){return T.l++,he(T,N-1,L)}function Up(T,N){var L=[T.read_shift(1)];if(N==12)switch(L[0]){case 2:L[0]=4;break;case 4:L[0]=16;break;case 0:L[0]=1;break;case 1:L[0]=2;break}switch(L[0]){case 4:L[1]=Ts(T,1)?"TRUE":"FALSE",N!=12&&(T.l+=7);break;case 37:case 16:L[1]=Mo[T[T.l]],T.l+=N==12?4:8;break;case 0:T.l+=8;break;case 1:L[1]=oa(T,8);break;case 2:L[1]=Yt(T,0,{biff:N>0&&N<8?2:N});break;default:throw new Error("Bad SerAr: "+L[0])}return L}function jp(T,N,L){for(var Q=T.read_shift(L.biff==12?4:2),ne=[],Te=0;Te!=Q;++Te)ne.push((L.biff==12?xa:Rl)(T,8));return ne}function Hp(T,N,L){var Q=0,ne=0;L.biff==12?(Q=T.read_shift(4),ne=T.read_shift(4)):(ne=1+T.read_shift(1),Q=1+T.read_shift(2)),L.biff>=2&&L.biff<8&&(--Q,--ne==0&&(ne=256));for(var Te=0,Ve=[];Te!=Q&&(Ve[Te]=[]);++Te)for(var je=0;je!=ne;++je)Ve[Te][je]=Up(T,L.biff);return Ve}function zp(T,N,L){var Q=T.read_shift(1)>>>5&3,ne=!L||L.biff>=8?4:2,Te=T.read_shift(ne);switch(L.biff){case 2:T.l+=5;break;case 3:case 4:T.l+=8;break;case 5:T.l+=12;break}return[Q,0,Te]}function Kp(T,N,L){if(L.biff==5)return Wp(T,N,L);var Q=T.read_shift(1)>>>5&3,ne=T.read_shift(2),Te=T.read_shift(4);return[Q,ne,Te]}function Wp(T){var N=T.read_shift(1)>>>5&3,L=T.read_shift(2,"i");T.l+=8;var Q=T.read_shift(2);return T.l+=12,[N,L,Q]}function Vp(T,N,L){var Q=T.read_shift(1)>>>5&3;T.l+=L&&L.biff==2?3:4;var ne=T.read_shift(L&&L.biff==2?1:2);return[Q,ne]}function Xp(T,N,L){var Q=T.read_shift(1)>>>5&3,ne=T.read_shift(L&&L.biff==2?1:2);return[Q,ne]}function Gp(T,N,L){var Q=T.read_shift(1)>>>5&3;return T.l+=4,L.biff<8&&T.l--,L.biff==12&&(T.l+=2),[Q]}function Yp(T,N,L){var Q=(T[T.l++]&96)>>5,ne=T.read_shift(2),Te=4;if(L)switch(L.biff){case 5:Te=15;break;case 12:Te=6;break}return T.l+=Te,[Q,ne]}var Qp=ki,Zp=ki,Jp=ki;function Bh(T,N,L){return T.l+=2,[Eu(T,4,L)]}function wf(T){return T.l+=6,[]}var $p=Bh,qp=wf,em=wf,tm=Bh;function kf(T){return T.l+=2,[Rt(T),T.read_shift(2)&1]}var rm=Bh,nm=kf,im=wf,am=Bh,om=Bh,sm=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function lm(T){T.l+=2;var N=T.read_shift(2),L=T.read_shift(2),Q=T.read_shift(4),ne=T.read_shift(2),Te=T.read_shift(2),Ve=sm[L>>2&31];return{ixti:N,coltype:L&3,rt:Ve,idx:Q,c:ne,C:Te}}function cm(T){return T.l+=2,[T.read_shift(4)]}function um(T,N,L){return T.l+=5,T.l+=2,T.l+=L.biff==2?1:4,["PTGSHEET"]}function dm(T,N,L){return T.l+=L.biff==2?4:5,["PTGENDSHEET"]}function hm(T){var N=T.read_shift(1)>>>5&3,L=T.read_shift(2);return[N,L]}function fm(T){var N=T.read_shift(1)>>>5&3,L=T.read_shift(2);return[N,L]}function pm(T){return T.l+=4,[0,0]}var xf={1:{n:"PtgExp",f:Mp},2:{n:"PtgTbl",f:Jp},3:{n:"PtgAdd",f:Cs},4:{n:"PtgSub",f:Cs},5:{n:"PtgMul",f:Cs},6:{n:"PtgDiv",f:Cs},7:{n:"PtgPower",f:Cs},8:{n:"PtgConcat",f:Cs},9:{n:"PtgLt",f:Cs},10:{n:"PtgLe",f:Cs},11:{n:"PtgEq",f:Cs},12:{n:"PtgGe",f:Cs},13:{n:"PtgGt",f:Cs},14:{n:"PtgNe",f:Cs},15:{n:"PtgIsect",f:Cs},16:{n:"PtgUnion",f:Cs},17:{n:"PtgRange",f:Cs},18:{n:"PtgUplus",f:Cs},19:{n:"PtgUminus",f:Cs},20:{n:"PtgPercent",f:Cs},21:{n:"PtgParen",f:Cs},22:{n:"PtgMissArg",f:Cs},23:{n:"PtgStr",f:Pp},26:{n:"PtgSheet",f:um},27:{n:"PtgEndSheet",f:dm},28:{n:"PtgErr",f:Rp},29:{n:"PtgBool",f:Bp},30:{n:"PtgInt",f:Fp},31:{n:"PtgNum",f:kp},32:{n:"PtgArray",f:hd},33:{n:"PtgFunc",f:Op},34:{n:"PtgFuncVar",f:Lp},35:{n:"PtgName",f:zp},36:{n:"PtgRef",f:_p},37:{n:"PtgArea",f:dd},38:{n:"PtgMemArea",f:Vp},39:{n:"PtgMemErr",f:Qp},40:{n:"PtgMemNoMem",f:Zp},41:{n:"PtgMemFunc",f:Xp},42:{n:"PtgRefErr",f:Gp},43:{n:"PtgAreaErr",f:Wd},44:{n:"PtgRefN",f:Tp},45:{n:"PtgAreaN",f:rh},46:{n:"PtgMemAreaN",f:hm},47:{n:"PtgMemNoMemN",f:fm},57:{n:"PtgNameX",f:Kp},58:{n:"PtgRef3d",f:Ip},59:{n:"PtgArea3d",f:Kd},60:{n:"PtgRefErr3d",f:Yp},61:{n:"PtgAreaErr3d",f:Vd},255:{}},Pf={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};(function(){for(var T in Pf)xf[T]=xf[Pf[T]]})();var mm={1:{n:"PtgElfLel",f:kf},2:{n:"PtgElfRw",f:am},3:{n:"PtgElfCol",f:$p},6:{n:"PtgElfRwV",f:om},7:{n:"PtgElfColV",f:tm},10:{n:"PtgElfRadical",f:rm},11:{n:"PtgElfRadicalS",f:im},13:{n:"PtgElfColS",f:qp},15:{n:"PtgElfColSV",f:em},16:{n:"PtgElfRadicalLel",f:nm},25:{n:"PtgList",f:lm},29:{n:"PtgSxName",f:cm},255:{}},Sf={0:{n:"PtgAttrNoop",f:pm},1:{n:"PtgAttrSemi",f:Ld},2:{n:"PtgAttrIf",f:Od},4:{n:"PtgAttrChoose",f:nh},8:{n:"PtgAttrGoto",f:ih},16:{n:"PtgAttrSum",f:Dp},32:{n:"PtgAttrBaxcel",f:Xd},64:{n:"PtgAttrSpace",f:vh},65:{n:"PtgAttrSpaceSemi",f:Ep},128:{n:"PtgAttrIfError",f:ah},255:{}};Sf[33]=Sf[32];function kh(T,N,L,Q){if(Q.biff<8)return ki(T,N);for(var ne=T.l+N,Te=[],Ve=0;Ve!==L.length;++Ve)switch(L[Ve][0]){case"PtgArray":L[Ve][1]=Hp(T,0,Q),Te.push(L[Ve][1]);break;case"PtgMemArea":L[Ve][2]=jp(T,L[Ve][1],Q),Te.push(L[Ve][2]);break;case"PtgExp":Q&&Q.biff==12&&(L[Ve][1][1]=T.read_shift(4),Te.push(L[Ve][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+L[Ve][0];default:break}return N=ne-T.l,N!==0&&Te.push(ki(T,N)),Te}function Ph(T,N,L){for(var Q=T.l+N,ne,Te,Ve=[];Q!=T.l;)N=Q-T.l,Te=T[T.l],ne=xf[Te],(Te===24||Te===25)&&(ne=(Te===24?mm:Sf)[T[T.l+1]]),!ne||!ne.f?ki(T,N):Ve.push([ne.n,ne.f(T,N,L)]);return Ve}function gm(T){for(var N=[],L=0;L=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"},vm=new RegExp(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/);function bm(T,N){if(!T&&!(N&&N.biff<=5&&N.biff>=2))throw new Error("empty sheet name");return vm.test(T)?"'"+T+"'":T}function Uf(T,N,L){if(!T)return"SH33TJSERR0";if(L.biff>8&&(!T.XTI||!T.XTI[N]))return T.SheetNames[N];if(!T.XTI)return"SH33TJSERR6";var Q=T.XTI[N];if(L.biff<8)return N>1e4&&(N-=65536),N<0&&(N=-N),N==0?"":T.XTI[N-1];if(!Q)return"SH33TJSERR1";var ne="";if(L.biff>8)switch(T[Q[0]][0]){case 357:return ne=Q[1]==-1?"#REF":T.SheetNames[Q[1]],Q[1]==Q[2]?ne:ne+":"+T.SheetNames[Q[2]];case 358:return L.SID!=null?T.SheetNames[L.SID]:"SH33TJSSAME"+T[Q[0]][0];case 355:default:return"SH33TJSSRC"+T[Q[0]][0]}switch(T[Q[0]][0][0]){case 1025:return ne=Q[1]==-1?"#REF":T.SheetNames[Q[1]]||"SH33TJSERR3",Q[1]==Q[2]?ne:ne+":"+T.SheetNames[Q[2]];case 14849:return T[Q[0]].slice(1).map(function(Te){return Te.Name}).join(";;");default:return T[Q[0]][0][3]?(ne=Q[1]==-1?"#REF":T[Q[0]][0][3][Q[1]]||"SH33TJSERR4",Q[1]==Q[2]?ne:ne+":"+T[Q[0]][0][3][Q[2]]):"SH33TJSERR2"}}function jf(T,N,L){var Q=Uf(T,N,L);return Q=="#REF"?Q:bm(Q,L)}function _u(T,N,L,Q,ne){var Te=ne&&ne.biff||8,Ve={s:{c:0,r:0},e:{c:0,r:0}},je=[],vt,St,Pt,pr=0,_r=0,Rr,ln="";if(!T[0]||!T[0][0])return"";for(var kr=-1,An="",Nn=0,Rn=T[0].length;Nn=0){switch(T[0][kr][1][0]){case 0:An=ut(" ",T[0][kr][1][1]);break;case 1:An=ut("\r",T[0][kr][1][1]);break;default:if(An="",ne.WTF)throw new Error("Unexpected PtgAttrSpaceType "+T[0][kr][1][0])}St=St+An,kr=-1}je.push(St+Am[un[0]]+vt);break;case"PtgIsect":vt=je.pop(),St=je.pop(),je.push(St+" "+vt);break;case"PtgUnion":vt=je.pop(),St=je.pop(),je.push(St+","+vt);break;case"PtgRange":vt=je.pop(),St=je.pop(),je.push(St+":"+vt);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":Pt=Ri(un[1][1],Ve,ne),je.push(Un(Pt,Te));break;case"PtgRefN":Pt=L?Ri(un[1][1],L,ne):un[1][1],je.push(Un(Pt,Te));break;case"PtgRef3d":pr=un[1][1],Pt=Ri(un[1][2],Ve,ne),ln=jf(Q,pr,ne);var Bi=ln;je.push(ln+"!"+Un(Pt,Te));break;case"PtgFunc":case"PtgFuncVar":var fa=un[1][0],$i=un[1][1];fa||(fa=0),fa&=127;var wa=fa==0?[]:je.slice(-fa);je.length-=fa,$i==="User"&&($i=wa.shift()),je.push($i+"("+wa.join(",")+")");break;case"PtgBool":je.push(un[1]?"TRUE":"FALSE");break;case"PtgInt":je.push(un[1]);break;case"PtgNum":je.push(String(un[1]));break;case"PtgStr":je.push('"'+un[1].replace(/"/g,'""')+'"');break;case"PtgErr":je.push(un[1]);break;case"PtgAreaN":Rr=Na(un[1][1],L?{s:L}:Ve,ne),je.push(nn(Rr,ne));break;case"PtgArea":Rr=Na(un[1][1],Ve,ne),je.push(nn(Rr,ne));break;case"PtgArea3d":pr=un[1][1],Rr=un[1][2],ln=jf(Q,pr,ne),je.push(ln+"!"+nn(Rr,ne));break;case"PtgAttrSum":je.push("SUM("+je.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":_r=un[1][2];var no=(Q.names||[])[_r-1]||(Q[0]||[])[_r],Ca=no?no.Name:"SH33TJSNAME"+String(_r);Ca in zf&&(Ca=zf[Ca]),je.push(Ca);break;case"PtgNameX":var Ma=un[1][1];_r=un[1][2];var La;if(ne.biff<=5)Ma<0&&(Ma=-Ma),Q[Ma]&&(La=Q[Ma][_r]);else{var ua="";if(((Q[Ma]||[])[0]||[])[0]==14849||(((Q[Ma]||[])[0]||[])[0]==1025?Q[Ma][_r]&&Q[Ma][_r].itab>0&&(ua=Q.SheetNames[Q[Ma][_r].itab-1]+"!"):ua=Q.SheetNames[_r-1]+"!"),Q[Ma]&&Q[Ma][_r])ua+=Q[Ma][_r].Name;else if(Q[0]&&Q[0][_r])ua+=Q[0][_r].Name;else{var xo=(Uf(Q,Ma,ne)||"").split(";;");xo[_r-1]?ua=xo[_r-1]:ua+="SH33TJSERRX"}je.push(ua);break}La||(La={Name:"SH33TJSERRY"}),je.push(La.Name);break;case"PtgParen":var Os="(",is=")";if(kr>=0){An="";switch(T[0][kr][1][0]){case 2:Os=ut(" ",T[0][kr][1][1])+Os;break;case 3:Os=ut("\r",T[0][kr][1][1])+Os;break;case 4:is=ut(" ",T[0][kr][1][1])+is;break;case 5:is=ut("\r",T[0][kr][1][1])+is;break;default:if(ne.WTF)throw new Error("Unexpected PtgAttrSpaceType "+T[0][kr][1][0])}kr=-1}je.push(Os+je.pop()+is);break;case"PtgRefErr":je.push("#REF!");break;case"PtgRefErr3d":je.push("#REF!");break;case"PtgExp":Pt={c:un[1][1],r:un[1][0]};var Gs={c:L.c,r:L.r};if(Q.sharedf[dn(Pt)]){var Ms=Q.sharedf[dn(Pt)];je.push(_u(Ms,Ve,Gs,Q,ne))}else{var Dl=!1;for(vt=0;vt!=Q.arrayf.length;++vt){if(St=Q.arrayf[vt],Pt.cSt[0].e.c)continue;if(Pt.rSt[0].e.r)continue;je.push(_u(St[1],Ve,Gs,Q,ne)),Dl=!0;break}Dl||je.push(un[1])}break;case"PtgArray":je.push("{"+gm(un[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":kr=Nn;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":je.push("");break;case"PtgAreaErr":je.push("#REF!");break;case"PtgAreaErr3d":je.push("#REF!");break;case"PtgList":je.push("Table"+un[1].idx+"[#"+un[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(un));default:throw new Error("Unrecognized Formula Token: "+String(un))}var Ao=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(ne.biff!=3&&(kr>=0&&Ao.indexOf(T[0][Nn][0])==-1)){un=T[0][kr];var Hs=!0;switch(un[1][0]){case 4:Hs=!1;case 0:An=ut(" ",un[1][1]);break;case 5:Hs=!1;case 1:An=ut("\r",un[1][1]);break;default:if(An="",ne.WTF)throw new Error("Unexpected PtgAttrSpaceType "+un[1][0])}je.push((Hs?An:"")+je.pop()+(Hs?"":An)),kr=-1}}if(je.length>1&&ne.WTF)throw new Error("bad formula stack");return je[0]}function ym(T,N,L){var Q=T.l+N,ne=L.biff==2?1:2,Te,Ve=T.read_shift(ne);if(Ve==65535)return[[],ki(T,N-2)];var je=Ph(T,Ve,L);return N!==Ve+ne&&(Te=kh(T,N-Ve-ne,je,L)),T.l=Q,[je,Te]}function wm(T,N,L){var Q=T.l+N,ne=L.biff==2?1:2,Te,Ve=T.read_shift(ne);if(Ve==65535)return[[],ki(T,N-2)];var je=Ph(T,Ve,L);return N!==Ve+ne&&(Te=kh(T,N-Ve-ne,je,L)),T.l=Q,[je,Te]}function xm(T,N,L,Q){var ne=T.l+N,Te=Ph(T,Q,L),Ve;return ne!==T.l&&(Ve=kh(T,ne-T.l,Te,L)),[Te,Ve]}function Sm(T,N,L){var Q=T.l+N,ne,Te=T.read_shift(2),Ve=Ph(T,Te,L);return Te==65535?[[],ki(T,N-2)]:(N!==Te+2&&(ne=kh(T,Q-Te-2,Ve,L)),[Ve,ne])}function Cm(T){var N;if(Vn(T,T.l+6)!==65535)return[oa(T),"n"];switch(T[T.l]){case 0:return T.l+=8,["String","s"];case 1:return N=T[T.l+2]===1,T.l+=8,[N,"b"];case 2:return N=T[T.l+2],T.l+=8,[N,"e"];case 3:return T.l+=8,["","s"]}return[]}function Em(T){if(T==null){var N=In(8);return N.write_shift(1,3),N.write_shift(1,0),N.write_shift(2,0),N.write_shift(2,0),N.write_shift(2,65535),N}else if(typeof T=="number")return Ba(T);return Ba(0)}function Cf(T,N,L){var Q=T.l+N,ne=ss(T,6);L.biff==2&&++T.l;var Te=Cm(T,8),Ve=T.read_shift(1);L.biff!=2&&(T.read_shift(1),L.biff>=5&&T.read_shift(4));var je=wm(T,Q-T.l,L);return{cell:ne,val:Te[0],formula:je,shared:Ve>>3&1,tt:Te[1]}}function _m(T,N,L,Q,ne){var Te=ps(N,L,ne),Ve=Em(T.v),je=In(6),vt=1|32;je.write_shift(2,vt),je.write_shift(4,0);for(var St=In(T.bf.length),Pt=0;Pt0?kh(T,Te,ne,L):null;return[ne,Ve]}var Tm=Yh,Qh=Yh,Im=Yh,Om=Yh,Lm={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},Hf={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Nm={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0},zf={"_xlfn.ACOT":"ACOT","_xlfn.ACOTH":"ACOTH","_xlfn.AGGREGATE":"AGGREGATE","_xlfn.ARABIC":"ARABIC","_xlfn.AVERAGEIF":"AVERAGEIF","_xlfn.AVERAGEIFS":"AVERAGEIFS","_xlfn.BASE":"BASE","_xlfn.BETA.DIST":"BETA.DIST","_xlfn.BETA.INV":"BETA.INV","_xlfn.BINOM.DIST":"BINOM.DIST","_xlfn.BINOM.DIST.RANGE":"BINOM.DIST.RANGE","_xlfn.BINOM.INV":"BINOM.INV","_xlfn.BITAND":"BITAND","_xlfn.BITLSHIFT":"BITLSHIFT","_xlfn.BITOR":"BITOR","_xlfn.BITRSHIFT":"BITRSHIFT","_xlfn.BITXOR":"BITXOR","_xlfn.CEILING.MATH":"CEILING.MATH","_xlfn.CEILING.PRECISE":"CEILING.PRECISE","_xlfn.CHISQ.DIST":"CHISQ.DIST","_xlfn.CHISQ.DIST.RT":"CHISQ.DIST.RT","_xlfn.CHISQ.INV":"CHISQ.INV","_xlfn.CHISQ.INV.RT":"CHISQ.INV.RT","_xlfn.CHISQ.TEST":"CHISQ.TEST","_xlfn.COMBINA":"COMBINA","_xlfn.CONCAT":"CONCAT","_xlfn.CONFIDENCE.NORM":"CONFIDENCE.NORM","_xlfn.CONFIDENCE.T":"CONFIDENCE.T","_xlfn.COT":"COT","_xlfn.COTH":"COTH","_xlfn.COUNTIFS":"COUNTIFS","_xlfn.COVARIANCE.P":"COVARIANCE.P","_xlfn.COVARIANCE.S":"COVARIANCE.S","_xlfn.CSC":"CSC","_xlfn.CSCH":"CSCH","_xlfn.DAYS":"DAYS","_xlfn.DECIMAL":"DECIMAL","_xlfn.ECMA.CEILING":"ECMA.CEILING","_xlfn.ERF.PRECISE":"ERF.PRECISE","_xlfn.ERFC.PRECISE":"ERFC.PRECISE","_xlfn.EXPON.DIST":"EXPON.DIST","_xlfn.F.DIST":"F.DIST","_xlfn.F.DIST.RT":"F.DIST.RT","_xlfn.F.INV":"F.INV","_xlfn.F.INV.RT":"F.INV.RT","_xlfn.F.TEST":"F.TEST","_xlfn.FILTERXML":"FILTERXML","_xlfn.FLOOR.MATH":"FLOOR.MATH","_xlfn.FLOOR.PRECISE":"FLOOR.PRECISE","_xlfn.FORECAST.ETS":"FORECAST.ETS","_xlfn.FORECAST.ETS.CONFINT":"FORECAST.ETS.CONFINT","_xlfn.FORECAST.ETS.SEASONALITY":"FORECAST.ETS.SEASONALITY","_xlfn.FORECAST.ETS.STAT":"FORECAST.ETS.STAT","_xlfn.FORECAST.LINEAR":"FORECAST.LINEAR","_xlfn.FORMULATEXT":"FORMULATEXT","_xlfn.GAMMA":"GAMMA","_xlfn.GAMMA.DIST":"GAMMA.DIST","_xlfn.GAMMA.INV":"GAMMA.INV","_xlfn.GAMMALN.PRECISE":"GAMMALN.PRECISE","_xlfn.GAUSS":"GAUSS","_xlfn.HYPGEOM.DIST":"HYPGEOM.DIST","_xlfn.IFERROR":"IFERROR","_xlfn.IFNA":"IFNA","_xlfn.IFS":"IFS","_xlfn.IMCOSH":"IMCOSH","_xlfn.IMCOT":"IMCOT","_xlfn.IMCSC":"IMCSC","_xlfn.IMCSCH":"IMCSCH","_xlfn.IMSEC":"IMSEC","_xlfn.IMSECH":"IMSECH","_xlfn.IMSINH":"IMSINH","_xlfn.IMTAN":"IMTAN","_xlfn.ISFORMULA":"ISFORMULA","_xlfn.ISO.CEILING":"ISO.CEILING","_xlfn.ISOWEEKNUM":"ISOWEEKNUM","_xlfn.LOGNORM.DIST":"LOGNORM.DIST","_xlfn.LOGNORM.INV":"LOGNORM.INV","_xlfn.MAXIFS":"MAXIFS","_xlfn.MINIFS":"MINIFS","_xlfn.MODE.MULT":"MODE.MULT","_xlfn.MODE.SNGL":"MODE.SNGL","_xlfn.MUNIT":"MUNIT","_xlfn.NEGBINOM.DIST":"NEGBINOM.DIST","_xlfn.NETWORKDAYS.INTL":"NETWORKDAYS.INTL","_xlfn.NIGBINOM":"NIGBINOM","_xlfn.NORM.DIST":"NORM.DIST","_xlfn.NORM.INV":"NORM.INV","_xlfn.NORM.S.DIST":"NORM.S.DIST","_xlfn.NORM.S.INV":"NORM.S.INV","_xlfn.NUMBERVALUE":"NUMBERVALUE","_xlfn.PDURATION":"PDURATION","_xlfn.PERCENTILE.EXC":"PERCENTILE.EXC","_xlfn.PERCENTILE.INC":"PERCENTILE.INC","_xlfn.PERCENTRANK.EXC":"PERCENTRANK.EXC","_xlfn.PERCENTRANK.INC":"PERCENTRANK.INC","_xlfn.PERMUTATIONA":"PERMUTATIONA","_xlfn.PHI":"PHI","_xlfn.POISSON.DIST":"POISSON.DIST","_xlfn.QUARTILE.EXC":"QUARTILE.EXC","_xlfn.QUARTILE.INC":"QUARTILE.INC","_xlfn.QUERYSTRING":"QUERYSTRING","_xlfn.RANK.AVG":"RANK.AVG","_xlfn.RANK.EQ":"RANK.EQ","_xlfn.RRI":"RRI","_xlfn.SEC":"SEC","_xlfn.SECH":"SECH","_xlfn.SHEET":"SHEET","_xlfn.SHEETS":"SHEETS","_xlfn.SKEW.P":"SKEW.P","_xlfn.STDEV.P":"STDEV.P","_xlfn.STDEV.S":"STDEV.S","_xlfn.SUMIFS":"SUMIFS","_xlfn.SWITCH":"SWITCH","_xlfn.T.DIST":"T.DIST","_xlfn.T.DIST.2T":"T.DIST.2T","_xlfn.T.DIST.RT":"T.DIST.RT","_xlfn.T.INV":"T.INV","_xlfn.T.INV.2T":"T.INV.2T","_xlfn.T.TEST":"T.TEST","_xlfn.TEXTJOIN":"TEXTJOIN","_xlfn.UNICHAR":"UNICHAR","_xlfn.UNICODE":"UNICODE","_xlfn.VAR.P":"VAR.P","_xlfn.VAR.S":"VAR.S","_xlfn.WEBSERVICE":"WEBSERVICE","_xlfn.WEIBULL.DIST":"WEIBULL.DIST","_xlfn.WORKDAY.INTL":"WORKDAY.INTL","_xlfn.XOR":"XOR","_xlfn.Z.TEST":"Z.TEST"};function Kf(T){return T.slice(0,3)=="of:"&&(T=T.slice(3)),T.charCodeAt(0)==61&&(T=T.slice(1),T.charCodeAt(0)==61&&(T=T.slice(1))),T=T.replace(/COM\.MICROSOFT\./g,""),T=T.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(N,L){return L.replace(/\./g,"")}),T=T.replace(/\[.(#[A-Z]*[?!])\]/g,"$1"),T.replace(/[;~]/g,",").replace(/\|/g,";")}function Dm(T){var N="of:="+T.replace(Bo,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return N.replace(/;/g,"|").replace(/,/g,";")}function Ef(T){var N=T.split(":"),L=N[0].split(".")[0];return[L,N[0].split(".")[1]+(N.length>1?":"+(N[1].split(".")[1]||N[1].split(".")[0]):"")]}function Mm(T){return T.replace(/\./,"!")}var Uh={},Ih={};Ja.WS=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"];var Zh=typeof Map!="undefined";function _f(T,N,L){var Q=0,ne=T.length;if(L){if(Zh?L.has(N):Object.prototype.hasOwnProperty.call(L,N)){for(var Te=Zh?L.get(N):L[N];Q-1?(L.width=$a(Q),L.customWidth=1):N.width!=null&&(L.width=N.width),N.hidden&&(L.hidden=!0),N.level!=null&&(L.outlineLevel=L.level=N.level),L}function bh(T,N){if(!T)return;var L=[.7,.7,.75,.75,.3,.3];N=="xlml"&&(L=[1,1,1,1,.5,.5]),T.left==null&&(T.left=L[0]),T.right==null&&(T.right=L[1]),T.top==null&&(T.top=L[2]),T.bottom==null&&(T.bottom=L[3]),T.header==null&&(T.header=L[4]),T.footer==null&&(T.footer=L[5])}function yh(T,N,L){var Q=L.revssf[N.z!=null?N.z:"General"],ne=60,Te=T.length;if(Q==null&&L.ssf){for(;ne<392;++ne)if(L.ssf[ne]==null){G.load(N.z,ne),L.ssf[ne]=N.z,L.revssf[N.z]=Q=ne;break}}for(ne=0;ne!=Te;++ne)if(T[ne].numFmtId===Q)return ne;return T[Te]={numFmtId:Q,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},Te}function Wf(T,N,L,Q,ne,Te){try{Q.cellNF&&(T.z=G._table[N])}catch(je){if(Q.WTF)throw je}if(T.t==="z"&&!Q.cellStyles)return;if(T.t==="d"&&typeof T.v=="string"&&(T.v=pt(T.v)),(!Q||Q.cellText!==!1)&&T.t!=="z")try{if(G._table[N]==null&&G.load(re[N]||"General",N),T.t==="e")T.w=T.w||Mo[T.v];else if(N===0)if(T.t==="n")(T.v|0)===T.v?T.w=G._general_int(T.v):T.w=G._general_num(T.v);else if(T.t==="d"){var Ve=pe(T.v);(Ve|0)===Ve?T.w=G._general_int(Ve):T.w=G._general_num(Ve)}else{if(T.v===void 0)return"";T.w=G._general(T.v,Ih)}else T.t==="d"?T.w=G.format(N,pe(T.v),Ih):T.w=G.format(N,T.v,Ih)}catch(je){if(Q.WTF)throw je}if(!Q.cellStyles)return;if(L!=null)try{T.s=Te.Fills[L],T.s.fgColor&&T.s.fgColor.theme&&!T.s.fgColor.rgb&&(T.s.fgColor.rgb=vr(ne.themeElements.clrScheme[T.s.fgColor.theme].rgb,T.s.fgColor.tint||0),Q.WTF&&(T.s.fgColor.raw_rgb=ne.themeElements.clrScheme[T.s.fgColor.theme].rgb)),T.s.bgColor&&T.s.bgColor.theme&&(T.s.bgColor.rgb=vr(ne.themeElements.clrScheme[T.s.bgColor.theme].rgb,T.s.bgColor.tint||0),Q.WTF&&(T.s.bgColor.raw_rgb=ne.themeElements.clrScheme[T.s.bgColor.theme].rgb))}catch(je){if(Q.WTF&&Te.Fills)throw je}}function Rm(T,N,L){if(T&&T["!ref"]){var Q=ta(T["!ref"]);if(Q.e.c=0&&L.s.c>=0&&(T["!ref"]=ba(L))}var Bm=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,km=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,Pm=/<(?:\w:)?hyperlink [^>]*>/mg,Um=/"(\w*:\w*)"/,jm=/<(?:\w:)?col\b[^>]*[\/]?>/g,Hm=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,zm=/<(?:\w:)?pageMargins[^>]*\/>/g,Vf=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,Km=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,Wm=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Vm(T,N,L,Q,ne,Te,Ve){if(!T)return T;Q||(Q={"!id":{}}),_!=null&&N.dense==null&&(N.dense=_);var je=N.dense?[]:{},vt={s:{r:2e6,c:2e6},e:{r:0,c:0}},St="",Pt="",pr=T.match(km);pr?(St=T.slice(0,pr.index),Pt=T.slice(pr.index+pr[0].length)):St=Pt=T;var _r=St.match(Vf);_r?Tf(_r[0],je,ne,L):(_r=St.match(Km))&&Gm(_r[0],_r[1]||"",je,ne,L,Ve,Te);var Rr=(St.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(Rr>0){var ln=St.slice(Rr,Rr+50).match(Um);ln&&Fm(je,ln[1])}var kr=St.match(Wm);kr&&kr[1]&&o0(kr[1],ne);var An=[];if(N.cellStyles){var Nn=St.match(jm);Nn&&t0(An,Nn)}pr&&c0(pr[1],je,N,vt,Te,Ve);var Rn=Pt.match(Hm);Rn&&(je["!autofilter"]=n0(Rn[0]));var un=[],Bi=Pt.match(Bm);if(Bi)for(Rr=0;Rr!=Bi.length;++Rr)un[Rr]=ta(Bi[Rr].slice(Bi[Rr].indexOf('"')+1));var fa=Pt.match(Pm);fa&&$m(je,fa,Q);var $i=Pt.match(zm);if($i&&(je["!margins"]=qm(Gt($i[0]))),!je["!ref"]&&vt.e.c>=vt.s.c&&vt.e.r>=vt.s.r&&(je["!ref"]=ba(vt)),N.sheetRows>0&&je["!ref"]){var wa=ta(je["!ref"]);N.sheetRows<=+wa.e.r&&(wa.e.r=N.sheetRows-1,wa.e.r>vt.e.r&&(wa.e.r=vt.e.r),wa.e.rvt.e.c&&(wa.e.c=vt.e.c),wa.e.c0&&(je["!cols"]=An),un.length>0&&(je["!merges"]=un),je}function Xm(T){if(T.length===0)return"";for(var N='',L=0;L!=T.length;++L)N+='';return N+""}function Tf(T,N,L,Q){var ne=Gt(T);L.Sheets[Q]||(L.Sheets[Q]={}),ne.codeName&&(L.Sheets[Q].CodeName=Tn(er(ne.codeName)))}function Gm(T,N,L,Q,ne,Te,Ve){Tf(T.slice(0,T.indexOf(">")),L,Q,ne)}function Ym(T,N,L,Q,ne){var Te=!1,Ve={},je=null;if(Q.bookType!=="xlsx"&&N.vbaraw){var vt=N.SheetNames[L];try{N.Workbook&&(vt=N.Workbook.Sheets[L].CodeName||vt)}catch(Pt){}Te=!0,Ve.codeName=Wr(lt(vt))}if(T&&T["!outline"]){var St={summaryBelow:1,summaryRight:1};T["!outline"].above&&(St.summaryBelow=0),T["!outline"].left&&(St.summaryRight=0),je=(je||"")+dr("outlinePr",null,St)}if(!Te&&!je)return;ne[ne.length]=dr("sheetPr",je,Ve)}var Qm=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Zm=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function Jm(T){var N={sheet:1};return Qm.forEach(function(L){T[L]!=null&&T[L]&&(N[L]="1")}),Zm.forEach(function(L){T[L]!=null&&!T[L]&&(N[L]="0")}),T.password&&(N.password=Eo(T.password).toString(16).toUpperCase()),dr("sheetProtection",null,N)}function $m(T,N,L){for(var Q=Array.isArray(T),ne=0;ne!=N.length;++ne){var Te=Gt(er(N[ne]),!0);if(!Te.ref)return;var Ve=((L||{})["!id"]||[])[Te.id];Ve?(Te.Target=Ve.Target,Te.location&&(Te.Target+="#"+Tn(Te.location))):(Te.Target="#"+Tn(Te.location),Ve={Target:Te.Target,TargetMode:"Internal"}),Te.Rel=Ve,Te.tooltip&&(Te.Tooltip=Te.tooltip,delete Te.tooltip);for(var je=ta(Te.ref),vt=je.s.r;vt<=je.e.r;++vt)for(var St=je.s.c;St<=je.e.c;++St){var Pt=dn({c:St,r:vt});Q?(T[vt]||(T[vt]=[]),T[vt][St]||(T[vt][St]={t:"z",v:void 0}),T[vt][St].l=Te):(T[Pt]||(T[Pt]={t:"z",v:void 0}),T[Pt].l=Te)}}}function qm(T){var N={};return["left","right","top","bottom","header","footer"].forEach(function(L){T[L]&&(N[L]=parseFloat(T[L]))}),N}function e0(T){return bh(T),dr("pageMargins",null,T)}function t0(T,N){for(var L=!1,Q=0;Q!=N.length;++Q){var ne=Gt(N[Q],!0);ne.hidden&&(ne.hidden=Xt(ne.hidden));var Te=parseInt(ne.min,10)-1,Ve=parseInt(ne.max,10)-1;for(ne.outlineLevel&&(ne.level=+ne.outlineLevel||0),delete ne.min,delete ne.max,ne.width=+ne.width,!L&&ne.width&&(L=!0,Wa(ne.width)),uo(ne);Te<=Ve;)T[Te++]=Nt(ne)}}function r0(T,N){for(var L=[""],Q,ne=0;ne!=N.length;++ne){if(!(Q=N[ne]))continue;L[L.length]=dr("col",null,Jh(ne,Q))}return L[L.length]="",L.join("")}function n0(T){var N={ref:(T.match(/ref="([^"]*)"/)||[])[1]};return N}function i0(T,N,L,Q){var ne=typeof T.ref=="string"?T.ref:ba(T.ref);L.Workbook||(L.Workbook={Sheets:[]}),L.Workbook.Names||(L.Workbook.Names=[]);var Te=L.Workbook.Names,Ve=ha(ne);Ve.s.r==Ve.e.r&&(Ve.e.r=ha(N["!ref"]).e.r,ne=ba(Ve));for(var je=0;jea-z][^>]*)?\/?>/;function o0(T,N){N.Views||(N.Views=[{}]),(T.match(a0)||[]).forEach(function(L,Q){var ne=Gt(L);N.Views[Q]||(N.Views[Q]={}),+ne.zoomScale&&(N.Views[Q].zoom=+ne.zoomScale),Xt(ne.rightToLeft)&&(N.Views[Q].RTL=!0)})}function s0(T,N,L,Q){var ne={workbookViewId:"0"};return(((Q||{}).Workbook||{}).Views||[])[0]&&(ne.rightToLeft=Q.Workbook.Views[0].RTL?"1":"0"),dr("sheetViews",dr("sheetView",null,ne),{})}function l0(T,N,L,Q){if(T.v===void 0&&typeof T.f!="string"||T.t==="z")return"";var ne="",Te=T.t,Ve=T.v;if(T.t!=="z")switch(T.t){case"b":ne=T.v?"1":"0";break;case"n":ne=""+T.v;break;case"e":ne=Mo[T.v];break;case"d":Q&&Q.cellDates?ne=pt(T.v,-1).toISOString():(T=Nt(T),T.t="n",ne=""+(T.v=pe(pt(T.v)))),typeof T.z=="undefined"&&(T.z=G._table[14]);break;default:ne=T.v;break}var je=tr("v",lt(ne)),vt={r:N},St=yh(Q.cellXfs,T,Q);St!==0&&(vt.s=St);switch(T.t){case"n":break;case"d":vt.t="d";break;case"b":vt.t="b";break;case"e":vt.t="e";break;case"z":break;default:if(T.v==null){delete T.t;break}if(T.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(Q&&Q.bookSST){je=tr("v",""+_f(Q.Strings,T.v,Q.revStrings)),vt.t="s";break}vt.t="str";break}if(T.t!=Te&&(T.t=Te,T.v=Ve),typeof T.f=="string"&&T.f){var Pt=T.F&&T.F.slice(0,N.length)==N?{t:"array",ref:T.F}:null;je=dr("f",lt(T.f),Pt)+(T.v!=null?je:"")}return T.l&&L["!links"].push([N,T.l]),T.c&&L["!comments"].push([N,T.c]),dr("c",je,vt)}var c0=function(){var T=/<(?:\w+:)?c[ \/>]/,N=/<\/(?:\w+:)?row>/,L=/r=["']([^"']*)["']/,Q=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,ne=/ref=["']([^"']*)["']/,Te=It("v"),Ve=It("f");return function(vt,St,Pt,pr,_r,Rr){for(var ln=0,kr="",An=[],Nn=[],Rn=0,un=0,Bi=0,fa="",$i,wa,no=0,Ca=0,Ma,La,ua=0,xo=0,Os=Array.isArray(Rr.CellXf),is,Gs=[],Ms=[],Dl=Array.isArray(St),Ao=[],Hs={},Qo=!1,$l=!!Pt.sheetStubs,ii=vt.split(N),aa=0,Hi=ii.length;aa!=Hi;++aa){kr=ii[aa].trim();var tn=kr.length;if(tn===0)continue;var Mn=0;e:for(ln=0;ln":if(kr[ln-1]!="/"){++ln;break e}if(Pt&&Pt.cellStyles){if(wa=Gt(kr.slice(Mn,ln),!0),no=wa.r!=null?parseInt(wa.r,10):no+1,Ca=-1,Pt.sheetRows&&Pt.sheetRows=ln)break;if(wa=Gt(kr.slice(Mn,ln),!0),no=wa.r!=null?parseInt(wa.r,10):no+1,Ca=-1,Pt.sheetRows&&Pt.sheetRowsno-1&&(pr.s.r=no-1),pr.e.r":"")+kr,Nn!=null&&Nn.length===2){for(Rn=0,fa=Nn[1],un=0;un!=fa.length&&!((Bi=fa.charCodeAt(un)-64)<1||Bi>26);++un)Rn=26*Rn+Bi;--Rn,Ca=Rn}else++Ca;for(un=0;un!=kr.length&&!(kr.charCodeAt(un)===62);++un);if(++un,wa=Gt(kr.slice(0,un),!0),wa.r||(wa.r=dn({r:no-1,c:Ca})),fa=kr.slice(un),$i={t:""},(Nn=fa.match(Te))!=null&&Nn[1]!==""&&($i.v=Tn(Nn[1])),Pt.cellFormula){if((Nn=fa.match(Ve))!=null&&Nn[1]!==""){if($i.f=Tn(er(Nn[1])).replace(/\r\n/g,` -`),Pt.xlfn||($i.f=Nl($i.f)),Nn[0].indexOf('t="array"')>-1)$i.F=(fa.match(ne)||[])[1],$i.F.indexOf(":")>-1&&Gs.push([ta($i.F),$i.F]);else if(Nn[0].indexOf('t="shared"')>-1){La=Gt(Nn[0]);var Da=Tn(er(Nn[1]));Pt.xlfn||(Da=Nl(Da)),Ms[parseInt(La.si,10)]=[La,Da,wa.r]}}else(Nn=fa.match(/]*\/>/))&&(La=Gt(Nn[0]),Ms[La.si]&&($i.f=cs(Ms[La.si][1],Ms[La.si][2],wa.r)));var ui=Pi(wa.r);for(un=0;un=Gs[un][0].s.r&&ui.r<=Gs[un][0].e.r&&(ui.c>=Gs[un][0].s.c&&ui.c<=Gs[un][0].e.c&&($i.F=Gs[un][1]))}if(wa.t==null&&$i.v===void 0)if($i.f||$i.F)$i.v=0,$i.t="n";else if($l)$i.t="z";else continue;else $i.t=wa.t||"n";pr.s.c>Ca&&(pr.s.c=Ca),pr.e.c0&&(St["!rows"]=Ao)}}();function u0(T,N,L,Q){var ne=[],Te=[],Ve=ta(T["!ref"]),je="",vt,St="",Pt=[],pr=0,_r=0,Rr=T["!rows"],ln=Array.isArray(T),kr={r:St},An,Nn=-1;for(_r=Ve.s.c;_r<=Ve.e.c;++_r)Pt[_r]=ya(_r);for(pr=Ve.s.r;pr<=Ve.e.r;++pr){for(Te=[],St=_i(pr),_r=Ve.s.c;_r<=Ve.e.c;++_r){vt=Pt[_r]+St;var Rn=ln?(T[pr]||[])[_r]:T[vt];if(Rn===void 0)continue;(je=l0(Rn,vt,T,N,L,Q))!=null&&Te.push(je)}(Te.length>0||Rr&&Rr[pr])&&(kr={r:St},Rr&&Rr[pr]&&(An=Rr[pr],An.hidden&&(kr.hidden=1),Nn=-1,An.hpx?Nn=ts(An.hpx):An.hpt&&(Nn=An.hpt),Nn>-1&&(kr.ht=Nn,kr.customHeight=1),An.level&&(kr.outlineLevel=An.level)),ne[ne.length]=dr("row",Te.join(""),kr))}if(Rr)for(;pr-1&&(kr.ht=Nn,kr.customHeight=1),An.level&&(kr.outlineLevel=An.level),ne[ne.length]=dr("row","",kr));return ne.join("")}var d0=dr("worksheet",null,{xmlns:on.main[0],"xmlns:r":on.r});function h0(T,N,L,Q){var ne=[Ht,d0],Te=L.SheetNames[T],Ve=0,je="",vt=L.Sheets[Te];vt==null&&(vt={});var St=vt["!ref"]||"A1",Pt=ta(St);if(Pt.e.c>16383||Pt.e.r>1048575){if(N.WTF)throw new Error("Range "+St+" exceeds format limit A1:XFD1048576");Pt.e.c=Math.min(Pt.e.c,16383),Pt.e.r=Math.min(Pt.e.c,1048575),St=ba(Pt)}Q||(Q={}),vt["!comments"]=[];var pr=[];Ym(vt,L,T,N,ne),ne[ne.length]=dr("dimension",null,{ref:St}),ne[ne.length]=s0(vt,N,T,L),N.sheetFormat&&(ne[ne.length]=dr("sheetFormatPr",null,{defaultRowHeight:N.sheetFormat.defaultRowHeight||"16",baseColWidth:N.sheetFormat.baseColWidth||"10",outlineLevelRow:N.sheetFormat.outlineLevelRow||"7"})),vt["!cols"]!=null&&vt["!cols"].length>0&&(ne[ne.length]=r0(vt,vt["!cols"])),ne[Ve=ne.length]="",vt["!links"]=[],vt["!ref"]!=null&&(je=u0(vt,N,T,L,Q),je.length>0&&(ne[ne.length]=je)),ne.length>Ve+1&&(ne[ne.length]="",ne[Ve]=ne[Ve].replace("/>",">")),vt["!protect"]&&(ne[ne.length]=Jm(vt["!protect"])),vt["!autofilter"]!=null&&(ne[ne.length]=i0(vt["!autofilter"],vt,L,T)),vt["!merges"]!=null&&vt["!merges"].length>0&&(ne[ne.length]=Xm(vt["!merges"]));var _r=-1,Rr,ln=-1;return vt["!links"].length>0&&(ne[ne.length]="",vt["!links"].forEach(function(kr){if(!kr[1].Target)return;Rr={ref:kr[0]},kr[1].Target.charAt(0)!="#"&&(ln=Vo(Q,-1,lt(kr[1].Target).replace(/#.*$/,""),Ja.HLINK),Rr["r:id"]="rId"+ln),(_r=kr[1].Target.indexOf("#"))>-1&&(Rr.location=lt(kr[1].Target.slice(_r+1))),kr[1].Tooltip&&(Rr.tooltip=lt(kr[1].Tooltip)),ne[ne.length]=dr("hyperlink",null,Rr)}),ne[ne.length]=""),delete vt["!links"],vt["!margins"]!=null&&(ne[ne.length]=e0(vt["!margins"])),(!N||N.ignoreEC||N.ignoreEC==null)&&(ne[ne.length]=tr("ignoredErrors",dr("ignoredError",null,{numberStoredAsText:1,sqref:St}))),pr.length>0&&(ln=Vo(Q,-1,"../drawings/drawing"+(T+1)+".xml",Ja.DRAW),ne[ne.length]=dr("drawing",null,{"r:id":"rId"+ln}),vt["!drawing"]=pr),vt["!comments"].length>0&&(ln=Vo(Q,-1,"../drawings/vmlDrawing"+(T+1)+".vml",Ja.VML),ne[ne.length]=dr("legacyDrawing",null,{"r:id":"rId"+ln}),vt["!legacy"]=ln),ne.length>1&&(ne[ne.length]="",ne[1]=ne[1].replace("/>",">")),ne.join("")}function f0(T,N){var L={},Q=T.l+N;L.r=T.read_shift(4),T.l+=4;var ne=T.read_shift(2);T.l+=1;var Te=T.read_shift(1);return T.l=Q,Te&7&&(L.level=Te&7),Te&16&&(L.hidden=!0),Te&32&&(L.hpt=ne/20),L}function p0(T,N,L){var Q=In(17+8*16),ne=(L["!rows"]||[])[T]||{};Q.write_shift(4,T),Q.write_shift(4,0);var Te=320;ne.hpx?Te=ts(ne.hpx)*20:ne.hpt&&(Te=ne.hpt*20),Q.write_shift(2,Te),Q.write_shift(1,0);var Ve=0;ne.level&&(Ve|=ne.level),ne.hidden&&(Ve|=16),(ne.hpx||ne.hpt)&&(Ve|=32),Q.write_shift(1,Ve),Q.write_shift(1,0);var je=0,vt=Q.l;Q.l+=4;for(var St={r:T,c:0},Pt=0;Pt<16;++Pt){if(N.s.c>Pt+1<<10||N.e.cQ.l?Q.slice(0,Q.l):Q}function m0(T,N,L,Q){var ne=p0(Q,L,N);(ne.length>17||(N["!rows"]||[])[Q])&&pi(T,"BrtRowHdr",ne)}var g0=xa,A0=Ai;function v0(){}function b0(T,N){var L={},Q=T[T.l];return++T.l,L.above=!(Q&64),L.left=!(Q&128),T.l+=18,L.name=Zn(T,N-19),L}function y0(T,N,L){L==null&&(L=In(84+4*T.length));var Q=192;N&&(N.above&&(Q&=~64),N.left&&(Q&=~128)),L.write_shift(1,Q);for(var ne=1;ne<3;++ne)L.write_shift(1,0);return Qr({auto:1},L),L.write_shift(-4,-1),L.write_shift(-4,-1),ni(T,L),L.slice(0,L.l)}function w0(T){var N=qn(T);return[N]}function x0(T,N,L){return L==null&&(L=In(8)),si(N,L)}function S0(T){var N=oi(T);return[N]}function C0(T,N,L){return L==null&&(L=In(4)),Wn(N,L)}function E0(T){var N=qn(T),L=T.read_shift(1);return[N,L,"b"]}function _0(T,N,L){return L==null&&(L=In(9)),si(N,L),L.write_shift(1,T.v?1:0),L}function T0(T){var N=oi(T),L=T.read_shift(1);return[N,L,"b"]}function I0(T,N,L){return L==null&&(L=In(5)),Wn(N,L),L.write_shift(1,T.v?1:0),L}function O0(T){var N=qn(T),L=T.read_shift(1);return[N,L,"e"]}function L0(T,N,L){return L==null&&(L=In(9)),si(N,L),L.write_shift(1,T.v),L}function N0(T){var N=oi(T),L=T.read_shift(1);return[N,L,"e"]}function D0(T,N,L){return L==null&&(L=In(8)),Wn(N,L),L.write_shift(1,T.v),L.write_shift(2,0),L.write_shift(1,0),L}function M0(T){var N=qn(T),L=T.read_shift(4);return[N,L,"s"]}function R0(T,N,L){return L==null&&(L=In(12)),si(N,L),L.write_shift(4,N.v),L}function F0(T){var N=oi(T),L=T.read_shift(4);return[N,L,"s"]}function B0(T,N,L){return L==null&&(L=In(8)),Wn(N,L),L.write_shift(4,N.v),L}function k0(T){var N=qn(T),L=oa(T);return[N,L,"n"]}function P0(T,N,L){return L==null&&(L=In(16)),si(N,L),Ba(T.v,L),L}function Xf(T){var N=oi(T),L=oa(T);return[N,L,"n"]}function U0(T,N,L){return L==null&&(L=In(12)),Wn(N,L),Ba(T.v,L),L}function j0(T){var N=qn(T),L=Ia(T);return[N,L,"n"]}function H0(T,N,L){return L==null&&(L=In(12)),si(N,L),Fa(T.v,L),L}function z0(T){var N=oi(T),L=Ia(T);return[N,L,"n"]}function K0(T,N,L){return L==null&&(L=In(8)),Wn(N,L),Fa(T.v,L),L}function W0(T){var N=qn(T),L=Vt(T);return[N,L,"str"]}function V0(T,N,L){return L==null&&(L=In(12+4*T.v.length)),si(N,L),Cr(T.v,L),L.length>L.l?L.slice(0,L.l):L}function X0(T){var N=oi(T),L=Vt(T);return[N,L,"str"]}function G0(T,N,L){return L==null&&(L=In(8+4*T.v.length)),Wn(N,L),Cr(T.v,L),L.length>L.l?L.slice(0,L.l):L}function Y0(T,N,L){var Q=T.l+N,ne=qn(T);ne.r=L["!row"];var Te=T.read_shift(1),Ve=[ne,Te,"b"];if(L.cellFormula){T.l+=2;var je=Qh(T,Q-T.l,L);Ve[3]=_u(je,null,ne,L.supbooks,L)}else T.l=Q;return Ve}function Q0(T,N,L){var Q=T.l+N,ne=qn(T);ne.r=L["!row"];var Te=T.read_shift(1),Ve=[ne,Te,"e"];if(L.cellFormula){T.l+=2;var je=Qh(T,Q-T.l,L);Ve[3]=_u(je,null,ne,L.supbooks,L)}else T.l=Q;return Ve}function Z0(T,N,L){var Q=T.l+N,ne=qn(T);ne.r=L["!row"];var Te=oa(T),Ve=[ne,Te,"n"];if(L.cellFormula){T.l+=2;var je=Qh(T,Q-T.l,L);Ve[3]=_u(je,null,ne,L.supbooks,L)}else T.l=Q;return Ve}function J0(T,N,L){var Q=T.l+N,ne=qn(T);ne.r=L["!row"];var Te=Vt(T),Ve=[ne,Te,"str"];if(L.cellFormula){T.l+=2;var je=Qh(T,Q-T.l,L);Ve[3]=_u(je,null,ne,L.supbooks,L)}else T.l=Q;return Ve}var $0=xa,q0=Ai;function eg(T,N){return N==null&&(N=In(4)),N.write_shift(4,T),N}function tg(T,N){var L=T.l+N,Q=xa(T,16),ne=wi(T),Te=Vt(T),Ve=Vt(T),je=Vt(T);T.l=L;var vt={rfx:Q,relId:ne,loc:Te,display:je};return Ve&&(vt.Tooltip=Ve),vt}function rg(T,N){var L=In(50+4*(T[1].Target.length+(T[1].Tooltip||"").length));Ai({s:Pi(T[0]),e:Pi(T[0])},L),ia("rId"+N,L);var Q=T[1].Target.indexOf("#"),ne=Q==-1?"":T[1].Target.slice(Q+1);return Cr(ne||"",L),Cr(T[1].Tooltip||"",L),Cr("",L),L.slice(0,L.l)}function ng(){}function ig(T,N,L){var Q=T.l+N,ne=Aa(T,16),Te=T.read_shift(1),Ve=[ne];if(Ve[2]=Te,L.cellFormula){var je=Tm(T,Q-T.l,L);Ve[1]=je}else T.l=Q;return Ve}function ag(T,N,L){var Q=T.l+N,ne=xa(T,16),Te=[ne];if(L.cellFormula){var Ve=Om(T,Q-T.l,L);Te[1]=Ve,T.l=Q}else T.l=Q;return Te}function og(T,N,L){L==null&&(L=In(18));var Q=Jh(T,N);L.write_shift(-4,T),L.write_shift(-4,T),L.write_shift(4,(Q.width||10)*256),L.write_shift(4,0);var ne=0;return N.hidden&&(ne|=1),typeof Q.width=="number"&&(ne|=2),N.level&&(ne|=N.level<<8),L.write_shift(2,ne),L}var Gf=["left","right","top","bottom","header","footer"];function sg(T){var N={};return Gf.forEach(function(L){N[L]=oa(T,8)}),N}function lg(T,N){return N==null&&(N=In(6*8)),bh(T),Gf.forEach(function(L){Ba(T[L],N)}),N}function cg(T){var N=T.read_shift(2);return T.l+=28,{RTL:N&32}}function ug(T,N,L){L==null&&(L=In(30));var Q=924;return(((N||{}).Views||[])[0]||{}).RTL&&(Q|=32),L.write_shift(2,Q),L.write_shift(4,0),L.write_shift(4,0),L.write_shift(4,0),L.write_shift(1,0),L.write_shift(1,0),L.write_shift(2,0),L.write_shift(2,100),L.write_shift(2,0),L.write_shift(2,0),L.write_shift(2,0),L.write_shift(4,0),L}function dg(T){var N=In(24);return N.write_shift(4,4),N.write_shift(4,1),Ai(T,N),N}function hg(T,N){return N==null&&(N=In(16*4+2)),N.write_shift(2,T.password?Eo(T.password):0),N.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(L){L[1]?N.write_shift(4,T[L[0]]!=null&&!T[L[0]]?1:0):N.write_shift(4,T[L[0]]!=null&&T[L[0]]?0:1)}),N}function fg(){}function pg(){}function mg(T,N,L,Q,ne,Te,Ve){if(!T)return T;var je=N||{};Q||(Q={"!id":{}}),_!=null&&je.dense==null&&(je.dense=_);var vt=je.dense?[]:{},St,Pt={s:{r:2e6,c:2e6},e:{r:0,c:0}},pr=[],_r=!1,Rr=!1,ln,kr,An,Nn,Rn,un,Bi,fa,$i,wa=[];je.biff=12,je["!row"]=0;var no=0,Ca=!1,Ma=[],La={},ua=je.supbooks||ne.supbooks||[[]];if(ua.sharedf=La,ua.arrayf=Ma,ua.SheetNames=ne.SheetNames||ne.Sheets.map(function(Dl){return Dl.name}),!je.supbooks&&(je.supbooks=ua,ne.Names))for(var xo=0;xo=$l[0].s.r&&ln.r<=$l[0].e.r&&(Rn>=$l[0].s.c&&Rn<=$l[0].e.c&&(kr.F=ba($l[0]),Ca=!0))}!Ca&&Ao.length>3&&(kr.f=Ao[3])}if(Pt.s.r>ln.r&&(Pt.s.r=ln.r),Pt.s.c>Rn&&(Pt.s.c=Rn),Pt.e.rln.r&&(Pt.s.r=ln.r),Pt.s.c>Rn&&(Pt.s.c=Rn),Pt.e.r=Ao.s;)Os[Ao.e--]={width:Ao.w/256,hidden:!!(Ao.flags&1),level:Ao.level},Gs||(Gs=!0,Wa(Ao.w/256)),uo(Os[Ao.e+1]);break;case 161:vt["!autofilter"]={ref:ba(Ao)};break;case 476:vt["!margins"]=Ao;break;case 147:ne.Sheets[L]||(ne.Sheets[L]={}),Ao.name&&(ne.Sheets[L].CodeName=Ao.name),(Ao.above||Ao.left)&&(vt["!outline"]={above:Ao.above,left:Ao.left});break;case 137:ne.Views||(ne.Views=[{}]),ne.Views[0]||(ne.Views[0]={}),Ao.RTL&&(ne.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:break;case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 49:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:_r=!0;break;case 36:_r=!1;break;case 37:pr.push(Hs),_r=!0;break;case 38:pr.pop(),_r=!1;break;default:if(!((Hs||"").indexOf("Begin")>0)){if(!((Hs||"").indexOf("End")>0)){if(!_r||je.WTF)throw new Error("Unexpected record "+Qo+" "+Hs)}}}},je),delete je.supbooks,delete je["!row"],!vt["!ref"]&&(Pt.s.r<2e6||St&&(St.e.r>0||St.e.c>0||St.s.r>0||St.s.c>0))&&(vt["!ref"]=ba(St||Pt)),je.sheetRows&&vt["!ref"]){var Ms=ta(vt["!ref"]);je.sheetRows<=+Ms.e.r&&(Ms.e.r=je.sheetRows-1,Ms.e.r>Pt.e.r&&(Ms.e.r=Pt.e.r),Ms.e.rPt.e.c&&(Ms.e.c=Pt.e.c),Ms.e.c0&&(vt["!merges"]=wa),Os.length>0&&(vt["!cols"]=Os),is.length>0&&(vt["!rows"]=is),vt}function gg(T,N,L,Q,ne,Te,Ve){if(N.v===void 0)return!1;var je="";switch(N.t){case"b":je=N.v?"1":"0";break;case"d":N=Nt(N),N.z=N.z||G._table[14],N.v=pe(pt(N.v)),N.t="n";break;case"n":case"e":je=""+N.v;break;default:je=N.v;break}var vt={r:L,c:Q};vt.s=yh(ne.cellXfs,N,ne),N.l&&Te["!links"].push([dn(vt),N.l]),N.c&&Te["!comments"].push([dn(vt),N.c]);switch(N.t){case"s":case"str":return ne.bookSST?(je=_f(ne.Strings,N.v,ne.revStrings),vt.t="s",vt.v=je,Ve?pi(T,"BrtShortIsst",B0(N,vt)):pi(T,"BrtCellIsst",R0(N,vt))):(vt.t="str",Ve?pi(T,"BrtShortSt",G0(N,vt)):pi(T,"BrtCellSt",V0(N,vt))),!0;case"n":return N.v==(N.v|0)&&N.v>-1e3&&N.v<1e3?Ve?pi(T,"BrtShortRk",K0(N,vt)):pi(T,"BrtCellRk",H0(N,vt)):Ve?pi(T,"BrtShortReal",U0(N,vt)):pi(T,"BrtCellReal",P0(N,vt)),!0;case"b":return vt.t="b",Ve?pi(T,"BrtShortBool",I0(N,vt)):pi(T,"BrtCellBool",_0(N,vt)),!0;case"e":return vt.t="e",Ve?pi(T,"BrtShortError",D0(N,vt)):pi(T,"BrtCellError",L0(N,vt)),!0}return Ve?pi(T,"BrtShortBlank",C0(N,vt)):pi(T,"BrtCellBlank",x0(N,vt)),!0}function Ag(T,N,L,Q){var ne=ta(N["!ref"]||"A1"),Te,Ve="",je=[];pi(T,"BrtBeginSheetData");var vt=Array.isArray(N),St=ne.e.r;N["!rows"]&&(St=Math.max(ne.e.r,N["!rows"].length-1));for(var Pt=ne.s.r;Pt<=St;++Pt){Ve=_i(Pt),m0(T,N,ne,Pt);var pr=!1;if(Pt<=ne.e.r)for(var _r=ne.s.c;_r<=ne.e.c;++_r){Pt===ne.s.r&&(je[_r]=ya(_r)),Te=je[_r]+Ve;var Rr=vt?(N[Pt]||[])[_r]:N[Te];if(!Rr){pr=!1;continue}pr=gg(T,Rr,Pt,_r,Q,N,pr)}}pi(T,"BrtEndSheetData")}function vg(T,N){if(!N||!N["!merges"])return;pi(T,"BrtBeginMergeCells",eg(N["!merges"].length)),N["!merges"].forEach(function(L){pi(T,"BrtMergeCell",q0(L))}),pi(T,"BrtEndMergeCells")}function bg(T,N){if(!N||!N["!cols"])return;pi(T,"BrtBeginColInfos"),N["!cols"].forEach(function(L,Q){L&&pi(T,"BrtColInfo",og(Q,L))}),pi(T,"BrtEndColInfos")}function yg(T,N){if(!N||!N["!ref"])return;pi(T,"BrtBeginCellIgnoreECs"),pi(T,"BrtCellIgnoreEC",dg(ta(N["!ref"]))),pi(T,"BrtEndCellIgnoreECs")}function wg(T,N,L){N["!links"].forEach(function(Q){if(!Q[1].Target)return;var ne=Vo(L,-1,Q[1].Target.replace(/#.*$/,""),Ja.HLINK);pi(T,"BrtHLink",rg(Q,ne))}),delete N["!links"]}function xg(T,N,L,Q){if(N["!comments"].length>0){var ne=Vo(Q,-1,"../drawings/vmlDrawing"+(L+1)+".vml",Ja.VML);pi(T,"BrtLegacyDrawing",ia("rId"+ne)),N["!legacy"]=ne}}function Sg(T,N,L,Q){if(!N["!autofilter"])return;var ne=N["!autofilter"],Te=typeof ne.ref=="string"?ne.ref:ba(ne.ref);L.Workbook||(L.Workbook={Sheets:[]}),L.Workbook.Names||(L.Workbook.Names=[]);var Ve=L.Workbook.Names,je=ha(Te);je.s.r==je.e.r&&(je.e.r=ha(N["!ref"]).e.r,Te=ba(je));for(var vt=0;vt16383||vt.e.r>1048575){if(N.WTF)throw new Error("Range "+(Ve["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");vt.e.c=Math.min(vt.e.c,16383),vt.e.r=Math.min(vt.e.c,1048575)}return Ve["!links"]=[],Ve["!comments"]=[],pi(ne,"BrtBeginSheet"),(L.vbaraw||Ve["!outline"])&&pi(ne,"BrtWsProp",y0(je,Ve["!outline"])),pi(ne,"BrtWsDim",A0(vt)),Cg(ne,Ve,L.Workbook),Eg(ne,Ve),bg(ne,Ve,T,N,L),Ag(ne,Ve,T,N,L),_g(ne,Ve),Sg(ne,Ve,L,T),vg(ne,Ve),wg(ne,Ve,Q),Ve["!margins"]&&pi(ne,"BrtMargins",lg(Ve["!margins"])),(!N||N.ignoreEC||N.ignoreEC==null)&&yg(ne,Ve),xg(ne,Ve,T,Q),pi(ne,"BrtEndSheet"),ne.end()}Ja.CHART="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",Ja.CHARTEX="http://schemas.microsoft.com/office/2014/relationships/chartEx";function Ig(T){var N=[],L=T.match(/^/),Q;(T.match(/(.*?)<\/c:pt>/mg)||[]).forEach(function(Te){var Ve=Te.match(/(.*)<\/c:v><\/c:pt>/);if(!Ve)return;N[+Ve[1]]=L?+Ve[2]:Ve[2]});var ne=Tn((T.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(T.match(/(.*?)<\/c:f>/mg)||[]).forEach(function(Te){Q=Te.replace(/<.*?>/g,"")}),[N,ne,Q]}function Og(T,N,L,Q,ne,Te){var Ve=Te||{"!type":"chart"};if(!T)return Te;var je=0,vt=0,St="A",Pt={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(T.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(pr){var _r=Ig(pr);Pt.s.r=Pt.s.c=0,Pt.e.c=je,St=ya(je),_r[0].forEach(function(Rr,ln){Ve[St+_i(ln)]={t:"n",v:Rr,z:_r[1]},vt=ln}),Pt.e.r0&&(Ve["!ref"]=ba(Pt)),Ve}Ja.CS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet";var Lg=dr("chartsheet",null,{xmlns:on.main[0],"xmlns:r":on.r});function Ng(T,N,L,Q,ne){if(!T)return T;Q||(Q={"!id":{}});var Te={"!type":"chart","!drawel":null,"!rel":""},Ve,je=T.match(Vf);return je&&Tf(je[0],Te,ne,L),(Ve=T.match(/drawing r:id="(.*?)"/))&&(Te["!rel"]=Ve[1]),Q["!id"][Te["!rel"]]&&(Te["!drawel"]=Q["!id"][Te["!rel"]]),Te}function Dg(T,N,L,Q){var ne=[Ht,Lg];return ne[ne.length]=dr("drawing",null,{"r:id":"rId1"}),Vo(Q,-1,"../drawings/drawing"+(T+1)+".xml",Ja.DRAW),ne.length>2&&(ne[ne.length]="",ne[1]=ne[1].replace("/>",">")),ne.join("")}function Mg(T,N){T.l+=10;var L=Vt(T,N-10);return{name:L}}function Rg(T,N,L,Q,ne){if(!T)return T;Q||(Q={"!id":{}});var Te={"!type":"chart","!drawel":null,"!rel":""},Ve=[],je=!1;return na(T,function(St,Pt,pr){switch(pr){case 550:Te["!rel"]=St;break;case 651:ne.Sheets[L]||(ne.Sheets[L]={}),St.name&&(ne.Sheets[L].CodeName=St.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:je=!0;break;case 36:je=!1;break;case 37:Ve.push(Pt);break;case 38:Ve.pop();break;default:if((Pt||"").indexOf("Begin")>0)Ve.push(Pt);else if((Pt||"").indexOf("End")>0)Ve.pop();else if(!je||N.WTF)throw new Error("Unexpected record "+pr+" "+Pt)}},N),Q["!id"][Te["!rel"]]&&(Te["!drawel"]=Q["!id"][Te["!rel"]]),Te}function Fg(){var T=Ei();return pi(T,"BrtBeginSheet"),pi(T,"BrtEndSheet"),T.end()}var If=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],Bg=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],kg=[],Pg=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Yf(T,N){for(var L=0;L!=T.length;++L)for(var Q=T[L],ne=0;ne!=N.length;++ne){var Te=N[ne];if(Q[Te[0]]==null)Q[Te[0]]=Te[1];else switch(Te[2]){case"bool":typeof Q[Te[0]]=="string"&&(Q[Te[0]]=Xt(Q[Te[0]]));break;case"int":typeof Q[Te[0]]=="string"&&(Q[Te[0]]=parseInt(Q[Te[0]],10));break}}}function Qf(T,N){for(var L=0;L!=N.length;++L){var Q=N[L];if(T[Q[0]]==null)T[Q[0]]=Q[1];else switch(Q[2]){case"bool":typeof T[Q[0]]=="string"&&(T[Q[0]]=Xt(T[Q[0]]));break;case"int":typeof T[Q[0]]=="string"&&(T[Q[0]]=parseInt(T[Q[0]],10));break}}}function Zf(T){Qf(T.WBProps,If),Qf(T.CalcPr,Pg),Yf(T.WBView,Bg),Yf(T.Sheets,kg),Ih.date1904=Xt(T.WBProps.date1904)}function Ug(T){return T.Workbook&&(T.Workbook.WBProps&&Xt(T.Workbook.WBProps.date1904))?"true":"false"}var jg="][*?/\\".split("");function Jf(T,N){if(T.length>31){if(N)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var L=!0;return jg.forEach(function(Q){if(T.indexOf(Q)==-1)return;if(!N)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");L=!1}),L}function Hg(T,N,L){T.forEach(function(Q,ne){Jf(Q);for(var Te=0;Te22)throw new Error("Bad Code Name: Worksheet"+Ve)}})}function zg(T){if(!T||!T.SheetNames||!T.Sheets)throw new Error("Invalid Workbook");if(!T.SheetNames.length)throw new Error("Workbook is empty");var N=T.Workbook&&T.Workbook.Sheets||[];Hg(T.SheetNames,N,!!T.vbaraw);for(var L=0;L":break;case"":case"":break;case"":break;case"":If.forEach(function(pr){if(Pt[pr[0]]==null)return;switch(pr[2]){case"bool":L.WBProps[pr[0]]=Xt(Pt[pr[0]]);break;case"int":L.WBProps[pr[0]]=parseInt(Pt[pr[0]],10);break;default:L.WBProps[pr[0]]=Pt[pr[0]]}}),Pt.codeName&&(L.WBProps.CodeName=er(Pt.codeName));break;case"":break;case"":break;case"":case"":break;case"":delete Pt[0],L.WBView.push(Pt);break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":Q=!1;break;case"":Te.Ref=Tn(er(T.slice(Ve,St))),L.Names.push(Te);break;case"":break;case"":delete Pt[0],L.CalcPr=Pt;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":case"":break;case"":Q=!1;break;case"":Q=!0;break;case"":Q=!1;break;case"0,Q={codeName:"ThisWorkbook"};T.Workbook&&T.Workbook.WBProps&&(If.forEach(function(je){if(T.Workbook.WBProps[je[0]]==null)return;if(T.Workbook.WBProps[je[0]]==je[1])return;Q[je[0]]=T.Workbook.WBProps[je[0]]}),T.Workbook.WBProps.CodeName&&(Q.codeName=T.Workbook.WBProps.CodeName,delete Q.CodeName)),N[N.length]=dr("workbookPr",null,Q);var ne=T.Workbook&&T.Workbook.Sheets||[],Te=0;if(ne&&ne[0]&&!!ne[0].Hidden){for(N[N.length]="",Te=0;Te!=T.SheetNames.length&&ne[Te];++Te)if(!ne[Te].Hidden)break;Te==T.SheetNames.length&&(Te=0),N[N.length]='',N[N.length]=""}for(N[N.length]="",Te=0;Te!=T.SheetNames.length;++Te){var Ve={name:lt(T.SheetNames[Te].slice(0,31))};if(Ve.sheetId=""+(Te+1),Ve["r:id"]="rId"+(Te+1),ne[Te])switch(ne[Te].Hidden){case 1:Ve.state="hidden";break;case 2:Ve.state="veryHidden";break}N[N.length]=dr("sheet",null,Ve)}return N[N.length]="",L&&(N[N.length]="",T.Workbook&&T.Workbook.Names&&T.Workbook.Names.forEach(function(je){var vt={name:je.Name};if(je.Comment&&(vt.comment=je.Comment),je.Sheet!=null&&(vt.localSheetId=""+je.Sheet),je.Hidden&&(vt.hidden="1"),!je.Ref)return;N[N.length]=dr("definedName",lt(je.Ref),vt)}),N[N.length]=""),N.length>2&&(N[N.length]="",N[1]=N[1].replace("/>",">")),N.join("")}function Gg(T,N){var L={};return L.Hidden=T.read_shift(4),L.iTabID=T.read_shift(4),L.strRelID=ca(T,N-8),L.name=Vt(T),L}function Yg(T,N){return N||(N=In(127)),N.write_shift(4,T.Hidden),N.write_shift(4,T.iTabID),ia(T.strRelID,N),Cr(T.name.slice(0,31),N),N.length>N.l?N.slice(0,N.l):N}function Qg(T,N){var L={},Q=T.read_shift(4);L.defaultThemeVersion=T.read_shift(4);var ne=N>8?Vt(T):"";return ne.length>0&&(L.CodeName=ne),L.autoCompressPictures=!!(Q&65536),L.backupFile=!!(Q&64),L.checkCompatibility=!!(Q&4096),L.date1904=!!(Q&1),L.filterPrivacy=!!(Q&8),L.hidePivotFieldList=!!(Q&1024),L.promptedSolutions=!!(Q&16),L.publishItems=!!(Q&2048),L.refreshAllConnections=!!(Q&262144),L.saveExternalLinkValues=!!(Q&128),L.showBorderUnselectedTables=!!(Q&4),L.showInkAnnotation=!!(Q&32),L.showObjects=["all","placeholders","none"][Q>>13&3],L.showPivotChartFilter=!!(Q&32768),L.updateLinks=["userSet","never","always"][Q>>8&3],L}function Zg(T,N){N||(N=In(72));var L=0;return T&&(T.filterPrivacy&&(L|=8)),N.write_shift(4,L),N.write_shift(4,0),ni(T&&T.CodeName||"ThisWorkbook",N),N.slice(0,N.l)}function Jg(T,N){var L={};return T.read_shift(4),L.ArchID=T.read_shift(4),T.l+=N-8,L}function $g(T,N,L){var Q=T.l+N;T.l+=4,T.l+=1;var ne=T.read_shift(4),Te=Ui(T),Ve=Im(T,0,L),je=wi(T);T.l=Q;var vt={Name:Te,Ptg:Ve};return ne<268435455&&(vt.Sheet=ne),je&&(vt.Comment=je),vt}function qg(T,N){var L={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},Q=[],ne=!1;N||(N={}),N.biff=12;var Te=[],Ve=[[]];return Ve.SheetNames=[],Ve.XTI=[],Oh[16]={n:"BrtFRTArchID$",f:Jg},na(T,function(vt,St,Pt){switch(Pt){case 156:Ve.SheetNames.push(vt.name),L.Sheets.push(vt);break;case 153:L.WBProps=vt;break;case 39:vt.Sheet!=null&&(N.SID=vt.Sheet),vt.Ref=_u(vt.Ptg,null,null,Ve,N),delete N.SID,delete vt.Ptg,Te.push(vt);break;case 1036:break;case 357:case 358:case 355:case 667:Ve[0].length?Ve.push([Pt,vt]):Ve[0]=[Pt,vt],Ve[Ve.length-1].XTI=[];break;case 362:Ve.length===0&&(Ve[0]=[],Ve[0].XTI=[]),Ve[Ve.length-1].XTI=Ve[Ve.length-1].XTI.concat(vt),Ve.XTI=Ve.XTI.concat(vt);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:Q.push(St),ne=!0;break;case 36:Q.pop(),ne=!1;break;case 37:Q.push(St),ne=!0;break;case 38:Q.pop(),ne=!1;break;case 16:break;default:if(!((St||"").indexOf("Begin")>0)){if(!((St||"").indexOf("End")>0)){if(!ne||N.WTF&&Q[Q.length-1]!="BrtACBegin"&&Q[Q.length-1]!="BrtFRTBegin")throw new Error("Unexpected record "+Pt+" "+St)}}}},N),Zf(L),L.Names=Te,L.supbooks=Ve,L}function eA(T,N){pi(T,"BrtBeginBundleShs");for(var L=0;L!=N.SheetNames.length;++L){var Q=N.Workbook&&N.Workbook.Sheets&&N.Workbook.Sheets[L]&&N.Workbook.Sheets[L].Hidden||0,ne={Hidden:Q,iTabID:L+1,strRelID:"rId"+(L+1),name:N.SheetNames[L]};pi(T,"BrtBundleSh",Yg(ne))}pi(T,"BrtEndBundleShs")}function tA(T,N){N||(N=In(127));for(var L=0;L!=4;++L)N.write_shift(4,0);return Cr("SheetJS",N),Cr(d.version,N),Cr(d.version,N),Cr("7262",N),N.length>N.l?N.slice(0,N.l):N}function rA(T,N){N||(N=In(29)),N.write_shift(-4,0),N.write_shift(-4,460),N.write_shift(4,28800),N.write_shift(4,17600),N.write_shift(4,500),N.write_shift(4,T),N.write_shift(4,T);var L=120;return N.write_shift(1,L),N.length>N.l?N.slice(0,N.l):N}function nA(T,N){if(!N.Workbook||!N.Workbook.Sheets)return;for(var L=N.Workbook.Sheets,Q=0,ne=-1,Te=-1;Qne)return;pi(T,"BrtBeginBookViews"),pi(T,"BrtBookView",rA(ne)),pi(T,"BrtEndBookViews")}function iA(T,N){var L=Ei();return pi(L,"BrtBeginBook"),pi(L,"BrtFileVersion",tA()),pi(L,"BrtWbProp",Zg(T.Workbook&&T.Workbook.WBProps||null)),nA(L,T,N),eA(L,T,N),pi(L,"BrtEndBook"),L.end()}function aA(T,N,L){return N.slice(-4)===".bin"?qg(T,L):Wg(T,L)}function oA(T,N,L,Q,ne,Te,Ve,je){return N.slice(-4)===".bin"?mg(T,Q,L,ne,Te,Ve,je):Vm(T,Q,L,ne,Te,Ve,je)}function sA(T,N,L,Q,ne,Te,Ve,je){return N.slice(-4)===".bin"?Rg(T,Q,L,ne,Te,Ve,je):Ng(T,Q,L,ne,Te,Ve,je)}function lA(T,N,L,Q,ne,Te,Ve,je){return N.slice(-4)===".bin"?Qi(T,Q,L,ne,Te,Ve,je):wo(T,Q,L,ne,Te,Ve,je)}function cA(T,N,L,Q,ne,Te,Ve,je){return N.slice(-4)===".bin"?Gi(T,Q,L,ne,Te,Ve,je):Mi(T,Q,L,ne,Te,Ve,je)}function uA(T,N,L,Q){return N.slice(-4)===".bin"?_h(T,L,Q):Jl(T,L,Q)}function dA(T,N,L){return Hd(T,L)}function hA(T,N,L){return N.slice(-4)===".bin"?Oe(T,L):Or(T,L)}function fA(T,N,L){return N.slice(-4)===".bin"?At(T,L):vf(T,L)}function pA(T,N,L){return N.slice(-4)===".bin"?hf(T,N,L):uf(T,N,L)}function mA(T,N,L,Q){return L.slice(-4)===".bin"?pf(T,N,L,Q):ff(T,N,L,Q)}function gA(T,N,L){return(N.slice(-4)===".bin"?iA:Xg)(T,L)}function AA(T,N,L,Q,ne){return(N.slice(-4)===".bin"?Tg:h0)(T,L,Q,ne)}function kv(T,N,L,Q,ne){return(N.slice(-4)===".bin"?Fg:Dg)(T,L,Q,ne)}function vA(T,N,L){return(N.slice(-4)===".bin"?fh:cd)(T,L)}function bA(T,N,L){return(N.slice(-4)===".bin"?zt:Ue)(T,L)}function yA(T,N,L){return(N.slice(-4)===".bin"?cr:yf)(T,L)}var $f=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,qf=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function fd(T,N){var L=T.split(/\s+/),Q=[];if(N||(Q[0]=L[0]),L.length===1)return Q;var ne=T.match($f),Te,Ve,je,vt;if(ne)for(vt=0;vt!=ne.length;++vt)Te=ne[vt].match(qf),(Ve=Te[1].indexOf(":"))===-1?Q[Te[1]]=Te[2].slice(1,Te[2].length-1):(Te[1].slice(0,6)==="xmlns:"?je="xmlns"+Te[1].slice(6):je=Te[1].slice(Ve+1),Q[je]=Te[2].slice(1,Te[2].length-1));return Q}function wA(T){var N=T.split(/\s+/),L={};if(N.length===1)return L;var Q=T.match($f),ne,Te,Ve,je;if(Q)for(je=0;je!=Q.length;++je)ne=Q[je].match(qf),(Te=ne[1].indexOf(":"))===-1?L[ne[1]]=ne[2].slice(1,ne[2].length-1):(ne[1].slice(0,6)==="xmlns:"?Ve="xmlns"+ne[1].slice(6):Ve=ne[1].slice(Te+1),L[Ve]=ne[2].slice(1,ne[2].length-1));return L}function xA(T,N){var L=q[T]||Tn(T);return L==="General"?G._general(N):G.format(L,N)}function SA(T,N,L,Q){var ne=Q;switch((L[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":ne=Xt(Q);break;case"i2":case"int":ne=parseInt(Q,10);break;case"r4":case"float":ne=parseFloat(Q);break;case"date":case"dateTime.tz":ne=pt(Q);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+L[0])}T[Tn(N)]=ne}function CA(T,N,L){if(T.t==="z")return;if(!L||L.cellText!==!1)try{T.t==="e"?T.w=T.w||Mo[T.v]:N==="General"?T.t==="n"?(T.v|0)===T.v?T.w=G._general_int(T.v):T.w=G._general_num(T.v):T.w=G._general(T.v):T.w=xA(N||"General",T.v)}catch(Te){if(L.WTF)throw Te}try{var Q=q[N]||N||"General";if(L.cellNF&&(T.z=Q),L.cellDates&&T.t=="n"&&G.is_date(Q)){var ne=G.parse_date_code(T.v);ne&&(T.t="d",T.v=new Date(ne.y,ne.m-1,ne.d,ne.H,ne.M,ne.S,ne.u))}}catch(Te){if(L.WTF)throw Te}}function EA(T,N,L){if(L.cellStyles&&N.Interior){var Q=N.Interior;Q.Pattern&&(Q.patternType=hl[Q.Pattern]||Q.Pattern)}T[N.ID]=N}function _A(T,N,L,Q,ne,Te,Ve,je,vt,St){var Pt="General",pr=Q.StyleID,_r={};St=St||{};var Rr=[],ln=0;for(pr===void 0&&je&&(pr=je.StyleID),pr===void 0&&Ve&&(pr=Ve.StyleID);Te[pr]!==void 0&&!(Te[pr].nf&&(Pt=Te[pr].nf),Te[pr].Interior&&Rr.push(Te[pr].Interior),!Te[pr].Parent);)pr=Te[pr].Parent;switch(L.Type){case"Boolean":Q.t="b",Q.v=Xt(T);break;case"String":Q.t="s",Q.r=gt(Tn(T)),Q.v=T.indexOf("<")>-1?Tn(N||T).replace(/<.*?>/g,""):Q.r;break;case"DateTime":T.slice(-1)!="Z"&&(T+="Z"),Q.v=(pt(T)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3),Q.v!==Q.v?Q.v=Tn(T):Q.v<60&&(Q.v=Q.v-1),(!Pt||Pt=="General")&&(Pt="yyyy-mm-dd");case"Number":Q.v===void 0&&(Q.v=+T),Q.t||(Q.t="n");break;case"Error":Q.t="e",Q.v=Io[T],St.cellText!==!1&&(Q.w=T);break;default:T==""&&N==""?Q.t="z":(Q.t="s",Q.v=gt(N||T));break}if(CA(Q,Pt,St),St.cellFormula!==!1)if(Q.Formula){var kr=Tn(Q.Formula);kr.charCodeAt(0)==61&&(kr=kr.slice(1)),Q.f=fo(kr,ne),delete Q.Formula,Q.ArrayRange=="RC"?Q.F=fo("RC:RC",ne):Q.ArrayRange&&(Q.F=fo(Q.ArrayRange,ne),vt.push([ta(Q.F),Q.F]))}else for(ln=0;ln=vt[ln][0].s.r&&ne.r<=vt[ln][0].e.r&&(ne.c>=vt[ln][0].s.c&&ne.c<=vt[ln][0].e.c&&(Q.F=vt[ln][1]));St.cellStyles&&(Rr.forEach(function(An){!_r.patternType&&An.patternType&&(_r.patternType=An.patternType)}),Q.s=_r),Q.StyleID!==void 0&&(Q.ixfe=Q.StyleID)}function TA(T){T.t=T.v||"",T.t=T.t.replace(/\r\n/g,` +`),N.cellHTML&&(St.h=_r.h),Q.push(St)}),Q}var bf=dr("comments",null,{xmlns:on.main[0]});function yf(T){var N=[Ht,bf],L=[];return N.push(""),T.forEach(function(Q){Q[1].forEach(function(ne){var Te=lt(ne.a);if(L.indexOf(Te)>-1)return;L.push(Te),N.push(""+Te+"")})}),N.push(""),N.push(""),T.forEach(function(Q){Q[1].forEach(function(ne){N.push(''),N.push(tr("t",ne.t==null?"":lt(ne.t))),N.push("")})}),N.push(""),N.length>2&&(N[N.length]="",N[1]=N[1].replace("/>",">")),N.join("")}function xt(T){var N={};N.iauthor=T.read_shift(4);var L=xa(T,16);return N.rfx=L.s,N.ref=dn(L.s),T.l+=16,N}function ye(T,N){return N==null&&(N=In(36)),N.write_shift(4,T[1].iauthor),Ai(T[0],N),N.write_shift(4,0),N.write_shift(4,0),N.write_shift(4,0),N.write_shift(4,0),N}var Fe=Vt;function We(T){return Cr(T.slice(0,54))}function At(T,N){var L=[],Q=[],ne={},Te=!1;return na(T,function(je,vt,St){switch(St){case 632:Q.push(je);break;case 635:ne=je;break;case 637:ne.t=je.t,ne.h=je.h,ne.r=je.r;break;case 636:if(ne.author=Q[ne.iauthor],delete ne.iauthor,N.sheetRows&&ne.rfx&&N.sheetRows<=ne.rfx.r)break;ne.t||(ne.t=""),delete ne.rfx,L.push(ne);break;case 3072:break;case 35:Te=!0;break;case 36:Te=!1;break;case 37:break;case 38:break;default:if(!((vt||"").indexOf("Begin")>0)){if(!((vt||"").indexOf("End")>0)){if(!Te||N.WTF)throw new Error("Unexpected record "+St+" "+vt)}}}}),L}function cr(T){var N=Ei(),L=[];return pi(N,"BrtBeginComments"),pi(N,"BrtBeginCommentAuthors"),T.forEach(function(Q){Q[1].forEach(function(ne){if(L.indexOf(ne.a)>-1)return;L.push(ne.a.slice(0,54)),pi(N,"BrtCommentAuthor",We(ne.a))})}),pi(N,"BrtEndCommentAuthors"),pi(N,"BrtBeginCommentList"),T.forEach(function(Q){Q[1].forEach(function(ne){ne.iauthor=L.indexOf(ne.a);var Te={s:Pi(Q[0]),e:Pi(Q[0])};pi(N,"BrtBeginComment",ye([Te,ne])),ne.t&&ne.t.length>0&&pi(N,"BrtCommentText",Qn(ne)),pi(N,"BrtEndComment"),delete ne.iauthor})}),pi(N,"BrtEndCommentList"),pi(N,"BrtEndComments"),N.end()}var Hr="application/vnd.ms-office.vbaProject";function sn(T){var N=ke.utils.cfb_new({root:"R"});return T.FullPaths.forEach(function(L,Q){if(L.slice(-1)==="/"||!L.match(/_VBA_PROJECT_CUR/))return;var ne=L.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");ke.utils.cfb_add(N,ne,T.FileIndex[Q].content)}),ke.write(N)}function wn(T,N){N.FullPaths.forEach(function(L,Q){if(Q==0)return;var ne=L.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");ne.slice(-1)!=="/"&&ke.utils.cfb_add(T,ne,N.FileIndex[Q].content)})}var jn=["xlsb","xlsm","xlam","biff8","xla"];Ja.DS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",Ja.MS="http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet";function Gi(){return{"!type":"dialog"}}function Mi(){return{"!type":"dialog"}}function Qi(){return{"!type":"macro"}}function wo(){return{"!type":"macro"}}var fo=function(){var T=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,N={r:0,c:0};function L(Q,ne,Te,Ve){var je=!1,vt=!1;Te.length==0?vt=!0:Te.charAt(0)=="["&&(vt=!0,Te=Te.slice(1,-1)),Ve.length==0?je=!0:Ve.charAt(0)=="["&&(je=!0,Ve=Ve.slice(1,-1));var St=Te.length>0?parseInt(Te,10)|0:0,Pt=Ve.length>0?parseInt(Ve,10)|0:0;return je?Pt+=N.c:--Pt,vt?St+=N.r:--St,ne+(je?"":"$")+ya(Pt)+(vt?"":"$")+_i(St)}return function(ne,Te){return N=Te,ne.replace(T,L)}}(),Bo=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,Ds=function(){return function(N,L){return N.replace(Bo,function(Q,ne,Te,Ve,je,vt){var St=ea(Ve)-(Te?0:L.c),Pt=Oi(vt)-(je?0:L.r),pr=Pt==0?"":je?Pt+1:"["+Pt+"]",_r=St==0?"":Te?St+1:"["+St+"]";return ne+"R"+pr+"C"+_r})}}();function fs(T,N){return T.replace(Bo,function(L,Q,ne,Te,Ve,je){return Q+(ne=="$"?ne+Te:ya(ea(Te)+N.c))+(Ve=="$"?Ve+je:_i(Oi(je)+N.r))})}function cs(T,N,L){var Q=ha(N),ne=Q.s,Te=Pi(L),Ve={r:Te.r-ne.r,c:Te.c-ne.c};return fs(T,Ve)}function yl(T){return!(T.length==1)}function Nl(T){return T.replace(/_xlfn\./g,"")}function Cs(T){T.l+=1;return}function Ko(T,N){var L=T.read_shift(N==1?1:2);return[L&16383,L>>14&1,L>>15&1]}function Ul(T,N,L){var Q=2;if(L){if(L.biff>=2&&L.biff<=5)return jl(T,N,L);L.biff==12&&(Q=4)}var ne=T.read_shift(Q),Te=T.read_shift(Q),Ve=Ko(T,2),je=Ko(T,2);return{s:{r:ne,c:Ve[0],cRel:Ve[1],rRel:Ve[2]},e:{r:Te,c:je[0],cRel:je[1],rRel:je[2]}}}function jl(T){var N=Ko(T,2),L=Ko(T,2),Q=T.read_shift(1),ne=T.read_shift(1);return{s:{r:N[0],c:Q,cRel:N[1],rRel:N[2]},e:{r:L[0],c:ne,cRel:L[1],rRel:L[2]}}}function pl(T,N,L){if(L.biff<8)return jl(T,N,L);var Q=T.read_shift(L.biff==12?4:2),ne=T.read_shift(L.biff==12?4:2),Te=Ko(T,2),Ve=Ko(T,2);return{s:{r:Q,c:Te[0],cRel:Te[1],rRel:Te[2]},e:{r:ne,c:Ve[0],cRel:Ve[1],rRel:Ve[2]}}}function Au(T,N,L){if(L&&L.biff>=2&&L.biff<=5)return Uu(T,N,L);var Q=T.read_shift(L&&L.biff==12?4:2),ne=Ko(T,2);return{r:Q,c:ne[0],cRel:ne[1],rRel:ne[2]}}function Uu(T){var N=Ko(T,2),L=T.read_shift(1);return{r:N[0],c:L,cRel:N[1],rRel:N[2]}}function Eu(T){var N=T.read_shift(2),L=T.read_shift(2);return{r:N,c:L&255,fQuoted:!!(L&16384),cRel:L>>15,rRel:L>>15}}function Zc(T,N,L){var Q=L&&L.biff?L.biff:8;if(Q>=2&&Q<=5)return th(T,N,L);var ne=T.read_shift(Q>=12?4:2),Te=T.read_shift(2),Ve=(Te&16384)>>14,je=(Te&32768)>>15;if(Te&=16383,je==1)for(;ne>524287;)ne-=1048576;if(Ve==1)for(;Te>8191;)Te=Te-16384;return{r:ne,c:Te,cRel:Ve,rRel:je}}function th(T){var N=T.read_shift(2),L=T.read_shift(1),Q=(N&32768)>>15,ne=(N&16384)>>14;return N&=16383,Q==1&&N>=8192&&(N=N-16384),ne==1&&L>=128&&(L=L-256),{r:N,c:L,cRel:ne,rRel:Q}}function dd(T,N,L){var Q=(T[T.l++]&96)>>5,ne=Ul(T,L.biff>=2&&L.biff<=5?6:8,L);return[Q,ne]}function Wd(T,N,L){var Q=(T[T.l++]&96)>>5,ne=T.read_shift(2,"i"),Te=8;if(L)switch(L.biff){case 5:T.l+=12,Te=6;break;case 12:Te=12;break}var Ve=Ul(T,Te,L);return[Q,ne,Ve]}function Kd(T,N,L){var Q=(T[T.l++]&96)>>5;return T.l+=L&&L.biff>8?12:L.biff<8?6:8,[Q]}function Vd(T,N,L){var Q=(T[T.l++]&96)>>5,ne=T.read_shift(2),Te=8;if(L)switch(L.biff){case 5:T.l+=12,Te=6;break;case 12:Te=12;break}return T.l+=Te,[Q,ne]}function rh(T,N,L){var Q=(T[T.l++]&96)>>5,ne=pl(T,N-1,L);return[Q,ne]}function hd(T,N,L){var Q=(T[T.l++]&96)>>5;return T.l+=L.biff==2?6:L.biff==12?14:7,[Q]}function Xd(T){var N=T[T.l+1]&1,L=1;return T.l+=4,[N,L]}function nh(T,N,L){T.l+=2;for(var Q=T.read_shift(L&&L.biff==2?1:2),ne=[],Te=0;Te<=Q;++Te)ne.push(T.read_shift(L&&L.biff==2?1:2));return ne}function ih(T,N,L){var Q=T[T.l+1]&255?1:0;return T.l+=2,[Q,T.read_shift(L&&L.biff==2?1:2)]}function Od(T,N,L){var Q=T[T.l+1]&255?1:0;return T.l+=2,[Q,T.read_shift(L&&L.biff==2?1:2)]}function ah(T){var N=T[T.l+1]&255?1:0;return T.l+=2,[N,T.read_shift(2)]}function Ld(T,N,L){var Q=T[T.l+1]&255?1:0;return T.l+=L&&L.biff==2?3:4,[Q]}function oh(T){var N=T.read_shift(1),L=T.read_shift(1);return[N,L]}function vh(T){return T.read_shift(2),oh(T,2)}function Ep(T){return T.read_shift(2),oh(T,2)}function _p(T,N,L){var Q=(T[T.l]&96)>>5;T.l+=1;var ne=Au(T,0,L);return[Q,ne]}function Tp(T,N,L){var Q=(T[T.l]&96)>>5;T.l+=1;var ne=Zc(T,0,L);return[Q,ne]}function Ip(T,N,L){var Q=(T[T.l]&96)>>5;T.l+=1;var ne=T.read_shift(2);L&&L.biff==5&&(T.l+=12);var Te=Au(T,0,L);return[Q,ne,Te]}function Op(T,N,L){var Q=(T[T.l]&96)>>5;T.l+=1;var ne=T.read_shift(L&&L.biff<=3?1:2);return[Nm[ne],Hf[ne],Q]}function Lp(T,N,L){var Q=T[T.l++],ne=T.read_shift(1),Te=L&&L.biff<=3?[Q==88?-1:0,T.read_shift(1)]:Np(T);return[ne,(Te[0]===0?Hf:Lm)[Te[1]]]}function Np(T){return[T[T.l+1]>>7,T.read_shift(2)&32767]}function Dp(T,N,L){T.l+=L&&L.biff==2?3:4;return}function Mp(T,N,L){if(T.l++,L&&L.biff==12)return[T.read_shift(4,"i"),0];var Q=T.read_shift(2),ne=T.read_shift(L&&L.biff==2?1:2);return[Q,ne]}function Rp(T){return T.l++,Mo[T.read_shift(1)]}function Fp(T){return T.l++,T.read_shift(2)}function Bp(T){return T.l++,T.read_shift(1)!==0}function kp(T){return T.l++,oa(T,8)}function Pp(T,N,L){return T.l++,he(T,N-1,L)}function Up(T,N){var L=[T.read_shift(1)];if(N==12)switch(L[0]){case 2:L[0]=4;break;case 4:L[0]=16;break;case 0:L[0]=1;break;case 1:L[0]=2;break}switch(L[0]){case 4:L[1]=Ts(T,1)?"TRUE":"FALSE",N!=12&&(T.l+=7);break;case 37:case 16:L[1]=Mo[T[T.l]],T.l+=N==12?4:8;break;case 0:T.l+=8;break;case 1:L[1]=oa(T,8);break;case 2:L[1]=Yt(T,0,{biff:N>0&&N<8?2:N});break;default:throw new Error("Bad SerAr: "+L[0])}return L}function jp(T,N,L){for(var Q=T.read_shift(L.biff==12?4:2),ne=[],Te=0;Te!=Q;++Te)ne.push((L.biff==12?xa:Rl)(T,8));return ne}function Hp(T,N,L){var Q=0,ne=0;L.biff==12?(Q=T.read_shift(4),ne=T.read_shift(4)):(ne=1+T.read_shift(1),Q=1+T.read_shift(2)),L.biff>=2&&L.biff<8&&(--Q,--ne==0&&(ne=256));for(var Te=0,Ve=[];Te!=Q&&(Ve[Te]=[]);++Te)for(var je=0;je!=ne;++je)Ve[Te][je]=Up(T,L.biff);return Ve}function zp(T,N,L){var Q=T.read_shift(1)>>>5&3,ne=!L||L.biff>=8?4:2,Te=T.read_shift(ne);switch(L.biff){case 2:T.l+=5;break;case 3:case 4:T.l+=8;break;case 5:T.l+=12;break}return[Q,0,Te]}function Wp(T,N,L){if(L.biff==5)return Kp(T,N,L);var Q=T.read_shift(1)>>>5&3,ne=T.read_shift(2),Te=T.read_shift(4);return[Q,ne,Te]}function Kp(T){var N=T.read_shift(1)>>>5&3,L=T.read_shift(2,"i");T.l+=8;var Q=T.read_shift(2);return T.l+=12,[N,L,Q]}function Vp(T,N,L){var Q=T.read_shift(1)>>>5&3;T.l+=L&&L.biff==2?3:4;var ne=T.read_shift(L&&L.biff==2?1:2);return[Q,ne]}function Xp(T,N,L){var Q=T.read_shift(1)>>>5&3,ne=T.read_shift(L&&L.biff==2?1:2);return[Q,ne]}function Gp(T,N,L){var Q=T.read_shift(1)>>>5&3;return T.l+=4,L.biff<8&&T.l--,L.biff==12&&(T.l+=2),[Q]}function Yp(T,N,L){var Q=(T[T.l++]&96)>>5,ne=T.read_shift(2),Te=4;if(L)switch(L.biff){case 5:Te=15;break;case 12:Te=6;break}return T.l+=Te,[Q,ne]}var Qp=ki,Zp=ki,Jp=ki;function Bh(T,N,L){return T.l+=2,[Eu(T,4,L)]}function wf(T){return T.l+=6,[]}var $p=Bh,qp=wf,em=wf,tm=Bh;function kf(T){return T.l+=2,[Rt(T),T.read_shift(2)&1]}var rm=Bh,nm=kf,im=wf,am=Bh,om=Bh,sm=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function lm(T){T.l+=2;var N=T.read_shift(2),L=T.read_shift(2),Q=T.read_shift(4),ne=T.read_shift(2),Te=T.read_shift(2),Ve=sm[L>>2&31];return{ixti:N,coltype:L&3,rt:Ve,idx:Q,c:ne,C:Te}}function cm(T){return T.l+=2,[T.read_shift(4)]}function um(T,N,L){return T.l+=5,T.l+=2,T.l+=L.biff==2?1:4,["PTGSHEET"]}function dm(T,N,L){return T.l+=L.biff==2?4:5,["PTGENDSHEET"]}function hm(T){var N=T.read_shift(1)>>>5&3,L=T.read_shift(2);return[N,L]}function fm(T){var N=T.read_shift(1)>>>5&3,L=T.read_shift(2);return[N,L]}function pm(T){return T.l+=4,[0,0]}var xf={1:{n:"PtgExp",f:Mp},2:{n:"PtgTbl",f:Jp},3:{n:"PtgAdd",f:Cs},4:{n:"PtgSub",f:Cs},5:{n:"PtgMul",f:Cs},6:{n:"PtgDiv",f:Cs},7:{n:"PtgPower",f:Cs},8:{n:"PtgConcat",f:Cs},9:{n:"PtgLt",f:Cs},10:{n:"PtgLe",f:Cs},11:{n:"PtgEq",f:Cs},12:{n:"PtgGe",f:Cs},13:{n:"PtgGt",f:Cs},14:{n:"PtgNe",f:Cs},15:{n:"PtgIsect",f:Cs},16:{n:"PtgUnion",f:Cs},17:{n:"PtgRange",f:Cs},18:{n:"PtgUplus",f:Cs},19:{n:"PtgUminus",f:Cs},20:{n:"PtgPercent",f:Cs},21:{n:"PtgParen",f:Cs},22:{n:"PtgMissArg",f:Cs},23:{n:"PtgStr",f:Pp},26:{n:"PtgSheet",f:um},27:{n:"PtgEndSheet",f:dm},28:{n:"PtgErr",f:Rp},29:{n:"PtgBool",f:Bp},30:{n:"PtgInt",f:Fp},31:{n:"PtgNum",f:kp},32:{n:"PtgArray",f:hd},33:{n:"PtgFunc",f:Op},34:{n:"PtgFuncVar",f:Lp},35:{n:"PtgName",f:zp},36:{n:"PtgRef",f:_p},37:{n:"PtgArea",f:dd},38:{n:"PtgMemArea",f:Vp},39:{n:"PtgMemErr",f:Qp},40:{n:"PtgMemNoMem",f:Zp},41:{n:"PtgMemFunc",f:Xp},42:{n:"PtgRefErr",f:Gp},43:{n:"PtgAreaErr",f:Kd},44:{n:"PtgRefN",f:Tp},45:{n:"PtgAreaN",f:rh},46:{n:"PtgMemAreaN",f:hm},47:{n:"PtgMemNoMemN",f:fm},57:{n:"PtgNameX",f:Wp},58:{n:"PtgRef3d",f:Ip},59:{n:"PtgArea3d",f:Wd},60:{n:"PtgRefErr3d",f:Yp},61:{n:"PtgAreaErr3d",f:Vd},255:{}},Pf={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};(function(){for(var T in Pf)xf[T]=xf[Pf[T]]})();var mm={1:{n:"PtgElfLel",f:kf},2:{n:"PtgElfRw",f:am},3:{n:"PtgElfCol",f:$p},6:{n:"PtgElfRwV",f:om},7:{n:"PtgElfColV",f:tm},10:{n:"PtgElfRadical",f:rm},11:{n:"PtgElfRadicalS",f:im},13:{n:"PtgElfColS",f:qp},15:{n:"PtgElfColSV",f:em},16:{n:"PtgElfRadicalLel",f:nm},25:{n:"PtgList",f:lm},29:{n:"PtgSxName",f:cm},255:{}},Sf={0:{n:"PtgAttrNoop",f:pm},1:{n:"PtgAttrSemi",f:Ld},2:{n:"PtgAttrIf",f:Od},4:{n:"PtgAttrChoose",f:nh},8:{n:"PtgAttrGoto",f:ih},16:{n:"PtgAttrSum",f:Dp},32:{n:"PtgAttrBaxcel",f:Xd},64:{n:"PtgAttrSpace",f:vh},65:{n:"PtgAttrSpaceSemi",f:Ep},128:{n:"PtgAttrIfError",f:ah},255:{}};Sf[33]=Sf[32];function kh(T,N,L,Q){if(Q.biff<8)return ki(T,N);for(var ne=T.l+N,Te=[],Ve=0;Ve!==L.length;++Ve)switch(L[Ve][0]){case"PtgArray":L[Ve][1]=Hp(T,0,Q),Te.push(L[Ve][1]);break;case"PtgMemArea":L[Ve][2]=jp(T,L[Ve][1],Q),Te.push(L[Ve][2]);break;case"PtgExp":Q&&Q.biff==12&&(L[Ve][1][1]=T.read_shift(4),Te.push(L[Ve][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+L[Ve][0];default:break}return N=ne-T.l,N!==0&&Te.push(ki(T,N)),Te}function Ph(T,N,L){for(var Q=T.l+N,ne,Te,Ve=[];Q!=T.l;)N=Q-T.l,Te=T[T.l],ne=xf[Te],(Te===24||Te===25)&&(ne=(Te===24?mm:Sf)[T[T.l+1]]),!ne||!ne.f?ki(T,N):Ve.push([ne.n,ne.f(T,N,L)]);return Ve}function gm(T){for(var N=[],L=0;L=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"},vm=new RegExp(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/);function bm(T,N){if(!T&&!(N&&N.biff<=5&&N.biff>=2))throw new Error("empty sheet name");return vm.test(T)?"'"+T+"'":T}function Uf(T,N,L){if(!T)return"SH33TJSERR0";if(L.biff>8&&(!T.XTI||!T.XTI[N]))return T.SheetNames[N];if(!T.XTI)return"SH33TJSERR6";var Q=T.XTI[N];if(L.biff<8)return N>1e4&&(N-=65536),N<0&&(N=-N),N==0?"":T.XTI[N-1];if(!Q)return"SH33TJSERR1";var ne="";if(L.biff>8)switch(T[Q[0]][0]){case 357:return ne=Q[1]==-1?"#REF":T.SheetNames[Q[1]],Q[1]==Q[2]?ne:ne+":"+T.SheetNames[Q[2]];case 358:return L.SID!=null?T.SheetNames[L.SID]:"SH33TJSSAME"+T[Q[0]][0];case 355:default:return"SH33TJSSRC"+T[Q[0]][0]}switch(T[Q[0]][0][0]){case 1025:return ne=Q[1]==-1?"#REF":T.SheetNames[Q[1]]||"SH33TJSERR3",Q[1]==Q[2]?ne:ne+":"+T.SheetNames[Q[2]];case 14849:return T[Q[0]].slice(1).map(function(Te){return Te.Name}).join(";;");default:return T[Q[0]][0][3]?(ne=Q[1]==-1?"#REF":T[Q[0]][0][3][Q[1]]||"SH33TJSERR4",Q[1]==Q[2]?ne:ne+":"+T[Q[0]][0][3][Q[2]]):"SH33TJSERR2"}}function jf(T,N,L){var Q=Uf(T,N,L);return Q=="#REF"?Q:bm(Q,L)}function _u(T,N,L,Q,ne){var Te=ne&&ne.biff||8,Ve={s:{c:0,r:0},e:{c:0,r:0}},je=[],vt,St,Pt,pr=0,_r=0,Rr,ln="";if(!T[0]||!T[0][0])return"";for(var kr=-1,An="",Nn=0,Rn=T[0].length;Nn=0){switch(T[0][kr][1][0]){case 0:An=ut(" ",T[0][kr][1][1]);break;case 1:An=ut("\r",T[0][kr][1][1]);break;default:if(An="",ne.WTF)throw new Error("Unexpected PtgAttrSpaceType "+T[0][kr][1][0])}St=St+An,kr=-1}je.push(St+Am[un[0]]+vt);break;case"PtgIsect":vt=je.pop(),St=je.pop(),je.push(St+" "+vt);break;case"PtgUnion":vt=je.pop(),St=je.pop(),je.push(St+","+vt);break;case"PtgRange":vt=je.pop(),St=je.pop(),je.push(St+":"+vt);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":Pt=Ri(un[1][1],Ve,ne),je.push(Un(Pt,Te));break;case"PtgRefN":Pt=L?Ri(un[1][1],L,ne):un[1][1],je.push(Un(Pt,Te));break;case"PtgRef3d":pr=un[1][1],Pt=Ri(un[1][2],Ve,ne),ln=jf(Q,pr,ne);var Bi=ln;je.push(ln+"!"+Un(Pt,Te));break;case"PtgFunc":case"PtgFuncVar":var fa=un[1][0],$i=un[1][1];fa||(fa=0),fa&=127;var wa=fa==0?[]:je.slice(-fa);je.length-=fa,$i==="User"&&($i=wa.shift()),je.push($i+"("+wa.join(",")+")");break;case"PtgBool":je.push(un[1]?"TRUE":"FALSE");break;case"PtgInt":je.push(un[1]);break;case"PtgNum":je.push(String(un[1]));break;case"PtgStr":je.push('"'+un[1].replace(/"/g,'""')+'"');break;case"PtgErr":je.push(un[1]);break;case"PtgAreaN":Rr=Na(un[1][1],L?{s:L}:Ve,ne),je.push(nn(Rr,ne));break;case"PtgArea":Rr=Na(un[1][1],Ve,ne),je.push(nn(Rr,ne));break;case"PtgArea3d":pr=un[1][1],Rr=un[1][2],ln=jf(Q,pr,ne),je.push(ln+"!"+nn(Rr,ne));break;case"PtgAttrSum":je.push("SUM("+je.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":_r=un[1][2];var no=(Q.names||[])[_r-1]||(Q[0]||[])[_r],Ca=no?no.Name:"SH33TJSNAME"+String(_r);Ca in zf&&(Ca=zf[Ca]),je.push(Ca);break;case"PtgNameX":var Ma=un[1][1];_r=un[1][2];var La;if(ne.biff<=5)Ma<0&&(Ma=-Ma),Q[Ma]&&(La=Q[Ma][_r]);else{var ua="";if(((Q[Ma]||[])[0]||[])[0]==14849||(((Q[Ma]||[])[0]||[])[0]==1025?Q[Ma][_r]&&Q[Ma][_r].itab>0&&(ua=Q.SheetNames[Q[Ma][_r].itab-1]+"!"):ua=Q.SheetNames[_r-1]+"!"),Q[Ma]&&Q[Ma][_r])ua+=Q[Ma][_r].Name;else if(Q[0]&&Q[0][_r])ua+=Q[0][_r].Name;else{var xo=(Uf(Q,Ma,ne)||"").split(";;");xo[_r-1]?ua=xo[_r-1]:ua+="SH33TJSERRX"}je.push(ua);break}La||(La={Name:"SH33TJSERRY"}),je.push(La.Name);break;case"PtgParen":var Os="(",is=")";if(kr>=0){An="";switch(T[0][kr][1][0]){case 2:Os=ut(" ",T[0][kr][1][1])+Os;break;case 3:Os=ut("\r",T[0][kr][1][1])+Os;break;case 4:is=ut(" ",T[0][kr][1][1])+is;break;case 5:is=ut("\r",T[0][kr][1][1])+is;break;default:if(ne.WTF)throw new Error("Unexpected PtgAttrSpaceType "+T[0][kr][1][0])}kr=-1}je.push(Os+je.pop()+is);break;case"PtgRefErr":je.push("#REF!");break;case"PtgRefErr3d":je.push("#REF!");break;case"PtgExp":Pt={c:un[1][1],r:un[1][0]};var Gs={c:L.c,r:L.r};if(Q.sharedf[dn(Pt)]){var Ms=Q.sharedf[dn(Pt)];je.push(_u(Ms,Ve,Gs,Q,ne))}else{var Dl=!1;for(vt=0;vt!=Q.arrayf.length;++vt){if(St=Q.arrayf[vt],Pt.cSt[0].e.c)continue;if(Pt.rSt[0].e.r)continue;je.push(_u(St[1],Ve,Gs,Q,ne)),Dl=!0;break}Dl||je.push(un[1])}break;case"PtgArray":je.push("{"+gm(un[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":kr=Nn;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":je.push("");break;case"PtgAreaErr":je.push("#REF!");break;case"PtgAreaErr3d":je.push("#REF!");break;case"PtgList":je.push("Table"+un[1].idx+"[#"+un[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(un));default:throw new Error("Unrecognized Formula Token: "+String(un))}var Ao=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(ne.biff!=3&&(kr>=0&&Ao.indexOf(T[0][Nn][0])==-1)){un=T[0][kr];var Hs=!0;switch(un[1][0]){case 4:Hs=!1;case 0:An=ut(" ",un[1][1]);break;case 5:Hs=!1;case 1:An=ut("\r",un[1][1]);break;default:if(An="",ne.WTF)throw new Error("Unexpected PtgAttrSpaceType "+un[1][0])}je.push((Hs?An:"")+je.pop()+(Hs?"":An)),kr=-1}}if(je.length>1&&ne.WTF)throw new Error("bad formula stack");return je[0]}function ym(T,N,L){var Q=T.l+N,ne=L.biff==2?1:2,Te,Ve=T.read_shift(ne);if(Ve==65535)return[[],ki(T,N-2)];var je=Ph(T,Ve,L);return N!==Ve+ne&&(Te=kh(T,N-Ve-ne,je,L)),T.l=Q,[je,Te]}function wm(T,N,L){var Q=T.l+N,ne=L.biff==2?1:2,Te,Ve=T.read_shift(ne);if(Ve==65535)return[[],ki(T,N-2)];var je=Ph(T,Ve,L);return N!==Ve+ne&&(Te=kh(T,N-Ve-ne,je,L)),T.l=Q,[je,Te]}function xm(T,N,L,Q){var ne=T.l+N,Te=Ph(T,Q,L),Ve;return ne!==T.l&&(Ve=kh(T,ne-T.l,Te,L)),[Te,Ve]}function Sm(T,N,L){var Q=T.l+N,ne,Te=T.read_shift(2),Ve=Ph(T,Te,L);return Te==65535?[[],ki(T,N-2)]:(N!==Te+2&&(ne=kh(T,Q-Te-2,Ve,L)),[Ve,ne])}function Cm(T){var N;if(Vn(T,T.l+6)!==65535)return[oa(T),"n"];switch(T[T.l]){case 0:return T.l+=8,["String","s"];case 1:return N=T[T.l+2]===1,T.l+=8,[N,"b"];case 2:return N=T[T.l+2],T.l+=8,[N,"e"];case 3:return T.l+=8,["","s"]}return[]}function Em(T){if(T==null){var N=In(8);return N.write_shift(1,3),N.write_shift(1,0),N.write_shift(2,0),N.write_shift(2,0),N.write_shift(2,65535),N}else if(typeof T=="number")return Ba(T);return Ba(0)}function Cf(T,N,L){var Q=T.l+N,ne=ss(T,6);L.biff==2&&++T.l;var Te=Cm(T,8),Ve=T.read_shift(1);L.biff!=2&&(T.read_shift(1),L.biff>=5&&T.read_shift(4));var je=wm(T,Q-T.l,L);return{cell:ne,val:Te[0],formula:je,shared:Ve>>3&1,tt:Te[1]}}function _m(T,N,L,Q,ne){var Te=ps(N,L,ne),Ve=Em(T.v),je=In(6),vt=1|32;je.write_shift(2,vt),je.write_shift(4,0);for(var St=In(T.bf.length),Pt=0;Pt0?kh(T,Te,ne,L):null;return[ne,Ve]}var Tm=Yh,Qh=Yh,Im=Yh,Om=Yh,Lm={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},Hf={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Nm={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0},zf={"_xlfn.ACOT":"ACOT","_xlfn.ACOTH":"ACOTH","_xlfn.AGGREGATE":"AGGREGATE","_xlfn.ARABIC":"ARABIC","_xlfn.AVERAGEIF":"AVERAGEIF","_xlfn.AVERAGEIFS":"AVERAGEIFS","_xlfn.BASE":"BASE","_xlfn.BETA.DIST":"BETA.DIST","_xlfn.BETA.INV":"BETA.INV","_xlfn.BINOM.DIST":"BINOM.DIST","_xlfn.BINOM.DIST.RANGE":"BINOM.DIST.RANGE","_xlfn.BINOM.INV":"BINOM.INV","_xlfn.BITAND":"BITAND","_xlfn.BITLSHIFT":"BITLSHIFT","_xlfn.BITOR":"BITOR","_xlfn.BITRSHIFT":"BITRSHIFT","_xlfn.BITXOR":"BITXOR","_xlfn.CEILING.MATH":"CEILING.MATH","_xlfn.CEILING.PRECISE":"CEILING.PRECISE","_xlfn.CHISQ.DIST":"CHISQ.DIST","_xlfn.CHISQ.DIST.RT":"CHISQ.DIST.RT","_xlfn.CHISQ.INV":"CHISQ.INV","_xlfn.CHISQ.INV.RT":"CHISQ.INV.RT","_xlfn.CHISQ.TEST":"CHISQ.TEST","_xlfn.COMBINA":"COMBINA","_xlfn.CONCAT":"CONCAT","_xlfn.CONFIDENCE.NORM":"CONFIDENCE.NORM","_xlfn.CONFIDENCE.T":"CONFIDENCE.T","_xlfn.COT":"COT","_xlfn.COTH":"COTH","_xlfn.COUNTIFS":"COUNTIFS","_xlfn.COVARIANCE.P":"COVARIANCE.P","_xlfn.COVARIANCE.S":"COVARIANCE.S","_xlfn.CSC":"CSC","_xlfn.CSCH":"CSCH","_xlfn.DAYS":"DAYS","_xlfn.DECIMAL":"DECIMAL","_xlfn.ECMA.CEILING":"ECMA.CEILING","_xlfn.ERF.PRECISE":"ERF.PRECISE","_xlfn.ERFC.PRECISE":"ERFC.PRECISE","_xlfn.EXPON.DIST":"EXPON.DIST","_xlfn.F.DIST":"F.DIST","_xlfn.F.DIST.RT":"F.DIST.RT","_xlfn.F.INV":"F.INV","_xlfn.F.INV.RT":"F.INV.RT","_xlfn.F.TEST":"F.TEST","_xlfn.FILTERXML":"FILTERXML","_xlfn.FLOOR.MATH":"FLOOR.MATH","_xlfn.FLOOR.PRECISE":"FLOOR.PRECISE","_xlfn.FORECAST.ETS":"FORECAST.ETS","_xlfn.FORECAST.ETS.CONFINT":"FORECAST.ETS.CONFINT","_xlfn.FORECAST.ETS.SEASONALITY":"FORECAST.ETS.SEASONALITY","_xlfn.FORECAST.ETS.STAT":"FORECAST.ETS.STAT","_xlfn.FORECAST.LINEAR":"FORECAST.LINEAR","_xlfn.FORMULATEXT":"FORMULATEXT","_xlfn.GAMMA":"GAMMA","_xlfn.GAMMA.DIST":"GAMMA.DIST","_xlfn.GAMMA.INV":"GAMMA.INV","_xlfn.GAMMALN.PRECISE":"GAMMALN.PRECISE","_xlfn.GAUSS":"GAUSS","_xlfn.HYPGEOM.DIST":"HYPGEOM.DIST","_xlfn.IFERROR":"IFERROR","_xlfn.IFNA":"IFNA","_xlfn.IFS":"IFS","_xlfn.IMCOSH":"IMCOSH","_xlfn.IMCOT":"IMCOT","_xlfn.IMCSC":"IMCSC","_xlfn.IMCSCH":"IMCSCH","_xlfn.IMSEC":"IMSEC","_xlfn.IMSECH":"IMSECH","_xlfn.IMSINH":"IMSINH","_xlfn.IMTAN":"IMTAN","_xlfn.ISFORMULA":"ISFORMULA","_xlfn.ISO.CEILING":"ISO.CEILING","_xlfn.ISOWEEKNUM":"ISOWEEKNUM","_xlfn.LOGNORM.DIST":"LOGNORM.DIST","_xlfn.LOGNORM.INV":"LOGNORM.INV","_xlfn.MAXIFS":"MAXIFS","_xlfn.MINIFS":"MINIFS","_xlfn.MODE.MULT":"MODE.MULT","_xlfn.MODE.SNGL":"MODE.SNGL","_xlfn.MUNIT":"MUNIT","_xlfn.NEGBINOM.DIST":"NEGBINOM.DIST","_xlfn.NETWORKDAYS.INTL":"NETWORKDAYS.INTL","_xlfn.NIGBINOM":"NIGBINOM","_xlfn.NORM.DIST":"NORM.DIST","_xlfn.NORM.INV":"NORM.INV","_xlfn.NORM.S.DIST":"NORM.S.DIST","_xlfn.NORM.S.INV":"NORM.S.INV","_xlfn.NUMBERVALUE":"NUMBERVALUE","_xlfn.PDURATION":"PDURATION","_xlfn.PERCENTILE.EXC":"PERCENTILE.EXC","_xlfn.PERCENTILE.INC":"PERCENTILE.INC","_xlfn.PERCENTRANK.EXC":"PERCENTRANK.EXC","_xlfn.PERCENTRANK.INC":"PERCENTRANK.INC","_xlfn.PERMUTATIONA":"PERMUTATIONA","_xlfn.PHI":"PHI","_xlfn.POISSON.DIST":"POISSON.DIST","_xlfn.QUARTILE.EXC":"QUARTILE.EXC","_xlfn.QUARTILE.INC":"QUARTILE.INC","_xlfn.QUERYSTRING":"QUERYSTRING","_xlfn.RANK.AVG":"RANK.AVG","_xlfn.RANK.EQ":"RANK.EQ","_xlfn.RRI":"RRI","_xlfn.SEC":"SEC","_xlfn.SECH":"SECH","_xlfn.SHEET":"SHEET","_xlfn.SHEETS":"SHEETS","_xlfn.SKEW.P":"SKEW.P","_xlfn.STDEV.P":"STDEV.P","_xlfn.STDEV.S":"STDEV.S","_xlfn.SUMIFS":"SUMIFS","_xlfn.SWITCH":"SWITCH","_xlfn.T.DIST":"T.DIST","_xlfn.T.DIST.2T":"T.DIST.2T","_xlfn.T.DIST.RT":"T.DIST.RT","_xlfn.T.INV":"T.INV","_xlfn.T.INV.2T":"T.INV.2T","_xlfn.T.TEST":"T.TEST","_xlfn.TEXTJOIN":"TEXTJOIN","_xlfn.UNICHAR":"UNICHAR","_xlfn.UNICODE":"UNICODE","_xlfn.VAR.P":"VAR.P","_xlfn.VAR.S":"VAR.S","_xlfn.WEBSERVICE":"WEBSERVICE","_xlfn.WEIBULL.DIST":"WEIBULL.DIST","_xlfn.WORKDAY.INTL":"WORKDAY.INTL","_xlfn.XOR":"XOR","_xlfn.Z.TEST":"Z.TEST"};function Wf(T){return T.slice(0,3)=="of:"&&(T=T.slice(3)),T.charCodeAt(0)==61&&(T=T.slice(1),T.charCodeAt(0)==61&&(T=T.slice(1))),T=T.replace(/COM\.MICROSOFT\./g,""),T=T.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(N,L){return L.replace(/\./g,"")}),T=T.replace(/\[.(#[A-Z]*[?!])\]/g,"$1"),T.replace(/[;~]/g,",").replace(/\|/g,";")}function Dm(T){var N="of:="+T.replace(Bo,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return N.replace(/;/g,"|").replace(/,/g,";")}function Ef(T){var N=T.split(":"),L=N[0].split(".")[0];return[L,N[0].split(".")[1]+(N.length>1?":"+(N[1].split(".")[1]||N[1].split(".")[0]):"")]}function Mm(T){return T.replace(/\./,"!")}var Uh={},Ih={};Ja.WS=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"];var Zh=typeof Map!="undefined";function _f(T,N,L){var Q=0,ne=T.length;if(L){if(Zh?L.has(N):Object.prototype.hasOwnProperty.call(L,N)){for(var Te=Zh?L.get(N):L[N];Q-1?(L.width=$a(Q),L.customWidth=1):N.width!=null&&(L.width=N.width),N.hidden&&(L.hidden=!0),N.level!=null&&(L.outlineLevel=L.level=N.level),L}function bh(T,N){if(!T)return;var L=[.7,.7,.75,.75,.3,.3];N=="xlml"&&(L=[1,1,1,1,.5,.5]),T.left==null&&(T.left=L[0]),T.right==null&&(T.right=L[1]),T.top==null&&(T.top=L[2]),T.bottom==null&&(T.bottom=L[3]),T.header==null&&(T.header=L[4]),T.footer==null&&(T.footer=L[5])}function yh(T,N,L){var Q=L.revssf[N.z!=null?N.z:"General"],ne=60,Te=T.length;if(Q==null&&L.ssf){for(;ne<392;++ne)if(L.ssf[ne]==null){G.load(N.z,ne),L.ssf[ne]=N.z,L.revssf[N.z]=Q=ne;break}}for(ne=0;ne!=Te;++ne)if(T[ne].numFmtId===Q)return ne;return T[Te]={numFmtId:Q,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},Te}function Kf(T,N,L,Q,ne,Te){try{Q.cellNF&&(T.z=G._table[N])}catch(je){if(Q.WTF)throw je}if(T.t==="z"&&!Q.cellStyles)return;if(T.t==="d"&&typeof T.v=="string"&&(T.v=pt(T.v)),(!Q||Q.cellText!==!1)&&T.t!=="z")try{if(G._table[N]==null&&G.load(re[N]||"General",N),T.t==="e")T.w=T.w||Mo[T.v];else if(N===0)if(T.t==="n")(T.v|0)===T.v?T.w=G._general_int(T.v):T.w=G._general_num(T.v);else if(T.t==="d"){var Ve=pe(T.v);(Ve|0)===Ve?T.w=G._general_int(Ve):T.w=G._general_num(Ve)}else{if(T.v===void 0)return"";T.w=G._general(T.v,Ih)}else T.t==="d"?T.w=G.format(N,pe(T.v),Ih):T.w=G.format(N,T.v,Ih)}catch(je){if(Q.WTF)throw je}if(!Q.cellStyles)return;if(L!=null)try{T.s=Te.Fills[L],T.s.fgColor&&T.s.fgColor.theme&&!T.s.fgColor.rgb&&(T.s.fgColor.rgb=vr(ne.themeElements.clrScheme[T.s.fgColor.theme].rgb,T.s.fgColor.tint||0),Q.WTF&&(T.s.fgColor.raw_rgb=ne.themeElements.clrScheme[T.s.fgColor.theme].rgb)),T.s.bgColor&&T.s.bgColor.theme&&(T.s.bgColor.rgb=vr(ne.themeElements.clrScheme[T.s.bgColor.theme].rgb,T.s.bgColor.tint||0),Q.WTF&&(T.s.bgColor.raw_rgb=ne.themeElements.clrScheme[T.s.bgColor.theme].rgb))}catch(je){if(Q.WTF&&Te.Fills)throw je}}function Rm(T,N,L){if(T&&T["!ref"]){var Q=ta(T["!ref"]);if(Q.e.c=0&&L.s.c>=0&&(T["!ref"]=ba(L))}var Bm=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,km=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,Pm=/<(?:\w:)?hyperlink [^>]*>/mg,Um=/"(\w*:\w*)"/,jm=/<(?:\w:)?col\b[^>]*[\/]?>/g,Hm=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,zm=/<(?:\w:)?pageMargins[^>]*\/>/g,Vf=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,Wm=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,Km=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Vm(T,N,L,Q,ne,Te,Ve){if(!T)return T;Q||(Q={"!id":{}}),_!=null&&N.dense==null&&(N.dense=_);var je=N.dense?[]:{},vt={s:{r:2e6,c:2e6},e:{r:0,c:0}},St="",Pt="",pr=T.match(km);pr?(St=T.slice(0,pr.index),Pt=T.slice(pr.index+pr[0].length)):St=Pt=T;var _r=St.match(Vf);_r?Tf(_r[0],je,ne,L):(_r=St.match(Wm))&&Gm(_r[0],_r[1]||"",je,ne,L,Ve,Te);var Rr=(St.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(Rr>0){var ln=St.slice(Rr,Rr+50).match(Um);ln&&Fm(je,ln[1])}var kr=St.match(Km);kr&&kr[1]&&o0(kr[1],ne);var An=[];if(N.cellStyles){var Nn=St.match(jm);Nn&&t0(An,Nn)}pr&&c0(pr[1],je,N,vt,Te,Ve);var Rn=Pt.match(Hm);Rn&&(je["!autofilter"]=n0(Rn[0]));var un=[],Bi=Pt.match(Bm);if(Bi)for(Rr=0;Rr!=Bi.length;++Rr)un[Rr]=ta(Bi[Rr].slice(Bi[Rr].indexOf('"')+1));var fa=Pt.match(Pm);fa&&$m(je,fa,Q);var $i=Pt.match(zm);if($i&&(je["!margins"]=qm(Gt($i[0]))),!je["!ref"]&&vt.e.c>=vt.s.c&&vt.e.r>=vt.s.r&&(je["!ref"]=ba(vt)),N.sheetRows>0&&je["!ref"]){var wa=ta(je["!ref"]);N.sheetRows<=+wa.e.r&&(wa.e.r=N.sheetRows-1,wa.e.r>vt.e.r&&(wa.e.r=vt.e.r),wa.e.rvt.e.c&&(wa.e.c=vt.e.c),wa.e.c0&&(je["!cols"]=An),un.length>0&&(je["!merges"]=un),je}function Xm(T){if(T.length===0)return"";for(var N='',L=0;L!=T.length;++L)N+='';return N+""}function Tf(T,N,L,Q){var ne=Gt(T);L.Sheets[Q]||(L.Sheets[Q]={}),ne.codeName&&(L.Sheets[Q].CodeName=Tn(er(ne.codeName)))}function Gm(T,N,L,Q,ne,Te,Ve){Tf(T.slice(0,T.indexOf(">")),L,Q,ne)}function Ym(T,N,L,Q,ne){var Te=!1,Ve={},je=null;if(Q.bookType!=="xlsx"&&N.vbaraw){var vt=N.SheetNames[L];try{N.Workbook&&(vt=N.Workbook.Sheets[L].CodeName||vt)}catch(Pt){}Te=!0,Ve.codeName=Kr(lt(vt))}if(T&&T["!outline"]){var St={summaryBelow:1,summaryRight:1};T["!outline"].above&&(St.summaryBelow=0),T["!outline"].left&&(St.summaryRight=0),je=(je||"")+dr("outlinePr",null,St)}if(!Te&&!je)return;ne[ne.length]=dr("sheetPr",je,Ve)}var Qm=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Zm=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function Jm(T){var N={sheet:1};return Qm.forEach(function(L){T[L]!=null&&T[L]&&(N[L]="1")}),Zm.forEach(function(L){T[L]!=null&&!T[L]&&(N[L]="0")}),T.password&&(N.password=Eo(T.password).toString(16).toUpperCase()),dr("sheetProtection",null,N)}function $m(T,N,L){for(var Q=Array.isArray(T),ne=0;ne!=N.length;++ne){var Te=Gt(er(N[ne]),!0);if(!Te.ref)return;var Ve=((L||{})["!id"]||[])[Te.id];Ve?(Te.Target=Ve.Target,Te.location&&(Te.Target+="#"+Tn(Te.location))):(Te.Target="#"+Tn(Te.location),Ve={Target:Te.Target,TargetMode:"Internal"}),Te.Rel=Ve,Te.tooltip&&(Te.Tooltip=Te.tooltip,delete Te.tooltip);for(var je=ta(Te.ref),vt=je.s.r;vt<=je.e.r;++vt)for(var St=je.s.c;St<=je.e.c;++St){var Pt=dn({c:St,r:vt});Q?(T[vt]||(T[vt]=[]),T[vt][St]||(T[vt][St]={t:"z",v:void 0}),T[vt][St].l=Te):(T[Pt]||(T[Pt]={t:"z",v:void 0}),T[Pt].l=Te)}}}function qm(T){var N={};return["left","right","top","bottom","header","footer"].forEach(function(L){T[L]&&(N[L]=parseFloat(T[L]))}),N}function e0(T){return bh(T),dr("pageMargins",null,T)}function t0(T,N){for(var L=!1,Q=0;Q!=N.length;++Q){var ne=Gt(N[Q],!0);ne.hidden&&(ne.hidden=Xt(ne.hidden));var Te=parseInt(ne.min,10)-1,Ve=parseInt(ne.max,10)-1;for(ne.outlineLevel&&(ne.level=+ne.outlineLevel||0),delete ne.min,delete ne.max,ne.width=+ne.width,!L&&ne.width&&(L=!0,Ka(ne.width)),uo(ne);Te<=Ve;)T[Te++]=Nt(ne)}}function r0(T,N){for(var L=[""],Q,ne=0;ne!=N.length;++ne){if(!(Q=N[ne]))continue;L[L.length]=dr("col",null,Jh(ne,Q))}return L[L.length]="",L.join("")}function n0(T){var N={ref:(T.match(/ref="([^"]*)"/)||[])[1]};return N}function i0(T,N,L,Q){var ne=typeof T.ref=="string"?T.ref:ba(T.ref);L.Workbook||(L.Workbook={Sheets:[]}),L.Workbook.Names||(L.Workbook.Names=[]);var Te=L.Workbook.Names,Ve=ha(ne);Ve.s.r==Ve.e.r&&(Ve.e.r=ha(N["!ref"]).e.r,ne=ba(Ve));for(var je=0;jea-z][^>]*)?\/?>/;function o0(T,N){N.Views||(N.Views=[{}]),(T.match(a0)||[]).forEach(function(L,Q){var ne=Gt(L);N.Views[Q]||(N.Views[Q]={}),+ne.zoomScale&&(N.Views[Q].zoom=+ne.zoomScale),Xt(ne.rightToLeft)&&(N.Views[Q].RTL=!0)})}function s0(T,N,L,Q){var ne={workbookViewId:"0"};return(((Q||{}).Workbook||{}).Views||[])[0]&&(ne.rightToLeft=Q.Workbook.Views[0].RTL?"1":"0"),dr("sheetViews",dr("sheetView",null,ne),{})}function l0(T,N,L,Q){if(T.v===void 0&&typeof T.f!="string"||T.t==="z")return"";var ne="",Te=T.t,Ve=T.v;if(T.t!=="z")switch(T.t){case"b":ne=T.v?"1":"0";break;case"n":ne=""+T.v;break;case"e":ne=Mo[T.v];break;case"d":Q&&Q.cellDates?ne=pt(T.v,-1).toISOString():(T=Nt(T),T.t="n",ne=""+(T.v=pe(pt(T.v)))),typeof T.z=="undefined"&&(T.z=G._table[14]);break;default:ne=T.v;break}var je=tr("v",lt(ne)),vt={r:N},St=yh(Q.cellXfs,T,Q);St!==0&&(vt.s=St);switch(T.t){case"n":break;case"d":vt.t="d";break;case"b":vt.t="b";break;case"e":vt.t="e";break;case"z":break;default:if(T.v==null){delete T.t;break}if(T.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(Q&&Q.bookSST){je=tr("v",""+_f(Q.Strings,T.v,Q.revStrings)),vt.t="s";break}vt.t="str";break}if(T.t!=Te&&(T.t=Te,T.v=Ve),typeof T.f=="string"&&T.f){var Pt=T.F&&T.F.slice(0,N.length)==N?{t:"array",ref:T.F}:null;je=dr("f",lt(T.f),Pt)+(T.v!=null?je:"")}return T.l&&L["!links"].push([N,T.l]),T.c&&L["!comments"].push([N,T.c]),dr("c",je,vt)}var c0=function(){var T=/<(?:\w+:)?c[ \/>]/,N=/<\/(?:\w+:)?row>/,L=/r=["']([^"']*)["']/,Q=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,ne=/ref=["']([^"']*)["']/,Te=It("v"),Ve=It("f");return function(vt,St,Pt,pr,_r,Rr){for(var ln=0,kr="",An=[],Nn=[],Rn=0,un=0,Bi=0,fa="",$i,wa,no=0,Ca=0,Ma,La,ua=0,xo=0,Os=Array.isArray(Rr.CellXf),is,Gs=[],Ms=[],Dl=Array.isArray(St),Ao=[],Hs={},Qo=!1,$l=!!Pt.sheetStubs,ii=vt.split(N),aa=0,Hi=ii.length;aa!=Hi;++aa){kr=ii[aa].trim();var tn=kr.length;if(tn===0)continue;var Mn=0;e:for(ln=0;ln":if(kr[ln-1]!="/"){++ln;break e}if(Pt&&Pt.cellStyles){if(wa=Gt(kr.slice(Mn,ln),!0),no=wa.r!=null?parseInt(wa.r,10):no+1,Ca=-1,Pt.sheetRows&&Pt.sheetRows=ln)break;if(wa=Gt(kr.slice(Mn,ln),!0),no=wa.r!=null?parseInt(wa.r,10):no+1,Ca=-1,Pt.sheetRows&&Pt.sheetRowsno-1&&(pr.s.r=no-1),pr.e.r":"")+kr,Nn!=null&&Nn.length===2){for(Rn=0,fa=Nn[1],un=0;un!=fa.length&&!((Bi=fa.charCodeAt(un)-64)<1||Bi>26);++un)Rn=26*Rn+Bi;--Rn,Ca=Rn}else++Ca;for(un=0;un!=kr.length&&!(kr.charCodeAt(un)===62);++un);if(++un,wa=Gt(kr.slice(0,un),!0),wa.r||(wa.r=dn({r:no-1,c:Ca})),fa=kr.slice(un),$i={t:""},(Nn=fa.match(Te))!=null&&Nn[1]!==""&&($i.v=Tn(Nn[1])),Pt.cellFormula){if((Nn=fa.match(Ve))!=null&&Nn[1]!==""){if($i.f=Tn(er(Nn[1])).replace(/\r\n/g,` +`),Pt.xlfn||($i.f=Nl($i.f)),Nn[0].indexOf('t="array"')>-1)$i.F=(fa.match(ne)||[])[1],$i.F.indexOf(":")>-1&&Gs.push([ta($i.F),$i.F]);else if(Nn[0].indexOf('t="shared"')>-1){La=Gt(Nn[0]);var Da=Tn(er(Nn[1]));Pt.xlfn||(Da=Nl(Da)),Ms[parseInt(La.si,10)]=[La,Da,wa.r]}}else(Nn=fa.match(/]*\/>/))&&(La=Gt(Nn[0]),Ms[La.si]&&($i.f=cs(Ms[La.si][1],Ms[La.si][2],wa.r)));var ui=Pi(wa.r);for(un=0;un=Gs[un][0].s.r&&ui.r<=Gs[un][0].e.r&&(ui.c>=Gs[un][0].s.c&&ui.c<=Gs[un][0].e.c&&($i.F=Gs[un][1]))}if(wa.t==null&&$i.v===void 0)if($i.f||$i.F)$i.v=0,$i.t="n";else if($l)$i.t="z";else continue;else $i.t=wa.t||"n";pr.s.c>Ca&&(pr.s.c=Ca),pr.e.c0&&(St["!rows"]=Ao)}}();function u0(T,N,L,Q){var ne=[],Te=[],Ve=ta(T["!ref"]),je="",vt,St="",Pt=[],pr=0,_r=0,Rr=T["!rows"],ln=Array.isArray(T),kr={r:St},An,Nn=-1;for(_r=Ve.s.c;_r<=Ve.e.c;++_r)Pt[_r]=ya(_r);for(pr=Ve.s.r;pr<=Ve.e.r;++pr){for(Te=[],St=_i(pr),_r=Ve.s.c;_r<=Ve.e.c;++_r){vt=Pt[_r]+St;var Rn=ln?(T[pr]||[])[_r]:T[vt];if(Rn===void 0)continue;(je=l0(Rn,vt,T,N,L,Q))!=null&&Te.push(je)}(Te.length>0||Rr&&Rr[pr])&&(kr={r:St},Rr&&Rr[pr]&&(An=Rr[pr],An.hidden&&(kr.hidden=1),Nn=-1,An.hpx?Nn=ts(An.hpx):An.hpt&&(Nn=An.hpt),Nn>-1&&(kr.ht=Nn,kr.customHeight=1),An.level&&(kr.outlineLevel=An.level)),ne[ne.length]=dr("row",Te.join(""),kr))}if(Rr)for(;pr-1&&(kr.ht=Nn,kr.customHeight=1),An.level&&(kr.outlineLevel=An.level),ne[ne.length]=dr("row","",kr));return ne.join("")}var d0=dr("worksheet",null,{xmlns:on.main[0],"xmlns:r":on.r});function h0(T,N,L,Q){var ne=[Ht,d0],Te=L.SheetNames[T],Ve=0,je="",vt=L.Sheets[Te];vt==null&&(vt={});var St=vt["!ref"]||"A1",Pt=ta(St);if(Pt.e.c>16383||Pt.e.r>1048575){if(N.WTF)throw new Error("Range "+St+" exceeds format limit A1:XFD1048576");Pt.e.c=Math.min(Pt.e.c,16383),Pt.e.r=Math.min(Pt.e.c,1048575),St=ba(Pt)}Q||(Q={}),vt["!comments"]=[];var pr=[];Ym(vt,L,T,N,ne),ne[ne.length]=dr("dimension",null,{ref:St}),ne[ne.length]=s0(vt,N,T,L),N.sheetFormat&&(ne[ne.length]=dr("sheetFormatPr",null,{defaultRowHeight:N.sheetFormat.defaultRowHeight||"16",baseColWidth:N.sheetFormat.baseColWidth||"10",outlineLevelRow:N.sheetFormat.outlineLevelRow||"7"})),vt["!cols"]!=null&&vt["!cols"].length>0&&(ne[ne.length]=r0(vt,vt["!cols"])),ne[Ve=ne.length]="",vt["!links"]=[],vt["!ref"]!=null&&(je=u0(vt,N,T,L,Q),je.length>0&&(ne[ne.length]=je)),ne.length>Ve+1&&(ne[ne.length]="",ne[Ve]=ne[Ve].replace("/>",">")),vt["!protect"]&&(ne[ne.length]=Jm(vt["!protect"])),vt["!autofilter"]!=null&&(ne[ne.length]=i0(vt["!autofilter"],vt,L,T)),vt["!merges"]!=null&&vt["!merges"].length>0&&(ne[ne.length]=Xm(vt["!merges"]));var _r=-1,Rr,ln=-1;return vt["!links"].length>0&&(ne[ne.length]="",vt["!links"].forEach(function(kr){if(!kr[1].Target)return;Rr={ref:kr[0]},kr[1].Target.charAt(0)!="#"&&(ln=Vo(Q,-1,lt(kr[1].Target).replace(/#.*$/,""),Ja.HLINK),Rr["r:id"]="rId"+ln),(_r=kr[1].Target.indexOf("#"))>-1&&(Rr.location=lt(kr[1].Target.slice(_r+1))),kr[1].Tooltip&&(Rr.tooltip=lt(kr[1].Tooltip)),ne[ne.length]=dr("hyperlink",null,Rr)}),ne[ne.length]=""),delete vt["!links"],vt["!margins"]!=null&&(ne[ne.length]=e0(vt["!margins"])),(!N||N.ignoreEC||N.ignoreEC==null)&&(ne[ne.length]=tr("ignoredErrors",dr("ignoredError",null,{numberStoredAsText:1,sqref:St}))),pr.length>0&&(ln=Vo(Q,-1,"../drawings/drawing"+(T+1)+".xml",Ja.DRAW),ne[ne.length]=dr("drawing",null,{"r:id":"rId"+ln}),vt["!drawing"]=pr),vt["!comments"].length>0&&(ln=Vo(Q,-1,"../drawings/vmlDrawing"+(T+1)+".vml",Ja.VML),ne[ne.length]=dr("legacyDrawing",null,{"r:id":"rId"+ln}),vt["!legacy"]=ln),ne.length>1&&(ne[ne.length]="",ne[1]=ne[1].replace("/>",">")),ne.join("")}function f0(T,N){var L={},Q=T.l+N;L.r=T.read_shift(4),T.l+=4;var ne=T.read_shift(2);T.l+=1;var Te=T.read_shift(1);return T.l=Q,Te&7&&(L.level=Te&7),Te&16&&(L.hidden=!0),Te&32&&(L.hpt=ne/20),L}function p0(T,N,L){var Q=In(17+8*16),ne=(L["!rows"]||[])[T]||{};Q.write_shift(4,T),Q.write_shift(4,0);var Te=320;ne.hpx?Te=ts(ne.hpx)*20:ne.hpt&&(Te=ne.hpt*20),Q.write_shift(2,Te),Q.write_shift(1,0);var Ve=0;ne.level&&(Ve|=ne.level),ne.hidden&&(Ve|=16),(ne.hpx||ne.hpt)&&(Ve|=32),Q.write_shift(1,Ve),Q.write_shift(1,0);var je=0,vt=Q.l;Q.l+=4;for(var St={r:T,c:0},Pt=0;Pt<16;++Pt){if(N.s.c>Pt+1<<10||N.e.cQ.l?Q.slice(0,Q.l):Q}function m0(T,N,L,Q){var ne=p0(Q,L,N);(ne.length>17||(N["!rows"]||[])[Q])&&pi(T,"BrtRowHdr",ne)}var g0=xa,A0=Ai;function v0(){}function b0(T,N){var L={},Q=T[T.l];return++T.l,L.above=!(Q&64),L.left=!(Q&128),T.l+=18,L.name=Zn(T,N-19),L}function y0(T,N,L){L==null&&(L=In(84+4*T.length));var Q=192;N&&(N.above&&(Q&=~64),N.left&&(Q&=~128)),L.write_shift(1,Q);for(var ne=1;ne<3;++ne)L.write_shift(1,0);return Qr({auto:1},L),L.write_shift(-4,-1),L.write_shift(-4,-1),ni(T,L),L.slice(0,L.l)}function w0(T){var N=qn(T);return[N]}function x0(T,N,L){return L==null&&(L=In(8)),si(N,L)}function S0(T){var N=oi(T);return[N]}function C0(T,N,L){return L==null&&(L=In(4)),Kn(N,L)}function E0(T){var N=qn(T),L=T.read_shift(1);return[N,L,"b"]}function _0(T,N,L){return L==null&&(L=In(9)),si(N,L),L.write_shift(1,T.v?1:0),L}function T0(T){var N=oi(T),L=T.read_shift(1);return[N,L,"b"]}function I0(T,N,L){return L==null&&(L=In(5)),Kn(N,L),L.write_shift(1,T.v?1:0),L}function O0(T){var N=qn(T),L=T.read_shift(1);return[N,L,"e"]}function L0(T,N,L){return L==null&&(L=In(9)),si(N,L),L.write_shift(1,T.v),L}function N0(T){var N=oi(T),L=T.read_shift(1);return[N,L,"e"]}function D0(T,N,L){return L==null&&(L=In(8)),Kn(N,L),L.write_shift(1,T.v),L.write_shift(2,0),L.write_shift(1,0),L}function M0(T){var N=qn(T),L=T.read_shift(4);return[N,L,"s"]}function R0(T,N,L){return L==null&&(L=In(12)),si(N,L),L.write_shift(4,N.v),L}function F0(T){var N=oi(T),L=T.read_shift(4);return[N,L,"s"]}function B0(T,N,L){return L==null&&(L=In(8)),Kn(N,L),L.write_shift(4,N.v),L}function k0(T){var N=qn(T),L=oa(T);return[N,L,"n"]}function P0(T,N,L){return L==null&&(L=In(16)),si(N,L),Ba(T.v,L),L}function Xf(T){var N=oi(T),L=oa(T);return[N,L,"n"]}function U0(T,N,L){return L==null&&(L=In(12)),Kn(N,L),Ba(T.v,L),L}function j0(T){var N=qn(T),L=Ia(T);return[N,L,"n"]}function H0(T,N,L){return L==null&&(L=In(12)),si(N,L),Fa(T.v,L),L}function z0(T){var N=oi(T),L=Ia(T);return[N,L,"n"]}function W0(T,N,L){return L==null&&(L=In(8)),Kn(N,L),Fa(T.v,L),L}function K0(T){var N=qn(T),L=Vt(T);return[N,L,"str"]}function V0(T,N,L){return L==null&&(L=In(12+4*T.v.length)),si(N,L),Cr(T.v,L),L.length>L.l?L.slice(0,L.l):L}function X0(T){var N=oi(T),L=Vt(T);return[N,L,"str"]}function G0(T,N,L){return L==null&&(L=In(8+4*T.v.length)),Kn(N,L),Cr(T.v,L),L.length>L.l?L.slice(0,L.l):L}function Y0(T,N,L){var Q=T.l+N,ne=qn(T);ne.r=L["!row"];var Te=T.read_shift(1),Ve=[ne,Te,"b"];if(L.cellFormula){T.l+=2;var je=Qh(T,Q-T.l,L);Ve[3]=_u(je,null,ne,L.supbooks,L)}else T.l=Q;return Ve}function Q0(T,N,L){var Q=T.l+N,ne=qn(T);ne.r=L["!row"];var Te=T.read_shift(1),Ve=[ne,Te,"e"];if(L.cellFormula){T.l+=2;var je=Qh(T,Q-T.l,L);Ve[3]=_u(je,null,ne,L.supbooks,L)}else T.l=Q;return Ve}function Z0(T,N,L){var Q=T.l+N,ne=qn(T);ne.r=L["!row"];var Te=oa(T),Ve=[ne,Te,"n"];if(L.cellFormula){T.l+=2;var je=Qh(T,Q-T.l,L);Ve[3]=_u(je,null,ne,L.supbooks,L)}else T.l=Q;return Ve}function J0(T,N,L){var Q=T.l+N,ne=qn(T);ne.r=L["!row"];var Te=Vt(T),Ve=[ne,Te,"str"];if(L.cellFormula){T.l+=2;var je=Qh(T,Q-T.l,L);Ve[3]=_u(je,null,ne,L.supbooks,L)}else T.l=Q;return Ve}var $0=xa,q0=Ai;function eg(T,N){return N==null&&(N=In(4)),N.write_shift(4,T),N}function tg(T,N){var L=T.l+N,Q=xa(T,16),ne=wi(T),Te=Vt(T),Ve=Vt(T),je=Vt(T);T.l=L;var vt={rfx:Q,relId:ne,loc:Te,display:je};return Ve&&(vt.Tooltip=Ve),vt}function rg(T,N){var L=In(50+4*(T[1].Target.length+(T[1].Tooltip||"").length));Ai({s:Pi(T[0]),e:Pi(T[0])},L),ia("rId"+N,L);var Q=T[1].Target.indexOf("#"),ne=Q==-1?"":T[1].Target.slice(Q+1);return Cr(ne||"",L),Cr(T[1].Tooltip||"",L),Cr("",L),L.slice(0,L.l)}function ng(){}function ig(T,N,L){var Q=T.l+N,ne=Aa(T,16),Te=T.read_shift(1),Ve=[ne];if(Ve[2]=Te,L.cellFormula){var je=Tm(T,Q-T.l,L);Ve[1]=je}else T.l=Q;return Ve}function ag(T,N,L){var Q=T.l+N,ne=xa(T,16),Te=[ne];if(L.cellFormula){var Ve=Om(T,Q-T.l,L);Te[1]=Ve,T.l=Q}else T.l=Q;return Te}function og(T,N,L){L==null&&(L=In(18));var Q=Jh(T,N);L.write_shift(-4,T),L.write_shift(-4,T),L.write_shift(4,(Q.width||10)*256),L.write_shift(4,0);var ne=0;return N.hidden&&(ne|=1),typeof Q.width=="number"&&(ne|=2),N.level&&(ne|=N.level<<8),L.write_shift(2,ne),L}var Gf=["left","right","top","bottom","header","footer"];function sg(T){var N={};return Gf.forEach(function(L){N[L]=oa(T,8)}),N}function lg(T,N){return N==null&&(N=In(6*8)),bh(T),Gf.forEach(function(L){Ba(T[L],N)}),N}function cg(T){var N=T.read_shift(2);return T.l+=28,{RTL:N&32}}function ug(T,N,L){L==null&&(L=In(30));var Q=924;return(((N||{}).Views||[])[0]||{}).RTL&&(Q|=32),L.write_shift(2,Q),L.write_shift(4,0),L.write_shift(4,0),L.write_shift(4,0),L.write_shift(1,0),L.write_shift(1,0),L.write_shift(2,0),L.write_shift(2,100),L.write_shift(2,0),L.write_shift(2,0),L.write_shift(2,0),L.write_shift(4,0),L}function dg(T){var N=In(24);return N.write_shift(4,4),N.write_shift(4,1),Ai(T,N),N}function hg(T,N){return N==null&&(N=In(16*4+2)),N.write_shift(2,T.password?Eo(T.password):0),N.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(L){L[1]?N.write_shift(4,T[L[0]]!=null&&!T[L[0]]?1:0):N.write_shift(4,T[L[0]]!=null&&T[L[0]]?0:1)}),N}function fg(){}function pg(){}function mg(T,N,L,Q,ne,Te,Ve){if(!T)return T;var je=N||{};Q||(Q={"!id":{}}),_!=null&&je.dense==null&&(je.dense=_);var vt=je.dense?[]:{},St,Pt={s:{r:2e6,c:2e6},e:{r:0,c:0}},pr=[],_r=!1,Rr=!1,ln,kr,An,Nn,Rn,un,Bi,fa,$i,wa=[];je.biff=12,je["!row"]=0;var no=0,Ca=!1,Ma=[],La={},ua=je.supbooks||ne.supbooks||[[]];if(ua.sharedf=La,ua.arrayf=Ma,ua.SheetNames=ne.SheetNames||ne.Sheets.map(function(Dl){return Dl.name}),!je.supbooks&&(je.supbooks=ua,ne.Names))for(var xo=0;xo=$l[0].s.r&&ln.r<=$l[0].e.r&&(Rn>=$l[0].s.c&&Rn<=$l[0].e.c&&(kr.F=ba($l[0]),Ca=!0))}!Ca&&Ao.length>3&&(kr.f=Ao[3])}if(Pt.s.r>ln.r&&(Pt.s.r=ln.r),Pt.s.c>Rn&&(Pt.s.c=Rn),Pt.e.rln.r&&(Pt.s.r=ln.r),Pt.s.c>Rn&&(Pt.s.c=Rn),Pt.e.r=Ao.s;)Os[Ao.e--]={width:Ao.w/256,hidden:!!(Ao.flags&1),level:Ao.level},Gs||(Gs=!0,Ka(Ao.w/256)),uo(Os[Ao.e+1]);break;case 161:vt["!autofilter"]={ref:ba(Ao)};break;case 476:vt["!margins"]=Ao;break;case 147:ne.Sheets[L]||(ne.Sheets[L]={}),Ao.name&&(ne.Sheets[L].CodeName=Ao.name),(Ao.above||Ao.left)&&(vt["!outline"]={above:Ao.above,left:Ao.left});break;case 137:ne.Views||(ne.Views=[{}]),ne.Views[0]||(ne.Views[0]={}),Ao.RTL&&(ne.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:break;case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 49:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:_r=!0;break;case 36:_r=!1;break;case 37:pr.push(Hs),_r=!0;break;case 38:pr.pop(),_r=!1;break;default:if(!((Hs||"").indexOf("Begin")>0)){if(!((Hs||"").indexOf("End")>0)){if(!_r||je.WTF)throw new Error("Unexpected record "+Qo+" "+Hs)}}}},je),delete je.supbooks,delete je["!row"],!vt["!ref"]&&(Pt.s.r<2e6||St&&(St.e.r>0||St.e.c>0||St.s.r>0||St.s.c>0))&&(vt["!ref"]=ba(St||Pt)),je.sheetRows&&vt["!ref"]){var Ms=ta(vt["!ref"]);je.sheetRows<=+Ms.e.r&&(Ms.e.r=je.sheetRows-1,Ms.e.r>Pt.e.r&&(Ms.e.r=Pt.e.r),Ms.e.rPt.e.c&&(Ms.e.c=Pt.e.c),Ms.e.c0&&(vt["!merges"]=wa),Os.length>0&&(vt["!cols"]=Os),is.length>0&&(vt["!rows"]=is),vt}function gg(T,N,L,Q,ne,Te,Ve){if(N.v===void 0)return!1;var je="";switch(N.t){case"b":je=N.v?"1":"0";break;case"d":N=Nt(N),N.z=N.z||G._table[14],N.v=pe(pt(N.v)),N.t="n";break;case"n":case"e":je=""+N.v;break;default:je=N.v;break}var vt={r:L,c:Q};vt.s=yh(ne.cellXfs,N,ne),N.l&&Te["!links"].push([dn(vt),N.l]),N.c&&Te["!comments"].push([dn(vt),N.c]);switch(N.t){case"s":case"str":return ne.bookSST?(je=_f(ne.Strings,N.v,ne.revStrings),vt.t="s",vt.v=je,Ve?pi(T,"BrtShortIsst",B0(N,vt)):pi(T,"BrtCellIsst",R0(N,vt))):(vt.t="str",Ve?pi(T,"BrtShortSt",G0(N,vt)):pi(T,"BrtCellSt",V0(N,vt))),!0;case"n":return N.v==(N.v|0)&&N.v>-1e3&&N.v<1e3?Ve?pi(T,"BrtShortRk",W0(N,vt)):pi(T,"BrtCellRk",H0(N,vt)):Ve?pi(T,"BrtShortReal",U0(N,vt)):pi(T,"BrtCellReal",P0(N,vt)),!0;case"b":return vt.t="b",Ve?pi(T,"BrtShortBool",I0(N,vt)):pi(T,"BrtCellBool",_0(N,vt)),!0;case"e":return vt.t="e",Ve?pi(T,"BrtShortError",D0(N,vt)):pi(T,"BrtCellError",L0(N,vt)),!0}return Ve?pi(T,"BrtShortBlank",C0(N,vt)):pi(T,"BrtCellBlank",x0(N,vt)),!0}function Ag(T,N,L,Q){var ne=ta(N["!ref"]||"A1"),Te,Ve="",je=[];pi(T,"BrtBeginSheetData");var vt=Array.isArray(N),St=ne.e.r;N["!rows"]&&(St=Math.max(ne.e.r,N["!rows"].length-1));for(var Pt=ne.s.r;Pt<=St;++Pt){Ve=_i(Pt),m0(T,N,ne,Pt);var pr=!1;if(Pt<=ne.e.r)for(var _r=ne.s.c;_r<=ne.e.c;++_r){Pt===ne.s.r&&(je[_r]=ya(_r)),Te=je[_r]+Ve;var Rr=vt?(N[Pt]||[])[_r]:N[Te];if(!Rr){pr=!1;continue}pr=gg(T,Rr,Pt,_r,Q,N,pr)}}pi(T,"BrtEndSheetData")}function vg(T,N){if(!N||!N["!merges"])return;pi(T,"BrtBeginMergeCells",eg(N["!merges"].length)),N["!merges"].forEach(function(L){pi(T,"BrtMergeCell",q0(L))}),pi(T,"BrtEndMergeCells")}function bg(T,N){if(!N||!N["!cols"])return;pi(T,"BrtBeginColInfos"),N["!cols"].forEach(function(L,Q){L&&pi(T,"BrtColInfo",og(Q,L))}),pi(T,"BrtEndColInfos")}function yg(T,N){if(!N||!N["!ref"])return;pi(T,"BrtBeginCellIgnoreECs"),pi(T,"BrtCellIgnoreEC",dg(ta(N["!ref"]))),pi(T,"BrtEndCellIgnoreECs")}function wg(T,N,L){N["!links"].forEach(function(Q){if(!Q[1].Target)return;var ne=Vo(L,-1,Q[1].Target.replace(/#.*$/,""),Ja.HLINK);pi(T,"BrtHLink",rg(Q,ne))}),delete N["!links"]}function xg(T,N,L,Q){if(N["!comments"].length>0){var ne=Vo(Q,-1,"../drawings/vmlDrawing"+(L+1)+".vml",Ja.VML);pi(T,"BrtLegacyDrawing",ia("rId"+ne)),N["!legacy"]=ne}}function Sg(T,N,L,Q){if(!N["!autofilter"])return;var ne=N["!autofilter"],Te=typeof ne.ref=="string"?ne.ref:ba(ne.ref);L.Workbook||(L.Workbook={Sheets:[]}),L.Workbook.Names||(L.Workbook.Names=[]);var Ve=L.Workbook.Names,je=ha(Te);je.s.r==je.e.r&&(je.e.r=ha(N["!ref"]).e.r,Te=ba(je));for(var vt=0;vt16383||vt.e.r>1048575){if(N.WTF)throw new Error("Range "+(Ve["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");vt.e.c=Math.min(vt.e.c,16383),vt.e.r=Math.min(vt.e.c,1048575)}return Ve["!links"]=[],Ve["!comments"]=[],pi(ne,"BrtBeginSheet"),(L.vbaraw||Ve["!outline"])&&pi(ne,"BrtWsProp",y0(je,Ve["!outline"])),pi(ne,"BrtWsDim",A0(vt)),Cg(ne,Ve,L.Workbook),Eg(ne,Ve),bg(ne,Ve,T,N,L),Ag(ne,Ve,T,N,L),_g(ne,Ve),Sg(ne,Ve,L,T),vg(ne,Ve),wg(ne,Ve,Q),Ve["!margins"]&&pi(ne,"BrtMargins",lg(Ve["!margins"])),(!N||N.ignoreEC||N.ignoreEC==null)&&yg(ne,Ve),xg(ne,Ve,T,Q),pi(ne,"BrtEndSheet"),ne.end()}Ja.CHART="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",Ja.CHARTEX="http://schemas.microsoft.com/office/2014/relationships/chartEx";function Ig(T){var N=[],L=T.match(/^/),Q;(T.match(/(.*?)<\/c:pt>/mg)||[]).forEach(function(Te){var Ve=Te.match(/(.*)<\/c:v><\/c:pt>/);if(!Ve)return;N[+Ve[1]]=L?+Ve[2]:Ve[2]});var ne=Tn((T.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(T.match(/(.*?)<\/c:f>/mg)||[]).forEach(function(Te){Q=Te.replace(/<.*?>/g,"")}),[N,ne,Q]}function Og(T,N,L,Q,ne,Te){var Ve=Te||{"!type":"chart"};if(!T)return Te;var je=0,vt=0,St="A",Pt={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(T.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(pr){var _r=Ig(pr);Pt.s.r=Pt.s.c=0,Pt.e.c=je,St=ya(je),_r[0].forEach(function(Rr,ln){Ve[St+_i(ln)]={t:"n",v:Rr,z:_r[1]},vt=ln}),Pt.e.r0&&(Ve["!ref"]=ba(Pt)),Ve}Ja.CS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet";var Lg=dr("chartsheet",null,{xmlns:on.main[0],"xmlns:r":on.r});function Ng(T,N,L,Q,ne){if(!T)return T;Q||(Q={"!id":{}});var Te={"!type":"chart","!drawel":null,"!rel":""},Ve,je=T.match(Vf);return je&&Tf(je[0],Te,ne,L),(Ve=T.match(/drawing r:id="(.*?)"/))&&(Te["!rel"]=Ve[1]),Q["!id"][Te["!rel"]]&&(Te["!drawel"]=Q["!id"][Te["!rel"]]),Te}function Dg(T,N,L,Q){var ne=[Ht,Lg];return ne[ne.length]=dr("drawing",null,{"r:id":"rId1"}),Vo(Q,-1,"../drawings/drawing"+(T+1)+".xml",Ja.DRAW),ne.length>2&&(ne[ne.length]="",ne[1]=ne[1].replace("/>",">")),ne.join("")}function Mg(T,N){T.l+=10;var L=Vt(T,N-10);return{name:L}}function Rg(T,N,L,Q,ne){if(!T)return T;Q||(Q={"!id":{}});var Te={"!type":"chart","!drawel":null,"!rel":""},Ve=[],je=!1;return na(T,function(St,Pt,pr){switch(pr){case 550:Te["!rel"]=St;break;case 651:ne.Sheets[L]||(ne.Sheets[L]={}),St.name&&(ne.Sheets[L].CodeName=St.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:je=!0;break;case 36:je=!1;break;case 37:Ve.push(Pt);break;case 38:Ve.pop();break;default:if((Pt||"").indexOf("Begin")>0)Ve.push(Pt);else if((Pt||"").indexOf("End")>0)Ve.pop();else if(!je||N.WTF)throw new Error("Unexpected record "+pr+" "+Pt)}},N),Q["!id"][Te["!rel"]]&&(Te["!drawel"]=Q["!id"][Te["!rel"]]),Te}function Fg(){var T=Ei();return pi(T,"BrtBeginSheet"),pi(T,"BrtEndSheet"),T.end()}var If=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],Bg=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],kg=[],Pg=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Yf(T,N){for(var L=0;L!=T.length;++L)for(var Q=T[L],ne=0;ne!=N.length;++ne){var Te=N[ne];if(Q[Te[0]]==null)Q[Te[0]]=Te[1];else switch(Te[2]){case"bool":typeof Q[Te[0]]=="string"&&(Q[Te[0]]=Xt(Q[Te[0]]));break;case"int":typeof Q[Te[0]]=="string"&&(Q[Te[0]]=parseInt(Q[Te[0]],10));break}}}function Qf(T,N){for(var L=0;L!=N.length;++L){var Q=N[L];if(T[Q[0]]==null)T[Q[0]]=Q[1];else switch(Q[2]){case"bool":typeof T[Q[0]]=="string"&&(T[Q[0]]=Xt(T[Q[0]]));break;case"int":typeof T[Q[0]]=="string"&&(T[Q[0]]=parseInt(T[Q[0]],10));break}}}function Zf(T){Qf(T.WBProps,If),Qf(T.CalcPr,Pg),Yf(T.WBView,Bg),Yf(T.Sheets,kg),Ih.date1904=Xt(T.WBProps.date1904)}function Ug(T){return T.Workbook&&(T.Workbook.WBProps&&Xt(T.Workbook.WBProps.date1904))?"true":"false"}var jg="][*?/\\".split("");function Jf(T,N){if(T.length>31){if(N)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var L=!0;return jg.forEach(function(Q){if(T.indexOf(Q)==-1)return;if(!N)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");L=!1}),L}function Hg(T,N,L){T.forEach(function(Q,ne){Jf(Q);for(var Te=0;Te22)throw new Error("Bad Code Name: Worksheet"+Ve)}})}function zg(T){if(!T||!T.SheetNames||!T.Sheets)throw new Error("Invalid Workbook");if(!T.SheetNames.length)throw new Error("Workbook is empty");var N=T.Workbook&&T.Workbook.Sheets||[];Hg(T.SheetNames,N,!!T.vbaraw);for(var L=0;L":break;case"":case"":break;case"":break;case"":If.forEach(function(pr){if(Pt[pr[0]]==null)return;switch(pr[2]){case"bool":L.WBProps[pr[0]]=Xt(Pt[pr[0]]);break;case"int":L.WBProps[pr[0]]=parseInt(Pt[pr[0]],10);break;default:L.WBProps[pr[0]]=Pt[pr[0]]}}),Pt.codeName&&(L.WBProps.CodeName=er(Pt.codeName));break;case"":break;case"":break;case"":case"":break;case"":delete Pt[0],L.WBView.push(Pt);break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":Q=!1;break;case"":Te.Ref=Tn(er(T.slice(Ve,St))),L.Names.push(Te);break;case"":break;case"":delete Pt[0],L.CalcPr=Pt;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":case"":break;case"":Q=!1;break;case"":Q=!0;break;case"":Q=!1;break;case"0,Q={codeName:"ThisWorkbook"};T.Workbook&&T.Workbook.WBProps&&(If.forEach(function(je){if(T.Workbook.WBProps[je[0]]==null)return;if(T.Workbook.WBProps[je[0]]==je[1])return;Q[je[0]]=T.Workbook.WBProps[je[0]]}),T.Workbook.WBProps.CodeName&&(Q.codeName=T.Workbook.WBProps.CodeName,delete Q.CodeName)),N[N.length]=dr("workbookPr",null,Q);var ne=T.Workbook&&T.Workbook.Sheets||[],Te=0;if(ne&&ne[0]&&!!ne[0].Hidden){for(N[N.length]="",Te=0;Te!=T.SheetNames.length&&ne[Te];++Te)if(!ne[Te].Hidden)break;Te==T.SheetNames.length&&(Te=0),N[N.length]='',N[N.length]=""}for(N[N.length]="",Te=0;Te!=T.SheetNames.length;++Te){var Ve={name:lt(T.SheetNames[Te].slice(0,31))};if(Ve.sheetId=""+(Te+1),Ve["r:id"]="rId"+(Te+1),ne[Te])switch(ne[Te].Hidden){case 1:Ve.state="hidden";break;case 2:Ve.state="veryHidden";break}N[N.length]=dr("sheet",null,Ve)}return N[N.length]="",L&&(N[N.length]="",T.Workbook&&T.Workbook.Names&&T.Workbook.Names.forEach(function(je){var vt={name:je.Name};if(je.Comment&&(vt.comment=je.Comment),je.Sheet!=null&&(vt.localSheetId=""+je.Sheet),je.Hidden&&(vt.hidden="1"),!je.Ref)return;N[N.length]=dr("definedName",lt(je.Ref),vt)}),N[N.length]=""),N.length>2&&(N[N.length]="",N[1]=N[1].replace("/>",">")),N.join("")}function Gg(T,N){var L={};return L.Hidden=T.read_shift(4),L.iTabID=T.read_shift(4),L.strRelID=ca(T,N-8),L.name=Vt(T),L}function Yg(T,N){return N||(N=In(127)),N.write_shift(4,T.Hidden),N.write_shift(4,T.iTabID),ia(T.strRelID,N),Cr(T.name.slice(0,31),N),N.length>N.l?N.slice(0,N.l):N}function Qg(T,N){var L={},Q=T.read_shift(4);L.defaultThemeVersion=T.read_shift(4);var ne=N>8?Vt(T):"";return ne.length>0&&(L.CodeName=ne),L.autoCompressPictures=!!(Q&65536),L.backupFile=!!(Q&64),L.checkCompatibility=!!(Q&4096),L.date1904=!!(Q&1),L.filterPrivacy=!!(Q&8),L.hidePivotFieldList=!!(Q&1024),L.promptedSolutions=!!(Q&16),L.publishItems=!!(Q&2048),L.refreshAllConnections=!!(Q&262144),L.saveExternalLinkValues=!!(Q&128),L.showBorderUnselectedTables=!!(Q&4),L.showInkAnnotation=!!(Q&32),L.showObjects=["all","placeholders","none"][Q>>13&3],L.showPivotChartFilter=!!(Q&32768),L.updateLinks=["userSet","never","always"][Q>>8&3],L}function Zg(T,N){N||(N=In(72));var L=0;return T&&(T.filterPrivacy&&(L|=8)),N.write_shift(4,L),N.write_shift(4,0),ni(T&&T.CodeName||"ThisWorkbook",N),N.slice(0,N.l)}function Jg(T,N){var L={};return T.read_shift(4),L.ArchID=T.read_shift(4),T.l+=N-8,L}function $g(T,N,L){var Q=T.l+N;T.l+=4,T.l+=1;var ne=T.read_shift(4),Te=Ui(T),Ve=Im(T,0,L),je=wi(T);T.l=Q;var vt={Name:Te,Ptg:Ve};return ne<268435455&&(vt.Sheet=ne),je&&(vt.Comment=je),vt}function qg(T,N){var L={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},Q=[],ne=!1;N||(N={}),N.biff=12;var Te=[],Ve=[[]];return Ve.SheetNames=[],Ve.XTI=[],Oh[16]={n:"BrtFRTArchID$",f:Jg},na(T,function(vt,St,Pt){switch(Pt){case 156:Ve.SheetNames.push(vt.name),L.Sheets.push(vt);break;case 153:L.WBProps=vt;break;case 39:vt.Sheet!=null&&(N.SID=vt.Sheet),vt.Ref=_u(vt.Ptg,null,null,Ve,N),delete N.SID,delete vt.Ptg,Te.push(vt);break;case 1036:break;case 357:case 358:case 355:case 667:Ve[0].length?Ve.push([Pt,vt]):Ve[0]=[Pt,vt],Ve[Ve.length-1].XTI=[];break;case 362:Ve.length===0&&(Ve[0]=[],Ve[0].XTI=[]),Ve[Ve.length-1].XTI=Ve[Ve.length-1].XTI.concat(vt),Ve.XTI=Ve.XTI.concat(vt);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:Q.push(St),ne=!0;break;case 36:Q.pop(),ne=!1;break;case 37:Q.push(St),ne=!0;break;case 38:Q.pop(),ne=!1;break;case 16:break;default:if(!((St||"").indexOf("Begin")>0)){if(!((St||"").indexOf("End")>0)){if(!ne||N.WTF&&Q[Q.length-1]!="BrtACBegin"&&Q[Q.length-1]!="BrtFRTBegin")throw new Error("Unexpected record "+Pt+" "+St)}}}},N),Zf(L),L.Names=Te,L.supbooks=Ve,L}function eA(T,N){pi(T,"BrtBeginBundleShs");for(var L=0;L!=N.SheetNames.length;++L){var Q=N.Workbook&&N.Workbook.Sheets&&N.Workbook.Sheets[L]&&N.Workbook.Sheets[L].Hidden||0,ne={Hidden:Q,iTabID:L+1,strRelID:"rId"+(L+1),name:N.SheetNames[L]};pi(T,"BrtBundleSh",Yg(ne))}pi(T,"BrtEndBundleShs")}function tA(T,N){N||(N=In(127));for(var L=0;L!=4;++L)N.write_shift(4,0);return Cr("SheetJS",N),Cr(d.version,N),Cr(d.version,N),Cr("7262",N),N.length>N.l?N.slice(0,N.l):N}function rA(T,N){N||(N=In(29)),N.write_shift(-4,0),N.write_shift(-4,460),N.write_shift(4,28800),N.write_shift(4,17600),N.write_shift(4,500),N.write_shift(4,T),N.write_shift(4,T);var L=120;return N.write_shift(1,L),N.length>N.l?N.slice(0,N.l):N}function nA(T,N){if(!N.Workbook||!N.Workbook.Sheets)return;for(var L=N.Workbook.Sheets,Q=0,ne=-1,Te=-1;Qne)return;pi(T,"BrtBeginBookViews"),pi(T,"BrtBookView",rA(ne)),pi(T,"BrtEndBookViews")}function iA(T,N){var L=Ei();return pi(L,"BrtBeginBook"),pi(L,"BrtFileVersion",tA()),pi(L,"BrtWbProp",Zg(T.Workbook&&T.Workbook.WBProps||null)),nA(L,T,N),eA(L,T,N),pi(L,"BrtEndBook"),L.end()}function aA(T,N,L){return N.slice(-4)===".bin"?qg(T,L):Kg(T,L)}function oA(T,N,L,Q,ne,Te,Ve,je){return N.slice(-4)===".bin"?mg(T,Q,L,ne,Te,Ve,je):Vm(T,Q,L,ne,Te,Ve,je)}function sA(T,N,L,Q,ne,Te,Ve,je){return N.slice(-4)===".bin"?Rg(T,Q,L,ne,Te,Ve,je):Ng(T,Q,L,ne,Te,Ve,je)}function lA(T,N,L,Q,ne,Te,Ve,je){return N.slice(-4)===".bin"?Qi(T,Q,L,ne,Te,Ve,je):wo(T,Q,L,ne,Te,Ve,je)}function cA(T,N,L,Q,ne,Te,Ve,je){return N.slice(-4)===".bin"?Gi(T,Q,L,ne,Te,Ve,je):Mi(T,Q,L,ne,Te,Ve,je)}function uA(T,N,L,Q){return N.slice(-4)===".bin"?_h(T,L,Q):Jl(T,L,Q)}function dA(T,N,L){return Hd(T,L)}function hA(T,N,L){return N.slice(-4)===".bin"?Oe(T,L):Or(T,L)}function fA(T,N,L){return N.slice(-4)===".bin"?At(T,L):vf(T,L)}function pA(T,N,L){return N.slice(-4)===".bin"?hf(T,N,L):uf(T,N,L)}function mA(T,N,L,Q){return L.slice(-4)===".bin"?pf(T,N,L,Q):ff(T,N,L,Q)}function gA(T,N,L){return(N.slice(-4)===".bin"?iA:Xg)(T,L)}function AA(T,N,L,Q,ne){return(N.slice(-4)===".bin"?Tg:h0)(T,L,Q,ne)}function kv(T,N,L,Q,ne){return(N.slice(-4)===".bin"?Fg:Dg)(T,L,Q,ne)}function vA(T,N,L){return(N.slice(-4)===".bin"?fh:cd)(T,L)}function bA(T,N,L){return(N.slice(-4)===".bin"?zt:Ue)(T,L)}function yA(T,N,L){return(N.slice(-4)===".bin"?cr:yf)(T,L)}var $f=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,qf=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function fd(T,N){var L=T.split(/\s+/),Q=[];if(N||(Q[0]=L[0]),L.length===1)return Q;var ne=T.match($f),Te,Ve,je,vt;if(ne)for(vt=0;vt!=ne.length;++vt)Te=ne[vt].match(qf),(Ve=Te[1].indexOf(":"))===-1?Q[Te[1]]=Te[2].slice(1,Te[2].length-1):(Te[1].slice(0,6)==="xmlns:"?je="xmlns"+Te[1].slice(6):je=Te[1].slice(Ve+1),Q[je]=Te[2].slice(1,Te[2].length-1));return Q}function wA(T){var N=T.split(/\s+/),L={};if(N.length===1)return L;var Q=T.match($f),ne,Te,Ve,je;if(Q)for(je=0;je!=Q.length;++je)ne=Q[je].match(qf),(Te=ne[1].indexOf(":"))===-1?L[ne[1]]=ne[2].slice(1,ne[2].length-1):(ne[1].slice(0,6)==="xmlns:"?Ve="xmlns"+ne[1].slice(6):Ve=ne[1].slice(Te+1),L[Ve]=ne[2].slice(1,ne[2].length-1));return L}function xA(T,N){var L=q[T]||Tn(T);return L==="General"?G._general(N):G.format(L,N)}function SA(T,N,L,Q){var ne=Q;switch((L[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":ne=Xt(Q);break;case"i2":case"int":ne=parseInt(Q,10);break;case"r4":case"float":ne=parseFloat(Q);break;case"date":case"dateTime.tz":ne=pt(Q);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+L[0])}T[Tn(N)]=ne}function CA(T,N,L){if(T.t==="z")return;if(!L||L.cellText!==!1)try{T.t==="e"?T.w=T.w||Mo[T.v]:N==="General"?T.t==="n"?(T.v|0)===T.v?T.w=G._general_int(T.v):T.w=G._general_num(T.v):T.w=G._general(T.v):T.w=xA(N||"General",T.v)}catch(Te){if(L.WTF)throw Te}try{var Q=q[N]||N||"General";if(L.cellNF&&(T.z=Q),L.cellDates&&T.t=="n"&&G.is_date(Q)){var ne=G.parse_date_code(T.v);ne&&(T.t="d",T.v=new Date(ne.y,ne.m-1,ne.d,ne.H,ne.M,ne.S,ne.u))}}catch(Te){if(L.WTF)throw Te}}function EA(T,N,L){if(L.cellStyles&&N.Interior){var Q=N.Interior;Q.Pattern&&(Q.patternType=hl[Q.Pattern]||Q.Pattern)}T[N.ID]=N}function _A(T,N,L,Q,ne,Te,Ve,je,vt,St){var Pt="General",pr=Q.StyleID,_r={};St=St||{};var Rr=[],ln=0;for(pr===void 0&&je&&(pr=je.StyleID),pr===void 0&&Ve&&(pr=Ve.StyleID);Te[pr]!==void 0&&!(Te[pr].nf&&(Pt=Te[pr].nf),Te[pr].Interior&&Rr.push(Te[pr].Interior),!Te[pr].Parent);)pr=Te[pr].Parent;switch(L.Type){case"Boolean":Q.t="b",Q.v=Xt(T);break;case"String":Q.t="s",Q.r=gt(Tn(T)),Q.v=T.indexOf("<")>-1?Tn(N||T).replace(/<.*?>/g,""):Q.r;break;case"DateTime":T.slice(-1)!="Z"&&(T+="Z"),Q.v=(pt(T)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3),Q.v!==Q.v?Q.v=Tn(T):Q.v<60&&(Q.v=Q.v-1),(!Pt||Pt=="General")&&(Pt="yyyy-mm-dd");case"Number":Q.v===void 0&&(Q.v=+T),Q.t||(Q.t="n");break;case"Error":Q.t="e",Q.v=Io[T],St.cellText!==!1&&(Q.w=T);break;default:T==""&&N==""?Q.t="z":(Q.t="s",Q.v=gt(N||T));break}if(CA(Q,Pt,St),St.cellFormula!==!1)if(Q.Formula){var kr=Tn(Q.Formula);kr.charCodeAt(0)==61&&(kr=kr.slice(1)),Q.f=fo(kr,ne),delete Q.Formula,Q.ArrayRange=="RC"?Q.F=fo("RC:RC",ne):Q.ArrayRange&&(Q.F=fo(Q.ArrayRange,ne),vt.push([ta(Q.F),Q.F]))}else for(ln=0;ln=vt[ln][0].s.r&&ne.r<=vt[ln][0].e.r&&(ne.c>=vt[ln][0].s.c&&ne.c<=vt[ln][0].e.c&&(Q.F=vt[ln][1]));St.cellStyles&&(Rr.forEach(function(An){!_r.patternType&&An.patternType&&(_r.patternType=An.patternType)}),Q.s=_r),Q.StyleID!==void 0&&(Q.ixfe=Q.StyleID)}function TA(T){T.t=T.v||"",T.t=T.t.replace(/\r\n/g,` `).replace(/\r/g,` -`),T.v=T.w=T.ixfe=void 0}function Of(T){if(E&&b.isBuffer(T))return T.toString("utf8");if(typeof T=="string")return T;if(typeof Uint8Array!="undefined"&&T instanceof Uint8Array)return er(J(W(T)));throw new Error("Bad input format: expected Buffer or string")}var jh=/<(\/?)([^\s?>:\/]+)(?:[\s?:\/][^>]*)?>/mg;function Lf(T,N){var L=N||{};V(G);var Q=y(Of(T));(L.type=="binary"||L.type=="array"||L.type=="base64")&&(typeof cptable!="undefined"?Q=cptable.utils.decode(65001,p(Q)):Q=er(Q));var ne=Q.slice(0,1024).toLowerCase(),Te=!1;if(ne=ne.replace(/".*?"/g,""),(ne.indexOf(">")&1023)>Math.min(ne.indexOf(",")&1023,ne.indexOf(";")&1023)){var Ve=Nt(L);return Ve.type="string",au.to_workbook(Q,Ve)}if(ne.indexOf("=0&&(Te=!0)}),Te)return wh.to_workbook(Q,L);var je,vt=[],St;_!=null&&L.dense==null&&(L.dense=_);var Pt={},pr=[],_r=L.dense?[]:{},Rr="",ln={},kr={},An={},Nn=fd(''),Rn=0,un=0,Bi=0,fa={s:{r:2e6,c:2e6},e:{r:0,c:0}},$i={},wa={},no="",Ca=0,Ma=[],La={},ua={},xo=0,Os=[],is=[],Gs={},Ms=[],Dl,Ao=!1,Hs=[],Qo=[],$l={},ii=0,aa=0,Hi={Sheets:[],WBProps:{date1904:!1}},tn={};jh.lastIndex=0,Q=Q.replace(//mg,"");for(var Mn="";je=jh.exec(Q);)switch(je[3]=(Mn=je[3]).toLowerCase()){case"data":if(Mn=="data"){if(je[1]==="/"){if((St=vt.pop())[0]!==je[3])throw new Error("Bad state: "+St.join("|"))}else je[0].charAt(je[0].length-2)!=="/"&&vt.push([je[3],!0]);break}if(vt[vt.length-1][1])break;je[1]==="/"?_A(Q.slice(Rn,je.index),no,Nn,vt[vt.length-1][0]=="comment"?Gs:kr,{c:un,r:Bi},$i,Ms[un],An,Hs,L):(no="",Nn=fd(je[0]),Rn=je.index+je[0].length);break;case"cell":if(je[1]==="/")if(is.length>0&&(kr.c=is),(!L.sheetRows||L.sheetRows>Bi)&&kr.v!==void 0&&(L.dense?(_r[Bi]||(_r[Bi]=[]),_r[Bi][un]=kr):_r[ya(un)+_i(Bi)]=kr),kr.HRef&&(kr.l={Target:Tn(kr.HRef)},kr.HRefScreenTip&&(kr.l.Tooltip=kr.HRefScreenTip),delete kr.HRef,delete kr.HRefScreenTip),(kr.MergeAcross||kr.MergeDown)&&(ii=un+(parseInt(kr.MergeAcross,10)|0),aa=Bi+(parseInt(kr.MergeDown,10)|0),Ma.push({s:{c:un,r:Bi},e:{c:ii,r:aa}})),!L.sheetStubs)kr.MergeAcross?un=ii+1:++un;else if(kr.MergeAcross||kr.MergeDown){for(var ti=un;ti<=ii;++ti)for(var Da=Bi;Da<=aa;++Da)(ti>un||Da>Bi)&&(L.dense?(_r[Da]||(_r[Da]=[]),_r[Da][ti]={t:"z"}):_r[ya(ti)+_i(Da)]={t:"z"});un=ii+1}else++un;else kr=wA(je[0]),kr.Index&&(un=+kr.Index-1),unfa.e.c&&(fa.e.c=un),je[0].slice(-2)==="/>"&&++un,is=[];break;case"row":je[1]==="/"||je[0].slice(-2)==="/>"?(Bifa.e.r&&(fa.e.r=Bi),je[0].slice(-2)==="/>"&&(An=fd(je[0]),An.Index&&(Bi=+An.Index-1)),un=0,++Bi):(An=fd(je[0]),An.Index&&(Bi=+An.Index-1),$l={},(An.AutoFitHeight=="0"||An.Height)&&($l.hpx=parseInt(An.Height,10),$l.hpt=ts($l.hpx),Qo[Bi]=$l),An.Hidden=="1"&&($l.hidden=!0,Qo[Bi]=$l));break;case"worksheet":if(je[1]==="/"){if((St=vt.pop())[0]!==je[3])throw new Error("Bad state: "+St.join("|"));pr.push(Rr),fa.s.r<=fa.e.r&&fa.s.c<=fa.e.c&&(_r["!ref"]=ba(fa),L.sheetRows&&L.sheetRows<=fa.e.r&&(_r["!fullref"]=_r["!ref"],fa.e.r=L.sheetRows-1,_r["!ref"]=ba(fa))),Ma.length&&(_r["!merges"]=Ma),Ms.length>0&&(_r["!cols"]=Ms),Qo.length>0&&(_r["!rows"]=Qo),Pt[Rr]=_r}else fa={s:{r:2e6,c:2e6},e:{r:0,c:0}},Bi=un=0,vt.push([je[3],!1]),St=fd(je[0]),Rr=Tn(St.Name),_r=L.dense?[]:{},Ma=[],Hs=[],Qo=[],tn={name:Rr,Hidden:0},Hi.Sheets.push(tn);break;case"table":if(je[1]==="/"){if((St=vt.pop())[0]!==je[3])throw new Error("Bad state: "+St.join("|"))}else{if(je[0].slice(-2)=="/>")break;ln=fd(je[0]),vt.push([je[3],!1]),Ms=[],Ao=!1}break;case"style":je[1]==="/"?EA($i,wa,L):wa=fd(je[0]);break;case"numberformat":wa.nf=Tn(fd(je[0]).Format||"General"),q[wa.nf]&&(wa.nf=q[wa.nf]);for(var ui=0;ui!=392&&!(G._table[ui]==wa.nf);++ui);if(ui==392){for(ui=57;ui!=392;++ui)if(G._table[ui]==null){G.load(wa.nf,ui);break}}break;case"column":if(vt[vt.length-1][0]!=="table")break;if(Dl=fd(je[0]),Dl.Hidden&&(Dl.hidden=!0,delete Dl.Hidden),Dl.Width&&(Dl.wpx=parseInt(Dl.Width,10)),!Ao&&Dl.wpx>10){Ao=!0,ci=xn;for(var pa=0;pa0&&(ei.Sheet=Hi.Sheets.length-1),Hi.Names.push(ei);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(je[0].slice(-2)==="/>")break;je[1]==="/"?no+=Q.slice(Ca,je.index):Ca=je.index+je[0].length;break;case"interior":if(!L.cellStyles)break;wa.Interior=fd(je[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if(je[0].slice(-2)==="/>")break;je[1]==="/"?_l(La,Mn,Q.slice(xo,je.index)):xo=je.index+je[0].length;break;case"paragraphs":break;case"styles":case"workbook":if(je[1]==="/"){if((St=vt.pop())[0]!==je[3])throw new Error("Bad state: "+St.join("|"))}else vt.push([je[3],!1]);break;case"comment":if(je[1]==="/"){if((St=vt.pop())[0]!==je[3])throw new Error("Bad state: "+St.join("|"));TA(Gs),is.push(Gs)}else vt.push([je[3],!1]),St=fd(je[0]),Gs={a:St.Author};break;case"autofilter":if(je[1]==="/"){if((St=vt.pop())[0]!==je[3])throw new Error("Bad state: "+St.join("|"))}else if(je[0].charAt(je[0].length-2)!=="/"){var Va=fd(je[0]);_r["!autofilter"]={ref:fo(Va.Range).replace(/\$/g,"")},vt.push([je[3],!0])}break;case"name":break;case"datavalidation":if(je[1]==="/"){if((St=vt.pop())[0]!==je[3])throw new Error("Bad state: "+St.join("|"))}else je[0].charAt(je[0].length-2)!=="/"&&vt.push([je[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if(je[1]==="/"){if((St=vt.pop())[0]!==je[3])throw new Error("Bad state: "+St.join("|"))}else je[0].charAt(je[0].length-2)!=="/"&&vt.push([je[3],!0]);break;case"null":break;default:if(vt.length==0&&je[3]=="document")return cp(Q,L);if(vt.length==0&&je[3]=="uof")return cp(Q,L);var as=!0;switch(vt[vt.length-1][0]){case"officedocumentsettings":switch(je[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:as=!1}break;case"componentoptions":switch(je[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:as=!1}break;case"excelworkbook":switch(je[3]){case"date1904":Hi.WBProps.date1904=!0;break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:as=!1}break;case"workbookoptions":switch(je[3]){case"owcversion":break;case"height":break;case"width":break;default:as=!1}break;case"worksheetoptions":switch(je[3]){case"visible":if(!(je[0].slice(-2)==="/>"))if(je[1]==="/")switch(Q.slice(xo,je.index)){case"SheetHidden":tn.Hidden=1;break;case"SheetVeryHidden":tn.Hidden=2;break}else xo=je.index+je[0].length;break;case"header":_r["!margins"]||bh(_r["!margins"]={},"xlml"),_r["!margins"].header=Gt(je[0]).Margin;break;case"footer":_r["!margins"]||bh(_r["!margins"]={},"xlml"),_r["!margins"].footer=Gt(je[0]).Margin;break;case"pagemargins":var ds=Gt(je[0]);_r["!margins"]||bh(_r["!margins"]={},"xlml"),ds.Top&&(_r["!margins"].top=ds.Top),ds.Left&&(_r["!margins"].left=ds.Left),ds.Right&&(_r["!margins"].right=ds.Right),ds.Bottom&&(_r["!margins"].bottom=ds.Bottom);break;case"displayrighttoleft":Hi.Views||(Hi.Views=[]),Hi.Views[0]||(Hi.Views[0]={}),Hi.Views[0].RTL=!0;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":_r["!outline"]||(_r["!outline"]={}),_r["!outline"].above=!0;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":_r["!outline"]||(_r["!outline"]={}),_r["!outline"].left=!0;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:as=!1}break;case"pivottable":case"pivotcache":switch(je[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:as=!1}break;case"pagebreaks":switch(je[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:as=!1}break;case"autofilter":switch(je[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:as=!1}break;case"querytable":switch(je[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:as=!1}break;case"datavalidation":switch(je[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:as=!1}break;case"sorting":case"conditionalformatting":switch(je[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:as=!1}break;case"mapinfo":case"schema":case"data":switch(je[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":break;case"row":break;default:as=!1}break;case"smarttags":break;default:as=!1;break}if(as)break;if(je[3].match(/!\[CDATA/))break;if(!vt[vt.length-1][1])throw"Unrecognized tag: "+je[3]+"|"+vt.join("|");if(vt[vt.length-1][0]==="customdocumentproperties"){if(je[0].slice(-2)==="/>")break;je[1]==="/"?SA(ua,Mn,Os,Q.slice(xo,je.index)):(Os=je,xo=je.index+je[0].length);break}if(L.WTF)throw"Unrecognized tag: "+je[3]+"|"+vt.join("|")}var Lo={};return!L.bookSheets&&!L.bookProps&&(Lo.Sheets=Pt),Lo.SheetNames=pr,Lo.Workbook=Hi,Lo.SSF=G.get_table(),Lo.Props=La,Lo.Custprops=ua,Lo}function Nf(T,N){Df(N=N||{});switch(N.type||"base64"){case"base64":return Lf(C.decode(T),N);case"binary":case"buffer":case"file":return Lf(T,N);case"array":return Lf(J(T),N)}}function IA(T,N){var L=[];return T.Props&&L.push(Kc(T.Props,N)),T.Custprops&&L.push(fc(T.Props,T.Custprops,N)),L.join("")}function OA(){return""}function LA(T,N){var L=[''];return N.cellXfs.forEach(function(Q,ne){var Te=[];Te.push(dr("NumberFormat",null,{"ss:Format":lt(G._table[Q.numFmtId])}));var Ve={"ss:ID":"s"+(21+ne)};L.push(dr("Style",Te.join(""),Ve))}),dr("Styles",L.join(""))}function ep(T){return dr("NamedRange",null,{"ss:Name":T.Name,"ss:RefersTo":"="+Ds(T.Ref,{r:0,c:0})})}function NA(T){if(!((T||{}).Workbook||{}).Names)return"";for(var N=T.Workbook.Names,L=[],Q=0;Q"),T["!margins"].header&&ne.push(dr("Header",null,{"x:Margin":T["!margins"].header})),T["!margins"].footer&&ne.push(dr("Footer",null,{"x:Margin":T["!margins"].footer})),ne.push(dr("PageMargins",null,{"x:Bottom":T["!margins"].bottom||"0.75","x:Left":T["!margins"].left||"0.7","x:Right":T["!margins"].right||"0.7","x:Top":T["!margins"].top||"0.75"})),ne.push("")),Q&&Q.Workbook&&Q.Workbook.Sheets&&Q.Workbook.Sheets[L])if(Q.Workbook.Sheets[L].Hidden)ne.push(dr("Visible",Q.Workbook.Sheets[L].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var Te=0;Te")}return((((Q||{}).Workbook||{}).Views||[])[0]||{}).RTL&&ne.push(""),T["!protect"]&&(ne.push(tr("ProtectContents","True")),T["!protect"].objects&&ne.push(tr("ProtectObjects","True")),T["!protect"].scenarios&&ne.push(tr("ProtectScenarios","True")),T["!protect"].selectLockedCells!=null&&!T["!protect"].selectLockedCells?ne.push(tr("EnableSelection","NoSelection")):T["!protect"].selectUnlockedCells!=null&&!T["!protect"].selectUnlockedCells&&ne.push(tr("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(Ve){T["!protect"][Ve[0]]&&ne.push("<"+Ve[1]+"/>")})),ne.length==0?"":dr("WorksheetOptions",ne.join(""),{xmlns:Gn.x})}function RA(T){return T.map(function(N){var L=ir(N.t||""),Q=dr("ss:Data",L,{xmlns:"http://www.w3.org/TR/REC-html40"});return dr("Comment",Q,{"ss:Author":N.a})}).join("")}function FA(T,N,L,Q,ne,Te,Ve){if(!T||T.v==null&&T.f==null)return"";var je={};if(T.f&&(je["ss:Formula"]="="+lt(Ds(T.f,Ve))),T.F&&T.F.slice(0,N.length)==N){var vt=Pi(T.F.slice(N.length+1));je["ss:ArrayRange"]="RC:R"+(vt.r==Ve.r?"":"["+(vt.r-Ve.r)+"]")+"C"+(vt.c==Ve.c?"":"["+(vt.c-Ve.c)+"]")}if(T.l&&T.l.Target&&(je["ss:HRef"]=lt(T.l.Target),T.l.Tooltip&&(je["x:HRefScreenTip"]=lt(T.l.Tooltip))),L["!merges"])for(var St=L["!merges"],Pt=0;Pt!=St.length;++Pt){if(St[Pt].s.c!=Ve.c||St[Pt].s.r!=Ve.r)continue;St[Pt].e.c>St[Pt].s.c&&(je["ss:MergeAcross"]=St[Pt].e.c-St[Pt].s.c),St[Pt].e.r>St[Pt].s.r&&(je["ss:MergeDown"]=St[Pt].e.r-St[Pt].s.r)}var pr="",_r="";switch(T.t){case"z":if(!Q.sheetStubs)return"";break;case"n":pr="Number",_r=String(T.v);break;case"b":pr="Boolean",_r=T.v?"1":"0";break;case"e":pr="Error",_r=Mo[T.v];break;case"d":pr="DateTime",_r=new Date(T.v).toISOString(),T.z==null&&(T.z=T.z||G._table[14]);break;case"s":pr="String",_r=$e(T.v||"");break}var Rr=yh(Q.cellXfs,T,Q);je["ss:StyleID"]="s"+(21+Rr),je["ss:Index"]=Ve.c+1;var ln=T.v!=null?_r:"",kr=T.t=="z"?"":''+ln+"";return(T.c||[]).length>0&&(kr+=RA(T.c)),dr("Cell",kr,je)}function BA(T,N){var L='"}function kA(T,N,L,Q){if(!T["!ref"])return"";var ne=ta(T["!ref"]),Te=T["!merges"]||[],Ve=0,je=[];T["!cols"]&&T["!cols"].forEach(function(An,Nn){uo(An);var Rn=!!An.width,un=Jh(Nn,An),Bi={"ss:Index":Nn+1};Rn&&(Bi["ss:Width"]=ra(un.width)),An.hidden&&(Bi["ss:Hidden"]="1"),je.push(dr("Column",null,Bi))});for(var vt=Array.isArray(T),St=ne.s.r;St<=ne.e.r;++St){for(var Pt=[BA(St,(T["!rows"]||[])[St])],pr=ne.s.c;pr<=ne.e.c;++pr){var _r=!1;for(Ve=0;Ve!=Te.length;++Ve){if(Te[Ve].s.c>pr)continue;if(Te[Ve].s.r>St)continue;if(Te[Ve].e.c"),Pt.length>2&&je.push(Pt.join(""))}return je.join("")}function PA(T,N,L){var Q=[],ne=L.SheetNames[T],Te=L.Sheets[ne],Ve=Te?DA(Te,N,T,L):"";return Ve.length>0&&Q.push(""+Ve+""),Ve=Te?kA(Te,N,T,L):"",Ve.length>0&&Q.push(""+Ve+"
"),Q.push(MA(Te,N,T,L)),Q.join("")}function UA(T,N){N||(N={}),T.SSF||(T.SSF=G.get_table()),T.SSF&&(V(G),G.load_table(T.SSF),N.revssf=Y(T.SSF),N.revssf[T.SSF[65535]]=0,N.ssf=T.SSF,N.cellXfs=[],yh(N.cellXfs,{},{revssf:{General:0}}));var L=[];L.push(IA(T,N)),L.push(OA(T,N)),L.push(""),L.push("");for(var Q=0;Q40)return N;if(L.l-=4,N.Reserved1=L.read_shift(0,"lpstr-ansi"),L.length-L.l<=4)return N;if(Q=L.read_shift(4),Q!==1907505652)return N;if(N.UnicodeClipboardFormat=wr(L),Q=L.read_shift(4),Q==0||Q>40)return N;L.l-=4,N.Reserved2=L.read_shift(0,"lpwstr")}function HA(T,N,L,Q){var ne=L,Te=[],Ve=N.slice(N.l,N.l+ne);if(Q&&Q.enc&&Q.enc.insitu&&Ve.length>0)switch(T.n){case"BOF":case"FilePass":case"FileLock":case"InterfaceHdr":case"RRDInfo":case"RRDHead":case"UsrExcl":case"EOF":break;case"BoundSheet8":break;default:Q.enc.insitu(Ve)}Te.push(Ve),N.l+=ne;for(var je=ef[Vn(N,N.l)],vt=0;je!=null&&je.n.slice(0,8)==="Continue";)ne=Vn(N,N.l+2),vt=N.l+4,je.n=="ContinueFrt"?vt+=4:je.n.slice(0,11)=="ContinueFrt"&&(vt+=12),Ve=N.slice(vt,N.l+4+ne),Te.push(Ve),N.l+=4+ne,je=ef[Vn(N,N.l)];var St=z(Te);Cn(St,0);var Pt=0;St.lens=[];for(var pr=0;pr1)return;if(Wl.sheetRows&&$o.r>=Wl.sheetRows)return;if(Wl.cellStyles&&ol.XF&&ol.XF.data&&Ma($o,ol,Wl),delete ol.ixfe,delete ol.XF,pr=$o,_r=dn($o),(!Ve||!Ve.s||!Ve.e)&&(Ve={s:{r:0,c:0},e:{r:0,c:0}}),$o.rVe.e.r&&(Ve.e.r=$o.r+1),$o.c+1>Ve.e.c&&(Ve.e.c=$o.c+1),Wl.cellFormula&&ol.f)for(var Il=0;Il$o.c||Rn[Il][0].s.r>$o.r)continue;if(Rn[Il][0].e.c<$o.c||Rn[Il][0].e.r<$o.r)continue;ol.F=ba(Rn[Il][0]),(Rn[Il][0].s.c!=$o.c||Rn[Il][0].s.r!=$o.r)&&delete ol.f,ol.f&&(ol.f=""+_u(Rn[Il][1],Ve,$o,Qo,ua));break}Wl.dense?(ne[$o.r]||(ne[$o.r]=[]),ne[$o.r][$o.c]=ol):ne[_r]=ol},ua={enc:!1,sbcch:0,snames:[],sharedf:Nn,arrayf:Rn,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!N&&!!N.cellStyles,WTF:!!N&&!!N.wtf};N.password&&(ua.password=N.password);var xo,Os=[],is=[],Gs=[],Ms=[],Dl=0,Ao=0,Hs=!1,Qo=[];Qo.SheetNames=ua.snames,Qo.sharedf=ua.sharedf,Qo.arrayf=ua.arrayf,Qo.names=[],Qo.XTI=[];var $l="",ii=0,aa=0,Hi=[],tn=[],Mn;ua.codepage=1200,o(1200);for(var ti=!1;T.l>8)!==ui)throw new Error("rt mismatch: "+Ua+"!="+ui);Ii.r==12&&(T.l+=10,pa-=10)}var ei={};Ii.n==="EOF"?ei=Ii.f(T,pa,ua):ei=HA(Ii,T,pa,ua);var Va=Ii.n;if(ii==0&&Va!="BOF")continue;switch(Va){case"Date1904":L.opts.Date1904=wa.WBProps.date1904=ei;break;case"WriteProtect":L.opts.WriteProtect=!0;break;case"FilePass":if(ua.enc||(T.l=0),ua.enc=ei,!N.password)throw new Error("File is password-protected");if(ei.valid==null)throw new Error("Encryption scheme unsupported");if(!ei.valid)throw new Error("Password is incorrect");break;case"WriteAccess":ua.lastuser=ei;break;case"FileSharing":break;case"CodePage":var as=Number(ei);switch(as){case 21010:as=1200;break;case 32768:as=1e4;break;case 32769:as=1252;break}o(ua.codepage=as),ti=!0;break;case"RRTabId":ua.rrtabid=ei;break;case"WinProtect":ua.winlocked=ei;break;case"Template":break;case"BookBool":break;case"UsesELFs":break;case"MTRSettings":break;case"RefreshAll":case"CalcCount":case"CalcDelta":case"CalcIter":case"CalcMode":case"CalcPrecision":case"CalcSaveRecalc":L.opts[Va]=ei;break;case"CalcRefMode":ua.CalcRefMode=ei;break;case"Uncalced":break;case"ForceFullCalculation":L.opts.FullCalc=ei;break;case"WsBool":ei.fDialog&&(ne["!type"]="dialog"),ei.fBelow||((ne["!outline"]||(ne["!outline"]={})).above=!0),ei.fRight||((ne["!outline"]||(ne["!outline"]={})).left=!0);break;case"XF":fa.push(ei);break;case"ExtSST":break;case"BookExt":break;case"RichTextStream":break;case"BkHim":break;case"SupBook":Qo.push([ei]),Qo[Qo.length-1].XTI=[];break;case"ExternName":Qo[Qo.length-1].push(ei);break;case"Index":break;case"Lbl":Mn={Name:ei.Name,Ref:_u(ei.rgce,Ve,null,Qo,ua)},ei.itab>0&&(Mn.Sheet=ei.itab-1),Qo.names.push(Mn),Qo[0]||(Qo[0]=[],Qo[0].XTI=[]),Qo[Qo.length-1].push(ei),ei.Name=="_xlnm._FilterDatabase"&&ei.itab>0&&(ei.rgce&&ei.rgce[0]&&ei.rgce[0][0]&&ei.rgce[0][0][0]=="PtgArea3d"&&(tn[ei.itab-1]={ref:ba(ei.rgce[0][0][1][2])}));break;case"ExternCount":ua.ExternCount=ei;break;case"ExternSheet":Qo.length==0&&(Qo[0]=[],Qo[0].XTI=[]),Qo[Qo.length-1].XTI=Qo[Qo.length-1].XTI.concat(ei),Qo.XTI=Qo.XTI.concat(ei);break;case"NameCmt":if(ua.biff<8)break;Mn!=null&&(Mn.Comment=ei[1]);break;case"Protect":ne["!protect"]=ei;break;case"Password":ei!==0&&ua.WTF&&console.error("Password verifier: "+ei);break;case"Prot4Rev":case"Prot4RevPass":break;case"BoundSheet8":Te[ei.pos]=ei,ua.snames.push(ei.name);break;case"EOF":{if(--ii)break;if(Ve.e){if(Ve.e.r>0&&Ve.e.c>0){if(Ve.e.r--,Ve.e.c--,ne["!ref"]=ba(Ve),N.sheetRows&&N.sheetRows<=Ve.e.r){var ds=Ve.e.r;Ve.e.r=N.sheetRows-1,ne["!fullref"]=ne["!ref"],ne["!ref"]=ba(Ve),Ve.e.r=ds}Ve.e.r++,Ve.e.c++}Os.length>0&&(ne["!merges"]=Os),is.length>0&&(ne["!objects"]=is),Gs.length>0&&(ne["!cols"]=Gs),Ms.length>0&&(ne["!rows"]=Ms),wa.Sheets.push(no)}St===""?Pt=ne:Q[St]=ne,ne=N.dense?[]:{}}break;case"BOF":{if(ua.biff===8&&(ua.biff={9:2,521:3,1033:4}[ui]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[ei.BIFFVer]||8),ua.biffguess=ei.BIFFVer==0,ei.BIFFVer==0&&ei.dt==4096&&(ua.biff=5,ti=!0,o(ua.codepage=28591)),ua.biff==8&&ei.BIFFVer==0&&ei.dt==16&&(ua.biff=2),ii++)break;if(ne=N.dense?[]:{},ua.biff<8&&!ti&&(ti=!0,o(ua.codepage=N.codepage||1252)),ua.biff<5||ei.BIFFVer==0&&ei.dt==4096){St===""&&(St="Sheet1"),Ve={s:{r:0,c:0},e:{r:0,c:0}};var Lo={pos:T.l-pa,name:St};Te[Lo.pos]=Lo,ua.snames.push(St)}else St=(Te[Da]||{name:""}).name;ei.dt==32&&(ne["!type"]="chart"),ei.dt==64&&(ne["!type"]="macro"),Os=[],is=[],ua.arrayf=Rn=[],Gs=[],Ms=[],Dl=Ao=0,Hs=!1,no={Hidden:(Te[Da]||{hs:0}).hs,name:St}}break;case"Number":case"BIFF2NUM":case"BIFF2INT":ne["!type"]=="chart"&&((N.dense?(ne[ei.r]||[])[ei.c]:ne[dn({c:ei.c,r:ei.r})])&&++ei.c),un={ixfe:ei.ixfe,XF:fa[ei.ixfe]||{},v:ei.val,t:"n"},aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La({c:ei.c,r:ei.r},un,N);break;case"BoolErr":un={ixfe:ei.ixfe,XF:fa[ei.ixfe],v:ei.val,t:ei.t},aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La({c:ei.c,r:ei.r},un,N);break;case"RK":un={ixfe:ei.ixfe,XF:fa[ei.ixfe],v:ei.rknum,t:"n"},aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La({c:ei.c,r:ei.r},un,N);break;case"MulRk":for(var yc=ei.c;yc<=ei.C;++yc){var kc=ei.rkrec[yc-ei.c][0];un={ixfe:kc,XF:fa[kc],v:ei.rkrec[yc-ei.c][1],t:"n"},aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La({c:yc,r:ei.r},un,N)}break;case"Formula":{if(ei.val=="String"){je=ei;break}if(un=$h(ei.val,ei.cell.ixfe,ei.tt),un.XF=fa[un.ixfe],N.cellFormula){var wc=ei.formula;if(wc&&wc[0]&&wc[0][0]&&wc[0][0][0]=="PtgExp"){var Kl=wc[0][0][1][0],pd=wc[0][0][1][1],Nd=dn({r:Kl,c:pd});Nn[Nd]?un.f=""+_u(ei.formula,Ve,ei.cell,Qo,ua):un.F=((N.dense?(ne[Kl]||[])[pd]:ne[Nd])||{}).F}else un.f=""+_u(ei.formula,Ve,ei.cell,Qo,ua)}aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La(ei.cell,un,N),je=ei}break;case"String":if(je)je.val=ei,un=$h(ei,je.cell.ixfe,"s"),un.XF=fa[un.ixfe],N.cellFormula&&(un.f=""+_u(je.formula,Ve,je.cell,Qo,ua)),aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La(je.cell,un,N),je=null;else throw new Error("String record expects Formula");break;case"Array":{Rn.push(ei);var tu=dn(ei[0].s);if(Rr=N.dense?(ne[ei[0].s.r]||[])[ei[0].s.c]:ne[tu],N.cellFormula&&Rr){if(!je)break;if(!tu||!Rr)break;Rr.f=""+_u(ei[1],Ve,ei[0],Qo,ua),Rr.F=ba(ei[0])}}break;case"ShrFmla":{if(!N.cellFormula)break;if(_r){if(!je)break;Nn[dn(je.cell)]=ei[0],Rr=N.dense?(ne[je.cell.r]||[])[je.cell.c]:ne[dn(je.cell)],(Rr||{}).f=""+_u(ei[0],Ve,pr,Qo,ua)}}break;case"LabelSst":un=$h(vt[ei.isst].t,ei.ixfe,"s"),vt[ei.isst].h&&(un.h=vt[ei.isst].h),un.XF=fa[un.ixfe],aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La({c:ei.c,r:ei.r},un,N);break;case"Blank":N.sheetStubs&&(un={ixfe:ei.ixfe,XF:fa[ei.ixfe],t:"z"},aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La({c:ei.c,r:ei.r},un,N));break;case"MulBlank":if(N.sheetStubs)for(var Qs=ei.c;Qs<=ei.C;++Qs){var So=ei.ixfe[Qs-ei.c];un={ixfe:So,XF:fa[So],t:"z"},aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La({c:Qs,r:ei.r},un,N)}break;case"RString":case"Label":case"BIFF2STR":un=$h(ei.val,ei.ixfe,"s"),un.XF=fa[un.ixfe],aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La({c:ei.c,r:ei.r},un,N);break;case"Dimensions":ii===1&&(Ve=ei);break;case"SST":vt=ei;break;case"Format":if(ua.biff==4){Hi[aa++]=ei[1];for(var Vi=0;Vi=163&&G.load(ei[1],aa+163)}else G.load(ei[1],ei[0]);break;case"BIFF2FORMAT":{Hi[aa++]=ei;for(var sa=0;sa=163&&G.load(ei,aa+163)}break;case"MergeCells":Os=Os.concat(ei);break;case"Obj":is[ei.cmo[0]]=ua.lastobj=ei;break;case"TxO":ua.lastobj.TxO=ei;break;case"ImData":ua.lastobj.ImData=ei;break;case"HLink":for(An=ei[0].s.r;An<=ei[0].e.r;++An)for(kr=ei[0].s.c;kr<=ei[0].e.c;++kr)Rr=N.dense?(ne[An]||[])[kr]:ne[dn({c:kr,r:An})],Rr&&(Rr.l=ei[1]);break;case"HLinkTooltip":for(An=ei[0].s.r;An<=ei[0].e.r;++An)for(kr=ei[0].s.c;kr<=ei[0].e.c;++kr)Rr=N.dense?(ne[An]||[])[kr]:ne[dn({c:kr,r:An})],Rr&&Rr.l&&(Rr.l.Tooltip=ei[1]);break;case"Note":{if(ua.biff<=5&&ua.biff>=2)break;Rr=N.dense?(ne[ei[0].r]||[])[ei[0].c]:ne[dn(ei[0])];var Rs=is[ei[2]];Rr||(N.dense?(ne[ei[0].r]||(ne[ei[0].r]=[]),Rr=ne[ei[0].r][ei[0].c]={t:"z"}):Rr=ne[dn(ei[0])]={t:"z"},Ve.e.r=Math.max(Ve.e.r,ei[0].r),Ve.s.r=Math.min(Ve.s.r,ei[0].r),Ve.e.c=Math.max(Ve.e.c,ei[0].c),Ve.s.c=Math.min(Ve.s.c,ei[0].c)),Rr.c||(Rr.c=[]),ln={a:ei[1],t:Rs.TxO.t},Rr.c.push(ln)}break;default:switch(Ii.n){case"ClrtClient":break;case"XFExt":Gh(fa[ei.ixfe],ei.ext);break;case"DefColWidth":Dl=ei;break;case"DefaultRowHeight":Ao=ei[1];break;case"ColInfo":{if(!ua.cellStyles)break;for(;ei.e>=ei.s;)Gs[ei.e--]={width:ei.w/256,level:ei.level||0,hidden:!!(ei.flags&1)},Hs||(Hs=!0,Wa(ei.w/256)),uo(Gs[ei.e+1])}break;case"Row":{var qa={};ei.level!=null&&(Ms[ei.r]=qa,qa.level=ei.level),ei.hidden&&(Ms[ei.r]=qa,qa.hidden=!0),ei.hpt&&(Ms[ei.r]=qa,qa.hpt=ei.hpt,qa.hpx=js(ei.hpt))}break;case"LeftMargin":case"RightMargin":case"TopMargin":case"BottomMargin":ne["!margins"]||bh(ne["!margins"]={}),ne["!margins"][Va.slice(0,-6).toLowerCase()]=ei;break;case"Selection":break;case"Setup":ne["!margins"]||bh(ne["!margins"]={}),ne["!margins"].header=ei.header,ne["!margins"].footer=ei.footer;break;case"Window2":ei.RTL&&(wa.Views[0].RTL=!0);break;case"Header":break;case"Footer":break;case"HCenter":break;case"VCenter":break;case"Pls":break;case"GCW":break;case"LHRecord":break;case"DBCell":break;case"EntExU2":break;case"SxView":break;case"Sxvd":break;case"SXVI":break;case"SXVDEx":break;case"SxIvd":break;case"SXString":break;case"Sync":break;case"Addin":break;case"SXDI":break;case"SXLI":break;case"SXEx":break;case"QsiSXTag":break;case"Feat":break;case"FeatHdr":case"FeatHdr11":break;case"Feature11":case"Feature12":case"List12":break;case"Country":Bi=ei;break;case"RecalcId":break;case"DxGCol":break;case"Fbi":case"Fbi2":case"GelFrame":break;case"Font":break;case"XFCRC":break;case"Style":break;case"StyleExt":break;case"Palette":$i=ei;break;case"Theme":xo=ei;break;case"ScenarioProtect":break;case"ObjProtect":break;case"CondFmt12":break;case"Table":break;case"TableStyles":break;case"TableStyle":break;case"TableStyleElement":break;case"SXStreamID":break;case"SXVS":break;case"DConRef":break;case"SXAddl":break;case"DConBin":break;case"DConName":break;case"SXPI":break;case"SxFormat":break;case"SxSelect":break;case"SxRule":break;case"SxFilt":break;case"SxItm":break;case"SxDXF":break;case"ScenMan":break;case"DCon":break;case"CellWatch":break;case"PrintRowCol":break;case"PrintGrid":break;case"PrintSize":break;case"XCT":break;case"CRN":break;case"Scl":break;case"SheetExt":break;case"SheetExtOptional":break;case"ObNoMacros":break;case"ObProj":break;case"CodeName":St?no.CodeName=ei||no.name:wa.WBProps.CodeName=ei||"ThisWorkbook";break;case"GUIDTypeLib":break;case"WOpt":break;case"PhoneticInfo":break;case"OleObjectSize":break;case"DXF":case"DXFN":case"DXFN12":case"DXFN12List":case"DXFN12NoCB":break;case"Dv":case"DVal":break;case"BRAI":case"Series":case"SeriesText":break;case"DConn":break;case"DbOrParamQry":break;case"DBQueryExt":break;case"OleDbConn":break;case"ExtString":break;case"IFmtRecord":break;case"CondFmt":case"CF":case"CF12":case"CFEx":break;case"Excel9File":break;case"Units":break;case"InterfaceHdr":case"Mms":case"InterfaceEnd":case"DSF":break;case"BuiltInFnGroupCount":break;case"Window1":case"HideObj":case"GridSet":case"Guts":case"UserBView":case"UserSViewBegin":case"UserSViewEnd":break;case"Pane":break;default:switch(Ii.n){case"Dat":case"Begin":case"End":case"StartBlock":case"EndBlock":case"Frame":case"Area":case"Axis":case"AxisLine":case"Tick":break;case"AxesUsed":case"CrtLayout12":case"CrtLayout12A":case"CrtLink":case"CrtLine":case"CrtMlFrt":case"CrtMlFrtContinue":break;case"LineFormat":case"AreaFormat":case"Chart":case"Chart3d":case"Chart3DBarShape":case"ChartFormat":case"ChartFrtInfo":break;case"PlotArea":case"PlotGrowth":break;case"SeriesList":case"SerParent":case"SerAuxTrend":break;case"DataFormat":case"SerToCrt":case"FontX":break;case"CatSerRange":case"AxcExt":case"SerFmt":break;case"ShtProps":break;case"DefaultText":case"Text":case"CatLab":break;case"DataLabExtContents":break;case"Legend":case"LegendException":break;case"Pie":case"Scatter":break;case"PieFormat":case"MarkerFormat":break;case"StartObject":case"EndObject":break;case"AlRuns":case"ObjectLink":break;case"SIIndex":break;case"AttachedLabel":case"YMult":break;case"Line":case"Bar":break;case"Surf":break;case"AxisParent":break;case"Pos":break;case"ValueRange":break;case"SXViewEx9":break;case"SXViewLink":break;case"PivotChartBits":break;case"SBaseRef":break;case"TextPropsStream":break;case"LnExt":break;case"MkrExt":break;case"CrtCoopt":break;case"Qsi":case"Qsif":case"Qsir":case"QsiSXTag":break;case"TxtQry":break;case"FilterMode":break;case"AutoFilter":case"AutoFilterInfo":break;case"AutoFilter12":break;case"DropDownObjIds":break;case"Sort":break;case"SortData":break;case"ShapePropsStream":break;case"MsoDrawing":case"MsoDrawingGroup":case"MsoDrawingSelection":break;case"WebPub":case"AutoWebPub":break;case"HeaderFooter":case"HFPicture":case"PLV":case"HorizontalPageBreaks":case"VerticalPageBreaks":break;case"Backup":case"CompressPictures":case"Compat12":break;case"Continue":case"ContinueFrt12":break;case"FrtFontList":case"FrtWrapper":break;default:switch(Ii.n){case"TabIdConf":case"Radar":case"RadarArea":case"DropBar":case"Intl":case"CoordList":case"SerAuxErrBar":break;case"BIFF2FONTCLR":case"BIFF2FMTCNT":case"BIFF2FONTXTRA":break;case"BIFF2XF":case"BIFF3XF":case"BIFF4XF":break;case"BIFF2XFINDEX":break;case"BIFF4FMTCNT":case"BIFF2ROW":case"BIFF2WINDOW2":break;case"SCENARIO":case"DConBin":case"PicF":case"DataLabExt":case"Lel":case"BopPop":case"BopPopCustom":case"RealTimeData":case"Name":break;case"LHNGraph":case"FnGroupName":case"AddMenu":case"LPr":break;case"ListObj":case"ListField":break;case"RRSort":break;case"BigName":break;case"ToolbarHdr":case"ToolbarEnd":break;case"DDEObjName":break;case"FRTArchId$":break;default:if(N.WTF)throw"Unrecognized Record "+Ii.n}}}}}else T.l+=pa}return L.SheetNames=Ge(Te).sort(function(eo,$o){return Number(eo)-Number($o)}).map(function(eo){return Te[eo].name}),N.bookSheets||(L.Sheets=Q),!L.SheetNames.length&&Pt["!ref"]?(L.SheetNames.push("Sheet1"),L.Sheets&&(L.Sheets.Sheet1=Pt)):L.Preamble=Pt,L.Sheets&&tn.forEach(function(eo,$o){L.Sheets[L.SheetNames[$o]]["!autofilter"]=eo}),L.Strings=vt,L.SSF=G.get_table(),ua.enc&&(L.Encryption=ua.enc),xo&&(L.Themes=xo),L.Metadata={},Bi!==void 0&&(L.Metadata.Country=Bi),Qo.names.length>0&&(wa.Names=Qo.names),L.Workbook=wa,L}var Hh={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function KA(T,N,L){var Q=ke.find(T,"!DocumentSummaryInformation");if(Q&&Q.size>0)try{var ne=Gl(Q,po,Hh.DSI);for(var Te in ne)N[Te]=ne[Te]}catch(St){if(L.WTF)throw St}var Ve=ke.find(T,"!SummaryInformation");if(Ve&&Ve.size>0)try{var je=Gl(Ve,Ha,Hh.SI);for(var vt in je)N[vt]==null&&(N[vt]=je[vt])}catch(St){if(L.WTF)throw St}N.HeadingPairs&&N.TitlesOfParts&&(ml(N.HeadingPairs,N.TitlesOfParts,N,L),delete N.HeadingPairs,delete N.TitlesOfParts)}function WA(T,N){var L=[],Q=[],ne=[],Te=0,Ve;if(T.Props)for(Ve=Ge(T.Props),Te=0;Te-1)continue;if(ne[Te][1]==null)continue;je.push(ne[Te])}Q.length&&ke.utils.cfb_add(N,"/SummaryInformation",Wc(Q,Hh.SI,ao,Ha)),(L.length||je.length)&&ke.utils.cfb_add(N,"/DocumentSummaryInformation",Wc(L,Hh.DSI,Oa,po,je.length?je:null,Hh.UDI))}function qh(T,N){N||(N={}),Df(N),h(),N.codepage&&u(N.codepage);var L,Q;if(T.FullPaths){if(ke.find(T,"/encryption"))throw new Error("File is password-protected");L=ke.find(T,"!CompObj"),Q=ke.find(T,"/Workbook")||ke.find(T,"/Book")}else{switch(N.type){case"base64":T=B(C.decode(T));break;case"binary":T=B(T);break;case"buffer":break;case"array":Array.isArray(T)||(T=Array.prototype.slice.call(T));break}Cn(T,0),Q={content:T}}var ne,Te;if(L&&jA(L),N.bookProps&&!N.bookSheets)ne={};else{var Ve=E?"buffer":"array";if(Q&&Q.content)ne=zA(Q.content,N);else if((Te=ke.find(T,"PerfectOffice_MAIN"))&&Te.content)ne=ou.to_workbook(Te.content,(N.type=Ve,N));else if((Te=ke.find(T,"NativeContent_MAIN"))&&Te.content)ne=ou.to_workbook(Te.content,(N.type=Ve,N));else throw(Te=ke.find(T,"MN0"))&&Te.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");N.bookVBA&&T.FullPaths&&ke.find(T,"/_VBA_PROJECT_CUR/VBA/dir")&&(ne.vbaraw=sn(T))}var je={};return T.FullPaths&&KA(T,je,N),ne.Props=ne.Custprops=je,N.bookFiles&&(ne.cfb=T),ne}function VA(T,N){var L=N||{},Q=ke.utils.cfb_new({root:"R"}),ne="/Workbook";switch(L.bookType||"xls"){case"xls":L.bookType="biff8";case"xla":L.bookType||(L.bookType="xla");case"biff8":ne="/Workbook",L.biff=8;break;case"biff5":ne="/Book",L.biff=5;break;default:throw new Error("invalid type "+L.bookType+" for XLS CFB")}return ke.utils.cfb_add(Q,ne,np(T,L)),L.biff==8&&(T.Props||T.Custprops)&&WA(T,Q),L.biff==8&&T.vbaraw&&wn(Q,ke.read(T.vbaraw,{type:typeof T.vbaraw=="string"?"binary":"buffer"})),Q}var Oh={0:{n:"BrtRowHdr",f:f0},1:{n:"BrtCellBlank",f:w0},2:{n:"BrtCellRk",f:j0},3:{n:"BrtCellError",f:O0},4:{n:"BrtCellBool",f:E0},5:{n:"BrtCellReal",f:k0},6:{n:"BrtCellSt",f:W0},7:{n:"BrtCellIsst",f:M0},8:{n:"BrtFmlaString",f:J0},9:{n:"BrtFmlaNum",f:Z0},10:{n:"BrtFmlaBool",f:Y0},11:{n:"BrtFmlaError",f:Q0},12:{n:"BrtShortBlank",f:S0},13:{n:"BrtShortRk",f:z0},14:{n:"BrtShortError",f:N0},15:{n:"BrtShortBool",f:T0},16:{n:"BrtShortReal",f:Xf},17:{n:"BrtShortSt",f:X0},18:{n:"BrtShortIsst",f:F0},19:{n:"BrtSSTItem",f:$r},20:{n:"BrtPCDIMissing"},21:{n:"BrtPCDINumber"},22:{n:"BrtPCDIBoolean"},23:{n:"BrtPCDIError"},24:{n:"BrtPCDIString"},25:{n:"BrtPCDIDatetime"},26:{n:"BrtPCDIIndex"},27:{n:"BrtPCDIAMissing"},28:{n:"BrtPCDIANumber"},29:{n:"BrtPCDIABoolean"},30:{n:"BrtPCDIAError"},31:{n:"BrtPCDIAString"},32:{n:"BrtPCDIADatetime"},33:{n:"BrtPCRRecord"},34:{n:"BrtPCRRecordDt"},35:{n:"BrtFRTBegin"},36:{n:"BrtFRTEnd"},37:{n:"BrtACBegin"},38:{n:"BrtACEnd"},39:{n:"BrtName",f:$g},40:{n:"BrtIndexRowBlock"},42:{n:"BrtIndexBlock"},43:{n:"BrtFont",f:eu},44:{n:"BrtFmt",f:su},45:{n:"BrtFill",f:Qc},46:{n:"BrtBorder",f:rc},47:{n:"BrtXF",f:zl},48:{n:"BrtStyle"},49:{n:"BrtCellMeta"},50:{n:"BrtValueMeta"},51:{n:"BrtMdb"},52:{n:"BrtBeginFmd"},53:{n:"BrtEndFmd"},54:{n:"BrtBeginMdx"},55:{n:"BrtEndMdx"},56:{n:"BrtBeginMdxTuple"},57:{n:"BrtEndMdxTuple"},58:{n:"BrtMdxMbrIstr"},59:{n:"BrtStr"},60:{n:"BrtColInfo",f:iu},62:{n:"BrtCellRString"},63:{n:"BrtCalcChainItem$",f:df},64:{n:"BrtDVal",f:fg},65:{n:"BrtSxvcellNum"},66:{n:"BrtSxvcellStr"},67:{n:"BrtSxvcellBool"},68:{n:"BrtSxvcellErr"},69:{n:"BrtSxvcellDate"},70:{n:"BrtSxvcellNil"},128:{n:"BrtFileVersion"},129:{n:"BrtBeginSheet"},130:{n:"BrtEndSheet"},131:{n:"BrtBeginBook",f:ki,p:0},132:{n:"BrtEndBook"},133:{n:"BrtBeginWsViews"},134:{n:"BrtEndWsViews"},135:{n:"BrtBeginBookViews"},136:{n:"BrtEndBookViews"},137:{n:"BrtBeginWsView",f:cg},138:{n:"BrtEndWsView"},139:{n:"BrtBeginCsViews"},140:{n:"BrtEndCsViews"},141:{n:"BrtBeginCsView"},142:{n:"BrtEndCsView"},143:{n:"BrtBeginBundleShs"},144:{n:"BrtEndBundleShs"},145:{n:"BrtBeginSheetData"},146:{n:"BrtEndSheetData"},147:{n:"BrtWsProp",f:b0},148:{n:"BrtWsDim",f:g0,p:16},151:{n:"BrtPane",f:ng},152:{n:"BrtSel"},153:{n:"BrtWbProp",f:Qg},154:{n:"BrtWbFactoid"},155:{n:"BrtFileRecover"},156:{n:"BrtBundleSh",f:Gg},157:{n:"BrtCalcProp"},158:{n:"BrtBookView"},159:{n:"BrtBeginSst",f:se},160:{n:"BrtEndSst"},161:{n:"BrtBeginAFilter",f:xa},162:{n:"BrtEndAFilter"},163:{n:"BrtBeginFilterColumn"},164:{n:"BrtEndFilterColumn"},165:{n:"BrtBeginFilters"},166:{n:"BrtEndFilters"},167:{n:"BrtFilter"},168:{n:"BrtColorFilter"},169:{n:"BrtIconFilter"},170:{n:"BrtTop10Filter"},171:{n:"BrtDynamicFilter"},172:{n:"BrtBeginCustomFilters"},173:{n:"BrtEndCustomFilters"},174:{n:"BrtCustomFilter"},175:{n:"BrtAFilterDateGroupItem"},176:{n:"BrtMergeCell",f:$0},177:{n:"BrtBeginMergeCells"},178:{n:"BrtEndMergeCells"},179:{n:"BrtBeginPivotCacheDef"},180:{n:"BrtEndPivotCacheDef"},181:{n:"BrtBeginPCDFields"},182:{n:"BrtEndPCDFields"},183:{n:"BrtBeginPCDField"},184:{n:"BrtEndPCDField"},185:{n:"BrtBeginPCDSource"},186:{n:"BrtEndPCDSource"},187:{n:"BrtBeginPCDSRange"},188:{n:"BrtEndPCDSRange"},189:{n:"BrtBeginPCDFAtbl"},190:{n:"BrtEndPCDFAtbl"},191:{n:"BrtBeginPCDIRun"},192:{n:"BrtEndPCDIRun"},193:{n:"BrtBeginPivotCacheRecords"},194:{n:"BrtEndPivotCacheRecords"},195:{n:"BrtBeginPCDHierarchies"},196:{n:"BrtEndPCDHierarchies"},197:{n:"BrtBeginPCDHierarchy"},198:{n:"BrtEndPCDHierarchy"},199:{n:"BrtBeginPCDHFieldsUsage"},200:{n:"BrtEndPCDHFieldsUsage"},201:{n:"BrtBeginExtConnection"},202:{n:"BrtEndExtConnection"},203:{n:"BrtBeginECDbProps"},204:{n:"BrtEndECDbProps"},205:{n:"BrtBeginECOlapProps"},206:{n:"BrtEndECOlapProps"},207:{n:"BrtBeginPCDSConsol"},208:{n:"BrtEndPCDSConsol"},209:{n:"BrtBeginPCDSCPages"},210:{n:"BrtEndPCDSCPages"},211:{n:"BrtBeginPCDSCPage"},212:{n:"BrtEndPCDSCPage"},213:{n:"BrtBeginPCDSCPItem"},214:{n:"BrtEndPCDSCPItem"},215:{n:"BrtBeginPCDSCSets"},216:{n:"BrtEndPCDSCSets"},217:{n:"BrtBeginPCDSCSet"},218:{n:"BrtEndPCDSCSet"},219:{n:"BrtBeginPCDFGroup"},220:{n:"BrtEndPCDFGroup"},221:{n:"BrtBeginPCDFGItems"},222:{n:"BrtEndPCDFGItems"},223:{n:"BrtBeginPCDFGRange"},224:{n:"BrtEndPCDFGRange"},225:{n:"BrtBeginPCDFGDiscrete"},226:{n:"BrtEndPCDFGDiscrete"},227:{n:"BrtBeginPCDSDTupleCache"},228:{n:"BrtEndPCDSDTupleCache"},229:{n:"BrtBeginPCDSDTCEntries"},230:{n:"BrtEndPCDSDTCEntries"},231:{n:"BrtBeginPCDSDTCEMembers"},232:{n:"BrtEndPCDSDTCEMembers"},233:{n:"BrtBeginPCDSDTCEMember"},234:{n:"BrtEndPCDSDTCEMember"},235:{n:"BrtBeginPCDSDTCQueries"},236:{n:"BrtEndPCDSDTCQueries"},237:{n:"BrtBeginPCDSDTCQuery"},238:{n:"BrtEndPCDSDTCQuery"},239:{n:"BrtBeginPCDSDTCSets"},240:{n:"BrtEndPCDSDTCSets"},241:{n:"BrtBeginPCDSDTCSet"},242:{n:"BrtEndPCDSDTCSet"},243:{n:"BrtBeginPCDCalcItems"},244:{n:"BrtEndPCDCalcItems"},245:{n:"BrtBeginPCDCalcItem"},246:{n:"BrtEndPCDCalcItem"},247:{n:"BrtBeginPRule"},248:{n:"BrtEndPRule"},249:{n:"BrtBeginPRFilters"},250:{n:"BrtEndPRFilters"},251:{n:"BrtBeginPRFilter"},252:{n:"BrtEndPRFilter"},253:{n:"BrtBeginPNames"},254:{n:"BrtEndPNames"},255:{n:"BrtBeginPName"},256:{n:"BrtEndPName"},257:{n:"BrtBeginPNPairs"},258:{n:"BrtEndPNPairs"},259:{n:"BrtBeginPNPair"},260:{n:"BrtEndPNPair"},261:{n:"BrtBeginECWebProps"},262:{n:"BrtEndECWebProps"},263:{n:"BrtBeginEcWpTables"},264:{n:"BrtEndECWPTables"},265:{n:"BrtBeginECParams"},266:{n:"BrtEndECParams"},267:{n:"BrtBeginECParam"},268:{n:"BrtEndECParam"},269:{n:"BrtBeginPCDKPIs"},270:{n:"BrtEndPCDKPIs"},271:{n:"BrtBeginPCDKPI"},272:{n:"BrtEndPCDKPI"},273:{n:"BrtBeginDims"},274:{n:"BrtEndDims"},275:{n:"BrtBeginDim"},276:{n:"BrtEndDim"},277:{n:"BrtIndexPartEnd"},278:{n:"BrtBeginStyleSheet"},279:{n:"BrtEndStyleSheet"},280:{n:"BrtBeginSXView"},281:{n:"BrtEndSXVI"},282:{n:"BrtBeginSXVI"},283:{n:"BrtBeginSXVIs"},284:{n:"BrtEndSXVIs"},285:{n:"BrtBeginSXVD"},286:{n:"BrtEndSXVD"},287:{n:"BrtBeginSXVDs"},288:{n:"BrtEndSXVDs"},289:{n:"BrtBeginSXPI"},290:{n:"BrtEndSXPI"},291:{n:"BrtBeginSXPIs"},292:{n:"BrtEndSXPIs"},293:{n:"BrtBeginSXDI"},294:{n:"BrtEndSXDI"},295:{n:"BrtBeginSXDIs"},296:{n:"BrtEndSXDIs"},297:{n:"BrtBeginSXLI"},298:{n:"BrtEndSXLI"},299:{n:"BrtBeginSXLIRws"},300:{n:"BrtEndSXLIRws"},301:{n:"BrtBeginSXLICols"},302:{n:"BrtEndSXLICols"},303:{n:"BrtBeginSXFormat"},304:{n:"BrtEndSXFormat"},305:{n:"BrtBeginSXFormats"},306:{n:"BrtEndSxFormats"},307:{n:"BrtBeginSxSelect"},308:{n:"BrtEndSxSelect"},309:{n:"BrtBeginISXVDRws"},310:{n:"BrtEndISXVDRws"},311:{n:"BrtBeginISXVDCols"},312:{n:"BrtEndISXVDCols"},313:{n:"BrtEndSXLocation"},314:{n:"BrtBeginSXLocation"},315:{n:"BrtEndSXView"},316:{n:"BrtBeginSXTHs"},317:{n:"BrtEndSXTHs"},318:{n:"BrtBeginSXTH"},319:{n:"BrtEndSXTH"},320:{n:"BrtBeginISXTHRws"},321:{n:"BrtEndISXTHRws"},322:{n:"BrtBeginISXTHCols"},323:{n:"BrtEndISXTHCols"},324:{n:"BrtBeginSXTDMPS"},325:{n:"BrtEndSXTDMPs"},326:{n:"BrtBeginSXTDMP"},327:{n:"BrtEndSXTDMP"},328:{n:"BrtBeginSXTHItems"},329:{n:"BrtEndSXTHItems"},330:{n:"BrtBeginSXTHItem"},331:{n:"BrtEndSXTHItem"},332:{n:"BrtBeginMetadata"},333:{n:"BrtEndMetadata"},334:{n:"BrtBeginEsmdtinfo"},335:{n:"BrtMdtinfo"},336:{n:"BrtEndEsmdtinfo"},337:{n:"BrtBeginEsmdb"},338:{n:"BrtEndEsmdb"},339:{n:"BrtBeginEsfmd"},340:{n:"BrtEndEsfmd"},341:{n:"BrtBeginSingleCells"},342:{n:"BrtEndSingleCells"},343:{n:"BrtBeginList"},344:{n:"BrtEndList"},345:{n:"BrtBeginListCols"},346:{n:"BrtEndListCols"},347:{n:"BrtBeginListCol"},348:{n:"BrtEndListCol"},349:{n:"BrtBeginListXmlCPr"},350:{n:"BrtEndListXmlCPr"},351:{n:"BrtListCCFmla"},352:{n:"BrtListTrFmla"},353:{n:"BrtBeginExternals"},354:{n:"BrtEndExternals"},355:{n:"BrtSupBookSrc",f:ca},357:{n:"BrtSupSelf"},358:{n:"BrtSupSame"},359:{n:"BrtSupTabs"},360:{n:"BrtBeginSupBook"},361:{n:"BrtPlaceholderName"},362:{n:"BrtExternSheet",f:$c},363:{n:"BrtExternTableStart"},364:{n:"BrtExternTableEnd"},366:{n:"BrtExternRowHdr"},367:{n:"BrtExternCellBlank"},368:{n:"BrtExternCellReal"},369:{n:"BrtExternCellBool"},370:{n:"BrtExternCellError"},371:{n:"BrtExternCellString"},372:{n:"BrtBeginEsmdx"},373:{n:"BrtEndEsmdx"},374:{n:"BrtBeginMdxSet"},375:{n:"BrtEndMdxSet"},376:{n:"BrtBeginMdxMbrProp"},377:{n:"BrtEndMdxMbrProp"},378:{n:"BrtBeginMdxKPI"},379:{n:"BrtEndMdxKPI"},380:{n:"BrtBeginEsstr"},381:{n:"BrtEndEsstr"},382:{n:"BrtBeginPRFItem"},383:{n:"BrtEndPRFItem"},384:{n:"BrtBeginPivotCacheIDs"},385:{n:"BrtEndPivotCacheIDs"},386:{n:"BrtBeginPivotCacheID"},387:{n:"BrtEndPivotCacheID"},388:{n:"BrtBeginISXVIs"},389:{n:"BrtEndISXVIs"},390:{n:"BrtBeginColInfos"},391:{n:"BrtEndColInfos"},392:{n:"BrtBeginRwBrk"},393:{n:"BrtEndRwBrk"},394:{n:"BrtBeginColBrk"},395:{n:"BrtEndColBrk"},396:{n:"BrtBrk"},397:{n:"BrtUserBookView"},398:{n:"BrtInfo"},399:{n:"BrtCUsr"},400:{n:"BrtUsr"},401:{n:"BrtBeginUsers"},403:{n:"BrtEOF"},404:{n:"BrtUCR"},405:{n:"BrtRRInsDel"},406:{n:"BrtRREndInsDel"},407:{n:"BrtRRMove"},408:{n:"BrtRREndMove"},409:{n:"BrtRRChgCell"},410:{n:"BrtRREndChgCell"},411:{n:"BrtRRHeader"},412:{n:"BrtRRUserView"},413:{n:"BrtRRRenSheet"},414:{n:"BrtRRInsertSh"},415:{n:"BrtRRDefName"},416:{n:"BrtRRNote"},417:{n:"BrtRRConflict"},418:{n:"BrtRRTQSIF"},419:{n:"BrtRRFormat"},420:{n:"BrtRREndFormat"},421:{n:"BrtRRAutoFmt"},422:{n:"BrtBeginUserShViews"},423:{n:"BrtBeginUserShView"},424:{n:"BrtEndUserShView"},425:{n:"BrtEndUserShViews"},426:{n:"BrtArrFmla",f:ig},427:{n:"BrtShrFmla",f:ag},428:{n:"BrtTable"},429:{n:"BrtBeginExtConnections"},430:{n:"BrtEndExtConnections"},431:{n:"BrtBeginPCDCalcMems"},432:{n:"BrtEndPCDCalcMems"},433:{n:"BrtBeginPCDCalcMem"},434:{n:"BrtEndPCDCalcMem"},435:{n:"BrtBeginPCDHGLevels"},436:{n:"BrtEndPCDHGLevels"},437:{n:"BrtBeginPCDHGLevel"},438:{n:"BrtEndPCDHGLevel"},439:{n:"BrtBeginPCDHGLGroups"},440:{n:"BrtEndPCDHGLGroups"},441:{n:"BrtBeginPCDHGLGroup"},442:{n:"BrtEndPCDHGLGroup"},443:{n:"BrtBeginPCDHGLGMembers"},444:{n:"BrtEndPCDHGLGMembers"},445:{n:"BrtBeginPCDHGLGMember"},446:{n:"BrtEndPCDHGLGMember"},447:{n:"BrtBeginQSI"},448:{n:"BrtEndQSI"},449:{n:"BrtBeginQSIR"},450:{n:"BrtEndQSIR"},451:{n:"BrtBeginDeletedNames"},452:{n:"BrtEndDeletedNames"},453:{n:"BrtBeginDeletedName"},454:{n:"BrtEndDeletedName"},455:{n:"BrtBeginQSIFs"},456:{n:"BrtEndQSIFs"},457:{n:"BrtBeginQSIF"},458:{n:"BrtEndQSIF"},459:{n:"BrtBeginAutoSortScope"},460:{n:"BrtEndAutoSortScope"},461:{n:"BrtBeginConditionalFormatting"},462:{n:"BrtEndConditionalFormatting"},463:{n:"BrtBeginCFRule"},464:{n:"BrtEndCFRule"},465:{n:"BrtBeginIconSet"},466:{n:"BrtEndIconSet"},467:{n:"BrtBeginDatabar"},468:{n:"BrtEndDatabar"},469:{n:"BrtBeginColorScale"},470:{n:"BrtEndColorScale"},471:{n:"BrtCFVO"},472:{n:"BrtExternValueMeta"},473:{n:"BrtBeginColorPalette"},474:{n:"BrtEndColorPalette"},475:{n:"BrtIndexedColor"},476:{n:"BrtMargins",f:sg},477:{n:"BrtPrintOptions"},478:{n:"BrtPageSetup"},479:{n:"BrtBeginHeaderFooter"},480:{n:"BrtEndHeaderFooter"},481:{n:"BrtBeginSXCrtFormat"},482:{n:"BrtEndSXCrtFormat"},483:{n:"BrtBeginSXCrtFormats"},484:{n:"BrtEndSXCrtFormats"},485:{n:"BrtWsFmtInfo",f:v0},486:{n:"BrtBeginMgs"},487:{n:"BrtEndMGs"},488:{n:"BrtBeginMGMaps"},489:{n:"BrtEndMGMaps"},490:{n:"BrtBeginMG"},491:{n:"BrtEndMG"},492:{n:"BrtBeginMap"},493:{n:"BrtEndMap"},494:{n:"BrtHLink",f:tg},495:{n:"BrtBeginDCon"},496:{n:"BrtEndDCon"},497:{n:"BrtBeginDRefs"},498:{n:"BrtEndDRefs"},499:{n:"BrtDRef"},500:{n:"BrtBeginScenMan"},501:{n:"BrtEndScenMan"},502:{n:"BrtBeginSct"},503:{n:"BrtEndSct"},504:{n:"BrtSlc"},505:{n:"BrtBeginDXFs"},506:{n:"BrtEndDXFs"},507:{n:"BrtDXF"},508:{n:"BrtBeginTableStyles"},509:{n:"BrtEndTableStyles"},510:{n:"BrtBeginTableStyle"},511:{n:"BrtEndTableStyle"},512:{n:"BrtTableStyleElement"},513:{n:"BrtTableStyleClient"},514:{n:"BrtBeginVolDeps"},515:{n:"BrtEndVolDeps"},516:{n:"BrtBeginVolType"},517:{n:"BrtEndVolType"},518:{n:"BrtBeginVolMain"},519:{n:"BrtEndVolMain"},520:{n:"BrtBeginVolTopic"},521:{n:"BrtEndVolTopic"},522:{n:"BrtVolSubtopic"},523:{n:"BrtVolRef"},524:{n:"BrtVolNum"},525:{n:"BrtVolErr"},526:{n:"BrtVolStr"},527:{n:"BrtVolBool"},528:{n:"BrtBeginCalcChain$"},529:{n:"BrtEndCalcChain$"},530:{n:"BrtBeginSortState"},531:{n:"BrtEndSortState"},532:{n:"BrtBeginSortCond"},533:{n:"BrtEndSortCond"},534:{n:"BrtBookProtection"},535:{n:"BrtSheetProtection"},536:{n:"BrtRangeProtection"},537:{n:"BrtPhoneticInfo"},538:{n:"BrtBeginECTxtWiz"},539:{n:"BrtEndECTxtWiz"},540:{n:"BrtBeginECTWFldInfoLst"},541:{n:"BrtEndECTWFldInfoLst"},542:{n:"BrtBeginECTwFldInfo"},548:{n:"BrtFileSharing"},549:{n:"BrtOleSize"},550:{n:"BrtDrawing",f:ca},551:{n:"BrtLegacyDrawing"},552:{n:"BrtLegacyDrawingHF"},553:{n:"BrtWebOpt"},554:{n:"BrtBeginWebPubItems"},555:{n:"BrtEndWebPubItems"},556:{n:"BrtBeginWebPubItem"},557:{n:"BrtEndWebPubItem"},558:{n:"BrtBeginSXCondFmt"},559:{n:"BrtEndSXCondFmt"},560:{n:"BrtBeginSXCondFmts"},561:{n:"BrtEndSXCondFmts"},562:{n:"BrtBkHim"},564:{n:"BrtColor"},565:{n:"BrtBeginIndexedColors"},566:{n:"BrtEndIndexedColors"},569:{n:"BrtBeginMRUColors"},570:{n:"BrtEndMRUColors"},572:{n:"BrtMRUColor"},573:{n:"BrtBeginDVals"},574:{n:"BrtEndDVals"},577:{n:"BrtSupNameStart"},578:{n:"BrtSupNameValueStart"},579:{n:"BrtSupNameValueEnd"},580:{n:"BrtSupNameNum"},581:{n:"BrtSupNameErr"},582:{n:"BrtSupNameSt"},583:{n:"BrtSupNameNil"},584:{n:"BrtSupNameBool"},585:{n:"BrtSupNameFmla"},586:{n:"BrtSupNameBits"},587:{n:"BrtSupNameEnd"},588:{n:"BrtEndSupBook"},589:{n:"BrtCellSmartTagProperty"},590:{n:"BrtBeginCellSmartTag"},591:{n:"BrtEndCellSmartTag"},592:{n:"BrtBeginCellSmartTags"},593:{n:"BrtEndCellSmartTags"},594:{n:"BrtBeginSmartTags"},595:{n:"BrtEndSmartTags"},596:{n:"BrtSmartTagType"},597:{n:"BrtBeginSmartTagTypes"},598:{n:"BrtEndSmartTagTypes"},599:{n:"BrtBeginSXFilters"},600:{n:"BrtEndSXFilters"},601:{n:"BrtBeginSXFILTER"},602:{n:"BrtEndSXFilter"},603:{n:"BrtBeginFills"},604:{n:"BrtEndFills"},605:{n:"BrtBeginCellWatches"},606:{n:"BrtEndCellWatches"},607:{n:"BrtCellWatch"},608:{n:"BrtBeginCRErrs"},609:{n:"BrtEndCRErrs"},610:{n:"BrtCrashRecErr"},611:{n:"BrtBeginFonts"},612:{n:"BrtEndFonts"},613:{n:"BrtBeginBorders"},614:{n:"BrtEndBorders"},615:{n:"BrtBeginFmts"},616:{n:"BrtEndFmts"},617:{n:"BrtBeginCellXFs"},618:{n:"BrtEndCellXFs"},619:{n:"BrtBeginStyles"},620:{n:"BrtEndStyles"},625:{n:"BrtBigName"},626:{n:"BrtBeginCellStyleXFs"},627:{n:"BrtEndCellStyleXFs"},628:{n:"BrtBeginComments"},629:{n:"BrtEndComments"},630:{n:"BrtBeginCommentAuthors"},631:{n:"BrtEndCommentAuthors"},632:{n:"BrtCommentAuthor",f:Fe},633:{n:"BrtBeginCommentList"},634:{n:"BrtEndCommentList"},635:{n:"BrtBeginComment",f:xt},636:{n:"BrtEndComment"},637:{n:"BrtCommentText",f:On},638:{n:"BrtBeginOleObjects"},639:{n:"BrtOleObject"},640:{n:"BrtEndOleObjects"},641:{n:"BrtBeginSxrules"},642:{n:"BrtEndSxRules"},643:{n:"BrtBeginActiveXControls"},644:{n:"BrtActiveX"},645:{n:"BrtEndActiveXControls"},646:{n:"BrtBeginPCDSDTCEMembersSortBy"},648:{n:"BrtBeginCellIgnoreECs"},649:{n:"BrtCellIgnoreEC"},650:{n:"BrtEndCellIgnoreECs"},651:{n:"BrtCsProp",f:Mg},652:{n:"BrtCsPageSetup"},653:{n:"BrtBeginUserCsViews"},654:{n:"BrtEndUserCsViews"},655:{n:"BrtBeginUserCsView"},656:{n:"BrtEndUserCsView"},657:{n:"BrtBeginPcdSFCIEntries"},658:{n:"BrtEndPCDSFCIEntries"},659:{n:"BrtPCDSFCIEntry"},660:{n:"BrtBeginListParts"},661:{n:"BrtListPart"},662:{n:"BrtEndListParts"},663:{n:"BrtSheetCalcProp"},664:{n:"BrtBeginFnGroup"},665:{n:"BrtFnGroup"},666:{n:"BrtEndFnGroup"},667:{n:"BrtSupAddin"},668:{n:"BrtSXTDMPOrder"},669:{n:"BrtCsProtection"},671:{n:"BrtBeginWsSortMap"},672:{n:"BrtEndWsSortMap"},673:{n:"BrtBeginRRSort"},674:{n:"BrtEndRRSort"},675:{n:"BrtRRSortItem"},676:{n:"BrtFileSharingIso"},677:{n:"BrtBookProtectionIso"},678:{n:"BrtSheetProtectionIso"},679:{n:"BrtCsProtectionIso"},680:{n:"BrtRangeProtectionIso"},681:{n:"BrtDValList"},1024:{n:"BrtRwDescent"},1025:{n:"BrtKnownFonts"},1026:{n:"BrtBeginSXTupleSet"},1027:{n:"BrtEndSXTupleSet"},1028:{n:"BrtBeginSXTupleSetHeader"},1029:{n:"BrtEndSXTupleSetHeader"},1030:{n:"BrtSXTupleSetHeaderItem"},1031:{n:"BrtBeginSXTupleSetData"},1032:{n:"BrtEndSXTupleSetData"},1033:{n:"BrtBeginSXTupleSetRow"},1034:{n:"BrtEndSXTupleSetRow"},1035:{n:"BrtSXTupleSetRowItem"},1036:{n:"BrtNameExt"},1037:{n:"BrtPCDH14"},1038:{n:"BrtBeginPCDCalcMem14"},1039:{n:"BrtEndPCDCalcMem14"},1040:{n:"BrtSXTH14"},1041:{n:"BrtBeginSparklineGroup"},1042:{n:"BrtEndSparklineGroup"},1043:{n:"BrtSparkline"},1044:{n:"BrtSXDI14"},1045:{n:"BrtWsFmtInfoEx14"},1046:{n:"BrtBeginConditionalFormatting14"},1047:{n:"BrtEndConditionalFormatting14"},1048:{n:"BrtBeginCFRule14"},1049:{n:"BrtEndCFRule14"},1050:{n:"BrtCFVO14"},1051:{n:"BrtBeginDatabar14"},1052:{n:"BrtBeginIconSet14"},1053:{n:"BrtDVal14",f:pg},1054:{n:"BrtBeginDVals14"},1055:{n:"BrtColor14"},1056:{n:"BrtBeginSparklines"},1057:{n:"BrtEndSparklines"},1058:{n:"BrtBeginSparklineGroups"},1059:{n:"BrtEndSparklineGroups"},1061:{n:"BrtSXVD14"},1062:{n:"BrtBeginSXView14"},1063:{n:"BrtEndSXView14"},1064:{n:"BrtBeginSXView16"},1065:{n:"BrtEndSXView16"},1066:{n:"BrtBeginPCD14"},1067:{n:"BrtEndPCD14"},1068:{n:"BrtBeginExtConn14"},1069:{n:"BrtEndExtConn14"},1070:{n:"BrtBeginSlicerCacheIDs"},1071:{n:"BrtEndSlicerCacheIDs"},1072:{n:"BrtBeginSlicerCacheID"},1073:{n:"BrtEndSlicerCacheID"},1075:{n:"BrtBeginSlicerCache"},1076:{n:"BrtEndSlicerCache"},1077:{n:"BrtBeginSlicerCacheDef"},1078:{n:"BrtEndSlicerCacheDef"},1079:{n:"BrtBeginSlicersEx"},1080:{n:"BrtEndSlicersEx"},1081:{n:"BrtBeginSlicerEx"},1082:{n:"BrtEndSlicerEx"},1083:{n:"BrtBeginSlicer"},1084:{n:"BrtEndSlicer"},1085:{n:"BrtSlicerCachePivotTables"},1086:{n:"BrtBeginSlicerCacheOlapImpl"},1087:{n:"BrtEndSlicerCacheOlapImpl"},1088:{n:"BrtBeginSlicerCacheLevelsData"},1089:{n:"BrtEndSlicerCacheLevelsData"},1090:{n:"BrtBeginSlicerCacheLevelData"},1091:{n:"BrtEndSlicerCacheLevelData"},1092:{n:"BrtBeginSlicerCacheSiRanges"},1093:{n:"BrtEndSlicerCacheSiRanges"},1094:{n:"BrtBeginSlicerCacheSiRange"},1095:{n:"BrtEndSlicerCacheSiRange"},1096:{n:"BrtSlicerCacheOlapItem"},1097:{n:"BrtBeginSlicerCacheSelections"},1098:{n:"BrtSlicerCacheSelection"},1099:{n:"BrtEndSlicerCacheSelections"},1100:{n:"BrtBeginSlicerCacheNative"},1101:{n:"BrtEndSlicerCacheNative"},1102:{n:"BrtSlicerCacheNativeItem"},1103:{n:"BrtRangeProtection14"},1104:{n:"BrtRangeProtectionIso14"},1105:{n:"BrtCellIgnoreEC14"},1111:{n:"BrtList14"},1112:{n:"BrtCFIcon"},1113:{n:"BrtBeginSlicerCachesPivotCacheIDs"},1114:{n:"BrtEndSlicerCachesPivotCacheIDs"},1115:{n:"BrtBeginSlicers"},1116:{n:"BrtEndSlicers"},1117:{n:"BrtWbProp14"},1118:{n:"BrtBeginSXEdit"},1119:{n:"BrtEndSXEdit"},1120:{n:"BrtBeginSXEdits"},1121:{n:"BrtEndSXEdits"},1122:{n:"BrtBeginSXChange"},1123:{n:"BrtEndSXChange"},1124:{n:"BrtBeginSXChanges"},1125:{n:"BrtEndSXChanges"},1126:{n:"BrtSXTupleItems"},1128:{n:"BrtBeginSlicerStyle"},1129:{n:"BrtEndSlicerStyle"},1130:{n:"BrtSlicerStyleElement"},1131:{n:"BrtBeginStyleSheetExt14"},1132:{n:"BrtEndStyleSheetExt14"},1133:{n:"BrtBeginSlicerCachesPivotCacheID"},1134:{n:"BrtEndSlicerCachesPivotCacheID"},1135:{n:"BrtBeginConditionalFormattings"},1136:{n:"BrtEndConditionalFormattings"},1137:{n:"BrtBeginPCDCalcMemExt"},1138:{n:"BrtEndPCDCalcMemExt"},1139:{n:"BrtBeginPCDCalcMemsExt"},1140:{n:"BrtEndPCDCalcMemsExt"},1141:{n:"BrtPCDField14"},1142:{n:"BrtBeginSlicerStyles"},1143:{n:"BrtEndSlicerStyles"},1144:{n:"BrtBeginSlicerStyleElements"},1145:{n:"BrtEndSlicerStyleElements"},1146:{n:"BrtCFRuleExt"},1147:{n:"BrtBeginSXCondFmt14"},1148:{n:"BrtEndSXCondFmt14"},1149:{n:"BrtBeginSXCondFmts14"},1150:{n:"BrtEndSXCondFmts14"},1152:{n:"BrtBeginSortCond14"},1153:{n:"BrtEndSortCond14"},1154:{n:"BrtEndDVals14"},1155:{n:"BrtEndIconSet14"},1156:{n:"BrtEndDatabar14"},1157:{n:"BrtBeginColorScale14"},1158:{n:"BrtEndColorScale14"},1159:{n:"BrtBeginSxrules14"},1160:{n:"BrtEndSxrules14"},1161:{n:"BrtBeginPRule14"},1162:{n:"BrtEndPRule14"},1163:{n:"BrtBeginPRFilters14"},1164:{n:"BrtEndPRFilters14"},1165:{n:"BrtBeginPRFilter14"},1166:{n:"BrtEndPRFilter14"},1167:{n:"BrtBeginPRFItem14"},1168:{n:"BrtEndPRFItem14"},1169:{n:"BrtBeginCellIgnoreECs14"},1170:{n:"BrtEndCellIgnoreECs14"},1171:{n:"BrtDxf14"},1172:{n:"BrtBeginDxF14s"},1173:{n:"BrtEndDxf14s"},1177:{n:"BrtFilter14"},1178:{n:"BrtBeginCustomFilters14"},1180:{n:"BrtCustomFilter14"},1181:{n:"BrtIconFilter14"},1182:{n:"BrtPivotCacheConnectionName"},2048:{n:"BrtBeginDecoupledPivotCacheIDs"},2049:{n:"BrtEndDecoupledPivotCacheIDs"},2050:{n:"BrtDecoupledPivotCacheID"},2051:{n:"BrtBeginPivotTableRefs"},2052:{n:"BrtEndPivotTableRefs"},2053:{n:"BrtPivotTableRef"},2054:{n:"BrtSlicerCacheBookPivotTables"},2055:{n:"BrtBeginSxvcells"},2056:{n:"BrtEndSxvcells"},2057:{n:"BrtBeginSxRow"},2058:{n:"BrtEndSxRow"},2060:{n:"BrtPcdCalcMem15"},2067:{n:"BrtQsi15"},2068:{n:"BrtBeginWebExtensions"},2069:{n:"BrtEndWebExtensions"},2070:{n:"BrtWebExtension"},2071:{n:"BrtAbsPath15"},2072:{n:"BrtBeginPivotTableUISettings"},2073:{n:"BrtEndPivotTableUISettings"},2075:{n:"BrtTableSlicerCacheIDs"},2076:{n:"BrtTableSlicerCacheID"},2077:{n:"BrtBeginTableSlicerCache"},2078:{n:"BrtEndTableSlicerCache"},2079:{n:"BrtSxFilter15"},2080:{n:"BrtBeginTimelineCachePivotCacheIDs"},2081:{n:"BrtEndTimelineCachePivotCacheIDs"},2082:{n:"BrtTimelineCachePivotCacheID"},2083:{n:"BrtBeginTimelineCacheIDs"},2084:{n:"BrtEndTimelineCacheIDs"},2085:{n:"BrtBeginTimelineCacheID"},2086:{n:"BrtEndTimelineCacheID"},2087:{n:"BrtBeginTimelinesEx"},2088:{n:"BrtEndTimelinesEx"},2089:{n:"BrtBeginTimelineEx"},2090:{n:"BrtEndTimelineEx"},2091:{n:"BrtWorkBookPr15"},2092:{n:"BrtPCDH15"},2093:{n:"BrtBeginTimelineStyle"},2094:{n:"BrtEndTimelineStyle"},2095:{n:"BrtTimelineStyleElement"},2096:{n:"BrtBeginTimelineStylesheetExt15"},2097:{n:"BrtEndTimelineStylesheetExt15"},2098:{n:"BrtBeginTimelineStyles"},2099:{n:"BrtEndTimelineStyles"},2100:{n:"BrtBeginTimelineStyleElements"},2101:{n:"BrtEndTimelineStyleElements"},2102:{n:"BrtDxf15"},2103:{n:"BrtBeginDxfs15"},2104:{n:"brtEndDxfs15"},2105:{n:"BrtSlicerCacheHideItemsWithNoData"},2106:{n:"BrtBeginItemUniqueNames"},2107:{n:"BrtEndItemUniqueNames"},2108:{n:"BrtItemUniqueName"},2109:{n:"BrtBeginExtConn15"},2110:{n:"BrtEndExtConn15"},2111:{n:"BrtBeginOledbPr15"},2112:{n:"BrtEndOledbPr15"},2113:{n:"BrtBeginDataFeedPr15"},2114:{n:"BrtEndDataFeedPr15"},2115:{n:"BrtTextPr15"},2116:{n:"BrtRangePr15"},2117:{n:"BrtDbCommand15"},2118:{n:"BrtBeginDbTables15"},2119:{n:"BrtEndDbTables15"},2120:{n:"BrtDbTable15"},2121:{n:"BrtBeginDataModel"},2122:{n:"BrtEndDataModel"},2123:{n:"BrtBeginModelTables"},2124:{n:"BrtEndModelTables"},2125:{n:"BrtModelTable"},2126:{n:"BrtBeginModelRelationships"},2127:{n:"BrtEndModelRelationships"},2128:{n:"BrtModelRelationship"},2129:{n:"BrtBeginECTxtWiz15"},2130:{n:"BrtEndECTxtWiz15"},2131:{n:"BrtBeginECTWFldInfoLst15"},2132:{n:"BrtEndECTWFldInfoLst15"},2133:{n:"BrtBeginECTWFldInfo15"},2134:{n:"BrtFieldListActiveItem"},2135:{n:"BrtPivotCacheIdVersion"},2136:{n:"BrtSXDI15"},2137:{n:"BrtBeginModelTimeGroupings"},2138:{n:"BrtEndModelTimeGroupings"},2139:{n:"BrtBeginModelTimeGrouping"},2140:{n:"BrtEndModelTimeGrouping"},2141:{n:"BrtModelTimeGroupingCalcCol"},3072:{n:"BrtUid"},3073:{n:"BrtRevisionPtr"},5095:{n:"BrtBeginCalcFeatures"},5096:{n:"BrtEndCalcFeatures"},5097:{n:"BrtCalcFeature"},65535:{n:""}},tp=ae(Oh,"n");tp.BrtFRTArchID$=16;var ef={6:{n:"Formula",f:Cf},10:{n:"EOF",f:Hl},12:{n:"CalcCount",f:Rt},13:{n:"CalcMode",f:Rt},14:{n:"CalcPrecision",f:Ts},15:{n:"CalcRefMode",f:Ts},16:{n:"CalcDelta",f:oa},17:{n:"CalcIter",f:Ts},18:{n:"Protect",f:Ts},19:{n:"Password",f:Rt},20:{n:"Header",f:Iu},21:{n:"Footer",f:Iu},23:{n:"ExternSheet",f:$c},24:{n:"Lbl",f:Vu},25:{n:"WinProtect",f:Ts},26:{n:"VerticalPageBreaks"},27:{n:"HorizontalPageBreaks"},28:{n:"Note",f:ru},29:{n:"Selection"},34:{n:"Date1904",f:Ts},35:{n:"ExternName",f:Ku},38:{n:"LeftMargin",f:oa},39:{n:"RightMargin",f:oa},40:{n:"TopMargin",f:oa},41:{n:"BottomMargin",f:oa},42:{n:"PrintRowCol",f:Ts},43:{n:"PrintGrid",f:Ts},47:{n:"FilePass",f:le},49:{n:"Font",f:cc},51:{n:"PrintSize",f:Rt},60:{n:"Continue"},61:{n:"Window1",f:es},64:{n:"Backup",f:Ts},65:{n:"Pane",f:tc},66:{n:"CodePage",f:Rt},77:{n:"Pls"},80:{n:"DCon"},81:{n:"DConRef"},82:{n:"DConName"},85:{n:"DefColWidth",f:Rt},89:{n:"XCT"},90:{n:"CRN"},91:{n:"FileSharing"},92:{n:"WriteAccess",f:lo},93:{n:"Obj",f:nd},94:{n:"Uncalced"},95:{n:"CalcSaveRecalc",f:Ts},96:{n:"Template"},97:{n:"Intl"},99:{n:"ObjProtect",f:Ts},125:{n:"ColInfo",f:iu},128:{n:"Guts",f:Rc},129:{n:"WsBool",f:Cc},130:{n:"GridSet",f:Rt},131:{n:"HCenter",f:Ts},132:{n:"VCenter",f:Ts},133:{n:"BoundSheet8",f:Ec},134:{n:"WriteProtect"},140:{n:"Country",f:ad},141:{n:"HideObj",f:Rt},144:{n:"Sort"},146:{n:"Palette",f:Zl},151:{n:"Sync"},152:{n:"LPr"},153:{n:"DxGCol"},154:{n:"FnGroupName"},155:{n:"FilterMode"},156:{n:"BuiltInFnGroupCount",f:Rt},157:{n:"AutoFilterInfo"},158:{n:"AutoFilter"},160:{n:"Scl",f:kd},161:{n:"Setup",f:Zu},174:{n:"ScenMan"},175:{n:"SCENARIO"},176:{n:"SxView"},177:{n:"Sxvd"},178:{n:"SXVI"},180:{n:"SxIvd"},181:{n:"SXLI"},182:{n:"SXPI"},184:{n:"DocRoute"},185:{n:"RecipName"},189:{n:"MulRk",f:Dd},190:{n:"MulBlank",f:md},193:{n:"Mms",f:Hl},197:{n:"SXDI"},198:{n:"SXDB"},199:{n:"SXFDB"},200:{n:"SXDBB"},201:{n:"SXNum"},202:{n:"SxBool",f:Ts},203:{n:"SxErr"},204:{n:"SXInt"},205:{n:"SXString"},206:{n:"SXDtr"},207:{n:"SxNil"},208:{n:"SXTbl"},209:{n:"SXTBRGIITM"},210:{n:"SxTbpg"},211:{n:"ObProj"},213:{n:"SXStreamID"},215:{n:"DBCell"},216:{n:"SXRng"},217:{n:"SxIsxoper"},218:{n:"BookBool",f:Rt},220:{n:"DbOrParamQry"},221:{n:"ScenarioProtect",f:Ts},222:{n:"OleObjectSize"},224:{n:"XF",f:Rd},225:{n:"InterfaceHdr",f:al},226:{n:"InterfaceEnd",f:Hl},227:{n:"SXVS"},229:{n:"MergeCells",f:Gu},233:{n:"BkHim"},235:{n:"MsoDrawingGroup"},236:{n:"MsoDrawing"},237:{n:"MsoDrawingSelection"},239:{n:"PhoneticInfo"},240:{n:"SxRule"},241:{n:"SXEx"},242:{n:"SxFilt"},244:{n:"SxDXF"},245:{n:"SxItm"},246:{n:"SxName"},247:{n:"SxSelect"},248:{n:"SXPair"},249:{n:"SxFmla"},251:{n:"SxFormat"},252:{n:"SST",f:Ac},253:{n:"LabelSst",f:tl},255:{n:"ExtSST",f:vc},256:{n:"SXVDEx"},259:{n:"SXFormula"},290:{n:"SXDBEx"},311:{n:"RRDInsDel"},312:{n:"RRDHead"},315:{n:"RRDChgCell"},317:{n:"RRTabId",f:En},318:{n:"RRDRenSheet"},319:{n:"RRSort"},320:{n:"RRDMove"},330:{n:"RRFormat"},331:{n:"RRAutoFmt"},333:{n:"RRInsertSh"},334:{n:"RRDMoveBegin"},335:{n:"RRDMoveEnd"},336:{n:"RRDInsDelBegin"},337:{n:"RRDInsDelEnd"},338:{n:"RRDConflict"},339:{n:"RRDDefName"},340:{n:"RRDRstEtxp"},351:{n:"LRng"},352:{n:"UsesELFs",f:Ts},353:{n:"DSF",f:Hl},401:{n:"CUsr"},402:{n:"CbUsr"},403:{n:"UsrInfo"},404:{n:"UsrExcl"},405:{n:"FileLock"},406:{n:"RRDInfo"},407:{n:"BCUsrs"},408:{n:"UsrChk"},425:{n:"UserBView"},426:{n:"UserSViewBegin"},427:{n:"UserSViewEnd"},428:{n:"RRDUserView"},429:{n:"Qsi"},430:{n:"SupBook",f:yu},431:{n:"Prot4Rev",f:Ts},432:{n:"CondFmt"},433:{n:"CF"},434:{n:"DVal"},437:{n:"DConBin"},438:{n:"TxO",f:Ou},439:{n:"RefreshAll",f:Ts},440:{n:"HLink",f:gd},441:{n:"Lel"},442:{n:"CodeName",f:_t},443:{n:"SXFDBType"},444:{n:"Prot4RevPass",f:Rt},445:{n:"ObNoMacros"},446:{n:"Dv"},448:{n:"Excel9File",f:Hl},449:{n:"RecalcId",f:ms,r:2},450:{n:"EntExU2",f:Hl},512:{n:"Dimensions",f:Xc},513:{n:"Blank",f:bd},515:{n:"Number",f:zu},516:{n:"Label",f:Zs},517:{n:"BoolErr",f:Uc},519:{n:"String",f:Pd},520:{n:"Row",f:Lc},523:{n:"Index"},545:{n:"Array",f:nu},549:{n:"DefaultRowHeight",f:yo},566:{n:"Table"},574:{n:"Window2",f:Tl},638:{n:"RK",f:Tu},659:{n:"Style"},1048:{n:"BigName"},1054:{n:"Format",f:Ru},1084:{n:"ContinueBigName"},1212:{n:"ShrFmla",f:Xu},2048:{n:"HLinkTooltip",f:id},2049:{n:"WebPub"},2050:{n:"QsiSXTag"},2051:{n:"DBQueryExt"},2052:{n:"ExtString"},2053:{n:"TxtQry"},2054:{n:"Qsir"},2055:{n:"Qsif"},2056:{n:"RRDTQSIF"},2057:{n:"BOF",f:Jc},2058:{n:"OleDbConn"},2059:{n:"WOpt"},2060:{n:"SXViewEx"},2061:{n:"SXTH"},2062:{n:"SXPIEx"},2063:{n:"SXVDTEx"},2064:{n:"SXViewEx9"},2066:{n:"ContinueFrt"},2067:{n:"RealTimeData"},2128:{n:"ChartFrtInfo"},2129:{n:"FrtWrapper"},2130:{n:"StartBlock"},2131:{n:"EndBlock"},2132:{n:"StartObject"},2133:{n:"EndObject"},2134:{n:"CatLab"},2135:{n:"YMult"},2136:{n:"SXViewLink"},2137:{n:"PivotChartBits"},2138:{n:"FrtFontList"},2146:{n:"SheetExt"},2147:{n:"BookExt",r:12},2148:{n:"SXAddl"},2149:{n:"CrErr"},2150:{n:"HFPicture"},2151:{n:"FeatHdr",f:Hl},2152:{n:"Feat"},2154:{n:"DataLabExt"},2155:{n:"DataLabExtContents"},2156:{n:"CellWatch"},2161:{n:"FeatHdr11"},2162:{n:"Feature11"},2164:{n:"DropDownObjIds"},2165:{n:"ContinueFrt11"},2166:{n:"DConn"},2167:{n:"List12"},2168:{n:"Feature12"},2169:{n:"CondFmt12"},2170:{n:"CF12"},2171:{n:"CFEx"},2172:{n:"XFCRC",f:jc,r:12},2173:{n:"XFExt",f:cf,r:12},2174:{n:"AutoFilter12"},2175:{n:"ContinueFrt12"},2180:{n:"MDTInfo"},2181:{n:"MDXStr"},2182:{n:"MDXTuple"},2183:{n:"MDXSet"},2184:{n:"MDXProp"},2185:{n:"MDXKPI"},2186:{n:"MDB"},2187:{n:"PLV"},2188:{n:"Compat12",f:Ts,r:12},2189:{n:"DXF"},2190:{n:"TableStyles",r:12},2191:{n:"TableStyle"},2192:{n:"TableStyleElement"},2194:{n:"StyleExt"},2195:{n:"NamePublish"},2196:{n:"NameCmt",f:wu,r:12},2197:{n:"SortData"},2198:{n:"Theme",f:zd,r:12},2199:{n:"GUIDTypeLib"},2200:{n:"FnGrp12"},2201:{n:"NameFnGrp12"},2202:{n:"MTRSettings",f:Fd,r:12},2203:{n:"CompressPictures",f:Hl},2204:{n:"HeaderFooter"},2205:{n:"CrtLayout12"},2206:{n:"CrtMlFrt"},2207:{n:"CrtMlFrtContinue"},2211:{n:"ForceFullCalculation",f:_c},2212:{n:"ShapePropsStream"},2213:{n:"TextPropsStream"},2214:{n:"RichTextStream"},2215:{n:"CrtLayout12A"},4097:{n:"Units"},4098:{n:"Chart"},4099:{n:"Series"},4102:{n:"DataFormat"},4103:{n:"LineFormat"},4105:{n:"MarkerFormat"},4106:{n:"AreaFormat"},4107:{n:"PieFormat"},4108:{n:"AttachedLabel"},4109:{n:"SeriesText"},4116:{n:"ChartFormat"},4117:{n:"Legend"},4118:{n:"SeriesList"},4119:{n:"Bar"},4120:{n:"Line"},4121:{n:"Pie"},4122:{n:"Area"},4123:{n:"Scatter"},4124:{n:"CrtLine"},4125:{n:"Axis"},4126:{n:"Tick"},4127:{n:"ValueRange"},4128:{n:"CatSerRange"},4129:{n:"AxisLine"},4130:{n:"CrtLink"},4132:{n:"DefaultText"},4133:{n:"Text"},4134:{n:"FontX",f:Rt},4135:{n:"ObjectLink"},4146:{n:"Frame"},4147:{n:"Begin"},4148:{n:"End"},4149:{n:"PlotArea"},4154:{n:"Chart3d"},4156:{n:"PicF"},4157:{n:"DropBar"},4158:{n:"Radar"},4159:{n:"Surf"},4160:{n:"RadarArea"},4161:{n:"AxisParent"},4163:{n:"LegendException"},4164:{n:"ShtProps",f:pu},4165:{n:"SerToCrt"},4166:{n:"AxesUsed"},4168:{n:"SBaseRef"},4170:{n:"SerParent"},4171:{n:"SerAuxTrend"},4174:{n:"IFmtRecord"},4175:{n:"Pos"},4176:{n:"AlRuns"},4177:{n:"BRAI"},4187:{n:"SerAuxErrBar"},4188:{n:"ClrtClient",f:vd},4189:{n:"SerFmt"},4191:{n:"Chart3DBarShape"},4192:{n:"Fbi"},4193:{n:"BopPop"},4194:{n:"AxcExt"},4195:{n:"Dat"},4196:{n:"PlotGrowth"},4197:{n:"SIIndex"},4198:{n:"GelFrame"},4199:{n:"BopPopCustom"},4200:{n:"Fbi2"},0:{n:"Dimensions",f:Xc},1:{n:"BIFF2BLANK"},2:{n:"BIFF2INT",f:mu},3:{n:"BIFF2NUM",f:Ud},4:{n:"BIFF2STR",f:wd},5:{n:"BoolErr",f:Uc},7:{n:"String",f:Bu},8:{n:"BIFF2ROW"},9:{n:"BOF",f:Jc},11:{n:"Index"},22:{n:"ExternCount",f:Rt},30:{n:"BIFF2FORMAT",f:Hu},31:{n:"BIFF2FMTCNT"},32:{n:"BIFF2COLINFO"},33:{n:"Array",f:nu},36:{n:"COLWIDTH"},37:{n:"DefaultRowHeight",f:yo},50:{n:"BIFF2FONTXTRA",f:Nu},62:{n:"BIFF2WINDOW2"},52:{n:"DDEObjName"},67:{n:"BIFF2XF"},68:{n:"BIFF2XFINDEX",f:Rt},69:{n:"BIFF2FONTCLR"},86:{n:"BIFF4FMTCNT"},126:{n:"RK"},127:{n:"ImData",f:yd},135:{n:"Addin"},136:{n:"Edg"},137:{n:"Pub"},145:{n:"Sub"},148:{n:"LHRecord"},149:{n:"LHNGraph"},150:{n:"Sound"},169:{n:"CoordList"},171:{n:"GCW"},188:{n:"ShrFmla"},191:{n:"ToolbarHdr"},192:{n:"ToolbarEnd"},194:{n:"AddMenu"},195:{n:"DelMenu"},214:{n:"RString",f:xd},223:{n:"UDDesc"},234:{n:"TabIdConf"},354:{n:"XL5Modify"},421:{n:"FileSharing2"},518:{n:"Formula",f:Cf},521:{n:"BOF",f:Jc},536:{n:"Lbl",f:Vu},547:{n:"ExternName",f:Ku},561:{n:"Font"},579:{n:"BIFF3XF"},1030:{n:"Formula",f:Cf},1033:{n:"BOF",f:Jc},1091:{n:"BIFF4XF"},2157:{n:"FeatInfo"},2163:{n:"FeatInfo11"},2177:{n:"SXAddl12"},2240:{n:"AutoWebPub"},2241:{n:"ListObj"},2242:{n:"ListField"},2243:{n:"ListDV"},2244:{n:"ListCondFmt"},2245:{n:"ListCF"},2246:{n:"FMQry"},2247:{n:"FMSQry"},2248:{n:"PLV"},2249:{n:"LnExt"},2250:{n:"MkrExt"},2251:{n:"CrtCoopt"},2262:{n:"FRTArchId$",r:12},29282:{}},rp=ae(ef,"n");function jo(T,N,L,Q){var ne=typeof N=="number"?N:+N||+rp[N];if(isNaN(ne))return;var Te=Q||(L||[]).length||0,Ve=T.next(4);Ve.write_shift(2,ne),Ve.write_shift(2,Te),Te>0&&rn(L)&&T.push(L)}function XA(T,N,L,Q){var ne=Q||(L||[]).length||0;if(ne<=8224)return jo(T,N,L,ne);var Te=+N||+rp[N];if(isNaN(Te))return;for(var Ve=L.parts||[],je=0,vt=0,St=0;St+(Ve[je]||8224)<=8224;)St+=Ve[je]||8224,je++;var Pt=T.next(4);for(Pt.write_shift(2,Te),Pt.write_shift(2,St),T.push(L.slice(vt,vt+St)),vt+=St;vt=0&&ne<65536?jo(T,2,gu(L,Q,ne)):jo(T,3,od(L,Q,ne));return;case"b":case"e":jo(T,5,GA(L,Q,N.v,N.t));return;case"s":case"str":jo(T,4,YA(L,Q,(N.v||"").slice(0,255)));return}jo(T,1,zh(null,L,Q))}function ZA(T,N,L,Q){var ne=Array.isArray(N),Te=ta(N["!ref"]||"A1"),Ve,je="",vt=[];if(Te.e.c>255||Te.e.r>16383){if(Q.WTF)throw new Error("Range "+(N["!ref"]||"A1")+" exceeds format limit A1:IV16384");Te.e.c=Math.min(Te.e.c,255),Te.e.r=Math.min(Te.e.c,16383),Ve=ba(Te)}for(var St=Te.s.r;St<=Te.e.r;++St){je=_i(St);for(var Pt=Te.s.c;Pt<=Te.e.c;++Pt){St===Te.s.r&&(vt[Pt]=ya(Pt)),Ve=vt[Pt]+je;var pr=ne?(N[St]||[])[Pt]:N[Ve];if(!pr)continue;QA(T,pr,St,Pt,Q)}}}function JA(T,N){var L=N||{};_!=null&&L.dense==null&&(L.dense=_);for(var Q=Ei(),ne=0,Te=0;Te255||Rr.e.r>=ln){if(N.WTF)throw new Error("Range "+(Te["!ref"]||"A1")+" exceeds format limit A1:IV16384");Rr.e.c=Math.min(Rr.e.c,255),Rr.e.r=Math.min(Rr.e.c,ln-1)}jo(Q,2057,ec(L,16,N)),jo(Q,"CalcMode",qt(1)),jo(Q,"CalcCount",qt(100)),jo(Q,"CalcRefMode",Sl(!0)),jo(Q,"CalcIter",Sl(!1)),jo(Q,"CalcDelta",Ba(.001)),jo(Q,"CalcSaveRecalc",Sl(!0)),jo(Q,"PrintRowCol",Sl(!1)),jo(Q,"PrintGrid",Sl(!1)),jo(Q,"GridSet",qt(1)),jo(Q,"Guts",Fc([0,0])),jo(Q,"HCenter",Sl(!1)),jo(Q,"VCenter",Sl(!1)),St&&nv(Q,Te["!cols"],Te),jo(Q,512,bu(Rr,N)),St&&(Te["!links"]=[]);for(var kr=Rr.s.r;kr<=Rr.e.r;++kr){pr=_i(kr);for(var An=Rr.s.c;An<=Rr.e.c;++An){kr===Rr.s.r&&(_r[An]=ya(An)),Pt=_r[An]+pr;var Nn=vt?(Te[kr]||[])[An]:Te[Pt];if(!Nn)continue;iv(Q,Nn,kr,An,N),St&&Nn.l&&Te["!links"].push([Pt,Nn.l])}}var Rn=je.CodeName||je.name||ne;return St&&jo(Q,"Window2",Tc((Ve.Views||[])[0])),St&&(Te["!merges"]||[]).length&&jo(Q,"MergeCells",Bd(Te["!merges"])),St&&rv(Q,Te),jo(Q,"CodeName",Pr(Rn,N)),St&&ev(Q,Te),jo(Q,"EOF"),Q.end()}function ov(T,N,L){var Q=Ei(),ne=(T||{}).Workbook||{},Te=ne.Sheets||[],Ve=ne.WBProps||{},je=L.biff==8,vt=L.biff==5;if(jo(Q,2057,ec(T,5,L)),L.bookType=="xla"&&jo(Q,"Addin"),jo(Q,"InterfaceHdr",je?qt(1200):null),jo(Q,"Mms",Mc(2)),vt&&jo(Q,"ToolbarHdr"),vt&&jo(Q,"ToolbarEnd"),jo(Q,"InterfaceEnd"),jo(Q,"WriteAccess",Pc("SheetJS",L)),jo(Q,"CodePage",qt(je?1200:1252)),je&&jo(Q,"DSF",qt(0)),je&&jo(Q,"Excel9File"),jo(Q,"RRTabId",qc(T.SheetNames.length)),je&&T.vbaraw&&jo(Q,"ObProj"),je&&T.vbaraw){var St=Ve.CodeName||"ThisWorkbook";jo(Q,"CodeName",Pr(St,L))}jo(Q,"BuiltInFnGroupCount",qt(17)),jo(Q,"WinProtect",Sl(!1)),jo(Q,"Protect",Sl(!1)),jo(Q,"Password",qt(0)),je&&jo(Q,"Prot4Rev",Sl(!1)),je&&jo(Q,"Prot4RevPass",qt(0)),jo(Q,"Window1",Is(L)),jo(Q,"Backup",Sl(!1)),jo(Q,"HideObj",qt(0)),jo(Q,"Date1904",Sl(Ug(T)=="true")),jo(Q,"CalcPrecision",Sl(!0)),je&&jo(Q,"RefreshAll",Sl(!1)),jo(Q,"BookBool",qt(0)),$A(Q,T,L),qA(Q,T.SSF,L),tv(Q,L),je&&jo(Q,"UsesELFs",Sl(!1));var Pt=Q.end(),pr=Ei();je&&jo(pr,"Country",Yu()),je&&L.Strings&&XA(pr,"SST",Vc(L.Strings,L)),jo(pr,"EOF");var _r=pr.end(),Rr=Ei(),ln=0,kr=0;for(kr=0;kr255&&console.error("Worksheet '"+T.SheetNames[L]+"' extends beyond column IV (255). Data may be lost.")}var Te=N||{};switch(Te.biff||2){case 8:case 5:return sv(T,N);case 4:case 3:case 2:return JA(T,N)}throw new Error("invalid type "+Te.bookType+" for BIFF")}var wh=function(){function T(je,vt){var St=vt||{};_!=null&&St.dense==null&&(St.dense=_);var Pt=St.dense?[]:{};je=je.replace(//g,"");var pr=je.match(/");var _r=je.match(/<\/table/i),Rr=pr.index,ln=_r&&_r.index||je.length,kr=$t(je.slice(Rr,ln),/(:?]*>)/i,""),An=-1,Nn=0,Rn=0,un=0,Bi={s:{r:1e7,c:1e7},e:{r:0,c:0}},fa=[];for(Rr=0;Rr/i);for(ln=0;ln"))>-1;)Ma=Ma.slice(La+1);for(var ua=0;ua")));un=Os.colspan?+Os.colspan:1,((Rn=+Os.rowspan)>1||un>1)&&fa.push({s:{r:An,c:Nn},e:{r:An+(Rn||1)-1,c:Nn+un-1}});var is=Os.t||Os["data-t"]||"";if(!Ma.length){Nn+=un;continue}if(Ma=Ct(Ma),Bi.s.r>An&&(Bi.s.r=An),Bi.e.rNn&&(Bi.s.c=Nn),Bi.e.c[\s\S]*?<\/table>/gi);if(!St||St.length==0)throw new Error("Invalid HTML: could not find
");if(St.length==1)return pn(T(St[0],vt),vt);var Pt=Kh.book_new();return St.forEach(function(pr,_r){Kh.book_append_sheet(Pt,T(pr,vt),"Sheet"+(_r+1))}),Pt}function L(je,vt,St,Pt){for(var pr=je["!merges"]||[],_r=[],Rr=vt.s.c;Rr<=vt.e.c;++Rr){for(var ln=0,kr=0,An=0;AnSt||pr[An].s.c>Rr)continue;if(pr[An].e.r1&&(Bi.rowspan=ln),kr>1&&(Bi.colspan=kr),Pt.editable?un=''+un+"":Rn&&(Bi["data-t"]=Rn&&Rn.t||"z",Rn.v!=null&&(Bi["data-v"]=Rn.v),Rn.z!=null&&(Bi["data-z"]=Rn.z),Rn.l&&(Rn.l.Target||"#").charAt(0)!="#"&&(un=''+un+"")),Bi.id=(Pt.id||"sjs")+"-"+Nn,_r.push(dr("td",un,Bi))}var fa="";return fa+_r.join("")+""}function Q(je,vt,St){var Pt=[];return Pt.join("")+""}var ne='SheetJS Table Export',Te="";function Ve(je,vt){var St=vt||{},Pt=St.header!=null?St.header:ne,pr=St.footer!=null?St.footer:Te,_r=[Pt],Rr=ha(je["!ref"]);St.dense=Array.isArray(je),_r.push(Q(je,Rr,St));for(var ln=Rr.s.r;ln<=Rr.e.r;++ln)_r.push(L(je,Rr,ln,St));return _r.push("
"+pr),_r.join("")}return{to_workbook:N,to_sheet:T,_row:L,BEGIN:ne,END:Te,_preamble:Q,from_sheet:Ve}}();function ip(T,N,L){var Q=L||{};_!=null&&(Q.dense=_);var ne=0,Te=0;if(Q.origin!=null)if(typeof Q.origin=="number")ne=Q.origin;else{var Ve=typeof Q.origin=="string"?Pi(Q.origin):Q.origin;ne=Ve.r,Te=Ve.c}var je=N.getElementsByTagName("tr"),vt=Math.min(Q.sheetRows||1e7,je.length),St={s:{r:0,c:0},e:{r:ne,c:Te}};if(T["!ref"]){var Pt=ha(T["!ref"]);St.s.r=Math.min(St.s.r,Pt.s.r),St.s.c=Math.min(St.s.c,Pt.s.c),St.e.r=Math.max(St.e.r,Pt.e.r),St.e.c=Math.max(St.e.c,Pt.e.c),ne==-1&&(St.e.r=ne=Pt.e.r+1)}var pr=[],_r=0,Rr=T["!rows"]||(T["!rows"]=[]),ln=0,kr=0,An=0,Nn=0,Rn=0,un=0;for(T["!cols"]||(T["!cols"]=[]);ln1||un>1)&&pr.push({s:{r:kr+ne,c:Nn+Te},e:{r:kr+ne+(Rn||1)-1,c:Nn+Te+(un||1)-1}});var Ma={t:"s",v:wa},La=$i.getAttribute("data-t")||$i.getAttribute("t")||"";wa!=null&&(wa.length==0?Ma.t=La||"z":Q.raw||wa.trim().length==0||La=="s"||(wa==="TRUE"?Ma={t:"b",v:!0}:wa==="FALSE"?Ma={t:"b",v:!1}:isNaN(Ft(wa))?isNaN(Ut(wa).getDate())||(Ma={t:"d",v:pt(wa)},Q.cellDates||(Ma={t:"n",v:pe(Ma.v)}),Ma.z=Q.dateNF||G._table[14]):Ma={t:"n",v:Ft(wa)})),Ma.z===void 0&&no!=null&&(Ma.z=no);var ua="",xo=$i.getElementsByTagName("A");if(xo&&xo.length)for(var Os=0;Os=vt&&(T["!fullref"]=ba((St.e.r=je.length-ln+kr-1+ne,St))),T}function ap(T,N){var L=N||{},Q=L.dense?[]:{};return ip(Q,T,N)}function lv(T,N){return pn(ap(T,N),N)}function op(T){var N="",L=cv(T);return L&&(N=L(T).getPropertyValue("display")),N||(N=T.style.display),N==="none"}function cv(T){return T.ownerDocument.defaultView&&typeof T.ownerDocument.defaultView.getComputedStyle=="function"?T.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}var sp=function(){var T=function(Q){var ne=Q.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,function(Ve,je){return Array(parseInt(je,10)+1).join(" ")}).replace(/]*\/>/g," ").replace(//g,` -`),Te=Tn(ne.replace(/<[^>]*>/g,""));return[Te]},N={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};return function(Q,ne){var Te=ne||{};_!=null&&Te.dense==null&&(Te.dense=_);var Ve=Of(Q),je=[],vt,St,Pt={name:""},pr="",_r=0,Rr,ln,kr={},An=[],Nn=Te.dense?[]:{},Rn,un,Bi={value:""},fa="",$i=0,wa,no=[],Ca=-1,Ma=-1,La={s:{r:1e6,c:1e7},e:{r:0,c:0}},ua=0,xo={},Os=[],is={},Gs=0,Ms=0,Dl=[],Ao=1,Hs=1,Qo=[],$l={Names:[]},ii={},aa=["",""],Hi=[],tn={},Mn="",ti=0,Da=!1,ui=!1,pa=0;for(jh.lastIndex=0,Ve=Ve.replace(//mg,"").replace(//gm,"");Rn=jh.exec(Ve);)switch(Rn[3]=Rn[3].replace(/_.*$/,"")){case"table":case"\u5DE5\u4F5C\u8868":Rn[1]==="/"?(La.e.c>=La.s.c&&La.e.r>=La.s.r?Nn["!ref"]=ba(La):Nn["!ref"]="A1:A1",Te.sheetRows>0&&Te.sheetRows<=La.e.r&&(Nn["!fullref"]=Nn["!ref"],La.e.r=Te.sheetRows-1,Nn["!ref"]=ba(La)),Os.length&&(Nn["!merges"]=Os),Dl.length&&(Nn["!rows"]=Dl),Rr.name=Rr.\u540D\u79F0||Rr.name,typeof JSON!="undefined"&&JSON.stringify(Rr),An.push(Rr.name),kr[Rr.name]=Nn,ui=!1):Rn[0].charAt(Rn[0].length-2)!=="/"&&(Rr=Gt(Rn[0],!1),Ca=Ma=-1,La.s.r=La.s.c=1e7,La.e.r=La.e.c=0,Nn=Te.dense?[]:{},Os=[],Dl=[],ui=!0);break;case"table-row-group":Rn[1]==="/"?--ua:++ua;break;case"table-row":case"\u884C":if(Rn[1]==="/"){Ca+=Ao,Ao=1;break}if(ln=Gt(Rn[0],!1),ln.\u884C\u53F7?Ca=ln.\u884C\u53F7-1:Ca==-1&&(Ca=0),Ao=+ln["number-rows-repeated"]||1,Ao<10)for(pa=0;pa0&&(Dl[Ca+pa]={level:ua});Ma=-1;break;case"covered-table-cell":Rn[1]!=="/"&&++Ma,Te.sheetStubs&&(Te.dense?(Nn[Ca]||(Nn[Ca]=[]),Nn[Ca][Ma]={t:"z"}):Nn[dn({r:Ca,c:Ma})]={t:"z"}),fa="",no=[];break;case"table-cell":case"\u6570\u636E":if(Rn[0].charAt(Rn[0].length-2)==="/")++Ma,Bi=Gt(Rn[0],!1),Hs=parseInt(Bi["number-columns-repeated"]||"1",10),un={t:"z",v:null},Bi.formula&&Te.cellFormula!=!1&&(un.f=Kf(Tn(Bi.formula))),(Bi.\u6570\u636E\u7C7B\u578B||Bi["value-type"])=="string"&&(un.t="s",un.v=Tn(Bi["string-value"]||""),Te.dense?(Nn[Ca]||(Nn[Ca]=[]),Nn[Ca][Ma]=un):Nn[dn({r:Ca,c:Ma})]=un),Ma+=Hs-1;else if(Rn[1]!=="/"){++Ma,fa="",$i=0,no=[],Hs=1;var Ii=Ao?Ca+Ao-1:Ca;if(Ma>La.e.c&&(La.e.c=Ma),MaLa.e.r&&(La.e.r=Ii),Bi=Gt(Rn[0],!1),Hi=[],tn={},un={t:Bi.\u6570\u636E\u7C7B\u578B||Bi["value-type"],v:null},Te.cellFormula)if(Bi.formula&&(Bi.formula=Tn(Bi.formula)),Bi["number-matrix-columns-spanned"]&&Bi["number-matrix-rows-spanned"]&&(Gs=parseInt(Bi["number-matrix-rows-spanned"],10)||0,Ms=parseInt(Bi["number-matrix-columns-spanned"],10)||0,is={s:{r:Ca,c:Ma},e:{r:Ca+Gs-1,c:Ma+Ms-1}},un.F=ba(is),Qo.push([is,un.F])),Bi.formula)un.f=Kf(Bi.formula);else for(pa=0;pa=Qo[pa][0].s.r&&Ca<=Qo[pa][0].e.r&&(Ma>=Qo[pa][0].s.c&&Ma<=Qo[pa][0].e.c&&(un.F=Qo[pa][1]));(Bi["number-columns-spanned"]||Bi["number-rows-spanned"])&&(Gs=parseInt(Bi["number-rows-spanned"],10)||0,Ms=parseInt(Bi["number-columns-spanned"],10)||0,is={s:{r:Ca,c:Ma},e:{r:Ca+Gs-1,c:Ma+Ms-1}},Os.push(is)),Bi["number-columns-repeated"]&&(Hs=parseInt(Bi["number-columns-repeated"],10));switch(un.t){case"boolean":un.t="b",un.v=Xt(Bi["boolean-value"]);break;case"float":un.t="n",un.v=parseFloat(Bi.value);break;case"percentage":un.t="n",un.v=parseFloat(Bi.value);break;case"currency":un.t="n",un.v=parseFloat(Bi.value);break;case"date":un.t="d",un.v=pt(Bi["date-value"]),Te.cellDates||(un.t="n",un.v=pe(un.v)),un.z="m/d/yy";break;case"time":un.t="n",un.v=Re(Bi["time-value"])/86400,Te.cellDates&&(un.t="d",un.v=be(un.v)),un.z="HH:MM:SS";break;case"number":un.t="n",un.v=parseFloat(Bi.\u6570\u636E\u6570\u503C);break;default:if(un.t==="string"||un.t==="text"||!un.t)un.t="s",Bi["string-value"]!=null&&(fa=Tn(Bi["string-value"]),no=[]);else throw new Error("Unsupported value type "+un.t)}}else{if(Da=!1,un.t==="s"&&(un.v=fa||"",no.length&&(un.R=no),Da=$i==0),ii.Target&&(un.l=ii),Hi.length>0&&(un.c=Hi,Hi=[]),fa&&Te.cellText!==!1&&(un.w=fa),Da&&(un.t="z",delete un.v),(!Da||Te.sheetStubs)&&!(Te.sheetRows&&Te.sheetRows<=Ca))for(var Ua=0;Ua0;)Nn[Ca+Ua][Ma+Hs]=Nt(un);else for(Nn[dn({r:Ca+Ua,c:Ma})]=un;--Hs>0;)Nn[dn({r:Ca+Ua,c:Ma+Hs})]=Nt(un);La.e.c<=Ma&&(La.e.c=Ma)}Hs=parseInt(Bi["number-columns-repeated"]||"1",10),Ma+=Hs-1,Hs=0,un={},fa="",no=[]}ii={};break;case"document":case"document-content":case"\u7535\u5B50\u8868\u683C\u6587\u6863":case"spreadsheet":case"\u4E3B\u4F53":case"scripts":case"styles":case"font-face-decls":case"master-styles":if(Rn[1]==="/"){if((vt=je.pop())[0]!==Rn[3])throw"Bad state: "+vt}else Rn[0].charAt(Rn[0].length-2)!=="/"&&je.push([Rn[3],!0]);break;case"annotation":if(Rn[1]==="/"){if((vt=je.pop())[0]!==Rn[3])throw"Bad state: "+vt;tn.t=fa,no.length&&(tn.R=no),tn.a=Mn,Hi.push(tn)}else Rn[0].charAt(Rn[0].length-2)!=="/"&&je.push([Rn[3],!1]);Mn="",ti=0,fa="",$i=0,no=[];break;case"creator":Rn[1]==="/"?Mn=Ve.slice(ti,Rn.index):ti=Rn.index+Rn[0].length;break;case"meta":case"\u5143\u6570\u636E":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if(Rn[1]==="/"){if((vt=je.pop())[0]!==Rn[3])throw"Bad state: "+vt}else Rn[0].charAt(Rn[0].length-2)!=="/"&&je.push([Rn[3],!1]);fa="",$i=0,no=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if(Rn[1]==="/"){if(xo[Pt.name]=pr,(vt=je.pop())[0]!==Rn[3])throw"Bad state: "+vt}else Rn[0].charAt(Rn[0].length-2)!=="/"&&(pr="",Pt=Gt(Rn[0],!1),je.push([Rn[3],!0]));break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(je[je.length-1][0]){case"time-style":case"date-style":St=Gt(Rn[0],!1),pr+=N[Rn[3]][St.style==="long"?1:0];break}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(je[je.length-1][0]){case"time-style":case"date-style":St=Gt(Rn[0],!1),pr+=N[Rn[3]][St.style==="long"?1:0];break}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if(Rn[0].slice(-2)==="/>")break;if(Rn[1]==="/")switch(je[je.length-1][0]){case"number-style":case"date-style":case"time-style":pr+=Ve.slice(_r,Rn.index);break}else _r=Rn.index+Rn[0].length;break;case"named-range":St=Gt(Rn[0],!1),aa=Ef(St["cell-range-address"]);var ei={Name:St.name,Ref:aa[0]+"!"+aa[1]};ui&&(ei.Sheet=An.length),$l.Names.push(ei);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"\u7535\u5B50\u8868\u683C":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":case"\u6587\u672C\u4E32":if(["master-styles"].indexOf(je[je.length-1][0])>-1)break;if(Rn[1]==="/"&&(!Bi||!Bi["string-value"])){var Va=T(Ve.slice($i,Rn.index),wa);fa=(fa.length>0?fa+` +`),T.v=T.w=T.ixfe=void 0}function Of(T){if(E&&b.isBuffer(T))return T.toString("utf8");if(typeof T=="string")return T;if(typeof Uint8Array!="undefined"&&T instanceof Uint8Array)return er(J(K(T)));throw new Error("Bad input format: expected Buffer or string")}var jh=/<(\/?)([^\s?>:\/]+)(?:[\s?:\/][^>]*)?>/mg;function Lf(T,N){var L=N||{};V(G);var Q=y(Of(T));(L.type=="binary"||L.type=="array"||L.type=="base64")&&(typeof cptable!="undefined"?Q=cptable.utils.decode(65001,p(Q)):Q=er(Q));var ne=Q.slice(0,1024).toLowerCase(),Te=!1;if(ne=ne.replace(/".*?"/g,""),(ne.indexOf(">")&1023)>Math.min(ne.indexOf(",")&1023,ne.indexOf(";")&1023)){var Ve=Nt(L);return Ve.type="string",au.to_workbook(Q,Ve)}if(ne.indexOf("=0&&(Te=!0)}),Te)return wh.to_workbook(Q,L);var je,vt=[],St;_!=null&&L.dense==null&&(L.dense=_);var Pt={},pr=[],_r=L.dense?[]:{},Rr="",ln={},kr={},An={},Nn=fd(''),Rn=0,un=0,Bi=0,fa={s:{r:2e6,c:2e6},e:{r:0,c:0}},$i={},wa={},no="",Ca=0,Ma=[],La={},ua={},xo=0,Os=[],is=[],Gs={},Ms=[],Dl,Ao=!1,Hs=[],Qo=[],$l={},ii=0,aa=0,Hi={Sheets:[],WBProps:{date1904:!1}},tn={};jh.lastIndex=0,Q=Q.replace(//mg,"");for(var Mn="";je=jh.exec(Q);)switch(je[3]=(Mn=je[3]).toLowerCase()){case"data":if(Mn=="data"){if(je[1]==="/"){if((St=vt.pop())[0]!==je[3])throw new Error("Bad state: "+St.join("|"))}else je[0].charAt(je[0].length-2)!=="/"&&vt.push([je[3],!0]);break}if(vt[vt.length-1][1])break;je[1]==="/"?_A(Q.slice(Rn,je.index),no,Nn,vt[vt.length-1][0]=="comment"?Gs:kr,{c:un,r:Bi},$i,Ms[un],An,Hs,L):(no="",Nn=fd(je[0]),Rn=je.index+je[0].length);break;case"cell":if(je[1]==="/")if(is.length>0&&(kr.c=is),(!L.sheetRows||L.sheetRows>Bi)&&kr.v!==void 0&&(L.dense?(_r[Bi]||(_r[Bi]=[]),_r[Bi][un]=kr):_r[ya(un)+_i(Bi)]=kr),kr.HRef&&(kr.l={Target:Tn(kr.HRef)},kr.HRefScreenTip&&(kr.l.Tooltip=kr.HRefScreenTip),delete kr.HRef,delete kr.HRefScreenTip),(kr.MergeAcross||kr.MergeDown)&&(ii=un+(parseInt(kr.MergeAcross,10)|0),aa=Bi+(parseInt(kr.MergeDown,10)|0),Ma.push({s:{c:un,r:Bi},e:{c:ii,r:aa}})),!L.sheetStubs)kr.MergeAcross?un=ii+1:++un;else if(kr.MergeAcross||kr.MergeDown){for(var ti=un;ti<=ii;++ti)for(var Da=Bi;Da<=aa;++Da)(ti>un||Da>Bi)&&(L.dense?(_r[Da]||(_r[Da]=[]),_r[Da][ti]={t:"z"}):_r[ya(ti)+_i(Da)]={t:"z"});un=ii+1}else++un;else kr=wA(je[0]),kr.Index&&(un=+kr.Index-1),unfa.e.c&&(fa.e.c=un),je[0].slice(-2)==="/>"&&++un,is=[];break;case"row":je[1]==="/"||je[0].slice(-2)==="/>"?(Bifa.e.r&&(fa.e.r=Bi),je[0].slice(-2)==="/>"&&(An=fd(je[0]),An.Index&&(Bi=+An.Index-1)),un=0,++Bi):(An=fd(je[0]),An.Index&&(Bi=+An.Index-1),$l={},(An.AutoFitHeight=="0"||An.Height)&&($l.hpx=parseInt(An.Height,10),$l.hpt=ts($l.hpx),Qo[Bi]=$l),An.Hidden=="1"&&($l.hidden=!0,Qo[Bi]=$l));break;case"worksheet":if(je[1]==="/"){if((St=vt.pop())[0]!==je[3])throw new Error("Bad state: "+St.join("|"));pr.push(Rr),fa.s.r<=fa.e.r&&fa.s.c<=fa.e.c&&(_r["!ref"]=ba(fa),L.sheetRows&&L.sheetRows<=fa.e.r&&(_r["!fullref"]=_r["!ref"],fa.e.r=L.sheetRows-1,_r["!ref"]=ba(fa))),Ma.length&&(_r["!merges"]=Ma),Ms.length>0&&(_r["!cols"]=Ms),Qo.length>0&&(_r["!rows"]=Qo),Pt[Rr]=_r}else fa={s:{r:2e6,c:2e6},e:{r:0,c:0}},Bi=un=0,vt.push([je[3],!1]),St=fd(je[0]),Rr=Tn(St.Name),_r=L.dense?[]:{},Ma=[],Hs=[],Qo=[],tn={name:Rr,Hidden:0},Hi.Sheets.push(tn);break;case"table":if(je[1]==="/"){if((St=vt.pop())[0]!==je[3])throw new Error("Bad state: "+St.join("|"))}else{if(je[0].slice(-2)=="/>")break;ln=fd(je[0]),vt.push([je[3],!1]),Ms=[],Ao=!1}break;case"style":je[1]==="/"?EA($i,wa,L):wa=fd(je[0]);break;case"numberformat":wa.nf=Tn(fd(je[0]).Format||"General"),q[wa.nf]&&(wa.nf=q[wa.nf]);for(var ui=0;ui!=392&&!(G._table[ui]==wa.nf);++ui);if(ui==392){for(ui=57;ui!=392;++ui)if(G._table[ui]==null){G.load(wa.nf,ui);break}}break;case"column":if(vt[vt.length-1][0]!=="table")break;if(Dl=fd(je[0]),Dl.Hidden&&(Dl.hidden=!0,delete Dl.Hidden),Dl.Width&&(Dl.wpx=parseInt(Dl.Width,10)),!Ao&&Dl.wpx>10){Ao=!0,ci=xn;for(var pa=0;pa0&&(ei.Sheet=Hi.Sheets.length-1),Hi.Names.push(ei);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(je[0].slice(-2)==="/>")break;je[1]==="/"?no+=Q.slice(Ca,je.index):Ca=je.index+je[0].length;break;case"interior":if(!L.cellStyles)break;wa.Interior=fd(je[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if(je[0].slice(-2)==="/>")break;je[1]==="/"?_l(La,Mn,Q.slice(xo,je.index)):xo=je.index+je[0].length;break;case"paragraphs":break;case"styles":case"workbook":if(je[1]==="/"){if((St=vt.pop())[0]!==je[3])throw new Error("Bad state: "+St.join("|"))}else vt.push([je[3],!1]);break;case"comment":if(je[1]==="/"){if((St=vt.pop())[0]!==je[3])throw new Error("Bad state: "+St.join("|"));TA(Gs),is.push(Gs)}else vt.push([je[3],!1]),St=fd(je[0]),Gs={a:St.Author};break;case"autofilter":if(je[1]==="/"){if((St=vt.pop())[0]!==je[3])throw new Error("Bad state: "+St.join("|"))}else if(je[0].charAt(je[0].length-2)!=="/"){var Va=fd(je[0]);_r["!autofilter"]={ref:fo(Va.Range).replace(/\$/g,"")},vt.push([je[3],!0])}break;case"name":break;case"datavalidation":if(je[1]==="/"){if((St=vt.pop())[0]!==je[3])throw new Error("Bad state: "+St.join("|"))}else je[0].charAt(je[0].length-2)!=="/"&&vt.push([je[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if(je[1]==="/"){if((St=vt.pop())[0]!==je[3])throw new Error("Bad state: "+St.join("|"))}else je[0].charAt(je[0].length-2)!=="/"&&vt.push([je[3],!0]);break;case"null":break;default:if(vt.length==0&&je[3]=="document")return cp(Q,L);if(vt.length==0&&je[3]=="uof")return cp(Q,L);var as=!0;switch(vt[vt.length-1][0]){case"officedocumentsettings":switch(je[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:as=!1}break;case"componentoptions":switch(je[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:as=!1}break;case"excelworkbook":switch(je[3]){case"date1904":Hi.WBProps.date1904=!0;break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:as=!1}break;case"workbookoptions":switch(je[3]){case"owcversion":break;case"height":break;case"width":break;default:as=!1}break;case"worksheetoptions":switch(je[3]){case"visible":if(!(je[0].slice(-2)==="/>"))if(je[1]==="/")switch(Q.slice(xo,je.index)){case"SheetHidden":tn.Hidden=1;break;case"SheetVeryHidden":tn.Hidden=2;break}else xo=je.index+je[0].length;break;case"header":_r["!margins"]||bh(_r["!margins"]={},"xlml"),_r["!margins"].header=Gt(je[0]).Margin;break;case"footer":_r["!margins"]||bh(_r["!margins"]={},"xlml"),_r["!margins"].footer=Gt(je[0]).Margin;break;case"pagemargins":var ds=Gt(je[0]);_r["!margins"]||bh(_r["!margins"]={},"xlml"),ds.Top&&(_r["!margins"].top=ds.Top),ds.Left&&(_r["!margins"].left=ds.Left),ds.Right&&(_r["!margins"].right=ds.Right),ds.Bottom&&(_r["!margins"].bottom=ds.Bottom);break;case"displayrighttoleft":Hi.Views||(Hi.Views=[]),Hi.Views[0]||(Hi.Views[0]={}),Hi.Views[0].RTL=!0;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":_r["!outline"]||(_r["!outline"]={}),_r["!outline"].above=!0;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":_r["!outline"]||(_r["!outline"]={}),_r["!outline"].left=!0;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:as=!1}break;case"pivottable":case"pivotcache":switch(je[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:as=!1}break;case"pagebreaks":switch(je[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:as=!1}break;case"autofilter":switch(je[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:as=!1}break;case"querytable":switch(je[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:as=!1}break;case"datavalidation":switch(je[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:as=!1}break;case"sorting":case"conditionalformatting":switch(je[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:as=!1}break;case"mapinfo":case"schema":case"data":switch(je[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":break;case"row":break;default:as=!1}break;case"smarttags":break;default:as=!1;break}if(as)break;if(je[3].match(/!\[CDATA/))break;if(!vt[vt.length-1][1])throw"Unrecognized tag: "+je[3]+"|"+vt.join("|");if(vt[vt.length-1][0]==="customdocumentproperties"){if(je[0].slice(-2)==="/>")break;je[1]==="/"?SA(ua,Mn,Os,Q.slice(xo,je.index)):(Os=je,xo=je.index+je[0].length);break}if(L.WTF)throw"Unrecognized tag: "+je[3]+"|"+vt.join("|")}var Lo={};return!L.bookSheets&&!L.bookProps&&(Lo.Sheets=Pt),Lo.SheetNames=pr,Lo.Workbook=Hi,Lo.SSF=G.get_table(),Lo.Props=La,Lo.Custprops=ua,Lo}function Nf(T,N){Df(N=N||{});switch(N.type||"base64"){case"base64":return Lf(C.decode(T),N);case"binary":case"buffer":case"file":return Lf(T,N);case"array":return Lf(J(T),N)}}function IA(T,N){var L=[];return T.Props&&L.push(Wc(T.Props,N)),T.Custprops&&L.push(fc(T.Props,T.Custprops,N)),L.join("")}function OA(){return""}function LA(T,N){var L=[''];return N.cellXfs.forEach(function(Q,ne){var Te=[];Te.push(dr("NumberFormat",null,{"ss:Format":lt(G._table[Q.numFmtId])}));var Ve={"ss:ID":"s"+(21+ne)};L.push(dr("Style",Te.join(""),Ve))}),dr("Styles",L.join(""))}function ep(T){return dr("NamedRange",null,{"ss:Name":T.Name,"ss:RefersTo":"="+Ds(T.Ref,{r:0,c:0})})}function NA(T){if(!((T||{}).Workbook||{}).Names)return"";for(var N=T.Workbook.Names,L=[],Q=0;Q"),T["!margins"].header&&ne.push(dr("Header",null,{"x:Margin":T["!margins"].header})),T["!margins"].footer&&ne.push(dr("Footer",null,{"x:Margin":T["!margins"].footer})),ne.push(dr("PageMargins",null,{"x:Bottom":T["!margins"].bottom||"0.75","x:Left":T["!margins"].left||"0.7","x:Right":T["!margins"].right||"0.7","x:Top":T["!margins"].top||"0.75"})),ne.push("")),Q&&Q.Workbook&&Q.Workbook.Sheets&&Q.Workbook.Sheets[L])if(Q.Workbook.Sheets[L].Hidden)ne.push(dr("Visible",Q.Workbook.Sheets[L].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var Te=0;Te")}return((((Q||{}).Workbook||{}).Views||[])[0]||{}).RTL&&ne.push(""),T["!protect"]&&(ne.push(tr("ProtectContents","True")),T["!protect"].objects&&ne.push(tr("ProtectObjects","True")),T["!protect"].scenarios&&ne.push(tr("ProtectScenarios","True")),T["!protect"].selectLockedCells!=null&&!T["!protect"].selectLockedCells?ne.push(tr("EnableSelection","NoSelection")):T["!protect"].selectUnlockedCells!=null&&!T["!protect"].selectUnlockedCells&&ne.push(tr("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(Ve){T["!protect"][Ve[0]]&&ne.push("<"+Ve[1]+"/>")})),ne.length==0?"":dr("WorksheetOptions",ne.join(""),{xmlns:Gn.x})}function RA(T){return T.map(function(N){var L=ir(N.t||""),Q=dr("ss:Data",L,{xmlns:"http://www.w3.org/TR/REC-html40"});return dr("Comment",Q,{"ss:Author":N.a})}).join("")}function FA(T,N,L,Q,ne,Te,Ve){if(!T||T.v==null&&T.f==null)return"";var je={};if(T.f&&(je["ss:Formula"]="="+lt(Ds(T.f,Ve))),T.F&&T.F.slice(0,N.length)==N){var vt=Pi(T.F.slice(N.length+1));je["ss:ArrayRange"]="RC:R"+(vt.r==Ve.r?"":"["+(vt.r-Ve.r)+"]")+"C"+(vt.c==Ve.c?"":"["+(vt.c-Ve.c)+"]")}if(T.l&&T.l.Target&&(je["ss:HRef"]=lt(T.l.Target),T.l.Tooltip&&(je["x:HRefScreenTip"]=lt(T.l.Tooltip))),L["!merges"])for(var St=L["!merges"],Pt=0;Pt!=St.length;++Pt){if(St[Pt].s.c!=Ve.c||St[Pt].s.r!=Ve.r)continue;St[Pt].e.c>St[Pt].s.c&&(je["ss:MergeAcross"]=St[Pt].e.c-St[Pt].s.c),St[Pt].e.r>St[Pt].s.r&&(je["ss:MergeDown"]=St[Pt].e.r-St[Pt].s.r)}var pr="",_r="";switch(T.t){case"z":if(!Q.sheetStubs)return"";break;case"n":pr="Number",_r=String(T.v);break;case"b":pr="Boolean",_r=T.v?"1":"0";break;case"e":pr="Error",_r=Mo[T.v];break;case"d":pr="DateTime",_r=new Date(T.v).toISOString(),T.z==null&&(T.z=T.z||G._table[14]);break;case"s":pr="String",_r=$e(T.v||"");break}var Rr=yh(Q.cellXfs,T,Q);je["ss:StyleID"]="s"+(21+Rr),je["ss:Index"]=Ve.c+1;var ln=T.v!=null?_r:"",kr=T.t=="z"?"":''+ln+"";return(T.c||[]).length>0&&(kr+=RA(T.c)),dr("Cell",kr,je)}function BA(T,N){var L='"}function kA(T,N,L,Q){if(!T["!ref"])return"";var ne=ta(T["!ref"]),Te=T["!merges"]||[],Ve=0,je=[];T["!cols"]&&T["!cols"].forEach(function(An,Nn){uo(An);var Rn=!!An.width,un=Jh(Nn,An),Bi={"ss:Index":Nn+1};Rn&&(Bi["ss:Width"]=ra(un.width)),An.hidden&&(Bi["ss:Hidden"]="1"),je.push(dr("Column",null,Bi))});for(var vt=Array.isArray(T),St=ne.s.r;St<=ne.e.r;++St){for(var Pt=[BA(St,(T["!rows"]||[])[St])],pr=ne.s.c;pr<=ne.e.c;++pr){var _r=!1;for(Ve=0;Ve!=Te.length;++Ve){if(Te[Ve].s.c>pr)continue;if(Te[Ve].s.r>St)continue;if(Te[Ve].e.c"),Pt.length>2&&je.push(Pt.join(""))}return je.join("")}function PA(T,N,L){var Q=[],ne=L.SheetNames[T],Te=L.Sheets[ne],Ve=Te?DA(Te,N,T,L):"";return Ve.length>0&&Q.push(""+Ve+""),Ve=Te?kA(Te,N,T,L):"",Ve.length>0&&Q.push(""+Ve+"
"),Q.push(MA(Te,N,T,L)),Q.join("")}function UA(T,N){N||(N={}),T.SSF||(T.SSF=G.get_table()),T.SSF&&(V(G),G.load_table(T.SSF),N.revssf=Y(T.SSF),N.revssf[T.SSF[65535]]=0,N.ssf=T.SSF,N.cellXfs=[],yh(N.cellXfs,{},{revssf:{General:0}}));var L=[];L.push(IA(T,N)),L.push(OA(T,N)),L.push(""),L.push("");for(var Q=0;Q40)return N;if(L.l-=4,N.Reserved1=L.read_shift(0,"lpstr-ansi"),L.length-L.l<=4)return N;if(Q=L.read_shift(4),Q!==1907505652)return N;if(N.UnicodeClipboardFormat=wr(L),Q=L.read_shift(4),Q==0||Q>40)return N;L.l-=4,N.Reserved2=L.read_shift(0,"lpwstr")}function HA(T,N,L,Q){var ne=L,Te=[],Ve=N.slice(N.l,N.l+ne);if(Q&&Q.enc&&Q.enc.insitu&&Ve.length>0)switch(T.n){case"BOF":case"FilePass":case"FileLock":case"InterfaceHdr":case"RRDInfo":case"RRDHead":case"UsrExcl":case"EOF":break;case"BoundSheet8":break;default:Q.enc.insitu(Ve)}Te.push(Ve),N.l+=ne;for(var je=ef[Vn(N,N.l)],vt=0;je!=null&&je.n.slice(0,8)==="Continue";)ne=Vn(N,N.l+2),vt=N.l+4,je.n=="ContinueFrt"?vt+=4:je.n.slice(0,11)=="ContinueFrt"&&(vt+=12),Ve=N.slice(vt,N.l+4+ne),Te.push(Ve),N.l+=4+ne,je=ef[Vn(N,N.l)];var St=z(Te);Cn(St,0);var Pt=0;St.lens=[];for(var pr=0;pr1)return;if(Kl.sheetRows&&$o.r>=Kl.sheetRows)return;if(Kl.cellStyles&&ol.XF&&ol.XF.data&&Ma($o,ol,Kl),delete ol.ixfe,delete ol.XF,pr=$o,_r=dn($o),(!Ve||!Ve.s||!Ve.e)&&(Ve={s:{r:0,c:0},e:{r:0,c:0}}),$o.rVe.e.r&&(Ve.e.r=$o.r+1),$o.c+1>Ve.e.c&&(Ve.e.c=$o.c+1),Kl.cellFormula&&ol.f)for(var Il=0;Il$o.c||Rn[Il][0].s.r>$o.r)continue;if(Rn[Il][0].e.c<$o.c||Rn[Il][0].e.r<$o.r)continue;ol.F=ba(Rn[Il][0]),(Rn[Il][0].s.c!=$o.c||Rn[Il][0].s.r!=$o.r)&&delete ol.f,ol.f&&(ol.f=""+_u(Rn[Il][1],Ve,$o,Qo,ua));break}Kl.dense?(ne[$o.r]||(ne[$o.r]=[]),ne[$o.r][$o.c]=ol):ne[_r]=ol},ua={enc:!1,sbcch:0,snames:[],sharedf:Nn,arrayf:Rn,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!N&&!!N.cellStyles,WTF:!!N&&!!N.wtf};N.password&&(ua.password=N.password);var xo,Os=[],is=[],Gs=[],Ms=[],Dl=0,Ao=0,Hs=!1,Qo=[];Qo.SheetNames=ua.snames,Qo.sharedf=ua.sharedf,Qo.arrayf=ua.arrayf,Qo.names=[],Qo.XTI=[];var $l="",ii=0,aa=0,Hi=[],tn=[],Mn;ua.codepage=1200,o(1200);for(var ti=!1;T.l>8)!==ui)throw new Error("rt mismatch: "+Ua+"!="+ui);Ii.r==12&&(T.l+=10,pa-=10)}var ei={};Ii.n==="EOF"?ei=Ii.f(T,pa,ua):ei=HA(Ii,T,pa,ua);var Va=Ii.n;if(ii==0&&Va!="BOF")continue;switch(Va){case"Date1904":L.opts.Date1904=wa.WBProps.date1904=ei;break;case"WriteProtect":L.opts.WriteProtect=!0;break;case"FilePass":if(ua.enc||(T.l=0),ua.enc=ei,!N.password)throw new Error("File is password-protected");if(ei.valid==null)throw new Error("Encryption scheme unsupported");if(!ei.valid)throw new Error("Password is incorrect");break;case"WriteAccess":ua.lastuser=ei;break;case"FileSharing":break;case"CodePage":var as=Number(ei);switch(as){case 21010:as=1200;break;case 32768:as=1e4;break;case 32769:as=1252;break}o(ua.codepage=as),ti=!0;break;case"RRTabId":ua.rrtabid=ei;break;case"WinProtect":ua.winlocked=ei;break;case"Template":break;case"BookBool":break;case"UsesELFs":break;case"MTRSettings":break;case"RefreshAll":case"CalcCount":case"CalcDelta":case"CalcIter":case"CalcMode":case"CalcPrecision":case"CalcSaveRecalc":L.opts[Va]=ei;break;case"CalcRefMode":ua.CalcRefMode=ei;break;case"Uncalced":break;case"ForceFullCalculation":L.opts.FullCalc=ei;break;case"WsBool":ei.fDialog&&(ne["!type"]="dialog"),ei.fBelow||((ne["!outline"]||(ne["!outline"]={})).above=!0),ei.fRight||((ne["!outline"]||(ne["!outline"]={})).left=!0);break;case"XF":fa.push(ei);break;case"ExtSST":break;case"BookExt":break;case"RichTextStream":break;case"BkHim":break;case"SupBook":Qo.push([ei]),Qo[Qo.length-1].XTI=[];break;case"ExternName":Qo[Qo.length-1].push(ei);break;case"Index":break;case"Lbl":Mn={Name:ei.Name,Ref:_u(ei.rgce,Ve,null,Qo,ua)},ei.itab>0&&(Mn.Sheet=ei.itab-1),Qo.names.push(Mn),Qo[0]||(Qo[0]=[],Qo[0].XTI=[]),Qo[Qo.length-1].push(ei),ei.Name=="_xlnm._FilterDatabase"&&ei.itab>0&&(ei.rgce&&ei.rgce[0]&&ei.rgce[0][0]&&ei.rgce[0][0][0]=="PtgArea3d"&&(tn[ei.itab-1]={ref:ba(ei.rgce[0][0][1][2])}));break;case"ExternCount":ua.ExternCount=ei;break;case"ExternSheet":Qo.length==0&&(Qo[0]=[],Qo[0].XTI=[]),Qo[Qo.length-1].XTI=Qo[Qo.length-1].XTI.concat(ei),Qo.XTI=Qo.XTI.concat(ei);break;case"NameCmt":if(ua.biff<8)break;Mn!=null&&(Mn.Comment=ei[1]);break;case"Protect":ne["!protect"]=ei;break;case"Password":ei!==0&&ua.WTF&&console.error("Password verifier: "+ei);break;case"Prot4Rev":case"Prot4RevPass":break;case"BoundSheet8":Te[ei.pos]=ei,ua.snames.push(ei.name);break;case"EOF":{if(--ii)break;if(Ve.e){if(Ve.e.r>0&&Ve.e.c>0){if(Ve.e.r--,Ve.e.c--,ne["!ref"]=ba(Ve),N.sheetRows&&N.sheetRows<=Ve.e.r){var ds=Ve.e.r;Ve.e.r=N.sheetRows-1,ne["!fullref"]=ne["!ref"],ne["!ref"]=ba(Ve),Ve.e.r=ds}Ve.e.r++,Ve.e.c++}Os.length>0&&(ne["!merges"]=Os),is.length>0&&(ne["!objects"]=is),Gs.length>0&&(ne["!cols"]=Gs),Ms.length>0&&(ne["!rows"]=Ms),wa.Sheets.push(no)}St===""?Pt=ne:Q[St]=ne,ne=N.dense?[]:{}}break;case"BOF":{if(ua.biff===8&&(ua.biff={9:2,521:3,1033:4}[ui]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[ei.BIFFVer]||8),ua.biffguess=ei.BIFFVer==0,ei.BIFFVer==0&&ei.dt==4096&&(ua.biff=5,ti=!0,o(ua.codepage=28591)),ua.biff==8&&ei.BIFFVer==0&&ei.dt==16&&(ua.biff=2),ii++)break;if(ne=N.dense?[]:{},ua.biff<8&&!ti&&(ti=!0,o(ua.codepage=N.codepage||1252)),ua.biff<5||ei.BIFFVer==0&&ei.dt==4096){St===""&&(St="Sheet1"),Ve={s:{r:0,c:0},e:{r:0,c:0}};var Lo={pos:T.l-pa,name:St};Te[Lo.pos]=Lo,ua.snames.push(St)}else St=(Te[Da]||{name:""}).name;ei.dt==32&&(ne["!type"]="chart"),ei.dt==64&&(ne["!type"]="macro"),Os=[],is=[],ua.arrayf=Rn=[],Gs=[],Ms=[],Dl=Ao=0,Hs=!1,no={Hidden:(Te[Da]||{hs:0}).hs,name:St}}break;case"Number":case"BIFF2NUM":case"BIFF2INT":ne["!type"]=="chart"&&((N.dense?(ne[ei.r]||[])[ei.c]:ne[dn({c:ei.c,r:ei.r})])&&++ei.c),un={ixfe:ei.ixfe,XF:fa[ei.ixfe]||{},v:ei.val,t:"n"},aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La({c:ei.c,r:ei.r},un,N);break;case"BoolErr":un={ixfe:ei.ixfe,XF:fa[ei.ixfe],v:ei.val,t:ei.t},aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La({c:ei.c,r:ei.r},un,N);break;case"RK":un={ixfe:ei.ixfe,XF:fa[ei.ixfe],v:ei.rknum,t:"n"},aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La({c:ei.c,r:ei.r},un,N);break;case"MulRk":for(var yc=ei.c;yc<=ei.C;++yc){var kc=ei.rkrec[yc-ei.c][0];un={ixfe:kc,XF:fa[kc],v:ei.rkrec[yc-ei.c][1],t:"n"},aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La({c:yc,r:ei.r},un,N)}break;case"Formula":{if(ei.val=="String"){je=ei;break}if(un=$h(ei.val,ei.cell.ixfe,ei.tt),un.XF=fa[un.ixfe],N.cellFormula){var wc=ei.formula;if(wc&&wc[0]&&wc[0][0]&&wc[0][0][0]=="PtgExp"){var Wl=wc[0][0][1][0],pd=wc[0][0][1][1],Nd=dn({r:Wl,c:pd});Nn[Nd]?un.f=""+_u(ei.formula,Ve,ei.cell,Qo,ua):un.F=((N.dense?(ne[Wl]||[])[pd]:ne[Nd])||{}).F}else un.f=""+_u(ei.formula,Ve,ei.cell,Qo,ua)}aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La(ei.cell,un,N),je=ei}break;case"String":if(je)je.val=ei,un=$h(ei,je.cell.ixfe,"s"),un.XF=fa[un.ixfe],N.cellFormula&&(un.f=""+_u(je.formula,Ve,je.cell,Qo,ua)),aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La(je.cell,un,N),je=null;else throw new Error("String record expects Formula");break;case"Array":{Rn.push(ei);var tu=dn(ei[0].s);if(Rr=N.dense?(ne[ei[0].s.r]||[])[ei[0].s.c]:ne[tu],N.cellFormula&&Rr){if(!je)break;if(!tu||!Rr)break;Rr.f=""+_u(ei[1],Ve,ei[0],Qo,ua),Rr.F=ba(ei[0])}}break;case"ShrFmla":{if(!N.cellFormula)break;if(_r){if(!je)break;Nn[dn(je.cell)]=ei[0],Rr=N.dense?(ne[je.cell.r]||[])[je.cell.c]:ne[dn(je.cell)],(Rr||{}).f=""+_u(ei[0],Ve,pr,Qo,ua)}}break;case"LabelSst":un=$h(vt[ei.isst].t,ei.ixfe,"s"),vt[ei.isst].h&&(un.h=vt[ei.isst].h),un.XF=fa[un.ixfe],aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La({c:ei.c,r:ei.r},un,N);break;case"Blank":N.sheetStubs&&(un={ixfe:ei.ixfe,XF:fa[ei.ixfe],t:"z"},aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La({c:ei.c,r:ei.r},un,N));break;case"MulBlank":if(N.sheetStubs)for(var Qs=ei.c;Qs<=ei.C;++Qs){var So=ei.ixfe[Qs-ei.c];un={ixfe:So,XF:fa[So],t:"z"},aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La({c:Qs,r:ei.r},un,N)}break;case"RString":case"Label":case"BIFF2STR":un=$h(ei.val,ei.ixfe,"s"),un.XF=fa[un.ixfe],aa>0&&(un.z=Hi[un.ixfe>>8&63]),Gd(un,N,L.opts.Date1904),La({c:ei.c,r:ei.r},un,N);break;case"Dimensions":ii===1&&(Ve=ei);break;case"SST":vt=ei;break;case"Format":if(ua.biff==4){Hi[aa++]=ei[1];for(var Vi=0;Vi=163&&G.load(ei[1],aa+163)}else G.load(ei[1],ei[0]);break;case"BIFF2FORMAT":{Hi[aa++]=ei;for(var sa=0;sa=163&&G.load(ei,aa+163)}break;case"MergeCells":Os=Os.concat(ei);break;case"Obj":is[ei.cmo[0]]=ua.lastobj=ei;break;case"TxO":ua.lastobj.TxO=ei;break;case"ImData":ua.lastobj.ImData=ei;break;case"HLink":for(An=ei[0].s.r;An<=ei[0].e.r;++An)for(kr=ei[0].s.c;kr<=ei[0].e.c;++kr)Rr=N.dense?(ne[An]||[])[kr]:ne[dn({c:kr,r:An})],Rr&&(Rr.l=ei[1]);break;case"HLinkTooltip":for(An=ei[0].s.r;An<=ei[0].e.r;++An)for(kr=ei[0].s.c;kr<=ei[0].e.c;++kr)Rr=N.dense?(ne[An]||[])[kr]:ne[dn({c:kr,r:An})],Rr&&Rr.l&&(Rr.l.Tooltip=ei[1]);break;case"Note":{if(ua.biff<=5&&ua.biff>=2)break;Rr=N.dense?(ne[ei[0].r]||[])[ei[0].c]:ne[dn(ei[0])];var Rs=is[ei[2]];Rr||(N.dense?(ne[ei[0].r]||(ne[ei[0].r]=[]),Rr=ne[ei[0].r][ei[0].c]={t:"z"}):Rr=ne[dn(ei[0])]={t:"z"},Ve.e.r=Math.max(Ve.e.r,ei[0].r),Ve.s.r=Math.min(Ve.s.r,ei[0].r),Ve.e.c=Math.max(Ve.e.c,ei[0].c),Ve.s.c=Math.min(Ve.s.c,ei[0].c)),Rr.c||(Rr.c=[]),ln={a:ei[1],t:Rs.TxO.t},Rr.c.push(ln)}break;default:switch(Ii.n){case"ClrtClient":break;case"XFExt":Gh(fa[ei.ixfe],ei.ext);break;case"DefColWidth":Dl=ei;break;case"DefaultRowHeight":Ao=ei[1];break;case"ColInfo":{if(!ua.cellStyles)break;for(;ei.e>=ei.s;)Gs[ei.e--]={width:ei.w/256,level:ei.level||0,hidden:!!(ei.flags&1)},Hs||(Hs=!0,Ka(ei.w/256)),uo(Gs[ei.e+1])}break;case"Row":{var qa={};ei.level!=null&&(Ms[ei.r]=qa,qa.level=ei.level),ei.hidden&&(Ms[ei.r]=qa,qa.hidden=!0),ei.hpt&&(Ms[ei.r]=qa,qa.hpt=ei.hpt,qa.hpx=js(ei.hpt))}break;case"LeftMargin":case"RightMargin":case"TopMargin":case"BottomMargin":ne["!margins"]||bh(ne["!margins"]={}),ne["!margins"][Va.slice(0,-6).toLowerCase()]=ei;break;case"Selection":break;case"Setup":ne["!margins"]||bh(ne["!margins"]={}),ne["!margins"].header=ei.header,ne["!margins"].footer=ei.footer;break;case"Window2":ei.RTL&&(wa.Views[0].RTL=!0);break;case"Header":break;case"Footer":break;case"HCenter":break;case"VCenter":break;case"Pls":break;case"GCW":break;case"LHRecord":break;case"DBCell":break;case"EntExU2":break;case"SxView":break;case"Sxvd":break;case"SXVI":break;case"SXVDEx":break;case"SxIvd":break;case"SXString":break;case"Sync":break;case"Addin":break;case"SXDI":break;case"SXLI":break;case"SXEx":break;case"QsiSXTag":break;case"Feat":break;case"FeatHdr":case"FeatHdr11":break;case"Feature11":case"Feature12":case"List12":break;case"Country":Bi=ei;break;case"RecalcId":break;case"DxGCol":break;case"Fbi":case"Fbi2":case"GelFrame":break;case"Font":break;case"XFCRC":break;case"Style":break;case"StyleExt":break;case"Palette":$i=ei;break;case"Theme":xo=ei;break;case"ScenarioProtect":break;case"ObjProtect":break;case"CondFmt12":break;case"Table":break;case"TableStyles":break;case"TableStyle":break;case"TableStyleElement":break;case"SXStreamID":break;case"SXVS":break;case"DConRef":break;case"SXAddl":break;case"DConBin":break;case"DConName":break;case"SXPI":break;case"SxFormat":break;case"SxSelect":break;case"SxRule":break;case"SxFilt":break;case"SxItm":break;case"SxDXF":break;case"ScenMan":break;case"DCon":break;case"CellWatch":break;case"PrintRowCol":break;case"PrintGrid":break;case"PrintSize":break;case"XCT":break;case"CRN":break;case"Scl":break;case"SheetExt":break;case"SheetExtOptional":break;case"ObNoMacros":break;case"ObProj":break;case"CodeName":St?no.CodeName=ei||no.name:wa.WBProps.CodeName=ei||"ThisWorkbook";break;case"GUIDTypeLib":break;case"WOpt":break;case"PhoneticInfo":break;case"OleObjectSize":break;case"DXF":case"DXFN":case"DXFN12":case"DXFN12List":case"DXFN12NoCB":break;case"Dv":case"DVal":break;case"BRAI":case"Series":case"SeriesText":break;case"DConn":break;case"DbOrParamQry":break;case"DBQueryExt":break;case"OleDbConn":break;case"ExtString":break;case"IFmtRecord":break;case"CondFmt":case"CF":case"CF12":case"CFEx":break;case"Excel9File":break;case"Units":break;case"InterfaceHdr":case"Mms":case"InterfaceEnd":case"DSF":break;case"BuiltInFnGroupCount":break;case"Window1":case"HideObj":case"GridSet":case"Guts":case"UserBView":case"UserSViewBegin":case"UserSViewEnd":break;case"Pane":break;default:switch(Ii.n){case"Dat":case"Begin":case"End":case"StartBlock":case"EndBlock":case"Frame":case"Area":case"Axis":case"AxisLine":case"Tick":break;case"AxesUsed":case"CrtLayout12":case"CrtLayout12A":case"CrtLink":case"CrtLine":case"CrtMlFrt":case"CrtMlFrtContinue":break;case"LineFormat":case"AreaFormat":case"Chart":case"Chart3d":case"Chart3DBarShape":case"ChartFormat":case"ChartFrtInfo":break;case"PlotArea":case"PlotGrowth":break;case"SeriesList":case"SerParent":case"SerAuxTrend":break;case"DataFormat":case"SerToCrt":case"FontX":break;case"CatSerRange":case"AxcExt":case"SerFmt":break;case"ShtProps":break;case"DefaultText":case"Text":case"CatLab":break;case"DataLabExtContents":break;case"Legend":case"LegendException":break;case"Pie":case"Scatter":break;case"PieFormat":case"MarkerFormat":break;case"StartObject":case"EndObject":break;case"AlRuns":case"ObjectLink":break;case"SIIndex":break;case"AttachedLabel":case"YMult":break;case"Line":case"Bar":break;case"Surf":break;case"AxisParent":break;case"Pos":break;case"ValueRange":break;case"SXViewEx9":break;case"SXViewLink":break;case"PivotChartBits":break;case"SBaseRef":break;case"TextPropsStream":break;case"LnExt":break;case"MkrExt":break;case"CrtCoopt":break;case"Qsi":case"Qsif":case"Qsir":case"QsiSXTag":break;case"TxtQry":break;case"FilterMode":break;case"AutoFilter":case"AutoFilterInfo":break;case"AutoFilter12":break;case"DropDownObjIds":break;case"Sort":break;case"SortData":break;case"ShapePropsStream":break;case"MsoDrawing":case"MsoDrawingGroup":case"MsoDrawingSelection":break;case"WebPub":case"AutoWebPub":break;case"HeaderFooter":case"HFPicture":case"PLV":case"HorizontalPageBreaks":case"VerticalPageBreaks":break;case"Backup":case"CompressPictures":case"Compat12":break;case"Continue":case"ContinueFrt12":break;case"FrtFontList":case"FrtWrapper":break;default:switch(Ii.n){case"TabIdConf":case"Radar":case"RadarArea":case"DropBar":case"Intl":case"CoordList":case"SerAuxErrBar":break;case"BIFF2FONTCLR":case"BIFF2FMTCNT":case"BIFF2FONTXTRA":break;case"BIFF2XF":case"BIFF3XF":case"BIFF4XF":break;case"BIFF2XFINDEX":break;case"BIFF4FMTCNT":case"BIFF2ROW":case"BIFF2WINDOW2":break;case"SCENARIO":case"DConBin":case"PicF":case"DataLabExt":case"Lel":case"BopPop":case"BopPopCustom":case"RealTimeData":case"Name":break;case"LHNGraph":case"FnGroupName":case"AddMenu":case"LPr":break;case"ListObj":case"ListField":break;case"RRSort":break;case"BigName":break;case"ToolbarHdr":case"ToolbarEnd":break;case"DDEObjName":break;case"FRTArchId$":break;default:if(N.WTF)throw"Unrecognized Record "+Ii.n}}}}}else T.l+=pa}return L.SheetNames=Ge(Te).sort(function(eo,$o){return Number(eo)-Number($o)}).map(function(eo){return Te[eo].name}),N.bookSheets||(L.Sheets=Q),!L.SheetNames.length&&Pt["!ref"]?(L.SheetNames.push("Sheet1"),L.Sheets&&(L.Sheets.Sheet1=Pt)):L.Preamble=Pt,L.Sheets&&tn.forEach(function(eo,$o){L.Sheets[L.SheetNames[$o]]["!autofilter"]=eo}),L.Strings=vt,L.SSF=G.get_table(),ua.enc&&(L.Encryption=ua.enc),xo&&(L.Themes=xo),L.Metadata={},Bi!==void 0&&(L.Metadata.Country=Bi),Qo.names.length>0&&(wa.Names=Qo.names),L.Workbook=wa,L}var Hh={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function WA(T,N,L){var Q=ke.find(T,"!DocumentSummaryInformation");if(Q&&Q.size>0)try{var ne=Gl(Q,po,Hh.DSI);for(var Te in ne)N[Te]=ne[Te]}catch(St){if(L.WTF)throw St}var Ve=ke.find(T,"!SummaryInformation");if(Ve&&Ve.size>0)try{var je=Gl(Ve,Ha,Hh.SI);for(var vt in je)N[vt]==null&&(N[vt]=je[vt])}catch(St){if(L.WTF)throw St}N.HeadingPairs&&N.TitlesOfParts&&(ml(N.HeadingPairs,N.TitlesOfParts,N,L),delete N.HeadingPairs,delete N.TitlesOfParts)}function KA(T,N){var L=[],Q=[],ne=[],Te=0,Ve;if(T.Props)for(Ve=Ge(T.Props),Te=0;Te-1)continue;if(ne[Te][1]==null)continue;je.push(ne[Te])}Q.length&&ke.utils.cfb_add(N,"/SummaryInformation",Kc(Q,Hh.SI,ao,Ha)),(L.length||je.length)&&ke.utils.cfb_add(N,"/DocumentSummaryInformation",Kc(L,Hh.DSI,Oa,po,je.length?je:null,Hh.UDI))}function qh(T,N){N||(N={}),Df(N),h(),N.codepage&&u(N.codepage);var L,Q;if(T.FullPaths){if(ke.find(T,"/encryption"))throw new Error("File is password-protected");L=ke.find(T,"!CompObj"),Q=ke.find(T,"/Workbook")||ke.find(T,"/Book")}else{switch(N.type){case"base64":T=B(C.decode(T));break;case"binary":T=B(T);break;case"buffer":break;case"array":Array.isArray(T)||(T=Array.prototype.slice.call(T));break}Cn(T,0),Q={content:T}}var ne,Te;if(L&&jA(L),N.bookProps&&!N.bookSheets)ne={};else{var Ve=E?"buffer":"array";if(Q&&Q.content)ne=zA(Q.content,N);else if((Te=ke.find(T,"PerfectOffice_MAIN"))&&Te.content)ne=ou.to_workbook(Te.content,(N.type=Ve,N));else if((Te=ke.find(T,"NativeContent_MAIN"))&&Te.content)ne=ou.to_workbook(Te.content,(N.type=Ve,N));else throw(Te=ke.find(T,"MN0"))&&Te.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");N.bookVBA&&T.FullPaths&&ke.find(T,"/_VBA_PROJECT_CUR/VBA/dir")&&(ne.vbaraw=sn(T))}var je={};return T.FullPaths&&WA(T,je,N),ne.Props=ne.Custprops=je,N.bookFiles&&(ne.cfb=T),ne}function VA(T,N){var L=N||{},Q=ke.utils.cfb_new({root:"R"}),ne="/Workbook";switch(L.bookType||"xls"){case"xls":L.bookType="biff8";case"xla":L.bookType||(L.bookType="xla");case"biff8":ne="/Workbook",L.biff=8;break;case"biff5":ne="/Book",L.biff=5;break;default:throw new Error("invalid type "+L.bookType+" for XLS CFB")}return ke.utils.cfb_add(Q,ne,np(T,L)),L.biff==8&&(T.Props||T.Custprops)&&KA(T,Q),L.biff==8&&T.vbaraw&&wn(Q,ke.read(T.vbaraw,{type:typeof T.vbaraw=="string"?"binary":"buffer"})),Q}var Oh={0:{n:"BrtRowHdr",f:f0},1:{n:"BrtCellBlank",f:w0},2:{n:"BrtCellRk",f:j0},3:{n:"BrtCellError",f:O0},4:{n:"BrtCellBool",f:E0},5:{n:"BrtCellReal",f:k0},6:{n:"BrtCellSt",f:K0},7:{n:"BrtCellIsst",f:M0},8:{n:"BrtFmlaString",f:J0},9:{n:"BrtFmlaNum",f:Z0},10:{n:"BrtFmlaBool",f:Y0},11:{n:"BrtFmlaError",f:Q0},12:{n:"BrtShortBlank",f:S0},13:{n:"BrtShortRk",f:z0},14:{n:"BrtShortError",f:N0},15:{n:"BrtShortBool",f:T0},16:{n:"BrtShortReal",f:Xf},17:{n:"BrtShortSt",f:X0},18:{n:"BrtShortIsst",f:F0},19:{n:"BrtSSTItem",f:$r},20:{n:"BrtPCDIMissing"},21:{n:"BrtPCDINumber"},22:{n:"BrtPCDIBoolean"},23:{n:"BrtPCDIError"},24:{n:"BrtPCDIString"},25:{n:"BrtPCDIDatetime"},26:{n:"BrtPCDIIndex"},27:{n:"BrtPCDIAMissing"},28:{n:"BrtPCDIANumber"},29:{n:"BrtPCDIABoolean"},30:{n:"BrtPCDIAError"},31:{n:"BrtPCDIAString"},32:{n:"BrtPCDIADatetime"},33:{n:"BrtPCRRecord"},34:{n:"BrtPCRRecordDt"},35:{n:"BrtFRTBegin"},36:{n:"BrtFRTEnd"},37:{n:"BrtACBegin"},38:{n:"BrtACEnd"},39:{n:"BrtName",f:$g},40:{n:"BrtIndexRowBlock"},42:{n:"BrtIndexBlock"},43:{n:"BrtFont",f:eu},44:{n:"BrtFmt",f:su},45:{n:"BrtFill",f:Qc},46:{n:"BrtBorder",f:rc},47:{n:"BrtXF",f:zl},48:{n:"BrtStyle"},49:{n:"BrtCellMeta"},50:{n:"BrtValueMeta"},51:{n:"BrtMdb"},52:{n:"BrtBeginFmd"},53:{n:"BrtEndFmd"},54:{n:"BrtBeginMdx"},55:{n:"BrtEndMdx"},56:{n:"BrtBeginMdxTuple"},57:{n:"BrtEndMdxTuple"},58:{n:"BrtMdxMbrIstr"},59:{n:"BrtStr"},60:{n:"BrtColInfo",f:iu},62:{n:"BrtCellRString"},63:{n:"BrtCalcChainItem$",f:df},64:{n:"BrtDVal",f:fg},65:{n:"BrtSxvcellNum"},66:{n:"BrtSxvcellStr"},67:{n:"BrtSxvcellBool"},68:{n:"BrtSxvcellErr"},69:{n:"BrtSxvcellDate"},70:{n:"BrtSxvcellNil"},128:{n:"BrtFileVersion"},129:{n:"BrtBeginSheet"},130:{n:"BrtEndSheet"},131:{n:"BrtBeginBook",f:ki,p:0},132:{n:"BrtEndBook"},133:{n:"BrtBeginWsViews"},134:{n:"BrtEndWsViews"},135:{n:"BrtBeginBookViews"},136:{n:"BrtEndBookViews"},137:{n:"BrtBeginWsView",f:cg},138:{n:"BrtEndWsView"},139:{n:"BrtBeginCsViews"},140:{n:"BrtEndCsViews"},141:{n:"BrtBeginCsView"},142:{n:"BrtEndCsView"},143:{n:"BrtBeginBundleShs"},144:{n:"BrtEndBundleShs"},145:{n:"BrtBeginSheetData"},146:{n:"BrtEndSheetData"},147:{n:"BrtWsProp",f:b0},148:{n:"BrtWsDim",f:g0,p:16},151:{n:"BrtPane",f:ng},152:{n:"BrtSel"},153:{n:"BrtWbProp",f:Qg},154:{n:"BrtWbFactoid"},155:{n:"BrtFileRecover"},156:{n:"BrtBundleSh",f:Gg},157:{n:"BrtCalcProp"},158:{n:"BrtBookView"},159:{n:"BrtBeginSst",f:se},160:{n:"BrtEndSst"},161:{n:"BrtBeginAFilter",f:xa},162:{n:"BrtEndAFilter"},163:{n:"BrtBeginFilterColumn"},164:{n:"BrtEndFilterColumn"},165:{n:"BrtBeginFilters"},166:{n:"BrtEndFilters"},167:{n:"BrtFilter"},168:{n:"BrtColorFilter"},169:{n:"BrtIconFilter"},170:{n:"BrtTop10Filter"},171:{n:"BrtDynamicFilter"},172:{n:"BrtBeginCustomFilters"},173:{n:"BrtEndCustomFilters"},174:{n:"BrtCustomFilter"},175:{n:"BrtAFilterDateGroupItem"},176:{n:"BrtMergeCell",f:$0},177:{n:"BrtBeginMergeCells"},178:{n:"BrtEndMergeCells"},179:{n:"BrtBeginPivotCacheDef"},180:{n:"BrtEndPivotCacheDef"},181:{n:"BrtBeginPCDFields"},182:{n:"BrtEndPCDFields"},183:{n:"BrtBeginPCDField"},184:{n:"BrtEndPCDField"},185:{n:"BrtBeginPCDSource"},186:{n:"BrtEndPCDSource"},187:{n:"BrtBeginPCDSRange"},188:{n:"BrtEndPCDSRange"},189:{n:"BrtBeginPCDFAtbl"},190:{n:"BrtEndPCDFAtbl"},191:{n:"BrtBeginPCDIRun"},192:{n:"BrtEndPCDIRun"},193:{n:"BrtBeginPivotCacheRecords"},194:{n:"BrtEndPivotCacheRecords"},195:{n:"BrtBeginPCDHierarchies"},196:{n:"BrtEndPCDHierarchies"},197:{n:"BrtBeginPCDHierarchy"},198:{n:"BrtEndPCDHierarchy"},199:{n:"BrtBeginPCDHFieldsUsage"},200:{n:"BrtEndPCDHFieldsUsage"},201:{n:"BrtBeginExtConnection"},202:{n:"BrtEndExtConnection"},203:{n:"BrtBeginECDbProps"},204:{n:"BrtEndECDbProps"},205:{n:"BrtBeginECOlapProps"},206:{n:"BrtEndECOlapProps"},207:{n:"BrtBeginPCDSConsol"},208:{n:"BrtEndPCDSConsol"},209:{n:"BrtBeginPCDSCPages"},210:{n:"BrtEndPCDSCPages"},211:{n:"BrtBeginPCDSCPage"},212:{n:"BrtEndPCDSCPage"},213:{n:"BrtBeginPCDSCPItem"},214:{n:"BrtEndPCDSCPItem"},215:{n:"BrtBeginPCDSCSets"},216:{n:"BrtEndPCDSCSets"},217:{n:"BrtBeginPCDSCSet"},218:{n:"BrtEndPCDSCSet"},219:{n:"BrtBeginPCDFGroup"},220:{n:"BrtEndPCDFGroup"},221:{n:"BrtBeginPCDFGItems"},222:{n:"BrtEndPCDFGItems"},223:{n:"BrtBeginPCDFGRange"},224:{n:"BrtEndPCDFGRange"},225:{n:"BrtBeginPCDFGDiscrete"},226:{n:"BrtEndPCDFGDiscrete"},227:{n:"BrtBeginPCDSDTupleCache"},228:{n:"BrtEndPCDSDTupleCache"},229:{n:"BrtBeginPCDSDTCEntries"},230:{n:"BrtEndPCDSDTCEntries"},231:{n:"BrtBeginPCDSDTCEMembers"},232:{n:"BrtEndPCDSDTCEMembers"},233:{n:"BrtBeginPCDSDTCEMember"},234:{n:"BrtEndPCDSDTCEMember"},235:{n:"BrtBeginPCDSDTCQueries"},236:{n:"BrtEndPCDSDTCQueries"},237:{n:"BrtBeginPCDSDTCQuery"},238:{n:"BrtEndPCDSDTCQuery"},239:{n:"BrtBeginPCDSDTCSets"},240:{n:"BrtEndPCDSDTCSets"},241:{n:"BrtBeginPCDSDTCSet"},242:{n:"BrtEndPCDSDTCSet"},243:{n:"BrtBeginPCDCalcItems"},244:{n:"BrtEndPCDCalcItems"},245:{n:"BrtBeginPCDCalcItem"},246:{n:"BrtEndPCDCalcItem"},247:{n:"BrtBeginPRule"},248:{n:"BrtEndPRule"},249:{n:"BrtBeginPRFilters"},250:{n:"BrtEndPRFilters"},251:{n:"BrtBeginPRFilter"},252:{n:"BrtEndPRFilter"},253:{n:"BrtBeginPNames"},254:{n:"BrtEndPNames"},255:{n:"BrtBeginPName"},256:{n:"BrtEndPName"},257:{n:"BrtBeginPNPairs"},258:{n:"BrtEndPNPairs"},259:{n:"BrtBeginPNPair"},260:{n:"BrtEndPNPair"},261:{n:"BrtBeginECWebProps"},262:{n:"BrtEndECWebProps"},263:{n:"BrtBeginEcWpTables"},264:{n:"BrtEndECWPTables"},265:{n:"BrtBeginECParams"},266:{n:"BrtEndECParams"},267:{n:"BrtBeginECParam"},268:{n:"BrtEndECParam"},269:{n:"BrtBeginPCDKPIs"},270:{n:"BrtEndPCDKPIs"},271:{n:"BrtBeginPCDKPI"},272:{n:"BrtEndPCDKPI"},273:{n:"BrtBeginDims"},274:{n:"BrtEndDims"},275:{n:"BrtBeginDim"},276:{n:"BrtEndDim"},277:{n:"BrtIndexPartEnd"},278:{n:"BrtBeginStyleSheet"},279:{n:"BrtEndStyleSheet"},280:{n:"BrtBeginSXView"},281:{n:"BrtEndSXVI"},282:{n:"BrtBeginSXVI"},283:{n:"BrtBeginSXVIs"},284:{n:"BrtEndSXVIs"},285:{n:"BrtBeginSXVD"},286:{n:"BrtEndSXVD"},287:{n:"BrtBeginSXVDs"},288:{n:"BrtEndSXVDs"},289:{n:"BrtBeginSXPI"},290:{n:"BrtEndSXPI"},291:{n:"BrtBeginSXPIs"},292:{n:"BrtEndSXPIs"},293:{n:"BrtBeginSXDI"},294:{n:"BrtEndSXDI"},295:{n:"BrtBeginSXDIs"},296:{n:"BrtEndSXDIs"},297:{n:"BrtBeginSXLI"},298:{n:"BrtEndSXLI"},299:{n:"BrtBeginSXLIRws"},300:{n:"BrtEndSXLIRws"},301:{n:"BrtBeginSXLICols"},302:{n:"BrtEndSXLICols"},303:{n:"BrtBeginSXFormat"},304:{n:"BrtEndSXFormat"},305:{n:"BrtBeginSXFormats"},306:{n:"BrtEndSxFormats"},307:{n:"BrtBeginSxSelect"},308:{n:"BrtEndSxSelect"},309:{n:"BrtBeginISXVDRws"},310:{n:"BrtEndISXVDRws"},311:{n:"BrtBeginISXVDCols"},312:{n:"BrtEndISXVDCols"},313:{n:"BrtEndSXLocation"},314:{n:"BrtBeginSXLocation"},315:{n:"BrtEndSXView"},316:{n:"BrtBeginSXTHs"},317:{n:"BrtEndSXTHs"},318:{n:"BrtBeginSXTH"},319:{n:"BrtEndSXTH"},320:{n:"BrtBeginISXTHRws"},321:{n:"BrtEndISXTHRws"},322:{n:"BrtBeginISXTHCols"},323:{n:"BrtEndISXTHCols"},324:{n:"BrtBeginSXTDMPS"},325:{n:"BrtEndSXTDMPs"},326:{n:"BrtBeginSXTDMP"},327:{n:"BrtEndSXTDMP"},328:{n:"BrtBeginSXTHItems"},329:{n:"BrtEndSXTHItems"},330:{n:"BrtBeginSXTHItem"},331:{n:"BrtEndSXTHItem"},332:{n:"BrtBeginMetadata"},333:{n:"BrtEndMetadata"},334:{n:"BrtBeginEsmdtinfo"},335:{n:"BrtMdtinfo"},336:{n:"BrtEndEsmdtinfo"},337:{n:"BrtBeginEsmdb"},338:{n:"BrtEndEsmdb"},339:{n:"BrtBeginEsfmd"},340:{n:"BrtEndEsfmd"},341:{n:"BrtBeginSingleCells"},342:{n:"BrtEndSingleCells"},343:{n:"BrtBeginList"},344:{n:"BrtEndList"},345:{n:"BrtBeginListCols"},346:{n:"BrtEndListCols"},347:{n:"BrtBeginListCol"},348:{n:"BrtEndListCol"},349:{n:"BrtBeginListXmlCPr"},350:{n:"BrtEndListXmlCPr"},351:{n:"BrtListCCFmla"},352:{n:"BrtListTrFmla"},353:{n:"BrtBeginExternals"},354:{n:"BrtEndExternals"},355:{n:"BrtSupBookSrc",f:ca},357:{n:"BrtSupSelf"},358:{n:"BrtSupSame"},359:{n:"BrtSupTabs"},360:{n:"BrtBeginSupBook"},361:{n:"BrtPlaceholderName"},362:{n:"BrtExternSheet",f:$c},363:{n:"BrtExternTableStart"},364:{n:"BrtExternTableEnd"},366:{n:"BrtExternRowHdr"},367:{n:"BrtExternCellBlank"},368:{n:"BrtExternCellReal"},369:{n:"BrtExternCellBool"},370:{n:"BrtExternCellError"},371:{n:"BrtExternCellString"},372:{n:"BrtBeginEsmdx"},373:{n:"BrtEndEsmdx"},374:{n:"BrtBeginMdxSet"},375:{n:"BrtEndMdxSet"},376:{n:"BrtBeginMdxMbrProp"},377:{n:"BrtEndMdxMbrProp"},378:{n:"BrtBeginMdxKPI"},379:{n:"BrtEndMdxKPI"},380:{n:"BrtBeginEsstr"},381:{n:"BrtEndEsstr"},382:{n:"BrtBeginPRFItem"},383:{n:"BrtEndPRFItem"},384:{n:"BrtBeginPivotCacheIDs"},385:{n:"BrtEndPivotCacheIDs"},386:{n:"BrtBeginPivotCacheID"},387:{n:"BrtEndPivotCacheID"},388:{n:"BrtBeginISXVIs"},389:{n:"BrtEndISXVIs"},390:{n:"BrtBeginColInfos"},391:{n:"BrtEndColInfos"},392:{n:"BrtBeginRwBrk"},393:{n:"BrtEndRwBrk"},394:{n:"BrtBeginColBrk"},395:{n:"BrtEndColBrk"},396:{n:"BrtBrk"},397:{n:"BrtUserBookView"},398:{n:"BrtInfo"},399:{n:"BrtCUsr"},400:{n:"BrtUsr"},401:{n:"BrtBeginUsers"},403:{n:"BrtEOF"},404:{n:"BrtUCR"},405:{n:"BrtRRInsDel"},406:{n:"BrtRREndInsDel"},407:{n:"BrtRRMove"},408:{n:"BrtRREndMove"},409:{n:"BrtRRChgCell"},410:{n:"BrtRREndChgCell"},411:{n:"BrtRRHeader"},412:{n:"BrtRRUserView"},413:{n:"BrtRRRenSheet"},414:{n:"BrtRRInsertSh"},415:{n:"BrtRRDefName"},416:{n:"BrtRRNote"},417:{n:"BrtRRConflict"},418:{n:"BrtRRTQSIF"},419:{n:"BrtRRFormat"},420:{n:"BrtRREndFormat"},421:{n:"BrtRRAutoFmt"},422:{n:"BrtBeginUserShViews"},423:{n:"BrtBeginUserShView"},424:{n:"BrtEndUserShView"},425:{n:"BrtEndUserShViews"},426:{n:"BrtArrFmla",f:ig},427:{n:"BrtShrFmla",f:ag},428:{n:"BrtTable"},429:{n:"BrtBeginExtConnections"},430:{n:"BrtEndExtConnections"},431:{n:"BrtBeginPCDCalcMems"},432:{n:"BrtEndPCDCalcMems"},433:{n:"BrtBeginPCDCalcMem"},434:{n:"BrtEndPCDCalcMem"},435:{n:"BrtBeginPCDHGLevels"},436:{n:"BrtEndPCDHGLevels"},437:{n:"BrtBeginPCDHGLevel"},438:{n:"BrtEndPCDHGLevel"},439:{n:"BrtBeginPCDHGLGroups"},440:{n:"BrtEndPCDHGLGroups"},441:{n:"BrtBeginPCDHGLGroup"},442:{n:"BrtEndPCDHGLGroup"},443:{n:"BrtBeginPCDHGLGMembers"},444:{n:"BrtEndPCDHGLGMembers"},445:{n:"BrtBeginPCDHGLGMember"},446:{n:"BrtEndPCDHGLGMember"},447:{n:"BrtBeginQSI"},448:{n:"BrtEndQSI"},449:{n:"BrtBeginQSIR"},450:{n:"BrtEndQSIR"},451:{n:"BrtBeginDeletedNames"},452:{n:"BrtEndDeletedNames"},453:{n:"BrtBeginDeletedName"},454:{n:"BrtEndDeletedName"},455:{n:"BrtBeginQSIFs"},456:{n:"BrtEndQSIFs"},457:{n:"BrtBeginQSIF"},458:{n:"BrtEndQSIF"},459:{n:"BrtBeginAutoSortScope"},460:{n:"BrtEndAutoSortScope"},461:{n:"BrtBeginConditionalFormatting"},462:{n:"BrtEndConditionalFormatting"},463:{n:"BrtBeginCFRule"},464:{n:"BrtEndCFRule"},465:{n:"BrtBeginIconSet"},466:{n:"BrtEndIconSet"},467:{n:"BrtBeginDatabar"},468:{n:"BrtEndDatabar"},469:{n:"BrtBeginColorScale"},470:{n:"BrtEndColorScale"},471:{n:"BrtCFVO"},472:{n:"BrtExternValueMeta"},473:{n:"BrtBeginColorPalette"},474:{n:"BrtEndColorPalette"},475:{n:"BrtIndexedColor"},476:{n:"BrtMargins",f:sg},477:{n:"BrtPrintOptions"},478:{n:"BrtPageSetup"},479:{n:"BrtBeginHeaderFooter"},480:{n:"BrtEndHeaderFooter"},481:{n:"BrtBeginSXCrtFormat"},482:{n:"BrtEndSXCrtFormat"},483:{n:"BrtBeginSXCrtFormats"},484:{n:"BrtEndSXCrtFormats"},485:{n:"BrtWsFmtInfo",f:v0},486:{n:"BrtBeginMgs"},487:{n:"BrtEndMGs"},488:{n:"BrtBeginMGMaps"},489:{n:"BrtEndMGMaps"},490:{n:"BrtBeginMG"},491:{n:"BrtEndMG"},492:{n:"BrtBeginMap"},493:{n:"BrtEndMap"},494:{n:"BrtHLink",f:tg},495:{n:"BrtBeginDCon"},496:{n:"BrtEndDCon"},497:{n:"BrtBeginDRefs"},498:{n:"BrtEndDRefs"},499:{n:"BrtDRef"},500:{n:"BrtBeginScenMan"},501:{n:"BrtEndScenMan"},502:{n:"BrtBeginSct"},503:{n:"BrtEndSct"},504:{n:"BrtSlc"},505:{n:"BrtBeginDXFs"},506:{n:"BrtEndDXFs"},507:{n:"BrtDXF"},508:{n:"BrtBeginTableStyles"},509:{n:"BrtEndTableStyles"},510:{n:"BrtBeginTableStyle"},511:{n:"BrtEndTableStyle"},512:{n:"BrtTableStyleElement"},513:{n:"BrtTableStyleClient"},514:{n:"BrtBeginVolDeps"},515:{n:"BrtEndVolDeps"},516:{n:"BrtBeginVolType"},517:{n:"BrtEndVolType"},518:{n:"BrtBeginVolMain"},519:{n:"BrtEndVolMain"},520:{n:"BrtBeginVolTopic"},521:{n:"BrtEndVolTopic"},522:{n:"BrtVolSubtopic"},523:{n:"BrtVolRef"},524:{n:"BrtVolNum"},525:{n:"BrtVolErr"},526:{n:"BrtVolStr"},527:{n:"BrtVolBool"},528:{n:"BrtBeginCalcChain$"},529:{n:"BrtEndCalcChain$"},530:{n:"BrtBeginSortState"},531:{n:"BrtEndSortState"},532:{n:"BrtBeginSortCond"},533:{n:"BrtEndSortCond"},534:{n:"BrtBookProtection"},535:{n:"BrtSheetProtection"},536:{n:"BrtRangeProtection"},537:{n:"BrtPhoneticInfo"},538:{n:"BrtBeginECTxtWiz"},539:{n:"BrtEndECTxtWiz"},540:{n:"BrtBeginECTWFldInfoLst"},541:{n:"BrtEndECTWFldInfoLst"},542:{n:"BrtBeginECTwFldInfo"},548:{n:"BrtFileSharing"},549:{n:"BrtOleSize"},550:{n:"BrtDrawing",f:ca},551:{n:"BrtLegacyDrawing"},552:{n:"BrtLegacyDrawingHF"},553:{n:"BrtWebOpt"},554:{n:"BrtBeginWebPubItems"},555:{n:"BrtEndWebPubItems"},556:{n:"BrtBeginWebPubItem"},557:{n:"BrtEndWebPubItem"},558:{n:"BrtBeginSXCondFmt"},559:{n:"BrtEndSXCondFmt"},560:{n:"BrtBeginSXCondFmts"},561:{n:"BrtEndSXCondFmts"},562:{n:"BrtBkHim"},564:{n:"BrtColor"},565:{n:"BrtBeginIndexedColors"},566:{n:"BrtEndIndexedColors"},569:{n:"BrtBeginMRUColors"},570:{n:"BrtEndMRUColors"},572:{n:"BrtMRUColor"},573:{n:"BrtBeginDVals"},574:{n:"BrtEndDVals"},577:{n:"BrtSupNameStart"},578:{n:"BrtSupNameValueStart"},579:{n:"BrtSupNameValueEnd"},580:{n:"BrtSupNameNum"},581:{n:"BrtSupNameErr"},582:{n:"BrtSupNameSt"},583:{n:"BrtSupNameNil"},584:{n:"BrtSupNameBool"},585:{n:"BrtSupNameFmla"},586:{n:"BrtSupNameBits"},587:{n:"BrtSupNameEnd"},588:{n:"BrtEndSupBook"},589:{n:"BrtCellSmartTagProperty"},590:{n:"BrtBeginCellSmartTag"},591:{n:"BrtEndCellSmartTag"},592:{n:"BrtBeginCellSmartTags"},593:{n:"BrtEndCellSmartTags"},594:{n:"BrtBeginSmartTags"},595:{n:"BrtEndSmartTags"},596:{n:"BrtSmartTagType"},597:{n:"BrtBeginSmartTagTypes"},598:{n:"BrtEndSmartTagTypes"},599:{n:"BrtBeginSXFilters"},600:{n:"BrtEndSXFilters"},601:{n:"BrtBeginSXFILTER"},602:{n:"BrtEndSXFilter"},603:{n:"BrtBeginFills"},604:{n:"BrtEndFills"},605:{n:"BrtBeginCellWatches"},606:{n:"BrtEndCellWatches"},607:{n:"BrtCellWatch"},608:{n:"BrtBeginCRErrs"},609:{n:"BrtEndCRErrs"},610:{n:"BrtCrashRecErr"},611:{n:"BrtBeginFonts"},612:{n:"BrtEndFonts"},613:{n:"BrtBeginBorders"},614:{n:"BrtEndBorders"},615:{n:"BrtBeginFmts"},616:{n:"BrtEndFmts"},617:{n:"BrtBeginCellXFs"},618:{n:"BrtEndCellXFs"},619:{n:"BrtBeginStyles"},620:{n:"BrtEndStyles"},625:{n:"BrtBigName"},626:{n:"BrtBeginCellStyleXFs"},627:{n:"BrtEndCellStyleXFs"},628:{n:"BrtBeginComments"},629:{n:"BrtEndComments"},630:{n:"BrtBeginCommentAuthors"},631:{n:"BrtEndCommentAuthors"},632:{n:"BrtCommentAuthor",f:Fe},633:{n:"BrtBeginCommentList"},634:{n:"BrtEndCommentList"},635:{n:"BrtBeginComment",f:xt},636:{n:"BrtEndComment"},637:{n:"BrtCommentText",f:On},638:{n:"BrtBeginOleObjects"},639:{n:"BrtOleObject"},640:{n:"BrtEndOleObjects"},641:{n:"BrtBeginSxrules"},642:{n:"BrtEndSxRules"},643:{n:"BrtBeginActiveXControls"},644:{n:"BrtActiveX"},645:{n:"BrtEndActiveXControls"},646:{n:"BrtBeginPCDSDTCEMembersSortBy"},648:{n:"BrtBeginCellIgnoreECs"},649:{n:"BrtCellIgnoreEC"},650:{n:"BrtEndCellIgnoreECs"},651:{n:"BrtCsProp",f:Mg},652:{n:"BrtCsPageSetup"},653:{n:"BrtBeginUserCsViews"},654:{n:"BrtEndUserCsViews"},655:{n:"BrtBeginUserCsView"},656:{n:"BrtEndUserCsView"},657:{n:"BrtBeginPcdSFCIEntries"},658:{n:"BrtEndPCDSFCIEntries"},659:{n:"BrtPCDSFCIEntry"},660:{n:"BrtBeginListParts"},661:{n:"BrtListPart"},662:{n:"BrtEndListParts"},663:{n:"BrtSheetCalcProp"},664:{n:"BrtBeginFnGroup"},665:{n:"BrtFnGroup"},666:{n:"BrtEndFnGroup"},667:{n:"BrtSupAddin"},668:{n:"BrtSXTDMPOrder"},669:{n:"BrtCsProtection"},671:{n:"BrtBeginWsSortMap"},672:{n:"BrtEndWsSortMap"},673:{n:"BrtBeginRRSort"},674:{n:"BrtEndRRSort"},675:{n:"BrtRRSortItem"},676:{n:"BrtFileSharingIso"},677:{n:"BrtBookProtectionIso"},678:{n:"BrtSheetProtectionIso"},679:{n:"BrtCsProtectionIso"},680:{n:"BrtRangeProtectionIso"},681:{n:"BrtDValList"},1024:{n:"BrtRwDescent"},1025:{n:"BrtKnownFonts"},1026:{n:"BrtBeginSXTupleSet"},1027:{n:"BrtEndSXTupleSet"},1028:{n:"BrtBeginSXTupleSetHeader"},1029:{n:"BrtEndSXTupleSetHeader"},1030:{n:"BrtSXTupleSetHeaderItem"},1031:{n:"BrtBeginSXTupleSetData"},1032:{n:"BrtEndSXTupleSetData"},1033:{n:"BrtBeginSXTupleSetRow"},1034:{n:"BrtEndSXTupleSetRow"},1035:{n:"BrtSXTupleSetRowItem"},1036:{n:"BrtNameExt"},1037:{n:"BrtPCDH14"},1038:{n:"BrtBeginPCDCalcMem14"},1039:{n:"BrtEndPCDCalcMem14"},1040:{n:"BrtSXTH14"},1041:{n:"BrtBeginSparklineGroup"},1042:{n:"BrtEndSparklineGroup"},1043:{n:"BrtSparkline"},1044:{n:"BrtSXDI14"},1045:{n:"BrtWsFmtInfoEx14"},1046:{n:"BrtBeginConditionalFormatting14"},1047:{n:"BrtEndConditionalFormatting14"},1048:{n:"BrtBeginCFRule14"},1049:{n:"BrtEndCFRule14"},1050:{n:"BrtCFVO14"},1051:{n:"BrtBeginDatabar14"},1052:{n:"BrtBeginIconSet14"},1053:{n:"BrtDVal14",f:pg},1054:{n:"BrtBeginDVals14"},1055:{n:"BrtColor14"},1056:{n:"BrtBeginSparklines"},1057:{n:"BrtEndSparklines"},1058:{n:"BrtBeginSparklineGroups"},1059:{n:"BrtEndSparklineGroups"},1061:{n:"BrtSXVD14"},1062:{n:"BrtBeginSXView14"},1063:{n:"BrtEndSXView14"},1064:{n:"BrtBeginSXView16"},1065:{n:"BrtEndSXView16"},1066:{n:"BrtBeginPCD14"},1067:{n:"BrtEndPCD14"},1068:{n:"BrtBeginExtConn14"},1069:{n:"BrtEndExtConn14"},1070:{n:"BrtBeginSlicerCacheIDs"},1071:{n:"BrtEndSlicerCacheIDs"},1072:{n:"BrtBeginSlicerCacheID"},1073:{n:"BrtEndSlicerCacheID"},1075:{n:"BrtBeginSlicerCache"},1076:{n:"BrtEndSlicerCache"},1077:{n:"BrtBeginSlicerCacheDef"},1078:{n:"BrtEndSlicerCacheDef"},1079:{n:"BrtBeginSlicersEx"},1080:{n:"BrtEndSlicersEx"},1081:{n:"BrtBeginSlicerEx"},1082:{n:"BrtEndSlicerEx"},1083:{n:"BrtBeginSlicer"},1084:{n:"BrtEndSlicer"},1085:{n:"BrtSlicerCachePivotTables"},1086:{n:"BrtBeginSlicerCacheOlapImpl"},1087:{n:"BrtEndSlicerCacheOlapImpl"},1088:{n:"BrtBeginSlicerCacheLevelsData"},1089:{n:"BrtEndSlicerCacheLevelsData"},1090:{n:"BrtBeginSlicerCacheLevelData"},1091:{n:"BrtEndSlicerCacheLevelData"},1092:{n:"BrtBeginSlicerCacheSiRanges"},1093:{n:"BrtEndSlicerCacheSiRanges"},1094:{n:"BrtBeginSlicerCacheSiRange"},1095:{n:"BrtEndSlicerCacheSiRange"},1096:{n:"BrtSlicerCacheOlapItem"},1097:{n:"BrtBeginSlicerCacheSelections"},1098:{n:"BrtSlicerCacheSelection"},1099:{n:"BrtEndSlicerCacheSelections"},1100:{n:"BrtBeginSlicerCacheNative"},1101:{n:"BrtEndSlicerCacheNative"},1102:{n:"BrtSlicerCacheNativeItem"},1103:{n:"BrtRangeProtection14"},1104:{n:"BrtRangeProtectionIso14"},1105:{n:"BrtCellIgnoreEC14"},1111:{n:"BrtList14"},1112:{n:"BrtCFIcon"},1113:{n:"BrtBeginSlicerCachesPivotCacheIDs"},1114:{n:"BrtEndSlicerCachesPivotCacheIDs"},1115:{n:"BrtBeginSlicers"},1116:{n:"BrtEndSlicers"},1117:{n:"BrtWbProp14"},1118:{n:"BrtBeginSXEdit"},1119:{n:"BrtEndSXEdit"},1120:{n:"BrtBeginSXEdits"},1121:{n:"BrtEndSXEdits"},1122:{n:"BrtBeginSXChange"},1123:{n:"BrtEndSXChange"},1124:{n:"BrtBeginSXChanges"},1125:{n:"BrtEndSXChanges"},1126:{n:"BrtSXTupleItems"},1128:{n:"BrtBeginSlicerStyle"},1129:{n:"BrtEndSlicerStyle"},1130:{n:"BrtSlicerStyleElement"},1131:{n:"BrtBeginStyleSheetExt14"},1132:{n:"BrtEndStyleSheetExt14"},1133:{n:"BrtBeginSlicerCachesPivotCacheID"},1134:{n:"BrtEndSlicerCachesPivotCacheID"},1135:{n:"BrtBeginConditionalFormattings"},1136:{n:"BrtEndConditionalFormattings"},1137:{n:"BrtBeginPCDCalcMemExt"},1138:{n:"BrtEndPCDCalcMemExt"},1139:{n:"BrtBeginPCDCalcMemsExt"},1140:{n:"BrtEndPCDCalcMemsExt"},1141:{n:"BrtPCDField14"},1142:{n:"BrtBeginSlicerStyles"},1143:{n:"BrtEndSlicerStyles"},1144:{n:"BrtBeginSlicerStyleElements"},1145:{n:"BrtEndSlicerStyleElements"},1146:{n:"BrtCFRuleExt"},1147:{n:"BrtBeginSXCondFmt14"},1148:{n:"BrtEndSXCondFmt14"},1149:{n:"BrtBeginSXCondFmts14"},1150:{n:"BrtEndSXCondFmts14"},1152:{n:"BrtBeginSortCond14"},1153:{n:"BrtEndSortCond14"},1154:{n:"BrtEndDVals14"},1155:{n:"BrtEndIconSet14"},1156:{n:"BrtEndDatabar14"},1157:{n:"BrtBeginColorScale14"},1158:{n:"BrtEndColorScale14"},1159:{n:"BrtBeginSxrules14"},1160:{n:"BrtEndSxrules14"},1161:{n:"BrtBeginPRule14"},1162:{n:"BrtEndPRule14"},1163:{n:"BrtBeginPRFilters14"},1164:{n:"BrtEndPRFilters14"},1165:{n:"BrtBeginPRFilter14"},1166:{n:"BrtEndPRFilter14"},1167:{n:"BrtBeginPRFItem14"},1168:{n:"BrtEndPRFItem14"},1169:{n:"BrtBeginCellIgnoreECs14"},1170:{n:"BrtEndCellIgnoreECs14"},1171:{n:"BrtDxf14"},1172:{n:"BrtBeginDxF14s"},1173:{n:"BrtEndDxf14s"},1177:{n:"BrtFilter14"},1178:{n:"BrtBeginCustomFilters14"},1180:{n:"BrtCustomFilter14"},1181:{n:"BrtIconFilter14"},1182:{n:"BrtPivotCacheConnectionName"},2048:{n:"BrtBeginDecoupledPivotCacheIDs"},2049:{n:"BrtEndDecoupledPivotCacheIDs"},2050:{n:"BrtDecoupledPivotCacheID"},2051:{n:"BrtBeginPivotTableRefs"},2052:{n:"BrtEndPivotTableRefs"},2053:{n:"BrtPivotTableRef"},2054:{n:"BrtSlicerCacheBookPivotTables"},2055:{n:"BrtBeginSxvcells"},2056:{n:"BrtEndSxvcells"},2057:{n:"BrtBeginSxRow"},2058:{n:"BrtEndSxRow"},2060:{n:"BrtPcdCalcMem15"},2067:{n:"BrtQsi15"},2068:{n:"BrtBeginWebExtensions"},2069:{n:"BrtEndWebExtensions"},2070:{n:"BrtWebExtension"},2071:{n:"BrtAbsPath15"},2072:{n:"BrtBeginPivotTableUISettings"},2073:{n:"BrtEndPivotTableUISettings"},2075:{n:"BrtTableSlicerCacheIDs"},2076:{n:"BrtTableSlicerCacheID"},2077:{n:"BrtBeginTableSlicerCache"},2078:{n:"BrtEndTableSlicerCache"},2079:{n:"BrtSxFilter15"},2080:{n:"BrtBeginTimelineCachePivotCacheIDs"},2081:{n:"BrtEndTimelineCachePivotCacheIDs"},2082:{n:"BrtTimelineCachePivotCacheID"},2083:{n:"BrtBeginTimelineCacheIDs"},2084:{n:"BrtEndTimelineCacheIDs"},2085:{n:"BrtBeginTimelineCacheID"},2086:{n:"BrtEndTimelineCacheID"},2087:{n:"BrtBeginTimelinesEx"},2088:{n:"BrtEndTimelinesEx"},2089:{n:"BrtBeginTimelineEx"},2090:{n:"BrtEndTimelineEx"},2091:{n:"BrtWorkBookPr15"},2092:{n:"BrtPCDH15"},2093:{n:"BrtBeginTimelineStyle"},2094:{n:"BrtEndTimelineStyle"},2095:{n:"BrtTimelineStyleElement"},2096:{n:"BrtBeginTimelineStylesheetExt15"},2097:{n:"BrtEndTimelineStylesheetExt15"},2098:{n:"BrtBeginTimelineStyles"},2099:{n:"BrtEndTimelineStyles"},2100:{n:"BrtBeginTimelineStyleElements"},2101:{n:"BrtEndTimelineStyleElements"},2102:{n:"BrtDxf15"},2103:{n:"BrtBeginDxfs15"},2104:{n:"brtEndDxfs15"},2105:{n:"BrtSlicerCacheHideItemsWithNoData"},2106:{n:"BrtBeginItemUniqueNames"},2107:{n:"BrtEndItemUniqueNames"},2108:{n:"BrtItemUniqueName"},2109:{n:"BrtBeginExtConn15"},2110:{n:"BrtEndExtConn15"},2111:{n:"BrtBeginOledbPr15"},2112:{n:"BrtEndOledbPr15"},2113:{n:"BrtBeginDataFeedPr15"},2114:{n:"BrtEndDataFeedPr15"},2115:{n:"BrtTextPr15"},2116:{n:"BrtRangePr15"},2117:{n:"BrtDbCommand15"},2118:{n:"BrtBeginDbTables15"},2119:{n:"BrtEndDbTables15"},2120:{n:"BrtDbTable15"},2121:{n:"BrtBeginDataModel"},2122:{n:"BrtEndDataModel"},2123:{n:"BrtBeginModelTables"},2124:{n:"BrtEndModelTables"},2125:{n:"BrtModelTable"},2126:{n:"BrtBeginModelRelationships"},2127:{n:"BrtEndModelRelationships"},2128:{n:"BrtModelRelationship"},2129:{n:"BrtBeginECTxtWiz15"},2130:{n:"BrtEndECTxtWiz15"},2131:{n:"BrtBeginECTWFldInfoLst15"},2132:{n:"BrtEndECTWFldInfoLst15"},2133:{n:"BrtBeginECTWFldInfo15"},2134:{n:"BrtFieldListActiveItem"},2135:{n:"BrtPivotCacheIdVersion"},2136:{n:"BrtSXDI15"},2137:{n:"BrtBeginModelTimeGroupings"},2138:{n:"BrtEndModelTimeGroupings"},2139:{n:"BrtBeginModelTimeGrouping"},2140:{n:"BrtEndModelTimeGrouping"},2141:{n:"BrtModelTimeGroupingCalcCol"},3072:{n:"BrtUid"},3073:{n:"BrtRevisionPtr"},5095:{n:"BrtBeginCalcFeatures"},5096:{n:"BrtEndCalcFeatures"},5097:{n:"BrtCalcFeature"},65535:{n:""}},tp=ae(Oh,"n");tp.BrtFRTArchID$=16;var ef={6:{n:"Formula",f:Cf},10:{n:"EOF",f:Hl},12:{n:"CalcCount",f:Rt},13:{n:"CalcMode",f:Rt},14:{n:"CalcPrecision",f:Ts},15:{n:"CalcRefMode",f:Ts},16:{n:"CalcDelta",f:oa},17:{n:"CalcIter",f:Ts},18:{n:"Protect",f:Ts},19:{n:"Password",f:Rt},20:{n:"Header",f:Iu},21:{n:"Footer",f:Iu},23:{n:"ExternSheet",f:$c},24:{n:"Lbl",f:Vu},25:{n:"WinProtect",f:Ts},26:{n:"VerticalPageBreaks"},27:{n:"HorizontalPageBreaks"},28:{n:"Note",f:ru},29:{n:"Selection"},34:{n:"Date1904",f:Ts},35:{n:"ExternName",f:Wu},38:{n:"LeftMargin",f:oa},39:{n:"RightMargin",f:oa},40:{n:"TopMargin",f:oa},41:{n:"BottomMargin",f:oa},42:{n:"PrintRowCol",f:Ts},43:{n:"PrintGrid",f:Ts},47:{n:"FilePass",f:le},49:{n:"Font",f:cc},51:{n:"PrintSize",f:Rt},60:{n:"Continue"},61:{n:"Window1",f:es},64:{n:"Backup",f:Ts},65:{n:"Pane",f:tc},66:{n:"CodePage",f:Rt},77:{n:"Pls"},80:{n:"DCon"},81:{n:"DConRef"},82:{n:"DConName"},85:{n:"DefColWidth",f:Rt},89:{n:"XCT"},90:{n:"CRN"},91:{n:"FileSharing"},92:{n:"WriteAccess",f:lo},93:{n:"Obj",f:nd},94:{n:"Uncalced"},95:{n:"CalcSaveRecalc",f:Ts},96:{n:"Template"},97:{n:"Intl"},99:{n:"ObjProtect",f:Ts},125:{n:"ColInfo",f:iu},128:{n:"Guts",f:Rc},129:{n:"WsBool",f:Cc},130:{n:"GridSet",f:Rt},131:{n:"HCenter",f:Ts},132:{n:"VCenter",f:Ts},133:{n:"BoundSheet8",f:Ec},134:{n:"WriteProtect"},140:{n:"Country",f:ad},141:{n:"HideObj",f:Rt},144:{n:"Sort"},146:{n:"Palette",f:Zl},151:{n:"Sync"},152:{n:"LPr"},153:{n:"DxGCol"},154:{n:"FnGroupName"},155:{n:"FilterMode"},156:{n:"BuiltInFnGroupCount",f:Rt},157:{n:"AutoFilterInfo"},158:{n:"AutoFilter"},160:{n:"Scl",f:kd},161:{n:"Setup",f:Zu},174:{n:"ScenMan"},175:{n:"SCENARIO"},176:{n:"SxView"},177:{n:"Sxvd"},178:{n:"SXVI"},180:{n:"SxIvd"},181:{n:"SXLI"},182:{n:"SXPI"},184:{n:"DocRoute"},185:{n:"RecipName"},189:{n:"MulRk",f:Dd},190:{n:"MulBlank",f:md},193:{n:"Mms",f:Hl},197:{n:"SXDI"},198:{n:"SXDB"},199:{n:"SXFDB"},200:{n:"SXDBB"},201:{n:"SXNum"},202:{n:"SxBool",f:Ts},203:{n:"SxErr"},204:{n:"SXInt"},205:{n:"SXString"},206:{n:"SXDtr"},207:{n:"SxNil"},208:{n:"SXTbl"},209:{n:"SXTBRGIITM"},210:{n:"SxTbpg"},211:{n:"ObProj"},213:{n:"SXStreamID"},215:{n:"DBCell"},216:{n:"SXRng"},217:{n:"SxIsxoper"},218:{n:"BookBool",f:Rt},220:{n:"DbOrParamQry"},221:{n:"ScenarioProtect",f:Ts},222:{n:"OleObjectSize"},224:{n:"XF",f:Rd},225:{n:"InterfaceHdr",f:al},226:{n:"InterfaceEnd",f:Hl},227:{n:"SXVS"},229:{n:"MergeCells",f:Gu},233:{n:"BkHim"},235:{n:"MsoDrawingGroup"},236:{n:"MsoDrawing"},237:{n:"MsoDrawingSelection"},239:{n:"PhoneticInfo"},240:{n:"SxRule"},241:{n:"SXEx"},242:{n:"SxFilt"},244:{n:"SxDXF"},245:{n:"SxItm"},246:{n:"SxName"},247:{n:"SxSelect"},248:{n:"SXPair"},249:{n:"SxFmla"},251:{n:"SxFormat"},252:{n:"SST",f:Ac},253:{n:"LabelSst",f:tl},255:{n:"ExtSST",f:vc},256:{n:"SXVDEx"},259:{n:"SXFormula"},290:{n:"SXDBEx"},311:{n:"RRDInsDel"},312:{n:"RRDHead"},315:{n:"RRDChgCell"},317:{n:"RRTabId",f:En},318:{n:"RRDRenSheet"},319:{n:"RRSort"},320:{n:"RRDMove"},330:{n:"RRFormat"},331:{n:"RRAutoFmt"},333:{n:"RRInsertSh"},334:{n:"RRDMoveBegin"},335:{n:"RRDMoveEnd"},336:{n:"RRDInsDelBegin"},337:{n:"RRDInsDelEnd"},338:{n:"RRDConflict"},339:{n:"RRDDefName"},340:{n:"RRDRstEtxp"},351:{n:"LRng"},352:{n:"UsesELFs",f:Ts},353:{n:"DSF",f:Hl},401:{n:"CUsr"},402:{n:"CbUsr"},403:{n:"UsrInfo"},404:{n:"UsrExcl"},405:{n:"FileLock"},406:{n:"RRDInfo"},407:{n:"BCUsrs"},408:{n:"UsrChk"},425:{n:"UserBView"},426:{n:"UserSViewBegin"},427:{n:"UserSViewEnd"},428:{n:"RRDUserView"},429:{n:"Qsi"},430:{n:"SupBook",f:yu},431:{n:"Prot4Rev",f:Ts},432:{n:"CondFmt"},433:{n:"CF"},434:{n:"DVal"},437:{n:"DConBin"},438:{n:"TxO",f:Ou},439:{n:"RefreshAll",f:Ts},440:{n:"HLink",f:gd},441:{n:"Lel"},442:{n:"CodeName",f:_t},443:{n:"SXFDBType"},444:{n:"Prot4RevPass",f:Rt},445:{n:"ObNoMacros"},446:{n:"Dv"},448:{n:"Excel9File",f:Hl},449:{n:"RecalcId",f:ms,r:2},450:{n:"EntExU2",f:Hl},512:{n:"Dimensions",f:Xc},513:{n:"Blank",f:bd},515:{n:"Number",f:zu},516:{n:"Label",f:Zs},517:{n:"BoolErr",f:Uc},519:{n:"String",f:Pd},520:{n:"Row",f:Lc},523:{n:"Index"},545:{n:"Array",f:nu},549:{n:"DefaultRowHeight",f:yo},566:{n:"Table"},574:{n:"Window2",f:Tl},638:{n:"RK",f:Tu},659:{n:"Style"},1048:{n:"BigName"},1054:{n:"Format",f:Ru},1084:{n:"ContinueBigName"},1212:{n:"ShrFmla",f:Xu},2048:{n:"HLinkTooltip",f:id},2049:{n:"WebPub"},2050:{n:"QsiSXTag"},2051:{n:"DBQueryExt"},2052:{n:"ExtString"},2053:{n:"TxtQry"},2054:{n:"Qsir"},2055:{n:"Qsif"},2056:{n:"RRDTQSIF"},2057:{n:"BOF",f:Jc},2058:{n:"OleDbConn"},2059:{n:"WOpt"},2060:{n:"SXViewEx"},2061:{n:"SXTH"},2062:{n:"SXPIEx"},2063:{n:"SXVDTEx"},2064:{n:"SXViewEx9"},2066:{n:"ContinueFrt"},2067:{n:"RealTimeData"},2128:{n:"ChartFrtInfo"},2129:{n:"FrtWrapper"},2130:{n:"StartBlock"},2131:{n:"EndBlock"},2132:{n:"StartObject"},2133:{n:"EndObject"},2134:{n:"CatLab"},2135:{n:"YMult"},2136:{n:"SXViewLink"},2137:{n:"PivotChartBits"},2138:{n:"FrtFontList"},2146:{n:"SheetExt"},2147:{n:"BookExt",r:12},2148:{n:"SXAddl"},2149:{n:"CrErr"},2150:{n:"HFPicture"},2151:{n:"FeatHdr",f:Hl},2152:{n:"Feat"},2154:{n:"DataLabExt"},2155:{n:"DataLabExtContents"},2156:{n:"CellWatch"},2161:{n:"FeatHdr11"},2162:{n:"Feature11"},2164:{n:"DropDownObjIds"},2165:{n:"ContinueFrt11"},2166:{n:"DConn"},2167:{n:"List12"},2168:{n:"Feature12"},2169:{n:"CondFmt12"},2170:{n:"CF12"},2171:{n:"CFEx"},2172:{n:"XFCRC",f:jc,r:12},2173:{n:"XFExt",f:cf,r:12},2174:{n:"AutoFilter12"},2175:{n:"ContinueFrt12"},2180:{n:"MDTInfo"},2181:{n:"MDXStr"},2182:{n:"MDXTuple"},2183:{n:"MDXSet"},2184:{n:"MDXProp"},2185:{n:"MDXKPI"},2186:{n:"MDB"},2187:{n:"PLV"},2188:{n:"Compat12",f:Ts,r:12},2189:{n:"DXF"},2190:{n:"TableStyles",r:12},2191:{n:"TableStyle"},2192:{n:"TableStyleElement"},2194:{n:"StyleExt"},2195:{n:"NamePublish"},2196:{n:"NameCmt",f:wu,r:12},2197:{n:"SortData"},2198:{n:"Theme",f:zd,r:12},2199:{n:"GUIDTypeLib"},2200:{n:"FnGrp12"},2201:{n:"NameFnGrp12"},2202:{n:"MTRSettings",f:Fd,r:12},2203:{n:"CompressPictures",f:Hl},2204:{n:"HeaderFooter"},2205:{n:"CrtLayout12"},2206:{n:"CrtMlFrt"},2207:{n:"CrtMlFrtContinue"},2211:{n:"ForceFullCalculation",f:_c},2212:{n:"ShapePropsStream"},2213:{n:"TextPropsStream"},2214:{n:"RichTextStream"},2215:{n:"CrtLayout12A"},4097:{n:"Units"},4098:{n:"Chart"},4099:{n:"Series"},4102:{n:"DataFormat"},4103:{n:"LineFormat"},4105:{n:"MarkerFormat"},4106:{n:"AreaFormat"},4107:{n:"PieFormat"},4108:{n:"AttachedLabel"},4109:{n:"SeriesText"},4116:{n:"ChartFormat"},4117:{n:"Legend"},4118:{n:"SeriesList"},4119:{n:"Bar"},4120:{n:"Line"},4121:{n:"Pie"},4122:{n:"Area"},4123:{n:"Scatter"},4124:{n:"CrtLine"},4125:{n:"Axis"},4126:{n:"Tick"},4127:{n:"ValueRange"},4128:{n:"CatSerRange"},4129:{n:"AxisLine"},4130:{n:"CrtLink"},4132:{n:"DefaultText"},4133:{n:"Text"},4134:{n:"FontX",f:Rt},4135:{n:"ObjectLink"},4146:{n:"Frame"},4147:{n:"Begin"},4148:{n:"End"},4149:{n:"PlotArea"},4154:{n:"Chart3d"},4156:{n:"PicF"},4157:{n:"DropBar"},4158:{n:"Radar"},4159:{n:"Surf"},4160:{n:"RadarArea"},4161:{n:"AxisParent"},4163:{n:"LegendException"},4164:{n:"ShtProps",f:pu},4165:{n:"SerToCrt"},4166:{n:"AxesUsed"},4168:{n:"SBaseRef"},4170:{n:"SerParent"},4171:{n:"SerAuxTrend"},4174:{n:"IFmtRecord"},4175:{n:"Pos"},4176:{n:"AlRuns"},4177:{n:"BRAI"},4187:{n:"SerAuxErrBar"},4188:{n:"ClrtClient",f:vd},4189:{n:"SerFmt"},4191:{n:"Chart3DBarShape"},4192:{n:"Fbi"},4193:{n:"BopPop"},4194:{n:"AxcExt"},4195:{n:"Dat"},4196:{n:"PlotGrowth"},4197:{n:"SIIndex"},4198:{n:"GelFrame"},4199:{n:"BopPopCustom"},4200:{n:"Fbi2"},0:{n:"Dimensions",f:Xc},1:{n:"BIFF2BLANK"},2:{n:"BIFF2INT",f:mu},3:{n:"BIFF2NUM",f:Ud},4:{n:"BIFF2STR",f:wd},5:{n:"BoolErr",f:Uc},7:{n:"String",f:Bu},8:{n:"BIFF2ROW"},9:{n:"BOF",f:Jc},11:{n:"Index"},22:{n:"ExternCount",f:Rt},30:{n:"BIFF2FORMAT",f:Hu},31:{n:"BIFF2FMTCNT"},32:{n:"BIFF2COLINFO"},33:{n:"Array",f:nu},36:{n:"COLWIDTH"},37:{n:"DefaultRowHeight",f:yo},50:{n:"BIFF2FONTXTRA",f:Nu},62:{n:"BIFF2WINDOW2"},52:{n:"DDEObjName"},67:{n:"BIFF2XF"},68:{n:"BIFF2XFINDEX",f:Rt},69:{n:"BIFF2FONTCLR"},86:{n:"BIFF4FMTCNT"},126:{n:"RK"},127:{n:"ImData",f:yd},135:{n:"Addin"},136:{n:"Edg"},137:{n:"Pub"},145:{n:"Sub"},148:{n:"LHRecord"},149:{n:"LHNGraph"},150:{n:"Sound"},169:{n:"CoordList"},171:{n:"GCW"},188:{n:"ShrFmla"},191:{n:"ToolbarHdr"},192:{n:"ToolbarEnd"},194:{n:"AddMenu"},195:{n:"DelMenu"},214:{n:"RString",f:xd},223:{n:"UDDesc"},234:{n:"TabIdConf"},354:{n:"XL5Modify"},421:{n:"FileSharing2"},518:{n:"Formula",f:Cf},521:{n:"BOF",f:Jc},536:{n:"Lbl",f:Vu},547:{n:"ExternName",f:Wu},561:{n:"Font"},579:{n:"BIFF3XF"},1030:{n:"Formula",f:Cf},1033:{n:"BOF",f:Jc},1091:{n:"BIFF4XF"},2157:{n:"FeatInfo"},2163:{n:"FeatInfo11"},2177:{n:"SXAddl12"},2240:{n:"AutoWebPub"},2241:{n:"ListObj"},2242:{n:"ListField"},2243:{n:"ListDV"},2244:{n:"ListCondFmt"},2245:{n:"ListCF"},2246:{n:"FMQry"},2247:{n:"FMSQry"},2248:{n:"PLV"},2249:{n:"LnExt"},2250:{n:"MkrExt"},2251:{n:"CrtCoopt"},2262:{n:"FRTArchId$",r:12},29282:{}},rp=ae(ef,"n");function jo(T,N,L,Q){var ne=typeof N=="number"?N:+N||+rp[N];if(isNaN(ne))return;var Te=Q||(L||[]).length||0,Ve=T.next(4);Ve.write_shift(2,ne),Ve.write_shift(2,Te),Te>0&&rn(L)&&T.push(L)}function XA(T,N,L,Q){var ne=Q||(L||[]).length||0;if(ne<=8224)return jo(T,N,L,ne);var Te=+N||+rp[N];if(isNaN(Te))return;for(var Ve=L.parts||[],je=0,vt=0,St=0;St+(Ve[je]||8224)<=8224;)St+=Ve[je]||8224,je++;var Pt=T.next(4);for(Pt.write_shift(2,Te),Pt.write_shift(2,St),T.push(L.slice(vt,vt+St)),vt+=St;vt=0&&ne<65536?jo(T,2,gu(L,Q,ne)):jo(T,3,od(L,Q,ne));return;case"b":case"e":jo(T,5,GA(L,Q,N.v,N.t));return;case"s":case"str":jo(T,4,YA(L,Q,(N.v||"").slice(0,255)));return}jo(T,1,zh(null,L,Q))}function ZA(T,N,L,Q){var ne=Array.isArray(N),Te=ta(N["!ref"]||"A1"),Ve,je="",vt=[];if(Te.e.c>255||Te.e.r>16383){if(Q.WTF)throw new Error("Range "+(N["!ref"]||"A1")+" exceeds format limit A1:IV16384");Te.e.c=Math.min(Te.e.c,255),Te.e.r=Math.min(Te.e.c,16383),Ve=ba(Te)}for(var St=Te.s.r;St<=Te.e.r;++St){je=_i(St);for(var Pt=Te.s.c;Pt<=Te.e.c;++Pt){St===Te.s.r&&(vt[Pt]=ya(Pt)),Ve=vt[Pt]+je;var pr=ne?(N[St]||[])[Pt]:N[Ve];if(!pr)continue;QA(T,pr,St,Pt,Q)}}}function JA(T,N){var L=N||{};_!=null&&L.dense==null&&(L.dense=_);for(var Q=Ei(),ne=0,Te=0;Te255||Rr.e.r>=ln){if(N.WTF)throw new Error("Range "+(Te["!ref"]||"A1")+" exceeds format limit A1:IV16384");Rr.e.c=Math.min(Rr.e.c,255),Rr.e.r=Math.min(Rr.e.c,ln-1)}jo(Q,2057,ec(L,16,N)),jo(Q,"CalcMode",qt(1)),jo(Q,"CalcCount",qt(100)),jo(Q,"CalcRefMode",Sl(!0)),jo(Q,"CalcIter",Sl(!1)),jo(Q,"CalcDelta",Ba(.001)),jo(Q,"CalcSaveRecalc",Sl(!0)),jo(Q,"PrintRowCol",Sl(!1)),jo(Q,"PrintGrid",Sl(!1)),jo(Q,"GridSet",qt(1)),jo(Q,"Guts",Fc([0,0])),jo(Q,"HCenter",Sl(!1)),jo(Q,"VCenter",Sl(!1)),St&&nv(Q,Te["!cols"],Te),jo(Q,512,bu(Rr,N)),St&&(Te["!links"]=[]);for(var kr=Rr.s.r;kr<=Rr.e.r;++kr){pr=_i(kr);for(var An=Rr.s.c;An<=Rr.e.c;++An){kr===Rr.s.r&&(_r[An]=ya(An)),Pt=_r[An]+pr;var Nn=vt?(Te[kr]||[])[An]:Te[Pt];if(!Nn)continue;iv(Q,Nn,kr,An,N),St&&Nn.l&&Te["!links"].push([Pt,Nn.l])}}var Rn=je.CodeName||je.name||ne;return St&&jo(Q,"Window2",Tc((Ve.Views||[])[0])),St&&(Te["!merges"]||[]).length&&jo(Q,"MergeCells",Bd(Te["!merges"])),St&&rv(Q,Te),jo(Q,"CodeName",Pr(Rn,N)),St&&ev(Q,Te),jo(Q,"EOF"),Q.end()}function ov(T,N,L){var Q=Ei(),ne=(T||{}).Workbook||{},Te=ne.Sheets||[],Ve=ne.WBProps||{},je=L.biff==8,vt=L.biff==5;if(jo(Q,2057,ec(T,5,L)),L.bookType=="xla"&&jo(Q,"Addin"),jo(Q,"InterfaceHdr",je?qt(1200):null),jo(Q,"Mms",Mc(2)),vt&&jo(Q,"ToolbarHdr"),vt&&jo(Q,"ToolbarEnd"),jo(Q,"InterfaceEnd"),jo(Q,"WriteAccess",Pc("SheetJS",L)),jo(Q,"CodePage",qt(je?1200:1252)),je&&jo(Q,"DSF",qt(0)),je&&jo(Q,"Excel9File"),jo(Q,"RRTabId",qc(T.SheetNames.length)),je&&T.vbaraw&&jo(Q,"ObProj"),je&&T.vbaraw){var St=Ve.CodeName||"ThisWorkbook";jo(Q,"CodeName",Pr(St,L))}jo(Q,"BuiltInFnGroupCount",qt(17)),jo(Q,"WinProtect",Sl(!1)),jo(Q,"Protect",Sl(!1)),jo(Q,"Password",qt(0)),je&&jo(Q,"Prot4Rev",Sl(!1)),je&&jo(Q,"Prot4RevPass",qt(0)),jo(Q,"Window1",Is(L)),jo(Q,"Backup",Sl(!1)),jo(Q,"HideObj",qt(0)),jo(Q,"Date1904",Sl(Ug(T)=="true")),jo(Q,"CalcPrecision",Sl(!0)),je&&jo(Q,"RefreshAll",Sl(!1)),jo(Q,"BookBool",qt(0)),$A(Q,T,L),qA(Q,T.SSF,L),tv(Q,L),je&&jo(Q,"UsesELFs",Sl(!1));var Pt=Q.end(),pr=Ei();je&&jo(pr,"Country",Yu()),je&&L.Strings&&XA(pr,"SST",Vc(L.Strings,L)),jo(pr,"EOF");var _r=pr.end(),Rr=Ei(),ln=0,kr=0;for(kr=0;kr255&&console.error("Worksheet '"+T.SheetNames[L]+"' extends beyond column IV (255). Data may be lost.")}var Te=N||{};switch(Te.biff||2){case 8:case 5:return sv(T,N);case 4:case 3:case 2:return JA(T,N)}throw new Error("invalid type "+Te.bookType+" for BIFF")}var wh=function(){function T(je,vt){var St=vt||{};_!=null&&St.dense==null&&(St.dense=_);var Pt=St.dense?[]:{};je=je.replace(//g,"");var pr=je.match(/");var _r=je.match(/<\/table/i),Rr=pr.index,ln=_r&&_r.index||je.length,kr=$t(je.slice(Rr,ln),/(:?]*>)/i,""),An=-1,Nn=0,Rn=0,un=0,Bi={s:{r:1e7,c:1e7},e:{r:0,c:0}},fa=[];for(Rr=0;Rr/i);for(ln=0;ln"))>-1;)Ma=Ma.slice(La+1);for(var ua=0;ua")));un=Os.colspan?+Os.colspan:1,((Rn=+Os.rowspan)>1||un>1)&&fa.push({s:{r:An,c:Nn},e:{r:An+(Rn||1)-1,c:Nn+un-1}});var is=Os.t||Os["data-t"]||"";if(!Ma.length){Nn+=un;continue}if(Ma=Ct(Ma),Bi.s.r>An&&(Bi.s.r=An),Bi.e.rNn&&(Bi.s.c=Nn),Bi.e.c[\s\S]*?<\/table>/gi);if(!St||St.length==0)throw new Error("Invalid HTML: could not find
");if(St.length==1)return pn(T(St[0],vt),vt);var Pt=Wh.book_new();return St.forEach(function(pr,_r){Wh.book_append_sheet(Pt,T(pr,vt),"Sheet"+(_r+1))}),Pt}function L(je,vt,St,Pt){for(var pr=je["!merges"]||[],_r=[],Rr=vt.s.c;Rr<=vt.e.c;++Rr){for(var ln=0,kr=0,An=0;AnSt||pr[An].s.c>Rr)continue;if(pr[An].e.r1&&(Bi.rowspan=ln),kr>1&&(Bi.colspan=kr),Pt.editable?un=''+un+"":Rn&&(Bi["data-t"]=Rn&&Rn.t||"z",Rn.v!=null&&(Bi["data-v"]=Rn.v),Rn.z!=null&&(Bi["data-z"]=Rn.z),Rn.l&&(Rn.l.Target||"#").charAt(0)!="#"&&(un=''+un+"")),Bi.id=(Pt.id||"sjs")+"-"+Nn,_r.push(dr("td",un,Bi))}var fa="";return fa+_r.join("")+""}function Q(je,vt,St){var Pt=[];return Pt.join("")+""}var ne='SheetJS Table Export',Te="";function Ve(je,vt){var St=vt||{},Pt=St.header!=null?St.header:ne,pr=St.footer!=null?St.footer:Te,_r=[Pt],Rr=ha(je["!ref"]);St.dense=Array.isArray(je),_r.push(Q(je,Rr,St));for(var ln=Rr.s.r;ln<=Rr.e.r;++ln)_r.push(L(je,Rr,ln,St));return _r.push("
"+pr),_r.join("")}return{to_workbook:N,to_sheet:T,_row:L,BEGIN:ne,END:Te,_preamble:Q,from_sheet:Ve}}();function ip(T,N,L){var Q=L||{};_!=null&&(Q.dense=_);var ne=0,Te=0;if(Q.origin!=null)if(typeof Q.origin=="number")ne=Q.origin;else{var Ve=typeof Q.origin=="string"?Pi(Q.origin):Q.origin;ne=Ve.r,Te=Ve.c}var je=N.getElementsByTagName("tr"),vt=Math.min(Q.sheetRows||1e7,je.length),St={s:{r:0,c:0},e:{r:ne,c:Te}};if(T["!ref"]){var Pt=ha(T["!ref"]);St.s.r=Math.min(St.s.r,Pt.s.r),St.s.c=Math.min(St.s.c,Pt.s.c),St.e.r=Math.max(St.e.r,Pt.e.r),St.e.c=Math.max(St.e.c,Pt.e.c),ne==-1&&(St.e.r=ne=Pt.e.r+1)}var pr=[],_r=0,Rr=T["!rows"]||(T["!rows"]=[]),ln=0,kr=0,An=0,Nn=0,Rn=0,un=0;for(T["!cols"]||(T["!cols"]=[]);ln1||un>1)&&pr.push({s:{r:kr+ne,c:Nn+Te},e:{r:kr+ne+(Rn||1)-1,c:Nn+Te+(un||1)-1}});var Ma={t:"s",v:wa},La=$i.getAttribute("data-t")||$i.getAttribute("t")||"";wa!=null&&(wa.length==0?Ma.t=La||"z":Q.raw||wa.trim().length==0||La=="s"||(wa==="TRUE"?Ma={t:"b",v:!0}:wa==="FALSE"?Ma={t:"b",v:!1}:isNaN(Ft(wa))?isNaN(Ut(wa).getDate())||(Ma={t:"d",v:pt(wa)},Q.cellDates||(Ma={t:"n",v:pe(Ma.v)}),Ma.z=Q.dateNF||G._table[14]):Ma={t:"n",v:Ft(wa)})),Ma.z===void 0&&no!=null&&(Ma.z=no);var ua="",xo=$i.getElementsByTagName("A");if(xo&&xo.length)for(var Os=0;Os=vt&&(T["!fullref"]=ba((St.e.r=je.length-ln+kr-1+ne,St))),T}function ap(T,N){var L=N||{},Q=L.dense?[]:{};return ip(Q,T,N)}function lv(T,N){return pn(ap(T,N),N)}function op(T){var N="",L=cv(T);return L&&(N=L(T).getPropertyValue("display")),N||(N=T.style.display),N==="none"}function cv(T){return T.ownerDocument.defaultView&&typeof T.ownerDocument.defaultView.getComputedStyle=="function"?T.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}var sp=function(){var T=function(Q){var ne=Q.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,function(Ve,je){return Array(parseInt(je,10)+1).join(" ")}).replace(/]*\/>/g," ").replace(//g,` +`),Te=Tn(ne.replace(/<[^>]*>/g,""));return[Te]},N={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};return function(Q,ne){var Te=ne||{};_!=null&&Te.dense==null&&(Te.dense=_);var Ve=Of(Q),je=[],vt,St,Pt={name:""},pr="",_r=0,Rr,ln,kr={},An=[],Nn=Te.dense?[]:{},Rn,un,Bi={value:""},fa="",$i=0,wa,no=[],Ca=-1,Ma=-1,La={s:{r:1e6,c:1e7},e:{r:0,c:0}},ua=0,xo={},Os=[],is={},Gs=0,Ms=0,Dl=[],Ao=1,Hs=1,Qo=[],$l={Names:[]},ii={},aa=["",""],Hi=[],tn={},Mn="",ti=0,Da=!1,ui=!1,pa=0;for(jh.lastIndex=0,Ve=Ve.replace(//mg,"").replace(//gm,"");Rn=jh.exec(Ve);)switch(Rn[3]=Rn[3].replace(/_.*$/,"")){case"table":case"\u5DE5\u4F5C\u8868":Rn[1]==="/"?(La.e.c>=La.s.c&&La.e.r>=La.s.r?Nn["!ref"]=ba(La):Nn["!ref"]="A1:A1",Te.sheetRows>0&&Te.sheetRows<=La.e.r&&(Nn["!fullref"]=Nn["!ref"],La.e.r=Te.sheetRows-1,Nn["!ref"]=ba(La)),Os.length&&(Nn["!merges"]=Os),Dl.length&&(Nn["!rows"]=Dl),Rr.name=Rr.\u540D\u79F0||Rr.name,typeof JSON!="undefined"&&JSON.stringify(Rr),An.push(Rr.name),kr[Rr.name]=Nn,ui=!1):Rn[0].charAt(Rn[0].length-2)!=="/"&&(Rr=Gt(Rn[0],!1),Ca=Ma=-1,La.s.r=La.s.c=1e7,La.e.r=La.e.c=0,Nn=Te.dense?[]:{},Os=[],Dl=[],ui=!0);break;case"table-row-group":Rn[1]==="/"?--ua:++ua;break;case"table-row":case"\u884C":if(Rn[1]==="/"){Ca+=Ao,Ao=1;break}if(ln=Gt(Rn[0],!1),ln.\u884C\u53F7?Ca=ln.\u884C\u53F7-1:Ca==-1&&(Ca=0),Ao=+ln["number-rows-repeated"]||1,Ao<10)for(pa=0;pa0&&(Dl[Ca+pa]={level:ua});Ma=-1;break;case"covered-table-cell":Rn[1]!=="/"&&++Ma,Te.sheetStubs&&(Te.dense?(Nn[Ca]||(Nn[Ca]=[]),Nn[Ca][Ma]={t:"z"}):Nn[dn({r:Ca,c:Ma})]={t:"z"}),fa="",no=[];break;case"table-cell":case"\u6570\u636E":if(Rn[0].charAt(Rn[0].length-2)==="/")++Ma,Bi=Gt(Rn[0],!1),Hs=parseInt(Bi["number-columns-repeated"]||"1",10),un={t:"z",v:null},Bi.formula&&Te.cellFormula!=!1&&(un.f=Wf(Tn(Bi.formula))),(Bi.\u6570\u636E\u7C7B\u578B||Bi["value-type"])=="string"&&(un.t="s",un.v=Tn(Bi["string-value"]||""),Te.dense?(Nn[Ca]||(Nn[Ca]=[]),Nn[Ca][Ma]=un):Nn[dn({r:Ca,c:Ma})]=un),Ma+=Hs-1;else if(Rn[1]!=="/"){++Ma,fa="",$i=0,no=[],Hs=1;var Ii=Ao?Ca+Ao-1:Ca;if(Ma>La.e.c&&(La.e.c=Ma),MaLa.e.r&&(La.e.r=Ii),Bi=Gt(Rn[0],!1),Hi=[],tn={},un={t:Bi.\u6570\u636E\u7C7B\u578B||Bi["value-type"],v:null},Te.cellFormula)if(Bi.formula&&(Bi.formula=Tn(Bi.formula)),Bi["number-matrix-columns-spanned"]&&Bi["number-matrix-rows-spanned"]&&(Gs=parseInt(Bi["number-matrix-rows-spanned"],10)||0,Ms=parseInt(Bi["number-matrix-columns-spanned"],10)||0,is={s:{r:Ca,c:Ma},e:{r:Ca+Gs-1,c:Ma+Ms-1}},un.F=ba(is),Qo.push([is,un.F])),Bi.formula)un.f=Wf(Bi.formula);else for(pa=0;pa=Qo[pa][0].s.r&&Ca<=Qo[pa][0].e.r&&(Ma>=Qo[pa][0].s.c&&Ma<=Qo[pa][0].e.c&&(un.F=Qo[pa][1]));(Bi["number-columns-spanned"]||Bi["number-rows-spanned"])&&(Gs=parseInt(Bi["number-rows-spanned"],10)||0,Ms=parseInt(Bi["number-columns-spanned"],10)||0,is={s:{r:Ca,c:Ma},e:{r:Ca+Gs-1,c:Ma+Ms-1}},Os.push(is)),Bi["number-columns-repeated"]&&(Hs=parseInt(Bi["number-columns-repeated"],10));switch(un.t){case"boolean":un.t="b",un.v=Xt(Bi["boolean-value"]);break;case"float":un.t="n",un.v=parseFloat(Bi.value);break;case"percentage":un.t="n",un.v=parseFloat(Bi.value);break;case"currency":un.t="n",un.v=parseFloat(Bi.value);break;case"date":un.t="d",un.v=pt(Bi["date-value"]),Te.cellDates||(un.t="n",un.v=pe(un.v)),un.z="m/d/yy";break;case"time":un.t="n",un.v=Re(Bi["time-value"])/86400,Te.cellDates&&(un.t="d",un.v=be(un.v)),un.z="HH:MM:SS";break;case"number":un.t="n",un.v=parseFloat(Bi.\u6570\u636E\u6570\u503C);break;default:if(un.t==="string"||un.t==="text"||!un.t)un.t="s",Bi["string-value"]!=null&&(fa=Tn(Bi["string-value"]),no=[]);else throw new Error("Unsupported value type "+un.t)}}else{if(Da=!1,un.t==="s"&&(un.v=fa||"",no.length&&(un.R=no),Da=$i==0),ii.Target&&(un.l=ii),Hi.length>0&&(un.c=Hi,Hi=[]),fa&&Te.cellText!==!1&&(un.w=fa),Da&&(un.t="z",delete un.v),(!Da||Te.sheetStubs)&&!(Te.sheetRows&&Te.sheetRows<=Ca))for(var Ua=0;Ua0;)Nn[Ca+Ua][Ma+Hs]=Nt(un);else for(Nn[dn({r:Ca+Ua,c:Ma})]=un;--Hs>0;)Nn[dn({r:Ca+Ua,c:Ma+Hs})]=Nt(un);La.e.c<=Ma&&(La.e.c=Ma)}Hs=parseInt(Bi["number-columns-repeated"]||"1",10),Ma+=Hs-1,Hs=0,un={},fa="",no=[]}ii={};break;case"document":case"document-content":case"\u7535\u5B50\u8868\u683C\u6587\u6863":case"spreadsheet":case"\u4E3B\u4F53":case"scripts":case"styles":case"font-face-decls":case"master-styles":if(Rn[1]==="/"){if((vt=je.pop())[0]!==Rn[3])throw"Bad state: "+vt}else Rn[0].charAt(Rn[0].length-2)!=="/"&&je.push([Rn[3],!0]);break;case"annotation":if(Rn[1]==="/"){if((vt=je.pop())[0]!==Rn[3])throw"Bad state: "+vt;tn.t=fa,no.length&&(tn.R=no),tn.a=Mn,Hi.push(tn)}else Rn[0].charAt(Rn[0].length-2)!=="/"&&je.push([Rn[3],!1]);Mn="",ti=0,fa="",$i=0,no=[];break;case"creator":Rn[1]==="/"?Mn=Ve.slice(ti,Rn.index):ti=Rn.index+Rn[0].length;break;case"meta":case"\u5143\u6570\u636E":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if(Rn[1]==="/"){if((vt=je.pop())[0]!==Rn[3])throw"Bad state: "+vt}else Rn[0].charAt(Rn[0].length-2)!=="/"&&je.push([Rn[3],!1]);fa="",$i=0,no=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if(Rn[1]==="/"){if(xo[Pt.name]=pr,(vt=je.pop())[0]!==Rn[3])throw"Bad state: "+vt}else Rn[0].charAt(Rn[0].length-2)!=="/"&&(pr="",Pt=Gt(Rn[0],!1),je.push([Rn[3],!0]));break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(je[je.length-1][0]){case"time-style":case"date-style":St=Gt(Rn[0],!1),pr+=N[Rn[3]][St.style==="long"?1:0];break}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(je[je.length-1][0]){case"time-style":case"date-style":St=Gt(Rn[0],!1),pr+=N[Rn[3]][St.style==="long"?1:0];break}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if(Rn[0].slice(-2)==="/>")break;if(Rn[1]==="/")switch(je[je.length-1][0]){case"number-style":case"date-style":case"time-style":pr+=Ve.slice(_r,Rn.index);break}else _r=Rn.index+Rn[0].length;break;case"named-range":St=Gt(Rn[0],!1),aa=Ef(St["cell-range-address"]);var ei={Name:St.name,Ref:aa[0]+"!"+aa[1]};ui&&(ei.Sheet=An.length),$l.Names.push(ei);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"\u7535\u5B50\u8868\u683C":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":case"\u6587\u672C\u4E32":if(["master-styles"].indexOf(je[je.length-1][0])>-1)break;if(Rn[1]==="/"&&(!Bi||!Bi["string-value"])){var Va=T(Ve.slice($i,Rn.index),wa);fa=(fa.length>0?fa+` `:"")+Va[0]}else wa=Gt(Rn[0],!1),$i=Rn.index+Rn[0].length;break;case"s":break;case"database-range":if(Rn[1]==="/")break;try{aa=Ef(Gt(Rn[0])["target-range-address"]),kr[aa[0]]["!autofilter"]={ref:aa[1]}}catch(ds){}break;case"date":break;case"object":break;case"title":case"\u6807\u9898":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":break;case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":break;case"properties":break;case"property":break;case"a":if(Rn[1]!=="/"){if(ii=Gt(Rn[0],!1),!ii.href)break;ii.Target=Tn(ii.href),delete ii.href,ii.Target.charAt(0)=="#"&&ii.Target.indexOf(".")>-1?(aa=Ef(ii.Target.slice(1)),ii.Target="#"+aa[0]+"!"+aa[1]):ii.Target.match(/^\.\.[\\\/]/)&&(ii.Target=ii.Target.slice(3))}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(Rn[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"\u8868:":case"\u5B57:":break;default:if(Te.WTF)throw new Error(Rn)}}var as={Sheets:kr,SheetNames:An,Workbook:$l};return Te.bookSheets&&delete as.Sheets,as}}();function lp(T,N){N=N||{},de(T,"META-INF/manifest.xml")&&os(rt(T,"META-INF/manifest.xml"),N);var L=ve(T,"content.xml");if(!L)throw new Error("Missing content.xml in ODS / UOF file");var Q=sp(er(L),N);return de(T,"meta.xml")&&(Q.Props=Ho(rt(T,"meta.xml"))),Q}function cp(T,N){return sp(T,N)}var uv=function(){var T=["",'',"",'',"",'',"",""].join(""),N=""+T+"";return function(){return Ht+N}}(),up=function(){var T=function(Ve){return lt(Ve).replace(/ +/g,function(je){return''}).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"")},N=` `,L=` `,Q=function(Ve,je,vt){var St=[];St.push(' @@ -152,17 +152,17 @@ Please report this to https://github.com/markedjs/marked.`,$t.silent)return"

A `),vt.push(` `);for(var pr=0;pr!=Ve.SheetNames.length;++pr)vt.push(Q(Ve.Sheets[Ve.SheetNames[pr]],Ve,pr,je));return vt.push(` `),vt.push(` -`),je.bookType=="fods"?vt.push(""):vt.push(""),vt.join("")}}();function dp(T,N){if(N.bookType=="fods")return up(T,N);var L=kt(),Q="",ne=[],Te=[];return Q="mimetype",jt(L,Q,"application/vnd.oasis.opendocument.spreadsheet"),Q="content.xml",jt(L,Q,up(T,N)),ne.push([Q,"text/xml"]),Te.push([Q,"ContentFile"]),Q="styles.xml",jt(L,Q,uv(T,N)),ne.push([Q,"text/xml"]),Te.push([Q,"StylesFile"]),Q="meta.xml",jt(L,Q,Ht+ks()),ne.push([Q,"text/xml"]),Te.push([Q,"MetadataFile"]),Q="manifest.rdf",jt(L,Q,Bs(Te)),ne.push([Q,"application/rdf+xml"]),Q="META-INF/manifest.xml",jt(L,Q,Vs(ne)),L}function dv(T,N){if(!N)return 0;var L=T.SheetNames.indexOf(N);if(L==-1)throw new Error("Sheet not found: "+N);return L}function Yd(T){return function(L,Q){var ne=dv(L,Q.sheet);return T.from_sheet(L.Sheets[L.SheetNames[ne]],Q,L)}}var hv=Yd(wh),fv=Yd({from_sheet:of}),pv=Yd(typeof sd!="undefined"?sd:{}),mv=Yd(typeof Sd!="undefined"?Sd:{}),gv=Yd(typeof au!="undefined"?au:{}),Av=Yd(typeof Ae!="undefined"?Ae:{}),vv=Yd({from_sheet:Sp}),bv=Yd(typeof Ju!="undefined"?Ju:{}),yv=Yd(typeof Su!="undefined"?Su:{}),wv=Yd(typeof ou!="undefined"?{from_sheet:ou.sheet_to_wk1}:{});function hp(T){return function(L){for(var Q=0;Q!=T.length;++Q){var ne=T[Q];L[ne[0]]===void 0&&(L[ne[0]]=ne[1]),ne[2]==="n"&&(L[ne[0]]=Number(L[ne[0]]))}}}var Df=function(N){hp([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(N)},fp=hp([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]]);function xv(T){return Ja.WS.indexOf(T)>-1?"sheet":Ja.CS&&T==Ja.CS?"chart":Ja.DS&&T==Ja.DS?"dialog":Ja.MS&&T==Ja.MS?"macro":T&&T.length?T:"sheet"}function Sv(T,N){if(!T)return 0;try{T=N.map(function(Q){return Q.id||(Q.id=Q.strRelID),[Q.name,T["!id"][Q.id].Target,xv(T["!id"][Q.id].Type)]})}catch(L){return null}return!T||T.length===0?null:T}function Cv(T,N,L,Q,ne,Te,Ve,je,vt,St,Pt,pr){try{Te[Q]=oo(ve(T,L,!0),N);var _r=rt(T,N),Rr;switch(je){case"sheet":Rr=oA(_r,N,ne,vt,Te[Q],St,Pt,pr);break;case"chart":if(Rr=sA(_r,N,ne,vt,Te[Q],St,Pt,pr),!Rr||!Rr["!drawel"])break;var ln=at(Rr["!drawel"].Target,N),kr=Es(ln),An=mf(ve(T,ln,!0),oo(ve(T,kr,!0),ln)),Nn=at(An,ln),Rn=Es(Nn);Rr=Og(ve(T,Nn,!0),Nn,vt,oo(ve(T,Rn,!0),Nn),St,Rr);break;case"macro":Rr=lA(_r,N,ne,vt,Te[Q],St,Pt,pr);break;case"dialog":Rr=cA(_r,N,ne,vt,Te[Q],St,Pt,pr);break;default:throw new Error("Unrecognized sheet type "+je)}Ve[Q]=Rr;var un=[];Te&&Te[Q]&&Ge(Te[Q]).forEach(function(Bi){if(Te[Q][Bi].Type==Ja.CMNT){var fa=at(Te[Q][Bi].Target,N);if(un=fA(rt(T,fa,!0),fa,vt),!un||!un.length)return;Af(Rr,un)}})}catch(Bi){if(vt.WTF)throw Bi}}function Qd(T){return T.charAt(0)=="/"?T.slice(1):T}function pp(T,N){if(V(G),N=N||{},Df(N),de(T,"META-INF/manifest.xml"))return lp(T,N);if(de(T,"objectdata.xml"))return lp(T,N);if(de(T,"Index/Document.iwa"))throw new Error("Unsupported NUMBERS file");if(!de(T,"[Content_Types].xml"))throw de(T,"index.xml.gz")?new Error("Unsupported NUMBERS 08 file"):de(T,"index.xml")?new Error("Unsupported NUMBERS 09 file"):new Error("Unsupported ZIP file");var L=bt(T),Q=Oo(ve(T,"[Content_Types].xml")),ne=!1,Te,Ve;if(Q.workbooks.length===0&&(Ve="xl/workbook.xml",rt(T,Ve,!0)&&Q.workbooks.push(Ve)),Q.workbooks.length===0){if(Ve="xl/workbook.bin",!rt(T,Ve,!0))throw new Error("Could not find workbook");Q.workbooks.push(Ve),ne=!0}Q.workbooks[0].slice(-3)=="bin"&&(ne=!0);var je={},vt={};if(!N.bookSheets&&!N.bookProps){if(Uh=[],Q.sst)try{Uh=hA(rt(T,Qd(Q.sst)),Q.sst,N)}catch(xo){if(N.WTF)throw xo}N.cellStyles&&Q.themes.length&&(je=dA(ve(T,Q.themes[0].replace(/^\//,""),!0)||"",Q.themes[0],N)),Q.style&&(vt=uA(rt(T,Qd(Q.style)),Q.style,je,N))}Q.links.map(function(xo){try{var Os=oo(ve(T,Es(Qd(xo))),xo);return mA(rt(T,Qd(xo)),Os,xo,N)}catch(is){}});var St=aA(rt(T,Qd(Q.workbooks[0])),Q.workbooks[0],N),Pt={},pr="";Q.coreprops.length&&(pr=rt(T,Qd(Q.coreprops[0]),!0),pr&&(Pt=Ho(pr)),Q.extprops.length!==0&&(pr=rt(T,Qd(Q.extprops[0]),!0),pr&&wl(pr,Pt,N)));var _r={};(!N.bookSheets||N.bookProps)&&(Q.custprops.length!==0&&(pr=ve(T,Qd(Q.custprops[0]),!0),pr&&(_r=gl(pr,N))));var Rr={};if((N.bookSheets||N.bookProps)&&(St.Sheets?Te=St.Sheets.map(function(Os){return Os.name}):Pt.Worksheets&&Pt.SheetNames.length>0&&(Te=Pt.SheetNames),N.bookProps&&(Rr.Props=Pt,Rr.Custprops=_r),N.bookSheets&&typeof Te!="undefined"&&(Rr.SheetNames=Te),N.bookSheets?Rr.SheetNames:N.bookProps))return Rr;Te={};var ln={};N.bookDeps&&Q.calcchain&&(ln=pA(rt(T,Qd(Q.calcchain)),Q.calcchain,N));var kr=0,An={},Nn,Rn;{var un=St.Sheets;Pt.Worksheets=un.length,Pt.SheetNames=[];for(var Bi=0;Bi!=un.length;++Bi)Pt.SheetNames[Bi]=un[Bi].name}var fa=ne?"bin":"xml",$i=Q.workbooks[0].lastIndexOf("/"),wa=(Q.workbooks[0].slice(0,$i+1)+"_rels/"+Q.workbooks[0].slice($i+1)+".rels").replace(/^\//,"");de(T,wa)||(wa="xl/_rels/workbook."+fa+".rels");var no=oo(ve(T,wa,!0),wa);no&&(no=Sv(no,St.Sheets));var Ca=rt(T,"xl/worksheets/sheet.xml",!0)?1:0;e:for(kr=0;kr!=Pt.Worksheets;++kr){var Ma="sheet";if(no&&no[kr]?(Nn="xl/"+no[kr][1].replace(/[\/]?xl\//,""),de(T,Nn)||(Nn=no[kr][1]),de(T,Nn)||(Nn=wa.replace(/_rels\/.*$/,"")+no[kr][1]),Ma=no[kr][2]):(Nn="xl/worksheets/sheet"+(kr+1-Ca)+"."+fa,Nn=Nn.replace(/sheet0\./,"sheet.")),Rn=Nn.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),N&&N.sheets!=null)switch(typeof N.sheets){case"number":if(kr!=N.sheets)continue e;break;case"string":if(Pt.SheetNames[kr].toLowerCase()!=N.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(N.sheets)){for(var La=!1,ua=0;ua!=N.sheets.length;++ua)typeof N.sheets[ua]=="number"&&N.sheets[ua]==kr&&(La=1),typeof N.sheets[ua]=="string"&&N.sheets[ua].toLowerCase()==Pt.SheetNames[kr].toLowerCase()&&(La=1);if(!La)continue e}}Cv(T,Nn,Rn,Pt.SheetNames[kr],kr,An,Te,Ma,N,St,je,vt)}return Rr={Directory:Q,Workbook:St,Props:Pt,Custprops:_r,Deps:ln,Sheets:Te,SheetNames:Pt.SheetNames,Strings:Uh,Styles:vt,Themes:je,SSF:G.get_table()},N&&N.bookFiles&&(T.files?(Rr.keys=L,Rr.files=T.files):(Rr.keys=[],Rr.files={},T.FullPaths.forEach(function(xo,Os){xo=xo.replace(/^Root Entry[\/]/,""),Rr.keys.push(xo),Rr.files[xo]=T.FileIndex[Os]}))),N&&N.bookVBA&&(Q.vba.length>0?Rr.vbaraw=rt(T,Qd(Q.vba[0]),!0):Q.defaults&&Q.defaults.bin===Hr&&(Rr.vbaraw=rt(T,"xl/vbaProject.bin",!0))),Rr}function Ev(T,N){var L=N||{},Q="Workbook",ne=ke.find(T,Q);try{if(Q="/!DataSpaces/Version",ne=ke.find(T,Q),!ne||!ne.content)throw new Error("ECMA-376 Encrypted file missing "+Q);if(Fr(ne.content),Q="/!DataSpaces/DataSpaceMap",ne=ke.find(T,Q),!ne||!ne.content)throw new Error("ECMA-376 Encrypted file missing "+Q);var Te=Mr(ne.content);if(Te.length!==1||Te[0].comps.length!==1||Te[0].comps[0].t!==0||Te[0].name!=="StrongEncryptionDataSpace"||Te[0].comps[0].v!=="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+Q);if(Q="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",ne=ke.find(T,Q),!ne||!ne.content)throw new Error("ECMA-376 Encrypted file missing "+Q);var Ve=Ir(ne.content);if(Ve.length!=1||Ve[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+Q);if(Q="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",ne=ke.find(T,Q),!ne||!ne.content)throw new Error("ECMA-376 Encrypted file missing "+Q);qr(ne.content)}catch(vt){}if(Q="/EncryptionInfo",ne=ke.find(T,Q),!ne||!ne.content)throw new Error("ECMA-376 Encrypted file missing "+Q);var je=Wi(ne.content);if(Q="/EncryptedPackage",ne=ke.find(T,Q),!ne||!ne.content)throw new Error("ECMA-376 Encrypted file missing "+Q);if(je[0]==4&&typeof decrypt_agile!="undefined")return decrypt_agile(je[1],ne.content,L.password||"",L);if(je[0]==2&&typeof decrypt_std76!="undefined")return decrypt_std76(je[1],ne.content,L.password||"",L);throw new Error("File is password-protected")}function _v(T,N){if(Ah=1024,N.bookType=="ods")return dp(T,N);T&&!T.SSF&&(T.SSF=G.get_table()),T&&T.SSF&&(V(G),G.load_table(T.SSF),N.revssf=Y(T.SSF),N.revssf[T.SSF[65535]]=0,N.ssf=T.SSF),N.rels={},N.wbrels={},N.Strings=[],N.Strings.Count=0,N.Strings.Unique=0,Zh?N.revStrings=new Map:(N.revStrings={},N.revStrings.foo=[],delete N.revStrings.foo);var L=N.bookType=="xlsb"?"bin":"xml",Q=jn.indexOf(N.bookType)>-1,ne=Zo();fp(N=N||{});var Te=kt(),Ve="",je=0;if(N.cellXfs=[],yh(N.cellXfs,{},{revssf:{General:0}}),T.Props||(T.Props={}),Ve="docProps/core.xml",jt(Te,Ve,Ra(T.Props,N)),ne.coreprops.push(Ve),Vo(N.rels,2,Ve,Ja.CORE_PROPS),Ve="docProps/app.xml",!(T.Props&&T.Props.SheetNames))if(!T.Workbook||!T.Workbook.Sheets)T.Props.SheetNames=T.SheetNames;else{for(var vt=[],St=0;St0&&(Ve="docProps/custom.xml",jt(Te,Ve,Us(T.Custprops,N)),ne.custprops.push(Ve),Vo(N.rels,4,Ve,Ja.CUST_PROPS)),je=1;je<=T.SheetNames.length;++je){var Pt={"!id":{}},pr=T.Sheets[T.SheetNames[je-1]],_r=(pr||{})["!type"]||"sheet";switch(_r){case"chart":default:Ve="xl/worksheets/sheet"+je+"."+L,jt(Te,Ve,AA(je-1,Ve,N,T,Pt)),ne.sheets.push(Ve),Vo(N.wbrels,-1,"worksheets/sheet"+je+"."+L,Ja.WS[0])}if(pr){var Rr=pr["!comments"],ln=!1;if(Rr&&Rr.length>0){var kr="xl/comments"+je+"."+L;jt(Te,kr,yA(Rr,kr,N)),ne.comments.push(kr),Vo(Pt,-1,"../comments"+je+"."+L,Ja.CMNT),ln=!0}pr["!legacy"]&&(ln&&jt(Te,"xl/drawings/vmlDrawing"+je+".vml",gf(je,pr["!comments"]))),delete pr["!comments"],delete pr["!legacy"]}Pt["!id"].rId1&&jt(Te,Es(Ve),qo(Pt))}return N.Strings!=null&&N.Strings.length>0&&(Ve="xl/sharedStrings."+L,jt(Te,Ve,bA(N.Strings,Ve,N)),ne.strs.push(Ve),Vo(N.wbrels,-1,"sharedStrings."+L,Ja.SST)),Ve="xl/workbook."+L,jt(Te,Ve,gA(T,Ve,N)),ne.workbooks.push(Ve),Vo(N.rels,1,Ve,Ja.WB),Ve="xl/theme/theme1.xml",jt(Te,Ve,Id(T.Themes,N)),ne.themes.push(Ve),Vo(N.wbrels,-1,"theme/theme1.xml",Ja.THEME),Ve="xl/styles."+L,jt(Te,Ve,vA(T,Ve,N)),ne.styles.push(Ve),Vo(N.wbrels,-1,"styles."+L,Ja.STY),T.vbaraw&&Q&&(Ve="xl/vbaProject.bin",jt(Te,Ve,T.vbaraw),ne.vba.push(Ve),Vo(N.wbrels,-1,"vbaProject.bin",Ja.VBA)),jt(Te,"[Content_Types].xml",Uo(ne,N)),jt(Te,"_rels/.rels",qo(N.rels)),jt(Te,"xl/_rels/workbook."+L+".rels",qo(N.wbrels)),delete N.revssf,delete N.ssf,Te}function Mf(T,N){var L="";switch((N||{}).type||"base64"){case"buffer":return[T[0],T[1],T[2],T[3],T[4],T[5],T[6],T[7]];case"base64":L=C.decode(T.slice(0,12));break;case"binary":L=T;break;case"array":return[T[0],T[1],T[2],T[3],T[4],T[5],T[6],T[7]];default:throw new Error("Unrecognized type "+(N&&N.type||"undefined"))}return[L.charCodeAt(0),L.charCodeAt(1),L.charCodeAt(2),L.charCodeAt(3),L.charCodeAt(4),L.charCodeAt(5),L.charCodeAt(6),L.charCodeAt(7)]}function Tv(T,N){return ke.find(T,"EncryptedPackage")?Ev(T,N):qh(T,N)}function Iv(T,N){var L,Q=T,ne=N||{};return ne.type||(ne.type=E&&b.isBuffer(T)?"buffer":"base64"),L=Ar(Q,ne),pp(L,ne)}function mp(T,N){var L=0;e:for(;L=2&&ne[3]===0)return ou.to_workbook(Q,L);if(ne[2]===0&&(ne[3]===8||ne[3]===9))return ou.to_workbook(Q,L)}break;case 3:case 131:case 139:case 140:return Ju.to_workbook(Q,L);case 123:if(ne[1]===92&&ne[2]===114&&ne[3]===116)return Ae.to_workbook(Q,L);break;case 10:case 13:case 32:return Ov(Q,L);case 137:if(ne[1]===80&&ne[2]===78&&ne[3]===71)throw new Error("PNG Image File is not a spreadsheet");break}return Ju.versions.indexOf(ne[0])>-1&&ne[2]<=12&&ne[3]<=31?Ju.to_workbook(Q,L):Rf(T,Q,L,Te)}function gp(T,N){var L=N||{};return L.type="file",tf(T,L)}function Ap(T,N){switch(N.type){case"base64":case"binary":break;case"buffer":case"array":N.type="";break;case"file":return ee(N.file,ke.write(T,{type:E?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+N.bookType+"' files");default:throw new Error("Unrecognized type "+N.type)}return ke.write(T,N)}function Dv(T,N){var L=Nt(N||{}),Q=_v(T,L),ne={};if(L.compression&&(ne.compression="DEFLATE"),L.password)ne.type=E?"nodebuffer":"string";else switch(L.type){case"base64":ne.type="base64";break;case"binary":ne.type="string";break;case"string":throw new Error("'string' output type invalid for '"+L.bookType+"' files");case"buffer":case"file":ne.type=E?"nodebuffer":"string";break;default:throw new Error("Unrecognized type "+L.type)}var Te=Q.FullPaths?ke.write(Q,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[ne.type]||ne.type}):Q.generate(ne);return L.password&&typeof encrypt_agile!="undefined"?Ap(encrypt_agile(Te,L.password),L):L.type==="file"?ee(L.file,Te):L.type=="string"?er(Te):Te}function Mv(T,N){var L=N||{},Q=VA(T,L);return Ap(Q,L)}function Zd(T,N,L){L||(L="");var Q=L+T;switch(N.type){case"base64":return C.encode(Wr(Q));case"binary":return Wr(Q);case"string":return T;case"file":return ee(N.file,Q,"utf8");case"buffer":return E?O(Q,"utf8"):Zd(Q,{type:"binary"}).split("").map(function(ne){return ne.charCodeAt(0)})}throw new Error("Unrecognized type "+N.type)}function Rv(T,N){switch(N.type){case"base64":return C.encode(T);case"binary":return T;case"string":return T;case"file":return ee(N.file,T,"binary");case"buffer":return E?O(T,"binary"):T.split("").map(function(L){return L.charCodeAt(0)})}throw new Error("Unrecognized type "+N.type)}function rf(T,N){switch(N.type){case"string":case"base64":case"binary":for(var L="",Q=0;Q0&&(ne=0);var pr=_i(vt.s.r),_r=[],Rr=[],ln=0,kr=0,An=Array.isArray(T),Nn=vt.s.r,Rn=0,un=0;for(An&&!T[Nn]&&(T[Nn]=[]),Rn=vt.s.c;Rn<=vt.e.c;++Rn){_r[Rn]=ya(Rn),L=An?T[Nn][Rn]:T[_r[Rn]+pr];switch(Q){case 1:Te[Rn]=Rn-vt.s.c;break;case 2:Te[Rn]=_r[Rn];break;case 3:Te[Rn]=St.header[Rn-vt.s.c];break;default:for(L==null&&(L={w:"__EMPTY",t:"s"}),je=Ve=lr(L,null,St),kr=0,un=0;un=0&&(Pt='"'+Pt.replace(wp,'""')+'"')):Pt="";St.push(Pt)}return je.blankrows===!1&&vt?null:St.join(Ve)}function of(T,N){var L=[],Q=N==null?{}:N;if(T==null||T["!ref"]==null)return"";var ne=ta(T["!ref"]),Te=Q.FS!==void 0?Q.FS:",",Ve=Te.charCodeAt(0),je=Q.RS!==void 0?Q.RS:` +`),je.bookType=="fods"?vt.push(""):vt.push(""),vt.join("")}}();function dp(T,N){if(N.bookType=="fods")return up(T,N);var L=kt(),Q="",ne=[],Te=[];return Q="mimetype",jt(L,Q,"application/vnd.oasis.opendocument.spreadsheet"),Q="content.xml",jt(L,Q,up(T,N)),ne.push([Q,"text/xml"]),Te.push([Q,"ContentFile"]),Q="styles.xml",jt(L,Q,uv(T,N)),ne.push([Q,"text/xml"]),Te.push([Q,"StylesFile"]),Q="meta.xml",jt(L,Q,Ht+ks()),ne.push([Q,"text/xml"]),Te.push([Q,"MetadataFile"]),Q="manifest.rdf",jt(L,Q,Bs(Te)),ne.push([Q,"application/rdf+xml"]),Q="META-INF/manifest.xml",jt(L,Q,Vs(ne)),L}function dv(T,N){if(!N)return 0;var L=T.SheetNames.indexOf(N);if(L==-1)throw new Error("Sheet not found: "+N);return L}function Yd(T){return function(L,Q){var ne=dv(L,Q.sheet);return T.from_sheet(L.Sheets[L.SheetNames[ne]],Q,L)}}var hv=Yd(wh),fv=Yd({from_sheet:of}),pv=Yd(typeof sd!="undefined"?sd:{}),mv=Yd(typeof Sd!="undefined"?Sd:{}),gv=Yd(typeof au!="undefined"?au:{}),Av=Yd(typeof Ae!="undefined"?Ae:{}),vv=Yd({from_sheet:Sp}),bv=Yd(typeof Ju!="undefined"?Ju:{}),yv=Yd(typeof Su!="undefined"?Su:{}),wv=Yd(typeof ou!="undefined"?{from_sheet:ou.sheet_to_wk1}:{});function hp(T){return function(L){for(var Q=0;Q!=T.length;++Q){var ne=T[Q];L[ne[0]]===void 0&&(L[ne[0]]=ne[1]),ne[2]==="n"&&(L[ne[0]]=Number(L[ne[0]]))}}}var Df=function(N){hp([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(N)},fp=hp([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]]);function xv(T){return Ja.WS.indexOf(T)>-1?"sheet":Ja.CS&&T==Ja.CS?"chart":Ja.DS&&T==Ja.DS?"dialog":Ja.MS&&T==Ja.MS?"macro":T&&T.length?T:"sheet"}function Sv(T,N){if(!T)return 0;try{T=N.map(function(Q){return Q.id||(Q.id=Q.strRelID),[Q.name,T["!id"][Q.id].Target,xv(T["!id"][Q.id].Type)]})}catch(L){return null}return!T||T.length===0?null:T}function Cv(T,N,L,Q,ne,Te,Ve,je,vt,St,Pt,pr){try{Te[Q]=oo(ve(T,L,!0),N);var _r=rt(T,N),Rr;switch(je){case"sheet":Rr=oA(_r,N,ne,vt,Te[Q],St,Pt,pr);break;case"chart":if(Rr=sA(_r,N,ne,vt,Te[Q],St,Pt,pr),!Rr||!Rr["!drawel"])break;var ln=at(Rr["!drawel"].Target,N),kr=Es(ln),An=mf(ve(T,ln,!0),oo(ve(T,kr,!0),ln)),Nn=at(An,ln),Rn=Es(Nn);Rr=Og(ve(T,Nn,!0),Nn,vt,oo(ve(T,Rn,!0),Nn),St,Rr);break;case"macro":Rr=lA(_r,N,ne,vt,Te[Q],St,Pt,pr);break;case"dialog":Rr=cA(_r,N,ne,vt,Te[Q],St,Pt,pr);break;default:throw new Error("Unrecognized sheet type "+je)}Ve[Q]=Rr;var un=[];Te&&Te[Q]&&Ge(Te[Q]).forEach(function(Bi){if(Te[Q][Bi].Type==Ja.CMNT){var fa=at(Te[Q][Bi].Target,N);if(un=fA(rt(T,fa,!0),fa,vt),!un||!un.length)return;Af(Rr,un)}})}catch(Bi){if(vt.WTF)throw Bi}}function Qd(T){return T.charAt(0)=="/"?T.slice(1):T}function pp(T,N){if(V(G),N=N||{},Df(N),de(T,"META-INF/manifest.xml"))return lp(T,N);if(de(T,"objectdata.xml"))return lp(T,N);if(de(T,"Index/Document.iwa"))throw new Error("Unsupported NUMBERS file");if(!de(T,"[Content_Types].xml"))throw de(T,"index.xml.gz")?new Error("Unsupported NUMBERS 08 file"):de(T,"index.xml")?new Error("Unsupported NUMBERS 09 file"):new Error("Unsupported ZIP file");var L=bt(T),Q=Oo(ve(T,"[Content_Types].xml")),ne=!1,Te,Ve;if(Q.workbooks.length===0&&(Ve="xl/workbook.xml",rt(T,Ve,!0)&&Q.workbooks.push(Ve)),Q.workbooks.length===0){if(Ve="xl/workbook.bin",!rt(T,Ve,!0))throw new Error("Could not find workbook");Q.workbooks.push(Ve),ne=!0}Q.workbooks[0].slice(-3)=="bin"&&(ne=!0);var je={},vt={};if(!N.bookSheets&&!N.bookProps){if(Uh=[],Q.sst)try{Uh=hA(rt(T,Qd(Q.sst)),Q.sst,N)}catch(xo){if(N.WTF)throw xo}N.cellStyles&&Q.themes.length&&(je=dA(ve(T,Q.themes[0].replace(/^\//,""),!0)||"",Q.themes[0],N)),Q.style&&(vt=uA(rt(T,Qd(Q.style)),Q.style,je,N))}Q.links.map(function(xo){try{var Os=oo(ve(T,Es(Qd(xo))),xo);return mA(rt(T,Qd(xo)),Os,xo,N)}catch(is){}});var St=aA(rt(T,Qd(Q.workbooks[0])),Q.workbooks[0],N),Pt={},pr="";Q.coreprops.length&&(pr=rt(T,Qd(Q.coreprops[0]),!0),pr&&(Pt=Ho(pr)),Q.extprops.length!==0&&(pr=rt(T,Qd(Q.extprops[0]),!0),pr&&wl(pr,Pt,N)));var _r={};(!N.bookSheets||N.bookProps)&&(Q.custprops.length!==0&&(pr=ve(T,Qd(Q.custprops[0]),!0),pr&&(_r=gl(pr,N))));var Rr={};if((N.bookSheets||N.bookProps)&&(St.Sheets?Te=St.Sheets.map(function(Os){return Os.name}):Pt.Worksheets&&Pt.SheetNames.length>0&&(Te=Pt.SheetNames),N.bookProps&&(Rr.Props=Pt,Rr.Custprops=_r),N.bookSheets&&typeof Te!="undefined"&&(Rr.SheetNames=Te),N.bookSheets?Rr.SheetNames:N.bookProps))return Rr;Te={};var ln={};N.bookDeps&&Q.calcchain&&(ln=pA(rt(T,Qd(Q.calcchain)),Q.calcchain,N));var kr=0,An={},Nn,Rn;{var un=St.Sheets;Pt.Worksheets=un.length,Pt.SheetNames=[];for(var Bi=0;Bi!=un.length;++Bi)Pt.SheetNames[Bi]=un[Bi].name}var fa=ne?"bin":"xml",$i=Q.workbooks[0].lastIndexOf("/"),wa=(Q.workbooks[0].slice(0,$i+1)+"_rels/"+Q.workbooks[0].slice($i+1)+".rels").replace(/^\//,"");de(T,wa)||(wa="xl/_rels/workbook."+fa+".rels");var no=oo(ve(T,wa,!0),wa);no&&(no=Sv(no,St.Sheets));var Ca=rt(T,"xl/worksheets/sheet.xml",!0)?1:0;e:for(kr=0;kr!=Pt.Worksheets;++kr){var Ma="sheet";if(no&&no[kr]?(Nn="xl/"+no[kr][1].replace(/[\/]?xl\//,""),de(T,Nn)||(Nn=no[kr][1]),de(T,Nn)||(Nn=wa.replace(/_rels\/.*$/,"")+no[kr][1]),Ma=no[kr][2]):(Nn="xl/worksheets/sheet"+(kr+1-Ca)+"."+fa,Nn=Nn.replace(/sheet0\./,"sheet.")),Rn=Nn.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),N&&N.sheets!=null)switch(typeof N.sheets){case"number":if(kr!=N.sheets)continue e;break;case"string":if(Pt.SheetNames[kr].toLowerCase()!=N.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(N.sheets)){for(var La=!1,ua=0;ua!=N.sheets.length;++ua)typeof N.sheets[ua]=="number"&&N.sheets[ua]==kr&&(La=1),typeof N.sheets[ua]=="string"&&N.sheets[ua].toLowerCase()==Pt.SheetNames[kr].toLowerCase()&&(La=1);if(!La)continue e}}Cv(T,Nn,Rn,Pt.SheetNames[kr],kr,An,Te,Ma,N,St,je,vt)}return Rr={Directory:Q,Workbook:St,Props:Pt,Custprops:_r,Deps:ln,Sheets:Te,SheetNames:Pt.SheetNames,Strings:Uh,Styles:vt,Themes:je,SSF:G.get_table()},N&&N.bookFiles&&(T.files?(Rr.keys=L,Rr.files=T.files):(Rr.keys=[],Rr.files={},T.FullPaths.forEach(function(xo,Os){xo=xo.replace(/^Root Entry[\/]/,""),Rr.keys.push(xo),Rr.files[xo]=T.FileIndex[Os]}))),N&&N.bookVBA&&(Q.vba.length>0?Rr.vbaraw=rt(T,Qd(Q.vba[0]),!0):Q.defaults&&Q.defaults.bin===Hr&&(Rr.vbaraw=rt(T,"xl/vbaProject.bin",!0))),Rr}function Ev(T,N){var L=N||{},Q="Workbook",ne=ke.find(T,Q);try{if(Q="/!DataSpaces/Version",ne=ke.find(T,Q),!ne||!ne.content)throw new Error("ECMA-376 Encrypted file missing "+Q);if(Fr(ne.content),Q="/!DataSpaces/DataSpaceMap",ne=ke.find(T,Q),!ne||!ne.content)throw new Error("ECMA-376 Encrypted file missing "+Q);var Te=Mr(ne.content);if(Te.length!==1||Te[0].comps.length!==1||Te[0].comps[0].t!==0||Te[0].name!=="StrongEncryptionDataSpace"||Te[0].comps[0].v!=="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+Q);if(Q="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",ne=ke.find(T,Q),!ne||!ne.content)throw new Error("ECMA-376 Encrypted file missing "+Q);var Ve=Ir(ne.content);if(Ve.length!=1||Ve[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+Q);if(Q="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",ne=ke.find(T,Q),!ne||!ne.content)throw new Error("ECMA-376 Encrypted file missing "+Q);qr(ne.content)}catch(vt){}if(Q="/EncryptionInfo",ne=ke.find(T,Q),!ne||!ne.content)throw new Error("ECMA-376 Encrypted file missing "+Q);var je=Ki(ne.content);if(Q="/EncryptedPackage",ne=ke.find(T,Q),!ne||!ne.content)throw new Error("ECMA-376 Encrypted file missing "+Q);if(je[0]==4&&typeof decrypt_agile!="undefined")return decrypt_agile(je[1],ne.content,L.password||"",L);if(je[0]==2&&typeof decrypt_std76!="undefined")return decrypt_std76(je[1],ne.content,L.password||"",L);throw new Error("File is password-protected")}function _v(T,N){if(Ah=1024,N.bookType=="ods")return dp(T,N);T&&!T.SSF&&(T.SSF=G.get_table()),T&&T.SSF&&(V(G),G.load_table(T.SSF),N.revssf=Y(T.SSF),N.revssf[T.SSF[65535]]=0,N.ssf=T.SSF),N.rels={},N.wbrels={},N.Strings=[],N.Strings.Count=0,N.Strings.Unique=0,Zh?N.revStrings=new Map:(N.revStrings={},N.revStrings.foo=[],delete N.revStrings.foo);var L=N.bookType=="xlsb"?"bin":"xml",Q=jn.indexOf(N.bookType)>-1,ne=Zo();fp(N=N||{});var Te=kt(),Ve="",je=0;if(N.cellXfs=[],yh(N.cellXfs,{},{revssf:{General:0}}),T.Props||(T.Props={}),Ve="docProps/core.xml",jt(Te,Ve,Ra(T.Props,N)),ne.coreprops.push(Ve),Vo(N.rels,2,Ve,Ja.CORE_PROPS),Ve="docProps/app.xml",!(T.Props&&T.Props.SheetNames))if(!T.Workbook||!T.Workbook.Sheets)T.Props.SheetNames=T.SheetNames;else{for(var vt=[],St=0;St0&&(Ve="docProps/custom.xml",jt(Te,Ve,Us(T.Custprops,N)),ne.custprops.push(Ve),Vo(N.rels,4,Ve,Ja.CUST_PROPS)),je=1;je<=T.SheetNames.length;++je){var Pt={"!id":{}},pr=T.Sheets[T.SheetNames[je-1]],_r=(pr||{})["!type"]||"sheet";switch(_r){case"chart":default:Ve="xl/worksheets/sheet"+je+"."+L,jt(Te,Ve,AA(je-1,Ve,N,T,Pt)),ne.sheets.push(Ve),Vo(N.wbrels,-1,"worksheets/sheet"+je+"."+L,Ja.WS[0])}if(pr){var Rr=pr["!comments"],ln=!1;if(Rr&&Rr.length>0){var kr="xl/comments"+je+"."+L;jt(Te,kr,yA(Rr,kr,N)),ne.comments.push(kr),Vo(Pt,-1,"../comments"+je+"."+L,Ja.CMNT),ln=!0}pr["!legacy"]&&(ln&&jt(Te,"xl/drawings/vmlDrawing"+je+".vml",gf(je,pr["!comments"]))),delete pr["!comments"],delete pr["!legacy"]}Pt["!id"].rId1&&jt(Te,Es(Ve),qo(Pt))}return N.Strings!=null&&N.Strings.length>0&&(Ve="xl/sharedStrings."+L,jt(Te,Ve,bA(N.Strings,Ve,N)),ne.strs.push(Ve),Vo(N.wbrels,-1,"sharedStrings."+L,Ja.SST)),Ve="xl/workbook."+L,jt(Te,Ve,gA(T,Ve,N)),ne.workbooks.push(Ve),Vo(N.rels,1,Ve,Ja.WB),Ve="xl/theme/theme1.xml",jt(Te,Ve,Id(T.Themes,N)),ne.themes.push(Ve),Vo(N.wbrels,-1,"theme/theme1.xml",Ja.THEME),Ve="xl/styles."+L,jt(Te,Ve,vA(T,Ve,N)),ne.styles.push(Ve),Vo(N.wbrels,-1,"styles."+L,Ja.STY),T.vbaraw&&Q&&(Ve="xl/vbaProject.bin",jt(Te,Ve,T.vbaraw),ne.vba.push(Ve),Vo(N.wbrels,-1,"vbaProject.bin",Ja.VBA)),jt(Te,"[Content_Types].xml",Uo(ne,N)),jt(Te,"_rels/.rels",qo(N.rels)),jt(Te,"xl/_rels/workbook."+L+".rels",qo(N.wbrels)),delete N.revssf,delete N.ssf,Te}function Mf(T,N){var L="";switch((N||{}).type||"base64"){case"buffer":return[T[0],T[1],T[2],T[3],T[4],T[5],T[6],T[7]];case"base64":L=C.decode(T.slice(0,12));break;case"binary":L=T;break;case"array":return[T[0],T[1],T[2],T[3],T[4],T[5],T[6],T[7]];default:throw new Error("Unrecognized type "+(N&&N.type||"undefined"))}return[L.charCodeAt(0),L.charCodeAt(1),L.charCodeAt(2),L.charCodeAt(3),L.charCodeAt(4),L.charCodeAt(5),L.charCodeAt(6),L.charCodeAt(7)]}function Tv(T,N){return ke.find(T,"EncryptedPackage")?Ev(T,N):qh(T,N)}function Iv(T,N){var L,Q=T,ne=N||{};return ne.type||(ne.type=E&&b.isBuffer(T)?"buffer":"base64"),L=Ar(Q,ne),pp(L,ne)}function mp(T,N){var L=0;e:for(;L=2&&ne[3]===0)return ou.to_workbook(Q,L);if(ne[2]===0&&(ne[3]===8||ne[3]===9))return ou.to_workbook(Q,L)}break;case 3:case 131:case 139:case 140:return Ju.to_workbook(Q,L);case 123:if(ne[1]===92&&ne[2]===114&&ne[3]===116)return Ae.to_workbook(Q,L);break;case 10:case 13:case 32:return Ov(Q,L);case 137:if(ne[1]===80&&ne[2]===78&&ne[3]===71)throw new Error("PNG Image File is not a spreadsheet");break}return Ju.versions.indexOf(ne[0])>-1&&ne[2]<=12&&ne[3]<=31?Ju.to_workbook(Q,L):Rf(T,Q,L,Te)}function gp(T,N){var L=N||{};return L.type="file",tf(T,L)}function Ap(T,N){switch(N.type){case"base64":case"binary":break;case"buffer":case"array":N.type="";break;case"file":return ee(N.file,ke.write(T,{type:E?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+N.bookType+"' files");default:throw new Error("Unrecognized type "+N.type)}return ke.write(T,N)}function Dv(T,N){var L=Nt(N||{}),Q=_v(T,L),ne={};if(L.compression&&(ne.compression="DEFLATE"),L.password)ne.type=E?"nodebuffer":"string";else switch(L.type){case"base64":ne.type="base64";break;case"binary":ne.type="string";break;case"string":throw new Error("'string' output type invalid for '"+L.bookType+"' files");case"buffer":case"file":ne.type=E?"nodebuffer":"string";break;default:throw new Error("Unrecognized type "+L.type)}var Te=Q.FullPaths?ke.write(Q,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[ne.type]||ne.type}):Q.generate(ne);return L.password&&typeof encrypt_agile!="undefined"?Ap(encrypt_agile(Te,L.password),L):L.type==="file"?ee(L.file,Te):L.type=="string"?er(Te):Te}function Mv(T,N){var L=N||{},Q=VA(T,L);return Ap(Q,L)}function Zd(T,N,L){L||(L="");var Q=L+T;switch(N.type){case"base64":return C.encode(Kr(Q));case"binary":return Kr(Q);case"string":return T;case"file":return ee(N.file,Q,"utf8");case"buffer":return E?O(Q,"utf8"):Zd(Q,{type:"binary"}).split("").map(function(ne){return ne.charCodeAt(0)})}throw new Error("Unrecognized type "+N.type)}function Rv(T,N){switch(N.type){case"base64":return C.encode(T);case"binary":return T;case"string":return T;case"file":return ee(N.file,T,"binary");case"buffer":return E?O(T,"binary"):T.split("").map(function(L){return L.charCodeAt(0)})}throw new Error("Unrecognized type "+N.type)}function rf(T,N){switch(N.type){case"string":case"base64":case"binary":for(var L="",Q=0;Q0&&(ne=0);var pr=_i(vt.s.r),_r=[],Rr=[],ln=0,kr=0,An=Array.isArray(T),Nn=vt.s.r,Rn=0,un=0;for(An&&!T[Nn]&&(T[Nn]=[]),Rn=vt.s.c;Rn<=vt.e.c;++Rn){_r[Rn]=ya(Rn),L=An?T[Nn][Rn]:T[_r[Rn]+pr];switch(Q){case 1:Te[Rn]=Rn-vt.s.c;break;case 2:Te[Rn]=_r[Rn];break;case 3:Te[Rn]=St.header[Rn-vt.s.c];break;default:for(L==null&&(L={w:"__EMPTY",t:"s"}),je=Ve=lr(L,null,St),kr=0,un=0;un=0&&(Pt='"'+Pt.replace(wp,'""')+'"')):Pt="";St.push(Pt)}return je.blankrows===!1&&vt?null:St.join(Ve)}function of(T,N){var L=[],Q=N==null?{}:N;if(T==null||T["!ref"]==null)return"";var ne=ta(T["!ref"]),Te=Q.FS!==void 0?Q.FS:",",Ve=Te.charCodeAt(0),je=Q.RS!==void 0?Q.RS:` `,vt=je.charCodeAt(0),St=new RegExp((Te=="|"?"\\|":Te)+"+$"),Pt="",pr=[];Q.dense=Array.isArray(T);for(var _r=Q.skipHidden&&T["!cols"]||[],Rr=Q.skipHidden&&T["!rows"]||[],ln=ne.s.c;ln<=ne.e.c;++ln)(_r[ln]||{}).hidden||(pr[ln]=ya(ln));for(var kr=ne.s.r;kr<=ne.e.r;++kr){if((Rr[kr]||{}).hidden)continue;if(Pt=xp(T,ne,kr,pr,Ve,vt,Te,Q),Pt==null)continue;Q.strip&&(Pt=Pt.replace(St,"")),L.push(Pt+je)}return delete Q.dense,L.join("")}function Sp(T,N){N||(N={}),N.FS=" ",N.RS=` -`;var L=of(T,N);if(typeof cptable=="undefined"||N.type=="string")return L;var Q=cptable.utils.encode(1200,L,"str");return String.fromCharCode(255)+String.fromCharCode(254)+Q}function Ff(T){var N="",L,Q="";if(T==null||T["!ref"]==null)return[];var ne=ta(T["!ref"]),Te="",Ve=[],je,vt=[],St=Array.isArray(T);for(je=ne.s.c;je<=ne.e.c;++je)Ve[je]=ya(je);for(var Pt=ne.s.r;Pt<=ne.e.r;++Pt)for(Te=_i(Pt),je=ne.s.c;je<=ne.e.c;++je){if(N=Ve[je]+Te,L=St?(T[Pt]||[])[je]:T[N],Q="",L===void 0)continue;if(L.F!=null){if(N=L.F,!L.f)continue;Q=L.f,N.indexOf(":")==-1&&(N=N+":"+N)}if(L.f!=null)Q=L.f;else{if(L.t=="z")continue;if(L.t=="n"&&L.v!=null)Q=""+L.v;else if(L.t=="b")Q=L.v?"TRUE":"FALSE";else if(L.w!==void 0)Q="'"+L.w;else{if(L.v===void 0)continue;L.t=="s"?Q="'"+L.v:Q=""+L.v}}vt[vt.length]=N+"="+Q}return vt}function Cp(T,N,L){var Q=L||{},ne=+!Q.skipHeader,Te=T||{},Ve=0,je=0;if(Te&&Q.origin!=null)if(typeof Q.origin=="number")Ve=Q.origin;else{var vt=typeof Q.origin=="string"?Pi(Q.origin):Q.origin;Ve=vt.r,je=vt.c}var St,Pt={s:{c:0,r:0},e:{c:je,r:Ve+N.length-1+ne}};if(Te["!ref"]){var pr=ta(Te["!ref"]);Pt.e.c=Math.max(Pt.e.c,pr.e.c),Pt.e.r=Math.max(Pt.e.r,pr.e.r),Ve==-1&&(Ve=pr.e.r+1,Pt.e.r=Ve+N.length-1+ne)}else Ve==-1&&(Ve=0,Pt.e.r=N.length-1+ne);var _r=Q.header||[],Rr=0;N.forEach(function(kr,An){Ge(kr).forEach(function(Nn){(Rr=_r.indexOf(Nn))==-1&&(_r[Rr=_r.length]=Nn);var Rn=kr[Nn],un="z",Bi="",fa=dn({c:je+Rr,r:Ve+An+ne});St=Kh.sheet_get_cell(Te,fa),Rn&&typeof Rn=="object"&&!(Rn instanceof Date)?Te[fa]=Rn:(typeof Rn=="number"?un="n":typeof Rn=="boolean"?un="b":typeof Rn=="string"?un="s":Rn instanceof Date?(un="d",Q.cellDates||(un="n",Rn=pe(Rn)),Bi=Q.dateNF||G._table[14]):Rn===null&&Q.nullError&&(un="e",Rn=0),St?(St.t=un,St.v=Rn,delete St.w,delete St.R,Bi&&(St.z=Bi)):Te[fa]=St={t:un,v:Rn},Bi&&(St.z=Bi))})}),Pt.e.c=Math.max(Pt.e.c,je+_r.length-1);var ln=_i(Ve);if(ne)for(Rr=0;Rr<_r.length;++Rr)Te[ya(Rr+je)+ln]={t:"s",v:_r[Rr]};return Te["!ref"]=ba(Pt),Te}function Bv(T,N){return Cp(null,T,N)}var Kh={encode_col:ya,encode_row:_i,encode_cell:dn,encode_range:ba,decode_col:ea,decode_row:Oi,split_cell:rs,decode_cell:Pi,decode_range:ha,format_cell:lr,get_formulae:Ff,make_csv:of,make_json:af,make_formulae:Ff,sheet_add_aoa:_n,sheet_add_json:Cp,sheet_add_dom:ip,aoa_to_sheet:Pn,json_to_sheet:Bv,table_to_sheet:ap,table_to_book:lv,sheet_to_csv:of,sheet_to_txt:Sp,sheet_to_json:af,sheet_to_html:wh.from_sheet,sheet_to_formulae:Ff,sheet_to_row_object_array:af};(function(T){T.consts=T.consts||{};function N(Te){Te.forEach(function(Ve){T.consts[Ve[0]]=Ve[1]})}function L(Te,Ve,je){return Te[Ve]!=null?Te[Ve]:Te[Ve]=je}function Q(Te,Ve,je){if(typeof Ve=="string"){if(Array.isArray(Te)){var vt=Pi(Ve);return Te[vt.r]||(Te[vt.r]=[]),Te[vt.r][vt.c]||(Te[vt.r][vt.c]={t:"z"})}return Te[Ve]||(Te[Ve]={t:"z"})}return typeof Ve!="number"?Q(Te,dn(Ve)):Q(Te,dn({r:Ve,c:je||0}))}T.sheet_get_cell=Q;function ne(Te,Ve){if(typeof Ve=="number"){if(Ve>=0&&Te.SheetNames.length>Ve)return Ve;throw new Error("Cannot find sheet # "+Ve)}else if(typeof Ve=="string"){var je=Te.SheetNames.indexOf(Ve);if(je>-1)return je;throw new Error("Cannot find sheet name |"+Ve+"|")}else throw new Error("Cannot find sheet |"+Ve+"|")}return T.book_new=function(){return{SheetNames:[],Sheets:{}}},T.book_append_sheet=function(Te,Ve,je){if(!je)for(var vt=1;vt<=65535&&!(Te.SheetNames.indexOf(je="Sheet"+vt)==-1);++vt,je=void 0);if(!je||Te.SheetNames.length>=65535)throw new Error("Too many worksheets");if(Jf(je),Te.SheetNames.indexOf(je)>=0)throw new Error("Worksheet with name |"+je+"| already exists!");Te.SheetNames.push(je),Te.Sheets[je]=Ve},T.book_set_sheet_visibility=function(Te,Ve,je){L(Te,"Workbook",{}),L(Te.Workbook,"Sheets",[]);var vt=ne(Te,Ve);L(Te.Workbook.Sheets,vt,{});switch(je){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+je)}Te.Workbook.Sheets[vt].Hidden=je},N([["SHEET_VISIBLE",0],["SHEET_HIDDEN",1],["SHEET_VERY_HIDDEN",2]]),T.cell_set_number_format=function(Te,Ve){return Te.z=Ve,Te},T.cell_set_hyperlink=function(Te,Ve,je){return Ve?(Te.l={Target:Ve},je&&(Te.l.Tooltip=je)):delete Te.l,Te},T.cell_set_internal_link=function(Te,Ve,je){return T.cell_set_hyperlink(Te,"#"+Ve,je)},T.cell_add_comment=function(Te,Ve,je){Te.c||(Te.c=[]),Te.c.push({t:Ve,a:je||"SheetJS"})},T.sheet_set_array_formula=function(Te,Ve,je){for(var vt=typeof Ve!="string"?Ve:ta(Ve),St=typeof Ve=="string"?Ve:ba(Ve),Pt=vt.s.r;Pt<=vt.e.r;++Pt)for(var pr=vt.s.c;pr<=vt.e.c;++pr){var _r=Q(Te,Pt,pr);_r.t="n",_r.F=St,delete _r.v,Pt==vt.s.r&&pr==vt.s.c&&(_r.f=je)}return Te},T})(Kh),E&&!0&&function(){var T=l(6);if(!T)return;var N=T.Readable;if(!N)return;var L=function(Ve,je){var vt=N(),St=je==null?{}:je;if(Ve==null||Ve["!ref"]==null)return vt.push(null),vt;var Pt=ta(Ve["!ref"]),pr=St.FS!==void 0?St.FS:",",_r=pr.charCodeAt(0),Rr=St.RS!==void 0?St.RS:` -`,ln=Rr.charCodeAt(0),kr=new RegExp((pr=="|"?"\\|":pr)+"+$"),An="",Nn=[];St.dense=Array.isArray(Ve);for(var Rn=St.skipHidden&&Ve["!cols"]||[],un=St.skipHidden&&Ve["!rows"]||[],Bi=Pt.s.c;Bi<=Pt.e.c;++Bi)(Rn[Bi]||{}).hidden||(Nn[Bi]=ya(Bi));var fa=Pt.s.r,$i=!1;return vt._read=function(){if(!$i)return $i=!0,vt.push("\uFEFF");for(;fa<=Pt.e.r;){if(++fa,(un[fa-1]||{}).hidden)continue;if(An=xp(Ve,Pt,fa-1,Nn,_r,ln,pr,St),An!=null){St.strip&&(An=An.replace(kr,"")),vt.push(An+Rr);break}}if(fa>Pt.e.r)return vt.push(null)},vt},Q=function(Ve,je){var vt=N(),St=je||{},Pt=St.header!=null?St.header:wh.BEGIN,pr=St.footer!=null?St.footer:wh.END;vt.push(Pt);var _r=ha(Ve["!ref"]);St.dense=Array.isArray(Ve),vt.push(wh._preamble(Ve,_r,St));var Rr=_r.s.r,ln=!1;return vt._read=function(){if(Rr>_r.e.r)return ln||(ln=!0,vt.push(""+pr)),vt.push(null);for(;Rr<=_r.e.r;){vt.push(wh._row(Ve,_r,Rr,St)),++Rr;break}},vt},ne=function(Ve,je){var vt=N({objectMode:!0});if(Ve==null||Ve["!ref"]==null)return vt.push(null),vt;var St={t:"n",v:0},Pt=0,pr=1,_r=[],Rr=0,ln="",kr={s:{r:0,c:0},e:{r:0,c:0}},An=je||{},Nn=An.range!=null?An.range:Ve["!ref"];An.header===1?Pt=1:An.header==="A"?Pt=2:Array.isArray(An.header)&&(Pt=3);switch(typeof Nn){case"string":kr=ta(Nn);break;case"number":kr=ta(Ve["!ref"]),kr.s.r=Nn;break;default:kr=Nn}Pt>0&&(pr=0);var Rn=_i(kr.s.r),un=[],Bi=0,fa=Array.isArray(Ve),$i=kr.s.r,wa=0,no=0;for(fa&&!Ve[$i]&&(Ve[$i]=[]),wa=kr.s.c;wa<=kr.e.c;++wa){un[wa]=ya(wa),St=fa?Ve[$i][wa]:Ve[un[wa]+Rn];switch(Pt){case 1:_r[wa]=wa-kr.s.c;break;case 2:_r[wa]=un[wa];break;case 3:_r[wa]=An.header[wa-kr.s.c];break;default:for(St==null&&(St={w:"__EMPTY",t:"s"}),ln=Rr=lr(St,null,An),Bi=0,no=0;no<_r.length;++no)_r[no]==ln&&(ln=Rr+"_"+ ++Bi);_r[wa]=ln}}return $i=kr.s.r+pr,vt._read=function(){if($i>kr.e.r)return vt.push(null);for(;$i<=kr.e.r;){var Ca=yp(Ve,kr,$i,un,Pt,_r,fa,An);if(++$i,Ca.isempty===!1||(Pt===1?An.blankrows!==!1:!!An.blankrows)){vt.push(Ca.row);break}}},vt};d.stream={to_json:ne,to_html:Q,to_csv:L}}(),typeof qh!="undefined"&&(d.parse_xlscfb=qh),d.parse_zip=pp,d.read=tf,d.readFile=gp,d.readFileSync=gp,d.write=nf,d.writeFile=bp,d.writeFileSync=bp,d.writeFileAsync=Fv,d.utils=Kh,d.SSF=G,typeof ke!="undefined"&&(d.CFB=ke)}if(t(R),typeof window!="undefined"&&!window.XLSX)try{window.XLSX=f}catch(d){}var e=f,m=f}).call(this,l("yLpj"),l("HDXh").Buffer,l("Q2Ig"))},EXcs:function(j,R,l){"use strict";var x=function(){return{height:0,opacity:0}},b=function(m){return{height:m.scrollHeight,opacity:1}},A=function(m){return{height:m.offsetHeight}},f=function(m,d){return d.propertyName==="height"},t={motionName:"ant-motion-collapse",onAppearStart:x,onEnterStart:x,onAppearActive:b,onEnterActive:b,onLeaveStart:A,onLeaveActive:x,onAppearEnd:f,onEnterEnd:f,onLeaveEnd:f,motionDeadline:500};R.a=t},Em2t:function(j,R,l){var x=l("bahg"),b=l("quyA"),A=l("0JQy");function f(t){return b(t)?A(t):x(t)}j.exports=f},Ez2D:function(j,R,l){var x=l("bYtY"),b=l("4NO4");function A(f,t){var e=[],m=f.seriesIndex,d;if(m==null||!(d=t.getSeriesByIndex(m)))return{point:[]};var a=d.getData(),n=b.queryDataIndex(a,f);if(n==null||n<0||x.isArray(n))return{point:[]};var s=a.getItemGraphicEl(n),c=d.coordinateSystem;if(d.getTooltipPosition)e=d.getTooltipPosition(n)||[];else if(c&&c.dataToPoint)e=c.dataToPoint(a.getValues(x.map(c.dimensions,function(u){return a.mapDimension(u)}),n,!0))||[];else if(s){var i=s.getBoundingRect().clone();i.applyTransform(s.transform),e=[i.x+i.width/2,i.y+i.height/2]}return{point:e,el:s}}j.exports=A},F0hE:function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("ca2m"),f=l("Qxkt"),t=l("ICMv"),e=A.valueAxis;function m(n,s){return b.defaults({show:s},n)}var d=x.extendComponentModel({type:"radar",optionUpdated:function(){var n=this.get("boundaryGap"),s=this.get("splitNumber"),c=this.get("scale"),i=this.get("axisLine"),u=this.get("axisTick"),r=this.get("axisType"),o=this.get("axisLabel"),h=this.get("name"),p=this.get("name.show"),g=this.get("name.formatter"),v=this.get("nameGap"),y=this.get("triggerEvent"),w=b.map(this.get("indicator")||[],function(S){S.max!=null&&S.max>0&&!S.min?S.min=0:S.min!=null&&S.min<0&&!S.max&&(S.max=0);var _=h;if(S.color!=null&&(_=b.defaults({color:S.color},h)),S=b.merge(b.clone(S),{boundaryGap:n,splitNumber:s,scale:c,axisLine:i,axisTick:u,axisType:r,axisLabel:o,name:S.text,nameLocation:"end",nameGap:v,nameTextStyle:_,triggerEvent:y},!1),p||(S.name=""),typeof g=="string"){var I=S.name;S.name=g.replace("{value}",I!=null?I:"")}else typeof g=="function"&&(S.name=g(S.name,S));var C=b.extend(new f(S,null,this.ecModel),t);return C.mainType="radar",C.componentIndex=this.componentIndex,C},this);this.getIndicatorModels=function(){return w}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:b.merge({lineStyle:{color:"#bbb"}},e.axisLine),axisLabel:m(e.axisLabel,!1),axisTick:m(e.axisTick,!1),axisType:"interval",splitLine:m(e.splitLine,!0),splitArea:m(e.splitArea,!0),indicator:[]}}),a=d;j.exports=a},F5Ls:function(j,R){var l={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function x(b,A){if(b==="china"){var f=l[A.name];if(f){var t=A.center;t[0]+=f[0]/10.5,t[1]+=-f[1]/(10.5/.75)}}}j.exports=x},F7hV:function(j,R,l){var x=l("MBQ8"),b=x.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var A=this.get("progressiveThreshold"),f=this.get("largeThreshold");return f>A&&(A=f),A},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});j.exports=b},F9bG:function(j,R,l){var x=l("bYtY"),b=l("ItGF"),A=l("4NO4"),f=A.makeInner,t=f(),e=x.each;function m(u,r,o){if(b.node)return;var h=r.getZr();t(h).records||(t(h).records={}),d(h,r);var p=t(h).records[u]||(t(h).records[u]={});p.handler=o}function d(u,r){if(t(u).initialized)return;t(u).initialized=!0,o("click",x.curry(s,"click")),o("mousemove",x.curry(s,"mousemove")),o("globalout",n);function o(h,p){u.on(h,function(g){var v=c(r);e(t(u).records,function(y){y&&p(y,g,v.dispatchAction)}),a(v.pendings,r)})}}function a(u,r){var o=u.showTip.length,h=u.hideTip.length,p;o?p=u.showTip[o-1]:h&&(p=u.hideTip[h-1]),p&&(p.dispatchAction=null,r.dispatchAction(p))}function n(u,r,o){u.handler("leave",null,o)}function s(u,r,o,h){r.handler(u,o,h)}function c(u){var r={showTip:[],hideTip:[]},o=function(h){var p=r[h.type];p?p.push(h):(h.dispatchAction=o,u.dispatchAction(h))};return{dispatchAction:o,pendings:r}}function i(u,r){if(b.node)return;var o=r.getZr(),h=(t(o).records||{})[u];h&&(t(o).records[u]=null)}R.register=m,R.unregister=i},FBjb:function(j,R,l){var x=l("bYtY"),b=l("oVpE"),A=b.createSymbol,f=l("IwbS"),t=l("OELB"),e=t.parsePercent,m=l("x3X8"),d=m.getDefaultLabel;function a(v,y,w){f.Group.call(this),this.updateData(v,y,w)}var n=a.prototype,s=a.getSymbolSize=function(v,y){var w=v.getItemVisual(y,"symbolSize");return w instanceof Array?w.slice():[+w,+w]};function c(v){return[v[0]/2,v[1]/2]}function i(v,y){this.parent.drift(v,y)}n._createSymbol=function(v,y,w,S,_){this.removeAll();var I=y.getItemVisual(w,"color"),C=A(v,-1,-1,2,2,I,_);C.attr({z2:100,culling:!0,scale:c(S)}),C.drift=i,this._symbolType=v,this.add(C)},n.stopSymbolAnimation=function(v){this.childAt(0).stopAnimation(v)},n.getSymbolPath=function(){return this.childAt(0)},n.getScale=function(){return this.childAt(0).scale},n.highlight=function(){this.childAt(0).trigger("emphasis")},n.downplay=function(){this.childAt(0).trigger("normal")},n.setZ=function(v,y){var w=this.childAt(0);w.zlevel=v,w.z=y},n.setDraggable=function(v){var y=this.childAt(0);y.draggable=v,y.cursor=v?"move":y.cursor},n.updateData=function(v,y,w){this.silent=!1;var S=v.getItemVisual(y,"symbol")||"circle",_=v.hostModel,I=s(v,y),C=S!==this._symbolType;if(C){var E=v.getItemVisual(y,"symbolKeepAspect");this._createSymbol(S,v,y,I,E)}else{var O=this.childAt(0);O.silent=!1,f.updateProps(O,{scale:c(I)},_,y)}if(this._updateCommon(v,y,I,w),C){var O=this.childAt(0),M=w&&w.fadeIn,F={scale:O.scale.slice()};M&&(F.style={opacity:O.style.opacity}),O.scale=[0,0],M&&(O.style.opacity=0),f.initProps(O,F,_,y)}this._seriesModel=_};var u=["itemStyle"],r=["emphasis","itemStyle"],o=["label"],h=["emphasis","label"];n._updateCommon=function(v,y,w,S){var _=this.childAt(0),I=v.hostModel,C=v.getItemVisual(y,"color");_.type!=="image"?_.useStyle({strokeNoScale:!0}):_.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var E=S&&S.itemStyle,O=S&&S.hoverItemStyle,M=S&&S.symbolOffset,F=S&&S.labelModel,H=S&&S.hoverLabelModel,B=S&&S.hoverAnimation,X=S&&S.cursorStyle;if(!S||v.hasItemOption){var J=S&&S.itemModel?S.itemModel:v.getItemModel(y);E=J.getModel(u).getItemStyle(["color"]),O=J.getModel(r).getItemStyle(),M=J.getShallow("symbolOffset"),F=J.getModel(o),H=J.getModel(h),B=J.getShallow("hoverAnimation"),X=J.getShallow("cursor")}else O=x.extend({},O);var k=_.style,W=v.getItemVisual(y,"symbolRotate");_.attr("rotation",(W||0)*Math.PI/180||0),M&&_.attr("position",[e(M[0],w[0]),e(M[1],w[1])]),X&&_.attr("cursor",X),_.setColor(C,S&&S.symbolInnerColor),_.setStyle(E);var z=v.getItemVisual(y,"opacity");z!=null&&(k.opacity=z);var K=v.getItemVisual(y,"liftZ"),P=_.__z2Origin;K!=null?P==null&&(_.__z2Origin=_.z2,_.z2+=K):P!=null&&(_.z2=P,_.__z2Origin=null);var G=S&&S.useNameLabel;f.setLabelStyle(k,O,F,H,{labelFetcher:I,labelDataIndex:y,defaultText:V,isRectText:!0,autoColor:C});function V(q,re){return G?v.getName(q):d(v,q)}_.__symbolOriginalScale=c(w),_.hoverStyle=O,_.highDownOnUpdate=B&&I.isAnimationEnabled()?p:null,f.setHoverStyle(_)};function p(v,y){if(this.incremental||this.useHoverLayer)return;if(y==="emphasis"){var w=this.__symbolOriginalScale,S=w[1]/w[0],_={scale:[Math.max(w[0]*1.1,w[0]+3),Math.max(w[1]*1.1,w[1]+3*S)]};this.animateTo(_,400,"elasticOut")}else y==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}n.fadeOut=function(v,y){var w=this.childAt(0);this.silent=w.silent=!0,!(y&&y.keepLabel)&&(w.style.text=null),f.updateProps(w,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,v)},x.inherits(a,f.Group);var g=a;j.exports=g},FGaS:function(j,R,l){var x=l("ProS"),b=l("IwbS"),A=l("bYtY"),f=l("oVpE");function t(m){return A.isArray(m)||(m=[+m,+m]),m}var e=x.extendChartView({type:"radar",render:function(m,d,a){var n=m.coordinateSystem,s=this.group,c=m.getData(),i=this._data;function u(h,p){var g=h.getItemVisual(p,"symbol")||"circle",v=h.getItemVisual(p,"color");if(g==="none")return;var y=t(h.getItemVisual(p,"symbolSize")),w=f.createSymbol(g,-1,-1,2,2,v);return w.attr({style:{strokeNoScale:!0},z2:100,scale:[y[0]/2,y[1]/2]}),w}function r(h,p,g,v,y,w){g.removeAll();for(var S=0;S>2,y=(h&3)<<4|p>>4,w=(p&15)<<2|g>>6,S=g&63,isNaN(p)?w=S=64:isNaN(g)&&(S=64),o=o+i.charAt(v)+i.charAt(y)+i.charAt(w)+i.charAt(S);return o},c.decode=function(u,r){var o="",h,p,g,v,y,w,S,_=0;for(u=u.replace(/[^A-Za-z0-9\+\/\=]/g,"");_>4,p=(y&15)<<4|w>>2,g=(w&3)<<6|S,o=o+String.fromCharCode(h),w!=64&&(o=o+String.fromCharCode(p)),S!=64&&(o=o+String.fromCharCode(g));return o}},{}],2:[function(n,s,c){"use strict";function i(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}i.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},s.exports=i},{}],3:[function(n,s,c){"use strict";c.STORE={magic:"\0\0",compress:function(u){return u},uncompress:function(u){return u},compressInputType:null,uncompressInputType:null},c.DEFLATE=n("./flate")},{"./flate":8}],4:[function(n,s,c){"use strict";var i=n("./utils"),u=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];s.exports=function(o,h){if(typeof o=="undefined"||!o.length)return 0;var p=i.getTypeOf(o)!=="string";typeof h=="undefined"&&(h=0);var g=0,v=0,y=0;h=h^-1;for(var w=0,S=o.length;w>>8^g;return h^-1}},{"./utils":21}],5:[function(n,s,c){"use strict";var i=n("./utils");function u(r){this.data=null,this.length=0,this.index=0}u.prototype={checkOffset:function(o){this.checkIndex(this.index+o)},checkIndex:function(o){if(this.length=this.index;p--)h=(h<<8)+this.byteAt(p);return this.index+=o,h},readString:function(o){return i.transformTo("string",this.readData(o))},readData:function(o){},lastIndexOfSignature:function(o){},readDate:function(){var o=this.readInt(4);return new Date((o>>25&127)+1980,(o>>21&15)-1,o>>16&31,o>>11&31,o>>5&63,(o&31)<<1)}},s.exports=u},{"./utils":21}],6:[function(n,s,c){"use strict";c.base64=!1,c.binary=!1,c.dir=!1,c.createFolders=!1,c.date=null,c.compression=null,c.comment=null},{}],7:[function(n,s,c){"use strict";var i=n("./utils");c.string2binary=function(u){return i.string2binary(u)},c.string2Uint8Array=function(u){return i.transformTo("uint8array",u)},c.uint8Array2String=function(u){return i.transformTo("string",u)},c.string2Blob=function(u){var r=i.transformTo("arraybuffer",u);return i.arrayBuffer2Blob(r)},c.arrayBuffer2Blob=function(u){return i.arrayBuffer2Blob(u)},c.transformTo=function(u,r){return i.transformTo(u,r)},c.getTypeOf=function(u){return i.getTypeOf(u)},c.checkSupport=function(u){return i.checkSupport(u)},c.MAX_VALUE_16BITS=i.MAX_VALUE_16BITS,c.MAX_VALUE_32BITS=i.MAX_VALUE_32BITS,c.pretty=function(u){return i.pretty(u)},c.findCompression=function(u){return i.findCompression(u)},c.isRegExp=function(u){return i.isRegExp(u)}},{"./utils":21}],8:[function(n,s,c){"use strict";var i=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",u=n("pako");c.uncompressInputType=i?"uint8array":"array",c.compressInputType=i?"uint8array":"array",c.magic="\b\0",c.compress=function(r){return u.deflateRaw(r)},c.uncompress=function(r){return u.inflateRaw(r)}},{pako:24}],9:[function(n,s,c){"use strict";var i=n("./base64");function u(r,o){if(!(this instanceof u))return new u(r,o);this.files={},this.comment=null,this.root="",r&&this.load(r,o),this.clone=function(){var h=new u;for(var p in this)typeof this[p]!="function"&&(h[p]=this[p]);return h}}u.prototype=n("./object"),u.prototype.load=n("./load"),u.support=n("./support"),u.defaults=n("./defaults"),u.utils=n("./deprecatedPublicUtils"),u.base64={encode:function(o){return i.encode(o)},decode:function(o){return i.decode(o)}},u.compressions=n("./compressions"),s.exports=u},{"./base64":1,"./compressions":3,"./defaults":6,"./deprecatedPublicUtils":7,"./load":10,"./object":13,"./support":17}],10:[function(n,s,c){"use strict";var i=n("./base64"),u=n("./zipEntries");s.exports=function(r,o){var h,p,g,v;for(o=o||{},o.base64&&(r=i.decode(r)),p=new u(r,o),h=p.files,g=0;g>>8;return V},F=function(){var P={},G,V;for(G=0;G0?P.substring(0,G):""},J=function(P,G){return P.slice(-1)!="/"&&(P+="/"),G=typeof G!="undefined"?G:!1,this.files[P]||B.call(this,P,null,{dir:!0,createFolders:G}),this.files[P]},k=function(P,G){var V=new v,q;return P._data instanceof v?(V.uncompressedSize=P._data.uncompressedSize,V.crc32=P._data.crc32,V.uncompressedSize===0||P.dir?(G=g.STORE,V.compressedContent="",V.crc32=0):P._data.compressionMethod===G.magic?V.compressedContent=P._data.getCompressedContent():(q=P._data.getContent(),V.compressedContent=G.compress(u.transformTo(G.compressInputType,q)))):(q=C(P),(!q||q.length===0||P.dir)&&(G=g.STORE,q=""),V.uncompressedSize=q.length,V.crc32=r(q),V.compressedContent=G.compress(u.transformTo(G.compressInputType,q))),V.compressedSize=V.compressedContent.length,V.compressionMethod=G.magic,V},W=function(P,G,V,q){var re=V.compressedContent,ce=u.transformTo("string",w.utf8encode(G.name)),ie=G.comment||"",fe=u.transformTo("string",w.utf8encode(ie)),xe=ce.length!==G.name.length,Se=fe.length!==ie.length,ke=G.options,ge,Be,ee="",ue="",Ge="",ae,Z;G._initialMetadata.dir!==G.dir?ae=G.dir:ae=ke.dir,G._initialMetadata.date!==G.date?Z=G.date:Z=ke.date,ge=Z.getHours(),ge=ge<<6,ge=ge|Z.getMinutes(),ge=ge<<5,ge=ge|Z.getSeconds()/2,Be=Z.getFullYear()-1980,Be=Be<<4,Be=Be|Z.getMonth()+1,Be=Be<<5,Be=Be|Z.getDate(),xe&&(ue=M(1,1)+M(r(ce),4)+ce,ee+="up"+M(ue.length,2)+ue),Se&&(Ge=M(1,1)+M(this.crc32(fe),4)+fe,ee+="uc"+M(Ge.length,2)+Ge);var Y="";Y+=` -\0`,Y+=xe||Se?"\0\b":"\0\0",Y+=V.compressionMethod,Y+=M(ge,2),Y+=M(Be,2),Y+=M(V.crc32,4),Y+=M(V.compressedSize,4),Y+=M(V.uncompressedSize,4),Y+=M(ce.length,2),Y+=M(ee.length,2);var te=o.LOCAL_FILE_HEADER+Y+ce+ee,we=o.CENTRAL_FILE_HEADER+"\0"+Y+M(fe.length,2)+"\0\0\0\0"+(ae===!0?"\0\0\0":"\0\0\0\0")+M(q,4)+ce+ee+fe;return{fileRecord:te,dirRecord:we,compressedObject:V}},z={load:function(P,G){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(P){var G=[],V,q,re,ce;for(V in this.files){if(!this.files.hasOwnProperty(V))continue;re=this.files[V],ce=new O(re.name,re._data,F(re.options)),q=V.slice(this.root.length,V.length),V.slice(0,this.root.length)===this.root&&P(q,ce)&&G.push(ce)}return G},file:function(P,G,V){if(arguments.length===1)if(u.isRegExp(P)){var q=P;return this.filter(function(re,ce){return!ce.dir&&q.test(re)})}else return this.filter(function(re,ce){return!ce.dir&&re===P})[0]||null;else P=this.root+P,B.call(this,P,G,V);return this},folder:function(P){if(!P)return this;if(u.isRegExp(P))return this.filter(function(re,ce){return ce.dir&&P.test(re)});var G=this.root+P,V=J.call(this,G),q=this.clone();return q.root=V.name,q},remove:function(P){P=this.root+P;var G=this.files[P];if(G||(P.slice(-1)!="/"&&(P+="/"),G=this.files[P]),G&&!G.dir)delete this.files[P];else for(var V=this.filter(function(re,ce){return ce.name.slice(0,P.length)===P}),q=0;q=0;--v)if(this.data[v]===o&&this.data[v+1]===h&&this.data[v+2]===p&&this.data[v+3]===g)return v;return-1},u.prototype.readData=function(r){if(this.checkOffset(r),r===0)return new Uint8Array(0);var o=this.data.subarray(this.index,this.index+r);return this.index+=r,o},s.exports=u},{"./dataReader":5}],19:[function(n,s,c){"use strict";var i=n("./utils"),u=function(o){this.data=new Uint8Array(o),this.index=0};u.prototype={append:function(o){o.length!==0&&(o=i.transformTo("uint8array",o),this.data.set(o,this.index),this.index+=o.length)},finalize:function(){return this.data}},s.exports=u},{"./utils":21}],20:[function(n,s,c){"use strict";for(var i=n("./utils"),u=n("./support"),r=n("./nodeBuffer"),o=new Array(256),h=0;h<256;h++)o[h]=h>=252?6:h>=248?5:h>=240?4:h>=224?3:h>=192?2:1;o[254]=o[254]=1;var p=function(w){var S,_,I,C,E,O=w.length,M=0;for(C=0;C>>6,S[E++]=128|_&63):_<65536?(S[E++]=224|_>>>12,S[E++]=128|_>>>6&63,S[E++]=128|_&63):(S[E++]=240|_>>>18,S[E++]=128|_>>>12&63,S[E++]=128|_>>>6&63,S[E++]=128|_&63);return S},g=function(w,S){var _;for(S=S||w.length,S>w.length&&(S=w.length),_=S-1;_>=0&&(w[_]&192)===128;)_--;return _<0||_===0?S:_+o[w[_]]>S?_:S},v=function(w){var S,_,I,C,E,O=w.length,M=new Array(O*2);for(I=0,_=0;_4){M[I++]=65533,_+=E-1;continue}for(C&=E===2?31:E===3?15:7;E>1&&_1){M[I++]=65533;continue}C<65536?M[I++]=C:(C-=65536,M[I++]=55296|C>>10&1023,M[I++]=56320|C&1023)}return M.length!==I&&(M.subarray?M=M.subarray(0,I):M.length=I),i.applyFromCharCode(M)};c.utf8encode=function(w){return u.nodebuffer?r(w,"utf-8"):p(w)},c.utf8decode=function(w){if(u.nodebuffer)return i.transformTo("nodebuffer",w).toString("utf-8");w=i.transformTo(u.uint8array?"uint8array":"array",w);for(var S=[],_=0,I=w.length,C=65536;_1;)try{I==="array"||I==="nodebuffer"?S.push(String.fromCharCode.apply(null,y.slice(C,Math.min(C+w,_)))):S.push(String.fromCharCode.apply(null,y.subarray(C,Math.min(C+w,_)))),C+=w}catch(F){w=Math.floor(w/2)}return S.join("")}c.applyFromCharCode=p;function g(y,w){for(var S=0;S1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var S,_;for(S=0;S0?H.windowBits=-H.windowBits:H.gzip&&H.windowBits>0&&H.windowBits<16&&(H.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new h,this.strm.avail_out=0;var B=i.deflateInit2(this.strm,H.level,H.method,H.windowBits,H.memLevel,H.strategy);if(B!==v)throw new Error(o[B]);H.header&&i.deflateSetHeader(this.strm,H.header)};I.prototype.push=function(M,F){var H=this.strm,B=this.options.chunkSize,X,J;if(this.ended)return!1;J=F===~~F?F:F===!0?g:p,typeof M=="string"?H.input=r.string2buf(M):H.input=M,H.next_in=0,H.avail_in=H.input.length;do{if(H.avail_out===0&&(H.output=new u.Buf8(B),H.next_out=0,H.avail_out=B),X=i.deflate(H,J),X!==y&&X!==v)return this.onEnd(X),this.ended=!0,!1;(H.avail_out===0||H.avail_in===0&&J===g)&&(this.options.to==="string"?this.onData(r.buf2binstring(u.shrinkBuf(H.output,H.next_out))):this.onData(u.shrinkBuf(H.output,H.next_out)))}while((H.avail_in>0||H.avail_out===0)&&X!==y);return J===g?(X=i.deflateEnd(this.strm),this.onEnd(X),this.ended=!0,X===v):!0},I.prototype.onData=function(M){this.chunks.push(M)},I.prototype.onEnd=function(M){M===v&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=u.flattenChunks(this.chunks)),this.chunks=[],this.err=M,this.msg=this.strm.msg};function C(M,F){var H=new I(F);if(H.push(M,!0),H.err)throw H.msg;return H.result}function E(M,F){return F=F||{},F.raw=!0,C(M,F)}function O(M,F){return F=F||{},F.gzip=!0,C(M,F)}c.Deflate=I,c.deflate=C,c.deflateRaw=E,c.gzip=O},{"./utils/common":27,"./utils/strings":28,"./zlib/deflate.js":32,"./zlib/messages":37,"./zlib/zstream":39}],26:[function(n,s,c){"use strict";var i=n("./zlib/inflate.js"),u=n("./utils/common"),r=n("./utils/strings"),o=n("./zlib/constants"),h=n("./zlib/messages"),p=n("./zlib/zstream"),g=n("./zlib/gzheader"),v=function(_){this.options=u.assign({chunkSize:16384,windowBits:0,to:""},_||{});var I=this.options;I.raw&&I.windowBits>=0&&I.windowBits<16&&(I.windowBits=-I.windowBits,I.windowBits===0&&(I.windowBits=-15)),I.windowBits>=0&&I.windowBits<16&&!(_&&_.windowBits)&&(I.windowBits+=32),I.windowBits>15&&I.windowBits<48&&((I.windowBits&15)===0&&(I.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new p,this.strm.avail_out=0;var C=i.inflateInit2(this.strm,I.windowBits);if(C!==o.Z_OK)throw new Error(h[C]);this.header=new g,i.inflateGetHeader(this.strm,this.header)};v.prototype.push=function(S,_){var I=this.strm,C=this.options.chunkSize,E,O,M,F,H;if(this.ended)return!1;O=_===~~_?_:_===!0?o.Z_FINISH:o.Z_NO_FLUSH,typeof S=="string"?I.input=r.binstring2buf(S):I.input=S,I.next_in=0,I.avail_in=I.input.length;do{if(I.avail_out===0&&(I.output=new u.Buf8(C),I.next_out=0,I.avail_out=C),E=i.inflate(I,o.Z_NO_FLUSH),E!==o.Z_STREAM_END&&E!==o.Z_OK)return this.onEnd(E),this.ended=!0,!1;I.next_out&&((I.avail_out===0||E===o.Z_STREAM_END||I.avail_in===0&&O===o.Z_FINISH)&&(this.options.to==="string"?(M=r.utf8border(I.output,I.next_out),F=I.next_out-M,H=r.buf2string(I.output,M),I.next_out=F,I.avail_out=C-F,F&&u.arraySet(I.output,I.output,M,F,0),this.onData(H)):this.onData(u.shrinkBuf(I.output,I.next_out))))}while(I.avail_in>0&&E!==o.Z_STREAM_END);return E===o.Z_STREAM_END&&(O=o.Z_FINISH),O===o.Z_FINISH?(E=i.inflateEnd(this.strm),this.onEnd(E),this.ended=!0,E===o.Z_OK):!0},v.prototype.onData=function(S){this.chunks.push(S)},v.prototype.onEnd=function(S){S===o.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=u.flattenChunks(this.chunks)),this.chunks=[],this.err=S,this.msg=this.strm.msg};function y(S,_){var I=new v(_);if(I.push(S,!0),I.err)throw I.msg;return I.result}function w(S,_){return _=_||{},_.raw=!0,y(S,_)}c.Inflate=v,c.inflate=y,c.inflateRaw=w,c.ungzip=y},{"./utils/common":27,"./utils/strings":28,"./zlib/constants":30,"./zlib/gzheader":33,"./zlib/inflate.js":35,"./zlib/messages":37,"./zlib/zstream":39}],27:[function(n,s,c){"use strict";var i=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";c.assign=function(o){for(var h=Array.prototype.slice.call(arguments,1);h.length;){var p=h.shift();if(!p)continue;if(typeof p!="object")throw new TypeError(p+"must be non-object");for(var g in p)p.hasOwnProperty(g)&&(o[g]=p[g])}return o},c.shrinkBuf=function(o,h){return o.length===h?o:o.subarray?o.subarray(0,h):(o.length=h,o)};var u={arraySet:function(h,p,g,v,y){if(p.subarray&&h.subarray){h.set(p.subarray(g,g+v),y);return}for(var w=0;w=252?6:h>=248?5:h>=240?4:h>=224?3:h>=192?2:1;o[254]=o[254]=1,c.string2buf=function(g){var v,y,w,S,_,I=g.length,C=0;for(S=0;S>>6,v[_++]=128|y&63):y<65536?(v[_++]=224|y>>>12,v[_++]=128|y>>>6&63,v[_++]=128|y&63):(v[_++]=240|y>>>18,v[_++]=128|y>>>12&63,v[_++]=128|y>>>6&63,v[_++]=128|y&63);return v};function p(g,v){if(v<65537&&(g.subarray&&r||!g.subarray&&u))return String.fromCharCode.apply(null,i.shrinkBuf(g,v));for(var y="",w=0;w4){C[w++]=65533,y+=_-1;continue}for(S&=_===2?31:_===3?15:7;_>1&&y1){C[w++]=65533;continue}S<65536?C[w++]=S:(S-=65536,C[w++]=55296|S>>10&1023,C[w++]=56320|S&1023)}return p(C,w)},c.utf8border=function(g,v){var y;for(v=v||g.length,v>g.length&&(v=g.length),y=v-1;y>=0&&(g[y]&192)===128;)y--;return y<0||y===0?v:y+o[g[y]]>v?y:v}},{"./common":27}],29:[function(n,s,c){"use strict";function i(u,r,o,h){for(var p=u&65535|0,g=u>>>16&65535|0,v=0;o!==0;){v=o>2e3?2e3:o,o-=v;do p=p+r[h++]|0,g=g+p|0;while(--v);p%=65521,g%=65521}return p|g<<16|0}s.exports=i},{}],30:[function(n,s,c){s.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],31:[function(n,s,c){"use strict";function i(){for(var o,h=[],p=0;p<256;p++){o=p;for(var g=0;g<8;g++)o=o&1?3988292384^o>>>1:o>>>1;h[p]=o}return h}var u=i();function r(o,h,p,g){var v=u,y=g+p;o=o^-1;for(var w=g;w>>8^v[(o^h[w])&255];return o^-1}s.exports=r},{}],32:[function(n,s,c){"use strict";var i=n("../utils/common"),u=n("./trees"),r=n("./adler32"),o=n("./crc32"),h=n("./messages"),p=0,g=1,v=3,y=4,w=5,S=0,_=1,I=-2,C=-3,E=-5,O=-1,M=1,F=2,H=3,B=4,X=0,J=2,k=8,W=9,z=15,K=8,P=29,G=256,V=G+1+P,q=30,re=19,ce=2*V+1,ie=15,fe=3,xe=258,Se=xe+fe+1,ke=32,ge=42,Be=69,ee=73,ue=91,Ge=103,ae=113,Z=666,Y=1,te=2,we=3,pe=4,De=3;function Ne(at,Ht){return at.msg=h[Ht],Ht}function me(at){return(at<<1)-(at>4?9:0)}function be(at){for(var Ht=at.length;--Ht>=0;)at[Ht]=0}function Re(at){var Ht=at.state,Kt=Ht.pending;if(Kt>at.avail_out&&(Kt=at.avail_out),Kt===0)return;i.arraySet(at.output,Ht.pending_buf,Ht.pending_out,Kt,at.next_out),at.next_out+=Kt,Ht.pending_out+=Kt,at.total_out+=Kt,at.avail_out-=Kt,Ht.pending-=Kt,Ht.pending===0&&(Ht.pending_out=0)}function it(at,Ht){u._tr_flush_block(at,at.block_start>=0?at.block_start:-1,at.strstart-at.block_start,Ht),at.block_start=at.strstart,Re(at.strm)}function yt(at,Ht){at.pending_buf[at.pending++]=Ht}function pt(at,Ht){at.pending_buf[at.pending++]=Ht>>>8&255,at.pending_buf[at.pending++]=Ht&255}function Pe(at,Ht,Kt,ot){var et=at.avail_in;return et>ot&&(et=ot),et===0?0:(at.avail_in-=et,i.arraySet(Ht,at.input,at.next_in,et,Kt),at.state.wrap===1?at.adler=r(at.adler,Ht,et,Kt):at.state.wrap===2&&(at.adler=o(at.adler,Ht,et,Kt)),at.next_in+=et,at.total_in+=et,et)}function Nt(at,Ht){var Kt=at.max_chain_length,ot=at.strstart,et,Ze,Gt=at.prev_length,yr=at.nice_match,br=at.strstart>at.w_size-Se?at.strstart-(at.w_size-Se):0,Sr=at.window,Tn=at.w_mask,cn=at.prev,Kn=at.strstart+xe,lt=Sr[ot+Gt-1],mt=Sr[ot+Gt];at.prev_length>=at.good_match&&(Kt>>=2),yr>at.lookahead&&(yr=at.lookahead);do{if(et=Ht,Sr[et+Gt]!==mt||Sr[et+Gt-1]!==lt||Sr[et]!==Sr[ot]||Sr[++et]!==Sr[ot+1])continue;ot+=2,et++;do;while(Sr[++ot]===Sr[++et]&&Sr[++ot]===Sr[++et]&&Sr[++ot]===Sr[++et]&&Sr[++ot]===Sr[++et]&&Sr[++ot]===Sr[++et]&&Sr[++ot]===Sr[++et]&&Sr[++ot]===Sr[++et]&&Sr[++ot]===Sr[++et]&&otGt){if(at.match_start=Ht,Gt=Ze,Ze>=yr)break;lt=Sr[ot+Gt-1],mt=Sr[ot+Gt]}}while((Ht=cn[Ht&Tn])>br&&--Kt!==0);return Gt<=at.lookahead?Gt:at.lookahead}function ut(at){var Ht=at.w_size,Kt,ot,et,Ze,Gt;do{if(Ze=at.window_size-at.lookahead-at.strstart,at.strstart>=Ht+(Ht-Se)){i.arraySet(at.window,at.window,Ht,Ht,0),at.match_start-=Ht,at.strstart-=Ht,at.block_start-=Ht,ot=at.hash_size,Kt=ot;do et=at.head[--Kt],at.head[Kt]=et>=Ht?et-Ht:0;while(--ot);ot=Ht,Kt=ot;do et=at.prev[--Kt],at.prev[Kt]=et>=Ht?et-Ht:0;while(--ot);Ze+=Ht}if(at.strm.avail_in===0)break;if(ot=Pe(at.strm,at.window,at.strstart+at.lookahead,Ze),at.lookahead+=ot,at.lookahead+at.insert>=fe)for(Gt=at.strstart-at.insert,at.ins_h=at.window[Gt],at.ins_h=(at.ins_h<at.pending_buf_size-5&&(Kt=at.pending_buf_size-5);;){if(at.lookahead<=1){if(ut(at),at.lookahead===0&&Ht===p)return Y;if(at.lookahead===0)break}at.strstart+=at.lookahead,at.lookahead=0;var ot=at.block_start+Kt;if((at.strstart===0||at.strstart>=ot)&&(at.lookahead=at.strstart-ot,at.strstart=ot,it(at,!1),at.strm.avail_out===0))return Y;if(at.strstart-at.block_start>=at.w_size-Se&&(it(at,!1),at.strm.avail_out===0))return Y}return at.insert=0,Ht===y?(it(at,!0),at.strm.avail_out===0?we:pe):(at.strstart>at.block_start&&(it(at,!1),at.strm.avail_out===0),Y)}function Ut(at,Ht){for(var Kt,ot;;){if(at.lookahead=fe&&(at.ins_h=(at.ins_h<=fe)if(ot=u._tr_tally(at,at.strstart-at.match_start,at.match_length-fe),at.lookahead-=at.match_length,at.match_length<=at.max_lazy_match&&at.lookahead>=fe){at.match_length--;do at.strstart++,at.ins_h=(at.ins_h<=fe&&(at.ins_h=(at.ins_h<4096)&&(at.match_length=fe-1)),at.prev_length>=fe&&at.match_length<=at.prev_length){et=at.strstart+at.lookahead-fe,ot=u._tr_tally(at,at.strstart-1-at.prev_match,at.prev_length-fe),at.lookahead-=at.prev_length-1,at.prev_length-=2;do++at.strstart<=et&&(at.ins_h=(at.ins_h<=fe&&at.strstart>0&&(et=at.strstart-1,ot=Gt[et],ot===Gt[++et]&&ot===Gt[++et]&&ot===Gt[++et])){Ze=at.strstart+xe;do;while(ot===Gt[++et]&&ot===Gt[++et]&&ot===Gt[++et]&&ot===Gt[++et]&&ot===Gt[++et]&&ot===Gt[++et]&&ot===Gt[++et]&&ot===Gt[++et]&&etat.lookahead&&(at.match_length=at.lookahead)}if(at.match_length>=fe?(Kt=u._tr_tally(at,1,at.match_length-fe),at.lookahead-=at.match_length,at.strstart+=at.match_length,at.match_length=0):(Kt=u._tr_tally(at,0,at.window[at.strstart]),at.lookahead--,at.strstart++),Kt&&(it(at,!1),at.strm.avail_out===0))return Y}return at.insert=0,Ht===y?(it(at,!0),at.strm.avail_out===0?we:pe):at.last_lit&&(it(at,!1),at.strm.avail_out===0)?Y:te}function or(at,Ht){for(var Kt;;){if(at.lookahead===0&&(ut(at),at.lookahead===0)){if(Ht===p)return Y;break}if(at.match_length=0,Kt=u._tr_tally(at,0,at.window[at.strstart]),at.lookahead--,at.strstart++,Kt&&(it(at,!1),at.strm.avail_out===0))return Y}return at.insert=0,Ht===y?(it(at,!0),at.strm.avail_out===0?we:pe):at.last_lit&&(it(at,!1),at.strm.avail_out===0)?Y:te}var ht=function(Ht,Kt,ot,et,Ze){this.good_length=Ht,this.max_lazy=Kt,this.nice_length=ot,this.max_chain=et,this.func=Ze},Ee;Ee=[new ht(0,0,0,0,Ft),new ht(4,4,8,4,Ut),new ht(4,5,16,8,Ut),new ht(4,6,32,32,Ut),new ht(4,4,16,16,Wt),new ht(8,16,32,32,Wt),new ht(8,16,128,128,Wt),new ht(8,32,128,256,Wt),new ht(32,128,258,1024,Wt),new ht(32,258,258,4096,Wt)];function de(at){at.window_size=2*at.w_size,be(at.head),at.max_lazy_match=Ee[at.level].max_lazy,at.good_match=Ee[at.level].good_length,at.nice_match=Ee[at.level].nice_length,at.max_chain_length=Ee[at.level].max_chain,at.strstart=0,at.block_start=0,at.lookahead=0,at.insert=0,at.match_length=at.prev_length=fe-1,at.match_available=0,at.ins_h=0}function qe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=k,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(ce*2),this.dyn_dtree=new i.Buf16((2*q+1)*2),this.bl_tree=new i.Buf16((2*re+1)*2),be(this.dyn_ltree),be(this.dyn_dtree),be(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(ie+1),this.heap=new i.Buf16(2*V+1),be(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*V+1),be(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function rt(at){var Ht;return!at||!at.state?Ne(at,I):(at.total_in=at.total_out=0,at.data_type=J,Ht=at.state,Ht.pending=0,Ht.pending_out=0,Ht.wrap<0&&(Ht.wrap=-Ht.wrap),Ht.status=Ht.wrap?ge:ae,at.adler=Ht.wrap===2?0:1,Ht.last_flush=p,u._tr_init(Ht),S)}function ve(at){var Ht=rt(at);return Ht===S&&de(at.state),Ht}function bt(at,Ht){return!at||!at.state||at.state.wrap!==2?I:(at.state.gzhead=Ht,S)}function jt(at,Ht,Kt,ot,et,Ze){if(!at)return I;var Gt=1;if(Ht===O&&(Ht=6),ot<0?(Gt=0,ot=-ot):ot>15&&(Gt=2,ot-=16),et<1||et>W||Kt!==k||ot<8||ot>15||Ht<0||Ht>9||Ze<0||Ze>B)return Ne(at,I);ot===8&&(ot=9);var yr=new qe;return at.state=yr,yr.strm=at,yr.wrap=Gt,yr.gzhead=null,yr.w_bits=ot,yr.w_size=1<>1,yr.l_buf=(1+2)*yr.lit_bufsize,yr.level=Ht,yr.strategy=Ze,yr.method=Kt,ve(at)}function He(at,Ht){return jt(at,Ht,k,z,K,X)}function kt(at,Ht){var Kt,ot,et,Ze;if(!at||!at.state||Ht>w||Ht<0)return at?Ne(at,I):I;if(ot=at.state,!at.output||!at.input&&at.avail_in!==0||ot.status===Z&&Ht!==y)return Ne(at,at.avail_out===0?E:I);if(ot.strm=at,Kt=ot.last_flush,ot.last_flush=Ht,ot.status===ge)if(ot.wrap===2)at.adler=0,yt(ot,31),yt(ot,139),yt(ot,8),ot.gzhead?(yt(ot,(ot.gzhead.text?1:0)+(ot.gzhead.hcrc?2:0)+(ot.gzhead.extra?4:0)+(ot.gzhead.name?8:0)+(ot.gzhead.comment?16:0)),yt(ot,ot.gzhead.time&255),yt(ot,ot.gzhead.time>>8&255),yt(ot,ot.gzhead.time>>16&255),yt(ot,ot.gzhead.time>>24&255),yt(ot,ot.level===9?2:ot.strategy>=F||ot.level<2?4:0),yt(ot,ot.gzhead.os&255),ot.gzhead.extra&&ot.gzhead.extra.length&&(yt(ot,ot.gzhead.extra.length&255),yt(ot,ot.gzhead.extra.length>>8&255)),ot.gzhead.hcrc&&(at.adler=o(at.adler,ot.pending_buf,ot.pending,0)),ot.gzindex=0,ot.status=Be):(yt(ot,0),yt(ot,0),yt(ot,0),yt(ot,0),yt(ot,0),yt(ot,ot.level===9?2:ot.strategy>=F||ot.level<2?4:0),yt(ot,De),ot.status=ae);else{var Gt=k+(ot.w_bits-8<<4)<<8,yr=-1;ot.strategy>=F||ot.level<2?yr=0:ot.level<6?yr=1:ot.level===6?yr=2:yr=3,Gt|=yr<<6,ot.strstart!==0&&(Gt|=ke),Gt+=31-Gt%31,ot.status=ae,pt(ot,Gt),ot.strstart!==0&&(pt(ot,at.adler>>>16),pt(ot,at.adler&65535)),at.adler=1}if(ot.status===Be)if(ot.gzhead.extra){for(et=ot.pending;ot.gzindex<(ot.gzhead.extra.length&65535)&&!(ot.pending===ot.pending_buf_size&&(ot.gzhead.hcrc&&ot.pending>et&&(at.adler=o(at.adler,ot.pending_buf,ot.pending-et,et)),Re(at),et=ot.pending,ot.pending===ot.pending_buf_size));)yt(ot,ot.gzhead.extra[ot.gzindex]&255),ot.gzindex++;ot.gzhead.hcrc&&ot.pending>et&&(at.adler=o(at.adler,ot.pending_buf,ot.pending-et,et)),ot.gzindex===ot.gzhead.extra.length&&(ot.gzindex=0,ot.status=ee)}else ot.status=ee;if(ot.status===ee)if(ot.gzhead.name){et=ot.pending;do{if(ot.pending===ot.pending_buf_size&&(ot.gzhead.hcrc&&ot.pending>et&&(at.adler=o(at.adler,ot.pending_buf,ot.pending-et,et)),Re(at),et=ot.pending,ot.pending===ot.pending_buf_size)){Ze=1;break}ot.gzindexet&&(at.adler=o(at.adler,ot.pending_buf,ot.pending-et,et)),Ze===0&&(ot.gzindex=0,ot.status=ue)}else ot.status=ue;if(ot.status===ue)if(ot.gzhead.comment){et=ot.pending;do{if(ot.pending===ot.pending_buf_size&&(ot.gzhead.hcrc&&ot.pending>et&&(at.adler=o(at.adler,ot.pending_buf,ot.pending-et,et)),Re(at),et=ot.pending,ot.pending===ot.pending_buf_size)){Ze=1;break}ot.gzindexet&&(at.adler=o(at.adler,ot.pending_buf,ot.pending-et,et)),Ze===0&&(ot.status=Ge)}else ot.status=Ge;if(ot.status===Ge&&(ot.gzhead.hcrc?(ot.pending+2>ot.pending_buf_size&&Re(at),ot.pending+2<=ot.pending_buf_size&&(yt(ot,at.adler&255),yt(ot,at.adler>>8&255),at.adler=0,ot.status=ae)):ot.status=ae),ot.pending!==0){if(Re(at),at.avail_out===0)return ot.last_flush=-1,S}else if(at.avail_in===0&&me(Ht)<=me(Kt)&&Ht!==y)return Ne(at,E);if(ot.status===Z&&at.avail_in!==0)return Ne(at,E);if(at.avail_in!==0||ot.lookahead!==0||Ht!==p&&ot.status!==Z){var br=ot.strategy===F?or(ot,Ht):ot.strategy===H?$t(ot,Ht):Ee[ot.level].func(ot,Ht);if((br===we||br===pe)&&(ot.status=Z),br===Y||br===we)return at.avail_out===0&&(ot.last_flush=-1),S;if(br===te&&(Ht===g?u._tr_align(ot):Ht!==w&&(u._tr_stored_block(ot,0,0,!1),Ht===v&&(be(ot.head),ot.lookahead===0&&(ot.strstart=0,ot.block_start=0,ot.insert=0))),Re(at),at.avail_out===0))return ot.last_flush=-1,S}return Ht!==y?S:ot.wrap<=0?_:(ot.wrap===2?(yt(ot,at.adler&255),yt(ot,at.adler>>8&255),yt(ot,at.adler>>16&255),yt(ot,at.adler>>24&255),yt(ot,at.total_in&255),yt(ot,at.total_in>>8&255),yt(ot,at.total_in>>16&255),yt(ot,at.total_in>>24&255)):(pt(ot,at.adler>>>16),pt(ot,at.adler&65535)),Re(at),ot.wrap>0&&(ot.wrap=-ot.wrap),ot.pending!==0?S:_)}function Ar(at){var Ht;return!at||!at.state?I:(Ht=at.state.status,Ht!==ge&&Ht!==Be&&Ht!==ee&&Ht!==ue&&Ht!==Ge&&Ht!==ae&&Ht!==Z?Ne(at,I):(at.state=null,Ht===ae?Ne(at,C):S))}c.deflateInit=He,c.deflateInit2=jt,c.deflateReset=ve,c.deflateResetKeep=rt,c.deflateSetHeader=bt,c.deflate=kt,c.deflateEnd=Ar,c.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./messages":37,"./trees":38}],33:[function(n,s,c){"use strict";function i(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}s.exports=i},{}],34:[function(n,s,c){"use strict";var i=30,u=12;s.exports=function(o,h){var p,g,v,y,w,S,_,I,C,E,O,M,F,H,B,X,J,k,W,z,K,P,G,V,q;p=o.state,g=o.next_in,V=o.input,v=g+(o.avail_in-5),y=o.next_out,q=o.output,w=y-(h-o.avail_out),S=y+(o.avail_out-257),_=p.dmax,I=p.wsize,C=p.whave,E=p.wnext,O=p.window,M=p.hold,F=p.bits,H=p.lencode,B=p.distcode,X=(1<>>24,M>>>=W,F-=W,W=k>>>16&255,W===0)q[y++]=k&65535;else if(W&16){z=k&65535,W&=15,W&&(F>>=W,F-=W),F<15&&(M+=V[g++]<>>24,M>>>=W,F-=W,W=k>>>16&255,W&16){if(K=k&65535,W&=15,F_){o.msg="invalid distance too far back",p.mode=i;break e}if(M>>>=W,F-=W,W=y-w,K>W){if(W=K-W,W>C&&p.sane){o.msg="invalid distance too far back",p.mode=i;break e}if(P=0,G=O,E===0){if(P+=I-W,W2;)q[y++]=G[P++],q[y++]=G[P++],q[y++]=G[P++],z-=3;z&&(q[y++]=G[P++],z>1&&(q[y++]=G[P++]))}else{P=y-K;do q[y++]=q[P++],q[y++]=q[P++],q[y++]=q[P++],z-=3;while(z>2);z&&(q[y++]=q[P++],z>1&&(q[y++]=q[P++]))}}else if((W&64)===0){k=B[(k&65535)+(M&(1<>3,g-=z,F-=z<<3,M&=(1<>>24&255)+(bt>>>8&65280)+((bt&65280)<<8)+((bt&255)<<24)}function Pe(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Nt(bt){var jt;return!bt||!bt.state?E:(jt=bt.state,bt.total_in=bt.total_out=jt.total=0,bt.msg="",jt.wrap&&(bt.adler=jt.wrap&1),jt.mode=B,jt.last=0,jt.havedict=0,jt.dmax=32768,jt.head=null,jt.hold=0,jt.bits=0,jt.lencode=jt.lendyn=new i.Buf32(be),jt.distcode=jt.distdyn=new i.Buf32(Re),jt.sane=1,jt.back=-1,_)}function ut(bt){var jt;return!bt||!bt.state?E:(jt=bt.state,jt.wsize=0,jt.whave=0,jt.wnext=0,Nt(bt))}function Ft(bt,jt){var He,kt;return!bt||!bt.state?E:(kt=bt.state,jt<0?(He=0,jt=-jt):(He=(jt>>4)+1,jt<48&&(jt&=15)),jt&&(jt<8||jt>15)?E:(kt.window!==null&&kt.wbits!==jt&&(kt.window=null),kt.wrap=He,kt.wbits=jt,ut(bt)))}function Ut(bt,jt){var He,kt;return bt?(kt=new Pe,bt.state=kt,kt.window=null,He=Ft(bt,jt),He!==_&&(bt.state=null),He):E}function Wt(bt){return Ut(bt,yt)}var $t=!0,or,ht;function Ee(bt){if($t){var jt;for(or=new i.Buf32(512),ht=new i.Buf32(32),jt=0;jt<144;)bt.lens[jt++]=8;for(;jt<256;)bt.lens[jt++]=9;for(;jt<280;)bt.lens[jt++]=7;for(;jt<288;)bt.lens[jt++]=8;for(h(g,bt.lens,0,288,or,0,bt.work,{bits:9}),jt=0;jt<32;)bt.lens[jt++]=5;h(v,bt.lens,0,32,ht,0,bt.work,{bits:5}),$t=!1}bt.lencode=or,bt.lenbits=9,bt.distcode=ht,bt.distbits=5}function de(bt,jt,He,kt){var Ar,at=bt.state;return at.window===null&&(at.wsize=1<=at.wsize?(i.arraySet(at.window,jt,He-at.wsize,at.wsize,0),at.wnext=0,at.whave=at.wsize):(Ar=at.wsize-at.wnext,Ar>kt&&(Ar=kt),i.arraySet(at.window,jt,He-kt,Ar,at.wnext),kt-=Ar,kt?(i.arraySet(at.window,jt,He-kt,kt,0),at.wnext=kt,at.whave=at.wsize):(at.wnext+=Ar,at.wnext===at.wsize&&(at.wnext=0),at.whave>>8&255,He.check=r(He.check,Xt,2,0),et=0,Ze=0,He.mode=X;break}if(He.flags=0,He.head&&(He.head.done=!1),!(He.wrap&1)||(((et&255)<<8)+(et>>8))%31){bt.msg="incorrect header check",He.mode=De;break}if((et&15)!==H){bt.msg="unknown compression method",He.mode=De;break}if(et>>>=4,Ze-=4,gt=(et&15)+8,He.wbits===0)He.wbits=gt;else if(gt>He.wbits){bt.msg="invalid window size",He.mode=De;break}He.dmax=1<>8&1),He.flags&512&&(Xt[0]=et&255,Xt[1]=et>>>8&255,He.check=r(He.check,Xt,2,0)),et=0,Ze=0,He.mode=J;case J:for(;Ze<32;){if(Kt===0)break e;Kt--,et+=kt[at++]<>>8&255,Xt[2]=et>>>16&255,Xt[3]=et>>>24&255,He.check=r(He.check,Xt,4,0)),et=0,Ze=0,He.mode=k;case k:for(;Ze<16;){if(Kt===0)break e;Kt--,et+=kt[at++]<>8),He.flags&512&&(Xt[0]=et&255,Xt[1]=et>>>8&255,He.check=r(He.check,Xt,2,0)),et=0,Ze=0,He.mode=W;case W:if(He.flags&1024){for(;Ze<16;){if(Kt===0)break e;Kt--,et+=kt[at++]<>>8&255,He.check=r(He.check,Xt,2,0)),et=0,Ze=0}else He.head&&(He.head.extra=null);He.mode=z;case z:if(He.flags&1024&&(br=He.length,br>Kt&&(br=Kt),br&&(He.head&&(gt=He.head.extra_len-He.length,He.head.extra||(He.head.extra=new Array(He.head.extra_len)),i.arraySet(He.head.extra,kt,at,br,gt)),He.flags&512&&(He.check=r(He.check,kt,br,at)),Kt-=br,at+=br,He.length-=br),He.length))break e;He.length=0,He.mode=K;case K:if(He.flags&2048){if(Kt===0)break e;br=0;do gt=kt[at+br++],He.head&>&&He.length<65536&&(He.head.name+=String.fromCharCode(gt));while(gt&&br>9&1,He.head.done=!0),bt.adler=He.check=0,He.mode=re;break;case V:for(;Ze<32;){if(Kt===0)break e;Kt--,et+=kt[at++]<>>=Ze&7,Ze-=Ze&7,He.mode=te;break}for(;Ze<3;){if(Kt===0)break e;Kt--,et+=kt[at++]<>>=1,Ze-=1;switch(et&3){case 0:He.mode=ie;break;case 1:if(Ee(He),He.mode=Be,jt===S){et>>>=2,Ze-=2;break e}break;case 2:He.mode=Se;break;case 3:bt.msg="invalid block type",He.mode=De}et>>>=2,Ze-=2;break;case ie:for(et>>>=Ze&7,Ze-=Ze&7;Ze<32;){if(Kt===0)break e;Kt--,et+=kt[at++]<>>16^65535)){bt.msg="invalid stored block lengths",He.mode=De;break}if(He.length=et&65535,et=0,Ze=0,He.mode=fe,jt===S)break e;case fe:He.mode=xe;case xe:if(br=He.length,br){if(br>Kt&&(br=Kt),br>ot&&(br=ot),br===0)break e;i.arraySet(Ar,kt,at,br,Ht),Kt-=br,at+=br,ot-=br,Ht+=br,He.length-=br;break}He.mode=re;break;case Se:for(;Ze<14;){if(Kt===0)break e;Kt--,et+=kt[at++]<>>=5,Ze-=5,He.ndist=(et&31)+1,et>>>=5,Ze-=5,He.ncode=(et&15)+4,et>>>=4,Ze-=4,He.nlen>286||He.ndist>30){bt.msg="too many length or distance symbols",He.mode=De;break}He.have=0,He.mode=ke;case ke:for(;He.have>>=3,Ze-=3}for(;He.have<19;)He.lens[en[He.have++]]=0;if(He.lencode=He.lendyn,He.lenbits=7,er={bits:He.lenbits},ir=h(p,He.lens,0,19,He.lencode,0,He.work,er),He.lenbits=er.bits,ir){bt.msg="invalid code lengths set",He.mode=De;break}He.have=0,He.mode=ge;case ge:for(;He.have>>24,lt=cn>>>16&255,mt=cn&65535,Kn<=Ze);){if(Kt===0)break e;Kt--,et+=kt[at++]<>>=Kn,Ze-=Kn,He.lens[He.have++]=mt;else{if(mt===16){for(Wr=Kn+2;Ze>>=Kn,Ze-=Kn,He.have===0){bt.msg="invalid bit length repeat",He.mode=De;break}gt=He.lens[He.have-1],br=3+(et&3),et>>>=2,Ze-=2}else if(mt===17){for(Wr=Kn+3;Ze>>=Kn,Ze-=Kn,gt=0,br=3+(et&7),et>>>=3,Ze-=3}else{for(Wr=Kn+7;Ze>>=Kn,Ze-=Kn,gt=0,br=11+(et&127),et>>>=7,Ze-=7}if(He.have+br>He.nlen+He.ndist){bt.msg="invalid bit length repeat",He.mode=De;break}for(;br--;)He.lens[He.have++]=gt}}if(He.mode===De)break;if(He.lens[256]===0){bt.msg="invalid code -- missing end-of-block",He.mode=De;break}if(He.lenbits=9,er={bits:He.lenbits},ir=h(g,He.lens,0,He.nlen,He.lencode,0,He.work,er),He.lenbits=er.bits,ir){bt.msg="invalid literal/lengths set",He.mode=De;break}if(He.distbits=6,He.distcode=He.distdyn,er={bits:He.distbits},ir=h(v,He.lens,He.nlen,He.ndist,He.distcode,0,He.work,er),He.distbits=er.bits,ir){bt.msg="invalid distances set",He.mode=De;break}if(He.mode=Be,jt===S)break e;case Be:He.mode=ee;case ee:if(Kt>=6&&ot>=258){bt.next_out=Ht,bt.avail_out=ot,bt.next_in=at,bt.avail_in=Kt,He.hold=et,He.bits=Ze,o(bt,yr),Ht=bt.next_out,Ar=bt.output,ot=bt.avail_out,at=bt.next_in,kt=bt.input,Kt=bt.avail_in,et=He.hold,Ze=He.bits,He.mode===re&&(He.back=-1);break}for(He.back=0;!(cn=He.lencode[et&(1<>>24,lt=cn>>>16&255,mt=cn&65535,Kn<=Ze);){if(Kt===0)break e;Kt--,et+=kt[at++]<>Le)],Kn=cn>>>24,lt=cn>>>16&255,mt=cn&65535,Le+Kn<=Ze);){if(Kt===0)break e;Kt--,et+=kt[at++]<>>=Le,Ze-=Le,He.back+=Le}if(et>>>=Kn,Ze-=Kn,He.back+=Kn,He.length=mt,lt===0){He.mode=Y;break}if(lt&32){He.back=-1,He.mode=re;break}if(lt&64){bt.msg="invalid literal/length code",He.mode=De;break}He.extra=lt&15,He.mode=ue;case ue:if(He.extra){for(Wr=He.extra;Ze>>=He.extra,Ze-=He.extra,He.back+=He.extra}He.was=He.length,He.mode=Ge;case Ge:for(;!(cn=He.distcode[et&(1<>>24,lt=cn>>>16&255,mt=cn&65535,Kn<=Ze);){if(Kt===0)break e;Kt--,et+=kt[at++]<>Le)],Kn=cn>>>24,lt=cn>>>16&255,mt=cn&65535,Le+Kn<=Ze);){if(Kt===0)break e;Kt--,et+=kt[at++]<>>=Le,Ze-=Le,He.back+=Le}if(et>>>=Kn,Ze-=Kn,He.back+=Kn,lt&64){bt.msg="invalid distance code",He.mode=De;break}He.offset=mt,He.extra=lt&15,He.mode=ae;case ae:if(He.extra){for(Wr=He.extra;Ze>>=He.extra,Ze-=He.extra,He.back+=He.extra}if(He.offset>He.dmax){bt.msg="invalid distance too far back",He.mode=De;break}He.mode=Z;case Z:if(ot===0)break e;if(br=yr-ot,He.offset>br){if(br=He.offset-br,br>He.whave&&He.sane){bt.msg="invalid distance too far back",He.mode=De;break}br>He.wnext?(br-=He.wnext,Sr=He.wsize-br):Sr=He.wnext-br,br>He.length&&(br=He.length),Tn=He.window}else Tn=Ar,Sr=Ht-He.offset,br=He.length;br>ot&&(br=ot),ot-=br,He.length-=br;do Ar[Ht++]=Tn[Sr++];while(--br);He.length===0&&(He.mode=ee);break;case Y:if(ot===0)break e;Ar[Ht++]=He.length,ot--,He.mode=ee;break;case te:if(He.wrap){for(;Ze<32;){if(Kt===0)break e;Kt--,et|=kt[at++]<=1&&!(ee[z]!==0);z--);if(K>z&&(K=z),z===0)return M[F++]=1<<24|64<<16|0,M[F++]=1<<24|64<<16|0,B.bits=1,0;for(W=1;W0&&(I===h||z!==1))return-1;for(ue[1]=0,J=1;Jr||I===g&&q>o)return 1;for(var we=0;;){we++,Z=J-G,H[k]Be?(Y=Ge[ae+H[k]],te=ke[ge+H[k]]):(Y=32+64,te=0),ce=1<>G)+ie]=Z<<24|Y<<16|te|0;while(ie!==0);for(ce=1<>=1;if(ce!==0?(re&=ce-1,re+=ce):re=0,k++,--ee[J]===0){if(J===z)break;J=C[E+H[k]]}if(J>K&&(re&xe)!==fe){for(G===0&&(G=K),Se+=W,P=J-G,V=1<r||I===g&&q>o)return 1;fe=re&xe,M[fe]=K<<24|P<<16|Se-F|0}}return re!==0&&(M[Se+re]=J-G<<24|64<<16|0),B.bits=K,0}},{"../utils/common":27}],37:[function(n,s,c){"use strict";s.exports={"2":"need dictionary","1":"stream end","0":"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],38:[function(n,s,c){"use strict";var i=n("../utils/common"),u=4,r=0,o=1,h=2;function p(qe){for(var rt=qe.length;--rt>=0;)qe[rt]=0}var g=0,v=1,y=2,w=3,S=258,_=29,I=256,C=I+1+_,E=30,O=19,M=2*C+1,F=15,H=16,B=7,X=256,J=16,k=17,W=18,z=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],K=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],P=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],G=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],V=512,q=new Array((C+2)*2);p(q);var re=new Array(E*2);p(re);var ce=new Array(V);p(ce);var ie=new Array(S-w+1);p(ie);var fe=new Array(_);p(fe);var xe=new Array(E);p(xe);var Se=function(rt,ve,bt,jt,He){this.static_tree=rt,this.extra_bits=ve,this.extra_base=bt,this.elems=jt,this.max_length=He,this.has_stree=rt&&rt.length},ke,ge,Be,ee=function(rt,ve){this.dyn_tree=rt,this.max_code=0,this.stat_desc=ve};function ue(qe){return qe<256?ce[qe]:ce[256+(qe>>>7)]}function Ge(qe,rt){qe.pending_buf[qe.pending++]=rt&255,qe.pending_buf[qe.pending++]=rt>>>8&255}function ae(qe,rt,ve){qe.bi_valid>H-ve?(qe.bi_buf|=rt<>H-qe.bi_valid,qe.bi_valid+=ve-H):(qe.bi_buf|=rt<>>=1,ve<<=1;while(--rt>0);return ve>>>1}function te(qe){qe.bi_valid===16?(Ge(qe,qe.bi_buf),qe.bi_buf=0,qe.bi_valid=0):qe.bi_valid>=8&&(qe.pending_buf[qe.pending++]=qe.bi_buf&255,qe.bi_buf>>=8,qe.bi_valid-=8)}function we(qe,rt){var ve=rt.dyn_tree,bt=rt.max_code,jt=rt.stat_desc.static_tree,He=rt.stat_desc.has_stree,kt=rt.stat_desc.extra_bits,Ar=rt.stat_desc.extra_base,at=rt.stat_desc.max_length,Ht,Kt,ot,et,Ze,Gt,yr=0;for(et=0;et<=F;et++)qe.bl_count[et]=0;for(ve[qe.heap[qe.heap_max]*2+1]=0,Ht=qe.heap_max+1;Htat&&(et=at,yr++),ve[Kt*2+1]=et,Kt>bt)continue;qe.bl_count[et]++,Ze=0,Kt>=Ar&&(Ze=kt[Kt-Ar]),Gt=ve[Kt*2],qe.opt_len+=Gt*(et+Ze),He&&(qe.static_len+=Gt*(jt[Kt*2+1]+Ze))}if(yr===0)return;do{for(et=at-1;qe.bl_count[et]===0;)et--;qe.bl_count[et]--,qe.bl_count[et+1]+=2,qe.bl_count[at]--,yr-=2}while(yr>0);for(et=at;et!==0;et--)for(Kt=qe.bl_count[et];Kt!==0;){if(ot=qe.heap[--Ht],ot>bt)continue;ve[ot*2+1]!==et&&(qe.opt_len+=(et-ve[ot*2+1])*ve[ot*2],ve[ot*2+1]=et),Kt--}}function pe(qe,rt,ve){var bt=new Array(F+1),jt=0,He,kt;for(He=1;He<=F;He++)bt[He]=jt=jt+ve[He-1]<<1;for(kt=0;kt<=rt;kt++){var Ar=qe[kt*2+1];if(Ar===0)continue;qe[kt*2]=Y(bt[Ar]++,Ar)}}function De(){var qe,rt,ve,bt,jt,He=new Array(F+1);for(ve=0,bt=0;bt<_-1;bt++)for(fe[bt]=ve,qe=0;qe<1<>=7;bt8?Ge(qe,qe.bi_buf):qe.bi_valid>0&&(qe.pending_buf[qe.pending++]=qe.bi_buf),qe.bi_buf=0,qe.bi_valid=0}function be(qe,rt,ve,bt){me(qe),bt&&(Ge(qe,ve),Ge(qe,~ve)),i.arraySet(qe.pending_buf,qe.window,rt,ve,qe.pending),qe.pending+=ve}function Re(qe,rt,ve,bt){var jt=rt*2,He=ve*2;return qe[jt]>1;kt>=1;kt--)it(qe,ve,kt);Ht=He;do kt=qe.heap[1],qe.heap[1]=qe.heap[qe.heap_len--],it(qe,ve,1),Ar=qe.heap[1],qe.heap[--qe.heap_max]=kt,qe.heap[--qe.heap_max]=Ar,ve[Ht*2]=ve[kt*2]+ve[Ar*2],qe.depth[Ht]=(qe.depth[kt]>=qe.depth[Ar]?qe.depth[kt]:qe.depth[Ar])+1,ve[kt*2+1]=ve[Ar*2+1]=Ht,qe.heap[1]=Ht++,it(qe,ve,1);while(qe.heap_len>=2);qe.heap[--qe.heap_max]=qe.heap[1],we(qe,rt),pe(ve,at,qe.bl_count)}function Pe(qe,rt,ve){var bt,jt=-1,He,kt=rt[0*2+1],Ar=0,at=7,Ht=4;for(kt===0&&(at=138,Ht=3),rt[(ve+1)*2+1]=65535,bt=0;bt<=ve;bt++){if(He=kt,kt=rt[(bt+1)*2+1],++Ar=3&&!(qe.bl_tree[G[rt]*2+1]!==0);rt--);return qe.opt_len+=3*(rt+1)+5+5+4,rt}function Ft(qe,rt,ve,bt){var jt;for(ae(qe,rt-257,5),ae(qe,ve-1,5),ae(qe,bt-4,4),jt=0;jt>>=1)if(rt&1&&qe.dyn_ltree[ve*2]!==0)return r;if(qe.dyn_ltree[9*2]!==0||qe.dyn_ltree[10*2]!==0||qe.dyn_ltree[13*2]!==0)return o;for(ve=32;ve0?(qe.strm.data_type===h&&(qe.strm.data_type=Ut(qe)),pt(qe,qe.l_desc),pt(qe,qe.d_desc),kt=ut(qe),jt=qe.opt_len+3+7>>>3,He=qe.static_len+3+7>>>3,He<=jt&&(jt=He)):jt=He=ve+5,ve+4<=jt&&rt!==-1?or(qe,rt,ve,bt):qe.strategy===u||He===jt?(ae(qe,(v<<1)+(bt?1:0),3),yt(qe,q,re)):(ae(qe,(y<<1)+(bt?1:0),3),Ft(qe,qe.l_desc.max_code+1,qe.d_desc.max_code+1,kt+1),yt(qe,qe.dyn_ltree,qe.dyn_dtree)),Ne(qe),bt&&me(qe)}function de(qe,rt,ve){return qe.pending_buf[qe.d_buf+qe.last_lit*2]=rt>>>8&255,qe.pending_buf[qe.d_buf+qe.last_lit*2+1]=rt&255,qe.pending_buf[qe.l_buf+qe.last_lit]=ve&255,qe.last_lit++,rt===0?qe.dyn_ltree[ve*2]++:(qe.matches++,rt--,qe.dyn_ltree[(ie[ve]+I+1)*2]++,qe.dyn_dtree[ue(rt)*2]++),qe.last_lit===qe.lit_bufsize-1}c._tr_init=$t,c._tr_stored_block=or,c._tr_flush_block=Ee,c._tr_tally=de,c._tr_align=ht},{"../utils/common":27}],39:[function(n,s,c){"use strict";function i(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}s.exports=i},{}]},{},[9])(9)})}).call(this,l("HDXh").Buffer,l("yLpj"))},FhB9:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};R.default=x},"Fm1+":function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("a7Wl")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="CaretUpOutlined";var d=f.forwardRef(m);R.default=d},Fofx:function(j,R){var l=typeof Float32Array=="undefined"?Array:Float32Array;function x(){var n=new l(6);return b(n),n}function b(n){return n[0]=1,n[1]=0,n[2]=0,n[3]=1,n[4]=0,n[5]=0,n}function A(n,s){return n[0]=s[0],n[1]=s[1],n[2]=s[2],n[3]=s[3],n[4]=s[4],n[5]=s[5],n}function f(n,s,c){var i=s[0]*c[0]+s[2]*c[1],u=s[1]*c[0]+s[3]*c[1],r=s[0]*c[2]+s[2]*c[3],o=s[1]*c[2]+s[3]*c[3],h=s[0]*c[4]+s[2]*c[5]+s[4],p=s[1]*c[4]+s[3]*c[5]+s[5];return n[0]=i,n[1]=u,n[2]=r,n[3]=o,n[4]=h,n[5]=p,n}function t(n,s,c){return n[0]=s[0],n[1]=s[1],n[2]=s[2],n[3]=s[3],n[4]=s[4]+c[0],n[5]=s[5]+c[1],n}function e(n,s,c){var i=s[0],u=s[2],r=s[4],o=s[1],h=s[3],p=s[5],g=Math.sin(c),v=Math.cos(c);return n[0]=i*v+o*g,n[1]=-i*g+o*v,n[2]=u*v+h*g,n[3]=-u*g+v*h,n[4]=v*r+g*p,n[5]=v*p-g*r,n}function m(n,s,c){var i=c[0],u=c[1];return n[0]=s[0]*i,n[1]=s[1]*u,n[2]=s[2]*i,n[3]=s[3]*u,n[4]=s[4]*i,n[5]=s[5]*u,n}function d(n,s){var c=s[0],i=s[2],u=s[4],r=s[1],o=s[3],h=s[5],p=c*o-r*i;return p?(p=1/p,n[0]=o*p,n[1]=-r*p,n[2]=-i*p,n[3]=c*p,n[4]=(i*h-o*u)*p,n[5]=(r*u-c*h)*p,n):null}function a(n){var s=x();return A(s,n),s}R.create=x,R.identity=b,R.copy=A,R.mul=f,R.translate=t,R.rotate=e,R.scale=m,R.invert=d,R.clone=a},Fv0C:function(j,R,l){"use strict";function x(u){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(o){return typeof o}:x=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},x(u)}Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var b=a(l("Lo0S")),A=l("vewr"),f=a(l("8CQX")),t=m(l("mHUz")),e=a(l("GdRQ"));function m(u){return u&&u.__esModule?u:{default:u}}function d(){if(typeof WeakMap!="function")return null;var u=new WeakMap;return d=function(){return u},u}function a(u){if(u&&u.__esModule)return u;if(u===null||x(u)!=="object"&&typeof u!="function")return{default:u};var r=d();if(r&&r.has(u))return r.get(u);var o={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(Object.prototype.hasOwnProperty.call(u,p)){var g=h?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(o,p,g):o[p]=u[p]}return o.default=u,r&&r.set(u,o),o}function n(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function s(u,r){for(var o=0;o=48&&o.keyCode<=57)h=o.keyCode;else if(o.keyCode>=65&&o.keyCode<=90){var g=String.fromCharCode(o.keyCode);o.shiftKey?g=g.toUpperCase():g=g.toLowerCase(),h=g.charCodeAt()}else h=0;this._sendKeyEvent(h,p,!0)}},{key:"_handleKeyUp",value:function(o){(0,A.stopEvent)(o);var h=this._getKeyCode(o);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(t.default.XK_Control_L,"ControlLeft",!0)),(e.isMac()||e.isIOS())&&h==="CapsLock"){this._sendKeyEvent(t.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(t.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[h],h,!1),e.isWindows()&&(h==="ShiftLeft"||h==="ShiftRight")&&("ShiftRight"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftRight,"ShiftRight",!1),"ShiftLeft"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftLeft,"ShiftLeft",!1))}},{key:"_handleAltGrTimeout",value:function(){this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(t.default.XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){b.Debug(">> Keyboard.allKeysUp");for(var o in this._keyDownList)this._sendKeyEvent(this._keyDownList[o],o,!1);b.Debug("<< Keyboard.allKeysUp")}},{key:"_checkAlt",value:function(o){if(o.skipCheckAlt)return;if(o.altKey)return;var h=this._target,p=this._keyDownList;["AltLeft","AltRight"].forEach(function(g){if(!(g in p))return;var v=new KeyboardEvent("keyup",{key:p[g],code:g});v.skipCheckAlt=!0,h.dispatchEvent(v)})}},{key:"grab",value:function(){if(this._target.addEventListener("keydown",this._eventHandlers.keydown),this._target.addEventListener("keyup",this._eventHandlers.keyup),this._target.addEventListener("keypress",this._eventHandlers.keypress),window.addEventListener("blur",this._eventHandlers.blur),e.isWindows()&&e.isFirefox()){var o=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(h){return document.addEventListener(h,o,{capture:!0,passive:!0})})}}},{key:"ungrab",value:function(){if(e.isWindows()&&e.isFirefox()){var o=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(h){return document.removeEventListener(h,o)})}this._target.removeEventListener("keydown",this._eventHandlers.keydown),this._target.removeEventListener("keyup",this._eventHandlers.keyup),this._target.removeEventListener("keypress",this._eventHandlers.keypress),window.removeEventListener("blur",this._eventHandlers.blur),this._allKeysUp()}}]),u}();R.default=i},FxDU:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.createSensor=void 0;var x=l("QO+J"),b=l("j5sG"),A=typeof ResizeObserver!="undefined"?b.createSensor:x.createSensor;R.createSensor=A},GGyF:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("wgjA")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="LeftOutlined";var d=f.forwardRef(m);R.default=d},GIiI:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="PoweroffOutlined";var m=R.a=b.forwardRef(e)},GMDS:function(j,R,l){var x=l("bYtY"),b=l("4NgU"),A=l("jkPA"),f=b.prototype,t=b.extend({type:"ordinal",init:function(m,d){(!m||x.isArray(m))&&(m=new A({categories:m})),this._ordinalMeta=m,this._extent=d||[0,m.categories.length-1]},parse:function(m){return typeof m=="string"?this._ordinalMeta.getOrdinal(m):Math.round(m)},contain:function(m){return m=this.parse(m),f.contain.call(this,m)&&this._ordinalMeta.categories[m]!=null},normalize:function(m){return f.normalize.call(this,this.parse(m))},scale:function(m){return Math.round(f.scale.call(this,m))},getTicks:function(){for(var m=[],d=this._extent,a=d[0];a<=d[1];)m.push(a),a++;return m},getLabel:function(m){if(!this.isBlank())return this._ordinalMeta.categories[m]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(m,d){this.unionExtent(m.getApproximateExtent(d))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:x.noop,niceExtent:x.noop});t.create=function(){return new t};var e=t;j.exports=e},GQ8N:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.toUnsigned32bit=x,R.toSigned32bit=b;function x(A){return A>>>0}function b(A){return A|0}},GUcZ:function(j,R,l){"use strict";var x=l("XKWP"),b=l("N7Kx"),A=function(){function lt(){Object(x.a)(this,lt)}return Object(b.a)(lt,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(Le,ze){return Le.__proto__=ze,Le},Object.assign=Object.assign||function(Le){if(Le==null)throw new TypeError("Cannot convert undefined or null to object");for(var ze=Object(Le),$e=1;$e ").concat(ze);if(lt.ENABLE_CALLBACK&<.emitter.emit("log","error",$e),!lt.ENABLE_ERROR)return;console.error?console.error($e):console.warn?console.warn($e):console.log($e)}},{key:"i",value:function(Le,ze){(!Le||lt.FORCE_GLOBAL_TAG)&&(Le=lt.GLOBAL_TAG);var $e="[".concat(Le,"] > ").concat(ze);if(lt.ENABLE_CALLBACK&<.emitter.emit("log","info",$e),!lt.ENABLE_INFO)return;console.info?console.info($e):console.log($e)}},{key:"w",value:function(Le,ze){(!Le||lt.FORCE_GLOBAL_TAG)&&(Le=lt.GLOBAL_TAG);var $e="[".concat(Le,"] > ").concat(ze);if(lt.ENABLE_CALLBACK&<.emitter.emit("log","warn",$e),!lt.ENABLE_WARN)return;console.warn?console.warn($e):console.log($e)}},{key:"d",value:function(Le,ze){(!Le||lt.FORCE_GLOBAL_TAG)&&(Le=lt.GLOBAL_TAG);var $e="[".concat(Le,"] > ").concat(ze);if(lt.ENABLE_CALLBACK&<.emitter.emit("log","debug",$e),!lt.ENABLE_DEBUG)return;console.debug?console.debug($e):console.log($e)}},{key:"v",value:function(Le,ze){(!Le||lt.FORCE_GLOBAL_TAG)&&(Le=lt.GLOBAL_TAG);var $e="[".concat(Le,"] > ").concat(ze);if(lt.ENABLE_CALLBACK&<.emitter.emit("log","verbose",$e),!lt.ENABLE_VERBOSE)return;console.log($e)}}]),lt}();m.GLOBAL_TAG="flv.js",m.FORCE_GLOBAL_TAG=!1,m.ENABLE_ERROR=!0,m.ENABLE_INFO=!0,m.ENABLE_WARN=!0,m.ENABLE_DEBUG=!0,m.ENABLE_VERBOSE=!0,m.ENABLE_CALLBACK=!1,m.emitter=new e.a;var d=m,a=function(){function lt(){Object(x.a)(this,lt),this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}return Object(b.a)(lt,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(Le){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=Le,this._totalBytes+=Le):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=Le,this._totalBytes+=Le):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=Le,this._totalBytes+=Le,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var Le=(this._now()-this._lastCheckpoint)/1e3;return Le==0&&(Le=1),this._intervalBytes/Le/1024}},{key:"lastSecondKBps",get:function(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}},{key:"averageKBps",get:function(){var Le=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/Le/1024}}]),lt}(),n=a,s=l("kFHX"),c=l("4jIl"),i=function(){function lt(mt){Object(x.a)(this,lt),this._message=mt}return Object(b.a)(lt,[{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}},{key:"toString",value:function(){return this.name+": "+this.message}}]),lt}(),u=function(lt){Object(s.a)(Le,lt);var mt=Object(c.a)(Le);function Le(ze){return Object(x.a)(this,Le),mt.call(this,ze)}return Object(b.a)(Le,[{key:"name",get:function(){return"IllegalStateException"}}]),Le}(i),r=function(lt){Object(s.a)(Le,lt);var mt=Object(c.a)(Le);function Le(ze){return Object(x.a)(this,Le),mt.call(this,ze)}return Object(b.a)(Le,[{key:"name",get:function(){return"InvalidArgumentException"}}]),Le}(i),o=function(lt){Object(s.a)(Le,lt);var mt=Object(c.a)(Le);function Le(ze){return Object(x.a)(this,Le),mt.call(this,ze)}return Object(b.a)(Le,[{key:"name",get:function(){return"NotImplementedException"}}]),Le}(i),h={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},p={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},g=function(){function lt(mt){Object(x.a)(this,lt),this._type=mt||"undefined",this._status=h.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(b.a)(lt,[{key:"destroy",value:function(){this._status=h.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===h.kConnecting||this._status===h.kBuffering}},{key:"type",get:function(){return this._type}},{key:"status",get:function(){return this._status}},{key:"needStashBuffer",get:function(){return this._needStash}},{key:"onContentLengthKnown",get:function(){return this._onContentLengthKnown},set:function(Le){this._onContentLengthKnown=Le}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(Le){this._onURLRedirect=Le}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(Le){this._onDataArrival=Le}},{key:"onError",get:function(){return this._onError},set:function(Le){this._onError=Le}},{key:"onComplete",get:function(){return this._onComplete},set:function(Le){this._onComplete=Le}},{key:"open",value:function(Le,ze){throw new o("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new o("Unimplemented abstract function!")}}]),lt}(),v=l("2KFj"),y=l("XPR9"),w={};function S(){var lt=self.navigator.userAgent.toLowerCase(),mt=/(edge)\/([\w.]+)/.exec(lt)||/(opr)[\/]([\w.]+)/.exec(lt)||/(chrome)[ \/]([\w.]+)/.exec(lt)||/(iemobile)[\/]([\w.]+)/.exec(lt)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(lt)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(lt)||/(webkit)[ \/]([\w.]+)/.exec(lt)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(lt)||/(msie) ([\w.]+)/.exec(lt)||lt.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(lt)||lt.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(lt)||[],Le=/(ipad)/.exec(lt)||/(ipod)/.exec(lt)||/(windows phone)/.exec(lt)||/(iphone)/.exec(lt)||/(kindle)/.exec(lt)||/(android)/.exec(lt)||/(windows)/.exec(lt)||/(mac)/.exec(lt)||/(linux)/.exec(lt)||/(cros)/.exec(lt)||[],ze={browser:mt[5]||mt[3]||mt[1]||"",version:mt[2]||mt[4]||"0",majorVersion:mt[4]||mt[2]||"0",platform:Le[0]||""},$e={};if(ze.browser){$e[ze.browser]=!0;var gt=ze.majorVersion.split(".");$e.version={major:parseInt(ze.majorVersion,10),string:ze.version},gt.length>1&&($e.version.minor=parseInt(gt[1],10)),gt.length>2&&($e.version.build=parseInt(gt[2],10))}if(ze.platform&&($e[ze.platform]=!0),($e.chrome||$e.opr||$e.safari)&&($e.webkit=!0),$e.rv||$e.iemobile){$e.rv&&delete $e.rv;var ir="msie";ze.browser=ir,$e[ir]=!0}if($e.edge){delete $e.edge;var Xt="msedge";ze.browser=Xt,$e[Xt]=!0}if($e.opr){var er="opera";ze.browser=er,$e[er]=!0}if($e.safari&&$e.android){var Wr="android";ze.browser=Wr,$e[Wr]=!0}$e.name=ze.browser,$e.platform=ze.platform;for(var en in w)w.hasOwnProperty(en)&&delete w[en];Object.assign(w,$e)}S();var _=w,I=function(lt){Object(s.a)(Le,lt);var mt=Object(c.a)(Le);function Le(ze,$e){var gt;return Object(x.a)(this,Le),gt=mt.call(this,"fetch-stream-loader"),gt.TAG="FetchStreamLoader",gt._seekHandler=ze,gt._config=$e,gt._needStash=!0,gt._requestAbort=!1,gt._contentLength=null,gt._receivedLength=0,gt}return Object(b.a)(Le,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),Object(v.a)(Object(y.a)(Le.prototype),"destroy",this).call(this)}},{key:"open",value:function($e,gt){var ir=this;this._dataSource=$e,this._range=gt;var Xt=$e.url;this._config.reuseRedirectedURL&&$e.redirectedURL!=null&&(Xt=$e.redirectedURL);var er=this._seekHandler.getConfig(Xt,gt),Wr=new self.Headers;if(typeof er.headers=="object"){var en=er.headers;for(var Fn in en)en.hasOwnProperty(Fn)&&Wr.append(Fn,en[Fn])}var ar={method:"GET",headers:Wr,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var It in this._config.headers)Wr.append(It,this._config.headers[It]);$e.cors===!1&&(ar.mode="same-origin"),$e.withCredentials&&(ar.credentials="include"),$e.referrerPolicy&&(ar.referrerPolicy=$e.referrerPolicy),this._status=h.kConnecting,self.fetch(er.url,ar).then(function(Ct){if(ir._requestAbort){ir._requestAbort=!1,ir._status=h.kIdle;return}if(Ct.ok&&Ct.status>=200&&Ct.status<=299){if(Ct.url!==er.url&&ir._onURLRedirect){var mr=ir._seekHandler.removeURLParameters(Ct.url);ir._onURLRedirect(mr)}var gr=Ct.headers.get("Content-Length");return gr!=null&&(ir._contentLength=parseInt(gr),ir._contentLength!==0&&(ir._onContentLengthKnown&&ir._onContentLengthKnown(ir._contentLength))),ir._pump.call(ir,Ct.body.getReader())}else if(ir._status=h.kError,ir._onError)ir._onError(p.HTTP_STATUS_CODE_INVALID,{code:Ct.status,msg:Ct.statusText});else throw new i("FetchStreamLoader: Http code invalid, "+Ct.status+" "+Ct.statusText)}).catch(function(Ct){if(ir._status=h.kError,ir._onError)ir._onError(p.EXCEPTION,{code:-1,msg:Ct.message});else throw Ct})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function($e){var gt=this;return $e.read().then(function(ir){if(ir.done)if(gt._contentLength!==null&>._receivedLength=15048,gt=_.msedge?$e:!0;return self.fetch&&self.ReadableStream&>}catch(ir){return!1}}}]),Le}(g),C=I,E=function(lt){Object(s.a)(Le,lt);var mt=Object(c.a)(Le);function Le(ze,$e){var gt;return Object(x.a)(this,Le),gt=mt.call(this,"xhr-moz-chunked-loader"),gt.TAG="MozChunkedLoader",gt._seekHandler=ze,gt._config=$e,gt._needStash=!0,gt._xhr=null,gt._requestAbort=!1,gt._contentLength=null,gt._receivedLength=0,gt}return Object(b.a)(Le,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onloadend=null,this._xhr.onerror=null,this._xhr=null),Object(v.a)(Object(y.a)(Le.prototype),"destroy",this).call(this)}},{key:"open",value:function($e,gt){this._dataSource=$e,this._range=gt;var ir=$e.url;this._config.reuseRedirectedURL&&$e.redirectedURL!=null&&(ir=$e.redirectedURL);var Xt=this._seekHandler.getConfig(ir,gt);this._requestURL=Xt.url;var er=this._xhr=new XMLHttpRequest;if(er.open("GET",Xt.url,!0),er.responseType="moz-chunked-arraybuffer",er.onreadystatechange=this._onReadyStateChange.bind(this),er.onprogress=this._onProgress.bind(this),er.onloadend=this._onLoadEnd.bind(this),er.onerror=this._onXhrError.bind(this),$e.withCredentials&&(er.withCredentials=!0),typeof Xt.headers=="object"){var Wr=Xt.headers;for(var en in Wr)Wr.hasOwnProperty(en)&&er.setRequestHeader(en,Wr[en])}if(typeof this._config.headers=="object"){var Fn=this._config.headers;for(var ar in Fn)Fn.hasOwnProperty(ar)&&er.setRequestHeader(ar,Fn[ar])}this._status=h.kConnecting,er.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=h.kComplete}},{key:"_onReadyStateChange",value:function($e){var gt=$e.target;if(gt.readyState===2){if(gt.responseURL!=null&>.responseURL!==this._requestURL&&this._onURLRedirect){var ir=this._seekHandler.removeURLParameters(gt.responseURL);this._onURLRedirect(ir)}if(gt.status!==0&&(gt.status<200||gt.status>299))if(this._status=h.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:gt.status,msg:gt.statusText});else throw new i("MozChunkedLoader: Http code invalid, "+gt.status+" "+gt.statusText);else this._status=h.kBuffering}}},{key:"_onProgress",value:function($e){if(this._status===h.kError)return;this._contentLength===null&&($e.total!==null&&$e.total!==0&&(this._contentLength=$e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var gt=$e.target.response,ir=this._range.from+this._receivedLength;this._receivedLength+=gt.byteLength,this._onDataArrival&&this._onDataArrival(gt,ir,this._receivedLength)}},{key:"_onLoadEnd",value:function($e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===h.kError)return;this._status=h.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function($e){this._status=h.kError;var gt=0,ir=null;if(this._contentLength&&$e.loaded=200&>.status<=299){if(this._status=h.kBuffering,gt.responseURL!=null){var ir=this._seekHandler.removeURLParameters(gt.responseURL);gt.responseURL!==this._currentRequestURL&&ir!==this._currentRedirectedURL&&(this._currentRedirectedURL=ir,this._onURLRedirect&&this._onURLRedirect(ir))}var Xt=gt.getResponseHeader("Content-Length");if(Xt!=null&&this._contentLength==null){var er=parseInt(Xt);er>0&&(this._contentLength=er,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=h.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:gt.status,msg:gt.statusText});else throw new i("MSStreamLoader: Http code invalid, "+gt.status+" "+gt.statusText);else if(gt.readyState===3&&(gt.status>=200&>.status<=299)){this._status=h.kBuffering;var Wr=gt.response;this._reader.readAsArrayBuffer(Wr)}}},{key:"_xhrOnError",value:function($e){this._status=h.kError;var gt=p.EXCEPTION,ir={code:-1,msg:$e.constructor.name+" "+$e.type};if(this._onError)this._onError(gt,ir);else throw new i(ir.msg)}},{key:"_msrOnProgress",value:function($e){var gt=$e.target,ir=gt.result;if(ir==null){this._doReconnectIfNeeded();return}var Xt=ir.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=ir.byteLength;var er=this._totalRange.from+this._receivedLength;this._receivedLength+=Xt.byteLength,this._onDataArrival&&this._onDataArrival(Xt,er,this._receivedLength),ir.byteLength>=this._bufferLimit&&(d.v(this.TAG,"MSStream buffer exceeded max size near ".concat(er+Xt.byteLength,", reconnecting...")),this._doReconnectIfNeeded())}},{key:"_doReconnectIfNeeded",value:function(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(ir=this._range.from+this._contentLength-1)),this._currentRequestRange={from:gt,to:ir},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function($e,gt){this._lastTimeLoaded=0;var ir=$e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?ir=this._currentRedirectedURL:$e.redirectedURL!=null&&(ir=$e.redirectedURL));var Xt=this._seekHandler.getConfig(ir,gt);this._currentRequestURL=Xt.url;var er=this._xhr=new XMLHttpRequest;if(er.open("GET",Xt.url,!0),er.responseType="arraybuffer",er.onreadystatechange=this._onReadyStateChange.bind(this),er.onprogress=this._onProgress.bind(this),er.onload=this._onLoad.bind(this),er.onerror=this._onXhrError.bind(this),$e.withCredentials&&(er.withCredentials=!0),typeof Xt.headers=="object"){var Wr=Xt.headers;for(var en in Wr)Wr.hasOwnProperty(en)&&er.setRequestHeader(en,Wr[en])}if(typeof this._config.headers=="object"){var Fn=this._config.headers;for(var ar in Fn)Fn.hasOwnProperty(ar)&&er.setRequestHeader(ar,Fn[ar])}er.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=h.kComplete}},{key:"_internalAbort",value:function(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}},{key:"_onReadyStateChange",value:function($e){var gt=$e.target;if(gt.readyState===2){if(gt.responseURL!=null){var ir=this._seekHandler.removeURLParameters(gt.responseURL);gt.responseURL!==this._currentRequestURL&&ir!==this._currentRedirectedURL&&(this._currentRedirectedURL=ir,this._onURLRedirect&&this._onURLRedirect(ir))}if(gt.status>=200&>.status<=299){if(this._waitForTotalLength)return;this._status=h.kBuffering}else if(this._status=h.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:gt.status,msg:gt.statusText});else throw new i("RangeLoader: Http code invalid, "+gt.status+" "+gt.statusText)}}},{key:"_onProgress",value:function($e){if(this._status===h.kError)return;if(this._contentLength===null){var gt=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,gt=!0;var ir=$e.total;this._internalAbort(),ir!=null&ir!==0&&(this._totalLength=ir)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,gt){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var Xt=$e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=$e.loaded,this._speedSampler.addBytes(Xt)}},{key:"_normalizeSpeed",value:function($e){var gt=this._chunkSizeKBList,ir=gt.length-1,Xt=0,er=0,Wr=ir;if($e=gt[Xt]&&$e=3&&(gt=this._speedSampler.currentKBps)),gt!==0){var ir=this._normalizeSpeed(gt);this._currentSpeedNormalized!==ir&&(this._currentSpeedNormalized=ir,this._currentChunkSizeKB=ir)}var Xt=$e.target.response,er=this._range.from+this._receivedLength;this._receivedLength+=Xt.byteLength;var Wr=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength0)for(var Xt=$e.split("&"),er=0;er0;Wr[0]!==this._startName&&Wr[0]!==this._endName&&(en&&(ir+="&"),ir+=Xt[er])}return ir.length===0?ze:ze+"?"+ir}}]),lt}(),K=z,P=function(){function lt(mt,Le,ze){Object(x.a)(this,lt),this.TAG="IOController",this._config=Le,this._extraData=ze,this._stashInitialSize=1024*384,Le.stashInitialSize!=null&&Le.stashInitialSize>0&&(this._stashInitialSize=Le.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,Le.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=mt,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(mt.url),this._refTotalLength=mt.filesize?mt.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new n,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}return Object(b.a)(lt,[{key:"destroy",value:function(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}},{key:"isWorking",value:function(){return this._loader&&this._loader.isWorking()&&!this._paused}},{key:"isPaused",value:function(){return this._paused}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(Le){this._extraData=Le}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(Le){this._onDataArrival=Le}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(Le){this._onSeeked=Le}},{key:"onError",get:function(){return this._onError},set:function(Le){this._onError=Le}},{key:"onComplete",get:function(){return this._onComplete},set:function(Le){this._onComplete=Le}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(Le){this._onRedirect=Le}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(Le){this._onRecoveredEarlyEof=Le}},{key:"currentURL",get:function(){return this._dataSource.url}},{key:"hasRedirect",get:function(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}},{key:"currentRedirectedURL",get:function(){return this._redirectedURL||this._dataSource.redirectedURL}},{key:"currentSpeed",get:function(){return this._loaderClass===B?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}},{key:"_selectSeekHandler",value:function(){var Le=this._config;if(Le.seekType==="range")this._seekHandler=new W(this._config.rangeLoadZeroStart);else if(Le.seekType==="param"){var ze=Le.seekParamStart||"bstart",$e=Le.seekParamEnd||"bend";this._seekHandler=new K(ze,$e)}else if(Le.seekType==="custom"){if(typeof Le.customSeekHandler!="function")throw new r("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new Le.customSeekHandler}else throw new r("Invalid seekType in config: ".concat(Le.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=J;else if(C.isSupported())this._loaderClass=C;else if(O.isSupported())this._loaderClass=O;else if(B.isSupported())this._loaderClass=B;else throw new i("Your browser doesn't support xhr with arraybuffer responseType!")}},{key:"_createLoader",value:function(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}},{key:"open",value:function(Le){this._currentRange={from:0,to:-1},Le&&(this._currentRange.from=Le),this._speedSampler.reset(),Le||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}},{key:"abort",value:function(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}},{key:"pause",value:function(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}},{key:"resume",value:function(){if(this._paused){this._paused=!1;var Le=this._resumeFrom;this._resumeFrom=0,this._internalSeek(Le,!0)}}},{key:"seek",value:function(Le){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(Le,!0)}},{key:"_internalSeek",value:function(Le,ze){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(ze),this._loader.destroy(),this._loader=null;var $e={from:Le,to:-1};this._currentRange={from:$e.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,$e),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(Le){if(!Le||typeof Le!="string"||Le.length===0)throw new r("Url must be a non-empty string!");this._dataSource.url=Le}},{key:"_expandBuffer",value:function(Le){for(var ze=this._stashSize;ze+1024*1024*10){var gt=new Uint8Array(this._stashBuffer,0,this._stashUsed),ir=new Uint8Array($e,0,ze);ir.set(gt,0)}this._stashBuffer=$e,this._bufferSize=ze}},{key:"_normalizeSpeed",value:function(Le){var ze=this._speedNormalizeList,$e=ze.length-1,gt=0,ir=0,Xt=$e;if(Le=ze[gt]&&Le=512&&Le<=1024?ze=Math.floor(Le*1.5):ze=Le*2,ze>8192&&(ze=8192);var $e=ze*1024+1024*1024*1;this._bufferSize<$e&&this._expandBuffer($e),this._stashSize=ze*1024}},{key:"_dispatchChunks",value:function(Le,ze){return this._currentRange.to=ze+Le.byteLength-1,this._onDataArrival(Le,ze)}},{key:"_onURLRedirect",value:function(Le){this._redirectedURL=Le,this._onRedirect&&this._onRedirect(Le)}},{key:"_onContentLengthKnown",value:function(Le){Le&&this._fullRequestFlag&&(this._totalLength=Le,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(Le,ze,$e){if(!this._onDataArrival)throw new u("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(Le.byteLength);var gt=this._speedSampler.lastSecondKBps;if(gt!==0){var ir=this._normalizeSpeed(gt);this._speedNormalized!==ir&&(this._speedNormalized=ir,this._adjustStashSize(ir))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=ze),this._stashUsed+Le.byteLength<=this._stashSize){var It=new Uint8Array(this._stashBuffer,0,this._stashSize);It.set(new Uint8Array(Le),this._stashUsed),this._stashUsed+=Le.byteLength}else{var Ct=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var mr=this._stashBuffer.slice(0,this._stashUsed),gr=this._dispatchChunks(mr,this._stashByteStart);if(gr0){var Mt=new Uint8Array(mr,gr);Ct.set(Mt,0),this._stashUsed=Mt.byteLength,this._stashByteStart+=gr}}else this._stashUsed=0,this._stashByteStart+=gr;this._stashUsed+Le.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+Le.byteLength),Ct=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Ct.set(new Uint8Array(Le),this._stashUsed),this._stashUsed+=Le.byteLength}else{var rr=this._dispatchChunks(Le,ze);if(rrthis._bufferSize&&(this._expandBuffer(Dt),Ct=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Ct.set(new Uint8Array(Le,rr),0),this._stashUsed+=Dt,this._stashByteStart=ze+rr}}}else if(this._stashUsed===0){var Xt=this._dispatchChunks(Le,ze);if(Xtthis._bufferSize&&this._expandBuffer(er);var Wr=new Uint8Array(this._stashBuffer,0,this._bufferSize);Wr.set(new Uint8Array(Le,Xt),0),this._stashUsed+=er,this._stashByteStart=ze+Xt}}else{this._stashUsed+Le.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+Le.byteLength);var en=new Uint8Array(this._stashBuffer,0,this._bufferSize);en.set(new Uint8Array(Le),this._stashUsed),this._stashUsed+=Le.byteLength;var Fn=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(Fn0){var ar=new Uint8Array(this._stashBuffer,Fn);en.set(ar,0)}this._stashUsed-=Fn,this._stashByteStart+=Fn}}},{key:"_flushStashBuffer",value:function(Le){if(this._stashUsed>0){var ze=this._stashBuffer.slice(0,this._stashUsed),$e=this._dispatchChunks(ze,this._stashByteStart),gt=ze.byteLength-$e;if($e0){var ir=new Uint8Array(this._stashBuffer,0,this._bufferSize),Xt=new Uint8Array(ze,$e);ir.set(Xt,0),this._stashUsed=Xt.byteLength,this._stashByteStart+=$e}return 0}return this._stashUsed=0,this._stashByteStart=0,gt}return 0}},{key:"_onLoaderComplete",value:function(Le,ze){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(Le,ze){d.e(this.TAG,"Loader error, code = ".concat(ze.code,", msg = ").concat(ze.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,Le=p.UNRECOVERABLE_EARLY_EOF);switch(Le){case p.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var $e=this._currentRange.to+1;$e0){var ze=lt.getConfig();Le.emit("change",ze)}}},{key:"registerListener",value:function(Le){lt.emitter.addListener("change",Le)}},{key:"removeListener",value:function(Le){lt.emitter.removeListener("change",Le)}},{key:"addLogListener",value:function(Le){d.emitter.addListener("log",Le),d.emitter.listenerCount("log")>0&&(d.ENABLE_CALLBACK=!0,lt._notifyChange())}},{key:"removeLogListener",value:function(Le){d.emitter.removeListener("log",Le),d.emitter.listenerCount("log")===0&&(d.ENABLE_CALLBACK=!1,lt._notifyChange())}}]),lt}();xe.emitter=new e.a;var Se=xe,ke=function(){function lt(){Object(x.a)(this,lt),this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}return Object(b.a)(lt,[{key:"isComplete",value:function(){var Le=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,ze=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&Le&&ze}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(Le){if(this.keyframesIndex==null)return null;var ze=this.keyframesIndex,$e=this._search(ze.times,Le);return{index:$e,milliseconds:ze.times[$e],fileposition:ze.filepositions[$e]}}},{key:"_search",value:function(Le,ze){var $e=0,gt=Le.length-1,ir=0,Xt=0,er=gt;for(ze=Le[ir]&&ze=128){mt.push(String.fromCharCode(gt&65535)),ze+=2;continue}}}else if(Le[ze]<240){if(Be(Le,ze,2)){var ir=(Le[ze]&15)<<12|(Le[ze+1]&63)<<6|Le[ze+2]&63;if(ir>=2048&&(ir&63488)!==55296){mt.push(String.fromCharCode(ir&65535)),ze+=3;continue}}}else if(Le[ze]<248&&Be(Le,ze,3)){var Xt=(Le[ze]&7)<<18|(Le[ze+1]&63)<<12|(Le[ze+2]&63)<<6|Le[ze+3]&63;if(Xt>65536&&Xt<1114112){Xt-=65536,mt.push(String.fromCharCode(Xt>>>10|55296)),mt.push(String.fromCharCode(Xt&1023|56320)),ze+=4;continue}}}mt.push(String.fromCharCode(65533)),++ze}return mt.join("")}var ue=ee,Ge=function(){var lt=new ArrayBuffer(2);return new DataView(lt).setInt16(0,256,!0),new Int16Array(lt)[0]===256}(),ae=function(){function lt(){Object(x.a)(this,lt)}return Object(b.a)(lt,null,[{key:"parseScriptData",value:function(Le,ze,$e){var gt={};try{var ir=lt.parseValue(Le,ze,$e),Xt=lt.parseValue(Le,ze+ir.size,$e-ir.size);gt[ir.data]=Xt.data}catch(er){d.e("AMF",er.toString())}return gt}},{key:"parseObject",value:function(Le,ze,$e){if($e<3)throw new u("Data not enough when parse ScriptDataObject");var gt=lt.parseString(Le,ze,$e),ir=lt.parseValue(Le,ze+gt.size,$e-gt.size),Xt=ir.objectEnd;return{data:{name:gt.data,value:ir.data},size:gt.size+ir.size,objectEnd:Xt}}},{key:"parseVariable",value:function(Le,ze,$e){return lt.parseObject(Le,ze,$e)}},{key:"parseString",value:function(Le,ze,$e){if($e<2)throw new u("Data not enough when parse String");var gt=new DataView(Le,ze,$e),ir=gt.getUint16(0,!Ge),Xt;return ir>0?Xt=ue(new Uint8Array(Le,ze+2,ir)):Xt="",{data:Xt,size:2+ir}}},{key:"parseLongString",value:function(Le,ze,$e){if($e<4)throw new u("Data not enough when parse LongString");var gt=new DataView(Le,ze,$e),ir=gt.getUint32(0,!Ge),Xt;return ir>0?Xt=ue(new Uint8Array(Le,ze+4,ir)):Xt="",{data:Xt,size:4+ir}}},{key:"parseDate",value:function(Le,ze,$e){if($e<10)throw new u("Data size invalid when parse Date");var gt=new DataView(Le,ze,$e),ir=gt.getFloat64(0,!Ge),Xt=gt.getInt16(8,!Ge);return ir+=Xt*60*1e3,{data:new Date(ir),size:8+2}}},{key:"parseValue",value:function(Le,ze,$e){if($e<1)throw new u("Data not enough when parse Value");var gt=new DataView(Le,ze,$e),ir=1,Xt=gt.getUint8(0),er,Wr=!1;try{switch(Xt){case 0:er=gt.getFloat64(1,!Ge),ir+=8;break;case 1:{var en=gt.getUint8(1);er=!!en,ir+=1;break}case 2:{var Fn=lt.parseString(Le,ze+1,$e-1);er=Fn.data,ir+=Fn.size;break}case 3:{er={};var ar=0;for((gt.getUint32($e-4,!Ge)&16777215)===9&&(ar=3);ir<$e-4;){var It=lt.parseObject(Le,ze+ir,$e-ir-ar);if(It.objectEnd)break;er[It.data.name]=It.data.value,ir+=It.size}if(ir<=$e-3){var Ct=gt.getUint32(ir-1,!Ge)&16777215;Ct===9&&(ir+=3)}break}case 8:{er={},ir+=4;var mr=0;for((gt.getUint32($e-4,!Ge)&16777215)===9&&(mr=3);ir<$e-8;){var gr=lt.parseVariable(Le,ze+ir,$e-ir-mr);if(gr.objectEnd)break;er[gr.data.name]=gr.data.value,ir+=gr.size}if(ir<=$e-3){var Mt=gt.getUint32(ir-1,!Ge)&16777215;Mt===9&&(ir+=3)}break}case 9:er=void 0,ir=1,Wr=!0;break;case 10:{er=[];var rr=gt.getUint32(1,!Ge);ir+=4;for(var Dt=0;Dt32)throw new r("ExpGolomb: readBits() bits exceeded max 32bits!");if(Le<=this._current_word_bits_left){var ze=this._current_word>>>32-Le;return this._current_word<<=Le,this._current_word_bits_left-=Le,ze}var $e=this._current_word_bits_left?this._current_word:0;$e=$e>>>32-this._current_word_bits_left;var gt=Le-this._current_word_bits_left;this._fillCurrentWord();var ir=Math.min(gt,this._current_word_bits_left),Xt=this._current_word>>>32-ir;return this._current_word<<=ir,this._current_word_bits_left-=ir,$e=$e<>>Le)!==0)return this._current_word<<=Le,this._current_word_bits_left-=Le,Le;return this._fillCurrentWord(),Le+this._skipLeadingZero()}},{key:"readUEG",value:function(){var Le=this._skipLeadingZero();return this.readBits(Le+1)-1}},{key:"readSEG",value:function(){var Le=this.readUEG();return Le&1?Le+1>>>1:-1*(Le>>>1)}}]),lt}(),te=Y,we=function(){function lt(){Object(x.a)(this,lt)}return Object(b.a)(lt,null,[{key:"_ebsp2rbsp",value:function(Le){for(var ze=Le,$e=ze.byteLength,gt=new Uint8Array($e),ir=0,Xt=0;Xt<$e;Xt++){if(Xt>=2&&(ze[Xt]===3&&ze[Xt-1]===0&&ze[Xt-2]===0))continue;gt[ir]=ze[Xt],ir++}return new Uint8Array(gt.buffer,0,ir)}},{key:"parseSPS",value:function(Le){var ze=lt._ebsp2rbsp(Le),$e=new te(ze);$e.readByte();var gt=$e.readByte();$e.readByte();var ir=$e.readByte();$e.readUEG();var Xt=lt.getProfileString(gt),er=lt.getLevelString(ir),Wr=1,en=420,Fn=[0,420,422,444],ar=8;if((gt===100||gt===110||gt===122||gt===244||gt===44||gt===83||gt===86||gt===118||gt===128||gt===138||gt===144)&&(Wr=$e.readUEG(),Wr===3&&$e.readBits(1),Wr<=3&&(en=Fn[Wr]),ar=$e.readUEG()+8,$e.readUEG(),$e.readBits(1),$e.readBool()))for(var It=Wr!==3?8:12,Ct=0;Ct0&&Xe<16?(di=Qe[Xe-1],Ti=st[Xe-1]):Xe===255&&(di=$e.readByte()<<8|$e.readByte(),Ti=$e.readByte()<<8|$e.readByte())}if($e.readBool()&&$e.readBool(),$e.readBool()&&($e.readBits(4),$e.readBool()&&$e.readBits(24)),$e.readBool()&&($e.readUEG(),$e.readUEG()),$e.readBool()){var nt=$e.readBits(32),ft=$e.readBits(32);la=$e.readBool(),Ta=ft,dt=nt*2,Fi=Ta/dt}}var Bt=1;(di!==1||Ti!==1)&&(Bt=di/Ti);var Et=0,nr=0;if(Wr===0)Et=1,nr=2-Dr;else{var Ur=Wr===3?1:2,Lr=Wr===1?2:1;Et=Ur,nr=Lr*(2-Dr)}var Vr=(Dt+1)*16,sr=(2-Dr)*((tr+1)*16);Vr-=(dr+Tr)*Et,sr-=(vn+on)*nr;var Bn=Math.ceil(Vr*Bt);return $e.destroy(),$e=null,{profile_string:Xt,level_string:er,bit_depth:ar,ref_frames:rr,chroma_format:en,chroma_format_string:lt.getChromaFormatString(en),frame_rate:{fixed:la,fps:Fi,fps_den:dt,fps_num:Ta},sar_ratio:{width:di,height:Ti},codec_size:{width:Vr,height:sr},present_size:{width:Bn,height:sr}}}},{key:"_skipScalingList",value:function(Le,ze){for(var $e=8,gt=8,ir=0,Xt=0;Xt>>8&255|(lt&255)<<8}function be(lt){return(lt&4278190080)>>>24|(lt&16711680)>>>8|(lt&65280)<<8|(lt&255)<<24}function Re(lt,mt){return lt[mt]<<24|lt[mt+1]<<16|lt[mt+2]<<8|lt[mt+3]}var it=function(){function lt(mt,Le){Object(x.a)(this,lt),this.TAG="FLVDemuxer",this._config=Le,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=mt.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=mt.hasAudioTrack,this._hasVideo=mt.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new ge,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){var ze=new ArrayBuffer(2);return new DataView(ze).setInt16(0,256,!0),new Int16Array(ze)[0]===256}()}return Object(b.a)(lt,[{key:"destroy",value:function(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}},{key:"bindDataSource",value:function(Le){return Le.onDataArrival=this.parseChunks.bind(this),this}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(Le){this._onTrackMetadata=Le}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(Le){this._onMediaInfo=Le}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(Le){this._onMetaDataArrived=Le}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(Le){this._onScriptDataArrived=Le}},{key:"onError",get:function(){return this._onError},set:function(Le){this._onError=Le}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(Le){this._onDataAvailable=Le}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(Le){this._timestampBase=Le}},{key:"overridedDuration",get:function(){return this._duration},set:function(Le){this._durationOverrided=!0,this._duration=Le,this._mediaInfo.duration=Le}},{key:"overridedHasAudio",set:function(Le){this._hasAudioFlagOverrided=!0,this._hasAudio=Le,this._mediaInfo.hasAudio=Le}},{key:"overridedHasVideo",set:function(Le){this._hasVideoFlagOverrided=!0,this._hasVideo=Le,this._mediaInfo.hasVideo=Le}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new ge}},{key:"_isInitialMetadataDispatched",value:function(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}},{key:"parseChunks",value:function(Le,ze){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new u("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var $e=0,gt=this._littleEndian;if(ze===0)if(Le.byteLength>13){var ir=lt.probe(Le);$e=ir.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,ze+$e!==this._dataOffset&&d.w(this.TAG,"First time parsing but chunk byteStart invalid!");var Xt=new DataView(Le,$e),er=Xt.getUint32(0,!gt);er!==0&&d.w(this.TAG,"PrevTagSize0 !== 0 !!!"),$e+=4}for(;$eLe.byteLength)break;var en=Wr.getUint8(0),Fn=Wr.getUint32(0,!gt)&16777215;if($e+11+Fn+4>Le.byteLength)break;if(en!==8&&en!==9&&en!==18){d.w(this.TAG,"Unsupported tag type ".concat(en,", skipped")),$e+=11+Fn+4;continue}var ar=Wr.getUint8(4),It=Wr.getUint8(5),Ct=Wr.getUint8(6),mr=Wr.getUint8(7),gr=Ct|It<<8|ar<<16|mr<<24,Mt=Wr.getUint32(7,!gt)&16777215;Mt!==0&&d.w(this.TAG,"Meet tag which has StreamID != 0!");var rr=$e+11;switch(en){case 8:this._parseAudioData(Le,rr,Fn,gr);break;case 9:this._parseVideoData(Le,rr,Fn,gr,ze+$e);break;case 18:this._parseScriptData(Le,rr,Fn);break}var Dt=Wr.getUint32(11+Fn,!gt);Dt!==11+Fn&&d.w(this.TAG,"Invalid PrevTagSize ".concat(Dt)),$e+=11+Fn+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),$e}},{key:"_parseScriptData",value:function(Le,ze,$e){var gt=Z.parseScriptData(Le,ze,$e);if(gt.hasOwnProperty("onMetaData")){if(gt.onMetaData==null||typeof gt.onMetaData!="object"){d.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&d.w(this.TAG,"Found another onMetaData tag!"),this._metadata=gt;var ir=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},ir)),typeof ir.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=ir.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof ir.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=ir.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof ir.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=ir.audiodatarate),typeof ir.videodatarate=="number"&&(this._mediaInfo.videoDataRate=ir.videodatarate),typeof ir.width=="number"&&(this._mediaInfo.width=ir.width),typeof ir.height=="number"&&(this._mediaInfo.height=ir.height),typeof ir.duration=="number"){if(!this._durationOverrided){var Xt=Math.floor(ir.duration*this._timescale);this._duration=Xt,this._mediaInfo.duration=Xt}}else this._mediaInfo.duration=0;if(typeof ir.framerate=="number"){var er=Math.floor(ir.framerate*1e3);if(er>0){var Wr=er/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Wr,this._referenceFrameRate.fps_num=er,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Wr}}if(typeof ir.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var en=ir.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(en),ir.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=ir,d.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(gt).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},gt)))}},{key:"_parseKeyframesIndex",value:function(Le){for(var ze=[],$e=[],gt=1;gt>>4;if(Wr!==2&&Wr!==10){this._onError(Ne.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Wr);return}var en=0,Fn=(er&12)>>>2;if(Fn>=0&&Fn<=4)en=this._flvSoundRateTable[Fn];else{this._onError(Ne.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Fn);return}var ar=(er&2)>>>1,It=er&1,Ct=this._audioMetadata,mr=this._audioTrack;if(Ct||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Ct=this._audioMetadata={},Ct.type="audio",Ct.id=mr.id,Ct.timescale=this._timescale,Ct.duration=this._duration,Ct.audioSampleRate=en,Ct.channelCount=It===0?1:2),Wr===10){var gr=this._parseAACAudioData(Le,ze+1,$e-1);if(gr==null)return;if(gr.packetType===0){Ct.config&&d.w(this.TAG,"Found another AudioSpecificConfig!");var Mt=gr.data;Ct.audioSampleRate=Mt.samplingRate,Ct.channelCount=Mt.channelCount,Ct.codec=Mt.codec,Ct.originalCodec=Mt.originalCodec,Ct.config=Mt.config,Ct.refSampleDuration=1024/Ct.audioSampleRate*Ct.timescale,d.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",Ct);var rr=this._mediaInfo;rr.audioCodec=Ct.originalCodec,rr.audioSampleRate=Ct.audioSampleRate,rr.audioChannelCount=Ct.channelCount,rr.hasVideo?rr.videoCodec!=null&&(rr.mimeType='video/x-flv; codecs="'+rr.videoCodec+","+rr.audioCodec+'"'):rr.mimeType='video/x-flv; codecs="'+rr.audioCodec+'"',rr.isComplete()&&this._onMediaInfo(rr)}else if(gr.packetType===1){var Dt=this._timestampBase+gt,tr={unit:gr.data,length:gr.data.byteLength,dts:Dt,pts:Dt};mr.samples.push(tr),mr.length+=gr.data.length}else d.e(this.TAG,"Flv: Unsupported AAC data type ".concat(gr.packetType))}else if(Wr===2){if(!Ct.codec){var Dr=this._parseMP3AudioData(Le,ze+1,$e-1,!0);if(Dr==null)return;Ct.audioSampleRate=Dr.samplingRate,Ct.channelCount=Dr.channelCount,Ct.codec=Dr.codec,Ct.originalCodec=Dr.originalCodec,Ct.refSampleDuration=1152/Ct.audioSampleRate*Ct.timescale,d.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Ct);var dr=this._mediaInfo;dr.audioCodec=Ct.codec,dr.audioSampleRate=Ct.audioSampleRate,dr.audioChannelCount=Ct.channelCount,dr.audioDataRate=Dr.bitRate,dr.hasVideo?dr.videoCodec!=null&&(dr.mimeType='video/x-flv; codecs="'+dr.videoCodec+","+dr.audioCodec+'"'):dr.mimeType='video/x-flv; codecs="'+dr.audioCodec+'"',dr.isComplete()&&this._onMediaInfo(dr)}var Tr=this._parseMP3AudioData(Le,ze+1,$e-1,!1);if(Tr==null)return;var vn=this._timestampBase+gt,on={unit:Tr,length:Tr.byteLength,dts:vn,pts:vn};mr.samples.push(on),mr.length+=Tr.length}}},{key:"_parseAACAudioData",value:function(Le,ze,$e){if($e<=1){d.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var gt={},ir=new Uint8Array(Le,ze,$e);return gt.packetType=ir[0],ir[0]===0?gt.data=this._parseAACAudioSpecificConfig(Le,ze+1,$e-1):gt.data=ir.subarray(1),gt}},{key:"_parseAACAudioSpecificConfig",value:function(Le,ze,$e){var gt=new Uint8Array(Le,ze,$e),ir=null,Xt=0,er=0,Wr=null,en=0,Fn=null;if(Xt=er=gt[0]>>>3,en=(gt[0]&7)<<1|gt[1]>>>7,en<0||en>=this._mpegSamplingRates.length){this._onError(Ne.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var ar=this._mpegSamplingRates[en],It=(gt[1]&120)>>>3;if(It<0||It>=8){this._onError(Ne.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}Xt===5&&(Fn=(gt[1]&7)<<1|gt[2]>>>7,Wr=(gt[2]&124)>>>2);var Ct=self.navigator.userAgent.toLowerCase();return Ct.indexOf("firefox")!==-1?en>=6?(Xt=5,ir=new Array(4),Fn=en-3):(Xt=2,ir=new Array(2),Fn=en):Ct.indexOf("android")!==-1?(Xt=2,ir=new Array(2),Fn=en):(Xt=5,Fn=en,ir=new Array(4),en>=6?Fn=en-3:It===1&&(Xt=2,ir=new Array(2),Fn=en)),ir[0]=Xt<<3,ir[0]|=(en&15)>>>1,ir[1]=(en&15)<<7,ir[1]|=(It&15)<<3,Xt===5&&(ir[1]|=(Fn&15)>>>1,ir[2]=(Fn&1)<<7,ir[2]|=2<<2,ir[3]=0),{config:ir,samplingRate:ar,channelCount:It,codec:"mp4a.40."+Xt,originalCodec:"mp4a.40."+er}}},{key:"_parseMP3AudioData",value:function(Le,ze,$e,gt){if($e<4){d.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var ir=this._littleEndian,Xt=new Uint8Array(Le,ze,$e),er=null;if(gt){if(Xt[0]!==255)return;var Wr=Xt[1]>>>3&3,en=(Xt[1]&6)>>1,Fn=(Xt[2]&240)>>>4,ar=(Xt[2]&12)>>>2,It=Xt[3]>>>6&3,Ct=It!==3?2:1,mr=0,gr=0,Mt=34,rr="mp3";switch(Wr){case 0:mr=this._mpegAudioV25SampleRateTable[ar];break;case 2:mr=this._mpegAudioV20SampleRateTable[ar];break;case 3:mr=this._mpegAudioV10SampleRateTable[ar];break}switch(en){case 1:Mt=34,Fn>>4,Wr=Xt&15;if(Wr!==7){this._onError(Ne.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Wr));return}this._parseAVCVideoPacket(Le,ze+1,$e-1,gt,ir,er)}},{key:"_parseAVCVideoPacket",value:function(Le,ze,$e,gt,ir,Xt){if($e<4){d.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var er=this._littleEndian,Wr=new DataView(Le,ze,$e),en=Wr.getUint8(0),Fn=Wr.getUint32(0,!er)&16777215,ar=Fn<<8>>8;if(en===0)this._parseAVCDecoderConfigurationRecord(Le,ze+4,$e-4);else if(en===1)this._parseAVCVideoData(Le,ze+4,$e-4,gt,ir,Xt,ar);else if(!(en===2)){this._onError(Ne.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(en));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(Le,ze,$e){if($e<7){d.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var gt=this._videoMetadata,ir=this._videoTrack,Xt=this._littleEndian,er=new DataView(Le,ze,$e);gt?typeof gt.avcc!="undefined"&&d.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),gt=this._videoMetadata={},gt.type="video",gt.id=ir.id,gt.timescale=this._timescale,gt.duration=this._duration);var Wr=er.getUint8(0),en=er.getUint8(1),Fn=er.getUint8(2),ar=er.getUint8(3);if(Wr!==1||en===0){this._onError(Ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(er.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(Ne.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var It=er.getUint8(5)&31;if(It===0){this._onError(Ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else It>1&&d.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(It));for(var Ct=6,mr=0;mr1&&d.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(Gn));Ct++;for(var di=0;di=$e){d.w(this.TAG,"Malformed Nalu near timestamp ".concat(mr,", offset = ").concat(It,", dataSize = ").concat($e));break}var Mt=en.getUint32(It,!Wr);if(Ct===3&&(Mt>>>=8),Mt>$e-Ct){d.w(this.TAG,"Malformed Nalus near timestamp ".concat(mr,", NaluSize > DataSize!"));return}var rr=en.getUint8(It+Ct)&31;rr===5&&(gr=!0);var Dt=new Uint8Array(Le,ze+It,Ct+Mt),tr={type:rr,data:Dt};Fn.push(tr),ar+=Dt.byteLength,It+=Ct+Mt}if(Fn.length){var Dr=this._videoTrack,dr={units:Fn,length:ar,isKeyframe:gr,dts:mr,cts:er,pts:mr+er};gr&&(dr.fileposition=ir),Dr.samples.push(dr),Dr.length+=ar}}}],[{key:"probe",value:function(Le){var ze=new Uint8Array(Le),$e={match:!1};if(ze[0]!==70||ze[1]!==76||ze[2]!==86||ze[3]!==1)return $e;var gt=(ze[4]&4)>>>2!==0,ir=(ze[4]&1)!==0,Xt=Re(ze,5);return Xt<9?$e:{match:!0,consumed:Xt,dataOffset:Xt,hasAudioTrack:gt,hasVideoTrack:ir}}}]),lt}(),yt=it,pt=function(){function lt(){Object(x.a)(this,lt)}return Object(b.a)(lt,null,[{key:"init",value:function(){lt.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(var Le in lt.types)lt.types.hasOwnProperty(Le)&&(lt.types[Le]=[Le.charCodeAt(0),Le.charCodeAt(1),Le.charCodeAt(2),Le.charCodeAt(3)]);var ze=lt.constants={};ze.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),ze.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),ze.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),ze.STSC=ze.STCO=ze.STTS,ze.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),ze.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),ze.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),ze.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),ze.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),ze.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(Le){for(var ze=8,$e=null,gt=Array.prototype.slice.call(arguments,1),ir=gt.length,Xt=0;Xt>>24&255,$e[1]=ze>>>16&255,$e[2]=ze>>>8&255,$e[3]=ze&255,$e.set(Le,4);for(var er=8,Wr=0;Wr>>24&255,Le>>>16&255,Le>>>8&255,Le&255,ze>>>24&255,ze>>>16&255,ze>>>8&255,ze&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}},{key:"trak",value:function(Le){return lt.box(lt.types.trak,lt.tkhd(Le),lt.mdia(Le))}},{key:"tkhd",value:function(Le){var ze=Le.id,$e=Le.duration,gt=Le.presentWidth,ir=Le.presentHeight;return lt.box(lt.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,ze>>>24&255,ze>>>16&255,ze>>>8&255,ze&255,0,0,0,0,$e>>>24&255,$e>>>16&255,$e>>>8&255,$e&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,gt>>>8&255,gt&255,0,0,ir>>>8&255,ir&255,0,0]))}},{key:"mdia",value:function(Le){return lt.box(lt.types.mdia,lt.mdhd(Le),lt.hdlr(Le),lt.minf(Le))}},{key:"mdhd",value:function(Le){var ze=Le.timescale,$e=Le.duration;return lt.box(lt.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,ze>>>24&255,ze>>>16&255,ze>>>8&255,ze&255,$e>>>24&255,$e>>>16&255,$e>>>8&255,$e&255,85,196,0,0]))}},{key:"hdlr",value:function(Le){var ze=null;return Le.type==="audio"?ze=lt.constants.HDLR_AUDIO:ze=lt.constants.HDLR_VIDEO,lt.box(lt.types.hdlr,ze)}},{key:"minf",value:function(Le){var ze=null;return Le.type==="audio"?ze=lt.box(lt.types.smhd,lt.constants.SMHD):ze=lt.box(lt.types.vmhd,lt.constants.VMHD),lt.box(lt.types.minf,ze,lt.dinf(),lt.stbl(Le))}},{key:"dinf",value:function(){var Le=lt.box(lt.types.dinf,lt.box(lt.types.dref,lt.constants.DREF));return Le}},{key:"stbl",value:function(Le){var ze=lt.box(lt.types.stbl,lt.stsd(Le),lt.box(lt.types.stts,lt.constants.STTS),lt.box(lt.types.stsc,lt.constants.STSC),lt.box(lt.types.stsz,lt.constants.STSZ),lt.box(lt.types.stco,lt.constants.STCO));return ze}},{key:"stsd",value:function(Le){return Le.type==="audio"?Le.codec==="mp3"?lt.box(lt.types.stsd,lt.constants.STSD_PREFIX,lt.mp3(Le)):lt.box(lt.types.stsd,lt.constants.STSD_PREFIX,lt.mp4a(Le)):lt.box(lt.types.stsd,lt.constants.STSD_PREFIX,lt.avc1(Le))}},{key:"mp3",value:function(Le){var ze=Le.channelCount,$e=Le.audioSampleRate,gt=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,ze,0,16,0,0,0,0,$e>>>8&255,$e&255,0,0]);return lt.box(lt.types[".mp3"],gt)}},{key:"mp4a",value:function(Le){var ze=Le.channelCount,$e=Le.audioSampleRate,gt=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,ze,0,16,0,0,0,0,$e>>>8&255,$e&255,0,0]);return lt.box(lt.types.mp4a,gt,lt.esds(Le))}},{key:"esds",value:function(Le){var ze=Le.config||[],$e=ze.length,gt=new Uint8Array([0,0,0,0,3,23+$e,0,1,0,4,15+$e,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([$e]).concat(ze).concat([6,1,2]));return lt.box(lt.types.esds,gt)}},{key:"avc1",value:function(Le){var ze=Le.avcc,$e=Le.codecWidth,gt=Le.codecHeight,ir=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,$e>>>8&255,$e&255,gt>>>8&255,gt&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return lt.box(lt.types.avc1,ir,lt.box(lt.types.avcC,ze))}},{key:"mvex",value:function(Le){return lt.box(lt.types.mvex,lt.trex(Le))}},{key:"trex",value:function(Le){var ze=Le.id,$e=new Uint8Array([0,0,0,0,ze>>>24&255,ze>>>16&255,ze>>>8&255,ze&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return lt.box(lt.types.trex,$e)}},{key:"moof",value:function(Le,ze){return lt.box(lt.types.moof,lt.mfhd(Le.sequenceNumber),lt.traf(Le,ze))}},{key:"mfhd",value:function(Le){var ze=new Uint8Array([0,0,0,0,Le>>>24&255,Le>>>16&255,Le>>>8&255,Le&255]);return lt.box(lt.types.mfhd,ze)}},{key:"traf",value:function(Le,ze){var $e=Le.id,gt=lt.box(lt.types.tfhd,new Uint8Array([0,0,0,0,$e>>>24&255,$e>>>16&255,$e>>>8&255,$e&255])),ir=lt.box(lt.types.tfdt,new Uint8Array([0,0,0,0,ze>>>24&255,ze>>>16&255,ze>>>8&255,ze&255])),Xt=lt.sdtp(Le),er=lt.trun(Le,Xt.byteLength+16+16+8+16+8+8);return lt.box(lt.types.traf,gt,ir,er,Xt)}},{key:"sdtp",value:function(Le){for(var ze=Le.samples||[],$e=ze.length,gt=new Uint8Array(4+$e),ir=0;ir<$e;ir++){var Xt=ze[ir].flags;gt[ir+4]=Xt.isLeading<<6|Xt.dependsOn<<4|Xt.isDependedOn<<2|Xt.hasRedundancy}return lt.box(lt.types.sdtp,gt)}},{key:"trun",value:function(Le,ze){var $e=Le.samples||[],gt=$e.length,ir=12+16*gt,Xt=new Uint8Array(ir);ze+=8+ir,Xt.set([0,0,15,1,gt>>>24&255,gt>>>16&255,gt>>>8&255,gt&255,ze>>>24&255,ze>>>16&255,ze>>>8&255,ze&255],0);for(var er=0;er>>24&255,Wr>>>16&255,Wr>>>8&255,Wr&255,en>>>24&255,en>>>16&255,en>>>8&255,en&255,Fn.isLeading<<2|Fn.dependsOn,Fn.isDependedOn<<6|Fn.hasRedundancy<<4|Fn.isNonSync,0,0,ar>>>24&255,ar>>>16&255,ar>>>8&255,ar&255],12+16*er)}return lt.box(lt.types.trun,Xt)}},{key:"mdat",value:function(Le){return lt.box(lt.types.mdat,Le)}}]),lt}();pt.init();var Pe=pt,Nt=function(){function lt(){Object(x.a)(this,lt)}return Object(b.a)(lt,null,[{key:"getSilentFrame",value:function(Le,ze){if(Le==="mp4a.40.2"){if(ze===1)return new Uint8Array([0,200,0,128,35,128]);if(ze===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(ze===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(ze===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(ze===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(ze===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(ze===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(ze===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(ze===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}]),lt}(),ut=Nt,Ft=function lt(mt,Le,ze,$e,gt){Object(x.a)(this,lt),this.dts=mt,this.pts=Le,this.duration=ze,this.originalDts=$e,this.isSyncPoint=gt,this.fileposition=null},Ut=function(){function lt(){Object(x.a)(this,lt),this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}return Object(b.a)(lt,[{key:"appendSyncPoint",value:function(Le){Le.isSyncPoint=!0,this.syncPoints.push(Le)}}]),lt}(),Wt=function(){function lt(){Object(x.a)(this,lt),this._list=[]}return Object(b.a)(lt,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(Le){var ze=this._list;if(Le.length===0)return;ze.length>0&&Le[0].originalDts=ze[ir].dts&&Leze[gt].lastSample.originalDts&&Le=ze[gt].lastSample.originalDts&&(gt===ze.length-1||gt0&&(ir=this._searchNearestSegmentBefore($e.originalBeginDts)+1),this._lastAppendLocation=ir,this._list.splice(ir,0,$e)}},{key:"getLastSegmentBefore",value:function(Le){var ze=this._searchNearestSegmentBefore(Le);return ze>=0?this._list[ze]:null}},{key:"getLastSampleBefore",value:function(Le){var ze=this.getLastSegmentBefore(Le);return ze!=null?ze.lastSample:null}},{key:"getLastSyncPointBefore",value:function(Le){for(var ze=this._searchNearestSegmentBefore(Le),$e=this._list[ze].syncPoints;$e.length===0&&ze>0;)ze--,$e=this._list[ze].syncPoints;return $e.length>0?$e[$e.length-1]:null}}]),lt}(),or=function(){function lt(mt){Object(x.a)(this,lt),this.TAG="MP4Remuxer",this._config=mt,this._isLive=mt.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=Infinity,this._videoDtsBase=Infinity,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new $t("audio"),this._videoSegmentInfoList=new $t("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(_.chrome&&(_.version.major<50||_.version.major===50&&_.version.build<2661)),this._fillSilentAfterSeek=_.msedge||_.msie,this._mp3UseMpegAudio=!_.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(b.a)(lt,[{key:"destroy",value:function(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}},{key:"bindDataSource",value:function(Le){return Le.onDataAvailable=this.remux.bind(this),Le.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(Le){this._onInitSegment=Le}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(Le){this._onMediaSegment=Le}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(Le){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(Le,ze){if(!this._onMediaSegment)throw new u("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(Le,ze),this._remuxVideo(ze),this._remuxAudio(Le)}},{key:"_onTrackMetadataReceived",value:function(Le,ze){var $e=null,gt="mp4",ir=ze.codec;if(Le==="audio")this._audioMeta=ze,ze.codec==="mp3"&&this._mp3UseMpegAudio?(gt="mpeg",ir="",$e=new Uint8Array):$e=Pe.generateInitSegment(ze);else if(Le==="video")this._videoMeta=ze,$e=Pe.generateInitSegment(ze);else return;if(!this._onInitSegment)throw new u("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(Le,{type:Le,data:$e.buffer,codec:ir,container:"".concat(Le,"/").concat(gt),mediaDuration:ze.duration})}},{key:"_calculateDtsBase",value:function(Le,ze){if(this._dtsBaseInited)return;Le.samples&&Le.samples.length&&(this._audioDtsBase=Le.samples[0].dts),ze.samples&&ze.samples.length&&(this._videoDtsBase=ze.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var Le=this._videoStashedLastSample,ze=this._audioStashedLastSample,$e={type:"video",id:1,sequenceNumber:0,samples:[],length:0};Le!=null&&($e.samples.push(Le),$e.length=Le.length);var gt={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};ze!=null&&(gt.samples.push(ze),gt.length=ze.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo($e,!0),this._remuxAudio(gt,!0)}},{key:"_remuxAudio",value:function(Le,ze){if(this._audioMeta==null)return;var $e=Le,gt=$e.samples,ir=void 0,Xt=-1,er=-1,Wr=-1,en=this._audioMeta.refSampleDuration,Fn=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,ar=this._dtsBaseInited&&this._audioNextDts===void 0,It=!1;if(!gt||gt.length===0)return;if(gt.length===1&&!ze)return;var Ct=0,mr=null,gr=0;Fn?(Ct=0,gr=$e.length):(Ct=8,gr=8+$e.length);var Mt=null;if(gt.length>1&&(Mt=gt.pop(),gr-=Mt.length),this._audioStashedLastSample!=null){var rr=this._audioStashedLastSample;this._audioStashedLastSample=null,gt.unshift(rr),gr+=rr.length}Mt!=null&&(this._audioStashedLastSample=Mt);var Dt=gt[0].dts-this._dtsBase;if(this._audioNextDts)ir=Dt-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())ir=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(It=!0));else{var tr=this._audioSegmentInfoList.getLastSampleBefore(Dt);if(tr!=null){var Dr=Dt-(tr.originalDts+tr.duration);Dr<=3&&(Dr=0);var dr=tr.dts+tr.duration+Dr;ir=Dt-dr}else ir=0}if(It){var Tr=Dt-ir,vn=this._videoSegmentInfoList.getLastSegmentBefore(Dt);if(vn!=null&&vn.beginDts=1?Xe=Ti[Ti.length-1].duration:Xe=Math.floor(en);var nt=!1,ft=null;if(Xe>en*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!_.safari){nt=!0;var Bt=Math.abs(Xe-en),Et=Math.ceil(Bt/en),nr=Me+en;d.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. -`+"dts: ".concat(Me+Xe," ms, expected: ").concat(Me+Math.round(en)," ms, ")+"delta: ".concat(Math.round(Bt)," ms, generate: ").concat(Et," frames"));var Ur=ut.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);Ur==null&&(d.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),Ur=Ta),ft=[];for(var Lr=0;Lr0){var sr=ft[ft.length-1];sr.duration=Vr-sr.dts}var Bn={dts:Vr,pts:Vr,cts:0,unit:Ur,size:Ur.byteLength,duration:0,originalDts:dt,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};ft.push(Bn),gr+=Bn.size,nr+=en}var Er=ft[ft.length-1];Er.duration=Me+Xe-Er.dts,Xe=Math.round(en)}Ti.push({dts:Me,pts:Me,cts:0,unit:la.unit,size:la.unit.byteLength,duration:Xe,originalDts:dt,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),nt&&Ti.push.apply(Ti,ft)}Fn?mr=new Uint8Array(gr):(mr=new Uint8Array(gr),mr[0]=gr>>>24&255,mr[1]=gr>>>16&255,mr[2]=gr>>>8&255,mr[3]=gr&255,mr.set(Pe.types.mdat,4));for(var gn=0;gn1&&(Ct=gt.pop(),It-=Ct.length),this._videoStashedLastSample!=null){var mr=this._videoStashedLastSample;this._videoStashedLastSample=null,gt.unshift(mr),It+=mr.length}Ct!=null&&(this._videoStashedLastSample=Ct);var gr=gt[0].dts-this._dtsBase;if(this._videoNextDts)ir=gr-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())ir=0;else{var Mt=this._videoSegmentInfoList.getLastSampleBefore(gr);if(Mt!=null){var rr=gr-(Mt.originalDts+Mt.duration);rr<=3&&(rr=0);var Dt=Mt.dts+Mt.duration+rr;ir=gr-Dt}else ir=0}for(var tr=new Ut,Dr=[],dr=0;dr=1?Fi=Dr[Dr.length-1].duration:Fi=Math.floor(this._videoMeta.refSampleDuration);if(on){var dt=new Ft(Gn,Ti,Fi,Tr.dts,!0);dt.fileposition=Tr.fileposition,tr.appendSyncPoint(dt)}Dr.push({dts:Gn,pts:Ti,cts:di,units:Tr.units,size:Tr.length,isKeyframe:on,duration:Fi,originalDts:vn,flags:{isLeading:0,dependsOn:on?2:1,isDependedOn:on?1:0,hasRedundancy:0,isNonSync:on?0:1}})}ar=new Uint8Array(It),ar[0]=It>>>24&255,ar[1]=It>>>16&255,ar[2]=It>>>8&255,ar[3]=It&255,ar.set(Pe.types.mdat,4);for(var Me=0;Me0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,ir=this._demuxer.parseChunks(Le,ze);else if((gt=yt.probe(Le)).match){this._demuxer=new yt(gt,this._config),this._remuxer||(this._remuxer=new ht(this._config));var Xt=this._mediaDataSource;Xt.duration!=null&&!isNaN(Xt.duration)&&(this._demuxer.overridedDuration=Xt.duration),typeof Xt.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=Xt.hasAudio),typeof Xt.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=Xt.hasVideo),this._demuxer.timestampBase=Xt.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),ir=this._demuxer.parseChunks(Le,ze)}else gt=null,d.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){$e._internalAbort()}),this._emitter.emit(de.DEMUX_ERROR,Ne.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),ir=0;return ir}},{key:"_onMediaInfo",value:function(Le){var ze=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},Le),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,ge.prototype));var $e=Object.assign({},Le);Object.setPrototypeOf($e,ge.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=$e,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var gt=ze._pendingSeekTime;ze._pendingSeekTime=null,ze.seek(gt)})}},{key:"_onMetaDataArrived",value:function(Le){this._emitter.emit(de.METADATA_ARRIVED,Le)}},{key:"_onScriptDataArrived",value:function(Le){this._emitter.emit(de.SCRIPTDATA_ARRIVED,Le)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(Le){var ze=Le,$e=ze+1;$e0&&$e[0].originalDts===gt&&(gt=$e[0].pts),this._emitter.emit(de.RECOMMEND_SEEKPOINT,gt)}}},{key:"_enableStatisticsReporter",value:function(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}},{key:"_disableStatisticsReporter",value:function(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"_reportSegmentMediaInfo",value:function(Le){var ze=this._mediaInfo.segments[Le],$e=Object.assign({},ze);$e.duration=this._mediaInfo.duration,$e.segmentCount=this._mediaInfo.segmentCount,delete $e.segments,delete $e.keyframesIndex,this._emitter.emit(de.MEDIA_INFO,$e)}},{key:"_reportStatisticsInfo",value:function(){var Le={};Le.url=this._ioctl.currentURL,Le.hasRedirect=this._ioctl.hasRedirect,Le.hasRedirect&&(Le.redirectedURL=this._ioctl.currentRedirectedURL),Le.speed=this._ioctl.currentSpeed,Le.loaderType=this._ioctl.loaderType,Le.currentSegmentIndex=this._currentSegmentIndex,Le.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(de.STATISTICS_INFO,Le)}}]),lt}(),rt=qe,ve=function(mt){var Le="TransmuxingWorker",ze=null,$e=gr.bind(this);f.install(),mt.addEventListener("message",function(Mt){switch(Mt.data.cmd){case"init":ze=new rt(Mt.data.param[0],Mt.data.param[1]),ze.on(de.IO_ERROR,It.bind(this)),ze.on(de.DEMUX_ERROR,Ct.bind(this)),ze.on(de.INIT_SEGMENT,gt.bind(this)),ze.on(de.MEDIA_SEGMENT,ir.bind(this)),ze.on(de.LOADING_COMPLETE,Xt.bind(this)),ze.on(de.RECOVERED_EARLY_EOF,er.bind(this)),ze.on(de.MEDIA_INFO,Wr.bind(this)),ze.on(de.METADATA_ARRIVED,en.bind(this)),ze.on(de.SCRIPTDATA_ARRIVED,Fn.bind(this)),ze.on(de.STATISTICS_INFO,ar.bind(this)),ze.on(de.RECOMMEND_SEEKPOINT,mr.bind(this));break;case"destroy":ze&&(ze.destroy(),ze=null),mt.postMessage({msg:"destroyed"});break;case"start":ze.start();break;case"stop":ze.stop();break;case"seek":ze.seek(Mt.data.param);break;case"pause":ze.pause();break;case"resume":ze.resume();break;case"logging_config":{var rr=Mt.data.param;Se.applyConfig(rr),rr.enableCallback===!0?Se.addLogListener($e):Se.removeLogListener($e);break}}});function gt(Mt,rr){var Dt={msg:de.INIT_SEGMENT,data:{type:Mt,data:rr}};mt.postMessage(Dt,[rr.data])}function ir(Mt,rr){var Dt={msg:de.MEDIA_SEGMENT,data:{type:Mt,data:rr}};mt.postMessage(Dt,[rr.data])}function Xt(){var Mt={msg:de.LOADING_COMPLETE};mt.postMessage(Mt)}function er(){var Mt={msg:de.RECOVERED_EARLY_EOF};mt.postMessage(Mt)}function Wr(Mt){var rr={msg:de.MEDIA_INFO,data:Mt};mt.postMessage(rr)}function en(Mt){var rr={msg:de.METADATA_ARRIVED,data:Mt};mt.postMessage(rr)}function Fn(Mt){var rr={msg:de.SCRIPTDATA_ARRIVED,data:Mt};mt.postMessage(rr)}function ar(Mt){var rr={msg:de.STATISTICS_INFO,data:Mt};mt.postMessage(rr)}function It(Mt,rr){mt.postMessage({msg:de.IO_ERROR,data:{type:Mt,info:rr}})}function Ct(Mt,rr){mt.postMessage({msg:de.DEMUX_ERROR,data:{type:Mt,info:rr}})}function mr(Mt){mt.postMessage({msg:de.RECOMMEND_SEEKPOINT,data:Mt})}function gr(Mt,rr){mt.postMessage({msg:"logcat_callback",data:{type:Mt,logcat:rr}})}},bt=ve,jt=function(){function lt(mt,Le){if(Object(x.a)(this,lt),this.TAG="Transmuxer",this._emitter=new e.a,Le.enableWorker&&typeof Worker!="undefined")try{var ze=l("0r65");this._worker=ze(bt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[mt,Le]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Se.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Se.getConfig()})}catch(gt){d.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new rt(mt,Le)}else this._controller=new rt(mt,Le);if(this._controller){var $e=this._controller;$e.on(de.IO_ERROR,this._onIOError.bind(this)),$e.on(de.DEMUX_ERROR,this._onDemuxError.bind(this)),$e.on(de.INIT_SEGMENT,this._onInitSegment.bind(this)),$e.on(de.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),$e.on(de.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),$e.on(de.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),$e.on(de.MEDIA_INFO,this._onMediaInfo.bind(this)),$e.on(de.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),$e.on(de.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),$e.on(de.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),$e.on(de.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(b.a)(lt,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Se.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Le,ze){this._emitter.addListener(Le,ze)}},{key:"off",value:function(Le,ze){this._emitter.removeListener(Le,ze)}},{key:"hasWorker",value:function(){return this._worker!=null}},{key:"open",value:function(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}},{key:"close",value:function(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}},{key:"seek",value:function(Le){this._worker?this._worker.postMessage({cmd:"seek",param:Le}):this._controller.seek(Le)}},{key:"pause",value:function(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}},{key:"resume",value:function(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}},{key:"_onInitSegment",value:function(Le,ze){var $e=this;Promise.resolve().then(function(){$e._emitter.emit(de.INIT_SEGMENT,Le,ze)})}},{key:"_onMediaSegment",value:function(Le,ze){var $e=this;Promise.resolve().then(function(){$e._emitter.emit(de.MEDIA_SEGMENT,Le,ze)})}},{key:"_onLoadingComplete",value:function(){var Le=this;Promise.resolve().then(function(){Le._emitter.emit(de.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var Le=this;Promise.resolve().then(function(){Le._emitter.emit(de.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(Le){var ze=this;Promise.resolve().then(function(){ze._emitter.emit(de.MEDIA_INFO,Le)})}},{key:"_onMetaDataArrived",value:function(Le){var ze=this;Promise.resolve().then(function(){ze._emitter.emit(de.METADATA_ARRIVED,Le)})}},{key:"_onScriptDataArrived",value:function(Le){var ze=this;Promise.resolve().then(function(){ze._emitter.emit(de.SCRIPTDATA_ARRIVED,Le)})}},{key:"_onStatisticsInfo",value:function(Le){var ze=this;Promise.resolve().then(function(){ze._emitter.emit(de.STATISTICS_INFO,Le)})}},{key:"_onIOError",value:function(Le,ze){var $e=this;Promise.resolve().then(function(){$e._emitter.emit(de.IO_ERROR,Le,ze)})}},{key:"_onDemuxError",value:function(Le,ze){var $e=this;Promise.resolve().then(function(){$e._emitter.emit(de.DEMUX_ERROR,Le,ze)})}},{key:"_onRecommendSeekpoint",value:function(Le){var ze=this;Promise.resolve().then(function(){ze._emitter.emit(de.RECOMMEND_SEEKPOINT,Le)})}},{key:"_onLoggingConfigChanged",value:function(Le){this._worker&&this._worker.postMessage({cmd:"logging_config",param:Le})}},{key:"_onWorkerMessage",value:function(Le){var ze=Le.data,$e=ze.data;if(ze.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(ze.msg){case de.INIT_SEGMENT:case de.MEDIA_SEGMENT:this._emitter.emit(ze.msg,$e.type,$e.data);break;case de.LOADING_COMPLETE:case de.RECOVERED_EARLY_EOF:this._emitter.emit(ze.msg);break;case de.MEDIA_INFO:Object.setPrototypeOf($e,ge.prototype),this._emitter.emit(ze.msg,$e);break;case de.METADATA_ARRIVED:case de.SCRIPTDATA_ARRIVED:case de.STATISTICS_INFO:this._emitter.emit(ze.msg,$e);break;case de.IO_ERROR:case de.DEMUX_ERROR:this._emitter.emit(ze.msg,$e.type,$e.info);break;case de.RECOMMEND_SEEKPOINT:this._emitter.emit(ze.msg,$e);break;case"logcat_callback":d.emitter.emit("log",$e.type,$e.logcat);break;default:break}}}]),lt}(),He=jt,kt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},Ar=kt,at=function(){function lt(mt){Object(x.a)(this,lt),this.TAG="MSEController",this._config=mt,this._emitter=new e.a,this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new Wt}return Object(b.a)(lt,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Le,ze){this._emitter.addListener(Le,ze)}},{key:"off",value:function(Le,ze){this._emitter.removeListener(Le,ze)}},{key:"attachMediaElement",value:function(Le){if(this._mediaSource)throw new u("MediaSource has been attached to an HTMLMediaElement!");var ze=this._mediaSource=new window.MediaSource;ze.addEventListener("sourceopen",this.e.onSourceOpen),ze.addEventListener("sourceended",this.e.onSourceEnded),ze.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=Le,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),Le.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var Le=this._mediaSource;for(var ze in this._sourceBuffers){var $e=this._pendingSegments[ze];$e.splice(0,$e.length),this._pendingSegments[ze]=null,this._pendingRemoveRanges[ze]=null,this._lastInitSegments[ze]=null;var gt=this._sourceBuffers[ze];if(gt){if(Le.readyState!=="closed"){try{Le.removeSourceBuffer(gt)}catch(ir){d.e(this.TAG,ir.message)}gt.removeEventListener("error",this.e.onSourceBufferError),gt.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[ze]=null,this._sourceBuffers[ze]=null}}if(Le.readyState==="open")try{Le.endOfStream()}catch(ir){d.e(this.TAG,ir.message)}Le.removeEventListener("sourceopen",this.e.onSourceOpen),Le.removeEventListener("sourceended",this.e.onSourceEnded),Le.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}},{key:"appendInitSegment",value:function(Le,ze){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(Le),this._pendingSegments[Le.type].push(Le);return}var $e=Le,gt="".concat($e.container);$e.codec&&$e.codec.length>0&&(gt+=";codecs=".concat($e.codec));var ir=!1;if(d.v(this.TAG,"Received Initialization Segment, mimeType: "+gt),this._lastInitSegments[$e.type]=$e,gt!==this._mimeTypes[$e.type]){if(this._mimeTypes[$e.type])d.v(this.TAG,"Notice: ".concat($e.type," mimeType changed, origin: ").concat(this._mimeTypes[$e.type],", target: ").concat(gt));else{ir=!0;try{var Xt=this._sourceBuffers[$e.type]=this._mediaSource.addSourceBuffer(gt);Xt.addEventListener("error",this.e.onSourceBufferError),Xt.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(er){d.e(this.TAG,er.message),this._emitter.emit(Ar.ERROR,{code:er.code,msg:er.message});return}}this._mimeTypes[$e.type]=gt}ze||this._pendingSegments[$e.type].push($e),ir||this._sourceBuffers[$e.type]&&!this._sourceBuffers[$e.type].updating&&this._doAppendSegments(),_.safari&&$e.container==="audio/mpeg"&&$e.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=$e.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(Le){var ze=Le;this._pendingSegments[ze.type].push(ze),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var $e=this._sourceBuffers[ze.type];$e&&!$e.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(Le){for(var ze in this._sourceBuffers){if(!this._sourceBuffers[ze])continue;var $e=this._sourceBuffers[ze];if(this._mediaSource.readyState==="open")try{$e.abort()}catch(en){d.e(this.TAG,en.message)}this._idrList.clear();var gt=this._pendingSegments[ze];if(gt.splice(0,gt.length),this._mediaSource.readyState==="closed")continue;for(var ir=0;ir<$e.buffered.length;ir++){var Xt=$e.buffered.start(ir),er=$e.buffered.end(ir);this._pendingRemoveRanges[ze].push({start:Xt,end:er})}if($e.updating||this._doRemoveRanges(),_.safari){var Wr=this._lastInitSegments[ze];Wr&&(this._pendingSegments[ze].push(Wr),$e.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var Le=this._mediaSource,ze=this._sourceBuffers;if(!Le||Le.readyState!=="open"){Le&&Le.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}ze.video&&ze.video.updating||ze.audio&&ze.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,Le.endOfStream())}},{key:"getNearestKeyframe",value:function(Le){return this._idrList.getLastSyncPointBeforeDts(Le)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var Le=this._mediaElement.currentTime;for(var ze in this._sourceBuffers){var $e=this._sourceBuffers[ze];if($e){var gt=$e.buffered;if(gt.length>=1&&Le-gt.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var Le=this._mediaElement.currentTime;for(var ze in this._sourceBuffers){var $e=this._sourceBuffers[ze];if($e){for(var gt=$e.buffered,ir=!1,Xt=0;Xt=this._config.autoCleanupMaxBackwardDuration){ir=!0;var en=Le-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[ze].push({start:er,end:en})}}else Wr0&&(isNaN(ze)||$e>ze)&&(d.v(this.TAG,"Update MediaSource duration from ".concat(ze," to ").concat($e)),this._mediaSource.duration=$e),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var Le in this._pendingRemoveRanges){if(!this._sourceBuffers[Le]||this._sourceBuffers[Le].updating)continue;for(var ze=this._sourceBuffers[Le],$e=this._pendingRemoveRanges[Le];$e.length&&!ze.updating;){var gt=$e.shift();ze.remove(gt.start,gt.end)}}}},{key:"_doAppendSegments",value:function(){var Le=this._pendingSegments;for(var ze in Le){if(!this._sourceBuffers[ze]||this._sourceBuffers[ze].updating)continue;if(Le[ze].length>0){var $e=Le[ze].shift();if($e.timestampOffset){var gt=this._sourceBuffers[ze].timestampOffset,ir=$e.timestampOffset/1e3,Xt=Math.abs(gt-ir);Xt>.1&&(d.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(gt," to ").concat(ir)),this._sourceBuffers[ze].timestampOffset=ir),delete $e.timestampOffset}if(!$e.data||$e.data.byteLength===0)continue;try{this._sourceBuffers[ze].appendBuffer($e.data),this._isBufferFull=!1,ze==="video"&&$e.hasOwnProperty("info")&&this._idrList.appendArray($e.info.syncPoints)}catch(er){this._pendingSegments[ze].unshift($e),er.code===22?(this._isBufferFull||this._emitter.emit(Ar.BUFFER_FULL),this._isBufferFull=!0):(d.e(this.TAG,er.message),this._emitter.emit(Ar.ERROR,{code:er.code,msg:er.message}))}}}}},{key:"_onSourceOpen",value:function(){if(d.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var Le=this._pendingSourceBufferInit;Le.length;){var ze=Le.shift();this.appendInitSegment(ze,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(Ar.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){d.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){d.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}},{key:"_hasPendingSegments",value:function(){var Le=this._pendingSegments;return Le.video.length>0||Le.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var Le=this._pendingRemoveRanges;return Le.video.length>0||Le.audio.length>0}},{key:"_onSourceBufferUpdateEnd",value:function(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(Ar.UPDATE_END)}},{key:"_onSourceBufferError",value:function(Le){d.e(this.TAG,"SourceBuffer Error: ".concat(Le))}}]),lt}(),Ht=at,Kt={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},ot={NETWORK_EXCEPTION:p.EXCEPTION,NETWORK_STATUS_CODE_INVALID:p.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:p.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:p.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:Ne.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:Ne.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:Ne.CODEC_UNSUPPORTED},et=function(){function lt(mt,Le){if(Object(x.a)(this,lt),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new e.a,this._config=q(),typeof Le=="object"&&Object.assign(this._config,Le),mt.type.toLowerCase()!=="flv")throw new r("FlvPlayer requires an flv MediaDataSource input!");mt.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=mt,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;var ze=_.chrome&&(_.version.major<50||_.version.major===50&&_.version.build<2661);this._alwaysSeekKeyframe=!!(ze||_.msedge||_.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(b.a)(lt,[{key:"destroy",value:function(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Le,ze){var $e=this;Le===fe.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){$e._emitter.emit(fe.MEDIA_INFO,$e.mediaInfo)}):Le===fe.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){$e._emitter.emit(fe.STATISTICS_INFO,$e.statisticsInfo)})),this._emitter.addListener(Le,ze)}},{key:"off",value:function(Le,ze){this._emitter.removeListener(Le,ze)}},{key:"attachMediaElement",value:function(Le){var ze=this;if(this._mediaElement=Le,Le.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),Le.addEventListener("seeking",this.e.onvSeeking),Le.addEventListener("canplay",this.e.onvCanPlay),Le.addEventListener("stalled",this.e.onvStalled),Le.addEventListener("progress",this.e.onvProgress),this._msectl=new Ht(this._config),this._msectl.on(Ar.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(Ar.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(Ar.SOURCE_OPEN,function(){ze._mseSourceOpened=!0,ze._hasPendingLoad&&(ze._hasPendingLoad=!1,ze.load())}),this._msectl.on(Ar.ERROR,function($e){ze._emitter.emit(fe.ERROR,Kt.MEDIA_ERROR,ot.MEDIA_MSE_ERROR,$e)}),this._msectl.attachMediaElement(Le),this._pendingSeekTime!=null)try{Le.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch($e){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}},{key:"load",value:function(){var Le=this;if(!this._mediaElement)throw new u("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new u("FlvPlayer.load() has been called, please call unload() first!");if(this._hasPendingLoad)return;if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new He(this._mediaDataSource,this._config),this._transmuxer.on(de.INIT_SEGMENT,function(ze,$e){Le._msectl.appendInitSegment($e)}),this._transmuxer.on(de.MEDIA_SEGMENT,function(ze,$e){if(Le._msectl.appendMediaSegment($e),Le._config.lazyLoad&&!Le._config.isLive){var gt=Le._mediaElement.currentTime;$e.info.endDts>=(gt+Le._config.lazyLoadMaxDuration)*1e3&&(Le._progressChecker==null&&(d.v(Le.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),Le._suspendTransmuxer()))}}),this._transmuxer.on(de.LOADING_COMPLETE,function(){Le._msectl.endOfStream(),Le._emitter.emit(fe.LOADING_COMPLETE)}),this._transmuxer.on(de.RECOVERED_EARLY_EOF,function(){Le._emitter.emit(fe.RECOVERED_EARLY_EOF)}),this._transmuxer.on(de.IO_ERROR,function(ze,$e){Le._emitter.emit(fe.ERROR,Kt.NETWORK_ERROR,ze,$e)}),this._transmuxer.on(de.DEMUX_ERROR,function(ze,$e){Le._emitter.emit(fe.ERROR,Kt.MEDIA_ERROR,ze,{code:-1,msg:$e})}),this._transmuxer.on(de.MEDIA_INFO,function(ze){Le._mediaInfo=ze,Le._emitter.emit(fe.MEDIA_INFO,Object.assign({},ze))}),this._transmuxer.on(de.METADATA_ARRIVED,function(ze){Le._emitter.emit(fe.METADATA_ARRIVED,ze)}),this._transmuxer.on(de.SCRIPTDATA_ARRIVED,function(ze){Le._emitter.emit(fe.SCRIPTDATA_ARRIVED,ze)}),this._transmuxer.on(de.STATISTICS_INFO,function(ze){Le._statisticsInfo=Le._fillStatisticsInfo(ze),Le._emitter.emit(fe.STATISTICS_INFO,Object.assign({},Le._statisticsInfo))}),this._transmuxer.on(de.RECOMMEND_SEEKPOINT,function(ze){Le._mediaElement&&!Le._config.accurateSeek&&(Le._requestSetTime=!0,Le._mediaElement.currentTime=ze/1e3)}),this._transmuxer.open()}},{key:"unload",value:function(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(Le){this._mediaElement.volume=Le}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(Le){this._mediaElement.muted=Le}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(Le){this._mediaElement?this._internalSeek(Le):this._pendingSeekTime=Le}},{key:"mediaInfo",get:function(){return Object.assign({},this._mediaInfo)}},{key:"statisticsInfo",get:function(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}},{key:"_fillStatisticsInfo",value:function(Le){if(Le.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return Le;var ze=!0,$e=0,gt=0;if(this._mediaElement.getVideoPlaybackQuality){var ir=this._mediaElement.getVideoPlaybackQuality();$e=ir.totalVideoFrames,gt=ir.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?($e=this._mediaElement.webkitDecodedFrameCount,gt=this._mediaElement.webkitDroppedFrameCount):ze=!1;return ze&&(Le.decodedFrames=$e,Le.droppedFrames=gt),Le}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var Le=this._mediaElement.buffered,ze=this._mediaElement.currentTime,$e=0,gt=0,ir=0;ir=ze+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(d.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){d.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}},{key:"_suspendTransmuxer",value:function(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}},{key:"_checkProgressAndResume",value:function(){for(var Le=this._mediaElement.currentTime,ze=this._mediaElement.buffered,$e=!1,gt=0;gt=ir&&Le=Xt-this._config.lazyLoadRecoverDuration&&($e=!0);break}}$e&&(window.clearInterval(this._progressChecker),this._progressChecker=null,$e&&(d.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(Le){for(var ze=this._mediaElement.buffered,$e=0;$e=gt&&Le0){var ir=this._mediaElement.buffered.start(0);(ir<1&&Le0&&ze.currentTime<$e.start(0)&&(d.w(this.TAG,"Playback seems stuck at ".concat(ze.currentTime,", seek to ").concat($e.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=$e.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(Le){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(Le){var ze=this._mediaElement.currentTime,$e=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(ze<1&&$e.length>0){var gt=$e.start(0);if(gt<1&&ze0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}},{key:"unload",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(Le){this._mediaElement.volume=Le}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(Le){this._mediaElement.muted=Le}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(Le){this._mediaElement?this._mediaElement.currentTime=Le:this._pendingSeekTime=Le}},{key:"mediaInfo",get:function(){var Le=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",ze={mimeType:Le+this._mediaDataSource.type};return this._mediaElement&&(ze.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(ze.width=this._mediaElement.videoWidth,ze.height=this._mediaElement.videoHeight)),ze}},{key:"statisticsInfo",get:function(){var Le={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return Le;var ze=!0,$e=0,gt=0;if(this._mediaElement.getVideoPlaybackQuality){var ir=this._mediaElement.getVideoPlaybackQuality();$e=ir.totalVideoFrames,gt=ir.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?($e=this._mediaElement.webkitDecodedFrameCount,gt=this._mediaElement.webkitDroppedFrameCount):ze=!1;return ze&&(Le.decodedFrames=$e,Le.droppedFrames=gt),Le}},{key:"_onvLoadedMetadata",value:function(Le){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(fe.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(fe.STATISTICS_INFO,this.statisticsInfo)}}]),lt}(),yr=Gt;f.install();function br(lt,mt){var Le=lt;if(Le==null||typeof Le!="object")throw new r("MediaDataSource must be an javascript object!");if(!Le.hasOwnProperty("type"))throw new r("MediaDataSource must has type field to indicate video file type!");switch(Le.type){case"flv":return new Ze(Le,mt);default:return new yr(Le,mt)}}function Sr(){return ce.supportMSEH264Playback()}function Tn(){return ce.getFeatureList()}var cn={};cn.createPlayer=br,cn.isSupported=Sr,cn.getFeatureList=Tn,cn.BaseLoader=g,cn.LoaderStatus=h,cn.LoaderErrors=p,cn.Events=fe,cn.ErrorTypes=Kt,cn.ErrorDetails=ot,cn.FlvPlayer=Ze,cn.NativePlayer=yr,cn.LoggingControl=Se,Object.defineProperty(cn,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var Kn=R.a=cn},GVMX:function(j,R,l){var x=l("JEkh"),b=x.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});j.exports=b},GdRQ:function(j,R,l){"use strict";function x(_){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(C){return typeof C}:x=function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},x(_)}Object.defineProperty(R,"__esModule",{value:!0}),R.isMac=h,R.isWindows=p,R.isIOS=g,R.isSafari=v,R.isIE=y,R.isEdge=w,R.isFirefox=S,R.hasScrollbarGutter=R.supportsImageMetadata=R.supportsCursorURIs=R.dragThreshold=R.isTouchDevice=void 0;var b=f(l("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var _=new WeakMap;return A=function(){return _},_}function f(_){if(_&&_.__esModule)return _;if(_===null||x(_)!=="object"&&typeof _!="function")return{default:_};var I=A();if(I&&I.has(_))return I.get(_);var C={},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in _)if(Object.prototype.hasOwnProperty.call(_,O)){var M=E?Object.getOwnPropertyDescriptor(_,O):null;M&&(M.get||M.set)?Object.defineProperty(C,O,M):C[O]=_[O]}return C.default=_,I&&I.set(_,C),C}var t="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;R.isTouchDevice=t,window.addEventListener("touchstart",function _(){R.isTouchDevice=t=!0,window.removeEventListener("touchstart",_,!1)},!1);var e=10*(window.devicePixelRatio||1);R.dragThreshold=e;var m=!1;try{var d=document.createElement("canvas");d.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',d.style.cursor.indexOf("url")===0?(b.Info("Data URI scheme cursor supported"),m=!0):b.Warn("Data URI scheme cursor not supported")}catch(_){b.Error("Data URI scheme cursor test exception: "+_)}var a=m;R.supportsCursorURIs=a;var n=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),n=!0}catch(_){}var s=n;R.supportsImageMetadata=s;var c=!0;try{var i=document.createElement("div");i.style.visibility="hidden",i.style.overflow="scroll",document.body.appendChild(i);var u=document.createElement("div");i.appendChild(u);var r=i.offsetWidth-u.offsetWidth;i.parentNode.removeChild(i),c=r!=0}catch(_){b.Error("Scrollbar test exception: "+_)}var o=c;R.hasScrollbarGutter=o;function h(){return navigator&&!!/mac/i.exec(navigator.platform)}function p(){return navigator&&!!/win/i.exec(navigator.platform)}function g(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function v(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function y(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function w(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function S(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(j,R,l){var x=l("bYtY"),b=l("6Ic6"),A=l("IwbS"),f=l("y+Vt"),t=l("sK/D"),e=t.createClipPath,m=["itemStyle"],d=["emphasis","itemStyle"],a=["color","color0","borderColor","borderColor0"],n=b.extend({type:"candlestick",render:function(v,y,w){this.group.removeClipPath(),this._updateDrawMode(v),this._isLargeDraw?this._renderLarge(v):this._renderNormal(v)},incrementalPrepareRender:function(v,y,w){this._clear(),this._updateDrawMode(v)},incrementalRender:function(v,y,w,S){this._isLargeDraw?this._incrementalRenderLarge(v,y):this._incrementalRenderNormal(v,y)},_updateDrawMode:function(v){var y=v.pipelineContext.large;(this._isLargeDraw==null||y^this._isLargeDraw)&&(this._isLargeDraw=y,this._clear())},_renderNormal:function(v){var y=v.getData(),w=this._data,S=this.group,_=y.getLayout("isSimpleBox"),I=v.get("clip",!0),C=v.coordinateSystem,E=C.getArea&&C.getArea();this._data||S.removeAll(),y.diff(w).add(function(O){if(y.hasValue(O)){var M,F=y.getItemLayout(O);if(I&&i(E,F))return;M=c(F,O,!0),A.initProps(M,{shape:{points:F.ends}},v,O),u(M,y,O,_),S.add(M),y.setItemGraphicEl(O,M)}}).update(function(O,M){var F=w.getItemGraphicEl(M);if(!y.hasValue(O)){S.remove(F);return}var H=y.getItemLayout(O);if(I&&i(E,H)){S.remove(F);return}F?A.updateProps(F,{shape:{points:H.ends}},v,O):F=c(H,O),u(F,y,O,_),S.add(F),y.setItemGraphicEl(O,F)}).remove(function(O){var M=w.getItemGraphicEl(O);M&&S.remove(M)}).execute(),this._data=y},_renderLarge:function(v){this._clear(),h(v,this.group);var y=v.get("clip",!0)?e(v.coordinateSystem,!1,v):null;y?this.group.setClipPath(y):this.group.removeClipPath()},_incrementalRenderNormal:function(v,y){for(var w=y.getData(),S=w.getLayout("isSimpleBox"),_;(_=v.next())!=null;){var I,C=w.getItemLayout(_);I=c(C,_),u(I,w,_,S),I.incremental=!0,this.group.add(I)}},_incrementalRenderLarge:function(v,y){h(y,this.group,!0)},remove:function(v){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:x.noop}),s=f.extend({type:"normalCandlestickBox",shape:{},buildPath:function(v,y){var w=y.points;this.__simpleBox?(v.moveTo(w[4][0],w[4][1]),v.lineTo(w[6][0],w[6][1])):(v.moveTo(w[0][0],w[0][1]),v.lineTo(w[1][0],w[1][1]),v.lineTo(w[2][0],w[2][1]),v.lineTo(w[3][0],w[3][1]),v.closePath(),v.moveTo(w[4][0],w[4][1]),v.lineTo(w[5][0],w[5][1]),v.moveTo(w[6][0],w[6][1]),v.lineTo(w[7][0],w[7][1]))}});function c(v,y,w){var S=v.ends;return new s({shape:{points:w?r(S,v):S},z2:100})}function i(v,y){for(var w=!0,S=0;S0?"P":"N",I=S.getVisual("borderColor"+_)||S.getVisual("color"+_),C=w.getModel(m).getItemStyle(a);y.useStyle(C),y.style.fill=null,y.style.stroke=I}var g=n;j.exports=g},Gev7:function(j,R,l){var x=l("bYtY"),b=l("K2GJ"),A=l("1bdT"),f=l("ni6a");function t(m){m=m||{},A.call(this,m);for(var d in m)m.hasOwnProperty(d)&&d!=="style"&&(this[d]=m[d]);this.style=new b(m.style,this),this._rect=null,this.__clipPaths=null}t.prototype={constructor:t,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(d){},afterBrush:function(d){},brush:function(d,a){},getBoundingRect:function(){},contain:function(d,a){return this.rectContain(d,a)},traverse:function(d,a){d.call(a,this)},rectContain:function(d,a){var n=this.transformCoordToLocal(d,a),s=this.getBoundingRect();return s.contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(d){return this.animate("style",d)},attrKV:function(d,a){d!=="style"?A.prototype.attrKV.call(this,d,a):this.style.set(a)},setStyle:function(d,a){return this.style.set(d,a),this.dirty(!1),this},useStyle:function(d){return this.style=new b(d,this),this.dirty(!1),this},calculateTextPosition:null},x.inherits(t,A),x.mixin(t,f);var e=t;j.exports=e},GrNh:function(j,R,l){var x=l("bYtY"),b=l("IwbS"),A=l("6Ic6");function f(n,s,c,i){var u=s.getData(),r=this.dataIndex,o=u.getName(r),h=s.get("selectedOffset");i.dispatchAction({type:"pieToggleSelect",from:n,name:o,seriesId:s.id}),u.each(function(p){t(u.getItemGraphicEl(p),u.getItemLayout(p),s.isSelected(u.getName(p)),h,c)})}function t(n,s,c,i,u){var r=(s.startAngle+s.endAngle)/2,o=Math.cos(r),h=Math.sin(r),p=c?i:0,g=[o*p,h*p];u?n.animate().when(200,{position:g}).start("bounceOut"):n.attr("position",g)}function e(n,s){b.Group.call(this);var c=new b.Sector({z2:2}),i=new b.Polyline,u=new b.Text;this.add(c),this.add(i),this.add(u),this.updateData(n,s,!0)}var m=e.prototype;m.updateData=function(n,s,c){var i=this.childAt(0),u=this.childAt(1),r=this.childAt(2),o=n.hostModel,h=n.getItemModel(s),p=n.getItemLayout(s),g=x.extend({},p);g.label=null;var v=o.getShallow("animationTypeUpdate");if(c){i.setShape(g);var y=o.getShallow("animationType");y==="scale"?(i.shape.r=p.r0,b.initProps(i,{shape:{r:p.r}},o,s)):(i.shape.endAngle=p.startAngle,b.updateProps(i,{shape:{endAngle:p.endAngle}},o,s))}else v==="expansion"?i.setShape(g):b.updateProps(i,{shape:g},o,s);var w=n.getItemVisual(s,"color");i.useStyle(x.defaults({lineJoin:"bevel",fill:w},h.getModel("itemStyle").getItemStyle())),i.hoverStyle=h.getModel("emphasis.itemStyle").getItemStyle();var S=h.getShallow("cursor");S&&i.attr("cursor",S),t(this,n.getItemLayout(s),o.isSelected(n.getName(s)),o.get("selectedOffset"),o.get("animation"));var _=!c&&v==="transition";this._updateLabel(n,s,_),this.highDownOnUpdate=o.get("silent")?null:function(I,C){var E=o.isAnimationEnabled()&&h.get("hoverAnimation");C==="emphasis"?(u.ignore=u.hoverIgnore,r.ignore=r.hoverIgnore,E&&(i.stopAnimation(!0),i.animateTo({shape:{r:p.r+o.get("hoverOffset")}},300,"elasticOut"))):(u.ignore=u.normalIgnore,r.ignore=r.normalIgnore,E&&(i.stopAnimation(!0),i.animateTo({shape:{r:p.r}},300,"elasticOut")))},b.setHoverStyle(this)},m._updateLabel=function(n,s,c){var i=this.childAt(1),u=this.childAt(2),r=n.hostModel,o=n.getItemModel(s),h=n.getItemLayout(s),p=h.label,g=n.getItemVisual(s,"color");if(!p||isNaN(p.x)||isNaN(p.y)){u.ignore=u.normalIgnore=u.hoverIgnore=i.ignore=i.normalIgnore=i.hoverIgnore=!0;return}var v={points:p.linePoints||[[p.x,p.y],[p.x,p.y],[p.x,p.y]]},y={x:p.x,y:p.y};c?(b.updateProps(i,{shape:v},r,s),b.updateProps(u,{style:y},r,s)):(i.attr({shape:v}),u.attr({style:y})),u.attr({rotation:p.rotation,origin:[p.x,p.y],z2:10});var w=o.getModel("label"),S=o.getModel("emphasis.label"),_=o.getModel("labelLine"),I=o.getModel("emphasis.labelLine"),g=n.getItemVisual(s,"color");b.setLabelStyle(u.style,u.hoverStyle={},w,S,{labelFetcher:n.hostModel,labelDataIndex:s,defaultText:p.text,autoColor:g,useInsideStyle:!!p.inside},{textAlign:p.textAlign,textVerticalAlign:p.verticalAlign,opacity:n.getItemVisual(s,"opacity")}),u.ignore=u.normalIgnore=!w.get("show"),u.hoverIgnore=!S.get("show"),i.ignore=i.normalIgnore=!_.get("show"),i.hoverIgnore=!I.get("show"),i.setStyle({stroke:g,opacity:n.getItemVisual(s,"opacity")}),i.setStyle(_.getModel("lineStyle").getLineStyle()),i.hoverStyle=I.getModel("lineStyle").getLineStyle();var C=_.get("smooth");C&&C===!0&&(C=.4),i.setShape({smooth:C})},x.inherits(e,b.Group);var d=A.extend({type:"pie",init:function(){var n=new b.Group;this._sectorGroup=n},render:function(n,s,c,i){if(i&&i.from===this.uid)return;var u=n.getData(),r=this._data,o=this.group,h=s.get("animation"),p=!r,g=n.get("animationType"),v=n.get("animationTypeUpdate"),y=x.curry(f,this.uid,n,h,c),w=n.get("selectedMode");if(u.diff(r).add(function(E){var O=new e(u,E);p&&g!=="scale"&&O.eachChild(function(M){M.stopAnimation(!0)}),w&&O.on("click",y),u.setItemGraphicEl(E,O),o.add(O)}).update(function(E,O){var M=r.getItemGraphicEl(O);!p&&v!=="transition"&&M.eachChild(function(F){F.stopAnimation(!0)}),M.updateData(u,E),M.off("click"),w&&M.on("click",y),o.add(M),u.setItemGraphicEl(E,M)}).remove(function(E){var O=r.getItemGraphicEl(E);o.remove(O)}).execute(),h&&u.count()>0&&(p?g!=="scale":v!=="transition")){for(var S=u.getItemLayout(0),_=1;isNaN(S.startAngle)&&_=i.r0}}}),a=d;j.exports=a},Gytx:function(j,R){j.exports=function(x,b,A,f){var t=A?A.call(f,x,b):void 0;if(t!==void 0)return!!t;if(x===b)return!0;if(typeof x!="object"||!x||typeof b!="object"||!b)return!1;var e=Object.keys(x),m=Object.keys(b);if(e.length!==m.length)return!1;for(var d=Object.prototype.hasOwnProperty.bind(b),a=0;a=fe&&reSe?"true":"false","aria-posinset":Se+1,"aria-setsize":ke,tabIndex:ce?-1:0},f.a.createElement("div",{className:"".concat(ie,"-first")},Be),f.a.createElement("div",{className:"".concat(ie,"-second")},Be)));return xe&&(ee=xe(ee,this.props)),ee}}]),K}(f.a.Component);function y(W,z){var K=Object.keys(W);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(W);z&&(P=P.filter(function(G){return Object.getOwnPropertyDescriptor(W,G).enumerable})),K.push.apply(K,P)}return K}function w(W){for(var z=1;z0&&!ke||re===u.a.RIGHT&&ge>0&&ke?(fe?ge-=.5:ge-=1,G.changeValue(ge),q.preventDefault()):re===u.a.LEFT&&geke/2||!ie&&V-Se3&&(a=l.call(a,1));for(var s=m.length,c=0;c4&&(a=l.call(a,1,a.length-1));for(var s=a[a.length-1],c=m.length,i=0;i0)throw new Error("Invalid string. Length must be a multiple of 4");var o=u.indexOf("=");o===-1&&(o=r);var h=o===r?0:4-o%4;return[o,h]}function d(u){var r=m(u),o=r[0],h=r[1];return(o+h)*3/4-h}function a(u,r,o){return(r+o)*3/4-o}function n(u){var r,o=m(u),h=o[0],p=o[1],g=new A(a(u,h,p)),v=0,y=p>0?h-4:h,w;for(w=0;w>16&255,g[v++]=r>>8&255,g[v++]=r&255;return p===2&&(r=b[u.charCodeAt(w)]<<2|b[u.charCodeAt(w+1)]>>4,g[v++]=r&255),p===1&&(r=b[u.charCodeAt(w)]<<10|b[u.charCodeAt(w+1)]<<4|b[u.charCodeAt(w+2)]>>2,g[v++]=r>>8&255,g[v++]=r&255),g}function s(u){return x[u>>18&63]+x[u>>12&63]+x[u>>6&63]+x[u&63]}function c(u,r,o){for(var h,p=[],g=r;gy?y:v+g));return h===1?(r=u[o-1],p.push(x[r>>2]+x[r<<4&63]+"==")):h===2&&(r=(u[o-2]<<8)+u[o-1],p.push(x[r>>10]+x[r>>4&63]+x[r<<2&63]+"=")),p.join("")}},HBhm:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};R.default=x},HDXh:function(j,R,l){"use strict";(function(x){/*! +`;var L=of(T,N);if(typeof cptable=="undefined"||N.type=="string")return L;var Q=cptable.utils.encode(1200,L,"str");return String.fromCharCode(255)+String.fromCharCode(254)+Q}function Ff(T){var N="",L,Q="";if(T==null||T["!ref"]==null)return[];var ne=ta(T["!ref"]),Te="",Ve=[],je,vt=[],St=Array.isArray(T);for(je=ne.s.c;je<=ne.e.c;++je)Ve[je]=ya(je);for(var Pt=ne.s.r;Pt<=ne.e.r;++Pt)for(Te=_i(Pt),je=ne.s.c;je<=ne.e.c;++je){if(N=Ve[je]+Te,L=St?(T[Pt]||[])[je]:T[N],Q="",L===void 0)continue;if(L.F!=null){if(N=L.F,!L.f)continue;Q=L.f,N.indexOf(":")==-1&&(N=N+":"+N)}if(L.f!=null)Q=L.f;else{if(L.t=="z")continue;if(L.t=="n"&&L.v!=null)Q=""+L.v;else if(L.t=="b")Q=L.v?"TRUE":"FALSE";else if(L.w!==void 0)Q="'"+L.w;else{if(L.v===void 0)continue;L.t=="s"?Q="'"+L.v:Q=""+L.v}}vt[vt.length]=N+"="+Q}return vt}function Cp(T,N,L){var Q=L||{},ne=+!Q.skipHeader,Te=T||{},Ve=0,je=0;if(Te&&Q.origin!=null)if(typeof Q.origin=="number")Ve=Q.origin;else{var vt=typeof Q.origin=="string"?Pi(Q.origin):Q.origin;Ve=vt.r,je=vt.c}var St,Pt={s:{c:0,r:0},e:{c:je,r:Ve+N.length-1+ne}};if(Te["!ref"]){var pr=ta(Te["!ref"]);Pt.e.c=Math.max(Pt.e.c,pr.e.c),Pt.e.r=Math.max(Pt.e.r,pr.e.r),Ve==-1&&(Ve=pr.e.r+1,Pt.e.r=Ve+N.length-1+ne)}else Ve==-1&&(Ve=0,Pt.e.r=N.length-1+ne);var _r=Q.header||[],Rr=0;N.forEach(function(kr,An){Ge(kr).forEach(function(Nn){(Rr=_r.indexOf(Nn))==-1&&(_r[Rr=_r.length]=Nn);var Rn=kr[Nn],un="z",Bi="",fa=dn({c:je+Rr,r:Ve+An+ne});St=Wh.sheet_get_cell(Te,fa),Rn&&typeof Rn=="object"&&!(Rn instanceof Date)?Te[fa]=Rn:(typeof Rn=="number"?un="n":typeof Rn=="boolean"?un="b":typeof Rn=="string"?un="s":Rn instanceof Date?(un="d",Q.cellDates||(un="n",Rn=pe(Rn)),Bi=Q.dateNF||G._table[14]):Rn===null&&Q.nullError&&(un="e",Rn=0),St?(St.t=un,St.v=Rn,delete St.w,delete St.R,Bi&&(St.z=Bi)):Te[fa]=St={t:un,v:Rn},Bi&&(St.z=Bi))})}),Pt.e.c=Math.max(Pt.e.c,je+_r.length-1);var ln=_i(Ve);if(ne)for(Rr=0;Rr<_r.length;++Rr)Te[ya(Rr+je)+ln]={t:"s",v:_r[Rr]};return Te["!ref"]=ba(Pt),Te}function Bv(T,N){return Cp(null,T,N)}var Wh={encode_col:ya,encode_row:_i,encode_cell:dn,encode_range:ba,decode_col:ea,decode_row:Oi,split_cell:rs,decode_cell:Pi,decode_range:ha,format_cell:lr,get_formulae:Ff,make_csv:of,make_json:af,make_formulae:Ff,sheet_add_aoa:_n,sheet_add_json:Cp,sheet_add_dom:ip,aoa_to_sheet:Pn,json_to_sheet:Bv,table_to_sheet:ap,table_to_book:lv,sheet_to_csv:of,sheet_to_txt:Sp,sheet_to_json:af,sheet_to_html:wh.from_sheet,sheet_to_formulae:Ff,sheet_to_row_object_array:af};(function(T){T.consts=T.consts||{};function N(Te){Te.forEach(function(Ve){T.consts[Ve[0]]=Ve[1]})}function L(Te,Ve,je){return Te[Ve]!=null?Te[Ve]:Te[Ve]=je}function Q(Te,Ve,je){if(typeof Ve=="string"){if(Array.isArray(Te)){var vt=Pi(Ve);return Te[vt.r]||(Te[vt.r]=[]),Te[vt.r][vt.c]||(Te[vt.r][vt.c]={t:"z"})}return Te[Ve]||(Te[Ve]={t:"z"})}return typeof Ve!="number"?Q(Te,dn(Ve)):Q(Te,dn({r:Ve,c:je||0}))}T.sheet_get_cell=Q;function ne(Te,Ve){if(typeof Ve=="number"){if(Ve>=0&&Te.SheetNames.length>Ve)return Ve;throw new Error("Cannot find sheet # "+Ve)}else if(typeof Ve=="string"){var je=Te.SheetNames.indexOf(Ve);if(je>-1)return je;throw new Error("Cannot find sheet name |"+Ve+"|")}else throw new Error("Cannot find sheet |"+Ve+"|")}return T.book_new=function(){return{SheetNames:[],Sheets:{}}},T.book_append_sheet=function(Te,Ve,je){if(!je)for(var vt=1;vt<=65535&&!(Te.SheetNames.indexOf(je="Sheet"+vt)==-1);++vt,je=void 0);if(!je||Te.SheetNames.length>=65535)throw new Error("Too many worksheets");if(Jf(je),Te.SheetNames.indexOf(je)>=0)throw new Error("Worksheet with name |"+je+"| already exists!");Te.SheetNames.push(je),Te.Sheets[je]=Ve},T.book_set_sheet_visibility=function(Te,Ve,je){L(Te,"Workbook",{}),L(Te.Workbook,"Sheets",[]);var vt=ne(Te,Ve);L(Te.Workbook.Sheets,vt,{});switch(je){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+je)}Te.Workbook.Sheets[vt].Hidden=je},N([["SHEET_VISIBLE",0],["SHEET_HIDDEN",1],["SHEET_VERY_HIDDEN",2]]),T.cell_set_number_format=function(Te,Ve){return Te.z=Ve,Te},T.cell_set_hyperlink=function(Te,Ve,je){return Ve?(Te.l={Target:Ve},je&&(Te.l.Tooltip=je)):delete Te.l,Te},T.cell_set_internal_link=function(Te,Ve,je){return T.cell_set_hyperlink(Te,"#"+Ve,je)},T.cell_add_comment=function(Te,Ve,je){Te.c||(Te.c=[]),Te.c.push({t:Ve,a:je||"SheetJS"})},T.sheet_set_array_formula=function(Te,Ve,je){for(var vt=typeof Ve!="string"?Ve:ta(Ve),St=typeof Ve=="string"?Ve:ba(Ve),Pt=vt.s.r;Pt<=vt.e.r;++Pt)for(var pr=vt.s.c;pr<=vt.e.c;++pr){var _r=Q(Te,Pt,pr);_r.t="n",_r.F=St,delete _r.v,Pt==vt.s.r&&pr==vt.s.c&&(_r.f=je)}return Te},T})(Wh),E&&!0&&function(){var T=l(6);if(!T)return;var N=T.Readable;if(!N)return;var L=function(Ve,je){var vt=N(),St=je==null?{}:je;if(Ve==null||Ve["!ref"]==null)return vt.push(null),vt;var Pt=ta(Ve["!ref"]),pr=St.FS!==void 0?St.FS:",",_r=pr.charCodeAt(0),Rr=St.RS!==void 0?St.RS:` +`,ln=Rr.charCodeAt(0),kr=new RegExp((pr=="|"?"\\|":pr)+"+$"),An="",Nn=[];St.dense=Array.isArray(Ve);for(var Rn=St.skipHidden&&Ve["!cols"]||[],un=St.skipHidden&&Ve["!rows"]||[],Bi=Pt.s.c;Bi<=Pt.e.c;++Bi)(Rn[Bi]||{}).hidden||(Nn[Bi]=ya(Bi));var fa=Pt.s.r,$i=!1;return vt._read=function(){if(!$i)return $i=!0,vt.push("\uFEFF");for(;fa<=Pt.e.r;){if(++fa,(un[fa-1]||{}).hidden)continue;if(An=xp(Ve,Pt,fa-1,Nn,_r,ln,pr,St),An!=null){St.strip&&(An=An.replace(kr,"")),vt.push(An+Rr);break}}if(fa>Pt.e.r)return vt.push(null)},vt},Q=function(Ve,je){var vt=N(),St=je||{},Pt=St.header!=null?St.header:wh.BEGIN,pr=St.footer!=null?St.footer:wh.END;vt.push(Pt);var _r=ha(Ve["!ref"]);St.dense=Array.isArray(Ve),vt.push(wh._preamble(Ve,_r,St));var Rr=_r.s.r,ln=!1;return vt._read=function(){if(Rr>_r.e.r)return ln||(ln=!0,vt.push(""+pr)),vt.push(null);for(;Rr<=_r.e.r;){vt.push(wh._row(Ve,_r,Rr,St)),++Rr;break}},vt},ne=function(Ve,je){var vt=N({objectMode:!0});if(Ve==null||Ve["!ref"]==null)return vt.push(null),vt;var St={t:"n",v:0},Pt=0,pr=1,_r=[],Rr=0,ln="",kr={s:{r:0,c:0},e:{r:0,c:0}},An=je||{},Nn=An.range!=null?An.range:Ve["!ref"];An.header===1?Pt=1:An.header==="A"?Pt=2:Array.isArray(An.header)&&(Pt=3);switch(typeof Nn){case"string":kr=ta(Nn);break;case"number":kr=ta(Ve["!ref"]),kr.s.r=Nn;break;default:kr=Nn}Pt>0&&(pr=0);var Rn=_i(kr.s.r),un=[],Bi=0,fa=Array.isArray(Ve),$i=kr.s.r,wa=0,no=0;for(fa&&!Ve[$i]&&(Ve[$i]=[]),wa=kr.s.c;wa<=kr.e.c;++wa){un[wa]=ya(wa),St=fa?Ve[$i][wa]:Ve[un[wa]+Rn];switch(Pt){case 1:_r[wa]=wa-kr.s.c;break;case 2:_r[wa]=un[wa];break;case 3:_r[wa]=An.header[wa-kr.s.c];break;default:for(St==null&&(St={w:"__EMPTY",t:"s"}),ln=Rr=lr(St,null,An),Bi=0,no=0;no<_r.length;++no)_r[no]==ln&&(ln=Rr+"_"+ ++Bi);_r[wa]=ln}}return $i=kr.s.r+pr,vt._read=function(){if($i>kr.e.r)return vt.push(null);for(;$i<=kr.e.r;){var Ca=yp(Ve,kr,$i,un,Pt,_r,fa,An);if(++$i,Ca.isempty===!1||(Pt===1?An.blankrows!==!1:!!An.blankrows)){vt.push(Ca.row);break}}},vt};d.stream={to_json:ne,to_html:Q,to_csv:L}}(),typeof qh!="undefined"&&(d.parse_xlscfb=qh),d.parse_zip=pp,d.read=tf,d.readFile=gp,d.readFileSync=gp,d.write=nf,d.writeFile=bp,d.writeFileSync=bp,d.writeFileAsync=Fv,d.utils=Wh,d.SSF=G,typeof ke!="undefined"&&(d.CFB=ke)}if(t(R),typeof window!="undefined"&&!window.XLSX)try{window.XLSX=f}catch(d){}var e=f,m=f}).call(this,l("yLpj"),l("HDXh").Buffer,l("Q2Ig"))},EXcs:function(j,R,l){"use strict";var x=function(){return{height:0,opacity:0}},b=function(m){return{height:m.scrollHeight,opacity:1}},A=function(m){return{height:m.offsetHeight}},f=function(m,d){return d.propertyName==="height"},t={motionName:"ant-motion-collapse",onAppearStart:x,onEnterStart:x,onAppearActive:b,onEnterActive:b,onLeaveStart:A,onLeaveActive:x,onAppearEnd:f,onEnterEnd:f,onLeaveEnd:f,motionDeadline:500};R.a=t},Em2t:function(j,R,l){var x=l("bahg"),b=l("quyA"),A=l("0JQy");function f(t){return b(t)?A(t):x(t)}j.exports=f},Ez2D:function(j,R,l){var x=l("bYtY"),b=l("4NO4");function A(f,t){var e=[],m=f.seriesIndex,d;if(m==null||!(d=t.getSeriesByIndex(m)))return{point:[]};var a=d.getData(),n=b.queryDataIndex(a,f);if(n==null||n<0||x.isArray(n))return{point:[]};var s=a.getItemGraphicEl(n),c=d.coordinateSystem;if(d.getTooltipPosition)e=d.getTooltipPosition(n)||[];else if(c&&c.dataToPoint)e=c.dataToPoint(a.getValues(x.map(c.dimensions,function(u){return a.mapDimension(u)}),n,!0))||[];else if(s){var i=s.getBoundingRect().clone();i.applyTransform(s.transform),e=[i.x+i.width/2,i.y+i.height/2]}return{point:e,el:s}}j.exports=A},F0hE:function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("ca2m"),f=l("Qxkt"),t=l("ICMv"),e=A.valueAxis;function m(n,s){return b.defaults({show:s},n)}var d=x.extendComponentModel({type:"radar",optionUpdated:function(){var n=this.get("boundaryGap"),s=this.get("splitNumber"),c=this.get("scale"),i=this.get("axisLine"),u=this.get("axisTick"),r=this.get("axisType"),o=this.get("axisLabel"),h=this.get("name"),p=this.get("name.show"),g=this.get("name.formatter"),v=this.get("nameGap"),y=this.get("triggerEvent"),w=b.map(this.get("indicator")||[],function(S){S.max!=null&&S.max>0&&!S.min?S.min=0:S.min!=null&&S.min<0&&!S.max&&(S.max=0);var _=h;if(S.color!=null&&(_=b.defaults({color:S.color},h)),S=b.merge(b.clone(S),{boundaryGap:n,splitNumber:s,scale:c,axisLine:i,axisTick:u,axisType:r,axisLabel:o,name:S.text,nameLocation:"end",nameGap:v,nameTextStyle:_,triggerEvent:y},!1),p||(S.name=""),typeof g=="string"){var I=S.name;S.name=g.replace("{value}",I!=null?I:"")}else typeof g=="function"&&(S.name=g(S.name,S));var C=b.extend(new f(S,null,this.ecModel),t);return C.mainType="radar",C.componentIndex=this.componentIndex,C},this);this.getIndicatorModels=function(){return w}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:b.merge({lineStyle:{color:"#bbb"}},e.axisLine),axisLabel:m(e.axisLabel,!1),axisTick:m(e.axisTick,!1),axisType:"interval",splitLine:m(e.splitLine,!0),splitArea:m(e.splitArea,!0),indicator:[]}}),a=d;j.exports=a},F5Ls:function(j,R){var l={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function x(b,A){if(b==="china"){var f=l[A.name];if(f){var t=A.center;t[0]+=f[0]/10.5,t[1]+=-f[1]/(10.5/.75)}}}j.exports=x},F7hV:function(j,R,l){var x=l("MBQ8"),b=x.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var A=this.get("progressiveThreshold"),f=this.get("largeThreshold");return f>A&&(A=f),A},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});j.exports=b},F9bG:function(j,R,l){var x=l("bYtY"),b=l("ItGF"),A=l("4NO4"),f=A.makeInner,t=f(),e=x.each;function m(u,r,o){if(b.node)return;var h=r.getZr();t(h).records||(t(h).records={}),d(h,r);var p=t(h).records[u]||(t(h).records[u]={});p.handler=o}function d(u,r){if(t(u).initialized)return;t(u).initialized=!0,o("click",x.curry(s,"click")),o("mousemove",x.curry(s,"mousemove")),o("globalout",n);function o(h,p){u.on(h,function(g){var v=c(r);e(t(u).records,function(y){y&&p(y,g,v.dispatchAction)}),a(v.pendings,r)})}}function a(u,r){var o=u.showTip.length,h=u.hideTip.length,p;o?p=u.showTip[o-1]:h&&(p=u.hideTip[h-1]),p&&(p.dispatchAction=null,r.dispatchAction(p))}function n(u,r,o){u.handler("leave",null,o)}function s(u,r,o,h){r.handler(u,o,h)}function c(u){var r={showTip:[],hideTip:[]},o=function(h){var p=r[h.type];p?p.push(h):(h.dispatchAction=o,u.dispatchAction(h))};return{dispatchAction:o,pendings:r}}function i(u,r){if(b.node)return;var o=r.getZr(),h=(t(o).records||{})[u];h&&(t(o).records[u]=null)}R.register=m,R.unregister=i},FBjb:function(j,R,l){var x=l("bYtY"),b=l("oVpE"),A=b.createSymbol,f=l("IwbS"),t=l("OELB"),e=t.parsePercent,m=l("x3X8"),d=m.getDefaultLabel;function a(v,y,w){f.Group.call(this),this.updateData(v,y,w)}var n=a.prototype,s=a.getSymbolSize=function(v,y){var w=v.getItemVisual(y,"symbolSize");return w instanceof Array?w.slice():[+w,+w]};function c(v){return[v[0]/2,v[1]/2]}function i(v,y){this.parent.drift(v,y)}n._createSymbol=function(v,y,w,S,_){this.removeAll();var I=y.getItemVisual(w,"color"),C=A(v,-1,-1,2,2,I,_);C.attr({z2:100,culling:!0,scale:c(S)}),C.drift=i,this._symbolType=v,this.add(C)},n.stopSymbolAnimation=function(v){this.childAt(0).stopAnimation(v)},n.getSymbolPath=function(){return this.childAt(0)},n.getScale=function(){return this.childAt(0).scale},n.highlight=function(){this.childAt(0).trigger("emphasis")},n.downplay=function(){this.childAt(0).trigger("normal")},n.setZ=function(v,y){var w=this.childAt(0);w.zlevel=v,w.z=y},n.setDraggable=function(v){var y=this.childAt(0);y.draggable=v,y.cursor=v?"move":y.cursor},n.updateData=function(v,y,w){this.silent=!1;var S=v.getItemVisual(y,"symbol")||"circle",_=v.hostModel,I=s(v,y),C=S!==this._symbolType;if(C){var E=v.getItemVisual(y,"symbolKeepAspect");this._createSymbol(S,v,y,I,E)}else{var O=this.childAt(0);O.silent=!1,f.updateProps(O,{scale:c(I)},_,y)}if(this._updateCommon(v,y,I,w),C){var O=this.childAt(0),M=w&&w.fadeIn,F={scale:O.scale.slice()};M&&(F.style={opacity:O.style.opacity}),O.scale=[0,0],M&&(O.style.opacity=0),f.initProps(O,F,_,y)}this._seriesModel=_};var u=["itemStyle"],r=["emphasis","itemStyle"],o=["label"],h=["emphasis","label"];n._updateCommon=function(v,y,w,S){var _=this.childAt(0),I=v.hostModel,C=v.getItemVisual(y,"color");_.type!=="image"?_.useStyle({strokeNoScale:!0}):_.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var E=S&&S.itemStyle,O=S&&S.hoverItemStyle,M=S&&S.symbolOffset,F=S&&S.labelModel,H=S&&S.hoverLabelModel,B=S&&S.hoverAnimation,X=S&&S.cursorStyle;if(!S||v.hasItemOption){var J=S&&S.itemModel?S.itemModel:v.getItemModel(y);E=J.getModel(u).getItemStyle(["color"]),O=J.getModel(r).getItemStyle(),M=J.getShallow("symbolOffset"),F=J.getModel(o),H=J.getModel(h),B=J.getShallow("hoverAnimation"),X=J.getShallow("cursor")}else O=x.extend({},O);var k=_.style,K=v.getItemVisual(y,"symbolRotate");_.attr("rotation",(K||0)*Math.PI/180||0),M&&_.attr("position",[e(M[0],w[0]),e(M[1],w[1])]),X&&_.attr("cursor",X),_.setColor(C,S&&S.symbolInnerColor),_.setStyle(E);var z=v.getItemVisual(y,"opacity");z!=null&&(k.opacity=z);var W=v.getItemVisual(y,"liftZ"),P=_.__z2Origin;W!=null?P==null&&(_.__z2Origin=_.z2,_.z2+=W):P!=null&&(_.z2=P,_.__z2Origin=null);var G=S&&S.useNameLabel;f.setLabelStyle(k,O,F,H,{labelFetcher:I,labelDataIndex:y,defaultText:V,isRectText:!0,autoColor:C});function V(q,re){return G?v.getName(q):d(v,q)}_.__symbolOriginalScale=c(w),_.hoverStyle=O,_.highDownOnUpdate=B&&I.isAnimationEnabled()?p:null,f.setHoverStyle(_)};function p(v,y){if(this.incremental||this.useHoverLayer)return;if(y==="emphasis"){var w=this.__symbolOriginalScale,S=w[1]/w[0],_={scale:[Math.max(w[0]*1.1,w[0]+3),Math.max(w[1]*1.1,w[1]+3*S)]};this.animateTo(_,400,"elasticOut")}else y==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}n.fadeOut=function(v,y){var w=this.childAt(0);this.silent=w.silent=!0,!(y&&y.keepLabel)&&(w.style.text=null),f.updateProps(w,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,v)},x.inherits(a,f.Group);var g=a;j.exports=g},FGaS:function(j,R,l){var x=l("ProS"),b=l("IwbS"),A=l("bYtY"),f=l("oVpE");function t(m){return A.isArray(m)||(m=[+m,+m]),m}var e=x.extendChartView({type:"radar",render:function(m,d,a){var n=m.coordinateSystem,s=this.group,c=m.getData(),i=this._data;function u(h,p){var g=h.getItemVisual(p,"symbol")||"circle",v=h.getItemVisual(p,"color");if(g==="none")return;var y=t(h.getItemVisual(p,"symbolSize")),w=f.createSymbol(g,-1,-1,2,2,v);return w.attr({style:{strokeNoScale:!0},z2:100,scale:[y[0]/2,y[1]/2]}),w}function r(h,p,g,v,y,w){g.removeAll();for(var S=0;S>2,y=(h&3)<<4|p>>4,w=(p&15)<<2|g>>6,S=g&63,isNaN(p)?w=S=64:isNaN(g)&&(S=64),o=o+i.charAt(v)+i.charAt(y)+i.charAt(w)+i.charAt(S);return o},c.decode=function(u,r){var o="",h,p,g,v,y,w,S,_=0;for(u=u.replace(/[^A-Za-z0-9\+\/\=]/g,"");_>4,p=(y&15)<<4|w>>2,g=(w&3)<<6|S,o=o+String.fromCharCode(h),w!=64&&(o=o+String.fromCharCode(p)),S!=64&&(o=o+String.fromCharCode(g));return o}},{}],2:[function(n,s,c){"use strict";function i(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}i.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},s.exports=i},{}],3:[function(n,s,c){"use strict";c.STORE={magic:"\0\0",compress:function(u){return u},uncompress:function(u){return u},compressInputType:null,uncompressInputType:null},c.DEFLATE=n("./flate")},{"./flate":8}],4:[function(n,s,c){"use strict";var i=n("./utils"),u=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];s.exports=function(o,h){if(typeof o=="undefined"||!o.length)return 0;var p=i.getTypeOf(o)!=="string";typeof h=="undefined"&&(h=0);var g=0,v=0,y=0;h=h^-1;for(var w=0,S=o.length;w>>8^g;return h^-1}},{"./utils":21}],5:[function(n,s,c){"use strict";var i=n("./utils");function u(r){this.data=null,this.length=0,this.index=0}u.prototype={checkOffset:function(o){this.checkIndex(this.index+o)},checkIndex:function(o){if(this.length=this.index;p--)h=(h<<8)+this.byteAt(p);return this.index+=o,h},readString:function(o){return i.transformTo("string",this.readData(o))},readData:function(o){},lastIndexOfSignature:function(o){},readDate:function(){var o=this.readInt(4);return new Date((o>>25&127)+1980,(o>>21&15)-1,o>>16&31,o>>11&31,o>>5&63,(o&31)<<1)}},s.exports=u},{"./utils":21}],6:[function(n,s,c){"use strict";c.base64=!1,c.binary=!1,c.dir=!1,c.createFolders=!1,c.date=null,c.compression=null,c.comment=null},{}],7:[function(n,s,c){"use strict";var i=n("./utils");c.string2binary=function(u){return i.string2binary(u)},c.string2Uint8Array=function(u){return i.transformTo("uint8array",u)},c.uint8Array2String=function(u){return i.transformTo("string",u)},c.string2Blob=function(u){var r=i.transformTo("arraybuffer",u);return i.arrayBuffer2Blob(r)},c.arrayBuffer2Blob=function(u){return i.arrayBuffer2Blob(u)},c.transformTo=function(u,r){return i.transformTo(u,r)},c.getTypeOf=function(u){return i.getTypeOf(u)},c.checkSupport=function(u){return i.checkSupport(u)},c.MAX_VALUE_16BITS=i.MAX_VALUE_16BITS,c.MAX_VALUE_32BITS=i.MAX_VALUE_32BITS,c.pretty=function(u){return i.pretty(u)},c.findCompression=function(u){return i.findCompression(u)},c.isRegExp=function(u){return i.isRegExp(u)}},{"./utils":21}],8:[function(n,s,c){"use strict";var i=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",u=n("pako");c.uncompressInputType=i?"uint8array":"array",c.compressInputType=i?"uint8array":"array",c.magic="\b\0",c.compress=function(r){return u.deflateRaw(r)},c.uncompress=function(r){return u.inflateRaw(r)}},{pako:24}],9:[function(n,s,c){"use strict";var i=n("./base64");function u(r,o){if(!(this instanceof u))return new u(r,o);this.files={},this.comment=null,this.root="",r&&this.load(r,o),this.clone=function(){var h=new u;for(var p in this)typeof this[p]!="function"&&(h[p]=this[p]);return h}}u.prototype=n("./object"),u.prototype.load=n("./load"),u.support=n("./support"),u.defaults=n("./defaults"),u.utils=n("./deprecatedPublicUtils"),u.base64={encode:function(o){return i.encode(o)},decode:function(o){return i.decode(o)}},u.compressions=n("./compressions"),s.exports=u},{"./base64":1,"./compressions":3,"./defaults":6,"./deprecatedPublicUtils":7,"./load":10,"./object":13,"./support":17}],10:[function(n,s,c){"use strict";var i=n("./base64"),u=n("./zipEntries");s.exports=function(r,o){var h,p,g,v;for(o=o||{},o.base64&&(r=i.decode(r)),p=new u(r,o),h=p.files,g=0;g>>8;return V},F=function(){var P={},G,V;for(G=0;G0?P.substring(0,G):""},J=function(P,G){return P.slice(-1)!="/"&&(P+="/"),G=typeof G!="undefined"?G:!1,this.files[P]||B.call(this,P,null,{dir:!0,createFolders:G}),this.files[P]},k=function(P,G){var V=new v,q;return P._data instanceof v?(V.uncompressedSize=P._data.uncompressedSize,V.crc32=P._data.crc32,V.uncompressedSize===0||P.dir?(G=g.STORE,V.compressedContent="",V.crc32=0):P._data.compressionMethod===G.magic?V.compressedContent=P._data.getCompressedContent():(q=P._data.getContent(),V.compressedContent=G.compress(u.transformTo(G.compressInputType,q)))):(q=C(P),(!q||q.length===0||P.dir)&&(G=g.STORE,q=""),V.uncompressedSize=q.length,V.crc32=r(q),V.compressedContent=G.compress(u.transformTo(G.compressInputType,q))),V.compressedSize=V.compressedContent.length,V.compressionMethod=G.magic,V},K=function(P,G,V,q){var re=V.compressedContent,ce=u.transformTo("string",w.utf8encode(G.name)),ie=G.comment||"",fe=u.transformTo("string",w.utf8encode(ie)),xe=ce.length!==G.name.length,Se=fe.length!==ie.length,ke=G.options,ge,Be,ee="",ue="",Ge="",ae,Z;G._initialMetadata.dir!==G.dir?ae=G.dir:ae=ke.dir,G._initialMetadata.date!==G.date?Z=G.date:Z=ke.date,ge=Z.getHours(),ge=ge<<6,ge=ge|Z.getMinutes(),ge=ge<<5,ge=ge|Z.getSeconds()/2,Be=Z.getFullYear()-1980,Be=Be<<4,Be=Be|Z.getMonth()+1,Be=Be<<5,Be=Be|Z.getDate(),xe&&(ue=M(1,1)+M(r(ce),4)+ce,ee+="up"+M(ue.length,2)+ue),Se&&(Ge=M(1,1)+M(this.crc32(fe),4)+fe,ee+="uc"+M(Ge.length,2)+Ge);var Y="";Y+=` +\0`,Y+=xe||Se?"\0\b":"\0\0",Y+=V.compressionMethod,Y+=M(ge,2),Y+=M(Be,2),Y+=M(V.crc32,4),Y+=M(V.compressedSize,4),Y+=M(V.uncompressedSize,4),Y+=M(ce.length,2),Y+=M(ee.length,2);var te=o.LOCAL_FILE_HEADER+Y+ce+ee,we=o.CENTRAL_FILE_HEADER+"\0"+Y+M(fe.length,2)+"\0\0\0\0"+(ae===!0?"\0\0\0":"\0\0\0\0")+M(q,4)+ce+ee+fe;return{fileRecord:te,dirRecord:we,compressedObject:V}},z={load:function(P,G){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(P){var G=[],V,q,re,ce;for(V in this.files){if(!this.files.hasOwnProperty(V))continue;re=this.files[V],ce=new O(re.name,re._data,F(re.options)),q=V.slice(this.root.length,V.length),V.slice(0,this.root.length)===this.root&&P(q,ce)&&G.push(ce)}return G},file:function(P,G,V){if(arguments.length===1)if(u.isRegExp(P)){var q=P;return this.filter(function(re,ce){return!ce.dir&&q.test(re)})}else return this.filter(function(re,ce){return!ce.dir&&re===P})[0]||null;else P=this.root+P,B.call(this,P,G,V);return this},folder:function(P){if(!P)return this;if(u.isRegExp(P))return this.filter(function(re,ce){return ce.dir&&P.test(re)});var G=this.root+P,V=J.call(this,G),q=this.clone();return q.root=V.name,q},remove:function(P){P=this.root+P;var G=this.files[P];if(G||(P.slice(-1)!="/"&&(P+="/"),G=this.files[P]),G&&!G.dir)delete this.files[P];else for(var V=this.filter(function(re,ce){return ce.name.slice(0,P.length)===P}),q=0;q=0;--v)if(this.data[v]===o&&this.data[v+1]===h&&this.data[v+2]===p&&this.data[v+3]===g)return v;return-1},u.prototype.readData=function(r){if(this.checkOffset(r),r===0)return new Uint8Array(0);var o=this.data.subarray(this.index,this.index+r);return this.index+=r,o},s.exports=u},{"./dataReader":5}],19:[function(n,s,c){"use strict";var i=n("./utils"),u=function(o){this.data=new Uint8Array(o),this.index=0};u.prototype={append:function(o){o.length!==0&&(o=i.transformTo("uint8array",o),this.data.set(o,this.index),this.index+=o.length)},finalize:function(){return this.data}},s.exports=u},{"./utils":21}],20:[function(n,s,c){"use strict";for(var i=n("./utils"),u=n("./support"),r=n("./nodeBuffer"),o=new Array(256),h=0;h<256;h++)o[h]=h>=252?6:h>=248?5:h>=240?4:h>=224?3:h>=192?2:1;o[254]=o[254]=1;var p=function(w){var S,_,I,C,E,O=w.length,M=0;for(C=0;C>>6,S[E++]=128|_&63):_<65536?(S[E++]=224|_>>>12,S[E++]=128|_>>>6&63,S[E++]=128|_&63):(S[E++]=240|_>>>18,S[E++]=128|_>>>12&63,S[E++]=128|_>>>6&63,S[E++]=128|_&63);return S},g=function(w,S){var _;for(S=S||w.length,S>w.length&&(S=w.length),_=S-1;_>=0&&(w[_]&192)===128;)_--;return _<0||_===0?S:_+o[w[_]]>S?_:S},v=function(w){var S,_,I,C,E,O=w.length,M=new Array(O*2);for(I=0,_=0;_4){M[I++]=65533,_+=E-1;continue}for(C&=E===2?31:E===3?15:7;E>1&&_1){M[I++]=65533;continue}C<65536?M[I++]=C:(C-=65536,M[I++]=55296|C>>10&1023,M[I++]=56320|C&1023)}return M.length!==I&&(M.subarray?M=M.subarray(0,I):M.length=I),i.applyFromCharCode(M)};c.utf8encode=function(w){return u.nodebuffer?r(w,"utf-8"):p(w)},c.utf8decode=function(w){if(u.nodebuffer)return i.transformTo("nodebuffer",w).toString("utf-8");w=i.transformTo(u.uint8array?"uint8array":"array",w);for(var S=[],_=0,I=w.length,C=65536;_1;)try{I==="array"||I==="nodebuffer"?S.push(String.fromCharCode.apply(null,y.slice(C,Math.min(C+w,_)))):S.push(String.fromCharCode.apply(null,y.subarray(C,Math.min(C+w,_)))),C+=w}catch(F){w=Math.floor(w/2)}return S.join("")}c.applyFromCharCode=p;function g(y,w){for(var S=0;S1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var S,_;for(S=0;S0?H.windowBits=-H.windowBits:H.gzip&&H.windowBits>0&&H.windowBits<16&&(H.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new h,this.strm.avail_out=0;var B=i.deflateInit2(this.strm,H.level,H.method,H.windowBits,H.memLevel,H.strategy);if(B!==v)throw new Error(o[B]);H.header&&i.deflateSetHeader(this.strm,H.header)};I.prototype.push=function(M,F){var H=this.strm,B=this.options.chunkSize,X,J;if(this.ended)return!1;J=F===~~F?F:F===!0?g:p,typeof M=="string"?H.input=r.string2buf(M):H.input=M,H.next_in=0,H.avail_in=H.input.length;do{if(H.avail_out===0&&(H.output=new u.Buf8(B),H.next_out=0,H.avail_out=B),X=i.deflate(H,J),X!==y&&X!==v)return this.onEnd(X),this.ended=!0,!1;(H.avail_out===0||H.avail_in===0&&J===g)&&(this.options.to==="string"?this.onData(r.buf2binstring(u.shrinkBuf(H.output,H.next_out))):this.onData(u.shrinkBuf(H.output,H.next_out)))}while((H.avail_in>0||H.avail_out===0)&&X!==y);return J===g?(X=i.deflateEnd(this.strm),this.onEnd(X),this.ended=!0,X===v):!0},I.prototype.onData=function(M){this.chunks.push(M)},I.prototype.onEnd=function(M){M===v&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=u.flattenChunks(this.chunks)),this.chunks=[],this.err=M,this.msg=this.strm.msg};function C(M,F){var H=new I(F);if(H.push(M,!0),H.err)throw H.msg;return H.result}function E(M,F){return F=F||{},F.raw=!0,C(M,F)}function O(M,F){return F=F||{},F.gzip=!0,C(M,F)}c.Deflate=I,c.deflate=C,c.deflateRaw=E,c.gzip=O},{"./utils/common":27,"./utils/strings":28,"./zlib/deflate.js":32,"./zlib/messages":37,"./zlib/zstream":39}],26:[function(n,s,c){"use strict";var i=n("./zlib/inflate.js"),u=n("./utils/common"),r=n("./utils/strings"),o=n("./zlib/constants"),h=n("./zlib/messages"),p=n("./zlib/zstream"),g=n("./zlib/gzheader"),v=function(_){this.options=u.assign({chunkSize:16384,windowBits:0,to:""},_||{});var I=this.options;I.raw&&I.windowBits>=0&&I.windowBits<16&&(I.windowBits=-I.windowBits,I.windowBits===0&&(I.windowBits=-15)),I.windowBits>=0&&I.windowBits<16&&!(_&&_.windowBits)&&(I.windowBits+=32),I.windowBits>15&&I.windowBits<48&&((I.windowBits&15)===0&&(I.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new p,this.strm.avail_out=0;var C=i.inflateInit2(this.strm,I.windowBits);if(C!==o.Z_OK)throw new Error(h[C]);this.header=new g,i.inflateGetHeader(this.strm,this.header)};v.prototype.push=function(S,_){var I=this.strm,C=this.options.chunkSize,E,O,M,F,H;if(this.ended)return!1;O=_===~~_?_:_===!0?o.Z_FINISH:o.Z_NO_FLUSH,typeof S=="string"?I.input=r.binstring2buf(S):I.input=S,I.next_in=0,I.avail_in=I.input.length;do{if(I.avail_out===0&&(I.output=new u.Buf8(C),I.next_out=0,I.avail_out=C),E=i.inflate(I,o.Z_NO_FLUSH),E!==o.Z_STREAM_END&&E!==o.Z_OK)return this.onEnd(E),this.ended=!0,!1;I.next_out&&((I.avail_out===0||E===o.Z_STREAM_END||I.avail_in===0&&O===o.Z_FINISH)&&(this.options.to==="string"?(M=r.utf8border(I.output,I.next_out),F=I.next_out-M,H=r.buf2string(I.output,M),I.next_out=F,I.avail_out=C-F,F&&u.arraySet(I.output,I.output,M,F,0),this.onData(H)):this.onData(u.shrinkBuf(I.output,I.next_out))))}while(I.avail_in>0&&E!==o.Z_STREAM_END);return E===o.Z_STREAM_END&&(O=o.Z_FINISH),O===o.Z_FINISH?(E=i.inflateEnd(this.strm),this.onEnd(E),this.ended=!0,E===o.Z_OK):!0},v.prototype.onData=function(S){this.chunks.push(S)},v.prototype.onEnd=function(S){S===o.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=u.flattenChunks(this.chunks)),this.chunks=[],this.err=S,this.msg=this.strm.msg};function y(S,_){var I=new v(_);if(I.push(S,!0),I.err)throw I.msg;return I.result}function w(S,_){return _=_||{},_.raw=!0,y(S,_)}c.Inflate=v,c.inflate=y,c.inflateRaw=w,c.ungzip=y},{"./utils/common":27,"./utils/strings":28,"./zlib/constants":30,"./zlib/gzheader":33,"./zlib/inflate.js":35,"./zlib/messages":37,"./zlib/zstream":39}],27:[function(n,s,c){"use strict";var i=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";c.assign=function(o){for(var h=Array.prototype.slice.call(arguments,1);h.length;){var p=h.shift();if(!p)continue;if(typeof p!="object")throw new TypeError(p+"must be non-object");for(var g in p)p.hasOwnProperty(g)&&(o[g]=p[g])}return o},c.shrinkBuf=function(o,h){return o.length===h?o:o.subarray?o.subarray(0,h):(o.length=h,o)};var u={arraySet:function(h,p,g,v,y){if(p.subarray&&h.subarray){h.set(p.subarray(g,g+v),y);return}for(var w=0;w=252?6:h>=248?5:h>=240?4:h>=224?3:h>=192?2:1;o[254]=o[254]=1,c.string2buf=function(g){var v,y,w,S,_,I=g.length,C=0;for(S=0;S>>6,v[_++]=128|y&63):y<65536?(v[_++]=224|y>>>12,v[_++]=128|y>>>6&63,v[_++]=128|y&63):(v[_++]=240|y>>>18,v[_++]=128|y>>>12&63,v[_++]=128|y>>>6&63,v[_++]=128|y&63);return v};function p(g,v){if(v<65537&&(g.subarray&&r||!g.subarray&&u))return String.fromCharCode.apply(null,i.shrinkBuf(g,v));for(var y="",w=0;w4){C[w++]=65533,y+=_-1;continue}for(S&=_===2?31:_===3?15:7;_>1&&y1){C[w++]=65533;continue}S<65536?C[w++]=S:(S-=65536,C[w++]=55296|S>>10&1023,C[w++]=56320|S&1023)}return p(C,w)},c.utf8border=function(g,v){var y;for(v=v||g.length,v>g.length&&(v=g.length),y=v-1;y>=0&&(g[y]&192)===128;)y--;return y<0||y===0?v:y+o[g[y]]>v?y:v}},{"./common":27}],29:[function(n,s,c){"use strict";function i(u,r,o,h){for(var p=u&65535|0,g=u>>>16&65535|0,v=0;o!==0;){v=o>2e3?2e3:o,o-=v;do p=p+r[h++]|0,g=g+p|0;while(--v);p%=65521,g%=65521}return p|g<<16|0}s.exports=i},{}],30:[function(n,s,c){s.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],31:[function(n,s,c){"use strict";function i(){for(var o,h=[],p=0;p<256;p++){o=p;for(var g=0;g<8;g++)o=o&1?3988292384^o>>>1:o>>>1;h[p]=o}return h}var u=i();function r(o,h,p,g){var v=u,y=g+p;o=o^-1;for(var w=g;w>>8^v[(o^h[w])&255];return o^-1}s.exports=r},{}],32:[function(n,s,c){"use strict";var i=n("../utils/common"),u=n("./trees"),r=n("./adler32"),o=n("./crc32"),h=n("./messages"),p=0,g=1,v=3,y=4,w=5,S=0,_=1,I=-2,C=-3,E=-5,O=-1,M=1,F=2,H=3,B=4,X=0,J=2,k=8,K=9,z=15,W=8,P=29,G=256,V=G+1+P,q=30,re=19,ce=2*V+1,ie=15,fe=3,xe=258,Se=xe+fe+1,ke=32,ge=42,Be=69,ee=73,ue=91,Ge=103,ae=113,Z=666,Y=1,te=2,we=3,pe=4,De=3;function Ne(at,Ht){return at.msg=h[Ht],Ht}function me(at){return(at<<1)-(at>4?9:0)}function be(at){for(var Ht=at.length;--Ht>=0;)at[Ht]=0}function Re(at){var Ht=at.state,Wt=Ht.pending;if(Wt>at.avail_out&&(Wt=at.avail_out),Wt===0)return;i.arraySet(at.output,Ht.pending_buf,Ht.pending_out,Wt,at.next_out),at.next_out+=Wt,Ht.pending_out+=Wt,at.total_out+=Wt,at.avail_out-=Wt,Ht.pending-=Wt,Ht.pending===0&&(Ht.pending_out=0)}function it(at,Ht){u._tr_flush_block(at,at.block_start>=0?at.block_start:-1,at.strstart-at.block_start,Ht),at.block_start=at.strstart,Re(at.strm)}function yt(at,Ht){at.pending_buf[at.pending++]=Ht}function pt(at,Ht){at.pending_buf[at.pending++]=Ht>>>8&255,at.pending_buf[at.pending++]=Ht&255}function Pe(at,Ht,Wt,ot){var et=at.avail_in;return et>ot&&(et=ot),et===0?0:(at.avail_in-=et,i.arraySet(Ht,at.input,at.next_in,et,Wt),at.state.wrap===1?at.adler=r(at.adler,Ht,et,Wt):at.state.wrap===2&&(at.adler=o(at.adler,Ht,et,Wt)),at.next_in+=et,at.total_in+=et,et)}function Nt(at,Ht){var Wt=at.max_chain_length,ot=at.strstart,et,Ze,Gt=at.prev_length,yr=at.nice_match,br=at.strstart>at.w_size-Se?at.strstart-(at.w_size-Se):0,Sr=at.window,Tn=at.w_mask,cn=at.prev,Wn=at.strstart+xe,lt=Sr[ot+Gt-1],mt=Sr[ot+Gt];at.prev_length>=at.good_match&&(Wt>>=2),yr>at.lookahead&&(yr=at.lookahead);do{if(et=Ht,Sr[et+Gt]!==mt||Sr[et+Gt-1]!==lt||Sr[et]!==Sr[ot]||Sr[++et]!==Sr[ot+1])continue;ot+=2,et++;do;while(Sr[++ot]===Sr[++et]&&Sr[++ot]===Sr[++et]&&Sr[++ot]===Sr[++et]&&Sr[++ot]===Sr[++et]&&Sr[++ot]===Sr[++et]&&Sr[++ot]===Sr[++et]&&Sr[++ot]===Sr[++et]&&Sr[++ot]===Sr[++et]&&otGt){if(at.match_start=Ht,Gt=Ze,Ze>=yr)break;lt=Sr[ot+Gt-1],mt=Sr[ot+Gt]}}while((Ht=cn[Ht&Tn])>br&&--Wt!==0);return Gt<=at.lookahead?Gt:at.lookahead}function ut(at){var Ht=at.w_size,Wt,ot,et,Ze,Gt;do{if(Ze=at.window_size-at.lookahead-at.strstart,at.strstart>=Ht+(Ht-Se)){i.arraySet(at.window,at.window,Ht,Ht,0),at.match_start-=Ht,at.strstart-=Ht,at.block_start-=Ht,ot=at.hash_size,Wt=ot;do et=at.head[--Wt],at.head[Wt]=et>=Ht?et-Ht:0;while(--ot);ot=Ht,Wt=ot;do et=at.prev[--Wt],at.prev[Wt]=et>=Ht?et-Ht:0;while(--ot);Ze+=Ht}if(at.strm.avail_in===0)break;if(ot=Pe(at.strm,at.window,at.strstart+at.lookahead,Ze),at.lookahead+=ot,at.lookahead+at.insert>=fe)for(Gt=at.strstart-at.insert,at.ins_h=at.window[Gt],at.ins_h=(at.ins_h<at.pending_buf_size-5&&(Wt=at.pending_buf_size-5);;){if(at.lookahead<=1){if(ut(at),at.lookahead===0&&Ht===p)return Y;if(at.lookahead===0)break}at.strstart+=at.lookahead,at.lookahead=0;var ot=at.block_start+Wt;if((at.strstart===0||at.strstart>=ot)&&(at.lookahead=at.strstart-ot,at.strstart=ot,it(at,!1),at.strm.avail_out===0))return Y;if(at.strstart-at.block_start>=at.w_size-Se&&(it(at,!1),at.strm.avail_out===0))return Y}return at.insert=0,Ht===y?(it(at,!0),at.strm.avail_out===0?we:pe):(at.strstart>at.block_start&&(it(at,!1),at.strm.avail_out===0),Y)}function Ut(at,Ht){for(var Wt,ot;;){if(at.lookahead=fe&&(at.ins_h=(at.ins_h<=fe)if(ot=u._tr_tally(at,at.strstart-at.match_start,at.match_length-fe),at.lookahead-=at.match_length,at.match_length<=at.max_lazy_match&&at.lookahead>=fe){at.match_length--;do at.strstart++,at.ins_h=(at.ins_h<=fe&&(at.ins_h=(at.ins_h<4096)&&(at.match_length=fe-1)),at.prev_length>=fe&&at.match_length<=at.prev_length){et=at.strstart+at.lookahead-fe,ot=u._tr_tally(at,at.strstart-1-at.prev_match,at.prev_length-fe),at.lookahead-=at.prev_length-1,at.prev_length-=2;do++at.strstart<=et&&(at.ins_h=(at.ins_h<=fe&&at.strstart>0&&(et=at.strstart-1,ot=Gt[et],ot===Gt[++et]&&ot===Gt[++et]&&ot===Gt[++et])){Ze=at.strstart+xe;do;while(ot===Gt[++et]&&ot===Gt[++et]&&ot===Gt[++et]&&ot===Gt[++et]&&ot===Gt[++et]&&ot===Gt[++et]&&ot===Gt[++et]&&ot===Gt[++et]&&etat.lookahead&&(at.match_length=at.lookahead)}if(at.match_length>=fe?(Wt=u._tr_tally(at,1,at.match_length-fe),at.lookahead-=at.match_length,at.strstart+=at.match_length,at.match_length=0):(Wt=u._tr_tally(at,0,at.window[at.strstart]),at.lookahead--,at.strstart++),Wt&&(it(at,!1),at.strm.avail_out===0))return Y}return at.insert=0,Ht===y?(it(at,!0),at.strm.avail_out===0?we:pe):at.last_lit&&(it(at,!1),at.strm.avail_out===0)?Y:te}function or(at,Ht){for(var Wt;;){if(at.lookahead===0&&(ut(at),at.lookahead===0)){if(Ht===p)return Y;break}if(at.match_length=0,Wt=u._tr_tally(at,0,at.window[at.strstart]),at.lookahead--,at.strstart++,Wt&&(it(at,!1),at.strm.avail_out===0))return Y}return at.insert=0,Ht===y?(it(at,!0),at.strm.avail_out===0?we:pe):at.last_lit&&(it(at,!1),at.strm.avail_out===0)?Y:te}var ht=function(Ht,Wt,ot,et,Ze){this.good_length=Ht,this.max_lazy=Wt,this.nice_length=ot,this.max_chain=et,this.func=Ze},Ee;Ee=[new ht(0,0,0,0,Ft),new ht(4,4,8,4,Ut),new ht(4,5,16,8,Ut),new ht(4,6,32,32,Ut),new ht(4,4,16,16,Kt),new ht(8,16,32,32,Kt),new ht(8,16,128,128,Kt),new ht(8,32,128,256,Kt),new ht(32,128,258,1024,Kt),new ht(32,258,258,4096,Kt)];function de(at){at.window_size=2*at.w_size,be(at.head),at.max_lazy_match=Ee[at.level].max_lazy,at.good_match=Ee[at.level].good_length,at.nice_match=Ee[at.level].nice_length,at.max_chain_length=Ee[at.level].max_chain,at.strstart=0,at.block_start=0,at.lookahead=0,at.insert=0,at.match_length=at.prev_length=fe-1,at.match_available=0,at.ins_h=0}function qe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=k,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(ce*2),this.dyn_dtree=new i.Buf16((2*q+1)*2),this.bl_tree=new i.Buf16((2*re+1)*2),be(this.dyn_ltree),be(this.dyn_dtree),be(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(ie+1),this.heap=new i.Buf16(2*V+1),be(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*V+1),be(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function rt(at){var Ht;return!at||!at.state?Ne(at,I):(at.total_in=at.total_out=0,at.data_type=J,Ht=at.state,Ht.pending=0,Ht.pending_out=0,Ht.wrap<0&&(Ht.wrap=-Ht.wrap),Ht.status=Ht.wrap?ge:ae,at.adler=Ht.wrap===2?0:1,Ht.last_flush=p,u._tr_init(Ht),S)}function ve(at){var Ht=rt(at);return Ht===S&&de(at.state),Ht}function bt(at,Ht){return!at||!at.state||at.state.wrap!==2?I:(at.state.gzhead=Ht,S)}function jt(at,Ht,Wt,ot,et,Ze){if(!at)return I;var Gt=1;if(Ht===O&&(Ht=6),ot<0?(Gt=0,ot=-ot):ot>15&&(Gt=2,ot-=16),et<1||et>K||Wt!==k||ot<8||ot>15||Ht<0||Ht>9||Ze<0||Ze>B)return Ne(at,I);ot===8&&(ot=9);var yr=new qe;return at.state=yr,yr.strm=at,yr.wrap=Gt,yr.gzhead=null,yr.w_bits=ot,yr.w_size=1<>1,yr.l_buf=(1+2)*yr.lit_bufsize,yr.level=Ht,yr.strategy=Ze,yr.method=Wt,ve(at)}function He(at,Ht){return jt(at,Ht,k,z,W,X)}function kt(at,Ht){var Wt,ot,et,Ze;if(!at||!at.state||Ht>w||Ht<0)return at?Ne(at,I):I;if(ot=at.state,!at.output||!at.input&&at.avail_in!==0||ot.status===Z&&Ht!==y)return Ne(at,at.avail_out===0?E:I);if(ot.strm=at,Wt=ot.last_flush,ot.last_flush=Ht,ot.status===ge)if(ot.wrap===2)at.adler=0,yt(ot,31),yt(ot,139),yt(ot,8),ot.gzhead?(yt(ot,(ot.gzhead.text?1:0)+(ot.gzhead.hcrc?2:0)+(ot.gzhead.extra?4:0)+(ot.gzhead.name?8:0)+(ot.gzhead.comment?16:0)),yt(ot,ot.gzhead.time&255),yt(ot,ot.gzhead.time>>8&255),yt(ot,ot.gzhead.time>>16&255),yt(ot,ot.gzhead.time>>24&255),yt(ot,ot.level===9?2:ot.strategy>=F||ot.level<2?4:0),yt(ot,ot.gzhead.os&255),ot.gzhead.extra&&ot.gzhead.extra.length&&(yt(ot,ot.gzhead.extra.length&255),yt(ot,ot.gzhead.extra.length>>8&255)),ot.gzhead.hcrc&&(at.adler=o(at.adler,ot.pending_buf,ot.pending,0)),ot.gzindex=0,ot.status=Be):(yt(ot,0),yt(ot,0),yt(ot,0),yt(ot,0),yt(ot,0),yt(ot,ot.level===9?2:ot.strategy>=F||ot.level<2?4:0),yt(ot,De),ot.status=ae);else{var Gt=k+(ot.w_bits-8<<4)<<8,yr=-1;ot.strategy>=F||ot.level<2?yr=0:ot.level<6?yr=1:ot.level===6?yr=2:yr=3,Gt|=yr<<6,ot.strstart!==0&&(Gt|=ke),Gt+=31-Gt%31,ot.status=ae,pt(ot,Gt),ot.strstart!==0&&(pt(ot,at.adler>>>16),pt(ot,at.adler&65535)),at.adler=1}if(ot.status===Be)if(ot.gzhead.extra){for(et=ot.pending;ot.gzindex<(ot.gzhead.extra.length&65535)&&!(ot.pending===ot.pending_buf_size&&(ot.gzhead.hcrc&&ot.pending>et&&(at.adler=o(at.adler,ot.pending_buf,ot.pending-et,et)),Re(at),et=ot.pending,ot.pending===ot.pending_buf_size));)yt(ot,ot.gzhead.extra[ot.gzindex]&255),ot.gzindex++;ot.gzhead.hcrc&&ot.pending>et&&(at.adler=o(at.adler,ot.pending_buf,ot.pending-et,et)),ot.gzindex===ot.gzhead.extra.length&&(ot.gzindex=0,ot.status=ee)}else ot.status=ee;if(ot.status===ee)if(ot.gzhead.name){et=ot.pending;do{if(ot.pending===ot.pending_buf_size&&(ot.gzhead.hcrc&&ot.pending>et&&(at.adler=o(at.adler,ot.pending_buf,ot.pending-et,et)),Re(at),et=ot.pending,ot.pending===ot.pending_buf_size)){Ze=1;break}ot.gzindexet&&(at.adler=o(at.adler,ot.pending_buf,ot.pending-et,et)),Ze===0&&(ot.gzindex=0,ot.status=ue)}else ot.status=ue;if(ot.status===ue)if(ot.gzhead.comment){et=ot.pending;do{if(ot.pending===ot.pending_buf_size&&(ot.gzhead.hcrc&&ot.pending>et&&(at.adler=o(at.adler,ot.pending_buf,ot.pending-et,et)),Re(at),et=ot.pending,ot.pending===ot.pending_buf_size)){Ze=1;break}ot.gzindexet&&(at.adler=o(at.adler,ot.pending_buf,ot.pending-et,et)),Ze===0&&(ot.status=Ge)}else ot.status=Ge;if(ot.status===Ge&&(ot.gzhead.hcrc?(ot.pending+2>ot.pending_buf_size&&Re(at),ot.pending+2<=ot.pending_buf_size&&(yt(ot,at.adler&255),yt(ot,at.adler>>8&255),at.adler=0,ot.status=ae)):ot.status=ae),ot.pending!==0){if(Re(at),at.avail_out===0)return ot.last_flush=-1,S}else if(at.avail_in===0&&me(Ht)<=me(Wt)&&Ht!==y)return Ne(at,E);if(ot.status===Z&&at.avail_in!==0)return Ne(at,E);if(at.avail_in!==0||ot.lookahead!==0||Ht!==p&&ot.status!==Z){var br=ot.strategy===F?or(ot,Ht):ot.strategy===H?$t(ot,Ht):Ee[ot.level].func(ot,Ht);if((br===we||br===pe)&&(ot.status=Z),br===Y||br===we)return at.avail_out===0&&(ot.last_flush=-1),S;if(br===te&&(Ht===g?u._tr_align(ot):Ht!==w&&(u._tr_stored_block(ot,0,0,!1),Ht===v&&(be(ot.head),ot.lookahead===0&&(ot.strstart=0,ot.block_start=0,ot.insert=0))),Re(at),at.avail_out===0))return ot.last_flush=-1,S}return Ht!==y?S:ot.wrap<=0?_:(ot.wrap===2?(yt(ot,at.adler&255),yt(ot,at.adler>>8&255),yt(ot,at.adler>>16&255),yt(ot,at.adler>>24&255),yt(ot,at.total_in&255),yt(ot,at.total_in>>8&255),yt(ot,at.total_in>>16&255),yt(ot,at.total_in>>24&255)):(pt(ot,at.adler>>>16),pt(ot,at.adler&65535)),Re(at),ot.wrap>0&&(ot.wrap=-ot.wrap),ot.pending!==0?S:_)}function Ar(at){var Ht;return!at||!at.state?I:(Ht=at.state.status,Ht!==ge&&Ht!==Be&&Ht!==ee&&Ht!==ue&&Ht!==Ge&&Ht!==ae&&Ht!==Z?Ne(at,I):(at.state=null,Ht===ae?Ne(at,C):S))}c.deflateInit=He,c.deflateInit2=jt,c.deflateReset=ve,c.deflateResetKeep=rt,c.deflateSetHeader=bt,c.deflate=kt,c.deflateEnd=Ar,c.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./messages":37,"./trees":38}],33:[function(n,s,c){"use strict";function i(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}s.exports=i},{}],34:[function(n,s,c){"use strict";var i=30,u=12;s.exports=function(o,h){var p,g,v,y,w,S,_,I,C,E,O,M,F,H,B,X,J,k,K,z,W,P,G,V,q;p=o.state,g=o.next_in,V=o.input,v=g+(o.avail_in-5),y=o.next_out,q=o.output,w=y-(h-o.avail_out),S=y+(o.avail_out-257),_=p.dmax,I=p.wsize,C=p.whave,E=p.wnext,O=p.window,M=p.hold,F=p.bits,H=p.lencode,B=p.distcode,X=(1<>>24,M>>>=K,F-=K,K=k>>>16&255,K===0)q[y++]=k&65535;else if(K&16){z=k&65535,K&=15,K&&(F>>=K,F-=K),F<15&&(M+=V[g++]<>>24,M>>>=K,F-=K,K=k>>>16&255,K&16){if(W=k&65535,K&=15,F_){o.msg="invalid distance too far back",p.mode=i;break e}if(M>>>=K,F-=K,K=y-w,W>K){if(K=W-K,K>C&&p.sane){o.msg="invalid distance too far back",p.mode=i;break e}if(P=0,G=O,E===0){if(P+=I-K,K2;)q[y++]=G[P++],q[y++]=G[P++],q[y++]=G[P++],z-=3;z&&(q[y++]=G[P++],z>1&&(q[y++]=G[P++]))}else{P=y-W;do q[y++]=q[P++],q[y++]=q[P++],q[y++]=q[P++],z-=3;while(z>2);z&&(q[y++]=q[P++],z>1&&(q[y++]=q[P++]))}}else if((K&64)===0){k=B[(k&65535)+(M&(1<>3,g-=z,F-=z<<3,M&=(1<>>24&255)+(bt>>>8&65280)+((bt&65280)<<8)+((bt&255)<<24)}function Pe(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Nt(bt){var jt;return!bt||!bt.state?E:(jt=bt.state,bt.total_in=bt.total_out=jt.total=0,bt.msg="",jt.wrap&&(bt.adler=jt.wrap&1),jt.mode=B,jt.last=0,jt.havedict=0,jt.dmax=32768,jt.head=null,jt.hold=0,jt.bits=0,jt.lencode=jt.lendyn=new i.Buf32(be),jt.distcode=jt.distdyn=new i.Buf32(Re),jt.sane=1,jt.back=-1,_)}function ut(bt){var jt;return!bt||!bt.state?E:(jt=bt.state,jt.wsize=0,jt.whave=0,jt.wnext=0,Nt(bt))}function Ft(bt,jt){var He,kt;return!bt||!bt.state?E:(kt=bt.state,jt<0?(He=0,jt=-jt):(He=(jt>>4)+1,jt<48&&(jt&=15)),jt&&(jt<8||jt>15)?E:(kt.window!==null&&kt.wbits!==jt&&(kt.window=null),kt.wrap=He,kt.wbits=jt,ut(bt)))}function Ut(bt,jt){var He,kt;return bt?(kt=new Pe,bt.state=kt,kt.window=null,He=Ft(bt,jt),He!==_&&(bt.state=null),He):E}function Kt(bt){return Ut(bt,yt)}var $t=!0,or,ht;function Ee(bt){if($t){var jt;for(or=new i.Buf32(512),ht=new i.Buf32(32),jt=0;jt<144;)bt.lens[jt++]=8;for(;jt<256;)bt.lens[jt++]=9;for(;jt<280;)bt.lens[jt++]=7;for(;jt<288;)bt.lens[jt++]=8;for(h(g,bt.lens,0,288,or,0,bt.work,{bits:9}),jt=0;jt<32;)bt.lens[jt++]=5;h(v,bt.lens,0,32,ht,0,bt.work,{bits:5}),$t=!1}bt.lencode=or,bt.lenbits=9,bt.distcode=ht,bt.distbits=5}function de(bt,jt,He,kt){var Ar,at=bt.state;return at.window===null&&(at.wsize=1<=at.wsize?(i.arraySet(at.window,jt,He-at.wsize,at.wsize,0),at.wnext=0,at.whave=at.wsize):(Ar=at.wsize-at.wnext,Ar>kt&&(Ar=kt),i.arraySet(at.window,jt,He-kt,Ar,at.wnext),kt-=Ar,kt?(i.arraySet(at.window,jt,He-kt,kt,0),at.wnext=kt,at.whave=at.wsize):(at.wnext+=Ar,at.wnext===at.wsize&&(at.wnext=0),at.whave>>8&255,He.check=r(He.check,Xt,2,0),et=0,Ze=0,He.mode=X;break}if(He.flags=0,He.head&&(He.head.done=!1),!(He.wrap&1)||(((et&255)<<8)+(et>>8))%31){bt.msg="incorrect header check",He.mode=De;break}if((et&15)!==H){bt.msg="unknown compression method",He.mode=De;break}if(et>>>=4,Ze-=4,gt=(et&15)+8,He.wbits===0)He.wbits=gt;else if(gt>He.wbits){bt.msg="invalid window size",He.mode=De;break}He.dmax=1<>8&1),He.flags&512&&(Xt[0]=et&255,Xt[1]=et>>>8&255,He.check=r(He.check,Xt,2,0)),et=0,Ze=0,He.mode=J;case J:for(;Ze<32;){if(Wt===0)break e;Wt--,et+=kt[at++]<>>8&255,Xt[2]=et>>>16&255,Xt[3]=et>>>24&255,He.check=r(He.check,Xt,4,0)),et=0,Ze=0,He.mode=k;case k:for(;Ze<16;){if(Wt===0)break e;Wt--,et+=kt[at++]<>8),He.flags&512&&(Xt[0]=et&255,Xt[1]=et>>>8&255,He.check=r(He.check,Xt,2,0)),et=0,Ze=0,He.mode=K;case K:if(He.flags&1024){for(;Ze<16;){if(Wt===0)break e;Wt--,et+=kt[at++]<>>8&255,He.check=r(He.check,Xt,2,0)),et=0,Ze=0}else He.head&&(He.head.extra=null);He.mode=z;case z:if(He.flags&1024&&(br=He.length,br>Wt&&(br=Wt),br&&(He.head&&(gt=He.head.extra_len-He.length,He.head.extra||(He.head.extra=new Array(He.head.extra_len)),i.arraySet(He.head.extra,kt,at,br,gt)),He.flags&512&&(He.check=r(He.check,kt,br,at)),Wt-=br,at+=br,He.length-=br),He.length))break e;He.length=0,He.mode=W;case W:if(He.flags&2048){if(Wt===0)break e;br=0;do gt=kt[at+br++],He.head&>&&He.length<65536&&(He.head.name+=String.fromCharCode(gt));while(gt&&br>9&1,He.head.done=!0),bt.adler=He.check=0,He.mode=re;break;case V:for(;Ze<32;){if(Wt===0)break e;Wt--,et+=kt[at++]<>>=Ze&7,Ze-=Ze&7,He.mode=te;break}for(;Ze<3;){if(Wt===0)break e;Wt--,et+=kt[at++]<>>=1,Ze-=1;switch(et&3){case 0:He.mode=ie;break;case 1:if(Ee(He),He.mode=Be,jt===S){et>>>=2,Ze-=2;break e}break;case 2:He.mode=Se;break;case 3:bt.msg="invalid block type",He.mode=De}et>>>=2,Ze-=2;break;case ie:for(et>>>=Ze&7,Ze-=Ze&7;Ze<32;){if(Wt===0)break e;Wt--,et+=kt[at++]<>>16^65535)){bt.msg="invalid stored block lengths",He.mode=De;break}if(He.length=et&65535,et=0,Ze=0,He.mode=fe,jt===S)break e;case fe:He.mode=xe;case xe:if(br=He.length,br){if(br>Wt&&(br=Wt),br>ot&&(br=ot),br===0)break e;i.arraySet(Ar,kt,at,br,Ht),Wt-=br,at+=br,ot-=br,Ht+=br,He.length-=br;break}He.mode=re;break;case Se:for(;Ze<14;){if(Wt===0)break e;Wt--,et+=kt[at++]<>>=5,Ze-=5,He.ndist=(et&31)+1,et>>>=5,Ze-=5,He.ncode=(et&15)+4,et>>>=4,Ze-=4,He.nlen>286||He.ndist>30){bt.msg="too many length or distance symbols",He.mode=De;break}He.have=0,He.mode=ke;case ke:for(;He.have>>=3,Ze-=3}for(;He.have<19;)He.lens[en[He.have++]]=0;if(He.lencode=He.lendyn,He.lenbits=7,er={bits:He.lenbits},ir=h(p,He.lens,0,19,He.lencode,0,He.work,er),He.lenbits=er.bits,ir){bt.msg="invalid code lengths set",He.mode=De;break}He.have=0,He.mode=ge;case ge:for(;He.have>>24,lt=cn>>>16&255,mt=cn&65535,Wn<=Ze);){if(Wt===0)break e;Wt--,et+=kt[at++]<>>=Wn,Ze-=Wn,He.lens[He.have++]=mt;else{if(mt===16){for(Kr=Wn+2;Ze>>=Wn,Ze-=Wn,He.have===0){bt.msg="invalid bit length repeat",He.mode=De;break}gt=He.lens[He.have-1],br=3+(et&3),et>>>=2,Ze-=2}else if(mt===17){for(Kr=Wn+3;Ze>>=Wn,Ze-=Wn,gt=0,br=3+(et&7),et>>>=3,Ze-=3}else{for(Kr=Wn+7;Ze>>=Wn,Ze-=Wn,gt=0,br=11+(et&127),et>>>=7,Ze-=7}if(He.have+br>He.nlen+He.ndist){bt.msg="invalid bit length repeat",He.mode=De;break}for(;br--;)He.lens[He.have++]=gt}}if(He.mode===De)break;if(He.lens[256]===0){bt.msg="invalid code -- missing end-of-block",He.mode=De;break}if(He.lenbits=9,er={bits:He.lenbits},ir=h(g,He.lens,0,He.nlen,He.lencode,0,He.work,er),He.lenbits=er.bits,ir){bt.msg="invalid literal/lengths set",He.mode=De;break}if(He.distbits=6,He.distcode=He.distdyn,er={bits:He.distbits},ir=h(v,He.lens,He.nlen,He.ndist,He.distcode,0,He.work,er),He.distbits=er.bits,ir){bt.msg="invalid distances set",He.mode=De;break}if(He.mode=Be,jt===S)break e;case Be:He.mode=ee;case ee:if(Wt>=6&&ot>=258){bt.next_out=Ht,bt.avail_out=ot,bt.next_in=at,bt.avail_in=Wt,He.hold=et,He.bits=Ze,o(bt,yr),Ht=bt.next_out,Ar=bt.output,ot=bt.avail_out,at=bt.next_in,kt=bt.input,Wt=bt.avail_in,et=He.hold,Ze=He.bits,He.mode===re&&(He.back=-1);break}for(He.back=0;!(cn=He.lencode[et&(1<>>24,lt=cn>>>16&255,mt=cn&65535,Wn<=Ze);){if(Wt===0)break e;Wt--,et+=kt[at++]<>Le)],Wn=cn>>>24,lt=cn>>>16&255,mt=cn&65535,Le+Wn<=Ze);){if(Wt===0)break e;Wt--,et+=kt[at++]<>>=Le,Ze-=Le,He.back+=Le}if(et>>>=Wn,Ze-=Wn,He.back+=Wn,He.length=mt,lt===0){He.mode=Y;break}if(lt&32){He.back=-1,He.mode=re;break}if(lt&64){bt.msg="invalid literal/length code",He.mode=De;break}He.extra=lt&15,He.mode=ue;case ue:if(He.extra){for(Kr=He.extra;Ze>>=He.extra,Ze-=He.extra,He.back+=He.extra}He.was=He.length,He.mode=Ge;case Ge:for(;!(cn=He.distcode[et&(1<>>24,lt=cn>>>16&255,mt=cn&65535,Wn<=Ze);){if(Wt===0)break e;Wt--,et+=kt[at++]<>Le)],Wn=cn>>>24,lt=cn>>>16&255,mt=cn&65535,Le+Wn<=Ze);){if(Wt===0)break e;Wt--,et+=kt[at++]<>>=Le,Ze-=Le,He.back+=Le}if(et>>>=Wn,Ze-=Wn,He.back+=Wn,lt&64){bt.msg="invalid distance code",He.mode=De;break}He.offset=mt,He.extra=lt&15,He.mode=ae;case ae:if(He.extra){for(Kr=He.extra;Ze>>=He.extra,Ze-=He.extra,He.back+=He.extra}if(He.offset>He.dmax){bt.msg="invalid distance too far back",He.mode=De;break}He.mode=Z;case Z:if(ot===0)break e;if(br=yr-ot,He.offset>br){if(br=He.offset-br,br>He.whave&&He.sane){bt.msg="invalid distance too far back",He.mode=De;break}br>He.wnext?(br-=He.wnext,Sr=He.wsize-br):Sr=He.wnext-br,br>He.length&&(br=He.length),Tn=He.window}else Tn=Ar,Sr=Ht-He.offset,br=He.length;br>ot&&(br=ot),ot-=br,He.length-=br;do Ar[Ht++]=Tn[Sr++];while(--br);He.length===0&&(He.mode=ee);break;case Y:if(ot===0)break e;Ar[Ht++]=He.length,ot--,He.mode=ee;break;case te:if(He.wrap){for(;Ze<32;){if(Wt===0)break e;Wt--,et|=kt[at++]<=1&&!(ee[z]!==0);z--);if(W>z&&(W=z),z===0)return M[F++]=1<<24|64<<16|0,M[F++]=1<<24|64<<16|0,B.bits=1,0;for(K=1;K0&&(I===h||z!==1))return-1;for(ue[1]=0,J=1;Jr||I===g&&q>o)return 1;for(var we=0;;){we++,Z=J-G,H[k]Be?(Y=Ge[ae+H[k]],te=ke[ge+H[k]]):(Y=32+64,te=0),ce=1<>G)+ie]=Z<<24|Y<<16|te|0;while(ie!==0);for(ce=1<>=1;if(ce!==0?(re&=ce-1,re+=ce):re=0,k++,--ee[J]===0){if(J===z)break;J=C[E+H[k]]}if(J>W&&(re&xe)!==fe){for(G===0&&(G=W),Se+=K,P=J-G,V=1<r||I===g&&q>o)return 1;fe=re&xe,M[fe]=W<<24|P<<16|Se-F|0}}return re!==0&&(M[Se+re]=J-G<<24|64<<16|0),B.bits=W,0}},{"../utils/common":27}],37:[function(n,s,c){"use strict";s.exports={"2":"need dictionary","1":"stream end","0":"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],38:[function(n,s,c){"use strict";var i=n("../utils/common"),u=4,r=0,o=1,h=2;function p(qe){for(var rt=qe.length;--rt>=0;)qe[rt]=0}var g=0,v=1,y=2,w=3,S=258,_=29,I=256,C=I+1+_,E=30,O=19,M=2*C+1,F=15,H=16,B=7,X=256,J=16,k=17,K=18,z=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],W=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],P=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],G=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],V=512,q=new Array((C+2)*2);p(q);var re=new Array(E*2);p(re);var ce=new Array(V);p(ce);var ie=new Array(S-w+1);p(ie);var fe=new Array(_);p(fe);var xe=new Array(E);p(xe);var Se=function(rt,ve,bt,jt,He){this.static_tree=rt,this.extra_bits=ve,this.extra_base=bt,this.elems=jt,this.max_length=He,this.has_stree=rt&&rt.length},ke,ge,Be,ee=function(rt,ve){this.dyn_tree=rt,this.max_code=0,this.stat_desc=ve};function ue(qe){return qe<256?ce[qe]:ce[256+(qe>>>7)]}function Ge(qe,rt){qe.pending_buf[qe.pending++]=rt&255,qe.pending_buf[qe.pending++]=rt>>>8&255}function ae(qe,rt,ve){qe.bi_valid>H-ve?(qe.bi_buf|=rt<>H-qe.bi_valid,qe.bi_valid+=ve-H):(qe.bi_buf|=rt<>>=1,ve<<=1;while(--rt>0);return ve>>>1}function te(qe){qe.bi_valid===16?(Ge(qe,qe.bi_buf),qe.bi_buf=0,qe.bi_valid=0):qe.bi_valid>=8&&(qe.pending_buf[qe.pending++]=qe.bi_buf&255,qe.bi_buf>>=8,qe.bi_valid-=8)}function we(qe,rt){var ve=rt.dyn_tree,bt=rt.max_code,jt=rt.stat_desc.static_tree,He=rt.stat_desc.has_stree,kt=rt.stat_desc.extra_bits,Ar=rt.stat_desc.extra_base,at=rt.stat_desc.max_length,Ht,Wt,ot,et,Ze,Gt,yr=0;for(et=0;et<=F;et++)qe.bl_count[et]=0;for(ve[qe.heap[qe.heap_max]*2+1]=0,Ht=qe.heap_max+1;Htat&&(et=at,yr++),ve[Wt*2+1]=et,Wt>bt)continue;qe.bl_count[et]++,Ze=0,Wt>=Ar&&(Ze=kt[Wt-Ar]),Gt=ve[Wt*2],qe.opt_len+=Gt*(et+Ze),He&&(qe.static_len+=Gt*(jt[Wt*2+1]+Ze))}if(yr===0)return;do{for(et=at-1;qe.bl_count[et]===0;)et--;qe.bl_count[et]--,qe.bl_count[et+1]+=2,qe.bl_count[at]--,yr-=2}while(yr>0);for(et=at;et!==0;et--)for(Wt=qe.bl_count[et];Wt!==0;){if(ot=qe.heap[--Ht],ot>bt)continue;ve[ot*2+1]!==et&&(qe.opt_len+=(et-ve[ot*2+1])*ve[ot*2],ve[ot*2+1]=et),Wt--}}function pe(qe,rt,ve){var bt=new Array(F+1),jt=0,He,kt;for(He=1;He<=F;He++)bt[He]=jt=jt+ve[He-1]<<1;for(kt=0;kt<=rt;kt++){var Ar=qe[kt*2+1];if(Ar===0)continue;qe[kt*2]=Y(bt[Ar]++,Ar)}}function De(){var qe,rt,ve,bt,jt,He=new Array(F+1);for(ve=0,bt=0;bt<_-1;bt++)for(fe[bt]=ve,qe=0;qe<1<>=7;bt8?Ge(qe,qe.bi_buf):qe.bi_valid>0&&(qe.pending_buf[qe.pending++]=qe.bi_buf),qe.bi_buf=0,qe.bi_valid=0}function be(qe,rt,ve,bt){me(qe),bt&&(Ge(qe,ve),Ge(qe,~ve)),i.arraySet(qe.pending_buf,qe.window,rt,ve,qe.pending),qe.pending+=ve}function Re(qe,rt,ve,bt){var jt=rt*2,He=ve*2;return qe[jt]>1;kt>=1;kt--)it(qe,ve,kt);Ht=He;do kt=qe.heap[1],qe.heap[1]=qe.heap[qe.heap_len--],it(qe,ve,1),Ar=qe.heap[1],qe.heap[--qe.heap_max]=kt,qe.heap[--qe.heap_max]=Ar,ve[Ht*2]=ve[kt*2]+ve[Ar*2],qe.depth[Ht]=(qe.depth[kt]>=qe.depth[Ar]?qe.depth[kt]:qe.depth[Ar])+1,ve[kt*2+1]=ve[Ar*2+1]=Ht,qe.heap[1]=Ht++,it(qe,ve,1);while(qe.heap_len>=2);qe.heap[--qe.heap_max]=qe.heap[1],we(qe,rt),pe(ve,at,qe.bl_count)}function Pe(qe,rt,ve){var bt,jt=-1,He,kt=rt[0*2+1],Ar=0,at=7,Ht=4;for(kt===0&&(at=138,Ht=3),rt[(ve+1)*2+1]=65535,bt=0;bt<=ve;bt++){if(He=kt,kt=rt[(bt+1)*2+1],++Ar=3&&!(qe.bl_tree[G[rt]*2+1]!==0);rt--);return qe.opt_len+=3*(rt+1)+5+5+4,rt}function Ft(qe,rt,ve,bt){var jt;for(ae(qe,rt-257,5),ae(qe,ve-1,5),ae(qe,bt-4,4),jt=0;jt>>=1)if(rt&1&&qe.dyn_ltree[ve*2]!==0)return r;if(qe.dyn_ltree[9*2]!==0||qe.dyn_ltree[10*2]!==0||qe.dyn_ltree[13*2]!==0)return o;for(ve=32;ve0?(qe.strm.data_type===h&&(qe.strm.data_type=Ut(qe)),pt(qe,qe.l_desc),pt(qe,qe.d_desc),kt=ut(qe),jt=qe.opt_len+3+7>>>3,He=qe.static_len+3+7>>>3,He<=jt&&(jt=He)):jt=He=ve+5,ve+4<=jt&&rt!==-1?or(qe,rt,ve,bt):qe.strategy===u||He===jt?(ae(qe,(v<<1)+(bt?1:0),3),yt(qe,q,re)):(ae(qe,(y<<1)+(bt?1:0),3),Ft(qe,qe.l_desc.max_code+1,qe.d_desc.max_code+1,kt+1),yt(qe,qe.dyn_ltree,qe.dyn_dtree)),Ne(qe),bt&&me(qe)}function de(qe,rt,ve){return qe.pending_buf[qe.d_buf+qe.last_lit*2]=rt>>>8&255,qe.pending_buf[qe.d_buf+qe.last_lit*2+1]=rt&255,qe.pending_buf[qe.l_buf+qe.last_lit]=ve&255,qe.last_lit++,rt===0?qe.dyn_ltree[ve*2]++:(qe.matches++,rt--,qe.dyn_ltree[(ie[ve]+I+1)*2]++,qe.dyn_dtree[ue(rt)*2]++),qe.last_lit===qe.lit_bufsize-1}c._tr_init=$t,c._tr_stored_block=or,c._tr_flush_block=Ee,c._tr_tally=de,c._tr_align=ht},{"../utils/common":27}],39:[function(n,s,c){"use strict";function i(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}s.exports=i},{}]},{},[9])(9)})}).call(this,l("HDXh").Buffer,l("yLpj"))},FhB9:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};R.default=x},"Fm1+":function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("a7Wl")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="CaretUpOutlined";var d=f.forwardRef(m);R.default=d},Fofx:function(j,R){var l=typeof Float32Array=="undefined"?Array:Float32Array;function x(){var n=new l(6);return b(n),n}function b(n){return n[0]=1,n[1]=0,n[2]=0,n[3]=1,n[4]=0,n[5]=0,n}function A(n,s){return n[0]=s[0],n[1]=s[1],n[2]=s[2],n[3]=s[3],n[4]=s[4],n[5]=s[5],n}function f(n,s,c){var i=s[0]*c[0]+s[2]*c[1],u=s[1]*c[0]+s[3]*c[1],r=s[0]*c[2]+s[2]*c[3],o=s[1]*c[2]+s[3]*c[3],h=s[0]*c[4]+s[2]*c[5]+s[4],p=s[1]*c[4]+s[3]*c[5]+s[5];return n[0]=i,n[1]=u,n[2]=r,n[3]=o,n[4]=h,n[5]=p,n}function t(n,s,c){return n[0]=s[0],n[1]=s[1],n[2]=s[2],n[3]=s[3],n[4]=s[4]+c[0],n[5]=s[5]+c[1],n}function e(n,s,c){var i=s[0],u=s[2],r=s[4],o=s[1],h=s[3],p=s[5],g=Math.sin(c),v=Math.cos(c);return n[0]=i*v+o*g,n[1]=-i*g+o*v,n[2]=u*v+h*g,n[3]=-u*g+v*h,n[4]=v*r+g*p,n[5]=v*p-g*r,n}function m(n,s,c){var i=c[0],u=c[1];return n[0]=s[0]*i,n[1]=s[1]*u,n[2]=s[2]*i,n[3]=s[3]*u,n[4]=s[4]*i,n[5]=s[5]*u,n}function d(n,s){var c=s[0],i=s[2],u=s[4],r=s[1],o=s[3],h=s[5],p=c*o-r*i;return p?(p=1/p,n[0]=o*p,n[1]=-r*p,n[2]=-i*p,n[3]=c*p,n[4]=(i*h-o*u)*p,n[5]=(r*u-c*h)*p,n):null}function a(n){var s=x();return A(s,n),s}R.create=x,R.identity=b,R.copy=A,R.mul=f,R.translate=t,R.rotate=e,R.scale=m,R.invert=d,R.clone=a},Fv0C:function(j,R,l){"use strict";function x(u){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(o){return typeof o}:x=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},x(u)}Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var b=a(l("Lo0S")),A=l("vewr"),f=a(l("8CQX")),t=m(l("mHUz")),e=a(l("GdRQ"));function m(u){return u&&u.__esModule?u:{default:u}}function d(){if(typeof WeakMap!="function")return null;var u=new WeakMap;return d=function(){return u},u}function a(u){if(u&&u.__esModule)return u;if(u===null||x(u)!=="object"&&typeof u!="function")return{default:u};var r=d();if(r&&r.has(u))return r.get(u);var o={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(Object.prototype.hasOwnProperty.call(u,p)){var g=h?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(o,p,g):o[p]=u[p]}return o.default=u,r&&r.set(u,o),o}function n(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function s(u,r){for(var o=0;o=48&&o.keyCode<=57)h=o.keyCode;else if(o.keyCode>=65&&o.keyCode<=90){var g=String.fromCharCode(o.keyCode);o.shiftKey?g=g.toUpperCase():g=g.toLowerCase(),h=g.charCodeAt()}else h=0;this._sendKeyEvent(h,p,!0)}},{key:"_handleKeyUp",value:function(o){(0,A.stopEvent)(o);var h=this._getKeyCode(o);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(t.default.XK_Control_L,"ControlLeft",!0)),(e.isMac()||e.isIOS())&&h==="CapsLock"){this._sendKeyEvent(t.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(t.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[h],h,!1),e.isWindows()&&(h==="ShiftLeft"||h==="ShiftRight")&&("ShiftRight"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftRight,"ShiftRight",!1),"ShiftLeft"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftLeft,"ShiftLeft",!1))}},{key:"_handleAltGrTimeout",value:function(){this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(t.default.XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){b.Debug(">> Keyboard.allKeysUp");for(var o in this._keyDownList)this._sendKeyEvent(this._keyDownList[o],o,!1);b.Debug("<< Keyboard.allKeysUp")}},{key:"_checkAlt",value:function(o){if(o.skipCheckAlt)return;if(o.altKey)return;var h=this._target,p=this._keyDownList;["AltLeft","AltRight"].forEach(function(g){if(!(g in p))return;var v=new KeyboardEvent("keyup",{key:p[g],code:g});v.skipCheckAlt=!0,h.dispatchEvent(v)})}},{key:"grab",value:function(){if(this._target.addEventListener("keydown",this._eventHandlers.keydown),this._target.addEventListener("keyup",this._eventHandlers.keyup),this._target.addEventListener("keypress",this._eventHandlers.keypress),window.addEventListener("blur",this._eventHandlers.blur),e.isWindows()&&e.isFirefox()){var o=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(h){return document.addEventListener(h,o,{capture:!0,passive:!0})})}}},{key:"ungrab",value:function(){if(e.isWindows()&&e.isFirefox()){var o=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(h){return document.removeEventListener(h,o)})}this._target.removeEventListener("keydown",this._eventHandlers.keydown),this._target.removeEventListener("keyup",this._eventHandlers.keyup),this._target.removeEventListener("keypress",this._eventHandlers.keypress),window.removeEventListener("blur",this._eventHandlers.blur),this._allKeysUp()}}]),u}();R.default=i},FxDU:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.createSensor=void 0;var x=l("QO+J"),b=l("j5sG"),A=typeof ResizeObserver!="undefined"?b.createSensor:x.createSensor;R.createSensor=A},GGyF:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("wgjA")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="LeftOutlined";var d=f.forwardRef(m);R.default=d},GIiI:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="PoweroffOutlined";var m=R.a=b.forwardRef(e)},GMDS:function(j,R,l){var x=l("bYtY"),b=l("4NgU"),A=l("jkPA"),f=b.prototype,t=b.extend({type:"ordinal",init:function(m,d){(!m||x.isArray(m))&&(m=new A({categories:m})),this._ordinalMeta=m,this._extent=d||[0,m.categories.length-1]},parse:function(m){return typeof m=="string"?this._ordinalMeta.getOrdinal(m):Math.round(m)},contain:function(m){return m=this.parse(m),f.contain.call(this,m)&&this._ordinalMeta.categories[m]!=null},normalize:function(m){return f.normalize.call(this,this.parse(m))},scale:function(m){return Math.round(f.scale.call(this,m))},getTicks:function(){for(var m=[],d=this._extent,a=d[0];a<=d[1];)m.push(a),a++;return m},getLabel:function(m){if(!this.isBlank())return this._ordinalMeta.categories[m]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(m,d){this.unionExtent(m.getApproximateExtent(d))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:x.noop,niceExtent:x.noop});t.create=function(){return new t};var e=t;j.exports=e},GQ8N:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.toUnsigned32bit=x,R.toSigned32bit=b;function x(A){return A>>>0}function b(A){return A|0}},GUcZ:function(j,R,l){"use strict";var x=l("XKWP"),b=l("N7Kx"),A=function(){function lt(){Object(x.a)(this,lt)}return Object(b.a)(lt,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(Le,ze){return Le.__proto__=ze,Le},Object.assign=Object.assign||function(Le){if(Le==null)throw new TypeError("Cannot convert undefined or null to object");for(var ze=Object(Le),$e=1;$e ").concat(ze);if(lt.ENABLE_CALLBACK&<.emitter.emit("log","error",$e),!lt.ENABLE_ERROR)return;console.error?console.error($e):console.warn?console.warn($e):console.log($e)}},{key:"i",value:function(Le,ze){(!Le||lt.FORCE_GLOBAL_TAG)&&(Le=lt.GLOBAL_TAG);var $e="[".concat(Le,"] > ").concat(ze);if(lt.ENABLE_CALLBACK&<.emitter.emit("log","info",$e),!lt.ENABLE_INFO)return;console.info?console.info($e):console.log($e)}},{key:"w",value:function(Le,ze){(!Le||lt.FORCE_GLOBAL_TAG)&&(Le=lt.GLOBAL_TAG);var $e="[".concat(Le,"] > ").concat(ze);if(lt.ENABLE_CALLBACK&<.emitter.emit("log","warn",$e),!lt.ENABLE_WARN)return;console.warn?console.warn($e):console.log($e)}},{key:"d",value:function(Le,ze){(!Le||lt.FORCE_GLOBAL_TAG)&&(Le=lt.GLOBAL_TAG);var $e="[".concat(Le,"] > ").concat(ze);if(lt.ENABLE_CALLBACK&<.emitter.emit("log","debug",$e),!lt.ENABLE_DEBUG)return;console.debug?console.debug($e):console.log($e)}},{key:"v",value:function(Le,ze){(!Le||lt.FORCE_GLOBAL_TAG)&&(Le=lt.GLOBAL_TAG);var $e="[".concat(Le,"] > ").concat(ze);if(lt.ENABLE_CALLBACK&<.emitter.emit("log","verbose",$e),!lt.ENABLE_VERBOSE)return;console.log($e)}}]),lt}();m.GLOBAL_TAG="flv.js",m.FORCE_GLOBAL_TAG=!1,m.ENABLE_ERROR=!0,m.ENABLE_INFO=!0,m.ENABLE_WARN=!0,m.ENABLE_DEBUG=!0,m.ENABLE_VERBOSE=!0,m.ENABLE_CALLBACK=!1,m.emitter=new e.a;var d=m,a=function(){function lt(){Object(x.a)(this,lt),this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}return Object(b.a)(lt,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(Le){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=Le,this._totalBytes+=Le):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=Le,this._totalBytes+=Le):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=Le,this._totalBytes+=Le,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var Le=(this._now()-this._lastCheckpoint)/1e3;return Le==0&&(Le=1),this._intervalBytes/Le/1024}},{key:"lastSecondKBps",get:function(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}},{key:"averageKBps",get:function(){var Le=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/Le/1024}}]),lt}(),n=a,s=l("kFHX"),c=l("4jIl"),i=function(){function lt(mt){Object(x.a)(this,lt),this._message=mt}return Object(b.a)(lt,[{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}},{key:"toString",value:function(){return this.name+": "+this.message}}]),lt}(),u=function(lt){Object(s.a)(Le,lt);var mt=Object(c.a)(Le);function Le(ze){return Object(x.a)(this,Le),mt.call(this,ze)}return Object(b.a)(Le,[{key:"name",get:function(){return"IllegalStateException"}}]),Le}(i),r=function(lt){Object(s.a)(Le,lt);var mt=Object(c.a)(Le);function Le(ze){return Object(x.a)(this,Le),mt.call(this,ze)}return Object(b.a)(Le,[{key:"name",get:function(){return"InvalidArgumentException"}}]),Le}(i),o=function(lt){Object(s.a)(Le,lt);var mt=Object(c.a)(Le);function Le(ze){return Object(x.a)(this,Le),mt.call(this,ze)}return Object(b.a)(Le,[{key:"name",get:function(){return"NotImplementedException"}}]),Le}(i),h={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},p={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},g=function(){function lt(mt){Object(x.a)(this,lt),this._type=mt||"undefined",this._status=h.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(b.a)(lt,[{key:"destroy",value:function(){this._status=h.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===h.kConnecting||this._status===h.kBuffering}},{key:"type",get:function(){return this._type}},{key:"status",get:function(){return this._status}},{key:"needStashBuffer",get:function(){return this._needStash}},{key:"onContentLengthKnown",get:function(){return this._onContentLengthKnown},set:function(Le){this._onContentLengthKnown=Le}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(Le){this._onURLRedirect=Le}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(Le){this._onDataArrival=Le}},{key:"onError",get:function(){return this._onError},set:function(Le){this._onError=Le}},{key:"onComplete",get:function(){return this._onComplete},set:function(Le){this._onComplete=Le}},{key:"open",value:function(Le,ze){throw new o("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new o("Unimplemented abstract function!")}}]),lt}(),v=l("2KFj"),y=l("XPR9"),w={};function S(){var lt=self.navigator.userAgent.toLowerCase(),mt=/(edge)\/([\w.]+)/.exec(lt)||/(opr)[\/]([\w.]+)/.exec(lt)||/(chrome)[ \/]([\w.]+)/.exec(lt)||/(iemobile)[\/]([\w.]+)/.exec(lt)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(lt)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(lt)||/(webkit)[ \/]([\w.]+)/.exec(lt)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(lt)||/(msie) ([\w.]+)/.exec(lt)||lt.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(lt)||lt.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(lt)||[],Le=/(ipad)/.exec(lt)||/(ipod)/.exec(lt)||/(windows phone)/.exec(lt)||/(iphone)/.exec(lt)||/(kindle)/.exec(lt)||/(android)/.exec(lt)||/(windows)/.exec(lt)||/(mac)/.exec(lt)||/(linux)/.exec(lt)||/(cros)/.exec(lt)||[],ze={browser:mt[5]||mt[3]||mt[1]||"",version:mt[2]||mt[4]||"0",majorVersion:mt[4]||mt[2]||"0",platform:Le[0]||""},$e={};if(ze.browser){$e[ze.browser]=!0;var gt=ze.majorVersion.split(".");$e.version={major:parseInt(ze.majorVersion,10),string:ze.version},gt.length>1&&($e.version.minor=parseInt(gt[1],10)),gt.length>2&&($e.version.build=parseInt(gt[2],10))}if(ze.platform&&($e[ze.platform]=!0),($e.chrome||$e.opr||$e.safari)&&($e.webkit=!0),$e.rv||$e.iemobile){$e.rv&&delete $e.rv;var ir="msie";ze.browser=ir,$e[ir]=!0}if($e.edge){delete $e.edge;var Xt="msedge";ze.browser=Xt,$e[Xt]=!0}if($e.opr){var er="opera";ze.browser=er,$e[er]=!0}if($e.safari&&$e.android){var Kr="android";ze.browser=Kr,$e[Kr]=!0}$e.name=ze.browser,$e.platform=ze.platform;for(var en in w)w.hasOwnProperty(en)&&delete w[en];Object.assign(w,$e)}S();var _=w,I=function(lt){Object(s.a)(Le,lt);var mt=Object(c.a)(Le);function Le(ze,$e){var gt;return Object(x.a)(this,Le),gt=mt.call(this,"fetch-stream-loader"),gt.TAG="FetchStreamLoader",gt._seekHandler=ze,gt._config=$e,gt._needStash=!0,gt._requestAbort=!1,gt._contentLength=null,gt._receivedLength=0,gt}return Object(b.a)(Le,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),Object(v.a)(Object(y.a)(Le.prototype),"destroy",this).call(this)}},{key:"open",value:function($e,gt){var ir=this;this._dataSource=$e,this._range=gt;var Xt=$e.url;this._config.reuseRedirectedURL&&$e.redirectedURL!=null&&(Xt=$e.redirectedURL);var er=this._seekHandler.getConfig(Xt,gt),Kr=new self.Headers;if(typeof er.headers=="object"){var en=er.headers;for(var Fn in en)en.hasOwnProperty(Fn)&&Kr.append(Fn,en[Fn])}var ar={method:"GET",headers:Kr,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var It in this._config.headers)Kr.append(It,this._config.headers[It]);$e.cors===!1&&(ar.mode="same-origin"),$e.withCredentials&&(ar.credentials="include"),$e.referrerPolicy&&(ar.referrerPolicy=$e.referrerPolicy),this._status=h.kConnecting,self.fetch(er.url,ar).then(function(Ct){if(ir._requestAbort){ir._requestAbort=!1,ir._status=h.kIdle;return}if(Ct.ok&&Ct.status>=200&&Ct.status<=299){if(Ct.url!==er.url&&ir._onURLRedirect){var mr=ir._seekHandler.removeURLParameters(Ct.url);ir._onURLRedirect(mr)}var gr=Ct.headers.get("Content-Length");return gr!=null&&(ir._contentLength=parseInt(gr),ir._contentLength!==0&&(ir._onContentLengthKnown&&ir._onContentLengthKnown(ir._contentLength))),ir._pump.call(ir,Ct.body.getReader())}else if(ir._status=h.kError,ir._onError)ir._onError(p.HTTP_STATUS_CODE_INVALID,{code:Ct.status,msg:Ct.statusText});else throw new i("FetchStreamLoader: Http code invalid, "+Ct.status+" "+Ct.statusText)}).catch(function(Ct){if(ir._status=h.kError,ir._onError)ir._onError(p.EXCEPTION,{code:-1,msg:Ct.message});else throw Ct})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function($e){var gt=this;return $e.read().then(function(ir){if(ir.done)if(gt._contentLength!==null&>._receivedLength=15048,gt=_.msedge?$e:!0;return self.fetch&&self.ReadableStream&>}catch(ir){return!1}}}]),Le}(g),C=I,E=function(lt){Object(s.a)(Le,lt);var mt=Object(c.a)(Le);function Le(ze,$e){var gt;return Object(x.a)(this,Le),gt=mt.call(this,"xhr-moz-chunked-loader"),gt.TAG="MozChunkedLoader",gt._seekHandler=ze,gt._config=$e,gt._needStash=!0,gt._xhr=null,gt._requestAbort=!1,gt._contentLength=null,gt._receivedLength=0,gt}return Object(b.a)(Le,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onloadend=null,this._xhr.onerror=null,this._xhr=null),Object(v.a)(Object(y.a)(Le.prototype),"destroy",this).call(this)}},{key:"open",value:function($e,gt){this._dataSource=$e,this._range=gt;var ir=$e.url;this._config.reuseRedirectedURL&&$e.redirectedURL!=null&&(ir=$e.redirectedURL);var Xt=this._seekHandler.getConfig(ir,gt);this._requestURL=Xt.url;var er=this._xhr=new XMLHttpRequest;if(er.open("GET",Xt.url,!0),er.responseType="moz-chunked-arraybuffer",er.onreadystatechange=this._onReadyStateChange.bind(this),er.onprogress=this._onProgress.bind(this),er.onloadend=this._onLoadEnd.bind(this),er.onerror=this._onXhrError.bind(this),$e.withCredentials&&(er.withCredentials=!0),typeof Xt.headers=="object"){var Kr=Xt.headers;for(var en in Kr)Kr.hasOwnProperty(en)&&er.setRequestHeader(en,Kr[en])}if(typeof this._config.headers=="object"){var Fn=this._config.headers;for(var ar in Fn)Fn.hasOwnProperty(ar)&&er.setRequestHeader(ar,Fn[ar])}this._status=h.kConnecting,er.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=h.kComplete}},{key:"_onReadyStateChange",value:function($e){var gt=$e.target;if(gt.readyState===2){if(gt.responseURL!=null&>.responseURL!==this._requestURL&&this._onURLRedirect){var ir=this._seekHandler.removeURLParameters(gt.responseURL);this._onURLRedirect(ir)}if(gt.status!==0&&(gt.status<200||gt.status>299))if(this._status=h.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:gt.status,msg:gt.statusText});else throw new i("MozChunkedLoader: Http code invalid, "+gt.status+" "+gt.statusText);else this._status=h.kBuffering}}},{key:"_onProgress",value:function($e){if(this._status===h.kError)return;this._contentLength===null&&($e.total!==null&&$e.total!==0&&(this._contentLength=$e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var gt=$e.target.response,ir=this._range.from+this._receivedLength;this._receivedLength+=gt.byteLength,this._onDataArrival&&this._onDataArrival(gt,ir,this._receivedLength)}},{key:"_onLoadEnd",value:function($e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===h.kError)return;this._status=h.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function($e){this._status=h.kError;var gt=0,ir=null;if(this._contentLength&&$e.loaded=200&>.status<=299){if(this._status=h.kBuffering,gt.responseURL!=null){var ir=this._seekHandler.removeURLParameters(gt.responseURL);gt.responseURL!==this._currentRequestURL&&ir!==this._currentRedirectedURL&&(this._currentRedirectedURL=ir,this._onURLRedirect&&this._onURLRedirect(ir))}var Xt=gt.getResponseHeader("Content-Length");if(Xt!=null&&this._contentLength==null){var er=parseInt(Xt);er>0&&(this._contentLength=er,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=h.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:gt.status,msg:gt.statusText});else throw new i("MSStreamLoader: Http code invalid, "+gt.status+" "+gt.statusText);else if(gt.readyState===3&&(gt.status>=200&>.status<=299)){this._status=h.kBuffering;var Kr=gt.response;this._reader.readAsArrayBuffer(Kr)}}},{key:"_xhrOnError",value:function($e){this._status=h.kError;var gt=p.EXCEPTION,ir={code:-1,msg:$e.constructor.name+" "+$e.type};if(this._onError)this._onError(gt,ir);else throw new i(ir.msg)}},{key:"_msrOnProgress",value:function($e){var gt=$e.target,ir=gt.result;if(ir==null){this._doReconnectIfNeeded();return}var Xt=ir.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=ir.byteLength;var er=this._totalRange.from+this._receivedLength;this._receivedLength+=Xt.byteLength,this._onDataArrival&&this._onDataArrival(Xt,er,this._receivedLength),ir.byteLength>=this._bufferLimit&&(d.v(this.TAG,"MSStream buffer exceeded max size near ".concat(er+Xt.byteLength,", reconnecting...")),this._doReconnectIfNeeded())}},{key:"_doReconnectIfNeeded",value:function(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(ir=this._range.from+this._contentLength-1)),this._currentRequestRange={from:gt,to:ir},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function($e,gt){this._lastTimeLoaded=0;var ir=$e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?ir=this._currentRedirectedURL:$e.redirectedURL!=null&&(ir=$e.redirectedURL));var Xt=this._seekHandler.getConfig(ir,gt);this._currentRequestURL=Xt.url;var er=this._xhr=new XMLHttpRequest;if(er.open("GET",Xt.url,!0),er.responseType="arraybuffer",er.onreadystatechange=this._onReadyStateChange.bind(this),er.onprogress=this._onProgress.bind(this),er.onload=this._onLoad.bind(this),er.onerror=this._onXhrError.bind(this),$e.withCredentials&&(er.withCredentials=!0),typeof Xt.headers=="object"){var Kr=Xt.headers;for(var en in Kr)Kr.hasOwnProperty(en)&&er.setRequestHeader(en,Kr[en])}if(typeof this._config.headers=="object"){var Fn=this._config.headers;for(var ar in Fn)Fn.hasOwnProperty(ar)&&er.setRequestHeader(ar,Fn[ar])}er.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=h.kComplete}},{key:"_internalAbort",value:function(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}},{key:"_onReadyStateChange",value:function($e){var gt=$e.target;if(gt.readyState===2){if(gt.responseURL!=null){var ir=this._seekHandler.removeURLParameters(gt.responseURL);gt.responseURL!==this._currentRequestURL&&ir!==this._currentRedirectedURL&&(this._currentRedirectedURL=ir,this._onURLRedirect&&this._onURLRedirect(ir))}if(gt.status>=200&>.status<=299){if(this._waitForTotalLength)return;this._status=h.kBuffering}else if(this._status=h.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:gt.status,msg:gt.statusText});else throw new i("RangeLoader: Http code invalid, "+gt.status+" "+gt.statusText)}}},{key:"_onProgress",value:function($e){if(this._status===h.kError)return;if(this._contentLength===null){var gt=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,gt=!0;var ir=$e.total;this._internalAbort(),ir!=null&ir!==0&&(this._totalLength=ir)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,gt){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var Xt=$e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=$e.loaded,this._speedSampler.addBytes(Xt)}},{key:"_normalizeSpeed",value:function($e){var gt=this._chunkSizeKBList,ir=gt.length-1,Xt=0,er=0,Kr=ir;if($e=gt[Xt]&&$e=3&&(gt=this._speedSampler.currentKBps)),gt!==0){var ir=this._normalizeSpeed(gt);this._currentSpeedNormalized!==ir&&(this._currentSpeedNormalized=ir,this._currentChunkSizeKB=ir)}var Xt=$e.target.response,er=this._range.from+this._receivedLength;this._receivedLength+=Xt.byteLength;var Kr=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength0)for(var Xt=$e.split("&"),er=0;er0;Kr[0]!==this._startName&&Kr[0]!==this._endName&&(en&&(ir+="&"),ir+=Xt[er])}return ir.length===0?ze:ze+"?"+ir}}]),lt}(),W=z,P=function(){function lt(mt,Le,ze){Object(x.a)(this,lt),this.TAG="IOController",this._config=Le,this._extraData=ze,this._stashInitialSize=1024*384,Le.stashInitialSize!=null&&Le.stashInitialSize>0&&(this._stashInitialSize=Le.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,Le.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=mt,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(mt.url),this._refTotalLength=mt.filesize?mt.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new n,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}return Object(b.a)(lt,[{key:"destroy",value:function(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}},{key:"isWorking",value:function(){return this._loader&&this._loader.isWorking()&&!this._paused}},{key:"isPaused",value:function(){return this._paused}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(Le){this._extraData=Le}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(Le){this._onDataArrival=Le}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(Le){this._onSeeked=Le}},{key:"onError",get:function(){return this._onError},set:function(Le){this._onError=Le}},{key:"onComplete",get:function(){return this._onComplete},set:function(Le){this._onComplete=Le}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(Le){this._onRedirect=Le}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(Le){this._onRecoveredEarlyEof=Le}},{key:"currentURL",get:function(){return this._dataSource.url}},{key:"hasRedirect",get:function(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}},{key:"currentRedirectedURL",get:function(){return this._redirectedURL||this._dataSource.redirectedURL}},{key:"currentSpeed",get:function(){return this._loaderClass===B?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}},{key:"_selectSeekHandler",value:function(){var Le=this._config;if(Le.seekType==="range")this._seekHandler=new K(this._config.rangeLoadZeroStart);else if(Le.seekType==="param"){var ze=Le.seekParamStart||"bstart",$e=Le.seekParamEnd||"bend";this._seekHandler=new W(ze,$e)}else if(Le.seekType==="custom"){if(typeof Le.customSeekHandler!="function")throw new r("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new Le.customSeekHandler}else throw new r("Invalid seekType in config: ".concat(Le.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=J;else if(C.isSupported())this._loaderClass=C;else if(O.isSupported())this._loaderClass=O;else if(B.isSupported())this._loaderClass=B;else throw new i("Your browser doesn't support xhr with arraybuffer responseType!")}},{key:"_createLoader",value:function(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}},{key:"open",value:function(Le){this._currentRange={from:0,to:-1},Le&&(this._currentRange.from=Le),this._speedSampler.reset(),Le||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}},{key:"abort",value:function(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}},{key:"pause",value:function(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}},{key:"resume",value:function(){if(this._paused){this._paused=!1;var Le=this._resumeFrom;this._resumeFrom=0,this._internalSeek(Le,!0)}}},{key:"seek",value:function(Le){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(Le,!0)}},{key:"_internalSeek",value:function(Le,ze){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(ze),this._loader.destroy(),this._loader=null;var $e={from:Le,to:-1};this._currentRange={from:$e.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,$e),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(Le){if(!Le||typeof Le!="string"||Le.length===0)throw new r("Url must be a non-empty string!");this._dataSource.url=Le}},{key:"_expandBuffer",value:function(Le){for(var ze=this._stashSize;ze+1024*1024*10){var gt=new Uint8Array(this._stashBuffer,0,this._stashUsed),ir=new Uint8Array($e,0,ze);ir.set(gt,0)}this._stashBuffer=$e,this._bufferSize=ze}},{key:"_normalizeSpeed",value:function(Le){var ze=this._speedNormalizeList,$e=ze.length-1,gt=0,ir=0,Xt=$e;if(Le=ze[gt]&&Le=512&&Le<=1024?ze=Math.floor(Le*1.5):ze=Le*2,ze>8192&&(ze=8192);var $e=ze*1024+1024*1024*1;this._bufferSize<$e&&this._expandBuffer($e),this._stashSize=ze*1024}},{key:"_dispatchChunks",value:function(Le,ze){return this._currentRange.to=ze+Le.byteLength-1,this._onDataArrival(Le,ze)}},{key:"_onURLRedirect",value:function(Le){this._redirectedURL=Le,this._onRedirect&&this._onRedirect(Le)}},{key:"_onContentLengthKnown",value:function(Le){Le&&this._fullRequestFlag&&(this._totalLength=Le,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(Le,ze,$e){if(!this._onDataArrival)throw new u("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(Le.byteLength);var gt=this._speedSampler.lastSecondKBps;if(gt!==0){var ir=this._normalizeSpeed(gt);this._speedNormalized!==ir&&(this._speedNormalized=ir,this._adjustStashSize(ir))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=ze),this._stashUsed+Le.byteLength<=this._stashSize){var It=new Uint8Array(this._stashBuffer,0,this._stashSize);It.set(new Uint8Array(Le),this._stashUsed),this._stashUsed+=Le.byteLength}else{var Ct=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var mr=this._stashBuffer.slice(0,this._stashUsed),gr=this._dispatchChunks(mr,this._stashByteStart);if(gr0){var Mt=new Uint8Array(mr,gr);Ct.set(Mt,0),this._stashUsed=Mt.byteLength,this._stashByteStart+=gr}}else this._stashUsed=0,this._stashByteStart+=gr;this._stashUsed+Le.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+Le.byteLength),Ct=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Ct.set(new Uint8Array(Le),this._stashUsed),this._stashUsed+=Le.byteLength}else{var rr=this._dispatchChunks(Le,ze);if(rrthis._bufferSize&&(this._expandBuffer(Dt),Ct=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Ct.set(new Uint8Array(Le,rr),0),this._stashUsed+=Dt,this._stashByteStart=ze+rr}}}else if(this._stashUsed===0){var Xt=this._dispatchChunks(Le,ze);if(Xtthis._bufferSize&&this._expandBuffer(er);var Kr=new Uint8Array(this._stashBuffer,0,this._bufferSize);Kr.set(new Uint8Array(Le,Xt),0),this._stashUsed+=er,this._stashByteStart=ze+Xt}}else{this._stashUsed+Le.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+Le.byteLength);var en=new Uint8Array(this._stashBuffer,0,this._bufferSize);en.set(new Uint8Array(Le),this._stashUsed),this._stashUsed+=Le.byteLength;var Fn=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(Fn0){var ar=new Uint8Array(this._stashBuffer,Fn);en.set(ar,0)}this._stashUsed-=Fn,this._stashByteStart+=Fn}}},{key:"_flushStashBuffer",value:function(Le){if(this._stashUsed>0){var ze=this._stashBuffer.slice(0,this._stashUsed),$e=this._dispatchChunks(ze,this._stashByteStart),gt=ze.byteLength-$e;if($e0){var ir=new Uint8Array(this._stashBuffer,0,this._bufferSize),Xt=new Uint8Array(ze,$e);ir.set(Xt,0),this._stashUsed=Xt.byteLength,this._stashByteStart+=$e}return 0}return this._stashUsed=0,this._stashByteStart=0,gt}return 0}},{key:"_onLoaderComplete",value:function(Le,ze){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(Le,ze){d.e(this.TAG,"Loader error, code = ".concat(ze.code,", msg = ").concat(ze.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,Le=p.UNRECOVERABLE_EARLY_EOF);switch(Le){case p.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var $e=this._currentRange.to+1;$e0){var ze=lt.getConfig();Le.emit("change",ze)}}},{key:"registerListener",value:function(Le){lt.emitter.addListener("change",Le)}},{key:"removeListener",value:function(Le){lt.emitter.removeListener("change",Le)}},{key:"addLogListener",value:function(Le){d.emitter.addListener("log",Le),d.emitter.listenerCount("log")>0&&(d.ENABLE_CALLBACK=!0,lt._notifyChange())}},{key:"removeLogListener",value:function(Le){d.emitter.removeListener("log",Le),d.emitter.listenerCount("log")===0&&(d.ENABLE_CALLBACK=!1,lt._notifyChange())}}]),lt}();xe.emitter=new e.a;var Se=xe,ke=function(){function lt(){Object(x.a)(this,lt),this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}return Object(b.a)(lt,[{key:"isComplete",value:function(){var Le=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,ze=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&Le&&ze}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(Le){if(this.keyframesIndex==null)return null;var ze=this.keyframesIndex,$e=this._search(ze.times,Le);return{index:$e,milliseconds:ze.times[$e],fileposition:ze.filepositions[$e]}}},{key:"_search",value:function(Le,ze){var $e=0,gt=Le.length-1,ir=0,Xt=0,er=gt;for(ze=Le[ir]&&ze=128){mt.push(String.fromCharCode(gt&65535)),ze+=2;continue}}}else if(Le[ze]<240){if(Be(Le,ze,2)){var ir=(Le[ze]&15)<<12|(Le[ze+1]&63)<<6|Le[ze+2]&63;if(ir>=2048&&(ir&63488)!==55296){mt.push(String.fromCharCode(ir&65535)),ze+=3;continue}}}else if(Le[ze]<248&&Be(Le,ze,3)){var Xt=(Le[ze]&7)<<18|(Le[ze+1]&63)<<12|(Le[ze+2]&63)<<6|Le[ze+3]&63;if(Xt>65536&&Xt<1114112){Xt-=65536,mt.push(String.fromCharCode(Xt>>>10|55296)),mt.push(String.fromCharCode(Xt&1023|56320)),ze+=4;continue}}}mt.push(String.fromCharCode(65533)),++ze}return mt.join("")}var ue=ee,Ge=function(){var lt=new ArrayBuffer(2);return new DataView(lt).setInt16(0,256,!0),new Int16Array(lt)[0]===256}(),ae=function(){function lt(){Object(x.a)(this,lt)}return Object(b.a)(lt,null,[{key:"parseScriptData",value:function(Le,ze,$e){var gt={};try{var ir=lt.parseValue(Le,ze,$e),Xt=lt.parseValue(Le,ze+ir.size,$e-ir.size);gt[ir.data]=Xt.data}catch(er){d.e("AMF",er.toString())}return gt}},{key:"parseObject",value:function(Le,ze,$e){if($e<3)throw new u("Data not enough when parse ScriptDataObject");var gt=lt.parseString(Le,ze,$e),ir=lt.parseValue(Le,ze+gt.size,$e-gt.size),Xt=ir.objectEnd;return{data:{name:gt.data,value:ir.data},size:gt.size+ir.size,objectEnd:Xt}}},{key:"parseVariable",value:function(Le,ze,$e){return lt.parseObject(Le,ze,$e)}},{key:"parseString",value:function(Le,ze,$e){if($e<2)throw new u("Data not enough when parse String");var gt=new DataView(Le,ze,$e),ir=gt.getUint16(0,!Ge),Xt;return ir>0?Xt=ue(new Uint8Array(Le,ze+2,ir)):Xt="",{data:Xt,size:2+ir}}},{key:"parseLongString",value:function(Le,ze,$e){if($e<4)throw new u("Data not enough when parse LongString");var gt=new DataView(Le,ze,$e),ir=gt.getUint32(0,!Ge),Xt;return ir>0?Xt=ue(new Uint8Array(Le,ze+4,ir)):Xt="",{data:Xt,size:4+ir}}},{key:"parseDate",value:function(Le,ze,$e){if($e<10)throw new u("Data size invalid when parse Date");var gt=new DataView(Le,ze,$e),ir=gt.getFloat64(0,!Ge),Xt=gt.getInt16(8,!Ge);return ir+=Xt*60*1e3,{data:new Date(ir),size:8+2}}},{key:"parseValue",value:function(Le,ze,$e){if($e<1)throw new u("Data not enough when parse Value");var gt=new DataView(Le,ze,$e),ir=1,Xt=gt.getUint8(0),er,Kr=!1;try{switch(Xt){case 0:er=gt.getFloat64(1,!Ge),ir+=8;break;case 1:{var en=gt.getUint8(1);er=!!en,ir+=1;break}case 2:{var Fn=lt.parseString(Le,ze+1,$e-1);er=Fn.data,ir+=Fn.size;break}case 3:{er={};var ar=0;for((gt.getUint32($e-4,!Ge)&16777215)===9&&(ar=3);ir<$e-4;){var It=lt.parseObject(Le,ze+ir,$e-ir-ar);if(It.objectEnd)break;er[It.data.name]=It.data.value,ir+=It.size}if(ir<=$e-3){var Ct=gt.getUint32(ir-1,!Ge)&16777215;Ct===9&&(ir+=3)}break}case 8:{er={},ir+=4;var mr=0;for((gt.getUint32($e-4,!Ge)&16777215)===9&&(mr=3);ir<$e-8;){var gr=lt.parseVariable(Le,ze+ir,$e-ir-mr);if(gr.objectEnd)break;er[gr.data.name]=gr.data.value,ir+=gr.size}if(ir<=$e-3){var Mt=gt.getUint32(ir-1,!Ge)&16777215;Mt===9&&(ir+=3)}break}case 9:er=void 0,ir=1,Kr=!0;break;case 10:{er=[];var rr=gt.getUint32(1,!Ge);ir+=4;for(var Dt=0;Dt32)throw new r("ExpGolomb: readBits() bits exceeded max 32bits!");if(Le<=this._current_word_bits_left){var ze=this._current_word>>>32-Le;return this._current_word<<=Le,this._current_word_bits_left-=Le,ze}var $e=this._current_word_bits_left?this._current_word:0;$e=$e>>>32-this._current_word_bits_left;var gt=Le-this._current_word_bits_left;this._fillCurrentWord();var ir=Math.min(gt,this._current_word_bits_left),Xt=this._current_word>>>32-ir;return this._current_word<<=ir,this._current_word_bits_left-=ir,$e=$e<>>Le)!==0)return this._current_word<<=Le,this._current_word_bits_left-=Le,Le;return this._fillCurrentWord(),Le+this._skipLeadingZero()}},{key:"readUEG",value:function(){var Le=this._skipLeadingZero();return this.readBits(Le+1)-1}},{key:"readSEG",value:function(){var Le=this.readUEG();return Le&1?Le+1>>>1:-1*(Le>>>1)}}]),lt}(),te=Y,we=function(){function lt(){Object(x.a)(this,lt)}return Object(b.a)(lt,null,[{key:"_ebsp2rbsp",value:function(Le){for(var ze=Le,$e=ze.byteLength,gt=new Uint8Array($e),ir=0,Xt=0;Xt<$e;Xt++){if(Xt>=2&&(ze[Xt]===3&&ze[Xt-1]===0&&ze[Xt-2]===0))continue;gt[ir]=ze[Xt],ir++}return new Uint8Array(gt.buffer,0,ir)}},{key:"parseSPS",value:function(Le){var ze=lt._ebsp2rbsp(Le),$e=new te(ze);$e.readByte();var gt=$e.readByte();$e.readByte();var ir=$e.readByte();$e.readUEG();var Xt=lt.getProfileString(gt),er=lt.getLevelString(ir),Kr=1,en=420,Fn=[0,420,422,444],ar=8;if((gt===100||gt===110||gt===122||gt===244||gt===44||gt===83||gt===86||gt===118||gt===128||gt===138||gt===144)&&(Kr=$e.readUEG(),Kr===3&&$e.readBits(1),Kr<=3&&(en=Fn[Kr]),ar=$e.readUEG()+8,$e.readUEG(),$e.readBits(1),$e.readBool()))for(var It=Kr!==3?8:12,Ct=0;Ct0&&Xe<16?(di=Qe[Xe-1],Ti=st[Xe-1]):Xe===255&&(di=$e.readByte()<<8|$e.readByte(),Ti=$e.readByte()<<8|$e.readByte())}if($e.readBool()&&$e.readBool(),$e.readBool()&&($e.readBits(4),$e.readBool()&&$e.readBits(24)),$e.readBool()&&($e.readUEG(),$e.readUEG()),$e.readBool()){var nt=$e.readBits(32),ft=$e.readBits(32);la=$e.readBool(),Ta=ft,dt=nt*2,Fi=Ta/dt}}var Bt=1;(di!==1||Ti!==1)&&(Bt=di/Ti);var Et=0,nr=0;if(Kr===0)Et=1,nr=2-Dr;else{var Ur=Kr===3?1:2,Lr=Kr===1?2:1;Et=Ur,nr=Lr*(2-Dr)}var Vr=(Dt+1)*16,sr=(2-Dr)*((tr+1)*16);Vr-=(dr+Tr)*Et,sr-=(vn+on)*nr;var Bn=Math.ceil(Vr*Bt);return $e.destroy(),$e=null,{profile_string:Xt,level_string:er,bit_depth:ar,ref_frames:rr,chroma_format:en,chroma_format_string:lt.getChromaFormatString(en),frame_rate:{fixed:la,fps:Fi,fps_den:dt,fps_num:Ta},sar_ratio:{width:di,height:Ti},codec_size:{width:Vr,height:sr},present_size:{width:Bn,height:sr}}}},{key:"_skipScalingList",value:function(Le,ze){for(var $e=8,gt=8,ir=0,Xt=0;Xt>>8&255|(lt&255)<<8}function be(lt){return(lt&4278190080)>>>24|(lt&16711680)>>>8|(lt&65280)<<8|(lt&255)<<24}function Re(lt,mt){return lt[mt]<<24|lt[mt+1]<<16|lt[mt+2]<<8|lt[mt+3]}var it=function(){function lt(mt,Le){Object(x.a)(this,lt),this.TAG="FLVDemuxer",this._config=Le,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=mt.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=mt.hasAudioTrack,this._hasVideo=mt.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new ge,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){var ze=new ArrayBuffer(2);return new DataView(ze).setInt16(0,256,!0),new Int16Array(ze)[0]===256}()}return Object(b.a)(lt,[{key:"destroy",value:function(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}},{key:"bindDataSource",value:function(Le){return Le.onDataArrival=this.parseChunks.bind(this),this}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(Le){this._onTrackMetadata=Le}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(Le){this._onMediaInfo=Le}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(Le){this._onMetaDataArrived=Le}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(Le){this._onScriptDataArrived=Le}},{key:"onError",get:function(){return this._onError},set:function(Le){this._onError=Le}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(Le){this._onDataAvailable=Le}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(Le){this._timestampBase=Le}},{key:"overridedDuration",get:function(){return this._duration},set:function(Le){this._durationOverrided=!0,this._duration=Le,this._mediaInfo.duration=Le}},{key:"overridedHasAudio",set:function(Le){this._hasAudioFlagOverrided=!0,this._hasAudio=Le,this._mediaInfo.hasAudio=Le}},{key:"overridedHasVideo",set:function(Le){this._hasVideoFlagOverrided=!0,this._hasVideo=Le,this._mediaInfo.hasVideo=Le}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new ge}},{key:"_isInitialMetadataDispatched",value:function(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}},{key:"parseChunks",value:function(Le,ze){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new u("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var $e=0,gt=this._littleEndian;if(ze===0)if(Le.byteLength>13){var ir=lt.probe(Le);$e=ir.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,ze+$e!==this._dataOffset&&d.w(this.TAG,"First time parsing but chunk byteStart invalid!");var Xt=new DataView(Le,$e),er=Xt.getUint32(0,!gt);er!==0&&d.w(this.TAG,"PrevTagSize0 !== 0 !!!"),$e+=4}for(;$eLe.byteLength)break;var en=Kr.getUint8(0),Fn=Kr.getUint32(0,!gt)&16777215;if($e+11+Fn+4>Le.byteLength)break;if(en!==8&&en!==9&&en!==18){d.w(this.TAG,"Unsupported tag type ".concat(en,", skipped")),$e+=11+Fn+4;continue}var ar=Kr.getUint8(4),It=Kr.getUint8(5),Ct=Kr.getUint8(6),mr=Kr.getUint8(7),gr=Ct|It<<8|ar<<16|mr<<24,Mt=Kr.getUint32(7,!gt)&16777215;Mt!==0&&d.w(this.TAG,"Meet tag which has StreamID != 0!");var rr=$e+11;switch(en){case 8:this._parseAudioData(Le,rr,Fn,gr);break;case 9:this._parseVideoData(Le,rr,Fn,gr,ze+$e);break;case 18:this._parseScriptData(Le,rr,Fn);break}var Dt=Kr.getUint32(11+Fn,!gt);Dt!==11+Fn&&d.w(this.TAG,"Invalid PrevTagSize ".concat(Dt)),$e+=11+Fn+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),$e}},{key:"_parseScriptData",value:function(Le,ze,$e){var gt=Z.parseScriptData(Le,ze,$e);if(gt.hasOwnProperty("onMetaData")){if(gt.onMetaData==null||typeof gt.onMetaData!="object"){d.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&d.w(this.TAG,"Found another onMetaData tag!"),this._metadata=gt;var ir=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},ir)),typeof ir.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=ir.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof ir.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=ir.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof ir.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=ir.audiodatarate),typeof ir.videodatarate=="number"&&(this._mediaInfo.videoDataRate=ir.videodatarate),typeof ir.width=="number"&&(this._mediaInfo.width=ir.width),typeof ir.height=="number"&&(this._mediaInfo.height=ir.height),typeof ir.duration=="number"){if(!this._durationOverrided){var Xt=Math.floor(ir.duration*this._timescale);this._duration=Xt,this._mediaInfo.duration=Xt}}else this._mediaInfo.duration=0;if(typeof ir.framerate=="number"){var er=Math.floor(ir.framerate*1e3);if(er>0){var Kr=er/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Kr,this._referenceFrameRate.fps_num=er,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Kr}}if(typeof ir.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var en=ir.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(en),ir.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=ir,d.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(gt).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},gt)))}},{key:"_parseKeyframesIndex",value:function(Le){for(var ze=[],$e=[],gt=1;gt>>4;if(Kr!==2&&Kr!==10){this._onError(Ne.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Kr);return}var en=0,Fn=(er&12)>>>2;if(Fn>=0&&Fn<=4)en=this._flvSoundRateTable[Fn];else{this._onError(Ne.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Fn);return}var ar=(er&2)>>>1,It=er&1,Ct=this._audioMetadata,mr=this._audioTrack;if(Ct||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Ct=this._audioMetadata={},Ct.type="audio",Ct.id=mr.id,Ct.timescale=this._timescale,Ct.duration=this._duration,Ct.audioSampleRate=en,Ct.channelCount=It===0?1:2),Kr===10){var gr=this._parseAACAudioData(Le,ze+1,$e-1);if(gr==null)return;if(gr.packetType===0){Ct.config&&d.w(this.TAG,"Found another AudioSpecificConfig!");var Mt=gr.data;Ct.audioSampleRate=Mt.samplingRate,Ct.channelCount=Mt.channelCount,Ct.codec=Mt.codec,Ct.originalCodec=Mt.originalCodec,Ct.config=Mt.config,Ct.refSampleDuration=1024/Ct.audioSampleRate*Ct.timescale,d.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",Ct);var rr=this._mediaInfo;rr.audioCodec=Ct.originalCodec,rr.audioSampleRate=Ct.audioSampleRate,rr.audioChannelCount=Ct.channelCount,rr.hasVideo?rr.videoCodec!=null&&(rr.mimeType='video/x-flv; codecs="'+rr.videoCodec+","+rr.audioCodec+'"'):rr.mimeType='video/x-flv; codecs="'+rr.audioCodec+'"',rr.isComplete()&&this._onMediaInfo(rr)}else if(gr.packetType===1){var Dt=this._timestampBase+gt,tr={unit:gr.data,length:gr.data.byteLength,dts:Dt,pts:Dt};mr.samples.push(tr),mr.length+=gr.data.length}else d.e(this.TAG,"Flv: Unsupported AAC data type ".concat(gr.packetType))}else if(Kr===2){if(!Ct.codec){var Dr=this._parseMP3AudioData(Le,ze+1,$e-1,!0);if(Dr==null)return;Ct.audioSampleRate=Dr.samplingRate,Ct.channelCount=Dr.channelCount,Ct.codec=Dr.codec,Ct.originalCodec=Dr.originalCodec,Ct.refSampleDuration=1152/Ct.audioSampleRate*Ct.timescale,d.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Ct);var dr=this._mediaInfo;dr.audioCodec=Ct.codec,dr.audioSampleRate=Ct.audioSampleRate,dr.audioChannelCount=Ct.channelCount,dr.audioDataRate=Dr.bitRate,dr.hasVideo?dr.videoCodec!=null&&(dr.mimeType='video/x-flv; codecs="'+dr.videoCodec+","+dr.audioCodec+'"'):dr.mimeType='video/x-flv; codecs="'+dr.audioCodec+'"',dr.isComplete()&&this._onMediaInfo(dr)}var Tr=this._parseMP3AudioData(Le,ze+1,$e-1,!1);if(Tr==null)return;var vn=this._timestampBase+gt,on={unit:Tr,length:Tr.byteLength,dts:vn,pts:vn};mr.samples.push(on),mr.length+=Tr.length}}},{key:"_parseAACAudioData",value:function(Le,ze,$e){if($e<=1){d.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var gt={},ir=new Uint8Array(Le,ze,$e);return gt.packetType=ir[0],ir[0]===0?gt.data=this._parseAACAudioSpecificConfig(Le,ze+1,$e-1):gt.data=ir.subarray(1),gt}},{key:"_parseAACAudioSpecificConfig",value:function(Le,ze,$e){var gt=new Uint8Array(Le,ze,$e),ir=null,Xt=0,er=0,Kr=null,en=0,Fn=null;if(Xt=er=gt[0]>>>3,en=(gt[0]&7)<<1|gt[1]>>>7,en<0||en>=this._mpegSamplingRates.length){this._onError(Ne.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var ar=this._mpegSamplingRates[en],It=(gt[1]&120)>>>3;if(It<0||It>=8){this._onError(Ne.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}Xt===5&&(Fn=(gt[1]&7)<<1|gt[2]>>>7,Kr=(gt[2]&124)>>>2);var Ct=self.navigator.userAgent.toLowerCase();return Ct.indexOf("firefox")!==-1?en>=6?(Xt=5,ir=new Array(4),Fn=en-3):(Xt=2,ir=new Array(2),Fn=en):Ct.indexOf("android")!==-1?(Xt=2,ir=new Array(2),Fn=en):(Xt=5,Fn=en,ir=new Array(4),en>=6?Fn=en-3:It===1&&(Xt=2,ir=new Array(2),Fn=en)),ir[0]=Xt<<3,ir[0]|=(en&15)>>>1,ir[1]=(en&15)<<7,ir[1]|=(It&15)<<3,Xt===5&&(ir[1]|=(Fn&15)>>>1,ir[2]=(Fn&1)<<7,ir[2]|=2<<2,ir[3]=0),{config:ir,samplingRate:ar,channelCount:It,codec:"mp4a.40."+Xt,originalCodec:"mp4a.40."+er}}},{key:"_parseMP3AudioData",value:function(Le,ze,$e,gt){if($e<4){d.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var ir=this._littleEndian,Xt=new Uint8Array(Le,ze,$e),er=null;if(gt){if(Xt[0]!==255)return;var Kr=Xt[1]>>>3&3,en=(Xt[1]&6)>>1,Fn=(Xt[2]&240)>>>4,ar=(Xt[2]&12)>>>2,It=Xt[3]>>>6&3,Ct=It!==3?2:1,mr=0,gr=0,Mt=34,rr="mp3";switch(Kr){case 0:mr=this._mpegAudioV25SampleRateTable[ar];break;case 2:mr=this._mpegAudioV20SampleRateTable[ar];break;case 3:mr=this._mpegAudioV10SampleRateTable[ar];break}switch(en){case 1:Mt=34,Fn>>4,Kr=Xt&15;if(Kr!==7){this._onError(Ne.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Kr));return}this._parseAVCVideoPacket(Le,ze+1,$e-1,gt,ir,er)}},{key:"_parseAVCVideoPacket",value:function(Le,ze,$e,gt,ir,Xt){if($e<4){d.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var er=this._littleEndian,Kr=new DataView(Le,ze,$e),en=Kr.getUint8(0),Fn=Kr.getUint32(0,!er)&16777215,ar=Fn<<8>>8;if(en===0)this._parseAVCDecoderConfigurationRecord(Le,ze+4,$e-4);else if(en===1)this._parseAVCVideoData(Le,ze+4,$e-4,gt,ir,Xt,ar);else if(!(en===2)){this._onError(Ne.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(en));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(Le,ze,$e){if($e<7){d.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var gt=this._videoMetadata,ir=this._videoTrack,Xt=this._littleEndian,er=new DataView(Le,ze,$e);gt?typeof gt.avcc!="undefined"&&d.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),gt=this._videoMetadata={},gt.type="video",gt.id=ir.id,gt.timescale=this._timescale,gt.duration=this._duration);var Kr=er.getUint8(0),en=er.getUint8(1),Fn=er.getUint8(2),ar=er.getUint8(3);if(Kr!==1||en===0){this._onError(Ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(er.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(Ne.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var It=er.getUint8(5)&31;if(It===0){this._onError(Ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else It>1&&d.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(It));for(var Ct=6,mr=0;mr1&&d.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(Gn));Ct++;for(var di=0;di=$e){d.w(this.TAG,"Malformed Nalu near timestamp ".concat(mr,", offset = ").concat(It,", dataSize = ").concat($e));break}var Mt=en.getUint32(It,!Kr);if(Ct===3&&(Mt>>>=8),Mt>$e-Ct){d.w(this.TAG,"Malformed Nalus near timestamp ".concat(mr,", NaluSize > DataSize!"));return}var rr=en.getUint8(It+Ct)&31;rr===5&&(gr=!0);var Dt=new Uint8Array(Le,ze+It,Ct+Mt),tr={type:rr,data:Dt};Fn.push(tr),ar+=Dt.byteLength,It+=Ct+Mt}if(Fn.length){var Dr=this._videoTrack,dr={units:Fn,length:ar,isKeyframe:gr,dts:mr,cts:er,pts:mr+er};gr&&(dr.fileposition=ir),Dr.samples.push(dr),Dr.length+=ar}}}],[{key:"probe",value:function(Le){var ze=new Uint8Array(Le),$e={match:!1};if(ze[0]!==70||ze[1]!==76||ze[2]!==86||ze[3]!==1)return $e;var gt=(ze[4]&4)>>>2!==0,ir=(ze[4]&1)!==0,Xt=Re(ze,5);return Xt<9?$e:{match:!0,consumed:Xt,dataOffset:Xt,hasAudioTrack:gt,hasVideoTrack:ir}}}]),lt}(),yt=it,pt=function(){function lt(){Object(x.a)(this,lt)}return Object(b.a)(lt,null,[{key:"init",value:function(){lt.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(var Le in lt.types)lt.types.hasOwnProperty(Le)&&(lt.types[Le]=[Le.charCodeAt(0),Le.charCodeAt(1),Le.charCodeAt(2),Le.charCodeAt(3)]);var ze=lt.constants={};ze.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),ze.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),ze.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),ze.STSC=ze.STCO=ze.STTS,ze.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),ze.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),ze.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),ze.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),ze.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),ze.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(Le){for(var ze=8,$e=null,gt=Array.prototype.slice.call(arguments,1),ir=gt.length,Xt=0;Xt>>24&255,$e[1]=ze>>>16&255,$e[2]=ze>>>8&255,$e[3]=ze&255,$e.set(Le,4);for(var er=8,Kr=0;Kr>>24&255,Le>>>16&255,Le>>>8&255,Le&255,ze>>>24&255,ze>>>16&255,ze>>>8&255,ze&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}},{key:"trak",value:function(Le){return lt.box(lt.types.trak,lt.tkhd(Le),lt.mdia(Le))}},{key:"tkhd",value:function(Le){var ze=Le.id,$e=Le.duration,gt=Le.presentWidth,ir=Le.presentHeight;return lt.box(lt.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,ze>>>24&255,ze>>>16&255,ze>>>8&255,ze&255,0,0,0,0,$e>>>24&255,$e>>>16&255,$e>>>8&255,$e&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,gt>>>8&255,gt&255,0,0,ir>>>8&255,ir&255,0,0]))}},{key:"mdia",value:function(Le){return lt.box(lt.types.mdia,lt.mdhd(Le),lt.hdlr(Le),lt.minf(Le))}},{key:"mdhd",value:function(Le){var ze=Le.timescale,$e=Le.duration;return lt.box(lt.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,ze>>>24&255,ze>>>16&255,ze>>>8&255,ze&255,$e>>>24&255,$e>>>16&255,$e>>>8&255,$e&255,85,196,0,0]))}},{key:"hdlr",value:function(Le){var ze=null;return Le.type==="audio"?ze=lt.constants.HDLR_AUDIO:ze=lt.constants.HDLR_VIDEO,lt.box(lt.types.hdlr,ze)}},{key:"minf",value:function(Le){var ze=null;return Le.type==="audio"?ze=lt.box(lt.types.smhd,lt.constants.SMHD):ze=lt.box(lt.types.vmhd,lt.constants.VMHD),lt.box(lt.types.minf,ze,lt.dinf(),lt.stbl(Le))}},{key:"dinf",value:function(){var Le=lt.box(lt.types.dinf,lt.box(lt.types.dref,lt.constants.DREF));return Le}},{key:"stbl",value:function(Le){var ze=lt.box(lt.types.stbl,lt.stsd(Le),lt.box(lt.types.stts,lt.constants.STTS),lt.box(lt.types.stsc,lt.constants.STSC),lt.box(lt.types.stsz,lt.constants.STSZ),lt.box(lt.types.stco,lt.constants.STCO));return ze}},{key:"stsd",value:function(Le){return Le.type==="audio"?Le.codec==="mp3"?lt.box(lt.types.stsd,lt.constants.STSD_PREFIX,lt.mp3(Le)):lt.box(lt.types.stsd,lt.constants.STSD_PREFIX,lt.mp4a(Le)):lt.box(lt.types.stsd,lt.constants.STSD_PREFIX,lt.avc1(Le))}},{key:"mp3",value:function(Le){var ze=Le.channelCount,$e=Le.audioSampleRate,gt=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,ze,0,16,0,0,0,0,$e>>>8&255,$e&255,0,0]);return lt.box(lt.types[".mp3"],gt)}},{key:"mp4a",value:function(Le){var ze=Le.channelCount,$e=Le.audioSampleRate,gt=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,ze,0,16,0,0,0,0,$e>>>8&255,$e&255,0,0]);return lt.box(lt.types.mp4a,gt,lt.esds(Le))}},{key:"esds",value:function(Le){var ze=Le.config||[],$e=ze.length,gt=new Uint8Array([0,0,0,0,3,23+$e,0,1,0,4,15+$e,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([$e]).concat(ze).concat([6,1,2]));return lt.box(lt.types.esds,gt)}},{key:"avc1",value:function(Le){var ze=Le.avcc,$e=Le.codecWidth,gt=Le.codecHeight,ir=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,$e>>>8&255,$e&255,gt>>>8&255,gt&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return lt.box(lt.types.avc1,ir,lt.box(lt.types.avcC,ze))}},{key:"mvex",value:function(Le){return lt.box(lt.types.mvex,lt.trex(Le))}},{key:"trex",value:function(Le){var ze=Le.id,$e=new Uint8Array([0,0,0,0,ze>>>24&255,ze>>>16&255,ze>>>8&255,ze&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return lt.box(lt.types.trex,$e)}},{key:"moof",value:function(Le,ze){return lt.box(lt.types.moof,lt.mfhd(Le.sequenceNumber),lt.traf(Le,ze))}},{key:"mfhd",value:function(Le){var ze=new Uint8Array([0,0,0,0,Le>>>24&255,Le>>>16&255,Le>>>8&255,Le&255]);return lt.box(lt.types.mfhd,ze)}},{key:"traf",value:function(Le,ze){var $e=Le.id,gt=lt.box(lt.types.tfhd,new Uint8Array([0,0,0,0,$e>>>24&255,$e>>>16&255,$e>>>8&255,$e&255])),ir=lt.box(lt.types.tfdt,new Uint8Array([0,0,0,0,ze>>>24&255,ze>>>16&255,ze>>>8&255,ze&255])),Xt=lt.sdtp(Le),er=lt.trun(Le,Xt.byteLength+16+16+8+16+8+8);return lt.box(lt.types.traf,gt,ir,er,Xt)}},{key:"sdtp",value:function(Le){for(var ze=Le.samples||[],$e=ze.length,gt=new Uint8Array(4+$e),ir=0;ir<$e;ir++){var Xt=ze[ir].flags;gt[ir+4]=Xt.isLeading<<6|Xt.dependsOn<<4|Xt.isDependedOn<<2|Xt.hasRedundancy}return lt.box(lt.types.sdtp,gt)}},{key:"trun",value:function(Le,ze){var $e=Le.samples||[],gt=$e.length,ir=12+16*gt,Xt=new Uint8Array(ir);ze+=8+ir,Xt.set([0,0,15,1,gt>>>24&255,gt>>>16&255,gt>>>8&255,gt&255,ze>>>24&255,ze>>>16&255,ze>>>8&255,ze&255],0);for(var er=0;er>>24&255,Kr>>>16&255,Kr>>>8&255,Kr&255,en>>>24&255,en>>>16&255,en>>>8&255,en&255,Fn.isLeading<<2|Fn.dependsOn,Fn.isDependedOn<<6|Fn.hasRedundancy<<4|Fn.isNonSync,0,0,ar>>>24&255,ar>>>16&255,ar>>>8&255,ar&255],12+16*er)}return lt.box(lt.types.trun,Xt)}},{key:"mdat",value:function(Le){return lt.box(lt.types.mdat,Le)}}]),lt}();pt.init();var Pe=pt,Nt=function(){function lt(){Object(x.a)(this,lt)}return Object(b.a)(lt,null,[{key:"getSilentFrame",value:function(Le,ze){if(Le==="mp4a.40.2"){if(ze===1)return new Uint8Array([0,200,0,128,35,128]);if(ze===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(ze===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(ze===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(ze===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(ze===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(ze===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(ze===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(ze===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}]),lt}(),ut=Nt,Ft=function lt(mt,Le,ze,$e,gt){Object(x.a)(this,lt),this.dts=mt,this.pts=Le,this.duration=ze,this.originalDts=$e,this.isSyncPoint=gt,this.fileposition=null},Ut=function(){function lt(){Object(x.a)(this,lt),this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}return Object(b.a)(lt,[{key:"appendSyncPoint",value:function(Le){Le.isSyncPoint=!0,this.syncPoints.push(Le)}}]),lt}(),Kt=function(){function lt(){Object(x.a)(this,lt),this._list=[]}return Object(b.a)(lt,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(Le){var ze=this._list;if(Le.length===0)return;ze.length>0&&Le[0].originalDts=ze[ir].dts&&Leze[gt].lastSample.originalDts&&Le=ze[gt].lastSample.originalDts&&(gt===ze.length-1||gt0&&(ir=this._searchNearestSegmentBefore($e.originalBeginDts)+1),this._lastAppendLocation=ir,this._list.splice(ir,0,$e)}},{key:"getLastSegmentBefore",value:function(Le){var ze=this._searchNearestSegmentBefore(Le);return ze>=0?this._list[ze]:null}},{key:"getLastSampleBefore",value:function(Le){var ze=this.getLastSegmentBefore(Le);return ze!=null?ze.lastSample:null}},{key:"getLastSyncPointBefore",value:function(Le){for(var ze=this._searchNearestSegmentBefore(Le),$e=this._list[ze].syncPoints;$e.length===0&&ze>0;)ze--,$e=this._list[ze].syncPoints;return $e.length>0?$e[$e.length-1]:null}}]),lt}(),or=function(){function lt(mt){Object(x.a)(this,lt),this.TAG="MP4Remuxer",this._config=mt,this._isLive=mt.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=Infinity,this._videoDtsBase=Infinity,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new $t("audio"),this._videoSegmentInfoList=new $t("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(_.chrome&&(_.version.major<50||_.version.major===50&&_.version.build<2661)),this._fillSilentAfterSeek=_.msedge||_.msie,this._mp3UseMpegAudio=!_.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(b.a)(lt,[{key:"destroy",value:function(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}},{key:"bindDataSource",value:function(Le){return Le.onDataAvailable=this.remux.bind(this),Le.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(Le){this._onInitSegment=Le}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(Le){this._onMediaSegment=Le}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(Le){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(Le,ze){if(!this._onMediaSegment)throw new u("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(Le,ze),this._remuxVideo(ze),this._remuxAudio(Le)}},{key:"_onTrackMetadataReceived",value:function(Le,ze){var $e=null,gt="mp4",ir=ze.codec;if(Le==="audio")this._audioMeta=ze,ze.codec==="mp3"&&this._mp3UseMpegAudio?(gt="mpeg",ir="",$e=new Uint8Array):$e=Pe.generateInitSegment(ze);else if(Le==="video")this._videoMeta=ze,$e=Pe.generateInitSegment(ze);else return;if(!this._onInitSegment)throw new u("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(Le,{type:Le,data:$e.buffer,codec:ir,container:"".concat(Le,"/").concat(gt),mediaDuration:ze.duration})}},{key:"_calculateDtsBase",value:function(Le,ze){if(this._dtsBaseInited)return;Le.samples&&Le.samples.length&&(this._audioDtsBase=Le.samples[0].dts),ze.samples&&ze.samples.length&&(this._videoDtsBase=ze.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var Le=this._videoStashedLastSample,ze=this._audioStashedLastSample,$e={type:"video",id:1,sequenceNumber:0,samples:[],length:0};Le!=null&&($e.samples.push(Le),$e.length=Le.length);var gt={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};ze!=null&&(gt.samples.push(ze),gt.length=ze.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo($e,!0),this._remuxAudio(gt,!0)}},{key:"_remuxAudio",value:function(Le,ze){if(this._audioMeta==null)return;var $e=Le,gt=$e.samples,ir=void 0,Xt=-1,er=-1,Kr=-1,en=this._audioMeta.refSampleDuration,Fn=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,ar=this._dtsBaseInited&&this._audioNextDts===void 0,It=!1;if(!gt||gt.length===0)return;if(gt.length===1&&!ze)return;var Ct=0,mr=null,gr=0;Fn?(Ct=0,gr=$e.length):(Ct=8,gr=8+$e.length);var Mt=null;if(gt.length>1&&(Mt=gt.pop(),gr-=Mt.length),this._audioStashedLastSample!=null){var rr=this._audioStashedLastSample;this._audioStashedLastSample=null,gt.unshift(rr),gr+=rr.length}Mt!=null&&(this._audioStashedLastSample=Mt);var Dt=gt[0].dts-this._dtsBase;if(this._audioNextDts)ir=Dt-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())ir=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(It=!0));else{var tr=this._audioSegmentInfoList.getLastSampleBefore(Dt);if(tr!=null){var Dr=Dt-(tr.originalDts+tr.duration);Dr<=3&&(Dr=0);var dr=tr.dts+tr.duration+Dr;ir=Dt-dr}else ir=0}if(It){var Tr=Dt-ir,vn=this._videoSegmentInfoList.getLastSegmentBefore(Dt);if(vn!=null&&vn.beginDts=1?Xe=Ti[Ti.length-1].duration:Xe=Math.floor(en);var nt=!1,ft=null;if(Xe>en*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!_.safari){nt=!0;var Bt=Math.abs(Xe-en),Et=Math.ceil(Bt/en),nr=Me+en;d.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. +`+"dts: ".concat(Me+Xe," ms, expected: ").concat(Me+Math.round(en)," ms, ")+"delta: ".concat(Math.round(Bt)," ms, generate: ").concat(Et," frames"));var Ur=ut.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);Ur==null&&(d.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),Ur=Ta),ft=[];for(var Lr=0;Lr0){var sr=ft[ft.length-1];sr.duration=Vr-sr.dts}var Bn={dts:Vr,pts:Vr,cts:0,unit:Ur,size:Ur.byteLength,duration:0,originalDts:dt,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};ft.push(Bn),gr+=Bn.size,nr+=en}var Er=ft[ft.length-1];Er.duration=Me+Xe-Er.dts,Xe=Math.round(en)}Ti.push({dts:Me,pts:Me,cts:0,unit:la.unit,size:la.unit.byteLength,duration:Xe,originalDts:dt,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),nt&&Ti.push.apply(Ti,ft)}Fn?mr=new Uint8Array(gr):(mr=new Uint8Array(gr),mr[0]=gr>>>24&255,mr[1]=gr>>>16&255,mr[2]=gr>>>8&255,mr[3]=gr&255,mr.set(Pe.types.mdat,4));for(var gn=0;gn1&&(Ct=gt.pop(),It-=Ct.length),this._videoStashedLastSample!=null){var mr=this._videoStashedLastSample;this._videoStashedLastSample=null,gt.unshift(mr),It+=mr.length}Ct!=null&&(this._videoStashedLastSample=Ct);var gr=gt[0].dts-this._dtsBase;if(this._videoNextDts)ir=gr-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())ir=0;else{var Mt=this._videoSegmentInfoList.getLastSampleBefore(gr);if(Mt!=null){var rr=gr-(Mt.originalDts+Mt.duration);rr<=3&&(rr=0);var Dt=Mt.dts+Mt.duration+rr;ir=gr-Dt}else ir=0}for(var tr=new Ut,Dr=[],dr=0;dr=1?Fi=Dr[Dr.length-1].duration:Fi=Math.floor(this._videoMeta.refSampleDuration);if(on){var dt=new Ft(Gn,Ti,Fi,Tr.dts,!0);dt.fileposition=Tr.fileposition,tr.appendSyncPoint(dt)}Dr.push({dts:Gn,pts:Ti,cts:di,units:Tr.units,size:Tr.length,isKeyframe:on,duration:Fi,originalDts:vn,flags:{isLeading:0,dependsOn:on?2:1,isDependedOn:on?1:0,hasRedundancy:0,isNonSync:on?0:1}})}ar=new Uint8Array(It),ar[0]=It>>>24&255,ar[1]=It>>>16&255,ar[2]=It>>>8&255,ar[3]=It&255,ar.set(Pe.types.mdat,4);for(var Me=0;Me0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,ir=this._demuxer.parseChunks(Le,ze);else if((gt=yt.probe(Le)).match){this._demuxer=new yt(gt,this._config),this._remuxer||(this._remuxer=new ht(this._config));var Xt=this._mediaDataSource;Xt.duration!=null&&!isNaN(Xt.duration)&&(this._demuxer.overridedDuration=Xt.duration),typeof Xt.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=Xt.hasAudio),typeof Xt.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=Xt.hasVideo),this._demuxer.timestampBase=Xt.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),ir=this._demuxer.parseChunks(Le,ze)}else gt=null,d.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){$e._internalAbort()}),this._emitter.emit(de.DEMUX_ERROR,Ne.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),ir=0;return ir}},{key:"_onMediaInfo",value:function(Le){var ze=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},Le),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,ge.prototype));var $e=Object.assign({},Le);Object.setPrototypeOf($e,ge.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=$e,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var gt=ze._pendingSeekTime;ze._pendingSeekTime=null,ze.seek(gt)})}},{key:"_onMetaDataArrived",value:function(Le){this._emitter.emit(de.METADATA_ARRIVED,Le)}},{key:"_onScriptDataArrived",value:function(Le){this._emitter.emit(de.SCRIPTDATA_ARRIVED,Le)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(Le){var ze=Le,$e=ze+1;$e0&&$e[0].originalDts===gt&&(gt=$e[0].pts),this._emitter.emit(de.RECOMMEND_SEEKPOINT,gt)}}},{key:"_enableStatisticsReporter",value:function(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}},{key:"_disableStatisticsReporter",value:function(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"_reportSegmentMediaInfo",value:function(Le){var ze=this._mediaInfo.segments[Le],$e=Object.assign({},ze);$e.duration=this._mediaInfo.duration,$e.segmentCount=this._mediaInfo.segmentCount,delete $e.segments,delete $e.keyframesIndex,this._emitter.emit(de.MEDIA_INFO,$e)}},{key:"_reportStatisticsInfo",value:function(){var Le={};Le.url=this._ioctl.currentURL,Le.hasRedirect=this._ioctl.hasRedirect,Le.hasRedirect&&(Le.redirectedURL=this._ioctl.currentRedirectedURL),Le.speed=this._ioctl.currentSpeed,Le.loaderType=this._ioctl.loaderType,Le.currentSegmentIndex=this._currentSegmentIndex,Le.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(de.STATISTICS_INFO,Le)}}]),lt}(),rt=qe,ve=function(mt){var Le="TransmuxingWorker",ze=null,$e=gr.bind(this);f.install(),mt.addEventListener("message",function(Mt){switch(Mt.data.cmd){case"init":ze=new rt(Mt.data.param[0],Mt.data.param[1]),ze.on(de.IO_ERROR,It.bind(this)),ze.on(de.DEMUX_ERROR,Ct.bind(this)),ze.on(de.INIT_SEGMENT,gt.bind(this)),ze.on(de.MEDIA_SEGMENT,ir.bind(this)),ze.on(de.LOADING_COMPLETE,Xt.bind(this)),ze.on(de.RECOVERED_EARLY_EOF,er.bind(this)),ze.on(de.MEDIA_INFO,Kr.bind(this)),ze.on(de.METADATA_ARRIVED,en.bind(this)),ze.on(de.SCRIPTDATA_ARRIVED,Fn.bind(this)),ze.on(de.STATISTICS_INFO,ar.bind(this)),ze.on(de.RECOMMEND_SEEKPOINT,mr.bind(this));break;case"destroy":ze&&(ze.destroy(),ze=null),mt.postMessage({msg:"destroyed"});break;case"start":ze.start();break;case"stop":ze.stop();break;case"seek":ze.seek(Mt.data.param);break;case"pause":ze.pause();break;case"resume":ze.resume();break;case"logging_config":{var rr=Mt.data.param;Se.applyConfig(rr),rr.enableCallback===!0?Se.addLogListener($e):Se.removeLogListener($e);break}}});function gt(Mt,rr){var Dt={msg:de.INIT_SEGMENT,data:{type:Mt,data:rr}};mt.postMessage(Dt,[rr.data])}function ir(Mt,rr){var Dt={msg:de.MEDIA_SEGMENT,data:{type:Mt,data:rr}};mt.postMessage(Dt,[rr.data])}function Xt(){var Mt={msg:de.LOADING_COMPLETE};mt.postMessage(Mt)}function er(){var Mt={msg:de.RECOVERED_EARLY_EOF};mt.postMessage(Mt)}function Kr(Mt){var rr={msg:de.MEDIA_INFO,data:Mt};mt.postMessage(rr)}function en(Mt){var rr={msg:de.METADATA_ARRIVED,data:Mt};mt.postMessage(rr)}function Fn(Mt){var rr={msg:de.SCRIPTDATA_ARRIVED,data:Mt};mt.postMessage(rr)}function ar(Mt){var rr={msg:de.STATISTICS_INFO,data:Mt};mt.postMessage(rr)}function It(Mt,rr){mt.postMessage({msg:de.IO_ERROR,data:{type:Mt,info:rr}})}function Ct(Mt,rr){mt.postMessage({msg:de.DEMUX_ERROR,data:{type:Mt,info:rr}})}function mr(Mt){mt.postMessage({msg:de.RECOMMEND_SEEKPOINT,data:Mt})}function gr(Mt,rr){mt.postMessage({msg:"logcat_callback",data:{type:Mt,logcat:rr}})}},bt=ve,jt=function(){function lt(mt,Le){if(Object(x.a)(this,lt),this.TAG="Transmuxer",this._emitter=new e.a,Le.enableWorker&&typeof Worker!="undefined")try{var ze=l("0r65");this._worker=ze(bt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[mt,Le]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Se.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Se.getConfig()})}catch(gt){d.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new rt(mt,Le)}else this._controller=new rt(mt,Le);if(this._controller){var $e=this._controller;$e.on(de.IO_ERROR,this._onIOError.bind(this)),$e.on(de.DEMUX_ERROR,this._onDemuxError.bind(this)),$e.on(de.INIT_SEGMENT,this._onInitSegment.bind(this)),$e.on(de.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),$e.on(de.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),$e.on(de.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),$e.on(de.MEDIA_INFO,this._onMediaInfo.bind(this)),$e.on(de.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),$e.on(de.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),$e.on(de.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),$e.on(de.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(b.a)(lt,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Se.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Le,ze){this._emitter.addListener(Le,ze)}},{key:"off",value:function(Le,ze){this._emitter.removeListener(Le,ze)}},{key:"hasWorker",value:function(){return this._worker!=null}},{key:"open",value:function(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}},{key:"close",value:function(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}},{key:"seek",value:function(Le){this._worker?this._worker.postMessage({cmd:"seek",param:Le}):this._controller.seek(Le)}},{key:"pause",value:function(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}},{key:"resume",value:function(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}},{key:"_onInitSegment",value:function(Le,ze){var $e=this;Promise.resolve().then(function(){$e._emitter.emit(de.INIT_SEGMENT,Le,ze)})}},{key:"_onMediaSegment",value:function(Le,ze){var $e=this;Promise.resolve().then(function(){$e._emitter.emit(de.MEDIA_SEGMENT,Le,ze)})}},{key:"_onLoadingComplete",value:function(){var Le=this;Promise.resolve().then(function(){Le._emitter.emit(de.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var Le=this;Promise.resolve().then(function(){Le._emitter.emit(de.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(Le){var ze=this;Promise.resolve().then(function(){ze._emitter.emit(de.MEDIA_INFO,Le)})}},{key:"_onMetaDataArrived",value:function(Le){var ze=this;Promise.resolve().then(function(){ze._emitter.emit(de.METADATA_ARRIVED,Le)})}},{key:"_onScriptDataArrived",value:function(Le){var ze=this;Promise.resolve().then(function(){ze._emitter.emit(de.SCRIPTDATA_ARRIVED,Le)})}},{key:"_onStatisticsInfo",value:function(Le){var ze=this;Promise.resolve().then(function(){ze._emitter.emit(de.STATISTICS_INFO,Le)})}},{key:"_onIOError",value:function(Le,ze){var $e=this;Promise.resolve().then(function(){$e._emitter.emit(de.IO_ERROR,Le,ze)})}},{key:"_onDemuxError",value:function(Le,ze){var $e=this;Promise.resolve().then(function(){$e._emitter.emit(de.DEMUX_ERROR,Le,ze)})}},{key:"_onRecommendSeekpoint",value:function(Le){var ze=this;Promise.resolve().then(function(){ze._emitter.emit(de.RECOMMEND_SEEKPOINT,Le)})}},{key:"_onLoggingConfigChanged",value:function(Le){this._worker&&this._worker.postMessage({cmd:"logging_config",param:Le})}},{key:"_onWorkerMessage",value:function(Le){var ze=Le.data,$e=ze.data;if(ze.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(ze.msg){case de.INIT_SEGMENT:case de.MEDIA_SEGMENT:this._emitter.emit(ze.msg,$e.type,$e.data);break;case de.LOADING_COMPLETE:case de.RECOVERED_EARLY_EOF:this._emitter.emit(ze.msg);break;case de.MEDIA_INFO:Object.setPrototypeOf($e,ge.prototype),this._emitter.emit(ze.msg,$e);break;case de.METADATA_ARRIVED:case de.SCRIPTDATA_ARRIVED:case de.STATISTICS_INFO:this._emitter.emit(ze.msg,$e);break;case de.IO_ERROR:case de.DEMUX_ERROR:this._emitter.emit(ze.msg,$e.type,$e.info);break;case de.RECOMMEND_SEEKPOINT:this._emitter.emit(ze.msg,$e);break;case"logcat_callback":d.emitter.emit("log",$e.type,$e.logcat);break;default:break}}}]),lt}(),He=jt,kt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},Ar=kt,at=function(){function lt(mt){Object(x.a)(this,lt),this.TAG="MSEController",this._config=mt,this._emitter=new e.a,this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new Kt}return Object(b.a)(lt,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Le,ze){this._emitter.addListener(Le,ze)}},{key:"off",value:function(Le,ze){this._emitter.removeListener(Le,ze)}},{key:"attachMediaElement",value:function(Le){if(this._mediaSource)throw new u("MediaSource has been attached to an HTMLMediaElement!");var ze=this._mediaSource=new window.MediaSource;ze.addEventListener("sourceopen",this.e.onSourceOpen),ze.addEventListener("sourceended",this.e.onSourceEnded),ze.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=Le,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),Le.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var Le=this._mediaSource;for(var ze in this._sourceBuffers){var $e=this._pendingSegments[ze];$e.splice(0,$e.length),this._pendingSegments[ze]=null,this._pendingRemoveRanges[ze]=null,this._lastInitSegments[ze]=null;var gt=this._sourceBuffers[ze];if(gt){if(Le.readyState!=="closed"){try{Le.removeSourceBuffer(gt)}catch(ir){d.e(this.TAG,ir.message)}gt.removeEventListener("error",this.e.onSourceBufferError),gt.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[ze]=null,this._sourceBuffers[ze]=null}}if(Le.readyState==="open")try{Le.endOfStream()}catch(ir){d.e(this.TAG,ir.message)}Le.removeEventListener("sourceopen",this.e.onSourceOpen),Le.removeEventListener("sourceended",this.e.onSourceEnded),Le.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}},{key:"appendInitSegment",value:function(Le,ze){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(Le),this._pendingSegments[Le.type].push(Le);return}var $e=Le,gt="".concat($e.container);$e.codec&&$e.codec.length>0&&(gt+=";codecs=".concat($e.codec));var ir=!1;if(d.v(this.TAG,"Received Initialization Segment, mimeType: "+gt),this._lastInitSegments[$e.type]=$e,gt!==this._mimeTypes[$e.type]){if(this._mimeTypes[$e.type])d.v(this.TAG,"Notice: ".concat($e.type," mimeType changed, origin: ").concat(this._mimeTypes[$e.type],", target: ").concat(gt));else{ir=!0;try{var Xt=this._sourceBuffers[$e.type]=this._mediaSource.addSourceBuffer(gt);Xt.addEventListener("error",this.e.onSourceBufferError),Xt.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(er){d.e(this.TAG,er.message),this._emitter.emit(Ar.ERROR,{code:er.code,msg:er.message});return}}this._mimeTypes[$e.type]=gt}ze||this._pendingSegments[$e.type].push($e),ir||this._sourceBuffers[$e.type]&&!this._sourceBuffers[$e.type].updating&&this._doAppendSegments(),_.safari&&$e.container==="audio/mpeg"&&$e.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=$e.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(Le){var ze=Le;this._pendingSegments[ze.type].push(ze),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var $e=this._sourceBuffers[ze.type];$e&&!$e.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(Le){for(var ze in this._sourceBuffers){if(!this._sourceBuffers[ze])continue;var $e=this._sourceBuffers[ze];if(this._mediaSource.readyState==="open")try{$e.abort()}catch(en){d.e(this.TAG,en.message)}this._idrList.clear();var gt=this._pendingSegments[ze];if(gt.splice(0,gt.length),this._mediaSource.readyState==="closed")continue;for(var ir=0;ir<$e.buffered.length;ir++){var Xt=$e.buffered.start(ir),er=$e.buffered.end(ir);this._pendingRemoveRanges[ze].push({start:Xt,end:er})}if($e.updating||this._doRemoveRanges(),_.safari){var Kr=this._lastInitSegments[ze];Kr&&(this._pendingSegments[ze].push(Kr),$e.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var Le=this._mediaSource,ze=this._sourceBuffers;if(!Le||Le.readyState!=="open"){Le&&Le.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}ze.video&&ze.video.updating||ze.audio&&ze.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,Le.endOfStream())}},{key:"getNearestKeyframe",value:function(Le){return this._idrList.getLastSyncPointBeforeDts(Le)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var Le=this._mediaElement.currentTime;for(var ze in this._sourceBuffers){var $e=this._sourceBuffers[ze];if($e){var gt=$e.buffered;if(gt.length>=1&&Le-gt.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var Le=this._mediaElement.currentTime;for(var ze in this._sourceBuffers){var $e=this._sourceBuffers[ze];if($e){for(var gt=$e.buffered,ir=!1,Xt=0;Xt=this._config.autoCleanupMaxBackwardDuration){ir=!0;var en=Le-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[ze].push({start:er,end:en})}}else Kr0&&(isNaN(ze)||$e>ze)&&(d.v(this.TAG,"Update MediaSource duration from ".concat(ze," to ").concat($e)),this._mediaSource.duration=$e),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var Le in this._pendingRemoveRanges){if(!this._sourceBuffers[Le]||this._sourceBuffers[Le].updating)continue;for(var ze=this._sourceBuffers[Le],$e=this._pendingRemoveRanges[Le];$e.length&&!ze.updating;){var gt=$e.shift();ze.remove(gt.start,gt.end)}}}},{key:"_doAppendSegments",value:function(){var Le=this._pendingSegments;for(var ze in Le){if(!this._sourceBuffers[ze]||this._sourceBuffers[ze].updating)continue;if(Le[ze].length>0){var $e=Le[ze].shift();if($e.timestampOffset){var gt=this._sourceBuffers[ze].timestampOffset,ir=$e.timestampOffset/1e3,Xt=Math.abs(gt-ir);Xt>.1&&(d.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(gt," to ").concat(ir)),this._sourceBuffers[ze].timestampOffset=ir),delete $e.timestampOffset}if(!$e.data||$e.data.byteLength===0)continue;try{this._sourceBuffers[ze].appendBuffer($e.data),this._isBufferFull=!1,ze==="video"&&$e.hasOwnProperty("info")&&this._idrList.appendArray($e.info.syncPoints)}catch(er){this._pendingSegments[ze].unshift($e),er.code===22?(this._isBufferFull||this._emitter.emit(Ar.BUFFER_FULL),this._isBufferFull=!0):(d.e(this.TAG,er.message),this._emitter.emit(Ar.ERROR,{code:er.code,msg:er.message}))}}}}},{key:"_onSourceOpen",value:function(){if(d.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var Le=this._pendingSourceBufferInit;Le.length;){var ze=Le.shift();this.appendInitSegment(ze,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(Ar.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){d.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){d.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}},{key:"_hasPendingSegments",value:function(){var Le=this._pendingSegments;return Le.video.length>0||Le.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var Le=this._pendingRemoveRanges;return Le.video.length>0||Le.audio.length>0}},{key:"_onSourceBufferUpdateEnd",value:function(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(Ar.UPDATE_END)}},{key:"_onSourceBufferError",value:function(Le){d.e(this.TAG,"SourceBuffer Error: ".concat(Le))}}]),lt}(),Ht=at,Wt={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},ot={NETWORK_EXCEPTION:p.EXCEPTION,NETWORK_STATUS_CODE_INVALID:p.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:p.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:p.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:Ne.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:Ne.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:Ne.CODEC_UNSUPPORTED},et=function(){function lt(mt,Le){if(Object(x.a)(this,lt),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new e.a,this._config=q(),typeof Le=="object"&&Object.assign(this._config,Le),mt.type.toLowerCase()!=="flv")throw new r("FlvPlayer requires an flv MediaDataSource input!");mt.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=mt,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;var ze=_.chrome&&(_.version.major<50||_.version.major===50&&_.version.build<2661);this._alwaysSeekKeyframe=!!(ze||_.msedge||_.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(b.a)(lt,[{key:"destroy",value:function(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Le,ze){var $e=this;Le===fe.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){$e._emitter.emit(fe.MEDIA_INFO,$e.mediaInfo)}):Le===fe.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){$e._emitter.emit(fe.STATISTICS_INFO,$e.statisticsInfo)})),this._emitter.addListener(Le,ze)}},{key:"off",value:function(Le,ze){this._emitter.removeListener(Le,ze)}},{key:"attachMediaElement",value:function(Le){var ze=this;if(this._mediaElement=Le,Le.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),Le.addEventListener("seeking",this.e.onvSeeking),Le.addEventListener("canplay",this.e.onvCanPlay),Le.addEventListener("stalled",this.e.onvStalled),Le.addEventListener("progress",this.e.onvProgress),this._msectl=new Ht(this._config),this._msectl.on(Ar.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(Ar.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(Ar.SOURCE_OPEN,function(){ze._mseSourceOpened=!0,ze._hasPendingLoad&&(ze._hasPendingLoad=!1,ze.load())}),this._msectl.on(Ar.ERROR,function($e){ze._emitter.emit(fe.ERROR,Wt.MEDIA_ERROR,ot.MEDIA_MSE_ERROR,$e)}),this._msectl.attachMediaElement(Le),this._pendingSeekTime!=null)try{Le.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch($e){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}},{key:"load",value:function(){var Le=this;if(!this._mediaElement)throw new u("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new u("FlvPlayer.load() has been called, please call unload() first!");if(this._hasPendingLoad)return;if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new He(this._mediaDataSource,this._config),this._transmuxer.on(de.INIT_SEGMENT,function(ze,$e){Le._msectl.appendInitSegment($e)}),this._transmuxer.on(de.MEDIA_SEGMENT,function(ze,$e){if(Le._msectl.appendMediaSegment($e),Le._config.lazyLoad&&!Le._config.isLive){var gt=Le._mediaElement.currentTime;$e.info.endDts>=(gt+Le._config.lazyLoadMaxDuration)*1e3&&(Le._progressChecker==null&&(d.v(Le.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),Le._suspendTransmuxer()))}}),this._transmuxer.on(de.LOADING_COMPLETE,function(){Le._msectl.endOfStream(),Le._emitter.emit(fe.LOADING_COMPLETE)}),this._transmuxer.on(de.RECOVERED_EARLY_EOF,function(){Le._emitter.emit(fe.RECOVERED_EARLY_EOF)}),this._transmuxer.on(de.IO_ERROR,function(ze,$e){Le._emitter.emit(fe.ERROR,Wt.NETWORK_ERROR,ze,$e)}),this._transmuxer.on(de.DEMUX_ERROR,function(ze,$e){Le._emitter.emit(fe.ERROR,Wt.MEDIA_ERROR,ze,{code:-1,msg:$e})}),this._transmuxer.on(de.MEDIA_INFO,function(ze){Le._mediaInfo=ze,Le._emitter.emit(fe.MEDIA_INFO,Object.assign({},ze))}),this._transmuxer.on(de.METADATA_ARRIVED,function(ze){Le._emitter.emit(fe.METADATA_ARRIVED,ze)}),this._transmuxer.on(de.SCRIPTDATA_ARRIVED,function(ze){Le._emitter.emit(fe.SCRIPTDATA_ARRIVED,ze)}),this._transmuxer.on(de.STATISTICS_INFO,function(ze){Le._statisticsInfo=Le._fillStatisticsInfo(ze),Le._emitter.emit(fe.STATISTICS_INFO,Object.assign({},Le._statisticsInfo))}),this._transmuxer.on(de.RECOMMEND_SEEKPOINT,function(ze){Le._mediaElement&&!Le._config.accurateSeek&&(Le._requestSetTime=!0,Le._mediaElement.currentTime=ze/1e3)}),this._transmuxer.open()}},{key:"unload",value:function(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(Le){this._mediaElement.volume=Le}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(Le){this._mediaElement.muted=Le}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(Le){this._mediaElement?this._internalSeek(Le):this._pendingSeekTime=Le}},{key:"mediaInfo",get:function(){return Object.assign({},this._mediaInfo)}},{key:"statisticsInfo",get:function(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}},{key:"_fillStatisticsInfo",value:function(Le){if(Le.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return Le;var ze=!0,$e=0,gt=0;if(this._mediaElement.getVideoPlaybackQuality){var ir=this._mediaElement.getVideoPlaybackQuality();$e=ir.totalVideoFrames,gt=ir.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?($e=this._mediaElement.webkitDecodedFrameCount,gt=this._mediaElement.webkitDroppedFrameCount):ze=!1;return ze&&(Le.decodedFrames=$e,Le.droppedFrames=gt),Le}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var Le=this._mediaElement.buffered,ze=this._mediaElement.currentTime,$e=0,gt=0,ir=0;ir=ze+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(d.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){d.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}},{key:"_suspendTransmuxer",value:function(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}},{key:"_checkProgressAndResume",value:function(){for(var Le=this._mediaElement.currentTime,ze=this._mediaElement.buffered,$e=!1,gt=0;gt=ir&&Le=Xt-this._config.lazyLoadRecoverDuration&&($e=!0);break}}$e&&(window.clearInterval(this._progressChecker),this._progressChecker=null,$e&&(d.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(Le){for(var ze=this._mediaElement.buffered,$e=0;$e=gt&&Le0){var ir=this._mediaElement.buffered.start(0);(ir<1&&Le0&&ze.currentTime<$e.start(0)&&(d.w(this.TAG,"Playback seems stuck at ".concat(ze.currentTime,", seek to ").concat($e.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=$e.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(Le){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(Le){var ze=this._mediaElement.currentTime,$e=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(ze<1&&$e.length>0){var gt=$e.start(0);if(gt<1&&ze0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}},{key:"unload",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(Le){this._mediaElement.volume=Le}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(Le){this._mediaElement.muted=Le}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(Le){this._mediaElement?this._mediaElement.currentTime=Le:this._pendingSeekTime=Le}},{key:"mediaInfo",get:function(){var Le=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",ze={mimeType:Le+this._mediaDataSource.type};return this._mediaElement&&(ze.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(ze.width=this._mediaElement.videoWidth,ze.height=this._mediaElement.videoHeight)),ze}},{key:"statisticsInfo",get:function(){var Le={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return Le;var ze=!0,$e=0,gt=0;if(this._mediaElement.getVideoPlaybackQuality){var ir=this._mediaElement.getVideoPlaybackQuality();$e=ir.totalVideoFrames,gt=ir.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?($e=this._mediaElement.webkitDecodedFrameCount,gt=this._mediaElement.webkitDroppedFrameCount):ze=!1;return ze&&(Le.decodedFrames=$e,Le.droppedFrames=gt),Le}},{key:"_onvLoadedMetadata",value:function(Le){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(fe.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(fe.STATISTICS_INFO,this.statisticsInfo)}}]),lt}(),yr=Gt;f.install();function br(lt,mt){var Le=lt;if(Le==null||typeof Le!="object")throw new r("MediaDataSource must be an javascript object!");if(!Le.hasOwnProperty("type"))throw new r("MediaDataSource must has type field to indicate video file type!");switch(Le.type){case"flv":return new Ze(Le,mt);default:return new yr(Le,mt)}}function Sr(){return ce.supportMSEH264Playback()}function Tn(){return ce.getFeatureList()}var cn={};cn.createPlayer=br,cn.isSupported=Sr,cn.getFeatureList=Tn,cn.BaseLoader=g,cn.LoaderStatus=h,cn.LoaderErrors=p,cn.Events=fe,cn.ErrorTypes=Wt,cn.ErrorDetails=ot,cn.FlvPlayer=Ze,cn.NativePlayer=yr,cn.LoggingControl=Se,Object.defineProperty(cn,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var Wn=R.a=cn},GVMX:function(j,R,l){var x=l("JEkh"),b=x.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});j.exports=b},GdRQ:function(j,R,l){"use strict";function x(_){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(C){return typeof C}:x=function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},x(_)}Object.defineProperty(R,"__esModule",{value:!0}),R.isMac=h,R.isWindows=p,R.isIOS=g,R.isSafari=v,R.isIE=y,R.isEdge=w,R.isFirefox=S,R.hasScrollbarGutter=R.supportsImageMetadata=R.supportsCursorURIs=R.dragThreshold=R.isTouchDevice=void 0;var b=f(l("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var _=new WeakMap;return A=function(){return _},_}function f(_){if(_&&_.__esModule)return _;if(_===null||x(_)!=="object"&&typeof _!="function")return{default:_};var I=A();if(I&&I.has(_))return I.get(_);var C={},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in _)if(Object.prototype.hasOwnProperty.call(_,O)){var M=E?Object.getOwnPropertyDescriptor(_,O):null;M&&(M.get||M.set)?Object.defineProperty(C,O,M):C[O]=_[O]}return C.default=_,I&&I.set(_,C),C}var t="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;R.isTouchDevice=t,window.addEventListener("touchstart",function _(){R.isTouchDevice=t=!0,window.removeEventListener("touchstart",_,!1)},!1);var e=10*(window.devicePixelRatio||1);R.dragThreshold=e;var m=!1;try{var d=document.createElement("canvas");d.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',d.style.cursor.indexOf("url")===0?(b.Info("Data URI scheme cursor supported"),m=!0):b.Warn("Data URI scheme cursor not supported")}catch(_){b.Error("Data URI scheme cursor test exception: "+_)}var a=m;R.supportsCursorURIs=a;var n=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),n=!0}catch(_){}var s=n;R.supportsImageMetadata=s;var c=!0;try{var i=document.createElement("div");i.style.visibility="hidden",i.style.overflow="scroll",document.body.appendChild(i);var u=document.createElement("div");i.appendChild(u);var r=i.offsetWidth-u.offsetWidth;i.parentNode.removeChild(i),c=r!=0}catch(_){b.Error("Scrollbar test exception: "+_)}var o=c;R.hasScrollbarGutter=o;function h(){return navigator&&!!/mac/i.exec(navigator.platform)}function p(){return navigator&&!!/win/i.exec(navigator.platform)}function g(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function v(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function y(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function w(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function S(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(j,R,l){var x=l("bYtY"),b=l("6Ic6"),A=l("IwbS"),f=l("y+Vt"),t=l("sK/D"),e=t.createClipPath,m=["itemStyle"],d=["emphasis","itemStyle"],a=["color","color0","borderColor","borderColor0"],n=b.extend({type:"candlestick",render:function(v,y,w){this.group.removeClipPath(),this._updateDrawMode(v),this._isLargeDraw?this._renderLarge(v):this._renderNormal(v)},incrementalPrepareRender:function(v,y,w){this._clear(),this._updateDrawMode(v)},incrementalRender:function(v,y,w,S){this._isLargeDraw?this._incrementalRenderLarge(v,y):this._incrementalRenderNormal(v,y)},_updateDrawMode:function(v){var y=v.pipelineContext.large;(this._isLargeDraw==null||y^this._isLargeDraw)&&(this._isLargeDraw=y,this._clear())},_renderNormal:function(v){var y=v.getData(),w=this._data,S=this.group,_=y.getLayout("isSimpleBox"),I=v.get("clip",!0),C=v.coordinateSystem,E=C.getArea&&C.getArea();this._data||S.removeAll(),y.diff(w).add(function(O){if(y.hasValue(O)){var M,F=y.getItemLayout(O);if(I&&i(E,F))return;M=c(F,O,!0),A.initProps(M,{shape:{points:F.ends}},v,O),u(M,y,O,_),S.add(M),y.setItemGraphicEl(O,M)}}).update(function(O,M){var F=w.getItemGraphicEl(M);if(!y.hasValue(O)){S.remove(F);return}var H=y.getItemLayout(O);if(I&&i(E,H)){S.remove(F);return}F?A.updateProps(F,{shape:{points:H.ends}},v,O):F=c(H,O),u(F,y,O,_),S.add(F),y.setItemGraphicEl(O,F)}).remove(function(O){var M=w.getItemGraphicEl(O);M&&S.remove(M)}).execute(),this._data=y},_renderLarge:function(v){this._clear(),h(v,this.group);var y=v.get("clip",!0)?e(v.coordinateSystem,!1,v):null;y?this.group.setClipPath(y):this.group.removeClipPath()},_incrementalRenderNormal:function(v,y){for(var w=y.getData(),S=w.getLayout("isSimpleBox"),_;(_=v.next())!=null;){var I,C=w.getItemLayout(_);I=c(C,_),u(I,w,_,S),I.incremental=!0,this.group.add(I)}},_incrementalRenderLarge:function(v,y){h(y,this.group,!0)},remove:function(v){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:x.noop}),s=f.extend({type:"normalCandlestickBox",shape:{},buildPath:function(v,y){var w=y.points;this.__simpleBox?(v.moveTo(w[4][0],w[4][1]),v.lineTo(w[6][0],w[6][1])):(v.moveTo(w[0][0],w[0][1]),v.lineTo(w[1][0],w[1][1]),v.lineTo(w[2][0],w[2][1]),v.lineTo(w[3][0],w[3][1]),v.closePath(),v.moveTo(w[4][0],w[4][1]),v.lineTo(w[5][0],w[5][1]),v.moveTo(w[6][0],w[6][1]),v.lineTo(w[7][0],w[7][1]))}});function c(v,y,w){var S=v.ends;return new s({shape:{points:w?r(S,v):S},z2:100})}function i(v,y){for(var w=!0,S=0;S0?"P":"N",I=S.getVisual("borderColor"+_)||S.getVisual("color"+_),C=w.getModel(m).getItemStyle(a);y.useStyle(C),y.style.fill=null,y.style.stroke=I}var g=n;j.exports=g},Gev7:function(j,R,l){var x=l("bYtY"),b=l("K2GJ"),A=l("1bdT"),f=l("ni6a");function t(m){m=m||{},A.call(this,m);for(var d in m)m.hasOwnProperty(d)&&d!=="style"&&(this[d]=m[d]);this.style=new b(m.style,this),this._rect=null,this.__clipPaths=null}t.prototype={constructor:t,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(d){},afterBrush:function(d){},brush:function(d,a){},getBoundingRect:function(){},contain:function(d,a){return this.rectContain(d,a)},traverse:function(d,a){d.call(a,this)},rectContain:function(d,a){var n=this.transformCoordToLocal(d,a),s=this.getBoundingRect();return s.contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(d){return this.animate("style",d)},attrKV:function(d,a){d!=="style"?A.prototype.attrKV.call(this,d,a):this.style.set(a)},setStyle:function(d,a){return this.style.set(d,a),this.dirty(!1),this},useStyle:function(d){return this.style=new b(d,this),this.dirty(!1),this},calculateTextPosition:null},x.inherits(t,A),x.mixin(t,f);var e=t;j.exports=e},GrNh:function(j,R,l){var x=l("bYtY"),b=l("IwbS"),A=l("6Ic6");function f(n,s,c,i){var u=s.getData(),r=this.dataIndex,o=u.getName(r),h=s.get("selectedOffset");i.dispatchAction({type:"pieToggleSelect",from:n,name:o,seriesId:s.id}),u.each(function(p){t(u.getItemGraphicEl(p),u.getItemLayout(p),s.isSelected(u.getName(p)),h,c)})}function t(n,s,c,i,u){var r=(s.startAngle+s.endAngle)/2,o=Math.cos(r),h=Math.sin(r),p=c?i:0,g=[o*p,h*p];u?n.animate().when(200,{position:g}).start("bounceOut"):n.attr("position",g)}function e(n,s){b.Group.call(this);var c=new b.Sector({z2:2}),i=new b.Polyline,u=new b.Text;this.add(c),this.add(i),this.add(u),this.updateData(n,s,!0)}var m=e.prototype;m.updateData=function(n,s,c){var i=this.childAt(0),u=this.childAt(1),r=this.childAt(2),o=n.hostModel,h=n.getItemModel(s),p=n.getItemLayout(s),g=x.extend({},p);g.label=null;var v=o.getShallow("animationTypeUpdate");if(c){i.setShape(g);var y=o.getShallow("animationType");y==="scale"?(i.shape.r=p.r0,b.initProps(i,{shape:{r:p.r}},o,s)):(i.shape.endAngle=p.startAngle,b.updateProps(i,{shape:{endAngle:p.endAngle}},o,s))}else v==="expansion"?i.setShape(g):b.updateProps(i,{shape:g},o,s);var w=n.getItemVisual(s,"color");i.useStyle(x.defaults({lineJoin:"bevel",fill:w},h.getModel("itemStyle").getItemStyle())),i.hoverStyle=h.getModel("emphasis.itemStyle").getItemStyle();var S=h.getShallow("cursor");S&&i.attr("cursor",S),t(this,n.getItemLayout(s),o.isSelected(n.getName(s)),o.get("selectedOffset"),o.get("animation"));var _=!c&&v==="transition";this._updateLabel(n,s,_),this.highDownOnUpdate=o.get("silent")?null:function(I,C){var E=o.isAnimationEnabled()&&h.get("hoverAnimation");C==="emphasis"?(u.ignore=u.hoverIgnore,r.ignore=r.hoverIgnore,E&&(i.stopAnimation(!0),i.animateTo({shape:{r:p.r+o.get("hoverOffset")}},300,"elasticOut"))):(u.ignore=u.normalIgnore,r.ignore=r.normalIgnore,E&&(i.stopAnimation(!0),i.animateTo({shape:{r:p.r}},300,"elasticOut")))},b.setHoverStyle(this)},m._updateLabel=function(n,s,c){var i=this.childAt(1),u=this.childAt(2),r=n.hostModel,o=n.getItemModel(s),h=n.getItemLayout(s),p=h.label,g=n.getItemVisual(s,"color");if(!p||isNaN(p.x)||isNaN(p.y)){u.ignore=u.normalIgnore=u.hoverIgnore=i.ignore=i.normalIgnore=i.hoverIgnore=!0;return}var v={points:p.linePoints||[[p.x,p.y],[p.x,p.y],[p.x,p.y]]},y={x:p.x,y:p.y};c?(b.updateProps(i,{shape:v},r,s),b.updateProps(u,{style:y},r,s)):(i.attr({shape:v}),u.attr({style:y})),u.attr({rotation:p.rotation,origin:[p.x,p.y],z2:10});var w=o.getModel("label"),S=o.getModel("emphasis.label"),_=o.getModel("labelLine"),I=o.getModel("emphasis.labelLine"),g=n.getItemVisual(s,"color");b.setLabelStyle(u.style,u.hoverStyle={},w,S,{labelFetcher:n.hostModel,labelDataIndex:s,defaultText:p.text,autoColor:g,useInsideStyle:!!p.inside},{textAlign:p.textAlign,textVerticalAlign:p.verticalAlign,opacity:n.getItemVisual(s,"opacity")}),u.ignore=u.normalIgnore=!w.get("show"),u.hoverIgnore=!S.get("show"),i.ignore=i.normalIgnore=!_.get("show"),i.hoverIgnore=!I.get("show"),i.setStyle({stroke:g,opacity:n.getItemVisual(s,"opacity")}),i.setStyle(_.getModel("lineStyle").getLineStyle()),i.hoverStyle=I.getModel("lineStyle").getLineStyle();var C=_.get("smooth");C&&C===!0&&(C=.4),i.setShape({smooth:C})},x.inherits(e,b.Group);var d=A.extend({type:"pie",init:function(){var n=new b.Group;this._sectorGroup=n},render:function(n,s,c,i){if(i&&i.from===this.uid)return;var u=n.getData(),r=this._data,o=this.group,h=s.get("animation"),p=!r,g=n.get("animationType"),v=n.get("animationTypeUpdate"),y=x.curry(f,this.uid,n,h,c),w=n.get("selectedMode");if(u.diff(r).add(function(E){var O=new e(u,E);p&&g!=="scale"&&O.eachChild(function(M){M.stopAnimation(!0)}),w&&O.on("click",y),u.setItemGraphicEl(E,O),o.add(O)}).update(function(E,O){var M=r.getItemGraphicEl(O);!p&&v!=="transition"&&M.eachChild(function(F){F.stopAnimation(!0)}),M.updateData(u,E),M.off("click"),w&&M.on("click",y),o.add(M),u.setItemGraphicEl(E,M)}).remove(function(E){var O=r.getItemGraphicEl(E);o.remove(O)}).execute(),h&&u.count()>0&&(p?g!=="scale":v!=="transition")){for(var S=u.getItemLayout(0),_=1;isNaN(S.startAngle)&&_=i.r0}}}),a=d;j.exports=a},Gytx:function(j,R){j.exports=function(x,b,A,f){var t=A?A.call(f,x,b):void 0;if(t!==void 0)return!!t;if(x===b)return!0;if(typeof x!="object"||!x||typeof b!="object"||!b)return!1;var e=Object.keys(x),m=Object.keys(b);if(e.length!==m.length)return!1;for(var d=Object.prototype.hasOwnProperty.bind(b),a=0;a=fe&&reSe?"true":"false","aria-posinset":Se+1,"aria-setsize":ke,tabIndex:ce?-1:0},f.a.createElement("div",{className:"".concat(ie,"-first")},Be),f.a.createElement("div",{className:"".concat(ie,"-second")},Be)));return xe&&(ee=xe(ee,this.props)),ee}}]),W}(f.a.Component);function y(K,z){var W=Object.keys(K);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(K);z&&(P=P.filter(function(G){return Object.getOwnPropertyDescriptor(K,G).enumerable})),W.push.apply(W,P)}return W}function w(K){for(var z=1;z0&&!ke||re===u.a.RIGHT&&ge>0&&ke?(fe?ge-=.5:ge-=1,G.changeValue(ge),q.preventDefault()):re===u.a.LEFT&&geke/2||!ie&&V-Se3&&(a=l.call(a,1));for(var s=m.length,c=0;c4&&(a=l.call(a,1,a.length-1));for(var s=a[a.length-1],c=m.length,i=0;i0)throw new Error("Invalid string. Length must be a multiple of 4");var o=u.indexOf("=");o===-1&&(o=r);var h=o===r?0:4-o%4;return[o,h]}function d(u){var r=m(u),o=r[0],h=r[1];return(o+h)*3/4-h}function a(u,r,o){return(r+o)*3/4-o}function n(u){var r,o=m(u),h=o[0],p=o[1],g=new A(a(u,h,p)),v=0,y=p>0?h-4:h,w;for(w=0;w>16&255,g[v++]=r>>8&255,g[v++]=r&255;return p===2&&(r=b[u.charCodeAt(w)]<<2|b[u.charCodeAt(w+1)]>>4,g[v++]=r&255),p===1&&(r=b[u.charCodeAt(w)]<<10|b[u.charCodeAt(w+1)]<<4|b[u.charCodeAt(w+2)]>>2,g[v++]=r>>8&255,g[v++]=r&255),g}function s(u){return x[u>>18&63]+x[u>>12&63]+x[u>>6&63]+x[u&63]}function c(u,r,o){for(var h,p=[],g=r;gy?y:v+g));return h===1?(r=u[o-1],p.push(x[r>>2]+x[r<<4&63]+"==")):h===2&&(r=(u[o-2]<<8)+u[o-1],p.push(x[r>>10]+x[r>>4&63]+x[r<<2&63]+"=")),p.join("")}},HBhm:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};R.default=x},HDXh:function(j,R,l){"use strict";(function(x){/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT -*/var b=l("H7XF"),A=l("kVK+"),f=l("v3Qx");R.Buffer=d,R.SlowBuffer=p,R.INSPECT_MAX_BYTES=50,d.TYPED_ARRAY_SUPPORT=x.TYPED_ARRAY_SUPPORT!==void 0?x.TYPED_ARRAY_SUPPORT:t(),R.kMaxLength=e();function t(){try{var ae=new Uint8Array(1);return ae.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},ae.foo()===42&&typeof ae.subarray=="function"&&ae.subarray(1,1).byteLength===0}catch(Z){return!1}}function e(){return d.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function m(ae,Z){if(e()=e())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+e().toString(16)+" bytes");return ae|0}function p(ae){return+ae!=ae&&(ae=0),d.alloc(+ae)}d.isBuffer=function(Z){return!!(Z!=null&&Z._isBuffer)},d.compare=function(Z,Y){if(!d.isBuffer(Z)||!d.isBuffer(Y))throw new TypeError("Arguments must be Buffers");if(Z===Y)return 0;for(var te=Z.length,we=Y.length,pe=0,De=Math.min(te,we);pe>>1;case"base64":return ee(ae).length;default:if(te)return ke(ae).length;Z=(""+Z).toLowerCase(),te=!0}}d.byteLength=g;function v(ae,Z,Y){var te=!1;if((Z===void 0||Z<0)&&(Z=0),Z>this.length)return"";if((Y===void 0||Y>this.length)&&(Y=this.length),Y<=0)return"";if(Y>>>=0,Z>>>=0,Y<=Z)return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return W(this,Z,Y);case"utf8":case"utf-8":return H(this,Z,Y);case"ascii":return J(this,Z,Y);case"latin1":case"binary":return k(this,Z,Y);case"base64":return F(this,Z,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,Z,Y);default:if(te)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),te=!0}}d.prototype._isBuffer=!0;function y(ae,Z,Y){var te=ae[Z];ae[Z]=ae[Y],ae[Y]=te}d.prototype.swap16=function(){var Z=this.length;if(Z%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Y=0;Y0&&(Z=this.toString("hex",0,Y).match(/.{2}/g).join(" "),this.length>Y&&(Z+=" ... ")),""},d.prototype.compare=function(Z,Y,te,we,pe){if(!d.isBuffer(Z))throw new TypeError("Argument must be a Buffer");if(Y===void 0&&(Y=0),te===void 0&&(te=Z?Z.length:0),we===void 0&&(we=0),pe===void 0&&(pe=this.length),Y<0||te>Z.length||we<0||pe>this.length)throw new RangeError("out of range index");if(we>=pe&&Y>=te)return 0;if(we>=pe)return-1;if(Y>=te)return 1;if(Y>>>=0,te>>>=0,we>>>=0,pe>>>=0,this===Z)return 0;for(var De=pe-we,Ne=te-Y,me=Math.min(De,Ne),be=this.slice(we,pe),Re=Z.slice(Y,te),it=0;it2147483647?Y=2147483647:Y<-2147483648&&(Y=-2147483648),Y=+Y,isNaN(Y)&&(Y=we?0:ae.length-1),Y<0&&(Y=ae.length+Y),Y>=ae.length){if(we)return-1;Y=ae.length-1}else if(Y<0)if(we)Y=0;else return-1;if(typeof Z=="string"&&(Z=d.from(Z,te)),d.isBuffer(Z))return Z.length===0?-1:S(ae,Z,Y,te,we);if(typeof Z=="number")return Z=Z&255,d.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?we?Uint8Array.prototype.indexOf.call(ae,Z,Y):Uint8Array.prototype.lastIndexOf.call(ae,Z,Y):S(ae,[Z],Y,te,we);throw new TypeError("val must be string, number or Buffer")}function S(ae,Z,Y,te,we){var pe=1,De=ae.length,Ne=Z.length;if(te!==void 0&&(te=String(te).toLowerCase(),te==="ucs2"||te==="ucs-2"||te==="utf16le"||te==="utf-16le")){if(ae.length<2||Z.length<2)return-1;pe=2,De/=2,Ne/=2,Y/=2}function me(pt,Pe){return pe===1?pt[Pe]:pt.readUInt16BE(Pe*pe)}var be;if(we){var Re=-1;for(be=Y;beDe&&(Y=De-Ne),be=Y;be>=0;be--){for(var it=!0,yt=0;ytwe&&(te=we)):te=we;var pe=Z.length;if(pe%2!==0)throw new TypeError("Invalid hex string");te>pe/2&&(te=pe/2);for(var De=0;Depe)&&(te=pe),Z.length>0&&(te<0||Y<0)||Y>this.length)throw new RangeError("Attempt to write outside buffer bounds");we||(we="utf8");for(var De=!1;;)switch(we){case"hex":return _(this,Z,Y,te);case"utf8":case"utf-8":return I(this,Z,Y,te);case"ascii":return C(this,Z,Y,te);case"latin1":case"binary":return E(this,Z,Y,te);case"base64":return O(this,Z,Y,te);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,Z,Y,te);default:if(De)throw new TypeError("Unknown encoding: "+we);we=(""+we).toLowerCase(),De=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(ae,Z,Y){return Z===0&&Y===ae.length?b.fromByteArray(ae):b.fromByteArray(ae.slice(Z,Y))}function H(ae,Z,Y){Y=Math.min(ae.length,Y);for(var te=[],we=Z;we239?4:pe>223?3:pe>191?2:1;if(we+Ne<=Y){var me,be,Re,it;switch(Ne){case 1:pe<128&&(De=pe);break;case 2:me=ae[we+1],(me&192)===128&&(it=(pe&31)<<6|me&63,it>127&&(De=it));break;case 3:me=ae[we+1],be=ae[we+2],(me&192)===128&&(be&192)===128&&(it=(pe&15)<<12|(me&63)<<6|be&63,it>2047&&(it<55296||it>57343)&&(De=it));break;case 4:me=ae[we+1],be=ae[we+2],Re=ae[we+3],(me&192)===128&&(be&192)===128&&(Re&192)===128&&(it=(pe&15)<<18|(me&63)<<12|(be&63)<<6|Re&63,it>65535&&it<1114112&&(De=it))}}De===null?(De=65533,Ne=1):De>65535&&(De-=65536,te.push(De>>>10&1023|55296),De=56320|De&1023),te.push(De),we+=Ne}return X(te)}var B=4096;function X(ae){var Z=ae.length;if(Z<=B)return String.fromCharCode.apply(String,ae);for(var Y="",te=0;tete)&&(Y=te);for(var we="",pe=Z;pete&&(Z=te),Y<0?(Y+=te,Y<0&&(Y=0)):Y>te&&(Y=te),YY)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUIntLE=function(Z,Y,te){Z=Z|0,Y=Y|0,te||K(Z,Y,this.length);for(var we=this[Z],pe=1,De=0;++De0&&(pe*=256);)we+=this[Z+--Y]*pe;return we},d.prototype.readUInt8=function(Z,Y){return Y||K(Z,1,this.length),this[Z]},d.prototype.readUInt16LE=function(Z,Y){return Y||K(Z,2,this.length),this[Z]|this[Z+1]<<8},d.prototype.readUInt16BE=function(Z,Y){return Y||K(Z,2,this.length),this[Z]<<8|this[Z+1]},d.prototype.readUInt32LE=function(Z,Y){return Y||K(Z,4,this.length),(this[Z]|this[Z+1]<<8|this[Z+2]<<16)+this[Z+3]*16777216},d.prototype.readUInt32BE=function(Z,Y){return Y||K(Z,4,this.length),this[Z]*16777216+(this[Z+1]<<16|this[Z+2]<<8|this[Z+3])},d.prototype.readIntLE=function(Z,Y,te){Z=Z|0,Y=Y|0,te||K(Z,Y,this.length);for(var we=this[Z],pe=1,De=0;++De=pe&&(we-=Math.pow(2,8*Y)),we},d.prototype.readIntBE=function(Z,Y,te){Z=Z|0,Y=Y|0,te||K(Z,Y,this.length);for(var we=Y,pe=1,De=this[Z+--we];we>0&&(pe*=256);)De+=this[Z+--we]*pe;return pe*=128,De>=pe&&(De-=Math.pow(2,8*Y)),De},d.prototype.readInt8=function(Z,Y){return Y||K(Z,1,this.length),this[Z]&128?(255-this[Z]+1)*-1:this[Z]},d.prototype.readInt16LE=function(Z,Y){Y||K(Z,2,this.length);var te=this[Z]|this[Z+1]<<8;return te&32768?te|4294901760:te},d.prototype.readInt16BE=function(Z,Y){Y||K(Z,2,this.length);var te=this[Z+1]|this[Z]<<8;return te&32768?te|4294901760:te},d.prototype.readInt32LE=function(Z,Y){return Y||K(Z,4,this.length),this[Z]|this[Z+1]<<8|this[Z+2]<<16|this[Z+3]<<24},d.prototype.readInt32BE=function(Z,Y){return Y||K(Z,4,this.length),this[Z]<<24|this[Z+1]<<16|this[Z+2]<<8|this[Z+3]},d.prototype.readFloatLE=function(Z,Y){return Y||K(Z,4,this.length),A.read(this,Z,!0,23,4)},d.prototype.readFloatBE=function(Z,Y){return Y||K(Z,4,this.length),A.read(this,Z,!1,23,4)},d.prototype.readDoubleLE=function(Z,Y){return Y||K(Z,8,this.length),A.read(this,Z,!0,52,8)},d.prototype.readDoubleBE=function(Z,Y){return Y||K(Z,8,this.length),A.read(this,Z,!1,52,8)};function P(ae,Z,Y,te,we,pe){if(!d.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(Z>we||Zae.length)throw new RangeError("Index out of range")}d.prototype.writeUIntLE=function(Z,Y,te,we){if(Z=+Z,Y=Y|0,te=te|0,!we){var pe=Math.pow(2,8*te)-1;P(this,Z,Y,te,pe,0)}var De=1,Ne=0;for(this[Y]=Z&255;++Ne=0&&(Ne*=256);)this[Y+De]=Z/Ne&255;return Y+te},d.prototype.writeUInt8=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,1,255,0),d.TYPED_ARRAY_SUPPORT||(Z=Math.floor(Z)),this[Y]=Z&255,Y+1};function G(ae,Z,Y,te){Z<0&&(Z=65535+Z+1);for(var we=0,pe=Math.min(ae.length-Y,2);we>>(te?we:1-we)*8}d.prototype.writeUInt16LE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,2,65535,0),d.TYPED_ARRAY_SUPPORT?(this[Y]=Z&255,this[Y+1]=Z>>>8):G(this,Z,Y,!0),Y+2},d.prototype.writeUInt16BE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,2,65535,0),d.TYPED_ARRAY_SUPPORT?(this[Y]=Z>>>8,this[Y+1]=Z&255):G(this,Z,Y,!1),Y+2};function V(ae,Z,Y,te){Z<0&&(Z=4294967295+Z+1);for(var we=0,pe=Math.min(ae.length-Y,4);we>>(te?we:3-we)*8&255}d.prototype.writeUInt32LE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,4,4294967295,0),d.TYPED_ARRAY_SUPPORT?(this[Y+3]=Z>>>24,this[Y+2]=Z>>>16,this[Y+1]=Z>>>8,this[Y]=Z&255):V(this,Z,Y,!0),Y+4},d.prototype.writeUInt32BE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,4,4294967295,0),d.TYPED_ARRAY_SUPPORT?(this[Y]=Z>>>24,this[Y+1]=Z>>>16,this[Y+2]=Z>>>8,this[Y+3]=Z&255):V(this,Z,Y,!1),Y+4},d.prototype.writeIntLE=function(Z,Y,te,we){if(Z=+Z,Y=Y|0,!we){var pe=Math.pow(2,8*te-1);P(this,Z,Y,te,pe-1,-pe)}var De=0,Ne=1,me=0;for(this[Y]=Z&255;++De>0)-me&255;return Y+te},d.prototype.writeIntBE=function(Z,Y,te,we){if(Z=+Z,Y=Y|0,!we){var pe=Math.pow(2,8*te-1);P(this,Z,Y,te,pe-1,-pe)}var De=te-1,Ne=1,me=0;for(this[Y+De]=Z&255;--De>=0&&(Ne*=256);)Z<0&&me===0&&this[Y+De+1]!==0&&(me=1),this[Y+De]=(Z/Ne>>0)-me&255;return Y+te},d.prototype.writeInt8=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,1,127,-128),d.TYPED_ARRAY_SUPPORT||(Z=Math.floor(Z)),Z<0&&(Z=255+Z+1),this[Y]=Z&255,Y+1},d.prototype.writeInt16LE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,2,32767,-32768),d.TYPED_ARRAY_SUPPORT?(this[Y]=Z&255,this[Y+1]=Z>>>8):G(this,Z,Y,!0),Y+2},d.prototype.writeInt16BE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,2,32767,-32768),d.TYPED_ARRAY_SUPPORT?(this[Y]=Z>>>8,this[Y+1]=Z&255):G(this,Z,Y,!1),Y+2},d.prototype.writeInt32LE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,4,2147483647,-2147483648),d.TYPED_ARRAY_SUPPORT?(this[Y]=Z&255,this[Y+1]=Z>>>8,this[Y+2]=Z>>>16,this[Y+3]=Z>>>24):V(this,Z,Y,!0),Y+4},d.prototype.writeInt32BE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,4,2147483647,-2147483648),Z<0&&(Z=4294967295+Z+1),d.TYPED_ARRAY_SUPPORT?(this[Y]=Z>>>24,this[Y+1]=Z>>>16,this[Y+2]=Z>>>8,this[Y+3]=Z&255):V(this,Z,Y,!1),Y+4};function q(ae,Z,Y,te,we,pe){if(Y+te>ae.length)throw new RangeError("Index out of range");if(Y<0)throw new RangeError("Index out of range")}function re(ae,Z,Y,te,we){return we||q(ae,Z,Y,4,34028234663852886e22,-34028234663852886e22),A.write(ae,Z,Y,te,23,4),Y+4}d.prototype.writeFloatLE=function(Z,Y,te){return re(this,Z,Y,!0,te)},d.prototype.writeFloatBE=function(Z,Y,te){return re(this,Z,Y,!1,te)};function ce(ae,Z,Y,te,we){return we||q(ae,Z,Y,8,17976931348623157e292,-17976931348623157e292),A.write(ae,Z,Y,te,52,8),Y+8}d.prototype.writeDoubleLE=function(Z,Y,te){return ce(this,Z,Y,!0,te)},d.prototype.writeDoubleBE=function(Z,Y,te){return ce(this,Z,Y,!1,te)},d.prototype.copy=function(Z,Y,te,we){if(te||(te=0),!we&&we!==0&&(we=this.length),Y>=Z.length&&(Y=Z.length),Y||(Y=0),we>0&&we=this.length)throw new RangeError("sourceStart out of bounds");if(we<0)throw new RangeError("sourceEnd out of bounds");we>this.length&&(we=this.length),Z.length-Y=0;--De)Z[De+Y]=this[De+te];else if(pe<1e3||!d.TYPED_ARRAY_SUPPORT)for(De=0;De>>0,te=te===void 0?this.length:te>>>0,Z||(Z=0);var De;if(typeof Z=="number")for(De=Y;De55295&&Y<57344){if(!we){if(Y>56319){(Z-=3)>-1&&pe.push(239,191,189);continue}else if(De+1===te){(Z-=3)>-1&&pe.push(239,191,189);continue}we=Y;continue}if(Y<56320){(Z-=3)>-1&&pe.push(239,191,189),we=Y;continue}Y=(we-55296<<10|Y-56320)+65536}else we&&((Z-=3)>-1&&pe.push(239,191,189));if(we=null,Y<128){if((Z-=1)<0)break;pe.push(Y)}else if(Y<2048){if((Z-=2)<0)break;pe.push(Y>>6|192,Y&63|128)}else if(Y<65536){if((Z-=3)<0)break;pe.push(Y>>12|224,Y>>6&63|128,Y&63|128)}else if(Y<1114112){if((Z-=4)<0)break;pe.push(Y>>18|240,Y>>12&63|128,Y>>6&63|128,Y&63|128)}else throw new Error("Invalid code point")}return pe}function ge(ae){for(var Z=[],Y=0;Y>8,we=Y%256,pe.push(we),pe.push(te);return pe}function ee(ae){return b.toByteArray(fe(ae))}function ue(ae,Z,Y,te){for(var we=0;we=Z.length||we>=ae.length);++we)Z[we+Y]=ae[we];return we}function Ge(ae){return ae!==ae}}).call(this,l("yLpj"))},"HF/U":function(j,R,l){var x=l("QBsz");function b(f){var t=f.coordinateSystem;if(t&&t.type!=="view")return;var e=f.getGraph();e.eachNode(function(m){var d=m.getModel();m.setLayout([+d.get("x"),+d.get("y")])}),A(e)}function A(f){f.eachEdge(function(t){var e=t.getModel().get("lineStyle.curveness")||0,m=x.clone(t.node1.getLayout()),d=x.clone(t.node2.getLayout()),a=[m,d];+e&&a.push([(m[0]+d[0])/2-(m[1]-d[1])*e,(m[1]+d[1])/2-(d[0]-m[0])*e]),t.setLayout(a)})}R.simpleLayout=b,R.simpleLayoutEdge=A},"HM/N":function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("bYtY"),f=l("/SeX"),t=l("OELB"),e=t.parsePercent,m=l("aX7z"),d=m.createScaleByModel,a=m.niceScaleExtent,n=l("IDmD"),s=l("7hqr"),c=s.getStackedDimension;l("ePAk");function i(h,p,g){var v=p.get("center"),y=g.getWidth(),w=g.getHeight();h.cx=e(v[0],y),h.cy=e(v[1],w);var S=h.getRadiusAxis(),_=Math.min(y,w)/2,I=p.get("radius");I==null?I=[0,"100%"]:A.isArray(I)||(I=[0,I]),I=[e(I[0],_),e(I[1],_)],S.inverse?S.setExtent(I[1],I[0]):S.setExtent(I[0],I[1])}function u(h,p){var g=this,v=g.getAngleAxis(),y=g.getRadiusAxis();if(v.scale.setExtent(Infinity,-Infinity),y.scale.setExtent(Infinity,-Infinity),h.eachSeries(function(_){if(_.coordinateSystem===g){var I=_.getData();A.each(I.mapDimension("radius",!0),function(C){y.scale.unionExtentFromData(I,c(I,C))}),A.each(I.mapDimension("angle",!0),function(C){v.scale.unionExtentFromData(I,c(I,C))})}}),a(v.scale,v.model),a(y.scale,y.model),v.type==="category"&&!v.onBand){var w=v.getExtent(),S=360/v.scale.count();v.inverse?w[1]+=S:w[1]-=S,v.setExtent(w[0],w[1])}}function r(h,p){if(h.type=p.get("type"),h.scale=d(p),h.onBand=p.get("boundaryGap")&&h.type==="category",h.inverse=p.get("inverse"),p.mainType==="angleAxis"){h.inverse^=p.get("clockwise");var g=p.get("startAngle");h.setExtent(g,g+(h.inverse?-360:360))}p.axis=h,h.model=p}var o={dimensions:f.prototype.dimensions,create:function(h,p){var g=[];return h.eachComponent("polar",function(v,y){var w=new f(y);w.update=u;var S=w.getRadiusAxis(),_=w.getAngleAxis(),I=v.findAxisModel("radiusAxis"),C=v.findAxisModel("angleAxis");r(S,I),r(_,C),i(w,v,p),g.push(w),v.coordinateSystem=w,w.model=v}),h.eachSeries(function(v){if(v.get("coordinateSystem")==="polar"){var y=h.queryComponents({mainType:"polar",index:v.get("polarIndex"),id:v.get("polarId")})[0];v.coordinateSystem=y.coordinateSystem}}),g}};n.register("polar",o)},HQEm:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("Sj0X"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},HjIi:function(j,R,l){var x=l("bYtY"),b=l("OELB"),A=b.parsePercent,f=l("7hqr"),t=f.isDimensionStacked;function e(s){return s.get("stack")||"__ec_stack_"+s.seriesIndex}function m(s,c){return c.dim+s.model.componentIndex}function d(s,c,i){var u={},r=a(x.filter(c.getSeriesByType(s),function(o){return!c.isSeriesFiltered(o)&&o.coordinateSystem&&o.coordinateSystem.type==="polar"}));c.eachSeriesByType(s,function(o){if(o.coordinateSystem.type!=="polar")return;var h=o.getData(),p=o.coordinateSystem,g=p.getBaseAxis(),v=m(p,g),y=e(o),w=r[v][y],S=w.offset,_=w.width,I=p.getOtherAxis(g),C=o.coordinateSystem.cx,E=o.coordinateSystem.cy,O=o.get("barMinHeight")||0,M=o.get("barMinAngle")||0;u[y]=u[y]||[];for(var F=h.mapDimension(I.dim),H=h.mapDimension(g.dim),B=t(h,F),X=g.dim!=="radius"||!o.get("roundCap",!0),J=I.getExtent()[0],k=0,W=h.count();k=0?"p":"n",G=J;B&&(u[y][K]||(u[y][K]={p:J,n:J}),G=u[y][K][P]);var V,q,re,ce;if(I.dim==="radius"){var ie=I.dataToRadius(z)-J,fe=g.dataToAngle(K);Math.abs(ie)=m/3?1:2),s=f.y-e(a)*d*(d>=m/3?1:2);a=f.angle-Math.PI/2,A.moveTo(n,s),A.lineTo(f.x+t(a)*d,f.y+e(a)*d),A.lineTo(f.x+t(f.angle)*m,f.y+e(f.angle)*m),A.lineTo(f.x-t(a)*d,f.y-e(a)*d),A.lineTo(n,s);return}});j.exports=b},Hxpc:function(j,R,l){var x=l("bYtY"),b=l("4NO4"),A=l("bLfw"),f=l("Qxkt"),t=l("cCMj"),e=l("7uqq"),m=A.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(a){A.prototype.init.apply(this,arguments),b.defaultEmphasis(a,"label",["show"])},optionUpdated:function(){var a=this.option,n=this;a.regions=e.getFilledRegions(a.regions,a.map,a.nameMap),this._optionModelMap=x.reduce(a.regions||[],function(s,c){return c.name&&s.set(c.name,new f(c,n)),s},x.createHashMap()),this.updateSelectedMap(a.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(a){return this._optionModelMap.get(a)||new f(null,this,this.ecModel)},getFormattedLabel:function(a,n){var s=this.getRegionModel(a),c=s.get("label"+(n==="normal"?".":n+".")+"formatter"),i={name:a};if(typeof c=="function")return i.status=n,c(i);if(typeof c=="string")return c.replace("{a}",a!=null?a:"")},setZoom:function(a){this.option.zoom=a},setCenter:function(a){this.option.center=a}});x.mixin(m,t);var d=m;j.exports=d},"I+77":function(j,R,l){var x=l("ProS");l("h54F"),l("lwQL"),l("10cm");var b=l("Z1r0"),A=l("f5Yq"),f=l("KUOm"),t=l("3m61"),e=l("01d+"),m=l("rdor"),d=l("WGYa"),a=l("ewwo");x.registerProcessor(b),x.registerVisual(A("graph","circle",null)),x.registerVisual(f),x.registerVisual(t),x.registerLayout(e),x.registerLayout(x.PRIORITY.VISUAL.POST_CHART_LAYOUT,m),x.registerLayout(d),x.registerCoordinateSystem("graphView",{create:a})},"I+Bx":function(j,R,l){var x=l("bYtY"),b=l("eIcI"),A=l("ieMj"),f=l("OELB"),t=l("aX7z"),e=t.getScaleExtent,m=t.niceScaleExtent,d=l("IDmD"),a=l("jCoz");function n(c,i,u){this._model=c,this.dimensions=[],this._indicatorAxes=x.map(c.getIndicatorModels(),function(r,o){var h="indicator_"+o,p=new b(h,r.get("axisType")==="log"?new a:new A);return p.name=r.get("name"),p.model=r,r.axis=p,this.dimensions.push(h),p},this),this.resize(c,u),this.cx,this.cy,this.r,this.r0,this.startAngle}n.prototype.getIndicatorAxes=function(){return this._indicatorAxes},n.prototype.dataToPoint=function(c,i){var u=this._indicatorAxes[i];return this.coordToPoint(u.dataToCoord(c),i)},n.prototype.coordToPoint=function(c,i){var u=this._indicatorAxes[i],r=u.angle,o=this.cx+c*Math.cos(r),h=this.cy-c*Math.sin(r);return[o,h]},n.prototype.pointToData=function(c){var i=c[0]-this.cx,u=c[1]-this.cy,r=Math.sqrt(i*i+u*u);i/=r,u/=r;for(var o=Math.atan2(-u,i),h=Infinity,p,g=-1,v=0;vv[0]&&isFinite(E)&&isFinite(v[0]))}else{var O=w.getTicks().length-1;O>o&&(I=h(I));var C=Math.ceil(v[1]/I)*I,E=f.round(C-I*o);w.setExtent(E,C),w.setInterval(I)}})},n.dimensions=[],n.create=function(c,i){var u=[];return c.eachComponent("radar",function(r){var o=new n(r,c,i);u.push(o),r.coordinateSystem=o}),c.eachSeriesByType("radar",function(r){r.get("coordinateSystem")==="radar"&&(r.coordinateSystem=u[r.get("radarIndex")||0])}),u},d.register("radar",n);var s=n;j.exports=s},"I3/A":function(j,R,l){var x=l("bYtY"),b=l("YXkt"),A=l("c2i1"),f=l("Mdki"),t=l("sdST"),e=l("IDmD"),m=l("MwEJ");function d(a,n,s,c,i){for(var u=new A(c),r=0;r "+y)),p++)}var w=s.get("coordinateSystem"),S;if(w==="cartesian2d"||w==="polar")S=m(a,s);else{var _=e.get(w),I=_&&_.type!=="view"?_.dimensions||[]:[];x.indexOf(I,"value")<0&&I.concat(["value"]);var C=t(a,{coordDimensions:I});S=new b(C,s),S.initData(a)}var E=new b(["value"],s);return E.initData(h,o),i&&i(S,E),f({mainData:S,struct:u,structAttr:"graph",datas:{node:S,edge:E},datasAttr:{node:"data",edge:"edgeData"}}),u.update(),u}j.exports=d},I8Z2:function(j,R,l){"use strict";l.d(R,"a",function(){return f}),l.d(R,"b",function(){return i}),l.d(R,"c",function(){return r});var x=l("q1tI"),b=function(){var o=function(p,g){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,y){v.__proto__=y}||function(v,y){for(var w in y)y.hasOwnProperty(w)&&(v[w]=y[w])},o(p,g)};return function(h,p){o(h,p);function g(){this.constructor=h}h.prototype=p===null?Object.create(p):(g.prototype=p.prototype,new g)}}(),A=x.createContext(null),f=function(o){b(h,o);function h(){return o!==null&&o.apply(this,arguments)||this}return h.prototype.render=function(){return x.createElement(A.Provider,{value:this.props.store},this.props.children)},h}(x.Component),t=l("Gytx"),e=l.n(t),m=l("2mql"),d=l.n(m),a=function(){var o=function(p,g){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,y){v.__proto__=y}||function(v,y){for(var w in y)y.hasOwnProperty(w)&&(v[w]=y[w])},o(p,g)};return function(h,p){o(h,p);function g(){this.constructor=h}h.prototype=p===null?Object.create(p):(g.prototype=p.prototype,new g)}}(),n=function(){return n=Object.assign||function(o){for(var h,p=1,g=arguments.length;pthis._ux||h(S-this._yi)>this._uy||this._len<5;return this.addData(m.L,w,S),this._ctx&&_&&(this._needsDash()?this._dashedLineTo(w,S):this._ctx.lineTo(w,S)),_&&(this._xi=w,this._yi=S),this},bezierCurveTo:function(w,S,_,I,C,E){return this.addData(m.C,w,S,_,I,C,E),this._ctx&&(this._needsDash()?this._dashedBezierTo(w,S,_,I,C,E):this._ctx.bezierCurveTo(w,S,_,I,C,E)),this._xi=C,this._yi=E,this},quadraticCurveTo:function(w,S,_,I){return this.addData(m.Q,w,S,_,I),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(w,S,_,I):this._ctx.quadraticCurveTo(w,S,_,I)),this._xi=_,this._yi=I,this},arc:function(w,S,_,I,C,E){return this.addData(m.A,w,S,_,_,I,C-I,0,E?0:1),this._ctx&&this._ctx.arc(w,S,_,I,C,E),this._xi=u(C)*_+w,this._yi=r(C)*_+S,this},arcTo:function(w,S,_,I,C){return this._ctx&&this._ctx.arcTo(w,S,_,I,C),this},rect:function(w,S,_,I){return this._ctx&&this._ctx.rect(w,S,_,I),this.addData(m.R,w,S,_,I),this},closePath:function(){this.addData(m.Z);var w=this._ctx,S=this._x0,_=this._y0;return w&&(this._needsDash()&&this._dashedLineTo(S,_),w.closePath()),this._xi=S,this._yi=_,this},fill:function(w){w&&w.fill(),this.toStatic()},stroke:function(w){w&&w.stroke(),this.toStatic()},setLineDash:function(w){if(w instanceof Array){this._lineDash=w,this._dashIdx=0;for(var S=0,_=0;_S.length&&(this._expandData(),S=this.data);for(var _=0;_0&&X<=w||F<0&&X>=w||F===0&&(H>0&&J<=S||H<0&&J>=S);){if(z=this._dashIdx,k=C[z],X+=F*k,J+=H*k,this._dashIdx=(z+1)%W,F>0&&XO||H>0&&JM)continue;E[z%2?"moveTo":"lineTo"](F>=0?c(X,w):i(X,w),H>=0?c(J,S):i(J,S))}F=X-w,H=J-S,this._dashOffset=-o(F*F+H*H)},_dashedBezierTo:function(w,S,_,I,C,E){var O=this._dashSum,M=this._dashOffset,F=this._lineDash,H=this._ctx,B=this._xi,X=this._yi,J,k,W,z=x.cubicAt,K=0,P=this._dashIdx,G=F.length,V,q,re=0;for(M<0&&(M=O+M),M%=O,J=0;J<1;J+=.1)k=z(B,w,_,C,J+.1)-z(B,w,_,C,J),W=z(X,S,I,E,J+.1)-z(X,S,I,E,J),K+=o(k*k+W*W);for(;PM);P++);for(J=(re-M)/K;J<=1;)V=z(B,w,_,C,J),q=z(X,S,I,E,J),P%2?H.moveTo(V,q):H.lineTo(V,q),J+=F[P]/K,P=(P+1)%G;P%2!==0&&H.lineTo(C,E),k=C-V,W=E-q,this._dashOffset=-o(k*k+W*W)},_dashedQuadraticTo:function(w,S,_,I){var C=_,E=I;_=(_+2*w)/3,I=(I+2*S)/3,w=(this._xi+2*w)/3,S=(this._yi+2*S)/3,this._dashedBezierTo(w,S,_,I,C,E)},toStatic:function(){var w=this.data;w instanceof Array&&(w.length=this._len,p&&(this.data=new Float32Array(w)))},getBoundingRect:function(){d[0]=d[1]=n[0]=n[1]=Number.MAX_VALUE,a[0]=a[1]=s[0]=s[1]=-Number.MAX_VALUE;for(var w=this.data,S=0,_=0,I=0,C=0,E=0;EF||h(M-E)>H||X===B-1)&&(w.lineTo(O,M),C=O,E=M);break;case m.C:w.bezierCurveTo(S[X++],S[X++],S[X++],S[X++],S[X++],S[X++]),C=S[X-2],E=S[X-1];break;case m.Q:w.quadraticCurveTo(S[X++],S[X++],S[X++],S[X++]),C=S[X-2],E=S[X-1];break;case m.A:var k=S[X++],W=S[X++],z=S[X++],K=S[X++],P=S[X++],G=S[X++],V=S[X++],q=S[X++],re=z>K?z:K,ce=z>K?1:z/K,ie=z>K?K/z:1,fe=Math.abs(z-K)>.001,xe=P+G;fe?(w.translate(k,W),w.rotate(V),w.scale(ce,ie),w.arc(0,0,re,P,xe,1-q),w.scale(1/ce,1/ie),w.rotate(-V),w.translate(-k,-W)):w.arc(k,W,re,P,xe,1-q),X===1&&(_=u(P)*z+k,I=r(P)*K+W),C=u(xe)*z+k,E=r(xe)*K+W;break;case m.R:_=C=S[X],I=E=S[X+1],w.rect(S[X++],S[X++],S[X++],S[X++]);break;case m.Z:w.closePath(),C=_,E=I}}}},g.CMD=m;var v=g;j.exports=v},IUWy:function(j,R){var l={};function x(A,f){l[A]=f}function b(A){return l[A]}R.register=x,R.get=b},IWNH:function(j,R,l){var x=l("T4UG"),b=l("Bsck"),A=l("7aKB"),f=A.encodeHTML,t=l("Qxkt"),e=x.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(m){var d={name:m.name,children:m.data},a=m.leaves||{},n=new t(a,this,this.ecModel),s=b.createTree(d,this,{},c);function c(o){o.wrapMethod("getItemModel",function(h,p){var g=s.getNodeByDataIndex(p);return(!g.children.length||!g.isExpand)&&(h.parentModel=n),h})}var i=0;s.eachNode("preorder",function(o){o.depth>i&&(i=o.depth)});var u=m.expandAndCollapse,r=u&&m.initialTreeDepth>=0?m.initialTreeDepth:i;return s.root.eachNode("preorder",function(o){var h=o.hostTree.data.getRawDataItem(o.dataIndex);o.isExpand=h&&h.collapsed!=null?!h.collapsed:o.depth<=r}),s.data},getOrient:function(){var m=this.get("orient");return m==="horizontal"?m="LR":m==="vertical"&&(m="TB"),m},setZoom:function(m){this.option.zoom=m},setCenter:function(m){this.option.center=m},formatTooltip:function(m){for(var d=this.getData().tree,a=d.root.children[0],n=d.getNodeByDataIndex(m),s=n.getValue(),c=n.name;n&&n!==a;)c=n.parentNode.name+"."+c,n=n.parentNode;return f(c+(isNaN(s)||s==null?"":" : "+s))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});j.exports=e},IWp7:function(j,R,l){var x=l("bYtY"),b=l("OELB"),A=l("7aKB"),f=l("lE7J"),t=l("ieMj"),e=t.prototype,m=Math.ceil,d=Math.floor,a=1e3,n=a*60,s=n*60,c=s*24,i=function(h,p,g,v){for(;g>>1;h[y][1]g&&(w=g);var S=r.length,_=i(r,w,0,S),I=r[Math.min(_,S-1)],C=I[1];if(I[0]==="year"){var E=y/C,O=b.nice(E/h,!0);C*=O}var M=this.getSetting("useUTC")?0:new Date(+v[0]||+v[1]).getTimezoneOffset()*60*1e3,F=[Math.round(m((v[0]-M)/C)*C+M),Math.round(d((v[1]-M)/C)*C+M)];f.fixExtent(F,v),this._stepLvl=I,this._interval=C,this._niceExtent=F},parse:function(h){return+b.parseDate(h)}});x.each(["contain","normalize"],function(h){u.prototype[h]=function(p){return e[h].call(this,this.parse(p))}});var r=[["hh:mm:ss",a],["hh:mm:ss",a*5],["hh:mm:ss",a*10],["hh:mm:ss",a*15],["hh:mm:ss",a*30],[`hh:mm +*/var b=l("H7XF"),A=l("kVK+"),f=l("v3Qx");R.Buffer=d,R.SlowBuffer=p,R.INSPECT_MAX_BYTES=50,d.TYPED_ARRAY_SUPPORT=x.TYPED_ARRAY_SUPPORT!==void 0?x.TYPED_ARRAY_SUPPORT:t(),R.kMaxLength=e();function t(){try{var ae=new Uint8Array(1);return ae.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},ae.foo()===42&&typeof ae.subarray=="function"&&ae.subarray(1,1).byteLength===0}catch(Z){return!1}}function e(){return d.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function m(ae,Z){if(e()=e())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+e().toString(16)+" bytes");return ae|0}function p(ae){return+ae!=ae&&(ae=0),d.alloc(+ae)}d.isBuffer=function(Z){return!!(Z!=null&&Z._isBuffer)},d.compare=function(Z,Y){if(!d.isBuffer(Z)||!d.isBuffer(Y))throw new TypeError("Arguments must be Buffers");if(Z===Y)return 0;for(var te=Z.length,we=Y.length,pe=0,De=Math.min(te,we);pe>>1;case"base64":return ee(ae).length;default:if(te)return ke(ae).length;Z=(""+Z).toLowerCase(),te=!0}}d.byteLength=g;function v(ae,Z,Y){var te=!1;if((Z===void 0||Z<0)&&(Z=0),Z>this.length)return"";if((Y===void 0||Y>this.length)&&(Y=this.length),Y<=0)return"";if(Y>>>=0,Z>>>=0,Y<=Z)return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return K(this,Z,Y);case"utf8":case"utf-8":return H(this,Z,Y);case"ascii":return J(this,Z,Y);case"latin1":case"binary":return k(this,Z,Y);case"base64":return F(this,Z,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,Z,Y);default:if(te)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),te=!0}}d.prototype._isBuffer=!0;function y(ae,Z,Y){var te=ae[Z];ae[Z]=ae[Y],ae[Y]=te}d.prototype.swap16=function(){var Z=this.length;if(Z%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Y=0;Y0&&(Z=this.toString("hex",0,Y).match(/.{2}/g).join(" "),this.length>Y&&(Z+=" ... ")),""},d.prototype.compare=function(Z,Y,te,we,pe){if(!d.isBuffer(Z))throw new TypeError("Argument must be a Buffer");if(Y===void 0&&(Y=0),te===void 0&&(te=Z?Z.length:0),we===void 0&&(we=0),pe===void 0&&(pe=this.length),Y<0||te>Z.length||we<0||pe>this.length)throw new RangeError("out of range index");if(we>=pe&&Y>=te)return 0;if(we>=pe)return-1;if(Y>=te)return 1;if(Y>>>=0,te>>>=0,we>>>=0,pe>>>=0,this===Z)return 0;for(var De=pe-we,Ne=te-Y,me=Math.min(De,Ne),be=this.slice(we,pe),Re=Z.slice(Y,te),it=0;it2147483647?Y=2147483647:Y<-2147483648&&(Y=-2147483648),Y=+Y,isNaN(Y)&&(Y=we?0:ae.length-1),Y<0&&(Y=ae.length+Y),Y>=ae.length){if(we)return-1;Y=ae.length-1}else if(Y<0)if(we)Y=0;else return-1;if(typeof Z=="string"&&(Z=d.from(Z,te)),d.isBuffer(Z))return Z.length===0?-1:S(ae,Z,Y,te,we);if(typeof Z=="number")return Z=Z&255,d.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?we?Uint8Array.prototype.indexOf.call(ae,Z,Y):Uint8Array.prototype.lastIndexOf.call(ae,Z,Y):S(ae,[Z],Y,te,we);throw new TypeError("val must be string, number or Buffer")}function S(ae,Z,Y,te,we){var pe=1,De=ae.length,Ne=Z.length;if(te!==void 0&&(te=String(te).toLowerCase(),te==="ucs2"||te==="ucs-2"||te==="utf16le"||te==="utf-16le")){if(ae.length<2||Z.length<2)return-1;pe=2,De/=2,Ne/=2,Y/=2}function me(pt,Pe){return pe===1?pt[Pe]:pt.readUInt16BE(Pe*pe)}var be;if(we){var Re=-1;for(be=Y;beDe&&(Y=De-Ne),be=Y;be>=0;be--){for(var it=!0,yt=0;ytwe&&(te=we)):te=we;var pe=Z.length;if(pe%2!==0)throw new TypeError("Invalid hex string");te>pe/2&&(te=pe/2);for(var De=0;Depe)&&(te=pe),Z.length>0&&(te<0||Y<0)||Y>this.length)throw new RangeError("Attempt to write outside buffer bounds");we||(we="utf8");for(var De=!1;;)switch(we){case"hex":return _(this,Z,Y,te);case"utf8":case"utf-8":return I(this,Z,Y,te);case"ascii":return C(this,Z,Y,te);case"latin1":case"binary":return E(this,Z,Y,te);case"base64":return O(this,Z,Y,te);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,Z,Y,te);default:if(De)throw new TypeError("Unknown encoding: "+we);we=(""+we).toLowerCase(),De=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(ae,Z,Y){return Z===0&&Y===ae.length?b.fromByteArray(ae):b.fromByteArray(ae.slice(Z,Y))}function H(ae,Z,Y){Y=Math.min(ae.length,Y);for(var te=[],we=Z;we239?4:pe>223?3:pe>191?2:1;if(we+Ne<=Y){var me,be,Re,it;switch(Ne){case 1:pe<128&&(De=pe);break;case 2:me=ae[we+1],(me&192)===128&&(it=(pe&31)<<6|me&63,it>127&&(De=it));break;case 3:me=ae[we+1],be=ae[we+2],(me&192)===128&&(be&192)===128&&(it=(pe&15)<<12|(me&63)<<6|be&63,it>2047&&(it<55296||it>57343)&&(De=it));break;case 4:me=ae[we+1],be=ae[we+2],Re=ae[we+3],(me&192)===128&&(be&192)===128&&(Re&192)===128&&(it=(pe&15)<<18|(me&63)<<12|(be&63)<<6|Re&63,it>65535&&it<1114112&&(De=it))}}De===null?(De=65533,Ne=1):De>65535&&(De-=65536,te.push(De>>>10&1023|55296),De=56320|De&1023),te.push(De),we+=Ne}return X(te)}var B=4096;function X(ae){var Z=ae.length;if(Z<=B)return String.fromCharCode.apply(String,ae);for(var Y="",te=0;tete)&&(Y=te);for(var we="",pe=Z;pete&&(Z=te),Y<0?(Y+=te,Y<0&&(Y=0)):Y>te&&(Y=te),YY)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUIntLE=function(Z,Y,te){Z=Z|0,Y=Y|0,te||W(Z,Y,this.length);for(var we=this[Z],pe=1,De=0;++De0&&(pe*=256);)we+=this[Z+--Y]*pe;return we},d.prototype.readUInt8=function(Z,Y){return Y||W(Z,1,this.length),this[Z]},d.prototype.readUInt16LE=function(Z,Y){return Y||W(Z,2,this.length),this[Z]|this[Z+1]<<8},d.prototype.readUInt16BE=function(Z,Y){return Y||W(Z,2,this.length),this[Z]<<8|this[Z+1]},d.prototype.readUInt32LE=function(Z,Y){return Y||W(Z,4,this.length),(this[Z]|this[Z+1]<<8|this[Z+2]<<16)+this[Z+3]*16777216},d.prototype.readUInt32BE=function(Z,Y){return Y||W(Z,4,this.length),this[Z]*16777216+(this[Z+1]<<16|this[Z+2]<<8|this[Z+3])},d.prototype.readIntLE=function(Z,Y,te){Z=Z|0,Y=Y|0,te||W(Z,Y,this.length);for(var we=this[Z],pe=1,De=0;++De=pe&&(we-=Math.pow(2,8*Y)),we},d.prototype.readIntBE=function(Z,Y,te){Z=Z|0,Y=Y|0,te||W(Z,Y,this.length);for(var we=Y,pe=1,De=this[Z+--we];we>0&&(pe*=256);)De+=this[Z+--we]*pe;return pe*=128,De>=pe&&(De-=Math.pow(2,8*Y)),De},d.prototype.readInt8=function(Z,Y){return Y||W(Z,1,this.length),this[Z]&128?(255-this[Z]+1)*-1:this[Z]},d.prototype.readInt16LE=function(Z,Y){Y||W(Z,2,this.length);var te=this[Z]|this[Z+1]<<8;return te&32768?te|4294901760:te},d.prototype.readInt16BE=function(Z,Y){Y||W(Z,2,this.length);var te=this[Z+1]|this[Z]<<8;return te&32768?te|4294901760:te},d.prototype.readInt32LE=function(Z,Y){return Y||W(Z,4,this.length),this[Z]|this[Z+1]<<8|this[Z+2]<<16|this[Z+3]<<24},d.prototype.readInt32BE=function(Z,Y){return Y||W(Z,4,this.length),this[Z]<<24|this[Z+1]<<16|this[Z+2]<<8|this[Z+3]},d.prototype.readFloatLE=function(Z,Y){return Y||W(Z,4,this.length),A.read(this,Z,!0,23,4)},d.prototype.readFloatBE=function(Z,Y){return Y||W(Z,4,this.length),A.read(this,Z,!1,23,4)},d.prototype.readDoubleLE=function(Z,Y){return Y||W(Z,8,this.length),A.read(this,Z,!0,52,8)},d.prototype.readDoubleBE=function(Z,Y){return Y||W(Z,8,this.length),A.read(this,Z,!1,52,8)};function P(ae,Z,Y,te,we,pe){if(!d.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(Z>we||Zae.length)throw new RangeError("Index out of range")}d.prototype.writeUIntLE=function(Z,Y,te,we){if(Z=+Z,Y=Y|0,te=te|0,!we){var pe=Math.pow(2,8*te)-1;P(this,Z,Y,te,pe,0)}var De=1,Ne=0;for(this[Y]=Z&255;++Ne=0&&(Ne*=256);)this[Y+De]=Z/Ne&255;return Y+te},d.prototype.writeUInt8=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,1,255,0),d.TYPED_ARRAY_SUPPORT||(Z=Math.floor(Z)),this[Y]=Z&255,Y+1};function G(ae,Z,Y,te){Z<0&&(Z=65535+Z+1);for(var we=0,pe=Math.min(ae.length-Y,2);we>>(te?we:1-we)*8}d.prototype.writeUInt16LE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,2,65535,0),d.TYPED_ARRAY_SUPPORT?(this[Y]=Z&255,this[Y+1]=Z>>>8):G(this,Z,Y,!0),Y+2},d.prototype.writeUInt16BE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,2,65535,0),d.TYPED_ARRAY_SUPPORT?(this[Y]=Z>>>8,this[Y+1]=Z&255):G(this,Z,Y,!1),Y+2};function V(ae,Z,Y,te){Z<0&&(Z=4294967295+Z+1);for(var we=0,pe=Math.min(ae.length-Y,4);we>>(te?we:3-we)*8&255}d.prototype.writeUInt32LE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,4,4294967295,0),d.TYPED_ARRAY_SUPPORT?(this[Y+3]=Z>>>24,this[Y+2]=Z>>>16,this[Y+1]=Z>>>8,this[Y]=Z&255):V(this,Z,Y,!0),Y+4},d.prototype.writeUInt32BE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,4,4294967295,0),d.TYPED_ARRAY_SUPPORT?(this[Y]=Z>>>24,this[Y+1]=Z>>>16,this[Y+2]=Z>>>8,this[Y+3]=Z&255):V(this,Z,Y,!1),Y+4},d.prototype.writeIntLE=function(Z,Y,te,we){if(Z=+Z,Y=Y|0,!we){var pe=Math.pow(2,8*te-1);P(this,Z,Y,te,pe-1,-pe)}var De=0,Ne=1,me=0;for(this[Y]=Z&255;++De>0)-me&255;return Y+te},d.prototype.writeIntBE=function(Z,Y,te,we){if(Z=+Z,Y=Y|0,!we){var pe=Math.pow(2,8*te-1);P(this,Z,Y,te,pe-1,-pe)}var De=te-1,Ne=1,me=0;for(this[Y+De]=Z&255;--De>=0&&(Ne*=256);)Z<0&&me===0&&this[Y+De+1]!==0&&(me=1),this[Y+De]=(Z/Ne>>0)-me&255;return Y+te},d.prototype.writeInt8=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,1,127,-128),d.TYPED_ARRAY_SUPPORT||(Z=Math.floor(Z)),Z<0&&(Z=255+Z+1),this[Y]=Z&255,Y+1},d.prototype.writeInt16LE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,2,32767,-32768),d.TYPED_ARRAY_SUPPORT?(this[Y]=Z&255,this[Y+1]=Z>>>8):G(this,Z,Y,!0),Y+2},d.prototype.writeInt16BE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,2,32767,-32768),d.TYPED_ARRAY_SUPPORT?(this[Y]=Z>>>8,this[Y+1]=Z&255):G(this,Z,Y,!1),Y+2},d.prototype.writeInt32LE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,4,2147483647,-2147483648),d.TYPED_ARRAY_SUPPORT?(this[Y]=Z&255,this[Y+1]=Z>>>8,this[Y+2]=Z>>>16,this[Y+3]=Z>>>24):V(this,Z,Y,!0),Y+4},d.prototype.writeInt32BE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,4,2147483647,-2147483648),Z<0&&(Z=4294967295+Z+1),d.TYPED_ARRAY_SUPPORT?(this[Y]=Z>>>24,this[Y+1]=Z>>>16,this[Y+2]=Z>>>8,this[Y+3]=Z&255):V(this,Z,Y,!1),Y+4};function q(ae,Z,Y,te,we,pe){if(Y+te>ae.length)throw new RangeError("Index out of range");if(Y<0)throw new RangeError("Index out of range")}function re(ae,Z,Y,te,we){return we||q(ae,Z,Y,4,34028234663852886e22,-34028234663852886e22),A.write(ae,Z,Y,te,23,4),Y+4}d.prototype.writeFloatLE=function(Z,Y,te){return re(this,Z,Y,!0,te)},d.prototype.writeFloatBE=function(Z,Y,te){return re(this,Z,Y,!1,te)};function ce(ae,Z,Y,te,we){return we||q(ae,Z,Y,8,17976931348623157e292,-17976931348623157e292),A.write(ae,Z,Y,te,52,8),Y+8}d.prototype.writeDoubleLE=function(Z,Y,te){return ce(this,Z,Y,!0,te)},d.prototype.writeDoubleBE=function(Z,Y,te){return ce(this,Z,Y,!1,te)},d.prototype.copy=function(Z,Y,te,we){if(te||(te=0),!we&&we!==0&&(we=this.length),Y>=Z.length&&(Y=Z.length),Y||(Y=0),we>0&&we=this.length)throw new RangeError("sourceStart out of bounds");if(we<0)throw new RangeError("sourceEnd out of bounds");we>this.length&&(we=this.length),Z.length-Y=0;--De)Z[De+Y]=this[De+te];else if(pe<1e3||!d.TYPED_ARRAY_SUPPORT)for(De=0;De>>0,te=te===void 0?this.length:te>>>0,Z||(Z=0);var De;if(typeof Z=="number")for(De=Y;De55295&&Y<57344){if(!we){if(Y>56319){(Z-=3)>-1&&pe.push(239,191,189);continue}else if(De+1===te){(Z-=3)>-1&&pe.push(239,191,189);continue}we=Y;continue}if(Y<56320){(Z-=3)>-1&&pe.push(239,191,189),we=Y;continue}Y=(we-55296<<10|Y-56320)+65536}else we&&((Z-=3)>-1&&pe.push(239,191,189));if(we=null,Y<128){if((Z-=1)<0)break;pe.push(Y)}else if(Y<2048){if((Z-=2)<0)break;pe.push(Y>>6|192,Y&63|128)}else if(Y<65536){if((Z-=3)<0)break;pe.push(Y>>12|224,Y>>6&63|128,Y&63|128)}else if(Y<1114112){if((Z-=4)<0)break;pe.push(Y>>18|240,Y>>12&63|128,Y>>6&63|128,Y&63|128)}else throw new Error("Invalid code point")}return pe}function ge(ae){for(var Z=[],Y=0;Y>8,we=Y%256,pe.push(we),pe.push(te);return pe}function ee(ae){return b.toByteArray(fe(ae))}function ue(ae,Z,Y,te){for(var we=0;we=Z.length||we>=ae.length);++we)Z[we+Y]=ae[we];return we}function Ge(ae){return ae!==ae}}).call(this,l("yLpj"))},"HF/U":function(j,R,l){var x=l("QBsz");function b(f){var t=f.coordinateSystem;if(t&&t.type!=="view")return;var e=f.getGraph();e.eachNode(function(m){var d=m.getModel();m.setLayout([+d.get("x"),+d.get("y")])}),A(e)}function A(f){f.eachEdge(function(t){var e=t.getModel().get("lineStyle.curveness")||0,m=x.clone(t.node1.getLayout()),d=x.clone(t.node2.getLayout()),a=[m,d];+e&&a.push([(m[0]+d[0])/2-(m[1]-d[1])*e,(m[1]+d[1])/2-(d[0]-m[0])*e]),t.setLayout(a)})}R.simpleLayout=b,R.simpleLayoutEdge=A},"HM/N":function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("bYtY"),f=l("/SeX"),t=l("OELB"),e=t.parsePercent,m=l("aX7z"),d=m.createScaleByModel,a=m.niceScaleExtent,n=l("IDmD"),s=l("7hqr"),c=s.getStackedDimension;l("ePAk");function i(h,p,g){var v=p.get("center"),y=g.getWidth(),w=g.getHeight();h.cx=e(v[0],y),h.cy=e(v[1],w);var S=h.getRadiusAxis(),_=Math.min(y,w)/2,I=p.get("radius");I==null?I=[0,"100%"]:A.isArray(I)||(I=[0,I]),I=[e(I[0],_),e(I[1],_)],S.inverse?S.setExtent(I[1],I[0]):S.setExtent(I[0],I[1])}function u(h,p){var g=this,v=g.getAngleAxis(),y=g.getRadiusAxis();if(v.scale.setExtent(Infinity,-Infinity),y.scale.setExtent(Infinity,-Infinity),h.eachSeries(function(_){if(_.coordinateSystem===g){var I=_.getData();A.each(I.mapDimension("radius",!0),function(C){y.scale.unionExtentFromData(I,c(I,C))}),A.each(I.mapDimension("angle",!0),function(C){v.scale.unionExtentFromData(I,c(I,C))})}}),a(v.scale,v.model),a(y.scale,y.model),v.type==="category"&&!v.onBand){var w=v.getExtent(),S=360/v.scale.count();v.inverse?w[1]+=S:w[1]-=S,v.setExtent(w[0],w[1])}}function r(h,p){if(h.type=p.get("type"),h.scale=d(p),h.onBand=p.get("boundaryGap")&&h.type==="category",h.inverse=p.get("inverse"),p.mainType==="angleAxis"){h.inverse^=p.get("clockwise");var g=p.get("startAngle");h.setExtent(g,g+(h.inverse?-360:360))}p.axis=h,h.model=p}var o={dimensions:f.prototype.dimensions,create:function(h,p){var g=[];return h.eachComponent("polar",function(v,y){var w=new f(y);w.update=u;var S=w.getRadiusAxis(),_=w.getAngleAxis(),I=v.findAxisModel("radiusAxis"),C=v.findAxisModel("angleAxis");r(S,I),r(_,C),i(w,v,p),g.push(w),v.coordinateSystem=w,w.model=v}),h.eachSeries(function(v){if(v.get("coordinateSystem")==="polar"){var y=h.queryComponents({mainType:"polar",index:v.get("polarIndex"),id:v.get("polarId")})[0];v.coordinateSystem=y.coordinateSystem}}),g}};n.register("polar",o)},HQEm:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("Sj0X"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},HjIi:function(j,R,l){var x=l("bYtY"),b=l("OELB"),A=b.parsePercent,f=l("7hqr"),t=f.isDimensionStacked;function e(s){return s.get("stack")||"__ec_stack_"+s.seriesIndex}function m(s,c){return c.dim+s.model.componentIndex}function d(s,c,i){var u={},r=a(x.filter(c.getSeriesByType(s),function(o){return!c.isSeriesFiltered(o)&&o.coordinateSystem&&o.coordinateSystem.type==="polar"}));c.eachSeriesByType(s,function(o){if(o.coordinateSystem.type!=="polar")return;var h=o.getData(),p=o.coordinateSystem,g=p.getBaseAxis(),v=m(p,g),y=e(o),w=r[v][y],S=w.offset,_=w.width,I=p.getOtherAxis(g),C=o.coordinateSystem.cx,E=o.coordinateSystem.cy,O=o.get("barMinHeight")||0,M=o.get("barMinAngle")||0;u[y]=u[y]||[];for(var F=h.mapDimension(I.dim),H=h.mapDimension(g.dim),B=t(h,F),X=g.dim!=="radius"||!o.get("roundCap",!0),J=I.getExtent()[0],k=0,K=h.count();k=0?"p":"n",G=J;B&&(u[y][W]||(u[y][W]={p:J,n:J}),G=u[y][W][P]);var V,q,re,ce;if(I.dim==="radius"){var ie=I.dataToRadius(z)-J,fe=g.dataToAngle(W);Math.abs(ie)=m/3?1:2),s=f.y-e(a)*d*(d>=m/3?1:2);a=f.angle-Math.PI/2,A.moveTo(n,s),A.lineTo(f.x+t(a)*d,f.y+e(a)*d),A.lineTo(f.x+t(f.angle)*m,f.y+e(f.angle)*m),A.lineTo(f.x-t(a)*d,f.y-e(a)*d),A.lineTo(n,s);return}});j.exports=b},Hxpc:function(j,R,l){var x=l("bYtY"),b=l("4NO4"),A=l("bLfw"),f=l("Qxkt"),t=l("cCMj"),e=l("7uqq"),m=A.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(a){A.prototype.init.apply(this,arguments),b.defaultEmphasis(a,"label",["show"])},optionUpdated:function(){var a=this.option,n=this;a.regions=e.getFilledRegions(a.regions,a.map,a.nameMap),this._optionModelMap=x.reduce(a.regions||[],function(s,c){return c.name&&s.set(c.name,new f(c,n)),s},x.createHashMap()),this.updateSelectedMap(a.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(a){return this._optionModelMap.get(a)||new f(null,this,this.ecModel)},getFormattedLabel:function(a,n){var s=this.getRegionModel(a),c=s.get("label"+(n==="normal"?".":n+".")+"formatter"),i={name:a};if(typeof c=="function")return i.status=n,c(i);if(typeof c=="string")return c.replace("{a}",a!=null?a:"")},setZoom:function(a){this.option.zoom=a},setCenter:function(a){this.option.center=a}});x.mixin(m,t);var d=m;j.exports=d},"I+77":function(j,R,l){var x=l("ProS");l("h54F"),l("lwQL"),l("10cm");var b=l("Z1r0"),A=l("f5Yq"),f=l("KUOm"),t=l("3m61"),e=l("01d+"),m=l("rdor"),d=l("WGYa"),a=l("ewwo");x.registerProcessor(b),x.registerVisual(A("graph","circle",null)),x.registerVisual(f),x.registerVisual(t),x.registerLayout(e),x.registerLayout(x.PRIORITY.VISUAL.POST_CHART_LAYOUT,m),x.registerLayout(d),x.registerCoordinateSystem("graphView",{create:a})},"I+Bx":function(j,R,l){var x=l("bYtY"),b=l("eIcI"),A=l("ieMj"),f=l("OELB"),t=l("aX7z"),e=t.getScaleExtent,m=t.niceScaleExtent,d=l("IDmD"),a=l("jCoz");function n(c,i,u){this._model=c,this.dimensions=[],this._indicatorAxes=x.map(c.getIndicatorModels(),function(r,o){var h="indicator_"+o,p=new b(h,r.get("axisType")==="log"?new a:new A);return p.name=r.get("name"),p.model=r,r.axis=p,this.dimensions.push(h),p},this),this.resize(c,u),this.cx,this.cy,this.r,this.r0,this.startAngle}n.prototype.getIndicatorAxes=function(){return this._indicatorAxes},n.prototype.dataToPoint=function(c,i){var u=this._indicatorAxes[i];return this.coordToPoint(u.dataToCoord(c),i)},n.prototype.coordToPoint=function(c,i){var u=this._indicatorAxes[i],r=u.angle,o=this.cx+c*Math.cos(r),h=this.cy-c*Math.sin(r);return[o,h]},n.prototype.pointToData=function(c){var i=c[0]-this.cx,u=c[1]-this.cy,r=Math.sqrt(i*i+u*u);i/=r,u/=r;for(var o=Math.atan2(-u,i),h=Infinity,p,g=-1,v=0;vv[0]&&isFinite(E)&&isFinite(v[0]))}else{var O=w.getTicks().length-1;O>o&&(I=h(I));var C=Math.ceil(v[1]/I)*I,E=f.round(C-I*o);w.setExtent(E,C),w.setInterval(I)}})},n.dimensions=[],n.create=function(c,i){var u=[];return c.eachComponent("radar",function(r){var o=new n(r,c,i);u.push(o),r.coordinateSystem=o}),c.eachSeriesByType("radar",function(r){r.get("coordinateSystem")==="radar"&&(r.coordinateSystem=u[r.get("radarIndex")||0])}),u},d.register("radar",n);var s=n;j.exports=s},"I3/A":function(j,R,l){var x=l("bYtY"),b=l("YXkt"),A=l("c2i1"),f=l("Mdki"),t=l("sdST"),e=l("IDmD"),m=l("MwEJ");function d(a,n,s,c,i){for(var u=new A(c),r=0;r "+y)),p++)}var w=s.get("coordinateSystem"),S;if(w==="cartesian2d"||w==="polar")S=m(a,s);else{var _=e.get(w),I=_&&_.type!=="view"?_.dimensions||[]:[];x.indexOf(I,"value")<0&&I.concat(["value"]);var C=t(a,{coordDimensions:I});S=new b(C,s),S.initData(a)}var E=new b(["value"],s);return E.initData(h,o),i&&i(S,E),f({mainData:S,struct:u,structAttr:"graph",datas:{node:S,edge:E},datasAttr:{node:"data",edge:"edgeData"}}),u.update(),u}j.exports=d},I8Z2:function(j,R,l){"use strict";l.d(R,"a",function(){return f}),l.d(R,"b",function(){return i}),l.d(R,"c",function(){return r});var x=l("q1tI"),b=function(){var o=function(p,g){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,y){v.__proto__=y}||function(v,y){for(var w in y)y.hasOwnProperty(w)&&(v[w]=y[w])},o(p,g)};return function(h,p){o(h,p);function g(){this.constructor=h}h.prototype=p===null?Object.create(p):(g.prototype=p.prototype,new g)}}(),A=x.createContext(null),f=function(o){b(h,o);function h(){return o!==null&&o.apply(this,arguments)||this}return h.prototype.render=function(){return x.createElement(A.Provider,{value:this.props.store},this.props.children)},h}(x.Component),t=l("Gytx"),e=l.n(t),m=l("2mql"),d=l.n(m),a=function(){var o=function(p,g){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,y){v.__proto__=y}||function(v,y){for(var w in y)y.hasOwnProperty(w)&&(v[w]=y[w])},o(p,g)};return function(h,p){o(h,p);function g(){this.constructor=h}h.prototype=p===null?Object.create(p):(g.prototype=p.prototype,new g)}}(),n=function(){return n=Object.assign||function(o){for(var h,p=1,g=arguments.length;pthis._ux||h(S-this._yi)>this._uy||this._len<5;return this.addData(m.L,w,S),this._ctx&&_&&(this._needsDash()?this._dashedLineTo(w,S):this._ctx.lineTo(w,S)),_&&(this._xi=w,this._yi=S),this},bezierCurveTo:function(w,S,_,I,C,E){return this.addData(m.C,w,S,_,I,C,E),this._ctx&&(this._needsDash()?this._dashedBezierTo(w,S,_,I,C,E):this._ctx.bezierCurveTo(w,S,_,I,C,E)),this._xi=C,this._yi=E,this},quadraticCurveTo:function(w,S,_,I){return this.addData(m.Q,w,S,_,I),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(w,S,_,I):this._ctx.quadraticCurveTo(w,S,_,I)),this._xi=_,this._yi=I,this},arc:function(w,S,_,I,C,E){return this.addData(m.A,w,S,_,_,I,C-I,0,E?0:1),this._ctx&&this._ctx.arc(w,S,_,I,C,E),this._xi=u(C)*_+w,this._yi=r(C)*_+S,this},arcTo:function(w,S,_,I,C){return this._ctx&&this._ctx.arcTo(w,S,_,I,C),this},rect:function(w,S,_,I){return this._ctx&&this._ctx.rect(w,S,_,I),this.addData(m.R,w,S,_,I),this},closePath:function(){this.addData(m.Z);var w=this._ctx,S=this._x0,_=this._y0;return w&&(this._needsDash()&&this._dashedLineTo(S,_),w.closePath()),this._xi=S,this._yi=_,this},fill:function(w){w&&w.fill(),this.toStatic()},stroke:function(w){w&&w.stroke(),this.toStatic()},setLineDash:function(w){if(w instanceof Array){this._lineDash=w,this._dashIdx=0;for(var S=0,_=0;_S.length&&(this._expandData(),S=this.data);for(var _=0;_0&&X<=w||F<0&&X>=w||F===0&&(H>0&&J<=S||H<0&&J>=S);){if(z=this._dashIdx,k=C[z],X+=F*k,J+=H*k,this._dashIdx=(z+1)%K,F>0&&XO||H>0&&JM)continue;E[z%2?"moveTo":"lineTo"](F>=0?c(X,w):i(X,w),H>=0?c(J,S):i(J,S))}F=X-w,H=J-S,this._dashOffset=-o(F*F+H*H)},_dashedBezierTo:function(w,S,_,I,C,E){var O=this._dashSum,M=this._dashOffset,F=this._lineDash,H=this._ctx,B=this._xi,X=this._yi,J,k,K,z=x.cubicAt,W=0,P=this._dashIdx,G=F.length,V,q,re=0;for(M<0&&(M=O+M),M%=O,J=0;J<1;J+=.1)k=z(B,w,_,C,J+.1)-z(B,w,_,C,J),K=z(X,S,I,E,J+.1)-z(X,S,I,E,J),W+=o(k*k+K*K);for(;PM);P++);for(J=(re-M)/W;J<=1;)V=z(B,w,_,C,J),q=z(X,S,I,E,J),P%2?H.moveTo(V,q):H.lineTo(V,q),J+=F[P]/W,P=(P+1)%G;P%2!==0&&H.lineTo(C,E),k=C-V,K=E-q,this._dashOffset=-o(k*k+K*K)},_dashedQuadraticTo:function(w,S,_,I){var C=_,E=I;_=(_+2*w)/3,I=(I+2*S)/3,w=(this._xi+2*w)/3,S=(this._yi+2*S)/3,this._dashedBezierTo(w,S,_,I,C,E)},toStatic:function(){var w=this.data;w instanceof Array&&(w.length=this._len,p&&(this.data=new Float32Array(w)))},getBoundingRect:function(){d[0]=d[1]=n[0]=n[1]=Number.MAX_VALUE,a[0]=a[1]=s[0]=s[1]=-Number.MAX_VALUE;for(var w=this.data,S=0,_=0,I=0,C=0,E=0;EF||h(M-E)>H||X===B-1)&&(w.lineTo(O,M),C=O,E=M);break;case m.C:w.bezierCurveTo(S[X++],S[X++],S[X++],S[X++],S[X++],S[X++]),C=S[X-2],E=S[X-1];break;case m.Q:w.quadraticCurveTo(S[X++],S[X++],S[X++],S[X++]),C=S[X-2],E=S[X-1];break;case m.A:var k=S[X++],K=S[X++],z=S[X++],W=S[X++],P=S[X++],G=S[X++],V=S[X++],q=S[X++],re=z>W?z:W,ce=z>W?1:z/W,ie=z>W?W/z:1,fe=Math.abs(z-W)>.001,xe=P+G;fe?(w.translate(k,K),w.rotate(V),w.scale(ce,ie),w.arc(0,0,re,P,xe,1-q),w.scale(1/ce,1/ie),w.rotate(-V),w.translate(-k,-K)):w.arc(k,K,re,P,xe,1-q),X===1&&(_=u(P)*z+k,I=r(P)*W+K),C=u(xe)*z+k,E=r(xe)*W+K;break;case m.R:_=C=S[X],I=E=S[X+1],w.rect(S[X++],S[X++],S[X++],S[X++]);break;case m.Z:w.closePath(),C=_,E=I}}}},g.CMD=m;var v=g;j.exports=v},IUWy:function(j,R){var l={};function x(A,f){l[A]=f}function b(A){return l[A]}R.register=x,R.get=b},IWNH:function(j,R,l){var x=l("T4UG"),b=l("Bsck"),A=l("7aKB"),f=A.encodeHTML,t=l("Qxkt"),e=x.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(m){var d={name:m.name,children:m.data},a=m.leaves||{},n=new t(a,this,this.ecModel),s=b.createTree(d,this,{},c);function c(o){o.wrapMethod("getItemModel",function(h,p){var g=s.getNodeByDataIndex(p);return(!g.children.length||!g.isExpand)&&(h.parentModel=n),h})}var i=0;s.eachNode("preorder",function(o){o.depth>i&&(i=o.depth)});var u=m.expandAndCollapse,r=u&&m.initialTreeDepth>=0?m.initialTreeDepth:i;return s.root.eachNode("preorder",function(o){var h=o.hostTree.data.getRawDataItem(o.dataIndex);o.isExpand=h&&h.collapsed!=null?!h.collapsed:o.depth<=r}),s.data},getOrient:function(){var m=this.get("orient");return m==="horizontal"?m="LR":m==="vertical"&&(m="TB"),m},setZoom:function(m){this.option.zoom=m},setCenter:function(m){this.option.center=m},formatTooltip:function(m){for(var d=this.getData().tree,a=d.root.children[0],n=d.getNodeByDataIndex(m),s=n.getValue(),c=n.name;n&&n!==a;)c=n.parentNode.name+"."+c,n=n.parentNode;return f(c+(isNaN(s)||s==null?"":" : "+s))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});j.exports=e},IWp7:function(j,R,l){var x=l("bYtY"),b=l("OELB"),A=l("7aKB"),f=l("lE7J"),t=l("ieMj"),e=t.prototype,m=Math.ceil,d=Math.floor,a=1e3,n=a*60,s=n*60,c=s*24,i=function(h,p,g,v){for(;g>>1;h[y][1]g&&(w=g);var S=r.length,_=i(r,w,0,S),I=r[Math.min(_,S-1)],C=I[1];if(I[0]==="year"){var E=y/C,O=b.nice(E/h,!0);C*=O}var M=this.getSetting("useUTC")?0:new Date(+v[0]||+v[1]).getTimezoneOffset()*60*1e3,F=[Math.round(m((v[0]-M)/C)*C+M),Math.round(d((v[1]-M)/C)*C+M)];f.fixExtent(F,v),this._stepLvl=I,this._interval=C,this._niceExtent=F},parse:function(h){return+b.parseDate(h)}});x.each(["contain","normalize"],function(h){u.prototype[h]=function(p){return e[h].call(this,this.parse(p))}});var r=[["hh:mm:ss",a],["hh:mm:ss",a*5],["hh:mm:ss",a*10],["hh:mm:ss",a*15],["hh:mm:ss",a*30],[`hh:mm MM-dd`,n],[`hh:mm MM-dd`,n*5],[`hh:mm MM-dd`,n*10],[`hh:mm @@ -210,7 +210,7 @@ yyyy`,c*10],["week",c*14],["week",c*21],["month",c*31],["week",c*42],["month",c* \v\f\r !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\xC4\u0100\u0101\xC9\u0104\xD6\xDC\xE1\u0105\u010C\xE4\u010D\u0106\u0107\xE9\u0179\u017A\u010E\xED\u010F\u0112\u0113\u0116\xF3\u0117\xF4\xF6\xF5\xFA\u011A\u011B\xFC\u2020\xB0\u0118\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\u0119\xA8\u2260\u0123\u012E\u012F\u012A\u2264\u2265\u012B\u0136\u2202\u2211\u0142\u013B\u013C\u013D\u013E\u0139\u013A\u0145\u0146\u0143\xAC\u221A\u0144\u0147\u2206\xAB\xBB\u2026\xA0\u0148\u0150\xD5\u0151\u014C\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\u014D\u0154\u0155\u0158\u2039\u203A\u0159\u0156\u0157\u0160\u201A\u201E\u0161\u015A\u015B\xC1\u0164\u0165\xCD\u017D\u017E\u016A\xD3\xD4\u016B\u016E\xDA\u016F\u0170\u0171\u0172\u0173\xDD\xFD\u0137\u017B\u0141\u017C\u0122\u02C7`,f=[],t={},e=0;e!=A.length;++e)A.charCodeAt(e)!==65533&&(t[A.charAt(e)]=e),f[e]=A.charAt(e);return{enc:t,dec:f}}(),b[10079]=function(){for(var A=`\0\x07\b \v\f\r !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\xDD\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\xA4\xD0\xF0\xDE\xFE\xFD\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7`,f=[],t={},e=0;e!=A.length;++e)A.charCodeAt(e)!==65533&&(t[A.charAt(e)]=e),f[e]=A.charAt(e);return{enc:t,dec:f}}(),b[10081]=function(){for(var A=`\0\x07\b \v\f\r !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u011E\u011F\u0130\u0131\u015E\u015F\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\uFFFD\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7`,f=[],t={},e=0;e!=A.length;++e)A.charCodeAt(e)!==65533&&(t[A.charAt(e)]=e),f[e]=A.charAt(e);return{enc:t,dec:f}}(),b[28591]=function(){for(var A=`\0\x07\b -\v\f\r !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF`,f=[],t={},e=0;e!=A.length;++e)A.charCodeAt(e)!==65533&&(t[A.charAt(e)]=e),f[e]=A.charAt(e);return{enc:t,dec:f}}(),j.exports&&typeof DO_NOT_EXPORT_CODEPAGE=="undefined"&&(j.exports=b);/*! cputils.js (C) 2013-present SheetJS -- http://sheetjs.com */(function(A,f){"use strict";if(typeof b=="undefined"){var t=b;j.exports&&typeof DO_NOT_EXPORT_CODEPAGE=="undefined"?j.exports=f(t):A.cptable=f(t)}else b=f(b)})(this,function(A){"use strict";var f={"1200":"utf16le","1201":"utf16be","12000":"utf32le","12001":"utf32be","16969":"utf64le","20127":"ascii","65000":"utf7","65001":"utf8"},t=[874,1250,1251,1252,1253,1254,1255,1256,1e4],e=[932,936,949,950],m=[65001],d={},a={},n={},s={},c=function(z){return String.fromCharCode(z)},i=function(z){return z.charCodeAt(0)},u=typeof x!="undefined",r=function(){};if(u){var o=!x.from;if(!o)try{x.from("foo","utf8")}catch(W){o=!0}r=o?function(W,z){return z?new x(W,z):new x(W)}:x.from.bind(x),x.allocUnsafe||(x.allocUnsafe=function(W){return new x(W)});var h=1024,p=x.allocUnsafe(h),g=function(z){for(var K=x.allocUnsafe(65536),P=0;P<65536;++P)K[P]=0;for(var G=Object.keys(z),V=G.length,q=0,re=G[q];q>10&1023)],re[ie++]=K[56320+(xe&1023)]));re=re.slice(0,ie)}else for(re=x.allocUnsafe(q),ce=0;ce>8}return function(ce){var ie=ce.length,fe=0,xe=0;if(2*ie>h&&(h=2*ie,p=x.allocUnsafe(h)),x.isBuffer(ce))for(fe=0;fe>8}return function(fe,xe){var Se=fe.length,ke=x.allocUnsafe(2*Se),ge=0,Be=0,ee=0,ue=0,Ge=0;if(typeof fe=="string"){for(ge=ue=0;ge0&&(ke[ue++]=P[Be]);ke=ke.slice(0,ue)}else if(x.isBuffer(fe)){for(ge=ue=0;ge0&&(ke[ue++]=P[Be])):(ee=Be-65536,Be=2*(55296+(ee>>10&1023)),ke[ue++]=P[Be+1]||P[Be],P[Be+1]>0&&(ke[ue++]=P[Be]),Be=2*(56320+(ee&1023)),ke[ue++]=P[Be+1]||P[Be],P[Be+1]>0&&(ke[ue++]=P[Be]));ke=ke.slice(0,ue)}else for(ge=ue=0;ge0&&(ke[ue++]=P[Be]);return!xe||xe==="buf"?ke:xe!=="arr"?ke.toString("binary"):[].slice.call(ke)}},S=function(z){var K=A[z].dec,P=x.allocUnsafe(131072),G=0,V,q=0,re=0,ce=0;for(ce=0;ce<65536;++ce)P[2*ce]=255,P[2*ce+1]=253;for(G=0;G>8}return function(fe){var xe=fe.length,Se=x.allocUnsafe(2*xe),ke=0,ge=0,Be=0;if(x.isBuffer(fe))for(ke=0;keh&&(h=4*K,p=x.allocUnsafe(h));var V=0;K>=3&&z[0]==239&&(z[1]==187&&z[2]==191&&(V=3));for(var q=1,re=0,ce=0;V>8):(P-=65536,G=55296+(P>>10&1023),P=56320+(P&1023),p[re++]=G&255,p[re++]=G>>>8,p[re++]=P&255,p[re++]=P>>>8&255);return p.slice(0,re).toString("ucs2")},a[65001]=function(z,K){if(u&&x.isBuffer(z))return!K||K==="buf"?z:K!=="arr"?z.toString("binary"):[].slice.call(z);var P=z.length,G=0,V=0,q=0,re=typeof z=="string";4*P>h&&(h=4*P,p=x.allocUnsafe(h));for(var ce=0;ce>6),p[q++]=128+(G&63)):G>=55296&&G<=57343?(G-=55296,++ce,V=(re?z.charCodeAt(ce):z[ce].charCodeAt(0))-56320+(G<<10),p[q++]=240+(V>>>18&7),p[q++]=144+(V>>>12&63),p[q++]=128+(V>>>6&63),p[q++]=128+(V&63)):(p[q++]=224+(G>>12),p[q++]=128+(G>>6&63),p[q++]=128+(G&63));return!K||K==="buf"?p.slice(0,q):K!=="arr"?p.slice(0,q).toString("binary"):[].slice.call(p,0,q)}}var _=function(){if(u){if(n[t[0]])return;var z=0,K=0;for(z=0;z255?(V[ce]=q>>8,V[++ce]=q&255):V[ce]=q&255;else if(Se=f[z])switch(Se){case"utf8":if(u&&ke){V=r(K,Se),ce=V.length;break}for(re=0;re>6),V[++ce]=128+(q&63)):q>=55296&&q<=57343?(q-=55296,ie=(ke?K.charCodeAt(++re):K[++re].charCodeAt(0))-56320+(q<<10),V[ce]=240+(ie>>>18&7),V[++ce]=144+(ie>>>12&63),V[++ce]=128+(ie>>>6&63),V[++ce]=128+(ie&63)):(V[ce]=224+(q>>12),V[++ce]=128+(q>>6&63),V[++ce]=128+(q&63));break;case"ascii":if(u&&typeof K=="string"){V=r(K,Se),ce=V.length;break}for(re=0;re>8;break;case"utf16be":for(re=0;re>8,V[ce++]=q&255;break;case"utf32le":for(re=0;re=55296&&q<=57343&&(q=65536+(q-55296<<10)+(K[++re].charCodeAt(0)-56320)),V[ce++]=q&255,q>>=8,V[ce++]=q&255,q>>=8,V[ce++]=q&255,q>>=8,V[ce++]=q&255;break;case"utf32be":for(re=0;re=55296&&q<=57343&&(q=65536+(q-55296<<10)+(K[++re].charCodeAt(0)-56320)),V[ce+3]=q&255,q>>=8,V[ce+2]=q&255,q>>=8,V[ce+1]=q&255,q>>=8,V[ce]=q&255,ce+=4;break;case"utf7":for(re=0;re-1){V[ce++]=ge.charCodeAt(0);continue}var Be=W(1201,ge);V[ce++]=43,V[ce++]=M.charCodeAt(Be[0]>>2),V[ce++]=M.charCodeAt(((Be[0]&3)<<4)+((Be[1]||0)>>4)),V[ce++]=M.charCodeAt(((Be[1]&15)<<2)+((Be[2]||0)>>6)),V[ce++]=45}break;default:throw new Error("Unsupported magic: "+z+" "+f[z])}else throw new Error("Unrecognized CP: "+z);return V=V.slice(0,ce),u?!P||P==="buf"?V:P!=="arr"?V.toString("binary"):[].slice.call(V):P=="str"?V.map(c).join(""):V},J=function W(z,K){var P;if(P=n[z])return P(K);if(typeof K=="string")return W(z,K.split("").map(i));var G=K.length,V=new Array(G),q="",re=0,ce=0,ie=1,fe=0,xe=0,Se=A[z],ke,ge="";if(Se&&(ke=Se.dec))for(ce=0;ce=3&&K[0]==239&&(K[1]==187&&K[2]==191&&(ce=3));ce>10&1023),re=56320+(re&1023),V[fe++]=String.fromCharCode(xe)),V[fe++]=String.fromCharCode(re);break;case"ascii":if(u&&x.isBuffer(K))return K.toString(ge);for(ce=0;ce=2&&K[0]==255&&(K[1]==254&&(ce=2)),u&&x.isBuffer(K))return K.toString(ge);for(ie=2;ce+1=2&&K[0]==254&&(K[1]==255&&(ce=2)),ie=2;ce+1=4&&K[0]==255&&(K[1]==254&&K[2]===0&&K[3]===0&&(ce=4)),ie=4;ce65535?(re-=65536,V[fe++]=String.fromCharCode(55296+(re>>10&1023)),V[fe++]=String.fromCharCode(56320+(re&1023))):V[fe++]=String.fromCharCode(re);break;case"utf32be":for(G>=4&&K[3]==255&&(K[2]==254&&K[1]===0&&K[0]===0&&(ce=4)),ie=4;ce65535?(re-=65536,V[fe++]=String.fromCharCode(55296+(re>>10&1023)),V[fe++]=String.fromCharCode(56320+(re&1023))):V[fe++]=String.fromCharCode(re);break;case"utf7":for(G>=4&&K[0]==43&&K[1]==47&&K[2]==118&&(G>=5&&K[3]==56&&K[4]==45?ce=5:(K[3]==56||K[3]==57||K[3]==43||K[3]==47)&&(ce=4));ce>4,ee.push(Ge),we=M.indexOf(String.fromCharCode(K[ce+De++])),we===-1);){if(ae=(te&15)<<4|we>>2,ee.push(ae),pe=M.indexOf(String.fromCharCode(K[ce+De++])),pe===-1)break;Z=(we&3)<<6|pe,pe<64&&ee.push(Z)}for(ue=W(1201,ee),De=0;De=11),domSupported:typeof document!="undefined"}}j.exports=x},ItS6:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=l("eP3c"),b=A(l("1q3G"));function A(d){return d&&d.__esModule?d:{default:d}}function f(d,a){if(!(d instanceof a))throw new TypeError("Cannot call a class as a function")}function t(d,a){for(var n=0;nthis.chunkSize&&(this.chunkSize=n,this.strm.output=new Uint8Array(this.chunkSize)),this.strm.next_out=0,this.strm.avail_out=n;var s=(0,x.inflate)(this.strm,0);if(s<0)throw new Error("zlib inflate failed");if(this.strm.next_out!=n)throw new Error("Incomplete zlib block");return new Uint8Array(this.strm.output.buffer,0,this.strm.next_out)}},{key:"reset",value:function(){(0,x.inflateReset)(this.strm)}}]),d}();R.default=m},Itpr:function(j,R,l){var x=l("+TT/");function b(r){r.hierNode={defaultAncestor:null,ancestor:r,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var o=[r],h,p;h=o.pop();)if(p=h.children,h.isExpand&&p.length)for(var g=p.length,v=g-1;v>=0;v--){var y=p[v];y.hierNode={defaultAncestor:null,ancestor:y,prelim:0,modifier:0,change:0,shift:0,i:v,thread:null},o.push(y)}}function A(r,o){var h=r.isExpand?r.children:[],p=r.parentNode.children,g=r.hierNode.i?p[r.hierNode.i-1]:null;if(h.length){d(r);var v=(h[0].hierNode.prelim+h[h.length-1].hierNode.prelim)/2;g?(r.hierNode.prelim=g.hierNode.prelim+o(r,g),r.hierNode.modifier=r.hierNode.prelim-v):r.hierNode.prelim=v}else g&&(r.hierNode.prelim=g.hierNode.prelim+o(r,g));r.parentNode.hierNode.defaultAncestor=a(r,g,r.parentNode.hierNode.defaultAncestor||p[0],o)}function f(r){var o=r.hierNode.prelim+r.parentNode.hierNode.modifier;r.setLayout({x:o},!0),r.hierNode.modifier+=r.parentNode.hierNode.modifier}function t(r){return arguments.length?r:u}function e(r,o){var h={};return r-=Math.PI/2,h.x=o*Math.cos(r),h.y=o*Math.sin(r),h}function m(r,o){return x.getLayoutRect(r.getBoxLayoutParams(),{width:o.getWidth(),height:o.getHeight()})}function d(r){for(var o=r.children,h=o.length,p=0,g=0;--h>=0;){var v=o[h];v.hierNode.prelim+=p,v.hierNode.modifier+=p,g+=v.hierNode.change,p+=v.hierNode.shift+g}}function a(r,o,h,p){if(o){for(var g=r,v=r,y=v.parentNode.children[0],w=o,S=g.hierNode.modifier,_=v.hierNode.modifier,I=y.hierNode.modifier,C=w.hierNode.modifier;w=n(w),v=s(v),w&&v;){g=n(g),y=s(y),g.hierNode.ancestor=r;var E=w.hierNode.prelim+C-v.hierNode.prelim-_+p(w,v);E>0&&(i(c(w,r,h),r,E),_+=E,S+=E),C+=w.hierNode.modifier,_+=v.hierNode.modifier,S+=g.hierNode.modifier,I+=y.hierNode.modifier}w&&!n(g)&&(g.hierNode.thread=w,g.hierNode.modifier+=C-S),v&&!s(y)&&(y.hierNode.thread=v,y.hierNode.modifier+=_-I,h=r)}return h}function n(r){var o=r.children;return o.length&&r.isExpand?o[o.length-1]:r.hierNode.thread}function s(r){var o=r.children;return o.length&&r.isExpand?o[0]:r.hierNode.thread}function c(r,o,h){return r.hierNode.ancestor.parentNode===o.parentNode?r.hierNode.ancestor:h}function i(r,o,h){var p=h/(o.hierNode.i-r.hierNode.i);o.hierNode.change-=p,o.hierNode.shift+=h,o.hierNode.modifier+=h,o.hierNode.prelim+=h,r.hierNode.change+=p}function u(r,o){return r.parentNode===o.parentNode?1:2}R.init=b,R.firstWalk=A,R.secondWalk=f,R.separation=t,R.radialCoordinate=e,R.getViewRect=m},IwbS:function(j,R,l){var x=l("bYtY"),b=l("NC18"),A=l("Qe9p"),f=l("Fofx"),t=l("QBsz"),e=l("y+Vt"),m=l("DN4a"),d=l("Dagg");R.Image=d;var a=l("4fz+");R.Group=a;var n=l("dqUG");R.Text=n;var s=l("2fw6");R.Circle=s;var c=l("SqI9");R.Sector=c;var i=l("RXMa");R.Ring=i;var u=l("h7HQ");R.Polygon=u;var r=l("1Jh7");R.Polyline=r;var o=l("x6Kt");R.Rect=o;var h=l("yxFR");R.Line=h;var p=l("rA99");R.BezierCurve=p;var g=l("jTL6");R.Arc=g;var v=l("1MYJ");R.CompoundPath=v;var y=l("SKnc");R.LinearGradient=y;var w=l("3e3G");R.RadialGradient=w;var S=l("mFDi");R.BoundingRect=S;var _=l("OS9S");R.IncrementalDisplayable=_;var I=l("nPnh"),C=Math.max,E=Math.min,O={},M=1,F={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},H="emphasis",B="normal",X=1,J={},k={};function W(et){return e.extend(et)}function z(et,Ze){return b.extendFromString(et,Ze)}function K(et,Ze){k[et]=Ze}function P(et){if(k.hasOwnProperty(et))return k[et]}function G(et,Ze,Gt,yr){var br=b.createFromString(et,Ze);return Gt&&(yr==="center"&&(Gt=q(Gt,br.getBoundingRect())),ce(br,Gt)),br}function V(et,Ze,Gt){var yr=new d({style:{image:et,x:Ze.x,y:Ze.y,width:Ze.width,height:Ze.height},onload:function(br){if(Gt==="center"){var Sr={width:br.width,height:br.height};yr.setStyle(q(Ze,Sr))}}});return yr}function q(et,Ze){var Gt=Ze.width/Ze.height,yr=et.height*Gt,br;yr<=et.width?br=et.height:(yr=et.width,br=yr/Gt);var Sr=et.x+et.width/2,Tn=et.y+et.height/2;return{x:Sr-yr/2,y:Tn-br/2,width:yr,height:br}}var re=b.mergePath;function ce(et,Ze){if(!et.applyTransform)return;var Gt=et.getBoundingRect(),yr=Gt.calculateTransform(Ze);et.applyTransform(yr)}function ie(et){return I.subPixelOptimizeLine(et.shape,et.shape,et.style),et}function fe(et){return I.subPixelOptimizeRect(et.shape,et.shape,et.style),et}var xe=I.subPixelOptimize;function Se(et){return et!=null&&et!=="none"}var ke=x.createHashMap(),ge=0;function Be(et){if(typeof et!="string")return et;var Ze=ke.get(et);return Ze||(Ze=A.lift(et,-.1),ge<1e4&&(ke.set(et,Ze),ge++)),Ze}function ee(et){if(!et.__hoverStlDirty)return;et.__hoverStlDirty=!1;var Ze=et.__hoverStl;if(!Ze){et.__cachedNormalStl=et.__cachedNormalZ2=null;return}var Gt=et.__cachedNormalStl={};et.__cachedNormalZ2=et.z2;var yr=et.style;for(var br in Ze)Ze[br]!=null&&(Gt[br]=yr[br]);Gt.fill=yr.fill,Gt.stroke=yr.stroke}function ue(et){var Ze=et.__hoverStl;if(!Ze||et.__highlighted)return;var Gt=et.__zr,yr=et.useHoverLayer&&Gt&&Gt.painter.type==="canvas";if(et.__highlighted=yr?"layer":"plain",et.isGroup||!Gt&&et.useHoverLayer)return;var br=et,Sr=et.style;yr&&(br=Gt.addHover(et),Sr=br.style),or(Sr),yr||ee(br),Sr.extendFrom(Ze),Ge(Sr,Ze,"fill"),Ge(Sr,Ze,"stroke"),$t(Sr),yr||(et.dirty(!1),et.z2+=M)}function Ge(et,Ze,Gt){!Se(Ze[Gt])&&Se(et[Gt])&&(et[Gt]=Be(et[Gt]))}function ae(et){var Ze=et.__highlighted;if(!Ze)return;if(et.__highlighted=!1,et.isGroup)return;if(Ze==="layer")et.__zr&&et.__zr.removeHover(et);else{var Gt=et.style,yr=et.__cachedNormalStl;yr&&(or(Gt),et.setStyle(yr),$t(Gt));var br=et.__cachedNormalZ2;br!=null&&et.z2-br===M&&(et.z2=br)}}function Z(et,Ze,Gt){var yr=B,br=B,Sr;et.__highlighted&&(yr=H,Sr=!0),Ze(et,Gt),et.__highlighted&&(br=H,Sr=!0),et.isGroup&&et.traverse(function(Tn){!Tn.isGroup&&Ze(Tn,Gt)}),Sr&&et.__highDownOnUpdate&&et.__highDownOnUpdate(yr,br)}function Y(et,Ze){Ze=et.__hoverStl=Ze!==!1&&(et.hoverStyle||Ze||{}),et.__hoverStlDirty=!0,et.__highlighted&&(et.__cachedNormalStl=null,ae(et),ue(et))}function te(et){!Ne(this,et)&&!this.__highByOuter&&Z(this,ue)}function we(et){!Ne(this,et)&&!this.__highByOuter&&Z(this,ae)}function pe(et){this.__highByOuter|=1<<(et||0),Z(this,ue)}function De(et){!(this.__highByOuter&=~(1<<(et||0)))&&Z(this,ae)}function Ne(et,Ze){return et.__highDownSilentOnTouch&&Ze.zrByTouch}function me(et,Ze){be(et,!0),Z(et,Y,Ze)}function be(et,Ze){var Gt=Ze===!1;if(et.__highDownSilentOnTouch=et.highDownSilentOnTouch,et.__highDownOnUpdate=et.highDownOnUpdate,!Gt||et.__highDownDispatcher){var yr=Gt?"off":"on";et[yr]("mouseover",te)[yr]("mouseout",we),et[yr]("emphasis",pe)[yr]("normal",De),et.__highByOuter=et.__highByOuter||0,et.__highDownDispatcher=!Gt}}function Re(et){return!!(et&&et.__highDownDispatcher)}function it(et){var Ze=J[et];return Ze==null&&X<=32&&(Ze=J[et]=X++),Ze}function yt(et,Ze,Gt,yr,br,Sr,Tn){br=br||O;var cn=br.labelFetcher,Kn=br.labelDataIndex,lt=br.labelDimIndex,mt=br.labelProp,Le=Gt.getShallow("show"),ze=yr.getShallow("show"),$e;(Le||ze)&&(cn&&($e=cn.getFormattedLabel(Kn,"normal",null,lt,mt)),$e==null&&($e=x.isFunction(br.defaultText)?br.defaultText(Kn,br):br.defaultText));var gt=Le?$e:null,ir=ze?x.retrieve2(cn?cn.getFormattedLabel(Kn,"emphasis",null,lt,mt):null,$e):null;(gt!=null||ir!=null)&&(Pe(et,Gt,Sr,br),Pe(Ze,yr,Tn,br,!0)),et.text=gt,Ze.text=ir}function pt(et,Ze,Gt){var yr=et.style;Ze&&(or(yr),et.setStyle(Ze),$t(yr)),yr=et.__hoverStl,Gt&&yr&&(or(yr),x.extend(yr,Gt),$t(yr))}function Pe(et,Ze,Gt,yr,br){return ut(et,Ze,yr,br),Gt&&x.extend(et,Gt),et}function Nt(et,Ze,Gt){var yr={isRectText:!0},br;Gt===!1?br=!0:yr.autoColor=Gt,ut(et,Ze,yr,br)}function ut(et,Ze,Gt,yr){if(Gt=Gt||O,Gt.isRectText){var br;Gt.getTextPosition?br=Gt.getTextPosition(Ze,yr):(br=Ze.getShallow("position")||(yr?null:"inside"),br==="outside"&&(br="top")),et.textPosition=br,et.textOffset=Ze.getShallow("offset");var Sr=Ze.getShallow("rotate");Sr!=null&&(Sr*=Math.PI/180),et.textRotation=Sr,et.textDistance=x.retrieve2(Ze.getShallow("distance"),yr?null:5)}var Tn=Ze.ecModel,cn=Tn&&Tn.option.textStyle,Kn=Ft(Ze),lt;if(Kn){lt={};for(var mt in Kn)if(Kn.hasOwnProperty(mt)){var Le=Ze.getModel(["rich",mt]);Ut(lt[mt]={},Le,cn,Gt,yr)}}return et.rich=lt,Ut(et,Ze,cn,Gt,yr,!0),Gt.forceRich&&!Gt.textStyle&&(Gt.textStyle={}),et}function Ft(et){for(var Ze;et&&et!==et.ecModel;){var Gt=(et.option||O).rich;if(Gt){Ze=Ze||{};for(var yr in Gt)Gt.hasOwnProperty(yr)&&(Ze[yr]=1)}et=et.parentModel}return Ze}function Ut(et,Ze,Gt,yr,br,Sr){Gt=!br&&Gt||O,et.textFill=Wt(Ze.getShallow("color"),yr)||Gt.color,et.textStroke=Wt(Ze.getShallow("textBorderColor"),yr)||Gt.textBorderColor,et.textStrokeWidth=x.retrieve2(Ze.getShallow("textBorderWidth"),Gt.textBorderWidth),br||(Sr&&(et.insideRollbackOpt=yr,$t(et)),et.textFill==null&&(et.textFill=yr.autoColor)),et.fontStyle=Ze.getShallow("fontStyle")||Gt.fontStyle,et.fontWeight=Ze.getShallow("fontWeight")||Gt.fontWeight,et.fontSize=Ze.getShallow("fontSize")||Gt.fontSize,et.fontFamily=Ze.getShallow("fontFamily")||Gt.fontFamily,et.textAlign=Ze.getShallow("align"),et.textVerticalAlign=Ze.getShallow("verticalAlign")||Ze.getShallow("baseline"),et.textLineHeight=Ze.getShallow("lineHeight"),et.textWidth=Ze.getShallow("width"),et.textHeight=Ze.getShallow("height"),et.textTag=Ze.getShallow("tag"),(!Sr||!yr.disableBox)&&(et.textBackgroundColor=Wt(Ze.getShallow("backgroundColor"),yr),et.textPadding=Ze.getShallow("padding"),et.textBorderColor=Wt(Ze.getShallow("borderColor"),yr),et.textBorderWidth=Ze.getShallow("borderWidth"),et.textBorderRadius=Ze.getShallow("borderRadius"),et.textBoxShadowColor=Ze.getShallow("shadowColor"),et.textBoxShadowBlur=Ze.getShallow("shadowBlur"),et.textBoxShadowOffsetX=Ze.getShallow("shadowOffsetX"),et.textBoxShadowOffsetY=Ze.getShallow("shadowOffsetY")),et.textShadowColor=Ze.getShallow("textShadowColor")||Gt.textShadowColor,et.textShadowBlur=Ze.getShallow("textShadowBlur")||Gt.textShadowBlur,et.textShadowOffsetX=Ze.getShallow("textShadowOffsetX")||Gt.textShadowOffsetX,et.textShadowOffsetY=Ze.getShallow("textShadowOffsetY")||Gt.textShadowOffsetY}function Wt(et,Ze){return et!=="auto"?et:Ze&&Ze.autoColor?Ze.autoColor:null}function $t(et){var Ze=et.textPosition,Gt=et.insideRollbackOpt,yr;if(Gt&&et.textFill==null){var br=Gt.autoColor,Sr=Gt.isRectText,Tn=Gt.useInsideStyle,cn=Tn!==!1&&(Tn===!0||Sr&&Ze&&typeof Ze=="string"&&Ze.indexOf("inside")>=0),Kn=!cn&&br!=null;(cn||Kn)&&(yr={textFill:et.textFill,textStroke:et.textStroke,textStrokeWidth:et.textStrokeWidth}),cn&&(et.textFill="#fff",et.textStroke==null&&(et.textStroke=br,et.textStrokeWidth==null&&(et.textStrokeWidth=2))),Kn&&(et.textFill=br)}et.insideRollback=yr}function or(et){var Ze=et.insideRollback;Ze&&(et.textFill=Ze.textFill,et.textStroke=Ze.textStroke,et.textStrokeWidth=Ze.textStrokeWidth,et.insideRollback=null)}function ht(et,Ze){var Gt=Ze&&Ze.getModel("textStyle");return x.trim([et.fontStyle||Gt&&Gt.getShallow("fontStyle")||"",et.fontWeight||Gt&&Gt.getShallow("fontWeight")||"",(et.fontSize||Gt&&Gt.getShallow("fontSize")||12)+"px",et.fontFamily||Gt&&Gt.getShallow("fontFamily")||"sans-serif"].join(" "))}function Ee(et,Ze,Gt,yr,br,Sr){typeof br=="function"&&(Sr=br,br=null);var Tn=yr&&yr.isAnimationEnabled();if(Tn){var cn=et?"Update":"",Kn=yr.getShallow("animationDuration"+cn),lt=yr.getShallow("animationEasing"+cn),mt=yr.getShallow("animationDelay"+cn);typeof mt=="function"&&(mt=mt(br,yr.getAnimationDelayParams?yr.getAnimationDelayParams(Ze,br):null)),typeof Kn=="function"&&(Kn=Kn(br)),Kn>0?Ze.animateTo(Gt,Kn,mt||0,lt,Sr,!!Sr):(Ze.stopAnimation(),Ze.attr(Gt),Sr&&Sr())}else Ze.stopAnimation(),Ze.attr(Gt),Sr&&Sr()}function de(et,Ze,Gt,yr,br){Ee(!0,et,Ze,Gt,yr,br)}function qe(et,Ze,Gt,yr,br){Ee(!1,et,Ze,Gt,yr,br)}function rt(et,Ze){for(var Gt=f.identity([]);et&&et!==Ze;)f.mul(Gt,et.getLocalTransform(),Gt),et=et.parent;return Gt}function ve(et,Ze,Gt){return Ze&&!x.isArrayLike(Ze)&&(Ze=m.getLocalTransform(Ze)),Gt&&(Ze=f.invert([],Ze)),t.applyTransform([],et,Ze)}function bt(et,Ze,Gt){var yr=Ze[4]===0||Ze[5]===0||Ze[0]===0?1:Math.abs(2*Ze[4]/Ze[0]),br=Ze[4]===0||Ze[5]===0||Ze[2]===0?1:Math.abs(2*Ze[4]/Ze[2]),Sr=[et==="left"?-yr:et==="right"?yr:0,et==="top"?-br:et==="bottom"?br:0];return Sr=ve(Sr,Ze,Gt),Math.abs(Sr[0])>Math.abs(Sr[1])?Sr[0]>0?"right":"left":Sr[1]>0?"bottom":"top"}function jt(et,Ze,Gt,yr){if(!et||!Ze)return;function br(cn){var Kn={};return cn.traverse(function(lt){!lt.isGroup&<.anid&&(Kn[lt.anid]=lt)}),Kn}function Sr(cn){var Kn={position:t.clone(cn.position),rotation:cn.rotation};return cn.shape&&(Kn.shape=x.extend({},cn.shape)),Kn}var Tn=br(et);Ze.traverse(function(cn){if(!cn.isGroup&&cn.anid){var Kn=Tn[cn.anid];if(Kn){var lt=Sr(cn);cn.attr(Sr(Kn)),de(cn,lt,Gt,cn.dataIndex)}}})}function He(et,Ze){return x.map(et,function(Gt){var yr=Gt[0];yr=C(yr,Ze.x),yr=E(yr,Ze.x+Ze.width);var br=Gt[1];return br=C(br,Ze.y),br=E(br,Ze.y+Ze.height),[yr,br]})}function kt(et,Ze){var Gt=C(et.x,Ze.x),yr=E(et.x+et.width,Ze.x+Ze.width),br=C(et.y,Ze.y),Sr=E(et.y+et.height,Ze.y+Ze.height);if(yr>=Gt&&Sr>=br)return{x:Gt,y:br,width:yr-Gt,height:Sr-br}}function Ar(et,Ze,Gt){Ze=x.extend({rectHover:!0},Ze);var yr=Ze.style={strokeNoScale:!0};if(Gt=Gt||{x:-1,y:-1,width:2,height:2},et)return et.indexOf("image://")===0?(yr.image=et.slice(8),x.defaults(yr,Gt),new d(Ze)):G(et.replace("path://",""),Ze,Gt,"center")}function at(et,Ze,Gt,yr,br){for(var Sr=0,Tn=br[br.length-1];Sr1)return!1;var Xt=Kt($e,gt,mt,Le)/ze;return!(Xt<0||Xt>1)}function Kt(et,Ze,Gt,yr){return et*yr-Gt*Ze}function ot(et){return et<=1e-6&&et>=-1e-6}K("circle",s),K("sector",c),K("ring",i),K("polygon",u),K("polyline",r),K("rect",o),K("line",h),K("bezierCurve",p),K("arc",g),R.Z2_EMPHASIS_LIFT=M,R.CACHED_LABEL_STYLE_PROPERTIES=F,R.extendShape=W,R.extendPath=z,R.registerShape=K,R.getShapeClass=P,R.makePath=G,R.makeImage=V,R.mergePath=re,R.resizePath=ce,R.subPixelOptimizeLine=ie,R.subPixelOptimizeRect=fe,R.subPixelOptimize=xe,R.setElementHoverStyle=Y,R.setHoverStyle=me,R.setAsHighDownDispatcher=be,R.isHighDownDispatcher=Re,R.getHighlightDigit=it,R.setLabelStyle=yt,R.modifyLabelStyle=pt,R.setTextStyle=Pe,R.setText=Nt,R.getFont=ht,R.updateProps=de,R.initProps=qe,R.getTransform=rt,R.applyTransform=ve,R.transformDirection=bt,R.groupTransition=jt,R.clipPointsByRect=He,R.clipRectByRect=kt,R.createIcon=Ar,R.linePolygonIntersect=at,R.lineLineIntersect=Ht},IyUQ:function(j,R,l){var x=l("bYtY"),b=l("YH21"),A=l("IwbS"),f=l("iLNv"),t=l("fc+c"),e=l("OELB"),m=l("+TT/"),d=l("72pK"),a=A.Rect,n=e.linearMap,s=e.asc,c=x.bind,i=x.each,u=7,r=1,o=30,h="horizontal",p="vertical",g=5,v=["line","bar","candlestick","scatter"],y=t.extend({type:"dataZoom.slider",init:function(I,C){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=C},render:function(I,C,E,O){if(y.superApply(this,"render",arguments),f.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=I.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!O||O.type!=="dataZoom"||O.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){y.superApply(this,"remove",arguments),f.clear(this,"_dispatchZoomAction")},dispose:function(){y.superApply(this,"dispose",arguments),f.clear(this,"_dispatchZoomAction")},_buildView:function(){var I=this.group;I.removeAll(),this._resetLocation(),this._resetInterval();var C=this._displayables.barGroup=new A.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),I.add(C),this._positionGroup()},_resetLocation:function(){var I=this.dataZoomModel,C=this.api,E=this._findCoordRect(),O={width:C.getWidth(),height:C.getHeight()},M=this._orient===h?{right:O.width-E.x-E.width,top:O.height-o-u,width:E.width,height:o}:{right:u,top:E.y,width:o,height:E.height},F=m.getLayoutParams(I.option);x.each(["right","top","width","height"],function(B){F[B]==="ph"&&(F[B]=M[B])});var H=m.getLayoutRect(F,O,I.padding);this._location={x:H.x,y:H.y},this._size=[H.width,H.height],this._orient===p&&this._size.reverse()},_positionGroup:function(){var I=this.group,C=this._location,E=this._orient,O=this.dataZoomModel.getFirstTargetAxisModel(),M=O&&O.get("inverse"),F=this._displayables.barGroup,H=(this._dataShadowInfo||{}).otherAxisInverse;F.attr(E===h&&!M?{scale:H?[1,1]:[1,-1]}:E===h&&M?{scale:H?[-1,1]:[-1,-1]}:E===p&&!M?{scale:H?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:H?[-1,-1]:[-1,1],rotation:Math.PI/2});var B=I.getBoundingRect([F]);I.attr("position",[C.x-B.x,C.y-B.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var I=this.dataZoomModel,C=this._size,E=this._displayables.barGroup;E.add(new a({silent:!0,shape:{x:0,y:0,width:C[0],height:C[1]},style:{fill:I.get("backgroundColor")},z2:-40})),E.add(new a({shape:{x:0,y:0,width:C[0],height:C[1]},style:{fill:"transparent"},z2:0,onclick:x.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var I=this._dataShadowInfo=this._prepareDataShadowInfo();if(!I)return;var C=this._size,E=I.series,O=E.getRawData(),M=E.getShadowDim?E.getShadowDim():I.otherDim;if(M==null)return;var F=O.getDataExtent(M),H=(F[1]-F[0])*.3;F=[F[0]-H,F[1]+H];var B=[0,C[1]],X=[0,C[0]],J=[[C[0],0],[0,0]],k=[],W=X[1]/(O.count()-1),z=0,K=Math.round(O.count()/C[0]),P;O.each([M],function(V,q){if(K>0&&q%K){z+=W;return}var re=V==null||isNaN(V)||V==="",ce=re?0:n(V,F,B,!0);re&&!P&&q?(J.push([J[J.length-1][0],0]),k.push([k[k.length-1][0],0])):!re&&P&&(J.push([z,0]),k.push([z,0])),J.push([z,ce]),k.push([z,ce]),z+=W,P=re});var G=this.dataZoomModel;this._displayables.barGroup.add(new A.Polygon({shape:{points:J},style:x.defaults({fill:G.get("dataBackgroundColor")},G.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new A.Polyline({shape:{points:k},style:G.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var I=this.dataZoomModel,C=I.get("showDataShadow");if(C===!1)return;var E,O=this.ecModel;return I.eachTargetAxis(function(M,F){var H=I.getAxisProxy(M.name,F).getTargetSeriesModels();x.each(H,function(B){if(E)return;if(C!==!0&&x.indexOf(v,B.get("type"))<0)return;var X=O.getComponent(M.axis,F).axis,J=w(M.name),k,W=B.coordinateSystem;J!=null&&W.getOtherAxis&&(k=W.getOtherAxis(X).inverse),J=B.getData().mapDimension(J),E={thisAxis:X,series:B,thisDim:M.name,otherDim:J,otherAxisInverse:k}},this)},this),E},_renderHandle:function(){var I=this._displayables,C=I.handles=[],E=I.handleLabels=[],O=this._displayables.barGroup,M=this._size,F=this.dataZoomModel;O.add(I.filler=new a({draggable:!0,cursor:S(this._orient),drift:c(this._onDragMove,this,"all"),ondragstart:c(this._showDataInfo,this,!0),ondragend:c(this._onDragEnd,this),onmouseover:c(this._showDataInfo,this,!0),onmouseout:c(this._showDataInfo,this,!1),style:{fill:F.get("fillerColor"),textPosition:"inside"}})),O.add(new a({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:M[0],height:M[1]},style:{stroke:F.get("dataBackgroundColor")||F.get("borderColor"),lineWidth:r,fill:"rgba(0,0,0,0)"}})),i([0,1],function(H){var B=A.createIcon(F.get("handleIcon"),{cursor:S(this._orient),draggable:!0,drift:c(this._onDragMove,this,H),ondragend:c(this._onDragEnd,this),onmouseover:c(this._showDataInfo,this,!0),onmouseout:c(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),X=B.getBoundingRect();this._handleHeight=e.parsePercent(F.get("handleSize"),this._size[1]),this._handleWidth=X.width/X.height*this._handleHeight,B.setStyle(F.getModel("handleStyle").getItemStyle());var J=F.get("handleColor");J!=null&&(B.style.fill=J),O.add(C[H]=B);var k=F.textStyleModel;this.group.add(E[H]=new A.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:k.getTextColor(),textFont:k.getFont()},z2:10}))},this)},_resetInterval:function(){var I=this._range=this.dataZoomModel.getPercentRange(),C=this._getViewExtent();this._handleEnds=[n(I[0],[0,100],C,!0),n(I[1],[0,100],C,!0)]},_updateInterval:function(I,C){var E=this.dataZoomModel,O=this._handleEnds,M=this._getViewExtent(),F=E.findRepresentativeAxisProxy().getMinMaxSpan(),H=[0,100];d(C,O,M,E.get("zoomLock")?"all":I,F.minSpan!=null?n(F.minSpan,H,M,!0):null,F.maxSpan!=null?n(F.maxSpan,H,M,!0):null);var B=this._range,X=this._range=s([n(O[0],M,H,!0),n(O[1],M,H,!0)]);return!B||B[0]!==X[0]||B[1]!==X[1]},_updateView:function(I){var C=this._displayables,E=this._handleEnds,O=s(E.slice()),M=this._size;i([0,1],function(F){var H=C.handles[F],B=this._handleHeight;H.attr({scale:[B/2,B/2],position:[E[F],M[1]/2-B/2]})},this),C.filler.setShape({x:O[0],y:0,width:O[1]-O[0],height:M[1]}),this._updateDataInfo(I)},_updateDataInfo:function(I){var C=this.dataZoomModel,E=this._displayables,O=E.handleLabels,M=this._orient,F=["",""];if(C.get("showDetail")){var H=C.findRepresentativeAxisProxy();if(H){var B=H.getAxisModel().axis,X=this._range,J=I?H.calculateDataWindow({start:X[0],end:X[1]}).valueWindow:H.getDataValueWindow();F=[this._formatLabel(J[0],B),this._formatLabel(J[1],B)]}}var k=s(this._handleEnds.slice());W.call(this,0),W.call(this,1);function W(z){var K=A.getTransform(E.handles[z].parent,this.group),P=A.transformDirection(z===0?"right":"left",K),G=this._handleWidth/2+g,V=A.applyTransform([k[z]+(z===0?-G:G),this._size[1]/2],K);O[z].setStyle({x:V[0],y:V[1],textVerticalAlign:M===h?"middle":P,textAlign:M===h?P:"center",text:F[z]})}},_formatLabel:function(I,C){var E=this.dataZoomModel,O=E.get("labelFormatter"),M=E.get("labelPrecision");(M==null||M==="auto")&&(M=C.getPixelPrecision());var F=I==null||isNaN(I)?"":C.type==="category"||C.type==="time"?C.scale.getLabel(Math.round(I)):I.toFixed(Math.min(M,20));return x.isFunction(O)?O(I,F):x.isString(O)?O.replace("{value}",F):F},_showDataInfo:function(I){I=this._dragging||I;var C=this._displayables.handleLabels;C[0].attr("invisible",!I),C[1].attr("invisible",!I)},_onDragMove:function(I,C,E,O){this._dragging=!0,b.stop(O.event);var M=this._displayables.barGroup.getLocalTransform(),F=A.applyTransform([C,E],M,!0),H=this._updateInterval(I,F[0]),B=this.dataZoomModel.get("realtime");this._updateView(!B),H&&B&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var I=this.dataZoomModel.get("realtime");!I&&this._dispatchZoomAction()},_onClickPanelClick:function(I){var C=this._size,E=this._displayables.barGroup.transformCoordToLocal(I.offsetX,I.offsetY);if(E[0]<0||E[0]>C[0]||E[1]<0||E[1]>C[1])return;var O=this._handleEnds,M=(O[0]+O[1])/2,F=this._updateInterval("all",E[0]-M);this._updateView(),F&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var I=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:I[0],end:I[1]})},_findCoordRect:function(){var I;if(i(this.getTargetCoordInfo(),function(O){if(!I&&O.length){var M=O[0].model.coordinateSystem;I=M.getRect&&M.getRect()}}),!I){var C=this.api.getWidth(),E=this.api.getHeight();I={x:C*.2,y:E*.2,width:C*.6,height:E*.6}}return I}});function w(I){var C={x:"y",y:"x",radius:"angle",angle:"radius"};return C[I]}function S(I){return I==="vertical"?"ns-resize":"ew-resize"}var _=y;j.exports=_},IzEo:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("lnY3"),f=l.n(A),t=l("Znn+"),e=l("14J3"),m=l("jCWc")},J66h:function(j,R,l){(function(x){var b,A;(function(f,t){j.exports=t(f)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof x!="undefined"?x:this,function(f){"use strict";f=f||{};var t=f.Base64,e="2.6.4",m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=function(B){for(var X={},J=0,k=B.length;J>>6)+a(128|J&63):a(224|J>>>12&15)+a(128|J>>>6&63)+a(128|J&63)}else{var J=65536+(X.charCodeAt(0)-55296)*1024+(X.charCodeAt(1)-56320);return a(240|J>>>18&7)+a(128|J>>>12&63)+a(128|J>>>6&63)+a(128|J&63)}},s=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,c=function(X){return X.replace(s,n)},i=function(X){var J=[0,2,1][X.length%3],k=X.charCodeAt(0)<<16|(X.length>1?X.charCodeAt(1):0)<<8|(X.length>2?X.charCodeAt(2):0),W=[m.charAt(k>>>18),m.charAt(k>>>12&63),J>=2?"=":m.charAt(k>>>6&63),J>=1?"=":m.charAt(k&63)];return W.join("")},u=f.btoa&&typeof f.btoa=="function"?function(B){return f.btoa(B)}:function(B){if(B.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return B.replace(/[\s\S]{1,3}/g,i)},r=function(X){return u(c(String(X)))},o=function(X){return X.replace(/[+\/]/g,function(J){return J=="+"?"-":"_"}).replace(/=/g,"")},h=function(X,J){return J?o(r(X)):r(X)},p=function(X){return h(X,!0)},g;f.Uint8Array&&(g=function(X,J){for(var k="",W=0,z=X.length;W>>18)+m.charAt(V>>>12&63)+(typeof P!="undefined"?m.charAt(V>>>6&63):"=")+(typeof G!="undefined"?m.charAt(V&63):"=")}return J?o(k):k});var v=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,y=function(X){switch(X.length){case 4:var J=(7&X.charCodeAt(0))<<18|(63&X.charCodeAt(1))<<12|(63&X.charCodeAt(2))<<6|63&X.charCodeAt(3),k=J-65536;return a((k>>>10)+55296)+a((k&1023)+56320);case 3:return a((15&X.charCodeAt(0))<<12|(63&X.charCodeAt(1))<<6|63&X.charCodeAt(2));default:return a((31&X.charCodeAt(0))<<6|63&X.charCodeAt(1))}},w=function(X){return X.replace(v,y)},S=function(X){var J=X.length,k=J%4,W=(J>0?d[X.charAt(0)]<<18:0)|(J>1?d[X.charAt(1)]<<12:0)|(J>2?d[X.charAt(2)]<<6:0)|(J>3?d[X.charAt(3)]:0),z=[a(W>>>16),a(W>>>8&255),a(W&255)];return z.length-=[0,0,2,1][k],z.join("")},_=f.atob&&typeof f.atob=="function"?function(B){return f.atob(B)}:function(B){return B.replace(/\S{1,4}/g,S)},I=function(X){return _(String(X).replace(/[^A-Za-z0-9\+\/]/g,""))},C=function(X){return w(_(X))},E=function(X){return String(X).replace(/[-_]/g,function(J){return J=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},O=function(X){return C(E(X))},M;f.Uint8Array&&(M=function(X){return Uint8Array.from(I(E(X)),function(J){return J.charCodeAt(0)})});var F=function(){var X=f.Base64;return f.Base64=t,X};if(f.Base64={VERSION:e,atob:I,btoa:u,fromBase64:O,toBase64:h,utob:c,encode:h,encodeURI:p,btou:w,decode:O,noConflict:F,fromUint8Array:g,toUint8Array:M},typeof Object.defineProperty=="function"){var H=function(X){return{value:X,enumerable:!1,writable:!0,configurable:!0}};f.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",H(function(){return O(this)})),Object.defineProperty(String.prototype,"toBase64",H(function(B){return h(this,B)})),Object.defineProperty(String.prototype,"toBase64URI",H(function(){return h(this,!0)}))}}return f.Meteor&&(Base64=f.Base64),j.exports?j.exports.Base64=f.Base64:!(b=[],A=function(){return f.Base64}.apply(R,b),A!==void 0&&(j.exports=A)),{Base64:f.Base64}})}).call(this,l("yLpj"))},JEkh:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("ProS"),f=l("bYtY"),t=l("ItGF"),e=l("4NO4"),m=l("7aKB"),d=l("OKJ2"),a=m.addCommas,n=m.encodeHTML;function s(u){e.defaultEmphasis(u,"label",["show"])}var c=A.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(u,r,o){this.mergeDefaultAndTheme(u,o),this._mergeOption(u,o,!1,!0)},isAnimationEnabled:function(){if(t.node)return!1;var u=this.__hostSeries;return this.getShallow("animation")&&u&&u.isAnimationEnabled()},mergeOption:function(u,r){this._mergeOption(u,r,!1,!1)},_mergeOption:function(u,r,o,h){var p=this.constructor,g=this.mainType+"Model";o||r.eachSeries(function(v){var y=v.get(this.mainType,!0),w=v[g];if(!y||!y.data){v[g]=null;return}w?w._mergeOption(y,r,!0):(h&&s(y),f.each(y.data,function(S){S instanceof Array?(s(S[0]),s(S[1])):s(S)}),w=new p(y,this,r),f.extend(w,{mainType:this.mainType,seriesIndex:v.seriesIndex,name:v.name,createdBySelf:!0}),w.__hostSeries=v),v[g]=w},this)},formatTooltip:function(u){var r=this.getData(),o=this.getRawValue(u),h=f.isArray(o)?f.map(o,a).join(", "):a(o),p=r.getName(u),g=n(this.name);return(o!=null||p)&&(g+="
"),p&&(g+=n(p),o!=null&&(g+=" : ")),o!=null&&(g+=n(h)),g},getData:function(){return this._data},setData:function(u){this._data=u}});f.mixin(c,d);var i=c;j.exports=i},JGo8:function(j,R,l){},JLnu:function(j,R,l){var x=l("+TT/"),b=l("OELB"),A=b.parsePercent,f=b.linearMap;function t(a,n){return x.getLayoutRect(a.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}function e(a,n){for(var s=a.mapDimension("value"),c=a.mapArray(s,function(h){return h}),i=[],u=n==="ascending",r=0,o=a.count();r=1&&!(re[O]!==0);O--);if(M>O&&(M=O),O===0)return v[y++]=1<<24|64<<16|0,v[y++]=1<<24|64<<16|0,S.bits=1,0;for(E=1;E0&&(o===d||O!==1))return-1;for(ce[1]=0,I=1;Ie||o===n&&X>m)return 1;for(;;){xe=I-H,w[C]q?(Se=ie[fe+w[C]],ke=G[V+w[C]]):(Se=32+64,ke=0),k=1<>H)+W]=xe<<24|Se<<16|ke|0;while(W!==0);for(k=1<>=1;if(k!==0?(J&=k-1,J+=k):J=0,C++,--re[I]===0){if(I===O)break;I=h[p+w[C]]}if(I>M&&(J&K)!==z){for(H===0&&(H=M),P+=E,F=I-H,B=1<e||o===n&&X>m)return 1;z=J&K,v[z]=M<<24|F<<16|P-y|0}}return J!==0&&(v[P+J]=I-H<<24|64<<16|0),S.bits=M,0}},JVwQ:function(j,R,l){var x=l("ProS"),b=l("1NG9"),A=b.Polygon,f=l("IwbS"),t=l("bYtY"),e=t.bind,m=t.extend,d=l("gPAo"),a=x.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(s,c,i){var u=s.getData(),r=this.group,o=s.getLayerSeries(),h=u.getLayout("layoutInfo"),p=h.rect,g=h.boundaryGap;r.attr("position",[0,p.y+g[0]]);function v(_){return _.name}var y=new d(this._layersSeries||[],o,v,v),w={};y.add(e(S,this,"add")).update(e(S,this,"update")).remove(e(S,this,"remove")).execute();function S(_,I,C){var E=this._layers;if(_==="remove"){r.remove(E[I]);return}for(var O=[],M=[],F,H=o[I].indices,B=0;Bge.top-ee?ee+Be.top:void 0}function O(ge,Be,ee){if(ee!==void 0&&Be.bottom=0;Y--)(Z=ge[Y])&&(ae=(Ge<3?Z(ae):Ge>3?Z(Be,ee,ae):Z(Be,ee))||ae);return Ge>3&&ae&&Object.defineProperty(Be,ee,ae),ae};function k(){return typeof window!="undefined"?window:null}var W;(function(ge){ge[ge.None=0]="None",ge[ge.Prepare=1]="Prepare"})(W||(W={}));var z=function(ge){c()(ee,ge);var Be=u()(ee);function ee(){var ue;return e()(this,ee),ue=Be.apply(this,arguments),ue.state={status:W.None,lastAffix:!1,prevTarget:null},ue.getOffsetTop=function(){var Ge=ue.props.offsetBottom,ae=ue.props.offsetTop;return Ge===void 0&&ae===void 0&&(ae=0),ae},ue.getOffsetBottom=function(){return ue.props.offsetBottom},ue.savePlaceholderNode=function(Ge){ue.placeholderNode=Ge},ue.saveFixedNode=function(Ge){ue.fixedNode=Ge},ue.measure=function(){var Ge=ue.state,ae=Ge.status,Z=Ge.lastAffix,Y=ue.props.onChange,te=ue.getTargetFunc();if(ae!==W.Prepare||!ue.fixedNode||!ue.placeholderNode||!te)return;var we=ue.getOffsetTop(),pe=ue.getOffsetBottom(),De=te();if(!De)return;var Ne={status:W.None},me=C(De),be=C(ue.placeholderNode),Re=E(be,me,we),it=O(be,me,pe);Re!==void 0?(Ne.affixStyle={position:"fixed",top:Re,width:be.width,height:be.height},Ne.placeholderStyle={width:be.width,height:be.height}):it!==void 0&&(Ne.affixStyle={position:"fixed",bottom:it,width:be.width,height:be.height},Ne.placeholderStyle={width:be.width,height:be.height}),Ne.lastAffix=!!Ne.affixStyle,Y&&Z!==Ne.lastAffix&&Y(Ne.lastAffix),ue.setState(Ne)},ue.prepareMeasure=function(){if(ue.setState({status:W.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var Ge},ue.render=function(){var Ge=ue.context.getPrefixCls,ae=ue.state,Z=ae.affixStyle,Y=ae.placeholderStyle,te=ue.props,we=te.prefixCls,pe=te.children,De=p()(f()({},Ge("affix",we),Z)),Ne=Object(w.default)(ue.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return r.createElement(S.a,{onResize:function(){ue.updatePosition()}},r.createElement("div",b()({},Ne,{ref:ue.savePlaceholderNode}),Z&&r.createElement("div",{style:Y,"aria-hidden":"true"}),r.createElement("div",{className:De,ref:ue.saveFixedNode,style:Z},r.createElement(S.a,{onResize:function(){ue.updatePosition()}},pe))))},ue}return d()(ee,[{key:"getTargetFunc",value:function(){var Ge=this.context.getTargetContainer,ae=this.props.target;return ae!==void 0?ae:Ge||k}},{key:"componentDidMount",value:function(){var Ge=this,ae=this.getTargetFunc();ae&&(this.timeout=setTimeout(function(){B(ae(),Ge),Ge.updatePosition()}))}},{key:"componentDidUpdate",value:function(Ge){var ae=this.state.prevTarget,Z=this.getTargetFunc(),Y=null;Z&&(Y=Z()||null),ae!==Y&&(X(this),Y&&(B(Y,this),this.updatePosition()),this.setState({prevTarget:Y})),(Ge.offsetTop!==this.props.offsetTop||Ge.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),X(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var Ge=this.getTargetFunc(),ae=this.state.affixStyle;if(Ge&&ae){var Z=this.getOffsetTop(),Y=this.getOffsetBottom(),te=Ge();if(te&&this.placeholderNode){var we=C(te),pe=C(this.placeholderNode),De=E(pe,we,Z),Ne=O(pe,we,Y);if(De!==void 0&&ae.top===De||Ne!==void 0&&ae.bottom===Ne)return}}this.prepareMeasure()}}]),ee}(r.Component);z.contextType=_.b,J([Object(I.b)()],z.prototype,"updatePosition",null),J([Object(I.b)()],z.prototype,"lazyUpdatePosition",null);var K=z,P=l("zAh6"),G=l("i6bk"),V=r.createContext(null),q=V;function re(){return window}function ce(ge,Be){if(!ge.getClientRects().length)return 0;var ee=ge.getBoundingClientRect();return ee.width||ee.height?Be===window?(Be=ge.ownerDocument.documentElement,ee.top-Be.clientTop):ee.top-Be.getBoundingClientRect().top:ee.top}var ie=/#(\S+)$/,fe=function(ge){c()(ee,ge);var Be=u()(ee);function ee(){var ue;return e()(this,ee),ue=Be.apply(this,arguments),ue.state={activeLink:null},ue.links=[],ue.registerLink=function(Ge){ue.links.includes(Ge)||ue.links.push(Ge)},ue.unregisterLink=function(Ge){var ae=ue.links.indexOf(Ge);ae!==-1&&ue.links.splice(ae,1)},ue.getContainer=function(){var Ge=ue.context.getTargetContainer,ae=ue.props.getContainer,Z=ae||Ge||re;return Z()},ue.handleScrollTo=function(Ge){var ae=ue.props,Z=ae.offsetTop,Y=ae.targetOffset;ue.setCurrentActiveLink(Ge);var te=ue.getContainer(),we=Object(G.a)(te,!0),pe=ie.exec(Ge);if(!pe)return;var De=document.getElementById(pe[1]);if(!De)return;var Ne=ce(De,te),me=we+Ne;me-=Y!==void 0?Y:Z||0,ue.animating=!0,Object(P.a)(me,{callback:function(){ue.animating=!1},getContainer:ue.getContainer})},ue.saveInkNode=function(Ge){ue.inkNode=Ge},ue.setCurrentActiveLink=function(Ge){var ae=ue.state.activeLink,Z=ue.props.onChange;ae!==Ge&&(ue.setState({activeLink:Ge}),Z&&Z(Ge))},ue.handleScroll=function(){if(ue.animating)return;var Ge=ue.props,ae=Ge.offsetTop,Z=Ge.bounds,Y=Ge.targetOffset,te=ue.getCurrentAnchor(Y!==void 0?Y:ae||0,Z);ue.setCurrentActiveLink(te)},ue.updateInk=function(){var Ge=n()(ue),ae=Ge.prefixCls,Z=o.findDOMNode(n()(ue)),Y=Z.getElementsByClassName("".concat(ae,"-link-title-active"))[0];Y&&(ue.inkNode.style.top="".concat(Y.offsetTop+Y.clientHeight/2-4.5,"px"))},ue.render=function(){var Ge=ue.context,ae=Ge.getPrefixCls,Z=Ge.direction,Y=ue.props,te=Y.prefixCls,we=Y.className,pe=we===void 0?"":we,De=Y.style,Ne=Y.offsetTop,me=Y.affix,be=Y.showInkInFixed,Re=Y.children,it=ue.state.activeLink,yt=ae("anchor",te);ue.prefixCls=yt;var pt=p()("".concat(yt,"-ink-ball"),{visible:it}),Pe=p()(pe,"".concat(yt,"-wrapper"),f()({},"".concat(yt,"-rtl"),Z==="rtl")),Nt=p()(yt,{fixed:!me&&!be}),ut=b()({maxHeight:Ne?"calc(100vh - ".concat(Ne,"px)"):"100vh"},De),Ft=r.createElement("div",{className:Pe,style:ut},r.createElement("div",{className:Nt},r.createElement("div",{className:"".concat(yt,"-ink")},r.createElement("span",{className:pt,ref:ue.saveInkNode})),Re));return r.createElement(q.Provider,{value:{registerLink:ue.registerLink,unregisterLink:ue.unregisterLink,activeLink:ue.state.activeLink,scrollTo:ue.handleScrollTo,onClick:ue.props.onClick}},me?r.createElement(K,{offsetTop:Ne,target:ue.getContainer},Ft):Ft)},ue}return d()(ee,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(g.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var Ge=this.getContainer();this.scrollContainer!==Ge&&(this.scrollContainer=Ge,this.scrollEvent.remove(),this.scrollEvent=Object(g.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,Z=this.props.getCurrentAnchor;if(typeof Z=="function")return Z();var Y=[],te=this.getContainer();if(this.links.forEach(function(pe){var De=ie.exec(pe.toString());if(!De)return;var Ne=document.getElementById(De[1]);if(Ne){var me=ce(Ne,te);mepe.top?De:pe});return we.link}return""}}]),ee}(r.Component);fe.defaultProps={affix:!0,showInkInFixed:!1},fe.contextType=_.b;var xe=function(ge){c()(ee,ge);var Be=u()(ee);function ee(){var ue;return e()(this,ee),ue=Be.apply(this,arguments),ue.handleClick=function(Ge){var ae=ue.context,Z=ae.scrollTo,Y=ae.onClick,te=ue.props,we=te.href,pe=te.title;Y&&Y(Ge,{title:pe,href:we}),Z(we)},ue.renderAnchorLink=function(Ge){var ae=Ge.getPrefixCls,Z=ue.props,Y=Z.prefixCls,te=Z.href,we=Z.title,pe=Z.children,De=Z.className,Ne=Z.target,me=ae("anchor",Y),be=ue.context.activeLink===te,Re=p()(De,"".concat(me,"-link"),f()({},"".concat(me,"-link-active"),be)),it=p()("".concat(me,"-link-title"),f()({},"".concat(me,"-link-title-active"),be));return r.createElement("div",{className:Re},r.createElement("a",{className:it,href:te,title:typeof we=="string"?we:"",target:Ne,onClick:ue.handleClick},we),pe)},ue}return d()(ee,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(Ge){var ae=Ge.href,Z=this.props.href;ae!==Z&&(this.context.unregisterLink(ae),this.context.registerLink(Z))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return r.createElement(_.a,null,this.renderAnchorLink)}}]),ee}(r.Component);xe.defaultProps={href:"#"},xe.contextType=q;var Se=xe;fe.Link=Se;var ke=R.a=fe},JuEJ:function(j,R,l){var x=l("bYtY"),b=l("4NO4"),A=x.each,f=x.isObject,t=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function e(r){var o=r&&r.itemStyle;if(!o)return;for(var h=0,p=t.length;h0},extendFrom:function(i,u){if(i)for(var r in i)i.hasOwnProperty(r)&&(u===!0||(u===!1?!this.hasOwnProperty(r):i[r]!=null))&&(this[r]=i[r])},set:function(i,u){typeof i=="string"?this[i]=u:this.extendFrom(i,!0)},clone:function(){var i=new this.constructor;return i.extendFrom(this,!0),i},getGradient:function(i,u,r){for(var o=u.type==="radial"?m:e,h=o(i,u,r),p=u.colorStops,g=0;g=0||m&&x.indexOf(m,n)<0)continue;var s=t.getShallow(n);s!=null&&(d[A[a][0]]=s)}return d}}j.exports=b},KPFz:function(j,R,l){},KQeH:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};R.default=x},KS52:function(j,R,l){var x=l("OELB"),b=x.parsePercent,A=x.linearMap,f=l("+TT/"),t=l("u3DP"),e=l("bYtY"),m=Math.PI*2,d=Math.PI/180;function a(s,c){return f.getLayoutRect(s.getBoxLayoutParams(),{width:c.getWidth(),height:c.getHeight()})}function n(s,c,i,u){c.eachSeriesByType(s,function(r){var o=r.getData(),h=o.mapDimension("value"),p=a(r,i),g=r.get("center"),v=r.get("radius");e.isArray(v)||(v=[0,v]),e.isArray(g)||(g=[g,g]);var y=b(p.width,i.getWidth()),w=b(p.height,i.getHeight()),S=Math.min(y,w),_=b(g[0],y)+p.x,I=b(g[1],w)+p.y,C=b(v[0],S/2),E=b(v[1],S/2),O=-r.get("startAngle")*d,M=r.get("minAngle")*d,F=0;o.each(h,function(q){!isNaN(q)&&F++});var H=o.getSum(h),B=Math.PI/(H||F)*2,X=r.get("clockwise"),J=r.get("roseType"),k=r.get("stillShowZeroSum"),W=o.getDataExtent(h);W[0]=0;var z=m,K=0,P=O,G=X?1:-1;if(o.each(h,function(q,re){var ce;if(isNaN(q)){o.setItemLayout(re,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:X,cx:_,cy:I,r0:C,r:J?NaN:E,viewRect:p});return}J!=="area"?ce=H===0&&k?B:q*B:ce=m/F,ceyt?pt>=Pe?10+be:20+be:pt<=Pe?10+be:be},pe=function(be,Re){if(typeof be=="number"){var it=we(be,Re),yt=q||o(Ge)[Re]===void 0;return m.createElement("span",{className:"".concat(te,"-only"),style:{transition:yt?"none":void 0,msTransform:"translateY(".concat(-it*100,"%)"),WebkitTransform:"translateY(".concat(-it*100,"%)"),transform:"translateY(".concat(-it*100,"%)")},key:Re},h(it,"".concat(te,"-only-unit")))}return m.createElement("span",{key:"symbol",className:"".concat(te,"-symbol")},be)},De=function(){return fe&&Number(fe)%1===0?o(fe).map(function(be,Re){return pe(be,Re)}).reverse():fe},Ne=e()(e()({},P),{style:B,className:n()(te,H),title:X});return B&&B.borderColor&&(Ne.style=e()(e()({},B),{boxShadow:"0 0 0 1px ".concat(B.borderColor," inset")})),W?Object(u.a)(W,{className:n()("".concat(te,"-custom-component"),W.props&&W.props.className)}):m.createElement(k,Ne,De())},g=p,v=l("09Wf");function y(E){return v.a.indexOf(E)!==-1}var w=function(O){var M,F=O.className,H=O.prefixCls,B=O.style,X=O.color,J=O.children,k=O.text,W=O.placement,z=W===void 0?"end":W,K=m.useContext(i.b),P=K.getPrefixCls,G=K.direction,V=P("ribbon",H),q=y(X),re=n()(V,F,"".concat(V,"-placement-").concat(z),(M={},b()(M,"".concat(V,"-rtl"),G==="rtl"),b()(M,"".concat(V,"-color-").concat(X),q),M)),ce={},ie={};return X&&!q&&(ce.background=X,ie.color=X),m.createElement("div",{className:"".concat(V,"-wrapper")},J,m.createElement("div",{className:re,style:e()(e()({},ce),B)},k,m.createElement("div",{className:"".concat(V,"-corner"),style:ie})))},S=w,_=function(E,O){var M={};for(var F in E)Object.prototype.hasOwnProperty.call(E,F)&&O.indexOf(F)<0&&(M[F]=E[F]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,F=Object.getOwnPropertySymbols(E);HG?"".concat(G,"+"):K;return Ut},Y=function(){return!!J||!!W},te=function(){var Ut=Z();return Ut==="0"||Ut===0},we=function(){return q&&!te()||Y()},pe=function(){return we()?"":Z()},De=function(){return ie||(typeof K=="string"||typeof K=="number"?K:void 0)},Ne=function(){return Ge==="rtl"?fe?e()({left:parseInt(fe[0],10),marginTop:fe[1]},xe):xe:fe?e()({right:-parseInt(fe[0],10),marginTop:fe[1]},xe):xe},me=function(){var Ut=pe(),Wt=Ut==null||Ut==="";return(Wt||te()&&!ge)&&!we()},be=function(){var Ut=me();return Ut||!k?null:m.createElement("span",{className:"".concat(ae,"-status-text")},k)},Re=function(){var Ut=K;return!Ut||f()(Ut)!=="object"?void 0:Object(u.a)(Ut,{style:e()(e()({},Ne()),Ut.props&&Ut.props.style)})},it=function(){var Ut,Wt=ue("scroll-number",B),$t=pe(),or=we(),ht=me(),Ee=n()((Ut={},b()(Ut,"".concat(ae,"-dot"),or),b()(Ut,"".concat(ae,"-count"),!or),b()(Ut,"".concat(ae,"-count-sm"),ce==="small"),b()(Ut,"".concat(ae,"-multiple-words"),!or&&K&&K.toString&&K.toString().length>1),b()(Ut,"".concat(ae,"-status-").concat(J),!!J),b()(Ut,"".concat(ae,"-status-").concat(W),y(W)),Ut)),de=Ne();return W&&!y(W)&&(de=de||{},de.background=W),ht?null:m.createElement(g,{prefixCls:Wt,"data-show":!ht,className:Ee,count:$t,displayComponent:Re(),title:De(),style:de,key:"scrollNumber"})},yt=n()((M={},b()(M,"".concat(ae,"-status-dot"),Y()),b()(M,"".concat(ae,"-status-").concat(J),!!J),b()(M,"".concat(ae,"-status-").concat(W),y(W)),M)),pt={};W&&!y(W)&&(pt.background=W);var Pe=n()(Se,ae,(F={},b()(F,"".concat(ae,"-status"),Y()),b()(F,"".concat(ae,"-not-a-wrapper"),!X),b()(F,"".concat(ae,"-rtl"),Ge==="rtl"),F));if(!X&&Y()){var Nt=Ne(),ut=Nt&&Nt.color;return m.createElement("span",e()({},Be,{className:Pe,style:Nt}),m.createElement("span",{className:yt,style:pt}),m.createElement("span",{style:{color:ut},className:"".concat(ae,"-status-text")},k))}return m.createElement("span",e()({},Be,{className:Pe}),X,m.createElement(d.a,{component:"",showProp:"data-show",transitionName:X?"".concat(ae,"-zoom"):"",transitionAppear:!0},it()),be())};I.Ribbon=S;var C=R.a=I},Kvyg:function(j,R,l){},KxBF:function(j,R){function l(x,b,A){var f=-1,t=x.length;b<0&&(b=-b>t?0:t+b),A=A>t?t:A,A<0&&(A+=t),t=b>A?0:A-b>>>0,b>>>=0;for(var e=Array(t);++f0&&Date.now()-this._tracked[0].started>r){this._state=f,this._ignored.push(w);return}if(this._waitingRelease){this._state=f,this._ignored.push(w);return}this._tracked.push({id:w,started:Date.now(),active:!0,firstX:S,firstY:_,lastX:S,lastY:_,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(t|d|a),this._stopLongpressTimeout();break;case 3:this._state&=~(e|n|s);break;default:this._state=f}}},{key:"_touchMove",value:function(w,S,_){var I=this._tracked.find(function(H){return H.id===w});if(I===void 0)return;I.lastX=S,I.lastY=_;var C=S-I.firstX,E=_-I.firstY;if((I.firstX!==I.lastX||I.firstY!==I.lastY)&&(I.angle=Math.atan2(E,C)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(C,E)i){var F=Math.abs(I.angle-O.angle);F=Math.abs((F+180)%360-180),F>u?this._state&=~n:this._state&=~s,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(w,S,_){if(this._ignored.indexOf(w)!==-1){this._ignored.splice(this._ignored.indexOf(w),1),this._ignored.length===0&&this._tracked.length===0&&(this._state=c,this._waitingRelease=!1);return}if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=f),!this._hasDetectedGesture()&&(this._state&=~(d|n|s),this._state&=~a,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(e|m);break;case 2:this._state&=~(t|m);break}}if(this._waitingRelease){Date.now()-this._releaseStart>r&&(this._state=f),this._tracked.some(function(E){return Date.now()-E.started>o})&&(this._state=f);var I=this._tracked.find(function(E){return E.id===w});if(I.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==f)return}this._hasDetectedGesture()&&this._pushEvent("gestureend");for(var C=0;C=0)continue;if(!Object.prototype.hasOwnProperty.call(c,r))continue;u[r]=c[r]}return u}function d(c,i){if(!(c instanceof i))throw new TypeError("Cannot call a class as a function")}function a(c,i){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:c}function n(c,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);c.prototype=Object.create(i&&i.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(c,i):c.__proto__=i)}var s=function(c){n(i,c);function i(u){d(this,i);var r=a(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,u));return r.scrollListener=r.scrollListener.bind(r),r.eventListenerOptions=r.eventListenerOptions.bind(r),r.mousewheelListener=r.mousewheelListener.bind(r),r}return x(i,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var r=this.getParentElement(this.scrollComponent);r.scrollTop=r.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var r=!1,o={get passive(){r=!0}};try{document.addEventListener("test",null,o),document.removeEventListener("test",null,o)}catch(h){}return r}},{key:"eventListenerOptions",value:function(){var r=this.props.useCapture;return this.isPassiveSupported()&&(r={useCapture:this.props.useCapture,passive:!0}),r}},{key:"setDefaultLoader",value:function(r){this.defaultLoader=r}},{key:"detachMousewheelListener",value:function(){var r=window;this.props.useWindow===!1&&(r=this.scrollComponent.parentNode),r.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var r=window;this.props.useWindow===!1&&(r=this.getParentElement(this.scrollComponent)),r.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),r.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(r){var o=this.props.getScrollParent&&this.props.getScrollParent();return o!=null?o:r&&r.parentNode}},{key:"filterProps",value:function(r){return r}},{key:"attachScrollListener",value:function(){var r=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!r)return;var o=window;this.props.useWindow===!1&&(o=r),o.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),o.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),o.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}},{key:"mousewheelListener",value:function(r){r.deltaY===1&&!this.isPassiveSupported()&&r.preventDefault()}},{key:"scrollListener",value:function(){var r=this.scrollComponent,o=window,h=this.getParentElement(r),p=void 0;if(this.props.useWindow){var g=document.documentElement||document.body.parentNode||document.body,v=o.pageYOffset!==void 0?o.pageYOffset:g.scrollTop;this.props.isReverse?p=v:p=this.calculateOffset(r,v)}else this.props.isReverse?p=h.scrollTop:p=r.scrollHeight-h.scrollTop-h.clientHeight;p=4&&(Se={x:parseFloat(ge[0]||0),y:parseFloat(ge[1]||0),width:parseFloat(ge[2]),height:parseFloat(ge[3])})}if(Se&&ie!=null&&fe!=null&&(ke=K(Se,ie,fe),!V.ignoreViewBox)){var Be=re;re=new x,re.add(Be),Be.scale=ke.scale.slice(),Be.position=ke.position.slice()}return!V.ignoreRootClip&&ie!=null&&fe!=null&&re.setClipPath(new t({shape:{x:0,y:0,width:ie,height:fe}})),{root:re,width:ie,height:fe,viewBoxRect:Se,viewBoxTransform:ke}},_.prototype._parseNode=function(G,V){var q=G.nodeName.toLowerCase();q==="defs"?this._isDefine=!0:q==="text"&&(this._isText=!0);var re;if(this._isDefine){var ce=C[q];if(ce){var ie=ce.call(this,G),fe=G.getAttribute("id");fe&&(this._defs[fe]=ie)}}else{var ce=I[q];ce&&(re=ce.call(this,G,V),V.add(re))}for(var xe=G.firstChild;xe;)xe.nodeType===1&&this._parseNode(xe,re),xe.nodeType===3&&this._isText&&this._parseText(xe,re),xe=xe.nextSibling;q==="defs"?this._isDefine=!1:q==="text"&&(this._isText=!1)},_.prototype._parseText=function(G,V){if(G.nodeType===1){var q=G.getAttribute("dx")||0,re=G.getAttribute("dy")||0;this._textX+=parseFloat(q),this._textY+=parseFloat(re)}var ce=new A({style:{text:G.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});O(V,ce),H(G,ce,this._defs);var ie=ce.style.fontSize;ie&&ie<9&&(ce.style.fontSize=9,ce.scale=ce.scale||[1,1],ce.scale[0]*=ie/9,ce.scale[1]*=ie/9);var fe=ce.getBoundingRect();return this._textX+=fe.width,V.add(ce),ce};var I={g:function(V,q){var re=new x;return O(q,re),H(V,re,this._defs),re},rect:function(V,q){var re=new t;return O(q,re),H(V,re,this._defs),re.setShape({x:parseFloat(V.getAttribute("x")||0),y:parseFloat(V.getAttribute("y")||0),width:parseFloat(V.getAttribute("width")||0),height:parseFloat(V.getAttribute("height")||0)}),re},circle:function(V,q){var re=new f;return O(q,re),H(V,re,this._defs),re.setShape({cx:parseFloat(V.getAttribute("cx")||0),cy:parseFloat(V.getAttribute("cy")||0),r:parseFloat(V.getAttribute("r")||0)}),re},line:function(V,q){var re=new m;return O(q,re),H(V,re,this._defs),re.setShape({x1:parseFloat(V.getAttribute("x1")||0),y1:parseFloat(V.getAttribute("y1")||0),x2:parseFloat(V.getAttribute("x2")||0),y2:parseFloat(V.getAttribute("y2")||0)}),re},ellipse:function(V,q){var re=new e;return O(q,re),H(V,re,this._defs),re.setShape({cx:parseFloat(V.getAttribute("cx")||0),cy:parseFloat(V.getAttribute("cy")||0),rx:parseFloat(V.getAttribute("rx")||0),ry:parseFloat(V.getAttribute("ry")||0)}),re},polygon:function(V,q){var re=V.getAttribute("points");re&&(re=M(re));var ce=new a({shape:{points:re||[]}});return O(q,ce),H(V,ce,this._defs),ce},polyline:function(V,q){var re=new d;O(q,re),H(V,re,this._defs);var ce=V.getAttribute("points");ce&&(ce=M(ce));var ie=new n({shape:{points:ce||[]}});return ie},image:function(V,q){var re=new b;return O(q,re),H(V,re,this._defs),re.setStyle({image:V.getAttribute("xlink:href"),x:V.getAttribute("x"),y:V.getAttribute("y"),width:V.getAttribute("width"),height:V.getAttribute("height")}),re},text:function(V,q){var re=V.getAttribute("x")||0,ce=V.getAttribute("y")||0,ie=V.getAttribute("dx")||0,fe=V.getAttribute("dy")||0;this._textX=parseFloat(re)+parseFloat(ie),this._textY=parseFloat(ce)+parseFloat(fe);var xe=new x;return O(q,xe),H(V,xe,this._defs),xe},tspan:function(V,q){var re=V.getAttribute("x"),ce=V.getAttribute("y");re!=null&&(this._textX=parseFloat(re)),ce!=null&&(this._textY=parseFloat(ce));var ie=V.getAttribute("dx")||0,fe=V.getAttribute("dy")||0,xe=new x;return O(q,xe),H(V,xe,this._defs),this._textX+=ie,this._textY+=fe,xe},path:function(V,q){var re=V.getAttribute("d")||"",ce=r(re);return O(q,ce),H(V,ce,this._defs),ce}},C={lineargradient:function(V){var q=parseInt(V.getAttribute("x1")||0,10),re=parseInt(V.getAttribute("y1")||0,10),ce=parseInt(V.getAttribute("x2")||10,10),ie=parseInt(V.getAttribute("y2")||0,10),fe=new s(q,re,ce,ie);return E(V,fe),fe},radialgradient:function(V){}};function E(G,V){for(var q=G.firstChild;q;){if(q.nodeType===1){var re=q.getAttribute("offset");re.indexOf("%")>0?re=parseInt(re,10)/100:re?re=parseFloat(re):re=0;var ce=q.getAttribute("stop-color")||"#000000";V.addColorStop(re,ce)}q=q.nextSibling}}function O(G,V){G&&G.__inheritedStyle&&(V.__inheritedStyle||(V.__inheritedStyle={}),g(V.__inheritedStyle,G.__inheritedStyle))}function M(G){for(var V=v(G).split(w),q=[],re=0;re0;ie-=2){var fe=ce[ie],xe=ce[ie-1];re=re||i.create();switch(xe){case"translate":fe=v(fe).split(w),i.translate(re,re,[parseFloat(fe[0]),parseFloat(fe[1]||0)]);break;case"scale":fe=v(fe).split(w),i.scale(re,re,[parseFloat(fe[0]),parseFloat(fe[1]||fe[0])]);break;case"rotate":fe=v(fe).split(w),i.rotate(re,re,parseFloat(fe[0]));break;case"skew":fe=v(fe).split(w),console.warn("Skew transform is not supported yet");break;case"matrix":var fe=v(fe).split(w);re[0]=parseFloat(fe[0]),re[1]=parseFloat(fe[1]),re[2]=parseFloat(fe[2]),re[3]=parseFloat(fe[3]),re[4]=parseFloat(fe[4]),re[5]=parseFloat(fe[5]);break}}V.setLocalTransform(re)}}var W=/([^\s:;]+)\s*:\s*([^:;]+)/g;function z(G){var V=G.getAttribute("style"),q={};if(!V)return q;var re={};W.lastIndex=0;for(var ce;(ce=W.exec(V))!=null;)re[ce[1]]=ce[2];for(var ie in F)F.hasOwnProperty(ie)&&re[ie]!=null&&(q[F[ie]]=re[ie]);return q}function K(G,V,q){var re=V/G.width,ce=q/G.height,ie=Math.min(re,ce),fe=[ie,ie],xe=[-(G.x+G.width/2)*ie+V/2,-(G.y+G.height/2)*ie+q/2];return{scale:fe,position:xe}}function P(G,V){var q=new _;return q.parse(G,V)}R.parseXML=S,R.makeViewBoxTransform=K,R.parseSVG=P},MFOe:function(j,R,l){(function(x){var b=e(),A=m(),f=d(),t=typeof window!="undefined"?window:x;j.exports={assign:b,create:A,trim:f,bind:a,slice:n,each:s,map:c,pluck:i,isList:u,isFunction:r,isObject:o,Global:t};function e(){return Object.assign?Object.assign:function(p,g,v,y){for(var w=1;w=0&&typeof S=="number"&&(S=+S.toFixed(Math.min(F,20))),O.coord[C]=M.coord[C]=S,g=[O,M,{type:y,valueIndex:g.valueIndex,value:S}]}return g=[f.dataTransform(o,g[0]),f.dataTransform(o,g[1]),x.extend({},g[2])],g[2].type=g[2].type||"",x.merge(g[2],g[0]),x.merge(g[2],g[1]),g};function n(o){return!isNaN(o)&&!isFinite(o)}function s(o,h,p,g){var v=1-o,y=g.dimensions[o];return n(h[v])&&n(p[v])&&h[o]===p[o]&&g.getAxis(y).containData(h[o])}function c(o,h){if(o.type==="cartesian2d"){var p=h[0].coord,g=h[1].coord;if(p&&g&&(s(1,p,g,o)||s(0,p,g,o)))return!0}return f.dataFilter(o,h[0])&&f.dataFilter(o,h[1])}function i(o,h,p,g,v){var y=g.coordinateSystem,w=o.getItemModel(h),S,_=A.parsePercent(w.get("x"),v.getWidth()),I=A.parsePercent(w.get("y"),v.getHeight());if(!isNaN(_)&&!isNaN(I))S=[_,I];else{if(g.getMarkerPosition)S=g.getMarkerPosition(o.getValues(o.dimensions,h));else{var C=y.dimensions,E=o.get(C[0],h),O=o.get(C[1],h);S=y.dataToPoint([E,O])}if(y.type==="cartesian2d"){var M=y.getAxis("x"),F=y.getAxis("y"),C=y.dimensions;n(o.get(C[0],h))?S[0]=M.toGlobalCoord(M.getExtent()[p?0:1]):n(o.get(C[1],h))&&(S[1]=F.toGlobalCoord(F.getExtent()[p?0:1]))}isNaN(_)||(S[0]=_),isNaN(I)||(S[1]=I)}o.setItemLayout(h,S)}var u=e.extend({type:"markLine",updateTransform:function(o,h,p){h.eachSeries(function(g){var v=g.markLineModel;if(v){var y=v.getData(),w=v.__from,S=v.__to;w.each(function(_){i(w,_,!0,g,p),i(S,_,!1,g,p)}),y.each(function(_){y.setItemLayout(_,[w.getItemLayout(_),S.getItemLayout(_)])}),this.markerGroupMap.get(g.id).updateLayout()}},this)},renderSeries:function(o,h,p,g){var v=o.coordinateSystem,y=o.id,w=o.getData(),S=this.markerGroupMap,_=S.get(y)||S.set(y,new t);this.group.add(_.group);var I=r(v,o,h),C=I.from,E=I.to,O=I.line;h.__from=C,h.__to=E,h.setData(O);var M=h.get("symbol"),F=h.get("symbolSize");x.isArray(M)||(M=[M,M]),typeof F=="number"&&(F=[F,F]),I.from.each(function(B){H(C,B,!0),H(E,B,!1)}),O.each(function(B){var X=O.getItemModel(B).get("lineStyle.color");O.setItemVisual(B,{color:X||C.getItemVisual(B,"color")}),O.setItemLayout(B,[C.getItemLayout(B),E.getItemLayout(B)]),O.setItemVisual(B,{fromSymbolSize:C.getItemVisual(B,"symbolSize"),fromSymbol:C.getItemVisual(B,"symbol"),toSymbolSize:E.getItemVisual(B,"symbolSize"),toSymbol:E.getItemVisual(B,"symbol")})}),_.updateData(O),I.line.eachItemGraphicEl(function(B,X){B.traverse(function(J){J.dataModel=h})});function H(B,X,J){var k=B.getItemModel(X);i(B,X,J,o,g),B.setItemVisual(X,{symbolSize:k.get("symbolSize")||F[J?0:1],symbol:k.get("symbol",!0)||M[J?0:1],color:k.get("itemStyle.color")||w.getVisual("color")})}_.__keep=!0,_.group.silent=h.get("silent")||o.get("silent")}});function r(o,h,p){var g;o?g=x.map(o&&o.dimensions,function(I){var C=h.getData().getDimensionInfo(h.getData().mapDimension(I))||{};return x.defaults({name:I},C)}):g=[{name:"value",type:"float"}];var v=new b(g,p),y=new b(g,p),w=new b([],p),S=x.map(p.get("data"),x.curry(a,h,o,p));o&&(S=x.filter(S,x.curry(c,o)));var _=o?f.dimValueGetter:function(I){return I.value};return v.initData(x.map(S,function(I){return I[0]}),null,_),y.initData(x.map(S,function(I){return I[1]}),null,_),w.initData(x.map(S,function(I){return I[2]})),w.hasItemOption=!0,{from:v,to:y,line:w}}j.exports=u},MHoB:function(j,R,l){var x=l("bYtY"),b=l("6uqw"),A=l("OELB"),f=[20,140],t=b.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(d,a){t.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(n){n.mappingMethod="linear",n.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){t.superApply(this,"resetItemSize",arguments);var d=this.itemSize;this._orient==="horizontal"&&d.reverse(),(d[0]==null||isNaN(d[0]))&&(d[0]=f[0]),(d[1]==null||isNaN(d[1]))&&(d[1]=f[1])},_resetRange:function(){var d=this.getExtent(),a=this.option.range;!a||a.auto?(d.auto=1,this.option.range=d):x.isArray(a)&&(a[0]>a[1]&&a.reverse(),a[0]=Math.max(a[0],d[0]),a[1]=Math.min(a[1],d[1]))},completeVisualOption:function(){b.prototype.completeVisualOption.apply(this,arguments),x.each(this.stateList,function(d){var a=this.option.controller[d].symbolSize;a&&a[0]!==a[1]&&(a[0]=0)},this)},setSelected:function(d){this.option.range=d.slice(),this._resetRange()},getSelected:function(){var d=this.getExtent(),a=A.asc((this.get("range")||[]).slice());return a[0]>d[1]&&(a[0]=d[1]),a[1]>d[1]&&(a[1]=d[1]),a[0]=n[1]||d<=a[1])?"inRange":"outOfRange"},findTargetDataIndices:function(d){var a=[];return this.eachTargetSeries(function(n){var s=[],c=n.getData();c.each(this.getDataDimension(c),function(i,u){d[0]<=i&&i<=d[1]&&s.push(u)},this),a.push({seriesId:n.id,dataIndex:s})},this),a},getVisualMeta:function(d){var a=e(this,"outOfRange",this.getExtent()),n=e(this,"inRange",this.option.range.slice()),s=[];function c(g,v){s.push({value:g,color:d(g,v)})}for(var i=0,u=0,r=n.length,o=a.length;u=0&&this._clips.splice(n,1)},removeAnimator:function(a){for(var n=a.getClips(),s=0;s> Display.constructor"),this._target=u,!this._target)throw new Error("Target must be set");if(typeof this._target=="string")throw new Error("target must be a DOM element");if(!this._target.getContext)throw new Error("no getContext method");if(this._targetCtx=this._target.getContext("2d"),this._viewportLoc={x:0,y:0,w:this._target.width,h:this._target.height},this._backbuffer=document.createElement("canvas"),this._drawCtx=this._backbuffer.getContext("2d"),this._damageBounds={left:0,top:0,right:this._backbuffer.width,bottom:this._backbuffer.height},b.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),b.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return s(i,[{key:"viewportChangePos",value:function(r,o){var h=this._viewportLoc;r=Math.floor(r),o=Math.floor(o),this._clipViewport||(r=-h.w,o=-h.h);var p=h.x+h.w-1,g=h.y+h.h-1;if(r<0&&h.x+r<0&&(r=-h.x),p+r>=this._fbWidth&&(r-=p+r-this._fbWidth+1),h.y+o<0&&(o=-h.y),g+o>=this._fbHeight&&(o-=g+o-this._fbHeight+1),r===0&&o===0)return;b.Debug("viewportChange deltaX: "+r+", deltaY: "+o),h.x+=r,h.y+=o,this._damage(h.x,h.y,h.w,h.h),this.flip()}},{key:"viewportChangeSize",value:function(r,o){(!this._clipViewport||typeof r=="undefined"||typeof o=="undefined")&&(b.Debug("Setting viewport to full display region"),r=this._fbWidth,o=this._fbHeight),r=Math.floor(r),o=Math.floor(o),r>this._fbWidth&&(r=this._fbWidth),o>this._fbHeight&&(o=this._fbHeight);var h=this._viewportLoc;if(h.w!==r||h.h!==o){h.w=r,h.h=o;var p=this._target;p.width=r,p.height=o,this.viewportChangePos(0,0),this._damage(h.x,h.y,h.w,h.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(r){return this._scale===0?0:(0,t.toSigned32bit)(r/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(r){return this._scale===0?0:(0,t.toSigned32bit)(r/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(r,o){this._prevDrawStyle="",this._fbWidth=r,this._fbHeight=o;var h=this._backbuffer;if(h.width!==r||h.height!==o){var p=null;h.width>0&&h.height>0&&(p=this._drawCtx.getImageData(0,0,h.width,h.height)),h.width!==r&&(h.width=r),h.height!==o&&(h.height=o),p&&this._drawCtx.putImageData(p,0,0)}var g=this._viewportLoc;this.viewportChangeSize(g.w,g.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(r,o,h,p){rthis._damageBounds.right&&(this._damageBounds.right=r+h),o+p>this._damageBounds.bottom&&(this._damageBounds.bottom=o+p)}},{key:"flip",value:function(r){if(this._renderQ.length!==0&&!r)this._renderQPush({type:"flip"});else{var o=this._damageBounds.left,h=this._damageBounds.top,p=this._damageBounds.right-o,g=this._damageBounds.bottom-h,v=o-this._viewportLoc.x,y=h-this._viewportLoc.y;v<0&&(p+=v,o-=v,v=0),y<0&&(g+=y,h-=y,y=0),v+p>this._viewportLoc.w&&(p=this._viewportLoc.w-v),y+g>this._viewportLoc.h&&(g=this._viewportLoc.h-y),p>0&&g>0&&this._targetCtx.drawImage(this._backbuffer,o,h,p,g,v,y,p,g),this._damageBounds.left=this._damageBounds.top=65535,this._damageBounds.right=this._damageBounds.bottom=0}}},{key:"pending",value:function(){return this._renderQ.length>0}},{key:"flush",value:function(){this._renderQ.length===0?this.onflush():this._flushing=!0}},{key:"fillRect",value:function(r,o,h,p,g,v){this._renderQ.length!==0&&!v?this._renderQPush({type:"fill",x:r,y:o,width:h,height:p,color:g}):(this._setFillColor(g),this._drawCtx.fillRect(r,o,h,p),this._damage(r,o,h,p))}},{key:"copyImage",value:function(r,o,h,p,g,v,y){this._renderQ.length!==0&&!y?this._renderQPush({type:"copy",oldX:r,oldY:o,x:h,y:p,width:g,height:v}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,r,o,g,v,h,p,g,v),this._damage(h,p,g,v))}},{key:"imageRect",value:function(r,o,h,p,g,v){if(h===0||p===0)return;var y=new Image;y.src="data: "+g+";base64,"+A.default.encode(v),this._renderQPush({type:"img",img:y,x:r,y:o,width:h,height:p})}},{key:"startTile",value:function(r,o,h,p,g){this._tileX=r,this._tileY=o,h===16&&p===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(h,p);for(var v=g[2],y=g[1],w=g[0],S=this._tile.data,_=0;_=g?h=r/p.w:h=o/p.h}this._rescale(h)}},{key:"_rescale",value:function(r){this._scale=r;var o=this._viewportLoc,h=r*o.w+"px",p=r*o.h+"px";(this._target.style.width!==h||this._target.style.height!==p)&&(this._target.style.width=h,this._target.style.height=p)}},{key:"_setFillColor",value:function(r){var o="rgb("+r[2]+","+r[1]+","+r[0]+")";o!==this._prevDrawStyle&&(this._drawCtx.fillStyle=o,this._prevDrawStyle=o)}},{key:"_rgbImageData",value:function(r,o,h,p,g,v){for(var y=this._drawCtx.createImageData(h,p),w=y.data,S=0,_=v;S0;){var o=this._renderQ[0];switch(o.type){case"flip":this.flip(!0);break;case"copy":this.copyImage(o.oldX,o.oldY,o.x,o.y,o.width,o.height,!0);break;case"fill":this.fillRect(o.x,o.y,o.width,o.height,o.color,!0);break;case"blit":this.blitImage(o.x,o.y,o.width,o.height,o.data,0,!0);break;case"blitRgb":this.blitRgbImage(o.x,o.y,o.width,o.height,o.data,0,!0);break;case"blitRgbx":this.blitRgbxImage(o.x,o.y,o.width,o.height,o.data,0,!0);break;case"img":if(o.img.complete&&o.img.width!==0&&o.img.height!==0){if(o.img.width!==o.width||o.img.height!==o.height){b.Error("Decoded image has incorrect dimensions. Got "+o.img.width+"x"+o.img.height+". Expected "+o.width+"x"+o.height+".");return}this.drawImage(o.img,o.x,o.y)}else o.img._noVNCDisplay=this,o.img.addEventListener("load",this._resumeRenderQ),r=!1;break}r&&this._renderQ.shift()}this._renderQ.length===0&&this._flushing&&(this._flushing=!1,this.onflush())}},{key:"scale",get:function(){return this._scale},set:function(r){this._rescale(r)}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(r){this._clipViewport=r;var o=this._viewportLoc;this.viewportChangeSize(o.w,o.h),this.viewportChangePos(0,0)}},{key:"width",get:function(){return this._fbWidth}},{key:"height",get:function(){return this._fbHeight}}]),i}();R.default=c},Mdki:function(j,R,l){var x=l("bYtY"),b=x.each,A="\0__link_datas",f="\0__link_mainData";function t(u){var r=u.mainData,o=u.datas;o||(o={main:r},u.datasAttr={main:"data"}),u.datas=u.mainData=null,s(r,o,u),b(o,function(h){b(r.TRANSFERABLE_METHODS,function(p){h.wrapMethod(p,x.curry(e,u))})}),r.wrapMethod("cloneShallow",x.curry(d,u)),b(r.CHANGABLE_METHODS,function(h){r.wrapMethod(h,x.curry(m,u))}),x.assert(o[r.dataType]===r)}function e(u,r){if(n(this)){var o=x.extend({},this[A]);o[this.dataType]=r,s(r,o,u)}else c(r,this.dataType,this[f],u);return r}function m(u,r){return u.struct&&u.struct.update(this),r}function d(u,r){return b(r[A],function(o,h){o!==r&&c(o.cloneShallow(),h,r,u)}),r}function a(u){var r=this[f];return u==null||r==null?r:r[A][u]}function n(u){return u[f]===u}function s(u,r,o){u[A]={},b(r,function(h,p){c(h,p,u,o)})}function c(u,r,o,h){o[A][r]=u,u[f]=o,u.dataType=r,h.struct&&(u[h.structAttr]=h.struct,h.struct[h.datasAttr[r]]=u),u.getLinkedData=a}var i=t;j.exports=i},Mds0:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("8IMR")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="StarFilled";var d=f.forwardRef(m);R.default=d},Mgri:function(j,R,l){for(var x=l("bYtY"),b=l("8nly"),A=[126,25],f=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],t=0;t=0;r--)u+=this._rQ[this._rQi++]<1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+i,u-i)}},{key:"rQwait",value:function(i,u,r){if(this.rQlen0&&this._websocket.readyState===WebSocket.OPEN&&(this._websocket.send(this._encodeMessage()),this._sQlen=0)}},{key:"send",value:function(i){this._sQ.set(i,this._sQlen),this._sQlen+=i.length,this.flush()}},{key:"sendString",value:function(i){this.send(i.split("").map(function(u){return u.charCodeAt(0)}))}},{key:"off",value:function(i){this._eventHandlers[i]=function(){}}},{key:"on",value:function(i,u){this._eventHandlers[i]=u}},{key:"_allocateBuffers",value:function(){this._rQ=new Uint8Array(this._rQbufferSize),this._sQ=new Uint8Array(this._sQbufferSize)}},{key:"init",value:function(){this._allocateBuffers(),this._rQi=0,this._websocket=null}},{key:"open",value:function(i,u){var r=this;this.init(),this._websocket=new WebSocket(i,u),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){b.Debug(">> WebSock.onopen"),r._websocket.protocol&&b.Info("Server choose sub-protocol: "+r._websocket.protocol),r._eventHandlers.open(),b.Debug("<< WebSock.onopen")},this._websocket.onclose=function(o){b.Debug(">> WebSock.onclose"),r._eventHandlers.close(o),b.Debug("<< WebSock.onclose")},this._websocket.onerror=function(o){b.Debug(">> WebSock.onerror: "+o),r._eventHandlers.error(o),b.Debug("<< WebSock.onerror: "+o)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(b.Info("Closing WebSocket connection"),this._websocket.close()),this._websocket.onmessage=function(){})}},{key:"_encodeMessage",value:function(){return new Uint8Array(this._sQ.buffer,0,this._sQlen)}},{key:"_expandCompactRQ",value:function(i){var u=(this._rQlen-this._rQi+i)*8,r=this._rQbufferSizea&&(this._rQbufferSize=a,this._rQbufferSize-this.rQlenthis._rQbufferSize-this._rQlen&&this._expandCompactRQ(u.length),this._rQ.set(u,this._rQlen),this._rQlen+=u.length}},{key:"_recvMessage",value:function(i){this._DecodeMessage(i.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):b.Debug("Ignoring empty message")}},{key:"sQ",get:function(){return this._sQ}},{key:"rQ",get:function(){return this._rQ}},{key:"rQi",get:function(){return this._rQi},set:function(i){this._rQi=i}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),s}();R.default=n},MqEG:function(j,R,l){var x=l("bYtY"),b=l("fc+c"),A=l("72pK"),f=l("VXYp"),t=x.bind,e=b.extend({type:"dataZoom.inside",init:function(s,c){this._range},render:function(s,c,i,u){e.superApply(this,"render",arguments),this._range=s.getPercentRange(),x.each(this.getTargetCoordInfo(),function(r,o){var h=x.map(r,function(p){return f.generateCoordId(p.model)});x.each(r,function(p){var g=p.model,v={};x.each(["pan","zoom","scrollMove"],function(y){v[y]=t(m[y],this,p,o)},this),f.register(i,{coordId:f.generateCoordId(g),allCoordIds:h,containsPoint:function(y,w,S){return g.coordinateSystem.containPoint([w,S])},dataZoomId:s.id,dataZoomModel:s,getRange:v})},this)},this)},dispose:function(){f.unregister(this.api,this.dataZoomModel.id),e.superApply(this,"dispose",arguments),this._range=null}}),m={zoom:function(s,c,i,u){var r=this._range,o=r.slice(),h=s.axisModels[0];if(!h)return;var p=a[c](null,[u.originX,u.originY],h,i,s),g=(p.signal>0?p.pixelStart+p.pixelLength-p.pixel:p.pixel-p.pixelStart)/p.pixelLength*(o[1]-o[0])+o[0],v=Math.max(1/u.scale,0);o[0]=(o[0]-g)*v+g,o[1]=(o[1]-g)*v+g;var y=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(A(0,o,[0,100],0,y.minSpan,y.maxSpan),this._range=o,r[0]!==o[0]||r[1]!==o[1])return o},pan:d(function(s,c,i,u,r,o){var h=a[u]([o.oldX,o.oldY],[o.newX,o.newY],c,r,i);return h.signal*(s[1]-s[0])*h.pixel/h.pixelLength}),scrollMove:d(function(s,c,i,u,r,o){var h=a[u]([0,0],[o.scrollDelta,o.scrollDelta],c,r,i);return h.signal*(s[1]-s[0])*o.scrollDelta})};function d(s){return function(c,i,u,r){var o=this._range,h=o.slice(),p=c.axisModels[0];if(!p)return;var g=s(h,p,c,i,u,r);if(A(g,h,[0,100],"all"),this._range=h,o[0]!==h[0]||o[1]!==h[1])return h}}var a={grid:function(s,c,i,u,r){var o=i.axis,h={},p=r.model.coordinateSystem.getRect();return s=s||[0,0],o.dim==="x"?(h.pixel=c[0]-s[0],h.pixelLength=p.width,h.pixelStart=p.x,h.signal=o.inverse?1:-1):(h.pixel=c[1]-s[1],h.pixelLength=p.height,h.pixelStart=p.y,h.signal=o.inverse?-1:1),h},polar:function(s,c,i,u,r){var o=i.axis,h={},p=r.model.coordinateSystem,g=p.getRadiusAxis().getExtent(),v=p.getAngleAxis().getExtent();return s=s?p.pointToCoord(s):[0,0],c=p.pointToCoord(c),i.mainType==="radiusAxis"?(h.pixel=c[0]-s[0],h.pixelLength=g[1]-g[0],h.pixelStart=g[0],h.signal=o.inverse?1:-1):(h.pixel=c[1]-s[1],h.pixelLength=v[1]-v[0],h.pixelStart=v[0],h.signal=o.inverse?-1:1),h},singleAxis:function(s,c,i,u,r){var o=i.axis,h=r.model.coordinateSystem.getRect(),p={};return s=s||[0,0],o.orient==="horizontal"?(p.pixel=c[0]-s[0],p.pixelLength=h.width,p.pixelStart=h.x,p.signal=o.inverse?1:-1):(p.pixel=c[1]-s[1],p.pixelLength=h.height,p.pixelStart=h.y,p.signal=o.inverse?-1:1),p}},n=e;j.exports=n},MwEJ:function(j,R,l){var x=l("bYtY"),b=l("YXkt"),A=l("sdST"),f=l("k9D9"),t=f.SOURCE_FORMAT_ORIGINAL,e=l("L0Ub"),m=e.getDimensionTypeByAxis,d=l("4NO4"),a=d.getDataItemValue,n=l("IDmD"),s=l("i38C"),c=s.getCoordSysInfoBySeries,i=l("7G+c"),u=l("7hqr"),r=u.enableDataStack,o=l("D5nY"),h=o.makeSeriesEncodeForAxisCoordSys;function p(w,S,_){_=_||{},i.isInstance(w)||(w=i.seriesDataToSource(w));var I=S.get("coordinateSystem"),C=n.get(I),E=c(S),O;E&&(O=x.map(E.coordSysDims,function(k){var W={name:k},z=E.axisMap.get(k);if(z){var K=z.get("type");W.type=m(K)}return W})),O||(O=C&&(C.getDimensionsInfo?C.getDimensionsInfo():C.dimensions.slice())||["x","y"]);var M=A(w,{coordDimensions:O,generateCoord:_.generateCoord,encodeDefaulter:_.useEncodeDefaulter?x.curry(h,O,S):null}),F,H;E&&x.each(M,function(k,W){var z=k.coordDim,K=E.categoryAxisMap.get(z);K&&(F==null&&(F=W),k.ordinalMeta=K.getOrdinalMeta()),k.otherDims.itemName!=null&&(H=!0)}),!H&&F!=null&&(M[F].otherDims.itemName=0);var B=r(S,M),X=new b(M,S);X.setCalculationInfo(B);var J=F!=null&&g(w)?function(k,W,z,K){return K===F?z:this.defaultDimValueGetter(k,W,z,K)}:null;return X.hasItemOption=!1,X.initData(w,null,J),X}function g(w){if(w.sourceFormat===t){var S=v(w.data||[]);return S!=null&&!x.isArray(a(S))}}function v(w){for(var S=0;S0?1:ke<0?-1:0}function h(P,G){return P.toGlobalCoord(P.dataToCoord(P.scale.parse(G)))}function p(P,G,V,q,re,ce,ie,fe,xe,Se){var ke=xe.valueDim,ge=xe.categoryDim,Be=Math.abs(V[ge.wh]),ee=P.getItemVisual(G,"symbolSize");b.isArray(ee)?ee=ee.slice():(ee==null&&(ee="100%"),ee=[ee,ee]),ee[ge.index]=m(ee[ge.index],Be),ee[ke.index]=m(ee[ke.index],q?Be:Math.abs(ce)),Se.symbolSize=ee;var ue=Se.symbolScale=[ee[0]/fe,ee[1]/fe];ue[ke.index]*=(xe.isHorizontal?-1:1)*ie}function g(P,G,V,q,re){var ce=P.get(s)||0;ce&&(i.attr({scale:G.slice(),rotation:V}),i.updateTransform(),ce/=i.getLineScale(),ce*=G[q.valueDim.index]),re.valueLineWidth=ce}function v(P,G,V,q,re,ce,ie,fe,xe,Se,ke,ge){var Be=ke.categoryDim,ee=ke.valueDim,ue=ge.pxSign,Ge=Math.max(G[ee.index]+fe,0),ae=Ge;if(q){var Z=Math.abs(xe),Y=b.retrieve(P.get("symbolMargin"),"15%")+"",te=!1;Y.lastIndexOf("!")===Y.length-1&&(te=!0,Y=Y.slice(0,Y.length-1)),Y=m(Y,G[ee.index]);var we=Math.max(Ge+Y*2,0),pe=te?0:Y*2,De=d(q),Ne=De?q:z((Z+pe)/we),me=Z-Ne*Ge;Y=me/2/(te?Ne:Ne-1),we=Ge+Y*2,pe=te?0:Y*2,!De&&q!=="fixed"&&(Ne=Se?z((Math.abs(Se)+pe)/we):0),ae=Ne*we-pe,ge.repeatTimes=Ne,ge.symbolMargin=Y}var be=ue*(ae/2),Re=ge.pathPosition=[];Re[Be.index]=V[Be.wh]/2,Re[ee.index]=ie==="start"?be:ie==="end"?xe-be:xe/2,ce&&(Re[0]+=ce[0],Re[1]+=ce[1]);var it=ge.bundlePosition=[];it[Be.index]=V[Be.xy],it[ee.index]=V[ee.xy];var yt=ge.barRectShape=b.extend({},V);yt[ee.wh]=ue*Math.max(Math.abs(V[ee.wh]),Math.abs(Re[ee.index]+be)),yt[Be.wh]=V[Be.wh];var pt=ge.clipShape={};pt[Be.xy]=-V[Be.xy],pt[Be.wh]=ke.ecSize[Be.wh],pt[ee.xy]=0,pt[ee.wh]=V[ee.wh]}function y(P){var G=P.symbolPatternSize,V=t(P.symbolType,-G/2,-G/2,G,G,P.color);return V.attr({culling:!0}),V.type!=="image"&&V.setStyle({strokeNoScale:!0}),V}function w(P,G,V,q){var re=P.__pictorialBundle,ce=V.symbolSize,ie=V.valueLineWidth,fe=V.pathPosition,xe=G.valueDim,Se=V.repeatTimes||0,ke=0,ge=ce[G.valueDim.index]+ie+V.symbolMargin*2;for(J(P,function(Z){Z.__pictorialAnimationIndex=ke,Z.__pictorialRepeatTimes=Se,ke0:te<0)&&(we=Se-1-Z),Y[xe.index]=ge*(we-Se/2+.5)+fe[xe.index],{position:Y,scale:V.symbolScale.slice(),rotation:V.rotation}}function Ge(){J(P,function(Z){Z.trigger("emphasis")})}function ae(){J(P,function(Z){Z.trigger("normal")})}}function S(P,G,V,q){var re=P.__pictorialBundle,ce=P.__pictorialMainPath;ce?k(ce,null,{position:V.pathPosition.slice(),scale:V.symbolScale.slice(),rotation:V.rotation},V,q):(ce=P.__pictorialMainPath=y(V),re.add(ce),k(ce,{position:V.pathPosition.slice(),scale:[0,0],rotation:V.rotation},{scale:V.symbolScale.slice()},V,q),ce.on("mouseover",ie).on("mouseout",fe)),M(ce,V);function ie(){this.trigger("emphasis")}function fe(){this.trigger("normal")}}function _(P,G,V){var q=b.extend({},G.barRectShape),re=P.__pictorialBarRect;re?k(re,null,{shape:q},G,V):(re=P.__pictorialBarRect=new A.Rect({z2:2,shape:q,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),P.add(re))}function I(P,G,V,q){if(V.symbolClip){var re=P.__pictorialClipPath,ce=b.extend({},V.clipShape),ie=G.valueDim,fe=V.animationModel,xe=V.dataIndex;if(re)A.updateProps(re,{shape:ce},fe,xe);else{ce[ie.wh]=0,re=new A.Rect({shape:ce}),P.__pictorialBundle.setClipPath(re),P.__pictorialClipPath=re;var Se={};Se[ie.wh]=V.clipShape[ie.wh],A[q?"updateProps":"initProps"](re,{shape:Se},fe,xe)}}}function C(P,G){var V=P.getItemModel(G);return V.getAnimationDelayParams=E,V.isAnimationEnabled=O,V}function E(P){return{index:P.__pictorialAnimationIndex,count:P.__pictorialRepeatTimes}}function O(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function M(P,G){P.off("emphasis").off("normal");var V=G.symbolScale.slice();G.hoverAnimation&&P.on("emphasis",function(){this.animateTo({scale:[V[0]*1.1,V[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:V.slice()},400,"elasticOut")})}function F(P,G,V,q){var re=new A.Group,ce=new A.Group;return re.add(ce),re.__pictorialBundle=ce,ce.attr("position",V.bundlePosition.slice()),V.symbolRepeat?w(re,G,V):S(re,G,V),_(re,V,q),I(re,G,V,q),re.__pictorialShapeStr=X(P,V),re.__pictorialSymbolMeta=V,re}function H(P,G,V){var q=V.animationModel,re=V.dataIndex,ce=P.__pictorialBundle;A.updateProps(ce,{position:V.bundlePosition.slice()},q,re),V.symbolRepeat?w(P,G,V,!0):S(P,G,V,!0),_(P,V,!0),I(P,G,V,!0)}function B(P,G,V,q){var re=q.__pictorialBarRect;re&&(re.style.text=null);var ce=[];J(q,function(ie){ce.push(ie)}),q.__pictorialMainPath&&ce.push(q.__pictorialMainPath),q.__pictorialClipPath&&(V=null),b.each(ce,function(ie){A.updateProps(ie,{scale:[0,0]},V,G,function(){q.parent&&q.parent.remove(q)})}),P.setItemGraphicEl(G,null)}function X(P,G){return[P.getItemVisual(G.dataIndex,"symbol")||"none",!!G.symbolRepeat,!!G.symbolClip].join(":")}function J(P,G,V){b.each(P.__pictorialBundle.children(),function(q){q!==P.__pictorialBarRect&&G.call(V,q)})}function k(P,G,V,q,re,ce){G&&P.attr(G),q.symbolClip&&!re?V&&P.attr(V):V&&A[re?"updateProps":"initProps"](P,V,q.animationModel,q.dataIndex,ce)}function W(P,G,V){var q=V.color,re=V.dataIndex,ce=V.itemModel,ie=ce.getModel("itemStyle").getItemStyle(["color"]),fe=ce.getModel("emphasis.itemStyle").getItemStyle(),xe=ce.getShallow("cursor");J(P,function(Be){Be.setColor(q),Be.setStyle(b.defaults({fill:q,opacity:V.opacity},ie)),A.setHoverStyle(Be,fe),xe&&(Be.cursor=xe),Be.z2=V.z2});var Se={},ke=G.valueDim.posDesc[+(V.boundingLength>0)],ge=P.__pictorialBarRect;n(ge.style,Se,ce,q,G.seriesModel,re,ke),A.setHoverStyle(ge,Se)}function z(P){var G=Math.round(P);return Math.abs(P-G)<1e-4?G:Math.ceil(P)}var K=u;j.exports=K},"N/zr":function(j,R,l){"use strict";function x(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(d){return typeof d}:x=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},x(e)}Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var b=f(l("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return A=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(e===null||x(e)!=="object"&&typeof e!="function")return{default:e};var m=A();if(m&&m.has(e))return m.get(e);var d={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var s=a?Object.getOwnPropertyDescriptor(e,n):null;s&&(s.get||s.set)?Object.defineProperty(d,n,s):d[n]=e[n]}return d.default=e,m&&m.set(e,d),d}var t={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(m){"use strict";for(var d="",a=m.length,n=a%3,s=0;s>2],d+=this.toBase64Table[((m[s]&3)<<4)+(m[s+1]>>4)],d+=this.toBase64Table[((m[s+1]&15)<<2)+(m[s+2]>>6)],d+=this.toBase64Table[m[s+2]&63];var c=a-n;return n===2?(d+=this.toBase64Table[m[c]>>2],d+=this.toBase64Table[((m[c]&3)<<4)+(m[c+1]>>4)],d+=this.toBase64Table[(m[c+1]&15)<<2],d+=this.toBase64Table[64]):n===1&&(d+=this.toBase64Table[m[c]>>2],d+=this.toBase64Table[(m[c]&3)<<4],d+=this.toBase64Table[64],d+=this.toBase64Table[64]),d},toBinaryTable:[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1],decode:function(m){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=m.indexOf("=")-d;a<0&&(a=m.length-d);for(var n=(a>>2)*3+Math.floor(a%4/1.5),s=new Array(n),c=0,i=0,u=0,r=d;r=8&&(c-=8,h||(s[u++]=i>>c&255),i&=(1<0){u.virtualPiece?u.virtualPiece.updateData(!1,O,"normal",n,s):(u.virtualPiece=new A(O,n,s),p.add(u.virtualPiece)),M.piece._onclickEvent&&M.piece.off("click",M.piece._onclickEvent);var F=function(H){u._rootToNode(M.parentNode)};M.piece._onclickEvent=F,u.virtualPiece.on("click",F)}else u.virtualPiece&&(p.remove(u.virtualPiece),u.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var n=this,s=function(c){var i=!1,u=n.seriesModel.getViewRoot();u.eachNode(function(r){if(!i&&r.piece&&r.piece.childAt(0)===c.target){var o=r.getModel().get("nodeClick");if(o==="rootToNode")n._rootToNode(r);else if(o==="link"){var h=r.getModel(),p=h.get("link");if(p){var g=h.get("target",!0)||"_blank";e(p,g)}}i=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",s),this.group._onclickEvent=s},_rootToNode:function(n){n!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:m,from:this.uid,seriesId:this.seriesModel.id,targetNode:n})},containPoint:function(n,s){var c=s.getData(),i=c.getItemLayout(0);if(i){var u=n[0]-i.cx,r=n[1]-i.cy,o=Math.sqrt(u*u+r*r);return o<=i.r&&o>=i.r0}}}),a=d;j.exports=a},NAnI:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("wXyp"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},NBmB:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.encodingName=b,R.encodings=void 0;var x={encodingRaw:0,encodingCopyRect:1,encodingRRE:2,encodingHextile:5,encodingTight:7,encodingTightPNG:-260,pseudoEncodingQualityLevel9:-23,pseudoEncodingQualityLevel0:-32,pseudoEncodingDesktopSize:-223,pseudoEncodingLastRect:-224,pseudoEncodingCursor:-239,pseudoEncodingQEMUExtendedKeyEvent:-258,pseudoEncodingDesktopName:-307,pseudoEncodingExtendedDesktopSize:-308,pseudoEncodingXvp:-309,pseudoEncodingFence:-312,pseudoEncodingContinuousUpdates:-313,pseudoEncodingCompressLevel9:-247,pseudoEncodingCompressLevel0:-256,pseudoEncodingVMwareCursor:1464686180,pseudoEncodingExtendedClipboard:3231835598};R.encodings=x;function b(A){switch(A){case x.encodingRaw:return"Raw";case x.encodingCopyRect:return"CopyRect";case x.encodingRRE:return"RRE";case x.encodingHextile:return"Hextile";case x.encodingTight:return"Tight";case x.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+A+"]"}}},NC18:function(j,R,l){var x=l("y+Vt"),b=l("IMiH"),A=l("7oTu"),f=Math.sqrt,t=Math.sin,e=Math.cos,m=Math.PI,d=function(v){return Math.sqrt(v[0]*v[0]+v[1]*v[1])},a=function(v,y){return(v[0]*y[0]+v[1]*y[1])/(d(v)*d(y))},n=function(v,y){return(v[0]*y[1]1&&(I*=f(X),C*=f(X));var J=(S===_?-1:1)*f((I*I*(C*C)-I*I*(B*B)-C*C*(H*H))/(I*I*(B*B)+C*C*(H*H)))||0,k=J*I*B/C,W=J*-C*H/I,z=(g+y)/2+e(F)*k-t(F)*W,K=(v+w)/2+t(F)*k+e(F)*W,P=n([1,0],[(H-k)/I,(B-W)/C]),G=[(H-k)/I,(B-W)/C],V=[(-1*H-k)/I,(-1*B-W)/C],q=n(G,V);a(G,V)<=-1&&(q=m),a(G,V)>=1&&(q=0),_===0&&q>0&&(q=q-2*m),_===1&&q<0&&(q=q+2*m),M.addData(O,z,K,I,C,P,q,F,_)}var c=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,i=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function u(g){if(!g)return new b;for(var v=0,y=0,w=v,S=y,_,I=new b,C=b.CMD,E=g.match(c),O=0;O=0||_==="+"?"left":"right"},O={horizontal:_>=0||_==="+"?"top":"bottom",vertical:"middle"},M={horizontal:0,vertical:o/2},F=I==="vertical"?C.height:C.width,H=w.getModel("controlStyle"),B=H.get("show",!0),X=B?H.get("itemSize"):0,J=B?H.get("itemGap"):0,k=X+J,W=w.get("label.rotate")||0;W=W*o/180;var z,K,P,G,V=H.get("position",!0),q=B&&H.get("showPlayBtn",!0),re=B&&H.get("showPrevBtn",!0),ce=B&&H.get("showNextBtn",!0),ie=0,fe=F;return V==="left"||V==="bottom"?(q&&(z=[0,0],ie+=k),re&&(K=[ie,0],ie+=k),ce&&(P=[fe-X,0],fe-=k)):(q&&(z=[fe-X,0],fe-=k),re&&(K=[0,0],ie+=k),ce&&(P=[fe-X,0],fe-=k)),G=[ie,fe],w.get("inverse")&&G.reverse(),{viewRect:C,mainLength:F,orient:I,rotation:M[I],labelRotation:W,labelPosOpt:_,labelAlign:w.get("label.align")||E[I],labelBaseline:w.get("label.verticalAlign")||w.get("label.baseline")||O[I],playPosition:z,prevBtnPosition:K,nextBtnPosition:P,axisExtent:G,controlSize:X,controlGap:J}},_position:function(w,S){var _=this._mainGroup,I=this._labelGroup,C=w.viewRect;if(w.orient==="vertical"){var E=A.create(),O=C.x,M=C.y+C.height;A.translate(E,E,[-O,-M]),A.rotate(E,E,-o/2),A.translate(E,E,[O,M]),C=C.clone(),C.applyTransform(E)}var F=K(C),H=K(_.getBoundingRect()),B=K(I.getBoundingRect()),X=_.position,J=I.position;J[0]=X[0]=F[0][0];var k=w.labelPosOpt;if(isNaN(k)){var W=k==="+"?0:1;P(X,H,F,1,W),P(J,B,F,1,1-W)}else{var W=k>=0?0:1;P(X,H,F,1,W),J[1]=X[1]+k}_.attr("position",X),I.attr("position",J),_.rotation=I.rotation=w.rotation,z(_),z(I);function z(G){var V=G.position;G.origin=[F[0][0]-V[0],F[1][0]-V[1]]}function K(G){return[[G.x,G.x+G.width],[G.y,G.y+G.height]]}function P(G,V,q,re,ce){G[re]+=q[re][ce]-V[re][ce]}},_createAxis:function(w,S){var _=S.getData(),I=S.get("axisType"),C=n.createScaleByModel(S,I);C.getTicks=function(){return _.mapArray(["value"],function(M){return M})};var E=_.getDataExtent("value");C.setExtent(E[0],E[1]),C.niceTicks();var O=new m("value",C,w.axisExtent,I);return O.model=S,O},_createGroup:function(w){var S=this["_"+w]=new f.Group;return this.group.add(S),S},_renderAxisLine:function(w,S,_,I){var C=_.getExtent();if(!I.get("lineStyle.show"))return;S.add(new f.Line({shape:{x1:C[0],y1:0,x2:C[1],y2:0},style:x.extend({lineCap:"round"},I.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(w,S,_,I){var C=I.getData(),E=_.scale.getTicks();r(E,function(O){var M=_.dataToCoord(O),F=C.getItemModel(O),H=F.getModel("itemStyle"),B=F.getModel("emphasis.itemStyle"),X={position:[M,0],onclick:u(this._changeTimeline,this,O)},J=v(F,H,S,X);f.setHoverStyle(J,B.getItemStyle()),F.get("tooltip")?(J.dataIndex=O,J.dataModel=I):J.dataIndex=J.dataModel=null},this)},_renderAxisLabel:function(w,S,_,I){var C=_.getLabelModel();if(!C.get("show"))return;var E=I.getData(),O=_.getViewLabels();r(O,function(M){var F=M.tickValue,H=E.getItemModel(F),B=H.getModel("label"),X=H.getModel("emphasis.label"),J=_.dataToCoord(M.tickValue),k=new f.Text({position:[J,0],rotation:w.labelRotation-w.rotation,onclick:u(this._changeTimeline,this,F),silent:!1});f.setTextStyle(k.style,B,{text:M.formattedLabel,textAlign:w.labelAlign,textVerticalAlign:w.labelBaseline}),S.add(k),f.setHoverStyle(k,f.setTextStyle({},X))},this)},_renderControl:function(w,S,_,I){var C=w.controlSize,E=w.rotation,O=I.getModel("controlStyle").getItemStyle(),M=I.getModel("emphasis.controlStyle").getItemStyle(),F=[0,-C/2,C,C],H=I.getPlayState(),B=I.get("inverse",!0);X(w.nextBtnPosition,"controlStyle.nextIcon",u(this._changeTimeline,this,B?"-":"+")),X(w.prevBtnPosition,"controlStyle.prevIcon",u(this._changeTimeline,this,B?"+":"-")),X(w.playPosition,"controlStyle."+(H?"stopIcon":"playIcon"),u(this._handlePlayClick,this,!H),!0);function X(J,k,W,z){if(!J)return;var K={position:J,origin:[C/2,0],rotation:z?-E:0,rectHover:!0,style:O,onclick:W},P=g(I,k,F,K);S.add(P),f.setHoverStyle(P,M)}},_renderCurrentPointer:function(w,S,_,I){var C=I.getData(),E=I.getCurrentIndex(),O=C.getItemModel(E).getModel("checkpointStyle"),M=this,F={onCreate:function(H){H.draggable=!0,H.drift=u(M._handlePointerDrag,M),H.ondragend=u(M._handlePointerDragend,M),y(H,E,_,I,!0)},onUpdate:function(H){y(H,E,_,I)}};this._currentPointer=v(O,O,this._mainGroup,{},this._currentPointer,F)},_handlePlayClick:function(w){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:w,from:this.uid})},_handlePointerDrag:function(w,S,_){this._clearTimer(),this._pointerChangeTimeline([_.offsetX,_.offsetY])},_handlePointerDragend:function(w){this._pointerChangeTimeline([w.offsetX,w.offsetY],!0)},_pointerChangeTimeline:function(w,S){var _=this._toAxisCoord(w)[0],I=this._axis,C=s.asc(I.getExtent().slice());_>C[1]&&(_=C[1]),_=0||Ge.relatedTarget.className.indexOf("".concat(te,"-next"))>=0))return;ge.setState({goInputText:""}),Y(ge.getValidValue())},ge.go=function(Ge){var ae=ge.state.goInputText;if(ae==="")return;(Ge.keyCode===p.ENTER||Ge.type==="click")&&(ge.setState({goInputText:""}),ge.props.quickGo(ge.getValidValue()))},ge}return Object(s.a)(ke,[{key:"getValidValue",value:function(){var Be=this.state,ee=Be.goInputText,ue=Be.current;return!ee||isNaN(ee)?ue:Number(ee)}},{key:"getPageSizeOptions",value:function(){var Be=this.props,ee=Be.pageSize,ue=Be.pageSizeOptions;return ue.some(function(Ge){return Ge.toString()===ee.toString()})?ue:ue.concat([ee.toString()]).sort(function(Ge,ae){var Z=isNaN(Number(Ge))?0:Number(Ge),Y=isNaN(Number(ae))?0:Number(ae);return Z-Y})}},{key:"render",value:function(){var Be=this,ee=this.props,ue=ee.pageSize,Ge=ee.locale,ae=ee.rootPrefixCls,Z=ee.changeSize,Y=ee.quickGo,te=ee.goButton,we=ee.selectComponentClass,pe=ee.buildOptionText,De=ee.selectPrefixCls,Ne=ee.disabled,me=this.state.goInputText,be="".concat(ae,"-options"),Re=we,it=null,yt=null,pt=null;if(!Z&&!Y)return null;var Pe=this.getPageSizeOptions();if(Z&&Re){var Nt=Pe.map(function(ut,Ft){return e.a.createElement(Re.Option,{key:Ft,value:ut.toString()},(pe||Be.buildOptionText)(ut))});it=e.a.createElement(Re,{disabled:Ne,prefixCls:De,showSearch:!1,className:"".concat(be,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(ue||Pe[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Ft){return Ft.parentNode}},Nt)}return Y&&(te&&(pt=typeof te=="boolean"?e.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ne,className:"".concat(be,"-quick-jumper-button")},Ge.jump_to_confirm):e.a.createElement("span",{onClick:this.go,onKeyUp:this.go},te)),yt=e.a.createElement("div",{className:"".concat(be,"-quick-jumper")},Ge.jump_to,e.a.createElement("input",{disabled:Ne,type:"text",value:me,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),Ge.page,pt)),e.a.createElement("li",{className:"".concat(be)},it,yt)}}]),ke}(e.a.Component);g.defaultProps={pageSizeOptions:["10","20","50","100"]};var v=g,y=l("N2Kk");function w(){}function S(xe){return typeof xe=="number"&&isFinite(xe)&&Math.floor(xe)===xe}function _(xe,Se,ke){return ke}function I(xe,Se,ke){var ge=typeof xe=="undefined"?Se.pageSize:xe;return Math.floor((ke.total-1)/ge)+1}var C=function(xe){Object(c.a)(ke,xe);var Se=Object(i.a)(ke);function ke(ge){var Be;Object(n.a)(this,ke),Be=Se.call(this,ge),Be.getJumpPrevPage=function(){return Math.max(1,Be.state.current-(Be.props.showLessItems?3:5))},Be.getJumpNextPage=function(){return Math.min(I(void 0,Be.state,Be.props),Be.state.current+(Be.props.showLessItems?3:5))},Be.getItemIcon=function(Z,Y){var te=Be.props.prefixCls,we=Z||e.a.createElement("button",{type:"button","aria-label":Y,className:"".concat(te,"-item-link")});return typeof Z=="function"&&(we=e.a.createElement(Z,Object(a.a)({},Be.props))),we},Be.savePaginationNode=function(Z){Be.paginationNode=Z},Be.isValid=function(Z){return S(Z)&&Z!==Be.state.current},Be.shouldDisplayQuickJumper=function(){var Z=Be.props,Y=Z.showQuickJumper,te=Z.pageSize,we=Z.total;return we<=te?!1:Y},Be.handleKeyDown=function(Z){(Z.keyCode===p.ARROW_UP||Z.keyCode===p.ARROW_DOWN)&&Z.preventDefault()},Be.handleKeyUp=function(Z){var Y=Be.getValidValue(Z),te=Be.state.currentInputValue;Y!==te&&Be.setState({currentInputValue:Y}),Z.keyCode===p.ENTER?Be.handleChange(Y):Z.keyCode===p.ARROW_UP?Be.handleChange(Y-1):Z.keyCode===p.ARROW_DOWN&&Be.handleChange(Y+1)},Be.changePageSize=function(Z){var Y=Be.state.current,te=I(Z,Be.state,Be.props);Y=Y>te?te:Y,te===0&&(Y=Be.state.current),typeof Z=="number"&&("pageSize"in Be.props||Be.setState({pageSize:Z}),"current"in Be.props||Be.setState({current:Y,currentInputValue:Y})),Be.props.onShowSizeChange(Y,Z),"onChange"in Be.props&&Be.props.onChange&&Be.props.onChange(Y,Z)},Be.handleChange=function(Z){var Y=Be.props.disabled,te=Z;if(Be.isValid(te)&&!Y){var we=I(void 0,Be.state,Be.props);te>we?te=we:te<1&&(te=1),"current"in Be.props||Be.setState({current:te,currentInputValue:te});var pe=Be.state.pageSize;return Be.props.onChange(te,pe),te}return Be.state.current},Be.prev=function(){Be.hasPrev()&&Be.handleChange(Be.state.current-1)},Be.next=function(){Be.hasNext()&&Be.handleChange(Be.state.current+1)},Be.jumpPrev=function(){Be.handleChange(Be.getJumpPrevPage())},Be.jumpNext=function(){Be.handleChange(Be.getJumpNextPage())},Be.hasPrev=function(){return Be.state.current>1},Be.hasNext=function(){return Be.state.current2?te-2:0),pe=2;pe=ue?ae=ue:ae=Number(ee),ae}},{key:"getShowSizeChanger",value:function(){var Be=this.props,ee=Be.showSizeChanger,ue=Be.total,Ge=Be.totalBoundaryShowSizeChanger;return typeof ee!="undefined"?ee:ue>Ge}},{key:"renderPrev",value:function(Be){var ee=this.props,ue=ee.prevIcon,Ge=ee.itemRender,ae=Ge(Be,"prev",this.getItemIcon(ue,"prev page")),Z=!this.hasPrev();return Object(t.isValidElement)(ae)?Object(t.cloneElement)(ae,{disabled:Z}):ae}},{key:"renderNext",value:function(Be){var ee=this.props,ue=ee.nextIcon,Ge=ee.itemRender,ae=Ge(Be,"next",this.getItemIcon(ue,"next page")),Z=!this.hasNext();return Object(t.isValidElement)(ae)?Object(t.cloneElement)(ae,{disabled:Z}):ae}},{key:"render",value:function(){var Be=this,ee=this.props,ue=ee.prefixCls,Ge=ee.className,ae=ee.style,Z=ee.disabled,Y=ee.hideOnSinglePage,te=ee.total,we=ee.locale,pe=ee.showQuickJumper,De=ee.showLessItems,Ne=ee.showTitle,me=ee.showTotal,be=ee.simple,Re=ee.itemRender,it=ee.showPrevNextJumpers,yt=ee.jumpPrevIcon,pt=ee.jumpNextIcon,Pe=ee.selectComponentClass,Nt=ee.selectPrefixCls,ut=ee.pageSizeOptions,Ft=this.state,Ut=Ft.current,Wt=Ft.pageSize,$t=Ft.currentInputValue;if(Y===!0&&te<=Wt)return null;var or=I(void 0,this.state,this.props),ht=[],Ee=null,de=null,qe=null,rt=null,ve=null,bt=pe&&pe.goButton,jt=De?1:2,He=Ut-1>0?Ut-1:0,kt=Ut+1=jt*2&&Ut!==1+2&&(ht[0]=Object(t.cloneElement)(ht[0],{className:"".concat(ue,"-item-after-jump-prev")}),ht.unshift(Ee)),or-Ut>=jt*2&&Ut!==or-2&&(ht[ht.length-1]=Object(t.cloneElement)(ht[ht.length-1],{className:"".concat(ue,"-item-before-jump-next")}),ht.push(de)),Ze!==1&&ht.unshift(qe),Gt!==or&&ht.push(rt)}var Sr=null;me&&(Sr=e.a.createElement("li",{className:"".concat(ue,"-total-text")},me(te,[te===0?0:(Ut-1)*Wt+1,Ut*Wt>te?te:Ut*Wt])));var Tn=!this.hasPrev()||!or,cn=!this.hasNext()||!or;return e.a.createElement("ul",Object(m.a)({className:r()(ue,Ge,Object(d.a)({},"".concat(ue,"-disabled"),Z)),style:ae,unselectable:"unselectable",ref:this.savePaginationNode},Ar),Sr,e.a.createElement("li",{title:Ne?we.prev_page:null,onClick:this.prev,tabIndex:Tn?null:0,onKeyPress:this.runIfEnterPrev,className:r()("".concat(ue,"-prev"),Object(d.a)({},"".concat(ue,"-disabled"),Tn)),"aria-disabled":Tn},this.renderPrev(He)),ht,e.a.createElement("li",{title:Ne?we.next_page:null,onClick:this.next,tabIndex:cn?null:0,onKeyPress:this.runIfEnterNext,className:r()("".concat(ue,"-next"),Object(d.a)({},"".concat(ue,"-disabled"),cn)),"aria-disabled":cn},this.renderNext(kt)),e.a.createElement(v,{disabled:Z,locale:we,rootPrefixCls:ue,selectComponentClass:Pe,selectPrefixCls:Nt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Ut,pageSize:Wt,pageSizeOptions:ut,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:bt}))}}],[{key:"getDerivedStateFromProps",value:function(Be,ee){var ue={};if("current"in Be&&(ue.current=Be.current,Be.current!==ee.current&&(ue.currentInputValue=ue.current)),"pageSize"in Be&&Be.pageSize!==ee.pageSize){var Ge=ee.current,ae=I(Be.pageSize,ee,Be);Ge=Ge>ae?ae:Ge,"current"in Be||(ue.current=Ge,ue.currentInputValue=Ge),ue.pageSize=Be.pageSize}return ue}}]),ke}(e.a.Component);C.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:w,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:w,locale:y.a,style:{},itemRender:_,totalBoundaryShowSizeChanger:50};var E=C,O=l("H4fg"),M=l("DFhj"),F=l.n(M),H=l("fEPi"),B=l.n(H),X=l("u9fO"),J=l.n(X),k=l("mO/d"),W=l.n(k),z=l("2fM7"),K=function(Se){return t.createElement(z.a,f()({size:"small"},Se))};K.Option=z.a.Option;var P=K,G=l("YMnH"),V=l("H84U"),q=l("5OYt"),re=function(xe,Se){var ke={};for(var ge in xe)Object.prototype.hasOwnProperty.call(xe,ge)&&Se.indexOf(ge)<0&&(ke[ge]=xe[ge]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,ge=Object.getOwnPropertySymbols(xe);Be1&&arguments[1]!==void 0?arguments[1]:60,t=null;return function(){for(var e=this,m=arguments.length,d=new Array(m),a=0;a=0;o-=1){var h=d.get(o)||new Set;h.forEach(function(p){var g=p.parent,v=p.node;if(n(v)||!p.parent||r.has(p.parent.key))return;if(n(p.parent.node)){r.add(g.key);return}var y=!0,w=!1;(g.children||[]).filter(function(S){return!n(S.node)}).forEach(function(S){var _=S.key,I=s.has(_);y&&!I&&(y=!1),!w&&(I||c.has(_))&&(w=!0)}),y&&s.add(g.key),w&&c.add(g.key),r.add(g.key)})}return{checkedKeys:Array.from(s),halfCheckedKeys:Array.from(b(c,s))}}function t(m,d,a,n,s){for(var c=new Set(m),i=new Set(d),u=0;u<=n;u+=1){var r=a.get(u)||new Set;r.forEach(function(g){var v=g.key,y=g.node,w=g.children,S=w===void 0?[]:w;!c.has(v)&&!i.has(v)&&!s(y)&&S.filter(function(_){return!s(_.node)}).forEach(function(_){c.delete(_.key)})})}i=new Set;for(var o=new Set,h=n;h>=0;h-=1){var p=a.get(h)||new Set;p.forEach(function(g){var v=g.parent,y=g.node;if(s(y)||!g.parent||o.has(g.parent.key))return;if(s(g.parent.node)){o.add(v.key);return}var w=!0,S=!1;(v.children||[]).filter(function(_){return!s(_.node)}).forEach(function(_){var I=_.key,C=c.has(I);w&&!C&&(w=!1),!S&&(C||i.has(I))&&(S=!0)}),w||c.delete(v.key),S&&i.add(v.key),o.add(v.key)})}return{checkedKeys:Array.from(c),halfCheckedKeys:Array.from(b(i,c))}}function e(m,d,a,n){var s=[],c;n?c=n:c=A;var i=new Set(m.filter(function(h){var p=!!a[h];return p||s.push(h),p})),u=new Map,r=0;Object.keys(a).forEach(function(h){var p=a[h],g=p.level,v=u.get(g);v||(v=new Set,u.set(g,v)),v.add(p),r=Math.max(r,g)}),Object(x.a)(!s.length,"Tree missing follow keys: ".concat(s.slice(0,100).map(function(h){return"'".concat(h,"'")}).join(", ")));var o;return d===!0?o=f(i,u,r,c):o=t(i,d.halfCheckedKeys,u,r,c),o}},"O/iA":function(j,R,l){},O3gP:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("O/iA"),f=l.n(A),t=l("OaEy")},OELB:function(j,R,l){var x=l("bYtY"),b=1e-4;function A(S){return S.replace(/^\s+|\s+$/g,"")}function f(S,_,I,C){var E=_[1]-_[0],O=I[1]-I[0];if(E===0)return O===0?I[0]:(I[0]+I[1])/2;if(C)if(E>0){if(S<=_[0])return I[0];if(S>=_[1])return I[1]}else{if(S>=_[0])return I[0];if(S<=_[1])return I[1]}else{if(S===_[0])return I[0];if(S===_[1])return I[1]}return(S-_[0])/E*O+I[0]}function t(S,_){switch(S){case"center":case"middle":S="50%";break;case"left":case"top":S="0%";break;case"right":case"bottom":S="100%";break}return typeof S=="string"?A(S).match(/%$/)?parseFloat(S)/100*_:parseFloat(S):S==null?NaN:+S}function e(S,_,I){return _==null&&(_=10),_=Math.min(Math.max(0,_),20),S=(+S).toFixed(_),I?S:+S}function m(S){return S.sort(function(_,I){return _-I}),S}function d(S){if(S=+S,isNaN(S))return 0;for(var _=1,I=0;Math.round(S*_)/_!==S;)_*=10,I++;return I}function a(S){var _=S.toString(),I=_.indexOf("e");if(I>0){var C=+_.slice(I+1);return C<0?-C:0}else{var E=_.indexOf(".");return E<0?0:_.length-1-E}}function n(S,_){var I=Math.log,C=Math.LN10,E=Math.floor(I(S[1]-S[0])/C),O=Math.round(I(Math.abs(_[1]-_[0]))/C),M=Math.min(Math.max(-E+O,0),20);return isFinite(M)?M:20}function s(S,_,I){if(!S[_])return 0;var C=x.reduce(S,function(z,K){return z+(isNaN(K)?0:K)},0);if(C===0)return 0;for(var E=Math.pow(10,I),O=x.map(S,function(z){return(isNaN(z)?0:z)/C*E*100}),M=E*100,F=x.map(O,function(z){return Math.floor(z)}),H=x.reduce(F,function(z,K){return z+K},0),B=x.map(O,function(z,K){return z-F[K]});HX&&(X=B[k],J=k);++F[J],B[J]=0,++H}return F[_]/E}var c=9007199254740991;function i(S){var _=Math.PI*2;return(S%_+_)%_}function u(S){return S>-b&&S=10&&_++,_}function g(S,_){var I=p(S),C=Math.pow(10,I),E=S/C,O;return _?E<1.5?O=1:E<2.5?O=2:E<4?O=3:E<7?O=5:O=10:E<1?O=1:E<2?O=2:E<3?O=3:E<5?O=5:O=10,S=O*C,I>=-20?+S.toFixed(I<0?-I:0):S}function v(S,_){var I=(S.length-1)*_+1,C=Math.floor(I),E=+S[C-1],O=I-C;return O?E+O*(S[C]-E):E}function y(S){S.sort(function(H,B){return F(H,B,0)?-1:1});for(var _=-Infinity,I=1,C=0;C=0}R.linearMap=f,R.parsePercent=t,R.round=e,R.asc=m,R.getPrecision=d,R.getPrecisionSafe=a,R.getPixelPrecision=n,R.getPercentWithPrecision=s,R.MAX_SAFE_INTEGER=c,R.remRadian=i,R.isRadianAroundZero=u,R.parseDate=o,R.quantity=h,R.quantityExponent=p,R.nice=g,R.quantile=v,R.reformIntervals=y,R.isNumeric=w},OKJ2:function(j,R,l){var x=l("KxfA"),b=x.retrieveRawValue,A=l("7aKB"),f=A.getTooltipMarker,t=A.formatTpl,e=l("4NO4"),m=e.getTooltipRenderMode,d=/\{@(.+?)\}/g,a={getDataParams:function(n,s){var c=this.getData(s),i=this.getRawValue(n,s),u=c.getRawIndex(n),r=c.getName(n),o=c.getRawDataItem(n),h=c.getItemVisual(n,"color"),p=c.getItemVisual(n,"borderColor"),g=this.ecModel.getComponent("tooltip"),v=g&&g.get("renderMode"),y=m(v),w=this.mainType,S=w==="series",_=c.userOutput;return{componentType:w,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:S?this.subType:null,seriesIndex:this.seriesIndex,seriesId:S?this.id:null,seriesName:S?this.name:null,name:r,dataIndex:u,data:o,dataType:s,value:i,color:h,borderColor:p,dimensionNames:_?_.dimensionNames:null,encode:_?_.encode:null,marker:f({color:h,renderMode:y}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(n,s,c,i,u){s=s||"normal";var r=this.getData(c),o=r.getItemModel(n),h=this.getDataParams(n,c);i!=null&&h.value instanceof Array&&(h.value=h.value[i]);var p=o.get(s==="normal"?[u||"label","formatter"]:[s,u||"label","formatter"]);if(typeof p=="function")return h.status=s,h.dimensionIndex=i,p(h);if(typeof p=="string"){var g=t(p,h);return g.replace(d,function(v,y){var w=y.length;return y.charAt(0)==="["&&y.charAt(w-1)==="]"&&(y=+y.slice(1,w-1)),b(r,n,y)})}},getRawValue:function(n,s){return b(this.getData(s),n)},formatTooltip:function(){}};j.exports=a},OPEp:function(j,R,l){},OQFs:function(j,R,l){var x=l("KCsZ"),b=x([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),A={getLineStyle:function(f){var t=b(this,f);return t.lineDash=this.getLineDash(t.lineWidth),t},getLineDash:function(f){f==null&&(f=1);var t=this.get("type"),e=Math.max(f,2),m=f*4;return t==="solid"||t==null?!1:t==="dashed"?[m,m]:[e,e]}};j.exports=A},OS9S:function(j,R,l){var x=l("bYtY"),b=x.inherits,A=l("Gev7"),f=l("mFDi");function t(d){A.call(this,d),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}t.prototype.incremental=!0,t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},t.prototype.addDisplayable=function(d,a){a?this._temporaryDisplayables.push(d):this._displayables.push(d),this.dirty()},t.prototype.addDisplayables=function(d,a){a=a||!1;for(var n=0;n=0&&I.splice(C,1),I}function s(S,_){var I=S.slice();return I.indexOf(_)===-1&&I.push(_),I}function c(S){return S.split("-")}function i(S,_){return"".concat(S,"-").concat(_)}function u(S){return S&&S.type&&S.type.isTreeNode}function r(S,_){var I=[S],C=_[S];function E(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];O.forEach(function(M){var F=M.key,H=M.children;I.push(F),E(H)})}return E(C.children),I}function o(S,_){var I=S.clientY,C=_.selectHandle.getBoundingClientRect(),E=C.top,O=C.bottom,M=C.height,F=Math.max(M*d,a);return I<=E+F?-1:I>=O-F?1:0}function h(S,_){if(!S)return;var I=_.multiple;return I?S.slice():S.length?[S[0]]:S}var p=function(_){return _};function g(S,_){if(!S)return[];var I=_||{},C=I.processProps,E=C===void 0?p:C,O=Array.isArray(S)?S:[S];return O.map(function(M){var F=M.children,H=Object(A.a)(M,["children"]),B=g(F,_);return t.a.createElement(m.a,Object.assign({},E(H)),B)})}function v(S){if(!S)return null;var _;if(Array.isArray(S))_={checkedKeys:S,halfCheckedKeys:void 0};else if(Object(b.a)(S)==="object")_={checkedKeys:S.checked||void 0,halfCheckedKeys:S.halfChecked||void 0};else return Object(e.a)(!1,"`checkedKeys` is not an array or an object"),null;return _}function y(S,_){var I=new Set;function C(E){if(I.has(E))return;var O=_[E];if(!O)return;I.add(E);var M=O.parent,F=O.node;if(F.disabled)return;M&&C(M.key)}return(S||[]).forEach(function(E){C(E)}),Object(x.a)(I)}function w(S){var _={};return Object.keys(S).forEach(function(I){(I.startsWith("data-")||I.startsWith("aria-"))&&(_[I]=S[I])}),_}},OaEy:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("bKJz"),f=l.n(A),t=l("R9oj")},Ol7k:function(j,R,l){"use strict";var x=l("PKem"),b=l("ZX9x");x.b.Sider=b.b,R.a=x.b},OlYY:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("ProS"),f=l("bYtY"),t=l("ItGF"),e=l("4NO4"),m=l("UOVi"),d=l("zDms"),a=f.each,n=m.eachAxisDim,s=A.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(r,o,h){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var p=c(r);this.settledOption=p,this.mergeDefaultAndTheme(r,h),this.doInit(p)},mergeOption:function(r){var o=c(r);f.merge(this.option,r,!0),f.merge(this.settledOption,o,!0),this.doInit(o)},doInit:function(r){var o=this.option;t.canvasSupported||(o.realtime=!1),this._setDefaultThrottle(r),i(this,r);var h=this.settledOption;a([["start","startValue"],["end","endValue"]],function(p,g){this._rangePropMode[g]==="value"&&(o[p[0]]=h[p[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var r=this._axisProxies;this.eachTargetAxis(function(o,h,p,g){var v=this.dependentModels[o.axis][h],y=v.__dzAxisProxy||(v.__dzAxisProxy=new d(o.name,h,this,g));r[o.name+"_"+h]=y},this)},_resetTarget:function(){var r=this.option,o=this._judgeAutoMode();n(function(h){var p=h.axisIndex;r[p]=e.normalizeToArray(r[p])},this),o==="axisIndex"?this._autoSetAxisIndex():o==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var r=this.option,o=!1;n(function(p){r[p.axisIndex]!=null&&(o=!0)},this);var h=r.orient;if(h==null&&o)return"orient";if(!o)return h==null&&(r.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var r=!0,o=this.get("orient",!0),h=this.option,p=this.dependentModels;if(r){var g=o==="vertical"?"y":"x";p[g+"Axis"].length?(h[g+"AxisIndex"]=[0],r=!1):a(p.singleAxis,function(v){r&&v.get("orient",!0)===o&&(h.singleAxisIndex=[v.componentIndex],r=!1)})}r&&n(function(v){if(!r)return;var y=[],w=this.dependentModels[v.axis];if(w.length&&!y.length)for(var S=0,_=w.length;S<_;S++)w[S].get("type")==="category"&&y.push(S);h[v.axisIndex]=y,y.length&&(r=!1)},this),r&&this.ecModel.eachSeries(function(v){this._isSeriesHasAllAxesTypeOf(v,"value")&&n(function(y){var w=h[y.axisIndex],S=v.get(y.axisIndex),_=v.get(y.axisId),I=v.ecModel.queryComponents({mainType:y.axis,index:S,id:_})[0];S=I.componentIndex,f.indexOf(w,S)<0&&w.push(S)})},this)},_autoSetOrient:function(){var r;this.eachTargetAxis(function(o){!r&&(r=o.name)},this),this.option.orient=r==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(r,o){var h=!0;return n(function(p){var g=r.get(p.axisIndex),v=this.dependentModels[p.axis][g];(!v||v.get("type")!==o)&&(h=!1)},this),h},_setDefaultThrottle:function(r){if(r.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var o=this.ecModel.option;this.option.throttle=o.animation&&o.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var r;return n(function(o){if(r==null){var h=this.get(o.axisIndex);h.length&&(r=this.dependentModels[o.axis][h[0]])}},this),r},eachTargetAxis:function(r,o){var h=this.ecModel;n(function(p){a(this.get(p.axisIndex),function(g){r.call(o,p,g,this,h)},this)},this)},getAxisProxy:function(r,o){return this._axisProxies[r+"_"+o]},getAxisModel:function(r,o){var h=this.getAxisProxy(r,o);return h&&h.getAxisModel()},setRawRange:function(r){var o=this.option,h=this.settledOption;a([["start","startValue"],["end","endValue"]],function(p){(r[p[0]]!=null||r[p[1]]!=null)&&(o[p[0]]=h[p[0]]=r[p[0]],o[p[1]]=h[p[1]]=r[p[1]])},this),i(this,r)},setCalculatedRange:function(r){var o=this.option;a(["start","startValue","end","endValue"],function(h){o[h]=r[h]})},getPercentRange:function(){var r=this.findRepresentativeAxisProxy();if(r)return r.getDataPercentWindow()},getValueRange:function(r,o){if(r==null&&o==null){var h=this.findRepresentativeAxisProxy();if(h)return h.getDataValueWindow()}else return this.getAxisProxy(r,o).getDataValueWindow()},findRepresentativeAxisProxy:function(r){if(r)return r.__dzAxisProxy;var o=this._axisProxies;for(var h in o)if(o.hasOwnProperty(h)&&o[h].hostedBy(this))return o[h];for(var h in o)if(o.hasOwnProperty(h)&&!o[h].hostedBy(this))return o[h]},getRangePropMode:function(){return this._rangePropMode.slice()}});function c(r){var o={};return a(["start","end","startValue","endValue","throttle"],function(h){r.hasOwnProperty(h)&&(o[h]=r[h])}),o}function i(r,o){var h=r._rangePropMode,p=r.get("rangeMode");a([["start","startValue"],["end","endValue"]],function(g,v){var y=o[g[0]]!=null,w=o[g[1]]!=null;y&&!w?h[v]="percent":!y&&w?h[v]="value":p?h[v]=p[v]:y&&(h[v]="percent")})}var u=s;j.exports=u},OnYD:function(j,R,l){},"Oy/b":function(j,R,l){(function(b,A){j.exports=A()})(typeof self!="undefined"?self:this,function(){return function(x){var b={};function A(f){if(b[f])return b[f].exports;var t=b[f]={i:f,l:!1,exports:{}};return x[f].call(t.exports,t,t.exports,A),t.l=!0,t.exports}return A.m=x,A.c=b,A.d=function(f,t,e){A.o(f,t)||Object.defineProperty(f,t,{enumerable:!0,get:e})},A.r=function(f){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},A.t=function(f,t){if(t&1&&(f=A(f)),t&8)return f;if(t&4&&typeof f=="object"&&f&&f.__esModule)return f;var e=Object.create(null);if(A.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:f}),t&2&&typeof f!="string")for(var m in f)A.d(e,m,function(d){return f[d]}.bind(null,m));return e},A.n=function(f){var t=f&&f.__esModule?function(){return f.default}:function(){return f};return A.d(t,"a",t),t},A.o=function(f,t){return Object.prototype.hasOwnProperty.call(f,t)},A.p="",A(A.s=1)}([function(x,b,A){},function(x,b,A){"use strict";A.r(b);var f=A(0),t=function(){function Lt(he,Ce,Ie){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=he,this.start=Ce,this.end=Ie}return Lt.range=function(Ce,Ie){return Ie?!Ce||!Ce.loc||!Ie.loc||Ce.loc.lexer!==Ie.loc.lexer?null:new Lt(Ce.loc.lexer,Ce.loc.start,Ie.loc.end):Ce&&Ce.loc},Lt}(),e=function(){function Lt(Ce,Ie){this.text=void 0,this.loc=void 0,this.text=Ce,this.loc=Ie}var he=Lt.prototype;return he.range=function(Ie,Ye){return new Lt(Ye,t.range(this,Ie))},Lt}(),m=function Lt(he,Ce){this.position=void 0;var Ie="KaTeX parse error: "+he,Ye,_t=Ce&&Ce.loc;if(_t&&_t.start<=_t.end){var Yt=_t.lexer.input;Ye=_t.start;var Pr=_t.end;Ye===Yt.length?Ie+=" at end of input: ":Ie+=" at position "+(Ye+1)+": ";var Yr=Yt.slice(Ye,Pr).replace(/[^]/g,"$&\u0332"),yn;Ye>15?yn="\u2026"+Yt.slice(Ye-15,Ye):yn=Yt.slice(0,Ye);var Jn;Pr+15":">","<":"<",'"':""","'":"'"},u=/[&><"']/g;function r(Lt){return String(Lt).replace(u,function(he){return i[he]})}var o=function Lt(he){return he.type==="ordgroup"||he.type==="color"?he.body.length===1?Lt(he.body[0]):he:he.type==="font"?Lt(he.body):he},h=function(he){var Ce=o(he);return Ce.type==="mathord"||Ce.type==="textord"||Ce.type==="atom"},p=function(he){if(!he)throw new Error("Expected non-null, but got "+String(he));return he},g=function(he){var Ce=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(he);return Ce!=null?Ce[1]:"_relative"},v={contains:a,deflt:n,escape:r,hyphenate:c,getBaseElem:o,isCharacterBox:h,protocolFromUrl:g},y=function(){function Lt(Ce){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,Ce=Ce||{},this.displayMode=v.deflt(Ce.displayMode,!1),this.output=v.deflt(Ce.output,"htmlAndMathml"),this.leqno=v.deflt(Ce.leqno,!1),this.fleqn=v.deflt(Ce.fleqn,!1),this.throwOnError=v.deflt(Ce.throwOnError,!0),this.errorColor=v.deflt(Ce.errorColor,"#cc0000"),this.macros=Ce.macros||{},this.minRuleThickness=Math.max(0,v.deflt(Ce.minRuleThickness,0)),this.colorIsTextColor=v.deflt(Ce.colorIsTextColor,!1),this.strict=v.deflt(Ce.strict,"warn"),this.trust=v.deflt(Ce.trust,!1),this.maxSize=Math.max(0,v.deflt(Ce.maxSize,Infinity)),this.maxExpand=Math.max(0,v.deflt(Ce.maxExpand,1e3))}var he=Lt.prototype;return he.reportNonstrict=function(Ie,Ye,_t){var Yt=this.strict;if(typeof Yt=="function"&&(Yt=Yt(Ie,Ye,_t)),!Yt||Yt==="ignore")return;if(Yt===!0||Yt==="error")throw new d("LaTeX-incompatible input and strict mode is set to 'error': "+(Ye+" ["+Ie+"]"),_t);Yt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Ye+" ["+Ie+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Yt+"': "+Ye+" ["+Ie+"]"))},he.useStrictBehavior=function(Ie,Ye,_t){var Yt=this.strict;if(typeof Yt=="function")try{Yt=Yt(Ie,Ye,_t)}catch(Pr){Yt="error"}return!Yt||Yt==="ignore"?!1:Yt===!0||Yt==="error"?!0:Yt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Ye+" ["+Ie+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Yt+"': "+Ye+" ["+Ie+"]")),!1)},he.isTrusted=function(Ie){Ie.url&&!Ie.protocol&&(Ie.protocol=v.protocolFromUrl(Ie.url));var Ye=typeof this.trust=="function"?this.trust(Ie):this.trust;return Boolean(Ye)},Lt}(),w=function(){function Lt(Ce,Ie,Ye){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=Ce,this.size=Ie,this.cramped=Ye}var he=Lt.prototype;return he.sup=function(){return H[B[this.id]]},he.sub=function(){return H[X[this.id]]},he.fracNum=function(){return H[J[this.id]]},he.fracDen=function(){return H[k[this.id]]},he.cramp=function(){return H[W[this.id]]},he.text=function(){return H[z[this.id]]},he.isTight=function(){return this.size>=2},Lt}(),S=0,_=1,I=2,C=3,E=4,O=5,M=6,F=7,H=[new w(S,0,!1),new w(_,0,!0),new w(I,1,!1),new w(C,1,!0),new w(E,2,!1),new w(O,2,!0),new w(M,3,!1),new w(F,3,!0)],B=[E,O,E,O,M,F,M,F],X=[O,O,O,O,F,F,F,F],J=[I,C,E,O,M,F,M,F],k=[C,C,O,O,F,F,F,F],W=[_,_,C,C,O,O,F,F],z=[S,_,I,C,I,C,I,C],K={DISPLAY:H[S],TEXT:H[I],SCRIPT:H[E],SCRIPTSCRIPT:H[M]},P=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function G(Lt){for(var he=0;he=Ye[0]&&Lt<=Ye[1])return Ce.name}return null}var V=[];P.forEach(function(Lt){return Lt.blocks.forEach(function(he){return V.push.apply(V,he)})});function q(Lt){for(var he=0;he=V[he]&&Lt<=V[he+1])return!0;return!1}var re=80,ce=function(he,Ce){return"M95,"+(622+he+Ce)+` +\v\f\r !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF`,f=[],t={},e=0;e!=A.length;++e)A.charCodeAt(e)!==65533&&(t[A.charAt(e)]=e),f[e]=A.charAt(e);return{enc:t,dec:f}}(),j.exports&&typeof DO_NOT_EXPORT_CODEPAGE=="undefined"&&(j.exports=b);/*! cputils.js (C) 2013-present SheetJS -- http://sheetjs.com */(function(A,f){"use strict";if(typeof b=="undefined"){var t=b;j.exports&&typeof DO_NOT_EXPORT_CODEPAGE=="undefined"?j.exports=f(t):A.cptable=f(t)}else b=f(b)})(this,function(A){"use strict";var f={"1200":"utf16le","1201":"utf16be","12000":"utf32le","12001":"utf32be","16969":"utf64le","20127":"ascii","65000":"utf7","65001":"utf8"},t=[874,1250,1251,1252,1253,1254,1255,1256,1e4],e=[932,936,949,950],m=[65001],d={},a={},n={},s={},c=function(z){return String.fromCharCode(z)},i=function(z){return z.charCodeAt(0)},u=typeof x!="undefined",r=function(){};if(u){var o=!x.from;if(!o)try{x.from("foo","utf8")}catch(K){o=!0}r=o?function(K,z){return z?new x(K,z):new x(K)}:x.from.bind(x),x.allocUnsafe||(x.allocUnsafe=function(K){return new x(K)});var h=1024,p=x.allocUnsafe(h),g=function(z){for(var W=x.allocUnsafe(65536),P=0;P<65536;++P)W[P]=0;for(var G=Object.keys(z),V=G.length,q=0,re=G[q];q>10&1023)],re[ie++]=W[56320+(xe&1023)]));re=re.slice(0,ie)}else for(re=x.allocUnsafe(q),ce=0;ce>8}return function(ce){var ie=ce.length,fe=0,xe=0;if(2*ie>h&&(h=2*ie,p=x.allocUnsafe(h)),x.isBuffer(ce))for(fe=0;fe>8}return function(fe,xe){var Se=fe.length,ke=x.allocUnsafe(2*Se),ge=0,Be=0,ee=0,ue=0,Ge=0;if(typeof fe=="string"){for(ge=ue=0;ge0&&(ke[ue++]=P[Be]);ke=ke.slice(0,ue)}else if(x.isBuffer(fe)){for(ge=ue=0;ge0&&(ke[ue++]=P[Be])):(ee=Be-65536,Be=2*(55296+(ee>>10&1023)),ke[ue++]=P[Be+1]||P[Be],P[Be+1]>0&&(ke[ue++]=P[Be]),Be=2*(56320+(ee&1023)),ke[ue++]=P[Be+1]||P[Be],P[Be+1]>0&&(ke[ue++]=P[Be]));ke=ke.slice(0,ue)}else for(ge=ue=0;ge0&&(ke[ue++]=P[Be]);return!xe||xe==="buf"?ke:xe!=="arr"?ke.toString("binary"):[].slice.call(ke)}},S=function(z){var W=A[z].dec,P=x.allocUnsafe(131072),G=0,V,q=0,re=0,ce=0;for(ce=0;ce<65536;++ce)P[2*ce]=255,P[2*ce+1]=253;for(G=0;G>8}return function(fe){var xe=fe.length,Se=x.allocUnsafe(2*xe),ke=0,ge=0,Be=0;if(x.isBuffer(fe))for(ke=0;keh&&(h=4*W,p=x.allocUnsafe(h));var V=0;W>=3&&z[0]==239&&(z[1]==187&&z[2]==191&&(V=3));for(var q=1,re=0,ce=0;V>8):(P-=65536,G=55296+(P>>10&1023),P=56320+(P&1023),p[re++]=G&255,p[re++]=G>>>8,p[re++]=P&255,p[re++]=P>>>8&255);return p.slice(0,re).toString("ucs2")},a[65001]=function(z,W){if(u&&x.isBuffer(z))return!W||W==="buf"?z:W!=="arr"?z.toString("binary"):[].slice.call(z);var P=z.length,G=0,V=0,q=0,re=typeof z=="string";4*P>h&&(h=4*P,p=x.allocUnsafe(h));for(var ce=0;ce>6),p[q++]=128+(G&63)):G>=55296&&G<=57343?(G-=55296,++ce,V=(re?z.charCodeAt(ce):z[ce].charCodeAt(0))-56320+(G<<10),p[q++]=240+(V>>>18&7),p[q++]=144+(V>>>12&63),p[q++]=128+(V>>>6&63),p[q++]=128+(V&63)):(p[q++]=224+(G>>12),p[q++]=128+(G>>6&63),p[q++]=128+(G&63));return!W||W==="buf"?p.slice(0,q):W!=="arr"?p.slice(0,q).toString("binary"):[].slice.call(p,0,q)}}var _=function(){if(u){if(n[t[0]])return;var z=0,W=0;for(z=0;z255?(V[ce]=q>>8,V[++ce]=q&255):V[ce]=q&255;else if(Se=f[z])switch(Se){case"utf8":if(u&&ke){V=r(W,Se),ce=V.length;break}for(re=0;re>6),V[++ce]=128+(q&63)):q>=55296&&q<=57343?(q-=55296,ie=(ke?W.charCodeAt(++re):W[++re].charCodeAt(0))-56320+(q<<10),V[ce]=240+(ie>>>18&7),V[++ce]=144+(ie>>>12&63),V[++ce]=128+(ie>>>6&63),V[++ce]=128+(ie&63)):(V[ce]=224+(q>>12),V[++ce]=128+(q>>6&63),V[++ce]=128+(q&63));break;case"ascii":if(u&&typeof W=="string"){V=r(W,Se),ce=V.length;break}for(re=0;re>8;break;case"utf16be":for(re=0;re>8,V[ce++]=q&255;break;case"utf32le":for(re=0;re=55296&&q<=57343&&(q=65536+(q-55296<<10)+(W[++re].charCodeAt(0)-56320)),V[ce++]=q&255,q>>=8,V[ce++]=q&255,q>>=8,V[ce++]=q&255,q>>=8,V[ce++]=q&255;break;case"utf32be":for(re=0;re=55296&&q<=57343&&(q=65536+(q-55296<<10)+(W[++re].charCodeAt(0)-56320)),V[ce+3]=q&255,q>>=8,V[ce+2]=q&255,q>>=8,V[ce+1]=q&255,q>>=8,V[ce]=q&255,ce+=4;break;case"utf7":for(re=0;re-1){V[ce++]=ge.charCodeAt(0);continue}var Be=K(1201,ge);V[ce++]=43,V[ce++]=M.charCodeAt(Be[0]>>2),V[ce++]=M.charCodeAt(((Be[0]&3)<<4)+((Be[1]||0)>>4)),V[ce++]=M.charCodeAt(((Be[1]&15)<<2)+((Be[2]||0)>>6)),V[ce++]=45}break;default:throw new Error("Unsupported magic: "+z+" "+f[z])}else throw new Error("Unrecognized CP: "+z);return V=V.slice(0,ce),u?!P||P==="buf"?V:P!=="arr"?V.toString("binary"):[].slice.call(V):P=="str"?V.map(c).join(""):V},J=function K(z,W){var P;if(P=n[z])return P(W);if(typeof W=="string")return K(z,W.split("").map(i));var G=W.length,V=new Array(G),q="",re=0,ce=0,ie=1,fe=0,xe=0,Se=A[z],ke,ge="";if(Se&&(ke=Se.dec))for(ce=0;ce=3&&W[0]==239&&(W[1]==187&&W[2]==191&&(ce=3));ce>10&1023),re=56320+(re&1023),V[fe++]=String.fromCharCode(xe)),V[fe++]=String.fromCharCode(re);break;case"ascii":if(u&&x.isBuffer(W))return W.toString(ge);for(ce=0;ce=2&&W[0]==255&&(W[1]==254&&(ce=2)),u&&x.isBuffer(W))return W.toString(ge);for(ie=2;ce+1=2&&W[0]==254&&(W[1]==255&&(ce=2)),ie=2;ce+1=4&&W[0]==255&&(W[1]==254&&W[2]===0&&W[3]===0&&(ce=4)),ie=4;ce65535?(re-=65536,V[fe++]=String.fromCharCode(55296+(re>>10&1023)),V[fe++]=String.fromCharCode(56320+(re&1023))):V[fe++]=String.fromCharCode(re);break;case"utf32be":for(G>=4&&W[3]==255&&(W[2]==254&&W[1]===0&&W[0]===0&&(ce=4)),ie=4;ce65535?(re-=65536,V[fe++]=String.fromCharCode(55296+(re>>10&1023)),V[fe++]=String.fromCharCode(56320+(re&1023))):V[fe++]=String.fromCharCode(re);break;case"utf7":for(G>=4&&W[0]==43&&W[1]==47&&W[2]==118&&(G>=5&&W[3]==56&&W[4]==45?ce=5:(W[3]==56||W[3]==57||W[3]==43||W[3]==47)&&(ce=4));ce>4,ee.push(Ge),we=M.indexOf(String.fromCharCode(W[ce+De++])),we===-1);){if(ae=(te&15)<<4|we>>2,ee.push(ae),pe=M.indexOf(String.fromCharCode(W[ce+De++])),pe===-1)break;Z=(we&3)<<6|pe,pe<64&&ee.push(Z)}for(ue=K(1201,ee),De=0;De=11),domSupported:typeof document!="undefined"}}j.exports=x},ItS6:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=l("eP3c"),b=A(l("1q3G"));function A(d){return d&&d.__esModule?d:{default:d}}function f(d,a){if(!(d instanceof a))throw new TypeError("Cannot call a class as a function")}function t(d,a){for(var n=0;nthis.chunkSize&&(this.chunkSize=n,this.strm.output=new Uint8Array(this.chunkSize)),this.strm.next_out=0,this.strm.avail_out=n;var s=(0,x.inflate)(this.strm,0);if(s<0)throw new Error("zlib inflate failed");if(this.strm.next_out!=n)throw new Error("Incomplete zlib block");return new Uint8Array(this.strm.output.buffer,0,this.strm.next_out)}},{key:"reset",value:function(){(0,x.inflateReset)(this.strm)}}]),d}();R.default=m},Itpr:function(j,R,l){var x=l("+TT/");function b(r){r.hierNode={defaultAncestor:null,ancestor:r,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var o=[r],h,p;h=o.pop();)if(p=h.children,h.isExpand&&p.length)for(var g=p.length,v=g-1;v>=0;v--){var y=p[v];y.hierNode={defaultAncestor:null,ancestor:y,prelim:0,modifier:0,change:0,shift:0,i:v,thread:null},o.push(y)}}function A(r,o){var h=r.isExpand?r.children:[],p=r.parentNode.children,g=r.hierNode.i?p[r.hierNode.i-1]:null;if(h.length){d(r);var v=(h[0].hierNode.prelim+h[h.length-1].hierNode.prelim)/2;g?(r.hierNode.prelim=g.hierNode.prelim+o(r,g),r.hierNode.modifier=r.hierNode.prelim-v):r.hierNode.prelim=v}else g&&(r.hierNode.prelim=g.hierNode.prelim+o(r,g));r.parentNode.hierNode.defaultAncestor=a(r,g,r.parentNode.hierNode.defaultAncestor||p[0],o)}function f(r){var o=r.hierNode.prelim+r.parentNode.hierNode.modifier;r.setLayout({x:o},!0),r.hierNode.modifier+=r.parentNode.hierNode.modifier}function t(r){return arguments.length?r:u}function e(r,o){var h={};return r-=Math.PI/2,h.x=o*Math.cos(r),h.y=o*Math.sin(r),h}function m(r,o){return x.getLayoutRect(r.getBoxLayoutParams(),{width:o.getWidth(),height:o.getHeight()})}function d(r){for(var o=r.children,h=o.length,p=0,g=0;--h>=0;){var v=o[h];v.hierNode.prelim+=p,v.hierNode.modifier+=p,g+=v.hierNode.change,p+=v.hierNode.shift+g}}function a(r,o,h,p){if(o){for(var g=r,v=r,y=v.parentNode.children[0],w=o,S=g.hierNode.modifier,_=v.hierNode.modifier,I=y.hierNode.modifier,C=w.hierNode.modifier;w=n(w),v=s(v),w&&v;){g=n(g),y=s(y),g.hierNode.ancestor=r;var E=w.hierNode.prelim+C-v.hierNode.prelim-_+p(w,v);E>0&&(i(c(w,r,h),r,E),_+=E,S+=E),C+=w.hierNode.modifier,_+=v.hierNode.modifier,S+=g.hierNode.modifier,I+=y.hierNode.modifier}w&&!n(g)&&(g.hierNode.thread=w,g.hierNode.modifier+=C-S),v&&!s(y)&&(y.hierNode.thread=v,y.hierNode.modifier+=_-I,h=r)}return h}function n(r){var o=r.children;return o.length&&r.isExpand?o[o.length-1]:r.hierNode.thread}function s(r){var o=r.children;return o.length&&r.isExpand?o[0]:r.hierNode.thread}function c(r,o,h){return r.hierNode.ancestor.parentNode===o.parentNode?r.hierNode.ancestor:h}function i(r,o,h){var p=h/(o.hierNode.i-r.hierNode.i);o.hierNode.change-=p,o.hierNode.shift+=h,o.hierNode.modifier+=h,o.hierNode.prelim+=h,r.hierNode.change+=p}function u(r,o){return r.parentNode===o.parentNode?1:2}R.init=b,R.firstWalk=A,R.secondWalk=f,R.separation=t,R.radialCoordinate=e,R.getViewRect=m},IwbS:function(j,R,l){var x=l("bYtY"),b=l("NC18"),A=l("Qe9p"),f=l("Fofx"),t=l("QBsz"),e=l("y+Vt"),m=l("DN4a"),d=l("Dagg");R.Image=d;var a=l("4fz+");R.Group=a;var n=l("dqUG");R.Text=n;var s=l("2fw6");R.Circle=s;var c=l("SqI9");R.Sector=c;var i=l("RXMa");R.Ring=i;var u=l("h7HQ");R.Polygon=u;var r=l("1Jh7");R.Polyline=r;var o=l("x6Kt");R.Rect=o;var h=l("yxFR");R.Line=h;var p=l("rA99");R.BezierCurve=p;var g=l("jTL6");R.Arc=g;var v=l("1MYJ");R.CompoundPath=v;var y=l("SKnc");R.LinearGradient=y;var w=l("3e3G");R.RadialGradient=w;var S=l("mFDi");R.BoundingRect=S;var _=l("OS9S");R.IncrementalDisplayable=_;var I=l("nPnh"),C=Math.max,E=Math.min,O={},M=1,F={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},H="emphasis",B="normal",X=1,J={},k={};function K(et){return e.extend(et)}function z(et,Ze){return b.extendFromString(et,Ze)}function W(et,Ze){k[et]=Ze}function P(et){if(k.hasOwnProperty(et))return k[et]}function G(et,Ze,Gt,yr){var br=b.createFromString(et,Ze);return Gt&&(yr==="center"&&(Gt=q(Gt,br.getBoundingRect())),ce(br,Gt)),br}function V(et,Ze,Gt){var yr=new d({style:{image:et,x:Ze.x,y:Ze.y,width:Ze.width,height:Ze.height},onload:function(br){if(Gt==="center"){var Sr={width:br.width,height:br.height};yr.setStyle(q(Ze,Sr))}}});return yr}function q(et,Ze){var Gt=Ze.width/Ze.height,yr=et.height*Gt,br;yr<=et.width?br=et.height:(yr=et.width,br=yr/Gt);var Sr=et.x+et.width/2,Tn=et.y+et.height/2;return{x:Sr-yr/2,y:Tn-br/2,width:yr,height:br}}var re=b.mergePath;function ce(et,Ze){if(!et.applyTransform)return;var Gt=et.getBoundingRect(),yr=Gt.calculateTransform(Ze);et.applyTransform(yr)}function ie(et){return I.subPixelOptimizeLine(et.shape,et.shape,et.style),et}function fe(et){return I.subPixelOptimizeRect(et.shape,et.shape,et.style),et}var xe=I.subPixelOptimize;function Se(et){return et!=null&&et!=="none"}var ke=x.createHashMap(),ge=0;function Be(et){if(typeof et!="string")return et;var Ze=ke.get(et);return Ze||(Ze=A.lift(et,-.1),ge<1e4&&(ke.set(et,Ze),ge++)),Ze}function ee(et){if(!et.__hoverStlDirty)return;et.__hoverStlDirty=!1;var Ze=et.__hoverStl;if(!Ze){et.__cachedNormalStl=et.__cachedNormalZ2=null;return}var Gt=et.__cachedNormalStl={};et.__cachedNormalZ2=et.z2;var yr=et.style;for(var br in Ze)Ze[br]!=null&&(Gt[br]=yr[br]);Gt.fill=yr.fill,Gt.stroke=yr.stroke}function ue(et){var Ze=et.__hoverStl;if(!Ze||et.__highlighted)return;var Gt=et.__zr,yr=et.useHoverLayer&&Gt&&Gt.painter.type==="canvas";if(et.__highlighted=yr?"layer":"plain",et.isGroup||!Gt&&et.useHoverLayer)return;var br=et,Sr=et.style;yr&&(br=Gt.addHover(et),Sr=br.style),or(Sr),yr||ee(br),Sr.extendFrom(Ze),Ge(Sr,Ze,"fill"),Ge(Sr,Ze,"stroke"),$t(Sr),yr||(et.dirty(!1),et.z2+=M)}function Ge(et,Ze,Gt){!Se(Ze[Gt])&&Se(et[Gt])&&(et[Gt]=Be(et[Gt]))}function ae(et){var Ze=et.__highlighted;if(!Ze)return;if(et.__highlighted=!1,et.isGroup)return;if(Ze==="layer")et.__zr&&et.__zr.removeHover(et);else{var Gt=et.style,yr=et.__cachedNormalStl;yr&&(or(Gt),et.setStyle(yr),$t(Gt));var br=et.__cachedNormalZ2;br!=null&&et.z2-br===M&&(et.z2=br)}}function Z(et,Ze,Gt){var yr=B,br=B,Sr;et.__highlighted&&(yr=H,Sr=!0),Ze(et,Gt),et.__highlighted&&(br=H,Sr=!0),et.isGroup&&et.traverse(function(Tn){!Tn.isGroup&&Ze(Tn,Gt)}),Sr&&et.__highDownOnUpdate&&et.__highDownOnUpdate(yr,br)}function Y(et,Ze){Ze=et.__hoverStl=Ze!==!1&&(et.hoverStyle||Ze||{}),et.__hoverStlDirty=!0,et.__highlighted&&(et.__cachedNormalStl=null,ae(et),ue(et))}function te(et){!Ne(this,et)&&!this.__highByOuter&&Z(this,ue)}function we(et){!Ne(this,et)&&!this.__highByOuter&&Z(this,ae)}function pe(et){this.__highByOuter|=1<<(et||0),Z(this,ue)}function De(et){!(this.__highByOuter&=~(1<<(et||0)))&&Z(this,ae)}function Ne(et,Ze){return et.__highDownSilentOnTouch&&Ze.zrByTouch}function me(et,Ze){be(et,!0),Z(et,Y,Ze)}function be(et,Ze){var Gt=Ze===!1;if(et.__highDownSilentOnTouch=et.highDownSilentOnTouch,et.__highDownOnUpdate=et.highDownOnUpdate,!Gt||et.__highDownDispatcher){var yr=Gt?"off":"on";et[yr]("mouseover",te)[yr]("mouseout",we),et[yr]("emphasis",pe)[yr]("normal",De),et.__highByOuter=et.__highByOuter||0,et.__highDownDispatcher=!Gt}}function Re(et){return!!(et&&et.__highDownDispatcher)}function it(et){var Ze=J[et];return Ze==null&&X<=32&&(Ze=J[et]=X++),Ze}function yt(et,Ze,Gt,yr,br,Sr,Tn){br=br||O;var cn=br.labelFetcher,Wn=br.labelDataIndex,lt=br.labelDimIndex,mt=br.labelProp,Le=Gt.getShallow("show"),ze=yr.getShallow("show"),$e;(Le||ze)&&(cn&&($e=cn.getFormattedLabel(Wn,"normal",null,lt,mt)),$e==null&&($e=x.isFunction(br.defaultText)?br.defaultText(Wn,br):br.defaultText));var gt=Le?$e:null,ir=ze?x.retrieve2(cn?cn.getFormattedLabel(Wn,"emphasis",null,lt,mt):null,$e):null;(gt!=null||ir!=null)&&(Pe(et,Gt,Sr,br),Pe(Ze,yr,Tn,br,!0)),et.text=gt,Ze.text=ir}function pt(et,Ze,Gt){var yr=et.style;Ze&&(or(yr),et.setStyle(Ze),$t(yr)),yr=et.__hoverStl,Gt&&yr&&(or(yr),x.extend(yr,Gt),$t(yr))}function Pe(et,Ze,Gt,yr,br){return ut(et,Ze,yr,br),Gt&&x.extend(et,Gt),et}function Nt(et,Ze,Gt){var yr={isRectText:!0},br;Gt===!1?br=!0:yr.autoColor=Gt,ut(et,Ze,yr,br)}function ut(et,Ze,Gt,yr){if(Gt=Gt||O,Gt.isRectText){var br;Gt.getTextPosition?br=Gt.getTextPosition(Ze,yr):(br=Ze.getShallow("position")||(yr?null:"inside"),br==="outside"&&(br="top")),et.textPosition=br,et.textOffset=Ze.getShallow("offset");var Sr=Ze.getShallow("rotate");Sr!=null&&(Sr*=Math.PI/180),et.textRotation=Sr,et.textDistance=x.retrieve2(Ze.getShallow("distance"),yr?null:5)}var Tn=Ze.ecModel,cn=Tn&&Tn.option.textStyle,Wn=Ft(Ze),lt;if(Wn){lt={};for(var mt in Wn)if(Wn.hasOwnProperty(mt)){var Le=Ze.getModel(["rich",mt]);Ut(lt[mt]={},Le,cn,Gt,yr)}}return et.rich=lt,Ut(et,Ze,cn,Gt,yr,!0),Gt.forceRich&&!Gt.textStyle&&(Gt.textStyle={}),et}function Ft(et){for(var Ze;et&&et!==et.ecModel;){var Gt=(et.option||O).rich;if(Gt){Ze=Ze||{};for(var yr in Gt)Gt.hasOwnProperty(yr)&&(Ze[yr]=1)}et=et.parentModel}return Ze}function Ut(et,Ze,Gt,yr,br,Sr){Gt=!br&&Gt||O,et.textFill=Kt(Ze.getShallow("color"),yr)||Gt.color,et.textStroke=Kt(Ze.getShallow("textBorderColor"),yr)||Gt.textBorderColor,et.textStrokeWidth=x.retrieve2(Ze.getShallow("textBorderWidth"),Gt.textBorderWidth),br||(Sr&&(et.insideRollbackOpt=yr,$t(et)),et.textFill==null&&(et.textFill=yr.autoColor)),et.fontStyle=Ze.getShallow("fontStyle")||Gt.fontStyle,et.fontWeight=Ze.getShallow("fontWeight")||Gt.fontWeight,et.fontSize=Ze.getShallow("fontSize")||Gt.fontSize,et.fontFamily=Ze.getShallow("fontFamily")||Gt.fontFamily,et.textAlign=Ze.getShallow("align"),et.textVerticalAlign=Ze.getShallow("verticalAlign")||Ze.getShallow("baseline"),et.textLineHeight=Ze.getShallow("lineHeight"),et.textWidth=Ze.getShallow("width"),et.textHeight=Ze.getShallow("height"),et.textTag=Ze.getShallow("tag"),(!Sr||!yr.disableBox)&&(et.textBackgroundColor=Kt(Ze.getShallow("backgroundColor"),yr),et.textPadding=Ze.getShallow("padding"),et.textBorderColor=Kt(Ze.getShallow("borderColor"),yr),et.textBorderWidth=Ze.getShallow("borderWidth"),et.textBorderRadius=Ze.getShallow("borderRadius"),et.textBoxShadowColor=Ze.getShallow("shadowColor"),et.textBoxShadowBlur=Ze.getShallow("shadowBlur"),et.textBoxShadowOffsetX=Ze.getShallow("shadowOffsetX"),et.textBoxShadowOffsetY=Ze.getShallow("shadowOffsetY")),et.textShadowColor=Ze.getShallow("textShadowColor")||Gt.textShadowColor,et.textShadowBlur=Ze.getShallow("textShadowBlur")||Gt.textShadowBlur,et.textShadowOffsetX=Ze.getShallow("textShadowOffsetX")||Gt.textShadowOffsetX,et.textShadowOffsetY=Ze.getShallow("textShadowOffsetY")||Gt.textShadowOffsetY}function Kt(et,Ze){return et!=="auto"?et:Ze&&Ze.autoColor?Ze.autoColor:null}function $t(et){var Ze=et.textPosition,Gt=et.insideRollbackOpt,yr;if(Gt&&et.textFill==null){var br=Gt.autoColor,Sr=Gt.isRectText,Tn=Gt.useInsideStyle,cn=Tn!==!1&&(Tn===!0||Sr&&Ze&&typeof Ze=="string"&&Ze.indexOf("inside")>=0),Wn=!cn&&br!=null;(cn||Wn)&&(yr={textFill:et.textFill,textStroke:et.textStroke,textStrokeWidth:et.textStrokeWidth}),cn&&(et.textFill="#fff",et.textStroke==null&&(et.textStroke=br,et.textStrokeWidth==null&&(et.textStrokeWidth=2))),Wn&&(et.textFill=br)}et.insideRollback=yr}function or(et){var Ze=et.insideRollback;Ze&&(et.textFill=Ze.textFill,et.textStroke=Ze.textStroke,et.textStrokeWidth=Ze.textStrokeWidth,et.insideRollback=null)}function ht(et,Ze){var Gt=Ze&&Ze.getModel("textStyle");return x.trim([et.fontStyle||Gt&&Gt.getShallow("fontStyle")||"",et.fontWeight||Gt&&Gt.getShallow("fontWeight")||"",(et.fontSize||Gt&&Gt.getShallow("fontSize")||12)+"px",et.fontFamily||Gt&&Gt.getShallow("fontFamily")||"sans-serif"].join(" "))}function Ee(et,Ze,Gt,yr,br,Sr){typeof br=="function"&&(Sr=br,br=null);var Tn=yr&&yr.isAnimationEnabled();if(Tn){var cn=et?"Update":"",Wn=yr.getShallow("animationDuration"+cn),lt=yr.getShallow("animationEasing"+cn),mt=yr.getShallow("animationDelay"+cn);typeof mt=="function"&&(mt=mt(br,yr.getAnimationDelayParams?yr.getAnimationDelayParams(Ze,br):null)),typeof Wn=="function"&&(Wn=Wn(br)),Wn>0?Ze.animateTo(Gt,Wn,mt||0,lt,Sr,!!Sr):(Ze.stopAnimation(),Ze.attr(Gt),Sr&&Sr())}else Ze.stopAnimation(),Ze.attr(Gt),Sr&&Sr()}function de(et,Ze,Gt,yr,br){Ee(!0,et,Ze,Gt,yr,br)}function qe(et,Ze,Gt,yr,br){Ee(!1,et,Ze,Gt,yr,br)}function rt(et,Ze){for(var Gt=f.identity([]);et&&et!==Ze;)f.mul(Gt,et.getLocalTransform(),Gt),et=et.parent;return Gt}function ve(et,Ze,Gt){return Ze&&!x.isArrayLike(Ze)&&(Ze=m.getLocalTransform(Ze)),Gt&&(Ze=f.invert([],Ze)),t.applyTransform([],et,Ze)}function bt(et,Ze,Gt){var yr=Ze[4]===0||Ze[5]===0||Ze[0]===0?1:Math.abs(2*Ze[4]/Ze[0]),br=Ze[4]===0||Ze[5]===0||Ze[2]===0?1:Math.abs(2*Ze[4]/Ze[2]),Sr=[et==="left"?-yr:et==="right"?yr:0,et==="top"?-br:et==="bottom"?br:0];return Sr=ve(Sr,Ze,Gt),Math.abs(Sr[0])>Math.abs(Sr[1])?Sr[0]>0?"right":"left":Sr[1]>0?"bottom":"top"}function jt(et,Ze,Gt,yr){if(!et||!Ze)return;function br(cn){var Wn={};return cn.traverse(function(lt){!lt.isGroup&<.anid&&(Wn[lt.anid]=lt)}),Wn}function Sr(cn){var Wn={position:t.clone(cn.position),rotation:cn.rotation};return cn.shape&&(Wn.shape=x.extend({},cn.shape)),Wn}var Tn=br(et);Ze.traverse(function(cn){if(!cn.isGroup&&cn.anid){var Wn=Tn[cn.anid];if(Wn){var lt=Sr(cn);cn.attr(Sr(Wn)),de(cn,lt,Gt,cn.dataIndex)}}})}function He(et,Ze){return x.map(et,function(Gt){var yr=Gt[0];yr=C(yr,Ze.x),yr=E(yr,Ze.x+Ze.width);var br=Gt[1];return br=C(br,Ze.y),br=E(br,Ze.y+Ze.height),[yr,br]})}function kt(et,Ze){var Gt=C(et.x,Ze.x),yr=E(et.x+et.width,Ze.x+Ze.width),br=C(et.y,Ze.y),Sr=E(et.y+et.height,Ze.y+Ze.height);if(yr>=Gt&&Sr>=br)return{x:Gt,y:br,width:yr-Gt,height:Sr-br}}function Ar(et,Ze,Gt){Ze=x.extend({rectHover:!0},Ze);var yr=Ze.style={strokeNoScale:!0};if(Gt=Gt||{x:-1,y:-1,width:2,height:2},et)return et.indexOf("image://")===0?(yr.image=et.slice(8),x.defaults(yr,Gt),new d(Ze)):G(et.replace("path://",""),Ze,Gt,"center")}function at(et,Ze,Gt,yr,br){for(var Sr=0,Tn=br[br.length-1];Sr1)return!1;var Xt=Wt($e,gt,mt,Le)/ze;return!(Xt<0||Xt>1)}function Wt(et,Ze,Gt,yr){return et*yr-Gt*Ze}function ot(et){return et<=1e-6&&et>=-1e-6}W("circle",s),W("sector",c),W("ring",i),W("polygon",u),W("polyline",r),W("rect",o),W("line",h),W("bezierCurve",p),W("arc",g),R.Z2_EMPHASIS_LIFT=M,R.CACHED_LABEL_STYLE_PROPERTIES=F,R.extendShape=K,R.extendPath=z,R.registerShape=W,R.getShapeClass=P,R.makePath=G,R.makeImage=V,R.mergePath=re,R.resizePath=ce,R.subPixelOptimizeLine=ie,R.subPixelOptimizeRect=fe,R.subPixelOptimize=xe,R.setElementHoverStyle=Y,R.setHoverStyle=me,R.setAsHighDownDispatcher=be,R.isHighDownDispatcher=Re,R.getHighlightDigit=it,R.setLabelStyle=yt,R.modifyLabelStyle=pt,R.setTextStyle=Pe,R.setText=Nt,R.getFont=ht,R.updateProps=de,R.initProps=qe,R.getTransform=rt,R.applyTransform=ve,R.transformDirection=bt,R.groupTransition=jt,R.clipPointsByRect=He,R.clipRectByRect=kt,R.createIcon=Ar,R.linePolygonIntersect=at,R.lineLineIntersect=Ht},IyUQ:function(j,R,l){var x=l("bYtY"),b=l("YH21"),A=l("IwbS"),f=l("iLNv"),t=l("fc+c"),e=l("OELB"),m=l("+TT/"),d=l("72pK"),a=A.Rect,n=e.linearMap,s=e.asc,c=x.bind,i=x.each,u=7,r=1,o=30,h="horizontal",p="vertical",g=5,v=["line","bar","candlestick","scatter"],y=t.extend({type:"dataZoom.slider",init:function(I,C){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=C},render:function(I,C,E,O){if(y.superApply(this,"render",arguments),f.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=I.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!O||O.type!=="dataZoom"||O.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){y.superApply(this,"remove",arguments),f.clear(this,"_dispatchZoomAction")},dispose:function(){y.superApply(this,"dispose",arguments),f.clear(this,"_dispatchZoomAction")},_buildView:function(){var I=this.group;I.removeAll(),this._resetLocation(),this._resetInterval();var C=this._displayables.barGroup=new A.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),I.add(C),this._positionGroup()},_resetLocation:function(){var I=this.dataZoomModel,C=this.api,E=this._findCoordRect(),O={width:C.getWidth(),height:C.getHeight()},M=this._orient===h?{right:O.width-E.x-E.width,top:O.height-o-u,width:E.width,height:o}:{right:u,top:E.y,width:o,height:E.height},F=m.getLayoutParams(I.option);x.each(["right","top","width","height"],function(B){F[B]==="ph"&&(F[B]=M[B])});var H=m.getLayoutRect(F,O,I.padding);this._location={x:H.x,y:H.y},this._size=[H.width,H.height],this._orient===p&&this._size.reverse()},_positionGroup:function(){var I=this.group,C=this._location,E=this._orient,O=this.dataZoomModel.getFirstTargetAxisModel(),M=O&&O.get("inverse"),F=this._displayables.barGroup,H=(this._dataShadowInfo||{}).otherAxisInverse;F.attr(E===h&&!M?{scale:H?[1,1]:[1,-1]}:E===h&&M?{scale:H?[-1,1]:[-1,-1]}:E===p&&!M?{scale:H?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:H?[-1,-1]:[-1,1],rotation:Math.PI/2});var B=I.getBoundingRect([F]);I.attr("position",[C.x-B.x,C.y-B.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var I=this.dataZoomModel,C=this._size,E=this._displayables.barGroup;E.add(new a({silent:!0,shape:{x:0,y:0,width:C[0],height:C[1]},style:{fill:I.get("backgroundColor")},z2:-40})),E.add(new a({shape:{x:0,y:0,width:C[0],height:C[1]},style:{fill:"transparent"},z2:0,onclick:x.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var I=this._dataShadowInfo=this._prepareDataShadowInfo();if(!I)return;var C=this._size,E=I.series,O=E.getRawData(),M=E.getShadowDim?E.getShadowDim():I.otherDim;if(M==null)return;var F=O.getDataExtent(M),H=(F[1]-F[0])*.3;F=[F[0]-H,F[1]+H];var B=[0,C[1]],X=[0,C[0]],J=[[C[0],0],[0,0]],k=[],K=X[1]/(O.count()-1),z=0,W=Math.round(O.count()/C[0]),P;O.each([M],function(V,q){if(W>0&&q%W){z+=K;return}var re=V==null||isNaN(V)||V==="",ce=re?0:n(V,F,B,!0);re&&!P&&q?(J.push([J[J.length-1][0],0]),k.push([k[k.length-1][0],0])):!re&&P&&(J.push([z,0]),k.push([z,0])),J.push([z,ce]),k.push([z,ce]),z+=K,P=re});var G=this.dataZoomModel;this._displayables.barGroup.add(new A.Polygon({shape:{points:J},style:x.defaults({fill:G.get("dataBackgroundColor")},G.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new A.Polyline({shape:{points:k},style:G.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var I=this.dataZoomModel,C=I.get("showDataShadow");if(C===!1)return;var E,O=this.ecModel;return I.eachTargetAxis(function(M,F){var H=I.getAxisProxy(M.name,F).getTargetSeriesModels();x.each(H,function(B){if(E)return;if(C!==!0&&x.indexOf(v,B.get("type"))<0)return;var X=O.getComponent(M.axis,F).axis,J=w(M.name),k,K=B.coordinateSystem;J!=null&&K.getOtherAxis&&(k=K.getOtherAxis(X).inverse),J=B.getData().mapDimension(J),E={thisAxis:X,series:B,thisDim:M.name,otherDim:J,otherAxisInverse:k}},this)},this),E},_renderHandle:function(){var I=this._displayables,C=I.handles=[],E=I.handleLabels=[],O=this._displayables.barGroup,M=this._size,F=this.dataZoomModel;O.add(I.filler=new a({draggable:!0,cursor:S(this._orient),drift:c(this._onDragMove,this,"all"),ondragstart:c(this._showDataInfo,this,!0),ondragend:c(this._onDragEnd,this),onmouseover:c(this._showDataInfo,this,!0),onmouseout:c(this._showDataInfo,this,!1),style:{fill:F.get("fillerColor"),textPosition:"inside"}})),O.add(new a({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:M[0],height:M[1]},style:{stroke:F.get("dataBackgroundColor")||F.get("borderColor"),lineWidth:r,fill:"rgba(0,0,0,0)"}})),i([0,1],function(H){var B=A.createIcon(F.get("handleIcon"),{cursor:S(this._orient),draggable:!0,drift:c(this._onDragMove,this,H),ondragend:c(this._onDragEnd,this),onmouseover:c(this._showDataInfo,this,!0),onmouseout:c(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),X=B.getBoundingRect();this._handleHeight=e.parsePercent(F.get("handleSize"),this._size[1]),this._handleWidth=X.width/X.height*this._handleHeight,B.setStyle(F.getModel("handleStyle").getItemStyle());var J=F.get("handleColor");J!=null&&(B.style.fill=J),O.add(C[H]=B);var k=F.textStyleModel;this.group.add(E[H]=new A.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:k.getTextColor(),textFont:k.getFont()},z2:10}))},this)},_resetInterval:function(){var I=this._range=this.dataZoomModel.getPercentRange(),C=this._getViewExtent();this._handleEnds=[n(I[0],[0,100],C,!0),n(I[1],[0,100],C,!0)]},_updateInterval:function(I,C){var E=this.dataZoomModel,O=this._handleEnds,M=this._getViewExtent(),F=E.findRepresentativeAxisProxy().getMinMaxSpan(),H=[0,100];d(C,O,M,E.get("zoomLock")?"all":I,F.minSpan!=null?n(F.minSpan,H,M,!0):null,F.maxSpan!=null?n(F.maxSpan,H,M,!0):null);var B=this._range,X=this._range=s([n(O[0],M,H,!0),n(O[1],M,H,!0)]);return!B||B[0]!==X[0]||B[1]!==X[1]},_updateView:function(I){var C=this._displayables,E=this._handleEnds,O=s(E.slice()),M=this._size;i([0,1],function(F){var H=C.handles[F],B=this._handleHeight;H.attr({scale:[B/2,B/2],position:[E[F],M[1]/2-B/2]})},this),C.filler.setShape({x:O[0],y:0,width:O[1]-O[0],height:M[1]}),this._updateDataInfo(I)},_updateDataInfo:function(I){var C=this.dataZoomModel,E=this._displayables,O=E.handleLabels,M=this._orient,F=["",""];if(C.get("showDetail")){var H=C.findRepresentativeAxisProxy();if(H){var B=H.getAxisModel().axis,X=this._range,J=I?H.calculateDataWindow({start:X[0],end:X[1]}).valueWindow:H.getDataValueWindow();F=[this._formatLabel(J[0],B),this._formatLabel(J[1],B)]}}var k=s(this._handleEnds.slice());K.call(this,0),K.call(this,1);function K(z){var W=A.getTransform(E.handles[z].parent,this.group),P=A.transformDirection(z===0?"right":"left",W),G=this._handleWidth/2+g,V=A.applyTransform([k[z]+(z===0?-G:G),this._size[1]/2],W);O[z].setStyle({x:V[0],y:V[1],textVerticalAlign:M===h?"middle":P,textAlign:M===h?P:"center",text:F[z]})}},_formatLabel:function(I,C){var E=this.dataZoomModel,O=E.get("labelFormatter"),M=E.get("labelPrecision");(M==null||M==="auto")&&(M=C.getPixelPrecision());var F=I==null||isNaN(I)?"":C.type==="category"||C.type==="time"?C.scale.getLabel(Math.round(I)):I.toFixed(Math.min(M,20));return x.isFunction(O)?O(I,F):x.isString(O)?O.replace("{value}",F):F},_showDataInfo:function(I){I=this._dragging||I;var C=this._displayables.handleLabels;C[0].attr("invisible",!I),C[1].attr("invisible",!I)},_onDragMove:function(I,C,E,O){this._dragging=!0,b.stop(O.event);var M=this._displayables.barGroup.getLocalTransform(),F=A.applyTransform([C,E],M,!0),H=this._updateInterval(I,F[0]),B=this.dataZoomModel.get("realtime");this._updateView(!B),H&&B&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var I=this.dataZoomModel.get("realtime");!I&&this._dispatchZoomAction()},_onClickPanelClick:function(I){var C=this._size,E=this._displayables.barGroup.transformCoordToLocal(I.offsetX,I.offsetY);if(E[0]<0||E[0]>C[0]||E[1]<0||E[1]>C[1])return;var O=this._handleEnds,M=(O[0]+O[1])/2,F=this._updateInterval("all",E[0]-M);this._updateView(),F&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var I=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:I[0],end:I[1]})},_findCoordRect:function(){var I;if(i(this.getTargetCoordInfo(),function(O){if(!I&&O.length){var M=O[0].model.coordinateSystem;I=M.getRect&&M.getRect()}}),!I){var C=this.api.getWidth(),E=this.api.getHeight();I={x:C*.2,y:E*.2,width:C*.6,height:E*.6}}return I}});function w(I){var C={x:"y",y:"x",radius:"angle",angle:"radius"};return C[I]}function S(I){return I==="vertical"?"ns-resize":"ew-resize"}var _=y;j.exports=_},IzEo:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("lnY3"),f=l.n(A),t=l("Znn+"),e=l("14J3"),m=l("jCWc")},J66h:function(j,R,l){(function(x){var b,A;(function(f,t){j.exports=t(f)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof x!="undefined"?x:this,function(f){"use strict";f=f||{};var t=f.Base64,e="2.6.4",m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=function(B){for(var X={},J=0,k=B.length;J>>6)+a(128|J&63):a(224|J>>>12&15)+a(128|J>>>6&63)+a(128|J&63)}else{var J=65536+(X.charCodeAt(0)-55296)*1024+(X.charCodeAt(1)-56320);return a(240|J>>>18&7)+a(128|J>>>12&63)+a(128|J>>>6&63)+a(128|J&63)}},s=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,c=function(X){return X.replace(s,n)},i=function(X){var J=[0,2,1][X.length%3],k=X.charCodeAt(0)<<16|(X.length>1?X.charCodeAt(1):0)<<8|(X.length>2?X.charCodeAt(2):0),K=[m.charAt(k>>>18),m.charAt(k>>>12&63),J>=2?"=":m.charAt(k>>>6&63),J>=1?"=":m.charAt(k&63)];return K.join("")},u=f.btoa&&typeof f.btoa=="function"?function(B){return f.btoa(B)}:function(B){if(B.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return B.replace(/[\s\S]{1,3}/g,i)},r=function(X){return u(c(String(X)))},o=function(X){return X.replace(/[+\/]/g,function(J){return J=="+"?"-":"_"}).replace(/=/g,"")},h=function(X,J){return J?o(r(X)):r(X)},p=function(X){return h(X,!0)},g;f.Uint8Array&&(g=function(X,J){for(var k="",K=0,z=X.length;K>>18)+m.charAt(V>>>12&63)+(typeof P!="undefined"?m.charAt(V>>>6&63):"=")+(typeof G!="undefined"?m.charAt(V&63):"=")}return J?o(k):k});var v=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,y=function(X){switch(X.length){case 4:var J=(7&X.charCodeAt(0))<<18|(63&X.charCodeAt(1))<<12|(63&X.charCodeAt(2))<<6|63&X.charCodeAt(3),k=J-65536;return a((k>>>10)+55296)+a((k&1023)+56320);case 3:return a((15&X.charCodeAt(0))<<12|(63&X.charCodeAt(1))<<6|63&X.charCodeAt(2));default:return a((31&X.charCodeAt(0))<<6|63&X.charCodeAt(1))}},w=function(X){return X.replace(v,y)},S=function(X){var J=X.length,k=J%4,K=(J>0?d[X.charAt(0)]<<18:0)|(J>1?d[X.charAt(1)]<<12:0)|(J>2?d[X.charAt(2)]<<6:0)|(J>3?d[X.charAt(3)]:0),z=[a(K>>>16),a(K>>>8&255),a(K&255)];return z.length-=[0,0,2,1][k],z.join("")},_=f.atob&&typeof f.atob=="function"?function(B){return f.atob(B)}:function(B){return B.replace(/\S{1,4}/g,S)},I=function(X){return _(String(X).replace(/[^A-Za-z0-9\+\/]/g,""))},C=function(X){return w(_(X))},E=function(X){return String(X).replace(/[-_]/g,function(J){return J=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},O=function(X){return C(E(X))},M;f.Uint8Array&&(M=function(X){return Uint8Array.from(I(E(X)),function(J){return J.charCodeAt(0)})});var F=function(){var X=f.Base64;return f.Base64=t,X};if(f.Base64={VERSION:e,atob:I,btoa:u,fromBase64:O,toBase64:h,utob:c,encode:h,encodeURI:p,btou:w,decode:O,noConflict:F,fromUint8Array:g,toUint8Array:M},typeof Object.defineProperty=="function"){var H=function(X){return{value:X,enumerable:!1,writable:!0,configurable:!0}};f.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",H(function(){return O(this)})),Object.defineProperty(String.prototype,"toBase64",H(function(B){return h(this,B)})),Object.defineProperty(String.prototype,"toBase64URI",H(function(){return h(this,!0)}))}}return f.Meteor&&(Base64=f.Base64),j.exports?j.exports.Base64=f.Base64:!(b=[],A=function(){return f.Base64}.apply(R,b),A!==void 0&&(j.exports=A)),{Base64:f.Base64}})}).call(this,l("yLpj"))},JEkh:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("ProS"),f=l("bYtY"),t=l("ItGF"),e=l("4NO4"),m=l("7aKB"),d=l("OKJ2"),a=m.addCommas,n=m.encodeHTML;function s(u){e.defaultEmphasis(u,"label",["show"])}var c=A.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(u,r,o){this.mergeDefaultAndTheme(u,o),this._mergeOption(u,o,!1,!0)},isAnimationEnabled:function(){if(t.node)return!1;var u=this.__hostSeries;return this.getShallow("animation")&&u&&u.isAnimationEnabled()},mergeOption:function(u,r){this._mergeOption(u,r,!1,!1)},_mergeOption:function(u,r,o,h){var p=this.constructor,g=this.mainType+"Model";o||r.eachSeries(function(v){var y=v.get(this.mainType,!0),w=v[g];if(!y||!y.data){v[g]=null;return}w?w._mergeOption(y,r,!0):(h&&s(y),f.each(y.data,function(S){S instanceof Array?(s(S[0]),s(S[1])):s(S)}),w=new p(y,this,r),f.extend(w,{mainType:this.mainType,seriesIndex:v.seriesIndex,name:v.name,createdBySelf:!0}),w.__hostSeries=v),v[g]=w},this)},formatTooltip:function(u){var r=this.getData(),o=this.getRawValue(u),h=f.isArray(o)?f.map(o,a).join(", "):a(o),p=r.getName(u),g=n(this.name);return(o!=null||p)&&(g+="
"),p&&(g+=n(p),o!=null&&(g+=" : ")),o!=null&&(g+=n(h)),g},getData:function(){return this._data},setData:function(u){this._data=u}});f.mixin(c,d);var i=c;j.exports=i},JGo8:function(j,R,l){},JLnu:function(j,R,l){var x=l("+TT/"),b=l("OELB"),A=b.parsePercent,f=b.linearMap;function t(a,n){return x.getLayoutRect(a.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}function e(a,n){for(var s=a.mapDimension("value"),c=a.mapArray(s,function(h){return h}),i=[],u=n==="ascending",r=0,o=a.count();r=1&&!(re[O]!==0);O--);if(M>O&&(M=O),O===0)return v[y++]=1<<24|64<<16|0,v[y++]=1<<24|64<<16|0,S.bits=1,0;for(E=1;E0&&(o===d||O!==1))return-1;for(ce[1]=0,I=1;Ie||o===n&&X>m)return 1;for(;;){xe=I-H,w[C]q?(Se=ie[fe+w[C]],ke=G[V+w[C]]):(Se=32+64,ke=0),k=1<>H)+K]=xe<<24|Se<<16|ke|0;while(K!==0);for(k=1<>=1;if(k!==0?(J&=k-1,J+=k):J=0,C++,--re[I]===0){if(I===O)break;I=h[p+w[C]]}if(I>M&&(J&W)!==z){for(H===0&&(H=M),P+=E,F=I-H,B=1<e||o===n&&X>m)return 1;z=J&W,v[z]=M<<24|F<<16|P-y|0}}return J!==0&&(v[P+J]=I-H<<24|64<<16|0),S.bits=M,0}},JVwQ:function(j,R,l){var x=l("ProS"),b=l("1NG9"),A=b.Polygon,f=l("IwbS"),t=l("bYtY"),e=t.bind,m=t.extend,d=l("gPAo"),a=x.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(s,c,i){var u=s.getData(),r=this.group,o=s.getLayerSeries(),h=u.getLayout("layoutInfo"),p=h.rect,g=h.boundaryGap;r.attr("position",[0,p.y+g[0]]);function v(_){return _.name}var y=new d(this._layersSeries||[],o,v,v),w={};y.add(e(S,this,"add")).update(e(S,this,"update")).remove(e(S,this,"remove")).execute();function S(_,I,C){var E=this._layers;if(_==="remove"){r.remove(E[I]);return}for(var O=[],M=[],F,H=o[I].indices,B=0;Bge.top-ee?ee+Be.top:void 0}function O(ge,Be,ee){if(ee!==void 0&&Be.bottom=0;Y--)(Z=ge[Y])&&(ae=(Ge<3?Z(ae):Ge>3?Z(Be,ee,ae):Z(Be,ee))||ae);return Ge>3&&ae&&Object.defineProperty(Be,ee,ae),ae};function k(){return typeof window!="undefined"?window:null}var K;(function(ge){ge[ge.None=0]="None",ge[ge.Prepare=1]="Prepare"})(K||(K={}));var z=function(ge){c()(ee,ge);var Be=u()(ee);function ee(){var ue;return e()(this,ee),ue=Be.apply(this,arguments),ue.state={status:K.None,lastAffix:!1,prevTarget:null},ue.getOffsetTop=function(){var Ge=ue.props.offsetBottom,ae=ue.props.offsetTop;return Ge===void 0&&ae===void 0&&(ae=0),ae},ue.getOffsetBottom=function(){return ue.props.offsetBottom},ue.savePlaceholderNode=function(Ge){ue.placeholderNode=Ge},ue.saveFixedNode=function(Ge){ue.fixedNode=Ge},ue.measure=function(){var Ge=ue.state,ae=Ge.status,Z=Ge.lastAffix,Y=ue.props.onChange,te=ue.getTargetFunc();if(ae!==K.Prepare||!ue.fixedNode||!ue.placeholderNode||!te)return;var we=ue.getOffsetTop(),pe=ue.getOffsetBottom(),De=te();if(!De)return;var Ne={status:K.None},me=C(De),be=C(ue.placeholderNode),Re=E(be,me,we),it=O(be,me,pe);Re!==void 0?(Ne.affixStyle={position:"fixed",top:Re,width:be.width,height:be.height},Ne.placeholderStyle={width:be.width,height:be.height}):it!==void 0&&(Ne.affixStyle={position:"fixed",bottom:it,width:be.width,height:be.height},Ne.placeholderStyle={width:be.width,height:be.height}),Ne.lastAffix=!!Ne.affixStyle,Y&&Z!==Ne.lastAffix&&Y(Ne.lastAffix),ue.setState(Ne)},ue.prepareMeasure=function(){if(ue.setState({status:K.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var Ge},ue.render=function(){var Ge=ue.context.getPrefixCls,ae=ue.state,Z=ae.affixStyle,Y=ae.placeholderStyle,te=ue.props,we=te.prefixCls,pe=te.children,De=p()(f()({},Ge("affix",we),Z)),Ne=Object(w.default)(ue.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return r.createElement(S.a,{onResize:function(){ue.updatePosition()}},r.createElement("div",b()({},Ne,{ref:ue.savePlaceholderNode}),Z&&r.createElement("div",{style:Y,"aria-hidden":"true"}),r.createElement("div",{className:De,ref:ue.saveFixedNode,style:Z},r.createElement(S.a,{onResize:function(){ue.updatePosition()}},pe))))},ue}return d()(ee,[{key:"getTargetFunc",value:function(){var Ge=this.context.getTargetContainer,ae=this.props.target;return ae!==void 0?ae:Ge||k}},{key:"componentDidMount",value:function(){var Ge=this,ae=this.getTargetFunc();ae&&(this.timeout=setTimeout(function(){B(ae(),Ge),Ge.updatePosition()}))}},{key:"componentDidUpdate",value:function(Ge){var ae=this.state.prevTarget,Z=this.getTargetFunc(),Y=null;Z&&(Y=Z()||null),ae!==Y&&(X(this),Y&&(B(Y,this),this.updatePosition()),this.setState({prevTarget:Y})),(Ge.offsetTop!==this.props.offsetTop||Ge.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),X(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var Ge=this.getTargetFunc(),ae=this.state.affixStyle;if(Ge&&ae){var Z=this.getOffsetTop(),Y=this.getOffsetBottom(),te=Ge();if(te&&this.placeholderNode){var we=C(te),pe=C(this.placeholderNode),De=E(pe,we,Z),Ne=O(pe,we,Y);if(De!==void 0&&ae.top===De||Ne!==void 0&&ae.bottom===Ne)return}}this.prepareMeasure()}}]),ee}(r.Component);z.contextType=_.b,J([Object(I.b)()],z.prototype,"updatePosition",null),J([Object(I.b)()],z.prototype,"lazyUpdatePosition",null);var W=z,P=l("zAh6"),G=l("i6bk"),V=r.createContext(null),q=V;function re(){return window}function ce(ge,Be){if(!ge.getClientRects().length)return 0;var ee=ge.getBoundingClientRect();return ee.width||ee.height?Be===window?(Be=ge.ownerDocument.documentElement,ee.top-Be.clientTop):ee.top-Be.getBoundingClientRect().top:ee.top}var ie=/#(\S+)$/,fe=function(ge){c()(ee,ge);var Be=u()(ee);function ee(){var ue;return e()(this,ee),ue=Be.apply(this,arguments),ue.state={activeLink:null},ue.links=[],ue.registerLink=function(Ge){ue.links.includes(Ge)||ue.links.push(Ge)},ue.unregisterLink=function(Ge){var ae=ue.links.indexOf(Ge);ae!==-1&&ue.links.splice(ae,1)},ue.getContainer=function(){var Ge=ue.context.getTargetContainer,ae=ue.props.getContainer,Z=ae||Ge||re;return Z()},ue.handleScrollTo=function(Ge){var ae=ue.props,Z=ae.offsetTop,Y=ae.targetOffset;ue.setCurrentActiveLink(Ge);var te=ue.getContainer(),we=Object(G.a)(te,!0),pe=ie.exec(Ge);if(!pe)return;var De=document.getElementById(pe[1]);if(!De)return;var Ne=ce(De,te),me=we+Ne;me-=Y!==void 0?Y:Z||0,ue.animating=!0,Object(P.a)(me,{callback:function(){ue.animating=!1},getContainer:ue.getContainer})},ue.saveInkNode=function(Ge){ue.inkNode=Ge},ue.setCurrentActiveLink=function(Ge){var ae=ue.state.activeLink,Z=ue.props.onChange;ae!==Ge&&(ue.setState({activeLink:Ge}),Z&&Z(Ge))},ue.handleScroll=function(){if(ue.animating)return;var Ge=ue.props,ae=Ge.offsetTop,Z=Ge.bounds,Y=Ge.targetOffset,te=ue.getCurrentAnchor(Y!==void 0?Y:ae||0,Z);ue.setCurrentActiveLink(te)},ue.updateInk=function(){var Ge=n()(ue),ae=Ge.prefixCls,Z=o.findDOMNode(n()(ue)),Y=Z.getElementsByClassName("".concat(ae,"-link-title-active"))[0];Y&&(ue.inkNode.style.top="".concat(Y.offsetTop+Y.clientHeight/2-4.5,"px"))},ue.render=function(){var Ge=ue.context,ae=Ge.getPrefixCls,Z=Ge.direction,Y=ue.props,te=Y.prefixCls,we=Y.className,pe=we===void 0?"":we,De=Y.style,Ne=Y.offsetTop,me=Y.affix,be=Y.showInkInFixed,Re=Y.children,it=ue.state.activeLink,yt=ae("anchor",te);ue.prefixCls=yt;var pt=p()("".concat(yt,"-ink-ball"),{visible:it}),Pe=p()(pe,"".concat(yt,"-wrapper"),f()({},"".concat(yt,"-rtl"),Z==="rtl")),Nt=p()(yt,{fixed:!me&&!be}),ut=b()({maxHeight:Ne?"calc(100vh - ".concat(Ne,"px)"):"100vh"},De),Ft=r.createElement("div",{className:Pe,style:ut},r.createElement("div",{className:Nt},r.createElement("div",{className:"".concat(yt,"-ink")},r.createElement("span",{className:pt,ref:ue.saveInkNode})),Re));return r.createElement(q.Provider,{value:{registerLink:ue.registerLink,unregisterLink:ue.unregisterLink,activeLink:ue.state.activeLink,scrollTo:ue.handleScrollTo,onClick:ue.props.onClick}},me?r.createElement(W,{offsetTop:Ne,target:ue.getContainer},Ft):Ft)},ue}return d()(ee,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(g.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var Ge=this.getContainer();this.scrollContainer!==Ge&&(this.scrollContainer=Ge,this.scrollEvent.remove(),this.scrollEvent=Object(g.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,Z=this.props.getCurrentAnchor;if(typeof Z=="function")return Z();var Y=[],te=this.getContainer();if(this.links.forEach(function(pe){var De=ie.exec(pe.toString());if(!De)return;var Ne=document.getElementById(De[1]);if(Ne){var me=ce(Ne,te);mepe.top?De:pe});return we.link}return""}}]),ee}(r.Component);fe.defaultProps={affix:!0,showInkInFixed:!1},fe.contextType=_.b;var xe=function(ge){c()(ee,ge);var Be=u()(ee);function ee(){var ue;return e()(this,ee),ue=Be.apply(this,arguments),ue.handleClick=function(Ge){var ae=ue.context,Z=ae.scrollTo,Y=ae.onClick,te=ue.props,we=te.href,pe=te.title;Y&&Y(Ge,{title:pe,href:we}),Z(we)},ue.renderAnchorLink=function(Ge){var ae=Ge.getPrefixCls,Z=ue.props,Y=Z.prefixCls,te=Z.href,we=Z.title,pe=Z.children,De=Z.className,Ne=Z.target,me=ae("anchor",Y),be=ue.context.activeLink===te,Re=p()(De,"".concat(me,"-link"),f()({},"".concat(me,"-link-active"),be)),it=p()("".concat(me,"-link-title"),f()({},"".concat(me,"-link-title-active"),be));return r.createElement("div",{className:Re},r.createElement("a",{className:it,href:te,title:typeof we=="string"?we:"",target:Ne,onClick:ue.handleClick},we),pe)},ue}return d()(ee,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(Ge){var ae=Ge.href,Z=this.props.href;ae!==Z&&(this.context.unregisterLink(ae),this.context.registerLink(Z))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return r.createElement(_.a,null,this.renderAnchorLink)}}]),ee}(r.Component);xe.defaultProps={href:"#"},xe.contextType=q;var Se=xe;fe.Link=Se;var ke=R.a=fe},JuEJ:function(j,R,l){var x=l("bYtY"),b=l("4NO4"),A=x.each,f=x.isObject,t=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function e(r){var o=r&&r.itemStyle;if(!o)return;for(var h=0,p=t.length;h0},extendFrom:function(i,u){if(i)for(var r in i)i.hasOwnProperty(r)&&(u===!0||(u===!1?!this.hasOwnProperty(r):i[r]!=null))&&(this[r]=i[r])},set:function(i,u){typeof i=="string"?this[i]=u:this.extendFrom(i,!0)},clone:function(){var i=new this.constructor;return i.extendFrom(this,!0),i},getGradient:function(i,u,r){for(var o=u.type==="radial"?m:e,h=o(i,u,r),p=u.colorStops,g=0;g=0||m&&x.indexOf(m,n)<0)continue;var s=t.getShallow(n);s!=null&&(d[A[a][0]]=s)}return d}}j.exports=b},KPFz:function(j,R,l){},KQeH:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};R.default=x},KS52:function(j,R,l){var x=l("OELB"),b=x.parsePercent,A=x.linearMap,f=l("+TT/"),t=l("u3DP"),e=l("bYtY"),m=Math.PI*2,d=Math.PI/180;function a(s,c){return f.getLayoutRect(s.getBoxLayoutParams(),{width:c.getWidth(),height:c.getHeight()})}function n(s,c,i,u){c.eachSeriesByType(s,function(r){var o=r.getData(),h=o.mapDimension("value"),p=a(r,i),g=r.get("center"),v=r.get("radius");e.isArray(v)||(v=[0,v]),e.isArray(g)||(g=[g,g]);var y=b(p.width,i.getWidth()),w=b(p.height,i.getHeight()),S=Math.min(y,w),_=b(g[0],y)+p.x,I=b(g[1],w)+p.y,C=b(v[0],S/2),E=b(v[1],S/2),O=-r.get("startAngle")*d,M=r.get("minAngle")*d,F=0;o.each(h,function(q){!isNaN(q)&&F++});var H=o.getSum(h),B=Math.PI/(H||F)*2,X=r.get("clockwise"),J=r.get("roseType"),k=r.get("stillShowZeroSum"),K=o.getDataExtent(h);K[0]=0;var z=m,W=0,P=O,G=X?1:-1;if(o.each(h,function(q,re){var ce;if(isNaN(q)){o.setItemLayout(re,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:X,cx:_,cy:I,r0:C,r:J?NaN:E,viewRect:p});return}J!=="area"?ce=H===0&&k?B:q*B:ce=m/F,ceyt?pt>=Pe?10+be:20+be:pt<=Pe?10+be:be},pe=function(be,Re){if(typeof be=="number"){var it=we(be,Re),yt=q||o(Ge)[Re]===void 0;return m.createElement("span",{className:"".concat(te,"-only"),style:{transition:yt?"none":void 0,msTransform:"translateY(".concat(-it*100,"%)"),WebkitTransform:"translateY(".concat(-it*100,"%)"),transform:"translateY(".concat(-it*100,"%)")},key:Re},h(it,"".concat(te,"-only-unit")))}return m.createElement("span",{key:"symbol",className:"".concat(te,"-symbol")},be)},De=function(){return fe&&Number(fe)%1===0?o(fe).map(function(be,Re){return pe(be,Re)}).reverse():fe},Ne=e()(e()({},P),{style:B,className:n()(te,H),title:X});return B&&B.borderColor&&(Ne.style=e()(e()({},B),{boxShadow:"0 0 0 1px ".concat(B.borderColor," inset")})),K?Object(u.a)(K,{className:n()("".concat(te,"-custom-component"),K.props&&K.props.className)}):m.createElement(k,Ne,De())},g=p,v=l("09Wf");function y(E){return v.a.indexOf(E)!==-1}var w=function(O){var M,F=O.className,H=O.prefixCls,B=O.style,X=O.color,J=O.children,k=O.text,K=O.placement,z=K===void 0?"end":K,W=m.useContext(i.b),P=W.getPrefixCls,G=W.direction,V=P("ribbon",H),q=y(X),re=n()(V,F,"".concat(V,"-placement-").concat(z),(M={},b()(M,"".concat(V,"-rtl"),G==="rtl"),b()(M,"".concat(V,"-color-").concat(X),q),M)),ce={},ie={};return X&&!q&&(ce.background=X,ie.color=X),m.createElement("div",{className:"".concat(V,"-wrapper")},J,m.createElement("div",{className:re,style:e()(e()({},ce),B)},k,m.createElement("div",{className:"".concat(V,"-corner"),style:ie})))},S=w,_=function(E,O){var M={};for(var F in E)Object.prototype.hasOwnProperty.call(E,F)&&O.indexOf(F)<0&&(M[F]=E[F]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,F=Object.getOwnPropertySymbols(E);HG?"".concat(G,"+"):W;return Ut},Y=function(){return!!J||!!K},te=function(){var Ut=Z();return Ut==="0"||Ut===0},we=function(){return q&&!te()||Y()},pe=function(){return we()?"":Z()},De=function(){return ie||(typeof W=="string"||typeof W=="number"?W:void 0)},Ne=function(){return Ge==="rtl"?fe?e()({left:parseInt(fe[0],10),marginTop:fe[1]},xe):xe:fe?e()({right:-parseInt(fe[0],10),marginTop:fe[1]},xe):xe},me=function(){var Ut=pe(),Kt=Ut==null||Ut==="";return(Kt||te()&&!ge)&&!we()},be=function(){var Ut=me();return Ut||!k?null:m.createElement("span",{className:"".concat(ae,"-status-text")},k)},Re=function(){var Ut=W;return!Ut||f()(Ut)!=="object"?void 0:Object(u.a)(Ut,{style:e()(e()({},Ne()),Ut.props&&Ut.props.style)})},it=function(){var Ut,Kt=ue("scroll-number",B),$t=pe(),or=we(),ht=me(),Ee=n()((Ut={},b()(Ut,"".concat(ae,"-dot"),or),b()(Ut,"".concat(ae,"-count"),!or),b()(Ut,"".concat(ae,"-count-sm"),ce==="small"),b()(Ut,"".concat(ae,"-multiple-words"),!or&&W&&W.toString&&W.toString().length>1),b()(Ut,"".concat(ae,"-status-").concat(J),!!J),b()(Ut,"".concat(ae,"-status-").concat(K),y(K)),Ut)),de=Ne();return K&&!y(K)&&(de=de||{},de.background=K),ht?null:m.createElement(g,{prefixCls:Kt,"data-show":!ht,className:Ee,count:$t,displayComponent:Re(),title:De(),style:de,key:"scrollNumber"})},yt=n()((M={},b()(M,"".concat(ae,"-status-dot"),Y()),b()(M,"".concat(ae,"-status-").concat(J),!!J),b()(M,"".concat(ae,"-status-").concat(K),y(K)),M)),pt={};K&&!y(K)&&(pt.background=K);var Pe=n()(Se,ae,(F={},b()(F,"".concat(ae,"-status"),Y()),b()(F,"".concat(ae,"-not-a-wrapper"),!X),b()(F,"".concat(ae,"-rtl"),Ge==="rtl"),F));if(!X&&Y()){var Nt=Ne(),ut=Nt&&Nt.color;return m.createElement("span",e()({},Be,{className:Pe,style:Nt}),m.createElement("span",{className:yt,style:pt}),m.createElement("span",{style:{color:ut},className:"".concat(ae,"-status-text")},k))}return m.createElement("span",e()({},Be,{className:Pe}),X,m.createElement(d.a,{component:"",showProp:"data-show",transitionName:X?"".concat(ae,"-zoom"):"",transitionAppear:!0},it()),be())};I.Ribbon=S;var C=R.a=I},Kvyg:function(j,R,l){},KxBF:function(j,R){function l(x,b,A){var f=-1,t=x.length;b<0&&(b=-b>t?0:t+b),A=A>t?t:A,A<0&&(A+=t),t=b>A?0:A-b>>>0,b>>>=0;for(var e=Array(t);++f0&&Date.now()-this._tracked[0].started>r){this._state=f,this._ignored.push(w);return}if(this._waitingRelease){this._state=f,this._ignored.push(w);return}this._tracked.push({id:w,started:Date.now(),active:!0,firstX:S,firstY:_,lastX:S,lastY:_,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(t|d|a),this._stopLongpressTimeout();break;case 3:this._state&=~(e|n|s);break;default:this._state=f}}},{key:"_touchMove",value:function(w,S,_){var I=this._tracked.find(function(H){return H.id===w});if(I===void 0)return;I.lastX=S,I.lastY=_;var C=S-I.firstX,E=_-I.firstY;if((I.firstX!==I.lastX||I.firstY!==I.lastY)&&(I.angle=Math.atan2(E,C)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(C,E)i){var F=Math.abs(I.angle-O.angle);F=Math.abs((F+180)%360-180),F>u?this._state&=~n:this._state&=~s,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(w,S,_){if(this._ignored.indexOf(w)!==-1){this._ignored.splice(this._ignored.indexOf(w),1),this._ignored.length===0&&this._tracked.length===0&&(this._state=c,this._waitingRelease=!1);return}if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=f),!this._hasDetectedGesture()&&(this._state&=~(d|n|s),this._state&=~a,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(e|m);break;case 2:this._state&=~(t|m);break}}if(this._waitingRelease){Date.now()-this._releaseStart>r&&(this._state=f),this._tracked.some(function(E){return Date.now()-E.started>o})&&(this._state=f);var I=this._tracked.find(function(E){return E.id===w});if(I.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==f)return}this._hasDetectedGesture()&&this._pushEvent("gestureend");for(var C=0;C=0)continue;if(!Object.prototype.hasOwnProperty.call(c,r))continue;u[r]=c[r]}return u}function d(c,i){if(!(c instanceof i))throw new TypeError("Cannot call a class as a function")}function a(c,i){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:c}function n(c,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);c.prototype=Object.create(i&&i.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(c,i):c.__proto__=i)}var s=function(c){n(i,c);function i(u){d(this,i);var r=a(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,u));return r.scrollListener=r.scrollListener.bind(r),r.eventListenerOptions=r.eventListenerOptions.bind(r),r.mousewheelListener=r.mousewheelListener.bind(r),r}return x(i,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var r=this.getParentElement(this.scrollComponent);r.scrollTop=r.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var r=!1,o={get passive(){r=!0}};try{document.addEventListener("test",null,o),document.removeEventListener("test",null,o)}catch(h){}return r}},{key:"eventListenerOptions",value:function(){var r=this.props.useCapture;return this.isPassiveSupported()&&(r={useCapture:this.props.useCapture,passive:!0}),r}},{key:"setDefaultLoader",value:function(r){this.defaultLoader=r}},{key:"detachMousewheelListener",value:function(){var r=window;this.props.useWindow===!1&&(r=this.scrollComponent.parentNode),r.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var r=window;this.props.useWindow===!1&&(r=this.getParentElement(this.scrollComponent)),r.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),r.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(r){var o=this.props.getScrollParent&&this.props.getScrollParent();return o!=null?o:r&&r.parentNode}},{key:"filterProps",value:function(r){return r}},{key:"attachScrollListener",value:function(){var r=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!r)return;var o=window;this.props.useWindow===!1&&(o=r),o.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),o.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),o.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}},{key:"mousewheelListener",value:function(r){r.deltaY===1&&!this.isPassiveSupported()&&r.preventDefault()}},{key:"scrollListener",value:function(){var r=this.scrollComponent,o=window,h=this.getParentElement(r),p=void 0;if(this.props.useWindow){var g=document.documentElement||document.body.parentNode||document.body,v=o.pageYOffset!==void 0?o.pageYOffset:g.scrollTop;this.props.isReverse?p=v:p=this.calculateOffset(r,v)}else this.props.isReverse?p=h.scrollTop:p=r.scrollHeight-h.scrollTop-h.clientHeight;p=4&&(Se={x:parseFloat(ge[0]||0),y:parseFloat(ge[1]||0),width:parseFloat(ge[2]),height:parseFloat(ge[3])})}if(Se&&ie!=null&&fe!=null&&(ke=W(Se,ie,fe),!V.ignoreViewBox)){var Be=re;re=new x,re.add(Be),Be.scale=ke.scale.slice(),Be.position=ke.position.slice()}return!V.ignoreRootClip&&ie!=null&&fe!=null&&re.setClipPath(new t({shape:{x:0,y:0,width:ie,height:fe}})),{root:re,width:ie,height:fe,viewBoxRect:Se,viewBoxTransform:ke}},_.prototype._parseNode=function(G,V){var q=G.nodeName.toLowerCase();q==="defs"?this._isDefine=!0:q==="text"&&(this._isText=!0);var re;if(this._isDefine){var ce=C[q];if(ce){var ie=ce.call(this,G),fe=G.getAttribute("id");fe&&(this._defs[fe]=ie)}}else{var ce=I[q];ce&&(re=ce.call(this,G,V),V.add(re))}for(var xe=G.firstChild;xe;)xe.nodeType===1&&this._parseNode(xe,re),xe.nodeType===3&&this._isText&&this._parseText(xe,re),xe=xe.nextSibling;q==="defs"?this._isDefine=!1:q==="text"&&(this._isText=!1)},_.prototype._parseText=function(G,V){if(G.nodeType===1){var q=G.getAttribute("dx")||0,re=G.getAttribute("dy")||0;this._textX+=parseFloat(q),this._textY+=parseFloat(re)}var ce=new A({style:{text:G.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});O(V,ce),H(G,ce,this._defs);var ie=ce.style.fontSize;ie&&ie<9&&(ce.style.fontSize=9,ce.scale=ce.scale||[1,1],ce.scale[0]*=ie/9,ce.scale[1]*=ie/9);var fe=ce.getBoundingRect();return this._textX+=fe.width,V.add(ce),ce};var I={g:function(V,q){var re=new x;return O(q,re),H(V,re,this._defs),re},rect:function(V,q){var re=new t;return O(q,re),H(V,re,this._defs),re.setShape({x:parseFloat(V.getAttribute("x")||0),y:parseFloat(V.getAttribute("y")||0),width:parseFloat(V.getAttribute("width")||0),height:parseFloat(V.getAttribute("height")||0)}),re},circle:function(V,q){var re=new f;return O(q,re),H(V,re,this._defs),re.setShape({cx:parseFloat(V.getAttribute("cx")||0),cy:parseFloat(V.getAttribute("cy")||0),r:parseFloat(V.getAttribute("r")||0)}),re},line:function(V,q){var re=new m;return O(q,re),H(V,re,this._defs),re.setShape({x1:parseFloat(V.getAttribute("x1")||0),y1:parseFloat(V.getAttribute("y1")||0),x2:parseFloat(V.getAttribute("x2")||0),y2:parseFloat(V.getAttribute("y2")||0)}),re},ellipse:function(V,q){var re=new e;return O(q,re),H(V,re,this._defs),re.setShape({cx:parseFloat(V.getAttribute("cx")||0),cy:parseFloat(V.getAttribute("cy")||0),rx:parseFloat(V.getAttribute("rx")||0),ry:parseFloat(V.getAttribute("ry")||0)}),re},polygon:function(V,q){var re=V.getAttribute("points");re&&(re=M(re));var ce=new a({shape:{points:re||[]}});return O(q,ce),H(V,ce,this._defs),ce},polyline:function(V,q){var re=new d;O(q,re),H(V,re,this._defs);var ce=V.getAttribute("points");ce&&(ce=M(ce));var ie=new n({shape:{points:ce||[]}});return ie},image:function(V,q){var re=new b;return O(q,re),H(V,re,this._defs),re.setStyle({image:V.getAttribute("xlink:href"),x:V.getAttribute("x"),y:V.getAttribute("y"),width:V.getAttribute("width"),height:V.getAttribute("height")}),re},text:function(V,q){var re=V.getAttribute("x")||0,ce=V.getAttribute("y")||0,ie=V.getAttribute("dx")||0,fe=V.getAttribute("dy")||0;this._textX=parseFloat(re)+parseFloat(ie),this._textY=parseFloat(ce)+parseFloat(fe);var xe=new x;return O(q,xe),H(V,xe,this._defs),xe},tspan:function(V,q){var re=V.getAttribute("x"),ce=V.getAttribute("y");re!=null&&(this._textX=parseFloat(re)),ce!=null&&(this._textY=parseFloat(ce));var ie=V.getAttribute("dx")||0,fe=V.getAttribute("dy")||0,xe=new x;return O(q,xe),H(V,xe,this._defs),this._textX+=ie,this._textY+=fe,xe},path:function(V,q){var re=V.getAttribute("d")||"",ce=r(re);return O(q,ce),H(V,ce,this._defs),ce}},C={lineargradient:function(V){var q=parseInt(V.getAttribute("x1")||0,10),re=parseInt(V.getAttribute("y1")||0,10),ce=parseInt(V.getAttribute("x2")||10,10),ie=parseInt(V.getAttribute("y2")||0,10),fe=new s(q,re,ce,ie);return E(V,fe),fe},radialgradient:function(V){}};function E(G,V){for(var q=G.firstChild;q;){if(q.nodeType===1){var re=q.getAttribute("offset");re.indexOf("%")>0?re=parseInt(re,10)/100:re?re=parseFloat(re):re=0;var ce=q.getAttribute("stop-color")||"#000000";V.addColorStop(re,ce)}q=q.nextSibling}}function O(G,V){G&&G.__inheritedStyle&&(V.__inheritedStyle||(V.__inheritedStyle={}),g(V.__inheritedStyle,G.__inheritedStyle))}function M(G){for(var V=v(G).split(w),q=[],re=0;re0;ie-=2){var fe=ce[ie],xe=ce[ie-1];re=re||i.create();switch(xe){case"translate":fe=v(fe).split(w),i.translate(re,re,[parseFloat(fe[0]),parseFloat(fe[1]||0)]);break;case"scale":fe=v(fe).split(w),i.scale(re,re,[parseFloat(fe[0]),parseFloat(fe[1]||fe[0])]);break;case"rotate":fe=v(fe).split(w),i.rotate(re,re,parseFloat(fe[0]));break;case"skew":fe=v(fe).split(w),console.warn("Skew transform is not supported yet");break;case"matrix":var fe=v(fe).split(w);re[0]=parseFloat(fe[0]),re[1]=parseFloat(fe[1]),re[2]=parseFloat(fe[2]),re[3]=parseFloat(fe[3]),re[4]=parseFloat(fe[4]),re[5]=parseFloat(fe[5]);break}}V.setLocalTransform(re)}}var K=/([^\s:;]+)\s*:\s*([^:;]+)/g;function z(G){var V=G.getAttribute("style"),q={};if(!V)return q;var re={};K.lastIndex=0;for(var ce;(ce=K.exec(V))!=null;)re[ce[1]]=ce[2];for(var ie in F)F.hasOwnProperty(ie)&&re[ie]!=null&&(q[F[ie]]=re[ie]);return q}function W(G,V,q){var re=V/G.width,ce=q/G.height,ie=Math.min(re,ce),fe=[ie,ie],xe=[-(G.x+G.width/2)*ie+V/2,-(G.y+G.height/2)*ie+q/2];return{scale:fe,position:xe}}function P(G,V){var q=new _;return q.parse(G,V)}R.parseXML=S,R.makeViewBoxTransform=W,R.parseSVG=P},MFOe:function(j,R,l){(function(x){var b=e(),A=m(),f=d(),t=typeof window!="undefined"?window:x;j.exports={assign:b,create:A,trim:f,bind:a,slice:n,each:s,map:c,pluck:i,isList:u,isFunction:r,isObject:o,Global:t};function e(){return Object.assign?Object.assign:function(p,g,v,y){for(var w=1;w=0&&typeof S=="number"&&(S=+S.toFixed(Math.min(F,20))),O.coord[C]=M.coord[C]=S,g=[O,M,{type:y,valueIndex:g.valueIndex,value:S}]}return g=[f.dataTransform(o,g[0]),f.dataTransform(o,g[1]),x.extend({},g[2])],g[2].type=g[2].type||"",x.merge(g[2],g[0]),x.merge(g[2],g[1]),g};function n(o){return!isNaN(o)&&!isFinite(o)}function s(o,h,p,g){var v=1-o,y=g.dimensions[o];return n(h[v])&&n(p[v])&&h[o]===p[o]&&g.getAxis(y).containData(h[o])}function c(o,h){if(o.type==="cartesian2d"){var p=h[0].coord,g=h[1].coord;if(p&&g&&(s(1,p,g,o)||s(0,p,g,o)))return!0}return f.dataFilter(o,h[0])&&f.dataFilter(o,h[1])}function i(o,h,p,g,v){var y=g.coordinateSystem,w=o.getItemModel(h),S,_=A.parsePercent(w.get("x"),v.getWidth()),I=A.parsePercent(w.get("y"),v.getHeight());if(!isNaN(_)&&!isNaN(I))S=[_,I];else{if(g.getMarkerPosition)S=g.getMarkerPosition(o.getValues(o.dimensions,h));else{var C=y.dimensions,E=o.get(C[0],h),O=o.get(C[1],h);S=y.dataToPoint([E,O])}if(y.type==="cartesian2d"){var M=y.getAxis("x"),F=y.getAxis("y"),C=y.dimensions;n(o.get(C[0],h))?S[0]=M.toGlobalCoord(M.getExtent()[p?0:1]):n(o.get(C[1],h))&&(S[1]=F.toGlobalCoord(F.getExtent()[p?0:1]))}isNaN(_)||(S[0]=_),isNaN(I)||(S[1]=I)}o.setItemLayout(h,S)}var u=e.extend({type:"markLine",updateTransform:function(o,h,p){h.eachSeries(function(g){var v=g.markLineModel;if(v){var y=v.getData(),w=v.__from,S=v.__to;w.each(function(_){i(w,_,!0,g,p),i(S,_,!1,g,p)}),y.each(function(_){y.setItemLayout(_,[w.getItemLayout(_),S.getItemLayout(_)])}),this.markerGroupMap.get(g.id).updateLayout()}},this)},renderSeries:function(o,h,p,g){var v=o.coordinateSystem,y=o.id,w=o.getData(),S=this.markerGroupMap,_=S.get(y)||S.set(y,new t);this.group.add(_.group);var I=r(v,o,h),C=I.from,E=I.to,O=I.line;h.__from=C,h.__to=E,h.setData(O);var M=h.get("symbol"),F=h.get("symbolSize");x.isArray(M)||(M=[M,M]),typeof F=="number"&&(F=[F,F]),I.from.each(function(B){H(C,B,!0),H(E,B,!1)}),O.each(function(B){var X=O.getItemModel(B).get("lineStyle.color");O.setItemVisual(B,{color:X||C.getItemVisual(B,"color")}),O.setItemLayout(B,[C.getItemLayout(B),E.getItemLayout(B)]),O.setItemVisual(B,{fromSymbolSize:C.getItemVisual(B,"symbolSize"),fromSymbol:C.getItemVisual(B,"symbol"),toSymbolSize:E.getItemVisual(B,"symbolSize"),toSymbol:E.getItemVisual(B,"symbol")})}),_.updateData(O),I.line.eachItemGraphicEl(function(B,X){B.traverse(function(J){J.dataModel=h})});function H(B,X,J){var k=B.getItemModel(X);i(B,X,J,o,g),B.setItemVisual(X,{symbolSize:k.get("symbolSize")||F[J?0:1],symbol:k.get("symbol",!0)||M[J?0:1],color:k.get("itemStyle.color")||w.getVisual("color")})}_.__keep=!0,_.group.silent=h.get("silent")||o.get("silent")}});function r(o,h,p){var g;o?g=x.map(o&&o.dimensions,function(I){var C=h.getData().getDimensionInfo(h.getData().mapDimension(I))||{};return x.defaults({name:I},C)}):g=[{name:"value",type:"float"}];var v=new b(g,p),y=new b(g,p),w=new b([],p),S=x.map(p.get("data"),x.curry(a,h,o,p));o&&(S=x.filter(S,x.curry(c,o)));var _=o?f.dimValueGetter:function(I){return I.value};return v.initData(x.map(S,function(I){return I[0]}),null,_),y.initData(x.map(S,function(I){return I[1]}),null,_),w.initData(x.map(S,function(I){return I[2]})),w.hasItemOption=!0,{from:v,to:y,line:w}}j.exports=u},MHoB:function(j,R,l){var x=l("bYtY"),b=l("6uqw"),A=l("OELB"),f=[20,140],t=b.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(d,a){t.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(n){n.mappingMethod="linear",n.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){t.superApply(this,"resetItemSize",arguments);var d=this.itemSize;this._orient==="horizontal"&&d.reverse(),(d[0]==null||isNaN(d[0]))&&(d[0]=f[0]),(d[1]==null||isNaN(d[1]))&&(d[1]=f[1])},_resetRange:function(){var d=this.getExtent(),a=this.option.range;!a||a.auto?(d.auto=1,this.option.range=d):x.isArray(a)&&(a[0]>a[1]&&a.reverse(),a[0]=Math.max(a[0],d[0]),a[1]=Math.min(a[1],d[1]))},completeVisualOption:function(){b.prototype.completeVisualOption.apply(this,arguments),x.each(this.stateList,function(d){var a=this.option.controller[d].symbolSize;a&&a[0]!==a[1]&&(a[0]=0)},this)},setSelected:function(d){this.option.range=d.slice(),this._resetRange()},getSelected:function(){var d=this.getExtent(),a=A.asc((this.get("range")||[]).slice());return a[0]>d[1]&&(a[0]=d[1]),a[1]>d[1]&&(a[1]=d[1]),a[0]=n[1]||d<=a[1])?"inRange":"outOfRange"},findTargetDataIndices:function(d){var a=[];return this.eachTargetSeries(function(n){var s=[],c=n.getData();c.each(this.getDataDimension(c),function(i,u){d[0]<=i&&i<=d[1]&&s.push(u)},this),a.push({seriesId:n.id,dataIndex:s})},this),a},getVisualMeta:function(d){var a=e(this,"outOfRange",this.getExtent()),n=e(this,"inRange",this.option.range.slice()),s=[];function c(g,v){s.push({value:g,color:d(g,v)})}for(var i=0,u=0,r=n.length,o=a.length;u=0&&this._clips.splice(n,1)},removeAnimator:function(a){for(var n=a.getClips(),s=0;s> Display.constructor"),this._target=u,!this._target)throw new Error("Target must be set");if(typeof this._target=="string")throw new Error("target must be a DOM element");if(!this._target.getContext)throw new Error("no getContext method");if(this._targetCtx=this._target.getContext("2d"),this._viewportLoc={x:0,y:0,w:this._target.width,h:this._target.height},this._backbuffer=document.createElement("canvas"),this._drawCtx=this._backbuffer.getContext("2d"),this._damageBounds={left:0,top:0,right:this._backbuffer.width,bottom:this._backbuffer.height},b.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),b.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return s(i,[{key:"viewportChangePos",value:function(r,o){var h=this._viewportLoc;r=Math.floor(r),o=Math.floor(o),this._clipViewport||(r=-h.w,o=-h.h);var p=h.x+h.w-1,g=h.y+h.h-1;if(r<0&&h.x+r<0&&(r=-h.x),p+r>=this._fbWidth&&(r-=p+r-this._fbWidth+1),h.y+o<0&&(o=-h.y),g+o>=this._fbHeight&&(o-=g+o-this._fbHeight+1),r===0&&o===0)return;b.Debug("viewportChange deltaX: "+r+", deltaY: "+o),h.x+=r,h.y+=o,this._damage(h.x,h.y,h.w,h.h),this.flip()}},{key:"viewportChangeSize",value:function(r,o){(!this._clipViewport||typeof r=="undefined"||typeof o=="undefined")&&(b.Debug("Setting viewport to full display region"),r=this._fbWidth,o=this._fbHeight),r=Math.floor(r),o=Math.floor(o),r>this._fbWidth&&(r=this._fbWidth),o>this._fbHeight&&(o=this._fbHeight);var h=this._viewportLoc;if(h.w!==r||h.h!==o){h.w=r,h.h=o;var p=this._target;p.width=r,p.height=o,this.viewportChangePos(0,0),this._damage(h.x,h.y,h.w,h.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(r){return this._scale===0?0:(0,t.toSigned32bit)(r/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(r){return this._scale===0?0:(0,t.toSigned32bit)(r/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(r,o){this._prevDrawStyle="",this._fbWidth=r,this._fbHeight=o;var h=this._backbuffer;if(h.width!==r||h.height!==o){var p=null;h.width>0&&h.height>0&&(p=this._drawCtx.getImageData(0,0,h.width,h.height)),h.width!==r&&(h.width=r),h.height!==o&&(h.height=o),p&&this._drawCtx.putImageData(p,0,0)}var g=this._viewportLoc;this.viewportChangeSize(g.w,g.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(r,o,h,p){rthis._damageBounds.right&&(this._damageBounds.right=r+h),o+p>this._damageBounds.bottom&&(this._damageBounds.bottom=o+p)}},{key:"flip",value:function(r){if(this._renderQ.length!==0&&!r)this._renderQPush({type:"flip"});else{var o=this._damageBounds.left,h=this._damageBounds.top,p=this._damageBounds.right-o,g=this._damageBounds.bottom-h,v=o-this._viewportLoc.x,y=h-this._viewportLoc.y;v<0&&(p+=v,o-=v,v=0),y<0&&(g+=y,h-=y,y=0),v+p>this._viewportLoc.w&&(p=this._viewportLoc.w-v),y+g>this._viewportLoc.h&&(g=this._viewportLoc.h-y),p>0&&g>0&&this._targetCtx.drawImage(this._backbuffer,o,h,p,g,v,y,p,g),this._damageBounds.left=this._damageBounds.top=65535,this._damageBounds.right=this._damageBounds.bottom=0}}},{key:"pending",value:function(){return this._renderQ.length>0}},{key:"flush",value:function(){this._renderQ.length===0?this.onflush():this._flushing=!0}},{key:"fillRect",value:function(r,o,h,p,g,v){this._renderQ.length!==0&&!v?this._renderQPush({type:"fill",x:r,y:o,width:h,height:p,color:g}):(this._setFillColor(g),this._drawCtx.fillRect(r,o,h,p),this._damage(r,o,h,p))}},{key:"copyImage",value:function(r,o,h,p,g,v,y){this._renderQ.length!==0&&!y?this._renderQPush({type:"copy",oldX:r,oldY:o,x:h,y:p,width:g,height:v}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,r,o,g,v,h,p,g,v),this._damage(h,p,g,v))}},{key:"imageRect",value:function(r,o,h,p,g,v){if(h===0||p===0)return;var y=new Image;y.src="data: "+g+";base64,"+A.default.encode(v),this._renderQPush({type:"img",img:y,x:r,y:o,width:h,height:p})}},{key:"startTile",value:function(r,o,h,p,g){this._tileX=r,this._tileY=o,h===16&&p===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(h,p);for(var v=g[2],y=g[1],w=g[0],S=this._tile.data,_=0;_=g?h=r/p.w:h=o/p.h}this._rescale(h)}},{key:"_rescale",value:function(r){this._scale=r;var o=this._viewportLoc,h=r*o.w+"px",p=r*o.h+"px";(this._target.style.width!==h||this._target.style.height!==p)&&(this._target.style.width=h,this._target.style.height=p)}},{key:"_setFillColor",value:function(r){var o="rgb("+r[2]+","+r[1]+","+r[0]+")";o!==this._prevDrawStyle&&(this._drawCtx.fillStyle=o,this._prevDrawStyle=o)}},{key:"_rgbImageData",value:function(r,o,h,p,g,v){for(var y=this._drawCtx.createImageData(h,p),w=y.data,S=0,_=v;S0;){var o=this._renderQ[0];switch(o.type){case"flip":this.flip(!0);break;case"copy":this.copyImage(o.oldX,o.oldY,o.x,o.y,o.width,o.height,!0);break;case"fill":this.fillRect(o.x,o.y,o.width,o.height,o.color,!0);break;case"blit":this.blitImage(o.x,o.y,o.width,o.height,o.data,0,!0);break;case"blitRgb":this.blitRgbImage(o.x,o.y,o.width,o.height,o.data,0,!0);break;case"blitRgbx":this.blitRgbxImage(o.x,o.y,o.width,o.height,o.data,0,!0);break;case"img":if(o.img.complete&&o.img.width!==0&&o.img.height!==0){if(o.img.width!==o.width||o.img.height!==o.height){b.Error("Decoded image has incorrect dimensions. Got "+o.img.width+"x"+o.img.height+". Expected "+o.width+"x"+o.height+".");return}this.drawImage(o.img,o.x,o.y)}else o.img._noVNCDisplay=this,o.img.addEventListener("load",this._resumeRenderQ),r=!1;break}r&&this._renderQ.shift()}this._renderQ.length===0&&this._flushing&&(this._flushing=!1,this.onflush())}},{key:"scale",get:function(){return this._scale},set:function(r){this._rescale(r)}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(r){this._clipViewport=r;var o=this._viewportLoc;this.viewportChangeSize(o.w,o.h),this.viewportChangePos(0,0)}},{key:"width",get:function(){return this._fbWidth}},{key:"height",get:function(){return this._fbHeight}}]),i}();R.default=c},Mdki:function(j,R,l){var x=l("bYtY"),b=x.each,A="\0__link_datas",f="\0__link_mainData";function t(u){var r=u.mainData,o=u.datas;o||(o={main:r},u.datasAttr={main:"data"}),u.datas=u.mainData=null,s(r,o,u),b(o,function(h){b(r.TRANSFERABLE_METHODS,function(p){h.wrapMethod(p,x.curry(e,u))})}),r.wrapMethod("cloneShallow",x.curry(d,u)),b(r.CHANGABLE_METHODS,function(h){r.wrapMethod(h,x.curry(m,u))}),x.assert(o[r.dataType]===r)}function e(u,r){if(n(this)){var o=x.extend({},this[A]);o[this.dataType]=r,s(r,o,u)}else c(r,this.dataType,this[f],u);return r}function m(u,r){return u.struct&&u.struct.update(this),r}function d(u,r){return b(r[A],function(o,h){o!==r&&c(o.cloneShallow(),h,r,u)}),r}function a(u){var r=this[f];return u==null||r==null?r:r[A][u]}function n(u){return u[f]===u}function s(u,r,o){u[A]={},b(r,function(h,p){c(h,p,u,o)})}function c(u,r,o,h){o[A][r]=u,u[f]=o,u.dataType=r,h.struct&&(u[h.structAttr]=h.struct,h.struct[h.datasAttr[r]]=u),u.getLinkedData=a}var i=t;j.exports=i},Mds0:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("8IMR")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="StarFilled";var d=f.forwardRef(m);R.default=d},Mgri:function(j,R,l){for(var x=l("bYtY"),b=l("8nly"),A=[126,25],f=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],t=0;t=0;r--)u+=this._rQ[this._rQi++]<1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+i,u-i)}},{key:"rQwait",value:function(i,u,r){if(this.rQlen0&&this._websocket.readyState===WebSocket.OPEN&&(this._websocket.send(this._encodeMessage()),this._sQlen=0)}},{key:"send",value:function(i){this._sQ.set(i,this._sQlen),this._sQlen+=i.length,this.flush()}},{key:"sendString",value:function(i){this.send(i.split("").map(function(u){return u.charCodeAt(0)}))}},{key:"off",value:function(i){this._eventHandlers[i]=function(){}}},{key:"on",value:function(i,u){this._eventHandlers[i]=u}},{key:"_allocateBuffers",value:function(){this._rQ=new Uint8Array(this._rQbufferSize),this._sQ=new Uint8Array(this._sQbufferSize)}},{key:"init",value:function(){this._allocateBuffers(),this._rQi=0,this._websocket=null}},{key:"open",value:function(i,u){var r=this;this.init(),this._websocket=new WebSocket(i,u),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){b.Debug(">> WebSock.onopen"),r._websocket.protocol&&b.Info("Server choose sub-protocol: "+r._websocket.protocol),r._eventHandlers.open(),b.Debug("<< WebSock.onopen")},this._websocket.onclose=function(o){b.Debug(">> WebSock.onclose"),r._eventHandlers.close(o),b.Debug("<< WebSock.onclose")},this._websocket.onerror=function(o){b.Debug(">> WebSock.onerror: "+o),r._eventHandlers.error(o),b.Debug("<< WebSock.onerror: "+o)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(b.Info("Closing WebSocket connection"),this._websocket.close()),this._websocket.onmessage=function(){})}},{key:"_encodeMessage",value:function(){return new Uint8Array(this._sQ.buffer,0,this._sQlen)}},{key:"_expandCompactRQ",value:function(i){var u=(this._rQlen-this._rQi+i)*8,r=this._rQbufferSizea&&(this._rQbufferSize=a,this._rQbufferSize-this.rQlenthis._rQbufferSize-this._rQlen&&this._expandCompactRQ(u.length),this._rQ.set(u,this._rQlen),this._rQlen+=u.length}},{key:"_recvMessage",value:function(i){this._DecodeMessage(i.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):b.Debug("Ignoring empty message")}},{key:"sQ",get:function(){return this._sQ}},{key:"rQ",get:function(){return this._rQ}},{key:"rQi",get:function(){return this._rQi},set:function(i){this._rQi=i}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),s}();R.default=n},MqEG:function(j,R,l){var x=l("bYtY"),b=l("fc+c"),A=l("72pK"),f=l("VXYp"),t=x.bind,e=b.extend({type:"dataZoom.inside",init:function(s,c){this._range},render:function(s,c,i,u){e.superApply(this,"render",arguments),this._range=s.getPercentRange(),x.each(this.getTargetCoordInfo(),function(r,o){var h=x.map(r,function(p){return f.generateCoordId(p.model)});x.each(r,function(p){var g=p.model,v={};x.each(["pan","zoom","scrollMove"],function(y){v[y]=t(m[y],this,p,o)},this),f.register(i,{coordId:f.generateCoordId(g),allCoordIds:h,containsPoint:function(y,w,S){return g.coordinateSystem.containPoint([w,S])},dataZoomId:s.id,dataZoomModel:s,getRange:v})},this)},this)},dispose:function(){f.unregister(this.api,this.dataZoomModel.id),e.superApply(this,"dispose",arguments),this._range=null}}),m={zoom:function(s,c,i,u){var r=this._range,o=r.slice(),h=s.axisModels[0];if(!h)return;var p=a[c](null,[u.originX,u.originY],h,i,s),g=(p.signal>0?p.pixelStart+p.pixelLength-p.pixel:p.pixel-p.pixelStart)/p.pixelLength*(o[1]-o[0])+o[0],v=Math.max(1/u.scale,0);o[0]=(o[0]-g)*v+g,o[1]=(o[1]-g)*v+g;var y=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(A(0,o,[0,100],0,y.minSpan,y.maxSpan),this._range=o,r[0]!==o[0]||r[1]!==o[1])return o},pan:d(function(s,c,i,u,r,o){var h=a[u]([o.oldX,o.oldY],[o.newX,o.newY],c,r,i);return h.signal*(s[1]-s[0])*h.pixel/h.pixelLength}),scrollMove:d(function(s,c,i,u,r,o){var h=a[u]([0,0],[o.scrollDelta,o.scrollDelta],c,r,i);return h.signal*(s[1]-s[0])*o.scrollDelta})};function d(s){return function(c,i,u,r){var o=this._range,h=o.slice(),p=c.axisModels[0];if(!p)return;var g=s(h,p,c,i,u,r);if(A(g,h,[0,100],"all"),this._range=h,o[0]!==h[0]||o[1]!==h[1])return h}}var a={grid:function(s,c,i,u,r){var o=i.axis,h={},p=r.model.coordinateSystem.getRect();return s=s||[0,0],o.dim==="x"?(h.pixel=c[0]-s[0],h.pixelLength=p.width,h.pixelStart=p.x,h.signal=o.inverse?1:-1):(h.pixel=c[1]-s[1],h.pixelLength=p.height,h.pixelStart=p.y,h.signal=o.inverse?-1:1),h},polar:function(s,c,i,u,r){var o=i.axis,h={},p=r.model.coordinateSystem,g=p.getRadiusAxis().getExtent(),v=p.getAngleAxis().getExtent();return s=s?p.pointToCoord(s):[0,0],c=p.pointToCoord(c),i.mainType==="radiusAxis"?(h.pixel=c[0]-s[0],h.pixelLength=g[1]-g[0],h.pixelStart=g[0],h.signal=o.inverse?1:-1):(h.pixel=c[1]-s[1],h.pixelLength=v[1]-v[0],h.pixelStart=v[0],h.signal=o.inverse?-1:1),h},singleAxis:function(s,c,i,u,r){var o=i.axis,h=r.model.coordinateSystem.getRect(),p={};return s=s||[0,0],o.orient==="horizontal"?(p.pixel=c[0]-s[0],p.pixelLength=h.width,p.pixelStart=h.x,p.signal=o.inverse?1:-1):(p.pixel=c[1]-s[1],p.pixelLength=h.height,p.pixelStart=h.y,p.signal=o.inverse?-1:1),p}},n=e;j.exports=n},MwEJ:function(j,R,l){var x=l("bYtY"),b=l("YXkt"),A=l("sdST"),f=l("k9D9"),t=f.SOURCE_FORMAT_ORIGINAL,e=l("L0Ub"),m=e.getDimensionTypeByAxis,d=l("4NO4"),a=d.getDataItemValue,n=l("IDmD"),s=l("i38C"),c=s.getCoordSysInfoBySeries,i=l("7G+c"),u=l("7hqr"),r=u.enableDataStack,o=l("D5nY"),h=o.makeSeriesEncodeForAxisCoordSys;function p(w,S,_){_=_||{},i.isInstance(w)||(w=i.seriesDataToSource(w));var I=S.get("coordinateSystem"),C=n.get(I),E=c(S),O;E&&(O=x.map(E.coordSysDims,function(k){var K={name:k},z=E.axisMap.get(k);if(z){var W=z.get("type");K.type=m(W)}return K})),O||(O=C&&(C.getDimensionsInfo?C.getDimensionsInfo():C.dimensions.slice())||["x","y"]);var M=A(w,{coordDimensions:O,generateCoord:_.generateCoord,encodeDefaulter:_.useEncodeDefaulter?x.curry(h,O,S):null}),F,H;E&&x.each(M,function(k,K){var z=k.coordDim,W=E.categoryAxisMap.get(z);W&&(F==null&&(F=K),k.ordinalMeta=W.getOrdinalMeta()),k.otherDims.itemName!=null&&(H=!0)}),!H&&F!=null&&(M[F].otherDims.itemName=0);var B=r(S,M),X=new b(M,S);X.setCalculationInfo(B);var J=F!=null&&g(w)?function(k,K,z,W){return W===F?z:this.defaultDimValueGetter(k,K,z,W)}:null;return X.hasItemOption=!1,X.initData(w,null,J),X}function g(w){if(w.sourceFormat===t){var S=v(w.data||[]);return S!=null&&!x.isArray(a(S))}}function v(w){for(var S=0;S0?1:ke<0?-1:0}function h(P,G){return P.toGlobalCoord(P.dataToCoord(P.scale.parse(G)))}function p(P,G,V,q,re,ce,ie,fe,xe,Se){var ke=xe.valueDim,ge=xe.categoryDim,Be=Math.abs(V[ge.wh]),ee=P.getItemVisual(G,"symbolSize");b.isArray(ee)?ee=ee.slice():(ee==null&&(ee="100%"),ee=[ee,ee]),ee[ge.index]=m(ee[ge.index],Be),ee[ke.index]=m(ee[ke.index],q?Be:Math.abs(ce)),Se.symbolSize=ee;var ue=Se.symbolScale=[ee[0]/fe,ee[1]/fe];ue[ke.index]*=(xe.isHorizontal?-1:1)*ie}function g(P,G,V,q,re){var ce=P.get(s)||0;ce&&(i.attr({scale:G.slice(),rotation:V}),i.updateTransform(),ce/=i.getLineScale(),ce*=G[q.valueDim.index]),re.valueLineWidth=ce}function v(P,G,V,q,re,ce,ie,fe,xe,Se,ke,ge){var Be=ke.categoryDim,ee=ke.valueDim,ue=ge.pxSign,Ge=Math.max(G[ee.index]+fe,0),ae=Ge;if(q){var Z=Math.abs(xe),Y=b.retrieve(P.get("symbolMargin"),"15%")+"",te=!1;Y.lastIndexOf("!")===Y.length-1&&(te=!0,Y=Y.slice(0,Y.length-1)),Y=m(Y,G[ee.index]);var we=Math.max(Ge+Y*2,0),pe=te?0:Y*2,De=d(q),Ne=De?q:z((Z+pe)/we),me=Z-Ne*Ge;Y=me/2/(te?Ne:Ne-1),we=Ge+Y*2,pe=te?0:Y*2,!De&&q!=="fixed"&&(Ne=Se?z((Math.abs(Se)+pe)/we):0),ae=Ne*we-pe,ge.repeatTimes=Ne,ge.symbolMargin=Y}var be=ue*(ae/2),Re=ge.pathPosition=[];Re[Be.index]=V[Be.wh]/2,Re[ee.index]=ie==="start"?be:ie==="end"?xe-be:xe/2,ce&&(Re[0]+=ce[0],Re[1]+=ce[1]);var it=ge.bundlePosition=[];it[Be.index]=V[Be.xy],it[ee.index]=V[ee.xy];var yt=ge.barRectShape=b.extend({},V);yt[ee.wh]=ue*Math.max(Math.abs(V[ee.wh]),Math.abs(Re[ee.index]+be)),yt[Be.wh]=V[Be.wh];var pt=ge.clipShape={};pt[Be.xy]=-V[Be.xy],pt[Be.wh]=ke.ecSize[Be.wh],pt[ee.xy]=0,pt[ee.wh]=V[ee.wh]}function y(P){var G=P.symbolPatternSize,V=t(P.symbolType,-G/2,-G/2,G,G,P.color);return V.attr({culling:!0}),V.type!=="image"&&V.setStyle({strokeNoScale:!0}),V}function w(P,G,V,q){var re=P.__pictorialBundle,ce=V.symbolSize,ie=V.valueLineWidth,fe=V.pathPosition,xe=G.valueDim,Se=V.repeatTimes||0,ke=0,ge=ce[G.valueDim.index]+ie+V.symbolMargin*2;for(J(P,function(Z){Z.__pictorialAnimationIndex=ke,Z.__pictorialRepeatTimes=Se,ke0:te<0)&&(we=Se-1-Z),Y[xe.index]=ge*(we-Se/2+.5)+fe[xe.index],{position:Y,scale:V.symbolScale.slice(),rotation:V.rotation}}function Ge(){J(P,function(Z){Z.trigger("emphasis")})}function ae(){J(P,function(Z){Z.trigger("normal")})}}function S(P,G,V,q){var re=P.__pictorialBundle,ce=P.__pictorialMainPath;ce?k(ce,null,{position:V.pathPosition.slice(),scale:V.symbolScale.slice(),rotation:V.rotation},V,q):(ce=P.__pictorialMainPath=y(V),re.add(ce),k(ce,{position:V.pathPosition.slice(),scale:[0,0],rotation:V.rotation},{scale:V.symbolScale.slice()},V,q),ce.on("mouseover",ie).on("mouseout",fe)),M(ce,V);function ie(){this.trigger("emphasis")}function fe(){this.trigger("normal")}}function _(P,G,V){var q=b.extend({},G.barRectShape),re=P.__pictorialBarRect;re?k(re,null,{shape:q},G,V):(re=P.__pictorialBarRect=new A.Rect({z2:2,shape:q,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),P.add(re))}function I(P,G,V,q){if(V.symbolClip){var re=P.__pictorialClipPath,ce=b.extend({},V.clipShape),ie=G.valueDim,fe=V.animationModel,xe=V.dataIndex;if(re)A.updateProps(re,{shape:ce},fe,xe);else{ce[ie.wh]=0,re=new A.Rect({shape:ce}),P.__pictorialBundle.setClipPath(re),P.__pictorialClipPath=re;var Se={};Se[ie.wh]=V.clipShape[ie.wh],A[q?"updateProps":"initProps"](re,{shape:Se},fe,xe)}}}function C(P,G){var V=P.getItemModel(G);return V.getAnimationDelayParams=E,V.isAnimationEnabled=O,V}function E(P){return{index:P.__pictorialAnimationIndex,count:P.__pictorialRepeatTimes}}function O(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function M(P,G){P.off("emphasis").off("normal");var V=G.symbolScale.slice();G.hoverAnimation&&P.on("emphasis",function(){this.animateTo({scale:[V[0]*1.1,V[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:V.slice()},400,"elasticOut")})}function F(P,G,V,q){var re=new A.Group,ce=new A.Group;return re.add(ce),re.__pictorialBundle=ce,ce.attr("position",V.bundlePosition.slice()),V.symbolRepeat?w(re,G,V):S(re,G,V),_(re,V,q),I(re,G,V,q),re.__pictorialShapeStr=X(P,V),re.__pictorialSymbolMeta=V,re}function H(P,G,V){var q=V.animationModel,re=V.dataIndex,ce=P.__pictorialBundle;A.updateProps(ce,{position:V.bundlePosition.slice()},q,re),V.symbolRepeat?w(P,G,V,!0):S(P,G,V,!0),_(P,V,!0),I(P,G,V,!0)}function B(P,G,V,q){var re=q.__pictorialBarRect;re&&(re.style.text=null);var ce=[];J(q,function(ie){ce.push(ie)}),q.__pictorialMainPath&&ce.push(q.__pictorialMainPath),q.__pictorialClipPath&&(V=null),b.each(ce,function(ie){A.updateProps(ie,{scale:[0,0]},V,G,function(){q.parent&&q.parent.remove(q)})}),P.setItemGraphicEl(G,null)}function X(P,G){return[P.getItemVisual(G.dataIndex,"symbol")||"none",!!G.symbolRepeat,!!G.symbolClip].join(":")}function J(P,G,V){b.each(P.__pictorialBundle.children(),function(q){q!==P.__pictorialBarRect&&G.call(V,q)})}function k(P,G,V,q,re,ce){G&&P.attr(G),q.symbolClip&&!re?V&&P.attr(V):V&&A[re?"updateProps":"initProps"](P,V,q.animationModel,q.dataIndex,ce)}function K(P,G,V){var q=V.color,re=V.dataIndex,ce=V.itemModel,ie=ce.getModel("itemStyle").getItemStyle(["color"]),fe=ce.getModel("emphasis.itemStyle").getItemStyle(),xe=ce.getShallow("cursor");J(P,function(Be){Be.setColor(q),Be.setStyle(b.defaults({fill:q,opacity:V.opacity},ie)),A.setHoverStyle(Be,fe),xe&&(Be.cursor=xe),Be.z2=V.z2});var Se={},ke=G.valueDim.posDesc[+(V.boundingLength>0)],ge=P.__pictorialBarRect;n(ge.style,Se,ce,q,G.seriesModel,re,ke),A.setHoverStyle(ge,Se)}function z(P){var G=Math.round(P);return Math.abs(P-G)<1e-4?G:Math.ceil(P)}var W=u;j.exports=W},"N/zr":function(j,R,l){"use strict";function x(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(d){return typeof d}:x=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},x(e)}Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var b=f(l("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return A=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(e===null||x(e)!=="object"&&typeof e!="function")return{default:e};var m=A();if(m&&m.has(e))return m.get(e);var d={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var s=a?Object.getOwnPropertyDescriptor(e,n):null;s&&(s.get||s.set)?Object.defineProperty(d,n,s):d[n]=e[n]}return d.default=e,m&&m.set(e,d),d}var t={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(m){"use strict";for(var d="",a=m.length,n=a%3,s=0;s>2],d+=this.toBase64Table[((m[s]&3)<<4)+(m[s+1]>>4)],d+=this.toBase64Table[((m[s+1]&15)<<2)+(m[s+2]>>6)],d+=this.toBase64Table[m[s+2]&63];var c=a-n;return n===2?(d+=this.toBase64Table[m[c]>>2],d+=this.toBase64Table[((m[c]&3)<<4)+(m[c+1]>>4)],d+=this.toBase64Table[(m[c+1]&15)<<2],d+=this.toBase64Table[64]):n===1&&(d+=this.toBase64Table[m[c]>>2],d+=this.toBase64Table[(m[c]&3)<<4],d+=this.toBase64Table[64],d+=this.toBase64Table[64]),d},toBinaryTable:[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1],decode:function(m){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=m.indexOf("=")-d;a<0&&(a=m.length-d);for(var n=(a>>2)*3+Math.floor(a%4/1.5),s=new Array(n),c=0,i=0,u=0,r=d;r=8&&(c-=8,h||(s[u++]=i>>c&255),i&=(1<0){u.virtualPiece?u.virtualPiece.updateData(!1,O,"normal",n,s):(u.virtualPiece=new A(O,n,s),p.add(u.virtualPiece)),M.piece._onclickEvent&&M.piece.off("click",M.piece._onclickEvent);var F=function(H){u._rootToNode(M.parentNode)};M.piece._onclickEvent=F,u.virtualPiece.on("click",F)}else u.virtualPiece&&(p.remove(u.virtualPiece),u.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var n=this,s=function(c){var i=!1,u=n.seriesModel.getViewRoot();u.eachNode(function(r){if(!i&&r.piece&&r.piece.childAt(0)===c.target){var o=r.getModel().get("nodeClick");if(o==="rootToNode")n._rootToNode(r);else if(o==="link"){var h=r.getModel(),p=h.get("link");if(p){var g=h.get("target",!0)||"_blank";e(p,g)}}i=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",s),this.group._onclickEvent=s},_rootToNode:function(n){n!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:m,from:this.uid,seriesId:this.seriesModel.id,targetNode:n})},containPoint:function(n,s){var c=s.getData(),i=c.getItemLayout(0);if(i){var u=n[0]-i.cx,r=n[1]-i.cy,o=Math.sqrt(u*u+r*r);return o<=i.r&&o>=i.r0}}}),a=d;j.exports=a},NAnI:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("wXyp"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},NBmB:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.encodingName=b,R.encodings=void 0;var x={encodingRaw:0,encodingCopyRect:1,encodingRRE:2,encodingHextile:5,encodingTight:7,encodingTightPNG:-260,pseudoEncodingQualityLevel9:-23,pseudoEncodingQualityLevel0:-32,pseudoEncodingDesktopSize:-223,pseudoEncodingLastRect:-224,pseudoEncodingCursor:-239,pseudoEncodingQEMUExtendedKeyEvent:-258,pseudoEncodingDesktopName:-307,pseudoEncodingExtendedDesktopSize:-308,pseudoEncodingXvp:-309,pseudoEncodingFence:-312,pseudoEncodingContinuousUpdates:-313,pseudoEncodingCompressLevel9:-247,pseudoEncodingCompressLevel0:-256,pseudoEncodingVMwareCursor:1464686180,pseudoEncodingExtendedClipboard:3231835598};R.encodings=x;function b(A){switch(A){case x.encodingRaw:return"Raw";case x.encodingCopyRect:return"CopyRect";case x.encodingRRE:return"RRE";case x.encodingHextile:return"Hextile";case x.encodingTight:return"Tight";case x.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+A+"]"}}},NC18:function(j,R,l){var x=l("y+Vt"),b=l("IMiH"),A=l("7oTu"),f=Math.sqrt,t=Math.sin,e=Math.cos,m=Math.PI,d=function(v){return Math.sqrt(v[0]*v[0]+v[1]*v[1])},a=function(v,y){return(v[0]*y[0]+v[1]*y[1])/(d(v)*d(y))},n=function(v,y){return(v[0]*y[1]1&&(I*=f(X),C*=f(X));var J=(S===_?-1:1)*f((I*I*(C*C)-I*I*(B*B)-C*C*(H*H))/(I*I*(B*B)+C*C*(H*H)))||0,k=J*I*B/C,K=J*-C*H/I,z=(g+y)/2+e(F)*k-t(F)*K,W=(v+w)/2+t(F)*k+e(F)*K,P=n([1,0],[(H-k)/I,(B-K)/C]),G=[(H-k)/I,(B-K)/C],V=[(-1*H-k)/I,(-1*B-K)/C],q=n(G,V);a(G,V)<=-1&&(q=m),a(G,V)>=1&&(q=0),_===0&&q>0&&(q=q-2*m),_===1&&q<0&&(q=q+2*m),M.addData(O,z,W,I,C,P,q,F,_)}var c=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,i=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function u(g){if(!g)return new b;for(var v=0,y=0,w=v,S=y,_,I=new b,C=b.CMD,E=g.match(c),O=0;O=0||_==="+"?"left":"right"},O={horizontal:_>=0||_==="+"?"top":"bottom",vertical:"middle"},M={horizontal:0,vertical:o/2},F=I==="vertical"?C.height:C.width,H=w.getModel("controlStyle"),B=H.get("show",!0),X=B?H.get("itemSize"):0,J=B?H.get("itemGap"):0,k=X+J,K=w.get("label.rotate")||0;K=K*o/180;var z,W,P,G,V=H.get("position",!0),q=B&&H.get("showPlayBtn",!0),re=B&&H.get("showPrevBtn",!0),ce=B&&H.get("showNextBtn",!0),ie=0,fe=F;return V==="left"||V==="bottom"?(q&&(z=[0,0],ie+=k),re&&(W=[ie,0],ie+=k),ce&&(P=[fe-X,0],fe-=k)):(q&&(z=[fe-X,0],fe-=k),re&&(W=[0,0],ie+=k),ce&&(P=[fe-X,0],fe-=k)),G=[ie,fe],w.get("inverse")&&G.reverse(),{viewRect:C,mainLength:F,orient:I,rotation:M[I],labelRotation:K,labelPosOpt:_,labelAlign:w.get("label.align")||E[I],labelBaseline:w.get("label.verticalAlign")||w.get("label.baseline")||O[I],playPosition:z,prevBtnPosition:W,nextBtnPosition:P,axisExtent:G,controlSize:X,controlGap:J}},_position:function(w,S){var _=this._mainGroup,I=this._labelGroup,C=w.viewRect;if(w.orient==="vertical"){var E=A.create(),O=C.x,M=C.y+C.height;A.translate(E,E,[-O,-M]),A.rotate(E,E,-o/2),A.translate(E,E,[O,M]),C=C.clone(),C.applyTransform(E)}var F=W(C),H=W(_.getBoundingRect()),B=W(I.getBoundingRect()),X=_.position,J=I.position;J[0]=X[0]=F[0][0];var k=w.labelPosOpt;if(isNaN(k)){var K=k==="+"?0:1;P(X,H,F,1,K),P(J,B,F,1,1-K)}else{var K=k>=0?0:1;P(X,H,F,1,K),J[1]=X[1]+k}_.attr("position",X),I.attr("position",J),_.rotation=I.rotation=w.rotation,z(_),z(I);function z(G){var V=G.position;G.origin=[F[0][0]-V[0],F[1][0]-V[1]]}function W(G){return[[G.x,G.x+G.width],[G.y,G.y+G.height]]}function P(G,V,q,re,ce){G[re]+=q[re][ce]-V[re][ce]}},_createAxis:function(w,S){var _=S.getData(),I=S.get("axisType"),C=n.createScaleByModel(S,I);C.getTicks=function(){return _.mapArray(["value"],function(M){return M})};var E=_.getDataExtent("value");C.setExtent(E[0],E[1]),C.niceTicks();var O=new m("value",C,w.axisExtent,I);return O.model=S,O},_createGroup:function(w){var S=this["_"+w]=new f.Group;return this.group.add(S),S},_renderAxisLine:function(w,S,_,I){var C=_.getExtent();if(!I.get("lineStyle.show"))return;S.add(new f.Line({shape:{x1:C[0],y1:0,x2:C[1],y2:0},style:x.extend({lineCap:"round"},I.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(w,S,_,I){var C=I.getData(),E=_.scale.getTicks();r(E,function(O){var M=_.dataToCoord(O),F=C.getItemModel(O),H=F.getModel("itemStyle"),B=F.getModel("emphasis.itemStyle"),X={position:[M,0],onclick:u(this._changeTimeline,this,O)},J=v(F,H,S,X);f.setHoverStyle(J,B.getItemStyle()),F.get("tooltip")?(J.dataIndex=O,J.dataModel=I):J.dataIndex=J.dataModel=null},this)},_renderAxisLabel:function(w,S,_,I){var C=_.getLabelModel();if(!C.get("show"))return;var E=I.getData(),O=_.getViewLabels();r(O,function(M){var F=M.tickValue,H=E.getItemModel(F),B=H.getModel("label"),X=H.getModel("emphasis.label"),J=_.dataToCoord(M.tickValue),k=new f.Text({position:[J,0],rotation:w.labelRotation-w.rotation,onclick:u(this._changeTimeline,this,F),silent:!1});f.setTextStyle(k.style,B,{text:M.formattedLabel,textAlign:w.labelAlign,textVerticalAlign:w.labelBaseline}),S.add(k),f.setHoverStyle(k,f.setTextStyle({},X))},this)},_renderControl:function(w,S,_,I){var C=w.controlSize,E=w.rotation,O=I.getModel("controlStyle").getItemStyle(),M=I.getModel("emphasis.controlStyle").getItemStyle(),F=[0,-C/2,C,C],H=I.getPlayState(),B=I.get("inverse",!0);X(w.nextBtnPosition,"controlStyle.nextIcon",u(this._changeTimeline,this,B?"-":"+")),X(w.prevBtnPosition,"controlStyle.prevIcon",u(this._changeTimeline,this,B?"+":"-")),X(w.playPosition,"controlStyle."+(H?"stopIcon":"playIcon"),u(this._handlePlayClick,this,!H),!0);function X(J,k,K,z){if(!J)return;var W={position:J,origin:[C/2,0],rotation:z?-E:0,rectHover:!0,style:O,onclick:K},P=g(I,k,F,W);S.add(P),f.setHoverStyle(P,M)}},_renderCurrentPointer:function(w,S,_,I){var C=I.getData(),E=I.getCurrentIndex(),O=C.getItemModel(E).getModel("checkpointStyle"),M=this,F={onCreate:function(H){H.draggable=!0,H.drift=u(M._handlePointerDrag,M),H.ondragend=u(M._handlePointerDragend,M),y(H,E,_,I,!0)},onUpdate:function(H){y(H,E,_,I)}};this._currentPointer=v(O,O,this._mainGroup,{},this._currentPointer,F)},_handlePlayClick:function(w){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:w,from:this.uid})},_handlePointerDrag:function(w,S,_){this._clearTimer(),this._pointerChangeTimeline([_.offsetX,_.offsetY])},_handlePointerDragend:function(w){this._pointerChangeTimeline([w.offsetX,w.offsetY],!0)},_pointerChangeTimeline:function(w,S){var _=this._toAxisCoord(w)[0],I=this._axis,C=s.asc(I.getExtent().slice());_>C[1]&&(_=C[1]),_=0||Ge.relatedTarget.className.indexOf("".concat(te,"-next"))>=0))return;ge.setState({goInputText:""}),Y(ge.getValidValue())},ge.go=function(Ge){var ae=ge.state.goInputText;if(ae==="")return;(Ge.keyCode===p.ENTER||Ge.type==="click")&&(ge.setState({goInputText:""}),ge.props.quickGo(ge.getValidValue()))},ge}return Object(s.a)(ke,[{key:"getValidValue",value:function(){var Be=this.state,ee=Be.goInputText,ue=Be.current;return!ee||isNaN(ee)?ue:Number(ee)}},{key:"getPageSizeOptions",value:function(){var Be=this.props,ee=Be.pageSize,ue=Be.pageSizeOptions;return ue.some(function(Ge){return Ge.toString()===ee.toString()})?ue:ue.concat([ee.toString()]).sort(function(Ge,ae){var Z=isNaN(Number(Ge))?0:Number(Ge),Y=isNaN(Number(ae))?0:Number(ae);return Z-Y})}},{key:"render",value:function(){var Be=this,ee=this.props,ue=ee.pageSize,Ge=ee.locale,ae=ee.rootPrefixCls,Z=ee.changeSize,Y=ee.quickGo,te=ee.goButton,we=ee.selectComponentClass,pe=ee.buildOptionText,De=ee.selectPrefixCls,Ne=ee.disabled,me=this.state.goInputText,be="".concat(ae,"-options"),Re=we,it=null,yt=null,pt=null;if(!Z&&!Y)return null;var Pe=this.getPageSizeOptions();if(Z&&Re){var Nt=Pe.map(function(ut,Ft){return e.a.createElement(Re.Option,{key:Ft,value:ut.toString()},(pe||Be.buildOptionText)(ut))});it=e.a.createElement(Re,{disabled:Ne,prefixCls:De,showSearch:!1,className:"".concat(be,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(ue||Pe[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Ft){return Ft.parentNode}},Nt)}return Y&&(te&&(pt=typeof te=="boolean"?e.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ne,className:"".concat(be,"-quick-jumper-button")},Ge.jump_to_confirm):e.a.createElement("span",{onClick:this.go,onKeyUp:this.go},te)),yt=e.a.createElement("div",{className:"".concat(be,"-quick-jumper")},Ge.jump_to,e.a.createElement("input",{disabled:Ne,type:"text",value:me,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),Ge.page,pt)),e.a.createElement("li",{className:"".concat(be)},it,yt)}}]),ke}(e.a.Component);g.defaultProps={pageSizeOptions:["10","20","50","100"]};var v=g,y=l("N2Kk");function w(){}function S(xe){return typeof xe=="number"&&isFinite(xe)&&Math.floor(xe)===xe}function _(xe,Se,ke){return ke}function I(xe,Se,ke){var ge=typeof xe=="undefined"?Se.pageSize:xe;return Math.floor((ke.total-1)/ge)+1}var C=function(xe){Object(c.a)(ke,xe);var Se=Object(i.a)(ke);function ke(ge){var Be;Object(n.a)(this,ke),Be=Se.call(this,ge),Be.getJumpPrevPage=function(){return Math.max(1,Be.state.current-(Be.props.showLessItems?3:5))},Be.getJumpNextPage=function(){return Math.min(I(void 0,Be.state,Be.props),Be.state.current+(Be.props.showLessItems?3:5))},Be.getItemIcon=function(Z,Y){var te=Be.props.prefixCls,we=Z||e.a.createElement("button",{type:"button","aria-label":Y,className:"".concat(te,"-item-link")});return typeof Z=="function"&&(we=e.a.createElement(Z,Object(a.a)({},Be.props))),we},Be.savePaginationNode=function(Z){Be.paginationNode=Z},Be.isValid=function(Z){return S(Z)&&Z!==Be.state.current},Be.shouldDisplayQuickJumper=function(){var Z=Be.props,Y=Z.showQuickJumper,te=Z.pageSize,we=Z.total;return we<=te?!1:Y},Be.handleKeyDown=function(Z){(Z.keyCode===p.ARROW_UP||Z.keyCode===p.ARROW_DOWN)&&Z.preventDefault()},Be.handleKeyUp=function(Z){var Y=Be.getValidValue(Z),te=Be.state.currentInputValue;Y!==te&&Be.setState({currentInputValue:Y}),Z.keyCode===p.ENTER?Be.handleChange(Y):Z.keyCode===p.ARROW_UP?Be.handleChange(Y-1):Z.keyCode===p.ARROW_DOWN&&Be.handleChange(Y+1)},Be.changePageSize=function(Z){var Y=Be.state.current,te=I(Z,Be.state,Be.props);Y=Y>te?te:Y,te===0&&(Y=Be.state.current),typeof Z=="number"&&("pageSize"in Be.props||Be.setState({pageSize:Z}),"current"in Be.props||Be.setState({current:Y,currentInputValue:Y})),Be.props.onShowSizeChange(Y,Z),"onChange"in Be.props&&Be.props.onChange&&Be.props.onChange(Y,Z)},Be.handleChange=function(Z){var Y=Be.props.disabled,te=Z;if(Be.isValid(te)&&!Y){var we=I(void 0,Be.state,Be.props);te>we?te=we:te<1&&(te=1),"current"in Be.props||Be.setState({current:te,currentInputValue:te});var pe=Be.state.pageSize;return Be.props.onChange(te,pe),te}return Be.state.current},Be.prev=function(){Be.hasPrev()&&Be.handleChange(Be.state.current-1)},Be.next=function(){Be.hasNext()&&Be.handleChange(Be.state.current+1)},Be.jumpPrev=function(){Be.handleChange(Be.getJumpPrevPage())},Be.jumpNext=function(){Be.handleChange(Be.getJumpNextPage())},Be.hasPrev=function(){return Be.state.current>1},Be.hasNext=function(){return Be.state.current2?te-2:0),pe=2;pe=ue?ae=ue:ae=Number(ee),ae}},{key:"getShowSizeChanger",value:function(){var Be=this.props,ee=Be.showSizeChanger,ue=Be.total,Ge=Be.totalBoundaryShowSizeChanger;return typeof ee!="undefined"?ee:ue>Ge}},{key:"renderPrev",value:function(Be){var ee=this.props,ue=ee.prevIcon,Ge=ee.itemRender,ae=Ge(Be,"prev",this.getItemIcon(ue,"prev page")),Z=!this.hasPrev();return Object(t.isValidElement)(ae)?Object(t.cloneElement)(ae,{disabled:Z}):ae}},{key:"renderNext",value:function(Be){var ee=this.props,ue=ee.nextIcon,Ge=ee.itemRender,ae=Ge(Be,"next",this.getItemIcon(ue,"next page")),Z=!this.hasNext();return Object(t.isValidElement)(ae)?Object(t.cloneElement)(ae,{disabled:Z}):ae}},{key:"render",value:function(){var Be=this,ee=this.props,ue=ee.prefixCls,Ge=ee.className,ae=ee.style,Z=ee.disabled,Y=ee.hideOnSinglePage,te=ee.total,we=ee.locale,pe=ee.showQuickJumper,De=ee.showLessItems,Ne=ee.showTitle,me=ee.showTotal,be=ee.simple,Re=ee.itemRender,it=ee.showPrevNextJumpers,yt=ee.jumpPrevIcon,pt=ee.jumpNextIcon,Pe=ee.selectComponentClass,Nt=ee.selectPrefixCls,ut=ee.pageSizeOptions,Ft=this.state,Ut=Ft.current,Kt=Ft.pageSize,$t=Ft.currentInputValue;if(Y===!0&&te<=Kt)return null;var or=I(void 0,this.state,this.props),ht=[],Ee=null,de=null,qe=null,rt=null,ve=null,bt=pe&&pe.goButton,jt=De?1:2,He=Ut-1>0?Ut-1:0,kt=Ut+1=jt*2&&Ut!==1+2&&(ht[0]=Object(t.cloneElement)(ht[0],{className:"".concat(ue,"-item-after-jump-prev")}),ht.unshift(Ee)),or-Ut>=jt*2&&Ut!==or-2&&(ht[ht.length-1]=Object(t.cloneElement)(ht[ht.length-1],{className:"".concat(ue,"-item-before-jump-next")}),ht.push(de)),Ze!==1&&ht.unshift(qe),Gt!==or&&ht.push(rt)}var Sr=null;me&&(Sr=e.a.createElement("li",{className:"".concat(ue,"-total-text")},me(te,[te===0?0:(Ut-1)*Kt+1,Ut*Kt>te?te:Ut*Kt])));var Tn=!this.hasPrev()||!or,cn=!this.hasNext()||!or;return e.a.createElement("ul",Object(m.a)({className:r()(ue,Ge,Object(d.a)({},"".concat(ue,"-disabled"),Z)),style:ae,unselectable:"unselectable",ref:this.savePaginationNode},Ar),Sr,e.a.createElement("li",{title:Ne?we.prev_page:null,onClick:this.prev,tabIndex:Tn?null:0,onKeyPress:this.runIfEnterPrev,className:r()("".concat(ue,"-prev"),Object(d.a)({},"".concat(ue,"-disabled"),Tn)),"aria-disabled":Tn},this.renderPrev(He)),ht,e.a.createElement("li",{title:Ne?we.next_page:null,onClick:this.next,tabIndex:cn?null:0,onKeyPress:this.runIfEnterNext,className:r()("".concat(ue,"-next"),Object(d.a)({},"".concat(ue,"-disabled"),cn)),"aria-disabled":cn},this.renderNext(kt)),e.a.createElement(v,{disabled:Z,locale:we,rootPrefixCls:ue,selectComponentClass:Pe,selectPrefixCls:Nt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Ut,pageSize:Kt,pageSizeOptions:ut,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:bt}))}}],[{key:"getDerivedStateFromProps",value:function(Be,ee){var ue={};if("current"in Be&&(ue.current=Be.current,Be.current!==ee.current&&(ue.currentInputValue=ue.current)),"pageSize"in Be&&Be.pageSize!==ee.pageSize){var Ge=ee.current,ae=I(Be.pageSize,ee,Be);Ge=Ge>ae?ae:Ge,"current"in Be||(ue.current=Ge,ue.currentInputValue=Ge),ue.pageSize=Be.pageSize}return ue}}]),ke}(e.a.Component);C.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:w,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:w,locale:y.a,style:{},itemRender:_,totalBoundaryShowSizeChanger:50};var E=C,O=l("H4fg"),M=l("DFhj"),F=l.n(M),H=l("fEPi"),B=l.n(H),X=l("u9fO"),J=l.n(X),k=l("mO/d"),K=l.n(k),z=l("2fM7"),W=function(Se){return t.createElement(z.a,f()({size:"small"},Se))};W.Option=z.a.Option;var P=W,G=l("YMnH"),V=l("H84U"),q=l("5OYt"),re=function(xe,Se){var ke={};for(var ge in xe)Object.prototype.hasOwnProperty.call(xe,ge)&&Se.indexOf(ge)<0&&(ke[ge]=xe[ge]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,ge=Object.getOwnPropertySymbols(xe);Be1&&arguments[1]!==void 0?arguments[1]:60,t=null;return function(){for(var e=this,m=arguments.length,d=new Array(m),a=0;a=0;o-=1){var h=d.get(o)||new Set;h.forEach(function(p){var g=p.parent,v=p.node;if(n(v)||!p.parent||r.has(p.parent.key))return;if(n(p.parent.node)){r.add(g.key);return}var y=!0,w=!1;(g.children||[]).filter(function(S){return!n(S.node)}).forEach(function(S){var _=S.key,I=s.has(_);y&&!I&&(y=!1),!w&&(I||c.has(_))&&(w=!0)}),y&&s.add(g.key),w&&c.add(g.key),r.add(g.key)})}return{checkedKeys:Array.from(s),halfCheckedKeys:Array.from(b(c,s))}}function t(m,d,a,n,s){for(var c=new Set(m),i=new Set(d),u=0;u<=n;u+=1){var r=a.get(u)||new Set;r.forEach(function(g){var v=g.key,y=g.node,w=g.children,S=w===void 0?[]:w;!c.has(v)&&!i.has(v)&&!s(y)&&S.filter(function(_){return!s(_.node)}).forEach(function(_){c.delete(_.key)})})}i=new Set;for(var o=new Set,h=n;h>=0;h-=1){var p=a.get(h)||new Set;p.forEach(function(g){var v=g.parent,y=g.node;if(s(y)||!g.parent||o.has(g.parent.key))return;if(s(g.parent.node)){o.add(v.key);return}var w=!0,S=!1;(v.children||[]).filter(function(_){return!s(_.node)}).forEach(function(_){var I=_.key,C=c.has(I);w&&!C&&(w=!1),!S&&(C||i.has(I))&&(S=!0)}),w||c.delete(v.key),S&&i.add(v.key),o.add(v.key)})}return{checkedKeys:Array.from(c),halfCheckedKeys:Array.from(b(i,c))}}function e(m,d,a,n){var s=[],c;n?c=n:c=A;var i=new Set(m.filter(function(h){var p=!!a[h];return p||s.push(h),p})),u=new Map,r=0;Object.keys(a).forEach(function(h){var p=a[h],g=p.level,v=u.get(g);v||(v=new Set,u.set(g,v)),v.add(p),r=Math.max(r,g)}),Object(x.a)(!s.length,"Tree missing follow keys: ".concat(s.slice(0,100).map(function(h){return"'".concat(h,"'")}).join(", ")));var o;return d===!0?o=f(i,u,r,c):o=t(i,d.halfCheckedKeys,u,r,c),o}},"O/iA":function(j,R,l){},O3gP:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("O/iA"),f=l.n(A),t=l("OaEy")},OELB:function(j,R,l){var x=l("bYtY"),b=1e-4;function A(S){return S.replace(/^\s+|\s+$/g,"")}function f(S,_,I,C){var E=_[1]-_[0],O=I[1]-I[0];if(E===0)return O===0?I[0]:(I[0]+I[1])/2;if(C)if(E>0){if(S<=_[0])return I[0];if(S>=_[1])return I[1]}else{if(S>=_[0])return I[0];if(S<=_[1])return I[1]}else{if(S===_[0])return I[0];if(S===_[1])return I[1]}return(S-_[0])/E*O+I[0]}function t(S,_){switch(S){case"center":case"middle":S="50%";break;case"left":case"top":S="0%";break;case"right":case"bottom":S="100%";break}return typeof S=="string"?A(S).match(/%$/)?parseFloat(S)/100*_:parseFloat(S):S==null?NaN:+S}function e(S,_,I){return _==null&&(_=10),_=Math.min(Math.max(0,_),20),S=(+S).toFixed(_),I?S:+S}function m(S){return S.sort(function(_,I){return _-I}),S}function d(S){if(S=+S,isNaN(S))return 0;for(var _=1,I=0;Math.round(S*_)/_!==S;)_*=10,I++;return I}function a(S){var _=S.toString(),I=_.indexOf("e");if(I>0){var C=+_.slice(I+1);return C<0?-C:0}else{var E=_.indexOf(".");return E<0?0:_.length-1-E}}function n(S,_){var I=Math.log,C=Math.LN10,E=Math.floor(I(S[1]-S[0])/C),O=Math.round(I(Math.abs(_[1]-_[0]))/C),M=Math.min(Math.max(-E+O,0),20);return isFinite(M)?M:20}function s(S,_,I){if(!S[_])return 0;var C=x.reduce(S,function(z,W){return z+(isNaN(W)?0:W)},0);if(C===0)return 0;for(var E=Math.pow(10,I),O=x.map(S,function(z){return(isNaN(z)?0:z)/C*E*100}),M=E*100,F=x.map(O,function(z){return Math.floor(z)}),H=x.reduce(F,function(z,W){return z+W},0),B=x.map(O,function(z,W){return z-F[W]});HX&&(X=B[k],J=k);++F[J],B[J]=0,++H}return F[_]/E}var c=9007199254740991;function i(S){var _=Math.PI*2;return(S%_+_)%_}function u(S){return S>-b&&S=10&&_++,_}function g(S,_){var I=p(S),C=Math.pow(10,I),E=S/C,O;return _?E<1.5?O=1:E<2.5?O=2:E<4?O=3:E<7?O=5:O=10:E<1?O=1:E<2?O=2:E<3?O=3:E<5?O=5:O=10,S=O*C,I>=-20?+S.toFixed(I<0?-I:0):S}function v(S,_){var I=(S.length-1)*_+1,C=Math.floor(I),E=+S[C-1],O=I-C;return O?E+O*(S[C]-E):E}function y(S){S.sort(function(H,B){return F(H,B,0)?-1:1});for(var _=-Infinity,I=1,C=0;C=0}R.linearMap=f,R.parsePercent=t,R.round=e,R.asc=m,R.getPrecision=d,R.getPrecisionSafe=a,R.getPixelPrecision=n,R.getPercentWithPrecision=s,R.MAX_SAFE_INTEGER=c,R.remRadian=i,R.isRadianAroundZero=u,R.parseDate=o,R.quantity=h,R.quantityExponent=p,R.nice=g,R.quantile=v,R.reformIntervals=y,R.isNumeric=w},OKJ2:function(j,R,l){var x=l("KxfA"),b=x.retrieveRawValue,A=l("7aKB"),f=A.getTooltipMarker,t=A.formatTpl,e=l("4NO4"),m=e.getTooltipRenderMode,d=/\{@(.+?)\}/g,a={getDataParams:function(n,s){var c=this.getData(s),i=this.getRawValue(n,s),u=c.getRawIndex(n),r=c.getName(n),o=c.getRawDataItem(n),h=c.getItemVisual(n,"color"),p=c.getItemVisual(n,"borderColor"),g=this.ecModel.getComponent("tooltip"),v=g&&g.get("renderMode"),y=m(v),w=this.mainType,S=w==="series",_=c.userOutput;return{componentType:w,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:S?this.subType:null,seriesIndex:this.seriesIndex,seriesId:S?this.id:null,seriesName:S?this.name:null,name:r,dataIndex:u,data:o,dataType:s,value:i,color:h,borderColor:p,dimensionNames:_?_.dimensionNames:null,encode:_?_.encode:null,marker:f({color:h,renderMode:y}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(n,s,c,i,u){s=s||"normal";var r=this.getData(c),o=r.getItemModel(n),h=this.getDataParams(n,c);i!=null&&h.value instanceof Array&&(h.value=h.value[i]);var p=o.get(s==="normal"?[u||"label","formatter"]:[s,u||"label","formatter"]);if(typeof p=="function")return h.status=s,h.dimensionIndex=i,p(h);if(typeof p=="string"){var g=t(p,h);return g.replace(d,function(v,y){var w=y.length;return y.charAt(0)==="["&&y.charAt(w-1)==="]"&&(y=+y.slice(1,w-1)),b(r,n,y)})}},getRawValue:function(n,s){return b(this.getData(s),n)},formatTooltip:function(){}};j.exports=a},OPEp:function(j,R,l){},OQFs:function(j,R,l){var x=l("KCsZ"),b=x([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),A={getLineStyle:function(f){var t=b(this,f);return t.lineDash=this.getLineDash(t.lineWidth),t},getLineDash:function(f){f==null&&(f=1);var t=this.get("type"),e=Math.max(f,2),m=f*4;return t==="solid"||t==null?!1:t==="dashed"?[m,m]:[e,e]}};j.exports=A},OS9S:function(j,R,l){var x=l("bYtY"),b=x.inherits,A=l("Gev7"),f=l("mFDi");function t(d){A.call(this,d),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}t.prototype.incremental=!0,t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},t.prototype.addDisplayable=function(d,a){a?this._temporaryDisplayables.push(d):this._displayables.push(d),this.dirty()},t.prototype.addDisplayables=function(d,a){a=a||!1;for(var n=0;n=0&&I.splice(C,1),I}function s(S,_){var I=S.slice();return I.indexOf(_)===-1&&I.push(_),I}function c(S){return S.split("-")}function i(S,_){return"".concat(S,"-").concat(_)}function u(S){return S&&S.type&&S.type.isTreeNode}function r(S,_){var I=[S],C=_[S];function E(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];O.forEach(function(M){var F=M.key,H=M.children;I.push(F),E(H)})}return E(C.children),I}function o(S,_){var I=S.clientY,C=_.selectHandle.getBoundingClientRect(),E=C.top,O=C.bottom,M=C.height,F=Math.max(M*d,a);return I<=E+F?-1:I>=O-F?1:0}function h(S,_){if(!S)return;var I=_.multiple;return I?S.slice():S.length?[S[0]]:S}var p=function(_){return _};function g(S,_){if(!S)return[];var I=_||{},C=I.processProps,E=C===void 0?p:C,O=Array.isArray(S)?S:[S];return O.map(function(M){var F=M.children,H=Object(A.a)(M,["children"]),B=g(F,_);return t.a.createElement(m.a,Object.assign({},E(H)),B)})}function v(S){if(!S)return null;var _;if(Array.isArray(S))_={checkedKeys:S,halfCheckedKeys:void 0};else if(Object(b.a)(S)==="object")_={checkedKeys:S.checked||void 0,halfCheckedKeys:S.halfChecked||void 0};else return Object(e.a)(!1,"`checkedKeys` is not an array or an object"),null;return _}function y(S,_){var I=new Set;function C(E){if(I.has(E))return;var O=_[E];if(!O)return;I.add(E);var M=O.parent,F=O.node;if(F.disabled)return;M&&C(M.key)}return(S||[]).forEach(function(E){C(E)}),Object(x.a)(I)}function w(S){var _={};return Object.keys(S).forEach(function(I){(I.startsWith("data-")||I.startsWith("aria-"))&&(_[I]=S[I])}),_}},OaEy:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("bKJz"),f=l.n(A),t=l("R9oj")},Ol7k:function(j,R,l){"use strict";var x=l("PKem"),b=l("ZX9x");x.b.Sider=b.b,R.a=x.b},OlYY:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("ProS"),f=l("bYtY"),t=l("ItGF"),e=l("4NO4"),m=l("UOVi"),d=l("zDms"),a=f.each,n=m.eachAxisDim,s=A.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(r,o,h){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var p=c(r);this.settledOption=p,this.mergeDefaultAndTheme(r,h),this.doInit(p)},mergeOption:function(r){var o=c(r);f.merge(this.option,r,!0),f.merge(this.settledOption,o,!0),this.doInit(o)},doInit:function(r){var o=this.option;t.canvasSupported||(o.realtime=!1),this._setDefaultThrottle(r),i(this,r);var h=this.settledOption;a([["start","startValue"],["end","endValue"]],function(p,g){this._rangePropMode[g]==="value"&&(o[p[0]]=h[p[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var r=this._axisProxies;this.eachTargetAxis(function(o,h,p,g){var v=this.dependentModels[o.axis][h],y=v.__dzAxisProxy||(v.__dzAxisProxy=new d(o.name,h,this,g));r[o.name+"_"+h]=y},this)},_resetTarget:function(){var r=this.option,o=this._judgeAutoMode();n(function(h){var p=h.axisIndex;r[p]=e.normalizeToArray(r[p])},this),o==="axisIndex"?this._autoSetAxisIndex():o==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var r=this.option,o=!1;n(function(p){r[p.axisIndex]!=null&&(o=!0)},this);var h=r.orient;if(h==null&&o)return"orient";if(!o)return h==null&&(r.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var r=!0,o=this.get("orient",!0),h=this.option,p=this.dependentModels;if(r){var g=o==="vertical"?"y":"x";p[g+"Axis"].length?(h[g+"AxisIndex"]=[0],r=!1):a(p.singleAxis,function(v){r&&v.get("orient",!0)===o&&(h.singleAxisIndex=[v.componentIndex],r=!1)})}r&&n(function(v){if(!r)return;var y=[],w=this.dependentModels[v.axis];if(w.length&&!y.length)for(var S=0,_=w.length;S<_;S++)w[S].get("type")==="category"&&y.push(S);h[v.axisIndex]=y,y.length&&(r=!1)},this),r&&this.ecModel.eachSeries(function(v){this._isSeriesHasAllAxesTypeOf(v,"value")&&n(function(y){var w=h[y.axisIndex],S=v.get(y.axisIndex),_=v.get(y.axisId),I=v.ecModel.queryComponents({mainType:y.axis,index:S,id:_})[0];S=I.componentIndex,f.indexOf(w,S)<0&&w.push(S)})},this)},_autoSetOrient:function(){var r;this.eachTargetAxis(function(o){!r&&(r=o.name)},this),this.option.orient=r==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(r,o){var h=!0;return n(function(p){var g=r.get(p.axisIndex),v=this.dependentModels[p.axis][g];(!v||v.get("type")!==o)&&(h=!1)},this),h},_setDefaultThrottle:function(r){if(r.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var o=this.ecModel.option;this.option.throttle=o.animation&&o.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var r;return n(function(o){if(r==null){var h=this.get(o.axisIndex);h.length&&(r=this.dependentModels[o.axis][h[0]])}},this),r},eachTargetAxis:function(r,o){var h=this.ecModel;n(function(p){a(this.get(p.axisIndex),function(g){r.call(o,p,g,this,h)},this)},this)},getAxisProxy:function(r,o){return this._axisProxies[r+"_"+o]},getAxisModel:function(r,o){var h=this.getAxisProxy(r,o);return h&&h.getAxisModel()},setRawRange:function(r){var o=this.option,h=this.settledOption;a([["start","startValue"],["end","endValue"]],function(p){(r[p[0]]!=null||r[p[1]]!=null)&&(o[p[0]]=h[p[0]]=r[p[0]],o[p[1]]=h[p[1]]=r[p[1]])},this),i(this,r)},setCalculatedRange:function(r){var o=this.option;a(["start","startValue","end","endValue"],function(h){o[h]=r[h]})},getPercentRange:function(){var r=this.findRepresentativeAxisProxy();if(r)return r.getDataPercentWindow()},getValueRange:function(r,o){if(r==null&&o==null){var h=this.findRepresentativeAxisProxy();if(h)return h.getDataValueWindow()}else return this.getAxisProxy(r,o).getDataValueWindow()},findRepresentativeAxisProxy:function(r){if(r)return r.__dzAxisProxy;var o=this._axisProxies;for(var h in o)if(o.hasOwnProperty(h)&&o[h].hostedBy(this))return o[h];for(var h in o)if(o.hasOwnProperty(h)&&!o[h].hostedBy(this))return o[h]},getRangePropMode:function(){return this._rangePropMode.slice()}});function c(r){var o={};return a(["start","end","startValue","endValue","throttle"],function(h){r.hasOwnProperty(h)&&(o[h]=r[h])}),o}function i(r,o){var h=r._rangePropMode,p=r.get("rangeMode");a([["start","startValue"],["end","endValue"]],function(g,v){var y=o[g[0]]!=null,w=o[g[1]]!=null;y&&!w?h[v]="percent":!y&&w?h[v]="value":p?h[v]=p[v]:y&&(h[v]="percent")})}var u=s;j.exports=u},OnYD:function(j,R,l){},"Oy/b":function(j,R,l){(function(b,A){j.exports=A()})(typeof self!="undefined"?self:this,function(){return function(x){var b={};function A(f){if(b[f])return b[f].exports;var t=b[f]={i:f,l:!1,exports:{}};return x[f].call(t.exports,t,t.exports,A),t.l=!0,t.exports}return A.m=x,A.c=b,A.d=function(f,t,e){A.o(f,t)||Object.defineProperty(f,t,{enumerable:!0,get:e})},A.r=function(f){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},A.t=function(f,t){if(t&1&&(f=A(f)),t&8)return f;if(t&4&&typeof f=="object"&&f&&f.__esModule)return f;var e=Object.create(null);if(A.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:f}),t&2&&typeof f!="string")for(var m in f)A.d(e,m,function(d){return f[d]}.bind(null,m));return e},A.n=function(f){var t=f&&f.__esModule?function(){return f.default}:function(){return f};return A.d(t,"a",t),t},A.o=function(f,t){return Object.prototype.hasOwnProperty.call(f,t)},A.p="",A(A.s=1)}([function(x,b,A){},function(x,b,A){"use strict";A.r(b);var f=A(0),t=function(){function Lt(he,Ce,Ie){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=he,this.start=Ce,this.end=Ie}return Lt.range=function(Ce,Ie){return Ie?!Ce||!Ce.loc||!Ie.loc||Ce.loc.lexer!==Ie.loc.lexer?null:new Lt(Ce.loc.lexer,Ce.loc.start,Ie.loc.end):Ce&&Ce.loc},Lt}(),e=function(){function Lt(Ce,Ie){this.text=void 0,this.loc=void 0,this.text=Ce,this.loc=Ie}var he=Lt.prototype;return he.range=function(Ie,Ye){return new Lt(Ye,t.range(this,Ie))},Lt}(),m=function Lt(he,Ce){this.position=void 0;var Ie="KaTeX parse error: "+he,Ye,_t=Ce&&Ce.loc;if(_t&&_t.start<=_t.end){var Yt=_t.lexer.input;Ye=_t.start;var Pr=_t.end;Ye===Yt.length?Ie+=" at end of input: ":Ie+=" at position "+(Ye+1)+": ";var Yr=Yt.slice(Ye,Pr).replace(/[^]/g,"$&\u0332"),yn;Ye>15?yn="\u2026"+Yt.slice(Ye-15,Ye):yn=Yt.slice(0,Ye);var Jn;Pr+15":">","<":"<",'"':""","'":"'"},u=/[&><"']/g;function r(Lt){return String(Lt).replace(u,function(he){return i[he]})}var o=function Lt(he){return he.type==="ordgroup"||he.type==="color"?he.body.length===1?Lt(he.body[0]):he:he.type==="font"?Lt(he.body):he},h=function(he){var Ce=o(he);return Ce.type==="mathord"||Ce.type==="textord"||Ce.type==="atom"},p=function(he){if(!he)throw new Error("Expected non-null, but got "+String(he));return he},g=function(he){var Ce=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(he);return Ce!=null?Ce[1]:"_relative"},v={contains:a,deflt:n,escape:r,hyphenate:c,getBaseElem:o,isCharacterBox:h,protocolFromUrl:g},y=function(){function Lt(Ce){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,Ce=Ce||{},this.displayMode=v.deflt(Ce.displayMode,!1),this.output=v.deflt(Ce.output,"htmlAndMathml"),this.leqno=v.deflt(Ce.leqno,!1),this.fleqn=v.deflt(Ce.fleqn,!1),this.throwOnError=v.deflt(Ce.throwOnError,!0),this.errorColor=v.deflt(Ce.errorColor,"#cc0000"),this.macros=Ce.macros||{},this.minRuleThickness=Math.max(0,v.deflt(Ce.minRuleThickness,0)),this.colorIsTextColor=v.deflt(Ce.colorIsTextColor,!1),this.strict=v.deflt(Ce.strict,"warn"),this.trust=v.deflt(Ce.trust,!1),this.maxSize=Math.max(0,v.deflt(Ce.maxSize,Infinity)),this.maxExpand=Math.max(0,v.deflt(Ce.maxExpand,1e3))}var he=Lt.prototype;return he.reportNonstrict=function(Ie,Ye,_t){var Yt=this.strict;if(typeof Yt=="function"&&(Yt=Yt(Ie,Ye,_t)),!Yt||Yt==="ignore")return;if(Yt===!0||Yt==="error")throw new d("LaTeX-incompatible input and strict mode is set to 'error': "+(Ye+" ["+Ie+"]"),_t);Yt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Ye+" ["+Ie+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Yt+"': "+Ye+" ["+Ie+"]"))},he.useStrictBehavior=function(Ie,Ye,_t){var Yt=this.strict;if(typeof Yt=="function")try{Yt=Yt(Ie,Ye,_t)}catch(Pr){Yt="error"}return!Yt||Yt==="ignore"?!1:Yt===!0||Yt==="error"?!0:Yt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Ye+" ["+Ie+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Yt+"': "+Ye+" ["+Ie+"]")),!1)},he.isTrusted=function(Ie){Ie.url&&!Ie.protocol&&(Ie.protocol=v.protocolFromUrl(Ie.url));var Ye=typeof this.trust=="function"?this.trust(Ie):this.trust;return Boolean(Ye)},Lt}(),w=function(){function Lt(Ce,Ie,Ye){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=Ce,this.size=Ie,this.cramped=Ye}var he=Lt.prototype;return he.sup=function(){return H[B[this.id]]},he.sub=function(){return H[X[this.id]]},he.fracNum=function(){return H[J[this.id]]},he.fracDen=function(){return H[k[this.id]]},he.cramp=function(){return H[K[this.id]]},he.text=function(){return H[z[this.id]]},he.isTight=function(){return this.size>=2},Lt}(),S=0,_=1,I=2,C=3,E=4,O=5,M=6,F=7,H=[new w(S,0,!1),new w(_,0,!0),new w(I,1,!1),new w(C,1,!0),new w(E,2,!1),new w(O,2,!0),new w(M,3,!1),new w(F,3,!0)],B=[E,O,E,O,M,F,M,F],X=[O,O,O,O,F,F,F,F],J=[I,C,E,O,M,F,M,F],k=[C,C,O,O,F,F,F,F],K=[_,_,C,C,O,O,F,F],z=[S,_,I,C,I,C,I,C],W={DISPLAY:H[S],TEXT:H[I],SCRIPT:H[E],SCRIPTSCRIPT:H[M]},P=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function G(Lt){for(var he=0;he=Ye[0]&&Lt<=Ye[1])return Ce.name}return null}var V=[];P.forEach(function(Lt){return Lt.blocks.forEach(function(he){return V.push.apply(V,he)})});function q(Lt){for(var he=0;he=V[he]&&Lt<=V[he+1])return!0;return!1}var re=80,ce=function(he,Ce){return"M95,"+(622+he+Ce)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 @@ -436,11 +436,11 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z` c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z -M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},ee=function(){function Lt(Ce){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=Ce,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var he=Lt.prototype;return he.hasClass=function(Ie){return v.contains(this.classes,Ie)},he.toNode=function(){for(var Ie=document.createDocumentFragment(),Ye=0;Ye",Ce},Y=function(){function Lt(Ce,Ie,Ye,_t){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Ge.call(this,Ce,Ye,_t),this.children=Ie||[]}var he=Lt.prototype;return he.setAttribute=function(Ie,Ye){this.attributes[Ie]=Ye},he.hasClass=function(Ie){return v.contains(this.classes,Ie)},he.toNode=function(){return ae.call(this,"span")},he.toMarkup=function(){return Z.call(this,"span")},Lt}(),te=function(){function Lt(Ce,Ie,Ye,_t){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Ge.call(this,Ie,_t),this.children=Ye||[],this.setAttribute("href",Ce)}var he=Lt.prototype;return he.setAttribute=function(Ie,Ye){this.attributes[Ie]=Ye},he.hasClass=function(Ie){return v.contains(this.classes,Ie)},he.toNode=function(){return ae.call(this,"a")},he.toMarkup=function(){return Z.call(this,"a")},Lt}(),we=function(){function Lt(Ce,Ie,Ye){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=Ie,this.src=Ce,this.classes=["mord"],this.style=Ye}var he=Lt.prototype;return he.hasClass=function(Ie){return v.contains(this.classes,Ie)},he.toNode=function(){var Ie=document.createElement("img");Ie.src=this.src,Ie.alt=this.alt,Ie.className="mord";for(var Ye in this.style)this.style.hasOwnProperty(Ye)&&(Ie.style[Ye]=this.style[Ye]);return Ie},he.toMarkup=function(){var Ie=""+this.alt+"0&&(Ye=document.createElement("span"),Ye.style.marginRight=this.italic+"em"),this.classes.length>0&&(Ye=Ye||document.createElement("span"),Ye.className=ue(this.classes));for(var _t in this.style)this.style.hasOwnProperty(_t)&&(Ye=Ye||document.createElement("span"),Ye.style[_t]=this.style[_t]);return Ye?(Ye.appendChild(Ie),Ye):Ie},he.toMarkup=function(){var Ie=!1,Ye="0&&(_t+="margin-right:"+this.italic+"em;");for(var Yt in this.style)this.style.hasOwnProperty(Yt)&&(_t+=v.hyphenate(Yt)+":"+this.style[Yt]+";");_t&&(Ie=!0,Ye+=' style="'+v.escape(_t)+'"');var Pr=v.escape(this.text);return Ie?(Ye+=">",Ye+=Pr,Ye+="",Ye):Pr},Lt}(),Ne=function(){function Lt(Ce,Ie){this.children=void 0,this.attributes=void 0,this.children=Ce||[],this.attributes=Ie||{}}var he=Lt.prototype;return he.toNode=function(){var Ie="http://www.w3.org/2000/svg",Ye=document.createElementNS(Ie,"svg");for(var _t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,_t)&&Ye.setAttribute(_t,this.attributes[_t]);for(var Yt=0;Yt":""},Lt}(),be=function(){function Lt(Ce){this.attributes=void 0,this.attributes=Ce||{}}var he=Lt.prototype;return he.toNode=function(){var Ie="http://www.w3.org/2000/svg",Ye=document.createElementNS(Ie,"line");for(var _t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,_t)&&Ye.setAttribute(_t,this.attributes[_t]);return Ye},he.toMarkup=function(){var Ie=" but got "+String(Lt)+".")}var yt={"AMS-Regular":{"65":[0,.68889,0,0,.72222],"66":[0,.68889,0,0,.66667],"67":[0,.68889,0,0,.72222],"68":[0,.68889,0,0,.72222],"69":[0,.68889,0,0,.66667],"70":[0,.68889,0,0,.61111],"71":[0,.68889,0,0,.77778],"72":[0,.68889,0,0,.77778],"73":[0,.68889,0,0,.38889],"74":[.16667,.68889,0,0,.5],"75":[0,.68889,0,0,.77778],"76":[0,.68889,0,0,.66667],"77":[0,.68889,0,0,.94445],"78":[0,.68889,0,0,.72222],"79":[.16667,.68889,0,0,.77778],"80":[0,.68889,0,0,.61111],"81":[.16667,.68889,0,0,.77778],"82":[0,.68889,0,0,.72222],"83":[0,.68889,0,0,.55556],"84":[0,.68889,0,0,.66667],"85":[0,.68889,0,0,.72222],"86":[0,.68889,0,0,.72222],"87":[0,.68889,0,0,1],"88":[0,.68889,0,0,.72222],"89":[0,.68889,0,0,.72222],"90":[0,.68889,0,0,.66667],"107":[0,.68889,0,0,.55556],"165":[0,.675,.025,0,.75],"174":[.15559,.69224,0,0,.94666],"240":[0,.68889,0,0,.55556],"295":[0,.68889,0,0,.54028],"710":[0,.825,0,0,2.33334],"732":[0,.9,0,0,2.33334],"770":[0,.825,0,0,2.33334],"771":[0,.9,0,0,2.33334],"989":[.08167,.58167,0,0,.77778],"1008":[0,.43056,.04028,0,.66667],"8245":[0,.54986,0,0,.275],"8463":[0,.68889,0,0,.54028],"8487":[0,.68889,0,0,.72222],"8498":[0,.68889,0,0,.55556],"8502":[0,.68889,0,0,.66667],"8503":[0,.68889,0,0,.44445],"8504":[0,.68889,0,0,.66667],"8513":[0,.68889,0,0,.63889],"8592":[-.03598,.46402,0,0,.5],"8594":[-.03598,.46402,0,0,.5],"8602":[-.13313,.36687,0,0,1],"8603":[-.13313,.36687,0,0,1],"8606":[.01354,.52239,0,0,1],"8608":[.01354,.52239,0,0,1],"8610":[.01354,.52239,0,0,1.11111],"8611":[.01354,.52239,0,0,1.11111],"8619":[0,.54986,0,0,1],"8620":[0,.54986,0,0,1],"8621":[-.13313,.37788,0,0,1.38889],"8622":[-.13313,.36687,0,0,1],"8624":[0,.69224,0,0,.5],"8625":[0,.69224,0,0,.5],"8630":[0,.43056,0,0,1],"8631":[0,.43056,0,0,1],"8634":[.08198,.58198,0,0,.77778],"8635":[.08198,.58198,0,0,.77778],"8638":[.19444,.69224,0,0,.41667],"8639":[.19444,.69224,0,0,.41667],"8642":[.19444,.69224,0,0,.41667],"8643":[.19444,.69224,0,0,.41667],"8644":[.1808,.675,0,0,1],"8646":[.1808,.675,0,0,1],"8647":[.1808,.675,0,0,1],"8648":[.19444,.69224,0,0,.83334],"8649":[.1808,.675,0,0,1],"8650":[.19444,.69224,0,0,.83334],"8651":[.01354,.52239,0,0,1],"8652":[.01354,.52239,0,0,1],"8653":[-.13313,.36687,0,0,1],"8654":[-.13313,.36687,0,0,1],"8655":[-.13313,.36687,0,0,1],"8666":[.13667,.63667,0,0,1],"8667":[.13667,.63667,0,0,1],"8669":[-.13313,.37788,0,0,1],"8672":[-.064,.437,0,0,1.334],"8674":[-.064,.437,0,0,1.334],"8705":[0,.825,0,0,.5],"8708":[0,.68889,0,0,.55556],"8709":[.08167,.58167,0,0,.77778],"8717":[0,.43056,0,0,.42917],"8722":[-.03598,.46402,0,0,.5],"8724":[.08198,.69224,0,0,.77778],"8726":[.08167,.58167,0,0,.77778],"8733":[0,.69224,0,0,.77778],"8736":[0,.69224,0,0,.72222],"8737":[0,.69224,0,0,.72222],"8738":[.03517,.52239,0,0,.72222],"8739":[.08167,.58167,0,0,.22222],"8740":[.25142,.74111,0,0,.27778],"8741":[.08167,.58167,0,0,.38889],"8742":[.25142,.74111,0,0,.5],"8756":[0,.69224,0,0,.66667],"8757":[0,.69224,0,0,.66667],"8764":[-.13313,.36687,0,0,.77778],"8765":[-.13313,.37788,0,0,.77778],"8769":[-.13313,.36687,0,0,.77778],"8770":[-.03625,.46375,0,0,.77778],"8774":[.30274,.79383,0,0,.77778],"8776":[-.01688,.48312,0,0,.77778],"8778":[.08167,.58167,0,0,.77778],"8782":[.06062,.54986,0,0,.77778],"8783":[.06062,.54986,0,0,.77778],"8785":[.08198,.58198,0,0,.77778],"8786":[.08198,.58198,0,0,.77778],"8787":[.08198,.58198,0,0,.77778],"8790":[0,.69224,0,0,.77778],"8791":[.22958,.72958,0,0,.77778],"8796":[.08198,.91667,0,0,.77778],"8806":[.25583,.75583,0,0,.77778],"8807":[.25583,.75583,0,0,.77778],"8808":[.25142,.75726,0,0,.77778],"8809":[.25142,.75726,0,0,.77778],"8812":[.25583,.75583,0,0,.5],"8814":[.20576,.70576,0,0,.77778],"8815":[.20576,.70576,0,0,.77778],"8816":[.30274,.79383,0,0,.77778],"8817":[.30274,.79383,0,0,.77778],"8818":[.22958,.72958,0,0,.77778],"8819":[.22958,.72958,0,0,.77778],"8822":[.1808,.675,0,0,.77778],"8823":[.1808,.675,0,0,.77778],"8828":[.13667,.63667,0,0,.77778],"8829":[.13667,.63667,0,0,.77778],"8830":[.22958,.72958,0,0,.77778],"8831":[.22958,.72958,0,0,.77778],"8832":[.20576,.70576,0,0,.77778],"8833":[.20576,.70576,0,0,.77778],"8840":[.30274,.79383,0,0,.77778],"8841":[.30274,.79383,0,0,.77778],"8842":[.13597,.63597,0,0,.77778],"8843":[.13597,.63597,0,0,.77778],"8847":[.03517,.54986,0,0,.77778],"8848":[.03517,.54986,0,0,.77778],"8858":[.08198,.58198,0,0,.77778],"8859":[.08198,.58198,0,0,.77778],"8861":[.08198,.58198,0,0,.77778],"8862":[0,.675,0,0,.77778],"8863":[0,.675,0,0,.77778],"8864":[0,.675,0,0,.77778],"8865":[0,.675,0,0,.77778],"8872":[0,.69224,0,0,.61111],"8873":[0,.69224,0,0,.72222],"8874":[0,.69224,0,0,.88889],"8876":[0,.68889,0,0,.61111],"8877":[0,.68889,0,0,.61111],"8878":[0,.68889,0,0,.72222],"8879":[0,.68889,0,0,.72222],"8882":[.03517,.54986,0,0,.77778],"8883":[.03517,.54986,0,0,.77778],"8884":[.13667,.63667,0,0,.77778],"8885":[.13667,.63667,0,0,.77778],"8888":[0,.54986,0,0,1.11111],"8890":[.19444,.43056,0,0,.55556],"8891":[.19444,.69224,0,0,.61111],"8892":[.19444,.69224,0,0,.61111],"8901":[0,.54986,0,0,.27778],"8903":[.08167,.58167,0,0,.77778],"8905":[.08167,.58167,0,0,.77778],"8906":[.08167,.58167,0,0,.77778],"8907":[0,.69224,0,0,.77778],"8908":[0,.69224,0,0,.77778],"8909":[-.03598,.46402,0,0,.77778],"8910":[0,.54986,0,0,.76042],"8911":[0,.54986,0,0,.76042],"8912":[.03517,.54986,0,0,.77778],"8913":[.03517,.54986,0,0,.77778],"8914":[0,.54986,0,0,.66667],"8915":[0,.54986,0,0,.66667],"8916":[0,.69224,0,0,.66667],"8918":[.0391,.5391,0,0,.77778],"8919":[.0391,.5391,0,0,.77778],"8920":[.03517,.54986,0,0,1.33334],"8921":[.03517,.54986,0,0,1.33334],"8922":[.38569,.88569,0,0,.77778],"8923":[.38569,.88569,0,0,.77778],"8926":[.13667,.63667,0,0,.77778],"8927":[.13667,.63667,0,0,.77778],"8928":[.30274,.79383,0,0,.77778],"8929":[.30274,.79383,0,0,.77778],"8934":[.23222,.74111,0,0,.77778],"8935":[.23222,.74111,0,0,.77778],"8936":[.23222,.74111,0,0,.77778],"8937":[.23222,.74111,0,0,.77778],"8938":[.20576,.70576,0,0,.77778],"8939":[.20576,.70576,0,0,.77778],"8940":[.30274,.79383,0,0,.77778],"8941":[.30274,.79383,0,0,.77778],"8994":[.19444,.69224,0,0,.77778],"8995":[.19444,.69224,0,0,.77778],"9416":[.15559,.69224,0,0,.90222],"9484":[0,.69224,0,0,.5],"9488":[0,.69224,0,0,.5],"9492":[0,.37788,0,0,.5],"9496":[0,.37788,0,0,.5],"9585":[.19444,.68889,0,0,.88889],"9586":[.19444,.74111,0,0,.88889],"9632":[0,.675,0,0,.77778],"9633":[0,.675,0,0,.77778],"9650":[0,.54986,0,0,.72222],"9651":[0,.54986,0,0,.72222],"9654":[.03517,.54986,0,0,.77778],"9660":[0,.54986,0,0,.72222],"9661":[0,.54986,0,0,.72222],"9664":[.03517,.54986,0,0,.77778],"9674":[.11111,.69224,0,0,.66667],"9733":[.19444,.69224,0,0,.94445],"10003":[0,.69224,0,0,.83334],"10016":[0,.69224,0,0,.83334],"10731":[.11111,.69224,0,0,.66667],"10846":[.19444,.75583,0,0,.61111],"10877":[.13667,.63667,0,0,.77778],"10878":[.13667,.63667,0,0,.77778],"10885":[.25583,.75583,0,0,.77778],"10886":[.25583,.75583,0,0,.77778],"10887":[.13597,.63597,0,0,.77778],"10888":[.13597,.63597,0,0,.77778],"10889":[.26167,.75726,0,0,.77778],"10890":[.26167,.75726,0,0,.77778],"10891":[.48256,.98256,0,0,.77778],"10892":[.48256,.98256,0,0,.77778],"10901":[.13667,.63667,0,0,.77778],"10902":[.13667,.63667,0,0,.77778],"10933":[.25142,.75726,0,0,.77778],"10934":[.25142,.75726,0,0,.77778],"10935":[.26167,.75726,0,0,.77778],"10936":[.26167,.75726,0,0,.77778],"10937":[.26167,.75726,0,0,.77778],"10938":[.26167,.75726,0,0,.77778],"10949":[.25583,.75583,0,0,.77778],"10950":[.25583,.75583,0,0,.77778],"10955":[.28481,.79383,0,0,.77778],"10956":[.28481,.79383,0,0,.77778],"57350":[.08167,.58167,0,0,.22222],"57351":[.08167,.58167,0,0,.38889],"57352":[.08167,.58167,0,0,.77778],"57353":[0,.43056,.04028,0,.66667],"57356":[.25142,.75726,0,0,.77778],"57357":[.25142,.75726,0,0,.77778],"57358":[.41951,.91951,0,0,.77778],"57359":[.30274,.79383,0,0,.77778],"57360":[.30274,.79383,0,0,.77778],"57361":[.41951,.91951,0,0,.77778],"57366":[.25142,.75726,0,0,.77778],"57367":[.25142,.75726,0,0,.77778],"57368":[.25142,.75726,0,0,.77778],"57369":[.25142,.75726,0,0,.77778],"57370":[.13597,.63597,0,0,.77778],"57371":[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{"48":[0,.43056,0,0,.5],"49":[0,.43056,0,0,.5],"50":[0,.43056,0,0,.5],"51":[.19444,.43056,0,0,.5],"52":[.19444,.43056,0,0,.5],"53":[.19444,.43056,0,0,.5],"54":[0,.64444,0,0,.5],"55":[.19444,.43056,0,0,.5],"56":[0,.64444,0,0,.5],"57":[.19444,.43056,0,0,.5],"65":[0,.68333,0,.19445,.79847],"66":[0,.68333,.03041,.13889,.65681],"67":[0,.68333,.05834,.13889,.52653],"68":[0,.68333,.02778,.08334,.77139],"69":[0,.68333,.08944,.11111,.52778],"70":[0,.68333,.09931,.11111,.71875],"71":[.09722,.68333,.0593,.11111,.59487],"72":[0,.68333,.00965,.11111,.84452],"73":[0,.68333,.07382,0,.54452],"74":[.09722,.68333,.18472,.16667,.67778],"75":[0,.68333,.01445,.05556,.76195],"76":[0,.68333,0,.13889,.68972],"77":[0,.68333,0,.13889,1.2009],"78":[0,.68333,.14736,.08334,.82049],"79":[0,.68333,.02778,.11111,.79611],"80":[0,.68333,.08222,.08334,.69556],"81":[.09722,.68333,0,.11111,.81667],"82":[0,.68333,0,.08334,.8475],"83":[0,.68333,.075,.13889,.60556],"84":[0,.68333,.25417,0,.54464],"85":[0,.68333,.09931,.08334,.62583],"86":[0,.68333,.08222,0,.61278],"87":[0,.68333,.08222,.08334,.98778],"88":[0,.68333,.14643,.13889,.7133],"89":[.09722,.68333,.08222,.08334,.66834],"90":[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{"33":[0,.69141,0,0,.29574],"34":[0,.69141,0,0,.21471],"38":[0,.69141,0,0,.73786],"39":[0,.69141,0,0,.21201],"40":[.24982,.74947,0,0,.38865],"41":[.24982,.74947,0,0,.38865],"42":[0,.62119,0,0,.27764],"43":[.08319,.58283,0,0,.75623],"44":[0,.10803,0,0,.27764],"45":[.08319,.58283,0,0,.75623],"46":[0,.10803,0,0,.27764],"47":[.24982,.74947,0,0,.50181],"48":[0,.47534,0,0,.50181],"49":[0,.47534,0,0,.50181],"50":[0,.47534,0,0,.50181],"51":[.18906,.47534,0,0,.50181],"52":[.18906,.47534,0,0,.50181],"53":[.18906,.47534,0,0,.50181],"54":[0,.69141,0,0,.50181],"55":[.18906,.47534,0,0,.50181],"56":[0,.69141,0,0,.50181],"57":[.18906,.47534,0,0,.50181],"58":[0,.47534,0,0,.21606],"59":[.12604,.47534,0,0,.21606],"61":[-.13099,.36866,0,0,.75623],"63":[0,.69141,0,0,.36245],"65":[0,.69141,0,0,.7176],"66":[0,.69141,0,0,.88397],"67":[0,.69141,0,0,.61254],"68":[0,.69141,0,0,.83158],"69":[0,.69141,0,0,.66278],"70":[.12604,.69141,0,0,.61119],"71":[0,.69141,0,0,.78539],"72":[.06302,.69141,0,0,.7203],"73":[0,.69141,0,0,.55448],"74":[.12604,.69141,0,0,.55231],"75":[0,.69141,0,0,.66845],"76":[0,.69141,0,0,.66602],"77":[0,.69141,0,0,1.04953],"78":[0,.69141,0,0,.83212],"79":[0,.69141,0,0,.82699],"80":[.18906,.69141,0,0,.82753],"81":[.03781,.69141,0,0,.82699],"82":[0,.69141,0,0,.82807],"83":[0,.69141,0,0,.82861],"84":[0,.69141,0,0,.66899],"85":[0,.69141,0,0,.64576],"86":[0,.69141,0,0,.83131],"87":[0,.69141,0,0,1.04602],"88":[0,.69141,0,0,.71922],"89":[.18906,.69141,0,0,.83293],"90":[.12604,.69141,0,0,.60201],"91":[.24982,.74947,0,0,.27764],"93":[.24982,.74947,0,0,.27764],"94":[0,.69141,0,0,.49965],"97":[0,.47534,0,0,.50046],"98":[0,.69141,0,0,.51315],"99":[0,.47534,0,0,.38946],"100":[0,.62119,0,0,.49857],"101":[0,.47534,0,0,.40053],"102":[.18906,.69141,0,0,.32626],"103":[.18906,.47534,0,0,.5037],"104":[.18906,.69141,0,0,.52126],"105":[0,.69141,0,0,.27899],"106":[0,.69141,0,0,.28088],"107":[0,.69141,0,0,.38946],"108":[0,.69141,0,0,.27953],"109":[0,.47534,0,0,.76676],"110":[0,.47534,0,0,.52666],"111":[0,.47534,0,0,.48885],"112":[.18906,.52396,0,0,.50046],"113":[.18906,.47534,0,0,.48912],"114":[0,.47534,0,0,.38919],"115":[0,.47534,0,0,.44266],"116":[0,.62119,0,0,.33301],"117":[0,.47534,0,0,.5172],"118":[0,.52396,0,0,.5118],"119":[0,.52396,0,0,.77351],"120":[.18906,.47534,0,0,.38865],"121":[.18906,.47534,0,0,.49884],"122":[.18906,.47534,0,0,.39054],"8216":[0,.69141,0,0,.21471],"8217":[0,.69141,0,0,.21471],"58112":[0,.62119,0,0,.49749],"58113":[0,.62119,0,0,.4983],"58114":[.18906,.69141,0,0,.33328],"58115":[.18906,.69141,0,0,.32923],"58116":[.18906,.47534,0,0,.50343],"58117":[0,.69141,0,0,.33301],"58118":[0,.62119,0,0,.33409],"58119":[0,.47534,0,0,.50073]},"Main-Bold":{"33":[0,.69444,0,0,.35],"34":[0,.69444,0,0,.60278],"35":[.19444,.69444,0,0,.95833],"36":[.05556,.75,0,0,.575],"37":[.05556,.75,0,0,.95833],"38":[0,.69444,0,0,.89444],"39":[0,.69444,0,0,.31944],"40":[.25,.75,0,0,.44722],"41":[.25,.75,0,0,.44722],"42":[0,.75,0,0,.575],"43":[.13333,.63333,0,0,.89444],"44":[.19444,.15556,0,0,.31944],"45":[0,.44444,0,0,.38333],"46":[0,.15556,0,0,.31944],"47":[.25,.75,0,0,.575],"48":[0,.64444,0,0,.575],"49":[0,.64444,0,0,.575],"50":[0,.64444,0,0,.575],"51":[0,.64444,0,0,.575],"52":[0,.64444,0,0,.575],"53":[0,.64444,0,0,.575],"54":[0,.64444,0,0,.575],"55":[0,.64444,0,0,.575],"56":[0,.64444,0,0,.575],"57":[0,.64444,0,0,.575],"58":[0,.44444,0,0,.31944],"59":[.19444,.44444,0,0,.31944],"60":[.08556,.58556,0,0,.89444],"61":[-.10889,.39111,0,0,.89444],"62":[.08556,.58556,0,0,.89444],"63":[0,.69444,0,0,.54305],"64":[0,.69444,0,0,.89444],"65":[0,.68611,0,0,.86944],"66":[0,.68611,0,0,.81805],"67":[0,.68611,0,0,.83055],"68":[0,.68611,0,0,.88194],"69":[0,.68611,0,0,.75555],"70":[0,.68611,0,0,.72361],"71":[0,.68611,0,0,.90416],"72":[0,.68611,0,0,.9],"73":[0,.68611,0,0,.43611],"74":[0,.68611,0,0,.59444],"75":[0,.68611,0,0,.90138],"76":[0,.68611,0,0,.69166],"77":[0,.68611,0,0,1.09166],"78":[0,.68611,0,0,.9],"79":[0,.68611,0,0,.86388],"80":[0,.68611,0,0,.78611],"81":[.19444,.68611,0,0,.86388],"82":[0,.68611,0,0,.8625],"83":[0,.68611,0,0,.63889],"84":[0,.68611,0,0,.8],"85":[0,.68611,0,0,.88472],"86":[0,.68611,.01597,0,.86944],"87":[0,.68611,.01597,0,1.18888],"88":[0,.68611,0,0,.86944],"89":[0,.68611,.02875,0,.86944],"90":[0,.68611,0,0,.70277],"91":[.25,.75,0,0,.31944],"92":[.25,.75,0,0,.575],"93":[.25,.75,0,0,.31944],"94":[0,.69444,0,0,.575],"95":[.31,.13444,.03194,0,.575],"97":[0,.44444,0,0,.55902],"98":[0,.69444,0,0,.63889],"99":[0,.44444,0,0,.51111],"100":[0,.69444,0,0,.63889],"101":[0,.44444,0,0,.52708],"102":[0,.69444,.10903,0,.35139],"103":[.19444,.44444,.01597,0,.575],"104":[0,.69444,0,0,.63889],"105":[0,.69444,0,0,.31944],"106":[.19444,.69444,0,0,.35139],"107":[0,.69444,0,0,.60694],"108":[0,.69444,0,0,.31944],"109":[0,.44444,0,0,.95833],"110":[0,.44444,0,0,.63889],"111":[0,.44444,0,0,.575],"112":[.19444,.44444,0,0,.63889],"113":[.19444,.44444,0,0,.60694],"114":[0,.44444,0,0,.47361],"115":[0,.44444,0,0,.45361],"116":[0,.63492,0,0,.44722],"117":[0,.44444,0,0,.63889],"118":[0,.44444,.01597,0,.60694],"119":[0,.44444,.01597,0,.83055],"120":[0,.44444,0,0,.60694],"121":[.19444,.44444,.01597,0,.60694],"122":[0,.44444,0,0,.51111],"123":[.25,.75,0,0,.575],"124":[.25,.75,0,0,.31944],"125":[.25,.75,0,0,.575],"126":[.35,.34444,0,0,.575],"168":[0,.69444,0,0,.575],"172":[0,.44444,0,0,.76666],"176":[0,.69444,0,0,.86944],"177":[.13333,.63333,0,0,.89444],"184":[.17014,0,0,0,.51111],"198":[0,.68611,0,0,1.04166],"215":[.13333,.63333,0,0,.89444],"216":[.04861,.73472,0,0,.89444],"223":[0,.69444,0,0,.59722],"230":[0,.44444,0,0,.83055],"247":[.13333,.63333,0,0,.89444],"248":[.09722,.54167,0,0,.575],"305":[0,.44444,0,0,.31944],"338":[0,.68611,0,0,1.16944],"339":[0,.44444,0,0,.89444],"567":[.19444,.44444,0,0,.35139],"710":[0,.69444,0,0,.575],"711":[0,.63194,0,0,.575],"713":[0,.59611,0,0,.575],"714":[0,.69444,0,0,.575],"715":[0,.69444,0,0,.575],"728":[0,.69444,0,0,.575],"729":[0,.69444,0,0,.31944],"730":[0,.69444,0,0,.86944],"732":[0,.69444,0,0,.575],"733":[0,.69444,0,0,.575],"915":[0,.68611,0,0,.69166],"916":[0,.68611,0,0,.95833],"920":[0,.68611,0,0,.89444],"923":[0,.68611,0,0,.80555],"926":[0,.68611,0,0,.76666],"928":[0,.68611,0,0,.9],"931":[0,.68611,0,0,.83055],"933":[0,.68611,0,0,.89444],"934":[0,.68611,0,0,.83055],"936":[0,.68611,0,0,.89444],"937":[0,.68611,0,0,.83055],"8211":[0,.44444,.03194,0,.575],"8212":[0,.44444,.03194,0,1.14999],"8216":[0,.69444,0,0,.31944],"8217":[0,.69444,0,0,.31944],"8220":[0,.69444,0,0,.60278],"8221":[0,.69444,0,0,.60278],"8224":[.19444,.69444,0,0,.51111],"8225":[.19444,.69444,0,0,.51111],"8242":[0,.55556,0,0,.34444],"8407":[0,.72444,.15486,0,.575],"8463":[0,.69444,0,0,.66759],"8465":[0,.69444,0,0,.83055],"8467":[0,.69444,0,0,.47361],"8472":[.19444,.44444,0,0,.74027],"8476":[0,.69444,0,0,.83055],"8501":[0,.69444,0,0,.70277],"8592":[-.10889,.39111,0,0,1.14999],"8593":[.19444,.69444,0,0,.575],"8594":[-.10889,.39111,0,0,1.14999],"8595":[.19444,.69444,0,0,.575],"8596":[-.10889,.39111,0,0,1.14999],"8597":[.25,.75,0,0,.575],"8598":[.19444,.69444,0,0,1.14999],"8599":[.19444,.69444,0,0,1.14999],"8600":[.19444,.69444,0,0,1.14999],"8601":[.19444,.69444,0,0,1.14999],"8636":[-.10889,.39111,0,0,1.14999],"8637":[-.10889,.39111,0,0,1.14999],"8640":[-.10889,.39111,0,0,1.14999],"8641":[-.10889,.39111,0,0,1.14999],"8656":[-.10889,.39111,0,0,1.14999],"8657":[.19444,.69444,0,0,.70277],"8658":[-.10889,.39111,0,0,1.14999],"8659":[.19444,.69444,0,0,.70277],"8660":[-.10889,.39111,0,0,1.14999],"8661":[.25,.75,0,0,.70277],"8704":[0,.69444,0,0,.63889],"8706":[0,.69444,.06389,0,.62847],"8707":[0,.69444,0,0,.63889],"8709":[.05556,.75,0,0,.575],"8711":[0,.68611,0,0,.95833],"8712":[.08556,.58556,0,0,.76666],"8715":[.08556,.58556,0,0,.76666],"8722":[.13333,.63333,0,0,.89444],"8723":[.13333,.63333,0,0,.89444],"8725":[.25,.75,0,0,.575],"8726":[.25,.75,0,0,.575],"8727":[-.02778,.47222,0,0,.575],"8728":[-.02639,.47361,0,0,.575],"8729":[-.02639,.47361,0,0,.575],"8730":[.18,.82,0,0,.95833],"8733":[0,.44444,0,0,.89444],"8734":[0,.44444,0,0,1.14999],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.31944],"8741":[.25,.75,0,0,.575],"8743":[0,.55556,0,0,.76666],"8744":[0,.55556,0,0,.76666],"8745":[0,.55556,0,0,.76666],"8746":[0,.55556,0,0,.76666],"8747":[.19444,.69444,.12778,0,.56875],"8764":[-.10889,.39111,0,0,.89444],"8768":[.19444,.69444,0,0,.31944],"8771":[.00222,.50222,0,0,.89444],"8776":[.02444,.52444,0,0,.89444],"8781":[.00222,.50222,0,0,.89444],"8801":[.00222,.50222,0,0,.89444],"8804":[.19667,.69667,0,0,.89444],"8805":[.19667,.69667,0,0,.89444],"8810":[.08556,.58556,0,0,1.14999],"8811":[.08556,.58556,0,0,1.14999],"8826":[.08556,.58556,0,0,.89444],"8827":[.08556,.58556,0,0,.89444],"8834":[.08556,.58556,0,0,.89444],"8835":[.08556,.58556,0,0,.89444],"8838":[.19667,.69667,0,0,.89444],"8839":[.19667,.69667,0,0,.89444],"8846":[0,.55556,0,0,.76666],"8849":[.19667,.69667,0,0,.89444],"8850":[.19667,.69667,0,0,.89444],"8851":[0,.55556,0,0,.76666],"8852":[0,.55556,0,0,.76666],"8853":[.13333,.63333,0,0,.89444],"8854":[.13333,.63333,0,0,.89444],"8855":[.13333,.63333,0,0,.89444],"8856":[.13333,.63333,0,0,.89444],"8857":[.13333,.63333,0,0,.89444],"8866":[0,.69444,0,0,.70277],"8867":[0,.69444,0,0,.70277],"8868":[0,.69444,0,0,.89444],"8869":[0,.69444,0,0,.89444],"8900":[-.02639,.47361,0,0,.575],"8901":[-.02639,.47361,0,0,.31944],"8902":[-.02778,.47222,0,0,.575],"8968":[.25,.75,0,0,.51111],"8969":[.25,.75,0,0,.51111],"8970":[.25,.75,0,0,.51111],"8971":[.25,.75,0,0,.51111],"8994":[-.13889,.36111,0,0,1.14999],"8995":[-.13889,.36111,0,0,1.14999],"9651":[.19444,.69444,0,0,1.02222],"9657":[-.02778,.47222,0,0,.575],"9661":[.19444,.69444,0,0,1.02222],"9667":[-.02778,.47222,0,0,.575],"9711":[.19444,.69444,0,0,1.14999],"9824":[.12963,.69444,0,0,.89444],"9825":[.12963,.69444,0,0,.89444],"9826":[.12963,.69444,0,0,.89444],"9827":[.12963,.69444,0,0,.89444],"9837":[0,.75,0,0,.44722],"9838":[.19444,.69444,0,0,.44722],"9839":[.19444,.69444,0,0,.44722],"10216":[.25,.75,0,0,.44722],"10217":[.25,.75,0,0,.44722],"10815":[0,.68611,0,0,.9],"10927":[.19667,.69667,0,0,.89444],"10928":[.19667,.69667,0,0,.89444],"57376":[.19444,.69444,0,0,0]},"Main-BoldItalic":{"33":[0,.69444,.11417,0,.38611],"34":[0,.69444,.07939,0,.62055],"35":[.19444,.69444,.06833,0,.94444],"37":[.05556,.75,.12861,0,.94444],"38":[0,.69444,.08528,0,.88555],"39":[0,.69444,.12945,0,.35555],"40":[.25,.75,.15806,0,.47333],"41":[.25,.75,.03306,0,.47333],"42":[0,.75,.14333,0,.59111],"43":[.10333,.60333,.03306,0,.88555],"44":[.19444,.14722,0,0,.35555],"45":[0,.44444,.02611,0,.41444],"46":[0,.14722,0,0,.35555],"47":[.25,.75,.15806,0,.59111],"48":[0,.64444,.13167,0,.59111],"49":[0,.64444,.13167,0,.59111],"50":[0,.64444,.13167,0,.59111],"51":[0,.64444,.13167,0,.59111],"52":[.19444,.64444,.13167,0,.59111],"53":[0,.64444,.13167,0,.59111],"54":[0,.64444,.13167,0,.59111],"55":[.19444,.64444,.13167,0,.59111],"56":[0,.64444,.13167,0,.59111],"57":[0,.64444,.13167,0,.59111],"58":[0,.44444,.06695,0,.35555],"59":[.19444,.44444,.06695,0,.35555],"61":[-.10889,.39111,.06833,0,.88555],"63":[0,.69444,.11472,0,.59111],"64":[0,.69444,.09208,0,.88555],"65":[0,.68611,0,0,.86555],"66":[0,.68611,.0992,0,.81666],"67":[0,.68611,.14208,0,.82666],"68":[0,.68611,.09062,0,.87555],"69":[0,.68611,.11431,0,.75666],"70":[0,.68611,.12903,0,.72722],"71":[0,.68611,.07347,0,.89527],"72":[0,.68611,.17208,0,.8961],"73":[0,.68611,.15681,0,.47166],"74":[0,.68611,.145,0,.61055],"75":[0,.68611,.14208,0,.89499],"76":[0,.68611,0,0,.69777],"77":[0,.68611,.17208,0,1.07277],"78":[0,.68611,.17208,0,.8961],"79":[0,.68611,.09062,0,.85499],"80":[0,.68611,.0992,0,.78721],"81":[.19444,.68611,.09062,0,.85499],"82":[0,.68611,.02559,0,.85944],"83":[0,.68611,.11264,0,.64999],"84":[0,.68611,.12903,0,.7961],"85":[0,.68611,.17208,0,.88083],"86":[0,.68611,.18625,0,.86555],"87":[0,.68611,.18625,0,1.15999],"88":[0,.68611,.15681,0,.86555],"89":[0,.68611,.19803,0,.86555],"90":[0,.68611,.14208,0,.70888],"91":[.25,.75,.1875,0,.35611],"93":[.25,.75,.09972,0,.35611],"94":[0,.69444,.06709,0,.59111],"95":[.31,.13444,.09811,0,.59111],"97":[0,.44444,.09426,0,.59111],"98":[0,.69444,.07861,0,.53222],"99":[0,.44444,.05222,0,.53222],"100":[0,.69444,.10861,0,.59111],"101":[0,.44444,.085,0,.53222],"102":[.19444,.69444,.21778,0,.4],"103":[.19444,.44444,.105,0,.53222],"104":[0,.69444,.09426,0,.59111],"105":[0,.69326,.11387,0,.35555],"106":[.19444,.69326,.1672,0,.35555],"107":[0,.69444,.11111,0,.53222],"108":[0,.69444,.10861,0,.29666],"109":[0,.44444,.09426,0,.94444],"110":[0,.44444,.09426,0,.64999],"111":[0,.44444,.07861,0,.59111],"112":[.19444,.44444,.07861,0,.59111],"113":[.19444,.44444,.105,0,.53222],"114":[0,.44444,.11111,0,.50167],"115":[0,.44444,.08167,0,.48694],"116":[0,.63492,.09639,0,.385],"117":[0,.44444,.09426,0,.62055],"118":[0,.44444,.11111,0,.53222],"119":[0,.44444,.11111,0,.76777],"120":[0,.44444,.12583,0,.56055],"121":[.19444,.44444,.105,0,.56166],"122":[0,.44444,.13889,0,.49055],"126":[.35,.34444,.11472,0,.59111],"163":[0,.69444,0,0,.86853],"168":[0,.69444,.11473,0,.59111],"176":[0,.69444,0,0,.94888],"184":[.17014,0,0,0,.53222],"198":[0,.68611,.11431,0,1.02277],"216":[.04861,.73472,.09062,0,.88555],"223":[.19444,.69444,.09736,0,.665],"230":[0,.44444,.085,0,.82666],"248":[.09722,.54167,.09458,0,.59111],"305":[0,.44444,.09426,0,.35555],"338":[0,.68611,.11431,0,1.14054],"339":[0,.44444,.085,0,.82666],"567":[.19444,.44444,.04611,0,.385],"710":[0,.69444,.06709,0,.59111],"711":[0,.63194,.08271,0,.59111],"713":[0,.59444,.10444,0,.59111],"714":[0,.69444,.08528,0,.59111],"715":[0,.69444,0,0,.59111],"728":[0,.69444,.10333,0,.59111],"729":[0,.69444,.12945,0,.35555],"730":[0,.69444,0,0,.94888],"732":[0,.69444,.11472,0,.59111],"733":[0,.69444,.11472,0,.59111],"915":[0,.68611,.12903,0,.69777],"916":[0,.68611,0,0,.94444],"920":[0,.68611,.09062,0,.88555],"923":[0,.68611,0,0,.80666],"926":[0,.68611,.15092,0,.76777],"928":[0,.68611,.17208,0,.8961],"931":[0,.68611,.11431,0,.82666],"933":[0,.68611,.10778,0,.88555],"934":[0,.68611,.05632,0,.82666],"936":[0,.68611,.10778,0,.88555],"937":[0,.68611,.0992,0,.82666],"8211":[0,.44444,.09811,0,.59111],"8212":[0,.44444,.09811,0,1.18221],"8216":[0,.69444,.12945,0,.35555],"8217":[0,.69444,.12945,0,.35555],"8220":[0,.69444,.16772,0,.62055],"8221":[0,.69444,.07939,0,.62055]},"Main-Italic":{"33":[0,.69444,.12417,0,.30667],"34":[0,.69444,.06961,0,.51444],"35":[.19444,.69444,.06616,0,.81777],"37":[.05556,.75,.13639,0,.81777],"38":[0,.69444,.09694,0,.76666],"39":[0,.69444,.12417,0,.30667],"40":[.25,.75,.16194,0,.40889],"41":[.25,.75,.03694,0,.40889],"42":[0,.75,.14917,0,.51111],"43":[.05667,.56167,.03694,0,.76666],"44":[.19444,.10556,0,0,.30667],"45":[0,.43056,.02826,0,.35778],"46":[0,.10556,0,0,.30667],"47":[.25,.75,.16194,0,.51111],"48":[0,.64444,.13556,0,.51111],"49":[0,.64444,.13556,0,.51111],"50":[0,.64444,.13556,0,.51111],"51":[0,.64444,.13556,0,.51111],"52":[.19444,.64444,.13556,0,.51111],"53":[0,.64444,.13556,0,.51111],"54":[0,.64444,.13556,0,.51111],"55":[.19444,.64444,.13556,0,.51111],"56":[0,.64444,.13556,0,.51111],"57":[0,.64444,.13556,0,.51111],"58":[0,.43056,.0582,0,.30667],"59":[.19444,.43056,.0582,0,.30667],"61":[-.13313,.36687,.06616,0,.76666],"63":[0,.69444,.1225,0,.51111],"64":[0,.69444,.09597,0,.76666],"65":[0,.68333,0,0,.74333],"66":[0,.68333,.10257,0,.70389],"67":[0,.68333,.14528,0,.71555],"68":[0,.68333,.09403,0,.755],"69":[0,.68333,.12028,0,.67833],"70":[0,.68333,.13305,0,.65277],"71":[0,.68333,.08722,0,.77361],"72":[0,.68333,.16389,0,.74333],"73":[0,.68333,.15806,0,.38555],"74":[0,.68333,.14028,0,.525],"75":[0,.68333,.14528,0,.76888],"76":[0,.68333,0,0,.62722],"77":[0,.68333,.16389,0,.89666],"78":[0,.68333,.16389,0,.74333],"79":[0,.68333,.09403,0,.76666],"80":[0,.68333,.10257,0,.67833],"81":[.19444,.68333,.09403,0,.76666],"82":[0,.68333,.03868,0,.72944],"83":[0,.68333,.11972,0,.56222],"84":[0,.68333,.13305,0,.71555],"85":[0,.68333,.16389,0,.74333],"86":[0,.68333,.18361,0,.74333],"87":[0,.68333,.18361,0,.99888],"88":[0,.68333,.15806,0,.74333],"89":[0,.68333,.19383,0,.74333],"90":[0,.68333,.14528,0,.61333],"91":[.25,.75,.1875,0,.30667],"93":[.25,.75,.10528,0,.30667],"94":[0,.69444,.06646,0,.51111],"95":[.31,.12056,.09208,0,.51111],"97":[0,.43056,.07671,0,.51111],"98":[0,.69444,.06312,0,.46],"99":[0,.43056,.05653,0,.46],"100":[0,.69444,.10333,0,.51111],"101":[0,.43056,.07514,0,.46],"102":[.19444,.69444,.21194,0,.30667],"103":[.19444,.43056,.08847,0,.46],"104":[0,.69444,.07671,0,.51111],"105":[0,.65536,.1019,0,.30667],"106":[.19444,.65536,.14467,0,.30667],"107":[0,.69444,.10764,0,.46],"108":[0,.69444,.10333,0,.25555],"109":[0,.43056,.07671,0,.81777],"110":[0,.43056,.07671,0,.56222],"111":[0,.43056,.06312,0,.51111],"112":[.19444,.43056,.06312,0,.51111],"113":[.19444,.43056,.08847,0,.46],"114":[0,.43056,.10764,0,.42166],"115":[0,.43056,.08208,0,.40889],"116":[0,.61508,.09486,0,.33222],"117":[0,.43056,.07671,0,.53666],"118":[0,.43056,.10764,0,.46],"119":[0,.43056,.10764,0,.66444],"120":[0,.43056,.12042,0,.46389],"121":[.19444,.43056,.08847,0,.48555],"122":[0,.43056,.12292,0,.40889],"126":[.35,.31786,.11585,0,.51111],"163":[0,.69444,0,0,.76909],"168":[0,.66786,.10474,0,.51111],"176":[0,.69444,0,0,.83129],"184":[.17014,0,0,0,.46],"198":[0,.68333,.12028,0,.88277],"216":[.04861,.73194,.09403,0,.76666],"223":[.19444,.69444,.10514,0,.53666],"230":[0,.43056,.07514,0,.71555],"248":[.09722,.52778,.09194,0,.51111],"305":[0,.43056,0,.02778,.32246],"338":[0,.68333,.12028,0,.98499],"339":[0,.43056,.07514,0,.71555],"567":[.19444,.43056,0,.08334,.38403],"710":[0,.69444,.06646,0,.51111],"711":[0,.62847,.08295,0,.51111],"713":[0,.56167,.10333,0,.51111],"714":[0,.69444,.09694,0,.51111],"715":[0,.69444,0,0,.51111],"728":[0,.69444,.10806,0,.51111],"729":[0,.66786,.11752,0,.30667],"730":[0,.69444,0,0,.83129],"732":[0,.66786,.11585,0,.51111],"733":[0,.69444,.1225,0,.51111],"915":[0,.68333,.13305,0,.62722],"916":[0,.68333,0,0,.81777],"920":[0,.68333,.09403,0,.76666],"923":[0,.68333,0,0,.69222],"926":[0,.68333,.15294,0,.66444],"928":[0,.68333,.16389,0,.74333],"931":[0,.68333,.12028,0,.71555],"933":[0,.68333,.11111,0,.76666],"934":[0,.68333,.05986,0,.71555],"936":[0,.68333,.11111,0,.76666],"937":[0,.68333,.10257,0,.71555],"8211":[0,.43056,.09208,0,.51111],"8212":[0,.43056,.09208,0,1.02222],"8216":[0,.69444,.12417,0,.30667],"8217":[0,.69444,.12417,0,.30667],"8220":[0,.69444,.1685,0,.51444],"8221":[0,.69444,.06961,0,.51444],"8463":[0,.68889,0,0,.54028]},"Main-Regular":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.27778],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.77778],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.19444,.10556,0,0,.27778],"45":[0,.43056,0,0,.33333],"46":[0,.10556,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.64444,0,0,.5],"49":[0,.64444,0,0,.5],"50":[0,.64444,0,0,.5],"51":[0,.64444,0,0,.5],"52":[0,.64444,0,0,.5],"53":[0,.64444,0,0,.5],"54":[0,.64444,0,0,.5],"55":[0,.64444,0,0,.5],"56":[0,.64444,0,0,.5],"57":[0,.64444,0,0,.5],"58":[0,.43056,0,0,.27778],"59":[.19444,.43056,0,0,.27778],"60":[.0391,.5391,0,0,.77778],"61":[-.13313,.36687,0,0,.77778],"62":[.0391,.5391,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.77778],"65":[0,.68333,0,0,.75],"66":[0,.68333,0,0,.70834],"67":[0,.68333,0,0,.72222],"68":[0,.68333,0,0,.76389],"69":[0,.68333,0,0,.68056],"70":[0,.68333,0,0,.65278],"71":[0,.68333,0,0,.78472],"72":[0,.68333,0,0,.75],"73":[0,.68333,0,0,.36111],"74":[0,.68333,0,0,.51389],"75":[0,.68333,0,0,.77778],"76":[0,.68333,0,0,.625],"77":[0,.68333,0,0,.91667],"78":[0,.68333,0,0,.75],"79":[0,.68333,0,0,.77778],"80":[0,.68333,0,0,.68056],"81":[.19444,.68333,0,0,.77778],"82":[0,.68333,0,0,.73611],"83":[0,.68333,0,0,.55556],"84":[0,.68333,0,0,.72222],"85":[0,.68333,0,0,.75],"86":[0,.68333,.01389,0,.75],"87":[0,.68333,.01389,0,1.02778],"88":[0,.68333,0,0,.75],"89":[0,.68333,.025,0,.75],"90":[0,.68333,0,0,.61111],"91":[.25,.75,0,0,.27778],"92":[.25,.75,0,0,.5],"93":[.25,.75,0,0,.27778],"94":[0,.69444,0,0,.5],"95":[.31,.12056,.02778,0,.5],"97":[0,.43056,0,0,.5],"98":[0,.69444,0,0,.55556],"99":[0,.43056,0,0,.44445],"100":[0,.69444,0,0,.55556],"101":[0,.43056,0,0,.44445],"102":[0,.69444,.07778,0,.30556],"103":[.19444,.43056,.01389,0,.5],"104":[0,.69444,0,0,.55556],"105":[0,.66786,0,0,.27778],"106":[.19444,.66786,0,0,.30556],"107":[0,.69444,0,0,.52778],"108":[0,.69444,0,0,.27778],"109":[0,.43056,0,0,.83334],"110":[0,.43056,0,0,.55556],"111":[0,.43056,0,0,.5],"112":[.19444,.43056,0,0,.55556],"113":[.19444,.43056,0,0,.52778],"114":[0,.43056,0,0,.39167],"115":[0,.43056,0,0,.39445],"116":[0,.61508,0,0,.38889],"117":[0,.43056,0,0,.55556],"118":[0,.43056,.01389,0,.52778],"119":[0,.43056,.01389,0,.72222],"120":[0,.43056,0,0,.52778],"121":[.19444,.43056,.01389,0,.52778],"122":[0,.43056,0,0,.44445],"123":[.25,.75,0,0,.5],"124":[.25,.75,0,0,.27778],"125":[.25,.75,0,0,.5],"126":[.35,.31786,0,0,.5],"160":[0,0,0,0,.25],"167":[.19444,.69444,0,0,.44445],"168":[0,.66786,0,0,.5],"172":[0,.43056,0,0,.66667],"176":[0,.69444,0,0,.75],"177":[.08333,.58333,0,0,.77778],"182":[.19444,.69444,0,0,.61111],"184":[.17014,0,0,0,.44445],"198":[0,.68333,0,0,.90278],"215":[.08333,.58333,0,0,.77778],"216":[.04861,.73194,0,0,.77778],"223":[0,.69444,0,0,.5],"230":[0,.43056,0,0,.72222],"247":[.08333,.58333,0,0,.77778],"248":[.09722,.52778,0,0,.5],"305":[0,.43056,0,0,.27778],"338":[0,.68333,0,0,1.01389],"339":[0,.43056,0,0,.77778],"567":[.19444,.43056,0,0,.30556],"710":[0,.69444,0,0,.5],"711":[0,.62847,0,0,.5],"713":[0,.56778,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.66786,0,0,.27778],"730":[0,.69444,0,0,.75],"732":[0,.66786,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.68333,0,0,.625],"916":[0,.68333,0,0,.83334],"920":[0,.68333,0,0,.77778],"923":[0,.68333,0,0,.69445],"926":[0,.68333,0,0,.66667],"928":[0,.68333,0,0,.75],"931":[0,.68333,0,0,.72222],"933":[0,.68333,0,0,.77778],"934":[0,.68333,0,0,.72222],"936":[0,.68333,0,0,.77778],"937":[0,.68333,0,0,.72222],"8211":[0,.43056,.02778,0,.5],"8212":[0,.43056,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5],"8224":[.19444,.69444,0,0,.44445],"8225":[.19444,.69444,0,0,.44445],"8230":[0,.12,0,0,1.172],"8242":[0,.55556,0,0,.275],"8407":[0,.71444,.15382,0,.5],"8463":[0,.68889,0,0,.54028],"8465":[0,.69444,0,0,.72222],"8467":[0,.69444,0,.11111,.41667],"8472":[.19444,.43056,0,.11111,.63646],"8476":[0,.69444,0,0,.72222],"8501":[0,.69444,0,0,.61111],"8592":[-.13313,.36687,0,0,1],"8593":[.19444,.69444,0,0,.5],"8594":[-.13313,.36687,0,0,1],"8595":[.19444,.69444,0,0,.5],"8596":[-.13313,.36687,0,0,1],"8597":[.25,.75,0,0,.5],"8598":[.19444,.69444,0,0,1],"8599":[.19444,.69444,0,0,1],"8600":[.19444,.69444,0,0,1],"8601":[.19444,.69444,0,0,1],"8614":[.011,.511,0,0,1],"8617":[.011,.511,0,0,1.126],"8618":[.011,.511,0,0,1.126],"8636":[-.13313,.36687,0,0,1],"8637":[-.13313,.36687,0,0,1],"8640":[-.13313,.36687,0,0,1],"8641":[-.13313,.36687,0,0,1],"8652":[.011,.671,0,0,1],"8656":[-.13313,.36687,0,0,1],"8657":[.19444,.69444,0,0,.61111],"8658":[-.13313,.36687,0,0,1],"8659":[.19444,.69444,0,0,.61111],"8660":[-.13313,.36687,0,0,1],"8661":[.25,.75,0,0,.61111],"8704":[0,.69444,0,0,.55556],"8706":[0,.69444,.05556,.08334,.5309],"8707":[0,.69444,0,0,.55556],"8709":[.05556,.75,0,0,.5],"8711":[0,.68333,0,0,.83334],"8712":[.0391,.5391,0,0,.66667],"8715":[.0391,.5391,0,0,.66667],"8722":[.08333,.58333,0,0,.77778],"8723":[.08333,.58333,0,0,.77778],"8725":[.25,.75,0,0,.5],"8726":[.25,.75,0,0,.5],"8727":[-.03472,.46528,0,0,.5],"8728":[-.05555,.44445,0,0,.5],"8729":[-.05555,.44445,0,0,.5],"8730":[.2,.8,0,0,.83334],"8733":[0,.43056,0,0,.77778],"8734":[0,.43056,0,0,1],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.27778],"8741":[.25,.75,0,0,.5],"8743":[0,.55556,0,0,.66667],"8744":[0,.55556,0,0,.66667],"8745":[0,.55556,0,0,.66667],"8746":[0,.55556,0,0,.66667],"8747":[.19444,.69444,.11111,0,.41667],"8764":[-.13313,.36687,0,0,.77778],"8768":[.19444,.69444,0,0,.27778],"8771":[-.03625,.46375,0,0,.77778],"8773":[-.022,.589,0,0,1],"8776":[-.01688,.48312,0,0,.77778],"8781":[-.03625,.46375,0,0,.77778],"8784":[-.133,.67,0,0,.778],"8801":[-.03625,.46375,0,0,.77778],"8804":[.13597,.63597,0,0,.77778],"8805":[.13597,.63597,0,0,.77778],"8810":[.0391,.5391,0,0,1],"8811":[.0391,.5391,0,0,1],"8826":[.0391,.5391,0,0,.77778],"8827":[.0391,.5391,0,0,.77778],"8834":[.0391,.5391,0,0,.77778],"8835":[.0391,.5391,0,0,.77778],"8838":[.13597,.63597,0,0,.77778],"8839":[.13597,.63597,0,0,.77778],"8846":[0,.55556,0,0,.66667],"8849":[.13597,.63597,0,0,.77778],"8850":[.13597,.63597,0,0,.77778],"8851":[0,.55556,0,0,.66667],"8852":[0,.55556,0,0,.66667],"8853":[.08333,.58333,0,0,.77778],"8854":[.08333,.58333,0,0,.77778],"8855":[.08333,.58333,0,0,.77778],"8856":[.08333,.58333,0,0,.77778],"8857":[.08333,.58333,0,0,.77778],"8866":[0,.69444,0,0,.61111],"8867":[0,.69444,0,0,.61111],"8868":[0,.69444,0,0,.77778],"8869":[0,.69444,0,0,.77778],"8872":[.249,.75,0,0,.867],"8900":[-.05555,.44445,0,0,.5],"8901":[-.05555,.44445,0,0,.27778],"8902":[-.03472,.46528,0,0,.5],"8904":[.005,.505,0,0,.9],"8942":[.03,.9,0,0,.278],"8943":[-.19,.31,0,0,1.172],"8945":[-.1,.82,0,0,1.282],"8968":[.25,.75,0,0,.44445],"8969":[.25,.75,0,0,.44445],"8970":[.25,.75,0,0,.44445],"8971":[.25,.75,0,0,.44445],"8994":[-.14236,.35764,0,0,1],"8995":[-.14236,.35764,0,0,1],"9136":[.244,.744,0,0,.412],"9137":[.244,.744,0,0,.412],"9651":[.19444,.69444,0,0,.88889],"9657":[-.03472,.46528,0,0,.5],"9661":[.19444,.69444,0,0,.88889],"9667":[-.03472,.46528,0,0,.5],"9711":[.19444,.69444,0,0,1],"9824":[.12963,.69444,0,0,.77778],"9825":[.12963,.69444,0,0,.77778],"9826":[.12963,.69444,0,0,.77778],"9827":[.12963,.69444,0,0,.77778],"9837":[0,.75,0,0,.38889],"9838":[.19444,.69444,0,0,.38889],"9839":[.19444,.69444,0,0,.38889],"10216":[.25,.75,0,0,.38889],"10217":[.25,.75,0,0,.38889],"10222":[.244,.744,0,0,.412],"10223":[.244,.744,0,0,.412],"10229":[.011,.511,0,0,1.609],"10230":[.011,.511,0,0,1.638],"10231":[.011,.511,0,0,1.859],"10232":[.024,.525,0,0,1.609],"10233":[.024,.525,0,0,1.638],"10234":[.024,.525,0,0,1.858],"10236":[.011,.511,0,0,1.638],"10815":[0,.68333,0,0,.75],"10927":[.13597,.63597,0,0,.77778],"10928":[.13597,.63597,0,0,.77778],"57376":[.19444,.69444,0,0,0]},"Math-BoldItalic":{"65":[0,.68611,0,0,.86944],"66":[0,.68611,.04835,0,.8664],"67":[0,.68611,.06979,0,.81694],"68":[0,.68611,.03194,0,.93812],"69":[0,.68611,.05451,0,.81007],"70":[0,.68611,.15972,0,.68889],"71":[0,.68611,0,0,.88673],"72":[0,.68611,.08229,0,.98229],"73":[0,.68611,.07778,0,.51111],"74":[0,.68611,.10069,0,.63125],"75":[0,.68611,.06979,0,.97118],"76":[0,.68611,0,0,.75555],"77":[0,.68611,.11424,0,1.14201],"78":[0,.68611,.11424,0,.95034],"79":[0,.68611,.03194,0,.83666],"80":[0,.68611,.15972,0,.72309],"81":[.19444,.68611,0,0,.86861],"82":[0,.68611,.00421,0,.87235],"83":[0,.68611,.05382,0,.69271],"84":[0,.68611,.15972,0,.63663],"85":[0,.68611,.11424,0,.80027],"86":[0,.68611,.25555,0,.67778],"87":[0,.68611,.15972,0,1.09305],"88":[0,.68611,.07778,0,.94722],"89":[0,.68611,.25555,0,.67458],"90":[0,.68611,.06979,0,.77257],"97":[0,.44444,0,0,.63287],"98":[0,.69444,0,0,.52083],"99":[0,.44444,0,0,.51342],"100":[0,.69444,0,0,.60972],"101":[0,.44444,0,0,.55361],"102":[.19444,.69444,.11042,0,.56806],"103":[.19444,.44444,.03704,0,.5449],"104":[0,.69444,0,0,.66759],"105":[0,.69326,0,0,.4048],"106":[.19444,.69326,.0622,0,.47083],"107":[0,.69444,.01852,0,.6037],"108":[0,.69444,.0088,0,.34815],"109":[0,.44444,0,0,1.0324],"110":[0,.44444,0,0,.71296],"111":[0,.44444,0,0,.58472],"112":[.19444,.44444,0,0,.60092],"113":[.19444,.44444,.03704,0,.54213],"114":[0,.44444,.03194,0,.5287],"115":[0,.44444,0,0,.53125],"116":[0,.63492,0,0,.41528],"117":[0,.44444,0,0,.68102],"118":[0,.44444,.03704,0,.56666],"119":[0,.44444,.02778,0,.83148],"120":[0,.44444,0,0,.65903],"121":[.19444,.44444,.03704,0,.59028],"122":[0,.44444,.04213,0,.55509],"915":[0,.68611,.15972,0,.65694],"916":[0,.68611,0,0,.95833],"920":[0,.68611,.03194,0,.86722],"923":[0,.68611,0,0,.80555],"926":[0,.68611,.07458,0,.84125],"928":[0,.68611,.08229,0,.98229],"931":[0,.68611,.05451,0,.88507],"933":[0,.68611,.15972,0,.67083],"934":[0,.68611,0,0,.76666],"936":[0,.68611,.11653,0,.71402],"937":[0,.68611,.04835,0,.8789],"945":[0,.44444,0,0,.76064],"946":[.19444,.69444,.03403,0,.65972],"947":[.19444,.44444,.06389,0,.59003],"948":[0,.69444,.03819,0,.52222],"949":[0,.44444,0,0,.52882],"950":[.19444,.69444,.06215,0,.50833],"951":[.19444,.44444,.03704,0,.6],"952":[0,.69444,.03194,0,.5618],"953":[0,.44444,0,0,.41204],"954":[0,.44444,0,0,.66759],"955":[0,.69444,0,0,.67083],"956":[.19444,.44444,0,0,.70787],"957":[0,.44444,.06898,0,.57685],"958":[.19444,.69444,.03021,0,.50833],"959":[0,.44444,0,0,.58472],"960":[0,.44444,.03704,0,.68241],"961":[.19444,.44444,0,0,.6118],"962":[.09722,.44444,.07917,0,.42361],"963":[0,.44444,.03704,0,.68588],"964":[0,.44444,.13472,0,.52083],"965":[0,.44444,.03704,0,.63055],"966":[.19444,.44444,0,0,.74722],"967":[.19444,.44444,0,0,.71805],"968":[.19444,.69444,.03704,0,.75833],"969":[0,.44444,.03704,0,.71782],"977":[0,.69444,0,0,.69155],"981":[.19444,.69444,0,0,.7125],"982":[0,.44444,.03194,0,.975],"1009":[.19444,.44444,0,0,.6118],"1013":[0,.44444,0,0,.48333]},"Math-Italic":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"Math-Regular":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{"33":[0,.69444,0,0,.36667],"34":[0,.69444,0,0,.55834],"35":[.19444,.69444,0,0,.91667],"36":[.05556,.75,0,0,.55],"37":[.05556,.75,0,0,1.02912],"38":[0,.69444,0,0,.83056],"39":[0,.69444,0,0,.30556],"40":[.25,.75,0,0,.42778],"41":[.25,.75,0,0,.42778],"42":[0,.75,0,0,.55],"43":[.11667,.61667,0,0,.85556],"44":[.10556,.13056,0,0,.30556],"45":[0,.45833,0,0,.36667],"46":[0,.13056,0,0,.30556],"47":[.25,.75,0,0,.55],"48":[0,.69444,0,0,.55],"49":[0,.69444,0,0,.55],"50":[0,.69444,0,0,.55],"51":[0,.69444,0,0,.55],"52":[0,.69444,0,0,.55],"53":[0,.69444,0,0,.55],"54":[0,.69444,0,0,.55],"55":[0,.69444,0,0,.55],"56":[0,.69444,0,0,.55],"57":[0,.69444,0,0,.55],"58":[0,.45833,0,0,.30556],"59":[.10556,.45833,0,0,.30556],"61":[-.09375,.40625,0,0,.85556],"63":[0,.69444,0,0,.51945],"64":[0,.69444,0,0,.73334],"65":[0,.69444,0,0,.73334],"66":[0,.69444,0,0,.73334],"67":[0,.69444,0,0,.70278],"68":[0,.69444,0,0,.79445],"69":[0,.69444,0,0,.64167],"70":[0,.69444,0,0,.61111],"71":[0,.69444,0,0,.73334],"72":[0,.69444,0,0,.79445],"73":[0,.69444,0,0,.33056],"74":[0,.69444,0,0,.51945],"75":[0,.69444,0,0,.76389],"76":[0,.69444,0,0,.58056],"77":[0,.69444,0,0,.97778],"78":[0,.69444,0,0,.79445],"79":[0,.69444,0,0,.79445],"80":[0,.69444,0,0,.70278],"81":[.10556,.69444,0,0,.79445],"82":[0,.69444,0,0,.70278],"83":[0,.69444,0,0,.61111],"84":[0,.69444,0,0,.73334],"85":[0,.69444,0,0,.76389],"86":[0,.69444,.01528,0,.73334],"87":[0,.69444,.01528,0,1.03889],"88":[0,.69444,0,0,.73334],"89":[0,.69444,.0275,0,.73334],"90":[0,.69444,0,0,.67223],"91":[.25,.75,0,0,.34306],"93":[.25,.75,0,0,.34306],"94":[0,.69444,0,0,.55],"95":[.35,.10833,.03056,0,.55],"97":[0,.45833,0,0,.525],"98":[0,.69444,0,0,.56111],"99":[0,.45833,0,0,.48889],"100":[0,.69444,0,0,.56111],"101":[0,.45833,0,0,.51111],"102":[0,.69444,.07639,0,.33611],"103":[.19444,.45833,.01528,0,.55],"104":[0,.69444,0,0,.56111],"105":[0,.69444,0,0,.25556],"106":[.19444,.69444,0,0,.28611],"107":[0,.69444,0,0,.53056],"108":[0,.69444,0,0,.25556],"109":[0,.45833,0,0,.86667],"110":[0,.45833,0,0,.56111],"111":[0,.45833,0,0,.55],"112":[.19444,.45833,0,0,.56111],"113":[.19444,.45833,0,0,.56111],"114":[0,.45833,.01528,0,.37222],"115":[0,.45833,0,0,.42167],"116":[0,.58929,0,0,.40417],"117":[0,.45833,0,0,.56111],"118":[0,.45833,.01528,0,.5],"119":[0,.45833,.01528,0,.74445],"120":[0,.45833,0,0,.5],"121":[.19444,.45833,.01528,0,.5],"122":[0,.45833,0,0,.47639],"126":[.35,.34444,0,0,.55],"168":[0,.69444,0,0,.55],"176":[0,.69444,0,0,.73334],"180":[0,.69444,0,0,.55],"184":[.17014,0,0,0,.48889],"305":[0,.45833,0,0,.25556],"567":[.19444,.45833,0,0,.28611],"710":[0,.69444,0,0,.55],"711":[0,.63542,0,0,.55],"713":[0,.63778,0,0,.55],"728":[0,.69444,0,0,.55],"729":[0,.69444,0,0,.30556],"730":[0,.69444,0,0,.73334],"732":[0,.69444,0,0,.55],"733":[0,.69444,0,0,.55],"915":[0,.69444,0,0,.58056],"916":[0,.69444,0,0,.91667],"920":[0,.69444,0,0,.85556],"923":[0,.69444,0,0,.67223],"926":[0,.69444,0,0,.73334],"928":[0,.69444,0,0,.79445],"931":[0,.69444,0,0,.79445],"933":[0,.69444,0,0,.85556],"934":[0,.69444,0,0,.79445],"936":[0,.69444,0,0,.85556],"937":[0,.69444,0,0,.79445],"8211":[0,.45833,.03056,0,.55],"8212":[0,.45833,.03056,0,1.10001],"8216":[0,.69444,0,0,.30556],"8217":[0,.69444,0,0,.30556],"8220":[0,.69444,0,0,.55834],"8221":[0,.69444,0,0,.55834]},"SansSerif-Italic":{"33":[0,.69444,.05733,0,.31945],"34":[0,.69444,.00316,0,.5],"35":[.19444,.69444,.05087,0,.83334],"36":[.05556,.75,.11156,0,.5],"37":[.05556,.75,.03126,0,.83334],"38":[0,.69444,.03058,0,.75834],"39":[0,.69444,.07816,0,.27778],"40":[.25,.75,.13164,0,.38889],"41":[.25,.75,.02536,0,.38889],"42":[0,.75,.11775,0,.5],"43":[.08333,.58333,.02536,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,.01946,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,.13164,0,.5],"48":[0,.65556,.11156,0,.5],"49":[0,.65556,.11156,0,.5],"50":[0,.65556,.11156,0,.5],"51":[0,.65556,.11156,0,.5],"52":[0,.65556,.11156,0,.5],"53":[0,.65556,.11156,0,.5],"54":[0,.65556,.11156,0,.5],"55":[0,.65556,.11156,0,.5],"56":[0,.65556,.11156,0,.5],"57":[0,.65556,.11156,0,.5],"58":[0,.44444,.02502,0,.27778],"59":[.125,.44444,.02502,0,.27778],"61":[-.13,.37,.05087,0,.77778],"63":[0,.69444,.11809,0,.47222],"64":[0,.69444,.07555,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,.08293,0,.66667],"67":[0,.69444,.11983,0,.63889],"68":[0,.69444,.07555,0,.72223],"69":[0,.69444,.11983,0,.59722],"70":[0,.69444,.13372,0,.56945],"71":[0,.69444,.11983,0,.66667],"72":[0,.69444,.08094,0,.70834],"73":[0,.69444,.13372,0,.27778],"74":[0,.69444,.08094,0,.47222],"75":[0,.69444,.11983,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,.08094,0,.875],"78":[0,.69444,.08094,0,.70834],"79":[0,.69444,.07555,0,.73611],"80":[0,.69444,.08293,0,.63889],"81":[.125,.69444,.07555,0,.73611],"82":[0,.69444,.08293,0,.64584],"83":[0,.69444,.09205,0,.55556],"84":[0,.69444,.13372,0,.68056],"85":[0,.69444,.08094,0,.6875],"86":[0,.69444,.1615,0,.66667],"87":[0,.69444,.1615,0,.94445],"88":[0,.69444,.13372,0,.66667],"89":[0,.69444,.17261,0,.66667],"90":[0,.69444,.11983,0,.61111],"91":[.25,.75,.15942,0,.28889],"93":[.25,.75,.08719,0,.28889],"94":[0,.69444,.0799,0,.5],"95":[.35,.09444,.08616,0,.5],"97":[0,.44444,.00981,0,.48056],"98":[0,.69444,.03057,0,.51667],"99":[0,.44444,.08336,0,.44445],"100":[0,.69444,.09483,0,.51667],"101":[0,.44444,.06778,0,.44445],"102":[0,.69444,.21705,0,.30556],"103":[.19444,.44444,.10836,0,.5],"104":[0,.69444,.01778,0,.51667],"105":[0,.67937,.09718,0,.23889],"106":[.19444,.67937,.09162,0,.26667],"107":[0,.69444,.08336,0,.48889],"108":[0,.69444,.09483,0,.23889],"109":[0,.44444,.01778,0,.79445],"110":[0,.44444,.01778,0,.51667],"111":[0,.44444,.06613,0,.5],"112":[.19444,.44444,.0389,0,.51667],"113":[.19444,.44444,.04169,0,.51667],"114":[0,.44444,.10836,0,.34167],"115":[0,.44444,.0778,0,.38333],"116":[0,.57143,.07225,0,.36111],"117":[0,.44444,.04169,0,.51667],"118":[0,.44444,.10836,0,.46111],"119":[0,.44444,.10836,0,.68334],"120":[0,.44444,.09169,0,.46111],"121":[.19444,.44444,.10836,0,.46111],"122":[0,.44444,.08752,0,.43472],"126":[.35,.32659,.08826,0,.5],"168":[0,.67937,.06385,0,.5],"176":[0,.69444,0,0,.73752],"184":[.17014,0,0,0,.44445],"305":[0,.44444,.04169,0,.23889],"567":[.19444,.44444,.04169,0,.26667],"710":[0,.69444,.0799,0,.5],"711":[0,.63194,.08432,0,.5],"713":[0,.60889,.08776,0,.5],"714":[0,.69444,.09205,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,.09483,0,.5],"729":[0,.67937,.07774,0,.27778],"730":[0,.69444,0,0,.73752],"732":[0,.67659,.08826,0,.5],"733":[0,.69444,.09205,0,.5],"915":[0,.69444,.13372,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,.07555,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,.12816,0,.66667],"928":[0,.69444,.08094,0,.70834],"931":[0,.69444,.11983,0,.72222],"933":[0,.69444,.09031,0,.77778],"934":[0,.69444,.04603,0,.72222],"936":[0,.69444,.09031,0,.77778],"937":[0,.69444,.08293,0,.72222],"8211":[0,.44444,.08616,0,.5],"8212":[0,.44444,.08616,0,1],"8216":[0,.69444,.07816,0,.27778],"8217":[0,.69444,.07816,0,.27778],"8220":[0,.69444,.14205,0,.5],"8221":[0,.69444,.00316,0,.5]},"SansSerif-Regular":{"33":[0,.69444,0,0,.31945],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.75834],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,0,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.65556,0,0,.5],"49":[0,.65556,0,0,.5],"50":[0,.65556,0,0,.5],"51":[0,.65556,0,0,.5],"52":[0,.65556,0,0,.5],"53":[0,.65556,0,0,.5],"54":[0,.65556,0,0,.5],"55":[0,.65556,0,0,.5],"56":[0,.65556,0,0,.5],"57":[0,.65556,0,0,.5],"58":[0,.44444,0,0,.27778],"59":[.125,.44444,0,0,.27778],"61":[-.13,.37,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,0,0,.66667],"67":[0,.69444,0,0,.63889],"68":[0,.69444,0,0,.72223],"69":[0,.69444,0,0,.59722],"70":[0,.69444,0,0,.56945],"71":[0,.69444,0,0,.66667],"72":[0,.69444,0,0,.70834],"73":[0,.69444,0,0,.27778],"74":[0,.69444,0,0,.47222],"75":[0,.69444,0,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,0,0,.875],"78":[0,.69444,0,0,.70834],"79":[0,.69444,0,0,.73611],"80":[0,.69444,0,0,.63889],"81":[.125,.69444,0,0,.73611],"82":[0,.69444,0,0,.64584],"83":[0,.69444,0,0,.55556],"84":[0,.69444,0,0,.68056],"85":[0,.69444,0,0,.6875],"86":[0,.69444,.01389,0,.66667],"87":[0,.69444,.01389,0,.94445],"88":[0,.69444,0,0,.66667],"89":[0,.69444,.025,0,.66667],"90":[0,.69444,0,0,.61111],"91":[.25,.75,0,0,.28889],"93":[.25,.75,0,0,.28889],"94":[0,.69444,0,0,.5],"95":[.35,.09444,.02778,0,.5],"97":[0,.44444,0,0,.48056],"98":[0,.69444,0,0,.51667],"99":[0,.44444,0,0,.44445],"100":[0,.69444,0,0,.51667],"101":[0,.44444,0,0,.44445],"102":[0,.69444,.06944,0,.30556],"103":[.19444,.44444,.01389,0,.5],"104":[0,.69444,0,0,.51667],"105":[0,.67937,0,0,.23889],"106":[.19444,.67937,0,0,.26667],"107":[0,.69444,0,0,.48889],"108":[0,.69444,0,0,.23889],"109":[0,.44444,0,0,.79445],"110":[0,.44444,0,0,.51667],"111":[0,.44444,0,0,.5],"112":[.19444,.44444,0,0,.51667],"113":[.19444,.44444,0,0,.51667],"114":[0,.44444,.01389,0,.34167],"115":[0,.44444,0,0,.38333],"116":[0,.57143,0,0,.36111],"117":[0,.44444,0,0,.51667],"118":[0,.44444,.01389,0,.46111],"119":[0,.44444,.01389,0,.68334],"120":[0,.44444,0,0,.46111],"121":[.19444,.44444,.01389,0,.46111],"122":[0,.44444,0,0,.43472],"126":[.35,.32659,0,0,.5],"168":[0,.67937,0,0,.5],"176":[0,.69444,0,0,.66667],"184":[.17014,0,0,0,.44445],"305":[0,.44444,0,0,.23889],"567":[.19444,.44444,0,0,.26667],"710":[0,.69444,0,0,.5],"711":[0,.63194,0,0,.5],"713":[0,.60889,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.67937,0,0,.27778],"730":[0,.69444,0,0,.66667],"732":[0,.67659,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.69444,0,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,0,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,0,0,.66667],"928":[0,.69444,0,0,.70834],"931":[0,.69444,0,0,.72222],"933":[0,.69444,0,0,.77778],"934":[0,.69444,0,0,.72222],"936":[0,.69444,0,0,.77778],"937":[0,.69444,0,0,.72222],"8211":[0,.44444,.02778,0,.5],"8212":[0,.44444,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5]},"Script-Regular":{"65":[0,.7,.22925,0,.80253],"66":[0,.7,.04087,0,.90757],"67":[0,.7,.1689,0,.66619],"68":[0,.7,.09371,0,.77443],"69":[0,.7,.18583,0,.56162],"70":[0,.7,.13634,0,.89544],"71":[0,.7,.17322,0,.60961],"72":[0,.7,.29694,0,.96919],"73":[0,.7,.19189,0,.80907],"74":[.27778,.7,.19189,0,1.05159],"75":[0,.7,.31259,0,.91364],"76":[0,.7,.19189,0,.87373],"77":[0,.7,.15981,0,1.08031],"78":[0,.7,.3525,0,.9015],"79":[0,.7,.08078,0,.73787],"80":[0,.7,.08078,0,1.01262],"81":[0,.7,.03305,0,.88282],"82":[0,.7,.06259,0,.85],"83":[0,.7,.19189,0,.86767],"84":[0,.7,.29087,0,.74697],"85":[0,.7,.25815,0,.79996],"86":[0,.7,.27523,0,.62204],"87":[0,.7,.27523,0,.80532],"88":[0,.7,.26006,0,.94445],"89":[0,.7,.2939,0,.70961],"90":[0,.7,.24037,0,.8212]},"Size1-Regular":{"40":[.35001,.85,0,0,.45834],"41":[.35001,.85,0,0,.45834],"47":[.35001,.85,0,0,.57778],"91":[.35001,.85,0,0,.41667],"92":[.35001,.85,0,0,.57778],"93":[.35001,.85,0,0,.41667],"123":[.35001,.85,0,0,.58334],"125":[.35001,.85,0,0,.58334],"710":[0,.72222,0,0,.55556],"732":[0,.72222,0,0,.55556],"770":[0,.72222,0,0,.55556],"771":[0,.72222,0,0,.55556],"8214":[-99e-5,.601,0,0,.77778],"8593":[1e-5,.6,0,0,.66667],"8595":[1e-5,.6,0,0,.66667],"8657":[1e-5,.6,0,0,.77778],"8659":[1e-5,.6,0,0,.77778],"8719":[.25001,.75,0,0,.94445],"8720":[.25001,.75,0,0,.94445],"8721":[.25001,.75,0,0,1.05556],"8730":[.35001,.85,0,0,1],"8739":[-.00599,.606,0,0,.33333],"8741":[-.00599,.606,0,0,.55556],"8747":[.30612,.805,.19445,0,.47222],"8748":[.306,.805,.19445,0,.47222],"8749":[.306,.805,.19445,0,.47222],"8750":[.30612,.805,.19445,0,.47222],"8896":[.25001,.75,0,0,.83334],"8897":[.25001,.75,0,0,.83334],"8898":[.25001,.75,0,0,.83334],"8899":[.25001,.75,0,0,.83334],"8968":[.35001,.85,0,0,.47222],"8969":[.35001,.85,0,0,.47222],"8970":[.35001,.85,0,0,.47222],"8971":[.35001,.85,0,0,.47222],"9168":[-99e-5,.601,0,0,.66667],"10216":[.35001,.85,0,0,.47222],"10217":[.35001,.85,0,0,.47222],"10752":[.25001,.75,0,0,1.11111],"10753":[.25001,.75,0,0,1.11111],"10754":[.25001,.75,0,0,1.11111],"10756":[.25001,.75,0,0,.83334],"10758":[.25001,.75,0,0,.83334]},"Size2-Regular":{"40":[.65002,1.15,0,0,.59722],"41":[.65002,1.15,0,0,.59722],"47":[.65002,1.15,0,0,.81111],"91":[.65002,1.15,0,0,.47222],"92":[.65002,1.15,0,0,.81111],"93":[.65002,1.15,0,0,.47222],"123":[.65002,1.15,0,0,.66667],"125":[.65002,1.15,0,0,.66667],"710":[0,.75,0,0,1],"732":[0,.75,0,0,1],"770":[0,.75,0,0,1],"771":[0,.75,0,0,1],"8719":[.55001,1.05,0,0,1.27778],"8720":[.55001,1.05,0,0,1.27778],"8721":[.55001,1.05,0,0,1.44445],"8730":[.65002,1.15,0,0,1],"8747":[.86225,1.36,.44445,0,.55556],"8748":[.862,1.36,.44445,0,.55556],"8749":[.862,1.36,.44445,0,.55556],"8750":[.86225,1.36,.44445,0,.55556],"8896":[.55001,1.05,0,0,1.11111],"8897":[.55001,1.05,0,0,1.11111],"8898":[.55001,1.05,0,0,1.11111],"8899":[.55001,1.05,0,0,1.11111],"8968":[.65002,1.15,0,0,.52778],"8969":[.65002,1.15,0,0,.52778],"8970":[.65002,1.15,0,0,.52778],"8971":[.65002,1.15,0,0,.52778],"10216":[.65002,1.15,0,0,.61111],"10217":[.65002,1.15,0,0,.61111],"10752":[.55001,1.05,0,0,1.51112],"10753":[.55001,1.05,0,0,1.51112],"10754":[.55001,1.05,0,0,1.51112],"10756":[.55001,1.05,0,0,1.11111],"10758":[.55001,1.05,0,0,1.11111]},"Size3-Regular":{"40":[.95003,1.45,0,0,.73611],"41":[.95003,1.45,0,0,.73611],"47":[.95003,1.45,0,0,1.04445],"91":[.95003,1.45,0,0,.52778],"92":[.95003,1.45,0,0,1.04445],"93":[.95003,1.45,0,0,.52778],"123":[.95003,1.45,0,0,.75],"125":[.95003,1.45,0,0,.75],"710":[0,.75,0,0,1.44445],"732":[0,.75,0,0,1.44445],"770":[0,.75,0,0,1.44445],"771":[0,.75,0,0,1.44445],"8730":[.95003,1.45,0,0,1],"8968":[.95003,1.45,0,0,.58334],"8969":[.95003,1.45,0,0,.58334],"8970":[.95003,1.45,0,0,.58334],"8971":[.95003,1.45,0,0,.58334],"10216":[.95003,1.45,0,0,.75],"10217":[.95003,1.45,0,0,.75]},"Size4-Regular":{"40":[1.25003,1.75,0,0,.79167],"41":[1.25003,1.75,0,0,.79167],"47":[1.25003,1.75,0,0,1.27778],"91":[1.25003,1.75,0,0,.58334],"92":[1.25003,1.75,0,0,1.27778],"93":[1.25003,1.75,0,0,.58334],"123":[1.25003,1.75,0,0,.80556],"125":[1.25003,1.75,0,0,.80556],"710":[0,.825,0,0,1.8889],"732":[0,.825,0,0,1.8889],"770":[0,.825,0,0,1.8889],"771":[0,.825,0,0,1.8889],"8730":[1.25003,1.75,0,0,1],"8968":[1.25003,1.75,0,0,.63889],"8969":[1.25003,1.75,0,0,.63889],"8970":[1.25003,1.75,0,0,.63889],"8971":[1.25003,1.75,0,0,.63889],"9115":[.64502,1.155,0,0,.875],"9116":[1e-5,.6,0,0,.875],"9117":[.64502,1.155,0,0,.875],"9118":[.64502,1.155,0,0,.875],"9119":[1e-5,.6,0,0,.875],"9120":[.64502,1.155,0,0,.875],"9121":[.64502,1.155,0,0,.66667],"9122":[-99e-5,.601,0,0,.66667],"9123":[.64502,1.155,0,0,.66667],"9124":[.64502,1.155,0,0,.66667],"9125":[-99e-5,.601,0,0,.66667],"9126":[.64502,1.155,0,0,.66667],"9127":[1e-5,.9,0,0,.88889],"9128":[.65002,1.15,0,0,.88889],"9129":[.90001,0,0,0,.88889],"9130":[0,.3,0,0,.88889],"9131":[1e-5,.9,0,0,.88889],"9132":[.65002,1.15,0,0,.88889],"9133":[.90001,0,0,0,.88889],"9143":[.88502,.915,0,0,1.05556],"10216":[1.25003,1.75,0,0,.80556],"10217":[1.25003,1.75,0,0,.80556],"57344":[-.00499,.605,0,0,1.05556],"57345":[-.00499,.605,0,0,1.05556],"57680":[0,.12,0,0,.45],"57681":[0,.12,0,0,.45],"57682":[0,.12,0,0,.45],"57683":[0,.12,0,0,.45]},"Typewriter-Regular":{"32":[0,0,0,0,.525],"33":[0,.61111,0,0,.525],"34":[0,.61111,0,0,.525],"35":[0,.61111,0,0,.525],"36":[.08333,.69444,0,0,.525],"37":[.08333,.69444,0,0,.525],"38":[0,.61111,0,0,.525],"39":[0,.61111,0,0,.525],"40":[.08333,.69444,0,0,.525],"41":[.08333,.69444,0,0,.525],"42":[0,.52083,0,0,.525],"43":[-.08056,.53055,0,0,.525],"44":[.13889,.125,0,0,.525],"45":[-.08056,.53055,0,0,.525],"46":[0,.125,0,0,.525],"47":[.08333,.69444,0,0,.525],"48":[0,.61111,0,0,.525],"49":[0,.61111,0,0,.525],"50":[0,.61111,0,0,.525],"51":[0,.61111,0,0,.525],"52":[0,.61111,0,0,.525],"53":[0,.61111,0,0,.525],"54":[0,.61111,0,0,.525],"55":[0,.61111,0,0,.525],"56":[0,.61111,0,0,.525],"57":[0,.61111,0,0,.525],"58":[0,.43056,0,0,.525],"59":[.13889,.43056,0,0,.525],"60":[-.05556,.55556,0,0,.525],"61":[-.19549,.41562,0,0,.525],"62":[-.05556,.55556,0,0,.525],"63":[0,.61111,0,0,.525],"64":[0,.61111,0,0,.525],"65":[0,.61111,0,0,.525],"66":[0,.61111,0,0,.525],"67":[0,.61111,0,0,.525],"68":[0,.61111,0,0,.525],"69":[0,.61111,0,0,.525],"70":[0,.61111,0,0,.525],"71":[0,.61111,0,0,.525],"72":[0,.61111,0,0,.525],"73":[0,.61111,0,0,.525],"74":[0,.61111,0,0,.525],"75":[0,.61111,0,0,.525],"76":[0,.61111,0,0,.525],"77":[0,.61111,0,0,.525],"78":[0,.61111,0,0,.525],"79":[0,.61111,0,0,.525],"80":[0,.61111,0,0,.525],"81":[.13889,.61111,0,0,.525],"82":[0,.61111,0,0,.525],"83":[0,.61111,0,0,.525],"84":[0,.61111,0,0,.525],"85":[0,.61111,0,0,.525],"86":[0,.61111,0,0,.525],"87":[0,.61111,0,0,.525],"88":[0,.61111,0,0,.525],"89":[0,.61111,0,0,.525],"90":[0,.61111,0,0,.525],"91":[.08333,.69444,0,0,.525],"92":[.08333,.69444,0,0,.525],"93":[.08333,.69444,0,0,.525],"94":[0,.61111,0,0,.525],"95":[.09514,0,0,0,.525],"96":[0,.61111,0,0,.525],"97":[0,.43056,0,0,.525],"98":[0,.61111,0,0,.525],"99":[0,.43056,0,0,.525],"100":[0,.61111,0,0,.525],"101":[0,.43056,0,0,.525],"102":[0,.61111,0,0,.525],"103":[.22222,.43056,0,0,.525],"104":[0,.61111,0,0,.525],"105":[0,.61111,0,0,.525],"106":[.22222,.61111,0,0,.525],"107":[0,.61111,0,0,.525],"108":[0,.61111,0,0,.525],"109":[0,.43056,0,0,.525],"110":[0,.43056,0,0,.525],"111":[0,.43056,0,0,.525],"112":[.22222,.43056,0,0,.525],"113":[.22222,.43056,0,0,.525],"114":[0,.43056,0,0,.525],"115":[0,.43056,0,0,.525],"116":[0,.55358,0,0,.525],"117":[0,.43056,0,0,.525],"118":[0,.43056,0,0,.525],"119":[0,.43056,0,0,.525],"120":[0,.43056,0,0,.525],"121":[.22222,.43056,0,0,.525],"122":[0,.43056,0,0,.525],"123":[.08333,.69444,0,0,.525],"124":[.08333,.69444,0,0,.525],"125":[.08333,.69444,0,0,.525],"126":[0,.61111,0,0,.525],"127":[0,.61111,0,0,.525],"160":[0,0,0,0,.525],"176":[0,.61111,0,0,.525],"184":[.19445,0,0,0,.525],"305":[0,.43056,0,0,.525],"567":[.22222,.43056,0,0,.525],"711":[0,.56597,0,0,.525],"713":[0,.56555,0,0,.525],"714":[0,.61111,0,0,.525],"715":[0,.61111,0,0,.525],"728":[0,.61111,0,0,.525],"730":[0,.61111,0,0,.525],"770":[0,.61111,0,0,.525],"771":[0,.61111,0,0,.525],"776":[0,.61111,0,0,.525],"915":[0,.61111,0,0,.525],"916":[0,.61111,0,0,.525],"920":[0,.61111,0,0,.525],"923":[0,.61111,0,0,.525],"926":[0,.61111,0,0,.525],"928":[0,.61111,0,0,.525],"931":[0,.61111,0,0,.525],"933":[0,.61111,0,0,.525],"934":[0,.61111,0,0,.525],"936":[0,.61111,0,0,.525],"937":[0,.61111,0,0,.525],"8216":[0,.61111,0,0,.525],"8217":[0,.61111,0,0,.525],"8242":[0,.61111,0,0,.525],"9251":[.11111,.21944,0,0,.525]}},pt={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Pe={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Nt(Lt,he){yt[Lt]=he}function ut(Lt,he,Ce){if(!yt[he])throw new Error("Font metrics not found for font: "+he+".");var Ie=Lt.charCodeAt(0),Ye=yt[he][Ie];if(!Ye&&Lt[0]in Pe&&(Ie=Pe[Lt[0]].charCodeAt(0),Ye=yt[he][Ie]),!Ye&&Ce==="text"&&(q(Ie)&&(Ye=yt[he][77])),Ye)return{depth:Ye[0],height:Ye[1],italic:Ye[2],skew:Ye[3],width:Ye[4]}}var Ft={};function Ut(Lt){var he;if(Lt>=5?he=0:Lt>=3?he=1:he=2,!Ft[he]){var Ce=Ft[he]={cssEmPerMu:pt.quad[he]/18};for(var Ie in pt)pt.hasOwnProperty(Ie)&&(Ce[Ie]=pt[Ie][he])}return Ft[he]}var Wt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},$t={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},or={math:{},text:{}},ht=or;function Ee(Lt,he,Ce,Ie,Ye,_t){or[Lt][Ye]={font:he,group:Ce,replace:Ie},_t&&Ie&&(or[Lt][Ie]=or[Lt][Ye])}var de="math",qe="text",rt="main",ve="ams",bt="accent-token",jt="bin",He="close",kt="inner",Ar="mathord",at="op-token",Ht="open",Kt="punct",ot="rel",et="spacing",Ze="textord";Ee(de,rt,ot,"\u2261","\\equiv",!0),Ee(de,rt,ot,"\u227A","\\prec",!0),Ee(de,rt,ot,"\u227B","\\succ",!0),Ee(de,rt,ot,"\u223C","\\sim",!0),Ee(de,rt,ot,"\u22A5","\\perp"),Ee(de,rt,ot,"\u2AAF","\\preceq",!0),Ee(de,rt,ot,"\u2AB0","\\succeq",!0),Ee(de,rt,ot,"\u2243","\\simeq",!0),Ee(de,rt,ot,"\u2223","\\mid",!0),Ee(de,rt,ot,"\u226A","\\ll",!0),Ee(de,rt,ot,"\u226B","\\gg",!0),Ee(de,rt,ot,"\u224D","\\asymp",!0),Ee(de,rt,ot,"\u2225","\\parallel"),Ee(de,rt,ot,"\u22C8","\\bowtie",!0),Ee(de,rt,ot,"\u2323","\\smile",!0),Ee(de,rt,ot,"\u2291","\\sqsubseteq",!0),Ee(de,rt,ot,"\u2292","\\sqsupseteq",!0),Ee(de,rt,ot,"\u2250","\\doteq",!0),Ee(de,rt,ot,"\u2322","\\frown",!0),Ee(de,rt,ot,"\u220B","\\ni",!0),Ee(de,rt,ot,"\u221D","\\propto",!0),Ee(de,rt,ot,"\u22A2","\\vdash",!0),Ee(de,rt,ot,"\u22A3","\\dashv",!0),Ee(de,rt,ot,"\u220B","\\owns"),Ee(de,rt,Kt,".","\\ldotp"),Ee(de,rt,Kt,"\u22C5","\\cdotp"),Ee(de,rt,Ze,"#","\\#"),Ee(qe,rt,Ze,"#","\\#"),Ee(de,rt,Ze,"&","\\&"),Ee(qe,rt,Ze,"&","\\&"),Ee(de,rt,Ze,"\u2135","\\aleph",!0),Ee(de,rt,Ze,"\u2200","\\forall",!0),Ee(de,rt,Ze,"\u210F","\\hbar",!0),Ee(de,rt,Ze,"\u2203","\\exists",!0),Ee(de,rt,Ze,"\u2207","\\nabla",!0),Ee(de,rt,Ze,"\u266D","\\flat",!0),Ee(de,rt,Ze,"\u2113","\\ell",!0),Ee(de,rt,Ze,"\u266E","\\natural",!0),Ee(de,rt,Ze,"\u2663","\\clubsuit",!0),Ee(de,rt,Ze,"\u2118","\\wp",!0),Ee(de,rt,Ze,"\u266F","\\sharp",!0),Ee(de,rt,Ze,"\u2662","\\diamondsuit",!0),Ee(de,rt,Ze,"\u211C","\\Re",!0),Ee(de,rt,Ze,"\u2661","\\heartsuit",!0),Ee(de,rt,Ze,"\u2111","\\Im",!0),Ee(de,rt,Ze,"\u2660","\\spadesuit",!0),Ee(qe,rt,Ze,"\xA7","\\S",!0),Ee(qe,rt,Ze,"\xB6","\\P",!0),Ee(de,rt,Ze,"\u2020","\\dag"),Ee(qe,rt,Ze,"\u2020","\\dag"),Ee(qe,rt,Ze,"\u2020","\\textdagger"),Ee(de,rt,Ze,"\u2021","\\ddag"),Ee(qe,rt,Ze,"\u2021","\\ddag"),Ee(qe,rt,Ze,"\u2021","\\textdaggerdbl"),Ee(de,rt,He,"\u23B1","\\rmoustache",!0),Ee(de,rt,Ht,"\u23B0","\\lmoustache",!0),Ee(de,rt,He,"\u27EF","\\rgroup",!0),Ee(de,rt,Ht,"\u27EE","\\lgroup",!0),Ee(de,rt,jt,"\u2213","\\mp",!0),Ee(de,rt,jt,"\u2296","\\ominus",!0),Ee(de,rt,jt,"\u228E","\\uplus",!0),Ee(de,rt,jt,"\u2293","\\sqcap",!0),Ee(de,rt,jt,"\u2217","\\ast"),Ee(de,rt,jt,"\u2294","\\sqcup",!0),Ee(de,rt,jt,"\u25EF","\\bigcirc"),Ee(de,rt,jt,"\u2219","\\bullet"),Ee(de,rt,jt,"\u2021","\\ddagger"),Ee(de,rt,jt,"\u2240","\\wr",!0),Ee(de,rt,jt,"\u2A3F","\\amalg"),Ee(de,rt,jt,"&","\\And"),Ee(de,rt,ot,"\u27F5","\\longleftarrow",!0),Ee(de,rt,ot,"\u21D0","\\Leftarrow",!0),Ee(de,rt,ot,"\u27F8","\\Longleftarrow",!0),Ee(de,rt,ot,"\u27F6","\\longrightarrow",!0),Ee(de,rt,ot,"\u21D2","\\Rightarrow",!0),Ee(de,rt,ot,"\u27F9","\\Longrightarrow",!0),Ee(de,rt,ot,"\u2194","\\leftrightarrow",!0),Ee(de,rt,ot,"\u27F7","\\longleftrightarrow",!0),Ee(de,rt,ot,"\u21D4","\\Leftrightarrow",!0),Ee(de,rt,ot,"\u27FA","\\Longleftrightarrow",!0),Ee(de,rt,ot,"\u21A6","\\mapsto",!0),Ee(de,rt,ot,"\u27FC","\\longmapsto",!0),Ee(de,rt,ot,"\u2197","\\nearrow",!0),Ee(de,rt,ot,"\u21A9","\\hookleftarrow",!0),Ee(de,rt,ot,"\u21AA","\\hookrightarrow",!0),Ee(de,rt,ot,"\u2198","\\searrow",!0),Ee(de,rt,ot,"\u21BC","\\leftharpoonup",!0),Ee(de,rt,ot,"\u21C0","\\rightharpoonup",!0),Ee(de,rt,ot,"\u2199","\\swarrow",!0),Ee(de,rt,ot,"\u21BD","\\leftharpoondown",!0),Ee(de,rt,ot,"\u21C1","\\rightharpoondown",!0),Ee(de,rt,ot,"\u2196","\\nwarrow",!0),Ee(de,rt,ot,"\u21CC","\\rightleftharpoons",!0),Ee(de,ve,ot,"\u226E","\\nless",!0),Ee(de,ve,ot,"\uE010","\\@nleqslant"),Ee(de,ve,ot,"\uE011","\\@nleqq"),Ee(de,ve,ot,"\u2A87","\\lneq",!0),Ee(de,ve,ot,"\u2268","\\lneqq",!0),Ee(de,ve,ot,"\uE00C","\\@lvertneqq"),Ee(de,ve,ot,"\u22E6","\\lnsim",!0),Ee(de,ve,ot,"\u2A89","\\lnapprox",!0),Ee(de,ve,ot,"\u2280","\\nprec",!0),Ee(de,ve,ot,"\u22E0","\\npreceq",!0),Ee(de,ve,ot,"\u22E8","\\precnsim",!0),Ee(de,ve,ot,"\u2AB9","\\precnapprox",!0),Ee(de,ve,ot,"\u2241","\\nsim",!0),Ee(de,ve,ot,"\uE006","\\@nshortmid"),Ee(de,ve,ot,"\u2224","\\nmid",!0),Ee(de,ve,ot,"\u22AC","\\nvdash",!0),Ee(de,ve,ot,"\u22AD","\\nvDash",!0),Ee(de,ve,ot,"\u22EA","\\ntriangleleft"),Ee(de,ve,ot,"\u22EC","\\ntrianglelefteq",!0),Ee(de,ve,ot,"\u228A","\\subsetneq",!0),Ee(de,ve,ot,"\uE01A","\\@varsubsetneq"),Ee(de,ve,ot,"\u2ACB","\\subsetneqq",!0),Ee(de,ve,ot,"\uE017","\\@varsubsetneqq"),Ee(de,ve,ot,"\u226F","\\ngtr",!0),Ee(de,ve,ot,"\uE00F","\\@ngeqslant"),Ee(de,ve,ot,"\uE00E","\\@ngeqq"),Ee(de,ve,ot,"\u2A88","\\gneq",!0),Ee(de,ve,ot,"\u2269","\\gneqq",!0),Ee(de,ve,ot,"\uE00D","\\@gvertneqq"),Ee(de,ve,ot,"\u22E7","\\gnsim",!0),Ee(de,ve,ot,"\u2A8A","\\gnapprox",!0),Ee(de,ve,ot,"\u2281","\\nsucc",!0),Ee(de,ve,ot,"\u22E1","\\nsucceq",!0),Ee(de,ve,ot,"\u22E9","\\succnsim",!0),Ee(de,ve,ot,"\u2ABA","\\succnapprox",!0),Ee(de,ve,ot,"\u2246","\\ncong",!0),Ee(de,ve,ot,"\uE007","\\@nshortparallel"),Ee(de,ve,ot,"\u2226","\\nparallel",!0),Ee(de,ve,ot,"\u22AF","\\nVDash",!0),Ee(de,ve,ot,"\u22EB","\\ntriangleright"),Ee(de,ve,ot,"\u22ED","\\ntrianglerighteq",!0),Ee(de,ve,ot,"\uE018","\\@nsupseteqq"),Ee(de,ve,ot,"\u228B","\\supsetneq",!0),Ee(de,ve,ot,"\uE01B","\\@varsupsetneq"),Ee(de,ve,ot,"\u2ACC","\\supsetneqq",!0),Ee(de,ve,ot,"\uE019","\\@varsupsetneqq"),Ee(de,ve,ot,"\u22AE","\\nVdash",!0),Ee(de,ve,ot,"\u2AB5","\\precneqq",!0),Ee(de,ve,ot,"\u2AB6","\\succneqq",!0),Ee(de,ve,ot,"\uE016","\\@nsubseteqq"),Ee(de,ve,jt,"\u22B4","\\unlhd"),Ee(de,ve,jt,"\u22B5","\\unrhd"),Ee(de,ve,ot,"\u219A","\\nleftarrow",!0),Ee(de,ve,ot,"\u219B","\\nrightarrow",!0),Ee(de,ve,ot,"\u21CD","\\nLeftarrow",!0),Ee(de,ve,ot,"\u21CF","\\nRightarrow",!0),Ee(de,ve,ot,"\u21AE","\\nleftrightarrow",!0),Ee(de,ve,ot,"\u21CE","\\nLeftrightarrow",!0),Ee(de,ve,ot,"\u25B3","\\vartriangle"),Ee(de,ve,Ze,"\u210F","\\hslash"),Ee(de,ve,Ze,"\u25BD","\\triangledown"),Ee(de,ve,Ze,"\u25CA","\\lozenge"),Ee(de,ve,Ze,"\u24C8","\\circledS"),Ee(de,ve,Ze,"\xAE","\\circledR"),Ee(qe,ve,Ze,"\xAE","\\circledR"),Ee(de,ve,Ze,"\u2221","\\measuredangle",!0),Ee(de,ve,Ze,"\u2204","\\nexists"),Ee(de,ve,Ze,"\u2127","\\mho"),Ee(de,ve,Ze,"\u2132","\\Finv",!0),Ee(de,ve,Ze,"\u2141","\\Game",!0),Ee(de,ve,Ze,"\u2035","\\backprime"),Ee(de,ve,Ze,"\u25B2","\\blacktriangle"),Ee(de,ve,Ze,"\u25BC","\\blacktriangledown"),Ee(de,ve,Ze,"\u25A0","\\blacksquare"),Ee(de,ve,Ze,"\u29EB","\\blacklozenge"),Ee(de,ve,Ze,"\u2605","\\bigstar"),Ee(de,ve,Ze,"\u2222","\\sphericalangle",!0),Ee(de,ve,Ze,"\u2201","\\complement",!0),Ee(de,ve,Ze,"\xF0","\\eth",!0),Ee(de,ve,Ze,"\u2571","\\diagup"),Ee(de,ve,Ze,"\u2572","\\diagdown"),Ee(de,ve,Ze,"\u25A1","\\square"),Ee(de,ve,Ze,"\u25A1","\\Box"),Ee(de,ve,Ze,"\u25CA","\\Diamond"),Ee(de,ve,Ze,"\xA5","\\yen",!0),Ee(qe,ve,Ze,"\xA5","\\yen",!0),Ee(de,ve,Ze,"\u2713","\\checkmark",!0),Ee(qe,ve,Ze,"\u2713","\\checkmark"),Ee(de,ve,Ze,"\u2136","\\beth",!0),Ee(de,ve,Ze,"\u2138","\\daleth",!0),Ee(de,ve,Ze,"\u2137","\\gimel",!0),Ee(de,ve,Ze,"\u03DD","\\digamma",!0),Ee(de,ve,Ze,"\u03F0","\\varkappa"),Ee(de,ve,Ht,"\u250C","\\ulcorner",!0),Ee(de,ve,He,"\u2510","\\urcorner",!0),Ee(de,ve,Ht,"\u2514","\\llcorner",!0),Ee(de,ve,He,"\u2518","\\lrcorner",!0),Ee(de,ve,ot,"\u2266","\\leqq",!0),Ee(de,ve,ot,"\u2A7D","\\leqslant",!0),Ee(de,ve,ot,"\u2A95","\\eqslantless",!0),Ee(de,ve,ot,"\u2272","\\lesssim",!0),Ee(de,ve,ot,"\u2A85","\\lessapprox",!0),Ee(de,ve,ot,"\u224A","\\approxeq",!0),Ee(de,ve,jt,"\u22D6","\\lessdot"),Ee(de,ve,ot,"\u22D8","\\lll",!0),Ee(de,ve,ot,"\u2276","\\lessgtr",!0),Ee(de,ve,ot,"\u22DA","\\lesseqgtr",!0),Ee(de,ve,ot,"\u2A8B","\\lesseqqgtr",!0),Ee(de,ve,ot,"\u2251","\\doteqdot"),Ee(de,ve,ot,"\u2253","\\risingdotseq",!0),Ee(de,ve,ot,"\u2252","\\fallingdotseq",!0),Ee(de,ve,ot,"\u223D","\\backsim",!0),Ee(de,ve,ot,"\u22CD","\\backsimeq",!0),Ee(de,ve,ot,"\u2AC5","\\subseteqq",!0),Ee(de,ve,ot,"\u22D0","\\Subset",!0),Ee(de,ve,ot,"\u228F","\\sqsubset",!0),Ee(de,ve,ot,"\u227C","\\preccurlyeq",!0),Ee(de,ve,ot,"\u22DE","\\curlyeqprec",!0),Ee(de,ve,ot,"\u227E","\\precsim",!0),Ee(de,ve,ot,"\u2AB7","\\precapprox",!0),Ee(de,ve,ot,"\u22B2","\\vartriangleleft"),Ee(de,ve,ot,"\u22B4","\\trianglelefteq"),Ee(de,ve,ot,"\u22A8","\\vDash",!0),Ee(de,ve,ot,"\u22AA","\\Vvdash",!0),Ee(de,ve,ot,"\u2323","\\smallsmile"),Ee(de,ve,ot,"\u2322","\\smallfrown"),Ee(de,ve,ot,"\u224F","\\bumpeq",!0),Ee(de,ve,ot,"\u224E","\\Bumpeq",!0),Ee(de,ve,ot,"\u2267","\\geqq",!0),Ee(de,ve,ot,"\u2A7E","\\geqslant",!0),Ee(de,ve,ot,"\u2A96","\\eqslantgtr",!0),Ee(de,ve,ot,"\u2273","\\gtrsim",!0),Ee(de,ve,ot,"\u2A86","\\gtrapprox",!0),Ee(de,ve,jt,"\u22D7","\\gtrdot"),Ee(de,ve,ot,"\u22D9","\\ggg",!0),Ee(de,ve,ot,"\u2277","\\gtrless",!0),Ee(de,ve,ot,"\u22DB","\\gtreqless",!0),Ee(de,ve,ot,"\u2A8C","\\gtreqqless",!0),Ee(de,ve,ot,"\u2256","\\eqcirc",!0),Ee(de,ve,ot,"\u2257","\\circeq",!0),Ee(de,ve,ot,"\u225C","\\triangleq",!0),Ee(de,ve,ot,"\u223C","\\thicksim"),Ee(de,ve,ot,"\u2248","\\thickapprox"),Ee(de,ve,ot,"\u2AC6","\\supseteqq",!0),Ee(de,ve,ot,"\u22D1","\\Supset",!0),Ee(de,ve,ot,"\u2290","\\sqsupset",!0),Ee(de,ve,ot,"\u227D","\\succcurlyeq",!0),Ee(de,ve,ot,"\u22DF","\\curlyeqsucc",!0),Ee(de,ve,ot,"\u227F","\\succsim",!0),Ee(de,ve,ot,"\u2AB8","\\succapprox",!0),Ee(de,ve,ot,"\u22B3","\\vartriangleright"),Ee(de,ve,ot,"\u22B5","\\trianglerighteq"),Ee(de,ve,ot,"\u22A9","\\Vdash",!0),Ee(de,ve,ot,"\u2223","\\shortmid"),Ee(de,ve,ot,"\u2225","\\shortparallel"),Ee(de,ve,ot,"\u226C","\\between",!0),Ee(de,ve,ot,"\u22D4","\\pitchfork",!0),Ee(de,ve,ot,"\u221D","\\varpropto"),Ee(de,ve,ot,"\u25C0","\\blacktriangleleft"),Ee(de,ve,ot,"\u2234","\\therefore",!0),Ee(de,ve,ot,"\u220D","\\backepsilon"),Ee(de,ve,ot,"\u25B6","\\blacktriangleright"),Ee(de,ve,ot,"\u2235","\\because",!0),Ee(de,ve,ot,"\u22D8","\\llless"),Ee(de,ve,ot,"\u22D9","\\gggtr"),Ee(de,ve,jt,"\u22B2","\\lhd"),Ee(de,ve,jt,"\u22B3","\\rhd"),Ee(de,ve,ot,"\u2242","\\eqsim",!0),Ee(de,rt,ot,"\u22C8","\\Join"),Ee(de,ve,ot,"\u2251","\\Doteq",!0),Ee(de,ve,jt,"\u2214","\\dotplus",!0),Ee(de,ve,jt,"\u2216","\\smallsetminus"),Ee(de,ve,jt,"\u22D2","\\Cap",!0),Ee(de,ve,jt,"\u22D3","\\Cup",!0),Ee(de,ve,jt,"\u2A5E","\\doublebarwedge",!0),Ee(de,ve,jt,"\u229F","\\boxminus",!0),Ee(de,ve,jt,"\u229E","\\boxplus",!0),Ee(de,ve,jt,"\u22C7","\\divideontimes",!0),Ee(de,ve,jt,"\u22C9","\\ltimes",!0),Ee(de,ve,jt,"\u22CA","\\rtimes",!0),Ee(de,ve,jt,"\u22CB","\\leftthreetimes",!0),Ee(de,ve,jt,"\u22CC","\\rightthreetimes",!0),Ee(de,ve,jt,"\u22CF","\\curlywedge",!0),Ee(de,ve,jt,"\u22CE","\\curlyvee",!0),Ee(de,ve,jt,"\u229D","\\circleddash",!0),Ee(de,ve,jt,"\u229B","\\circledast",!0),Ee(de,ve,jt,"\u22C5","\\centerdot"),Ee(de,ve,jt,"\u22BA","\\intercal",!0),Ee(de,ve,jt,"\u22D2","\\doublecap"),Ee(de,ve,jt,"\u22D3","\\doublecup"),Ee(de,ve,jt,"\u22A0","\\boxtimes",!0),Ee(de,ve,ot,"\u21E2","\\dashrightarrow",!0),Ee(de,ve,ot,"\u21E0","\\dashleftarrow",!0),Ee(de,ve,ot,"\u21C7","\\leftleftarrows",!0),Ee(de,ve,ot,"\u21C6","\\leftrightarrows",!0),Ee(de,ve,ot,"\u21DA","\\Lleftarrow",!0),Ee(de,ve,ot,"\u219E","\\twoheadleftarrow",!0),Ee(de,ve,ot,"\u21A2","\\leftarrowtail",!0),Ee(de,ve,ot,"\u21AB","\\looparrowleft",!0),Ee(de,ve,ot,"\u21CB","\\leftrightharpoons",!0),Ee(de,ve,ot,"\u21B6","\\curvearrowleft",!0),Ee(de,ve,ot,"\u21BA","\\circlearrowleft",!0),Ee(de,ve,ot,"\u21B0","\\Lsh",!0),Ee(de,ve,ot,"\u21C8","\\upuparrows",!0),Ee(de,ve,ot,"\u21BF","\\upharpoonleft",!0),Ee(de,ve,ot,"\u21C3","\\downharpoonleft",!0),Ee(de,ve,ot,"\u22B8","\\multimap",!0),Ee(de,ve,ot,"\u21AD","\\leftrightsquigarrow",!0),Ee(de,ve,ot,"\u21C9","\\rightrightarrows",!0),Ee(de,ve,ot,"\u21C4","\\rightleftarrows",!0),Ee(de,ve,ot,"\u21A0","\\twoheadrightarrow",!0),Ee(de,ve,ot,"\u21A3","\\rightarrowtail",!0),Ee(de,ve,ot,"\u21AC","\\looparrowright",!0),Ee(de,ve,ot,"\u21B7","\\curvearrowright",!0),Ee(de,ve,ot,"\u21BB","\\circlearrowright",!0),Ee(de,ve,ot,"\u21B1","\\Rsh",!0),Ee(de,ve,ot,"\u21CA","\\downdownarrows",!0),Ee(de,ve,ot,"\u21BE","\\upharpoonright",!0),Ee(de,ve,ot,"\u21C2","\\downharpoonright",!0),Ee(de,ve,ot,"\u21DD","\\rightsquigarrow",!0),Ee(de,ve,ot,"\u21DD","\\leadsto"),Ee(de,ve,ot,"\u21DB","\\Rrightarrow",!0),Ee(de,ve,ot,"\u21BE","\\restriction"),Ee(de,rt,Ze,"\u2018","`"),Ee(de,rt,Ze,"$","\\$"),Ee(qe,rt,Ze,"$","\\$"),Ee(qe,rt,Ze,"$","\\textdollar"),Ee(de,rt,Ze,"%","\\%"),Ee(qe,rt,Ze,"%","\\%"),Ee(de,rt,Ze,"_","\\_"),Ee(qe,rt,Ze,"_","\\_"),Ee(qe,rt,Ze,"_","\\textunderscore"),Ee(de,rt,Ze,"\u2220","\\angle",!0),Ee(de,rt,Ze,"\u221E","\\infty",!0),Ee(de,rt,Ze,"\u2032","\\prime"),Ee(de,rt,Ze,"\u25B3","\\triangle"),Ee(de,rt,Ze,"\u0393","\\Gamma",!0),Ee(de,rt,Ze,"\u0394","\\Delta",!0),Ee(de,rt,Ze,"\u0398","\\Theta",!0),Ee(de,rt,Ze,"\u039B","\\Lambda",!0),Ee(de,rt,Ze,"\u039E","\\Xi",!0),Ee(de,rt,Ze,"\u03A0","\\Pi",!0),Ee(de,rt,Ze,"\u03A3","\\Sigma",!0),Ee(de,rt,Ze,"\u03A5","\\Upsilon",!0),Ee(de,rt,Ze,"\u03A6","\\Phi",!0),Ee(de,rt,Ze,"\u03A8","\\Psi",!0),Ee(de,rt,Ze,"\u03A9","\\Omega",!0),Ee(de,rt,Ze,"A","\u0391"),Ee(de,rt,Ze,"B","\u0392"),Ee(de,rt,Ze,"E","\u0395"),Ee(de,rt,Ze,"Z","\u0396"),Ee(de,rt,Ze,"H","\u0397"),Ee(de,rt,Ze,"I","\u0399"),Ee(de,rt,Ze,"K","\u039A"),Ee(de,rt,Ze,"M","\u039C"),Ee(de,rt,Ze,"N","\u039D"),Ee(de,rt,Ze,"O","\u039F"),Ee(de,rt,Ze,"P","\u03A1"),Ee(de,rt,Ze,"T","\u03A4"),Ee(de,rt,Ze,"X","\u03A7"),Ee(de,rt,Ze,"\xAC","\\neg",!0),Ee(de,rt,Ze,"\xAC","\\lnot"),Ee(de,rt,Ze,"\u22A4","\\top"),Ee(de,rt,Ze,"\u22A5","\\bot"),Ee(de,rt,Ze,"\u2205","\\emptyset"),Ee(de,ve,Ze,"\u2205","\\varnothing"),Ee(de,rt,Ar,"\u03B1","\\alpha",!0),Ee(de,rt,Ar,"\u03B2","\\beta",!0),Ee(de,rt,Ar,"\u03B3","\\gamma",!0),Ee(de,rt,Ar,"\u03B4","\\delta",!0),Ee(de,rt,Ar,"\u03F5","\\epsilon",!0),Ee(de,rt,Ar,"\u03B6","\\zeta",!0),Ee(de,rt,Ar,"\u03B7","\\eta",!0),Ee(de,rt,Ar,"\u03B8","\\theta",!0),Ee(de,rt,Ar,"\u03B9","\\iota",!0),Ee(de,rt,Ar,"\u03BA","\\kappa",!0),Ee(de,rt,Ar,"\u03BB","\\lambda",!0),Ee(de,rt,Ar,"\u03BC","\\mu",!0),Ee(de,rt,Ar,"\u03BD","\\nu",!0),Ee(de,rt,Ar,"\u03BE","\\xi",!0),Ee(de,rt,Ar,"\u03BF","\\omicron",!0),Ee(de,rt,Ar,"\u03C0","\\pi",!0),Ee(de,rt,Ar,"\u03C1","\\rho",!0),Ee(de,rt,Ar,"\u03C3","\\sigma",!0),Ee(de,rt,Ar,"\u03C4","\\tau",!0),Ee(de,rt,Ar,"\u03C5","\\upsilon",!0),Ee(de,rt,Ar,"\u03D5","\\phi",!0),Ee(de,rt,Ar,"\u03C7","\\chi",!0),Ee(de,rt,Ar,"\u03C8","\\psi",!0),Ee(de,rt,Ar,"\u03C9","\\omega",!0),Ee(de,rt,Ar,"\u03B5","\\varepsilon",!0),Ee(de,rt,Ar,"\u03D1","\\vartheta",!0),Ee(de,rt,Ar,"\u03D6","\\varpi",!0),Ee(de,rt,Ar,"\u03F1","\\varrho",!0),Ee(de,rt,Ar,"\u03C2","\\varsigma",!0),Ee(de,rt,Ar,"\u03C6","\\varphi",!0),Ee(de,rt,jt,"\u2217","*"),Ee(de,rt,jt,"+","+"),Ee(de,rt,jt,"\u2212","-"),Ee(de,rt,jt,"\u22C5","\\cdot",!0),Ee(de,rt,jt,"\u2218","\\circ"),Ee(de,rt,jt,"\xF7","\\div",!0),Ee(de,rt,jt,"\xB1","\\pm",!0),Ee(de,rt,jt,"\xD7","\\times",!0),Ee(de,rt,jt,"\u2229","\\cap",!0),Ee(de,rt,jt,"\u222A","\\cup",!0),Ee(de,rt,jt,"\u2216","\\setminus"),Ee(de,rt,jt,"\u2227","\\land"),Ee(de,rt,jt,"\u2228","\\lor"),Ee(de,rt,jt,"\u2227","\\wedge",!0),Ee(de,rt,jt,"\u2228","\\vee",!0),Ee(de,rt,Ze,"\u221A","\\surd"),Ee(de,rt,Ht,"(","("),Ee(de,rt,Ht,"[","["),Ee(de,rt,Ht,"\u27E8","\\langle",!0),Ee(de,rt,Ht,"\u2223","\\lvert"),Ee(de,rt,Ht,"\u2225","\\lVert"),Ee(de,rt,He,")",")"),Ee(de,rt,He,"]","]"),Ee(de,rt,He,"?","?"),Ee(de,rt,He,"!","!"),Ee(de,rt,He,"\u27E9","\\rangle",!0),Ee(de,rt,He,"\u2223","\\rvert"),Ee(de,rt,He,"\u2225","\\rVert"),Ee(de,rt,ot,"=","="),Ee(de,rt,ot,"<","<"),Ee(de,rt,ot,">",">"),Ee(de,rt,ot,":",":"),Ee(de,rt,ot,"\u2248","\\approx",!0),Ee(de,rt,ot,"\u2245","\\cong",!0),Ee(de,rt,ot,"\u2265","\\ge"),Ee(de,rt,ot,"\u2265","\\geq",!0),Ee(de,rt,ot,"\u2190","\\gets"),Ee(de,rt,ot,">","\\gt"),Ee(de,rt,ot,"\u2208","\\in",!0),Ee(de,rt,ot,"\uE020","\\@not"),Ee(de,rt,ot,"\u2282","\\subset",!0),Ee(de,rt,ot,"\u2283","\\supset",!0),Ee(de,rt,ot,"\u2286","\\subseteq",!0),Ee(de,rt,ot,"\u2287","\\supseteq",!0),Ee(de,ve,ot,"\u2288","\\nsubseteq",!0),Ee(de,ve,ot,"\u2289","\\nsupseteq",!0),Ee(de,rt,ot,"\u22A8","\\models"),Ee(de,rt,ot,"\u2190","\\leftarrow",!0),Ee(de,rt,ot,"\u2264","\\le"),Ee(de,rt,ot,"\u2264","\\leq",!0),Ee(de,rt,ot,"<","\\lt"),Ee(de,rt,ot,"\u2192","\\rightarrow",!0),Ee(de,rt,ot,"\u2192","\\to"),Ee(de,ve,ot,"\u2271","\\ngeq",!0),Ee(de,ve,ot,"\u2270","\\nleq",!0),Ee(de,rt,et,"\xA0","\\ "),Ee(de,rt,et,"\xA0","~"),Ee(de,rt,et,"\xA0","\\space"),Ee(de,rt,et,"\xA0","\\nobreakspace"),Ee(qe,rt,et,"\xA0","\\ "),Ee(qe,rt,et,"\xA0","~"),Ee(qe,rt,et,"\xA0","\\space"),Ee(qe,rt,et,"\xA0","\\nobreakspace"),Ee(de,rt,et,null,"\\nobreak"),Ee(de,rt,et,null,"\\allowbreak"),Ee(de,rt,Kt,",",","),Ee(de,rt,Kt,";",";"),Ee(de,ve,jt,"\u22BC","\\barwedge",!0),Ee(de,ve,jt,"\u22BB","\\veebar",!0),Ee(de,rt,jt,"\u2299","\\odot",!0),Ee(de,rt,jt,"\u2295","\\oplus",!0),Ee(de,rt,jt,"\u2297","\\otimes",!0),Ee(de,rt,Ze,"\u2202","\\partial",!0),Ee(de,rt,jt,"\u2298","\\oslash",!0),Ee(de,ve,jt,"\u229A","\\circledcirc",!0),Ee(de,ve,jt,"\u22A1","\\boxdot",!0),Ee(de,rt,jt,"\u25B3","\\bigtriangleup"),Ee(de,rt,jt,"\u25BD","\\bigtriangledown"),Ee(de,rt,jt,"\u2020","\\dagger"),Ee(de,rt,jt,"\u22C4","\\diamond"),Ee(de,rt,jt,"\u22C6","\\star"),Ee(de,rt,jt,"\u25C3","\\triangleleft"),Ee(de,rt,jt,"\u25B9","\\triangleright"),Ee(de,rt,Ht,"{","\\{"),Ee(qe,rt,Ze,"{","\\{"),Ee(qe,rt,Ze,"{","\\textbraceleft"),Ee(de,rt,He,"}","\\}"),Ee(qe,rt,Ze,"}","\\}"),Ee(qe,rt,Ze,"}","\\textbraceright"),Ee(de,rt,Ht,"{","\\lbrace"),Ee(de,rt,He,"}","\\rbrace"),Ee(de,rt,Ht,"[","\\lbrack"),Ee(qe,rt,Ze,"[","\\lbrack"),Ee(de,rt,He,"]","\\rbrack"),Ee(qe,rt,Ze,"]","\\rbrack"),Ee(de,rt,Ht,"(","\\lparen"),Ee(de,rt,He,")","\\rparen"),Ee(qe,rt,Ze,"<","\\textless"),Ee(qe,rt,Ze,">","\\textgreater"),Ee(de,rt,Ht,"\u230A","\\lfloor",!0),Ee(de,rt,He,"\u230B","\\rfloor",!0),Ee(de,rt,Ht,"\u2308","\\lceil",!0),Ee(de,rt,He,"\u2309","\\rceil",!0),Ee(de,rt,Ze,"\\","\\backslash"),Ee(de,rt,Ze,"\u2223","|"),Ee(de,rt,Ze,"\u2223","\\vert"),Ee(qe,rt,Ze,"|","\\textbar"),Ee(de,rt,Ze,"\u2225","\\|"),Ee(de,rt,Ze,"\u2225","\\Vert"),Ee(qe,rt,Ze,"\u2225","\\textbardbl"),Ee(qe,rt,Ze,"~","\\textasciitilde"),Ee(qe,rt,Ze,"\\","\\textbackslash"),Ee(qe,rt,Ze,"^","\\textasciicircum"),Ee(de,rt,ot,"\u2191","\\uparrow",!0),Ee(de,rt,ot,"\u21D1","\\Uparrow",!0),Ee(de,rt,ot,"\u2193","\\downarrow",!0),Ee(de,rt,ot,"\u21D3","\\Downarrow",!0),Ee(de,rt,ot,"\u2195","\\updownarrow",!0),Ee(de,rt,ot,"\u21D5","\\Updownarrow",!0),Ee(de,rt,at,"\u2210","\\coprod"),Ee(de,rt,at,"\u22C1","\\bigvee"),Ee(de,rt,at,"\u22C0","\\bigwedge"),Ee(de,rt,at,"\u2A04","\\biguplus"),Ee(de,rt,at,"\u22C2","\\bigcap"),Ee(de,rt,at,"\u22C3","\\bigcup"),Ee(de,rt,at,"\u222B","\\int"),Ee(de,rt,at,"\u222B","\\intop"),Ee(de,rt,at,"\u222C","\\iint"),Ee(de,rt,at,"\u222D","\\iiint"),Ee(de,rt,at,"\u220F","\\prod"),Ee(de,rt,at,"\u2211","\\sum"),Ee(de,rt,at,"\u2A02","\\bigotimes"),Ee(de,rt,at,"\u2A01","\\bigoplus"),Ee(de,rt,at,"\u2A00","\\bigodot"),Ee(de,rt,at,"\u222E","\\oint"),Ee(de,rt,at,"\u222F","\\oiint"),Ee(de,rt,at,"\u2230","\\oiiint"),Ee(de,rt,at,"\u2A06","\\bigsqcup"),Ee(de,rt,at,"\u222B","\\smallint"),Ee(qe,rt,kt,"\u2026","\\textellipsis"),Ee(de,rt,kt,"\u2026","\\mathellipsis"),Ee(qe,rt,kt,"\u2026","\\ldots",!0),Ee(de,rt,kt,"\u2026","\\ldots",!0),Ee(de,rt,kt,"\u22EF","\\@cdots",!0),Ee(de,rt,kt,"\u22F1","\\ddots",!0),Ee(de,rt,Ze,"\u22EE","\\varvdots"),Ee(de,rt,bt,"\u02CA","\\acute"),Ee(de,rt,bt,"\u02CB","\\grave"),Ee(de,rt,bt,"\xA8","\\ddot"),Ee(de,rt,bt,"~","\\tilde"),Ee(de,rt,bt,"\u02C9","\\bar"),Ee(de,rt,bt,"\u02D8","\\breve"),Ee(de,rt,bt,"\u02C7","\\check"),Ee(de,rt,bt,"^","\\hat"),Ee(de,rt,bt,"\u20D7","\\vec"),Ee(de,rt,bt,"\u02D9","\\dot"),Ee(de,rt,bt,"\u02DA","\\mathring"),Ee(de,rt,Ar,"\u0131","\\imath",!0),Ee(de,rt,Ar,"\u0237","\\jmath",!0),Ee(qe,rt,Ze,"\u0131","\\i",!0),Ee(qe,rt,Ze,"\u0237","\\j",!0),Ee(qe,rt,Ze,"\xDF","\\ss",!0),Ee(qe,rt,Ze,"\xE6","\\ae",!0),Ee(qe,rt,Ze,"\xE6","\\ae",!0),Ee(qe,rt,Ze,"\u0153","\\oe",!0),Ee(qe,rt,Ze,"\xF8","\\o",!0),Ee(qe,rt,Ze,"\xC6","\\AE",!0),Ee(qe,rt,Ze,"\u0152","\\OE",!0),Ee(qe,rt,Ze,"\xD8","\\O",!0),Ee(qe,rt,bt,"\u02CA","\\'"),Ee(qe,rt,bt,"\u02CB","\\`"),Ee(qe,rt,bt,"\u02C6","\\^"),Ee(qe,rt,bt,"\u02DC","\\~"),Ee(qe,rt,bt,"\u02C9","\\="),Ee(qe,rt,bt,"\u02D8","\\u"),Ee(qe,rt,bt,"\u02D9","\\."),Ee(qe,rt,bt,"\u02DA","\\r"),Ee(qe,rt,bt,"\u02C7","\\v"),Ee(qe,rt,bt,"\xA8",'\\"'),Ee(qe,rt,bt,"\u02DD","\\H"),Ee(qe,rt,bt,"\u25EF","\\textcircled");var Gt={"--":!0,"---":!0,"``":!0,"''":!0};Ee(qe,rt,Ze,"\u2013","--"),Ee(qe,rt,Ze,"\u2013","\\textendash"),Ee(qe,rt,Ze,"\u2014","---"),Ee(qe,rt,Ze,"\u2014","\\textemdash"),Ee(qe,rt,Ze,"\u2018","`"),Ee(qe,rt,Ze,"\u2018","\\textquoteleft"),Ee(qe,rt,Ze,"\u2019","'"),Ee(qe,rt,Ze,"\u2019","\\textquoteright"),Ee(qe,rt,Ze,"\u201C","``"),Ee(qe,rt,Ze,"\u201C","\\textquotedblleft"),Ee(qe,rt,Ze,"\u201D","''"),Ee(qe,rt,Ze,"\u201D","\\textquotedblright"),Ee(de,rt,Ze,"\xB0","\\degree",!0),Ee(qe,rt,Ze,"\xB0","\\degree"),Ee(qe,rt,Ze,"\xB0","\\textdegree",!0),Ee(de,rt,Ar,"\xA3","\\pounds"),Ee(de,rt,Ar,"\xA3","\\mathsterling",!0),Ee(qe,rt,Ar,"\xA3","\\pounds"),Ee(qe,rt,Ar,"\xA3","\\textsterling",!0),Ee(de,ve,Ze,"\u2720","\\maltese"),Ee(qe,ve,Ze,"\u2720","\\maltese"),Ee(qe,rt,et,"\xA0","\\ "),Ee(qe,rt,et,"\xA0"," "),Ee(qe,rt,et,"\xA0","~");for(var yr='0123456789/@."',br=0;brCe&&(Ce=Yt.height),Yt.depth>Ie&&(Ie=Yt.depth),Yt.maxFontSize>Ye&&(Ye=Yt.maxFontSize)}he.height=Ce,he.depth=Ie,he.maxFontSize=Ye},Xe=function(he,Ce,Ie,Ye){var _t=new Y(he,Ce,Ie,Ye);return Me(_t),_t},Qe=function(he,Ce,Ie,Ye){return new Y(he,Ce,Ie,Ye)},st=function(he,Ce,Ie){var Ye=Xe([he],[],Ce);return Ye.height=Math.max(Ie||Ce.fontMetrics().defaultRuleThickness,Ce.minRuleThickness),Ye.style.borderBottomWidth=Ye.height+"em",Ye.maxFontSize=1,Ye},nt=function(he,Ce,Ie,Ye){var _t=new te(he,Ce,Ie,Ye);return Me(_t),_t},ft=function(he){var Ce=new ee(he);return Me(Ce),Ce},Bt=function(he,Ce){return he instanceof ee?Xe([],[he],Ce):he},Et=function(he){if(he.positionType==="individualShift"){for(var Ce=he.children,Ie=[Ce[0]],Ye=-Ce[0].shift-Ce[0].elem.depth,_t=Ye,Yt=1;Yt0&&(Ye.push(qi(_t,he)),_t=[]),Ye.push(Ie[Yt]));_t.length>0&&Ye.push(qi(_t,he));var Yr;Ce&&(Yr=qi(Un(Ce,he,!0)),Yr.classes=["tag"],Ye.push(Yr));var yn=na(["katex-html"],Ye);if(yn.setAttribute("aria-hidden","true"),Yr){var Jn=Yr.children[0];Jn.style.height=yn.height+yn.depth+"em",Jn.style.verticalAlign=-yn.depth+"em"}return yn}function ya(Lt){return new ee(Lt)}var co=function(){function Lt(Ce,Ie){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=Ce,this.attributes={},this.children=Ie||[]}var he=Lt.prototype;return he.setAttribute=function(Ie,Ye){this.attributes[Ie]=Ye},he.getAttribute=function(Ie){return this.attributes[Ie]},he.toNode=function(){var Ie=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var Ye in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ye)&&Ie.setAttribute(Ye,this.attributes[Ye]);for(var _t=0;_t",Ie},he.toText=function(){return this.children.map(function(Ie){return Ie.toText()}).join("")},Lt}(),io=function(){function Lt(Ce){this.text=void 0,this.text=Ce}var he=Lt.prototype;return he.toNode=function(){return document.createTextNode(this.text)},he.toMarkup=function(){return v.escape(this.toText())},he.toText=function(){return this.text},Lt}(),rs=function(){function Lt(Ce){this.width=void 0,this.character=void 0,this.width=Ce,Ce>=.05555&&Ce<=.05556?this.character="\u200A":Ce>=.1666&&Ce<=.1667?this.character="\u2009":Ce>=.2222&&Ce<=.2223?this.character="\u2005":Ce>=.2777&&Ce<=.2778?this.character="\u2005\u200A":Ce>=-.05556&&Ce<=-.05555?this.character="\u200A\u2063":Ce>=-.1667&&Ce<=-.1666?this.character="\u2009\u2063":Ce>=-.2223&&Ce<=-.2222?this.character="\u205F\u2063":Ce>=-.2778&&Ce<=-.2777?this.character="\u2005\u2063":this.character=null}var he=Lt.prototype;return he.toNode=function(){if(this.character)return document.createTextNode(this.character);var Ie=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Ie.setAttribute("width",this.width+"em"),Ie},he.toMarkup=function(){return this.character?""+this.character+"":''},he.toText=function(){return this.character?this.character:" "},Lt}(),Pi={MathNode:co,TextNode:io,SpaceNode:rs,newDocumentFragment:ya},dn=function(he,Ce,Ie){return ht[Ce][he]&&ht[Ce][he].replace&&he.charCodeAt(0)!==55349&&!(Gt.hasOwnProperty(he)&&Ie&&(Ie.fontFamily&&Ie.fontFamily.substr(4,2)==="tt"||Ie.font&&Ie.font.substr(4,2)==="tt"))&&(he=ht[Ce][he].replace),new Pi.TextNode(he)},ha=function(he){return he.length===1?he[0]:new Pi.MathNode("mrow",he)},ba=function(he,Ce){if(Ce.fontFamily==="texttt")return"monospace";if(Ce.fontFamily==="textsf")return Ce.fontShape==="textit"&&Ce.fontWeight==="textbf"?"sans-serif-bold-italic":Ce.fontShape==="textit"?"sans-serif-italic":Ce.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(Ce.fontShape==="textit"&&Ce.fontWeight==="textbf")return"bold-italic";if(Ce.fontShape==="textit")return"italic";if(Ce.fontWeight==="textbf")return"bold";var Ie=Ce.font;if(!Ie||Ie==="mathnormal")return null;var Ye=he.mode;if(Ie==="mathit")return"italic";if(Ie==="boldsymbol")return"bold-italic";if(Ie==="mathbf")return"bold";if(Ie==="mathbb")return"double-struck";if(Ie==="mathfrak")return"fraktur";if(Ie==="mathscr"||Ie==="mathcal")return"script";if(Ie==="mathsf")return"sans-serif";if(Ie==="mathtt")return"monospace";var _t=he.text;if(v.contains(["\\imath","\\jmath"],_t))return null;ht[Ye][_t]&&ht[Ye][_t].replace&&(_t=ht[Ye][_t].replace);var Yt=Er.fontMap[Ie].fontName;return ut(_t,Yt,Ye)?Er.fontMap[Ie].variant:null},ta=function(he,Ce,Ie){if(he.length===1){var Ye=lr(he[0],Ce);return Ie&&Ye instanceof co&&Ye.type==="mo"&&(Ye.setAttribute("lspace","0em"),Ye.setAttribute("rspace","0em")),[Ye]}for(var _t=[],Yt,Pr=0;Pr0&&(Ka.text=Ka.text.slice(0,1)+"\u0338"+Ka.text.slice(1),_t.pop())}}}_t.push(Yr),Yt=Yr}return _t},so=function(he,Ce,Ie){return ha(ta(he,Ce,Ie))},lr=function(he,Ce){if(!he)return new Pi.MathNode("mrow");if($n[he.type]){var Ie=$n[he.type](he,Ce);return Ie}else throw new d("Got group of unknown type: '"+he.type+"'")};function pn(Lt,he,Ce,Ie){var Ye=ta(Lt,Ce),_t;Ye.length===1&&Ye[0]instanceof co&&v.contains(["mrow","mtable"],Ye[0].type)?_t=Ye[0]:_t=new Pi.MathNode("mrow",Ye);var Yt=new Pi.MathNode("annotation",[new Pi.TextNode(he)]);Yt.setAttribute("encoding","application/x-tex");var Pr=new Pi.MathNode("semantics",[_t,Yt]),Yr=new Pi.MathNode("math",[Pr]);Yr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var yn=Ie?"katex":"katex-mathml";return Er.makeSpan([yn],[Yr])}var _n=function(he){return new rr({style:he.displayMode?K.DISPLAY:K.TEXT,maxSize:he.maxSize,minRuleThickness:he.minRuleThickness})},Pn=function(he,Ce){if(Ce.displayMode){var Ie=["katex-display"];Ce.leqno&&Ie.push("leqno"),Ce.fleqn&&Ie.push("fleqn"),he=Er.makeSpan(Ie,[he])}return he},ct=function(he,Ce,Ie){var Ye=_n(Ie),_t;if(Ie.output==="mathml")return pn(he,Ce,Ye,!0);if(Ie.output==="html"){var Yt=ea(he,Ye);_t=Er.makeSpan(["katex"],[Yt])}else{var Pr=pn(he,Ce,Ye,!1),Yr=ea(he,Ye);_t=Er.makeSpan(["katex"],[Pr,Yr])}return Pn(_t,Ie)},Vt=function(he,Ce,Ie){var Ye=_n(Ie),_t=ea(he,Ye),Yt=Er.makeSpan(["katex"],[_t]);return Pn(Yt,Ie)},Cr=ct,xr={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},Gr=function(he){var Ce=new Pi.MathNode("mo",[new Pi.TextNode(xr[he.substr(1)])]);return Ce.setAttribute("stretchy","true"),Ce},$r={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},hn=function(he){return he.type==="ordgroup"?he.body.length:1},On=function(he,Ce){function Ie(){var Yr=4e5,yn=he.label.substr(1);if(v.contains(["widehat","widecheck","widetilde","utilde"],yn)){var Jn=he,Ci=hn(Jn.base),Xi,ga,Ka;if(Ci>5)yn==="widehat"||yn==="widecheck"?(Xi=420,Yr=2364,Ka=.42,ga=yn+"4"):(Xi=312,Yr=2340,Ka=.34,ga="tilde4");else{var go=[1,1,2,2,3,3][Ci];yn==="widehat"||yn==="widecheck"?(Yr=[0,1062,2364,2364,2364][go],Xi=[0,239,300,360,420][go],Ka=[0,.24,.3,.3,.36,.42][go],ga=yn+go):(Yr=[0,600,1033,2339,2340][go],Xi=[0,260,286,306,312][go],Ka=[0,.26,.286,.3,.306,.34][go],ga="tilde"+go)}var No=new me(ga),As=new Ne([No],{width:"100%",height:Ka+"em",viewBox:"0 0 "+Yr+" "+Xi,preserveAspectRatio:"none"});return{span:Er.makeSvgSpan([],[As],Ce),minWidth:0,height:Ka}}else{var ss=[],ps=$r[yn],nl=ps[0],Ws=ps[1],dl=ps[2],ls=dl/1e3,Ys=nl.length,Rl,kl;if(Ys===1){var el=ps[3];Rl=["hide-tail"],kl=[el]}else if(Ys===2)Rl=["halfarrow-left","halfarrow-right"],kl=["xMinYMin","xMaxYMin"];else if(Ys===3)Rl=["brace-left","brace-center","brace-right"],kl=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+Ys+" children.");for(var Cl=0;Cl0&&(_t.style.minWidth=Yt+"em"),_t},Qn=function(he,Ce,Ie,Ye){var _t,Yt=he.height+he.depth+2*Ie;if(/fbox|color/.test(Ce)){if(_t=Er.makeSpan(["stretchy",Ce],[],Ye),Ce==="fbox"){var Pr=Ye.color&&Ye.getColor();Pr&&(_t.style.borderColor=Pr)}}else{var Yr=[];/^[bx]cancel$/.test(Ce)&&Yr.push(new be({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(Ce)&&Yr.push(new be({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var yn=new Ne(Yr,{width:"100%",height:Yt+"em"});_t=Er.makeSvgSpan([],[yn],Ye)}return _t.height=Yt,_t.style.height=Yt+"em",_t},qn={encloseSpan:Qn,mathMLnode:Gr,svgSpan:On},si=function(he,Ce){var Ie,Ye,_t=rn(he,"supsub"),Yt;_t?(Ye=gn(_t.base,"accent"),Ie=Ye.base,_t.base=Ie,Yt=it(Zi(_t,Ce)),_t.base=Ye):(Ye=gn(he,"accent"),Ie=Ye.base);var Pr=Zi(Ie,Ce.havingCrampedStyle()),Yr=Ye.isShifty&&v.isCharacterBox(Ie),yn=0;if(Yr){var Jn=v.getBaseElem(Ie),Ci=Zi(Jn,Ce.havingCrampedStyle());yn=Re(Ci).skew}var Xi=Math.min(Pr.height,Ce.fontMetrics().xHeight),ga;if(Ye.isStretchy)ga=qn.svgSpan(Ye,Ce),ga=Er.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pr},{type:"elem",elem:ga,wrapperClasses:["svg-align"],wrapperStyle:yn>0?{width:"calc(100% - "+2*yn+"em)",marginLeft:2*yn+"em"}:void 0}]},Ce);else{var Ka,go;Ye.label==="\\vec"?(Ka=Er.staticSvg("vec",Ce),go=Er.svgData.vec[1]):(Ka=Er.makeOrd({mode:Ye.mode,text:Ye.label},Ce,"textord"),Ka=Re(Ka),Ka.italic=0,go=Ka.width),ga=Er.makeSpan(["accent-body"],[Ka]);var No=Ye.label==="\\textcircled";No&&(ga.classes.push("accent-full"),Xi=Pr.height);var As=yn;No||(As-=go/2),ga.style.left=As+"em",Ye.label==="\\textcircled"&&(ga.style.top=".2em"),ga=Er.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pr},{type:"kern",size:-Xi},{type:"elem",elem:ga}]},Ce)}var ss=Er.makeSpan(["mord","accent"],[ga],Ce);return Yt?(Yt.children[0]=ss,Yt.height=Math.max(ss.height,Yt.height),Yt.classes[0]="mord",Yt):ss},oi=function(he,Ce){var Ie=he.isStretchy?qn.mathMLnode(he.label):new Pi.MathNode("mo",[dn(he.label,he.mode)]),Ye=new Pi.MathNode("mover",[lr(he.base,Ce),Ie]);return Ye.setAttribute("accent","true"),Ye},Wn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Lt){return"\\"+Lt}).join("|"));Cn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(he,Ce){var Ie=Ce[0],Ye=!Wn.test(he.funcName),_t=!Ye||he.funcName==="\\widehat"||he.funcName==="\\widetilde"||he.funcName==="\\widecheck";return{type:"accent",mode:he.parser.mode,label:he.funcName,isStretchy:Ye,isShifty:_t,base:Ie}},htmlBuilder:si,mathmlBuilder:oi}),Cn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(he,Ce){var Ie=Ce[0];return{type:"accent",mode:he.parser.mode,label:he.funcName,isStretchy:!1,isShifty:!0,base:Ie}},htmlBuilder:si,mathmlBuilder:oi}),Cn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=Ce[0];return{type:"accentUnder",mode:Ie.mode,label:Ye,base:_t}},htmlBuilder:function(he,Ce){var Ie=Zi(he.base,Ce),Ye=qn.svgSpan(he,Ce),_t=he.label==="\\utilde"?.12:0,Yt=Er.makeVList({positionType:"bottom",positionData:Ye.height+_t,children:[{type:"elem",elem:Ye,wrapperClasses:["svg-align"]},{type:"kern",size:_t},{type:"elem",elem:Ie}]},Ce);return Er.makeSpan(["mord","accentunder"],[Yt],Ce)},mathmlBuilder:function(he,Ce){var Ie=qn.mathMLnode(he.label),Ye=new Pi.MathNode("munder",[lr(he.base,Ce),Ie]);return Ye.setAttribute("accentunder","true"),Ye}});var Zn=function(he){var Ce=new Pi.MathNode("mpadded",he?[he]:[]);return Ce.setAttribute("width","+0.6em"),Ce.setAttribute("lspace","0.3em"),Ce};Cn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(he,Ce,Ie){var Ye=he.parser,_t=he.funcName;return{type:"xArrow",mode:Ye.mode,label:_t,body:Ce[0],below:Ie[0]}},htmlBuilder:function(he,Ce){var Ie=Ce.style,Ye=Ce.havingStyle(Ie.sup()),_t=Er.wrapFragment(Zi(he.body,Ye,Ce),Ce);_t.classes.push("x-arrow-pad");var Yt;he.below&&(Ye=Ce.havingStyle(Ie.sub()),Yt=Er.wrapFragment(Zi(he.below,Ye,Ce),Ce),Yt.classes.push("x-arrow-pad"));var Pr=qn.svgSpan(he,Ce),Yr=-Ce.fontMetrics().axisHeight+.5*Pr.height,yn=-Ce.fontMetrics().axisHeight-.5*Pr.height-.111;(_t.depth>.25||he.label==="\\xleftequilibrium")&&(yn-=_t.depth);var Jn;if(Yt){var Ci=-Ce.fontMetrics().axisHeight+Yt.height+.5*Pr.height+.111;Jn=Er.makeVList({positionType:"individualShift",children:[{type:"elem",elem:_t,shift:yn},{type:"elem",elem:Pr,shift:Yr},{type:"elem",elem:Yt,shift:Ci}]},Ce)}else Jn=Er.makeVList({positionType:"individualShift",children:[{type:"elem",elem:_t,shift:yn},{type:"elem",elem:Pr,shift:Yr}]},Ce);return Jn.children[0].children[0].children[1].classes.push("svg-align"),Er.makeSpan(["mrel","x-arrow"],[Jn],Ce)},mathmlBuilder:function(he,Ce){var Ie=qn.mathMLnode(he.label),Ye;if(he.body){var _t=Zn(lr(he.body,Ce));if(he.below){var Yt=Zn(lr(he.below,Ce));Ye=new Pi.MathNode("munderover",[Ie,Yt,_t])}else Ye=new Pi.MathNode("mover",[Ie,_t])}else if(he.below){var Pr=Zn(lr(he.below,Ce));Ye=new Pi.MathNode("munder",[Ie,Pr])}else Ye=Zn(),Ye=new Pi.MathNode("mover",[Ie,Ye]);return Ye}}),Cn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(he,Ce){for(var Ie=he.parser,Ye=gn(Ce[0],"ordgroup"),_t=Ye.body,Yt="",Pr=0;Pr<_t.length;Pr++){var Yr=gn(_t[Pr],"textord");Yt+=Yr.text}var yn=parseInt(Yt);if(isNaN(yn))throw new d("\\@char has non-numeric argument "+Yt);return{type:"textord",mode:Ie.mode,text:String.fromCharCode(yn)}}});var ni=function(he,Ce){var Ie=Un(he.body,Ce.withColor(he.color),!1);return Er.makeFragment(Ie)},wi=function(he,Ce){var Ie=ta(he.body,Ce.withColor(he.color)),Ye=new Pi.MathNode("mstyle",Ie);return Ye.setAttribute("mathcolor",he.color),Ye};Cn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(he,Ce){var Ie=he.parser,Ye=gn(Ce[0],"color-token").color,_t=Ce[1];return{type:"color",mode:Ie.mode,color:Ye,body:In(_t)}},htmlBuilder:ni,mathmlBuilder:wi}),Cn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(he,Ce){var Ie=he.parser,Ye=he.breakOnTokenText,_t=gn(Ce[0],"color-token").color;Ie.gullet.macros.set("\\current@color",_t);var Yt=Ie.parseExpression(!0,Ye);return{type:"color",mode:Ie.mode,color:_t,body:Yt}},htmlBuilder:ni,mathmlBuilder:wi}),Cn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(he,Ce,Ie){var Ye=he.parser,_t=he.funcName,Yt=Ie[0],Pr=_t==="\\cr",Yr=!1;return Pr||(Ye.settings.displayMode&&Ye.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Yr=!1:Yr=!0),{type:"cr",mode:Ye.mode,newLine:Yr,newRow:Pr,size:Yt&&gn(Yt,"size").value}},htmlBuilder:function(he,Ce){if(he.newRow)throw new d("\\cr valid only within a tabular/array environment");var Ie=Er.makeSpan(["mspace"],[],Ce);return he.newLine&&(Ie.classes.push("newline"),he.size&&(Ie.style.marginTop=dr(he.size,Ce)+"em")),Ie},mathmlBuilder:function(he,Ce){var Ie=new Pi.MathNode("mspace");return he.newLine&&(Ie.setAttribute("linebreak","newline"),he.size&&Ie.setAttribute("height",dr(he.size,Ce)+"em")),Ie}});var Di=function(he,Ce,Ie){var Ye=ht.math[he]&&ht.math[he].replace,_t=ut(Ye||he,Ce,Ie);if(!_t)throw new Error("Unsupported symbol "+he+" and font size "+Ce+".");return _t},Ui=function(he,Ce,Ie,Ye){var _t=Ie.havingBaseStyle(Ce),Yt=Er.makeSpan(Ye.concat(_t.sizingClasses(Ie)),[he],Ie),Pr=_t.sizeMultiplier/Ie.sizeMultiplier;return Yt.height*=Pr,Yt.depth*=Pr,Yt.maxFontSize=_t.sizeMultiplier,Yt},ca=function(he,Ce,Ie){var Ye=Ce.havingBaseStyle(Ie),_t=(1-Ce.sizeMultiplier/Ye.sizeMultiplier)*Ce.fontMetrics().axisHeight;he.classes.push("delimcenter"),he.style.top=_t+"em",he.height-=_t,he.depth+=_t},ia=function(he,Ce,Ie,Ye,_t,Yt){var Pr=Er.makeSymbol(he,"Main-Regular",_t,Ye),Yr=Ui(Pr,Ce,Ye,Yt);return Ie&&ca(Yr,Ye,Ce),Yr},Ia=function(he,Ce,Ie,Ye){return Er.makeSymbol(he,"Size"+Ce+"-Regular",Ie,Ye)},Fa=function(he,Ce,Ie,Ye,_t,Yt){var Pr=Ia(he,Ce,_t,Ye),Yr=Ui(Er.makeSpan(["delimsizing","size"+Ce],[Pr],Ye),K.TEXT,Ye,Yt);return Ie&&ca(Yr,Ye,K.TEXT),Yr},Aa=function(he,Ce,Ie){var Ye;Ce==="Size1-Regular"?Ye="delim-size1":Ye="delim-size4";var _t=Er.makeSpan(["delimsizinginner",Ye],[Er.makeSpan([],[Er.makeSymbol(he,Ce,Ie)])]);return{type:"elem",elem:_t}},Ea={type:"kern",size:-.005},xa=function(he,Ce,Ie,Ye,_t,Yt){var Pr,Yr,yn,Jn;Pr=yn=Jn=he,Yr=null;var Ci="Size1-Regular";he==="\\uparrow"?yn=Jn="\u23D0":he==="\\Uparrow"?yn=Jn="\u2016":he==="\\downarrow"?Pr=yn="\u23D0":he==="\\Downarrow"?Pr=yn="\u2016":he==="\\updownarrow"?(Pr="\\uparrow",yn="\u23D0",Jn="\\downarrow"):he==="\\Updownarrow"?(Pr="\\Uparrow",yn="\u2016",Jn="\\Downarrow"):he==="["||he==="\\lbrack"?(Pr="\u23A1",yn="\u23A2",Jn="\u23A3",Ci="Size4-Regular"):he==="]"||he==="\\rbrack"?(Pr="\u23A4",yn="\u23A5",Jn="\u23A6",Ci="Size4-Regular"):he==="\\lfloor"||he==="\u230A"?(yn=Pr="\u23A2",Jn="\u23A3",Ci="Size4-Regular"):he==="\\lceil"||he==="\u2308"?(Pr="\u23A1",yn=Jn="\u23A2",Ci="Size4-Regular"):he==="\\rfloor"||he==="\u230B"?(yn=Pr="\u23A5",Jn="\u23A6",Ci="Size4-Regular"):he==="\\rceil"||he==="\u2309"?(Pr="\u23A4",yn=Jn="\u23A5",Ci="Size4-Regular"):he==="("||he==="\\lparen"?(Pr="\u239B",yn="\u239C",Jn="\u239D",Ci="Size4-Regular"):he===")"||he==="\\rparen"?(Pr="\u239E",yn="\u239F",Jn="\u23A0",Ci="Size4-Regular"):he==="\\{"||he==="\\lbrace"?(Pr="\u23A7",Yr="\u23A8",Jn="\u23A9",yn="\u23AA",Ci="Size4-Regular"):he==="\\}"||he==="\\rbrace"?(Pr="\u23AB",Yr="\u23AC",Jn="\u23AD",yn="\u23AA",Ci="Size4-Regular"):he==="\\lgroup"||he==="\u27EE"?(Pr="\u23A7",Jn="\u23A9",yn="\u23AA",Ci="Size4-Regular"):he==="\\rgroup"||he==="\u27EF"?(Pr="\u23AB",Jn="\u23AD",yn="\u23AA",Ci="Size4-Regular"):he==="\\lmoustache"||he==="\u23B0"?(Pr="\u23A7",Jn="\u23AD",yn="\u23AA",Ci="Size4-Regular"):(he==="\\rmoustache"||he==="\u23B1")&&(Pr="\u23AB",Jn="\u23A9",yn="\u23AA",Ci="Size4-Regular");var Xi=Di(Pr,Ci,_t),ga=Xi.height+Xi.depth,Ka=Di(yn,Ci,_t),go=Ka.height+Ka.depth,No=Di(Jn,Ci,_t),As=No.height+No.depth,ss=0,ps=1;if(Yr!==null){var nl=Di(Yr,Ci,_t);ss=nl.height+nl.depth,ps=2}var Ws=ga+As+ss,dl=Math.max(0,Math.ceil((Ce-Ws)/(ps*go))),ls=Ws+dl*ps*go,Ys=Ye.fontMetrics().axisHeight;Ie&&(Ys*=Ye.sizeMultiplier);var Rl=ls/2-Ys,kl=(dl+1)*.005-go,el=[];if(el.push(Aa(Jn,Ci,_t)),Yr===null)for(var Cl=0;Cl","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],hr=[0,1.2,1.8,2.4,3],jr=function(he,Ce,Ie,Ye,_t){if(he==="<"||he==="\\lt"||he==="\u27E8"?he="\\langle":(he===">"||he==="\\gt"||he==="\u27E9")&&(he="\\rangle"),v.contains(Qr,he)||v.contains(Zr,he))return Fa(he,Ce,!1,Ie,Ye,_t);if(v.contains(bn,he))return xa(he,hr[Ce],!1,Ie,Ye,_t);throw new d("Illegal delimiter: '"+he+"'")},wr=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],an=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"stack"}],Jr=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],kn=function(he){if(he.type==="small")return"Main-Regular";if(he.type==="large")return"Size"+he.size+"-Regular";if(he.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+he.type+"' here.")},Dn=function(he,Ce,Ie,Ye){for(var _t=Math.min(2,3-Ye.style.size),Yt=_t;YtCe)return Ie[Yt]}return Ie[Ie.length-1]},Xn=function(he,Ce,Ie,Ye,_t,Yt){he==="<"||he==="\\lt"||he==="\u27E8"?he="\\langle":(he===">"||he==="\\gt"||he==="\u27E9")&&(he="\\rangle");var Pr;v.contains(Zr,he)?Pr=wr:v.contains(Qr,he)?Pr=Jr:Pr=an;var Yr=Dn(he,Ce,Pr,Ye);return Yr.type==="small"?ia(he,Yr.style,Ie,Ye,_t,Yt):Yr.type==="large"?Fa(he,Yr.size,Ie,Ye,_t,Yt):xa(he,Ce,Ie,Ye,_t,Yt)},vi=function(he,Ce,Ie,Ye,_t,Yt){var Pr=Ye.fontMetrics().axisHeight*Ye.sizeMultiplier,Yr=901,yn=5/Ye.fontMetrics().ptPerEm,Jn=Math.max(Ce-Pr,Ie+Pr),Ci=Math.max(Jn/500*Yr,2*Jn-yn);return Xn(he,Ci,!0,Ye,_t,Yt)},Li={sqrtImage:Nr,sizedDelim:jr,customSizedDelim:Xn,leftRightDelim:vi},ji={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Sa=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Ga(Lt,he){var Ce=Ni(Lt);if(Ce&&v.contains(Sa,Ce.text))return Ce;throw new d("Invalid delimiter: '"+(Ce?Ce.text:JSON.stringify(Lt))+"' after '"+he.funcName+"'",Lt)}Cn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(he,Ce){var Ie=Ga(Ce[0],he);return{type:"delimsizing",mode:he.parser.mode,size:ji[he.funcName].size,mclass:ji[he.funcName].mclass,delim:Ie.text}},htmlBuilder:function(he,Ce){return he.delim==="."?Er.makeSpan([he.mclass]):Li.sizedDelim(he.delim,he.size,Ce,he.mode,[he.mclass])},mathmlBuilder:function(he){var Ce=[];he.delim!=="."&&Ce.push(dn(he.delim,he.mode));var Ie=new Pi.MathNode("mo",Ce);return he.mclass==="mopen"||he.mclass==="mclose"?Ie.setAttribute("fence","true"):Ie.setAttribute("fence","false"),Ie}});function Ya(Lt){if(!Lt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Cn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(he,Ce){var Ie=he.parser.gullet.macros.get("\\current@color");if(Ie&&typeof Ie!="string")throw new d("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:he.parser.mode,delim:Ga(Ce[0],he).text,color:Ie}}}),Cn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(he,Ce){var Ie=Ga(Ce[0],he),Ye=he.parser;++Ye.leftrightDepth;var _t=Ye.parseExpression(!1);--Ye.leftrightDepth,Ye.expect("\\right",!1);var Yt=gn(Ye.parseFunction(),"leftright-right");return{type:"leftright",mode:Ye.mode,body:_t,left:Ie.text,right:Yt.delim,rightColor:Yt.color}},htmlBuilder:function(he,Ce){Ya(he);for(var Ie=Un(he.body,Ce,!0,["mopen","mclose"]),Ye=0,_t=0,Yt=!1,Pr=0;Pr-1?"mpadded":"menclose",[lr(he.body,Ce)]);switch(he.label){case"\\cancel":Ye.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":Ye.setAttribute("notation","downdiagonalstrike");break;case"\\sout":Ye.setAttribute("notation","horizontalstrike");break;case"\\fbox":Ye.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(Ie=Ce.fontMetrics().fboxsep*Ce.fontMetrics().ptPerEm,Ye.setAttribute("width","+"+2*Ie+"pt"),Ye.setAttribute("height","+"+2*Ie+"pt"),Ye.setAttribute("lspace",Ie+"pt"),Ye.setAttribute("voffset",Ie+"pt"),he.label==="\\fcolorbox"){var _t=Math.max(Ce.fontMetrics().fboxrule,Ce.minRuleThickness);Ye.setAttribute("style","border: "+_t+"em solid "+String(he.borderColor))}break;case"\\xcancel":Ye.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return he.backgroundColor&&Ye.setAttribute("mathbackground",he.backgroundColor),Ye};Cn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(he,Ce,Ie){var Ye=he.parser,_t=he.funcName,Yt=gn(Ce[0],"color-token").color,Pr=Ce[1];return{type:"enclose",mode:Ye.mode,label:_t,backgroundColor:Yt,body:Pr}},htmlBuilder:bo,mathmlBuilder:vo}),Cn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(he,Ce,Ie){var Ye=he.parser,_t=he.funcName,Yt=gn(Ce[0],"color-token").color,Pr=gn(Ce[1],"color-token").color,Yr=Ce[2];return{type:"enclose",mode:Ye.mode,label:_t,backgroundColor:Pr,borderColor:Yt,body:Yr}},htmlBuilder:bo,mathmlBuilder:vo}),Cn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(he,Ce){var Ie=he.parser;return{type:"enclose",mode:Ie.mode,label:"\\fbox",body:Ce[0]}}}),Cn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(he,Ce,Ie){var Ye=he.parser,_t=he.funcName,Yt=Ce[0];return{type:"enclose",mode:Ye.mode,label:_t,body:Yt}},htmlBuilder:bo,mathmlBuilder:vo});var po={};function Ha(Lt){for(var he=Lt.type,Ce=Lt.names,Ie=Lt.props,Ye=Lt.handler,_t=Lt.htmlBuilder,Yt=Lt.mathmlBuilder,Pr={type:he,numArgs:Ie.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:Ye},Yr=0;Yr0&&(ps+=.25),yn.push({pos:ps,isDashed:_c[ms]})}for(nl(Yt[0]),Ie=0;Ie0&&(el+=ss,ls=Pr)continue;var al=void 0;(Ye>0||he.hskipBeforeAndAfter)&&(al=v.deflt(Yl.pregap,Xi),al!==0&&(bl=Er.makeSpan(["arraycolsep"],[]),bl.style.width=al+"em",lc.push(bl)));var lo=[];for(Ie=0;Ie<_t;++Ie){var Pc=Yr[Ie],Cc=Pc[Ye];if(!Cc)continue;var Ec=Pc.pos-Cl;Cc.depth=Pc.depth,Cc.height=Pc.height,lo.push({type:"elem",elem:Cc,shift:Ec})}lo=Er.makeVList({positionType:"individualShift",children:lo},Ce),lo=Er.makeSpan(["col-align-"+(Yl.align||"c")],[lo]),lc.push(lo),(Ye0){for(var Ql=Er.makeLineSpan("hline",Ce,Jn),Ac=Er.makeLineSpan("hdashline",Ce,Jn),Vc=[{type:"elem",elem:Yr,shift:0}];yn.length>0;){var vc=yn.pop(),Lc=vc.pos-Cl;vc.isDashed?Vc.push({type:"elem",elem:Ac,shift:Lc}):Vc.push({type:"elem",elem:Ql,shift:Lc})}Yr=Er.makeVList({positionType:"individualShift",children:Vc},Ce)}return Er.makeSpan(["mord"],[Yr],Ce)},Yo={c:"center ",l:"left ",r:"right "},ro=function(he,Ce){var Ie=new Pi.MathNode("mtable",he.body.map(function(ps){return new Pi.MathNode("mtr",ps.map(function(nl){return new Pi.MathNode("mtd",[lr(nl,Ce)])}))})),Ye=he.arraystretch===.5?.1:.16+he.arraystretch-1+(he.addJot?.09:0);Ie.setAttribute("rowspacing",Ye+"em");var _t="",Yt="";if(he.cols){var Pr=he.cols,Yr="",yn=!1,Jn=0,Ci=Pr.length;Pr[0].type==="separator"&&(_t+="top ",Jn=1),Pr[Pr.length-1].type==="separator"&&(_t+="bottom ",Ci-=1);for(var Xi=Jn;Xi0?"left ":"",_t+=As[As.length-1].length>0?"right ":"";for(var ss=1;ss0&&Xi&&(go=1),Ie[ga]={type:"align",align:Ka,pregap:go,postgap:0}}return Ye.colSeparationType=Xi?"align":"alignat",Ye};Ha({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(he,Ce){var Ie=Ni(Ce[0]),Ye=Ie?[Ce[0]]:gn(Ce[0],"ordgroup").body,_t=Ye.map(function(Pr){var Yr=gi(Pr),yn=Yr.text;if("lcr".indexOf(yn)!==-1)return{type:"align",align:yn};if(yn==="|")return{type:"separator",separator:"|"};if(yn===":")return{type:"separator",separator:":"};throw new d("Unknown column alignment: "+yn,Pr)}),Yt={cols:_t,hskipBeforeAndAfter:!0};return ao(he.parser,Yt,to(he.envName))},htmlBuilder:Po,mathmlBuilder:ro}),Ha({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(he){var Ce={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[he.envName],Ie={hskipBeforeAndAfter:!1},Ye=ao(he.parser,Ie,to(he.envName));return Ce?{type:"leftright",mode:he.mode,body:[Ye],left:Ce[0],right:Ce[1],rightColor:void 0}:Ye},htmlBuilder:Po,mathmlBuilder:ro}),Ha({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(he){var Ce={arraystretch:.5},Ie=ao(he.parser,Ce,"script");return Ie.colSeparationType="small",Ie},htmlBuilder:Po,mathmlBuilder:ro}),Ha({type:"array",names:["subarray"],props:{numArgs:1},handler:function(he,Ce){var Ie=Ni(Ce[0]),Ye=Ie?[Ce[0]]:gn(Ce[0],"ordgroup").body,_t=Ye.map(function(Pr){var Yr=gi(Pr),yn=Yr.text;if("lc".indexOf(yn)!==-1)return{type:"align",align:yn};throw new d("Unknown column alignment: "+yn,Pr)});if(_t.length>1)throw new d("{subarray} can contain only one column");var Yt={cols:_t,hskipBeforeAndAfter:!1,arraystretch:.5};if(Yt=ao(he.parser,Yt,"script"),Yt.body[0].length>1)throw new d("{subarray} can contain only one column");return Yt},htmlBuilder:Po,mathmlBuilder:ro}),Ha({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(he){var Ce={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Ie=ao(he.parser,Ce,to(he.envName));return{type:"leftright",mode:he.mode,body:[Ie],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Po,mathmlBuilder:ro}),Ha({type:"array",names:["aligned"],props:{numArgs:0},handler:za,htmlBuilder:Po,mathmlBuilder:ro}),Ha({type:"array",names:["gathered"],props:{numArgs:0},handler:function(he){var Ce={cols:[{type:"align",align:"c"}],addJot:!0};return ao(he.parser,Ce,"display")},htmlBuilder:Po,mathmlBuilder:ro}),Ha({type:"array",names:["alignedat"],props:{numArgs:1},handler:za,htmlBuilder:Po,mathmlBuilder:ro}),Cn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(he,Ce){throw new d(he.funcName+" valid only within array environment")}});var Mo=po,Io=Mo;Cn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=Ce[0];if(_t.type!=="ordgroup")throw new d("Invalid environment name",_t);for(var Yt="",Pr=0;Pr<_t.body.length;++Pr)Yt+=gn(_t.body[Pr],"textord").text;if(Ye==="\\begin"){if(!Io.hasOwnProperty(Yt))throw new d("No such environment: "+Yt,_t);var Yr=Io[Yt],yn=Ie.parseArguments("\\begin{"+Yt+"}",Yr),Jn=yn.args,Ci=yn.optArgs,Xi={mode:Ie.mode,envName:Yt,parser:Ie},ga=Yr.handler(Xi,Jn,Ci);Ie.expect("\\end",!1);var Ka=Ie.nextToken,go=gn(Ie.parseFunction(),"environment");if(go.name!==Yt)throw new d("Mismatch: \\begin{"+Yt+"} matched by \\end{"+go.name+"}",Ka);return ga}return{type:"environment",mode:Ie.mode,name:Yt,nameGroup:_t}}});var ma=Er.makeSpan;function mo(Lt,he){var Ce=Un(Lt.body,he,!0);return ma([Lt.mclass],Ce,he)}function ns(Lt,he){var Ce,Ie=ta(Lt.body,he);return Lt.mclass==="minner"?Pi.newDocumentFragment(Ie):(Lt.mclass==="mord"?Lt.isCharacterBox?(Ce=Ie[0],Ce.type="mi"):Ce=new Pi.MathNode("mi",Ie):(Lt.isCharacterBox?(Ce=Ie[0],Ce.type="mo"):Ce=new Pi.MathNode("mo",Ie),Lt.mclass==="mbin"?(Ce.attributes.lspace="0.22em",Ce.attributes.rspace="0.22em"):Lt.mclass==="mpunct"?(Ce.attributes.lspace="0em",Ce.attributes.rspace="0.17em"):(Lt.mclass==="mopen"||Lt.mclass==="mclose")&&(Ce.attributes.lspace="0em",Ce.attributes.rspace="0em")),Ce)}Cn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=Ce[0];return{type:"mclass",mode:Ie.mode,mclass:"m"+Ye.substr(5),body:In(_t),isCharacterBox:v.isCharacterBox(_t)}},htmlBuilder:mo,mathmlBuilder:ns});var Zo=function(he){var Ce=he.type==="ordgroup"&&he.body.length?he.body[0]:he;return Ce.type==="atom"&&(Ce.family==="bin"||Ce.family==="rel")?"m"+Ce.family:"mord"};Cn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(he,Ce){var Ie=he.parser;return{type:"mclass",mode:Ie.mode,mclass:Zo(Ce[0]),body:[Ce[1]],isCharacterBox:v.isCharacterBox(Ce[1])}}}),Cn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=Ce[1],Yt=Ce[0],Pr;Ye!=="\\stackrel"?Pr=Zo(_t):Pr="mrel";var Yr={type:"op",mode:_t.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:Ye!=="\\stackrel",body:In(_t)},yn={type:"supsub",mode:Yt.mode,base:Yr,sup:Ye==="\\underset"?null:Yt,sub:Ye==="\\underset"?Yt:null};return{type:"mclass",mode:Ie.mode,mclass:Pr,body:[yn],isCharacterBox:v.isCharacterBox(yn)}},htmlBuilder:mo,mathmlBuilder:ns});var Oo=function(he,Ce){var Ie=he.font,Ye=Ce.withFont(Ie);return Zi(he.body,Ye)},Ro=function(he,Ce){var Ie=he.font,Ye=Ce.withFont(Ie);return lr(he.body,Ye)},hs={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Cn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=Ce[0],Yt=Ye;return Yt in hs&&(Yt=hs[Yt]),{type:"font",mode:Ie.mode,font:Yt.slice(1),body:_t}},htmlBuilder:Oo,mathmlBuilder:Ro}),Cn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(he,Ce){var Ie=he.parser,Ye=Ce[0],_t=v.isCharacterBox(Ye);return{type:"mclass",mode:Ie.mode,mclass:Zo(Ye),body:[{type:"font",mode:Ie.mode,font:"boldsymbol",body:Ye}],isCharacterBox:_t}}}),Cn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=he.breakOnTokenText,Yt=Ie.mode,Pr=Ie.parseExpression(!0,_t),Yr="math"+Ye.slice(1);return{type:"font",mode:Yt,font:Yr,body:{type:"ordgroup",mode:Ie.mode,body:Pr}}},htmlBuilder:Oo,mathmlBuilder:Ro});var Uo=function(he,Ce){var Ie=Ce;return he==="display"?Ie=Ie.id>=K.SCRIPT.id?Ie.text():K.DISPLAY:he==="text"&&Ie.size===K.DISPLAY.size?Ie=K.TEXT:he==="script"?Ie=K.SCRIPT:he==="scriptscript"&&(Ie=K.SCRIPTSCRIPT),Ie},Ja=function(he,Ce){var Ie=Uo(he.size,Ce.style),Ye=Ie.fracNum(),_t=Ie.fracDen(),Yt;Yt=Ce.havingStyle(Ye);var Pr=Zi(he.numer,Yt,Ce);if(he.continued){var Yr=8.5/Ce.fontMetrics().ptPerEm,yn=3.5/Ce.fontMetrics().ptPerEm;Pr.height=Pr.height0?go=3*ga:go=7*ga,No=Ce.fontMetrics().denom1):(Xi>0?(Ka=Ce.fontMetrics().num2,go=ga):(Ka=Ce.fontMetrics().num3,go=3*ga),No=Ce.fontMetrics().denom2);var As;if(Ci){var ps=Ce.fontMetrics().axisHeight;Ka-Pr.depth-(ps+.5*Xi)0&&(Ce=he,Ce=Ce==="."?null:Ce),Ce};Cn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(he,Ce){var Ie=he.parser,Ye=Ce[4],_t=Ce[5],Yt=rn(Ce[0],"atom");Yt&&(Yt=Br(Ce[0],"open"));var Pr=Yt?Fs(Yt.text):null,Yr=rn(Ce[1],"atom");Yr&&(Yr=Br(Ce[1],"close"));var yn=Yr?Fs(Yr.text):null,Jn=gn(Ce[2],"size"),Ci,Xi=null;Jn.isBlank?Ci=!0:(Xi=Jn.value,Ci=Xi.number>0);var ga="auto",Ka=rn(Ce[3],"ordgroup");if(Ka){if(Ka.body.length>0){var go=gn(Ka.body[0],"textord");ga=oo[Number(go.text)]}}else Ka=gn(Ce[3],"textord"),ga=oo[Number(Ka.text)];return{type:"genfrac",mode:Ie.mode,numer:Ye,denom:_t,continued:!1,hasBarLine:Ci,barSize:Xi,leftDelim:Pr,rightDelim:yn,size:ga}},htmlBuilder:Ja,mathmlBuilder:Es}),Cn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=he.token;return{type:"infix",mode:Ie.mode,replaceWith:"\\\\abovefrac",size:gn(Ce[0],"size").value,token:_t}}}),Cn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=Ce[0],Yt=p(gn(Ce[1],"infix").size),Pr=Ce[2],Yr=Yt.number>0;return{type:"genfrac",mode:Ie.mode,numer:_t,denom:Pr,continued:!1,hasBarLine:Yr,barSize:Yt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ja,mathmlBuilder:Es});var qo=function(he,Ce){var Ie=Ce.style,Ye,_t,Yt=rn(he,"supsub");Yt?(Ye=Yt.sup?Zi(Yt.sup,Ce.havingStyle(Ie.sup()),Ce):Zi(Yt.sub,Ce.havingStyle(Ie.sub()),Ce),_t=gn(Yt.base,"horizBrace")):_t=gn(he,"horizBrace");var Pr=Zi(_t.base,Ce.havingBaseStyle(K.DISPLAY)),Yr=qn.svgSpan(_t,Ce),yn;if(_t.isOver?(yn=Er.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pr},{type:"kern",size:.1},{type:"elem",elem:Yr}]},Ce),yn.children[0].children[0].children[1].classes.push("svg-align")):(yn=Er.makeVList({positionType:"bottom",positionData:Pr.depth+.1+Yr.height,children:[{type:"elem",elem:Yr},{type:"kern",size:.1},{type:"elem",elem:Pr}]},Ce),yn.children[0].children[0].children[0].classes.push("svg-align")),Ye){var Jn=Er.makeSpan(["mord",_t.isOver?"mover":"munder"],[yn],Ce);_t.isOver?yn=Er.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Jn},{type:"kern",size:.2},{type:"elem",elem:Ye}]},Ce):yn=Er.makeVList({positionType:"bottom",positionData:Jn.depth+.2+Ye.height+Ye.depth,children:[{type:"elem",elem:Ye},{type:"kern",size:.2},{type:"elem",elem:Jn}]},Ce)}return Er.makeSpan(["mord",_t.isOver?"mover":"munder"],[yn],Ce)},Ko=function(he,Ce){var Ie=qn.mathMLnode(he.label);return new Pi.MathNode(he.isOver?"mover":"munder",[lr(he.base,Ce),Ie])};Cn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName;return{type:"horizBrace",mode:Ie.mode,label:Ye,isOver:/^\\over/.test(Ye),base:Ce[0]}},htmlBuilder:qo,mathmlBuilder:Ko}),Cn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(he,Ce){var Ie=he.parser,Ye=Ce[1],_t=gn(Ce[0],"url").url;return Ie.settings.isTrusted({command:"\\href",url:_t})?{type:"href",mode:Ie.mode,href:_t,body:In(Ye)}:Ie.formatUnsupportedCmd("\\href")},htmlBuilder:function(he,Ce){var Ie=Un(he.body,Ce,!1);return Er.makeAnchor(he.href,[],Ie,Ce)},mathmlBuilder:function(he,Ce){var Ie=so(he.body,Ce);return Ie instanceof co||(Ie=new co("mrow",[Ie])),Ie.setAttribute("href",he.href),Ie}}),Cn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(he,Ce){var Ie=he.parser,Ye=gn(Ce[0],"url").url;if(!Ie.settings.isTrusted({command:"\\url",url:Ye}))return Ie.formatUnsupportedCmd("\\url");for(var _t=[],Yt=0;Yt0&&(Ye=dr(he.totalheight,Ce)-Ie,Ye=Number(Ye.toFixed(2)));var _t=0;he.width.number>0&&(_t=dr(he.width,Ce));var Yt={height:Ie+Ye+"em"};_t>0&&(Yt.width=_t+"em"),Ye>0&&(Yt.verticalAlign=-Ye+"em");var Pr=new we(he.src,he.alt,Yt);return Pr.height=Ie,Pr.depth=Ye,Pr},mathmlBuilder:function(he,Ce){var Ie=new Pi.MathNode("mglyph",[]);Ie.setAttribute("alt",he.alt);var Ye=dr(he.height,Ce),_t=0;if(he.totalheight.number>0&&(_t=dr(he.totalheight,Ce)-Ye,_t=_t.toFixed(2),Ie.setAttribute("valign","-"+_t+"em")),Ie.setAttribute("height",Ye+_t+"em"),he.width.number>0){var Yt=dr(he.width,Ce);Ie.setAttribute("width",Yt+"em")}return Ie.setAttribute("src",he.src),Ie}}),Cn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=gn(Ce[0],"size");if(Ie.settings.strict){var Yt=Ye[1]==="m",Pr=_t.value.unit==="mu";Yt?(Pr||Ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Ye+" supports only mu units, "+("not "+_t.value.unit+" units")),Ie.mode!=="math"&&Ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Ye+" works only in math mode")):Pr&&Ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Ye+" doesn't support mu units")}return{type:"kern",mode:Ie.mode,dimension:_t.value}},htmlBuilder:function(he,Ce){return Er.makeGlue(he.dimension,Ce)},mathmlBuilder:function(he,Ce){var Ie=dr(he.dimension,Ce);return new Pi.SpaceNode(Ie)}}),Cn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=Ce[0];return{type:"lap",mode:Ie.mode,alignment:Ye.slice(5),body:_t}},htmlBuilder:function(he,Ce){var Ie;he.alignment==="clap"?(Ie=Er.makeSpan([],[Zi(he.body,Ce)]),Ie=Er.makeSpan(["inner"],[Ie],Ce)):Ie=Er.makeSpan(["inner"],[Zi(he.body,Ce)]);var Ye=Er.makeSpan(["fix"],[]),_t=Er.makeSpan([he.alignment],[Ie,Ye],Ce),Yt=Er.makeSpan(["strut"]);return Yt.style.height=_t.height+_t.depth+"em",Yt.style.verticalAlign=-_t.depth+"em",_t.children.unshift(Yt),_t=Er.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:_t}]},Ce),Er.makeSpan(["mord"],[_t],Ce)},mathmlBuilder:function(he,Ce){var Ie=new Pi.MathNode("mpadded",[lr(he.body,Ce)]);if(he.alignment!=="rlap"){var Ye=he.alignment==="llap"?"-1":"-0.5";Ie.setAttribute("lspace",Ye+"width")}return Ie.setAttribute("width","0px"),Ie}}),Cn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(he,Ce){var Ie=he.funcName,Ye=he.parser,_t=Ye.mode;Ye.switchMode("math");var Yt=Ie==="\\("?"\\)":"$",Pr=Ye.parseExpression(!1,Yt);return Ye.expect(Yt),Ye.switchMode(_t),{type:"styling",mode:Ye.mode,style:"text",body:Pr}}}),Cn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(he,Ce){throw new d("Mismatched "+he.funcName)}});var Go=function(he,Ce){switch(Ce.style.size){case K.DISPLAY.size:return he.display;case K.TEXT.size:return he.text;case K.SCRIPT.size:return he.script;case K.SCRIPTSCRIPT.size:return he.scriptscript;default:return he.text}};Cn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(he,Ce){var Ie=he.parser;return{type:"mathchoice",mode:Ie.mode,display:In(Ce[0]),text:In(Ce[1]),script:In(Ce[2]),scriptscript:In(Ce[3])}},htmlBuilder:function(he,Ce){var Ie=Go(he,Ce),Ye=Un(Ie,Ce,!1);return Er.makeFragment(Ye)},mathmlBuilder:function(he,Ce){var Ie=Go(he,Ce);return so(Ie,Ce)}});var os=function(he,Ce,Ie,Ye,_t,Yt,Pr){he=Er.makeSpan([],[he]);var Yr,yn;if(Ce){var Jn=Zi(Ce,Ye.havingStyle(_t.sup()),Ye);yn={elem:Jn,kern:Math.max(Ye.fontMetrics().bigOpSpacing1,Ye.fontMetrics().bigOpSpacing3-Jn.depth)}}if(Ie){var Ci=Zi(Ie,Ye.havingStyle(_t.sub()),Ye);Yr={elem:Ci,kern:Math.max(Ye.fontMetrics().bigOpSpacing2,Ye.fontMetrics().bigOpSpacing4-Ci.height)}}var Xi;if(yn&&Yr){var ga=Ye.fontMetrics().bigOpSpacing5+Yr.elem.height+Yr.elem.depth+Yr.kern+he.depth+Pr;Xi=Er.makeVList({positionType:"bottom",positionData:ga,children:[{type:"kern",size:Ye.fontMetrics().bigOpSpacing5},{type:"elem",elem:Yr.elem,marginLeft:-Yt+"em"},{type:"kern",size:Yr.kern},{type:"elem",elem:he},{type:"kern",size:yn.kern},{type:"elem",elem:yn.elem,marginLeft:Yt+"em"},{type:"kern",size:Ye.fontMetrics().bigOpSpacing5}]},Ye)}else if(Yr){var Ka=he.height-Pr;Xi=Er.makeVList({positionType:"top",positionData:Ka,children:[{type:"kern",size:Ye.fontMetrics().bigOpSpacing5},{type:"elem",elem:Yr.elem,marginLeft:-Yt+"em"},{type:"kern",size:Yr.kern},{type:"elem",elem:he}]},Ye)}else if(yn){var go=he.depth+Pr;Xi=Er.makeVList({positionType:"bottom",positionData:go,children:[{type:"elem",elem:he},{type:"kern",size:yn.kern},{type:"elem",elem:yn.elem,marginLeft:Yt+"em"},{type:"kern",size:Ye.fontMetrics().bigOpSpacing5}]},Ye)}else return he;return Er.makeSpan(["mop","op-limits"],[Xi],Ye)},Vs=["\\smallint"],xs=function(he,Ce){var Ie,Ye,_t=!1,Yt,Pr=rn(he,"supsub");Pr?(Ie=Pr.sup,Ye=Pr.sub,Yt=gn(Pr.base,"op"),_t=!0):Yt=gn(he,"op");var Yr=Ce.style,yn=!1;Yr.size===K.DISPLAY.size&&Yt.symbol&&!v.contains(Vs,Yt.name)&&(yn=!0);var Jn;if(Yt.symbol){var Ci=yn?"Size2-Regular":"Size1-Regular",Xi="";if((Yt.name==="\\oiint"||Yt.name==="\\oiiint")&&(Xi=Yt.name.substr(1),Yt.name=Xi==="oiint"?"\\iint":"\\iiint"),Jn=Er.makeSymbol(Yt.name,Ci,"math",Ce,["mop","op-symbol",yn?"large-op":"small-op"]),Xi.length>0){var ga=Jn.italic,Ka=Er.staticSvg(Xi+"Size"+(yn?"2":"1"),Ce);Jn=Er.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Jn,shift:0},{type:"elem",elem:Ka,shift:yn?.08:0}]},Ce),Yt.name="\\"+Xi,Jn.classes.unshift("mop"),Jn.italic=ga}}else if(Yt.body){var go=Un(Yt.body,Ce,!0);go.length===1&&go[0]instanceof De?(Jn=go[0],Jn.classes[0]="mop"):Jn=Er.makeSpan(["mop"],Er.tryCombineChars(go),Ce)}else{for(var No=[],As=1;As0){for(var yn=Yt.body.map(function(ga){var Ka=ga.text;return typeof Ka=="string"?{type:"textord",mode:ga.mode,text:Ka}:ga}),Jn=Un(yn,Ce.withFont("mathrm"),!0),Ci=0;Ci=0?Yr.setAttribute("height","+"+_t+"em"):(Yr.setAttribute("height",_t+"em"),Yr.setAttribute("depth","+"+-_t+"em")),Yr.setAttribute("voffset",_t+"em"),Yr}});function Ho(Lt,he,Ce){for(var Ie=Un(Lt,he,!1),Ye=he.sizeMultiplier/Ce.sizeMultiplier,_t=0;_tIe.height+Ie.depth+Pr&&(Pr=(Pr+ga-Ie.height-Ie.depth)/2);var Ka=Jn.height-Ie.height-Pr-Ci;Ie.style.paddingLeft=Xi+"em";var go=Er.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ie,wrapperClasses:["svg-align"]},{type:"kern",size:-(Ie.height+Ka)},{type:"elem",elem:Jn},{type:"kern",size:Ci}]},Ce);if(he.index){var No=Ce.havingStyle(K.SCRIPTSCRIPT),As=Zi(he.index,No,Ce),ss=.6*(go.height-go.depth),ps=Er.makeVList({positionType:"shift",positionData:-ss,children:[{type:"elem",elem:As}]},Ce),nl=Er.makeSpan(["root"],[ps]);return Er.makeSpan(["mord","sqrt"],[nl,go],Ce)}else return Er.makeSpan(["mord","sqrt"],[go],Ce)},mathmlBuilder:function(he,Ce){var Ie=he.body,Ye=he.index;return Ye?new Pi.MathNode("mroot",[lr(Ie,Ce),lr(Ye,Ce)]):new Pi.MathNode("msqrt",[lr(Ie,Ce)])}});var Ra={display:K.DISPLAY,text:K.TEXT,script:K.SCRIPT,scriptscript:K.SCRIPTSCRIPT};Cn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(he,Ce){var Ie=he.breakOnTokenText,Ye=he.funcName,_t=he.parser,Yt=_t.parseExpression(!0,Ie),Pr=Ye.slice(1,Ye.length-5);return{type:"styling",mode:_t.mode,style:Pr,body:Yt}},htmlBuilder:function(he,Ce){var Ie=Ra[he.style],Ye=Ce.havingStyle(Ie).withFont("");return Ho(he.body,Ye,Ce)},mathmlBuilder:function(he,Ce){var Ie=Ra[he.style],Ye=Ce.havingStyle(Ie),_t=ta(he.body,Ye),Yt=new Pi.MathNode("mstyle",_t),Pr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Yr=Pr[he.style];return Yt.setAttribute("scriptlevel",Yr[0]),Yt.setAttribute("displaystyle",Yr[1]),Yt}});var ho=function(he,Ce){var Ie=he.base;if(Ie)if(Ie.type==="op"){var Ye=Ie.limits&&(Ce.style.size===K.DISPLAY.size||Ie.alwaysHandleSupSub);return Ye?xs:null}else if(Ie.type==="operatorname"){var _t=Ie.alwaysHandleSupSub&&(Ce.style.size===K.DISPLAY.size||Ie.limits);return _t?Jo:null}else{if(Ie.type==="accent")return v.isCharacterBox(Ie.base)?si:null;if(Ie.type==="horizBrace"){var Yt=!he.sub;return Yt===Ie.isOver?qo:null}else return null}else return null};ki({type:"supsub",htmlBuilder:function(he,Ce){var Ie=ho(he,Ce);if(Ie)return Ie(he,Ce);var Ye=he.base,_t=he.sup,Yt=he.sub,Pr=Zi(Ye,Ce),Yr,yn,Jn=Ce.fontMetrics(),Ci=0,Xi=0,ga=Ye&&v.isCharacterBox(Ye);if(_t){var Ka=Ce.havingStyle(Ce.style.sup());Yr=Zi(_t,Ka,Ce),ga||(Ci=Pr.height-Ka.fontMetrics().supDrop*Ka.sizeMultiplier/Ce.sizeMultiplier)}if(Yt){var go=Ce.havingStyle(Ce.style.sub());yn=Zi(Yt,go,Ce),ga||(Xi=Pr.depth+go.fontMetrics().subDrop*go.sizeMultiplier/Ce.sizeMultiplier)}var No;Ce.style===K.DISPLAY?No=Jn.sup1:Ce.style.cramped?No=Jn.sup3:No=Jn.sup2;var As=Ce.sizeMultiplier,ss=.5/Jn.ptPerEm/As+"em",ps=null;if(yn){var nl=he.base&&he.base.type==="op"&&he.base.name&&(he.base.name==="\\oiint"||he.base.name==="\\oiiint");(Pr instanceof De||nl)&&(ps=-Pr.italic+"em")}var Ws;if(Yr&&yn){Ci=Math.max(Ci,No,Yr.depth+.25*Jn.xHeight),Xi=Math.max(Xi,Jn.sub2);var dl=Jn.defaultRuleThickness,ls=4*dl;if(Ci-Yr.depth-(yn.height-Xi)0&&(Ci+=Ys,Xi-=Ys)}var Rl=[{type:"elem",elem:yn,shift:Xi,marginRight:ss,marginLeft:ps},{type:"elem",elem:Yr,shift:-Ci,marginRight:ss}];Ws=Er.makeVList({positionType:"individualShift",children:Rl},Ce)}else if(yn){Xi=Math.max(Xi,Jn.sub1,yn.height-.8*Jn.xHeight);var kl=[{type:"elem",elem:yn,marginLeft:ps,marginRight:ss}];Ws=Er.makeVList({positionType:"shift",positionData:Xi,children:kl},Ce)}else if(Yr)Ci=Math.max(Ci,No,Yr.depth+.25*Jn.xHeight),Ws=Er.makeVList({positionType:"shift",positionData:-Ci,children:[{type:"elem",elem:Yr,marginRight:ss}]},Ce);else throw new Error("supsub must have either sup or sub.");var el=Oi(Pr,"right")||"mord";return Er.makeSpan([el],[Pr,Er.makeSpan(["msupsub"],[Ws])],Ce)},mathmlBuilder:function(he,Ce){var Ie=!1,Ye,_t,Yt=rn(he.base,"horizBrace");Yt&&(_t=!!he.sup,_t===Yt.isOver&&(Ie=!0,Ye=Yt.isOver)),he.base&&(he.base.type==="op"||he.base.type==="operatorname")&&(he.base.parentIsSupSub=!0);var Pr=[lr(he.base,Ce)];he.sub&&Pr.push(lr(he.sub,Ce)),he.sup&&Pr.push(lr(he.sup,Ce));var Yr;if(Ie)Yr=Ye?"mover":"munder";else if(he.sub)if(he.sup){var Ci=he.base;Ci&&Ci.type==="op"&&Ci.limits&&Ce.style===K.DISPLAY||Ci&&Ci.type==="operatorname"&&Ci.alwaysHandleSupSub&&(Ce.style===K.DISPLAY||Ci.limits)?Yr="munderover":Yr="msubsup"}else{var Jn=he.base;Jn&&Jn.type==="op"&&Jn.limits&&(Ce.style===K.DISPLAY||Jn.alwaysHandleSupSub)||Jn&&Jn.type==="operatorname"&&Jn.alwaysHandleSupSub&&(Jn.limits||Ce.style===K.DISPLAY)?Yr="munder":Yr="msub"}else{var yn=he.base;yn&&yn.type==="op"&&yn.limits&&(Ce.style===K.DISPLAY||yn.alwaysHandleSupSub)||yn&&yn.type==="operatorname"&&yn.alwaysHandleSupSub&&(yn.limits||Ce.style===K.DISPLAY)?Yr="mover":Yr="msup"}var Xi=new Pi.MathNode(Yr,Pr);return Xi}}),ki({type:"atom",htmlBuilder:function(he,Ce){return Er.mathsym(he.text,he.mode,Ce,["m"+he.family])},mathmlBuilder:function(he,Ce){var Ie=new Pi.MathNode("mo",[dn(he.text,he.mode)]);if(he.family==="bin"){var Ye=ba(he,Ce);Ye==="bold-italic"&&Ie.setAttribute("mathvariant",Ye)}else he.family==="punct"?Ie.setAttribute("separator","true"):(he.family==="open"||he.family==="close")&&Ie.setAttribute("stretchy","false");return Ie}});var ll={mi:"italic",mn:"normal",mtext:"normal"};ki({type:"mathord",htmlBuilder:function(he,Ce){return Er.makeOrd(he,Ce,"mathord")},mathmlBuilder:function(he,Ce){var Ie=new Pi.MathNode("mi",[dn(he.text,he.mode,Ce)]),Ye=ba(he,Ce)||"italic";return Ye!==ll[Ie.type]&&Ie.setAttribute("mathvariant",Ye),Ie}}),ki({type:"textord",htmlBuilder:function(he,Ce){return Er.makeOrd(he,Ce,"textord")},mathmlBuilder:function(he,Ce){var Ie=dn(he.text,he.mode,Ce),Ye=ba(he,Ce)||"normal",_t;return he.mode==="text"?_t=new Pi.MathNode("mtext",[Ie]):/[0-9]/.test(he.text)?_t=new Pi.MathNode("mn",[Ie]):he.text==="\\prime"?_t=new Pi.MathNode("mo",[Ie]):_t=new Pi.MathNode("mi",[Ie]),Ye!==ll[_t.type]&&_t.setAttribute("mathvariant",Ye),_t}});var ml={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},wl={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ki({type:"spacing",htmlBuilder:function(he,Ce){if(wl.hasOwnProperty(he.text)){var Ie=wl[he.text].className||"";if(he.mode==="text"){var Ye=Er.makeOrd(he,Ce,"textord");return Ye.classes.push(Ie),Ye}else return Er.makeSpan(["mspace",Ie],[Er.mathsym(he.text,he.mode,Ce)],Ce)}else{if(ml.hasOwnProperty(he.text))return Er.makeSpan(["mspace",ml[he.text]],[],Ce);throw new d('Unknown type of space "'+he.text+'"')}},mathmlBuilder:function(he,Ce){var Ie;if(wl.hasOwnProperty(he.text))Ie=new Pi.MathNode("mtext",[new Pi.TextNode("\xA0")]);else{if(ml.hasOwnProperty(he.text))return new Pi.MathNode("mspace");throw new d('Unknown type of space "'+he.text+'"')}return Ie}});var El=function(){var he=new Pi.MathNode("mtd",[]);return he.setAttribute("width","50%"),he};ki({type:"tag",mathmlBuilder:function(he,Ce){var Ie=new Pi.MathNode("mtable",[new Pi.MathNode("mtr",[El(),new Pi.MathNode("mtd",[so(he.body,Ce)]),El(),new Pi.MathNode("mtd",[so(he.tag,Ce)])])]);return Ie.setAttribute("width","100%"),Ie}});var Xs={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Xo={"\\textbf":"textbf","\\textmd":"textmd"},gl={"\\textit":"textit","\\textup":"textup"},Vl=function(he,Ce){var Ie=he.font;return Ie?Xs[Ie]?Ce.withTextFontFamily(Xs[Ie]):Xo[Ie]?Ce.withTextFontWeight(Xo[Ie]):Ce.withTextFontShape(gl[Ie]):Ce};Cn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=Ce[0];return{type:"text",mode:Ie.mode,body:In(_t),font:Ye}},htmlBuilder:function(he,Ce){var Ie=Vl(he,Ce),Ye=Un(he.body,Ie,!0);return Er.makeSpan(["mord","text"],Er.tryCombineChars(Ye),Ie)},mathmlBuilder:function(he,Ce){var Ie=Vl(he,Ce);return so(he.body,Ie)}}),Cn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(he,Ce){var Ie=he.parser;return{type:"underline",mode:Ie.mode,body:Ce[0]}},htmlBuilder:function(he,Ce){var Ie=Zi(he.body,Ce),Ye=Er.makeLineSpan("underline-line",Ce),_t=Ce.fontMetrics().defaultRuleThickness,Yt=Er.makeVList({positionType:"top",positionData:Ie.height,children:[{type:"kern",size:_t},{type:"elem",elem:Ye},{type:"kern",size:3*_t},{type:"elem",elem:Ie}]},Ce);return Er.makeSpan(["mord","underline"],[Yt],Ce)},mathmlBuilder:function(he,Ce){var Ie=new Pi.MathNode("mo",[new Pi.TextNode("\u203E")]);Ie.setAttribute("stretchy","true");var Ye=new Pi.MathNode("munder",[lr(he.body,Ce),Ie]);return Ye.setAttribute("accentunder","true"),Ye}}),Cn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(he,Ce,Ie){throw new d("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(he,Ce){for(var Ie=Us(he),Ye=[],_t=Ce.havingStyle(Ce.style.text()),Yt=0;Yt0&&(this.undefStack[this.undefStack.length-1][Ie]=Ye)}else{var Pr=this.undefStack[this.undefStack.length-1];Pr&&!Pr.hasOwnProperty(Ie)&&(Pr[Ie]=this.current[Ie])}this.current[Ie]=Ye},Lt}(),vl={},cl=vl;function mn(Lt,he){vl[Lt]=he}mn("\\@firstoftwo",function(Lt){var he=Lt.consumeArgs(2);return{tokens:he[0],numArgs:0}}),mn("\\@secondoftwo",function(Lt){var he=Lt.consumeArgs(2);return{tokens:he[1],numArgs:0}}),mn("\\@ifnextchar",function(Lt){var he=Lt.consumeArgs(3),Ce=Lt.future();return he[0].length===1&&he[0][0].text===Ce.text?{tokens:he[1],numArgs:0}:{tokens:he[2],numArgs:0}}),mn("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),mn("\\TextOrMath",function(Lt){var he=Lt.consumeArgs(2);return Lt.mode==="text"?{tokens:he[0],numArgs:0}:{tokens:he[1],numArgs:0}});var da={"0":0,"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};mn("\\char",function(Lt){var he=Lt.popToken(),Ce,Ie="";if(he.text==="'")Ce=8,he=Lt.popToken();else if(he.text==='"')Ce=16,he=Lt.popToken();else if(he.text==="`")if(he=Lt.popToken(),he.text[0]==="\\")Ie=he.text.charCodeAt(1);else{if(he.text==="EOF")throw new d("\\char` missing argument");Ie=he.text.charCodeAt(0)}else Ce=10;if(Ce){if(Ie=da[he.text],Ie==null||Ie>=Ce)throw new d("Invalid base-"+Ce+" digit "+he.text);for(var Ye;(Ye=da[Lt.future().text])!=null&&Ye":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};mn("\\dots",function(Lt){var he="\\dotso",Ce=Lt.expandAfterFuture().text;return Ce in xc?he=xc[Ce]:Ce.substr(0,4)==="\\not"?he="\\dotsb":Ce in ht.math&&(v.contains(["bin","rel"],ht.math[Ce].group)&&(he="\\dotsb")),he});var Ss={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};mn("\\dotso",function(Lt){var he=Lt.future().text;return he in Ss?"\\ldots\\,":"\\ldots"}),mn("\\dotsc",function(Lt){var he=Lt.future().text;return he in Ss&&he!==","?"\\ldots\\,":"\\ldots"}),mn("\\cdots",function(Lt){var he=Lt.future().text;return he in Ss?"\\@cdots\\,":"\\@cdots"}),mn("\\dotsb","\\cdots"),mn("\\dotsm","\\cdots"),mn("\\dotsi","\\!\\cdots"),mn("\\dotsx","\\ldots\\,"),mn("\\DOTSI","\\relax"),mn("\\DOTSB","\\relax"),mn("\\DOTSX","\\relax"),mn("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),mn("\\,","\\tmspace+{3mu}{.1667em}"),mn("\\thinspace","\\,"),mn("\\>","\\mskip{4mu}"),mn("\\:","\\tmspace+{4mu}{.2222em}"),mn("\\medspace","\\:"),mn("\\;","\\tmspace+{5mu}{.2777em}"),mn("\\thickspace","\\;"),mn("\\!","\\tmspace-{3mu}{.1667em}"),mn("\\negthinspace","\\!"),mn("\\negmedspace","\\tmspace-{4mu}{.2222em}"),mn("\\negthickspace","\\tmspace-{5mu}{.277em}"),mn("\\enspace","\\kern.5em "),mn("\\enskip","\\hskip.5em\\relax"),mn("\\quad","\\hskip1em\\relax"),mn("\\qquad","\\hskip2em\\relax"),mn("\\tag","\\@ifstar\\tag@literal\\tag@paren"),mn("\\tag@paren","\\tag@literal{({#1})}"),mn("\\tag@literal",function(Lt){if(Lt.macros.get("\\df@tag"))throw new d("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),mn("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),mn("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),mn("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),mn("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),mn("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),mn("\\\\","\\newline"),mn("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ks=yt["Main-Regular"]["T".charCodeAt(0)][1]-.7*yt["Main-Regular"]["A".charCodeAt(0)][1]+"em";mn("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ks+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),mn("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ks+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),mn("\\hspace","\\@ifstar\\@hspacer\\@hspace"),mn("\\@hspace","\\hskip #1\\relax"),mn("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),mn("\\ordinarycolon",":"),mn("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),mn("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),mn("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),mn("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),mn("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),mn("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),mn("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),mn("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),mn("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),mn("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),mn("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),mn("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),mn("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),mn("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),mn("\u2237","\\dblcolon"),mn("\u2239","\\eqcolon"),mn("\u2254","\\coloneqq"),mn("\u2255","\\eqqcolon"),mn("\u2A74","\\Coloneqq"),mn("\\ratio","\\vcentcolon"),mn("\\coloncolon","\\dblcolon"),mn("\\colonequals","\\coloneqq"),mn("\\coloncolonequals","\\Coloneqq"),mn("\\equalscolon","\\eqqcolon"),mn("\\equalscoloncolon","\\Eqqcolon"),mn("\\colonminus","\\coloneq"),mn("\\coloncolonminus","\\Coloneq"),mn("\\minuscolon","\\eqcolon"),mn("\\minuscoloncolon","\\Eqcolon"),mn("\\coloncolonapprox","\\Colonapprox"),mn("\\coloncolonsim","\\Colonsim"),mn("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),mn("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),mn("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),mn("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),mn("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),mn("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),mn("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),mn("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),mn("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),mn("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),mn("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),mn("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),mn("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),mn("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),mn("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),mn("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),mn("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),mn("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),mn("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),mn("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),mn("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),mn("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),mn("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),mn("\u27E6","\\llbracket"),mn("\u27E7","\\rrbracket"),mn("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),mn("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),mn("\u2983","\\lBrace"),mn("\u2984","\\rBrace"),mn("\\darr","\\downarrow"),mn("\\dArr","\\Downarrow"),mn("\\Darr","\\Downarrow"),mn("\\lang","\\langle"),mn("\\rang","\\rangle"),mn("\\uarr","\\uparrow"),mn("\\uArr","\\Uparrow"),mn("\\Uarr","\\Uparrow"),mn("\\N","\\mathbb{N}"),mn("\\R","\\mathbb{R}"),mn("\\Z","\\mathbb{Z}"),mn("\\alef","\\aleph"),mn("\\alefsym","\\aleph"),mn("\\Alpha","\\mathrm{A}"),mn("\\Beta","\\mathrm{B}"),mn("\\bull","\\bullet"),mn("\\Chi","\\mathrm{X}"),mn("\\clubs","\\clubsuit"),mn("\\cnums","\\mathbb{C}"),mn("\\Complex","\\mathbb{C}"),mn("\\Dagger","\\ddagger"),mn("\\diamonds","\\diamondsuit"),mn("\\empty","\\emptyset"),mn("\\Epsilon","\\mathrm{E}"),mn("\\Eta","\\mathrm{H}"),mn("\\exist","\\exists"),mn("\\harr","\\leftrightarrow"),mn("\\hArr","\\Leftrightarrow"),mn("\\Harr","\\Leftrightarrow"),mn("\\hearts","\\heartsuit"),mn("\\image","\\Im"),mn("\\infin","\\infty"),mn("\\Iota","\\mathrm{I}"),mn("\\isin","\\in"),mn("\\Kappa","\\mathrm{K}"),mn("\\larr","\\leftarrow"),mn("\\lArr","\\Leftarrow"),mn("\\Larr","\\Leftarrow"),mn("\\lrarr","\\leftrightarrow"),mn("\\lrArr","\\Leftrightarrow"),mn("\\Lrarr","\\Leftrightarrow"),mn("\\Mu","\\mathrm{M}"),mn("\\natnums","\\mathbb{N}"),mn("\\Nu","\\mathrm{N}"),mn("\\Omicron","\\mathrm{O}"),mn("\\plusmn","\\pm"),mn("\\rarr","\\rightarrow"),mn("\\rArr","\\Rightarrow"),mn("\\Rarr","\\Rightarrow"),mn("\\real","\\Re"),mn("\\reals","\\mathbb{R}"),mn("\\Reals","\\mathbb{R}"),mn("\\Rho","\\mathrm{P}"),mn("\\sdot","\\cdot"),mn("\\sect","\\S"),mn("\\spades","\\spadesuit"),mn("\\sub","\\subset"),mn("\\sube","\\subseteq"),mn("\\supe","\\supseteq"),mn("\\Tau","\\mathrm{T}"),mn("\\thetasym","\\vartheta"),mn("\\weierp","\\wp"),mn("\\Zeta","\\mathrm{Z}"),mn("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),mn("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),mn("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),mn("\\blue","\\textcolor{##6495ed}{#1}"),mn("\\orange","\\textcolor{##ffa500}{#1}"),mn("\\pink","\\textcolor{##ff00af}{#1}"),mn("\\red","\\textcolor{##df0030}{#1}"),mn("\\green","\\textcolor{##28ae7b}{#1}"),mn("\\gray","\\textcolor{gray}{#1}"),mn("\\purple","\\textcolor{##9d38bd}{#1}"),mn("\\blueA","\\textcolor{##ccfaff}{#1}"),mn("\\blueB","\\textcolor{##80f6ff}{#1}"),mn("\\blueC","\\textcolor{##63d9ea}{#1}"),mn("\\blueD","\\textcolor{##11accd}{#1}"),mn("\\blueE","\\textcolor{##0c7f99}{#1}"),mn("\\tealA","\\textcolor{##94fff5}{#1}"),mn("\\tealB","\\textcolor{##26edd5}{#1}"),mn("\\tealC","\\textcolor{##01d1c1}{#1}"),mn("\\tealD","\\textcolor{##01a995}{#1}"),mn("\\tealE","\\textcolor{##208170}{#1}"),mn("\\greenA","\\textcolor{##b6ffb0}{#1}"),mn("\\greenB","\\textcolor{##8af281}{#1}"),mn("\\greenC","\\textcolor{##74cf70}{#1}"),mn("\\greenD","\\textcolor{##1fab54}{#1}"),mn("\\greenE","\\textcolor{##0d923f}{#1}"),mn("\\goldA","\\textcolor{##ffd0a9}{#1}"),mn("\\goldB","\\textcolor{##ffbb71}{#1}"),mn("\\goldC","\\textcolor{##ff9c39}{#1}"),mn("\\goldD","\\textcolor{##e07d10}{#1}"),mn("\\goldE","\\textcolor{##a75a05}{#1}"),mn("\\redA","\\textcolor{##fca9a9}{#1}"),mn("\\redB","\\textcolor{##ff8482}{#1}"),mn("\\redC","\\textcolor{##f9685d}{#1}"),mn("\\redD","\\textcolor{##e84d39}{#1}"),mn("\\redE","\\textcolor{##bc2612}{#1}"),mn("\\maroonA","\\textcolor{##ffbde0}{#1}"),mn("\\maroonB","\\textcolor{##ff92c6}{#1}"),mn("\\maroonC","\\textcolor{##ed5fa6}{#1}"),mn("\\maroonD","\\textcolor{##ca337c}{#1}"),mn("\\maroonE","\\textcolor{##9e034e}{#1}"),mn("\\purpleA","\\textcolor{##ddd7ff}{#1}"),mn("\\purpleB","\\textcolor{##c6b9fc}{#1}"),mn("\\purpleC","\\textcolor{##aa87ff}{#1}"),mn("\\purpleD","\\textcolor{##7854ab}{#1}"),mn("\\purpleE","\\textcolor{##543b78}{#1}"),mn("\\mintA","\\textcolor{##f5f9e8}{#1}"),mn("\\mintB","\\textcolor{##edf2df}{#1}"),mn("\\mintC","\\textcolor{##e0e5cc}{#1}"),mn("\\grayA","\\textcolor{##f6f7f7}{#1}"),mn("\\grayB","\\textcolor{##f0f1f2}{#1}"),mn("\\grayC","\\textcolor{##e3e5e6}{#1}"),mn("\\grayD","\\textcolor{##d6d8da}{#1}"),mn("\\grayE","\\textcolor{##babec2}{#1}"),mn("\\grayF","\\textcolor{##888d93}{#1}"),mn("\\grayG","\\textcolor{##626569}{#1}"),mn("\\grayH","\\textcolor{##3b3e40}{#1}"),mn("\\grayI","\\textcolor{##21242c}{#1}"),mn("\\kaBlue","\\textcolor{##314453}{#1}"),mn("\\kaGreen","\\textcolor{##71B307}{#1}");var xl={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ul=function(){function Lt(Ce,Ie,Ye){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=Ie,this.expansionCount=0,this.feed(Ce),this.macros=new Ml(cl,Ie.macros),this.mode=Ye,this.stack=[]}var he=Lt.prototype;return he.feed=function(Ie){this.lexer=new zs(Ie,this.settings)},he.switchMode=function(Ie){this.mode=Ie},he.beginGroup=function(){this.macros.beginGroup()},he.endGroup=function(){this.macros.endGroup()},he.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},he.popToken=function(){return this.future(),this.stack.pop()},he.pushToken=function(Ie){this.stack.push(Ie)},he.pushTokens=function(Ie){var Ye;(Ye=this.stack).push.apply(Ye,Ie)},he.consumeSpaces=function(){for(;;){var Ie=this.future();if(Ie.text===" ")this.stack.pop();else break}},he.consumeArgs=function(Ie){for(var Ye=[],_t=0;_tthis.settings.maxExpand)throw new d("Too many expansions: infinite loop or need to increase maxExpand setting");var Yt=_t.tokens;if(_t.numArgs){var Pr=this.consumeArgs(_t.numArgs);Yt=Yt.slice();for(var Yr=Yt.length-1;Yr>=0;--Yr){var yn=Yt[Yr];if(yn.text==="#"){if(Yr===0)throw new d("Incomplete placeholder at end of macro body",yn);if(yn=Yt[--Yr],yn.text==="#")Yt.splice(Yr+1,1);else if(/^[1-9]$/.test(yn.text)){var Jn;(Jn=Yt).splice.apply(Jn,[Yr,2].concat(Pr[+yn.text-1]))}else throw new d("Not a valid argument number",yn)}}}return this.pushTokens(Yt),Yt},he.expandAfterFuture=function(){return this.expandOnce(),this.future()},he.expandNextToken=function(){for(;;){var Ie=this.expandOnce();if(Ie instanceof e)if(Ie.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},he.expandMacro=function(Ie){if(!this.macros.get(Ie))return;var Ye=[],_t=this.stack.length;for(this.pushToken(new e(Ie));this.stack.length>_t;){var Yt=this.expandOnce();Yt instanceof e&&Ye.push(this.stack.pop())}return Ye},he.expandMacroAsText=function(Ie){var Ye=this.expandMacro(Ie);return Ye&&Ye.map(function(_t){return _t.text}).join("")},he._getExpansion=function(Ie){var Ye=this.macros.get(Ie);if(Ye==null)return Ye;var _t=typeof Ye=="function"?Ye(this):Ye;if(typeof _t=="string"){var Yt=0;if(_t.indexOf("#")!==-1)for(var Pr=_t.replace(/##/g,"");Pr.indexOf("#"+(Yt+1))!==-1;)++Yt;for(var Yr=new zs(_t,this.settings),yn=[],Jn=Yr.lex();Jn.text!=="EOF";)yn.push(Jn),Jn=Yr.lex();yn.reverse();var Ci={tokens:yn,numArgs:Yt};return Ci}return _t},he.isDefined=function(Ie){return this.macros.has(Ie)||us.hasOwnProperty(Ie)||ht.math.hasOwnProperty(Ie)||ht.text.hasOwnProperty(Ie)||xl.hasOwnProperty(Ie)},Lt}(),nc={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},Xl={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},Gl=function(){function Lt(Ce,Ie){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new ul(Ce,Ie,this.mode),this.settings=Ie,this.leftrightDepth=0}var he=Lt.prototype;return he.expect=function(Ie,Ye){if(Ye===void 0&&(Ye=!0),this.fetch().text!==Ie)throw new d("Expected '"+Ie+"', got '"+this.fetch().text+"'",this.fetch());Ye&&this.consume()},he.consume=function(){this.nextToken=null},he.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},he.switchMode=function(Ie){this.mode=Ie,this.gullet.switchMode(Ie)},he.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var Ie=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),Ie},he.parseExpression=function(Ie,Ye){for(var _t=[];;){this.mode==="math"&&this.consumeSpaces();var Yt=this.fetch();if(Lt.endOfExpression.indexOf(Yt.text)!==-1)break;if(Ye&&Yt.text===Ye)break;if(Ie&&us[Yt.text]&&us[Yt.text].infix)break;var Pr=this.parseAtom(Ye);if(!Pr)break;_t.push(Pr)}return this.mode==="text"&&this.formLigatures(_t),this.handleInfixNodes(_t)},he.handleInfixNodes=function(Ie){for(var Ye=-1,_t,Yt=0;Yt0&&!Ci||yn===0&&!Ci&&this.mode==="math",ga=this.parseGroupOfType("argument to '"+Ie+"'",Jn,Ci,Yt,Xi);if(!ga){if(Ci){Yr.push(null);continue}throw new d("Expected group after '"+Ie+"'",this.fetch())}(Ci?Yr:Pr).push(ga)}return{args:Pr,optArgs:Yr}},he.parseGroupOfType=function(Ie,Ye,_t,Yt,Pr){switch(Ye){case"color":return Pr&&this.consumeSpaces(),this.parseColorGroup(_t);case"size":return Pr&&this.consumeSpaces(),this.parseSizeGroup(_t);case"url":return this.parseUrlGroup(_t,Pr);case"math":case"text":return this.parseGroup(Ie,_t,Yt,void 0,Ye,Pr);case"hbox":{var Yr=this.parseGroup(Ie,_t,Yt,void 0,"text",Pr);if(!Yr)return Yr;var yn={type:"styling",mode:Yr.mode,body:[Yr],style:"text"};return yn}case"raw":{if(Pr&&this.consumeSpaces(),_t&&this.fetch().text==="{")return null;var Jn=this.parseStringGroup("raw",_t,!0);if(Jn)return{type:"raw",mode:"text",string:Jn.text};throw new d("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(Ie,_t,Yt,void 0,void 0,Pr);default:throw new d("Unknown group type as "+Ie,this.fetch())}},he.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},he.parseStringGroup=function(Ie,Ye,_t){var Yt=Ye?"[":"{",Pr=Ye?"]":"}",Yr=this.fetch();if(Yr.text!==Yt){if(Ye)return null;if(_t&&Yr.text!=="EOF"&&/[^{}[\]]/.test(Yr.text))return this.consume(),Yr}var yn=this.mode;this.mode="text",this.expect(Yt);for(var Jn="",Ci=this.fetch(),Xi=0,ga=Ci,Ka;(Ka=this.fetch()).text!==Pr||_t&&Xi>0;){switch(Ka.text){case"EOF":throw new d("Unexpected end of input in "+Ie,Ci.range(ga,Jn));case Yt:Xi++;break;case Pr:Xi--;break}ga=Ka,Jn+=ga.text,this.consume()}return this.expect(Pr),this.mode=yn,Ci.range(ga,Jn)},he.parseRegexGroup=function(Ie,Ye){var _t=this.mode;this.mode="text";for(var Yt=this.fetch(),Pr=Yt,Yr="",yn;(yn=this.fetch()).text!=="EOF"&&Ie.test(Yr+yn.text);)Pr=yn,Yr+=Pr.text,this.consume();if(Yr==="")throw new d("Invalid "+Ye+": '"+Yt.text+"'",Yt);return this.mode=_t,Yt.range(Pr,Yr)},he.parseColorGroup=function(Ie){var Ye=this.parseStringGroup("color",Ie);if(!Ye)return null;var _t=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(Ye.text);if(!_t)throw new d("Invalid color: '"+Ye.text+"'",Ye);var Yt=_t[0];return/^[0-9a-f]{6}$/i.test(Yt)&&(Yt="#"+Yt),{type:"color-token",mode:this.mode,color:Yt}},he.parseSizeGroup=function(Ie){var Ye,_t=!1;if(!Ie&&this.fetch().text!=="{"?Ye=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):Ye=this.parseStringGroup("size",Ie),!Ye)return null;!Ie&&Ye.text.length===0&&(Ye.text="0pt",_t=!0);var Yt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Ye.text);if(!Yt)throw new d("Invalid size: '"+Ye.text+"'",Ye);var Pr={number:+(Yt[1]+Yt[2]),unit:Yt[3]};if(!Dr(Pr))throw new d("Invalid unit: '"+Pr.unit+"'",Ye);return{type:"size",mode:this.mode,value:Pr,isBlank:_t}},he.parseUrlGroup=function(Ie,Ye){this.gullet.lexer.setCatcode("%",13);var _t=this.parseStringGroup("url",Ie,!0);if(this.gullet.lexer.setCatcode("%",14),!_t)return null;var Yt=_t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Yt}},he.parseGroup=function(Ie,Ye,_t,Yt,Pr,Yr){var yn=this.mode;Pr&&this.switchMode(Pr),Yr&&this.consumeSpaces();var Jn=this.fetch(),Ci=Jn.text,Xi;if(Ye?Ci==="[":Ci==="{"||Ci==="\\begingroup"){this.consume();var ga=Lt.endOfGroup[Ci];this.gullet.beginGroup();var Ka=this.parseExpression(!1,ga),go=this.fetch();this.expect(ga),this.gullet.endGroup(),Xi={type:"ordgroup",mode:this.mode,loc:t.range(Jn,go),body:Ka,semisimple:Ci==="\\begingroup"||void 0}}else if(Ye)Xi=null;else if(Xi=this.parseFunction(Yt,Ie,_t)||this.parseSymbol(),Xi==null&&Ci[0]==="\\"&&!xl.hasOwnProperty(Ci)){if(this.settings.throwOnError)throw new d("Undefined control sequence: "+Ci,Jn);Xi=this.formatUnsupportedCmd(Ci),this.consume()}return Pr&&this.switchMode(yn),Xi},he.formLigatures=function(Ie){for(var Ye=Ie.length-1,_t=0;_t=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+Ye[0]+'" used in math mode',Ie);var yn=ht[this.mode][Ye].group,Jn=t.range(Ie),Ci;if(Wt.hasOwnProperty(yn)){var Xi=yn;Ci={type:"atom",mode:this.mode,family:Xi,loc:Jn,text:Ye}}else Ci={type:yn,mode:this.mode,loc:Jn,text:Ye};Yr=Ci}else if(Ye.charCodeAt(0)>=128)this.settings.strict&&(q(Ye.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+Ye[0]+'" used in math mode',Ie):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+Ye[0]+'"'+(" ("+Ye.charCodeAt(0)+")"),Ie)),Yr={type:"textord",mode:"text",loc:t.range(Ie),text:Ye};else return null;if(this.consume(),Pr)for(var ga=0;ga-p}function y(G,V){var q=V?G.textFill:G.fill;return q!=null&&q!==s}function w(G,V){var q=V?G.textStroke:G.stroke;return q!=null&&q!==s}function S(G,V){V&&_(G,"transform","matrix("+n.call(V,",")+")")}function _(G,V,q){(!q||q.type!=="linear"&&q.type!=="radial")&&G.setAttribute(V,q)}function I(G,V,q){G.setAttributeNS("http://www.w3.org/1999/xlink",V,q)}function C(G,V,q,re){if(y(V,q)){var ce=q?V.textFill:V.fill;ce=ce==="transparent"?s:ce,_(G,"fill",ce),_(G,"fill-opacity",V.fillOpacity!=null?V.fillOpacity*V.opacity:V.opacity)}else _(G,"fill",s);if(w(V,q)){var ie=q?V.textStroke:V.stroke;ie=ie==="transparent"?s:ie,_(G,"stroke",ie);var fe=q?V.textStrokeWidth:V.lineWidth,xe=!q&&V.strokeNoScale?re.getLineScale():1;_(G,"stroke-width",fe/xe),_(G,"paint-order",q?"stroke":"fill"),_(G,"stroke-opacity",V.strokeOpacity!=null?V.strokeOpacity:V.opacity);var Se=V.lineDash;Se?(_(G,"stroke-dasharray",V.lineDash.join(",")),_(G,"stroke-dashoffset",c(V.lineDashOffset||0))):_(G,"stroke-dasharray",""),V.lineCap&&_(G,"stroke-linecap",V.lineCap),V.lineJoin&&_(G,"stroke-linejoin",V.lineJoin),V.miterLimit&&_(G,"stroke-miterlimit",V.miterLimit)}else _(G,"stroke",s)}function E(G){for(var V=[],q=G.data,re=G.len(),ce=0;ce=o:-ue>=o),te=ue>0?ue%o:ue%o+o,we=!1;Y?we=!0:v(Z)?we=!1:we=te>=r===!!ae;var pe=g(Se+ge*u(ee)),De=g(ke+Be*i(ee));Y&&(ae?ue=o-1e-4:ue=-o+1e-4,we=!0,ce===9&&V.push("M",pe,De));var Ne=g(Se+ge*u(ee+ue)),me=g(ke+Be*i(ee+ue));V.push("A",g(ge),g(Be),c(Ge*h),+we,+ae,Ne,me);break;case a.Z:fe="Z";break;case a.R:var Ne=g(q[ce++]),me=g(q[ce++]),be=g(q[ce++]),Re=g(q[ce++]);V.push("M",Ne,me,"L",Ne+be,me,"L",Ne+be,me+Re,"L",Ne,me+Re,"L",Ne,me);break}fe&&V.push(fe);for(var it=0;itpt){for(;it0?"-".concat(w):w,F=!!_,H=d()(S,O,"".concat(O,"-").concat(v),(r={},f()(r,"".concat(O,"-with-text"),F),f()(r,"".concat(O,"-with-text").concat(M),F),f()(r,"".concat(O,"-dashed"),!!I),f()(r,"".concat(O,"-plain"),!!C),f()(r,"".concat(O,"-rtl"),h==="rtl"),r));return t.createElement("div",b()({className:H},E,{role:"separator"}),_&&t.createElement("span",{className:"".concat(O,"-inner-text")},_))})};R.a=s},PD8m:function(j,R){j.exports={name:"memoryStorage",read:x,write:b,each:A,remove:f,clearAll:t};var l={};function x(e){return l[e]}function b(e,m){l[e]=m}function A(e){for(var m in l)l.hasOwnProperty(m)&&e(l[m],m)}function f(e){delete l[e]}function t(e){l={}}},PEeC:function(j,R,l){"use strict";l.d(R,"a",function(){return t}),l.d(R,"b",function(){return e});var x=l("RIqP"),b=l.n(x),A=l("xEkU"),f=l.n(A);function t(m){var d,a=function(c){return function(){d=null,m.apply(void 0,b()(c))}},n=function(){if(d==null){for(var c=arguments.length,i=new Array(c),u=0;u0),f()(J,"".concat(z,"-rtl"),k==="rtl"),J),K);return r.createElement(y.Provider,{value:{siderHook:B.getSiderHook()}},r.createElement(V,e()({className:re},q),P))},B}return n()(H,[{key:"getSiderHook",value:function(){var X=this;return{addSider:function(k){X.setState(function(W){return{siders:[].concat(b()(W.siders),[k])}})},removeSider:function(k){X.setState(function(W){return{siders:W.siders.filter(function(z){return z!==k})}})}}}},{key:"render",value:function(){return r.createElement(g.a,null,this.renderComponent)}}]),H}(r.Component),I=w({suffixCls:"layout",tagName:"section",displayName:"Layout"})(_),C=w({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(S),E=w({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(S),O=w({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(S);I.Header=C,I.Footer=E,I.Content=O,R.b=I},PNag:function(j,R,l){var x=l("bYtY"),b=l("SKnc"),A=l("YH21"),f=l("crZl"),t=l("IwbS"),e=l("OELB"),m=l("72pK"),d=l("y7Aq"),a=l("4NO4"),n=e.linearMap,s=x.each,c=Math.min,i=Math.max,u=12,r=6,o=f.extend({type:"visualMap.continuous",init:function(){o.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(_,I,C,E){(!E||E.type!=="selectDataRange"||E.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var _=this.visualMapModel,I=this.group;this._orient=_.get("orient"),this._useHandle=_.get("calculable"),this._resetInterval(),this._renderBar(I);var C=_.get("text");this._renderEndsText(I,C,0),this._renderEndsText(I,C,1),this._updateView(!0),this.renderBackground(I),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(I)},_renderEndsText:function(_,I,C){if(!I)return;var E=I[1-C];E=E!=null?E+"":"";var O=this.visualMapModel,M=O.get("textGap"),F=O.itemSize,H=this._shapes.barGroup,B=this._applyTransform([F[0]/2,C===0?-M:F[1]+M],H),X=this._applyTransform(C===0?"bottom":"top",H),J=this._orient,k=this.visualMapModel.textStyleModel;this.group.add(new t.Text({style:{x:B[0],y:B[1],textVerticalAlign:J==="horizontal"?"middle":X,textAlign:J==="horizontal"?X:"center",text:E,textFont:k.getFont(),textFill:k.getTextColor()}}))},_renderBar:function(_){var I=this.visualMapModel,C=this._shapes,E=I.itemSize,O=this._orient,M=this._useHandle,F=d.getItemAlign(I,this.api,E),H=C.barGroup=this._createBarGroup(F);H.add(C.outOfRange=h()),H.add(C.inRange=h(null,M?w(this._orient):null,x.bind(this._dragHandle,this,"all",!1),x.bind(this._dragHandle,this,"all",!0)));var B=I.textStyleModel.getTextRect("\u56FD"),X=i(B.width,B.height);M&&(C.handleThumbs=[],C.handleLabels=[],C.handleLabelPoints=[],this._createHandle(H,0,E,X,O,F),this._createHandle(H,1,E,X,O,F)),this._createIndicator(H,E,X,O),_.add(H)},_createHandle:function(_,I,C,E,O){var M=x.bind(this._dragHandle,this,I,!1),F=x.bind(this._dragHandle,this,I,!0),H=h(p(I,E),w(this._orient),M,F);H.position[0]=C[0],_.add(H);var B=this.visualMapModel.textStyleModel,X=new t.Text({draggable:!0,drift:M,onmousemove:function(W){A.stop(W.event)},ondragend:F,style:{x:0,y:0,text:"",textFont:B.getFont(),textFill:B.getTextColor()}});this.group.add(X);var J=[O==="horizontal"?E/2:E*1.5,O==="horizontal"?I===0?-(E*1.5):E*1.5:I===0?-E/2:E/2],k=this._shapes;k.handleThumbs[I]=H,k.handleLabelPoints[I]=J,k.handleLabels[I]=X},_createIndicator:function(_,I,C,E){var O=h([[0,0]],"move");O.position[0]=I[0],O.attr({invisible:!0,silent:!0}),_.add(O);var M=this.visualMapModel.textStyleModel,F=new t.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:M.getFont(),textFill:M.getTextColor()}});this.group.add(F);var H=[E==="horizontal"?C/2:r+3,0],B=this._shapes;B.indicator=O,B.indicatorLabel=F,B.indicatorLabelPoint=H},_dragHandle:function(_,I,C,E){if(!this._useHandle)return;if(this._dragging=!I,!I){var O=this._applyTransform([C,E],this._shapes.barGroup,!0);this._updateInterval(_,O[1]),this._updateView()}I===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),I?!this._hovering&&this._clearHoverLinkToSeries():y(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[_],!1)},_resetInterval:function(){var _=this.visualMapModel,I=this._dataInterval=_.getSelected(),C=_.getExtent(),E=[0,_.itemSize[1]];this._handleEnds=[n(I[0],C,E,!0),n(I[1],C,E,!0)]},_updateInterval:function(_,I){I=I||0;var C=this.visualMapModel,E=this._handleEnds,O=[0,C.itemSize[1]];m(I,E,O,_,0);var M=C.getExtent();this._dataInterval=[n(E[0],O,M,!0),n(E[1],O,M,!0)]},_updateView:function(_){var I=this.visualMapModel,C=I.getExtent(),E=this._shapes,O=[0,I.itemSize[1]],M=_?O:this._handleEnds,F=this._createBarVisual(this._dataInterval,C,M,"inRange"),H=this._createBarVisual(C,C,O,"outOfRange");E.inRange.setStyle({fill:F.barColor,opacity:F.opacity}).setShape("points",F.barPoints),E.outOfRange.setStyle({fill:H.barColor,opacity:H.opacity}).setShape("points",H.barPoints),this._updateHandle(M,F)},_createBarVisual:function(_,I,C,E){var O={forceState:E,convertOpacityToAlpha:!0},M=this._makeColorGradient(_,O),F=[this.getControllerVisual(_[0],"symbolSize",O),this.getControllerVisual(_[1],"symbolSize",O)],H=this._createBarPoints(C,F);return{barColor:new b(0,0,0,1,M),barPoints:H,handlesColor:[M[0].color,M[M.length-1].color]}},_makeColorGradient:function(_,I){var C=100,E=[],O=(_[1]-_[0])/C;E.push({color:this.getControllerVisual(_[0],"color",I),offset:0});for(var M=1;M_[1])break;E.push({color:this.getControllerVisual(F,"color",I),offset:M/C})}return E.push({color:this.getControllerVisual(_[1],"color",I),offset:1}),E},_createBarPoints:function(_,I){var C=this.visualMapModel.itemSize;return[[C[0]-I[0],_[0]],[C[0],_[0]],[C[0],_[1]],[C[0]-I[1],_[1]]]},_createBarGroup:function(_){var I=this._orient,C=this.visualMapModel.get("inverse");return new t.Group(I==="horizontal"&&!C?{scale:_==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:I==="horizontal"&&C?{scale:_==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:I==="vertical"&&!C?{scale:_==="left"?[1,-1]:[-1,-1]}:{scale:_==="left"?[1,1]:[-1,1]})},_updateHandle:function(_,I){if(!this._useHandle)return;var C=this._shapes,E=this.visualMapModel,O=C.handleThumbs,M=C.handleLabels;s([0,1],function(F){var H=O[F];H.setStyle("fill",I.handlesColor[F]),H.position[1]=_[F];var B=t.applyTransform(C.handleLabelPoints[F],t.getTransform(H,this.group));M[F].setStyle({x:B[0],y:B[1],text:E.formatValueText(this._dataInterval[F]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?F===0?"bottom":"top":"left",C.barGroup)})},this)},_showIndicator:function(_,I,C,E){var O=this.visualMapModel,M=O.getExtent(),F=O.itemSize,H=[0,F[1]],B=n(_,M,H,!0),X=this._shapes,J=X.indicator;if(!J)return;J.position[1]=B,J.attr("invisible",!1),J.setShape("points",g(!!C,E,B,F[1]));var k={convertOpacityToAlpha:!0},W=this.getControllerVisual(_,"color",k);J.setStyle("fill",W);var z=t.applyTransform(X.indicatorLabelPoint,t.getTransform(J,this.group)),K=X.indicatorLabel;K.attr("invisible",!1);var P=this._applyTransform("left",X.barGroup),G=this._orient;K.setStyle({text:(C||"")+O.formatValueText(I),textVerticalAlign:G==="horizontal"?P:"middle",textAlign:G==="horizontal"?"center":P,x:z[0],y:z[1]})},_enableHoverLinkToSeries:function(){var _=this;this._shapes.barGroup.on("mousemove",function(I){if(_._hovering=!0,!_._dragging){var C=_.visualMapModel.itemSize,E=_._applyTransform([I.offsetX,I.offsetY],_._shapes.barGroup,!0,!0);E[1]=c(i(0,E[1]),C[1]),_._doHoverLinkToSeries(E[1],0<=E[0]&&E[0]<=C[0])}}).on("mouseout",function(){_._hovering=!1,!_._dragging&&_._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var _=this.api.getZr();this.visualMapModel.option.hoverLink?(_.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),_.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(_,I){var C=this.visualMapModel,E=C.itemSize;if(!C.option.hoverLink)return;var O=[0,E[1]],M=C.getExtent();_=c(i(O[0],_),O[1]);var F=v(C,M,O),H=[_-F,_+F],B=n(_,O,M,!0),X=[n(H[0],O,M,!0),n(H[1],O,M,!0)];H[0]O[1]&&(X[1]=Infinity),I&&(X[0]===-Infinity?this._showIndicator(B,X[1],"< ",F):X[1]===Infinity?this._showIndicator(B,X[0],"> ",F):this._showIndicator(B,B,"\u2248 ",F));var J=this._hoverLinkDataIndices,k=[];(I||y(C))&&(k=this._hoverLinkDataIndices=C.findTargetDataIndices(X));var W=a.compressBatches(J,k);this._dispatchHighDown("downplay",d.makeHighDownBatch(W[0],C)),this._dispatchHighDown("highlight",d.makeHighDownBatch(W[1],C))},_hoverLinkFromSeriesMouseOver:function(_){var I=_.target,C=this.visualMapModel;if(!I||I.dataIndex==null)return;var E=this.ecModel.getSeriesByIndex(I.seriesIndex);if(!C.isTargetSeries(E))return;var O=E.getData(I.dataType),M=O.get(C.getDataDimension(O),I.dataIndex,!0);isNaN(M)||this._showIndicator(M,M)},_hideIndicator:function(){var _=this._shapes;_.indicator&&_.indicator.attr("invisible",!0),_.indicatorLabel&&_.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var _=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",d.makeHighDownBatch(_,this.visualMapModel)),_.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var _=this.api.getZr();_.off("mouseover",this._hoverLinkFromSeriesMouseOver),_.off("mouseout",this._hideIndicator)},_applyTransform:function(_,I,C,E){var O=t.getTransform(I,E?null:this.group);return t[x.isArray(_)?"applyTransform":"transformDirection"](_,O,C)},_dispatchHighDown:function(_,I){I&&I.length&&this.api.dispatchAction({type:_,batch:I})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function h(_,I,C,E){return new t.Polygon({shape:{points:_},draggable:!!C,cursor:I,drift:C,onmousemove:function(O){A.stop(O.event)},ondragend:E})}function p(_,I){return _===0?[[0,0],[I,0],[I,-I]]:[[0,0],[I,0],[I,I]]}function g(_,I,C,E){return _?[[0,-c(I,i(C,0))],[r,0],[0,c(I,i(E-C,0))]]:[[0,0],[5,-5],[5,5]]}function v(_,I,C){var E=u/2,O=_.get("hoverLinkDataSize");return O&&(E=n(O,I,C,!0)/2),E}function y(_){var I=_.get("hoverLinkOnHandle");return!!(I==null?_.get("realtime"):I)}function w(_){return _==="vertical"?"ns-resize":"ew-resize"}var S=o;j.exports=S},PQMj:function(j,R,l){},PSzr:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};R.default=x},ProS:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("aX58"),f=l("bYtY"),t=l("Qe9p"),e=l("ItGF"),m=l("BPZU"),d=l("H6uX"),a=l("fmMI"),n=l("hD7B"),s=l("IDmD"),c=l("ypgQ"),i=l("+wW9"),u=l("0V0F"),r=l("bLfw"),o=l("T4UG"),h=l("sS/r"),p=l("6Ic6"),g=l("IwbS"),v=l("4NO4"),y=l("iLNv"),w=y.throttle,S=l("/WM3"),_=l("uAnK"),I=l("mYwL"),C=l("af/B"),E=l("xTNl"),O=l("8hn6");l("A1Ka");var M=l("7DRL"),F=f.assert,H=f.each,B=f.isFunction,X=f.isObject,J=r.parseClassType,k="4.8.0",W={zrender:"4.3.1"},z=1,K=1e3,P=800,G=900,V=5e3,q=1e3,re=1100,ce=2e3,ie=3e3,fe=3500,xe=4e3,Se=5e3,ke={PROCESSOR:{FILTER:K,SERIES_FILTER:P,STATISTIC:V},VISUAL:{LAYOUT:q,PROGRESSIVE_LAYOUT:re,GLOBAL:ce,CHART:ie,POST_CHART_LAYOUT:fe,COMPONENT:xe,BRUSH:Se}},ge="__flagInMainProcess",Be="__optionUpdated",ee=/^[a-zA-Z0-9_]+$/;function ue(Dt,tr){return function(Dr,dr,Tr){if(!tr&&this._disposed){Ut(this.id);return}Dr=Dr&&Dr.toLowerCase(),d.prototype[Dt].call(this,Dr,dr,Tr)}}function Ge(){d.call(this)}Ge.prototype.on=ue("on",!0),Ge.prototype.off=ue("off",!0),Ge.prototype.one=ue("one",!0),f.mixin(Ge,d);function ae(Dt,tr,Dr){Dr=Dr||{},typeof tr=="string"&&(tr=He[tr]),this.id,this.group,this._dom=Dt;var dr="canvas",Tr=this._zr=A.init(Dt,{renderer:Dr.renderer||dr,devicePixelRatio:Dr.devicePixelRatio,width:Dr.width,height:Dr.height});this._throttledZrFlush=w(f.bind(Tr.flush,Tr),17);var tr=f.clone(tr);tr&&i(tr,!0),this._theme=tr,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new s;var vn=this._api=ht(this);function on(Gn,di){return Gn.__prio-di.__prio}m(jt,on),m(rt,on),this._scheduler=new C(this,vn,rt,jt),d.call(this,this._ecEventProcessor=new Ee),this._messageCenter=new Ge,this._initEvents(),this.resize=f.bind(this.resize,this),this._pendingActions=[],Tr.animation.on("frame",this._onframe,this),Re(Tr,this),f.setAsPrimitive(this)}var Z=ae.prototype;Z._onframe=function(){if(this._disposed)return;var Dt=this._scheduler;if(this[Be]){var tr=this[Be].silent;this[ge]=!0,we(this),te.update.call(this),this[ge]=!1,this[Be]=!1,me.call(this,tr),be.call(this,tr)}else if(Dt.unfinished){var Dr=z,dr=this._model,Tr=this._api;Dt.unfinished=!1;do{var vn=+new Date;Dt.performSeriesTasks(dr),Dt.performDataProcessorTasks(dr),De(this,dr),Dt.performVisualTasks(dr),Nt(this,this._model,Tr,"remain"),Dr-=+new Date-vn}while(Dr>0&&Dt.unfinished);Dt.unfinished||this._zr.flush()}},Z.getDom=function(){return this._dom},Z.getZr=function(){return this._zr},Z.setOption=function(Dt,tr,Dr){if(this._disposed){Ut(this.id);return}var dr;if(X(tr)&&(Dr=tr.lazyUpdate,dr=tr.silent,tr=tr.notMerge),this[ge]=!0,!this._model||tr){var Tr=new c(this._api),vn=this._theme,on=this._model=new a;on.scheduler=this._scheduler,on.init(null,null,vn,Tr)}this._model.setOption(Dt,ve),Dr?(this[Be]={silent:dr},this[ge]=!1):(we(this),te.update.call(this),this._zr.flush(),this[Be]=!1,this[ge]=!1,me.call(this,dr),be.call(this,dr))},Z.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},Z.getModel=function(){return this._model},Z.getOption=function(){return this._model&&this._model.getOption()},Z.getWidth=function(){return this._zr.getWidth()},Z.getHeight=function(){return this._zr.getHeight()},Z.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},Z.getRenderedCanvas=function(Dt){if(!e.canvasSupported)return;Dt=Dt||{},Dt.pixelRatio=Dt.pixelRatio||1,Dt.backgroundColor=Dt.backgroundColor||this._model.get("backgroundColor");var tr=this._zr;return tr.painter.getRenderedCanvas(Dt)},Z.getSvgDataURL=function(){if(!e.svgSupported)return;var Dt=this._zr,tr=Dt.storage.getDisplayList();return f.each(tr,function(Dr){Dr.stopAnimation(!0)}),Dt.painter.toDataURL()},Z.getDataURL=function(Dt){if(this._disposed){Ut(this.id);return}Dt=Dt||{};var tr=Dt.excludeComponents,Dr=this._model,dr=[],Tr=this;H(tr,function(on){Dr.eachComponent({mainType:on},function(Gn){var di=Tr._componentsMap[Gn.__viewId];di.group.ignore||(dr.push(di),di.group.ignore=!0)})});var vn=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(Dt).toDataURL("image/"+(Dt&&Dt.type||"png"));return H(dr,function(on){on.group.ignore=!1}),vn},Z.getConnectedDataURL=function(Dt){if(this._disposed){Ut(this.id);return}if(!e.canvasSupported)return;var tr=Dt.type==="svg",Dr=this.group,dr=Math.min,Tr=Math.max,vn=Infinity;if(at[Dr]){var on=vn,Gn=vn,di=-vn,Ti=-vn,Fi=[],la=Dt&&Dt.pixelRatio||1;f.each(Ar,function(st,nt){if(st.group===Dr){var ft=tr?st.getZr().painter.getSvgDom().innerHTML:st.getRenderedCanvas(f.clone(Dt)),Bt=st.getDom().getBoundingClientRect();on=dr(Bt.left,on),Gn=dr(Bt.top,Gn),di=Tr(Bt.right,di),Ti=Tr(Bt.bottom,Ti),Fi.push({dom:ft,left:Bt.left,top:Bt.top})}}),on*=la,Gn*=la,di*=la,Ti*=la;var Ta=di-on,dt=Ti-Gn,Me=f.createCanvas(),Xe=A.init(Me,{renderer:tr?"svg":"canvas"});if(Xe.resize({width:Ta,height:dt}),tr){var Qe="";return H(Fi,function(st){var nt=st.left-on,ft=st.top-Gn;Qe+=''+st.dom+""}),Xe.painter.getSvgRoot().innerHTML=Qe,Dt.connectedBackgroundColor&&Xe.painter.setBackgroundColor(Dt.connectedBackgroundColor),Xe.refreshImmediately(),Xe.painter.toDataURL()}else return Dt.connectedBackgroundColor&&Xe.add(new g.Rect({shape:{x:0,y:0,width:Ta,height:dt},style:{fill:Dt.connectedBackgroundColor}})),H(Fi,function(st){var nt=new g.Image({style:{x:st.left*la-on,y:st.top*la-Gn,image:st.dom}});Xe.add(nt)}),Xe.refreshImmediately(),Me.toDataURL("image/"+(Dt&&Dt.type||"png"))}else return this.getDataURL(Dt)},Z.convertToPixel=f.curry(Y,"convertToPixel"),Z.convertFromPixel=f.curry(Y,"convertFromPixel");function Y(Dt,tr,Dr){if(this._disposed){Ut(this.id);return}var dr=this._model,Tr=this._coordSysMgr.getCoordinateSystems(),vn;tr=v.parseFinder(dr,tr);for(var on=0;on=0&&f.each(Tr,function(on){var Gn=on.coordinateSystem;if(Gn&&Gn.containPoint)dr|=!!Gn.containPoint(tr);else if(vn==="seriesModels"){var di=this._chartsMap[on.__viewId];di&&di.containPoint&&(dr|=di.containPoint(tr,on))}},this)},this),!!dr},Z.getVisual=function(Dt,tr){var Dr=this._model;Dt=v.parseFinder(Dr,Dt,{defaultMainType:"series"});var dr=Dt.seriesModel,Tr=dr.getData(),vn=Dt.hasOwnProperty("dataIndexInside")?Dt.dataIndexInside:Dt.hasOwnProperty("dataIndex")?Tr.indexOfRawIndex(Dt.dataIndex):null;return vn!=null?Tr.getItemVisual(vn,tr):Tr.getVisual(tr)},Z.getViewOfComponentModel=function(Dt){return this._componentsMap[Dt.__viewId]},Z.getViewOfSeriesModel=function(Dt){return this._chartsMap[Dt.__viewId]};var te={prepareAndUpdate:function(Dt){we(this),te.update.call(this,Dt)},update:function(Dt){var tr=this._model,Dr=this._api,dr=this._zr,Tr=this._coordSysMgr,vn=this._scheduler;if(!tr)return;vn.restoreData(tr,Dt),vn.performSeriesTasks(tr),Tr.create(tr,Dr),vn.performDataProcessorTasks(tr,Dt),De(this,tr),Tr.update(tr,Dr),yt(tr),vn.performVisualTasks(tr,Dt),pt(this,tr,Dr,Dt);var on=tr.get("backgroundColor")||"transparent";if(e.canvasSupported)dr.setBackgroundColor(on);else{var Gn=t.parse(on);on=t.stringify(Gn,"rgb"),Gn[3]===0&&(on="transparent")}ut(tr,Dr)},updateTransform:function(Dt){var tr=this._model,Dr=this,dr=this._api;if(!tr)return;var Tr=[];tr.eachComponent(function(on,Gn){var di=Dr.getViewOfComponentModel(Gn);if(di&&di.__alive)if(di.updateTransform){var Ti=di.updateTransform(Gn,tr,dr,Dt);Ti&&Ti.update&&Tr.push(di)}else Tr.push(di)});var vn=f.createHashMap();tr.eachSeries(function(on){var Gn=Dr._chartsMap[on.__viewId];if(Gn.updateTransform){var di=Gn.updateTransform(on,tr,dr,Dt);di&&di.update&&vn.set(on.uid,1)}else vn.set(on.uid,1)}),yt(tr),this._scheduler.performVisualTasks(tr,Dt,{setDirty:!0,dirtyMap:vn}),Nt(Dr,tr,dr,Dt,vn),ut(tr,this._api)},updateView:function(Dt){var tr=this._model;if(!tr)return;p.markUpdateMethod(Dt,"updateView"),yt(tr),this._scheduler.performVisualTasks(tr,Dt,{setDirty:!0}),pt(this,this._model,this._api,Dt),ut(tr,this._api)},updateVisual:function(Dt){te.update.call(this,Dt)},updateLayout:function(Dt){te.update.call(this,Dt)}};function we(Dt){var tr=Dt._model,Dr=Dt._scheduler;Dr.restorePipelines(tr),Dr.prepareStageTasks(),it(Dt,"component",tr,Dr),it(Dt,"chart",tr,Dr),Dr.plan()}function pe(Dt,tr,Dr,dr,Tr){var vn=Dt._model;if(!dr){H(Dt._componentsViews.concat(Dt._chartsViews),Ti);return}var on={};on[dr+"Id"]=Dr[dr+"Id"],on[dr+"Index"]=Dr[dr+"Index"],on[dr+"Name"]=Dr[dr+"Name"];var Gn={mainType:dr,query:on};Tr&&(Gn.subType=Tr);var di=Dr.excludeSeriesId;di!=null&&(di=f.createHashMap(v.normalizeToArray(di))),vn&&vn.eachComponent(Gn,function(Fi){(!di||di.get(Fi.id)==null)&&Ti(Dt[dr==="series"?"_chartsMap":"_componentsMap"][Fi.__viewId])},Dt);function Ti(Fi){Fi&&Fi.__alive&&Fi[tr]&&Fi[tr](Fi.__model,vn,Dt._api,Dr)}}Z.resize=function(Dt){if(this._disposed){Ut(this.id);return}this._zr.resize(Dt);var tr=this._model;if(this._loadingFX&&this._loadingFX.resize(),!tr)return;var Dr=tr.resetOption("media"),dr=Dt&&Dt.silent;this[ge]=!0,Dr&&we(this),te.update.call(this),this[ge]=!1,me.call(this,dr),be.call(this,dr)};function De(Dt,tr){var Dr=Dt._chartsMap,dr=Dt._scheduler;tr.eachSeries(function(Tr){dr.updateStreamModes(Tr,Dr[Tr.__viewId])})}Z.showLoading=function(Dt,tr){if(this._disposed){Ut(this.id);return}if(X(Dt)&&(tr=Dt,Dt=""),Dt=Dt||"default",this.hideLoading(),!kt[Dt])return;var Dr=kt[Dt](this._api,tr),dr=this._zr;this._loadingFX=Dr,dr.add(Dr)},Z.hideLoading=function(){if(this._disposed){Ut(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},Z.makeActionFromEvent=function(Dt){var tr=f.extend({},Dt);return tr.type=qe[Dt.type],tr},Z.dispatchAction=function(Dt,tr){if(this._disposed){Ut(this.id);return}if(X(tr)||(tr={silent:!!tr}),!de[Dt.type])return;if(!this._model)return;if(this[ge]){this._pendingActions.push(Dt);return}Ne.call(this,Dt,tr.silent),tr.flush?this._zr.flush(!0):tr.flush!==!1&&e.browser.weChat&&this._throttledZrFlush(),me.call(this,tr.silent),be.call(this,tr.silent)};function Ne(Dt,tr){var Dr=Dt.type,dr=Dt.escapeConnect,Tr=de[Dr],vn=Tr.actionInfo,on=(vn.update||"update").split(":"),Gn=on.pop();on=on[0]!=null&&J(on[0]),this[ge]=!0;var di=[Dt],Ti=!1;Dt.batch&&(Ti=!0,di=f.map(Dt.batch,function(dt){return dt=f.defaults(f.extend({},dt),Dt),dt.batch=null,dt}));var Fi=[],la,Ta=Dr==="highlight"||Dr==="downplay";H(di,function(dt){la=Tr.action(dt,this._model,this._api),la=la||f.extend({},dt),la.type=vn.event||la.type,Fi.push(la),Ta?pe(this,Gn,dt,"series"):on&&pe(this,Gn,dt,on.main,on.sub)},this),Gn!=="none"&&!Ta&&!on&&(this[Be]?(we(this),te.update.call(this,Dt),this[Be]=!1):te[Gn].call(this,Dt)),Ti?la={type:vn.event||Dr,escapeConnect:dr,batch:Fi}:la=Fi[0],this[ge]=!1,!tr&&this._messageCenter.trigger(la.type,la)}function me(Dt){for(var tr=this._pendingActions;tr.length;){var Dr=tr.shift();Ne.call(this,Dr,Dt)}}function be(Dt){!Dt&&this.trigger("updated")}function Re(Dt,tr){Dt.on("rendered",function(){tr.trigger("rendered"),Dt.animation.isFinished()&&!tr[Be]&&!tr._scheduler.unfinished&&!tr._pendingActions.length&&tr.trigger("finished")})}Z.appendData=function(Dt){if(this._disposed){Ut(this.id);return}var tr=Dt.seriesIndex,Dr=this.getModel(),dr=Dr.getSeriesByIndex(tr);dr.appendData(Dt),this._scheduler.unfinished=!0},Z.on=ue("on",!1),Z.off=ue("off",!1),Z.one=ue("one",!1);function it(Dt,tr,Dr,dr){for(var Tr=tr==="component",vn=Tr?Dt._componentsViews:Dt._chartsViews,on=Tr?Dt._componentsMap:Dt._chartsMap,Gn=Dt._zr,di=Dt._api,Ti=0;Titr.get("hoverLayerThreshold")&&!e.node&&tr.eachSeries(function(vn){if(vn.preventUsingHoverLayer)return;var on=Dt._chartsMap[vn.__viewId];on.__alive&&on.group.traverse(function(Gn){Gn.useHoverLayer=!0})})}function $t(Dt,tr){var Dr=Dt.get("blendMode")||null;tr.group.traverse(function(dr){dr.isGroup||dr.style.blend!==Dr&&dr.setStyle("blend",Dr),dr.eachPendingDisplayable&&dr.eachPendingDisplayable(function(Tr){Tr.setStyle("blend",Dr)})})}function or(Dt,tr){var Dr=Dt.get("z"),dr=Dt.get("zlevel");tr.group.traverse(function(Tr){Tr.type!=="group"&&(Dr!=null&&(Tr.z=Dr),dr!=null&&(Tr.zlevel=dr))})}function ht(Dt){var tr=Dt._coordSysMgr;return f.extend(new n(Dt),{getCoordinateSystems:f.bind(tr.getCoordinateSystems,tr),getComponentByElement:function(Dr){for(;Dr;){var dr=Dr.__ecComponentInfo;if(dr!=null)return Dt._model.getComponent(dr.mainType,dr.index);Dr=Dr.parent}}})}function Ee(){this.eventInfo}Ee.prototype={constructor:Ee,normalizeQuery:function(Dt){var tr={},Dr={},dr={};if(f.isString(Dt)){var Tr=J(Dt);tr.mainType=Tr.main||null,tr.subType=Tr.sub||null}else{var vn=["Index","Name","Id"],on={name:1,dataIndex:1,dataType:1};f.each(Dt,function(Gn,di){for(var Ti=!1,Fi=0;Fi0&&Ta===di.length-la.length){var dt=di.slice(0,Ta);dt!=="data"&&(tr.mainType=dt,tr[la.toLowerCase()]=Gn,Ti=!0)}}on.hasOwnProperty(di)&&(Dr[di]=Gn,Ti=!0),Ti||(dr[di]=Gn)})}return{cptQuery:tr,dataQuery:Dr,otherQuery:dr}},filter:function(Dt,tr,Dr){var dr=this.eventInfo;if(!dr)return!0;var Tr=dr.targetEl,vn=dr.packedEvent,on=dr.model,Gn=dr.view;if(!on||!Gn)return!0;var di=tr.cptQuery,Ti=tr.dataQuery;return Fi(di,on,"mainType")&&Fi(di,on,"subType")&&Fi(di,on,"index","componentIndex")&&Fi(di,on,"name")&&Fi(di,on,"id")&&Fi(Ti,vn,"name")&&Fi(Ti,vn,"dataIndex")&&Fi(Ti,vn,"dataType")&&(!Gn.filterForExposedEvent||Gn.filterForExposedEvent(Dt,tr.otherQuery,Tr,vn));function Fi(la,Ta,dt,Me){return la[dt]==null||Ta[Me||dt]===la[dt]}},afterTrigger:function(){this.eventInfo=null}};var de={},qe={},rt=[],ve=[],bt=[],jt=[],He={},kt={},Ar={},at={},Ht=new Date-0,Kt=new Date-0,ot="_echarts_instance_";function et(Dt){var tr=0,Dr=1,dr=2,Tr="__connectUpdateStatus";function vn(on,Gn){for(var di=0;di>>1:f>>>1;t[e]=f}return t}var b=x();function A(f,t,e,m){var d=b,a=m+e;f^=-1;for(var n=m;n>>8^d[(f^t[n])&255];return f^-1}},QbM5:function(j,R,l){},Qe9p:function(j,R,l){var x=l("1RvN"),b={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function A(E){return E=Math.round(E),E<0?0:E>255?255:E}function f(E){return E=Math.round(E),E<0?0:E>360?360:E}function t(E){return E<0?0:E>1?1:E}function e(E){return E.length&&E.charAt(E.length-1)==="%"?A(parseFloat(E)/100*255):A(parseInt(E,10))}function m(E){return E.length&&E.charAt(E.length-1)==="%"?t(parseFloat(E)/100):t(parseFloat(E))}function d(E,O,M){return M<0?M+=1:M>1&&(M-=1),M*6<1?E+(O-E)*M*6:M*2<1?O:M*3<2?E+(O-E)*(2/3-M)*6:E}function a(E,O,M){return E+(O-E)*M}function n(E,O,M,F,H){return E[0]=O,E[1]=M,E[2]=F,E[3]=H,E}function s(E,O){return E[0]=O[0],E[1]=O[1],E[2]=O[2],E[3]=O[3],E}var c=new x(20),i=null;function u(E,O){i&&s(i,O),i=c.put(E,i||O.slice())}function r(E,O){if(!E)return;O=O||[];var M=c.get(E);if(M)return s(O,M);E=E+"";var F=E.replace(/ /g,"").toLowerCase();if(F in b)return s(O,b[F]),u(E,O),O;if(F.charAt(0)==="#"){if(F.length===4){var H=parseInt(F.substr(1),16);if(!(H>=0&&H<=4095)){n(O,0,0,0,1);return}return n(O,(H&3840)>>4|(H&3840)>>8,H&240|(H&240)>>4,H&15|(H&15)<<4,1),u(E,O),O}else if(F.length===7){var H=parseInt(F.substr(1),16);if(!(H>=0&&H<=16777215)){n(O,0,0,0,1);return}return n(O,(H&16711680)>>16,(H&65280)>>8,H&255,1),u(E,O),O}return}var B=F.indexOf("("),X=F.indexOf(")");if(B!==-1&&X+1===F.length){var J=F.substr(0,B),k=F.substr(B+1,X-(B+1)).split(","),W=1;switch(J){case"rgba":if(k.length!==4){n(O,0,0,0,1);return}W=m(k.pop());case"rgb":if(k.length!==3){n(O,0,0,0,1);return}return n(O,e(k[0]),e(k[1]),e(k[2]),W),u(E,O),O;case"hsla":if(k.length!==4){n(O,0,0,0,1);return}return k[3]=m(k[3]),o(k,O),u(E,O),O;case"hsl":if(k.length!==3){n(O,0,0,0,1);return}return o(k,O),u(E,O),O;default:return}}n(O,0,0,0,1);return}function o(E,O){var M=(parseFloat(E[0])%360+360)%360/360,F=m(E[1]),H=m(E[2]),B=H<=.5?H*(F+1):H+F-H*F,X=H*2-B;return O=O||[],n(O,A(d(X,B,M+1/3)*255),A(d(X,B,M)*255),A(d(X,B,M-1/3)*255),1),E.length===4&&(O[3]=E[3]),O}function h(E){if(!E)return;var O=E[0]/255,M=E[1]/255,F=E[2]/255,H=Math.min(O,M,F),B=Math.max(O,M,F),X=B-H,J=(B+H)/2,k,W;if(X===0)k=0,W=0;else{J<.5?W=X/(B+H):W=X/(2-B-H);var z=((B-O)/6+X/2)/X,K=((B-M)/6+X/2)/X,P=((B-F)/6+X/2)/X;O===B?k=P-K:M===B?k=1/3+z-P:F===B&&(k=2/3+K-z),k<0&&(k+=1),k>1&&(k-=1)}var G=[k*360,W,J];return E[3]!=null&&G.push(E[3]),G}function p(E,O){var M=r(E);if(M){for(var F=0;F<3;F++)O<0?M[F]=M[F]*(1-O)|0:M[F]=(255-M[F])*O+M[F]|0,M[F]>255?M[F]=255:E[F]<0&&(M[F]=0);return C(M,M.length===4?"rgba":"rgb")}}function g(E){var O=r(E);if(O)return((1<<24)+(O[0]<<16)+(O[1]<<8)+ +O[2]).toString(16).slice(1)}function v(E,O,M){if(!(O&&O.length)||!(E>=0&&E<=1))return;M=M||[];var F=E*(O.length-1),H=Math.floor(F),B=Math.ceil(F),X=O[H],J=O[B],k=F-H;return M[0]=A(a(X[0],J[0],k)),M[1]=A(a(X[1],J[1],k)),M[2]=A(a(X[2],J[2],k)),M[3]=t(a(X[3],J[3],k)),M}var y=v;function w(E,O,M){if(!(O&&O.length)||!(E>=0&&E<=1))return;var F=E*(O.length-1),H=Math.floor(F),B=Math.ceil(F),X=r(O[H]),J=r(O[B]),k=F-H,W=C([A(a(X[0],J[0],k)),A(a(X[1],J[1],k)),A(a(X[2],J[2],k)),t(a(X[3],J[3],k))],"rgba");return M?{color:W,leftIndex:H,rightIndex:B,value:F}:W}var S=w;function _(E,O,M,F){if(E=r(E),E)return E=h(E),O!=null&&(E[0]=f(O)),M!=null&&(E[1]=m(M)),F!=null&&(E[2]=m(F)),C(o(E),"rgba")}function I(E,O){if(E=r(E),E&&O!=null)return E[3]=t(O),C(E,"rgba")}function C(E,O){if(!E||!E.length)return;var M=E[0]+","+E[1]+","+E[2];return(O==="rgba"||O==="hsva"||O==="hsla")&&(M+=","+E[3]),O+"("+M+")"}R.parse=r,R.lift=p,R.toHex=g,R.fastLerp=v,R.fastMapToColor=y,R.lerp=w,R.mapToColor=S,R.modifyHSL=_,R.modifyAlpha=I,R.stringify=C},Qi1f:function(j,R,l){"use strict";l.d(R,"g",function(){return u}),l.d(R,"c",function(){return r}),l.d(R,"a",function(){return h}),l.d(R,"b",function(){return p}),l.d(R,"d",function(){return g}),l.d(R,"e",function(){return v}),l.d(R,"f",function(){return w});var x=l("VTBJ"),b=l("U8pU"),A=l("u3cA"),f=l("q1tI"),t=l.n(f),e=l("Kwbf"),m=l("MNnm"),d="rc-util-key";function a(S){if(S.attachTo)return S.attachTo;var _=document.querySelector("head");return _||document.body}function n(S){var _,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(m.a)())return null;var C=document.createElement("style");if((_=I.csp)===null||_===void 0?void 0:_.nonce){var E;C.nonce=(E=I.csp)===null||E===void 0?void 0:E.nonce}C.innerHTML=S;var O=a(I),M=O.firstChild;return I.prepend&&O.prepend?O.prepend(C):I.prepend&&M?O.insertBefore(C,M):O.appendChild(C),C}var s=new Map;function c(S,_){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},C=a(I);if(!s.has(C)){var E=n("",I),O=E.parentNode;s.set(C,O),O.removeChild(E)}var M=Array.from(s.get(C).children).find(function(J){return J.tagName==="STYLE"&&J[d]===_});if(M){var F,H;if(((F=I.csp)===null||F===void 0?void 0:F.nonce)&&M.nonce!==((H=I.csp)===null||H===void 0?void 0:H.nonce)){var B;M.nonce=(B=I.csp)===null||B===void 0?void 0:B.nonce}return M.innerHTML!==S&&(M.innerHTML=S),M}var X=n(S,I);return X[d]=_,X}var i=l("Pw59");function u(S,_){Object(e.a)(S,"[@ant-design/icons] ".concat(_))}function r(S){return Object(b.a)(S)==="object"&&typeof S.name=="string"&&typeof S.theme=="string"&&(Object(b.a)(S.icon)==="object"||typeof S.icon=="function")}function o(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(S).reduce(function(_,I){var C=S[I];switch(I){case"class":_.className=C,delete _.class;break;default:_[I]=C}return _},{})}function h(S,_,I){return I?t.a.createElement(S.tag,Object(x.a)(Object(x.a)({key:_},o(S.attrs)),I),(S.children||[]).map(function(C,E){return h(C,"".concat(_,"-").concat(S.tag,"-").concat(E))})):t.a.createElement(S.tag,Object(x.a)({key:_},o(S.attrs)),(S.children||[]).map(function(C,E){return h(C,"".concat(_,"-").concat(S.tag,"-").concat(E))}))}function p(S){return Object(A.generate)(S)[0]}function g(S){return S?Array.isArray(S)?S:[S]:[]}var v={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},y=` +M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},ee=function(){function Lt(Ce){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=Ce,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var he=Lt.prototype;return he.hasClass=function(Ie){return v.contains(this.classes,Ie)},he.toNode=function(){for(var Ie=document.createDocumentFragment(),Ye=0;Ye",Ce},Y=function(){function Lt(Ce,Ie,Ye,_t){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Ge.call(this,Ce,Ye,_t),this.children=Ie||[]}var he=Lt.prototype;return he.setAttribute=function(Ie,Ye){this.attributes[Ie]=Ye},he.hasClass=function(Ie){return v.contains(this.classes,Ie)},he.toNode=function(){return ae.call(this,"span")},he.toMarkup=function(){return Z.call(this,"span")},Lt}(),te=function(){function Lt(Ce,Ie,Ye,_t){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Ge.call(this,Ie,_t),this.children=Ye||[],this.setAttribute("href",Ce)}var he=Lt.prototype;return he.setAttribute=function(Ie,Ye){this.attributes[Ie]=Ye},he.hasClass=function(Ie){return v.contains(this.classes,Ie)},he.toNode=function(){return ae.call(this,"a")},he.toMarkup=function(){return Z.call(this,"a")},Lt}(),we=function(){function Lt(Ce,Ie,Ye){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=Ie,this.src=Ce,this.classes=["mord"],this.style=Ye}var he=Lt.prototype;return he.hasClass=function(Ie){return v.contains(this.classes,Ie)},he.toNode=function(){var Ie=document.createElement("img");Ie.src=this.src,Ie.alt=this.alt,Ie.className="mord";for(var Ye in this.style)this.style.hasOwnProperty(Ye)&&(Ie.style[Ye]=this.style[Ye]);return Ie},he.toMarkup=function(){var Ie=""+this.alt+"0&&(Ye=document.createElement("span"),Ye.style.marginRight=this.italic+"em"),this.classes.length>0&&(Ye=Ye||document.createElement("span"),Ye.className=ue(this.classes));for(var _t in this.style)this.style.hasOwnProperty(_t)&&(Ye=Ye||document.createElement("span"),Ye.style[_t]=this.style[_t]);return Ye?(Ye.appendChild(Ie),Ye):Ie},he.toMarkup=function(){var Ie=!1,Ye="0&&(_t+="margin-right:"+this.italic+"em;");for(var Yt in this.style)this.style.hasOwnProperty(Yt)&&(_t+=v.hyphenate(Yt)+":"+this.style[Yt]+";");_t&&(Ie=!0,Ye+=' style="'+v.escape(_t)+'"');var Pr=v.escape(this.text);return Ie?(Ye+=">",Ye+=Pr,Ye+="",Ye):Pr},Lt}(),Ne=function(){function Lt(Ce,Ie){this.children=void 0,this.attributes=void 0,this.children=Ce||[],this.attributes=Ie||{}}var he=Lt.prototype;return he.toNode=function(){var Ie="http://www.w3.org/2000/svg",Ye=document.createElementNS(Ie,"svg");for(var _t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,_t)&&Ye.setAttribute(_t,this.attributes[_t]);for(var Yt=0;Yt":""},Lt}(),be=function(){function Lt(Ce){this.attributes=void 0,this.attributes=Ce||{}}var he=Lt.prototype;return he.toNode=function(){var Ie="http://www.w3.org/2000/svg",Ye=document.createElementNS(Ie,"line");for(var _t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,_t)&&Ye.setAttribute(_t,this.attributes[_t]);return Ye},he.toMarkup=function(){var Ie=" but got "+String(Lt)+".")}var yt={"AMS-Regular":{"65":[0,.68889,0,0,.72222],"66":[0,.68889,0,0,.66667],"67":[0,.68889,0,0,.72222],"68":[0,.68889,0,0,.72222],"69":[0,.68889,0,0,.66667],"70":[0,.68889,0,0,.61111],"71":[0,.68889,0,0,.77778],"72":[0,.68889,0,0,.77778],"73":[0,.68889,0,0,.38889],"74":[.16667,.68889,0,0,.5],"75":[0,.68889,0,0,.77778],"76":[0,.68889,0,0,.66667],"77":[0,.68889,0,0,.94445],"78":[0,.68889,0,0,.72222],"79":[.16667,.68889,0,0,.77778],"80":[0,.68889,0,0,.61111],"81":[.16667,.68889,0,0,.77778],"82":[0,.68889,0,0,.72222],"83":[0,.68889,0,0,.55556],"84":[0,.68889,0,0,.66667],"85":[0,.68889,0,0,.72222],"86":[0,.68889,0,0,.72222],"87":[0,.68889,0,0,1],"88":[0,.68889,0,0,.72222],"89":[0,.68889,0,0,.72222],"90":[0,.68889,0,0,.66667],"107":[0,.68889,0,0,.55556],"165":[0,.675,.025,0,.75],"174":[.15559,.69224,0,0,.94666],"240":[0,.68889,0,0,.55556],"295":[0,.68889,0,0,.54028],"710":[0,.825,0,0,2.33334],"732":[0,.9,0,0,2.33334],"770":[0,.825,0,0,2.33334],"771":[0,.9,0,0,2.33334],"989":[.08167,.58167,0,0,.77778],"1008":[0,.43056,.04028,0,.66667],"8245":[0,.54986,0,0,.275],"8463":[0,.68889,0,0,.54028],"8487":[0,.68889,0,0,.72222],"8498":[0,.68889,0,0,.55556],"8502":[0,.68889,0,0,.66667],"8503":[0,.68889,0,0,.44445],"8504":[0,.68889,0,0,.66667],"8513":[0,.68889,0,0,.63889],"8592":[-.03598,.46402,0,0,.5],"8594":[-.03598,.46402,0,0,.5],"8602":[-.13313,.36687,0,0,1],"8603":[-.13313,.36687,0,0,1],"8606":[.01354,.52239,0,0,1],"8608":[.01354,.52239,0,0,1],"8610":[.01354,.52239,0,0,1.11111],"8611":[.01354,.52239,0,0,1.11111],"8619":[0,.54986,0,0,1],"8620":[0,.54986,0,0,1],"8621":[-.13313,.37788,0,0,1.38889],"8622":[-.13313,.36687,0,0,1],"8624":[0,.69224,0,0,.5],"8625":[0,.69224,0,0,.5],"8630":[0,.43056,0,0,1],"8631":[0,.43056,0,0,1],"8634":[.08198,.58198,0,0,.77778],"8635":[.08198,.58198,0,0,.77778],"8638":[.19444,.69224,0,0,.41667],"8639":[.19444,.69224,0,0,.41667],"8642":[.19444,.69224,0,0,.41667],"8643":[.19444,.69224,0,0,.41667],"8644":[.1808,.675,0,0,1],"8646":[.1808,.675,0,0,1],"8647":[.1808,.675,0,0,1],"8648":[.19444,.69224,0,0,.83334],"8649":[.1808,.675,0,0,1],"8650":[.19444,.69224,0,0,.83334],"8651":[.01354,.52239,0,0,1],"8652":[.01354,.52239,0,0,1],"8653":[-.13313,.36687,0,0,1],"8654":[-.13313,.36687,0,0,1],"8655":[-.13313,.36687,0,0,1],"8666":[.13667,.63667,0,0,1],"8667":[.13667,.63667,0,0,1],"8669":[-.13313,.37788,0,0,1],"8672":[-.064,.437,0,0,1.334],"8674":[-.064,.437,0,0,1.334],"8705":[0,.825,0,0,.5],"8708":[0,.68889,0,0,.55556],"8709":[.08167,.58167,0,0,.77778],"8717":[0,.43056,0,0,.42917],"8722":[-.03598,.46402,0,0,.5],"8724":[.08198,.69224,0,0,.77778],"8726":[.08167,.58167,0,0,.77778],"8733":[0,.69224,0,0,.77778],"8736":[0,.69224,0,0,.72222],"8737":[0,.69224,0,0,.72222],"8738":[.03517,.52239,0,0,.72222],"8739":[.08167,.58167,0,0,.22222],"8740":[.25142,.74111,0,0,.27778],"8741":[.08167,.58167,0,0,.38889],"8742":[.25142,.74111,0,0,.5],"8756":[0,.69224,0,0,.66667],"8757":[0,.69224,0,0,.66667],"8764":[-.13313,.36687,0,0,.77778],"8765":[-.13313,.37788,0,0,.77778],"8769":[-.13313,.36687,0,0,.77778],"8770":[-.03625,.46375,0,0,.77778],"8774":[.30274,.79383,0,0,.77778],"8776":[-.01688,.48312,0,0,.77778],"8778":[.08167,.58167,0,0,.77778],"8782":[.06062,.54986,0,0,.77778],"8783":[.06062,.54986,0,0,.77778],"8785":[.08198,.58198,0,0,.77778],"8786":[.08198,.58198,0,0,.77778],"8787":[.08198,.58198,0,0,.77778],"8790":[0,.69224,0,0,.77778],"8791":[.22958,.72958,0,0,.77778],"8796":[.08198,.91667,0,0,.77778],"8806":[.25583,.75583,0,0,.77778],"8807":[.25583,.75583,0,0,.77778],"8808":[.25142,.75726,0,0,.77778],"8809":[.25142,.75726,0,0,.77778],"8812":[.25583,.75583,0,0,.5],"8814":[.20576,.70576,0,0,.77778],"8815":[.20576,.70576,0,0,.77778],"8816":[.30274,.79383,0,0,.77778],"8817":[.30274,.79383,0,0,.77778],"8818":[.22958,.72958,0,0,.77778],"8819":[.22958,.72958,0,0,.77778],"8822":[.1808,.675,0,0,.77778],"8823":[.1808,.675,0,0,.77778],"8828":[.13667,.63667,0,0,.77778],"8829":[.13667,.63667,0,0,.77778],"8830":[.22958,.72958,0,0,.77778],"8831":[.22958,.72958,0,0,.77778],"8832":[.20576,.70576,0,0,.77778],"8833":[.20576,.70576,0,0,.77778],"8840":[.30274,.79383,0,0,.77778],"8841":[.30274,.79383,0,0,.77778],"8842":[.13597,.63597,0,0,.77778],"8843":[.13597,.63597,0,0,.77778],"8847":[.03517,.54986,0,0,.77778],"8848":[.03517,.54986,0,0,.77778],"8858":[.08198,.58198,0,0,.77778],"8859":[.08198,.58198,0,0,.77778],"8861":[.08198,.58198,0,0,.77778],"8862":[0,.675,0,0,.77778],"8863":[0,.675,0,0,.77778],"8864":[0,.675,0,0,.77778],"8865":[0,.675,0,0,.77778],"8872":[0,.69224,0,0,.61111],"8873":[0,.69224,0,0,.72222],"8874":[0,.69224,0,0,.88889],"8876":[0,.68889,0,0,.61111],"8877":[0,.68889,0,0,.61111],"8878":[0,.68889,0,0,.72222],"8879":[0,.68889,0,0,.72222],"8882":[.03517,.54986,0,0,.77778],"8883":[.03517,.54986,0,0,.77778],"8884":[.13667,.63667,0,0,.77778],"8885":[.13667,.63667,0,0,.77778],"8888":[0,.54986,0,0,1.11111],"8890":[.19444,.43056,0,0,.55556],"8891":[.19444,.69224,0,0,.61111],"8892":[.19444,.69224,0,0,.61111],"8901":[0,.54986,0,0,.27778],"8903":[.08167,.58167,0,0,.77778],"8905":[.08167,.58167,0,0,.77778],"8906":[.08167,.58167,0,0,.77778],"8907":[0,.69224,0,0,.77778],"8908":[0,.69224,0,0,.77778],"8909":[-.03598,.46402,0,0,.77778],"8910":[0,.54986,0,0,.76042],"8911":[0,.54986,0,0,.76042],"8912":[.03517,.54986,0,0,.77778],"8913":[.03517,.54986,0,0,.77778],"8914":[0,.54986,0,0,.66667],"8915":[0,.54986,0,0,.66667],"8916":[0,.69224,0,0,.66667],"8918":[.0391,.5391,0,0,.77778],"8919":[.0391,.5391,0,0,.77778],"8920":[.03517,.54986,0,0,1.33334],"8921":[.03517,.54986,0,0,1.33334],"8922":[.38569,.88569,0,0,.77778],"8923":[.38569,.88569,0,0,.77778],"8926":[.13667,.63667,0,0,.77778],"8927":[.13667,.63667,0,0,.77778],"8928":[.30274,.79383,0,0,.77778],"8929":[.30274,.79383,0,0,.77778],"8934":[.23222,.74111,0,0,.77778],"8935":[.23222,.74111,0,0,.77778],"8936":[.23222,.74111,0,0,.77778],"8937":[.23222,.74111,0,0,.77778],"8938":[.20576,.70576,0,0,.77778],"8939":[.20576,.70576,0,0,.77778],"8940":[.30274,.79383,0,0,.77778],"8941":[.30274,.79383,0,0,.77778],"8994":[.19444,.69224,0,0,.77778],"8995":[.19444,.69224,0,0,.77778],"9416":[.15559,.69224,0,0,.90222],"9484":[0,.69224,0,0,.5],"9488":[0,.69224,0,0,.5],"9492":[0,.37788,0,0,.5],"9496":[0,.37788,0,0,.5],"9585":[.19444,.68889,0,0,.88889],"9586":[.19444,.74111,0,0,.88889],"9632":[0,.675,0,0,.77778],"9633":[0,.675,0,0,.77778],"9650":[0,.54986,0,0,.72222],"9651":[0,.54986,0,0,.72222],"9654":[.03517,.54986,0,0,.77778],"9660":[0,.54986,0,0,.72222],"9661":[0,.54986,0,0,.72222],"9664":[.03517,.54986,0,0,.77778],"9674":[.11111,.69224,0,0,.66667],"9733":[.19444,.69224,0,0,.94445],"10003":[0,.69224,0,0,.83334],"10016":[0,.69224,0,0,.83334],"10731":[.11111,.69224,0,0,.66667],"10846":[.19444,.75583,0,0,.61111],"10877":[.13667,.63667,0,0,.77778],"10878":[.13667,.63667,0,0,.77778],"10885":[.25583,.75583,0,0,.77778],"10886":[.25583,.75583,0,0,.77778],"10887":[.13597,.63597,0,0,.77778],"10888":[.13597,.63597,0,0,.77778],"10889":[.26167,.75726,0,0,.77778],"10890":[.26167,.75726,0,0,.77778],"10891":[.48256,.98256,0,0,.77778],"10892":[.48256,.98256,0,0,.77778],"10901":[.13667,.63667,0,0,.77778],"10902":[.13667,.63667,0,0,.77778],"10933":[.25142,.75726,0,0,.77778],"10934":[.25142,.75726,0,0,.77778],"10935":[.26167,.75726,0,0,.77778],"10936":[.26167,.75726,0,0,.77778],"10937":[.26167,.75726,0,0,.77778],"10938":[.26167,.75726,0,0,.77778],"10949":[.25583,.75583,0,0,.77778],"10950":[.25583,.75583,0,0,.77778],"10955":[.28481,.79383,0,0,.77778],"10956":[.28481,.79383,0,0,.77778],"57350":[.08167,.58167,0,0,.22222],"57351":[.08167,.58167,0,0,.38889],"57352":[.08167,.58167,0,0,.77778],"57353":[0,.43056,.04028,0,.66667],"57356":[.25142,.75726,0,0,.77778],"57357":[.25142,.75726,0,0,.77778],"57358":[.41951,.91951,0,0,.77778],"57359":[.30274,.79383,0,0,.77778],"57360":[.30274,.79383,0,0,.77778],"57361":[.41951,.91951,0,0,.77778],"57366":[.25142,.75726,0,0,.77778],"57367":[.25142,.75726,0,0,.77778],"57368":[.25142,.75726,0,0,.77778],"57369":[.25142,.75726,0,0,.77778],"57370":[.13597,.63597,0,0,.77778],"57371":[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{"48":[0,.43056,0,0,.5],"49":[0,.43056,0,0,.5],"50":[0,.43056,0,0,.5],"51":[.19444,.43056,0,0,.5],"52":[.19444,.43056,0,0,.5],"53":[.19444,.43056,0,0,.5],"54":[0,.64444,0,0,.5],"55":[.19444,.43056,0,0,.5],"56":[0,.64444,0,0,.5],"57":[.19444,.43056,0,0,.5],"65":[0,.68333,0,.19445,.79847],"66":[0,.68333,.03041,.13889,.65681],"67":[0,.68333,.05834,.13889,.52653],"68":[0,.68333,.02778,.08334,.77139],"69":[0,.68333,.08944,.11111,.52778],"70":[0,.68333,.09931,.11111,.71875],"71":[.09722,.68333,.0593,.11111,.59487],"72":[0,.68333,.00965,.11111,.84452],"73":[0,.68333,.07382,0,.54452],"74":[.09722,.68333,.18472,.16667,.67778],"75":[0,.68333,.01445,.05556,.76195],"76":[0,.68333,0,.13889,.68972],"77":[0,.68333,0,.13889,1.2009],"78":[0,.68333,.14736,.08334,.82049],"79":[0,.68333,.02778,.11111,.79611],"80":[0,.68333,.08222,.08334,.69556],"81":[.09722,.68333,0,.11111,.81667],"82":[0,.68333,0,.08334,.8475],"83":[0,.68333,.075,.13889,.60556],"84":[0,.68333,.25417,0,.54464],"85":[0,.68333,.09931,.08334,.62583],"86":[0,.68333,.08222,0,.61278],"87":[0,.68333,.08222,.08334,.98778],"88":[0,.68333,.14643,.13889,.7133],"89":[.09722,.68333,.08222,.08334,.66834],"90":[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{"33":[0,.69141,0,0,.29574],"34":[0,.69141,0,0,.21471],"38":[0,.69141,0,0,.73786],"39":[0,.69141,0,0,.21201],"40":[.24982,.74947,0,0,.38865],"41":[.24982,.74947,0,0,.38865],"42":[0,.62119,0,0,.27764],"43":[.08319,.58283,0,0,.75623],"44":[0,.10803,0,0,.27764],"45":[.08319,.58283,0,0,.75623],"46":[0,.10803,0,0,.27764],"47":[.24982,.74947,0,0,.50181],"48":[0,.47534,0,0,.50181],"49":[0,.47534,0,0,.50181],"50":[0,.47534,0,0,.50181],"51":[.18906,.47534,0,0,.50181],"52":[.18906,.47534,0,0,.50181],"53":[.18906,.47534,0,0,.50181],"54":[0,.69141,0,0,.50181],"55":[.18906,.47534,0,0,.50181],"56":[0,.69141,0,0,.50181],"57":[.18906,.47534,0,0,.50181],"58":[0,.47534,0,0,.21606],"59":[.12604,.47534,0,0,.21606],"61":[-.13099,.36866,0,0,.75623],"63":[0,.69141,0,0,.36245],"65":[0,.69141,0,0,.7176],"66":[0,.69141,0,0,.88397],"67":[0,.69141,0,0,.61254],"68":[0,.69141,0,0,.83158],"69":[0,.69141,0,0,.66278],"70":[.12604,.69141,0,0,.61119],"71":[0,.69141,0,0,.78539],"72":[.06302,.69141,0,0,.7203],"73":[0,.69141,0,0,.55448],"74":[.12604,.69141,0,0,.55231],"75":[0,.69141,0,0,.66845],"76":[0,.69141,0,0,.66602],"77":[0,.69141,0,0,1.04953],"78":[0,.69141,0,0,.83212],"79":[0,.69141,0,0,.82699],"80":[.18906,.69141,0,0,.82753],"81":[.03781,.69141,0,0,.82699],"82":[0,.69141,0,0,.82807],"83":[0,.69141,0,0,.82861],"84":[0,.69141,0,0,.66899],"85":[0,.69141,0,0,.64576],"86":[0,.69141,0,0,.83131],"87":[0,.69141,0,0,1.04602],"88":[0,.69141,0,0,.71922],"89":[.18906,.69141,0,0,.83293],"90":[.12604,.69141,0,0,.60201],"91":[.24982,.74947,0,0,.27764],"93":[.24982,.74947,0,0,.27764],"94":[0,.69141,0,0,.49965],"97":[0,.47534,0,0,.50046],"98":[0,.69141,0,0,.51315],"99":[0,.47534,0,0,.38946],"100":[0,.62119,0,0,.49857],"101":[0,.47534,0,0,.40053],"102":[.18906,.69141,0,0,.32626],"103":[.18906,.47534,0,0,.5037],"104":[.18906,.69141,0,0,.52126],"105":[0,.69141,0,0,.27899],"106":[0,.69141,0,0,.28088],"107":[0,.69141,0,0,.38946],"108":[0,.69141,0,0,.27953],"109":[0,.47534,0,0,.76676],"110":[0,.47534,0,0,.52666],"111":[0,.47534,0,0,.48885],"112":[.18906,.52396,0,0,.50046],"113":[.18906,.47534,0,0,.48912],"114":[0,.47534,0,0,.38919],"115":[0,.47534,0,0,.44266],"116":[0,.62119,0,0,.33301],"117":[0,.47534,0,0,.5172],"118":[0,.52396,0,0,.5118],"119":[0,.52396,0,0,.77351],"120":[.18906,.47534,0,0,.38865],"121":[.18906,.47534,0,0,.49884],"122":[.18906,.47534,0,0,.39054],"8216":[0,.69141,0,0,.21471],"8217":[0,.69141,0,0,.21471],"58112":[0,.62119,0,0,.49749],"58113":[0,.62119,0,0,.4983],"58114":[.18906,.69141,0,0,.33328],"58115":[.18906,.69141,0,0,.32923],"58116":[.18906,.47534,0,0,.50343],"58117":[0,.69141,0,0,.33301],"58118":[0,.62119,0,0,.33409],"58119":[0,.47534,0,0,.50073]},"Main-Bold":{"33":[0,.69444,0,0,.35],"34":[0,.69444,0,0,.60278],"35":[.19444,.69444,0,0,.95833],"36":[.05556,.75,0,0,.575],"37":[.05556,.75,0,0,.95833],"38":[0,.69444,0,0,.89444],"39":[0,.69444,0,0,.31944],"40":[.25,.75,0,0,.44722],"41":[.25,.75,0,0,.44722],"42":[0,.75,0,0,.575],"43":[.13333,.63333,0,0,.89444],"44":[.19444,.15556,0,0,.31944],"45":[0,.44444,0,0,.38333],"46":[0,.15556,0,0,.31944],"47":[.25,.75,0,0,.575],"48":[0,.64444,0,0,.575],"49":[0,.64444,0,0,.575],"50":[0,.64444,0,0,.575],"51":[0,.64444,0,0,.575],"52":[0,.64444,0,0,.575],"53":[0,.64444,0,0,.575],"54":[0,.64444,0,0,.575],"55":[0,.64444,0,0,.575],"56":[0,.64444,0,0,.575],"57":[0,.64444,0,0,.575],"58":[0,.44444,0,0,.31944],"59":[.19444,.44444,0,0,.31944],"60":[.08556,.58556,0,0,.89444],"61":[-.10889,.39111,0,0,.89444],"62":[.08556,.58556,0,0,.89444],"63":[0,.69444,0,0,.54305],"64":[0,.69444,0,0,.89444],"65":[0,.68611,0,0,.86944],"66":[0,.68611,0,0,.81805],"67":[0,.68611,0,0,.83055],"68":[0,.68611,0,0,.88194],"69":[0,.68611,0,0,.75555],"70":[0,.68611,0,0,.72361],"71":[0,.68611,0,0,.90416],"72":[0,.68611,0,0,.9],"73":[0,.68611,0,0,.43611],"74":[0,.68611,0,0,.59444],"75":[0,.68611,0,0,.90138],"76":[0,.68611,0,0,.69166],"77":[0,.68611,0,0,1.09166],"78":[0,.68611,0,0,.9],"79":[0,.68611,0,0,.86388],"80":[0,.68611,0,0,.78611],"81":[.19444,.68611,0,0,.86388],"82":[0,.68611,0,0,.8625],"83":[0,.68611,0,0,.63889],"84":[0,.68611,0,0,.8],"85":[0,.68611,0,0,.88472],"86":[0,.68611,.01597,0,.86944],"87":[0,.68611,.01597,0,1.18888],"88":[0,.68611,0,0,.86944],"89":[0,.68611,.02875,0,.86944],"90":[0,.68611,0,0,.70277],"91":[.25,.75,0,0,.31944],"92":[.25,.75,0,0,.575],"93":[.25,.75,0,0,.31944],"94":[0,.69444,0,0,.575],"95":[.31,.13444,.03194,0,.575],"97":[0,.44444,0,0,.55902],"98":[0,.69444,0,0,.63889],"99":[0,.44444,0,0,.51111],"100":[0,.69444,0,0,.63889],"101":[0,.44444,0,0,.52708],"102":[0,.69444,.10903,0,.35139],"103":[.19444,.44444,.01597,0,.575],"104":[0,.69444,0,0,.63889],"105":[0,.69444,0,0,.31944],"106":[.19444,.69444,0,0,.35139],"107":[0,.69444,0,0,.60694],"108":[0,.69444,0,0,.31944],"109":[0,.44444,0,0,.95833],"110":[0,.44444,0,0,.63889],"111":[0,.44444,0,0,.575],"112":[.19444,.44444,0,0,.63889],"113":[.19444,.44444,0,0,.60694],"114":[0,.44444,0,0,.47361],"115":[0,.44444,0,0,.45361],"116":[0,.63492,0,0,.44722],"117":[0,.44444,0,0,.63889],"118":[0,.44444,.01597,0,.60694],"119":[0,.44444,.01597,0,.83055],"120":[0,.44444,0,0,.60694],"121":[.19444,.44444,.01597,0,.60694],"122":[0,.44444,0,0,.51111],"123":[.25,.75,0,0,.575],"124":[.25,.75,0,0,.31944],"125":[.25,.75,0,0,.575],"126":[.35,.34444,0,0,.575],"168":[0,.69444,0,0,.575],"172":[0,.44444,0,0,.76666],"176":[0,.69444,0,0,.86944],"177":[.13333,.63333,0,0,.89444],"184":[.17014,0,0,0,.51111],"198":[0,.68611,0,0,1.04166],"215":[.13333,.63333,0,0,.89444],"216":[.04861,.73472,0,0,.89444],"223":[0,.69444,0,0,.59722],"230":[0,.44444,0,0,.83055],"247":[.13333,.63333,0,0,.89444],"248":[.09722,.54167,0,0,.575],"305":[0,.44444,0,0,.31944],"338":[0,.68611,0,0,1.16944],"339":[0,.44444,0,0,.89444],"567":[.19444,.44444,0,0,.35139],"710":[0,.69444,0,0,.575],"711":[0,.63194,0,0,.575],"713":[0,.59611,0,0,.575],"714":[0,.69444,0,0,.575],"715":[0,.69444,0,0,.575],"728":[0,.69444,0,0,.575],"729":[0,.69444,0,0,.31944],"730":[0,.69444,0,0,.86944],"732":[0,.69444,0,0,.575],"733":[0,.69444,0,0,.575],"915":[0,.68611,0,0,.69166],"916":[0,.68611,0,0,.95833],"920":[0,.68611,0,0,.89444],"923":[0,.68611,0,0,.80555],"926":[0,.68611,0,0,.76666],"928":[0,.68611,0,0,.9],"931":[0,.68611,0,0,.83055],"933":[0,.68611,0,0,.89444],"934":[0,.68611,0,0,.83055],"936":[0,.68611,0,0,.89444],"937":[0,.68611,0,0,.83055],"8211":[0,.44444,.03194,0,.575],"8212":[0,.44444,.03194,0,1.14999],"8216":[0,.69444,0,0,.31944],"8217":[0,.69444,0,0,.31944],"8220":[0,.69444,0,0,.60278],"8221":[0,.69444,0,0,.60278],"8224":[.19444,.69444,0,0,.51111],"8225":[.19444,.69444,0,0,.51111],"8242":[0,.55556,0,0,.34444],"8407":[0,.72444,.15486,0,.575],"8463":[0,.69444,0,0,.66759],"8465":[0,.69444,0,0,.83055],"8467":[0,.69444,0,0,.47361],"8472":[.19444,.44444,0,0,.74027],"8476":[0,.69444,0,0,.83055],"8501":[0,.69444,0,0,.70277],"8592":[-.10889,.39111,0,0,1.14999],"8593":[.19444,.69444,0,0,.575],"8594":[-.10889,.39111,0,0,1.14999],"8595":[.19444,.69444,0,0,.575],"8596":[-.10889,.39111,0,0,1.14999],"8597":[.25,.75,0,0,.575],"8598":[.19444,.69444,0,0,1.14999],"8599":[.19444,.69444,0,0,1.14999],"8600":[.19444,.69444,0,0,1.14999],"8601":[.19444,.69444,0,0,1.14999],"8636":[-.10889,.39111,0,0,1.14999],"8637":[-.10889,.39111,0,0,1.14999],"8640":[-.10889,.39111,0,0,1.14999],"8641":[-.10889,.39111,0,0,1.14999],"8656":[-.10889,.39111,0,0,1.14999],"8657":[.19444,.69444,0,0,.70277],"8658":[-.10889,.39111,0,0,1.14999],"8659":[.19444,.69444,0,0,.70277],"8660":[-.10889,.39111,0,0,1.14999],"8661":[.25,.75,0,0,.70277],"8704":[0,.69444,0,0,.63889],"8706":[0,.69444,.06389,0,.62847],"8707":[0,.69444,0,0,.63889],"8709":[.05556,.75,0,0,.575],"8711":[0,.68611,0,0,.95833],"8712":[.08556,.58556,0,0,.76666],"8715":[.08556,.58556,0,0,.76666],"8722":[.13333,.63333,0,0,.89444],"8723":[.13333,.63333,0,0,.89444],"8725":[.25,.75,0,0,.575],"8726":[.25,.75,0,0,.575],"8727":[-.02778,.47222,0,0,.575],"8728":[-.02639,.47361,0,0,.575],"8729":[-.02639,.47361,0,0,.575],"8730":[.18,.82,0,0,.95833],"8733":[0,.44444,0,0,.89444],"8734":[0,.44444,0,0,1.14999],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.31944],"8741":[.25,.75,0,0,.575],"8743":[0,.55556,0,0,.76666],"8744":[0,.55556,0,0,.76666],"8745":[0,.55556,0,0,.76666],"8746":[0,.55556,0,0,.76666],"8747":[.19444,.69444,.12778,0,.56875],"8764":[-.10889,.39111,0,0,.89444],"8768":[.19444,.69444,0,0,.31944],"8771":[.00222,.50222,0,0,.89444],"8776":[.02444,.52444,0,0,.89444],"8781":[.00222,.50222,0,0,.89444],"8801":[.00222,.50222,0,0,.89444],"8804":[.19667,.69667,0,0,.89444],"8805":[.19667,.69667,0,0,.89444],"8810":[.08556,.58556,0,0,1.14999],"8811":[.08556,.58556,0,0,1.14999],"8826":[.08556,.58556,0,0,.89444],"8827":[.08556,.58556,0,0,.89444],"8834":[.08556,.58556,0,0,.89444],"8835":[.08556,.58556,0,0,.89444],"8838":[.19667,.69667,0,0,.89444],"8839":[.19667,.69667,0,0,.89444],"8846":[0,.55556,0,0,.76666],"8849":[.19667,.69667,0,0,.89444],"8850":[.19667,.69667,0,0,.89444],"8851":[0,.55556,0,0,.76666],"8852":[0,.55556,0,0,.76666],"8853":[.13333,.63333,0,0,.89444],"8854":[.13333,.63333,0,0,.89444],"8855":[.13333,.63333,0,0,.89444],"8856":[.13333,.63333,0,0,.89444],"8857":[.13333,.63333,0,0,.89444],"8866":[0,.69444,0,0,.70277],"8867":[0,.69444,0,0,.70277],"8868":[0,.69444,0,0,.89444],"8869":[0,.69444,0,0,.89444],"8900":[-.02639,.47361,0,0,.575],"8901":[-.02639,.47361,0,0,.31944],"8902":[-.02778,.47222,0,0,.575],"8968":[.25,.75,0,0,.51111],"8969":[.25,.75,0,0,.51111],"8970":[.25,.75,0,0,.51111],"8971":[.25,.75,0,0,.51111],"8994":[-.13889,.36111,0,0,1.14999],"8995":[-.13889,.36111,0,0,1.14999],"9651":[.19444,.69444,0,0,1.02222],"9657":[-.02778,.47222,0,0,.575],"9661":[.19444,.69444,0,0,1.02222],"9667":[-.02778,.47222,0,0,.575],"9711":[.19444,.69444,0,0,1.14999],"9824":[.12963,.69444,0,0,.89444],"9825":[.12963,.69444,0,0,.89444],"9826":[.12963,.69444,0,0,.89444],"9827":[.12963,.69444,0,0,.89444],"9837":[0,.75,0,0,.44722],"9838":[.19444,.69444,0,0,.44722],"9839":[.19444,.69444,0,0,.44722],"10216":[.25,.75,0,0,.44722],"10217":[.25,.75,0,0,.44722],"10815":[0,.68611,0,0,.9],"10927":[.19667,.69667,0,0,.89444],"10928":[.19667,.69667,0,0,.89444],"57376":[.19444,.69444,0,0,0]},"Main-BoldItalic":{"33":[0,.69444,.11417,0,.38611],"34":[0,.69444,.07939,0,.62055],"35":[.19444,.69444,.06833,0,.94444],"37":[.05556,.75,.12861,0,.94444],"38":[0,.69444,.08528,0,.88555],"39":[0,.69444,.12945,0,.35555],"40":[.25,.75,.15806,0,.47333],"41":[.25,.75,.03306,0,.47333],"42":[0,.75,.14333,0,.59111],"43":[.10333,.60333,.03306,0,.88555],"44":[.19444,.14722,0,0,.35555],"45":[0,.44444,.02611,0,.41444],"46":[0,.14722,0,0,.35555],"47":[.25,.75,.15806,0,.59111],"48":[0,.64444,.13167,0,.59111],"49":[0,.64444,.13167,0,.59111],"50":[0,.64444,.13167,0,.59111],"51":[0,.64444,.13167,0,.59111],"52":[.19444,.64444,.13167,0,.59111],"53":[0,.64444,.13167,0,.59111],"54":[0,.64444,.13167,0,.59111],"55":[.19444,.64444,.13167,0,.59111],"56":[0,.64444,.13167,0,.59111],"57":[0,.64444,.13167,0,.59111],"58":[0,.44444,.06695,0,.35555],"59":[.19444,.44444,.06695,0,.35555],"61":[-.10889,.39111,.06833,0,.88555],"63":[0,.69444,.11472,0,.59111],"64":[0,.69444,.09208,0,.88555],"65":[0,.68611,0,0,.86555],"66":[0,.68611,.0992,0,.81666],"67":[0,.68611,.14208,0,.82666],"68":[0,.68611,.09062,0,.87555],"69":[0,.68611,.11431,0,.75666],"70":[0,.68611,.12903,0,.72722],"71":[0,.68611,.07347,0,.89527],"72":[0,.68611,.17208,0,.8961],"73":[0,.68611,.15681,0,.47166],"74":[0,.68611,.145,0,.61055],"75":[0,.68611,.14208,0,.89499],"76":[0,.68611,0,0,.69777],"77":[0,.68611,.17208,0,1.07277],"78":[0,.68611,.17208,0,.8961],"79":[0,.68611,.09062,0,.85499],"80":[0,.68611,.0992,0,.78721],"81":[.19444,.68611,.09062,0,.85499],"82":[0,.68611,.02559,0,.85944],"83":[0,.68611,.11264,0,.64999],"84":[0,.68611,.12903,0,.7961],"85":[0,.68611,.17208,0,.88083],"86":[0,.68611,.18625,0,.86555],"87":[0,.68611,.18625,0,1.15999],"88":[0,.68611,.15681,0,.86555],"89":[0,.68611,.19803,0,.86555],"90":[0,.68611,.14208,0,.70888],"91":[.25,.75,.1875,0,.35611],"93":[.25,.75,.09972,0,.35611],"94":[0,.69444,.06709,0,.59111],"95":[.31,.13444,.09811,0,.59111],"97":[0,.44444,.09426,0,.59111],"98":[0,.69444,.07861,0,.53222],"99":[0,.44444,.05222,0,.53222],"100":[0,.69444,.10861,0,.59111],"101":[0,.44444,.085,0,.53222],"102":[.19444,.69444,.21778,0,.4],"103":[.19444,.44444,.105,0,.53222],"104":[0,.69444,.09426,0,.59111],"105":[0,.69326,.11387,0,.35555],"106":[.19444,.69326,.1672,0,.35555],"107":[0,.69444,.11111,0,.53222],"108":[0,.69444,.10861,0,.29666],"109":[0,.44444,.09426,0,.94444],"110":[0,.44444,.09426,0,.64999],"111":[0,.44444,.07861,0,.59111],"112":[.19444,.44444,.07861,0,.59111],"113":[.19444,.44444,.105,0,.53222],"114":[0,.44444,.11111,0,.50167],"115":[0,.44444,.08167,0,.48694],"116":[0,.63492,.09639,0,.385],"117":[0,.44444,.09426,0,.62055],"118":[0,.44444,.11111,0,.53222],"119":[0,.44444,.11111,0,.76777],"120":[0,.44444,.12583,0,.56055],"121":[.19444,.44444,.105,0,.56166],"122":[0,.44444,.13889,0,.49055],"126":[.35,.34444,.11472,0,.59111],"163":[0,.69444,0,0,.86853],"168":[0,.69444,.11473,0,.59111],"176":[0,.69444,0,0,.94888],"184":[.17014,0,0,0,.53222],"198":[0,.68611,.11431,0,1.02277],"216":[.04861,.73472,.09062,0,.88555],"223":[.19444,.69444,.09736,0,.665],"230":[0,.44444,.085,0,.82666],"248":[.09722,.54167,.09458,0,.59111],"305":[0,.44444,.09426,0,.35555],"338":[0,.68611,.11431,0,1.14054],"339":[0,.44444,.085,0,.82666],"567":[.19444,.44444,.04611,0,.385],"710":[0,.69444,.06709,0,.59111],"711":[0,.63194,.08271,0,.59111],"713":[0,.59444,.10444,0,.59111],"714":[0,.69444,.08528,0,.59111],"715":[0,.69444,0,0,.59111],"728":[0,.69444,.10333,0,.59111],"729":[0,.69444,.12945,0,.35555],"730":[0,.69444,0,0,.94888],"732":[0,.69444,.11472,0,.59111],"733":[0,.69444,.11472,0,.59111],"915":[0,.68611,.12903,0,.69777],"916":[0,.68611,0,0,.94444],"920":[0,.68611,.09062,0,.88555],"923":[0,.68611,0,0,.80666],"926":[0,.68611,.15092,0,.76777],"928":[0,.68611,.17208,0,.8961],"931":[0,.68611,.11431,0,.82666],"933":[0,.68611,.10778,0,.88555],"934":[0,.68611,.05632,0,.82666],"936":[0,.68611,.10778,0,.88555],"937":[0,.68611,.0992,0,.82666],"8211":[0,.44444,.09811,0,.59111],"8212":[0,.44444,.09811,0,1.18221],"8216":[0,.69444,.12945,0,.35555],"8217":[0,.69444,.12945,0,.35555],"8220":[0,.69444,.16772,0,.62055],"8221":[0,.69444,.07939,0,.62055]},"Main-Italic":{"33":[0,.69444,.12417,0,.30667],"34":[0,.69444,.06961,0,.51444],"35":[.19444,.69444,.06616,0,.81777],"37":[.05556,.75,.13639,0,.81777],"38":[0,.69444,.09694,0,.76666],"39":[0,.69444,.12417,0,.30667],"40":[.25,.75,.16194,0,.40889],"41":[.25,.75,.03694,0,.40889],"42":[0,.75,.14917,0,.51111],"43":[.05667,.56167,.03694,0,.76666],"44":[.19444,.10556,0,0,.30667],"45":[0,.43056,.02826,0,.35778],"46":[0,.10556,0,0,.30667],"47":[.25,.75,.16194,0,.51111],"48":[0,.64444,.13556,0,.51111],"49":[0,.64444,.13556,0,.51111],"50":[0,.64444,.13556,0,.51111],"51":[0,.64444,.13556,0,.51111],"52":[.19444,.64444,.13556,0,.51111],"53":[0,.64444,.13556,0,.51111],"54":[0,.64444,.13556,0,.51111],"55":[.19444,.64444,.13556,0,.51111],"56":[0,.64444,.13556,0,.51111],"57":[0,.64444,.13556,0,.51111],"58":[0,.43056,.0582,0,.30667],"59":[.19444,.43056,.0582,0,.30667],"61":[-.13313,.36687,.06616,0,.76666],"63":[0,.69444,.1225,0,.51111],"64":[0,.69444,.09597,0,.76666],"65":[0,.68333,0,0,.74333],"66":[0,.68333,.10257,0,.70389],"67":[0,.68333,.14528,0,.71555],"68":[0,.68333,.09403,0,.755],"69":[0,.68333,.12028,0,.67833],"70":[0,.68333,.13305,0,.65277],"71":[0,.68333,.08722,0,.77361],"72":[0,.68333,.16389,0,.74333],"73":[0,.68333,.15806,0,.38555],"74":[0,.68333,.14028,0,.525],"75":[0,.68333,.14528,0,.76888],"76":[0,.68333,0,0,.62722],"77":[0,.68333,.16389,0,.89666],"78":[0,.68333,.16389,0,.74333],"79":[0,.68333,.09403,0,.76666],"80":[0,.68333,.10257,0,.67833],"81":[.19444,.68333,.09403,0,.76666],"82":[0,.68333,.03868,0,.72944],"83":[0,.68333,.11972,0,.56222],"84":[0,.68333,.13305,0,.71555],"85":[0,.68333,.16389,0,.74333],"86":[0,.68333,.18361,0,.74333],"87":[0,.68333,.18361,0,.99888],"88":[0,.68333,.15806,0,.74333],"89":[0,.68333,.19383,0,.74333],"90":[0,.68333,.14528,0,.61333],"91":[.25,.75,.1875,0,.30667],"93":[.25,.75,.10528,0,.30667],"94":[0,.69444,.06646,0,.51111],"95":[.31,.12056,.09208,0,.51111],"97":[0,.43056,.07671,0,.51111],"98":[0,.69444,.06312,0,.46],"99":[0,.43056,.05653,0,.46],"100":[0,.69444,.10333,0,.51111],"101":[0,.43056,.07514,0,.46],"102":[.19444,.69444,.21194,0,.30667],"103":[.19444,.43056,.08847,0,.46],"104":[0,.69444,.07671,0,.51111],"105":[0,.65536,.1019,0,.30667],"106":[.19444,.65536,.14467,0,.30667],"107":[0,.69444,.10764,0,.46],"108":[0,.69444,.10333,0,.25555],"109":[0,.43056,.07671,0,.81777],"110":[0,.43056,.07671,0,.56222],"111":[0,.43056,.06312,0,.51111],"112":[.19444,.43056,.06312,0,.51111],"113":[.19444,.43056,.08847,0,.46],"114":[0,.43056,.10764,0,.42166],"115":[0,.43056,.08208,0,.40889],"116":[0,.61508,.09486,0,.33222],"117":[0,.43056,.07671,0,.53666],"118":[0,.43056,.10764,0,.46],"119":[0,.43056,.10764,0,.66444],"120":[0,.43056,.12042,0,.46389],"121":[.19444,.43056,.08847,0,.48555],"122":[0,.43056,.12292,0,.40889],"126":[.35,.31786,.11585,0,.51111],"163":[0,.69444,0,0,.76909],"168":[0,.66786,.10474,0,.51111],"176":[0,.69444,0,0,.83129],"184":[.17014,0,0,0,.46],"198":[0,.68333,.12028,0,.88277],"216":[.04861,.73194,.09403,0,.76666],"223":[.19444,.69444,.10514,0,.53666],"230":[0,.43056,.07514,0,.71555],"248":[.09722,.52778,.09194,0,.51111],"305":[0,.43056,0,.02778,.32246],"338":[0,.68333,.12028,0,.98499],"339":[0,.43056,.07514,0,.71555],"567":[.19444,.43056,0,.08334,.38403],"710":[0,.69444,.06646,0,.51111],"711":[0,.62847,.08295,0,.51111],"713":[0,.56167,.10333,0,.51111],"714":[0,.69444,.09694,0,.51111],"715":[0,.69444,0,0,.51111],"728":[0,.69444,.10806,0,.51111],"729":[0,.66786,.11752,0,.30667],"730":[0,.69444,0,0,.83129],"732":[0,.66786,.11585,0,.51111],"733":[0,.69444,.1225,0,.51111],"915":[0,.68333,.13305,0,.62722],"916":[0,.68333,0,0,.81777],"920":[0,.68333,.09403,0,.76666],"923":[0,.68333,0,0,.69222],"926":[0,.68333,.15294,0,.66444],"928":[0,.68333,.16389,0,.74333],"931":[0,.68333,.12028,0,.71555],"933":[0,.68333,.11111,0,.76666],"934":[0,.68333,.05986,0,.71555],"936":[0,.68333,.11111,0,.76666],"937":[0,.68333,.10257,0,.71555],"8211":[0,.43056,.09208,0,.51111],"8212":[0,.43056,.09208,0,1.02222],"8216":[0,.69444,.12417,0,.30667],"8217":[0,.69444,.12417,0,.30667],"8220":[0,.69444,.1685,0,.51444],"8221":[0,.69444,.06961,0,.51444],"8463":[0,.68889,0,0,.54028]},"Main-Regular":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.27778],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.77778],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.19444,.10556,0,0,.27778],"45":[0,.43056,0,0,.33333],"46":[0,.10556,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.64444,0,0,.5],"49":[0,.64444,0,0,.5],"50":[0,.64444,0,0,.5],"51":[0,.64444,0,0,.5],"52":[0,.64444,0,0,.5],"53":[0,.64444,0,0,.5],"54":[0,.64444,0,0,.5],"55":[0,.64444,0,0,.5],"56":[0,.64444,0,0,.5],"57":[0,.64444,0,0,.5],"58":[0,.43056,0,0,.27778],"59":[.19444,.43056,0,0,.27778],"60":[.0391,.5391,0,0,.77778],"61":[-.13313,.36687,0,0,.77778],"62":[.0391,.5391,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.77778],"65":[0,.68333,0,0,.75],"66":[0,.68333,0,0,.70834],"67":[0,.68333,0,0,.72222],"68":[0,.68333,0,0,.76389],"69":[0,.68333,0,0,.68056],"70":[0,.68333,0,0,.65278],"71":[0,.68333,0,0,.78472],"72":[0,.68333,0,0,.75],"73":[0,.68333,0,0,.36111],"74":[0,.68333,0,0,.51389],"75":[0,.68333,0,0,.77778],"76":[0,.68333,0,0,.625],"77":[0,.68333,0,0,.91667],"78":[0,.68333,0,0,.75],"79":[0,.68333,0,0,.77778],"80":[0,.68333,0,0,.68056],"81":[.19444,.68333,0,0,.77778],"82":[0,.68333,0,0,.73611],"83":[0,.68333,0,0,.55556],"84":[0,.68333,0,0,.72222],"85":[0,.68333,0,0,.75],"86":[0,.68333,.01389,0,.75],"87":[0,.68333,.01389,0,1.02778],"88":[0,.68333,0,0,.75],"89":[0,.68333,.025,0,.75],"90":[0,.68333,0,0,.61111],"91":[.25,.75,0,0,.27778],"92":[.25,.75,0,0,.5],"93":[.25,.75,0,0,.27778],"94":[0,.69444,0,0,.5],"95":[.31,.12056,.02778,0,.5],"97":[0,.43056,0,0,.5],"98":[0,.69444,0,0,.55556],"99":[0,.43056,0,0,.44445],"100":[0,.69444,0,0,.55556],"101":[0,.43056,0,0,.44445],"102":[0,.69444,.07778,0,.30556],"103":[.19444,.43056,.01389,0,.5],"104":[0,.69444,0,0,.55556],"105":[0,.66786,0,0,.27778],"106":[.19444,.66786,0,0,.30556],"107":[0,.69444,0,0,.52778],"108":[0,.69444,0,0,.27778],"109":[0,.43056,0,0,.83334],"110":[0,.43056,0,0,.55556],"111":[0,.43056,0,0,.5],"112":[.19444,.43056,0,0,.55556],"113":[.19444,.43056,0,0,.52778],"114":[0,.43056,0,0,.39167],"115":[0,.43056,0,0,.39445],"116":[0,.61508,0,0,.38889],"117":[0,.43056,0,0,.55556],"118":[0,.43056,.01389,0,.52778],"119":[0,.43056,.01389,0,.72222],"120":[0,.43056,0,0,.52778],"121":[.19444,.43056,.01389,0,.52778],"122":[0,.43056,0,0,.44445],"123":[.25,.75,0,0,.5],"124":[.25,.75,0,0,.27778],"125":[.25,.75,0,0,.5],"126":[.35,.31786,0,0,.5],"160":[0,0,0,0,.25],"167":[.19444,.69444,0,0,.44445],"168":[0,.66786,0,0,.5],"172":[0,.43056,0,0,.66667],"176":[0,.69444,0,0,.75],"177":[.08333,.58333,0,0,.77778],"182":[.19444,.69444,0,0,.61111],"184":[.17014,0,0,0,.44445],"198":[0,.68333,0,0,.90278],"215":[.08333,.58333,0,0,.77778],"216":[.04861,.73194,0,0,.77778],"223":[0,.69444,0,0,.5],"230":[0,.43056,0,0,.72222],"247":[.08333,.58333,0,0,.77778],"248":[.09722,.52778,0,0,.5],"305":[0,.43056,0,0,.27778],"338":[0,.68333,0,0,1.01389],"339":[0,.43056,0,0,.77778],"567":[.19444,.43056,0,0,.30556],"710":[0,.69444,0,0,.5],"711":[0,.62847,0,0,.5],"713":[0,.56778,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.66786,0,0,.27778],"730":[0,.69444,0,0,.75],"732":[0,.66786,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.68333,0,0,.625],"916":[0,.68333,0,0,.83334],"920":[0,.68333,0,0,.77778],"923":[0,.68333,0,0,.69445],"926":[0,.68333,0,0,.66667],"928":[0,.68333,0,0,.75],"931":[0,.68333,0,0,.72222],"933":[0,.68333,0,0,.77778],"934":[0,.68333,0,0,.72222],"936":[0,.68333,0,0,.77778],"937":[0,.68333,0,0,.72222],"8211":[0,.43056,.02778,0,.5],"8212":[0,.43056,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5],"8224":[.19444,.69444,0,0,.44445],"8225":[.19444,.69444,0,0,.44445],"8230":[0,.12,0,0,1.172],"8242":[0,.55556,0,0,.275],"8407":[0,.71444,.15382,0,.5],"8463":[0,.68889,0,0,.54028],"8465":[0,.69444,0,0,.72222],"8467":[0,.69444,0,.11111,.41667],"8472":[.19444,.43056,0,.11111,.63646],"8476":[0,.69444,0,0,.72222],"8501":[0,.69444,0,0,.61111],"8592":[-.13313,.36687,0,0,1],"8593":[.19444,.69444,0,0,.5],"8594":[-.13313,.36687,0,0,1],"8595":[.19444,.69444,0,0,.5],"8596":[-.13313,.36687,0,0,1],"8597":[.25,.75,0,0,.5],"8598":[.19444,.69444,0,0,1],"8599":[.19444,.69444,0,0,1],"8600":[.19444,.69444,0,0,1],"8601":[.19444,.69444,0,0,1],"8614":[.011,.511,0,0,1],"8617":[.011,.511,0,0,1.126],"8618":[.011,.511,0,0,1.126],"8636":[-.13313,.36687,0,0,1],"8637":[-.13313,.36687,0,0,1],"8640":[-.13313,.36687,0,0,1],"8641":[-.13313,.36687,0,0,1],"8652":[.011,.671,0,0,1],"8656":[-.13313,.36687,0,0,1],"8657":[.19444,.69444,0,0,.61111],"8658":[-.13313,.36687,0,0,1],"8659":[.19444,.69444,0,0,.61111],"8660":[-.13313,.36687,0,0,1],"8661":[.25,.75,0,0,.61111],"8704":[0,.69444,0,0,.55556],"8706":[0,.69444,.05556,.08334,.5309],"8707":[0,.69444,0,0,.55556],"8709":[.05556,.75,0,0,.5],"8711":[0,.68333,0,0,.83334],"8712":[.0391,.5391,0,0,.66667],"8715":[.0391,.5391,0,0,.66667],"8722":[.08333,.58333,0,0,.77778],"8723":[.08333,.58333,0,0,.77778],"8725":[.25,.75,0,0,.5],"8726":[.25,.75,0,0,.5],"8727":[-.03472,.46528,0,0,.5],"8728":[-.05555,.44445,0,0,.5],"8729":[-.05555,.44445,0,0,.5],"8730":[.2,.8,0,0,.83334],"8733":[0,.43056,0,0,.77778],"8734":[0,.43056,0,0,1],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.27778],"8741":[.25,.75,0,0,.5],"8743":[0,.55556,0,0,.66667],"8744":[0,.55556,0,0,.66667],"8745":[0,.55556,0,0,.66667],"8746":[0,.55556,0,0,.66667],"8747":[.19444,.69444,.11111,0,.41667],"8764":[-.13313,.36687,0,0,.77778],"8768":[.19444,.69444,0,0,.27778],"8771":[-.03625,.46375,0,0,.77778],"8773":[-.022,.589,0,0,1],"8776":[-.01688,.48312,0,0,.77778],"8781":[-.03625,.46375,0,0,.77778],"8784":[-.133,.67,0,0,.778],"8801":[-.03625,.46375,0,0,.77778],"8804":[.13597,.63597,0,0,.77778],"8805":[.13597,.63597,0,0,.77778],"8810":[.0391,.5391,0,0,1],"8811":[.0391,.5391,0,0,1],"8826":[.0391,.5391,0,0,.77778],"8827":[.0391,.5391,0,0,.77778],"8834":[.0391,.5391,0,0,.77778],"8835":[.0391,.5391,0,0,.77778],"8838":[.13597,.63597,0,0,.77778],"8839":[.13597,.63597,0,0,.77778],"8846":[0,.55556,0,0,.66667],"8849":[.13597,.63597,0,0,.77778],"8850":[.13597,.63597,0,0,.77778],"8851":[0,.55556,0,0,.66667],"8852":[0,.55556,0,0,.66667],"8853":[.08333,.58333,0,0,.77778],"8854":[.08333,.58333,0,0,.77778],"8855":[.08333,.58333,0,0,.77778],"8856":[.08333,.58333,0,0,.77778],"8857":[.08333,.58333,0,0,.77778],"8866":[0,.69444,0,0,.61111],"8867":[0,.69444,0,0,.61111],"8868":[0,.69444,0,0,.77778],"8869":[0,.69444,0,0,.77778],"8872":[.249,.75,0,0,.867],"8900":[-.05555,.44445,0,0,.5],"8901":[-.05555,.44445,0,0,.27778],"8902":[-.03472,.46528,0,0,.5],"8904":[.005,.505,0,0,.9],"8942":[.03,.9,0,0,.278],"8943":[-.19,.31,0,0,1.172],"8945":[-.1,.82,0,0,1.282],"8968":[.25,.75,0,0,.44445],"8969":[.25,.75,0,0,.44445],"8970":[.25,.75,0,0,.44445],"8971":[.25,.75,0,0,.44445],"8994":[-.14236,.35764,0,0,1],"8995":[-.14236,.35764,0,0,1],"9136":[.244,.744,0,0,.412],"9137":[.244,.744,0,0,.412],"9651":[.19444,.69444,0,0,.88889],"9657":[-.03472,.46528,0,0,.5],"9661":[.19444,.69444,0,0,.88889],"9667":[-.03472,.46528,0,0,.5],"9711":[.19444,.69444,0,0,1],"9824":[.12963,.69444,0,0,.77778],"9825":[.12963,.69444,0,0,.77778],"9826":[.12963,.69444,0,0,.77778],"9827":[.12963,.69444,0,0,.77778],"9837":[0,.75,0,0,.38889],"9838":[.19444,.69444,0,0,.38889],"9839":[.19444,.69444,0,0,.38889],"10216":[.25,.75,0,0,.38889],"10217":[.25,.75,0,0,.38889],"10222":[.244,.744,0,0,.412],"10223":[.244,.744,0,0,.412],"10229":[.011,.511,0,0,1.609],"10230":[.011,.511,0,0,1.638],"10231":[.011,.511,0,0,1.859],"10232":[.024,.525,0,0,1.609],"10233":[.024,.525,0,0,1.638],"10234":[.024,.525,0,0,1.858],"10236":[.011,.511,0,0,1.638],"10815":[0,.68333,0,0,.75],"10927":[.13597,.63597,0,0,.77778],"10928":[.13597,.63597,0,0,.77778],"57376":[.19444,.69444,0,0,0]},"Math-BoldItalic":{"65":[0,.68611,0,0,.86944],"66":[0,.68611,.04835,0,.8664],"67":[0,.68611,.06979,0,.81694],"68":[0,.68611,.03194,0,.93812],"69":[0,.68611,.05451,0,.81007],"70":[0,.68611,.15972,0,.68889],"71":[0,.68611,0,0,.88673],"72":[0,.68611,.08229,0,.98229],"73":[0,.68611,.07778,0,.51111],"74":[0,.68611,.10069,0,.63125],"75":[0,.68611,.06979,0,.97118],"76":[0,.68611,0,0,.75555],"77":[0,.68611,.11424,0,1.14201],"78":[0,.68611,.11424,0,.95034],"79":[0,.68611,.03194,0,.83666],"80":[0,.68611,.15972,0,.72309],"81":[.19444,.68611,0,0,.86861],"82":[0,.68611,.00421,0,.87235],"83":[0,.68611,.05382,0,.69271],"84":[0,.68611,.15972,0,.63663],"85":[0,.68611,.11424,0,.80027],"86":[0,.68611,.25555,0,.67778],"87":[0,.68611,.15972,0,1.09305],"88":[0,.68611,.07778,0,.94722],"89":[0,.68611,.25555,0,.67458],"90":[0,.68611,.06979,0,.77257],"97":[0,.44444,0,0,.63287],"98":[0,.69444,0,0,.52083],"99":[0,.44444,0,0,.51342],"100":[0,.69444,0,0,.60972],"101":[0,.44444,0,0,.55361],"102":[.19444,.69444,.11042,0,.56806],"103":[.19444,.44444,.03704,0,.5449],"104":[0,.69444,0,0,.66759],"105":[0,.69326,0,0,.4048],"106":[.19444,.69326,.0622,0,.47083],"107":[0,.69444,.01852,0,.6037],"108":[0,.69444,.0088,0,.34815],"109":[0,.44444,0,0,1.0324],"110":[0,.44444,0,0,.71296],"111":[0,.44444,0,0,.58472],"112":[.19444,.44444,0,0,.60092],"113":[.19444,.44444,.03704,0,.54213],"114":[0,.44444,.03194,0,.5287],"115":[0,.44444,0,0,.53125],"116":[0,.63492,0,0,.41528],"117":[0,.44444,0,0,.68102],"118":[0,.44444,.03704,0,.56666],"119":[0,.44444,.02778,0,.83148],"120":[0,.44444,0,0,.65903],"121":[.19444,.44444,.03704,0,.59028],"122":[0,.44444,.04213,0,.55509],"915":[0,.68611,.15972,0,.65694],"916":[0,.68611,0,0,.95833],"920":[0,.68611,.03194,0,.86722],"923":[0,.68611,0,0,.80555],"926":[0,.68611,.07458,0,.84125],"928":[0,.68611,.08229,0,.98229],"931":[0,.68611,.05451,0,.88507],"933":[0,.68611,.15972,0,.67083],"934":[0,.68611,0,0,.76666],"936":[0,.68611,.11653,0,.71402],"937":[0,.68611,.04835,0,.8789],"945":[0,.44444,0,0,.76064],"946":[.19444,.69444,.03403,0,.65972],"947":[.19444,.44444,.06389,0,.59003],"948":[0,.69444,.03819,0,.52222],"949":[0,.44444,0,0,.52882],"950":[.19444,.69444,.06215,0,.50833],"951":[.19444,.44444,.03704,0,.6],"952":[0,.69444,.03194,0,.5618],"953":[0,.44444,0,0,.41204],"954":[0,.44444,0,0,.66759],"955":[0,.69444,0,0,.67083],"956":[.19444,.44444,0,0,.70787],"957":[0,.44444,.06898,0,.57685],"958":[.19444,.69444,.03021,0,.50833],"959":[0,.44444,0,0,.58472],"960":[0,.44444,.03704,0,.68241],"961":[.19444,.44444,0,0,.6118],"962":[.09722,.44444,.07917,0,.42361],"963":[0,.44444,.03704,0,.68588],"964":[0,.44444,.13472,0,.52083],"965":[0,.44444,.03704,0,.63055],"966":[.19444,.44444,0,0,.74722],"967":[.19444,.44444,0,0,.71805],"968":[.19444,.69444,.03704,0,.75833],"969":[0,.44444,.03704,0,.71782],"977":[0,.69444,0,0,.69155],"981":[.19444,.69444,0,0,.7125],"982":[0,.44444,.03194,0,.975],"1009":[.19444,.44444,0,0,.6118],"1013":[0,.44444,0,0,.48333]},"Math-Italic":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"Math-Regular":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{"33":[0,.69444,0,0,.36667],"34":[0,.69444,0,0,.55834],"35":[.19444,.69444,0,0,.91667],"36":[.05556,.75,0,0,.55],"37":[.05556,.75,0,0,1.02912],"38":[0,.69444,0,0,.83056],"39":[0,.69444,0,0,.30556],"40":[.25,.75,0,0,.42778],"41":[.25,.75,0,0,.42778],"42":[0,.75,0,0,.55],"43":[.11667,.61667,0,0,.85556],"44":[.10556,.13056,0,0,.30556],"45":[0,.45833,0,0,.36667],"46":[0,.13056,0,0,.30556],"47":[.25,.75,0,0,.55],"48":[0,.69444,0,0,.55],"49":[0,.69444,0,0,.55],"50":[0,.69444,0,0,.55],"51":[0,.69444,0,0,.55],"52":[0,.69444,0,0,.55],"53":[0,.69444,0,0,.55],"54":[0,.69444,0,0,.55],"55":[0,.69444,0,0,.55],"56":[0,.69444,0,0,.55],"57":[0,.69444,0,0,.55],"58":[0,.45833,0,0,.30556],"59":[.10556,.45833,0,0,.30556],"61":[-.09375,.40625,0,0,.85556],"63":[0,.69444,0,0,.51945],"64":[0,.69444,0,0,.73334],"65":[0,.69444,0,0,.73334],"66":[0,.69444,0,0,.73334],"67":[0,.69444,0,0,.70278],"68":[0,.69444,0,0,.79445],"69":[0,.69444,0,0,.64167],"70":[0,.69444,0,0,.61111],"71":[0,.69444,0,0,.73334],"72":[0,.69444,0,0,.79445],"73":[0,.69444,0,0,.33056],"74":[0,.69444,0,0,.51945],"75":[0,.69444,0,0,.76389],"76":[0,.69444,0,0,.58056],"77":[0,.69444,0,0,.97778],"78":[0,.69444,0,0,.79445],"79":[0,.69444,0,0,.79445],"80":[0,.69444,0,0,.70278],"81":[.10556,.69444,0,0,.79445],"82":[0,.69444,0,0,.70278],"83":[0,.69444,0,0,.61111],"84":[0,.69444,0,0,.73334],"85":[0,.69444,0,0,.76389],"86":[0,.69444,.01528,0,.73334],"87":[0,.69444,.01528,0,1.03889],"88":[0,.69444,0,0,.73334],"89":[0,.69444,.0275,0,.73334],"90":[0,.69444,0,0,.67223],"91":[.25,.75,0,0,.34306],"93":[.25,.75,0,0,.34306],"94":[0,.69444,0,0,.55],"95":[.35,.10833,.03056,0,.55],"97":[0,.45833,0,0,.525],"98":[0,.69444,0,0,.56111],"99":[0,.45833,0,0,.48889],"100":[0,.69444,0,0,.56111],"101":[0,.45833,0,0,.51111],"102":[0,.69444,.07639,0,.33611],"103":[.19444,.45833,.01528,0,.55],"104":[0,.69444,0,0,.56111],"105":[0,.69444,0,0,.25556],"106":[.19444,.69444,0,0,.28611],"107":[0,.69444,0,0,.53056],"108":[0,.69444,0,0,.25556],"109":[0,.45833,0,0,.86667],"110":[0,.45833,0,0,.56111],"111":[0,.45833,0,0,.55],"112":[.19444,.45833,0,0,.56111],"113":[.19444,.45833,0,0,.56111],"114":[0,.45833,.01528,0,.37222],"115":[0,.45833,0,0,.42167],"116":[0,.58929,0,0,.40417],"117":[0,.45833,0,0,.56111],"118":[0,.45833,.01528,0,.5],"119":[0,.45833,.01528,0,.74445],"120":[0,.45833,0,0,.5],"121":[.19444,.45833,.01528,0,.5],"122":[0,.45833,0,0,.47639],"126":[.35,.34444,0,0,.55],"168":[0,.69444,0,0,.55],"176":[0,.69444,0,0,.73334],"180":[0,.69444,0,0,.55],"184":[.17014,0,0,0,.48889],"305":[0,.45833,0,0,.25556],"567":[.19444,.45833,0,0,.28611],"710":[0,.69444,0,0,.55],"711":[0,.63542,0,0,.55],"713":[0,.63778,0,0,.55],"728":[0,.69444,0,0,.55],"729":[0,.69444,0,0,.30556],"730":[0,.69444,0,0,.73334],"732":[0,.69444,0,0,.55],"733":[0,.69444,0,0,.55],"915":[0,.69444,0,0,.58056],"916":[0,.69444,0,0,.91667],"920":[0,.69444,0,0,.85556],"923":[0,.69444,0,0,.67223],"926":[0,.69444,0,0,.73334],"928":[0,.69444,0,0,.79445],"931":[0,.69444,0,0,.79445],"933":[0,.69444,0,0,.85556],"934":[0,.69444,0,0,.79445],"936":[0,.69444,0,0,.85556],"937":[0,.69444,0,0,.79445],"8211":[0,.45833,.03056,0,.55],"8212":[0,.45833,.03056,0,1.10001],"8216":[0,.69444,0,0,.30556],"8217":[0,.69444,0,0,.30556],"8220":[0,.69444,0,0,.55834],"8221":[0,.69444,0,0,.55834]},"SansSerif-Italic":{"33":[0,.69444,.05733,0,.31945],"34":[0,.69444,.00316,0,.5],"35":[.19444,.69444,.05087,0,.83334],"36":[.05556,.75,.11156,0,.5],"37":[.05556,.75,.03126,0,.83334],"38":[0,.69444,.03058,0,.75834],"39":[0,.69444,.07816,0,.27778],"40":[.25,.75,.13164,0,.38889],"41":[.25,.75,.02536,0,.38889],"42":[0,.75,.11775,0,.5],"43":[.08333,.58333,.02536,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,.01946,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,.13164,0,.5],"48":[0,.65556,.11156,0,.5],"49":[0,.65556,.11156,0,.5],"50":[0,.65556,.11156,0,.5],"51":[0,.65556,.11156,0,.5],"52":[0,.65556,.11156,0,.5],"53":[0,.65556,.11156,0,.5],"54":[0,.65556,.11156,0,.5],"55":[0,.65556,.11156,0,.5],"56":[0,.65556,.11156,0,.5],"57":[0,.65556,.11156,0,.5],"58":[0,.44444,.02502,0,.27778],"59":[.125,.44444,.02502,0,.27778],"61":[-.13,.37,.05087,0,.77778],"63":[0,.69444,.11809,0,.47222],"64":[0,.69444,.07555,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,.08293,0,.66667],"67":[0,.69444,.11983,0,.63889],"68":[0,.69444,.07555,0,.72223],"69":[0,.69444,.11983,0,.59722],"70":[0,.69444,.13372,0,.56945],"71":[0,.69444,.11983,0,.66667],"72":[0,.69444,.08094,0,.70834],"73":[0,.69444,.13372,0,.27778],"74":[0,.69444,.08094,0,.47222],"75":[0,.69444,.11983,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,.08094,0,.875],"78":[0,.69444,.08094,0,.70834],"79":[0,.69444,.07555,0,.73611],"80":[0,.69444,.08293,0,.63889],"81":[.125,.69444,.07555,0,.73611],"82":[0,.69444,.08293,0,.64584],"83":[0,.69444,.09205,0,.55556],"84":[0,.69444,.13372,0,.68056],"85":[0,.69444,.08094,0,.6875],"86":[0,.69444,.1615,0,.66667],"87":[0,.69444,.1615,0,.94445],"88":[0,.69444,.13372,0,.66667],"89":[0,.69444,.17261,0,.66667],"90":[0,.69444,.11983,0,.61111],"91":[.25,.75,.15942,0,.28889],"93":[.25,.75,.08719,0,.28889],"94":[0,.69444,.0799,0,.5],"95":[.35,.09444,.08616,0,.5],"97":[0,.44444,.00981,0,.48056],"98":[0,.69444,.03057,0,.51667],"99":[0,.44444,.08336,0,.44445],"100":[0,.69444,.09483,0,.51667],"101":[0,.44444,.06778,0,.44445],"102":[0,.69444,.21705,0,.30556],"103":[.19444,.44444,.10836,0,.5],"104":[0,.69444,.01778,0,.51667],"105":[0,.67937,.09718,0,.23889],"106":[.19444,.67937,.09162,0,.26667],"107":[0,.69444,.08336,0,.48889],"108":[0,.69444,.09483,0,.23889],"109":[0,.44444,.01778,0,.79445],"110":[0,.44444,.01778,0,.51667],"111":[0,.44444,.06613,0,.5],"112":[.19444,.44444,.0389,0,.51667],"113":[.19444,.44444,.04169,0,.51667],"114":[0,.44444,.10836,0,.34167],"115":[0,.44444,.0778,0,.38333],"116":[0,.57143,.07225,0,.36111],"117":[0,.44444,.04169,0,.51667],"118":[0,.44444,.10836,0,.46111],"119":[0,.44444,.10836,0,.68334],"120":[0,.44444,.09169,0,.46111],"121":[.19444,.44444,.10836,0,.46111],"122":[0,.44444,.08752,0,.43472],"126":[.35,.32659,.08826,0,.5],"168":[0,.67937,.06385,0,.5],"176":[0,.69444,0,0,.73752],"184":[.17014,0,0,0,.44445],"305":[0,.44444,.04169,0,.23889],"567":[.19444,.44444,.04169,0,.26667],"710":[0,.69444,.0799,0,.5],"711":[0,.63194,.08432,0,.5],"713":[0,.60889,.08776,0,.5],"714":[0,.69444,.09205,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,.09483,0,.5],"729":[0,.67937,.07774,0,.27778],"730":[0,.69444,0,0,.73752],"732":[0,.67659,.08826,0,.5],"733":[0,.69444,.09205,0,.5],"915":[0,.69444,.13372,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,.07555,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,.12816,0,.66667],"928":[0,.69444,.08094,0,.70834],"931":[0,.69444,.11983,0,.72222],"933":[0,.69444,.09031,0,.77778],"934":[0,.69444,.04603,0,.72222],"936":[0,.69444,.09031,0,.77778],"937":[0,.69444,.08293,0,.72222],"8211":[0,.44444,.08616,0,.5],"8212":[0,.44444,.08616,0,1],"8216":[0,.69444,.07816,0,.27778],"8217":[0,.69444,.07816,0,.27778],"8220":[0,.69444,.14205,0,.5],"8221":[0,.69444,.00316,0,.5]},"SansSerif-Regular":{"33":[0,.69444,0,0,.31945],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.75834],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,0,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.65556,0,0,.5],"49":[0,.65556,0,0,.5],"50":[0,.65556,0,0,.5],"51":[0,.65556,0,0,.5],"52":[0,.65556,0,0,.5],"53":[0,.65556,0,0,.5],"54":[0,.65556,0,0,.5],"55":[0,.65556,0,0,.5],"56":[0,.65556,0,0,.5],"57":[0,.65556,0,0,.5],"58":[0,.44444,0,0,.27778],"59":[.125,.44444,0,0,.27778],"61":[-.13,.37,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,0,0,.66667],"67":[0,.69444,0,0,.63889],"68":[0,.69444,0,0,.72223],"69":[0,.69444,0,0,.59722],"70":[0,.69444,0,0,.56945],"71":[0,.69444,0,0,.66667],"72":[0,.69444,0,0,.70834],"73":[0,.69444,0,0,.27778],"74":[0,.69444,0,0,.47222],"75":[0,.69444,0,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,0,0,.875],"78":[0,.69444,0,0,.70834],"79":[0,.69444,0,0,.73611],"80":[0,.69444,0,0,.63889],"81":[.125,.69444,0,0,.73611],"82":[0,.69444,0,0,.64584],"83":[0,.69444,0,0,.55556],"84":[0,.69444,0,0,.68056],"85":[0,.69444,0,0,.6875],"86":[0,.69444,.01389,0,.66667],"87":[0,.69444,.01389,0,.94445],"88":[0,.69444,0,0,.66667],"89":[0,.69444,.025,0,.66667],"90":[0,.69444,0,0,.61111],"91":[.25,.75,0,0,.28889],"93":[.25,.75,0,0,.28889],"94":[0,.69444,0,0,.5],"95":[.35,.09444,.02778,0,.5],"97":[0,.44444,0,0,.48056],"98":[0,.69444,0,0,.51667],"99":[0,.44444,0,0,.44445],"100":[0,.69444,0,0,.51667],"101":[0,.44444,0,0,.44445],"102":[0,.69444,.06944,0,.30556],"103":[.19444,.44444,.01389,0,.5],"104":[0,.69444,0,0,.51667],"105":[0,.67937,0,0,.23889],"106":[.19444,.67937,0,0,.26667],"107":[0,.69444,0,0,.48889],"108":[0,.69444,0,0,.23889],"109":[0,.44444,0,0,.79445],"110":[0,.44444,0,0,.51667],"111":[0,.44444,0,0,.5],"112":[.19444,.44444,0,0,.51667],"113":[.19444,.44444,0,0,.51667],"114":[0,.44444,.01389,0,.34167],"115":[0,.44444,0,0,.38333],"116":[0,.57143,0,0,.36111],"117":[0,.44444,0,0,.51667],"118":[0,.44444,.01389,0,.46111],"119":[0,.44444,.01389,0,.68334],"120":[0,.44444,0,0,.46111],"121":[.19444,.44444,.01389,0,.46111],"122":[0,.44444,0,0,.43472],"126":[.35,.32659,0,0,.5],"168":[0,.67937,0,0,.5],"176":[0,.69444,0,0,.66667],"184":[.17014,0,0,0,.44445],"305":[0,.44444,0,0,.23889],"567":[.19444,.44444,0,0,.26667],"710":[0,.69444,0,0,.5],"711":[0,.63194,0,0,.5],"713":[0,.60889,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.67937,0,0,.27778],"730":[0,.69444,0,0,.66667],"732":[0,.67659,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.69444,0,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,0,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,0,0,.66667],"928":[0,.69444,0,0,.70834],"931":[0,.69444,0,0,.72222],"933":[0,.69444,0,0,.77778],"934":[0,.69444,0,0,.72222],"936":[0,.69444,0,0,.77778],"937":[0,.69444,0,0,.72222],"8211":[0,.44444,.02778,0,.5],"8212":[0,.44444,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5]},"Script-Regular":{"65":[0,.7,.22925,0,.80253],"66":[0,.7,.04087,0,.90757],"67":[0,.7,.1689,0,.66619],"68":[0,.7,.09371,0,.77443],"69":[0,.7,.18583,0,.56162],"70":[0,.7,.13634,0,.89544],"71":[0,.7,.17322,0,.60961],"72":[0,.7,.29694,0,.96919],"73":[0,.7,.19189,0,.80907],"74":[.27778,.7,.19189,0,1.05159],"75":[0,.7,.31259,0,.91364],"76":[0,.7,.19189,0,.87373],"77":[0,.7,.15981,0,1.08031],"78":[0,.7,.3525,0,.9015],"79":[0,.7,.08078,0,.73787],"80":[0,.7,.08078,0,1.01262],"81":[0,.7,.03305,0,.88282],"82":[0,.7,.06259,0,.85],"83":[0,.7,.19189,0,.86767],"84":[0,.7,.29087,0,.74697],"85":[0,.7,.25815,0,.79996],"86":[0,.7,.27523,0,.62204],"87":[0,.7,.27523,0,.80532],"88":[0,.7,.26006,0,.94445],"89":[0,.7,.2939,0,.70961],"90":[0,.7,.24037,0,.8212]},"Size1-Regular":{"40":[.35001,.85,0,0,.45834],"41":[.35001,.85,0,0,.45834],"47":[.35001,.85,0,0,.57778],"91":[.35001,.85,0,0,.41667],"92":[.35001,.85,0,0,.57778],"93":[.35001,.85,0,0,.41667],"123":[.35001,.85,0,0,.58334],"125":[.35001,.85,0,0,.58334],"710":[0,.72222,0,0,.55556],"732":[0,.72222,0,0,.55556],"770":[0,.72222,0,0,.55556],"771":[0,.72222,0,0,.55556],"8214":[-99e-5,.601,0,0,.77778],"8593":[1e-5,.6,0,0,.66667],"8595":[1e-5,.6,0,0,.66667],"8657":[1e-5,.6,0,0,.77778],"8659":[1e-5,.6,0,0,.77778],"8719":[.25001,.75,0,0,.94445],"8720":[.25001,.75,0,0,.94445],"8721":[.25001,.75,0,0,1.05556],"8730":[.35001,.85,0,0,1],"8739":[-.00599,.606,0,0,.33333],"8741":[-.00599,.606,0,0,.55556],"8747":[.30612,.805,.19445,0,.47222],"8748":[.306,.805,.19445,0,.47222],"8749":[.306,.805,.19445,0,.47222],"8750":[.30612,.805,.19445,0,.47222],"8896":[.25001,.75,0,0,.83334],"8897":[.25001,.75,0,0,.83334],"8898":[.25001,.75,0,0,.83334],"8899":[.25001,.75,0,0,.83334],"8968":[.35001,.85,0,0,.47222],"8969":[.35001,.85,0,0,.47222],"8970":[.35001,.85,0,0,.47222],"8971":[.35001,.85,0,0,.47222],"9168":[-99e-5,.601,0,0,.66667],"10216":[.35001,.85,0,0,.47222],"10217":[.35001,.85,0,0,.47222],"10752":[.25001,.75,0,0,1.11111],"10753":[.25001,.75,0,0,1.11111],"10754":[.25001,.75,0,0,1.11111],"10756":[.25001,.75,0,0,.83334],"10758":[.25001,.75,0,0,.83334]},"Size2-Regular":{"40":[.65002,1.15,0,0,.59722],"41":[.65002,1.15,0,0,.59722],"47":[.65002,1.15,0,0,.81111],"91":[.65002,1.15,0,0,.47222],"92":[.65002,1.15,0,0,.81111],"93":[.65002,1.15,0,0,.47222],"123":[.65002,1.15,0,0,.66667],"125":[.65002,1.15,0,0,.66667],"710":[0,.75,0,0,1],"732":[0,.75,0,0,1],"770":[0,.75,0,0,1],"771":[0,.75,0,0,1],"8719":[.55001,1.05,0,0,1.27778],"8720":[.55001,1.05,0,0,1.27778],"8721":[.55001,1.05,0,0,1.44445],"8730":[.65002,1.15,0,0,1],"8747":[.86225,1.36,.44445,0,.55556],"8748":[.862,1.36,.44445,0,.55556],"8749":[.862,1.36,.44445,0,.55556],"8750":[.86225,1.36,.44445,0,.55556],"8896":[.55001,1.05,0,0,1.11111],"8897":[.55001,1.05,0,0,1.11111],"8898":[.55001,1.05,0,0,1.11111],"8899":[.55001,1.05,0,0,1.11111],"8968":[.65002,1.15,0,0,.52778],"8969":[.65002,1.15,0,0,.52778],"8970":[.65002,1.15,0,0,.52778],"8971":[.65002,1.15,0,0,.52778],"10216":[.65002,1.15,0,0,.61111],"10217":[.65002,1.15,0,0,.61111],"10752":[.55001,1.05,0,0,1.51112],"10753":[.55001,1.05,0,0,1.51112],"10754":[.55001,1.05,0,0,1.51112],"10756":[.55001,1.05,0,0,1.11111],"10758":[.55001,1.05,0,0,1.11111]},"Size3-Regular":{"40":[.95003,1.45,0,0,.73611],"41":[.95003,1.45,0,0,.73611],"47":[.95003,1.45,0,0,1.04445],"91":[.95003,1.45,0,0,.52778],"92":[.95003,1.45,0,0,1.04445],"93":[.95003,1.45,0,0,.52778],"123":[.95003,1.45,0,0,.75],"125":[.95003,1.45,0,0,.75],"710":[0,.75,0,0,1.44445],"732":[0,.75,0,0,1.44445],"770":[0,.75,0,0,1.44445],"771":[0,.75,0,0,1.44445],"8730":[.95003,1.45,0,0,1],"8968":[.95003,1.45,0,0,.58334],"8969":[.95003,1.45,0,0,.58334],"8970":[.95003,1.45,0,0,.58334],"8971":[.95003,1.45,0,0,.58334],"10216":[.95003,1.45,0,0,.75],"10217":[.95003,1.45,0,0,.75]},"Size4-Regular":{"40":[1.25003,1.75,0,0,.79167],"41":[1.25003,1.75,0,0,.79167],"47":[1.25003,1.75,0,0,1.27778],"91":[1.25003,1.75,0,0,.58334],"92":[1.25003,1.75,0,0,1.27778],"93":[1.25003,1.75,0,0,.58334],"123":[1.25003,1.75,0,0,.80556],"125":[1.25003,1.75,0,0,.80556],"710":[0,.825,0,0,1.8889],"732":[0,.825,0,0,1.8889],"770":[0,.825,0,0,1.8889],"771":[0,.825,0,0,1.8889],"8730":[1.25003,1.75,0,0,1],"8968":[1.25003,1.75,0,0,.63889],"8969":[1.25003,1.75,0,0,.63889],"8970":[1.25003,1.75,0,0,.63889],"8971":[1.25003,1.75,0,0,.63889],"9115":[.64502,1.155,0,0,.875],"9116":[1e-5,.6,0,0,.875],"9117":[.64502,1.155,0,0,.875],"9118":[.64502,1.155,0,0,.875],"9119":[1e-5,.6,0,0,.875],"9120":[.64502,1.155,0,0,.875],"9121":[.64502,1.155,0,0,.66667],"9122":[-99e-5,.601,0,0,.66667],"9123":[.64502,1.155,0,0,.66667],"9124":[.64502,1.155,0,0,.66667],"9125":[-99e-5,.601,0,0,.66667],"9126":[.64502,1.155,0,0,.66667],"9127":[1e-5,.9,0,0,.88889],"9128":[.65002,1.15,0,0,.88889],"9129":[.90001,0,0,0,.88889],"9130":[0,.3,0,0,.88889],"9131":[1e-5,.9,0,0,.88889],"9132":[.65002,1.15,0,0,.88889],"9133":[.90001,0,0,0,.88889],"9143":[.88502,.915,0,0,1.05556],"10216":[1.25003,1.75,0,0,.80556],"10217":[1.25003,1.75,0,0,.80556],"57344":[-.00499,.605,0,0,1.05556],"57345":[-.00499,.605,0,0,1.05556],"57680":[0,.12,0,0,.45],"57681":[0,.12,0,0,.45],"57682":[0,.12,0,0,.45],"57683":[0,.12,0,0,.45]},"Typewriter-Regular":{"32":[0,0,0,0,.525],"33":[0,.61111,0,0,.525],"34":[0,.61111,0,0,.525],"35":[0,.61111,0,0,.525],"36":[.08333,.69444,0,0,.525],"37":[.08333,.69444,0,0,.525],"38":[0,.61111,0,0,.525],"39":[0,.61111,0,0,.525],"40":[.08333,.69444,0,0,.525],"41":[.08333,.69444,0,0,.525],"42":[0,.52083,0,0,.525],"43":[-.08056,.53055,0,0,.525],"44":[.13889,.125,0,0,.525],"45":[-.08056,.53055,0,0,.525],"46":[0,.125,0,0,.525],"47":[.08333,.69444,0,0,.525],"48":[0,.61111,0,0,.525],"49":[0,.61111,0,0,.525],"50":[0,.61111,0,0,.525],"51":[0,.61111,0,0,.525],"52":[0,.61111,0,0,.525],"53":[0,.61111,0,0,.525],"54":[0,.61111,0,0,.525],"55":[0,.61111,0,0,.525],"56":[0,.61111,0,0,.525],"57":[0,.61111,0,0,.525],"58":[0,.43056,0,0,.525],"59":[.13889,.43056,0,0,.525],"60":[-.05556,.55556,0,0,.525],"61":[-.19549,.41562,0,0,.525],"62":[-.05556,.55556,0,0,.525],"63":[0,.61111,0,0,.525],"64":[0,.61111,0,0,.525],"65":[0,.61111,0,0,.525],"66":[0,.61111,0,0,.525],"67":[0,.61111,0,0,.525],"68":[0,.61111,0,0,.525],"69":[0,.61111,0,0,.525],"70":[0,.61111,0,0,.525],"71":[0,.61111,0,0,.525],"72":[0,.61111,0,0,.525],"73":[0,.61111,0,0,.525],"74":[0,.61111,0,0,.525],"75":[0,.61111,0,0,.525],"76":[0,.61111,0,0,.525],"77":[0,.61111,0,0,.525],"78":[0,.61111,0,0,.525],"79":[0,.61111,0,0,.525],"80":[0,.61111,0,0,.525],"81":[.13889,.61111,0,0,.525],"82":[0,.61111,0,0,.525],"83":[0,.61111,0,0,.525],"84":[0,.61111,0,0,.525],"85":[0,.61111,0,0,.525],"86":[0,.61111,0,0,.525],"87":[0,.61111,0,0,.525],"88":[0,.61111,0,0,.525],"89":[0,.61111,0,0,.525],"90":[0,.61111,0,0,.525],"91":[.08333,.69444,0,0,.525],"92":[.08333,.69444,0,0,.525],"93":[.08333,.69444,0,0,.525],"94":[0,.61111,0,0,.525],"95":[.09514,0,0,0,.525],"96":[0,.61111,0,0,.525],"97":[0,.43056,0,0,.525],"98":[0,.61111,0,0,.525],"99":[0,.43056,0,0,.525],"100":[0,.61111,0,0,.525],"101":[0,.43056,0,0,.525],"102":[0,.61111,0,0,.525],"103":[.22222,.43056,0,0,.525],"104":[0,.61111,0,0,.525],"105":[0,.61111,0,0,.525],"106":[.22222,.61111,0,0,.525],"107":[0,.61111,0,0,.525],"108":[0,.61111,0,0,.525],"109":[0,.43056,0,0,.525],"110":[0,.43056,0,0,.525],"111":[0,.43056,0,0,.525],"112":[.22222,.43056,0,0,.525],"113":[.22222,.43056,0,0,.525],"114":[0,.43056,0,0,.525],"115":[0,.43056,0,0,.525],"116":[0,.55358,0,0,.525],"117":[0,.43056,0,0,.525],"118":[0,.43056,0,0,.525],"119":[0,.43056,0,0,.525],"120":[0,.43056,0,0,.525],"121":[.22222,.43056,0,0,.525],"122":[0,.43056,0,0,.525],"123":[.08333,.69444,0,0,.525],"124":[.08333,.69444,0,0,.525],"125":[.08333,.69444,0,0,.525],"126":[0,.61111,0,0,.525],"127":[0,.61111,0,0,.525],"160":[0,0,0,0,.525],"176":[0,.61111,0,0,.525],"184":[.19445,0,0,0,.525],"305":[0,.43056,0,0,.525],"567":[.22222,.43056,0,0,.525],"711":[0,.56597,0,0,.525],"713":[0,.56555,0,0,.525],"714":[0,.61111,0,0,.525],"715":[0,.61111,0,0,.525],"728":[0,.61111,0,0,.525],"730":[0,.61111,0,0,.525],"770":[0,.61111,0,0,.525],"771":[0,.61111,0,0,.525],"776":[0,.61111,0,0,.525],"915":[0,.61111,0,0,.525],"916":[0,.61111,0,0,.525],"920":[0,.61111,0,0,.525],"923":[0,.61111,0,0,.525],"926":[0,.61111,0,0,.525],"928":[0,.61111,0,0,.525],"931":[0,.61111,0,0,.525],"933":[0,.61111,0,0,.525],"934":[0,.61111,0,0,.525],"936":[0,.61111,0,0,.525],"937":[0,.61111,0,0,.525],"8216":[0,.61111,0,0,.525],"8217":[0,.61111,0,0,.525],"8242":[0,.61111,0,0,.525],"9251":[.11111,.21944,0,0,.525]}},pt={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Pe={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Nt(Lt,he){yt[Lt]=he}function ut(Lt,he,Ce){if(!yt[he])throw new Error("Font metrics not found for font: "+he+".");var Ie=Lt.charCodeAt(0),Ye=yt[he][Ie];if(!Ye&&Lt[0]in Pe&&(Ie=Pe[Lt[0]].charCodeAt(0),Ye=yt[he][Ie]),!Ye&&Ce==="text"&&(q(Ie)&&(Ye=yt[he][77])),Ye)return{depth:Ye[0],height:Ye[1],italic:Ye[2],skew:Ye[3],width:Ye[4]}}var Ft={};function Ut(Lt){var he;if(Lt>=5?he=0:Lt>=3?he=1:he=2,!Ft[he]){var Ce=Ft[he]={cssEmPerMu:pt.quad[he]/18};for(var Ie in pt)pt.hasOwnProperty(Ie)&&(Ce[Ie]=pt[Ie][he])}return Ft[he]}var Kt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},$t={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},or={math:{},text:{}},ht=or;function Ee(Lt,he,Ce,Ie,Ye,_t){or[Lt][Ye]={font:he,group:Ce,replace:Ie},_t&&Ie&&(or[Lt][Ie]=or[Lt][Ye])}var de="math",qe="text",rt="main",ve="ams",bt="accent-token",jt="bin",He="close",kt="inner",Ar="mathord",at="op-token",Ht="open",Wt="punct",ot="rel",et="spacing",Ze="textord";Ee(de,rt,ot,"\u2261","\\equiv",!0),Ee(de,rt,ot,"\u227A","\\prec",!0),Ee(de,rt,ot,"\u227B","\\succ",!0),Ee(de,rt,ot,"\u223C","\\sim",!0),Ee(de,rt,ot,"\u22A5","\\perp"),Ee(de,rt,ot,"\u2AAF","\\preceq",!0),Ee(de,rt,ot,"\u2AB0","\\succeq",!0),Ee(de,rt,ot,"\u2243","\\simeq",!0),Ee(de,rt,ot,"\u2223","\\mid",!0),Ee(de,rt,ot,"\u226A","\\ll",!0),Ee(de,rt,ot,"\u226B","\\gg",!0),Ee(de,rt,ot,"\u224D","\\asymp",!0),Ee(de,rt,ot,"\u2225","\\parallel"),Ee(de,rt,ot,"\u22C8","\\bowtie",!0),Ee(de,rt,ot,"\u2323","\\smile",!0),Ee(de,rt,ot,"\u2291","\\sqsubseteq",!0),Ee(de,rt,ot,"\u2292","\\sqsupseteq",!0),Ee(de,rt,ot,"\u2250","\\doteq",!0),Ee(de,rt,ot,"\u2322","\\frown",!0),Ee(de,rt,ot,"\u220B","\\ni",!0),Ee(de,rt,ot,"\u221D","\\propto",!0),Ee(de,rt,ot,"\u22A2","\\vdash",!0),Ee(de,rt,ot,"\u22A3","\\dashv",!0),Ee(de,rt,ot,"\u220B","\\owns"),Ee(de,rt,Wt,".","\\ldotp"),Ee(de,rt,Wt,"\u22C5","\\cdotp"),Ee(de,rt,Ze,"#","\\#"),Ee(qe,rt,Ze,"#","\\#"),Ee(de,rt,Ze,"&","\\&"),Ee(qe,rt,Ze,"&","\\&"),Ee(de,rt,Ze,"\u2135","\\aleph",!0),Ee(de,rt,Ze,"\u2200","\\forall",!0),Ee(de,rt,Ze,"\u210F","\\hbar",!0),Ee(de,rt,Ze,"\u2203","\\exists",!0),Ee(de,rt,Ze,"\u2207","\\nabla",!0),Ee(de,rt,Ze,"\u266D","\\flat",!0),Ee(de,rt,Ze,"\u2113","\\ell",!0),Ee(de,rt,Ze,"\u266E","\\natural",!0),Ee(de,rt,Ze,"\u2663","\\clubsuit",!0),Ee(de,rt,Ze,"\u2118","\\wp",!0),Ee(de,rt,Ze,"\u266F","\\sharp",!0),Ee(de,rt,Ze,"\u2662","\\diamondsuit",!0),Ee(de,rt,Ze,"\u211C","\\Re",!0),Ee(de,rt,Ze,"\u2661","\\heartsuit",!0),Ee(de,rt,Ze,"\u2111","\\Im",!0),Ee(de,rt,Ze,"\u2660","\\spadesuit",!0),Ee(qe,rt,Ze,"\xA7","\\S",!0),Ee(qe,rt,Ze,"\xB6","\\P",!0),Ee(de,rt,Ze,"\u2020","\\dag"),Ee(qe,rt,Ze,"\u2020","\\dag"),Ee(qe,rt,Ze,"\u2020","\\textdagger"),Ee(de,rt,Ze,"\u2021","\\ddag"),Ee(qe,rt,Ze,"\u2021","\\ddag"),Ee(qe,rt,Ze,"\u2021","\\textdaggerdbl"),Ee(de,rt,He,"\u23B1","\\rmoustache",!0),Ee(de,rt,Ht,"\u23B0","\\lmoustache",!0),Ee(de,rt,He,"\u27EF","\\rgroup",!0),Ee(de,rt,Ht,"\u27EE","\\lgroup",!0),Ee(de,rt,jt,"\u2213","\\mp",!0),Ee(de,rt,jt,"\u2296","\\ominus",!0),Ee(de,rt,jt,"\u228E","\\uplus",!0),Ee(de,rt,jt,"\u2293","\\sqcap",!0),Ee(de,rt,jt,"\u2217","\\ast"),Ee(de,rt,jt,"\u2294","\\sqcup",!0),Ee(de,rt,jt,"\u25EF","\\bigcirc"),Ee(de,rt,jt,"\u2219","\\bullet"),Ee(de,rt,jt,"\u2021","\\ddagger"),Ee(de,rt,jt,"\u2240","\\wr",!0),Ee(de,rt,jt,"\u2A3F","\\amalg"),Ee(de,rt,jt,"&","\\And"),Ee(de,rt,ot,"\u27F5","\\longleftarrow",!0),Ee(de,rt,ot,"\u21D0","\\Leftarrow",!0),Ee(de,rt,ot,"\u27F8","\\Longleftarrow",!0),Ee(de,rt,ot,"\u27F6","\\longrightarrow",!0),Ee(de,rt,ot,"\u21D2","\\Rightarrow",!0),Ee(de,rt,ot,"\u27F9","\\Longrightarrow",!0),Ee(de,rt,ot,"\u2194","\\leftrightarrow",!0),Ee(de,rt,ot,"\u27F7","\\longleftrightarrow",!0),Ee(de,rt,ot,"\u21D4","\\Leftrightarrow",!0),Ee(de,rt,ot,"\u27FA","\\Longleftrightarrow",!0),Ee(de,rt,ot,"\u21A6","\\mapsto",!0),Ee(de,rt,ot,"\u27FC","\\longmapsto",!0),Ee(de,rt,ot,"\u2197","\\nearrow",!0),Ee(de,rt,ot,"\u21A9","\\hookleftarrow",!0),Ee(de,rt,ot,"\u21AA","\\hookrightarrow",!0),Ee(de,rt,ot,"\u2198","\\searrow",!0),Ee(de,rt,ot,"\u21BC","\\leftharpoonup",!0),Ee(de,rt,ot,"\u21C0","\\rightharpoonup",!0),Ee(de,rt,ot,"\u2199","\\swarrow",!0),Ee(de,rt,ot,"\u21BD","\\leftharpoondown",!0),Ee(de,rt,ot,"\u21C1","\\rightharpoondown",!0),Ee(de,rt,ot,"\u2196","\\nwarrow",!0),Ee(de,rt,ot,"\u21CC","\\rightleftharpoons",!0),Ee(de,ve,ot,"\u226E","\\nless",!0),Ee(de,ve,ot,"\uE010","\\@nleqslant"),Ee(de,ve,ot,"\uE011","\\@nleqq"),Ee(de,ve,ot,"\u2A87","\\lneq",!0),Ee(de,ve,ot,"\u2268","\\lneqq",!0),Ee(de,ve,ot,"\uE00C","\\@lvertneqq"),Ee(de,ve,ot,"\u22E6","\\lnsim",!0),Ee(de,ve,ot,"\u2A89","\\lnapprox",!0),Ee(de,ve,ot,"\u2280","\\nprec",!0),Ee(de,ve,ot,"\u22E0","\\npreceq",!0),Ee(de,ve,ot,"\u22E8","\\precnsim",!0),Ee(de,ve,ot,"\u2AB9","\\precnapprox",!0),Ee(de,ve,ot,"\u2241","\\nsim",!0),Ee(de,ve,ot,"\uE006","\\@nshortmid"),Ee(de,ve,ot,"\u2224","\\nmid",!0),Ee(de,ve,ot,"\u22AC","\\nvdash",!0),Ee(de,ve,ot,"\u22AD","\\nvDash",!0),Ee(de,ve,ot,"\u22EA","\\ntriangleleft"),Ee(de,ve,ot,"\u22EC","\\ntrianglelefteq",!0),Ee(de,ve,ot,"\u228A","\\subsetneq",!0),Ee(de,ve,ot,"\uE01A","\\@varsubsetneq"),Ee(de,ve,ot,"\u2ACB","\\subsetneqq",!0),Ee(de,ve,ot,"\uE017","\\@varsubsetneqq"),Ee(de,ve,ot,"\u226F","\\ngtr",!0),Ee(de,ve,ot,"\uE00F","\\@ngeqslant"),Ee(de,ve,ot,"\uE00E","\\@ngeqq"),Ee(de,ve,ot,"\u2A88","\\gneq",!0),Ee(de,ve,ot,"\u2269","\\gneqq",!0),Ee(de,ve,ot,"\uE00D","\\@gvertneqq"),Ee(de,ve,ot,"\u22E7","\\gnsim",!0),Ee(de,ve,ot,"\u2A8A","\\gnapprox",!0),Ee(de,ve,ot,"\u2281","\\nsucc",!0),Ee(de,ve,ot,"\u22E1","\\nsucceq",!0),Ee(de,ve,ot,"\u22E9","\\succnsim",!0),Ee(de,ve,ot,"\u2ABA","\\succnapprox",!0),Ee(de,ve,ot,"\u2246","\\ncong",!0),Ee(de,ve,ot,"\uE007","\\@nshortparallel"),Ee(de,ve,ot,"\u2226","\\nparallel",!0),Ee(de,ve,ot,"\u22AF","\\nVDash",!0),Ee(de,ve,ot,"\u22EB","\\ntriangleright"),Ee(de,ve,ot,"\u22ED","\\ntrianglerighteq",!0),Ee(de,ve,ot,"\uE018","\\@nsupseteqq"),Ee(de,ve,ot,"\u228B","\\supsetneq",!0),Ee(de,ve,ot,"\uE01B","\\@varsupsetneq"),Ee(de,ve,ot,"\u2ACC","\\supsetneqq",!0),Ee(de,ve,ot,"\uE019","\\@varsupsetneqq"),Ee(de,ve,ot,"\u22AE","\\nVdash",!0),Ee(de,ve,ot,"\u2AB5","\\precneqq",!0),Ee(de,ve,ot,"\u2AB6","\\succneqq",!0),Ee(de,ve,ot,"\uE016","\\@nsubseteqq"),Ee(de,ve,jt,"\u22B4","\\unlhd"),Ee(de,ve,jt,"\u22B5","\\unrhd"),Ee(de,ve,ot,"\u219A","\\nleftarrow",!0),Ee(de,ve,ot,"\u219B","\\nrightarrow",!0),Ee(de,ve,ot,"\u21CD","\\nLeftarrow",!0),Ee(de,ve,ot,"\u21CF","\\nRightarrow",!0),Ee(de,ve,ot,"\u21AE","\\nleftrightarrow",!0),Ee(de,ve,ot,"\u21CE","\\nLeftrightarrow",!0),Ee(de,ve,ot,"\u25B3","\\vartriangle"),Ee(de,ve,Ze,"\u210F","\\hslash"),Ee(de,ve,Ze,"\u25BD","\\triangledown"),Ee(de,ve,Ze,"\u25CA","\\lozenge"),Ee(de,ve,Ze,"\u24C8","\\circledS"),Ee(de,ve,Ze,"\xAE","\\circledR"),Ee(qe,ve,Ze,"\xAE","\\circledR"),Ee(de,ve,Ze,"\u2221","\\measuredangle",!0),Ee(de,ve,Ze,"\u2204","\\nexists"),Ee(de,ve,Ze,"\u2127","\\mho"),Ee(de,ve,Ze,"\u2132","\\Finv",!0),Ee(de,ve,Ze,"\u2141","\\Game",!0),Ee(de,ve,Ze,"\u2035","\\backprime"),Ee(de,ve,Ze,"\u25B2","\\blacktriangle"),Ee(de,ve,Ze,"\u25BC","\\blacktriangledown"),Ee(de,ve,Ze,"\u25A0","\\blacksquare"),Ee(de,ve,Ze,"\u29EB","\\blacklozenge"),Ee(de,ve,Ze,"\u2605","\\bigstar"),Ee(de,ve,Ze,"\u2222","\\sphericalangle",!0),Ee(de,ve,Ze,"\u2201","\\complement",!0),Ee(de,ve,Ze,"\xF0","\\eth",!0),Ee(de,ve,Ze,"\u2571","\\diagup"),Ee(de,ve,Ze,"\u2572","\\diagdown"),Ee(de,ve,Ze,"\u25A1","\\square"),Ee(de,ve,Ze,"\u25A1","\\Box"),Ee(de,ve,Ze,"\u25CA","\\Diamond"),Ee(de,ve,Ze,"\xA5","\\yen",!0),Ee(qe,ve,Ze,"\xA5","\\yen",!0),Ee(de,ve,Ze,"\u2713","\\checkmark",!0),Ee(qe,ve,Ze,"\u2713","\\checkmark"),Ee(de,ve,Ze,"\u2136","\\beth",!0),Ee(de,ve,Ze,"\u2138","\\daleth",!0),Ee(de,ve,Ze,"\u2137","\\gimel",!0),Ee(de,ve,Ze,"\u03DD","\\digamma",!0),Ee(de,ve,Ze,"\u03F0","\\varkappa"),Ee(de,ve,Ht,"\u250C","\\ulcorner",!0),Ee(de,ve,He,"\u2510","\\urcorner",!0),Ee(de,ve,Ht,"\u2514","\\llcorner",!0),Ee(de,ve,He,"\u2518","\\lrcorner",!0),Ee(de,ve,ot,"\u2266","\\leqq",!0),Ee(de,ve,ot,"\u2A7D","\\leqslant",!0),Ee(de,ve,ot,"\u2A95","\\eqslantless",!0),Ee(de,ve,ot,"\u2272","\\lesssim",!0),Ee(de,ve,ot,"\u2A85","\\lessapprox",!0),Ee(de,ve,ot,"\u224A","\\approxeq",!0),Ee(de,ve,jt,"\u22D6","\\lessdot"),Ee(de,ve,ot,"\u22D8","\\lll",!0),Ee(de,ve,ot,"\u2276","\\lessgtr",!0),Ee(de,ve,ot,"\u22DA","\\lesseqgtr",!0),Ee(de,ve,ot,"\u2A8B","\\lesseqqgtr",!0),Ee(de,ve,ot,"\u2251","\\doteqdot"),Ee(de,ve,ot,"\u2253","\\risingdotseq",!0),Ee(de,ve,ot,"\u2252","\\fallingdotseq",!0),Ee(de,ve,ot,"\u223D","\\backsim",!0),Ee(de,ve,ot,"\u22CD","\\backsimeq",!0),Ee(de,ve,ot,"\u2AC5","\\subseteqq",!0),Ee(de,ve,ot,"\u22D0","\\Subset",!0),Ee(de,ve,ot,"\u228F","\\sqsubset",!0),Ee(de,ve,ot,"\u227C","\\preccurlyeq",!0),Ee(de,ve,ot,"\u22DE","\\curlyeqprec",!0),Ee(de,ve,ot,"\u227E","\\precsim",!0),Ee(de,ve,ot,"\u2AB7","\\precapprox",!0),Ee(de,ve,ot,"\u22B2","\\vartriangleleft"),Ee(de,ve,ot,"\u22B4","\\trianglelefteq"),Ee(de,ve,ot,"\u22A8","\\vDash",!0),Ee(de,ve,ot,"\u22AA","\\Vvdash",!0),Ee(de,ve,ot,"\u2323","\\smallsmile"),Ee(de,ve,ot,"\u2322","\\smallfrown"),Ee(de,ve,ot,"\u224F","\\bumpeq",!0),Ee(de,ve,ot,"\u224E","\\Bumpeq",!0),Ee(de,ve,ot,"\u2267","\\geqq",!0),Ee(de,ve,ot,"\u2A7E","\\geqslant",!0),Ee(de,ve,ot,"\u2A96","\\eqslantgtr",!0),Ee(de,ve,ot,"\u2273","\\gtrsim",!0),Ee(de,ve,ot,"\u2A86","\\gtrapprox",!0),Ee(de,ve,jt,"\u22D7","\\gtrdot"),Ee(de,ve,ot,"\u22D9","\\ggg",!0),Ee(de,ve,ot,"\u2277","\\gtrless",!0),Ee(de,ve,ot,"\u22DB","\\gtreqless",!0),Ee(de,ve,ot,"\u2A8C","\\gtreqqless",!0),Ee(de,ve,ot,"\u2256","\\eqcirc",!0),Ee(de,ve,ot,"\u2257","\\circeq",!0),Ee(de,ve,ot,"\u225C","\\triangleq",!0),Ee(de,ve,ot,"\u223C","\\thicksim"),Ee(de,ve,ot,"\u2248","\\thickapprox"),Ee(de,ve,ot,"\u2AC6","\\supseteqq",!0),Ee(de,ve,ot,"\u22D1","\\Supset",!0),Ee(de,ve,ot,"\u2290","\\sqsupset",!0),Ee(de,ve,ot,"\u227D","\\succcurlyeq",!0),Ee(de,ve,ot,"\u22DF","\\curlyeqsucc",!0),Ee(de,ve,ot,"\u227F","\\succsim",!0),Ee(de,ve,ot,"\u2AB8","\\succapprox",!0),Ee(de,ve,ot,"\u22B3","\\vartriangleright"),Ee(de,ve,ot,"\u22B5","\\trianglerighteq"),Ee(de,ve,ot,"\u22A9","\\Vdash",!0),Ee(de,ve,ot,"\u2223","\\shortmid"),Ee(de,ve,ot,"\u2225","\\shortparallel"),Ee(de,ve,ot,"\u226C","\\between",!0),Ee(de,ve,ot,"\u22D4","\\pitchfork",!0),Ee(de,ve,ot,"\u221D","\\varpropto"),Ee(de,ve,ot,"\u25C0","\\blacktriangleleft"),Ee(de,ve,ot,"\u2234","\\therefore",!0),Ee(de,ve,ot,"\u220D","\\backepsilon"),Ee(de,ve,ot,"\u25B6","\\blacktriangleright"),Ee(de,ve,ot,"\u2235","\\because",!0),Ee(de,ve,ot,"\u22D8","\\llless"),Ee(de,ve,ot,"\u22D9","\\gggtr"),Ee(de,ve,jt,"\u22B2","\\lhd"),Ee(de,ve,jt,"\u22B3","\\rhd"),Ee(de,ve,ot,"\u2242","\\eqsim",!0),Ee(de,rt,ot,"\u22C8","\\Join"),Ee(de,ve,ot,"\u2251","\\Doteq",!0),Ee(de,ve,jt,"\u2214","\\dotplus",!0),Ee(de,ve,jt,"\u2216","\\smallsetminus"),Ee(de,ve,jt,"\u22D2","\\Cap",!0),Ee(de,ve,jt,"\u22D3","\\Cup",!0),Ee(de,ve,jt,"\u2A5E","\\doublebarwedge",!0),Ee(de,ve,jt,"\u229F","\\boxminus",!0),Ee(de,ve,jt,"\u229E","\\boxplus",!0),Ee(de,ve,jt,"\u22C7","\\divideontimes",!0),Ee(de,ve,jt,"\u22C9","\\ltimes",!0),Ee(de,ve,jt,"\u22CA","\\rtimes",!0),Ee(de,ve,jt,"\u22CB","\\leftthreetimes",!0),Ee(de,ve,jt,"\u22CC","\\rightthreetimes",!0),Ee(de,ve,jt,"\u22CF","\\curlywedge",!0),Ee(de,ve,jt,"\u22CE","\\curlyvee",!0),Ee(de,ve,jt,"\u229D","\\circleddash",!0),Ee(de,ve,jt,"\u229B","\\circledast",!0),Ee(de,ve,jt,"\u22C5","\\centerdot"),Ee(de,ve,jt,"\u22BA","\\intercal",!0),Ee(de,ve,jt,"\u22D2","\\doublecap"),Ee(de,ve,jt,"\u22D3","\\doublecup"),Ee(de,ve,jt,"\u22A0","\\boxtimes",!0),Ee(de,ve,ot,"\u21E2","\\dashrightarrow",!0),Ee(de,ve,ot,"\u21E0","\\dashleftarrow",!0),Ee(de,ve,ot,"\u21C7","\\leftleftarrows",!0),Ee(de,ve,ot,"\u21C6","\\leftrightarrows",!0),Ee(de,ve,ot,"\u21DA","\\Lleftarrow",!0),Ee(de,ve,ot,"\u219E","\\twoheadleftarrow",!0),Ee(de,ve,ot,"\u21A2","\\leftarrowtail",!0),Ee(de,ve,ot,"\u21AB","\\looparrowleft",!0),Ee(de,ve,ot,"\u21CB","\\leftrightharpoons",!0),Ee(de,ve,ot,"\u21B6","\\curvearrowleft",!0),Ee(de,ve,ot,"\u21BA","\\circlearrowleft",!0),Ee(de,ve,ot,"\u21B0","\\Lsh",!0),Ee(de,ve,ot,"\u21C8","\\upuparrows",!0),Ee(de,ve,ot,"\u21BF","\\upharpoonleft",!0),Ee(de,ve,ot,"\u21C3","\\downharpoonleft",!0),Ee(de,ve,ot,"\u22B8","\\multimap",!0),Ee(de,ve,ot,"\u21AD","\\leftrightsquigarrow",!0),Ee(de,ve,ot,"\u21C9","\\rightrightarrows",!0),Ee(de,ve,ot,"\u21C4","\\rightleftarrows",!0),Ee(de,ve,ot,"\u21A0","\\twoheadrightarrow",!0),Ee(de,ve,ot,"\u21A3","\\rightarrowtail",!0),Ee(de,ve,ot,"\u21AC","\\looparrowright",!0),Ee(de,ve,ot,"\u21B7","\\curvearrowright",!0),Ee(de,ve,ot,"\u21BB","\\circlearrowright",!0),Ee(de,ve,ot,"\u21B1","\\Rsh",!0),Ee(de,ve,ot,"\u21CA","\\downdownarrows",!0),Ee(de,ve,ot,"\u21BE","\\upharpoonright",!0),Ee(de,ve,ot,"\u21C2","\\downharpoonright",!0),Ee(de,ve,ot,"\u21DD","\\rightsquigarrow",!0),Ee(de,ve,ot,"\u21DD","\\leadsto"),Ee(de,ve,ot,"\u21DB","\\Rrightarrow",!0),Ee(de,ve,ot,"\u21BE","\\restriction"),Ee(de,rt,Ze,"\u2018","`"),Ee(de,rt,Ze,"$","\\$"),Ee(qe,rt,Ze,"$","\\$"),Ee(qe,rt,Ze,"$","\\textdollar"),Ee(de,rt,Ze,"%","\\%"),Ee(qe,rt,Ze,"%","\\%"),Ee(de,rt,Ze,"_","\\_"),Ee(qe,rt,Ze,"_","\\_"),Ee(qe,rt,Ze,"_","\\textunderscore"),Ee(de,rt,Ze,"\u2220","\\angle",!0),Ee(de,rt,Ze,"\u221E","\\infty",!0),Ee(de,rt,Ze,"\u2032","\\prime"),Ee(de,rt,Ze,"\u25B3","\\triangle"),Ee(de,rt,Ze,"\u0393","\\Gamma",!0),Ee(de,rt,Ze,"\u0394","\\Delta",!0),Ee(de,rt,Ze,"\u0398","\\Theta",!0),Ee(de,rt,Ze,"\u039B","\\Lambda",!0),Ee(de,rt,Ze,"\u039E","\\Xi",!0),Ee(de,rt,Ze,"\u03A0","\\Pi",!0),Ee(de,rt,Ze,"\u03A3","\\Sigma",!0),Ee(de,rt,Ze,"\u03A5","\\Upsilon",!0),Ee(de,rt,Ze,"\u03A6","\\Phi",!0),Ee(de,rt,Ze,"\u03A8","\\Psi",!0),Ee(de,rt,Ze,"\u03A9","\\Omega",!0),Ee(de,rt,Ze,"A","\u0391"),Ee(de,rt,Ze,"B","\u0392"),Ee(de,rt,Ze,"E","\u0395"),Ee(de,rt,Ze,"Z","\u0396"),Ee(de,rt,Ze,"H","\u0397"),Ee(de,rt,Ze,"I","\u0399"),Ee(de,rt,Ze,"K","\u039A"),Ee(de,rt,Ze,"M","\u039C"),Ee(de,rt,Ze,"N","\u039D"),Ee(de,rt,Ze,"O","\u039F"),Ee(de,rt,Ze,"P","\u03A1"),Ee(de,rt,Ze,"T","\u03A4"),Ee(de,rt,Ze,"X","\u03A7"),Ee(de,rt,Ze,"\xAC","\\neg",!0),Ee(de,rt,Ze,"\xAC","\\lnot"),Ee(de,rt,Ze,"\u22A4","\\top"),Ee(de,rt,Ze,"\u22A5","\\bot"),Ee(de,rt,Ze,"\u2205","\\emptyset"),Ee(de,ve,Ze,"\u2205","\\varnothing"),Ee(de,rt,Ar,"\u03B1","\\alpha",!0),Ee(de,rt,Ar,"\u03B2","\\beta",!0),Ee(de,rt,Ar,"\u03B3","\\gamma",!0),Ee(de,rt,Ar,"\u03B4","\\delta",!0),Ee(de,rt,Ar,"\u03F5","\\epsilon",!0),Ee(de,rt,Ar,"\u03B6","\\zeta",!0),Ee(de,rt,Ar,"\u03B7","\\eta",!0),Ee(de,rt,Ar,"\u03B8","\\theta",!0),Ee(de,rt,Ar,"\u03B9","\\iota",!0),Ee(de,rt,Ar,"\u03BA","\\kappa",!0),Ee(de,rt,Ar,"\u03BB","\\lambda",!0),Ee(de,rt,Ar,"\u03BC","\\mu",!0),Ee(de,rt,Ar,"\u03BD","\\nu",!0),Ee(de,rt,Ar,"\u03BE","\\xi",!0),Ee(de,rt,Ar,"\u03BF","\\omicron",!0),Ee(de,rt,Ar,"\u03C0","\\pi",!0),Ee(de,rt,Ar,"\u03C1","\\rho",!0),Ee(de,rt,Ar,"\u03C3","\\sigma",!0),Ee(de,rt,Ar,"\u03C4","\\tau",!0),Ee(de,rt,Ar,"\u03C5","\\upsilon",!0),Ee(de,rt,Ar,"\u03D5","\\phi",!0),Ee(de,rt,Ar,"\u03C7","\\chi",!0),Ee(de,rt,Ar,"\u03C8","\\psi",!0),Ee(de,rt,Ar,"\u03C9","\\omega",!0),Ee(de,rt,Ar,"\u03B5","\\varepsilon",!0),Ee(de,rt,Ar,"\u03D1","\\vartheta",!0),Ee(de,rt,Ar,"\u03D6","\\varpi",!0),Ee(de,rt,Ar,"\u03F1","\\varrho",!0),Ee(de,rt,Ar,"\u03C2","\\varsigma",!0),Ee(de,rt,Ar,"\u03C6","\\varphi",!0),Ee(de,rt,jt,"\u2217","*"),Ee(de,rt,jt,"+","+"),Ee(de,rt,jt,"\u2212","-"),Ee(de,rt,jt,"\u22C5","\\cdot",!0),Ee(de,rt,jt,"\u2218","\\circ"),Ee(de,rt,jt,"\xF7","\\div",!0),Ee(de,rt,jt,"\xB1","\\pm",!0),Ee(de,rt,jt,"\xD7","\\times",!0),Ee(de,rt,jt,"\u2229","\\cap",!0),Ee(de,rt,jt,"\u222A","\\cup",!0),Ee(de,rt,jt,"\u2216","\\setminus"),Ee(de,rt,jt,"\u2227","\\land"),Ee(de,rt,jt,"\u2228","\\lor"),Ee(de,rt,jt,"\u2227","\\wedge",!0),Ee(de,rt,jt,"\u2228","\\vee",!0),Ee(de,rt,Ze,"\u221A","\\surd"),Ee(de,rt,Ht,"(","("),Ee(de,rt,Ht,"[","["),Ee(de,rt,Ht,"\u27E8","\\langle",!0),Ee(de,rt,Ht,"\u2223","\\lvert"),Ee(de,rt,Ht,"\u2225","\\lVert"),Ee(de,rt,He,")",")"),Ee(de,rt,He,"]","]"),Ee(de,rt,He,"?","?"),Ee(de,rt,He,"!","!"),Ee(de,rt,He,"\u27E9","\\rangle",!0),Ee(de,rt,He,"\u2223","\\rvert"),Ee(de,rt,He,"\u2225","\\rVert"),Ee(de,rt,ot,"=","="),Ee(de,rt,ot,"<","<"),Ee(de,rt,ot,">",">"),Ee(de,rt,ot,":",":"),Ee(de,rt,ot,"\u2248","\\approx",!0),Ee(de,rt,ot,"\u2245","\\cong",!0),Ee(de,rt,ot,"\u2265","\\ge"),Ee(de,rt,ot,"\u2265","\\geq",!0),Ee(de,rt,ot,"\u2190","\\gets"),Ee(de,rt,ot,">","\\gt"),Ee(de,rt,ot,"\u2208","\\in",!0),Ee(de,rt,ot,"\uE020","\\@not"),Ee(de,rt,ot,"\u2282","\\subset",!0),Ee(de,rt,ot,"\u2283","\\supset",!0),Ee(de,rt,ot,"\u2286","\\subseteq",!0),Ee(de,rt,ot,"\u2287","\\supseteq",!0),Ee(de,ve,ot,"\u2288","\\nsubseteq",!0),Ee(de,ve,ot,"\u2289","\\nsupseteq",!0),Ee(de,rt,ot,"\u22A8","\\models"),Ee(de,rt,ot,"\u2190","\\leftarrow",!0),Ee(de,rt,ot,"\u2264","\\le"),Ee(de,rt,ot,"\u2264","\\leq",!0),Ee(de,rt,ot,"<","\\lt"),Ee(de,rt,ot,"\u2192","\\rightarrow",!0),Ee(de,rt,ot,"\u2192","\\to"),Ee(de,ve,ot,"\u2271","\\ngeq",!0),Ee(de,ve,ot,"\u2270","\\nleq",!0),Ee(de,rt,et,"\xA0","\\ "),Ee(de,rt,et,"\xA0","~"),Ee(de,rt,et,"\xA0","\\space"),Ee(de,rt,et,"\xA0","\\nobreakspace"),Ee(qe,rt,et,"\xA0","\\ "),Ee(qe,rt,et,"\xA0","~"),Ee(qe,rt,et,"\xA0","\\space"),Ee(qe,rt,et,"\xA0","\\nobreakspace"),Ee(de,rt,et,null,"\\nobreak"),Ee(de,rt,et,null,"\\allowbreak"),Ee(de,rt,Wt,",",","),Ee(de,rt,Wt,";",";"),Ee(de,ve,jt,"\u22BC","\\barwedge",!0),Ee(de,ve,jt,"\u22BB","\\veebar",!0),Ee(de,rt,jt,"\u2299","\\odot",!0),Ee(de,rt,jt,"\u2295","\\oplus",!0),Ee(de,rt,jt,"\u2297","\\otimes",!0),Ee(de,rt,Ze,"\u2202","\\partial",!0),Ee(de,rt,jt,"\u2298","\\oslash",!0),Ee(de,ve,jt,"\u229A","\\circledcirc",!0),Ee(de,ve,jt,"\u22A1","\\boxdot",!0),Ee(de,rt,jt,"\u25B3","\\bigtriangleup"),Ee(de,rt,jt,"\u25BD","\\bigtriangledown"),Ee(de,rt,jt,"\u2020","\\dagger"),Ee(de,rt,jt,"\u22C4","\\diamond"),Ee(de,rt,jt,"\u22C6","\\star"),Ee(de,rt,jt,"\u25C3","\\triangleleft"),Ee(de,rt,jt,"\u25B9","\\triangleright"),Ee(de,rt,Ht,"{","\\{"),Ee(qe,rt,Ze,"{","\\{"),Ee(qe,rt,Ze,"{","\\textbraceleft"),Ee(de,rt,He,"}","\\}"),Ee(qe,rt,Ze,"}","\\}"),Ee(qe,rt,Ze,"}","\\textbraceright"),Ee(de,rt,Ht,"{","\\lbrace"),Ee(de,rt,He,"}","\\rbrace"),Ee(de,rt,Ht,"[","\\lbrack"),Ee(qe,rt,Ze,"[","\\lbrack"),Ee(de,rt,He,"]","\\rbrack"),Ee(qe,rt,Ze,"]","\\rbrack"),Ee(de,rt,Ht,"(","\\lparen"),Ee(de,rt,He,")","\\rparen"),Ee(qe,rt,Ze,"<","\\textless"),Ee(qe,rt,Ze,">","\\textgreater"),Ee(de,rt,Ht,"\u230A","\\lfloor",!0),Ee(de,rt,He,"\u230B","\\rfloor",!0),Ee(de,rt,Ht,"\u2308","\\lceil",!0),Ee(de,rt,He,"\u2309","\\rceil",!0),Ee(de,rt,Ze,"\\","\\backslash"),Ee(de,rt,Ze,"\u2223","|"),Ee(de,rt,Ze,"\u2223","\\vert"),Ee(qe,rt,Ze,"|","\\textbar"),Ee(de,rt,Ze,"\u2225","\\|"),Ee(de,rt,Ze,"\u2225","\\Vert"),Ee(qe,rt,Ze,"\u2225","\\textbardbl"),Ee(qe,rt,Ze,"~","\\textasciitilde"),Ee(qe,rt,Ze,"\\","\\textbackslash"),Ee(qe,rt,Ze,"^","\\textasciicircum"),Ee(de,rt,ot,"\u2191","\\uparrow",!0),Ee(de,rt,ot,"\u21D1","\\Uparrow",!0),Ee(de,rt,ot,"\u2193","\\downarrow",!0),Ee(de,rt,ot,"\u21D3","\\Downarrow",!0),Ee(de,rt,ot,"\u2195","\\updownarrow",!0),Ee(de,rt,ot,"\u21D5","\\Updownarrow",!0),Ee(de,rt,at,"\u2210","\\coprod"),Ee(de,rt,at,"\u22C1","\\bigvee"),Ee(de,rt,at,"\u22C0","\\bigwedge"),Ee(de,rt,at,"\u2A04","\\biguplus"),Ee(de,rt,at,"\u22C2","\\bigcap"),Ee(de,rt,at,"\u22C3","\\bigcup"),Ee(de,rt,at,"\u222B","\\int"),Ee(de,rt,at,"\u222B","\\intop"),Ee(de,rt,at,"\u222C","\\iint"),Ee(de,rt,at,"\u222D","\\iiint"),Ee(de,rt,at,"\u220F","\\prod"),Ee(de,rt,at,"\u2211","\\sum"),Ee(de,rt,at,"\u2A02","\\bigotimes"),Ee(de,rt,at,"\u2A01","\\bigoplus"),Ee(de,rt,at,"\u2A00","\\bigodot"),Ee(de,rt,at,"\u222E","\\oint"),Ee(de,rt,at,"\u222F","\\oiint"),Ee(de,rt,at,"\u2230","\\oiiint"),Ee(de,rt,at,"\u2A06","\\bigsqcup"),Ee(de,rt,at,"\u222B","\\smallint"),Ee(qe,rt,kt,"\u2026","\\textellipsis"),Ee(de,rt,kt,"\u2026","\\mathellipsis"),Ee(qe,rt,kt,"\u2026","\\ldots",!0),Ee(de,rt,kt,"\u2026","\\ldots",!0),Ee(de,rt,kt,"\u22EF","\\@cdots",!0),Ee(de,rt,kt,"\u22F1","\\ddots",!0),Ee(de,rt,Ze,"\u22EE","\\varvdots"),Ee(de,rt,bt,"\u02CA","\\acute"),Ee(de,rt,bt,"\u02CB","\\grave"),Ee(de,rt,bt,"\xA8","\\ddot"),Ee(de,rt,bt,"~","\\tilde"),Ee(de,rt,bt,"\u02C9","\\bar"),Ee(de,rt,bt,"\u02D8","\\breve"),Ee(de,rt,bt,"\u02C7","\\check"),Ee(de,rt,bt,"^","\\hat"),Ee(de,rt,bt,"\u20D7","\\vec"),Ee(de,rt,bt,"\u02D9","\\dot"),Ee(de,rt,bt,"\u02DA","\\mathring"),Ee(de,rt,Ar,"\u0131","\\imath",!0),Ee(de,rt,Ar,"\u0237","\\jmath",!0),Ee(qe,rt,Ze,"\u0131","\\i",!0),Ee(qe,rt,Ze,"\u0237","\\j",!0),Ee(qe,rt,Ze,"\xDF","\\ss",!0),Ee(qe,rt,Ze,"\xE6","\\ae",!0),Ee(qe,rt,Ze,"\xE6","\\ae",!0),Ee(qe,rt,Ze,"\u0153","\\oe",!0),Ee(qe,rt,Ze,"\xF8","\\o",!0),Ee(qe,rt,Ze,"\xC6","\\AE",!0),Ee(qe,rt,Ze,"\u0152","\\OE",!0),Ee(qe,rt,Ze,"\xD8","\\O",!0),Ee(qe,rt,bt,"\u02CA","\\'"),Ee(qe,rt,bt,"\u02CB","\\`"),Ee(qe,rt,bt,"\u02C6","\\^"),Ee(qe,rt,bt,"\u02DC","\\~"),Ee(qe,rt,bt,"\u02C9","\\="),Ee(qe,rt,bt,"\u02D8","\\u"),Ee(qe,rt,bt,"\u02D9","\\."),Ee(qe,rt,bt,"\u02DA","\\r"),Ee(qe,rt,bt,"\u02C7","\\v"),Ee(qe,rt,bt,"\xA8",'\\"'),Ee(qe,rt,bt,"\u02DD","\\H"),Ee(qe,rt,bt,"\u25EF","\\textcircled");var Gt={"--":!0,"---":!0,"``":!0,"''":!0};Ee(qe,rt,Ze,"\u2013","--"),Ee(qe,rt,Ze,"\u2013","\\textendash"),Ee(qe,rt,Ze,"\u2014","---"),Ee(qe,rt,Ze,"\u2014","\\textemdash"),Ee(qe,rt,Ze,"\u2018","`"),Ee(qe,rt,Ze,"\u2018","\\textquoteleft"),Ee(qe,rt,Ze,"\u2019","'"),Ee(qe,rt,Ze,"\u2019","\\textquoteright"),Ee(qe,rt,Ze,"\u201C","``"),Ee(qe,rt,Ze,"\u201C","\\textquotedblleft"),Ee(qe,rt,Ze,"\u201D","''"),Ee(qe,rt,Ze,"\u201D","\\textquotedblright"),Ee(de,rt,Ze,"\xB0","\\degree",!0),Ee(qe,rt,Ze,"\xB0","\\degree"),Ee(qe,rt,Ze,"\xB0","\\textdegree",!0),Ee(de,rt,Ar,"\xA3","\\pounds"),Ee(de,rt,Ar,"\xA3","\\mathsterling",!0),Ee(qe,rt,Ar,"\xA3","\\pounds"),Ee(qe,rt,Ar,"\xA3","\\textsterling",!0),Ee(de,ve,Ze,"\u2720","\\maltese"),Ee(qe,ve,Ze,"\u2720","\\maltese"),Ee(qe,rt,et,"\xA0","\\ "),Ee(qe,rt,et,"\xA0"," "),Ee(qe,rt,et,"\xA0","~");for(var yr='0123456789/@."',br=0;brCe&&(Ce=Yt.height),Yt.depth>Ie&&(Ie=Yt.depth),Yt.maxFontSize>Ye&&(Ye=Yt.maxFontSize)}he.height=Ce,he.depth=Ie,he.maxFontSize=Ye},Xe=function(he,Ce,Ie,Ye){var _t=new Y(he,Ce,Ie,Ye);return Me(_t),_t},Qe=function(he,Ce,Ie,Ye){return new Y(he,Ce,Ie,Ye)},st=function(he,Ce,Ie){var Ye=Xe([he],[],Ce);return Ye.height=Math.max(Ie||Ce.fontMetrics().defaultRuleThickness,Ce.minRuleThickness),Ye.style.borderBottomWidth=Ye.height+"em",Ye.maxFontSize=1,Ye},nt=function(he,Ce,Ie,Ye){var _t=new te(he,Ce,Ie,Ye);return Me(_t),_t},ft=function(he){var Ce=new ee(he);return Me(Ce),Ce},Bt=function(he,Ce){return he instanceof ee?Xe([],[he],Ce):he},Et=function(he){if(he.positionType==="individualShift"){for(var Ce=he.children,Ie=[Ce[0]],Ye=-Ce[0].shift-Ce[0].elem.depth,_t=Ye,Yt=1;Yt0&&(Ye.push(qi(_t,he)),_t=[]),Ye.push(Ie[Yt]));_t.length>0&&Ye.push(qi(_t,he));var Yr;Ce&&(Yr=qi(Un(Ce,he,!0)),Yr.classes=["tag"],Ye.push(Yr));var yn=na(["katex-html"],Ye);if(yn.setAttribute("aria-hidden","true"),Yr){var Jn=Yr.children[0];Jn.style.height=yn.height+yn.depth+"em",Jn.style.verticalAlign=-yn.depth+"em"}return yn}function ya(Lt){return new ee(Lt)}var co=function(){function Lt(Ce,Ie){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=Ce,this.attributes={},this.children=Ie||[]}var he=Lt.prototype;return he.setAttribute=function(Ie,Ye){this.attributes[Ie]=Ye},he.getAttribute=function(Ie){return this.attributes[Ie]},he.toNode=function(){var Ie=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var Ye in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ye)&&Ie.setAttribute(Ye,this.attributes[Ye]);for(var _t=0;_t",Ie},he.toText=function(){return this.children.map(function(Ie){return Ie.toText()}).join("")},Lt}(),io=function(){function Lt(Ce){this.text=void 0,this.text=Ce}var he=Lt.prototype;return he.toNode=function(){return document.createTextNode(this.text)},he.toMarkup=function(){return v.escape(this.toText())},he.toText=function(){return this.text},Lt}(),rs=function(){function Lt(Ce){this.width=void 0,this.character=void 0,this.width=Ce,Ce>=.05555&&Ce<=.05556?this.character="\u200A":Ce>=.1666&&Ce<=.1667?this.character="\u2009":Ce>=.2222&&Ce<=.2223?this.character="\u2005":Ce>=.2777&&Ce<=.2778?this.character="\u2005\u200A":Ce>=-.05556&&Ce<=-.05555?this.character="\u200A\u2063":Ce>=-.1667&&Ce<=-.1666?this.character="\u2009\u2063":Ce>=-.2223&&Ce<=-.2222?this.character="\u205F\u2063":Ce>=-.2778&&Ce<=-.2777?this.character="\u2005\u2063":this.character=null}var he=Lt.prototype;return he.toNode=function(){if(this.character)return document.createTextNode(this.character);var Ie=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Ie.setAttribute("width",this.width+"em"),Ie},he.toMarkup=function(){return this.character?""+this.character+"":''},he.toText=function(){return this.character?this.character:" "},Lt}(),Pi={MathNode:co,TextNode:io,SpaceNode:rs,newDocumentFragment:ya},dn=function(he,Ce,Ie){return ht[Ce][he]&&ht[Ce][he].replace&&he.charCodeAt(0)!==55349&&!(Gt.hasOwnProperty(he)&&Ie&&(Ie.fontFamily&&Ie.fontFamily.substr(4,2)==="tt"||Ie.font&&Ie.font.substr(4,2)==="tt"))&&(he=ht[Ce][he].replace),new Pi.TextNode(he)},ha=function(he){return he.length===1?he[0]:new Pi.MathNode("mrow",he)},ba=function(he,Ce){if(Ce.fontFamily==="texttt")return"monospace";if(Ce.fontFamily==="textsf")return Ce.fontShape==="textit"&&Ce.fontWeight==="textbf"?"sans-serif-bold-italic":Ce.fontShape==="textit"?"sans-serif-italic":Ce.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(Ce.fontShape==="textit"&&Ce.fontWeight==="textbf")return"bold-italic";if(Ce.fontShape==="textit")return"italic";if(Ce.fontWeight==="textbf")return"bold";var Ie=Ce.font;if(!Ie||Ie==="mathnormal")return null;var Ye=he.mode;if(Ie==="mathit")return"italic";if(Ie==="boldsymbol")return"bold-italic";if(Ie==="mathbf")return"bold";if(Ie==="mathbb")return"double-struck";if(Ie==="mathfrak")return"fraktur";if(Ie==="mathscr"||Ie==="mathcal")return"script";if(Ie==="mathsf")return"sans-serif";if(Ie==="mathtt")return"monospace";var _t=he.text;if(v.contains(["\\imath","\\jmath"],_t))return null;ht[Ye][_t]&&ht[Ye][_t].replace&&(_t=ht[Ye][_t].replace);var Yt=Er.fontMap[Ie].fontName;return ut(_t,Yt,Ye)?Er.fontMap[Ie].variant:null},ta=function(he,Ce,Ie){if(he.length===1){var Ye=lr(he[0],Ce);return Ie&&Ye instanceof co&&Ye.type==="mo"&&(Ye.setAttribute("lspace","0em"),Ye.setAttribute("rspace","0em")),[Ye]}for(var _t=[],Yt,Pr=0;Pr0&&(Wa.text=Wa.text.slice(0,1)+"\u0338"+Wa.text.slice(1),_t.pop())}}}_t.push(Yr),Yt=Yr}return _t},so=function(he,Ce,Ie){return ha(ta(he,Ce,Ie))},lr=function(he,Ce){if(!he)return new Pi.MathNode("mrow");if($n[he.type]){var Ie=$n[he.type](he,Ce);return Ie}else throw new d("Got group of unknown type: '"+he.type+"'")};function pn(Lt,he,Ce,Ie){var Ye=ta(Lt,Ce),_t;Ye.length===1&&Ye[0]instanceof co&&v.contains(["mrow","mtable"],Ye[0].type)?_t=Ye[0]:_t=new Pi.MathNode("mrow",Ye);var Yt=new Pi.MathNode("annotation",[new Pi.TextNode(he)]);Yt.setAttribute("encoding","application/x-tex");var Pr=new Pi.MathNode("semantics",[_t,Yt]),Yr=new Pi.MathNode("math",[Pr]);Yr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var yn=Ie?"katex":"katex-mathml";return Er.makeSpan([yn],[Yr])}var _n=function(he){return new rr({style:he.displayMode?W.DISPLAY:W.TEXT,maxSize:he.maxSize,minRuleThickness:he.minRuleThickness})},Pn=function(he,Ce){if(Ce.displayMode){var Ie=["katex-display"];Ce.leqno&&Ie.push("leqno"),Ce.fleqn&&Ie.push("fleqn"),he=Er.makeSpan(Ie,[he])}return he},ct=function(he,Ce,Ie){var Ye=_n(Ie),_t;if(Ie.output==="mathml")return pn(he,Ce,Ye,!0);if(Ie.output==="html"){var Yt=ea(he,Ye);_t=Er.makeSpan(["katex"],[Yt])}else{var Pr=pn(he,Ce,Ye,!1),Yr=ea(he,Ye);_t=Er.makeSpan(["katex"],[Pr,Yr])}return Pn(_t,Ie)},Vt=function(he,Ce,Ie){var Ye=_n(Ie),_t=ea(he,Ye),Yt=Er.makeSpan(["katex"],[_t]);return Pn(Yt,Ie)},Cr=ct,xr={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},Gr=function(he){var Ce=new Pi.MathNode("mo",[new Pi.TextNode(xr[he.substr(1)])]);return Ce.setAttribute("stretchy","true"),Ce},$r={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},hn=function(he){return he.type==="ordgroup"?he.body.length:1},On=function(he,Ce){function Ie(){var Yr=4e5,yn=he.label.substr(1);if(v.contains(["widehat","widecheck","widetilde","utilde"],yn)){var Jn=he,Ci=hn(Jn.base),Xi,ga,Wa;if(Ci>5)yn==="widehat"||yn==="widecheck"?(Xi=420,Yr=2364,Wa=.42,ga=yn+"4"):(Xi=312,Yr=2340,Wa=.34,ga="tilde4");else{var go=[1,1,2,2,3,3][Ci];yn==="widehat"||yn==="widecheck"?(Yr=[0,1062,2364,2364,2364][go],Xi=[0,239,300,360,420][go],Wa=[0,.24,.3,.3,.36,.42][go],ga=yn+go):(Yr=[0,600,1033,2339,2340][go],Xi=[0,260,286,306,312][go],Wa=[0,.26,.286,.3,.306,.34][go],ga="tilde"+go)}var No=new me(ga),As=new Ne([No],{width:"100%",height:Wa+"em",viewBox:"0 0 "+Yr+" "+Xi,preserveAspectRatio:"none"});return{span:Er.makeSvgSpan([],[As],Ce),minWidth:0,height:Wa}}else{var ss=[],ps=$r[yn],nl=ps[0],Ks=ps[1],dl=ps[2],ls=dl/1e3,Ys=nl.length,Rl,kl;if(Ys===1){var el=ps[3];Rl=["hide-tail"],kl=[el]}else if(Ys===2)Rl=["halfarrow-left","halfarrow-right"],kl=["xMinYMin","xMaxYMin"];else if(Ys===3)Rl=["brace-left","brace-center","brace-right"],kl=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+Ys+" children.");for(var Cl=0;Cl0&&(_t.style.minWidth=Yt+"em"),_t},Qn=function(he,Ce,Ie,Ye){var _t,Yt=he.height+he.depth+2*Ie;if(/fbox|color/.test(Ce)){if(_t=Er.makeSpan(["stretchy",Ce],[],Ye),Ce==="fbox"){var Pr=Ye.color&&Ye.getColor();Pr&&(_t.style.borderColor=Pr)}}else{var Yr=[];/^[bx]cancel$/.test(Ce)&&Yr.push(new be({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(Ce)&&Yr.push(new be({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var yn=new Ne(Yr,{width:"100%",height:Yt+"em"});_t=Er.makeSvgSpan([],[yn],Ye)}return _t.height=Yt,_t.style.height=Yt+"em",_t},qn={encloseSpan:Qn,mathMLnode:Gr,svgSpan:On},si=function(he,Ce){var Ie,Ye,_t=rn(he,"supsub"),Yt;_t?(Ye=gn(_t.base,"accent"),Ie=Ye.base,_t.base=Ie,Yt=it(Zi(_t,Ce)),_t.base=Ye):(Ye=gn(he,"accent"),Ie=Ye.base);var Pr=Zi(Ie,Ce.havingCrampedStyle()),Yr=Ye.isShifty&&v.isCharacterBox(Ie),yn=0;if(Yr){var Jn=v.getBaseElem(Ie),Ci=Zi(Jn,Ce.havingCrampedStyle());yn=Re(Ci).skew}var Xi=Math.min(Pr.height,Ce.fontMetrics().xHeight),ga;if(Ye.isStretchy)ga=qn.svgSpan(Ye,Ce),ga=Er.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pr},{type:"elem",elem:ga,wrapperClasses:["svg-align"],wrapperStyle:yn>0?{width:"calc(100% - "+2*yn+"em)",marginLeft:2*yn+"em"}:void 0}]},Ce);else{var Wa,go;Ye.label==="\\vec"?(Wa=Er.staticSvg("vec",Ce),go=Er.svgData.vec[1]):(Wa=Er.makeOrd({mode:Ye.mode,text:Ye.label},Ce,"textord"),Wa=Re(Wa),Wa.italic=0,go=Wa.width),ga=Er.makeSpan(["accent-body"],[Wa]);var No=Ye.label==="\\textcircled";No&&(ga.classes.push("accent-full"),Xi=Pr.height);var As=yn;No||(As-=go/2),ga.style.left=As+"em",Ye.label==="\\textcircled"&&(ga.style.top=".2em"),ga=Er.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pr},{type:"kern",size:-Xi},{type:"elem",elem:ga}]},Ce)}var ss=Er.makeSpan(["mord","accent"],[ga],Ce);return Yt?(Yt.children[0]=ss,Yt.height=Math.max(ss.height,Yt.height),Yt.classes[0]="mord",Yt):ss},oi=function(he,Ce){var Ie=he.isStretchy?qn.mathMLnode(he.label):new Pi.MathNode("mo",[dn(he.label,he.mode)]),Ye=new Pi.MathNode("mover",[lr(he.base,Ce),Ie]);return Ye.setAttribute("accent","true"),Ye},Kn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Lt){return"\\"+Lt}).join("|"));Cn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(he,Ce){var Ie=Ce[0],Ye=!Kn.test(he.funcName),_t=!Ye||he.funcName==="\\widehat"||he.funcName==="\\widetilde"||he.funcName==="\\widecheck";return{type:"accent",mode:he.parser.mode,label:he.funcName,isStretchy:Ye,isShifty:_t,base:Ie}},htmlBuilder:si,mathmlBuilder:oi}),Cn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(he,Ce){var Ie=Ce[0];return{type:"accent",mode:he.parser.mode,label:he.funcName,isStretchy:!1,isShifty:!0,base:Ie}},htmlBuilder:si,mathmlBuilder:oi}),Cn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=Ce[0];return{type:"accentUnder",mode:Ie.mode,label:Ye,base:_t}},htmlBuilder:function(he,Ce){var Ie=Zi(he.base,Ce),Ye=qn.svgSpan(he,Ce),_t=he.label==="\\utilde"?.12:0,Yt=Er.makeVList({positionType:"bottom",positionData:Ye.height+_t,children:[{type:"elem",elem:Ye,wrapperClasses:["svg-align"]},{type:"kern",size:_t},{type:"elem",elem:Ie}]},Ce);return Er.makeSpan(["mord","accentunder"],[Yt],Ce)},mathmlBuilder:function(he,Ce){var Ie=qn.mathMLnode(he.label),Ye=new Pi.MathNode("munder",[lr(he.base,Ce),Ie]);return Ye.setAttribute("accentunder","true"),Ye}});var Zn=function(he){var Ce=new Pi.MathNode("mpadded",he?[he]:[]);return Ce.setAttribute("width","+0.6em"),Ce.setAttribute("lspace","0.3em"),Ce};Cn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(he,Ce,Ie){var Ye=he.parser,_t=he.funcName;return{type:"xArrow",mode:Ye.mode,label:_t,body:Ce[0],below:Ie[0]}},htmlBuilder:function(he,Ce){var Ie=Ce.style,Ye=Ce.havingStyle(Ie.sup()),_t=Er.wrapFragment(Zi(he.body,Ye,Ce),Ce);_t.classes.push("x-arrow-pad");var Yt;he.below&&(Ye=Ce.havingStyle(Ie.sub()),Yt=Er.wrapFragment(Zi(he.below,Ye,Ce),Ce),Yt.classes.push("x-arrow-pad"));var Pr=qn.svgSpan(he,Ce),Yr=-Ce.fontMetrics().axisHeight+.5*Pr.height,yn=-Ce.fontMetrics().axisHeight-.5*Pr.height-.111;(_t.depth>.25||he.label==="\\xleftequilibrium")&&(yn-=_t.depth);var Jn;if(Yt){var Ci=-Ce.fontMetrics().axisHeight+Yt.height+.5*Pr.height+.111;Jn=Er.makeVList({positionType:"individualShift",children:[{type:"elem",elem:_t,shift:yn},{type:"elem",elem:Pr,shift:Yr},{type:"elem",elem:Yt,shift:Ci}]},Ce)}else Jn=Er.makeVList({positionType:"individualShift",children:[{type:"elem",elem:_t,shift:yn},{type:"elem",elem:Pr,shift:Yr}]},Ce);return Jn.children[0].children[0].children[1].classes.push("svg-align"),Er.makeSpan(["mrel","x-arrow"],[Jn],Ce)},mathmlBuilder:function(he,Ce){var Ie=qn.mathMLnode(he.label),Ye;if(he.body){var _t=Zn(lr(he.body,Ce));if(he.below){var Yt=Zn(lr(he.below,Ce));Ye=new Pi.MathNode("munderover",[Ie,Yt,_t])}else Ye=new Pi.MathNode("mover",[Ie,_t])}else if(he.below){var Pr=Zn(lr(he.below,Ce));Ye=new Pi.MathNode("munder",[Ie,Pr])}else Ye=Zn(),Ye=new Pi.MathNode("mover",[Ie,Ye]);return Ye}}),Cn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(he,Ce){for(var Ie=he.parser,Ye=gn(Ce[0],"ordgroup"),_t=Ye.body,Yt="",Pr=0;Pr<_t.length;Pr++){var Yr=gn(_t[Pr],"textord");Yt+=Yr.text}var yn=parseInt(Yt);if(isNaN(yn))throw new d("\\@char has non-numeric argument "+Yt);return{type:"textord",mode:Ie.mode,text:String.fromCharCode(yn)}}});var ni=function(he,Ce){var Ie=Un(he.body,Ce.withColor(he.color),!1);return Er.makeFragment(Ie)},wi=function(he,Ce){var Ie=ta(he.body,Ce.withColor(he.color)),Ye=new Pi.MathNode("mstyle",Ie);return Ye.setAttribute("mathcolor",he.color),Ye};Cn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(he,Ce){var Ie=he.parser,Ye=gn(Ce[0],"color-token").color,_t=Ce[1];return{type:"color",mode:Ie.mode,color:Ye,body:In(_t)}},htmlBuilder:ni,mathmlBuilder:wi}),Cn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(he,Ce){var Ie=he.parser,Ye=he.breakOnTokenText,_t=gn(Ce[0],"color-token").color;Ie.gullet.macros.set("\\current@color",_t);var Yt=Ie.parseExpression(!0,Ye);return{type:"color",mode:Ie.mode,color:_t,body:Yt}},htmlBuilder:ni,mathmlBuilder:wi}),Cn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(he,Ce,Ie){var Ye=he.parser,_t=he.funcName,Yt=Ie[0],Pr=_t==="\\cr",Yr=!1;return Pr||(Ye.settings.displayMode&&Ye.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Yr=!1:Yr=!0),{type:"cr",mode:Ye.mode,newLine:Yr,newRow:Pr,size:Yt&&gn(Yt,"size").value}},htmlBuilder:function(he,Ce){if(he.newRow)throw new d("\\cr valid only within a tabular/array environment");var Ie=Er.makeSpan(["mspace"],[],Ce);return he.newLine&&(Ie.classes.push("newline"),he.size&&(Ie.style.marginTop=dr(he.size,Ce)+"em")),Ie},mathmlBuilder:function(he,Ce){var Ie=new Pi.MathNode("mspace");return he.newLine&&(Ie.setAttribute("linebreak","newline"),he.size&&Ie.setAttribute("height",dr(he.size,Ce)+"em")),Ie}});var Di=function(he,Ce,Ie){var Ye=ht.math[he]&&ht.math[he].replace,_t=ut(Ye||he,Ce,Ie);if(!_t)throw new Error("Unsupported symbol "+he+" and font size "+Ce+".");return _t},Ui=function(he,Ce,Ie,Ye){var _t=Ie.havingBaseStyle(Ce),Yt=Er.makeSpan(Ye.concat(_t.sizingClasses(Ie)),[he],Ie),Pr=_t.sizeMultiplier/Ie.sizeMultiplier;return Yt.height*=Pr,Yt.depth*=Pr,Yt.maxFontSize=_t.sizeMultiplier,Yt},ca=function(he,Ce,Ie){var Ye=Ce.havingBaseStyle(Ie),_t=(1-Ce.sizeMultiplier/Ye.sizeMultiplier)*Ce.fontMetrics().axisHeight;he.classes.push("delimcenter"),he.style.top=_t+"em",he.height-=_t,he.depth+=_t},ia=function(he,Ce,Ie,Ye,_t,Yt){var Pr=Er.makeSymbol(he,"Main-Regular",_t,Ye),Yr=Ui(Pr,Ce,Ye,Yt);return Ie&&ca(Yr,Ye,Ce),Yr},Ia=function(he,Ce,Ie,Ye){return Er.makeSymbol(he,"Size"+Ce+"-Regular",Ie,Ye)},Fa=function(he,Ce,Ie,Ye,_t,Yt){var Pr=Ia(he,Ce,_t,Ye),Yr=Ui(Er.makeSpan(["delimsizing","size"+Ce],[Pr],Ye),W.TEXT,Ye,Yt);return Ie&&ca(Yr,Ye,W.TEXT),Yr},Aa=function(he,Ce,Ie){var Ye;Ce==="Size1-Regular"?Ye="delim-size1":Ye="delim-size4";var _t=Er.makeSpan(["delimsizinginner",Ye],[Er.makeSpan([],[Er.makeSymbol(he,Ce,Ie)])]);return{type:"elem",elem:_t}},Ea={type:"kern",size:-.005},xa=function(he,Ce,Ie,Ye,_t,Yt){var Pr,Yr,yn,Jn;Pr=yn=Jn=he,Yr=null;var Ci="Size1-Regular";he==="\\uparrow"?yn=Jn="\u23D0":he==="\\Uparrow"?yn=Jn="\u2016":he==="\\downarrow"?Pr=yn="\u23D0":he==="\\Downarrow"?Pr=yn="\u2016":he==="\\updownarrow"?(Pr="\\uparrow",yn="\u23D0",Jn="\\downarrow"):he==="\\Updownarrow"?(Pr="\\Uparrow",yn="\u2016",Jn="\\Downarrow"):he==="["||he==="\\lbrack"?(Pr="\u23A1",yn="\u23A2",Jn="\u23A3",Ci="Size4-Regular"):he==="]"||he==="\\rbrack"?(Pr="\u23A4",yn="\u23A5",Jn="\u23A6",Ci="Size4-Regular"):he==="\\lfloor"||he==="\u230A"?(yn=Pr="\u23A2",Jn="\u23A3",Ci="Size4-Regular"):he==="\\lceil"||he==="\u2308"?(Pr="\u23A1",yn=Jn="\u23A2",Ci="Size4-Regular"):he==="\\rfloor"||he==="\u230B"?(yn=Pr="\u23A5",Jn="\u23A6",Ci="Size4-Regular"):he==="\\rceil"||he==="\u2309"?(Pr="\u23A4",yn=Jn="\u23A5",Ci="Size4-Regular"):he==="("||he==="\\lparen"?(Pr="\u239B",yn="\u239C",Jn="\u239D",Ci="Size4-Regular"):he===")"||he==="\\rparen"?(Pr="\u239E",yn="\u239F",Jn="\u23A0",Ci="Size4-Regular"):he==="\\{"||he==="\\lbrace"?(Pr="\u23A7",Yr="\u23A8",Jn="\u23A9",yn="\u23AA",Ci="Size4-Regular"):he==="\\}"||he==="\\rbrace"?(Pr="\u23AB",Yr="\u23AC",Jn="\u23AD",yn="\u23AA",Ci="Size4-Regular"):he==="\\lgroup"||he==="\u27EE"?(Pr="\u23A7",Jn="\u23A9",yn="\u23AA",Ci="Size4-Regular"):he==="\\rgroup"||he==="\u27EF"?(Pr="\u23AB",Jn="\u23AD",yn="\u23AA",Ci="Size4-Regular"):he==="\\lmoustache"||he==="\u23B0"?(Pr="\u23A7",Jn="\u23AD",yn="\u23AA",Ci="Size4-Regular"):(he==="\\rmoustache"||he==="\u23B1")&&(Pr="\u23AB",Jn="\u23A9",yn="\u23AA",Ci="Size4-Regular");var Xi=Di(Pr,Ci,_t),ga=Xi.height+Xi.depth,Wa=Di(yn,Ci,_t),go=Wa.height+Wa.depth,No=Di(Jn,Ci,_t),As=No.height+No.depth,ss=0,ps=1;if(Yr!==null){var nl=Di(Yr,Ci,_t);ss=nl.height+nl.depth,ps=2}var Ks=ga+As+ss,dl=Math.max(0,Math.ceil((Ce-Ks)/(ps*go))),ls=Ks+dl*ps*go,Ys=Ye.fontMetrics().axisHeight;Ie&&(Ys*=Ye.sizeMultiplier);var Rl=ls/2-Ys,kl=(dl+1)*.005-go,el=[];if(el.push(Aa(Jn,Ci,_t)),Yr===null)for(var Cl=0;Cl","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],hr=[0,1.2,1.8,2.4,3],jr=function(he,Ce,Ie,Ye,_t){if(he==="<"||he==="\\lt"||he==="\u27E8"?he="\\langle":(he===">"||he==="\\gt"||he==="\u27E9")&&(he="\\rangle"),v.contains(Qr,he)||v.contains(Zr,he))return Fa(he,Ce,!1,Ie,Ye,_t);if(v.contains(bn,he))return xa(he,hr[Ce],!1,Ie,Ye,_t);throw new d("Illegal delimiter: '"+he+"'")},wr=[{type:"small",style:W.SCRIPTSCRIPT},{type:"small",style:W.SCRIPT},{type:"small",style:W.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],an=[{type:"small",style:W.SCRIPTSCRIPT},{type:"small",style:W.SCRIPT},{type:"small",style:W.TEXT},{type:"stack"}],Jr=[{type:"small",style:W.SCRIPTSCRIPT},{type:"small",style:W.SCRIPT},{type:"small",style:W.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],kn=function(he){if(he.type==="small")return"Main-Regular";if(he.type==="large")return"Size"+he.size+"-Regular";if(he.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+he.type+"' here.")},Dn=function(he,Ce,Ie,Ye){for(var _t=Math.min(2,3-Ye.style.size),Yt=_t;YtCe)return Ie[Yt]}return Ie[Ie.length-1]},Xn=function(he,Ce,Ie,Ye,_t,Yt){he==="<"||he==="\\lt"||he==="\u27E8"?he="\\langle":(he===">"||he==="\\gt"||he==="\u27E9")&&(he="\\rangle");var Pr;v.contains(Zr,he)?Pr=wr:v.contains(Qr,he)?Pr=Jr:Pr=an;var Yr=Dn(he,Ce,Pr,Ye);return Yr.type==="small"?ia(he,Yr.style,Ie,Ye,_t,Yt):Yr.type==="large"?Fa(he,Yr.size,Ie,Ye,_t,Yt):xa(he,Ce,Ie,Ye,_t,Yt)},vi=function(he,Ce,Ie,Ye,_t,Yt){var Pr=Ye.fontMetrics().axisHeight*Ye.sizeMultiplier,Yr=901,yn=5/Ye.fontMetrics().ptPerEm,Jn=Math.max(Ce-Pr,Ie+Pr),Ci=Math.max(Jn/500*Yr,2*Jn-yn);return Xn(he,Ci,!0,Ye,_t,Yt)},Li={sqrtImage:Nr,sizedDelim:jr,customSizedDelim:Xn,leftRightDelim:vi},ji={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Sa=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Ga(Lt,he){var Ce=Ni(Lt);if(Ce&&v.contains(Sa,Ce.text))return Ce;throw new d("Invalid delimiter: '"+(Ce?Ce.text:JSON.stringify(Lt))+"' after '"+he.funcName+"'",Lt)}Cn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(he,Ce){var Ie=Ga(Ce[0],he);return{type:"delimsizing",mode:he.parser.mode,size:ji[he.funcName].size,mclass:ji[he.funcName].mclass,delim:Ie.text}},htmlBuilder:function(he,Ce){return he.delim==="."?Er.makeSpan([he.mclass]):Li.sizedDelim(he.delim,he.size,Ce,he.mode,[he.mclass])},mathmlBuilder:function(he){var Ce=[];he.delim!=="."&&Ce.push(dn(he.delim,he.mode));var Ie=new Pi.MathNode("mo",Ce);return he.mclass==="mopen"||he.mclass==="mclose"?Ie.setAttribute("fence","true"):Ie.setAttribute("fence","false"),Ie}});function Ya(Lt){if(!Lt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Cn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(he,Ce){var Ie=he.parser.gullet.macros.get("\\current@color");if(Ie&&typeof Ie!="string")throw new d("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:he.parser.mode,delim:Ga(Ce[0],he).text,color:Ie}}}),Cn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(he,Ce){var Ie=Ga(Ce[0],he),Ye=he.parser;++Ye.leftrightDepth;var _t=Ye.parseExpression(!1);--Ye.leftrightDepth,Ye.expect("\\right",!1);var Yt=gn(Ye.parseFunction(),"leftright-right");return{type:"leftright",mode:Ye.mode,body:_t,left:Ie.text,right:Yt.delim,rightColor:Yt.color}},htmlBuilder:function(he,Ce){Ya(he);for(var Ie=Un(he.body,Ce,!0,["mopen","mclose"]),Ye=0,_t=0,Yt=!1,Pr=0;Pr-1?"mpadded":"menclose",[lr(he.body,Ce)]);switch(he.label){case"\\cancel":Ye.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":Ye.setAttribute("notation","downdiagonalstrike");break;case"\\sout":Ye.setAttribute("notation","horizontalstrike");break;case"\\fbox":Ye.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(Ie=Ce.fontMetrics().fboxsep*Ce.fontMetrics().ptPerEm,Ye.setAttribute("width","+"+2*Ie+"pt"),Ye.setAttribute("height","+"+2*Ie+"pt"),Ye.setAttribute("lspace",Ie+"pt"),Ye.setAttribute("voffset",Ie+"pt"),he.label==="\\fcolorbox"){var _t=Math.max(Ce.fontMetrics().fboxrule,Ce.minRuleThickness);Ye.setAttribute("style","border: "+_t+"em solid "+String(he.borderColor))}break;case"\\xcancel":Ye.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return he.backgroundColor&&Ye.setAttribute("mathbackground",he.backgroundColor),Ye};Cn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(he,Ce,Ie){var Ye=he.parser,_t=he.funcName,Yt=gn(Ce[0],"color-token").color,Pr=Ce[1];return{type:"enclose",mode:Ye.mode,label:_t,backgroundColor:Yt,body:Pr}},htmlBuilder:bo,mathmlBuilder:vo}),Cn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(he,Ce,Ie){var Ye=he.parser,_t=he.funcName,Yt=gn(Ce[0],"color-token").color,Pr=gn(Ce[1],"color-token").color,Yr=Ce[2];return{type:"enclose",mode:Ye.mode,label:_t,backgroundColor:Pr,borderColor:Yt,body:Yr}},htmlBuilder:bo,mathmlBuilder:vo}),Cn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(he,Ce){var Ie=he.parser;return{type:"enclose",mode:Ie.mode,label:"\\fbox",body:Ce[0]}}}),Cn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(he,Ce,Ie){var Ye=he.parser,_t=he.funcName,Yt=Ce[0];return{type:"enclose",mode:Ye.mode,label:_t,body:Yt}},htmlBuilder:bo,mathmlBuilder:vo});var po={};function Ha(Lt){for(var he=Lt.type,Ce=Lt.names,Ie=Lt.props,Ye=Lt.handler,_t=Lt.htmlBuilder,Yt=Lt.mathmlBuilder,Pr={type:he,numArgs:Ie.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:Ye},Yr=0;Yr0&&(ps+=.25),yn.push({pos:ps,isDashed:_c[ms]})}for(nl(Yt[0]),Ie=0;Ie0&&(el+=ss,ls=Pr)continue;var al=void 0;(Ye>0||he.hskipBeforeAndAfter)&&(al=v.deflt(Yl.pregap,Xi),al!==0&&(bl=Er.makeSpan(["arraycolsep"],[]),bl.style.width=al+"em",lc.push(bl)));var lo=[];for(Ie=0;Ie<_t;++Ie){var Pc=Yr[Ie],Cc=Pc[Ye];if(!Cc)continue;var Ec=Pc.pos-Cl;Cc.depth=Pc.depth,Cc.height=Pc.height,lo.push({type:"elem",elem:Cc,shift:Ec})}lo=Er.makeVList({positionType:"individualShift",children:lo},Ce),lo=Er.makeSpan(["col-align-"+(Yl.align||"c")],[lo]),lc.push(lo),(Ye0){for(var Ql=Er.makeLineSpan("hline",Ce,Jn),Ac=Er.makeLineSpan("hdashline",Ce,Jn),Vc=[{type:"elem",elem:Yr,shift:0}];yn.length>0;){var vc=yn.pop(),Lc=vc.pos-Cl;vc.isDashed?Vc.push({type:"elem",elem:Ac,shift:Lc}):Vc.push({type:"elem",elem:Ql,shift:Lc})}Yr=Er.makeVList({positionType:"individualShift",children:Vc},Ce)}return Er.makeSpan(["mord"],[Yr],Ce)},Yo={c:"center ",l:"left ",r:"right "},ro=function(he,Ce){var Ie=new Pi.MathNode("mtable",he.body.map(function(ps){return new Pi.MathNode("mtr",ps.map(function(nl){return new Pi.MathNode("mtd",[lr(nl,Ce)])}))})),Ye=he.arraystretch===.5?.1:.16+he.arraystretch-1+(he.addJot?.09:0);Ie.setAttribute("rowspacing",Ye+"em");var _t="",Yt="";if(he.cols){var Pr=he.cols,Yr="",yn=!1,Jn=0,Ci=Pr.length;Pr[0].type==="separator"&&(_t+="top ",Jn=1),Pr[Pr.length-1].type==="separator"&&(_t+="bottom ",Ci-=1);for(var Xi=Jn;Xi0?"left ":"",_t+=As[As.length-1].length>0?"right ":"";for(var ss=1;ss0&&Xi&&(go=1),Ie[ga]={type:"align",align:Wa,pregap:go,postgap:0}}return Ye.colSeparationType=Xi?"align":"alignat",Ye};Ha({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(he,Ce){var Ie=Ni(Ce[0]),Ye=Ie?[Ce[0]]:gn(Ce[0],"ordgroup").body,_t=Ye.map(function(Pr){var Yr=gi(Pr),yn=Yr.text;if("lcr".indexOf(yn)!==-1)return{type:"align",align:yn};if(yn==="|")return{type:"separator",separator:"|"};if(yn===":")return{type:"separator",separator:":"};throw new d("Unknown column alignment: "+yn,Pr)}),Yt={cols:_t,hskipBeforeAndAfter:!0};return ao(he.parser,Yt,to(he.envName))},htmlBuilder:Po,mathmlBuilder:ro}),Ha({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(he){var Ce={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[he.envName],Ie={hskipBeforeAndAfter:!1},Ye=ao(he.parser,Ie,to(he.envName));return Ce?{type:"leftright",mode:he.mode,body:[Ye],left:Ce[0],right:Ce[1],rightColor:void 0}:Ye},htmlBuilder:Po,mathmlBuilder:ro}),Ha({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(he){var Ce={arraystretch:.5},Ie=ao(he.parser,Ce,"script");return Ie.colSeparationType="small",Ie},htmlBuilder:Po,mathmlBuilder:ro}),Ha({type:"array",names:["subarray"],props:{numArgs:1},handler:function(he,Ce){var Ie=Ni(Ce[0]),Ye=Ie?[Ce[0]]:gn(Ce[0],"ordgroup").body,_t=Ye.map(function(Pr){var Yr=gi(Pr),yn=Yr.text;if("lc".indexOf(yn)!==-1)return{type:"align",align:yn};throw new d("Unknown column alignment: "+yn,Pr)});if(_t.length>1)throw new d("{subarray} can contain only one column");var Yt={cols:_t,hskipBeforeAndAfter:!1,arraystretch:.5};if(Yt=ao(he.parser,Yt,"script"),Yt.body[0].length>1)throw new d("{subarray} can contain only one column");return Yt},htmlBuilder:Po,mathmlBuilder:ro}),Ha({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(he){var Ce={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Ie=ao(he.parser,Ce,to(he.envName));return{type:"leftright",mode:he.mode,body:[Ie],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Po,mathmlBuilder:ro}),Ha({type:"array",names:["aligned"],props:{numArgs:0},handler:za,htmlBuilder:Po,mathmlBuilder:ro}),Ha({type:"array",names:["gathered"],props:{numArgs:0},handler:function(he){var Ce={cols:[{type:"align",align:"c"}],addJot:!0};return ao(he.parser,Ce,"display")},htmlBuilder:Po,mathmlBuilder:ro}),Ha({type:"array",names:["alignedat"],props:{numArgs:1},handler:za,htmlBuilder:Po,mathmlBuilder:ro}),Cn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(he,Ce){throw new d(he.funcName+" valid only within array environment")}});var Mo=po,Io=Mo;Cn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=Ce[0];if(_t.type!=="ordgroup")throw new d("Invalid environment name",_t);for(var Yt="",Pr=0;Pr<_t.body.length;++Pr)Yt+=gn(_t.body[Pr],"textord").text;if(Ye==="\\begin"){if(!Io.hasOwnProperty(Yt))throw new d("No such environment: "+Yt,_t);var Yr=Io[Yt],yn=Ie.parseArguments("\\begin{"+Yt+"}",Yr),Jn=yn.args,Ci=yn.optArgs,Xi={mode:Ie.mode,envName:Yt,parser:Ie},ga=Yr.handler(Xi,Jn,Ci);Ie.expect("\\end",!1);var Wa=Ie.nextToken,go=gn(Ie.parseFunction(),"environment");if(go.name!==Yt)throw new d("Mismatch: \\begin{"+Yt+"} matched by \\end{"+go.name+"}",Wa);return ga}return{type:"environment",mode:Ie.mode,name:Yt,nameGroup:_t}}});var ma=Er.makeSpan;function mo(Lt,he){var Ce=Un(Lt.body,he,!0);return ma([Lt.mclass],Ce,he)}function ns(Lt,he){var Ce,Ie=ta(Lt.body,he);return Lt.mclass==="minner"?Pi.newDocumentFragment(Ie):(Lt.mclass==="mord"?Lt.isCharacterBox?(Ce=Ie[0],Ce.type="mi"):Ce=new Pi.MathNode("mi",Ie):(Lt.isCharacterBox?(Ce=Ie[0],Ce.type="mo"):Ce=new Pi.MathNode("mo",Ie),Lt.mclass==="mbin"?(Ce.attributes.lspace="0.22em",Ce.attributes.rspace="0.22em"):Lt.mclass==="mpunct"?(Ce.attributes.lspace="0em",Ce.attributes.rspace="0.17em"):(Lt.mclass==="mopen"||Lt.mclass==="mclose")&&(Ce.attributes.lspace="0em",Ce.attributes.rspace="0em")),Ce)}Cn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=Ce[0];return{type:"mclass",mode:Ie.mode,mclass:"m"+Ye.substr(5),body:In(_t),isCharacterBox:v.isCharacterBox(_t)}},htmlBuilder:mo,mathmlBuilder:ns});var Zo=function(he){var Ce=he.type==="ordgroup"&&he.body.length?he.body[0]:he;return Ce.type==="atom"&&(Ce.family==="bin"||Ce.family==="rel")?"m"+Ce.family:"mord"};Cn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(he,Ce){var Ie=he.parser;return{type:"mclass",mode:Ie.mode,mclass:Zo(Ce[0]),body:[Ce[1]],isCharacterBox:v.isCharacterBox(Ce[1])}}}),Cn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=Ce[1],Yt=Ce[0],Pr;Ye!=="\\stackrel"?Pr=Zo(_t):Pr="mrel";var Yr={type:"op",mode:_t.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:Ye!=="\\stackrel",body:In(_t)},yn={type:"supsub",mode:Yt.mode,base:Yr,sup:Ye==="\\underset"?null:Yt,sub:Ye==="\\underset"?Yt:null};return{type:"mclass",mode:Ie.mode,mclass:Pr,body:[yn],isCharacterBox:v.isCharacterBox(yn)}},htmlBuilder:mo,mathmlBuilder:ns});var Oo=function(he,Ce){var Ie=he.font,Ye=Ce.withFont(Ie);return Zi(he.body,Ye)},Ro=function(he,Ce){var Ie=he.font,Ye=Ce.withFont(Ie);return lr(he.body,Ye)},hs={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Cn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=Ce[0],Yt=Ye;return Yt in hs&&(Yt=hs[Yt]),{type:"font",mode:Ie.mode,font:Yt.slice(1),body:_t}},htmlBuilder:Oo,mathmlBuilder:Ro}),Cn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(he,Ce){var Ie=he.parser,Ye=Ce[0],_t=v.isCharacterBox(Ye);return{type:"mclass",mode:Ie.mode,mclass:Zo(Ye),body:[{type:"font",mode:Ie.mode,font:"boldsymbol",body:Ye}],isCharacterBox:_t}}}),Cn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=he.breakOnTokenText,Yt=Ie.mode,Pr=Ie.parseExpression(!0,_t),Yr="math"+Ye.slice(1);return{type:"font",mode:Yt,font:Yr,body:{type:"ordgroup",mode:Ie.mode,body:Pr}}},htmlBuilder:Oo,mathmlBuilder:Ro});var Uo=function(he,Ce){var Ie=Ce;return he==="display"?Ie=Ie.id>=W.SCRIPT.id?Ie.text():W.DISPLAY:he==="text"&&Ie.size===W.DISPLAY.size?Ie=W.TEXT:he==="script"?Ie=W.SCRIPT:he==="scriptscript"&&(Ie=W.SCRIPTSCRIPT),Ie},Ja=function(he,Ce){var Ie=Uo(he.size,Ce.style),Ye=Ie.fracNum(),_t=Ie.fracDen(),Yt;Yt=Ce.havingStyle(Ye);var Pr=Zi(he.numer,Yt,Ce);if(he.continued){var Yr=8.5/Ce.fontMetrics().ptPerEm,yn=3.5/Ce.fontMetrics().ptPerEm;Pr.height=Pr.height0?go=3*ga:go=7*ga,No=Ce.fontMetrics().denom1):(Xi>0?(Wa=Ce.fontMetrics().num2,go=ga):(Wa=Ce.fontMetrics().num3,go=3*ga),No=Ce.fontMetrics().denom2);var As;if(Ci){var ps=Ce.fontMetrics().axisHeight;Wa-Pr.depth-(ps+.5*Xi)0&&(Ce=he,Ce=Ce==="."?null:Ce),Ce};Cn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(he,Ce){var Ie=he.parser,Ye=Ce[4],_t=Ce[5],Yt=rn(Ce[0],"atom");Yt&&(Yt=Br(Ce[0],"open"));var Pr=Yt?Fs(Yt.text):null,Yr=rn(Ce[1],"atom");Yr&&(Yr=Br(Ce[1],"close"));var yn=Yr?Fs(Yr.text):null,Jn=gn(Ce[2],"size"),Ci,Xi=null;Jn.isBlank?Ci=!0:(Xi=Jn.value,Ci=Xi.number>0);var ga="auto",Wa=rn(Ce[3],"ordgroup");if(Wa){if(Wa.body.length>0){var go=gn(Wa.body[0],"textord");ga=oo[Number(go.text)]}}else Wa=gn(Ce[3],"textord"),ga=oo[Number(Wa.text)];return{type:"genfrac",mode:Ie.mode,numer:Ye,denom:_t,continued:!1,hasBarLine:Ci,barSize:Xi,leftDelim:Pr,rightDelim:yn,size:ga}},htmlBuilder:Ja,mathmlBuilder:Es}),Cn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=he.token;return{type:"infix",mode:Ie.mode,replaceWith:"\\\\abovefrac",size:gn(Ce[0],"size").value,token:_t}}}),Cn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=Ce[0],Yt=p(gn(Ce[1],"infix").size),Pr=Ce[2],Yr=Yt.number>0;return{type:"genfrac",mode:Ie.mode,numer:_t,denom:Pr,continued:!1,hasBarLine:Yr,barSize:Yt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ja,mathmlBuilder:Es});var qo=function(he,Ce){var Ie=Ce.style,Ye,_t,Yt=rn(he,"supsub");Yt?(Ye=Yt.sup?Zi(Yt.sup,Ce.havingStyle(Ie.sup()),Ce):Zi(Yt.sub,Ce.havingStyle(Ie.sub()),Ce),_t=gn(Yt.base,"horizBrace")):_t=gn(he,"horizBrace");var Pr=Zi(_t.base,Ce.havingBaseStyle(W.DISPLAY)),Yr=qn.svgSpan(_t,Ce),yn;if(_t.isOver?(yn=Er.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pr},{type:"kern",size:.1},{type:"elem",elem:Yr}]},Ce),yn.children[0].children[0].children[1].classes.push("svg-align")):(yn=Er.makeVList({positionType:"bottom",positionData:Pr.depth+.1+Yr.height,children:[{type:"elem",elem:Yr},{type:"kern",size:.1},{type:"elem",elem:Pr}]},Ce),yn.children[0].children[0].children[0].classes.push("svg-align")),Ye){var Jn=Er.makeSpan(["mord",_t.isOver?"mover":"munder"],[yn],Ce);_t.isOver?yn=Er.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Jn},{type:"kern",size:.2},{type:"elem",elem:Ye}]},Ce):yn=Er.makeVList({positionType:"bottom",positionData:Jn.depth+.2+Ye.height+Ye.depth,children:[{type:"elem",elem:Ye},{type:"kern",size:.2},{type:"elem",elem:Jn}]},Ce)}return Er.makeSpan(["mord",_t.isOver?"mover":"munder"],[yn],Ce)},Wo=function(he,Ce){var Ie=qn.mathMLnode(he.label);return new Pi.MathNode(he.isOver?"mover":"munder",[lr(he.base,Ce),Ie])};Cn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName;return{type:"horizBrace",mode:Ie.mode,label:Ye,isOver:/^\\over/.test(Ye),base:Ce[0]}},htmlBuilder:qo,mathmlBuilder:Wo}),Cn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(he,Ce){var Ie=he.parser,Ye=Ce[1],_t=gn(Ce[0],"url").url;return Ie.settings.isTrusted({command:"\\href",url:_t})?{type:"href",mode:Ie.mode,href:_t,body:In(Ye)}:Ie.formatUnsupportedCmd("\\href")},htmlBuilder:function(he,Ce){var Ie=Un(he.body,Ce,!1);return Er.makeAnchor(he.href,[],Ie,Ce)},mathmlBuilder:function(he,Ce){var Ie=so(he.body,Ce);return Ie instanceof co||(Ie=new co("mrow",[Ie])),Ie.setAttribute("href",he.href),Ie}}),Cn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(he,Ce){var Ie=he.parser,Ye=gn(Ce[0],"url").url;if(!Ie.settings.isTrusted({command:"\\url",url:Ye}))return Ie.formatUnsupportedCmd("\\url");for(var _t=[],Yt=0;Yt0&&(Ye=dr(he.totalheight,Ce)-Ie,Ye=Number(Ye.toFixed(2)));var _t=0;he.width.number>0&&(_t=dr(he.width,Ce));var Yt={height:Ie+Ye+"em"};_t>0&&(Yt.width=_t+"em"),Ye>0&&(Yt.verticalAlign=-Ye+"em");var Pr=new we(he.src,he.alt,Yt);return Pr.height=Ie,Pr.depth=Ye,Pr},mathmlBuilder:function(he,Ce){var Ie=new Pi.MathNode("mglyph",[]);Ie.setAttribute("alt",he.alt);var Ye=dr(he.height,Ce),_t=0;if(he.totalheight.number>0&&(_t=dr(he.totalheight,Ce)-Ye,_t=_t.toFixed(2),Ie.setAttribute("valign","-"+_t+"em")),Ie.setAttribute("height",Ye+_t+"em"),he.width.number>0){var Yt=dr(he.width,Ce);Ie.setAttribute("width",Yt+"em")}return Ie.setAttribute("src",he.src),Ie}}),Cn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=gn(Ce[0],"size");if(Ie.settings.strict){var Yt=Ye[1]==="m",Pr=_t.value.unit==="mu";Yt?(Pr||Ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Ye+" supports only mu units, "+("not "+_t.value.unit+" units")),Ie.mode!=="math"&&Ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Ye+" works only in math mode")):Pr&&Ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Ye+" doesn't support mu units")}return{type:"kern",mode:Ie.mode,dimension:_t.value}},htmlBuilder:function(he,Ce){return Er.makeGlue(he.dimension,Ce)},mathmlBuilder:function(he,Ce){var Ie=dr(he.dimension,Ce);return new Pi.SpaceNode(Ie)}}),Cn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=Ce[0];return{type:"lap",mode:Ie.mode,alignment:Ye.slice(5),body:_t}},htmlBuilder:function(he,Ce){var Ie;he.alignment==="clap"?(Ie=Er.makeSpan([],[Zi(he.body,Ce)]),Ie=Er.makeSpan(["inner"],[Ie],Ce)):Ie=Er.makeSpan(["inner"],[Zi(he.body,Ce)]);var Ye=Er.makeSpan(["fix"],[]),_t=Er.makeSpan([he.alignment],[Ie,Ye],Ce),Yt=Er.makeSpan(["strut"]);return Yt.style.height=_t.height+_t.depth+"em",Yt.style.verticalAlign=-_t.depth+"em",_t.children.unshift(Yt),_t=Er.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:_t}]},Ce),Er.makeSpan(["mord"],[_t],Ce)},mathmlBuilder:function(he,Ce){var Ie=new Pi.MathNode("mpadded",[lr(he.body,Ce)]);if(he.alignment!=="rlap"){var Ye=he.alignment==="llap"?"-1":"-0.5";Ie.setAttribute("lspace",Ye+"width")}return Ie.setAttribute("width","0px"),Ie}}),Cn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(he,Ce){var Ie=he.funcName,Ye=he.parser,_t=Ye.mode;Ye.switchMode("math");var Yt=Ie==="\\("?"\\)":"$",Pr=Ye.parseExpression(!1,Yt);return Ye.expect(Yt),Ye.switchMode(_t),{type:"styling",mode:Ye.mode,style:"text",body:Pr}}}),Cn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(he,Ce){throw new d("Mismatched "+he.funcName)}});var Go=function(he,Ce){switch(Ce.style.size){case W.DISPLAY.size:return he.display;case W.TEXT.size:return he.text;case W.SCRIPT.size:return he.script;case W.SCRIPTSCRIPT.size:return he.scriptscript;default:return he.text}};Cn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(he,Ce){var Ie=he.parser;return{type:"mathchoice",mode:Ie.mode,display:In(Ce[0]),text:In(Ce[1]),script:In(Ce[2]),scriptscript:In(Ce[3])}},htmlBuilder:function(he,Ce){var Ie=Go(he,Ce),Ye=Un(Ie,Ce,!1);return Er.makeFragment(Ye)},mathmlBuilder:function(he,Ce){var Ie=Go(he,Ce);return so(Ie,Ce)}});var os=function(he,Ce,Ie,Ye,_t,Yt,Pr){he=Er.makeSpan([],[he]);var Yr,yn;if(Ce){var Jn=Zi(Ce,Ye.havingStyle(_t.sup()),Ye);yn={elem:Jn,kern:Math.max(Ye.fontMetrics().bigOpSpacing1,Ye.fontMetrics().bigOpSpacing3-Jn.depth)}}if(Ie){var Ci=Zi(Ie,Ye.havingStyle(_t.sub()),Ye);Yr={elem:Ci,kern:Math.max(Ye.fontMetrics().bigOpSpacing2,Ye.fontMetrics().bigOpSpacing4-Ci.height)}}var Xi;if(yn&&Yr){var ga=Ye.fontMetrics().bigOpSpacing5+Yr.elem.height+Yr.elem.depth+Yr.kern+he.depth+Pr;Xi=Er.makeVList({positionType:"bottom",positionData:ga,children:[{type:"kern",size:Ye.fontMetrics().bigOpSpacing5},{type:"elem",elem:Yr.elem,marginLeft:-Yt+"em"},{type:"kern",size:Yr.kern},{type:"elem",elem:he},{type:"kern",size:yn.kern},{type:"elem",elem:yn.elem,marginLeft:Yt+"em"},{type:"kern",size:Ye.fontMetrics().bigOpSpacing5}]},Ye)}else if(Yr){var Wa=he.height-Pr;Xi=Er.makeVList({positionType:"top",positionData:Wa,children:[{type:"kern",size:Ye.fontMetrics().bigOpSpacing5},{type:"elem",elem:Yr.elem,marginLeft:-Yt+"em"},{type:"kern",size:Yr.kern},{type:"elem",elem:he}]},Ye)}else if(yn){var go=he.depth+Pr;Xi=Er.makeVList({positionType:"bottom",positionData:go,children:[{type:"elem",elem:he},{type:"kern",size:yn.kern},{type:"elem",elem:yn.elem,marginLeft:Yt+"em"},{type:"kern",size:Ye.fontMetrics().bigOpSpacing5}]},Ye)}else return he;return Er.makeSpan(["mop","op-limits"],[Xi],Ye)},Vs=["\\smallint"],xs=function(he,Ce){var Ie,Ye,_t=!1,Yt,Pr=rn(he,"supsub");Pr?(Ie=Pr.sup,Ye=Pr.sub,Yt=gn(Pr.base,"op"),_t=!0):Yt=gn(he,"op");var Yr=Ce.style,yn=!1;Yr.size===W.DISPLAY.size&&Yt.symbol&&!v.contains(Vs,Yt.name)&&(yn=!0);var Jn;if(Yt.symbol){var Ci=yn?"Size2-Regular":"Size1-Regular",Xi="";if((Yt.name==="\\oiint"||Yt.name==="\\oiiint")&&(Xi=Yt.name.substr(1),Yt.name=Xi==="oiint"?"\\iint":"\\iiint"),Jn=Er.makeSymbol(Yt.name,Ci,"math",Ce,["mop","op-symbol",yn?"large-op":"small-op"]),Xi.length>0){var ga=Jn.italic,Wa=Er.staticSvg(Xi+"Size"+(yn?"2":"1"),Ce);Jn=Er.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Jn,shift:0},{type:"elem",elem:Wa,shift:yn?.08:0}]},Ce),Yt.name="\\"+Xi,Jn.classes.unshift("mop"),Jn.italic=ga}}else if(Yt.body){var go=Un(Yt.body,Ce,!0);go.length===1&&go[0]instanceof De?(Jn=go[0],Jn.classes[0]="mop"):Jn=Er.makeSpan(["mop"],Er.tryCombineChars(go),Ce)}else{for(var No=[],As=1;As0){for(var yn=Yt.body.map(function(ga){var Wa=ga.text;return typeof Wa=="string"?{type:"textord",mode:ga.mode,text:Wa}:ga}),Jn=Un(yn,Ce.withFont("mathrm"),!0),Ci=0;Ci=0?Yr.setAttribute("height","+"+_t+"em"):(Yr.setAttribute("height",_t+"em"),Yr.setAttribute("depth","+"+-_t+"em")),Yr.setAttribute("voffset",_t+"em"),Yr}});function Ho(Lt,he,Ce){for(var Ie=Un(Lt,he,!1),Ye=he.sizeMultiplier/Ce.sizeMultiplier,_t=0;_tIe.height+Ie.depth+Pr&&(Pr=(Pr+ga-Ie.height-Ie.depth)/2);var Wa=Jn.height-Ie.height-Pr-Ci;Ie.style.paddingLeft=Xi+"em";var go=Er.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ie,wrapperClasses:["svg-align"]},{type:"kern",size:-(Ie.height+Wa)},{type:"elem",elem:Jn},{type:"kern",size:Ci}]},Ce);if(he.index){var No=Ce.havingStyle(W.SCRIPTSCRIPT),As=Zi(he.index,No,Ce),ss=.6*(go.height-go.depth),ps=Er.makeVList({positionType:"shift",positionData:-ss,children:[{type:"elem",elem:As}]},Ce),nl=Er.makeSpan(["root"],[ps]);return Er.makeSpan(["mord","sqrt"],[nl,go],Ce)}else return Er.makeSpan(["mord","sqrt"],[go],Ce)},mathmlBuilder:function(he,Ce){var Ie=he.body,Ye=he.index;return Ye?new Pi.MathNode("mroot",[lr(Ie,Ce),lr(Ye,Ce)]):new Pi.MathNode("msqrt",[lr(Ie,Ce)])}});var Ra={display:W.DISPLAY,text:W.TEXT,script:W.SCRIPT,scriptscript:W.SCRIPTSCRIPT};Cn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(he,Ce){var Ie=he.breakOnTokenText,Ye=he.funcName,_t=he.parser,Yt=_t.parseExpression(!0,Ie),Pr=Ye.slice(1,Ye.length-5);return{type:"styling",mode:_t.mode,style:Pr,body:Yt}},htmlBuilder:function(he,Ce){var Ie=Ra[he.style],Ye=Ce.havingStyle(Ie).withFont("");return Ho(he.body,Ye,Ce)},mathmlBuilder:function(he,Ce){var Ie=Ra[he.style],Ye=Ce.havingStyle(Ie),_t=ta(he.body,Ye),Yt=new Pi.MathNode("mstyle",_t),Pr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Yr=Pr[he.style];return Yt.setAttribute("scriptlevel",Yr[0]),Yt.setAttribute("displaystyle",Yr[1]),Yt}});var ho=function(he,Ce){var Ie=he.base;if(Ie)if(Ie.type==="op"){var Ye=Ie.limits&&(Ce.style.size===W.DISPLAY.size||Ie.alwaysHandleSupSub);return Ye?xs:null}else if(Ie.type==="operatorname"){var _t=Ie.alwaysHandleSupSub&&(Ce.style.size===W.DISPLAY.size||Ie.limits);return _t?Jo:null}else{if(Ie.type==="accent")return v.isCharacterBox(Ie.base)?si:null;if(Ie.type==="horizBrace"){var Yt=!he.sub;return Yt===Ie.isOver?qo:null}else return null}else return null};ki({type:"supsub",htmlBuilder:function(he,Ce){var Ie=ho(he,Ce);if(Ie)return Ie(he,Ce);var Ye=he.base,_t=he.sup,Yt=he.sub,Pr=Zi(Ye,Ce),Yr,yn,Jn=Ce.fontMetrics(),Ci=0,Xi=0,ga=Ye&&v.isCharacterBox(Ye);if(_t){var Wa=Ce.havingStyle(Ce.style.sup());Yr=Zi(_t,Wa,Ce),ga||(Ci=Pr.height-Wa.fontMetrics().supDrop*Wa.sizeMultiplier/Ce.sizeMultiplier)}if(Yt){var go=Ce.havingStyle(Ce.style.sub());yn=Zi(Yt,go,Ce),ga||(Xi=Pr.depth+go.fontMetrics().subDrop*go.sizeMultiplier/Ce.sizeMultiplier)}var No;Ce.style===W.DISPLAY?No=Jn.sup1:Ce.style.cramped?No=Jn.sup3:No=Jn.sup2;var As=Ce.sizeMultiplier,ss=.5/Jn.ptPerEm/As+"em",ps=null;if(yn){var nl=he.base&&he.base.type==="op"&&he.base.name&&(he.base.name==="\\oiint"||he.base.name==="\\oiiint");(Pr instanceof De||nl)&&(ps=-Pr.italic+"em")}var Ks;if(Yr&&yn){Ci=Math.max(Ci,No,Yr.depth+.25*Jn.xHeight),Xi=Math.max(Xi,Jn.sub2);var dl=Jn.defaultRuleThickness,ls=4*dl;if(Ci-Yr.depth-(yn.height-Xi)0&&(Ci+=Ys,Xi-=Ys)}var Rl=[{type:"elem",elem:yn,shift:Xi,marginRight:ss,marginLeft:ps},{type:"elem",elem:Yr,shift:-Ci,marginRight:ss}];Ks=Er.makeVList({positionType:"individualShift",children:Rl},Ce)}else if(yn){Xi=Math.max(Xi,Jn.sub1,yn.height-.8*Jn.xHeight);var kl=[{type:"elem",elem:yn,marginLeft:ps,marginRight:ss}];Ks=Er.makeVList({positionType:"shift",positionData:Xi,children:kl},Ce)}else if(Yr)Ci=Math.max(Ci,No,Yr.depth+.25*Jn.xHeight),Ks=Er.makeVList({positionType:"shift",positionData:-Ci,children:[{type:"elem",elem:Yr,marginRight:ss}]},Ce);else throw new Error("supsub must have either sup or sub.");var el=Oi(Pr,"right")||"mord";return Er.makeSpan([el],[Pr,Er.makeSpan(["msupsub"],[Ks])],Ce)},mathmlBuilder:function(he,Ce){var Ie=!1,Ye,_t,Yt=rn(he.base,"horizBrace");Yt&&(_t=!!he.sup,_t===Yt.isOver&&(Ie=!0,Ye=Yt.isOver)),he.base&&(he.base.type==="op"||he.base.type==="operatorname")&&(he.base.parentIsSupSub=!0);var Pr=[lr(he.base,Ce)];he.sub&&Pr.push(lr(he.sub,Ce)),he.sup&&Pr.push(lr(he.sup,Ce));var Yr;if(Ie)Yr=Ye?"mover":"munder";else if(he.sub)if(he.sup){var Ci=he.base;Ci&&Ci.type==="op"&&Ci.limits&&Ce.style===W.DISPLAY||Ci&&Ci.type==="operatorname"&&Ci.alwaysHandleSupSub&&(Ce.style===W.DISPLAY||Ci.limits)?Yr="munderover":Yr="msubsup"}else{var Jn=he.base;Jn&&Jn.type==="op"&&Jn.limits&&(Ce.style===W.DISPLAY||Jn.alwaysHandleSupSub)||Jn&&Jn.type==="operatorname"&&Jn.alwaysHandleSupSub&&(Jn.limits||Ce.style===W.DISPLAY)?Yr="munder":Yr="msub"}else{var yn=he.base;yn&&yn.type==="op"&&yn.limits&&(Ce.style===W.DISPLAY||yn.alwaysHandleSupSub)||yn&&yn.type==="operatorname"&&yn.alwaysHandleSupSub&&(yn.limits||Ce.style===W.DISPLAY)?Yr="mover":Yr="msup"}var Xi=new Pi.MathNode(Yr,Pr);return Xi}}),ki({type:"atom",htmlBuilder:function(he,Ce){return Er.mathsym(he.text,he.mode,Ce,["m"+he.family])},mathmlBuilder:function(he,Ce){var Ie=new Pi.MathNode("mo",[dn(he.text,he.mode)]);if(he.family==="bin"){var Ye=ba(he,Ce);Ye==="bold-italic"&&Ie.setAttribute("mathvariant",Ye)}else he.family==="punct"?Ie.setAttribute("separator","true"):(he.family==="open"||he.family==="close")&&Ie.setAttribute("stretchy","false");return Ie}});var ll={mi:"italic",mn:"normal",mtext:"normal"};ki({type:"mathord",htmlBuilder:function(he,Ce){return Er.makeOrd(he,Ce,"mathord")},mathmlBuilder:function(he,Ce){var Ie=new Pi.MathNode("mi",[dn(he.text,he.mode,Ce)]),Ye=ba(he,Ce)||"italic";return Ye!==ll[Ie.type]&&Ie.setAttribute("mathvariant",Ye),Ie}}),ki({type:"textord",htmlBuilder:function(he,Ce){return Er.makeOrd(he,Ce,"textord")},mathmlBuilder:function(he,Ce){var Ie=dn(he.text,he.mode,Ce),Ye=ba(he,Ce)||"normal",_t;return he.mode==="text"?_t=new Pi.MathNode("mtext",[Ie]):/[0-9]/.test(he.text)?_t=new Pi.MathNode("mn",[Ie]):he.text==="\\prime"?_t=new Pi.MathNode("mo",[Ie]):_t=new Pi.MathNode("mi",[Ie]),Ye!==ll[_t.type]&&_t.setAttribute("mathvariant",Ye),_t}});var ml={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},wl={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ki({type:"spacing",htmlBuilder:function(he,Ce){if(wl.hasOwnProperty(he.text)){var Ie=wl[he.text].className||"";if(he.mode==="text"){var Ye=Er.makeOrd(he,Ce,"textord");return Ye.classes.push(Ie),Ye}else return Er.makeSpan(["mspace",Ie],[Er.mathsym(he.text,he.mode,Ce)],Ce)}else{if(ml.hasOwnProperty(he.text))return Er.makeSpan(["mspace",ml[he.text]],[],Ce);throw new d('Unknown type of space "'+he.text+'"')}},mathmlBuilder:function(he,Ce){var Ie;if(wl.hasOwnProperty(he.text))Ie=new Pi.MathNode("mtext",[new Pi.TextNode("\xA0")]);else{if(ml.hasOwnProperty(he.text))return new Pi.MathNode("mspace");throw new d('Unknown type of space "'+he.text+'"')}return Ie}});var El=function(){var he=new Pi.MathNode("mtd",[]);return he.setAttribute("width","50%"),he};ki({type:"tag",mathmlBuilder:function(he,Ce){var Ie=new Pi.MathNode("mtable",[new Pi.MathNode("mtr",[El(),new Pi.MathNode("mtd",[so(he.body,Ce)]),El(),new Pi.MathNode("mtd",[so(he.tag,Ce)])])]);return Ie.setAttribute("width","100%"),Ie}});var Xs={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Xo={"\\textbf":"textbf","\\textmd":"textmd"},gl={"\\textit":"textit","\\textup":"textup"},Vl=function(he,Ce){var Ie=he.font;return Ie?Xs[Ie]?Ce.withTextFontFamily(Xs[Ie]):Xo[Ie]?Ce.withTextFontWeight(Xo[Ie]):Ce.withTextFontShape(gl[Ie]):Ce};Cn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(he,Ce){var Ie=he.parser,Ye=he.funcName,_t=Ce[0];return{type:"text",mode:Ie.mode,body:In(_t),font:Ye}},htmlBuilder:function(he,Ce){var Ie=Vl(he,Ce),Ye=Un(he.body,Ie,!0);return Er.makeSpan(["mord","text"],Er.tryCombineChars(Ye),Ie)},mathmlBuilder:function(he,Ce){var Ie=Vl(he,Ce);return so(he.body,Ie)}}),Cn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(he,Ce){var Ie=he.parser;return{type:"underline",mode:Ie.mode,body:Ce[0]}},htmlBuilder:function(he,Ce){var Ie=Zi(he.body,Ce),Ye=Er.makeLineSpan("underline-line",Ce),_t=Ce.fontMetrics().defaultRuleThickness,Yt=Er.makeVList({positionType:"top",positionData:Ie.height,children:[{type:"kern",size:_t},{type:"elem",elem:Ye},{type:"kern",size:3*_t},{type:"elem",elem:Ie}]},Ce);return Er.makeSpan(["mord","underline"],[Yt],Ce)},mathmlBuilder:function(he,Ce){var Ie=new Pi.MathNode("mo",[new Pi.TextNode("\u203E")]);Ie.setAttribute("stretchy","true");var Ye=new Pi.MathNode("munder",[lr(he.body,Ce),Ie]);return Ye.setAttribute("accentunder","true"),Ye}}),Cn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(he,Ce,Ie){throw new d("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(he,Ce){for(var Ie=Us(he),Ye=[],_t=Ce.havingStyle(Ce.style.text()),Yt=0;Yt0&&(this.undefStack[this.undefStack.length-1][Ie]=Ye)}else{var Pr=this.undefStack[this.undefStack.length-1];Pr&&!Pr.hasOwnProperty(Ie)&&(Pr[Ie]=this.current[Ie])}this.current[Ie]=Ye},Lt}(),vl={},cl=vl;function mn(Lt,he){vl[Lt]=he}mn("\\@firstoftwo",function(Lt){var he=Lt.consumeArgs(2);return{tokens:he[0],numArgs:0}}),mn("\\@secondoftwo",function(Lt){var he=Lt.consumeArgs(2);return{tokens:he[1],numArgs:0}}),mn("\\@ifnextchar",function(Lt){var he=Lt.consumeArgs(3),Ce=Lt.future();return he[0].length===1&&he[0][0].text===Ce.text?{tokens:he[1],numArgs:0}:{tokens:he[2],numArgs:0}}),mn("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),mn("\\TextOrMath",function(Lt){var he=Lt.consumeArgs(2);return Lt.mode==="text"?{tokens:he[0],numArgs:0}:{tokens:he[1],numArgs:0}});var da={"0":0,"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};mn("\\char",function(Lt){var he=Lt.popToken(),Ce,Ie="";if(he.text==="'")Ce=8,he=Lt.popToken();else if(he.text==='"')Ce=16,he=Lt.popToken();else if(he.text==="`")if(he=Lt.popToken(),he.text[0]==="\\")Ie=he.text.charCodeAt(1);else{if(he.text==="EOF")throw new d("\\char` missing argument");Ie=he.text.charCodeAt(0)}else Ce=10;if(Ce){if(Ie=da[he.text],Ie==null||Ie>=Ce)throw new d("Invalid base-"+Ce+" digit "+he.text);for(var Ye;(Ye=da[Lt.future().text])!=null&&Ye":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};mn("\\dots",function(Lt){var he="\\dotso",Ce=Lt.expandAfterFuture().text;return Ce in xc?he=xc[Ce]:Ce.substr(0,4)==="\\not"?he="\\dotsb":Ce in ht.math&&(v.contains(["bin","rel"],ht.math[Ce].group)&&(he="\\dotsb")),he});var Ss={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};mn("\\dotso",function(Lt){var he=Lt.future().text;return he in Ss?"\\ldots\\,":"\\ldots"}),mn("\\dotsc",function(Lt){var he=Lt.future().text;return he in Ss&&he!==","?"\\ldots\\,":"\\ldots"}),mn("\\cdots",function(Lt){var he=Lt.future().text;return he in Ss?"\\@cdots\\,":"\\@cdots"}),mn("\\dotsb","\\cdots"),mn("\\dotsm","\\cdots"),mn("\\dotsi","\\!\\cdots"),mn("\\dotsx","\\ldots\\,"),mn("\\DOTSI","\\relax"),mn("\\DOTSB","\\relax"),mn("\\DOTSX","\\relax"),mn("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),mn("\\,","\\tmspace+{3mu}{.1667em}"),mn("\\thinspace","\\,"),mn("\\>","\\mskip{4mu}"),mn("\\:","\\tmspace+{4mu}{.2222em}"),mn("\\medspace","\\:"),mn("\\;","\\tmspace+{5mu}{.2777em}"),mn("\\thickspace","\\;"),mn("\\!","\\tmspace-{3mu}{.1667em}"),mn("\\negthinspace","\\!"),mn("\\negmedspace","\\tmspace-{4mu}{.2222em}"),mn("\\negthickspace","\\tmspace-{5mu}{.277em}"),mn("\\enspace","\\kern.5em "),mn("\\enskip","\\hskip.5em\\relax"),mn("\\quad","\\hskip1em\\relax"),mn("\\qquad","\\hskip2em\\relax"),mn("\\tag","\\@ifstar\\tag@literal\\tag@paren"),mn("\\tag@paren","\\tag@literal{({#1})}"),mn("\\tag@literal",function(Lt){if(Lt.macros.get("\\df@tag"))throw new d("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),mn("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),mn("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),mn("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),mn("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),mn("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),mn("\\\\","\\newline"),mn("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ws=yt["Main-Regular"]["T".charCodeAt(0)][1]-.7*yt["Main-Regular"]["A".charCodeAt(0)][1]+"em";mn("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ws+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),mn("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ws+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),mn("\\hspace","\\@ifstar\\@hspacer\\@hspace"),mn("\\@hspace","\\hskip #1\\relax"),mn("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),mn("\\ordinarycolon",":"),mn("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),mn("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),mn("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),mn("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),mn("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),mn("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),mn("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),mn("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),mn("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),mn("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),mn("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),mn("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),mn("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),mn("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),mn("\u2237","\\dblcolon"),mn("\u2239","\\eqcolon"),mn("\u2254","\\coloneqq"),mn("\u2255","\\eqqcolon"),mn("\u2A74","\\Coloneqq"),mn("\\ratio","\\vcentcolon"),mn("\\coloncolon","\\dblcolon"),mn("\\colonequals","\\coloneqq"),mn("\\coloncolonequals","\\Coloneqq"),mn("\\equalscolon","\\eqqcolon"),mn("\\equalscoloncolon","\\Eqqcolon"),mn("\\colonminus","\\coloneq"),mn("\\coloncolonminus","\\Coloneq"),mn("\\minuscolon","\\eqcolon"),mn("\\minuscoloncolon","\\Eqcolon"),mn("\\coloncolonapprox","\\Colonapprox"),mn("\\coloncolonsim","\\Colonsim"),mn("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),mn("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),mn("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),mn("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),mn("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),mn("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),mn("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),mn("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),mn("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),mn("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),mn("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),mn("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),mn("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),mn("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),mn("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),mn("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),mn("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),mn("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),mn("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),mn("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),mn("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),mn("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),mn("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),mn("\u27E6","\\llbracket"),mn("\u27E7","\\rrbracket"),mn("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),mn("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),mn("\u2983","\\lBrace"),mn("\u2984","\\rBrace"),mn("\\darr","\\downarrow"),mn("\\dArr","\\Downarrow"),mn("\\Darr","\\Downarrow"),mn("\\lang","\\langle"),mn("\\rang","\\rangle"),mn("\\uarr","\\uparrow"),mn("\\uArr","\\Uparrow"),mn("\\Uarr","\\Uparrow"),mn("\\N","\\mathbb{N}"),mn("\\R","\\mathbb{R}"),mn("\\Z","\\mathbb{Z}"),mn("\\alef","\\aleph"),mn("\\alefsym","\\aleph"),mn("\\Alpha","\\mathrm{A}"),mn("\\Beta","\\mathrm{B}"),mn("\\bull","\\bullet"),mn("\\Chi","\\mathrm{X}"),mn("\\clubs","\\clubsuit"),mn("\\cnums","\\mathbb{C}"),mn("\\Complex","\\mathbb{C}"),mn("\\Dagger","\\ddagger"),mn("\\diamonds","\\diamondsuit"),mn("\\empty","\\emptyset"),mn("\\Epsilon","\\mathrm{E}"),mn("\\Eta","\\mathrm{H}"),mn("\\exist","\\exists"),mn("\\harr","\\leftrightarrow"),mn("\\hArr","\\Leftrightarrow"),mn("\\Harr","\\Leftrightarrow"),mn("\\hearts","\\heartsuit"),mn("\\image","\\Im"),mn("\\infin","\\infty"),mn("\\Iota","\\mathrm{I}"),mn("\\isin","\\in"),mn("\\Kappa","\\mathrm{K}"),mn("\\larr","\\leftarrow"),mn("\\lArr","\\Leftarrow"),mn("\\Larr","\\Leftarrow"),mn("\\lrarr","\\leftrightarrow"),mn("\\lrArr","\\Leftrightarrow"),mn("\\Lrarr","\\Leftrightarrow"),mn("\\Mu","\\mathrm{M}"),mn("\\natnums","\\mathbb{N}"),mn("\\Nu","\\mathrm{N}"),mn("\\Omicron","\\mathrm{O}"),mn("\\plusmn","\\pm"),mn("\\rarr","\\rightarrow"),mn("\\rArr","\\Rightarrow"),mn("\\Rarr","\\Rightarrow"),mn("\\real","\\Re"),mn("\\reals","\\mathbb{R}"),mn("\\Reals","\\mathbb{R}"),mn("\\Rho","\\mathrm{P}"),mn("\\sdot","\\cdot"),mn("\\sect","\\S"),mn("\\spades","\\spadesuit"),mn("\\sub","\\subset"),mn("\\sube","\\subseteq"),mn("\\supe","\\supseteq"),mn("\\Tau","\\mathrm{T}"),mn("\\thetasym","\\vartheta"),mn("\\weierp","\\wp"),mn("\\Zeta","\\mathrm{Z}"),mn("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),mn("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),mn("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),mn("\\blue","\\textcolor{##6495ed}{#1}"),mn("\\orange","\\textcolor{##ffa500}{#1}"),mn("\\pink","\\textcolor{##ff00af}{#1}"),mn("\\red","\\textcolor{##df0030}{#1}"),mn("\\green","\\textcolor{##28ae7b}{#1}"),mn("\\gray","\\textcolor{gray}{#1}"),mn("\\purple","\\textcolor{##9d38bd}{#1}"),mn("\\blueA","\\textcolor{##ccfaff}{#1}"),mn("\\blueB","\\textcolor{##80f6ff}{#1}"),mn("\\blueC","\\textcolor{##63d9ea}{#1}"),mn("\\blueD","\\textcolor{##11accd}{#1}"),mn("\\blueE","\\textcolor{##0c7f99}{#1}"),mn("\\tealA","\\textcolor{##94fff5}{#1}"),mn("\\tealB","\\textcolor{##26edd5}{#1}"),mn("\\tealC","\\textcolor{##01d1c1}{#1}"),mn("\\tealD","\\textcolor{##01a995}{#1}"),mn("\\tealE","\\textcolor{##208170}{#1}"),mn("\\greenA","\\textcolor{##b6ffb0}{#1}"),mn("\\greenB","\\textcolor{##8af281}{#1}"),mn("\\greenC","\\textcolor{##74cf70}{#1}"),mn("\\greenD","\\textcolor{##1fab54}{#1}"),mn("\\greenE","\\textcolor{##0d923f}{#1}"),mn("\\goldA","\\textcolor{##ffd0a9}{#1}"),mn("\\goldB","\\textcolor{##ffbb71}{#1}"),mn("\\goldC","\\textcolor{##ff9c39}{#1}"),mn("\\goldD","\\textcolor{##e07d10}{#1}"),mn("\\goldE","\\textcolor{##a75a05}{#1}"),mn("\\redA","\\textcolor{##fca9a9}{#1}"),mn("\\redB","\\textcolor{##ff8482}{#1}"),mn("\\redC","\\textcolor{##f9685d}{#1}"),mn("\\redD","\\textcolor{##e84d39}{#1}"),mn("\\redE","\\textcolor{##bc2612}{#1}"),mn("\\maroonA","\\textcolor{##ffbde0}{#1}"),mn("\\maroonB","\\textcolor{##ff92c6}{#1}"),mn("\\maroonC","\\textcolor{##ed5fa6}{#1}"),mn("\\maroonD","\\textcolor{##ca337c}{#1}"),mn("\\maroonE","\\textcolor{##9e034e}{#1}"),mn("\\purpleA","\\textcolor{##ddd7ff}{#1}"),mn("\\purpleB","\\textcolor{##c6b9fc}{#1}"),mn("\\purpleC","\\textcolor{##aa87ff}{#1}"),mn("\\purpleD","\\textcolor{##7854ab}{#1}"),mn("\\purpleE","\\textcolor{##543b78}{#1}"),mn("\\mintA","\\textcolor{##f5f9e8}{#1}"),mn("\\mintB","\\textcolor{##edf2df}{#1}"),mn("\\mintC","\\textcolor{##e0e5cc}{#1}"),mn("\\grayA","\\textcolor{##f6f7f7}{#1}"),mn("\\grayB","\\textcolor{##f0f1f2}{#1}"),mn("\\grayC","\\textcolor{##e3e5e6}{#1}"),mn("\\grayD","\\textcolor{##d6d8da}{#1}"),mn("\\grayE","\\textcolor{##babec2}{#1}"),mn("\\grayF","\\textcolor{##888d93}{#1}"),mn("\\grayG","\\textcolor{##626569}{#1}"),mn("\\grayH","\\textcolor{##3b3e40}{#1}"),mn("\\grayI","\\textcolor{##21242c}{#1}"),mn("\\kaBlue","\\textcolor{##314453}{#1}"),mn("\\kaGreen","\\textcolor{##71B307}{#1}");var xl={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ul=function(){function Lt(Ce,Ie,Ye){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=Ie,this.expansionCount=0,this.feed(Ce),this.macros=new Ml(cl,Ie.macros),this.mode=Ye,this.stack=[]}var he=Lt.prototype;return he.feed=function(Ie){this.lexer=new zs(Ie,this.settings)},he.switchMode=function(Ie){this.mode=Ie},he.beginGroup=function(){this.macros.beginGroup()},he.endGroup=function(){this.macros.endGroup()},he.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},he.popToken=function(){return this.future(),this.stack.pop()},he.pushToken=function(Ie){this.stack.push(Ie)},he.pushTokens=function(Ie){var Ye;(Ye=this.stack).push.apply(Ye,Ie)},he.consumeSpaces=function(){for(;;){var Ie=this.future();if(Ie.text===" ")this.stack.pop();else break}},he.consumeArgs=function(Ie){for(var Ye=[],_t=0;_tthis.settings.maxExpand)throw new d("Too many expansions: infinite loop or need to increase maxExpand setting");var Yt=_t.tokens;if(_t.numArgs){var Pr=this.consumeArgs(_t.numArgs);Yt=Yt.slice();for(var Yr=Yt.length-1;Yr>=0;--Yr){var yn=Yt[Yr];if(yn.text==="#"){if(Yr===0)throw new d("Incomplete placeholder at end of macro body",yn);if(yn=Yt[--Yr],yn.text==="#")Yt.splice(Yr+1,1);else if(/^[1-9]$/.test(yn.text)){var Jn;(Jn=Yt).splice.apply(Jn,[Yr,2].concat(Pr[+yn.text-1]))}else throw new d("Not a valid argument number",yn)}}}return this.pushTokens(Yt),Yt},he.expandAfterFuture=function(){return this.expandOnce(),this.future()},he.expandNextToken=function(){for(;;){var Ie=this.expandOnce();if(Ie instanceof e)if(Ie.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},he.expandMacro=function(Ie){if(!this.macros.get(Ie))return;var Ye=[],_t=this.stack.length;for(this.pushToken(new e(Ie));this.stack.length>_t;){var Yt=this.expandOnce();Yt instanceof e&&Ye.push(this.stack.pop())}return Ye},he.expandMacroAsText=function(Ie){var Ye=this.expandMacro(Ie);return Ye&&Ye.map(function(_t){return _t.text}).join("")},he._getExpansion=function(Ie){var Ye=this.macros.get(Ie);if(Ye==null)return Ye;var _t=typeof Ye=="function"?Ye(this):Ye;if(typeof _t=="string"){var Yt=0;if(_t.indexOf("#")!==-1)for(var Pr=_t.replace(/##/g,"");Pr.indexOf("#"+(Yt+1))!==-1;)++Yt;for(var Yr=new zs(_t,this.settings),yn=[],Jn=Yr.lex();Jn.text!=="EOF";)yn.push(Jn),Jn=Yr.lex();yn.reverse();var Ci={tokens:yn,numArgs:Yt};return Ci}return _t},he.isDefined=function(Ie){return this.macros.has(Ie)||us.hasOwnProperty(Ie)||ht.math.hasOwnProperty(Ie)||ht.text.hasOwnProperty(Ie)||xl.hasOwnProperty(Ie)},Lt}(),nc={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},Xl={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},Gl=function(){function Lt(Ce,Ie){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new ul(Ce,Ie,this.mode),this.settings=Ie,this.leftrightDepth=0}var he=Lt.prototype;return he.expect=function(Ie,Ye){if(Ye===void 0&&(Ye=!0),this.fetch().text!==Ie)throw new d("Expected '"+Ie+"', got '"+this.fetch().text+"'",this.fetch());Ye&&this.consume()},he.consume=function(){this.nextToken=null},he.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},he.switchMode=function(Ie){this.mode=Ie,this.gullet.switchMode(Ie)},he.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var Ie=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),Ie},he.parseExpression=function(Ie,Ye){for(var _t=[];;){this.mode==="math"&&this.consumeSpaces();var Yt=this.fetch();if(Lt.endOfExpression.indexOf(Yt.text)!==-1)break;if(Ye&&Yt.text===Ye)break;if(Ie&&us[Yt.text]&&us[Yt.text].infix)break;var Pr=this.parseAtom(Ye);if(!Pr)break;_t.push(Pr)}return this.mode==="text"&&this.formLigatures(_t),this.handleInfixNodes(_t)},he.handleInfixNodes=function(Ie){for(var Ye=-1,_t,Yt=0;Yt0&&!Ci||yn===0&&!Ci&&this.mode==="math",ga=this.parseGroupOfType("argument to '"+Ie+"'",Jn,Ci,Yt,Xi);if(!ga){if(Ci){Yr.push(null);continue}throw new d("Expected group after '"+Ie+"'",this.fetch())}(Ci?Yr:Pr).push(ga)}return{args:Pr,optArgs:Yr}},he.parseGroupOfType=function(Ie,Ye,_t,Yt,Pr){switch(Ye){case"color":return Pr&&this.consumeSpaces(),this.parseColorGroup(_t);case"size":return Pr&&this.consumeSpaces(),this.parseSizeGroup(_t);case"url":return this.parseUrlGroup(_t,Pr);case"math":case"text":return this.parseGroup(Ie,_t,Yt,void 0,Ye,Pr);case"hbox":{var Yr=this.parseGroup(Ie,_t,Yt,void 0,"text",Pr);if(!Yr)return Yr;var yn={type:"styling",mode:Yr.mode,body:[Yr],style:"text"};return yn}case"raw":{if(Pr&&this.consumeSpaces(),_t&&this.fetch().text==="{")return null;var Jn=this.parseStringGroup("raw",_t,!0);if(Jn)return{type:"raw",mode:"text",string:Jn.text};throw new d("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(Ie,_t,Yt,void 0,void 0,Pr);default:throw new d("Unknown group type as "+Ie,this.fetch())}},he.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},he.parseStringGroup=function(Ie,Ye,_t){var Yt=Ye?"[":"{",Pr=Ye?"]":"}",Yr=this.fetch();if(Yr.text!==Yt){if(Ye)return null;if(_t&&Yr.text!=="EOF"&&/[^{}[\]]/.test(Yr.text))return this.consume(),Yr}var yn=this.mode;this.mode="text",this.expect(Yt);for(var Jn="",Ci=this.fetch(),Xi=0,ga=Ci,Wa;(Wa=this.fetch()).text!==Pr||_t&&Xi>0;){switch(Wa.text){case"EOF":throw new d("Unexpected end of input in "+Ie,Ci.range(ga,Jn));case Yt:Xi++;break;case Pr:Xi--;break}ga=Wa,Jn+=ga.text,this.consume()}return this.expect(Pr),this.mode=yn,Ci.range(ga,Jn)},he.parseRegexGroup=function(Ie,Ye){var _t=this.mode;this.mode="text";for(var Yt=this.fetch(),Pr=Yt,Yr="",yn;(yn=this.fetch()).text!=="EOF"&&Ie.test(Yr+yn.text);)Pr=yn,Yr+=Pr.text,this.consume();if(Yr==="")throw new d("Invalid "+Ye+": '"+Yt.text+"'",Yt);return this.mode=_t,Yt.range(Pr,Yr)},he.parseColorGroup=function(Ie){var Ye=this.parseStringGroup("color",Ie);if(!Ye)return null;var _t=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(Ye.text);if(!_t)throw new d("Invalid color: '"+Ye.text+"'",Ye);var Yt=_t[0];return/^[0-9a-f]{6}$/i.test(Yt)&&(Yt="#"+Yt),{type:"color-token",mode:this.mode,color:Yt}},he.parseSizeGroup=function(Ie){var Ye,_t=!1;if(!Ie&&this.fetch().text!=="{"?Ye=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):Ye=this.parseStringGroup("size",Ie),!Ye)return null;!Ie&&Ye.text.length===0&&(Ye.text="0pt",_t=!0);var Yt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Ye.text);if(!Yt)throw new d("Invalid size: '"+Ye.text+"'",Ye);var Pr={number:+(Yt[1]+Yt[2]),unit:Yt[3]};if(!Dr(Pr))throw new d("Invalid unit: '"+Pr.unit+"'",Ye);return{type:"size",mode:this.mode,value:Pr,isBlank:_t}},he.parseUrlGroup=function(Ie,Ye){this.gullet.lexer.setCatcode("%",13);var _t=this.parseStringGroup("url",Ie,!0);if(this.gullet.lexer.setCatcode("%",14),!_t)return null;var Yt=_t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Yt}},he.parseGroup=function(Ie,Ye,_t,Yt,Pr,Yr){var yn=this.mode;Pr&&this.switchMode(Pr),Yr&&this.consumeSpaces();var Jn=this.fetch(),Ci=Jn.text,Xi;if(Ye?Ci==="[":Ci==="{"||Ci==="\\begingroup"){this.consume();var ga=Lt.endOfGroup[Ci];this.gullet.beginGroup();var Wa=this.parseExpression(!1,ga),go=this.fetch();this.expect(ga),this.gullet.endGroup(),Xi={type:"ordgroup",mode:this.mode,loc:t.range(Jn,go),body:Wa,semisimple:Ci==="\\begingroup"||void 0}}else if(Ye)Xi=null;else if(Xi=this.parseFunction(Yt,Ie,_t)||this.parseSymbol(),Xi==null&&Ci[0]==="\\"&&!xl.hasOwnProperty(Ci)){if(this.settings.throwOnError)throw new d("Undefined control sequence: "+Ci,Jn);Xi=this.formatUnsupportedCmd(Ci),this.consume()}return Pr&&this.switchMode(yn),Xi},he.formLigatures=function(Ie){for(var Ye=Ie.length-1,_t=0;_t=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+Ye[0]+'" used in math mode',Ie);var yn=ht[this.mode][Ye].group,Jn=t.range(Ie),Ci;if(Kt.hasOwnProperty(yn)){var Xi=yn;Ci={type:"atom",mode:this.mode,family:Xi,loc:Jn,text:Ye}}else Ci={type:yn,mode:this.mode,loc:Jn,text:Ye};Yr=Ci}else if(Ye.charCodeAt(0)>=128)this.settings.strict&&(q(Ye.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+Ye[0]+'" used in math mode',Ie):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+Ye[0]+'"'+(" ("+Ye.charCodeAt(0)+")"),Ie)),Yr={type:"textord",mode:"text",loc:t.range(Ie),text:Ye};else return null;if(this.consume(),Pr)for(var ga=0;ga-p}function y(G,V){var q=V?G.textFill:G.fill;return q!=null&&q!==s}function w(G,V){var q=V?G.textStroke:G.stroke;return q!=null&&q!==s}function S(G,V){V&&_(G,"transform","matrix("+n.call(V,",")+")")}function _(G,V,q){(!q||q.type!=="linear"&&q.type!=="radial")&&G.setAttribute(V,q)}function I(G,V,q){G.setAttributeNS("http://www.w3.org/1999/xlink",V,q)}function C(G,V,q,re){if(y(V,q)){var ce=q?V.textFill:V.fill;ce=ce==="transparent"?s:ce,_(G,"fill",ce),_(G,"fill-opacity",V.fillOpacity!=null?V.fillOpacity*V.opacity:V.opacity)}else _(G,"fill",s);if(w(V,q)){var ie=q?V.textStroke:V.stroke;ie=ie==="transparent"?s:ie,_(G,"stroke",ie);var fe=q?V.textStrokeWidth:V.lineWidth,xe=!q&&V.strokeNoScale?re.getLineScale():1;_(G,"stroke-width",fe/xe),_(G,"paint-order",q?"stroke":"fill"),_(G,"stroke-opacity",V.strokeOpacity!=null?V.strokeOpacity:V.opacity);var Se=V.lineDash;Se?(_(G,"stroke-dasharray",V.lineDash.join(",")),_(G,"stroke-dashoffset",c(V.lineDashOffset||0))):_(G,"stroke-dasharray",""),V.lineCap&&_(G,"stroke-linecap",V.lineCap),V.lineJoin&&_(G,"stroke-linejoin",V.lineJoin),V.miterLimit&&_(G,"stroke-miterlimit",V.miterLimit)}else _(G,"stroke",s)}function E(G){for(var V=[],q=G.data,re=G.len(),ce=0;ce=o:-ue>=o),te=ue>0?ue%o:ue%o+o,we=!1;Y?we=!0:v(Z)?we=!1:we=te>=r===!!ae;var pe=g(Se+ge*u(ee)),De=g(ke+Be*i(ee));Y&&(ae?ue=o-1e-4:ue=-o+1e-4,we=!0,ce===9&&V.push("M",pe,De));var Ne=g(Se+ge*u(ee+ue)),me=g(ke+Be*i(ee+ue));V.push("A",g(ge),g(Be),c(Ge*h),+we,+ae,Ne,me);break;case a.Z:fe="Z";break;case a.R:var Ne=g(q[ce++]),me=g(q[ce++]),be=g(q[ce++]),Re=g(q[ce++]);V.push("M",Ne,me,"L",Ne+be,me,"L",Ne+be,me+Re,"L",Ne,me+Re,"L",Ne,me);break}fe&&V.push(fe);for(var it=0;itpt){for(;it0?"-".concat(w):w,F=!!_,H=d()(S,O,"".concat(O,"-").concat(v),(r={},f()(r,"".concat(O,"-with-text"),F),f()(r,"".concat(O,"-with-text").concat(M),F),f()(r,"".concat(O,"-dashed"),!!I),f()(r,"".concat(O,"-plain"),!!C),f()(r,"".concat(O,"-rtl"),h==="rtl"),r));return t.createElement("div",b()({className:H},E,{role:"separator"}),_&&t.createElement("span",{className:"".concat(O,"-inner-text")},_))})};R.a=s},PD8m:function(j,R){j.exports={name:"memoryStorage",read:x,write:b,each:A,remove:f,clearAll:t};var l={};function x(e){return l[e]}function b(e,m){l[e]=m}function A(e){for(var m in l)l.hasOwnProperty(m)&&e(l[m],m)}function f(e){delete l[e]}function t(e){l={}}},PEeC:function(j,R,l){"use strict";l.d(R,"a",function(){return t}),l.d(R,"b",function(){return e});var x=l("RIqP"),b=l.n(x),A=l("xEkU"),f=l.n(A);function t(m){var d,a=function(c){return function(){d=null,m.apply(void 0,b()(c))}},n=function(){if(d==null){for(var c=arguments.length,i=new Array(c),u=0;u0),f()(J,"".concat(z,"-rtl"),k==="rtl"),J),W);return r.createElement(y.Provider,{value:{siderHook:B.getSiderHook()}},r.createElement(V,e()({className:re},q),P))},B}return n()(H,[{key:"getSiderHook",value:function(){var X=this;return{addSider:function(k){X.setState(function(K){return{siders:[].concat(b()(K.siders),[k])}})},removeSider:function(k){X.setState(function(K){return{siders:K.siders.filter(function(z){return z!==k})}})}}}},{key:"render",value:function(){return r.createElement(g.a,null,this.renderComponent)}}]),H}(r.Component),I=w({suffixCls:"layout",tagName:"section",displayName:"Layout"})(_),C=w({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(S),E=w({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(S),O=w({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(S);I.Header=C,I.Footer=E,I.Content=O,R.b=I},PNag:function(j,R,l){var x=l("bYtY"),b=l("SKnc"),A=l("YH21"),f=l("crZl"),t=l("IwbS"),e=l("OELB"),m=l("72pK"),d=l("y7Aq"),a=l("4NO4"),n=e.linearMap,s=x.each,c=Math.min,i=Math.max,u=12,r=6,o=f.extend({type:"visualMap.continuous",init:function(){o.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(_,I,C,E){(!E||E.type!=="selectDataRange"||E.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var _=this.visualMapModel,I=this.group;this._orient=_.get("orient"),this._useHandle=_.get("calculable"),this._resetInterval(),this._renderBar(I);var C=_.get("text");this._renderEndsText(I,C,0),this._renderEndsText(I,C,1),this._updateView(!0),this.renderBackground(I),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(I)},_renderEndsText:function(_,I,C){if(!I)return;var E=I[1-C];E=E!=null?E+"":"";var O=this.visualMapModel,M=O.get("textGap"),F=O.itemSize,H=this._shapes.barGroup,B=this._applyTransform([F[0]/2,C===0?-M:F[1]+M],H),X=this._applyTransform(C===0?"bottom":"top",H),J=this._orient,k=this.visualMapModel.textStyleModel;this.group.add(new t.Text({style:{x:B[0],y:B[1],textVerticalAlign:J==="horizontal"?"middle":X,textAlign:J==="horizontal"?X:"center",text:E,textFont:k.getFont(),textFill:k.getTextColor()}}))},_renderBar:function(_){var I=this.visualMapModel,C=this._shapes,E=I.itemSize,O=this._orient,M=this._useHandle,F=d.getItemAlign(I,this.api,E),H=C.barGroup=this._createBarGroup(F);H.add(C.outOfRange=h()),H.add(C.inRange=h(null,M?w(this._orient):null,x.bind(this._dragHandle,this,"all",!1),x.bind(this._dragHandle,this,"all",!0)));var B=I.textStyleModel.getTextRect("\u56FD"),X=i(B.width,B.height);M&&(C.handleThumbs=[],C.handleLabels=[],C.handleLabelPoints=[],this._createHandle(H,0,E,X,O,F),this._createHandle(H,1,E,X,O,F)),this._createIndicator(H,E,X,O),_.add(H)},_createHandle:function(_,I,C,E,O){var M=x.bind(this._dragHandle,this,I,!1),F=x.bind(this._dragHandle,this,I,!0),H=h(p(I,E),w(this._orient),M,F);H.position[0]=C[0],_.add(H);var B=this.visualMapModel.textStyleModel,X=new t.Text({draggable:!0,drift:M,onmousemove:function(K){A.stop(K.event)},ondragend:F,style:{x:0,y:0,text:"",textFont:B.getFont(),textFill:B.getTextColor()}});this.group.add(X);var J=[O==="horizontal"?E/2:E*1.5,O==="horizontal"?I===0?-(E*1.5):E*1.5:I===0?-E/2:E/2],k=this._shapes;k.handleThumbs[I]=H,k.handleLabelPoints[I]=J,k.handleLabels[I]=X},_createIndicator:function(_,I,C,E){var O=h([[0,0]],"move");O.position[0]=I[0],O.attr({invisible:!0,silent:!0}),_.add(O);var M=this.visualMapModel.textStyleModel,F=new t.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:M.getFont(),textFill:M.getTextColor()}});this.group.add(F);var H=[E==="horizontal"?C/2:r+3,0],B=this._shapes;B.indicator=O,B.indicatorLabel=F,B.indicatorLabelPoint=H},_dragHandle:function(_,I,C,E){if(!this._useHandle)return;if(this._dragging=!I,!I){var O=this._applyTransform([C,E],this._shapes.barGroup,!0);this._updateInterval(_,O[1]),this._updateView()}I===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),I?!this._hovering&&this._clearHoverLinkToSeries():y(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[_],!1)},_resetInterval:function(){var _=this.visualMapModel,I=this._dataInterval=_.getSelected(),C=_.getExtent(),E=[0,_.itemSize[1]];this._handleEnds=[n(I[0],C,E,!0),n(I[1],C,E,!0)]},_updateInterval:function(_,I){I=I||0;var C=this.visualMapModel,E=this._handleEnds,O=[0,C.itemSize[1]];m(I,E,O,_,0);var M=C.getExtent();this._dataInterval=[n(E[0],O,M,!0),n(E[1],O,M,!0)]},_updateView:function(_){var I=this.visualMapModel,C=I.getExtent(),E=this._shapes,O=[0,I.itemSize[1]],M=_?O:this._handleEnds,F=this._createBarVisual(this._dataInterval,C,M,"inRange"),H=this._createBarVisual(C,C,O,"outOfRange");E.inRange.setStyle({fill:F.barColor,opacity:F.opacity}).setShape("points",F.barPoints),E.outOfRange.setStyle({fill:H.barColor,opacity:H.opacity}).setShape("points",H.barPoints),this._updateHandle(M,F)},_createBarVisual:function(_,I,C,E){var O={forceState:E,convertOpacityToAlpha:!0},M=this._makeColorGradient(_,O),F=[this.getControllerVisual(_[0],"symbolSize",O),this.getControllerVisual(_[1],"symbolSize",O)],H=this._createBarPoints(C,F);return{barColor:new b(0,0,0,1,M),barPoints:H,handlesColor:[M[0].color,M[M.length-1].color]}},_makeColorGradient:function(_,I){var C=100,E=[],O=(_[1]-_[0])/C;E.push({color:this.getControllerVisual(_[0],"color",I),offset:0});for(var M=1;M_[1])break;E.push({color:this.getControllerVisual(F,"color",I),offset:M/C})}return E.push({color:this.getControllerVisual(_[1],"color",I),offset:1}),E},_createBarPoints:function(_,I){var C=this.visualMapModel.itemSize;return[[C[0]-I[0],_[0]],[C[0],_[0]],[C[0],_[1]],[C[0]-I[1],_[1]]]},_createBarGroup:function(_){var I=this._orient,C=this.visualMapModel.get("inverse");return new t.Group(I==="horizontal"&&!C?{scale:_==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:I==="horizontal"&&C?{scale:_==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:I==="vertical"&&!C?{scale:_==="left"?[1,-1]:[-1,-1]}:{scale:_==="left"?[1,1]:[-1,1]})},_updateHandle:function(_,I){if(!this._useHandle)return;var C=this._shapes,E=this.visualMapModel,O=C.handleThumbs,M=C.handleLabels;s([0,1],function(F){var H=O[F];H.setStyle("fill",I.handlesColor[F]),H.position[1]=_[F];var B=t.applyTransform(C.handleLabelPoints[F],t.getTransform(H,this.group));M[F].setStyle({x:B[0],y:B[1],text:E.formatValueText(this._dataInterval[F]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?F===0?"bottom":"top":"left",C.barGroup)})},this)},_showIndicator:function(_,I,C,E){var O=this.visualMapModel,M=O.getExtent(),F=O.itemSize,H=[0,F[1]],B=n(_,M,H,!0),X=this._shapes,J=X.indicator;if(!J)return;J.position[1]=B,J.attr("invisible",!1),J.setShape("points",g(!!C,E,B,F[1]));var k={convertOpacityToAlpha:!0},K=this.getControllerVisual(_,"color",k);J.setStyle("fill",K);var z=t.applyTransform(X.indicatorLabelPoint,t.getTransform(J,this.group)),W=X.indicatorLabel;W.attr("invisible",!1);var P=this._applyTransform("left",X.barGroup),G=this._orient;W.setStyle({text:(C||"")+O.formatValueText(I),textVerticalAlign:G==="horizontal"?P:"middle",textAlign:G==="horizontal"?"center":P,x:z[0],y:z[1]})},_enableHoverLinkToSeries:function(){var _=this;this._shapes.barGroup.on("mousemove",function(I){if(_._hovering=!0,!_._dragging){var C=_.visualMapModel.itemSize,E=_._applyTransform([I.offsetX,I.offsetY],_._shapes.barGroup,!0,!0);E[1]=c(i(0,E[1]),C[1]),_._doHoverLinkToSeries(E[1],0<=E[0]&&E[0]<=C[0])}}).on("mouseout",function(){_._hovering=!1,!_._dragging&&_._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var _=this.api.getZr();this.visualMapModel.option.hoverLink?(_.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),_.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(_,I){var C=this.visualMapModel,E=C.itemSize;if(!C.option.hoverLink)return;var O=[0,E[1]],M=C.getExtent();_=c(i(O[0],_),O[1]);var F=v(C,M,O),H=[_-F,_+F],B=n(_,O,M,!0),X=[n(H[0],O,M,!0),n(H[1],O,M,!0)];H[0]O[1]&&(X[1]=Infinity),I&&(X[0]===-Infinity?this._showIndicator(B,X[1],"< ",F):X[1]===Infinity?this._showIndicator(B,X[0],"> ",F):this._showIndicator(B,B,"\u2248 ",F));var J=this._hoverLinkDataIndices,k=[];(I||y(C))&&(k=this._hoverLinkDataIndices=C.findTargetDataIndices(X));var K=a.compressBatches(J,k);this._dispatchHighDown("downplay",d.makeHighDownBatch(K[0],C)),this._dispatchHighDown("highlight",d.makeHighDownBatch(K[1],C))},_hoverLinkFromSeriesMouseOver:function(_){var I=_.target,C=this.visualMapModel;if(!I||I.dataIndex==null)return;var E=this.ecModel.getSeriesByIndex(I.seriesIndex);if(!C.isTargetSeries(E))return;var O=E.getData(I.dataType),M=O.get(C.getDataDimension(O),I.dataIndex,!0);isNaN(M)||this._showIndicator(M,M)},_hideIndicator:function(){var _=this._shapes;_.indicator&&_.indicator.attr("invisible",!0),_.indicatorLabel&&_.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var _=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",d.makeHighDownBatch(_,this.visualMapModel)),_.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var _=this.api.getZr();_.off("mouseover",this._hoverLinkFromSeriesMouseOver),_.off("mouseout",this._hideIndicator)},_applyTransform:function(_,I,C,E){var O=t.getTransform(I,E?null:this.group);return t[x.isArray(_)?"applyTransform":"transformDirection"](_,O,C)},_dispatchHighDown:function(_,I){I&&I.length&&this.api.dispatchAction({type:_,batch:I})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function h(_,I,C,E){return new t.Polygon({shape:{points:_},draggable:!!C,cursor:I,drift:C,onmousemove:function(O){A.stop(O.event)},ondragend:E})}function p(_,I){return _===0?[[0,0],[I,0],[I,-I]]:[[0,0],[I,0],[I,I]]}function g(_,I,C,E){return _?[[0,-c(I,i(C,0))],[r,0],[0,c(I,i(E-C,0))]]:[[0,0],[5,-5],[5,5]]}function v(_,I,C){var E=u/2,O=_.get("hoverLinkDataSize");return O&&(E=n(O,I,C,!0)/2),E}function y(_){var I=_.get("hoverLinkOnHandle");return!!(I==null?_.get("realtime"):I)}function w(_){return _==="vertical"?"ns-resize":"ew-resize"}var S=o;j.exports=S},PQMj:function(j,R,l){},PSzr:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};R.default=x},ProS:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("aX58"),f=l("bYtY"),t=l("Qe9p"),e=l("ItGF"),m=l("BPZU"),d=l("H6uX"),a=l("fmMI"),n=l("hD7B"),s=l("IDmD"),c=l("ypgQ"),i=l("+wW9"),u=l("0V0F"),r=l("bLfw"),o=l("T4UG"),h=l("sS/r"),p=l("6Ic6"),g=l("IwbS"),v=l("4NO4"),y=l("iLNv"),w=y.throttle,S=l("/WM3"),_=l("uAnK"),I=l("mYwL"),C=l("af/B"),E=l("xTNl"),O=l("8hn6");l("A1Ka");var M=l("7DRL"),F=f.assert,H=f.each,B=f.isFunction,X=f.isObject,J=r.parseClassType,k="4.8.0",K={zrender:"4.3.1"},z=1,W=1e3,P=800,G=900,V=5e3,q=1e3,re=1100,ce=2e3,ie=3e3,fe=3500,xe=4e3,Se=5e3,ke={PROCESSOR:{FILTER:W,SERIES_FILTER:P,STATISTIC:V},VISUAL:{LAYOUT:q,PROGRESSIVE_LAYOUT:re,GLOBAL:ce,CHART:ie,POST_CHART_LAYOUT:fe,COMPONENT:xe,BRUSH:Se}},ge="__flagInMainProcess",Be="__optionUpdated",ee=/^[a-zA-Z0-9_]+$/;function ue(Dt,tr){return function(Dr,dr,Tr){if(!tr&&this._disposed){Ut(this.id);return}Dr=Dr&&Dr.toLowerCase(),d.prototype[Dt].call(this,Dr,dr,Tr)}}function Ge(){d.call(this)}Ge.prototype.on=ue("on",!0),Ge.prototype.off=ue("off",!0),Ge.prototype.one=ue("one",!0),f.mixin(Ge,d);function ae(Dt,tr,Dr){Dr=Dr||{},typeof tr=="string"&&(tr=He[tr]),this.id,this.group,this._dom=Dt;var dr="canvas",Tr=this._zr=A.init(Dt,{renderer:Dr.renderer||dr,devicePixelRatio:Dr.devicePixelRatio,width:Dr.width,height:Dr.height});this._throttledZrFlush=w(f.bind(Tr.flush,Tr),17);var tr=f.clone(tr);tr&&i(tr,!0),this._theme=tr,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new s;var vn=this._api=ht(this);function on(Gn,di){return Gn.__prio-di.__prio}m(jt,on),m(rt,on),this._scheduler=new C(this,vn,rt,jt),d.call(this,this._ecEventProcessor=new Ee),this._messageCenter=new Ge,this._initEvents(),this.resize=f.bind(this.resize,this),this._pendingActions=[],Tr.animation.on("frame",this._onframe,this),Re(Tr,this),f.setAsPrimitive(this)}var Z=ae.prototype;Z._onframe=function(){if(this._disposed)return;var Dt=this._scheduler;if(this[Be]){var tr=this[Be].silent;this[ge]=!0,we(this),te.update.call(this),this[ge]=!1,this[Be]=!1,me.call(this,tr),be.call(this,tr)}else if(Dt.unfinished){var Dr=z,dr=this._model,Tr=this._api;Dt.unfinished=!1;do{var vn=+new Date;Dt.performSeriesTasks(dr),Dt.performDataProcessorTasks(dr),De(this,dr),Dt.performVisualTasks(dr),Nt(this,this._model,Tr,"remain"),Dr-=+new Date-vn}while(Dr>0&&Dt.unfinished);Dt.unfinished||this._zr.flush()}},Z.getDom=function(){return this._dom},Z.getZr=function(){return this._zr},Z.setOption=function(Dt,tr,Dr){if(this._disposed){Ut(this.id);return}var dr;if(X(tr)&&(Dr=tr.lazyUpdate,dr=tr.silent,tr=tr.notMerge),this[ge]=!0,!this._model||tr){var Tr=new c(this._api),vn=this._theme,on=this._model=new a;on.scheduler=this._scheduler,on.init(null,null,vn,Tr)}this._model.setOption(Dt,ve),Dr?(this[Be]={silent:dr},this[ge]=!1):(we(this),te.update.call(this),this._zr.flush(),this[Be]=!1,this[ge]=!1,me.call(this,dr),be.call(this,dr))},Z.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},Z.getModel=function(){return this._model},Z.getOption=function(){return this._model&&this._model.getOption()},Z.getWidth=function(){return this._zr.getWidth()},Z.getHeight=function(){return this._zr.getHeight()},Z.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},Z.getRenderedCanvas=function(Dt){if(!e.canvasSupported)return;Dt=Dt||{},Dt.pixelRatio=Dt.pixelRatio||1,Dt.backgroundColor=Dt.backgroundColor||this._model.get("backgroundColor");var tr=this._zr;return tr.painter.getRenderedCanvas(Dt)},Z.getSvgDataURL=function(){if(!e.svgSupported)return;var Dt=this._zr,tr=Dt.storage.getDisplayList();return f.each(tr,function(Dr){Dr.stopAnimation(!0)}),Dt.painter.toDataURL()},Z.getDataURL=function(Dt){if(this._disposed){Ut(this.id);return}Dt=Dt||{};var tr=Dt.excludeComponents,Dr=this._model,dr=[],Tr=this;H(tr,function(on){Dr.eachComponent({mainType:on},function(Gn){var di=Tr._componentsMap[Gn.__viewId];di.group.ignore||(dr.push(di),di.group.ignore=!0)})});var vn=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(Dt).toDataURL("image/"+(Dt&&Dt.type||"png"));return H(dr,function(on){on.group.ignore=!1}),vn},Z.getConnectedDataURL=function(Dt){if(this._disposed){Ut(this.id);return}if(!e.canvasSupported)return;var tr=Dt.type==="svg",Dr=this.group,dr=Math.min,Tr=Math.max,vn=Infinity;if(at[Dr]){var on=vn,Gn=vn,di=-vn,Ti=-vn,Fi=[],la=Dt&&Dt.pixelRatio||1;f.each(Ar,function(st,nt){if(st.group===Dr){var ft=tr?st.getZr().painter.getSvgDom().innerHTML:st.getRenderedCanvas(f.clone(Dt)),Bt=st.getDom().getBoundingClientRect();on=dr(Bt.left,on),Gn=dr(Bt.top,Gn),di=Tr(Bt.right,di),Ti=Tr(Bt.bottom,Ti),Fi.push({dom:ft,left:Bt.left,top:Bt.top})}}),on*=la,Gn*=la,di*=la,Ti*=la;var Ta=di-on,dt=Ti-Gn,Me=f.createCanvas(),Xe=A.init(Me,{renderer:tr?"svg":"canvas"});if(Xe.resize({width:Ta,height:dt}),tr){var Qe="";return H(Fi,function(st){var nt=st.left-on,ft=st.top-Gn;Qe+=''+st.dom+""}),Xe.painter.getSvgRoot().innerHTML=Qe,Dt.connectedBackgroundColor&&Xe.painter.setBackgroundColor(Dt.connectedBackgroundColor),Xe.refreshImmediately(),Xe.painter.toDataURL()}else return Dt.connectedBackgroundColor&&Xe.add(new g.Rect({shape:{x:0,y:0,width:Ta,height:dt},style:{fill:Dt.connectedBackgroundColor}})),H(Fi,function(st){var nt=new g.Image({style:{x:st.left*la-on,y:st.top*la-Gn,image:st.dom}});Xe.add(nt)}),Xe.refreshImmediately(),Me.toDataURL("image/"+(Dt&&Dt.type||"png"))}else return this.getDataURL(Dt)},Z.convertToPixel=f.curry(Y,"convertToPixel"),Z.convertFromPixel=f.curry(Y,"convertFromPixel");function Y(Dt,tr,Dr){if(this._disposed){Ut(this.id);return}var dr=this._model,Tr=this._coordSysMgr.getCoordinateSystems(),vn;tr=v.parseFinder(dr,tr);for(var on=0;on=0&&f.each(Tr,function(on){var Gn=on.coordinateSystem;if(Gn&&Gn.containPoint)dr|=!!Gn.containPoint(tr);else if(vn==="seriesModels"){var di=this._chartsMap[on.__viewId];di&&di.containPoint&&(dr|=di.containPoint(tr,on))}},this)},this),!!dr},Z.getVisual=function(Dt,tr){var Dr=this._model;Dt=v.parseFinder(Dr,Dt,{defaultMainType:"series"});var dr=Dt.seriesModel,Tr=dr.getData(),vn=Dt.hasOwnProperty("dataIndexInside")?Dt.dataIndexInside:Dt.hasOwnProperty("dataIndex")?Tr.indexOfRawIndex(Dt.dataIndex):null;return vn!=null?Tr.getItemVisual(vn,tr):Tr.getVisual(tr)},Z.getViewOfComponentModel=function(Dt){return this._componentsMap[Dt.__viewId]},Z.getViewOfSeriesModel=function(Dt){return this._chartsMap[Dt.__viewId]};var te={prepareAndUpdate:function(Dt){we(this),te.update.call(this,Dt)},update:function(Dt){var tr=this._model,Dr=this._api,dr=this._zr,Tr=this._coordSysMgr,vn=this._scheduler;if(!tr)return;vn.restoreData(tr,Dt),vn.performSeriesTasks(tr),Tr.create(tr,Dr),vn.performDataProcessorTasks(tr,Dt),De(this,tr),Tr.update(tr,Dr),yt(tr),vn.performVisualTasks(tr,Dt),pt(this,tr,Dr,Dt);var on=tr.get("backgroundColor")||"transparent";if(e.canvasSupported)dr.setBackgroundColor(on);else{var Gn=t.parse(on);on=t.stringify(Gn,"rgb"),Gn[3]===0&&(on="transparent")}ut(tr,Dr)},updateTransform:function(Dt){var tr=this._model,Dr=this,dr=this._api;if(!tr)return;var Tr=[];tr.eachComponent(function(on,Gn){var di=Dr.getViewOfComponentModel(Gn);if(di&&di.__alive)if(di.updateTransform){var Ti=di.updateTransform(Gn,tr,dr,Dt);Ti&&Ti.update&&Tr.push(di)}else Tr.push(di)});var vn=f.createHashMap();tr.eachSeries(function(on){var Gn=Dr._chartsMap[on.__viewId];if(Gn.updateTransform){var di=Gn.updateTransform(on,tr,dr,Dt);di&&di.update&&vn.set(on.uid,1)}else vn.set(on.uid,1)}),yt(tr),this._scheduler.performVisualTasks(tr,Dt,{setDirty:!0,dirtyMap:vn}),Nt(Dr,tr,dr,Dt,vn),ut(tr,this._api)},updateView:function(Dt){var tr=this._model;if(!tr)return;p.markUpdateMethod(Dt,"updateView"),yt(tr),this._scheduler.performVisualTasks(tr,Dt,{setDirty:!0}),pt(this,this._model,this._api,Dt),ut(tr,this._api)},updateVisual:function(Dt){te.update.call(this,Dt)},updateLayout:function(Dt){te.update.call(this,Dt)}};function we(Dt){var tr=Dt._model,Dr=Dt._scheduler;Dr.restorePipelines(tr),Dr.prepareStageTasks(),it(Dt,"component",tr,Dr),it(Dt,"chart",tr,Dr),Dr.plan()}function pe(Dt,tr,Dr,dr,Tr){var vn=Dt._model;if(!dr){H(Dt._componentsViews.concat(Dt._chartsViews),Ti);return}var on={};on[dr+"Id"]=Dr[dr+"Id"],on[dr+"Index"]=Dr[dr+"Index"],on[dr+"Name"]=Dr[dr+"Name"];var Gn={mainType:dr,query:on};Tr&&(Gn.subType=Tr);var di=Dr.excludeSeriesId;di!=null&&(di=f.createHashMap(v.normalizeToArray(di))),vn&&vn.eachComponent(Gn,function(Fi){(!di||di.get(Fi.id)==null)&&Ti(Dt[dr==="series"?"_chartsMap":"_componentsMap"][Fi.__viewId])},Dt);function Ti(Fi){Fi&&Fi.__alive&&Fi[tr]&&Fi[tr](Fi.__model,vn,Dt._api,Dr)}}Z.resize=function(Dt){if(this._disposed){Ut(this.id);return}this._zr.resize(Dt);var tr=this._model;if(this._loadingFX&&this._loadingFX.resize(),!tr)return;var Dr=tr.resetOption("media"),dr=Dt&&Dt.silent;this[ge]=!0,Dr&&we(this),te.update.call(this),this[ge]=!1,me.call(this,dr),be.call(this,dr)};function De(Dt,tr){var Dr=Dt._chartsMap,dr=Dt._scheduler;tr.eachSeries(function(Tr){dr.updateStreamModes(Tr,Dr[Tr.__viewId])})}Z.showLoading=function(Dt,tr){if(this._disposed){Ut(this.id);return}if(X(Dt)&&(tr=Dt,Dt=""),Dt=Dt||"default",this.hideLoading(),!kt[Dt])return;var Dr=kt[Dt](this._api,tr),dr=this._zr;this._loadingFX=Dr,dr.add(Dr)},Z.hideLoading=function(){if(this._disposed){Ut(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},Z.makeActionFromEvent=function(Dt){var tr=f.extend({},Dt);return tr.type=qe[Dt.type],tr},Z.dispatchAction=function(Dt,tr){if(this._disposed){Ut(this.id);return}if(X(tr)||(tr={silent:!!tr}),!de[Dt.type])return;if(!this._model)return;if(this[ge]){this._pendingActions.push(Dt);return}Ne.call(this,Dt,tr.silent),tr.flush?this._zr.flush(!0):tr.flush!==!1&&e.browser.weChat&&this._throttledZrFlush(),me.call(this,tr.silent),be.call(this,tr.silent)};function Ne(Dt,tr){var Dr=Dt.type,dr=Dt.escapeConnect,Tr=de[Dr],vn=Tr.actionInfo,on=(vn.update||"update").split(":"),Gn=on.pop();on=on[0]!=null&&J(on[0]),this[ge]=!0;var di=[Dt],Ti=!1;Dt.batch&&(Ti=!0,di=f.map(Dt.batch,function(dt){return dt=f.defaults(f.extend({},dt),Dt),dt.batch=null,dt}));var Fi=[],la,Ta=Dr==="highlight"||Dr==="downplay";H(di,function(dt){la=Tr.action(dt,this._model,this._api),la=la||f.extend({},dt),la.type=vn.event||la.type,Fi.push(la),Ta?pe(this,Gn,dt,"series"):on&&pe(this,Gn,dt,on.main,on.sub)},this),Gn!=="none"&&!Ta&&!on&&(this[Be]?(we(this),te.update.call(this,Dt),this[Be]=!1):te[Gn].call(this,Dt)),Ti?la={type:vn.event||Dr,escapeConnect:dr,batch:Fi}:la=Fi[0],this[ge]=!1,!tr&&this._messageCenter.trigger(la.type,la)}function me(Dt){for(var tr=this._pendingActions;tr.length;){var Dr=tr.shift();Ne.call(this,Dr,Dt)}}function be(Dt){!Dt&&this.trigger("updated")}function Re(Dt,tr){Dt.on("rendered",function(){tr.trigger("rendered"),Dt.animation.isFinished()&&!tr[Be]&&!tr._scheduler.unfinished&&!tr._pendingActions.length&&tr.trigger("finished")})}Z.appendData=function(Dt){if(this._disposed){Ut(this.id);return}var tr=Dt.seriesIndex,Dr=this.getModel(),dr=Dr.getSeriesByIndex(tr);dr.appendData(Dt),this._scheduler.unfinished=!0},Z.on=ue("on",!1),Z.off=ue("off",!1),Z.one=ue("one",!1);function it(Dt,tr,Dr,dr){for(var Tr=tr==="component",vn=Tr?Dt._componentsViews:Dt._chartsViews,on=Tr?Dt._componentsMap:Dt._chartsMap,Gn=Dt._zr,di=Dt._api,Ti=0;Titr.get("hoverLayerThreshold")&&!e.node&&tr.eachSeries(function(vn){if(vn.preventUsingHoverLayer)return;var on=Dt._chartsMap[vn.__viewId];on.__alive&&on.group.traverse(function(Gn){Gn.useHoverLayer=!0})})}function $t(Dt,tr){var Dr=Dt.get("blendMode")||null;tr.group.traverse(function(dr){dr.isGroup||dr.style.blend!==Dr&&dr.setStyle("blend",Dr),dr.eachPendingDisplayable&&dr.eachPendingDisplayable(function(Tr){Tr.setStyle("blend",Dr)})})}function or(Dt,tr){var Dr=Dt.get("z"),dr=Dt.get("zlevel");tr.group.traverse(function(Tr){Tr.type!=="group"&&(Dr!=null&&(Tr.z=Dr),dr!=null&&(Tr.zlevel=dr))})}function ht(Dt){var tr=Dt._coordSysMgr;return f.extend(new n(Dt),{getCoordinateSystems:f.bind(tr.getCoordinateSystems,tr),getComponentByElement:function(Dr){for(;Dr;){var dr=Dr.__ecComponentInfo;if(dr!=null)return Dt._model.getComponent(dr.mainType,dr.index);Dr=Dr.parent}}})}function Ee(){this.eventInfo}Ee.prototype={constructor:Ee,normalizeQuery:function(Dt){var tr={},Dr={},dr={};if(f.isString(Dt)){var Tr=J(Dt);tr.mainType=Tr.main||null,tr.subType=Tr.sub||null}else{var vn=["Index","Name","Id"],on={name:1,dataIndex:1,dataType:1};f.each(Dt,function(Gn,di){for(var Ti=!1,Fi=0;Fi0&&Ta===di.length-la.length){var dt=di.slice(0,Ta);dt!=="data"&&(tr.mainType=dt,tr[la.toLowerCase()]=Gn,Ti=!0)}}on.hasOwnProperty(di)&&(Dr[di]=Gn,Ti=!0),Ti||(dr[di]=Gn)})}return{cptQuery:tr,dataQuery:Dr,otherQuery:dr}},filter:function(Dt,tr,Dr){var dr=this.eventInfo;if(!dr)return!0;var Tr=dr.targetEl,vn=dr.packedEvent,on=dr.model,Gn=dr.view;if(!on||!Gn)return!0;var di=tr.cptQuery,Ti=tr.dataQuery;return Fi(di,on,"mainType")&&Fi(di,on,"subType")&&Fi(di,on,"index","componentIndex")&&Fi(di,on,"name")&&Fi(di,on,"id")&&Fi(Ti,vn,"name")&&Fi(Ti,vn,"dataIndex")&&Fi(Ti,vn,"dataType")&&(!Gn.filterForExposedEvent||Gn.filterForExposedEvent(Dt,tr.otherQuery,Tr,vn));function Fi(la,Ta,dt,Me){return la[dt]==null||Ta[Me||dt]===la[dt]}},afterTrigger:function(){this.eventInfo=null}};var de={},qe={},rt=[],ve=[],bt=[],jt=[],He={},kt={},Ar={},at={},Ht=new Date-0,Wt=new Date-0,ot="_echarts_instance_";function et(Dt){var tr=0,Dr=1,dr=2,Tr="__connectUpdateStatus";function vn(on,Gn){for(var di=0;di>>1:f>>>1;t[e]=f}return t}var b=x();function A(f,t,e,m){var d=b,a=m+e;f^=-1;for(var n=m;n>>8^d[(f^t[n])&255];return f^-1}},QbM5:function(j,R,l){},Qe9p:function(j,R,l){var x=l("1RvN"),b={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function A(E){return E=Math.round(E),E<0?0:E>255?255:E}function f(E){return E=Math.round(E),E<0?0:E>360?360:E}function t(E){return E<0?0:E>1?1:E}function e(E){return E.length&&E.charAt(E.length-1)==="%"?A(parseFloat(E)/100*255):A(parseInt(E,10))}function m(E){return E.length&&E.charAt(E.length-1)==="%"?t(parseFloat(E)/100):t(parseFloat(E))}function d(E,O,M){return M<0?M+=1:M>1&&(M-=1),M*6<1?E+(O-E)*M*6:M*2<1?O:M*3<2?E+(O-E)*(2/3-M)*6:E}function a(E,O,M){return E+(O-E)*M}function n(E,O,M,F,H){return E[0]=O,E[1]=M,E[2]=F,E[3]=H,E}function s(E,O){return E[0]=O[0],E[1]=O[1],E[2]=O[2],E[3]=O[3],E}var c=new x(20),i=null;function u(E,O){i&&s(i,O),i=c.put(E,i||O.slice())}function r(E,O){if(!E)return;O=O||[];var M=c.get(E);if(M)return s(O,M);E=E+"";var F=E.replace(/ /g,"").toLowerCase();if(F in b)return s(O,b[F]),u(E,O),O;if(F.charAt(0)==="#"){if(F.length===4){var H=parseInt(F.substr(1),16);if(!(H>=0&&H<=4095)){n(O,0,0,0,1);return}return n(O,(H&3840)>>4|(H&3840)>>8,H&240|(H&240)>>4,H&15|(H&15)<<4,1),u(E,O),O}else if(F.length===7){var H=parseInt(F.substr(1),16);if(!(H>=0&&H<=16777215)){n(O,0,0,0,1);return}return n(O,(H&16711680)>>16,(H&65280)>>8,H&255,1),u(E,O),O}return}var B=F.indexOf("("),X=F.indexOf(")");if(B!==-1&&X+1===F.length){var J=F.substr(0,B),k=F.substr(B+1,X-(B+1)).split(","),K=1;switch(J){case"rgba":if(k.length!==4){n(O,0,0,0,1);return}K=m(k.pop());case"rgb":if(k.length!==3){n(O,0,0,0,1);return}return n(O,e(k[0]),e(k[1]),e(k[2]),K),u(E,O),O;case"hsla":if(k.length!==4){n(O,0,0,0,1);return}return k[3]=m(k[3]),o(k,O),u(E,O),O;case"hsl":if(k.length!==3){n(O,0,0,0,1);return}return o(k,O),u(E,O),O;default:return}}n(O,0,0,0,1);return}function o(E,O){var M=(parseFloat(E[0])%360+360)%360/360,F=m(E[1]),H=m(E[2]),B=H<=.5?H*(F+1):H+F-H*F,X=H*2-B;return O=O||[],n(O,A(d(X,B,M+1/3)*255),A(d(X,B,M)*255),A(d(X,B,M-1/3)*255),1),E.length===4&&(O[3]=E[3]),O}function h(E){if(!E)return;var O=E[0]/255,M=E[1]/255,F=E[2]/255,H=Math.min(O,M,F),B=Math.max(O,M,F),X=B-H,J=(B+H)/2,k,K;if(X===0)k=0,K=0;else{J<.5?K=X/(B+H):K=X/(2-B-H);var z=((B-O)/6+X/2)/X,W=((B-M)/6+X/2)/X,P=((B-F)/6+X/2)/X;O===B?k=P-W:M===B?k=1/3+z-P:F===B&&(k=2/3+W-z),k<0&&(k+=1),k>1&&(k-=1)}var G=[k*360,K,J];return E[3]!=null&&G.push(E[3]),G}function p(E,O){var M=r(E);if(M){for(var F=0;F<3;F++)O<0?M[F]=M[F]*(1-O)|0:M[F]=(255-M[F])*O+M[F]|0,M[F]>255?M[F]=255:E[F]<0&&(M[F]=0);return C(M,M.length===4?"rgba":"rgb")}}function g(E){var O=r(E);if(O)return((1<<24)+(O[0]<<16)+(O[1]<<8)+ +O[2]).toString(16).slice(1)}function v(E,O,M){if(!(O&&O.length)||!(E>=0&&E<=1))return;M=M||[];var F=E*(O.length-1),H=Math.floor(F),B=Math.ceil(F),X=O[H],J=O[B],k=F-H;return M[0]=A(a(X[0],J[0],k)),M[1]=A(a(X[1],J[1],k)),M[2]=A(a(X[2],J[2],k)),M[3]=t(a(X[3],J[3],k)),M}var y=v;function w(E,O,M){if(!(O&&O.length)||!(E>=0&&E<=1))return;var F=E*(O.length-1),H=Math.floor(F),B=Math.ceil(F),X=r(O[H]),J=r(O[B]),k=F-H,K=C([A(a(X[0],J[0],k)),A(a(X[1],J[1],k)),A(a(X[2],J[2],k)),t(a(X[3],J[3],k))],"rgba");return M?{color:K,leftIndex:H,rightIndex:B,value:F}:K}var S=w;function _(E,O,M,F){if(E=r(E),E)return E=h(E),O!=null&&(E[0]=f(O)),M!=null&&(E[1]=m(M)),F!=null&&(E[2]=m(F)),C(o(E),"rgba")}function I(E,O){if(E=r(E),E&&O!=null)return E[3]=t(O),C(E,"rgba")}function C(E,O){if(!E||!E.length)return;var M=E[0]+","+E[1]+","+E[2];return(O==="rgba"||O==="hsva"||O==="hsla")&&(M+=","+E[3]),O+"("+M+")"}R.parse=r,R.lift=p,R.toHex=g,R.fastLerp=v,R.fastMapToColor=y,R.lerp=w,R.mapToColor=S,R.modifyHSL=_,R.modifyAlpha=I,R.stringify=C},Qi1f:function(j,R,l){"use strict";l.d(R,"g",function(){return u}),l.d(R,"c",function(){return r}),l.d(R,"a",function(){return h}),l.d(R,"b",function(){return p}),l.d(R,"d",function(){return g}),l.d(R,"e",function(){return v}),l.d(R,"f",function(){return w});var x=l("VTBJ"),b=l("U8pU"),A=l("u3cA"),f=l("q1tI"),t=l.n(f),e=l("Kwbf"),m=l("MNnm"),d="rc-util-key";function a(S){if(S.attachTo)return S.attachTo;var _=document.querySelector("head");return _||document.body}function n(S){var _,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(m.a)())return null;var C=document.createElement("style");if((_=I.csp)===null||_===void 0?void 0:_.nonce){var E;C.nonce=(E=I.csp)===null||E===void 0?void 0:E.nonce}C.innerHTML=S;var O=a(I),M=O.firstChild;return I.prepend&&O.prepend?O.prepend(C):I.prepend&&M?O.insertBefore(C,M):O.appendChild(C),C}var s=new Map;function c(S,_){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},C=a(I);if(!s.has(C)){var E=n("",I),O=E.parentNode;s.set(C,O),O.removeChild(E)}var M=Array.from(s.get(C).children).find(function(J){return J.tagName==="STYLE"&&J[d]===_});if(M){var F,H;if(((F=I.csp)===null||F===void 0?void 0:F.nonce)&&M.nonce!==((H=I.csp)===null||H===void 0?void 0:H.nonce)){var B;M.nonce=(B=I.csp)===null||B===void 0?void 0:B.nonce}return M.innerHTML!==S&&(M.innerHTML=S),M}var X=n(S,I);return X[d]=_,X}var i=l("Pw59");function u(S,_){Object(e.a)(S,"[@ant-design/icons] ".concat(_))}function r(S){return Object(b.a)(S)==="object"&&typeof S.name=="string"&&typeof S.theme=="string"&&(Object(b.a)(S.icon)==="object"||typeof S.icon=="function")}function o(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(S).reduce(function(_,I){var C=S[I];switch(I){case"class":_.className=C,delete _.class;break;default:_[I]=C}return _},{})}function h(S,_,I){return I?t.a.createElement(S.tag,Object(x.a)(Object(x.a)({key:_},o(S.attrs)),I),(S.children||[]).map(function(C,E){return h(C,"".concat(_,"-").concat(S.tag,"-").concat(E))})):t.a.createElement(S.tag,Object(x.a)({key:_},o(S.attrs)),(S.children||[]).map(function(C,E){return h(C,"".concat(_,"-").concat(S.tag,"-").concat(E))}))}function p(S){return Object(A.generate)(S)[0]}function g(S){return S?Array.isArray(S)?S:[S]:[]}var v={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},y=` .anticon { display: inline-block; color: inherit; @@ -495,8 +495,8 @@ M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},ee=function(){function L } } `,w=function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y,I=Object(f.useContext)(i.a),C=I.csp;Object(f.useEffect)(function(){c(_,"@ant-design-icons",{prepend:!0,csp:C})},[])}},Qs3X:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("X+im"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},Qs9O:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};R.default=x},QuXc:function(j,R){var l=function(A){this.colorStops=A||[]};l.prototype={constructor:l,addColorStop:function(A,f){this.colorStops.push({offset:A,color:f})}};var x=l;j.exports=x},Qvb6:function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("ItGF"),f=l("B9fm"),t=l("gvm7"),e=l("7aKB"),m=l("OELB"),d=l("IwbS"),a=l("Ez2D"),n=l("+TT/"),s=l("Qxkt"),c=l("F9bG"),i=l("aX7z"),u=l("/y7N"),r=l("4NO4"),o=r.getTooltipRenderMode,h=b.bind,p=b.each,g=m.parsePercent,v=new d.Rect({shape:{x:-1,y:-1,width:2,height:2}}),y=x.extendComponentView({type:"tooltip",init:function(O,M){if(A.node)return;var F=O.getComponent("tooltip"),H=F.get("renderMode");this._renderMode=o(H);var B;this._renderMode==="html"?(B=new f(M.getDom(),M,{appendToBody:F.get("appendToBody",!0)}),this._newLine="
"):(B=new t(M),this._newLine=` -`),this._tooltipContent=B},render:function(O,M,F){if(A.node)return;this.group.removeAll(),this._tooltipModel=O,this._ecModel=M,this._api=F,this._lastDataByCoordSys=null,this._alwaysShowContent=O.get("alwaysShowContent");var H=this._tooltipContent;H.update(),H.setEnterable(O.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var O=this._tooltipModel,M=O.get("triggerOn");c.register("itemTooltip",this._api,h(function(F,H,B){M!=="none"&&(M.indexOf(F)>=0?this._tryShow(H,B):F==="leave"&&this._hide(B))},this))},_keepShow:function(){var O=this._tooltipModel,M=this._ecModel,F=this._api;if(this._lastX!=null&&this._lastY!=null&&O.get("triggerOn")!=="none"){var H=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!F.isDisposed()&&H.manuallyShowTip(O,M,F,{x:H._lastX,y:H._lastY})})}},manuallyShowTip:function(O,M,F,H){if(H.from===this.uid||A.node)return;var B=S(H,F);this._ticket="";var X=H.dataByCoordSys;if(H.tooltip&&H.x!=null&&H.y!=null){var J=v;J.position=[H.x,H.y],J.update(),J.tooltip=H.tooltip,this._tryShow({offsetX:H.x,offsetY:H.y,target:J},B)}else if(X)this._tryShow({offsetX:H.x,offsetY:H.y,position:H.position,dataByCoordSys:H.dataByCoordSys,tooltipOption:H.tooltipOption},B);else if(H.seriesIndex!=null){if(this._manuallyAxisShowTip(O,M,F,H))return;var k=a(H,M),W=k.point[0],z=k.point[1];W!=null&&z!=null&&this._tryShow({offsetX:W,offsetY:z,position:H.position,target:k.el},B)}else H.x!=null&&H.y!=null&&(F.dispatchAction({type:"updateAxisPointer",x:H.x,y:H.y}),this._tryShow({offsetX:H.x,offsetY:H.y,position:H.position,target:F.getZr().findHover(H.x,H.y).target},B))},manuallyHideTip:function(O,M,F,H){var B=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&B.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,H.from!==this.uid&&this._hide(S(H,F))},_manuallyAxisShowTip:function(O,M,F,H){var B=H.seriesIndex,X=H.dataIndex,J=M.getComponent("axisPointer").coordSysAxesInfo;if(B==null||X==null||J==null)return;var k=M.getSeriesByIndex(B);if(!k)return;var W=k.getData(),O=w([W.getItemModel(X),k,(k.coordinateSystem||{}).model,O]);return O.get("trigger")!=="axis"?void 0:(F.dispatchAction({type:"updateAxisPointer",seriesIndex:B,dataIndex:X,position:H.position}),!0)},_tryShow:function(O,M){var F=O.target,H=this._tooltipModel;if(!H)return;this._lastX=O.offsetX,this._lastY=O.offsetY;var B=O.dataByCoordSys;B&&B.length?this._showAxisTooltip(B,O):F&&F.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(O,F,M)):F&&F.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(O,F,M)):(this._lastDataByCoordSys=null,this._hide(M))},_showOrMove:function(O,M){var F=O.get("showDelay");M=b.bind(M,this),clearTimeout(this._showTimout),F>0?this._showTimout=setTimeout(M,F):M()},_showAxisTooltip:function(O,M){var F=this._ecModel,H=this._tooltipModel,B=[M.offsetX,M.offsetY],X=[],J=[],k=w([M.tooltipOption,H]),W=this._renderMode,z=this._newLine,K={};p(O,function(G){p(G.dataByAxis,function(V){var q=F.getComponent(V.axisDim+"Axis",V.axisIndex),re=V.value,ce=[];if(!q||re==null)return;var ie=u.getValueLabel(re,q.axis,F,V.seriesDataIndices,V.valueLabelOpt);b.each(V.seriesDataIndices,function(xe){var Se=F.getSeriesByIndex(xe.seriesIndex),ke=xe.dataIndexInside,ge=Se&&Se.getDataParams(ke);if(ge.axisDim=V.axisDim,ge.axisIndex=V.axisIndex,ge.axisType=V.axisType,ge.axisId=V.axisId,ge.axisValue=i.getAxisRawValue(q.axis,re),ge.axisValueLabel=ie,ge){J.push(ge);var Be=Se.formatTooltip(ke,!0,null,W),ee;if(b.isObject(Be)){ee=Be.html;var ue=Be.markers;b.merge(K,ue)}else ee=Be;ce.push(ee)}});var fe=ie;W!=="html"?X.push(ce.join(z)):X.push((fe?e.encodeHTML(fe)+z:"")+ce.join(z))})},this),X.reverse(),X=X.join(this._newLine+this._newLine);var P=M.position;this._showOrMove(k,function(){this._updateContentNotChangedOnAxis(O)?this._updatePosition(k,P,B[0],B[1],this._tooltipContent,J):this._showTooltipContent(k,X,J,Math.random(),B[0],B[1],P,void 0,K)})},_showSeriesItemTooltip:function(O,M,F){var H=this._ecModel,B=M.seriesIndex,X=H.getSeriesByIndex(B),J=M.dataModel||X,k=M.dataIndex,W=M.dataType,z=J.getData(W),K=w([z.getItemModel(k),J,X&&(X.coordinateSystem||{}).model,this._tooltipModel]),P=K.get("trigger");if(P!=null&&P!=="item")return;var G=J.getDataParams(k,W),V=J.formatTooltip(k,!1,W,this._renderMode),q,re;b.isObject(V)?(q=V.html,re=V.markers):(q=V,re=null);var ce="item_"+J.name+"_"+k;this._showOrMove(K,function(){this._showTooltipContent(K,q,G,ce,O.offsetX,O.offsetY,O.position,O.target,re)}),F({type:"showTip",dataIndexInside:k,dataIndex:z.getRawIndex(k),seriesIndex:B,from:this.uid})},_showComponentItemTooltip:function(O,M,F){var H=M.tooltip;if(typeof H=="string"){var B=H;H={content:B,formatter:B}}var X=new s(H,this._tooltipModel,this._ecModel),J=X.get("content"),k=Math.random();this._showOrMove(X,function(){this._showTooltipContent(X,J,X.get("formatterParams")||{},k,O.offsetX,O.offsetY,O.position,M)}),F({type:"showTip",from:this.uid})},_showTooltipContent:function(O,M,F,H,B,X,J,k,W){if(this._ticket="",!O.get("showContent")||!O.get("show"))return;var z=this._tooltipContent,K=O.get("formatter");J=J||O.get("position");var P=M;if(K&&typeof K=="string")P=e.formatTpl(K,F,!0);else if(typeof K=="function"){var G=h(function(V,q){V===this._ticket&&(z.setContent(q,W,O),this._updatePosition(O,J,B,X,z,F,k))},this);this._ticket=H,P=K(F,H,G)}z.setContent(P,W,O),z.show(O),this._updatePosition(O,J,B,X,z,F,k)},_updatePosition:function(O,M,F,H,B,X,J){var k=this._api.getWidth(),W=this._api.getHeight();M=M||O.get("position");var z=B.getSize(),K=O.get("align"),P=O.get("verticalAlign"),G=J&&J.getBoundingRect().clone();if(J&&G.applyTransform(J.transform),typeof M=="function"&&(M=M([F,H],X,B.el,G,{viewSize:[k,W],contentSize:z.slice()})),b.isArray(M))F=g(M[0],k),H=g(M[1],W);else if(b.isObject(M)){M.width=z[0],M.height=z[1];var V=n.getLayoutRect(M,{width:k,height:W});F=V.x,H=V.y,K=null,P=null}else if(typeof M=="string"&&J){var q=C(M,G,z);F=q[0],H=q[1]}else{var q=_(F,H,B,k,W,K?null:20,P?null:20);F=q[0],H=q[1]}if(K&&(F-=E(K)?z[0]/2:K==="right"?z[0]:0),P&&(H-=E(P)?z[1]/2:P==="bottom"?z[1]:0),O.get("confine")){var q=I(F,H,B,k,W);F=q[0],H=q[1]}B.moveTo(F,H)},_updateContentNotChangedOnAxis:function(O){var M=this._lastDataByCoordSys,F=!!M&&M.length===O.length;return F&&p(M,function(H,B){var X=H.dataByAxis||{},J=O[B]||{},k=J.dataByAxis||[];F&=X.length===k.length,F&&p(X,function(W,z){var K=k[z]||{},P=W.seriesDataIndices||[],G=K.seriesDataIndices||[];F&=W.value===K.value&&W.axisType===K.axisType&&W.axisId===K.axisId&&P.length===G.length,F&&p(P,function(V,q){var re=G[q];F&=V.seriesIndex===re.seriesIndex&&V.dataIndex===re.dataIndex})})}),this._lastDataByCoordSys=O,!!F},_hide:function(O){this._lastDataByCoordSys=null,O({type:"hideTip",from:this.uid})},dispose:function(O,M){if(A.node)return;this._tooltipContent.dispose(),c.unregister("itemTooltip",M)}});function w(O){for(var M=O.pop();O.length;){var F=O.pop();F&&(s.isInstance(F)&&(F=F.get("tooltip",!0)),typeof F=="string"&&(F={formatter:F}),M=new s(F,M,M.ecModel))}return M}function S(O,M){return O.dispatchAction||b.bind(M.dispatchAction,M)}function _(O,M,F,H,B,X,J){var k=F.getOuterSize(),W=k.width,z=k.height;return X!=null&&(O+W+X>H?O-=W+X:O+=X),J!=null&&(M+z+J>B?M-=z+J:M+=J),[O,M]}function I(O,M,F,H,B){var X=F.getOuterSize(),J=X.width,k=X.height;return O=Math.min(O+J,H)-J,M=Math.min(M+k,B)-k,O=Math.max(O,0),M=Math.max(M,0),[O,M]}function C(O,M,F){var H=F[0],B=F[1],X=5,J=0,k=0,W=M.width,z=M.height;switch(O){case"inside":J=M.x+W/2-H/2,k=M.y+z/2-B/2;break;case"top":J=M.x+W/2-H/2,k=M.y-B-X;break;case"bottom":J=M.x+W/2-H/2,k=M.y+z+X;break;case"left":J=M.x-H-X,k=M.y+z/2-B/2;break;case"right":J=M.x+W+X,k=M.y+z/2-B/2}return[J,k]}function E(O){return O==="center"||O==="middle"}j.exports=y},Qxkt:function(j,R,l){var x=l("bYtY"),b=l("ItGF"),A=l("4NO4"),f=A.makeInner,t=l("Yl7c"),e=t.enableClassExtend,m=t.enableClassCheck,d=l("OQFs"),a=l("m9t5"),n=l("/iHx"),s=l("VR9l"),c=x.mixin,i=f();function u(p,g,v){this.parentModel=g,this.ecModel=v,this.option=p}u.prototype={constructor:u,init:null,mergeOption:function(p){x.merge(this.option,p,!0)},get:function(p,g){return p==null?this.option:r(this.option,this.parsePath(p),!g&&o(this,p))},getShallow:function(p,g){var v=this.option,y=v==null?v:v[p],w=!g&&o(this,p);return y==null&&w&&(y=w.getShallow(p)),y},getModel:function(p,g){var v=p==null?this.option:r(this.option,p=this.parsePath(p)),y;return g=g||(y=o(this,p))&&y.getModel(p),new u(v,g,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var p=this.constructor;return new p(x.clone(this.option))},setReadOnly:function(p){},parsePath:function(p){return typeof p=="string"&&(p=p.split(".")),p},customizeGetParent:function(p){i(this).getParent=p},isAnimationEnabled:function(){if(!b.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function r(p,g,v){for(var y=0;y=0;p--){var g=h[p];r(o.getAttribute(g.name),g.name)}})}function n(r){var o=i(r);t(function(h){h.removeAttribute(o),h.save(A)})}function s(){t(function(r){var o=r.XMLDocument.documentElement.attributes;r.load(A);for(var h=o.length-1;h>=0;h--)r.removeAttribute(o[h].name);r.save(A)})}var c=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function i(r){return r.replace(/^\d/,"___$&").replace(c,"___")}function u(){if(!f||!f.documentElement||!f.documentElement.addBehavior)return null;var r="script",o,h,p;try{h=new ActiveXObject("htmlfile"),h.open(),h.write("<"+r+">document.w=window'),h.close(),o=h.w.frames[0].document,p=o.createElement("div")}catch(g){p=f.createElement("div"),o=f.body}return function(g){var v=[].slice.call(arguments,0);v.unshift(p),o.appendChild(p),p.addBehavior("#default#userData"),p.load(A),g.apply(this,v),o.removeChild(p);return}}},RPvy:function(j,R,l){var x=l("ProS"),b=l("VaxA"),A="sunburstRootToNode";x.registerAction({type:A,update:"updateView"},function(e,m){m.eachComponent({mainType:"series",subType:"sunburst",query:e},d);function d(a,n){var s=b.retrieveTargetInfo(e,[A],a);if(s){var c=a.getViewRoot();c&&(e.direction=b.aboveViewRoot(c,s.node)?"rollUp":"drillDown"),a.resetViewRoot(s.node)}}});var f="sunburstHighlight";x.registerAction({type:f,update:"updateView"},function(e,m){m.eachComponent({mainType:"series",subType:"sunburst",query:e},d);function d(a,n){var s=b.retrieveTargetInfo(e,[f],a);s&&(e.highlight=s.node)}});var t="sunburstUnhighlight";x.registerAction({type:t,update:"updateView"},function(e,m){m.eachComponent({mainType:"series",subType:"sunburst",query:e},d);function d(a,n){e.unhighlight=!0}})},RSch:function(j,R,l){var x=l("IwbS"),b=l("bYtY");function A(e,m,d){x.Group.call(this),this._createPolyline(e,m,d)}var f=A.prototype;f._createPolyline=function(e,m,d){var a=e.getItemLayout(m),n=new x.Polyline({shape:{points:a}});this.add(n),this._updateCommonStl(e,m,d)},f.updateData=function(e,m,d){var a=e.hostModel,n=this.childAt(0),s={shape:{points:e.getItemLayout(m)}};x.updateProps(n,s,a,m),this._updateCommonStl(e,m,d)},f._updateCommonStl=function(e,m,d){var a=this.childAt(0),n=e.getItemModel(m),s=e.getItemVisual(m,"color"),c=d&&d.lineStyle,i=d&&d.hoverLineStyle;(!d||e.hasItemOption)&&(c=n.getModel("lineStyle").getLineStyle(),i=n.getModel("emphasis.lineStyle").getLineStyle()),a.useStyle(b.defaults({strokeNoScale:!0,fill:"none",stroke:s},c)),a.hoverStyle=i,x.setHoverStyle(this)},f.updateLayout=function(e,m){var d=this.childAt(0);d.setShape("points",e.getItemLayout(m))},b.inherits(A,x.Group);var t=A;j.exports=t},RXMa:function(j,R,l){var x=l("y+Vt"),b=x.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(f,t){var e=t.cx,m=t.cy,d=Math.PI*2;f.moveTo(e+t.r,m),f.arc(e,m,t.r,0,d,!1),f.moveTo(e+t.r0,m),f.arc(e,m,t.r0,0,d,!0)}});j.exports=b},RZPm:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("JgUQ")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="FileOutlined";var d=f.forwardRef(m);R.default=d},RlCK:function(j,R,l){var x=l("ProS"),b=l("bYtY");function A(f,t,e){var m={},d=f==="toggleSelected",a;return e.eachComponent("legend",function(n){d&&a!=null?n[a?"select":"unSelect"](t.name):f==="allSelect"||f==="inverseSelect"?n[f]():(n[f](t.name),a=n.isSelected(t.name));var s=n.getData();b.each(s,function(c){var i=c.get("name");if(i===` -`||i==="")return;var u=n.isSelected(i);m.hasOwnProperty(i)?m[i]=m[i]&&u:m[i]=u})}),f==="allSelect"||f==="inverseSelect"?{selected:m}:{name:t.name,selected:m}}x.registerAction("legendToggleSelect","legendselectchanged",b.curry(A,"toggleSelected")),x.registerAction("legendAllSelect","legendselectall",b.curry(A,"allSelect")),x.registerAction("legendInverseSelect","legendinverseselect",b.curry(A,"inverseSelect")),x.registerAction("legendSelect","legendselected",b.curry(A,"select")),x.registerAction("legendUnSelect","legendunselected",b.curry(A,"unSelect"))},RotF:function(j,R,l){j.exports=l("LSTS")},Rx6q:function(j,R){function l(x){var b=x.getRect(),A=x.getRangeInfo();return{coordSys:{type:"calendar",x:b.x,y:b.y,width:b.width,height:b.height,cellWidth:x.getCellWidth(),cellHeight:x.getCellHeight(),rangeInfo:{start:A.start,end:A.end,weeks:A.weeks,dayCount:A.allDay}},api:{coord:function(f,t){return x.dataToPoint(f,t)}}}}j.exports=l},"S/Yl":function(j,R,l){var x=l("Zvw2"),b=l("aX7z"),A=l("+TT/"),f=A.getLayoutRect,t=l("bYtY"),e=t.each;function m(a,n,s){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(a,n,s),this.model=a}m.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:m,_init:function(a,n,s){var c=this.dimension,i=new x(c,b.createScaleByModel(a),[0,0],a.get("type"),a.get("position")),u=i.type==="category";i.onBand=u&&a.get("boundaryGap"),i.inverse=a.get("inverse"),i.orient=a.get("orient"),a.axis=i,i.model=a,i.coordinateSystem=this,this._axis=i},update:function(a,n){a.eachSeries(function(s){if(s.coordinateSystem===this){var c=s.getData();e(c.mapDimension(this.dimension,!0),function(i){this._axis.scale.unionExtentFromData(c,i)},this),b.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(a,n){this._rect=f({left:a.get("left"),top:a.get("top"),right:a.get("right"),bottom:a.get("bottom"),width:a.get("width"),height:a.get("height")},{width:n.getWidth(),height:n.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var a=this._rect,n=this._axis,s=n.isHorizontal(),c=s?[0,a.width]:[0,a.height],i=n.reverse?1:0;n.setExtent(c[i],c[1-i]),this._updateAxisTransform(n,s?a.x:a.y)},_updateAxisTransform:function(a,n){var s=a.getExtent(),c=s[0]+s[1],i=a.isHorizontal();a.toGlobalCoord=i?function(u){return u+n}:function(u){return c-u+n},a.toLocalCoord=i?function(u){return u-n}:function(u){return c-u+n}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(a){var n=this.getRect(),s=this.getAxis(),c=s.orient;return c==="horizontal"?s.contain(s.toLocalCoord(a[0]))&&a[1]>=n.y&&a[1]<=n.y+n.height:s.contain(s.toLocalCoord(a[1]))&&a[0]>=n.y&&a[0]<=n.y+n.height},pointToData:function(a){var n=this.getAxis();return[n.coordToData(n.toLocalCoord(a[n.orient==="horizontal"?0:1]))]},dataToPoint:function(a){var n=this.getAxis(),s=this.getRect(),c=[],i=n.orient==="horizontal"?0:1;return a instanceof Array&&(a=a[0]),c[i]=n.toGlobalCoord(n.dataToCoord(+a)),c[1-i]=i===0?s.y+s.height/2:s.x+s.width/2,c}};var d=m;j.exports=d},"SA+Z":function(j,R,l){var x=l("wTVA"),b=l("EbDI"),A=l("ZhPi"),f=l("wkBT");function t(e){return x(e)||b(e)||A(e)||f()}j.exports=t,j.exports.default=j.exports,j.exports.__esModule=!0},"SA4+":function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("ProS"),f=l("IwbS"),t=l("zYTA"),e=l("bYtY");function m(s,c,i){var u=s[1]-s[0];c=e.map(c,function(h){return{interval:[(h.interval[0]-s[0])/u,(h.interval[1]-s[0])/u]}});var r=c.length,o=0;return function(h){for(var p=o;p=0;p--){var g=c[p].interval;if(g[0]<=h&&h<=g[1]){o=p;break}}return p>=0&&p=c[0]&&u<=c[1]}}function a(s){var c=s.dimensions;return c[0]==="lng"&&c[1]==="lat"}var n=A.extendChartView({type:"heatmap",render:function(s,c,i){var u;c.eachComponent("visualMap",function(o){o.eachTargetSeries(function(h){h===s&&(u=o)})}),this.group.removeAll(),this._incrementalDisplayable=null;var r=s.coordinateSystem;r.type==="cartesian2d"||r.type==="calendar"?this._renderOnCartesianAndCalendar(s,i,0,s.getData().count()):a(r)&&this._renderOnGeo(r,s,u,i)},incrementalPrepareRender:function(s,c,i){this.group.removeAll()},incrementalRender:function(s,c,i,u){var r=c.coordinateSystem;r&&this._renderOnCartesianAndCalendar(c,u,s.start,s.end,!0)},_renderOnCartesianAndCalendar:function(s,c,i,u,r){var o=s.coordinateSystem,h,p;if(o.type==="cartesian2d"){var g=o.getAxis("x"),v=o.getAxis("y");h=g.getBandWidth(),p=v.getBandWidth()}for(var y=this.group,w=s.getData(),S="itemStyle",_="emphasis.itemStyle",I="label",C="emphasis.label",E=s.getModel(S).getItemStyle(["color"]),O=s.getModel(_).getItemStyle(),M=s.getModel(I),F=s.getModel(C),H=o.type,B=H==="cartesian2d"?[w.mapDimension("x"),w.mapDimension("y"),w.mapDimension("value")]:[w.mapDimension("time"),w.mapDimension("value")],X=i;X=0?v=v+w:v=v-w:E>=0?v=v-w:v=v+w}return v}function c(i,u){var r=[],o=x.quadraticSubdivide,h=[[],[],[]],p=[[],[]],g=[];u/=2,i.eachEdge(function(v,y){var w=v.getLayout(),S=v.getVisual("fromSymbol"),_=v.getVisual("toSymbol");w.__original||(w.__original=[b.clone(w[0]),b.clone(w[1])],w[2]&&w.__original.push(b.clone(w[2])));var I=w.__original;if(w[2]!=null){if(b.copy(h[0],I[0]),b.copy(h[1],I[2]),b.copy(h[2],I[1]),S&&S!=="none"){var C=f(v.node1),E=s(h,I[0],C*u);o(h[0][0],h[1][0],h[2][0],E,r),h[0][0]=r[3],h[1][0]=r[4],o(h[0][1],h[1][1],h[2][1],E,r),h[0][1]=r[3],h[1][1]=r[4]}if(_&&_!=="none"){var C=f(v.node2),E=s(h,I[1],C*u);o(h[0][0],h[1][0],h[2][0],E,r),h[1][0]=r[1],h[2][0]=r[2],o(h[0][1],h[1][1],h[2][1],E,r),h[1][1]=r[1],h[2][1]=r[2]}b.copy(w[0],h[0]),b.copy(w[1],h[2]),b.copy(w[2],h[1])}else{if(b.copy(p[0],I[0]),b.copy(p[1],I[1]),b.sub(g,p[1],p[0]),b.normalize(g,g),S&&S!=="none"){var C=f(v.node1);b.scaleAndAdd(p[0],p[0],g,C*u)}if(_&&_!=="none"){var C=f(v.node2);b.scaleAndAdd(p[1],p[1],g,-C*u)}b.copy(w[0],p[0]),b.copy(w[1],p[1])}})}j.exports=c},SJMd:function(j,R){/** +`),this._tooltipContent=B},render:function(O,M,F){if(A.node)return;this.group.removeAll(),this._tooltipModel=O,this._ecModel=M,this._api=F,this._lastDataByCoordSys=null,this._alwaysShowContent=O.get("alwaysShowContent");var H=this._tooltipContent;H.update(),H.setEnterable(O.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var O=this._tooltipModel,M=O.get("triggerOn");c.register("itemTooltip",this._api,h(function(F,H,B){M!=="none"&&(M.indexOf(F)>=0?this._tryShow(H,B):F==="leave"&&this._hide(B))},this))},_keepShow:function(){var O=this._tooltipModel,M=this._ecModel,F=this._api;if(this._lastX!=null&&this._lastY!=null&&O.get("triggerOn")!=="none"){var H=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!F.isDisposed()&&H.manuallyShowTip(O,M,F,{x:H._lastX,y:H._lastY})})}},manuallyShowTip:function(O,M,F,H){if(H.from===this.uid||A.node)return;var B=S(H,F);this._ticket="";var X=H.dataByCoordSys;if(H.tooltip&&H.x!=null&&H.y!=null){var J=v;J.position=[H.x,H.y],J.update(),J.tooltip=H.tooltip,this._tryShow({offsetX:H.x,offsetY:H.y,target:J},B)}else if(X)this._tryShow({offsetX:H.x,offsetY:H.y,position:H.position,dataByCoordSys:H.dataByCoordSys,tooltipOption:H.tooltipOption},B);else if(H.seriesIndex!=null){if(this._manuallyAxisShowTip(O,M,F,H))return;var k=a(H,M),K=k.point[0],z=k.point[1];K!=null&&z!=null&&this._tryShow({offsetX:K,offsetY:z,position:H.position,target:k.el},B)}else H.x!=null&&H.y!=null&&(F.dispatchAction({type:"updateAxisPointer",x:H.x,y:H.y}),this._tryShow({offsetX:H.x,offsetY:H.y,position:H.position,target:F.getZr().findHover(H.x,H.y).target},B))},manuallyHideTip:function(O,M,F,H){var B=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&B.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,H.from!==this.uid&&this._hide(S(H,F))},_manuallyAxisShowTip:function(O,M,F,H){var B=H.seriesIndex,X=H.dataIndex,J=M.getComponent("axisPointer").coordSysAxesInfo;if(B==null||X==null||J==null)return;var k=M.getSeriesByIndex(B);if(!k)return;var K=k.getData(),O=w([K.getItemModel(X),k,(k.coordinateSystem||{}).model,O]);return O.get("trigger")!=="axis"?void 0:(F.dispatchAction({type:"updateAxisPointer",seriesIndex:B,dataIndex:X,position:H.position}),!0)},_tryShow:function(O,M){var F=O.target,H=this._tooltipModel;if(!H)return;this._lastX=O.offsetX,this._lastY=O.offsetY;var B=O.dataByCoordSys;B&&B.length?this._showAxisTooltip(B,O):F&&F.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(O,F,M)):F&&F.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(O,F,M)):(this._lastDataByCoordSys=null,this._hide(M))},_showOrMove:function(O,M){var F=O.get("showDelay");M=b.bind(M,this),clearTimeout(this._showTimout),F>0?this._showTimout=setTimeout(M,F):M()},_showAxisTooltip:function(O,M){var F=this._ecModel,H=this._tooltipModel,B=[M.offsetX,M.offsetY],X=[],J=[],k=w([M.tooltipOption,H]),K=this._renderMode,z=this._newLine,W={};p(O,function(G){p(G.dataByAxis,function(V){var q=F.getComponent(V.axisDim+"Axis",V.axisIndex),re=V.value,ce=[];if(!q||re==null)return;var ie=u.getValueLabel(re,q.axis,F,V.seriesDataIndices,V.valueLabelOpt);b.each(V.seriesDataIndices,function(xe){var Se=F.getSeriesByIndex(xe.seriesIndex),ke=xe.dataIndexInside,ge=Se&&Se.getDataParams(ke);if(ge.axisDim=V.axisDim,ge.axisIndex=V.axisIndex,ge.axisType=V.axisType,ge.axisId=V.axisId,ge.axisValue=i.getAxisRawValue(q.axis,re),ge.axisValueLabel=ie,ge){J.push(ge);var Be=Se.formatTooltip(ke,!0,null,K),ee;if(b.isObject(Be)){ee=Be.html;var ue=Be.markers;b.merge(W,ue)}else ee=Be;ce.push(ee)}});var fe=ie;K!=="html"?X.push(ce.join(z)):X.push((fe?e.encodeHTML(fe)+z:"")+ce.join(z))})},this),X.reverse(),X=X.join(this._newLine+this._newLine);var P=M.position;this._showOrMove(k,function(){this._updateContentNotChangedOnAxis(O)?this._updatePosition(k,P,B[0],B[1],this._tooltipContent,J):this._showTooltipContent(k,X,J,Math.random(),B[0],B[1],P,void 0,W)})},_showSeriesItemTooltip:function(O,M,F){var H=this._ecModel,B=M.seriesIndex,X=H.getSeriesByIndex(B),J=M.dataModel||X,k=M.dataIndex,K=M.dataType,z=J.getData(K),W=w([z.getItemModel(k),J,X&&(X.coordinateSystem||{}).model,this._tooltipModel]),P=W.get("trigger");if(P!=null&&P!=="item")return;var G=J.getDataParams(k,K),V=J.formatTooltip(k,!1,K,this._renderMode),q,re;b.isObject(V)?(q=V.html,re=V.markers):(q=V,re=null);var ce="item_"+J.name+"_"+k;this._showOrMove(W,function(){this._showTooltipContent(W,q,G,ce,O.offsetX,O.offsetY,O.position,O.target,re)}),F({type:"showTip",dataIndexInside:k,dataIndex:z.getRawIndex(k),seriesIndex:B,from:this.uid})},_showComponentItemTooltip:function(O,M,F){var H=M.tooltip;if(typeof H=="string"){var B=H;H={content:B,formatter:B}}var X=new s(H,this._tooltipModel,this._ecModel),J=X.get("content"),k=Math.random();this._showOrMove(X,function(){this._showTooltipContent(X,J,X.get("formatterParams")||{},k,O.offsetX,O.offsetY,O.position,M)}),F({type:"showTip",from:this.uid})},_showTooltipContent:function(O,M,F,H,B,X,J,k,K){if(this._ticket="",!O.get("showContent")||!O.get("show"))return;var z=this._tooltipContent,W=O.get("formatter");J=J||O.get("position");var P=M;if(W&&typeof W=="string")P=e.formatTpl(W,F,!0);else if(typeof W=="function"){var G=h(function(V,q){V===this._ticket&&(z.setContent(q,K,O),this._updatePosition(O,J,B,X,z,F,k))},this);this._ticket=H,P=W(F,H,G)}z.setContent(P,K,O),z.show(O),this._updatePosition(O,J,B,X,z,F,k)},_updatePosition:function(O,M,F,H,B,X,J){var k=this._api.getWidth(),K=this._api.getHeight();M=M||O.get("position");var z=B.getSize(),W=O.get("align"),P=O.get("verticalAlign"),G=J&&J.getBoundingRect().clone();if(J&&G.applyTransform(J.transform),typeof M=="function"&&(M=M([F,H],X,B.el,G,{viewSize:[k,K],contentSize:z.slice()})),b.isArray(M))F=g(M[0],k),H=g(M[1],K);else if(b.isObject(M)){M.width=z[0],M.height=z[1];var V=n.getLayoutRect(M,{width:k,height:K});F=V.x,H=V.y,W=null,P=null}else if(typeof M=="string"&&J){var q=C(M,G,z);F=q[0],H=q[1]}else{var q=_(F,H,B,k,K,W?null:20,P?null:20);F=q[0],H=q[1]}if(W&&(F-=E(W)?z[0]/2:W==="right"?z[0]:0),P&&(H-=E(P)?z[1]/2:P==="bottom"?z[1]:0),O.get("confine")){var q=I(F,H,B,k,K);F=q[0],H=q[1]}B.moveTo(F,H)},_updateContentNotChangedOnAxis:function(O){var M=this._lastDataByCoordSys,F=!!M&&M.length===O.length;return F&&p(M,function(H,B){var X=H.dataByAxis||{},J=O[B]||{},k=J.dataByAxis||[];F&=X.length===k.length,F&&p(X,function(K,z){var W=k[z]||{},P=K.seriesDataIndices||[],G=W.seriesDataIndices||[];F&=K.value===W.value&&K.axisType===W.axisType&&K.axisId===W.axisId&&P.length===G.length,F&&p(P,function(V,q){var re=G[q];F&=V.seriesIndex===re.seriesIndex&&V.dataIndex===re.dataIndex})})}),this._lastDataByCoordSys=O,!!F},_hide:function(O){this._lastDataByCoordSys=null,O({type:"hideTip",from:this.uid})},dispose:function(O,M){if(A.node)return;this._tooltipContent.dispose(),c.unregister("itemTooltip",M)}});function w(O){for(var M=O.pop();O.length;){var F=O.pop();F&&(s.isInstance(F)&&(F=F.get("tooltip",!0)),typeof F=="string"&&(F={formatter:F}),M=new s(F,M,M.ecModel))}return M}function S(O,M){return O.dispatchAction||b.bind(M.dispatchAction,M)}function _(O,M,F,H,B,X,J){var k=F.getOuterSize(),K=k.width,z=k.height;return X!=null&&(O+K+X>H?O-=K+X:O+=X),J!=null&&(M+z+J>B?M-=z+J:M+=J),[O,M]}function I(O,M,F,H,B){var X=F.getOuterSize(),J=X.width,k=X.height;return O=Math.min(O+J,H)-J,M=Math.min(M+k,B)-k,O=Math.max(O,0),M=Math.max(M,0),[O,M]}function C(O,M,F){var H=F[0],B=F[1],X=5,J=0,k=0,K=M.width,z=M.height;switch(O){case"inside":J=M.x+K/2-H/2,k=M.y+z/2-B/2;break;case"top":J=M.x+K/2-H/2,k=M.y-B-X;break;case"bottom":J=M.x+K/2-H/2,k=M.y+z+X;break;case"left":J=M.x-H-X,k=M.y+z/2-B/2;break;case"right":J=M.x+K+X,k=M.y+z/2-B/2}return[J,k]}function E(O){return O==="center"||O==="middle"}j.exports=y},Qxkt:function(j,R,l){var x=l("bYtY"),b=l("ItGF"),A=l("4NO4"),f=A.makeInner,t=l("Yl7c"),e=t.enableClassExtend,m=t.enableClassCheck,d=l("OQFs"),a=l("m9t5"),n=l("/iHx"),s=l("VR9l"),c=x.mixin,i=f();function u(p,g,v){this.parentModel=g,this.ecModel=v,this.option=p}u.prototype={constructor:u,init:null,mergeOption:function(p){x.merge(this.option,p,!0)},get:function(p,g){return p==null?this.option:r(this.option,this.parsePath(p),!g&&o(this,p))},getShallow:function(p,g){var v=this.option,y=v==null?v:v[p],w=!g&&o(this,p);return y==null&&w&&(y=w.getShallow(p)),y},getModel:function(p,g){var v=p==null?this.option:r(this.option,p=this.parsePath(p)),y;return g=g||(y=o(this,p))&&y.getModel(p),new u(v,g,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var p=this.constructor;return new p(x.clone(this.option))},setReadOnly:function(p){},parsePath:function(p){return typeof p=="string"&&(p=p.split(".")),p},customizeGetParent:function(p){i(this).getParent=p},isAnimationEnabled:function(){if(!b.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function r(p,g,v){for(var y=0;y=0;p--){var g=h[p];r(o.getAttribute(g.name),g.name)}})}function n(r){var o=i(r);t(function(h){h.removeAttribute(o),h.save(A)})}function s(){t(function(r){var o=r.XMLDocument.documentElement.attributes;r.load(A);for(var h=o.length-1;h>=0;h--)r.removeAttribute(o[h].name);r.save(A)})}var c=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function i(r){return r.replace(/^\d/,"___$&").replace(c,"___")}function u(){if(!f||!f.documentElement||!f.documentElement.addBehavior)return null;var r="script",o,h,p;try{h=new ActiveXObject("htmlfile"),h.open(),h.write("<"+r+">document.w=window'),h.close(),o=h.w.frames[0].document,p=o.createElement("div")}catch(g){p=f.createElement("div"),o=f.body}return function(g){var v=[].slice.call(arguments,0);v.unshift(p),o.appendChild(p),p.addBehavior("#default#userData"),p.load(A),g.apply(this,v),o.removeChild(p);return}}},RPvy:function(j,R,l){var x=l("ProS"),b=l("VaxA"),A="sunburstRootToNode";x.registerAction({type:A,update:"updateView"},function(e,m){m.eachComponent({mainType:"series",subType:"sunburst",query:e},d);function d(a,n){var s=b.retrieveTargetInfo(e,[A],a);if(s){var c=a.getViewRoot();c&&(e.direction=b.aboveViewRoot(c,s.node)?"rollUp":"drillDown"),a.resetViewRoot(s.node)}}});var f="sunburstHighlight";x.registerAction({type:f,update:"updateView"},function(e,m){m.eachComponent({mainType:"series",subType:"sunburst",query:e},d);function d(a,n){var s=b.retrieveTargetInfo(e,[f],a);s&&(e.highlight=s.node)}});var t="sunburstUnhighlight";x.registerAction({type:t,update:"updateView"},function(e,m){m.eachComponent({mainType:"series",subType:"sunburst",query:e},d);function d(a,n){e.unhighlight=!0}})},RSch:function(j,R,l){var x=l("IwbS"),b=l("bYtY");function A(e,m,d){x.Group.call(this),this._createPolyline(e,m,d)}var f=A.prototype;f._createPolyline=function(e,m,d){var a=e.getItemLayout(m),n=new x.Polyline({shape:{points:a}});this.add(n),this._updateCommonStl(e,m,d)},f.updateData=function(e,m,d){var a=e.hostModel,n=this.childAt(0),s={shape:{points:e.getItemLayout(m)}};x.updateProps(n,s,a,m),this._updateCommonStl(e,m,d)},f._updateCommonStl=function(e,m,d){var a=this.childAt(0),n=e.getItemModel(m),s=e.getItemVisual(m,"color"),c=d&&d.lineStyle,i=d&&d.hoverLineStyle;(!d||e.hasItemOption)&&(c=n.getModel("lineStyle").getLineStyle(),i=n.getModel("emphasis.lineStyle").getLineStyle()),a.useStyle(b.defaults({strokeNoScale:!0,fill:"none",stroke:s},c)),a.hoverStyle=i,x.setHoverStyle(this)},f.updateLayout=function(e,m){var d=this.childAt(0);d.setShape("points",e.getItemLayout(m))},b.inherits(A,x.Group);var t=A;j.exports=t},RXMa:function(j,R,l){var x=l("y+Vt"),b=x.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(f,t){var e=t.cx,m=t.cy,d=Math.PI*2;f.moveTo(e+t.r,m),f.arc(e,m,t.r,0,d,!1),f.moveTo(e+t.r0,m),f.arc(e,m,t.r0,0,d,!0)}});j.exports=b},RZPm:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("JgUQ")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="FileOutlined";var d=f.forwardRef(m);R.default=d},RlCK:function(j,R,l){var x=l("ProS"),b=l("bYtY");function A(f,t,e){var m={},d=f==="toggleSelected",a;return e.eachComponent("legend",function(n){d&&a!=null?n[a?"select":"unSelect"](t.name):f==="allSelect"||f==="inverseSelect"?n[f]():(n[f](t.name),a=n.isSelected(t.name));var s=n.getData();b.each(s,function(c){var i=c.get("name");if(i===` +`||i==="")return;var u=n.isSelected(i);m.hasOwnProperty(i)?m[i]=m[i]&&u:m[i]=u})}),f==="allSelect"||f==="inverseSelect"?{selected:m}:{name:t.name,selected:m}}x.registerAction("legendToggleSelect","legendselectchanged",b.curry(A,"toggleSelected")),x.registerAction("legendAllSelect","legendselectall",b.curry(A,"allSelect")),x.registerAction("legendInverseSelect","legendinverseselect",b.curry(A,"inverseSelect")),x.registerAction("legendSelect","legendselected",b.curry(A,"select")),x.registerAction("legendUnSelect","legendunselected",b.curry(A,"unSelect"))},RotF:function(j,R,l){j.exports=l("LSTS")},Rx6q:function(j,R){function l(x){var b=x.getRect(),A=x.getRangeInfo();return{coordSys:{type:"calendar",x:b.x,y:b.y,width:b.width,height:b.height,cellWidth:x.getCellWidth(),cellHeight:x.getCellHeight(),rangeInfo:{start:A.start,end:A.end,weeks:A.weeks,dayCount:A.allDay}},api:{coord:function(f,t){return x.dataToPoint(f,t)}}}}j.exports=l},"S/Yl":function(j,R,l){var x=l("Zvw2"),b=l("aX7z"),A=l("+TT/"),f=A.getLayoutRect,t=l("bYtY"),e=t.each;function m(a,n,s){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(a,n,s),this.model=a}m.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:m,_init:function(a,n,s){var c=this.dimension,i=new x(c,b.createScaleByModel(a),[0,0],a.get("type"),a.get("position")),u=i.type==="category";i.onBand=u&&a.get("boundaryGap"),i.inverse=a.get("inverse"),i.orient=a.get("orient"),a.axis=i,i.model=a,i.coordinateSystem=this,this._axis=i},update:function(a,n){a.eachSeries(function(s){if(s.coordinateSystem===this){var c=s.getData();e(c.mapDimension(this.dimension,!0),function(i){this._axis.scale.unionExtentFromData(c,i)},this),b.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(a,n){this._rect=f({left:a.get("left"),top:a.get("top"),right:a.get("right"),bottom:a.get("bottom"),width:a.get("width"),height:a.get("height")},{width:n.getWidth(),height:n.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var a=this._rect,n=this._axis,s=n.isHorizontal(),c=s?[0,a.width]:[0,a.height],i=n.reverse?1:0;n.setExtent(c[i],c[1-i]),this._updateAxisTransform(n,s?a.x:a.y)},_updateAxisTransform:function(a,n){var s=a.getExtent(),c=s[0]+s[1],i=a.isHorizontal();a.toGlobalCoord=i?function(u){return u+n}:function(u){return c-u+n},a.toLocalCoord=i?function(u){return u-n}:function(u){return c-u+n}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(a){var n=this.getRect(),s=this.getAxis(),c=s.orient;return c==="horizontal"?s.contain(s.toLocalCoord(a[0]))&&a[1]>=n.y&&a[1]<=n.y+n.height:s.contain(s.toLocalCoord(a[1]))&&a[0]>=n.y&&a[0]<=n.y+n.height},pointToData:function(a){var n=this.getAxis();return[n.coordToData(n.toLocalCoord(a[n.orient==="horizontal"?0:1]))]},dataToPoint:function(a){var n=this.getAxis(),s=this.getRect(),c=[],i=n.orient==="horizontal"?0:1;return a instanceof Array&&(a=a[0]),c[i]=n.toGlobalCoord(n.dataToCoord(+a)),c[1-i]=i===0?s.y+s.height/2:s.x+s.width/2,c}};var d=m;j.exports=d},"SA+Z":function(j,R,l){var x=l("wTVA"),b=l("EbDI"),A=l("ZhPi"),f=l("wkBT");function t(e){return x(e)||b(e)||A(e)||f()}j.exports=t,j.exports.default=j.exports,j.exports.__esModule=!0},"SA4+":function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("ProS"),f=l("IwbS"),t=l("zYTA"),e=l("bYtY");function m(s,c,i){var u=s[1]-s[0];c=e.map(c,function(h){return{interval:[(h.interval[0]-s[0])/u,(h.interval[1]-s[0])/u]}});var r=c.length,o=0;return function(h){for(var p=o;p=0;p--){var g=c[p].interval;if(g[0]<=h&&h<=g[1]){o=p;break}}return p>=0&&p=c[0]&&u<=c[1]}}function a(s){var c=s.dimensions;return c[0]==="lng"&&c[1]==="lat"}var n=A.extendChartView({type:"heatmap",render:function(s,c,i){var u;c.eachComponent("visualMap",function(o){o.eachTargetSeries(function(h){h===s&&(u=o)})}),this.group.removeAll(),this._incrementalDisplayable=null;var r=s.coordinateSystem;r.type==="cartesian2d"||r.type==="calendar"?this._renderOnCartesianAndCalendar(s,i,0,s.getData().count()):a(r)&&this._renderOnGeo(r,s,u,i)},incrementalPrepareRender:function(s,c,i){this.group.removeAll()},incrementalRender:function(s,c,i,u){var r=c.coordinateSystem;r&&this._renderOnCartesianAndCalendar(c,u,s.start,s.end,!0)},_renderOnCartesianAndCalendar:function(s,c,i,u,r){var o=s.coordinateSystem,h,p;if(o.type==="cartesian2d"){var g=o.getAxis("x"),v=o.getAxis("y");h=g.getBandWidth(),p=v.getBandWidth()}for(var y=this.group,w=s.getData(),S="itemStyle",_="emphasis.itemStyle",I="label",C="emphasis.label",E=s.getModel(S).getItemStyle(["color"]),O=s.getModel(_).getItemStyle(),M=s.getModel(I),F=s.getModel(C),H=o.type,B=H==="cartesian2d"?[w.mapDimension("x"),w.mapDimension("y"),w.mapDimension("value")]:[w.mapDimension("time"),w.mapDimension("value")],X=i;X=0?v=v+w:v=v-w:E>=0?v=v-w:v=v+w}return v}function c(i,u){var r=[],o=x.quadraticSubdivide,h=[[],[],[]],p=[[],[]],g=[];u/=2,i.eachEdge(function(v,y){var w=v.getLayout(),S=v.getVisual("fromSymbol"),_=v.getVisual("toSymbol");w.__original||(w.__original=[b.clone(w[0]),b.clone(w[1])],w[2]&&w.__original.push(b.clone(w[2])));var I=w.__original;if(w[2]!=null){if(b.copy(h[0],I[0]),b.copy(h[1],I[2]),b.copy(h[2],I[1]),S&&S!=="none"){var C=f(v.node1),E=s(h,I[0],C*u);o(h[0][0],h[1][0],h[2][0],E,r),h[0][0]=r[3],h[1][0]=r[4],o(h[0][1],h[1][1],h[2][1],E,r),h[0][1]=r[3],h[1][1]=r[4]}if(_&&_!=="none"){var C=f(v.node2),E=s(h,I[1],C*u);o(h[0][0],h[1][0],h[2][0],E,r),h[1][0]=r[1],h[2][0]=r[2],o(h[0][1],h[1][1],h[2][1],E,r),h[1][1]=r[1],h[2][1]=r[2]}b.copy(w[0],h[0]),b.copy(w[1],h[2]),b.copy(w[2],h[1])}else{if(b.copy(p[0],I[0]),b.copy(p[1],I[1]),b.sub(g,p[1],p[0]),b.normalize(g,g),S&&S!=="none"){var C=f(v.node1);b.scaleAndAdd(p[0],p[0],g,C*u)}if(_&&_!=="none"){var C=f(v.node2);b.scaleAndAdd(p[1],p[1],g,-C*u)}b.copy(w[0],p[0]),b.copy(w[1],p[1])}})}j.exports=c},SJMd:function(j,R){/** * @license * Copyright (C) 2006 Google Inc. * @@ -511,39 +511,39 @@ M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},ee=function(){function L * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */var l,x,b,A=!1,f,t;window.PR_SHOULD_USE_CONTINUATION=!0;var e,m;(function(){var d=window,a=["break,continue,do,else,for,if,return,while"],n=[a,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],s=[n,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],c=[s,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],i=[s,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],u=[s,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],r="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",o=[s,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],h="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",p=[a,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],g=[a,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[a,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],y=[c,u,i,o,h,p,g,v],w=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,S="str",_="kwd",I="com",C="typ",E="lit",O="pun",M="pln",F="tag",H="dec",B="src",X="atn",J="atv",k="nocode",W="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function z(ae){for(var Z=0,Y=!1,te=!1,we=0,pe=ae.length;we122||(ht<65||or>90||Nt.push([Math.max(65,or)|32,Math.min(ht,90)|32]),ht<97||or>122||Nt.push([Math.max(97,or)&~32,Math.min(ht,122)&~32]))}}Nt.sort(function(rt,ve){return rt[0]-ve[0]||ve[1]-rt[1]});for(var Ee=[],de=[],Ut=0;Utqe[0]&&(qe[1]+1>qe[0]&&Ft.push("-"),Ft.push(be(qe[1])))}return Ft.push("]"),Ft.join("")}function it(pt){for(var Pe=pt.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),Nt=Pe.length,ut=[],Ft=0,Ut=0;Ft=2&&or==="["?Pe[Ft]=Re(Wt):or!=="\\"&&(Pe[Ft]=Wt.replace(/[a-zA-Z]/g,function(de){var qe=de.charCodeAt(0);return"["+String.fromCharCode(qe&~32,qe|32)+"]"}))}return Pe.join("")}for(var yt=[],we=0,pe=ae.length;we|\\/=?|::?|<>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function z(ae){for(var Z=0,Y=!1,te=!1,we=0,pe=ae.length;we122||(ht<65||or>90||Nt.push([Math.max(65,or)|32,Math.min(ht,90)|32]),ht<97||or>122||Nt.push([Math.max(97,or)&~32,Math.min(ht,122)&~32]))}}Nt.sort(function(rt,ve){return rt[0]-ve[0]||ve[1]-rt[1]});for(var Ee=[],de=[],Ut=0;Utqe[0]&&(qe[1]+1>qe[0]&&Ft.push("-"),Ft.push(be(qe[1])))}return Ft.push("]"),Ft.join("")}function it(pt){for(var Pe=pt.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),Nt=Pe.length,ut=[],Ft=0,Ut=0;Ft=2&&or==="["?Pe[Ft]=Re(Kt):or!=="\\"&&(Pe[Ft]=Kt.replace(/[a-zA-Z]/g,function(de){var qe=de.charCodeAt(0);return"["+String.fromCharCode(qe&~32,qe|32)+"]"}))}return Pe.join("")}for(var yt=[],we=0,pe=ae.length;we=0;)Y[yt.charAt(pt)]=it;var Pe=it[1],Nt=""+Pe;me.hasOwnProperty(Nt)||(Ne.push(Pe),me[Nt]=null)}Ne.push(/[\0-\uffff]/),te=z(Ne)})();var we=Z.length,pe=function De(Ne){for(var me=Ne.sourceCode,be=Ne.basePos,Re=Ne.sourceNode,it=[be,M],yt=0,pt=me.match(te)||[],Pe={},Nt=0,ut=pt.length;Nt=5&&Ut.substring(0,5)==="lang-",$t&&!(Wt&&typeof Wt[1]=="string")&&($t=!1,Ut=B),$t||(Pe[Ft]=Ut)}var Ee=yt;if(yt+=Ft.length,!$t)it.push(be+Ee,Ut);else{var de=Wt[1],qe=Ft.indexOf(de),rt=qe+de.length;Wt[2]&&(rt=Ft.length-Wt[2].length,qe=rt-de.length);var ve=Ut.substring(5);P(Re,be+Ee,Ft.substring(0,qe),De,it),P(Re,be+Ee+qe,de,ke(ve,de),it),P(Re,be+Ee+rt,Ft.substring(rt),De,it)}}Ne.decorations=it};return pe}function re(ae){var Z=[],Y=[];ae.tripleQuotedStrings?Z.push([S,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):ae.multiLineStrings?Z.push([S,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):Z.push([S,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),ae.verbatimStrings&&Y.push([S,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var te=ae.hashComments;te&&(ae.cStyleComments?(te>1?Z.push([I,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):Z.push([I,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),Y.push([S,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):Z.push([I,/^#[^\r\n]*/,null,"#"])),ae.cStyleComments&&(Y.push([I,/^\/\/[^\r\n]*/,null]),Y.push([I,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var we=ae.regexLiterals;if(we){var pe=we>1?"":` -\r`,De=pe?".":"[\\S\\s]",Ne="/(?=[^/*"+pe+"])(?:[^/\\x5B\\x5C"+pe+"]|\\x5C"+De+"|\\x5B(?:[^\\x5C\\x5D"+pe+"]|\\x5C"+De+")*(?:\\x5D|$))+/";Y.push(["lang-regex",RegExp("^"+W+"("+Ne+")")])}var me=ae.types;me&&Y.push([C,me]);var be=(""+ae.keywords).replace(/^ | $/g,"");be.length&&Y.push([_,new RegExp("^(?:"+be.replace(/[\s,]+/g,"|")+")\\b"),null]),Z.push([M,/^\s+/,null,` \r - \xA0`]);var Re="^.[^\\s\\w.$@'\"`/\\\\]*";return ae.regexLiterals&&(Re+="(?!s*/)"),Y.push([E,/^@[a-z_$][a-z_$@0-9]*/i,null],[C,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[M,/^[a-z_$][a-z_$@0-9]*/i,null],[E,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[M,/^\\[\s\S]?/,null],[O,new RegExp(Re),null]),q(Z,Y)}var ce=re({keywords:y,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function ie(ae,Z,Y){for(var te=/(?:^|\s)nocode(?:\s|$)/,we=/\r\n?|\n/,pe=ae.ownerDocument,De=pe.createElement("li");ae.firstChild;)De.appendChild(ae.firstChild);var Ne=[De];function me(Pe){var Nt=Pe.nodeType;if(Nt==1&&!te.test(Pe.className))if(Pe.nodeName==="br")be(Pe),Pe.parentNode&&Pe.parentNode.removeChild(Pe);else for(var ut=Pe.firstChild;ut;ut=ut.nextSibling)me(ut);else if((Nt==3||Nt==4)&&Y){var Ft=Pe.nodeValue,Ut=Ft.match(we);if(Ut){var Wt=Ft.substring(0,Ut.index);Pe.nodeValue=Wt;var $t=Ft.substring(Ut.index+Ut[0].length);if($t){var or=Pe.parentNode;or.insertBefore(pe.createTextNode($t),Pe.nextSibling)}be(Pe),Wt||Pe.parentNode.removeChild(Pe)}}}function be(Pe){for(;!Pe.nextSibling;)if(Pe=Pe.parentNode,!Pe)return;function Nt(Ut,Wt){var $t=Wt?Ut.cloneNode(!1):Ut,or=Ut.parentNode;if(or){var ht=Nt(or,1),Ee=Ut.nextSibling;ht.appendChild($t);for(var de=Ee;de;de=Ee)Ee=de.nextSibling,ht.appendChild(de)}return $t}for(var ut=Nt(Pe.nextSibling,0),Ft;(Ft=ut.parentNode)&&Ft.nodeType===1;)ut=Ft;Ne.push(ut)}for(var Re=0;Re=or&&(me+=2),pe>=ht&&(it+=2)}}finally{Ft&&(Ft.style.display=Ut)}}var xe={};function Se(ae,Z){for(var Y=Z.length;--Y>=0;){var te=Z[Y];xe.hasOwnProperty(te)?d.console&&console.warn("cannot override language handler %s",te):xe[te]=ae}}function ke(ae,Z){return ae&&xe.hasOwnProperty(ae)||(ae=/^\s*]*(?:>|$)/],[I,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[O,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),Se(q([[M,/^[\s]+/,null,` \r -`],[J,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[F,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[X,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[O,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),Se(q([],[[J,/^[\s\S]+/]]),["uq.val"]),Se(re({keywords:c,hashComments:!0,cStyleComments:!0,types:w}),["c","cc","cpp","cxx","cyc","m"]),Se(re({keywords:"null,true,false"}),["json"]),Se(re({keywords:u,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:w}),["cs"]),Se(re({keywords:i,cStyleComments:!0}),["java"]),Se(re({keywords:v,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Se(re({keywords:p,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Se(re({keywords:h,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Se(re({keywords:g,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Se(re({keywords:o,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Se(re({keywords:r,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Se(q([],[[S,/^[\s\S]+/]]),["regex"]);function ge(ae){var Z=ae.langExtension;try{var Y=K(ae.sourceNode,ae.pre),te=Y.sourceCode;ae.sourceCode=te,ae.spans=Y.spans,ae.basePos=0,ke(Z,te)(ae),fe(ae)}catch(we){d.console&&console.log(we&&we.stack||we)}}function Be(ae,Z,Y){var te=Y||!1,we=Z||null,pe=document.createElement("div");pe.innerHTML="

"+ae+"
",pe=pe.firstChild,te&&ie(pe,te,!0);var De={langExtension:we,numberLines:te,sourceNode:pe,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return ge(De),pe.innerHTML}function ee(ae,Z){var Y=Z||document.body,te=Y.ownerDocument||document;function we($t){return Y.getElementsByTagName($t)}for(var pe=[we("pre"),we("code"),we("xmp")],De=[],Ne=0;Ne=t.right?e.x=t.width-1:e.x=b-t.left,A=t.bottom?e.y=t.height-1:e.y=A-t.top,e}},Sdc0:function(j,R,l){"use strict";var x=l("pVnL"),b=l.n(x),A=l("lSNA"),f=l.n(A),t=l("q1tI"),e=l("rePB"),m=l("ODXe"),d=l("Ff2n"),a=l("TSYQ"),n=l.n(a),s=l("6cGi"),c=l("4IlW"),i=t.forwardRef(function(_,I){var C,E=_.prefixCls,O=E===void 0?"rc-switch":E,M=_.className,F=_.checked,H=_.defaultChecked,B=_.disabled,X=_.loadingIcon,J=_.checkedChildren,k=_.unCheckedChildren,W=_.onClick,z=_.onChange,K=_.onKeyDown,P=Object(d.a)(_,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),G=Object(s.a)(!1,{value:F,defaultValue:H}),V=Object(m.a)(G,2),q=V[0],re=V[1];function ce(Se,ke){var ge=q;return B||(ge=Se,re(ge),z==null||z(ge,ke)),ge}function ie(Se){Se.which===c.a.LEFT?ce(!1,Se):Se.which===c.a.RIGHT&&ce(!0,Se),K==null||K(Se)}function fe(Se){var ke=ce(!q,Se);W==null||W(ke,Se)}var xe=n()(O,M,(C={},Object(e.a)(C,"".concat(O,"-checked"),q),Object(e.a)(C,"".concat(O,"-disabled"),B),C));return t.createElement("button",Object.assign({},P,{type:"button",role:"switch","aria-checked":q,disabled:B,className:xe,ref:I,onKeyDown:ie,onClick:fe}),X,t.createElement("span",{className:"".concat(O,"-inner")},q?J:k))});i.displayName="Switch";var u=i,r=l("gZBC"),o=l.n(r),h=l("g0mS"),p=l("H84U"),g=l("3Nzz"),v=l("uaoM"),y=function(_,I){var C={};for(var E in _)Object.prototype.hasOwnProperty.call(_,E)&&I.indexOf(E)<0&&(C[E]=_[E]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,E=Object.getOwnPropertySymbols(_);O3?1.4:g>1?1.2:1.1,S=p>0?w:1/w;s(this,"zoom","zoomOnMouseWheel",r,{scale:S,originX:v,originY:y})}if(h){var _=Math.abs(p),I=(p>0?1:-1)*(_>3?.4:_>1?.15:.05);s(this,"scrollMove","moveOnMouseWheel",r,{scrollDelta:I,originX:v,originY:y})}}function n(r){if(f.isTaken(this._zr,"globalPan"))return;var o=r.pinchScale>1?1.1:1/1.1;s(this,"zoom",null,r,{scale:o,originX:r.pinchX,originY:r.pinchY})}function s(r,o,h,p,g){r.pointerChecker&&r.pointerChecker(p,g.originX,g.originY)&&(A.stop(p.event),c(r,o,h,p,g))}function c(r,o,h,p,g){g.isAvailableBehavior=x.bind(i,null,h,p),r.trigger(o,g)}function i(r,o,h){var p=h[r];return!r||p&&(!x.isString(p)||o.event[p+"Key"])}var u=t;j.exports=u},SgaC:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;function x(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var m=0;m0;){if(s.rQwait("RRE",4+8))return!1;var r=s.rQshiftBytes(4),o=s.rQshift16(),h=s.rQshift16(),p=s.rQshift16(),g=s.rQshift16();c.fillRect(m+o,d+h,p,g,r),this._subrects--}return!0}}]),t}();R.default=f},Sj0X:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("XuBP")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="DownOutlined";var d=f.forwardRef(m);R.default=d},Sj9i:function(j,R,l){var x=l("QBsz"),b=x.create,A=x.distSquare,f=Math.pow,t=Math.sqrt,e=1e-8,m=1e-4,d=t(3),a=1/3,n=b(),s=b(),c=b();function i(E){return E>-e&&Ee||E<-e}function r(E,O,M,F,H){var B=1-H;return B*B*(B*E+3*H*O)+H*H*(H*F+3*B*M)}function o(E,O,M,F,H){var B=1-H;return 3*(((O-E)*B+2*(M-O)*H)*B+(F-M)*H*H)}function h(E,O,M,F,H,B){var X=F+3*(O-M)-E,J=3*(M-O*2+E),k=3*(O-E),W=E-H,z=J*J-3*X*k,K=J*k-9*X*W,P=k*k-3*J*W,G=0;if(i(z)&&i(K))if(i(J))B[0]=0;else{var V=-k/J;V>=0&&V<=1&&(B[G++]=V)}else{var q=K*K-4*z*P;if(i(q)){var re=K/z,V=-J/X+re,ce=-re/2;V>=0&&V<=1&&(B[G++]=V),ce>=0&&ce<=1&&(B[G++]=ce)}else if(q>0){var ie=t(q),fe=z*J+1.5*X*(-K+ie),xe=z*J+1.5*X*(-K-ie);fe<0?fe=-f(-fe,a):fe=f(fe,a),xe<0?xe=-f(-xe,a):xe=f(xe,a);var V=(-J-(fe+xe))/(3*X);V>=0&&V<=1&&(B[G++]=V)}else{var Se=(2*z*J-3*X*K)/(2*t(z*z*z)),ke=Math.acos(Se)/3,ge=t(z),Be=Math.cos(ke),V=(-J-2*ge*Be)/(3*X),ce=(-J+ge*(Be+d*Math.sin(ke)))/(3*X),ee=(-J+ge*(Be-d*Math.sin(ke)))/(3*X);V>=0&&V<=1&&(B[G++]=V),ce>=0&&ce<=1&&(B[G++]=ce),ee>=0&&ee<=1&&(B[G++]=ee)}}return G}function p(E,O,M,F,H){var B=6*M-12*O+6*E,X=9*O+3*F-3*E-9*M,J=3*O-3*E,k=0;if(i(X)){if(u(B)){var W=-J/B;W>=0&&W<=1&&(H[k++]=W)}}else{var z=B*B-4*X*J;if(i(z))H[0]=-B/(2*X);else if(z>0){var K=t(z),W=(-B+K)/(2*X),P=(-B-K)/(2*X);W>=0&&W<=1&&(H[k++]=W),P>=0&&P<=1&&(H[k++]=P)}}return k}function g(E,O,M,F,H,B){var X=(O-E)*H+E,J=(M-O)*H+O,k=(F-M)*H+M,W=(J-X)*H+X,z=(k-J)*H+J,K=(z-W)*H+W;B[0]=E,B[1]=X,B[2]=W,B[3]=K,B[4]=K,B[5]=z,B[6]=k,B[7]=F}function v(E,O,M,F,H,B,X,J,k,W,z){var K,P=.005,G=Infinity,V,q,re,ce;n[0]=k,n[1]=W;for(var ie=0;ie<1;ie+=.05)s[0]=r(E,M,H,X,ie),s[1]=r(O,F,B,J,ie),re=A(n,s),re=0&&re=0&&W<=1&&(H[k++]=W)}}else{var z=X*X-4*B*J;if(i(z)){var W=-X/(2*B);W>=0&&W<=1&&(H[k++]=W)}else if(z>0){var K=t(z),W=(-X+K)/(2*B),P=(-X-K)/(2*B);W>=0&&W<=1&&(H[k++]=W),P>=0&&P<=1&&(H[k++]=P)}}return k}function _(E,O,M){var F=E+M-2*O;return F===0?.5:(E-O)/F}function I(E,O,M,F,H){var B=(O-E)*F+E,X=(M-O)*F+O,J=(X-B)*F+B;H[0]=E,H[1]=B,H[2]=J,H[3]=J,H[4]=X,H[5]=M}function C(E,O,M,F,H,B,X,J,k){var W,z=.005,K=Infinity;n[0]=X,n[1]=J;for(var P=0;P<1;P+=.05){s[0]=y(E,M,H,P),s[1]=y(O,F,B,P);var G=A(n,s);G=0&&G=0;--v)if(g[v]===p)return!0;return!1}),h):null:h[0]},i.prototype.update=function(r,o){if(!r)return;var h=this.getDefs(!1);if(r[this._domName]&&h.contains(r[this._domName]))typeof o=="function"&&o(r);else{var p=this.add(r);p&&(r[this._domName]=p)}},i.prototype.addDom=function(r){var o=this.getDefs(!0);o.appendChild(r)},i.prototype.removeDom=function(r){var o=this.getDefs(!1);o&&r[this._domName]&&(o.removeChild(r[this._domName]),r[this._domName]=null)},i.prototype.getDoms=function(){var r=this.getDefs(!1);if(!r)return[];var o=[];return A.each(this._tagNames,function(h){var p=r.getElementsByTagName(h);o=o.concat([].slice.call(p))}),o},i.prototype.markAllUnused=function(){var r=this.getDoms(),o=this;A.each(r,function(h){h[o._markLabel]=s})},i.prototype.markUsed=function(r){r&&(r[this._markLabel]=c)},i.prototype.removeUnused=function(){var r=this.getDefs(!1);if(!r)return;var o=this.getDoms(),h=this;A.each(o,function(p){p[h._markLabel]!==c&&r.removeChild(p)})},i.prototype.getSvgProxy=function(r){return r instanceof f?d:r instanceof t?a:r instanceof e?n:d},i.prototype.getTextSvgElement=function(r){return r.__textSvgEl},i.prototype.getSvgElement=function(r){return r.__svgEl};var u=i;j.exports=u},Swgg:function(j,R,l){var x=l("fc+c"),b=x.extend({type:"dataZoom.select"});j.exports=b},Sxd8:function(j,R,l){var x=l("ZCgT");function b(A){var f=x(A),t=f%1;return f===f?t?f-t:f:0}j.exports=b},T1rO:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("zdCA"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},T4UG:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("bYtY"),f=l("ItGF"),t=l("7aKB"),e=t.formatTime,m=t.encodeHTML,d=t.addCommas,a=t.getTooltipMarker,n=l("4NO4"),s=l("bLfw"),c=l("5Hur"),i=l("OKJ2"),u=l("+TT/"),r=u.getLayoutParams,o=u.mergeLayoutParam,h=l("9H2F"),p=h.createTask,g=l("D5nY"),v=g.prepareSource,y=g.getSource,w=l("KxfA"),S=w.retrieveRawValue,_=n.makeInner(),I=s.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(k,W,z,K){this.seriesIndex=this.componentIndex,this.dataTask=p({count:O,reset:M}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(k,z),v(this);var P=this.getInitialData(k,z);H(P,this),this.dataTask.context.data=P,_(this).dataBeforeProcessed=P,C(this)},mergeDefaultAndTheme:function(k,W){var z=this.layoutMode,K=z?r(k):{},P=this.subType;s.hasClass(P)&&(P+="Series"),A.merge(k,W.getTheme().get(this.subType)),A.merge(k,this.getDefaultOption()),n.defaultEmphasis(k,"label",["show"]),this.fillDataTextStyle(k.data),z&&o(k,K,z)},mergeOption:function(k,W){k=A.merge(this.option,k,!0),this.fillDataTextStyle(k.data);var z=this.layoutMode;z&&o(this.option,k,z),v(this);var K=this.getInitialData(k,W);H(K,this),this.dataTask.dirty(),this.dataTask.context.data=K,_(this).dataBeforeProcessed=K,C(this)},fillDataTextStyle:function(k){if(k&&!A.isTypedArray(k))for(var W=["show"],z=0;z":` -`,V=K==="richText",q={},re=0;function ce(pe){var De=A.reduce(pe,function(it,yt,pt){var Pe=fe.getDimensionInfo(pt);return it|=Pe&&Pe.tooltip!==!1&&Pe.displayName!=null},0),Ne=[];xe.length?A.each(xe,function(it){me(S(fe,k,it),it)}):A.each(pe,me);function me(it,yt){var pt=fe.getDimensionInfo(yt);if(!pt||pt.otherDims.tooltip===!1)return;var Pe=pt.type,Nt="sub"+P.seriesIndex+"at"+re,ut=a({color:Be,type:"subItem",renderMode:K,markerId:Nt}),Ft=typeof ut=="string"?ut:ut.content,Ut=(De?Ft+m(pt.displayName||"-")+": ":"")+m(Pe==="ordinal"?it+"":Pe==="time"?W?"":e("yyyy/MM/dd hh:mm:ss",it):d(it));Ut&&Ne.push(Ut),V&&(q[Nt]=Be,++re)}var be=De?V?` -`:"
":"",Re=be+Ne.join(be||", ");return{renderMode:K,content:Re,style:q}}function ie(pe){return{renderMode:K,content:m(d(pe)),style:q}}var fe=this.getData(),xe=fe.mapDimension("defaultedTooltip",!0),Se=xe.length,ke=this.getRawValue(k),ge=A.isArray(ke),Be=fe.getItemVisual(k,"color");A.isObject(Be)&&Be.colorStops&&(Be=(Be.colorStops[0]||{}).color),Be=Be||"transparent";var ee=Se>1||ge&&!Se?ce(ke):ie(Se?S(fe,k,xe[0]):ge?ke[0]:ke),ue=ee.content,Ge=P.seriesIndex+"at"+re,ae=a({color:Be,type:"item",renderMode:K,markerId:Ge});q[Ge]=Be,++re;var Z=fe.getName(k),Y=this.name;n.isNameSpecified(this)||(Y=""),Y=Y?m(Y)+(W?": ":G):"";var te=typeof ae=="string"?ae:ae.content,we=W?te+Y+ue:Y+te+(Z?m(Z)+": "+ue:ue);return{html:we,markers:q}},isAnimationEnabled:function(){if(f.node)return!1;var k=this.getShallow("animation");return k&&(this.getData().count()>this.getShallow("animationThreshold")&&(k=!1)),k},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(k,W,z){var K=this.ecModel,P=c.getColorFromPalette.call(this,k,W,z);return P||(P=K.getColorFromPalette(k,W,z)),P},coordDimToDataDim:function(k){return this.getRawData().mapDimension(k,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});A.mixin(I,i),A.mixin(I,c);function C(k){var W=k.name;n.isNameSpecified(k)||(k.name=E(k)||W)}function E(k){var W=k.getRawData(),z=W.mapDimension("seriesName",!0),K=[];return A.each(z,function(P){var G=W.getDimensionInfo(P);G.displayName&&K.push(G.displayName)}),K.join(" ")}function O(k){return k.model.getRawData().count()}function M(k){var W=k.model;return W.setData(W.getRawData().cloneShallow()),F}function F(k,W){W.outputData&&k.end>W.outputData.count()&&W.model.getRawData().cloneShallow(W.outputData)}function H(k,W){A.each(k.CHANGABLE_METHODS,function(z){k.wrapMethod(z,A.curry(B,W))})}function B(k){var W=X(k);W&&W.setOutputEnd(this.count())}function X(k){var W=(k.ecModel||{}).scheduler,z=W&&W.getPipeline(k.uid);if(z){var K=z.currentTask;if(K){var P=K.agentStubMap;P&&(K=P.get(k.uid))}return K}}var J=I;j.exports=J},T6xi:function(j,R,l){var x=l("YgsL"),b=l("nCxF");function A(f,t,e){var m=t.points,d=t.smooth;if(m&&m.length>=2){if(d&&d!=="spline"){var a=b(m,d,e,t.smoothConstraint);f.moveTo(m[0][0],m[0][1]);for(var n=m.length,s=0;s<(e?n:n-1);s++){var c=a[s*2],i=a[s*2+1],u=m[(s+1)%n];f.bezierCurveTo(c[0],c[1],i[0],i[1],u[0],u[1])}}else{d==="spline"&&(m=x(m,e)),f.moveTo(m[0][0],m[0][1]);for(var s=1,r=m.length;s0?f:t)}function i(u,r){return r.get(u>0?b:A)}}};j.exports=e},TWL2:function(j,R,l){var x=l("IwbS"),b=l("bYtY"),A=l("6Ic6");function f(a,n){x.Group.call(this);var s=new x.Polygon,c=new x.Polyline,i=new x.Text;this.add(s),this.add(c),this.add(i),this.highDownOnUpdate=function(u,r){r==="emphasis"?(c.ignore=c.hoverIgnore,i.ignore=i.hoverIgnore):(c.ignore=c.normalIgnore,i.ignore=i.normalIgnore)},this.updateData(a,n,!0)}var t=f.prototype,e=["itemStyle","opacity"];t.updateData=function(a,n,s){var c=this.childAt(0),i=a.hostModel,u=a.getItemModel(n),r=a.getItemLayout(n),o=a.getItemModel(n).get(e);o=o==null?1:o,c.useStyle({}),s?(c.setShape({points:r.points}),c.setStyle({opacity:0}),x.initProps(c,{style:{opacity:o}},i,n)):x.updateProps(c,{style:{opacity:o},shape:{points:r.points}},i,n);var h=u.getModel("itemStyle"),p=a.getItemVisual(n,"color");c.setStyle(b.defaults({lineJoin:"round",fill:p},h.getItemStyle(["opacity"]))),c.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(a,n),x.setHoverStyle(this)},t._updateLabel=function(a,n){var s=this.childAt(1),c=this.childAt(2),i=a.hostModel,u=a.getItemModel(n),r=a.getItemLayout(n),o=r.label,h=a.getItemVisual(n,"color");x.updateProps(s,{shape:{points:o.linePoints||o.linePoints}},i,n),x.updateProps(c,{style:{x:o.x,y:o.y}},i,n),c.attr({rotation:o.rotation,origin:[o.x,o.y],z2:10});var p=u.getModel("label"),g=u.getModel("emphasis.label"),v=u.getModel("labelLine"),y=u.getModel("emphasis.labelLine"),h=a.getItemVisual(n,"color");x.setLabelStyle(c.style,c.hoverStyle={},p,g,{labelFetcher:a.hostModel,labelDataIndex:n,defaultText:a.getName(n),autoColor:h,useInsideStyle:!!o.inside},{textAlign:o.textAlign,textVerticalAlign:o.verticalAlign}),c.ignore=c.normalIgnore=!p.get("show"),c.hoverIgnore=!g.get("show"),s.ignore=s.normalIgnore=!v.get("show"),s.hoverIgnore=!y.get("show"),s.setStyle({stroke:h}),s.setStyle(v.getModel("lineStyle").getLineStyle()),s.hoverStyle=y.getModel("lineStyle").getLineStyle()},b.inherits(f,x.Group);var m=A.extend({type:"funnel",render:function(a,n,s){var c=a.getData(),i=this._data,u=this.group;c.diff(i).add(function(r){var o=new f(c,r);c.setItemGraphicEl(r,o),u.add(o)}).update(function(r,o){var h=i.getItemGraphicEl(o);h.updateData(c,r),u.add(h),c.setItemGraphicEl(r,h)}).remove(function(r){var o=i.getItemGraphicEl(r);u.remove(o)}).execute(),this._data=c},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),d=m;j.exports=d},TYVI:function(j,R,l){var x=l("5GtS"),b=l("T4UG"),A=b.extend({type:"series.gauge",getInitialData:function(t,e){return x(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),f=A;j.exports=f},Tghj:function(j,R,l){(function(x){var b;typeof window!="undefined"?b=window.__DEV__:typeof x!="undefined"&&(b=x.__DEV__),typeof b=="undefined"&&(b=!0);var A=b;R.__DEV__=A}).call(this,l("yLpj"))},ThAp:function(j,R,l){var x=l("bYtY"),b=l("5GtS"),A=l("T4UG"),f=l("7aKB"),t=f.encodeHTML,e=f.addCommas,m=l("cCMj"),d=l("KxfA"),a=d.retrieveRawAttr,n=l("W4dC"),s=l("D5nY"),c=s.makeSeriesEncodeForNameBased,i=A.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(r){for(var o=b(this,{coordDimensions:["value"],encodeDefaulter:x.curry(c,this)}),h=o.mapDimension("value"),p=x.createHashMap(),g=[],v=[],y=0,w=o.count();y"+t(p+" : "+h)},getTooltipPosition:function(r){if(r!=null){var o=this.getData().getName(r),h=this.coordinateSystem,p=h.getRegion(o);return p&&h.dataToPoint(p.center)}},setZoom:function(r){this.option.zoom=r},setCenter:function(r){this.option.center=r},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});x.mixin(i,m);var u=i;j.exports=u},TkdX:function(j,R,l){var x=l("bYtY"),b=l("IwbS"),A={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},f=2,t=4;function e(i,u,r){b.Group.call(this);var o=new b.Sector({z2:f});o.seriesIndex=u.seriesIndex;var h=new b.Text({z2:t,silent:i.getModel("label").get("silent")});this.add(o),this.add(h),this.updateData(!0,i,"normal",u,r);function p(){h.ignore=h.hoverIgnore}function g(){h.ignore=h.normalIgnore}this.on("emphasis",p).on("normal",g).on("mouseover",p).on("mouseout",g)}var m=e.prototype;m.updateData=function(i,u,r,o,h){this.node=u,u.piece=this,o=o||this._seriesModel,h=h||this._ecModel;var p=this.childAt(0);p.dataIndex=u.dataIndex;var g=u.getModel(),v=u.getLayout(),y=x.extend({},v);y.label=null;var w=a(u,o,h);c(u,o,w);var S=g.getModel("itemStyle").getItemStyle(),_;if(r==="normal")_=S;else{var I=g.getModel(r+".itemStyle").getItemStyle();_=x.merge(I,S)}_=x.defaults({lineJoin:"bevel",fill:_.fill||w},_),i?(p.setShape(y),p.shape.r=v.r0,b.updateProps(p,{shape:{r:v.r}},o,u.dataIndex),p.useStyle(_)):typeof _.fill=="object"&&_.fill.type||typeof p.style.fill=="object"&&p.style.fill.type?(b.updateProps(p,{shape:y},o),p.useStyle(_)):b.updateProps(p,{shape:y,style:_},o),this._updateLabel(o,w,r);var C=g.getShallow("cursor");if(C&&p.attr("cursor",C),i){var E=o.getShallow("highlightPolicy");this._initEvents(p,u,o,E)}this._seriesModel=o||this._seriesModel,this._ecModel=h||this._ecModel,b.setHoverStyle(this)},m.onEmphasis=function(i){var u=this;this.node.hostTree.root.eachNode(function(r){r.piece&&(u.node===r?r.piece.updateData(!1,r,"emphasis"):s(r,u.node,i)?r.piece.childAt(0).trigger("highlight"):i!==A.NONE&&r.piece.childAt(0).trigger("downplay"))})},m.onNormal=function(){this.node.hostTree.root.eachNode(function(i){i.piece&&i.piece.updateData(!1,i,"normal")})},m.onHighlight=function(){this.updateData(!1,this.node,"highlight")},m.onDownplay=function(){this.updateData(!1,this.node,"downplay")},m._updateLabel=function(i,u,r){var o=this.node.getModel(),h=o.getModel("label"),p=r==="normal"||r==="emphasis"?h:o.getModel(r+".label"),g=o.getModel("emphasis.label"),v=x.retrieve(i.getFormattedLabel(this.node.dataIndex,r,null,null,"label"),this.node.name);W("show")===!1&&(v="");var y=this.node.getLayout(),w=p.get("minAngle");w==null&&(w=h.get("minAngle")),w=w/180*Math.PI;var S=y.endAngle-y.startAngle;w!=null&&Math.abs(S)Math.PI/2?"right":"left"):!H||H==="center"?(O=(y.r+y.r0)/2,H="center"):H==="left"?(O=y.r0+F,I>Math.PI/2&&(H="right")):H==="right"&&(O=y.r-F,I>Math.PI/2&&(H="left")),_.attr("style",{text:v,textAlign:H,textVerticalAlign:W("verticalAlign")||"middle",opacity:W("opacity")});var B=O*C+y.cx,X=O*E+y.cy;_.attr("position",[B,X]);var J=W("rotate"),k=0;J==="radial"?(k=-I,k<-Math.PI/2&&(k+=Math.PI)):J==="tangential"?(k=Math.PI/2-I,k>Math.PI/2?k-=Math.PI:k<-Math.PI/2&&(k+=Math.PI)):typeof J=="number"&&(k=J*Math.PI/180),_.attr("rotation",k);function W(z){var K=p.get(z);return K==null?h.get(z):K}},m._initEvents=function(i,u,r,o){i.off("mouseover").off("mouseout").off("emphasis").off("normal");var h=this,p=function(){h.onEmphasis(o)},g=function(){h.onNormal()},v=function(){h.onDownplay()},y=function(){h.onHighlight()};r.isAnimationEnabled()&&i.on("mouseover",p).on("mouseout",g).on("emphasis",p).on("normal",g).on("downplay",v).on("highlight",y)},x.inherits(e,b.Group);var d=e;function a(i,u,r){var o=i.getVisual("color"),h=i.getVisual("visualMeta");(!h||h.length===0)&&(o=null);var p=i.getModel("itemStyle").get("color");if(p)return p;if(o)return o;if(i.depth===0)return r.option.color[0];var g=r.option.color.length;return p=r.option.color[n(i)%g],p}function n(i){for(var u=i;u.depth>1;)u=u.parentNode;var r=i.getAncestors()[0];return x.indexOf(r.children,u)}function s(i,u,r){return r===A.NONE?!1:r===A.SELF?i===u:r===A.ANCESTOR?i===u||i.isAncestorOf(u):i===u||i.isDescendantOf(u)}function c(i,u,r){var o=u.getData();o.setItemVisual(i.dataIndex,"color",r)}j.exports=d},Tp9H:function(j,R,l){var x=l("ItGF"),b=l("Kagy"),A=l("IUWy"),f=b.toolbox.saveAsImage;function t(d){this.model=d}t.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:f.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:f.lang.slice()},t.prototype.unusable=!x.canvasSupported;var e=t.prototype;e.onclick=function(d,a){var n=this.model,s=n.get("name")||d.get("title.0.text")||"echarts",c=a.getZr().painter.getType()==="svg",i=c?"svg":n.get("type",!0)||"png",u=a.getConnectedDataURL({type:i,backgroundColor:n.get("backgroundColor",!0)||d.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if(typeof MouseEvent=="function"&&!x.browser.ie&&!x.browser.edge){var r=document.createElement("a");r.download=s+"."+i,r.target="_blank",r.href=u;var o=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});r.dispatchEvent(o)}else if(window.navigator.msSaveOrOpenBlob){for(var h=atob(u.split(",")[1]),p=h.length,g=new Uint8Array(p);p--;)g[p]=h.charCodeAt(p);var v=new Blob([g]);window.navigator.msSaveOrOpenBlob(v,s+"."+i)}else{var y=n.get("lang"),w='',S=window.open();S.document.write(w)}},A.register("saveAsImage",t);var m=t;j.exports=m},"U/Mo":function(j,R){function l(b){var A=b.coordinateSystem;if(A.type!=="view")return 1;var f=b.option.nodeScaleRatio,t=A.scale,e=t&&t[0]||1,m=A.getZoom(),d=(m-1)*f+1;return d/e}function x(b){var A=b.getVisual("symbolSize");return A instanceof Array&&(A=(A[0]+A[1])/2),+A}R.getNodeGlobalScale=l,R.getSymbolSize=x},UADf:function(j,R,l){},UESt:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="RightOutlined";var m=R.a=b.forwardRef(e)},UOVi:function(j,R,l){var x=l("bYtY"),b=l("7aKB"),A=["x","y","z","radius","angle","single"],f=["cartesian2d","polar","singleAxis"];function t(a){return x.indexOf(f,a)>=0}function e(a,n){a=a.slice();var s=x.map(a,b.capitalFirst);n=(n||[]).slice();var c=x.map(n,b.capitalFirst);return function(i,u){x.each(a,function(r,o){for(var h={name:r,capital:s[o]},p=0;p=0}function i(r,o){var h=!1;return n(function(p){x.each(s(r,p)||[],function(g){o.records[p.name][g]&&(h=!0)})}),h}function u(r,o){o.nodes.push(r),n(function(h){x.each(s(r,h)||[],function(p){o.records[h.name][p]=!0})})}}R.isCoordSupported=t,R.createNameEach=e,R.eachAxisDim=m,R.createLinkedNodesFinder=d},Uc92:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};R.default=x},UnoB:function(j,R,l){var x=l("bYtY"),b=l("OELB");function A(e,m){e.eachSeriesByType("themeRiver",function(d){var a=d.getData(),n=d.coordinateSystem,s={},c=n.getRect();s.rect=c;var i=d.get("boundaryGap"),u=n.getAxis();if(s.boundaryGap=i,u.orient==="horizontal"){i[0]=b.parsePercent(i[0],c.height),i[1]=b.parsePercent(i[1],c.height);var r=c.height-i[0]-i[1];f(a,d,r)}else{i[0]=b.parsePercent(i[0],c.width),i[1]=b.parsePercent(i[1],c.width);var o=c.width-i[0]-i[1];f(a,d,o)}a.setLayout("layoutInfo",s)})}function f(e,m,d){if(!e.count())return;for(var a=m.coordinateSystem,n=m.getLayerSeries(),s=e.mapDimension("single"),c=e.mapDimension("value"),i=x.map(n,function(w){return x.map(w.indices,function(S){var _=a.dataToPoint(e.get(s,S));return _[1]=e.get(c,S),_})}),u=t(i),r=u.y0,o=d/u.max,h=n.length,p=n[0].indices.length,g,v=0;vs&&(s=c),a.push(c)}for(var o=0;os&&(s=p)}return i.y0=n,i.max=s,i}j.exports=A},Urep:function(j,R,l){},V7ic:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("digP")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="FileTwoTone";var d=f.forwardRef(m);R.default=d},VFCP:function(j,R,l){l("dBmv"),l("KamJ")},VPsl:function(j,R){function l(x){x.eachSeriesByType("map",function(b){var A=b.get("color"),f=b.getModel("itemStyle"),t=f.get("areaColor"),e=f.get("color")||A[b.seriesIndex%A.length];b.getData().setVisual({areaColor:t,color:e})})}j.exports=l},VR9l:function(j,R,l){var x=l("KCsZ"),b=x([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),A={getItemStyle:function(f,t){var e=b(this,f,t),m=this.getBorderLineDash();return m&&(e.lineDash=m),e},getBorderLineDash:function(){var f=this.get("borderType");return f==="solid"||f==null?null:f==="dashed"?[5,5]:[1,1]}};j.exports=A},VSLf:function(j,R,l){l("I+Bx"),l("F0hE"),l("bBKM")},VSMT:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.decodeUTF8=x,R.encodeUTF8=b;function x(A){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(A))}catch(t){if(t instanceof URIError&&f)return A;throw t}}function b(A){return unescape(encodeURIComponent(A))}},VXYp:function(j,R,l){var x=l("bYtY"),b=l("SgGq"),A=l("iLNv"),f="\0_ec_dataZoom_roams";function t(i,u){var r=d(i),o=u.dataZoomId,h=u.coordId;x.each(r,function(v,y){var w=v.dataZoomInfos;w[o]&&x.indexOf(u.allCoordIds,h)<0&&(delete w[o],v.count--)}),n(r);var p=r[h];p||(p=r[h]={coordId:h,dataZoomInfos:{},count:0},p.controller=a(i,p),p.dispatchAction=x.curry(s,i)),!p.dataZoomInfos[o]&&p.count++,p.dataZoomInfos[o]=u;var g=c(p.dataZoomInfos);p.controller.enable(g.controlType,g.opt),p.controller.setPointerChecker(u.containsPoint),A.createOrUpdate(p,"dispatchAction",u.dataZoomModel.get("throttle",!0),"fixRate")}function e(i,u){var r=d(i);x.each(r,function(o){o.controller.dispose();var h=o.dataZoomInfos;h[u]&&(delete h[u],o.count--)}),n(r)}function m(i){return i.type+"\0_"+i.id}function d(i){var u=i.getZr();return u[f]||(u[f]={})}function a(i,u){var r=new b(i.getZr());return x.each(["pan","zoom","scrollMove"],function(o){r.on(o,function(h){var p=[];x.each(u.dataZoomInfos,function(g){if(!h.isAvailableBehavior(g.dataZoomModel.option))return;var v=(g.getRange||{})[o],y=v&&v(u.controller,h);!g.dataZoomModel.get("disabled",!0)&&y&&p.push({dataZoomId:g.dataZoomId,start:y[0],end:y[1]})}),p.length&&u.dispatchAction(p)})}),r}function n(i){x.each(i,function(u,r){u.count||(u.controller.dispose(),delete i[r])})}function s(i,u){i.dispatchAction({type:"dataZoom",batch:u})}function c(i){var u,r="type_",o={type_true:2,type_move:1,type_false:0,type_undefined:-1},h=!0;return x.each(i,function(p){var g=p.dataZoomModel,v=g.get("disabled",!0)?!1:g.get("zoomLock",!0)?"move":!0;o[r+v]>o[r+u]&&(u=v),h&=g.get("preventDefaultMouseMove",!0)}),{controlType:u,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!h}}}R.register=t,R.unregister=e,R.generateCoordId=m},VaxA:function(j,R,l){var x=l("bYtY");function b(e,m,d){if(e&&x.indexOf(m,e.type)>=0){var a=d.getData().tree.root,n=e.targetNode;if(typeof n=="string"&&(n=a.getNodeById(n)),n&&a.contains(n))return{node:n};var s=e.targetNodeId;if(s!=null&&(n=a.getNodeById(s)))return{node:n}}}function A(e){for(var m=[];e;)e=e.parentNode,e&&m.push(e);return m.reverse()}function f(e,m){var d=A(e);return x.indexOf(d,m)>=0}function t(e,m){for(var d=[];e;){var a=e.dataIndex;d.push({name:e.name,dataIndex:a,value:m.getRawValue(a)}),e=e.parentNode}return d.reverse(),d}R.retrieveTargetInfo=b,R.getPathToRoot=A,R.aboveViewRoot=f,R.wrapTreePathInfo=t},Vi4m:function(j,R,l){var x=l("bYtY");function b(f){f!=null&&x.extend(this,f),this.otherDims={}}var A=b;j.exports=A},Vl3Y:function(j,R,l){"use strict";var x=l("pVnL"),b=l.n(x),A=l("J4zp"),f=l.n(A),t=l("lSNA"),e=l.n(t),m=l("q1tI"),d=l("TSYQ"),a=l.n(d),n=l("85Yc"),s=l("H84U"),c=l("BGR+"),i=m.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),u=m.createContext({updateItemErrors:function(){}}),r=function(bt){var jt=Object(c.default)(bt,["prefixCls"]);return m.createElement(n.FormProvider,jt)};function o(ve){return typeof ve=="object"&&ve!=null&&ve.nodeType===1}function h(ve,bt){return(!bt||ve!=="hidden")&&ve!=="visible"&&ve!=="clip"}function p(ve,bt){if(ve.clientHeightbt||Ar>ve&&at=bt&&Ht>=jt?Ar-ve-He:at>bt&&Htjt?at-bt+kt:0}var v=function(ve,bt){var jt=window,He=bt.scrollMode,kt=bt.block,Ar=bt.inline,at=bt.boundary,Ht=bt.skipOverflowHiddenElements,Kt=typeof at=="function"?at:function(di){return di!==at};if(!o(ve))throw new TypeError("Invalid target");for(var ot=document.scrollingElement||document.documentElement,et=[],Ze=ve;o(Ze)&&Kt(Ze);){if((Ze=Ze.parentElement)===ot){et.push(Ze);break}Ze!=null&&Ze===document.body&&p(Ze)&&!p(document.documentElement)||Ze!=null&&p(Ze,Ht)&&et.push(Ze)}for(var Gt=jt.visualViewport?jt.visualViewport.width:innerWidth,yr=jt.visualViewport?jt.visualViewport.height:innerHeight,br=window.scrollX||pageXOffset,Sr=window.scrollY||pageYOffset,Tn=ve.getBoundingClientRect(),cn=Tn.height,Kn=Tn.width,lt=Tn.top,mt=Tn.right,Le=Tn.bottom,ze=Tn.left,$e=kt==="start"||kt==="nearest"?lt:kt==="end"?Le:lt+cn/2,gt=Ar==="center"?ze+Kn/2:Ar==="end"?mt:ze,ir=[],Xt=0;Xt=0&&ze>=0&&Le<=yr&&mt<=Gt&<>=ar&&Le<=Ct&&ze>=mr&&mt<=It)return ir;var gr=getComputedStyle(er),Mt=parseInt(gr.borderLeftWidth,10),rr=parseInt(gr.borderTopWidth,10),Dt=parseInt(gr.borderRightWidth,10),tr=parseInt(gr.borderBottomWidth,10),Dr=0,dr=0,Tr="offsetWidth"in er?er.offsetWidth-er.clientWidth-Mt-Dt:0,vn="offsetHeight"in er?er.offsetHeight-er.clientHeight-rr-tr:0;if(ot===er)Dr=kt==="start"?$e:kt==="end"?$e-yr:kt==="nearest"?g(Sr,Sr+yr,yr,rr,tr,Sr+$e,Sr+$e+cn,cn):$e-yr/2,dr=Ar==="start"?gt:Ar==="center"?gt-Gt/2:Ar==="end"?gt-Gt:g(br,br+Gt,Gt,Mt,Dt,br+gt,br+gt+Kn,Kn),Dr=Math.max(0,Dr+Sr),dr=Math.max(0,dr+br);else{Dr=kt==="start"?$e-ar-rr:kt==="end"?$e-Ct+tr+vn:kt==="nearest"?g(ar,Ct,en,rr,tr+vn,$e,$e+cn,cn):$e-(ar+en/2)+vn/2,dr=Ar==="start"?gt-mr-Mt:Ar==="center"?gt-(mr+Fn/2)+Tr/2:Ar==="end"?gt-It+Dt+Tr:g(mr,It,Fn,Mt,Dt+Tr,gt,gt+Kn,Kn);var on=er.scrollLeft,Gn=er.scrollTop;$e+=Gn-(Dr=Math.max(0,Math.min(Gn+Dr,er.scrollHeight-en+vn))),gt+=on-(dr=Math.max(0,Math.min(on+dr,er.scrollWidth-Fn+Tr)))}ir.push({el:er,top:Dr,left:dr})}return ir};function y(ve){return ve===Object(ve)&&Object.keys(ve).length!==0}function w(ve,bt){bt===void 0&&(bt="auto");var jt="scrollBehavior"in document.body.style;ve.forEach(function(He){var kt=He.el,Ar=He.top,at=He.left;kt.scroll&&jt?kt.scroll({top:Ar,left:at,behavior:bt}):(kt.scrollTop=Ar,kt.scrollLeft=at)})}function S(ve){return ve===!1?{block:"end",inline:"nearest"}:y(ve)?ve:{block:"start",inline:"nearest"}}function _(ve,bt){var jt=!ve.ownerDocument.documentElement.contains(ve);if(y(bt)&&typeof bt.behavior=="function")return bt.behavior(jt?[]:v(ve,bt));if(jt)return;var He=S(bt);return w(v(ve,He),He.behavior)}var I=_;function C(ve){return ve===void 0||ve===!1?[]:Array.isArray(ve)?ve:[ve]}function E(ve,bt){if(!ve.length)return;var jt=ve.join("_");return bt?"".concat(bt,"_").concat(jt):jt}function O(ve){var bt=C(ve);return bt.join("_")}function M(ve){var bt=Object(n.useForm)(),jt=f()(bt,1),He=jt[0],kt=Object(m.useRef)({}),Ar=Object(m.useMemo)(function(){return ve||b()(b()({},He),{__INTERNAL__:{itemRef:function(Ht){return function(Kt){var ot=O(Ht);Kt?kt.current[ot]=Kt:delete kt.current[ot]}}},scrollToField:function(Ht){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ot=C(Ht),et=E(ot,Ar.__INTERNAL__.name),Ze=et?document.getElementById(et):null;Ze&&I(Ze,b()({scrollMode:"if-needed",block:"nearest"},Kt))},getFieldInstance:function(Ht){var Kt=O(Ht);return kt.current[Kt]}})},[ve,He]);return[Ar]}var F=l("3Nzz"),H=function(ve,bt){var jt={};for(var He in ve)Object.prototype.hasOwnProperty.call(ve,He)&&bt.indexOf(He)<0&&(jt[He]=ve[He]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,He=Object.getOwnPropertySymbols(ve);kt0&&arguments[0]!==void 0?arguments[0]:{};return G()(Xe[dt],Me)?Xe:b()(b()({},Xe),e()({},dt,Me))})},di=Nt();function Ti(dt,Me,Xe,Qe){var st,nt;if(He&&!lt)return dt;var ft=[];Object.keys(Mt).forEach(function(Ur){ft=[].concat(K()(ft),K()(Mt[Ur]||[]))});var Bt;et!=null?Bt=C(et):(Bt=Xe?Xe.errors:[],Bt=[].concat(K()(Bt),K()(ft)));var Et="";Gt!==void 0?Et=Gt:(Xe==null?void 0:Xe.validating)?Et="validating":((nt=Xe==null?void 0:Xe.errors)===null||nt===void 0?void 0:nt.length)||ft.length?Et="error":(Xe==null?void 0:Xe.touched)&&(Et="success"),ar&&et&&(Ct.current=Et);var nr=(st={},e()(st,"".concat(on,"-item"),!0),e()(st,"".concat(on,"-item-with-help"),ar||et),e()(st,"".concat(Ht),!!Ht),e()(st,"".concat(on,"-item-has-feedback"),Et&&ot),e()(st,"".concat(on,"-item-has-success"),Et==="success"),e()(st,"".concat(on,"-item-has-warning"),Et==="warning"),e()(st,"".concat(on,"-item-has-error"),Et==="error"),e()(st,"".concat(on,"-item-has-error-leave"),!et&&ar&&Ct.current==="error"),e()(st,"".concat(on,"-item-is-validating"),Et==="validating"),e()(st,"".concat(on,"-item-hidden"),lt),st);return m.createElement(re.a,b()({className:a()(nr),style:at,key:"row"},Object(c.default)(mt,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),m.createElement(ge,b()({htmlFor:Me,required:Qe,requiredMark:Xt},ve,{prefixCls:on})),m.createElement(Re,b()({},ve,Xe,{errors:Bt,prefixCls:on,onDomErrorVisibleChange:dr,validateStatus:Et}),m.createElement(u.Provider,{value:{updateItemErrors:Gn}},dt)))}var Fi=typeof yr=="function",la=m.useRef(0);if(la.current+=1,!Tr&&!Fi&&!kt)return Ti(yr);var Ta={};return typeof Sr=="string"&&(Ta.label=Sr),m.createElement(n.Field,b()({},ve,{messageVariables:Ta,trigger:cn,validateTrigger:Dr,onReset:function(){dr(!1)}}),function(dt,Me,Xe){var Qe=Me.errors,st=C(bt).length&&Me?Me.name:[],nt=E(st,ir);if(He){if(vn.current=K()(st),jt){var ft=Array.isArray(jt)?jt:[jt];vn.current=[].concat(K()(st.slice(0,-1)),K()(ft))}Wr(vn.current.join("__SPLIT__"),Qe)}var Bt=br!==void 0?br:!!(Ze&&Ze.some(function(Vr){if(Vr&&W()(Vr)==="object"&&Vr.required)return!0;if(typeof Vr=="function"){var sr=Vr(Xe);return sr&&sr.required}return!1})),Et=b()({},dt),nr=null;if(Object(ie.a)(!(Kt&&kt),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(yr)&&Tr)Object(ie.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),nr=yr;else if(Fi&&(!(Kt||kt)||Tr))Object(ie.a)(!!(Kt||kt),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(ie.a)(!Tr,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(kt&&!Fi&&!Tr)Object(ie.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(it.b)(yr)){Object(ie.a)(yr.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Ur=b()(b()({},yr.props),Et);Ur.id||(Ur.id=nt),Object(q.c)(yr)&&(Ur.ref=di(st,yr));var Lr=new Set([].concat(K()(C(cn)),K()(C(Dr))));Lr.forEach(function(Vr){Ur[Vr]=function(){for(var sr,Bn,Er,gn,rn,Br=arguments.length,Vn=new Array(Br),gi=0;git&&(c=d+a,d*=t/c,a*=t/c),n+s>t&&(c=n+s,n*=t/c,s*=t/c),a+n>e&&(c=a+n,a*=e/c,n*=e/c),d+s>e&&(c=d+s,d*=e/c,s*=e/c),x.moveTo(A+d,f),x.lineTo(A+t-a,f),a!==0&&x.arc(A+t-a,f+a,a,-Math.PI/2,0),x.lineTo(A+t,f+e-n),n!==0&&x.arc(A+t-n,f+e-n,n,0,Math.PI/2),x.lineTo(A+s,f+e),s!==0&&x.arc(A+s,f+e-s,s,Math.PI/2,Math.PI),x.lineTo(A,f+d),d!==0&&x.arc(A+d,f+d,d,Math.PI,Math.PI*1.5)}R.buildPath=l},"VrN/":function(j,R,l){(function(x,b){j.exports=b()})(this,function(){"use strict";var x=navigator.userAgent,b=navigator.platform,A=/gecko\/\d/i.test(x),f=/MSIE \d/.test(x),t=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(x),e=/Edge\/(\d+)/.exec(x),m=f||t||e,d=m&&(f?document.documentMode||6:+(e||t)[1]),a=!e&&/WebKit\//.test(x),n=a&&/Qt\/\d+\.\d+/.test(x),s=!e&&/Chrome\//.test(x),c=/Opera\//.test(x),i=/Apple Computer/.test(navigator.vendor),u=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(x),r=/PhantomJS/.test(x),o=!e&&/AppleWebKit/.test(x)&&/Mobile\/\w+/.test(x),h=/Android/.test(x),p=o||h||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(x),g=o||/Mac/.test(b),v=/\bCrOS\b/.test(x),y=/win/i.test(b),w=c&&x.match(/Version\/(\d*\.\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(c=!1,a=!0);var S=g&&(n||c&&(w==null||w<12.11)),_=A||m&&d>=9;function I(D){return new RegExp("(^|\\s)"+D+"(?:$|\\s)\\s*")}var C=function(U,oe){var le=U.className,Ae=I(oe).exec(le);if(Ae){var We=le.slice(Ae.index+Ae[0].length);U.className=le.slice(0,Ae.index)+(We?Ae[1]+We:"")}};function E(D){for(var U=D.childNodes.length;U>0;--U)D.removeChild(D.firstChild);return D}function O(D,U){return E(D).appendChild(U)}function M(D,U,oe,le){var Ae=document.createElement(D);if(oe&&(Ae.className=oe),le&&(Ae.style.cssText=le),typeof U=="string")Ae.appendChild(document.createTextNode(U));else if(U)for(var We=0;We=U)return Tt+(U-We);Tt+=Qt-We,Tt+=oe-Tt%oe,We=Qt+1}}var G=function(){this.id=null,this.f=null,this.time=0,this.handler=z(this.onTimeout,this)};G.prototype.onTimeout=function(D){D.id=0,D.time<=+new Date?D.f():setTimeout(D.handler,D.time-+new Date)},G.prototype.set=function(D,U){this.f=U;var oe=+new Date+D;(!this.id||oe=U)return le+Math.min(Tt,U-Ae);if(Ae+=We-le,Ae+=oe-Ae%oe,le=We+1,Ae>=U)return le}}var Se=[""];function ke(D){for(;Se.length<=D;)Se.push(ge(Se)+" ");return Se[D]}function ge(D){return D[D.length-1]}function Be(D,U){for(var oe=[],le=0;le"\x80"&&(D.toUpperCase()!=D.toLowerCase()||ae.test(D))}function Y(D,U){return U?U.source.indexOf("\\w")>-1&&Z(D)?!0:U.test(D):Z(D)}function te(D){for(var U in D)if(D.hasOwnProperty(U)&&D[U])return!1;return!0}var we=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function pe(D){return D.charCodeAt(0)>=768&&we.test(D)}function De(D,U,oe){for(;(oe<0?U>0:Uoe?-1:1;;){if(U==oe)return U;var Ae=(U+oe)/2,We=le<0?Math.ceil(Ae):Math.floor(Ae);if(We==U)return D(We)?U:oe;D(We)?oe=We:U=We+le}}function me(D,U,oe,le){if(!D)return le(U,oe,"ltr",0);for(var Ae=!1,We=0;WeU||U==oe&&Tt.to==U)&&(le(Math.max(Tt.from,U),Math.min(Tt.to,oe),Tt.level==1?"rtl":"ltr",We),Ae=!0)}Ae||le(U,oe,"ltr")}var be=null;function Re(D,U,oe){var le;be=null;for(var Ae=0;AeU)return Ae;We.to==U&&(We.from!=We.to&&oe=="before"?le=Ae:be=Ae),We.from==U&&(We.from!=We.to&&oe!="before"?le=Ae:be=Ae)}return le!=null?le:be}var it=function(){var D="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",U="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function oe(vr){return vr<=247?D.charAt(vr):1424<=vr&&vr<=1524?"R":1536<=vr&&vr<=1785?U.charAt(vr-1536):1774<=vr&&vr<=2220?"r":8192<=vr&&vr<=8203?"w":vr==8204?"b":"L"}var le=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,Ae=/[stwN]/,We=/[LRr]/,Tt=/[Lb1n]/,Qt=/[1n]/;function fr(vr,xn,Hn){this.level=vr,this.from=xn,this.to=Hn}return function(vr,xn){var Hn=xn=="ltr"?"L":"R";if(vr.length==0||xn=="ltr"&&!le.test(vr))return!1;for(var hi=vr.length,ci=[],ra=0;ra-1&&(le[U]=Ae.slice(0,We).concat(Ae.slice(We+1)))}}}function Ft(D,U){var oe=Nt(D,U);if(!oe.length)return;for(var le=Array.prototype.slice.call(arguments,2),Ae=0;Ae0}function or(D){D.prototype.on=function(U,oe){Pe(this,U,oe)},D.prototype.off=function(U,oe){ut(this,U,oe)}}function ht(D){D.preventDefault?D.preventDefault():D.returnValue=!1}function Ee(D){D.stopPropagation?D.stopPropagation():D.cancelBubble=!0}function de(D){return D.defaultPrevented!=null?D.defaultPrevented:D.returnValue==!1}function qe(D){ht(D),Ee(D)}function rt(D){return D.target||D.srcElement}function ve(D){var U=D.which;return U==null&&(D.button&1?U=1:D.button&2?U=3:D.button&4&&(U=2)),g&&D.ctrlKey&&U==1&&(U=3),U}var bt=function(){if(m&&d<9)return!1;var D=M("div");return"draggable"in D||"dragDrop"in D}(),jt;function He(D){if(jt==null){var U=M("span","\u200B");O(D,M("span",[U,document.createTextNode("x")])),D.firstChild.offsetHeight!=0&&(jt=U.offsetWidth<=1&&U.offsetHeight>2&&!(m&&d<8))}var oe=jt?M("span","\u200B"):M("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return oe.setAttribute("cm-text",""),oe}var kt;function Ar(D){if(kt!=null)return kt;var U=O(D,document.createTextNode("A\u062EA")),oe=H(U,0,1).getBoundingClientRect(),le=H(U,1,2).getBoundingClientRect();return E(D),!oe||oe.left==oe.right?!1:kt=le.right-oe.right<3}var at=` +`):yt=yt.replace(/[ \t\r\n]+/g," "),te[De]=yt,pe[De<<1]=we,we+=yt.length,pe[De++<<1|1]=me)}}return Ne(ae),{sourceCode:te.join("").replace(/\n$/,""),spans:pe}}function P(ae,Z,Y,te,we){if(!Y)return;var pe={sourceNode:ae,pre:1,langExtension:null,numberLines:null,sourceCode:Y,spans:null,basePos:Z,decorations:null};te(pe),we.push.apply(we,pe.decorations)}var G=/\S/;function V(ae){for(var Z=void 0,Y=ae.firstChild;Y;Y=Y.nextSibling){var te=Y.nodeType;Z=te===1?Z?ae:Y:te===3&&G.test(Y.nodeValue)?ae:Z}return Z===ae?void 0:Z}function q(ae,Z){var Y={},te;(function(){for(var De=ae.concat(Z),Ne=[],me={},be=0,Re=De.length;be=0;)Y[yt.charAt(pt)]=it;var Pe=it[1],Nt=""+Pe;me.hasOwnProperty(Nt)||(Ne.push(Pe),me[Nt]=null)}Ne.push(/[\0-\uffff]/),te=z(Ne)})();var we=Z.length,pe=function De(Ne){for(var me=Ne.sourceCode,be=Ne.basePos,Re=Ne.sourceNode,it=[be,M],yt=0,pt=me.match(te)||[],Pe={},Nt=0,ut=pt.length;Nt=5&&Ut.substring(0,5)==="lang-",$t&&!(Kt&&typeof Kt[1]=="string")&&($t=!1,Ut=B),$t||(Pe[Ft]=Ut)}var Ee=yt;if(yt+=Ft.length,!$t)it.push(be+Ee,Ut);else{var de=Kt[1],qe=Ft.indexOf(de),rt=qe+de.length;Kt[2]&&(rt=Ft.length-Kt[2].length,qe=rt-de.length);var ve=Ut.substring(5);P(Re,be+Ee,Ft.substring(0,qe),De,it),P(Re,be+Ee+qe,de,ke(ve,de),it),P(Re,be+Ee+rt,Ft.substring(rt),De,it)}}Ne.decorations=it};return pe}function re(ae){var Z=[],Y=[];ae.tripleQuotedStrings?Z.push([S,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):ae.multiLineStrings?Z.push([S,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):Z.push([S,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),ae.verbatimStrings&&Y.push([S,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var te=ae.hashComments;te&&(ae.cStyleComments?(te>1?Z.push([I,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):Z.push([I,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),Y.push([S,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):Z.push([I,/^#[^\r\n]*/,null,"#"])),ae.cStyleComments&&(Y.push([I,/^\/\/[^\r\n]*/,null]),Y.push([I,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var we=ae.regexLiterals;if(we){var pe=we>1?"":` +\r`,De=pe?".":"[\\S\\s]",Ne="/(?=[^/*"+pe+"])(?:[^/\\x5B\\x5C"+pe+"]|\\x5C"+De+"|\\x5B(?:[^\\x5C\\x5D"+pe+"]|\\x5C"+De+")*(?:\\x5D|$))+/";Y.push(["lang-regex",RegExp("^"+K+"("+Ne+")")])}var me=ae.types;me&&Y.push([C,me]);var be=(""+ae.keywords).replace(/^ | $/g,"");be.length&&Y.push([_,new RegExp("^(?:"+be.replace(/[\s,]+/g,"|")+")\\b"),null]),Z.push([M,/^\s+/,null,` \r + \xA0`]);var Re="^.[^\\s\\w.$@'\"`/\\\\]*";return ae.regexLiterals&&(Re+="(?!s*/)"),Y.push([E,/^@[a-z_$][a-z_$@0-9]*/i,null],[C,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[M,/^[a-z_$][a-z_$@0-9]*/i,null],[E,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[M,/^\\[\s\S]?/,null],[O,new RegExp(Re),null]),q(Z,Y)}var ce=re({keywords:y,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function ie(ae,Z,Y){for(var te=/(?:^|\s)nocode(?:\s|$)/,we=/\r\n?|\n/,pe=ae.ownerDocument,De=pe.createElement("li");ae.firstChild;)De.appendChild(ae.firstChild);var Ne=[De];function me(Pe){var Nt=Pe.nodeType;if(Nt==1&&!te.test(Pe.className))if(Pe.nodeName==="br")be(Pe),Pe.parentNode&&Pe.parentNode.removeChild(Pe);else for(var ut=Pe.firstChild;ut;ut=ut.nextSibling)me(ut);else if((Nt==3||Nt==4)&&Y){var Ft=Pe.nodeValue,Ut=Ft.match(we);if(Ut){var Kt=Ft.substring(0,Ut.index);Pe.nodeValue=Kt;var $t=Ft.substring(Ut.index+Ut[0].length);if($t){var or=Pe.parentNode;or.insertBefore(pe.createTextNode($t),Pe.nextSibling)}be(Pe),Kt||Pe.parentNode.removeChild(Pe)}}}function be(Pe){for(;!Pe.nextSibling;)if(Pe=Pe.parentNode,!Pe)return;function Nt(Ut,Kt){var $t=Kt?Ut.cloneNode(!1):Ut,or=Ut.parentNode;if(or){var ht=Nt(or,1),Ee=Ut.nextSibling;ht.appendChild($t);for(var de=Ee;de;de=Ee)Ee=de.nextSibling,ht.appendChild(de)}return $t}for(var ut=Nt(Pe.nextSibling,0),Ft;(Ft=ut.parentNode)&&Ft.nodeType===1;)ut=Ft;Ne.push(ut)}for(var Re=0;Re=or&&(me+=2),pe>=ht&&(it+=2)}}finally{Ft&&(Ft.style.display=Ut)}}var xe={};function Se(ae,Z){for(var Y=Z.length;--Y>=0;){var te=Z[Y];xe.hasOwnProperty(te)?d.console&&console.warn("cannot override language handler %s",te):xe[te]=ae}}function ke(ae,Z){return ae&&xe.hasOwnProperty(ae)||(ae=/^\s*]*(?:>|$)/],[I,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[O,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),Se(q([[M,/^[\s]+/,null,` \r +`],[J,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[F,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[X,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[O,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),Se(q([],[[J,/^[\s\S]+/]]),["uq.val"]),Se(re({keywords:c,hashComments:!0,cStyleComments:!0,types:w}),["c","cc","cpp","cxx","cyc","m"]),Se(re({keywords:"null,true,false"}),["json"]),Se(re({keywords:u,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:w}),["cs"]),Se(re({keywords:i,cStyleComments:!0}),["java"]),Se(re({keywords:v,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Se(re({keywords:p,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Se(re({keywords:h,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Se(re({keywords:g,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Se(re({keywords:o,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Se(re({keywords:r,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Se(q([],[[S,/^[\s\S]+/]]),["regex"]);function ge(ae){var Z=ae.langExtension;try{var Y=W(ae.sourceNode,ae.pre),te=Y.sourceCode;ae.sourceCode=te,ae.spans=Y.spans,ae.basePos=0,ke(Z,te)(ae),fe(ae)}catch(we){d.console&&console.log(we&&we.stack||we)}}function Be(ae,Z,Y){var te=Y||!1,we=Z||null,pe=document.createElement("div");pe.innerHTML="
"+ae+"
",pe=pe.firstChild,te&&ie(pe,te,!0);var De={langExtension:we,numberLines:te,sourceNode:pe,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return ge(De),pe.innerHTML}function ee(ae,Z){var Y=Z||document.body,te=Y.ownerDocument||document;function we($t){return Y.getElementsByTagName($t)}for(var pe=[we("pre"),we("code"),we("xmp")],De=[],Ne=0;Ne=t.right?e.x=t.width-1:e.x=b-t.left,A=t.bottom?e.y=t.height-1:e.y=A-t.top,e}},Sdc0:function(j,R,l){"use strict";var x=l("pVnL"),b=l.n(x),A=l("lSNA"),f=l.n(A),t=l("q1tI"),e=l("rePB"),m=l("ODXe"),d=l("Ff2n"),a=l("TSYQ"),n=l.n(a),s=l("6cGi"),c=l("4IlW"),i=t.forwardRef(function(_,I){var C,E=_.prefixCls,O=E===void 0?"rc-switch":E,M=_.className,F=_.checked,H=_.defaultChecked,B=_.disabled,X=_.loadingIcon,J=_.checkedChildren,k=_.unCheckedChildren,K=_.onClick,z=_.onChange,W=_.onKeyDown,P=Object(d.a)(_,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),G=Object(s.a)(!1,{value:F,defaultValue:H}),V=Object(m.a)(G,2),q=V[0],re=V[1];function ce(Se,ke){var ge=q;return B||(ge=Se,re(ge),z==null||z(ge,ke)),ge}function ie(Se){Se.which===c.a.LEFT?ce(!1,Se):Se.which===c.a.RIGHT&&ce(!0,Se),W==null||W(Se)}function fe(Se){var ke=ce(!q,Se);K==null||K(ke,Se)}var xe=n()(O,M,(C={},Object(e.a)(C,"".concat(O,"-checked"),q),Object(e.a)(C,"".concat(O,"-disabled"),B),C));return t.createElement("button",Object.assign({},P,{type:"button",role:"switch","aria-checked":q,disabled:B,className:xe,ref:I,onKeyDown:ie,onClick:fe}),X,t.createElement("span",{className:"".concat(O,"-inner")},q?J:k))});i.displayName="Switch";var u=i,r=l("gZBC"),o=l.n(r),h=l("g0mS"),p=l("H84U"),g=l("3Nzz"),v=l("uaoM"),y=function(_,I){var C={};for(var E in _)Object.prototype.hasOwnProperty.call(_,E)&&I.indexOf(E)<0&&(C[E]=_[E]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,E=Object.getOwnPropertySymbols(_);O3?1.4:g>1?1.2:1.1,S=p>0?w:1/w;s(this,"zoom","zoomOnMouseWheel",r,{scale:S,originX:v,originY:y})}if(h){var _=Math.abs(p),I=(p>0?1:-1)*(_>3?.4:_>1?.15:.05);s(this,"scrollMove","moveOnMouseWheel",r,{scrollDelta:I,originX:v,originY:y})}}function n(r){if(f.isTaken(this._zr,"globalPan"))return;var o=r.pinchScale>1?1.1:1/1.1;s(this,"zoom",null,r,{scale:o,originX:r.pinchX,originY:r.pinchY})}function s(r,o,h,p,g){r.pointerChecker&&r.pointerChecker(p,g.originX,g.originY)&&(A.stop(p.event),c(r,o,h,p,g))}function c(r,o,h,p,g){g.isAvailableBehavior=x.bind(i,null,h,p),r.trigger(o,g)}function i(r,o,h){var p=h[r];return!r||p&&(!x.isString(p)||o.event[p+"Key"])}var u=t;j.exports=u},SgaC:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;function x(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var m=0;m0;){if(s.rQwait("RRE",4+8))return!1;var r=s.rQshiftBytes(4),o=s.rQshift16(),h=s.rQshift16(),p=s.rQshift16(),g=s.rQshift16();c.fillRect(m+o,d+h,p,g,r),this._subrects--}return!0}}]),t}();R.default=f},Sj0X:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("XuBP")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="DownOutlined";var d=f.forwardRef(m);R.default=d},Sj9i:function(j,R,l){var x=l("QBsz"),b=x.create,A=x.distSquare,f=Math.pow,t=Math.sqrt,e=1e-8,m=1e-4,d=t(3),a=1/3,n=b(),s=b(),c=b();function i(E){return E>-e&&Ee||E<-e}function r(E,O,M,F,H){var B=1-H;return B*B*(B*E+3*H*O)+H*H*(H*F+3*B*M)}function o(E,O,M,F,H){var B=1-H;return 3*(((O-E)*B+2*(M-O)*H)*B+(F-M)*H*H)}function h(E,O,M,F,H,B){var X=F+3*(O-M)-E,J=3*(M-O*2+E),k=3*(O-E),K=E-H,z=J*J-3*X*k,W=J*k-9*X*K,P=k*k-3*J*K,G=0;if(i(z)&&i(W))if(i(J))B[0]=0;else{var V=-k/J;V>=0&&V<=1&&(B[G++]=V)}else{var q=W*W-4*z*P;if(i(q)){var re=W/z,V=-J/X+re,ce=-re/2;V>=0&&V<=1&&(B[G++]=V),ce>=0&&ce<=1&&(B[G++]=ce)}else if(q>0){var ie=t(q),fe=z*J+1.5*X*(-W+ie),xe=z*J+1.5*X*(-W-ie);fe<0?fe=-f(-fe,a):fe=f(fe,a),xe<0?xe=-f(-xe,a):xe=f(xe,a);var V=(-J-(fe+xe))/(3*X);V>=0&&V<=1&&(B[G++]=V)}else{var Se=(2*z*J-3*X*W)/(2*t(z*z*z)),ke=Math.acos(Se)/3,ge=t(z),Be=Math.cos(ke),V=(-J-2*ge*Be)/(3*X),ce=(-J+ge*(Be+d*Math.sin(ke)))/(3*X),ee=(-J+ge*(Be-d*Math.sin(ke)))/(3*X);V>=0&&V<=1&&(B[G++]=V),ce>=0&&ce<=1&&(B[G++]=ce),ee>=0&&ee<=1&&(B[G++]=ee)}}return G}function p(E,O,M,F,H){var B=6*M-12*O+6*E,X=9*O+3*F-3*E-9*M,J=3*O-3*E,k=0;if(i(X)){if(u(B)){var K=-J/B;K>=0&&K<=1&&(H[k++]=K)}}else{var z=B*B-4*X*J;if(i(z))H[0]=-B/(2*X);else if(z>0){var W=t(z),K=(-B+W)/(2*X),P=(-B-W)/(2*X);K>=0&&K<=1&&(H[k++]=K),P>=0&&P<=1&&(H[k++]=P)}}return k}function g(E,O,M,F,H,B){var X=(O-E)*H+E,J=(M-O)*H+O,k=(F-M)*H+M,K=(J-X)*H+X,z=(k-J)*H+J,W=(z-K)*H+K;B[0]=E,B[1]=X,B[2]=K,B[3]=W,B[4]=W,B[5]=z,B[6]=k,B[7]=F}function v(E,O,M,F,H,B,X,J,k,K,z){var W,P=.005,G=Infinity,V,q,re,ce;n[0]=k,n[1]=K;for(var ie=0;ie<1;ie+=.05)s[0]=r(E,M,H,X,ie),s[1]=r(O,F,B,J,ie),re=A(n,s),re=0&&re=0&&K<=1&&(H[k++]=K)}}else{var z=X*X-4*B*J;if(i(z)){var K=-X/(2*B);K>=0&&K<=1&&(H[k++]=K)}else if(z>0){var W=t(z),K=(-X+W)/(2*B),P=(-X-W)/(2*B);K>=0&&K<=1&&(H[k++]=K),P>=0&&P<=1&&(H[k++]=P)}}return k}function _(E,O,M){var F=E+M-2*O;return F===0?.5:(E-O)/F}function I(E,O,M,F,H){var B=(O-E)*F+E,X=(M-O)*F+O,J=(X-B)*F+B;H[0]=E,H[1]=B,H[2]=J,H[3]=J,H[4]=X,H[5]=M}function C(E,O,M,F,H,B,X,J,k){var K,z=.005,W=Infinity;n[0]=X,n[1]=J;for(var P=0;P<1;P+=.05){s[0]=y(E,M,H,P),s[1]=y(O,F,B,P);var G=A(n,s);G=0&&G=0;--v)if(g[v]===p)return!0;return!1}),h):null:h[0]},i.prototype.update=function(r,o){if(!r)return;var h=this.getDefs(!1);if(r[this._domName]&&h.contains(r[this._domName]))typeof o=="function"&&o(r);else{var p=this.add(r);p&&(r[this._domName]=p)}},i.prototype.addDom=function(r){var o=this.getDefs(!0);o.appendChild(r)},i.prototype.removeDom=function(r){var o=this.getDefs(!1);o&&r[this._domName]&&(o.removeChild(r[this._domName]),r[this._domName]=null)},i.prototype.getDoms=function(){var r=this.getDefs(!1);if(!r)return[];var o=[];return A.each(this._tagNames,function(h){var p=r.getElementsByTagName(h);o=o.concat([].slice.call(p))}),o},i.prototype.markAllUnused=function(){var r=this.getDoms(),o=this;A.each(r,function(h){h[o._markLabel]=s})},i.prototype.markUsed=function(r){r&&(r[this._markLabel]=c)},i.prototype.removeUnused=function(){var r=this.getDefs(!1);if(!r)return;var o=this.getDoms(),h=this;A.each(o,function(p){p[h._markLabel]!==c&&r.removeChild(p)})},i.prototype.getSvgProxy=function(r){return r instanceof f?d:r instanceof t?a:r instanceof e?n:d},i.prototype.getTextSvgElement=function(r){return r.__textSvgEl},i.prototype.getSvgElement=function(r){return r.__svgEl};var u=i;j.exports=u},Swgg:function(j,R,l){var x=l("fc+c"),b=x.extend({type:"dataZoom.select"});j.exports=b},Sxd8:function(j,R,l){var x=l("ZCgT");function b(A){var f=x(A),t=f%1;return f===f?t?f-t:f:0}j.exports=b},T1rO:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("zdCA"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},T4UG:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("bYtY"),f=l("ItGF"),t=l("7aKB"),e=t.formatTime,m=t.encodeHTML,d=t.addCommas,a=t.getTooltipMarker,n=l("4NO4"),s=l("bLfw"),c=l("5Hur"),i=l("OKJ2"),u=l("+TT/"),r=u.getLayoutParams,o=u.mergeLayoutParam,h=l("9H2F"),p=h.createTask,g=l("D5nY"),v=g.prepareSource,y=g.getSource,w=l("KxfA"),S=w.retrieveRawValue,_=n.makeInner(),I=s.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(k,K,z,W){this.seriesIndex=this.componentIndex,this.dataTask=p({count:O,reset:M}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(k,z),v(this);var P=this.getInitialData(k,z);H(P,this),this.dataTask.context.data=P,_(this).dataBeforeProcessed=P,C(this)},mergeDefaultAndTheme:function(k,K){var z=this.layoutMode,W=z?r(k):{},P=this.subType;s.hasClass(P)&&(P+="Series"),A.merge(k,K.getTheme().get(this.subType)),A.merge(k,this.getDefaultOption()),n.defaultEmphasis(k,"label",["show"]),this.fillDataTextStyle(k.data),z&&o(k,W,z)},mergeOption:function(k,K){k=A.merge(this.option,k,!0),this.fillDataTextStyle(k.data);var z=this.layoutMode;z&&o(this.option,k,z),v(this);var W=this.getInitialData(k,K);H(W,this),this.dataTask.dirty(),this.dataTask.context.data=W,_(this).dataBeforeProcessed=W,C(this)},fillDataTextStyle:function(k){if(k&&!A.isTypedArray(k))for(var K=["show"],z=0;z":` +`,V=W==="richText",q={},re=0;function ce(pe){var De=A.reduce(pe,function(it,yt,pt){var Pe=fe.getDimensionInfo(pt);return it|=Pe&&Pe.tooltip!==!1&&Pe.displayName!=null},0),Ne=[];xe.length?A.each(xe,function(it){me(S(fe,k,it),it)}):A.each(pe,me);function me(it,yt){var pt=fe.getDimensionInfo(yt);if(!pt||pt.otherDims.tooltip===!1)return;var Pe=pt.type,Nt="sub"+P.seriesIndex+"at"+re,ut=a({color:Be,type:"subItem",renderMode:W,markerId:Nt}),Ft=typeof ut=="string"?ut:ut.content,Ut=(De?Ft+m(pt.displayName||"-")+": ":"")+m(Pe==="ordinal"?it+"":Pe==="time"?K?"":e("yyyy/MM/dd hh:mm:ss",it):d(it));Ut&&Ne.push(Ut),V&&(q[Nt]=Be,++re)}var be=De?V?` +`:"
":"",Re=be+Ne.join(be||", ");return{renderMode:W,content:Re,style:q}}function ie(pe){return{renderMode:W,content:m(d(pe)),style:q}}var fe=this.getData(),xe=fe.mapDimension("defaultedTooltip",!0),Se=xe.length,ke=this.getRawValue(k),ge=A.isArray(ke),Be=fe.getItemVisual(k,"color");A.isObject(Be)&&Be.colorStops&&(Be=(Be.colorStops[0]||{}).color),Be=Be||"transparent";var ee=Se>1||ge&&!Se?ce(ke):ie(Se?S(fe,k,xe[0]):ge?ke[0]:ke),ue=ee.content,Ge=P.seriesIndex+"at"+re,ae=a({color:Be,type:"item",renderMode:W,markerId:Ge});q[Ge]=Be,++re;var Z=fe.getName(k),Y=this.name;n.isNameSpecified(this)||(Y=""),Y=Y?m(Y)+(K?": ":G):"";var te=typeof ae=="string"?ae:ae.content,we=K?te+Y+ue:Y+te+(Z?m(Z)+": "+ue:ue);return{html:we,markers:q}},isAnimationEnabled:function(){if(f.node)return!1;var k=this.getShallow("animation");return k&&(this.getData().count()>this.getShallow("animationThreshold")&&(k=!1)),k},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(k,K,z){var W=this.ecModel,P=c.getColorFromPalette.call(this,k,K,z);return P||(P=W.getColorFromPalette(k,K,z)),P},coordDimToDataDim:function(k){return this.getRawData().mapDimension(k,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});A.mixin(I,i),A.mixin(I,c);function C(k){var K=k.name;n.isNameSpecified(k)||(k.name=E(k)||K)}function E(k){var K=k.getRawData(),z=K.mapDimension("seriesName",!0),W=[];return A.each(z,function(P){var G=K.getDimensionInfo(P);G.displayName&&W.push(G.displayName)}),W.join(" ")}function O(k){return k.model.getRawData().count()}function M(k){var K=k.model;return K.setData(K.getRawData().cloneShallow()),F}function F(k,K){K.outputData&&k.end>K.outputData.count()&&K.model.getRawData().cloneShallow(K.outputData)}function H(k,K){A.each(k.CHANGABLE_METHODS,function(z){k.wrapMethod(z,A.curry(B,K))})}function B(k){var K=X(k);K&&K.setOutputEnd(this.count())}function X(k){var K=(k.ecModel||{}).scheduler,z=K&&K.getPipeline(k.uid);if(z){var W=z.currentTask;if(W){var P=W.agentStubMap;P&&(W=P.get(k.uid))}return W}}var J=I;j.exports=J},T6xi:function(j,R,l){var x=l("YgsL"),b=l("nCxF");function A(f,t,e){var m=t.points,d=t.smooth;if(m&&m.length>=2){if(d&&d!=="spline"){var a=b(m,d,e,t.smoothConstraint);f.moveTo(m[0][0],m[0][1]);for(var n=m.length,s=0;s<(e?n:n-1);s++){var c=a[s*2],i=a[s*2+1],u=m[(s+1)%n];f.bezierCurveTo(c[0],c[1],i[0],i[1],u[0],u[1])}}else{d==="spline"&&(m=x(m,e)),f.moveTo(m[0][0],m[0][1]);for(var s=1,r=m.length;s0?f:t)}function i(u,r){return r.get(u>0?b:A)}}};j.exports=e},TWL2:function(j,R,l){var x=l("IwbS"),b=l("bYtY"),A=l("6Ic6");function f(a,n){x.Group.call(this);var s=new x.Polygon,c=new x.Polyline,i=new x.Text;this.add(s),this.add(c),this.add(i),this.highDownOnUpdate=function(u,r){r==="emphasis"?(c.ignore=c.hoverIgnore,i.ignore=i.hoverIgnore):(c.ignore=c.normalIgnore,i.ignore=i.normalIgnore)},this.updateData(a,n,!0)}var t=f.prototype,e=["itemStyle","opacity"];t.updateData=function(a,n,s){var c=this.childAt(0),i=a.hostModel,u=a.getItemModel(n),r=a.getItemLayout(n),o=a.getItemModel(n).get(e);o=o==null?1:o,c.useStyle({}),s?(c.setShape({points:r.points}),c.setStyle({opacity:0}),x.initProps(c,{style:{opacity:o}},i,n)):x.updateProps(c,{style:{opacity:o},shape:{points:r.points}},i,n);var h=u.getModel("itemStyle"),p=a.getItemVisual(n,"color");c.setStyle(b.defaults({lineJoin:"round",fill:p},h.getItemStyle(["opacity"]))),c.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(a,n),x.setHoverStyle(this)},t._updateLabel=function(a,n){var s=this.childAt(1),c=this.childAt(2),i=a.hostModel,u=a.getItemModel(n),r=a.getItemLayout(n),o=r.label,h=a.getItemVisual(n,"color");x.updateProps(s,{shape:{points:o.linePoints||o.linePoints}},i,n),x.updateProps(c,{style:{x:o.x,y:o.y}},i,n),c.attr({rotation:o.rotation,origin:[o.x,o.y],z2:10});var p=u.getModel("label"),g=u.getModel("emphasis.label"),v=u.getModel("labelLine"),y=u.getModel("emphasis.labelLine"),h=a.getItemVisual(n,"color");x.setLabelStyle(c.style,c.hoverStyle={},p,g,{labelFetcher:a.hostModel,labelDataIndex:n,defaultText:a.getName(n),autoColor:h,useInsideStyle:!!o.inside},{textAlign:o.textAlign,textVerticalAlign:o.verticalAlign}),c.ignore=c.normalIgnore=!p.get("show"),c.hoverIgnore=!g.get("show"),s.ignore=s.normalIgnore=!v.get("show"),s.hoverIgnore=!y.get("show"),s.setStyle({stroke:h}),s.setStyle(v.getModel("lineStyle").getLineStyle()),s.hoverStyle=y.getModel("lineStyle").getLineStyle()},b.inherits(f,x.Group);var m=A.extend({type:"funnel",render:function(a,n,s){var c=a.getData(),i=this._data,u=this.group;c.diff(i).add(function(r){var o=new f(c,r);c.setItemGraphicEl(r,o),u.add(o)}).update(function(r,o){var h=i.getItemGraphicEl(o);h.updateData(c,r),u.add(h),c.setItemGraphicEl(r,h)}).remove(function(r){var o=i.getItemGraphicEl(r);u.remove(o)}).execute(),this._data=c},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),d=m;j.exports=d},TYVI:function(j,R,l){var x=l("5GtS"),b=l("T4UG"),A=b.extend({type:"series.gauge",getInitialData:function(t,e){return x(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),f=A;j.exports=f},Tghj:function(j,R,l){(function(x){var b;typeof window!="undefined"?b=window.__DEV__:typeof x!="undefined"&&(b=x.__DEV__),typeof b=="undefined"&&(b=!0);var A=b;R.__DEV__=A}).call(this,l("yLpj"))},ThAp:function(j,R,l){var x=l("bYtY"),b=l("5GtS"),A=l("T4UG"),f=l("7aKB"),t=f.encodeHTML,e=f.addCommas,m=l("cCMj"),d=l("KxfA"),a=d.retrieveRawAttr,n=l("W4dC"),s=l("D5nY"),c=s.makeSeriesEncodeForNameBased,i=A.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(r){for(var o=b(this,{coordDimensions:["value"],encodeDefaulter:x.curry(c,this)}),h=o.mapDimension("value"),p=x.createHashMap(),g=[],v=[],y=0,w=o.count();y"+t(p+" : "+h)},getTooltipPosition:function(r){if(r!=null){var o=this.getData().getName(r),h=this.coordinateSystem,p=h.getRegion(o);return p&&h.dataToPoint(p.center)}},setZoom:function(r){this.option.zoom=r},setCenter:function(r){this.option.center=r},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});x.mixin(i,m);var u=i;j.exports=u},TkdX:function(j,R,l){var x=l("bYtY"),b=l("IwbS"),A={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},f=2,t=4;function e(i,u,r){b.Group.call(this);var o=new b.Sector({z2:f});o.seriesIndex=u.seriesIndex;var h=new b.Text({z2:t,silent:i.getModel("label").get("silent")});this.add(o),this.add(h),this.updateData(!0,i,"normal",u,r);function p(){h.ignore=h.hoverIgnore}function g(){h.ignore=h.normalIgnore}this.on("emphasis",p).on("normal",g).on("mouseover",p).on("mouseout",g)}var m=e.prototype;m.updateData=function(i,u,r,o,h){this.node=u,u.piece=this,o=o||this._seriesModel,h=h||this._ecModel;var p=this.childAt(0);p.dataIndex=u.dataIndex;var g=u.getModel(),v=u.getLayout(),y=x.extend({},v);y.label=null;var w=a(u,o,h);c(u,o,w);var S=g.getModel("itemStyle").getItemStyle(),_;if(r==="normal")_=S;else{var I=g.getModel(r+".itemStyle").getItemStyle();_=x.merge(I,S)}_=x.defaults({lineJoin:"bevel",fill:_.fill||w},_),i?(p.setShape(y),p.shape.r=v.r0,b.updateProps(p,{shape:{r:v.r}},o,u.dataIndex),p.useStyle(_)):typeof _.fill=="object"&&_.fill.type||typeof p.style.fill=="object"&&p.style.fill.type?(b.updateProps(p,{shape:y},o),p.useStyle(_)):b.updateProps(p,{shape:y,style:_},o),this._updateLabel(o,w,r);var C=g.getShallow("cursor");if(C&&p.attr("cursor",C),i){var E=o.getShallow("highlightPolicy");this._initEvents(p,u,o,E)}this._seriesModel=o||this._seriesModel,this._ecModel=h||this._ecModel,b.setHoverStyle(this)},m.onEmphasis=function(i){var u=this;this.node.hostTree.root.eachNode(function(r){r.piece&&(u.node===r?r.piece.updateData(!1,r,"emphasis"):s(r,u.node,i)?r.piece.childAt(0).trigger("highlight"):i!==A.NONE&&r.piece.childAt(0).trigger("downplay"))})},m.onNormal=function(){this.node.hostTree.root.eachNode(function(i){i.piece&&i.piece.updateData(!1,i,"normal")})},m.onHighlight=function(){this.updateData(!1,this.node,"highlight")},m.onDownplay=function(){this.updateData(!1,this.node,"downplay")},m._updateLabel=function(i,u,r){var o=this.node.getModel(),h=o.getModel("label"),p=r==="normal"||r==="emphasis"?h:o.getModel(r+".label"),g=o.getModel("emphasis.label"),v=x.retrieve(i.getFormattedLabel(this.node.dataIndex,r,null,null,"label"),this.node.name);K("show")===!1&&(v="");var y=this.node.getLayout(),w=p.get("minAngle");w==null&&(w=h.get("minAngle")),w=w/180*Math.PI;var S=y.endAngle-y.startAngle;w!=null&&Math.abs(S)Math.PI/2?"right":"left"):!H||H==="center"?(O=(y.r+y.r0)/2,H="center"):H==="left"?(O=y.r0+F,I>Math.PI/2&&(H="right")):H==="right"&&(O=y.r-F,I>Math.PI/2&&(H="left")),_.attr("style",{text:v,textAlign:H,textVerticalAlign:K("verticalAlign")||"middle",opacity:K("opacity")});var B=O*C+y.cx,X=O*E+y.cy;_.attr("position",[B,X]);var J=K("rotate"),k=0;J==="radial"?(k=-I,k<-Math.PI/2&&(k+=Math.PI)):J==="tangential"?(k=Math.PI/2-I,k>Math.PI/2?k-=Math.PI:k<-Math.PI/2&&(k+=Math.PI)):typeof J=="number"&&(k=J*Math.PI/180),_.attr("rotation",k);function K(z){var W=p.get(z);return W==null?h.get(z):W}},m._initEvents=function(i,u,r,o){i.off("mouseover").off("mouseout").off("emphasis").off("normal");var h=this,p=function(){h.onEmphasis(o)},g=function(){h.onNormal()},v=function(){h.onDownplay()},y=function(){h.onHighlight()};r.isAnimationEnabled()&&i.on("mouseover",p).on("mouseout",g).on("emphasis",p).on("normal",g).on("downplay",v).on("highlight",y)},x.inherits(e,b.Group);var d=e;function a(i,u,r){var o=i.getVisual("color"),h=i.getVisual("visualMeta");(!h||h.length===0)&&(o=null);var p=i.getModel("itemStyle").get("color");if(p)return p;if(o)return o;if(i.depth===0)return r.option.color[0];var g=r.option.color.length;return p=r.option.color[n(i)%g],p}function n(i){for(var u=i;u.depth>1;)u=u.parentNode;var r=i.getAncestors()[0];return x.indexOf(r.children,u)}function s(i,u,r){return r===A.NONE?!1:r===A.SELF?i===u:r===A.ANCESTOR?i===u||i.isAncestorOf(u):i===u||i.isDescendantOf(u)}function c(i,u,r){var o=u.getData();o.setItemVisual(i.dataIndex,"color",r)}j.exports=d},Tp9H:function(j,R,l){var x=l("ItGF"),b=l("Kagy"),A=l("IUWy"),f=b.toolbox.saveAsImage;function t(d){this.model=d}t.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:f.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:f.lang.slice()},t.prototype.unusable=!x.canvasSupported;var e=t.prototype;e.onclick=function(d,a){var n=this.model,s=n.get("name")||d.get("title.0.text")||"echarts",c=a.getZr().painter.getType()==="svg",i=c?"svg":n.get("type",!0)||"png",u=a.getConnectedDataURL({type:i,backgroundColor:n.get("backgroundColor",!0)||d.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if(typeof MouseEvent=="function"&&!x.browser.ie&&!x.browser.edge){var r=document.createElement("a");r.download=s+"."+i,r.target="_blank",r.href=u;var o=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});r.dispatchEvent(o)}else if(window.navigator.msSaveOrOpenBlob){for(var h=atob(u.split(",")[1]),p=h.length,g=new Uint8Array(p);p--;)g[p]=h.charCodeAt(p);var v=new Blob([g]);window.navigator.msSaveOrOpenBlob(v,s+"."+i)}else{var y=n.get("lang"),w='',S=window.open();S.document.write(w)}},A.register("saveAsImage",t);var m=t;j.exports=m},"U/Mo":function(j,R){function l(b){var A=b.coordinateSystem;if(A.type!=="view")return 1;var f=b.option.nodeScaleRatio,t=A.scale,e=t&&t[0]||1,m=A.getZoom(),d=(m-1)*f+1;return d/e}function x(b){var A=b.getVisual("symbolSize");return A instanceof Array&&(A=(A[0]+A[1])/2),+A}R.getNodeGlobalScale=l,R.getSymbolSize=x},UADf:function(j,R,l){},UESt:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="RightOutlined";var m=R.a=b.forwardRef(e)},UOVi:function(j,R,l){var x=l("bYtY"),b=l("7aKB"),A=["x","y","z","radius","angle","single"],f=["cartesian2d","polar","singleAxis"];function t(a){return x.indexOf(f,a)>=0}function e(a,n){a=a.slice();var s=x.map(a,b.capitalFirst);n=(n||[]).slice();var c=x.map(n,b.capitalFirst);return function(i,u){x.each(a,function(r,o){for(var h={name:r,capital:s[o]},p=0;p=0}function i(r,o){var h=!1;return n(function(p){x.each(s(r,p)||[],function(g){o.records[p.name][g]&&(h=!0)})}),h}function u(r,o){o.nodes.push(r),n(function(h){x.each(s(r,h)||[],function(p){o.records[h.name][p]=!0})})}}R.isCoordSupported=t,R.createNameEach=e,R.eachAxisDim=m,R.createLinkedNodesFinder=d},Uc92:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};R.default=x},UnoB:function(j,R,l){var x=l("bYtY"),b=l("OELB");function A(e,m){e.eachSeriesByType("themeRiver",function(d){var a=d.getData(),n=d.coordinateSystem,s={},c=n.getRect();s.rect=c;var i=d.get("boundaryGap"),u=n.getAxis();if(s.boundaryGap=i,u.orient==="horizontal"){i[0]=b.parsePercent(i[0],c.height),i[1]=b.parsePercent(i[1],c.height);var r=c.height-i[0]-i[1];f(a,d,r)}else{i[0]=b.parsePercent(i[0],c.width),i[1]=b.parsePercent(i[1],c.width);var o=c.width-i[0]-i[1];f(a,d,o)}a.setLayout("layoutInfo",s)})}function f(e,m,d){if(!e.count())return;for(var a=m.coordinateSystem,n=m.getLayerSeries(),s=e.mapDimension("single"),c=e.mapDimension("value"),i=x.map(n,function(w){return x.map(w.indices,function(S){var _=a.dataToPoint(e.get(s,S));return _[1]=e.get(c,S),_})}),u=t(i),r=u.y0,o=d/u.max,h=n.length,p=n[0].indices.length,g,v=0;vs&&(s=c),a.push(c)}for(var o=0;os&&(s=p)}return i.y0=n,i.max=s,i}j.exports=A},Urep:function(j,R,l){},V7ic:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("digP")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="FileTwoTone";var d=f.forwardRef(m);R.default=d},VFCP:function(j,R,l){l("dBmv"),l("KamJ")},VPsl:function(j,R){function l(x){x.eachSeriesByType("map",function(b){var A=b.get("color"),f=b.getModel("itemStyle"),t=f.get("areaColor"),e=f.get("color")||A[b.seriesIndex%A.length];b.getData().setVisual({areaColor:t,color:e})})}j.exports=l},VR9l:function(j,R,l){var x=l("KCsZ"),b=x([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),A={getItemStyle:function(f,t){var e=b(this,f,t),m=this.getBorderLineDash();return m&&(e.lineDash=m),e},getBorderLineDash:function(){var f=this.get("borderType");return f==="solid"||f==null?null:f==="dashed"?[5,5]:[1,1]}};j.exports=A},VSLf:function(j,R,l){l("I+Bx"),l("F0hE"),l("bBKM")},VSMT:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.decodeUTF8=x,R.encodeUTF8=b;function x(A){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(A))}catch(t){if(t instanceof URIError&&f)return A;throw t}}function b(A){return unescape(encodeURIComponent(A))}},VXYp:function(j,R,l){var x=l("bYtY"),b=l("SgGq"),A=l("iLNv"),f="\0_ec_dataZoom_roams";function t(i,u){var r=d(i),o=u.dataZoomId,h=u.coordId;x.each(r,function(v,y){var w=v.dataZoomInfos;w[o]&&x.indexOf(u.allCoordIds,h)<0&&(delete w[o],v.count--)}),n(r);var p=r[h];p||(p=r[h]={coordId:h,dataZoomInfos:{},count:0},p.controller=a(i,p),p.dispatchAction=x.curry(s,i)),!p.dataZoomInfos[o]&&p.count++,p.dataZoomInfos[o]=u;var g=c(p.dataZoomInfos);p.controller.enable(g.controlType,g.opt),p.controller.setPointerChecker(u.containsPoint),A.createOrUpdate(p,"dispatchAction",u.dataZoomModel.get("throttle",!0),"fixRate")}function e(i,u){var r=d(i);x.each(r,function(o){o.controller.dispose();var h=o.dataZoomInfos;h[u]&&(delete h[u],o.count--)}),n(r)}function m(i){return i.type+"\0_"+i.id}function d(i){var u=i.getZr();return u[f]||(u[f]={})}function a(i,u){var r=new b(i.getZr());return x.each(["pan","zoom","scrollMove"],function(o){r.on(o,function(h){var p=[];x.each(u.dataZoomInfos,function(g){if(!h.isAvailableBehavior(g.dataZoomModel.option))return;var v=(g.getRange||{})[o],y=v&&v(u.controller,h);!g.dataZoomModel.get("disabled",!0)&&y&&p.push({dataZoomId:g.dataZoomId,start:y[0],end:y[1]})}),p.length&&u.dispatchAction(p)})}),r}function n(i){x.each(i,function(u,r){u.count||(u.controller.dispose(),delete i[r])})}function s(i,u){i.dispatchAction({type:"dataZoom",batch:u})}function c(i){var u,r="type_",o={type_true:2,type_move:1,type_false:0,type_undefined:-1},h=!0;return x.each(i,function(p){var g=p.dataZoomModel,v=g.get("disabled",!0)?!1:g.get("zoomLock",!0)?"move":!0;o[r+v]>o[r+u]&&(u=v),h&=g.get("preventDefaultMouseMove",!0)}),{controlType:u,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!h}}}R.register=t,R.unregister=e,R.generateCoordId=m},VaxA:function(j,R,l){var x=l("bYtY");function b(e,m,d){if(e&&x.indexOf(m,e.type)>=0){var a=d.getData().tree.root,n=e.targetNode;if(typeof n=="string"&&(n=a.getNodeById(n)),n&&a.contains(n))return{node:n};var s=e.targetNodeId;if(s!=null&&(n=a.getNodeById(s)))return{node:n}}}function A(e){for(var m=[];e;)e=e.parentNode,e&&m.push(e);return m.reverse()}function f(e,m){var d=A(e);return x.indexOf(d,m)>=0}function t(e,m){for(var d=[];e;){var a=e.dataIndex;d.push({name:e.name,dataIndex:a,value:m.getRawValue(a)}),e=e.parentNode}return d.reverse(),d}R.retrieveTargetInfo=b,R.getPathToRoot=A,R.aboveViewRoot=f,R.wrapTreePathInfo=t},Vi4m:function(j,R,l){var x=l("bYtY");function b(f){f!=null&&x.extend(this,f),this.otherDims={}}var A=b;j.exports=A},Vl3Y:function(j,R,l){"use strict";var x=l("pVnL"),b=l.n(x),A=l("J4zp"),f=l.n(A),t=l("lSNA"),e=l.n(t),m=l("q1tI"),d=l("TSYQ"),a=l.n(d),n=l("85Yc"),s=l("H84U"),c=l("BGR+"),i=m.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),u=m.createContext({updateItemErrors:function(){}}),r=function(bt){var jt=Object(c.default)(bt,["prefixCls"]);return m.createElement(n.FormProvider,jt)};function o(ve){return typeof ve=="object"&&ve!=null&&ve.nodeType===1}function h(ve,bt){return(!bt||ve!=="hidden")&&ve!=="visible"&&ve!=="clip"}function p(ve,bt){if(ve.clientHeightbt||Ar>ve&&at=bt&&Ht>=jt?Ar-ve-He:at>bt&&Htjt?at-bt+kt:0}var v=function(ve,bt){var jt=window,He=bt.scrollMode,kt=bt.block,Ar=bt.inline,at=bt.boundary,Ht=bt.skipOverflowHiddenElements,Wt=typeof at=="function"?at:function(di){return di!==at};if(!o(ve))throw new TypeError("Invalid target");for(var ot=document.scrollingElement||document.documentElement,et=[],Ze=ve;o(Ze)&&Wt(Ze);){if((Ze=Ze.parentElement)===ot){et.push(Ze);break}Ze!=null&&Ze===document.body&&p(Ze)&&!p(document.documentElement)||Ze!=null&&p(Ze,Ht)&&et.push(Ze)}for(var Gt=jt.visualViewport?jt.visualViewport.width:innerWidth,yr=jt.visualViewport?jt.visualViewport.height:innerHeight,br=window.scrollX||pageXOffset,Sr=window.scrollY||pageYOffset,Tn=ve.getBoundingClientRect(),cn=Tn.height,Wn=Tn.width,lt=Tn.top,mt=Tn.right,Le=Tn.bottom,ze=Tn.left,$e=kt==="start"||kt==="nearest"?lt:kt==="end"?Le:lt+cn/2,gt=Ar==="center"?ze+Wn/2:Ar==="end"?mt:ze,ir=[],Xt=0;Xt=0&&ze>=0&&Le<=yr&&mt<=Gt&<>=ar&&Le<=Ct&&ze>=mr&&mt<=It)return ir;var gr=getComputedStyle(er),Mt=parseInt(gr.borderLeftWidth,10),rr=parseInt(gr.borderTopWidth,10),Dt=parseInt(gr.borderRightWidth,10),tr=parseInt(gr.borderBottomWidth,10),Dr=0,dr=0,Tr="offsetWidth"in er?er.offsetWidth-er.clientWidth-Mt-Dt:0,vn="offsetHeight"in er?er.offsetHeight-er.clientHeight-rr-tr:0;if(ot===er)Dr=kt==="start"?$e:kt==="end"?$e-yr:kt==="nearest"?g(Sr,Sr+yr,yr,rr,tr,Sr+$e,Sr+$e+cn,cn):$e-yr/2,dr=Ar==="start"?gt:Ar==="center"?gt-Gt/2:Ar==="end"?gt-Gt:g(br,br+Gt,Gt,Mt,Dt,br+gt,br+gt+Wn,Wn),Dr=Math.max(0,Dr+Sr),dr=Math.max(0,dr+br);else{Dr=kt==="start"?$e-ar-rr:kt==="end"?$e-Ct+tr+vn:kt==="nearest"?g(ar,Ct,en,rr,tr+vn,$e,$e+cn,cn):$e-(ar+en/2)+vn/2,dr=Ar==="start"?gt-mr-Mt:Ar==="center"?gt-(mr+Fn/2)+Tr/2:Ar==="end"?gt-It+Dt+Tr:g(mr,It,Fn,Mt,Dt+Tr,gt,gt+Wn,Wn);var on=er.scrollLeft,Gn=er.scrollTop;$e+=Gn-(Dr=Math.max(0,Math.min(Gn+Dr,er.scrollHeight-en+vn))),gt+=on-(dr=Math.max(0,Math.min(on+dr,er.scrollWidth-Fn+Tr)))}ir.push({el:er,top:Dr,left:dr})}return ir};function y(ve){return ve===Object(ve)&&Object.keys(ve).length!==0}function w(ve,bt){bt===void 0&&(bt="auto");var jt="scrollBehavior"in document.body.style;ve.forEach(function(He){var kt=He.el,Ar=He.top,at=He.left;kt.scroll&&jt?kt.scroll({top:Ar,left:at,behavior:bt}):(kt.scrollTop=Ar,kt.scrollLeft=at)})}function S(ve){return ve===!1?{block:"end",inline:"nearest"}:y(ve)?ve:{block:"start",inline:"nearest"}}function _(ve,bt){var jt=!ve.ownerDocument.documentElement.contains(ve);if(y(bt)&&typeof bt.behavior=="function")return bt.behavior(jt?[]:v(ve,bt));if(jt)return;var He=S(bt);return w(v(ve,He),He.behavior)}var I=_;function C(ve){return ve===void 0||ve===!1?[]:Array.isArray(ve)?ve:[ve]}function E(ve,bt){if(!ve.length)return;var jt=ve.join("_");return bt?"".concat(bt,"_").concat(jt):jt}function O(ve){var bt=C(ve);return bt.join("_")}function M(ve){var bt=Object(n.useForm)(),jt=f()(bt,1),He=jt[0],kt=Object(m.useRef)({}),Ar=Object(m.useMemo)(function(){return ve||b()(b()({},He),{__INTERNAL__:{itemRef:function(Ht){return function(Wt){var ot=O(Ht);Wt?kt.current[ot]=Wt:delete kt.current[ot]}}},scrollToField:function(Ht){var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ot=C(Ht),et=E(ot,Ar.__INTERNAL__.name),Ze=et?document.getElementById(et):null;Ze&&I(Ze,b()({scrollMode:"if-needed",block:"nearest"},Wt))},getFieldInstance:function(Ht){var Wt=O(Ht);return kt.current[Wt]}})},[ve,He]);return[Ar]}var F=l("3Nzz"),H=function(ve,bt){var jt={};for(var He in ve)Object.prototype.hasOwnProperty.call(ve,He)&&bt.indexOf(He)<0&&(jt[He]=ve[He]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,He=Object.getOwnPropertySymbols(ve);kt0&&arguments[0]!==void 0?arguments[0]:{};return G()(Xe[dt],Me)?Xe:b()(b()({},Xe),e()({},dt,Me))})},di=Nt();function Ti(dt,Me,Xe,Qe){var st,nt;if(He&&!lt)return dt;var ft=[];Object.keys(Mt).forEach(function(Ur){ft=[].concat(W()(ft),W()(Mt[Ur]||[]))});var Bt;et!=null?Bt=C(et):(Bt=Xe?Xe.errors:[],Bt=[].concat(W()(Bt),W()(ft)));var Et="";Gt!==void 0?Et=Gt:(Xe==null?void 0:Xe.validating)?Et="validating":((nt=Xe==null?void 0:Xe.errors)===null||nt===void 0?void 0:nt.length)||ft.length?Et="error":(Xe==null?void 0:Xe.touched)&&(Et="success"),ar&&et&&(Ct.current=Et);var nr=(st={},e()(st,"".concat(on,"-item"),!0),e()(st,"".concat(on,"-item-with-help"),ar||et),e()(st,"".concat(Ht),!!Ht),e()(st,"".concat(on,"-item-has-feedback"),Et&&ot),e()(st,"".concat(on,"-item-has-success"),Et==="success"),e()(st,"".concat(on,"-item-has-warning"),Et==="warning"),e()(st,"".concat(on,"-item-has-error"),Et==="error"),e()(st,"".concat(on,"-item-has-error-leave"),!et&&ar&&Ct.current==="error"),e()(st,"".concat(on,"-item-is-validating"),Et==="validating"),e()(st,"".concat(on,"-item-hidden"),lt),st);return m.createElement(re.a,b()({className:a()(nr),style:at,key:"row"},Object(c.default)(mt,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),m.createElement(ge,b()({htmlFor:Me,required:Qe,requiredMark:Xt},ve,{prefixCls:on})),m.createElement(Re,b()({},ve,Xe,{errors:Bt,prefixCls:on,onDomErrorVisibleChange:dr,validateStatus:Et}),m.createElement(u.Provider,{value:{updateItemErrors:Gn}},dt)))}var Fi=typeof yr=="function",la=m.useRef(0);if(la.current+=1,!Tr&&!Fi&&!kt)return Ti(yr);var Ta={};return typeof Sr=="string"&&(Ta.label=Sr),m.createElement(n.Field,b()({},ve,{messageVariables:Ta,trigger:cn,validateTrigger:Dr,onReset:function(){dr(!1)}}),function(dt,Me,Xe){var Qe=Me.errors,st=C(bt).length&&Me?Me.name:[],nt=E(st,ir);if(He){if(vn.current=W()(st),jt){var ft=Array.isArray(jt)?jt:[jt];vn.current=[].concat(W()(st.slice(0,-1)),W()(ft))}Kr(vn.current.join("__SPLIT__"),Qe)}var Bt=br!==void 0?br:!!(Ze&&Ze.some(function(Vr){if(Vr&&K()(Vr)==="object"&&Vr.required)return!0;if(typeof Vr=="function"){var sr=Vr(Xe);return sr&&sr.required}return!1})),Et=b()({},dt),nr=null;if(Object(ie.a)(!(Wt&&kt),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(yr)&&Tr)Object(ie.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),nr=yr;else if(Fi&&(!(Wt||kt)||Tr))Object(ie.a)(!!(Wt||kt),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(ie.a)(!Tr,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(kt&&!Fi&&!Tr)Object(ie.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(it.b)(yr)){Object(ie.a)(yr.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Ur=b()(b()({},yr.props),Et);Ur.id||(Ur.id=nt),Object(q.c)(yr)&&(Ur.ref=di(st,yr));var Lr=new Set([].concat(W()(C(cn)),W()(C(Dr))));Lr.forEach(function(Vr){Ur[Vr]=function(){for(var sr,Bn,Er,gn,rn,Br=arguments.length,Vn=new Array(Br),gi=0;git&&(c=d+a,d*=t/c,a*=t/c),n+s>t&&(c=n+s,n*=t/c,s*=t/c),a+n>e&&(c=a+n,a*=e/c,n*=e/c),d+s>e&&(c=d+s,d*=e/c,s*=e/c),x.moveTo(A+d,f),x.lineTo(A+t-a,f),a!==0&&x.arc(A+t-a,f+a,a,-Math.PI/2,0),x.lineTo(A+t,f+e-n),n!==0&&x.arc(A+t-n,f+e-n,n,0,Math.PI/2),x.lineTo(A+s,f+e),s!==0&&x.arc(A+s,f+e-s,s,Math.PI/2,Math.PI),x.lineTo(A,f+d),d!==0&&x.arc(A+d,f+d,d,Math.PI,Math.PI*1.5)}R.buildPath=l},"VrN/":function(j,R,l){(function(x,b){j.exports=b()})(this,function(){"use strict";var x=navigator.userAgent,b=navigator.platform,A=/gecko\/\d/i.test(x),f=/MSIE \d/.test(x),t=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(x),e=/Edge\/(\d+)/.exec(x),m=f||t||e,d=m&&(f?document.documentMode||6:+(e||t)[1]),a=!e&&/WebKit\//.test(x),n=a&&/Qt\/\d+\.\d+/.test(x),s=!e&&/Chrome\//.test(x),c=/Opera\//.test(x),i=/Apple Computer/.test(navigator.vendor),u=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(x),r=/PhantomJS/.test(x),o=!e&&/AppleWebKit/.test(x)&&/Mobile\/\w+/.test(x),h=/Android/.test(x),p=o||h||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(x),g=o||/Mac/.test(b),v=/\bCrOS\b/.test(x),y=/win/i.test(b),w=c&&x.match(/Version\/(\d*\.\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(c=!1,a=!0);var S=g&&(n||c&&(w==null||w<12.11)),_=A||m&&d>=9;function I(D){return new RegExp("(^|\\s)"+D+"(?:$|\\s)\\s*")}var C=function(U,oe){var le=U.className,Ae=I(oe).exec(le);if(Ae){var Ke=le.slice(Ae.index+Ae[0].length);U.className=le.slice(0,Ae.index)+(Ke?Ae[1]+Ke:"")}};function E(D){for(var U=D.childNodes.length;U>0;--U)D.removeChild(D.firstChild);return D}function O(D,U){return E(D).appendChild(U)}function M(D,U,oe,le){var Ae=document.createElement(D);if(oe&&(Ae.className=oe),le&&(Ae.style.cssText=le),typeof U=="string")Ae.appendChild(document.createTextNode(U));else if(U)for(var Ke=0;Ke=U)return Tt+(U-Ke);Tt+=Qt-Ke,Tt+=oe-Tt%oe,Ke=Qt+1}}var G=function(){this.id=null,this.f=null,this.time=0,this.handler=z(this.onTimeout,this)};G.prototype.onTimeout=function(D){D.id=0,D.time<=+new Date?D.f():setTimeout(D.handler,D.time-+new Date)},G.prototype.set=function(D,U){this.f=U;var oe=+new Date+D;(!this.id||oe=U)return le+Math.min(Tt,U-Ae);if(Ae+=Ke-le,Ae+=oe-Ae%oe,le=Ke+1,Ae>=U)return le}}var Se=[""];function ke(D){for(;Se.length<=D;)Se.push(ge(Se)+" ");return Se[D]}function ge(D){return D[D.length-1]}function Be(D,U){for(var oe=[],le=0;le"\x80"&&(D.toUpperCase()!=D.toLowerCase()||ae.test(D))}function Y(D,U){return U?U.source.indexOf("\\w")>-1&&Z(D)?!0:U.test(D):Z(D)}function te(D){for(var U in D)if(D.hasOwnProperty(U)&&D[U])return!1;return!0}var we=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function pe(D){return D.charCodeAt(0)>=768&&we.test(D)}function De(D,U,oe){for(;(oe<0?U>0:Uoe?-1:1;;){if(U==oe)return U;var Ae=(U+oe)/2,Ke=le<0?Math.ceil(Ae):Math.floor(Ae);if(Ke==U)return D(Ke)?U:oe;D(Ke)?oe=Ke:U=Ke+le}}function me(D,U,oe,le){if(!D)return le(U,oe,"ltr",0);for(var Ae=!1,Ke=0;KeU||U==oe&&Tt.to==U)&&(le(Math.max(Tt.from,U),Math.min(Tt.to,oe),Tt.level==1?"rtl":"ltr",Ke),Ae=!0)}Ae||le(U,oe,"ltr")}var be=null;function Re(D,U,oe){var le;be=null;for(var Ae=0;AeU)return Ae;Ke.to==U&&(Ke.from!=Ke.to&&oe=="before"?le=Ae:be=Ae),Ke.from==U&&(Ke.from!=Ke.to&&oe!="before"?le=Ae:be=Ae)}return le!=null?le:be}var it=function(){var D="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",U="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function oe(vr){return vr<=247?D.charAt(vr):1424<=vr&&vr<=1524?"R":1536<=vr&&vr<=1785?U.charAt(vr-1536):1774<=vr&&vr<=2220?"r":8192<=vr&&vr<=8203?"w":vr==8204?"b":"L"}var le=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,Ae=/[stwN]/,Ke=/[LRr]/,Tt=/[Lb1n]/,Qt=/[1n]/;function fr(vr,xn,Hn){this.level=vr,this.from=xn,this.to=Hn}return function(vr,xn){var Hn=xn=="ltr"?"L":"R";if(vr.length==0||xn=="ltr"&&!le.test(vr))return!1;for(var hi=vr.length,ci=[],ra=0;ra-1&&(le[U]=Ae.slice(0,Ke).concat(Ae.slice(Ke+1)))}}}function Ft(D,U){var oe=Nt(D,U);if(!oe.length)return;for(var le=Array.prototype.slice.call(arguments,2),Ae=0;Ae0}function or(D){D.prototype.on=function(U,oe){Pe(this,U,oe)},D.prototype.off=function(U,oe){ut(this,U,oe)}}function ht(D){D.preventDefault?D.preventDefault():D.returnValue=!1}function Ee(D){D.stopPropagation?D.stopPropagation():D.cancelBubble=!0}function de(D){return D.defaultPrevented!=null?D.defaultPrevented:D.returnValue==!1}function qe(D){ht(D),Ee(D)}function rt(D){return D.target||D.srcElement}function ve(D){var U=D.which;return U==null&&(D.button&1?U=1:D.button&2?U=3:D.button&4&&(U=2)),g&&D.ctrlKey&&U==1&&(U=3),U}var bt=function(){if(m&&d<9)return!1;var D=M("div");return"draggable"in D||"dragDrop"in D}(),jt;function He(D){if(jt==null){var U=M("span","\u200B");O(D,M("span",[U,document.createTextNode("x")])),D.firstChild.offsetHeight!=0&&(jt=U.offsetWidth<=1&&U.offsetHeight>2&&!(m&&d<8))}var oe=jt?M("span","\u200B"):M("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return oe.setAttribute("cm-text",""),oe}var kt;function Ar(D){if(kt!=null)return kt;var U=O(D,document.createTextNode("A\u062EA")),oe=H(U,0,1).getBoundingClientRect(),le=H(U,1,2).getBoundingClientRect();return E(D),!oe||oe.left==oe.right?!1:kt=le.right-oe.right<3}var at=` b`.split(/\n/).length!=3?function(D){for(var U=0,oe=[],le=D.length;U<=le;){var Ae=D.indexOf(` -`,U);Ae==-1&&(Ae=D.length);var We=D.slice(U,D.charAt(Ae-1)=="\r"?Ae-1:Ae),Tt=We.indexOf("\r");Tt!=-1?(oe.push(We.slice(0,Tt)),U+=Tt+1):(oe.push(We),U=Ae+1)}return oe}:function(D){return D.split(/\r\n?|\n/)},Ht=window.getSelection?function(D){try{return D.selectionStart!=D.selectionEnd}catch(U){return!1}}:function(D){var U;try{U=D.ownerDocument.selection.createRange()}catch(oe){}return!U||U.parentElement()!=D?!1:U.compareEndPoints("StartToEnd",U)!=0},Kt=function(){var D=M("div");return"oncopy"in D?!0:(D.setAttribute("oncopy","return;"),typeof D.oncopy=="function")}(),ot=null;function et(D){if(ot!=null)return ot;var U=O(D,M("span","x")),oe=U.getBoundingClientRect(),le=H(U,0,1).getBoundingClientRect();return ot=Math.abs(oe.left-le.left)>1}var Ze={},Gt={};function yr(D,U){arguments.length>2&&(U.dependencies=Array.prototype.slice.call(arguments,2)),Ze[D]=U}function br(D,U){Gt[D]=U}function Sr(D){if(typeof D=="string"&&Gt.hasOwnProperty(D))D=Gt[D];else if(D&&typeof D.name=="string"&&Gt.hasOwnProperty(D.name)){var U=Gt[D.name];typeof U=="string"&&(U={name:U}),D=Ge(U,D),D.name=U.name}else{if(typeof D=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(D))return Sr("application/xml");if(typeof D=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(D))return Sr("application/json")}return typeof D=="string"?{name:D}:D||{name:"null"}}function Tn(D,U){U=Sr(U);var oe=Ze[U.name];if(!oe)return Tn(D,"text/plain");var le=oe(D,U);if(cn.hasOwnProperty(U.name)){var Ae=cn[U.name];for(var We in Ae){if(!Ae.hasOwnProperty(We))continue;le.hasOwnProperty(We)&&(le["_"+We]=le[We]),le[We]=Ae[We]}}if(le.name=U.name,U.helperType&&(le.helperType=U.helperType),U.modeProps)for(var Tt in U.modeProps)le[Tt]=U.modeProps[Tt];return le}var cn={};function Kn(D,U){var oe=cn.hasOwnProperty(D)?cn[D]:cn[D]={};K(U,oe)}function lt(D,U){if(U===!0)return U;if(D.copyState)return D.copyState(U);var oe={};for(var le in U){var Ae=U[le];Ae instanceof Array&&(Ae=Ae.concat([])),oe[le]=Ae}return oe}function mt(D,U){for(var oe;D.innerMode&&!(oe=D.innerMode(U),!oe||oe.mode==D);)U=oe.state,D=oe.mode;return oe||{mode:D,state:U}}function Le(D,U,oe){return D.startState?D.startState(U,oe):!0}var ze=function(U,oe,le){this.pos=this.start=0,this.string=U,this.tabSize=oe||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=le};ze.prototype.eol=function(){return this.pos>=this.string.length},ze.prototype.sol=function(){return this.pos==this.lineStart},ze.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},ze.prototype.next=function(){if(this.posU},ze.prototype.eatSpace=function(){for(var D=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>D},ze.prototype.skipToEnd=function(){this.pos=this.string.length},ze.prototype.skipTo=function(D){var U=this.string.indexOf(D,this.pos);if(U>-1)return this.pos=U,!0},ze.prototype.backUp=function(D){this.pos-=D},ze.prototype.column=function(){return this.lastColumnPos0?null:(We&&U!==!1&&(this.pos+=We[0].length),We)}},ze.prototype.current=function(){return this.string.slice(this.start,this.pos)},ze.prototype.hideFirstChars=function(D,U){this.lineStart+=D;try{return U()}finally{this.lineStart-=D}},ze.prototype.lookAhead=function(D){var U=this.lineOracle;return U&&U.lookAhead(D)},ze.prototype.baseToken=function(){var D=this.lineOracle;return D&&D.baseToken(this.pos)};function $e(D,U){if(U-=D.first,U<0||U>=D.size)throw new Error("There is no line "+(U+D.first)+" in the document.");for(var oe=D;!oe.lines;)for(var le=0;;++le){var Ae=oe.children[le],We=Ae.chunkSize();if(U=D.first&&Uoe?ar(oe,$e(D,oe).text.length):tr(U,$e(D,U.line).text.length)}function tr(D,U){var oe=D.ch;return oe==null||oe>U?ar(D.line,U):oe<0?ar(D.line,0):D}function Dr(D,U){for(var oe=[],le=0;lethis.maxLookAhead&&(this.maxLookAhead=D),U},Tr.prototype.baseToken=function(D){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=D;)this.baseTokenPos+=2;var U=this.baseTokens[this.baseTokenPos+1];return{type:U&&U.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-D}},Tr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Tr.fromSaved=function(D,U,oe){return U instanceof dr?new Tr(D,lt(D.mode,U.state),oe,U.lookAhead):new Tr(D,lt(D.mode,U),oe)},Tr.prototype.save=function(D){var U=D!==!1?lt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new dr(U,this.maxLookAhead):U};function vn(D,U,oe,le){var Ae=[D.state.modeGen],We={};Me(D,U.text,D.doc.mode,oe,function(vr,xn){return Ae.push(vr,xn)},We,le);for(var Tt=oe.state,Qt=function(xn){oe.baseTokens=Ae;var Hn=D.state.overlays[xn],hi=1,ci=0;oe.state=!0,Me(D,U.text,Hn.mode,oe,function(ra,Pa){for(var $a=hi;cira&&Ae.splice(hi,1,ra,Ae[hi+1],Qa),hi+=2,ci=Math.min(ra,Qa)}if(!Pa)return;if(Hn.opaque)Ae.splice($a,hi-$a,ra,"overlay "+Pa),hi=$a+2;else for(;$aD.options.maxHighlightLength&<(D.doc.mode,le.state),We=vn(D,U,le);Ae&&(le.state=Ae),U.stateAfter=le.save(!Ae),U.styles=We.styles,We.classes?U.styleClasses=We.classes:U.styleClasses&&(U.styleClasses=null),oe===D.doc.highlightFrontier&&(D.doc.modeFrontier=Math.max(D.doc.modeFrontier,++D.doc.highlightFrontier))}return U.styles}function Gn(D,U,oe){var le=D.doc,Ae=D.display;if(!le.mode.startState)return new Tr(le,!0,U);var We=Xe(D,U,oe),Tt=We>le.first&&$e(le,We-1).stateAfter,Qt=Tt?Tr.fromSaved(le,Tt,We):new Tr(le,Le(le.mode),We);return le.iter(We,U,function(fr){di(D,fr.text,Qt);var vr=Qt.line;fr.stateAfter=vr==U-1||vr%5==0||vr>=Ae.viewFrom&&vrU.start)return We}throw new Error("Mode "+D.name+" failed to advance stream.")}var la=function(U,oe,le){this.start=U.start,this.end=U.pos,this.string=U.current(),this.type=oe||null,this.state=le};function Ta(D,U,oe,le){var Ae=D.doc,We=Ae.mode,Tt;U=Dt(Ae,U);var Qt=$e(Ae,U.line),fr=Gn(D,U.line,oe),vr=new ze(Qt.text,D.options.tabSize,fr),xn;for(le&&(xn=[]);(le||vr.posD.options.maxHighlightLength?(Qt=!1,Tt&&di(D,U,le,xn.pos),xn.pos=U.length,Hn=null):Hn=dt(Fi(oe,xn,le.state,hi),We),hi){var ci=hi[0].name;ci&&(Hn="m-"+(Hn?ci+" "+Hn:ci))}if(!Qt||vr!=Hn){for(;frTt;--Qt){if(Qt<=We.first)return We.first;var fr=$e(We,Qt-1),vr=fr.stateAfter;if(vr&&(!oe||Qt+(vr instanceof dr?vr.lookAhead:0)<=We.modeFrontier))return Qt;var xn=P(fr.text,null,D.options.tabSize);(Ae==null||le>xn)&&(Ae=Qt-1,le=xn)}return Ae}function Qe(D,U){if(D.modeFrontier=Math.min(D.modeFrontier,U),D.highlightFrontieroe;le--){var Ae=$e(D,le).stateAfter;if(Ae&&(!(Ae instanceof dr)||le+Ae.lookAhead=U:We.to>U);(le||(le=[])).push(new Et(Tt,We.from,fr?null:We.to))}}return le}function sr(D,U,oe){var le;if(D)for(var Ae=0;Ae=U:We.to>U);if(Qt||We.from==U&&Tt.type=="bookmark"&&(!oe||We.marker.insertLeft)){var fr=We.from==null||(Tt.inclusiveLeft?We.from<=U:We.from0&&Qt)for(var Fo=0;Fo0)continue;var xn=[fr,1],Hn=It(vr.from,Qt.from),hi=It(vr.to,Qt.to);(Hn<0||!Tt.inclusiveLeft&&!Hn)&&xn.push({from:vr.from,to:Qt.from}),(hi>0||!Tt.inclusiveRight&&!hi)&&xn.push({from:Qt.to,to:vr.to}),Ae.splice.apply(Ae,xn),fr+=xn.length-3}return Ae}function rn(D){var U=D.markedSpans;if(!U)return;for(var oe=0;oeU)&&(!le||Ni(le,We.marker)<0)&&(le=We.marker)}return le}function va(D,U,oe,le,Ae){var We=$e(D,U),Tt=nt&&We.markedSpans;if(Tt)for(var Qt=0;Qt=0&&Hn<=0||xn<=0&&Hn>=0)continue;if(xn<=0&&(fr.marker.inclusiveRight&&Ae.inclusiveLeft?It(vr.to,oe)>=0:It(vr.to,oe)>0)||xn>=0&&(fr.marker.inclusiveRight&&Ae.inclusiveLeft?It(vr.from,le)<=0:It(vr.from,le)<0))return!0}}function zn(D){for(var U;U=zi(D);)D=U.find(-1,!0).line;return D}function fn(D){for(var U;U=Yi(D);)D=U.find(1,!0).line;return D}function $n(D){for(var U,oe;U=Yi(D);)D=U.find(1,!0).line,(oe||(oe=[])).push(D);return oe}function Cn(D,U){var oe=$e(D,U),le=zn(oe);return oe==le?U:er(le)}function ki(D,U){if(U>D.lastLine())return U;var oe=$e(D,U),le;if(!In(D,oe))return U;for(;le=Yi(oe);)oe=le.find(1,!0).line;return er(oe)+1}function In(D,U){var oe=nt&&U.markedSpans;if(oe)for(var le=void 0,Ae=0;AeU.maxLineLength&&(U.maxLineLength=Ae,U.maxLine=le)})}var Na=function(U,oe,le){this.text=U,Br(this,oe),this.height=le?le(this):1};Na.prototype.lineNo=function(){return er(this)},or(Na);function Un(D,U,oe,le){D.text=U,D.stateAfter&&(D.stateAfter=null),D.styles&&(D.styles=null),D.order!=null&&(D.order=null),rn(D),Br(D,oe);var Ae=le?le(D):1;Ae!=D.height&&Xt(D,Ae)}function nn(D){D.parent=null,rn(D)}var Yn={},bi={};function Oi(D,U){if(!D||/^\s*$/.test(D))return null;var oe=U.addModeClass?bi:Yn;return oe[D]||(oe[D]=D.replace(/\S+/g,"cm-$&"))}function _i(D,U){var oe=F("span",null,null,a?"padding-right: .1px":null),le={pre:F("pre",[oe],"CodeMirror-line"),content:oe,col:0,pos:0,cm:D,trailingSpace:!1,splitSpaces:D.getOption("lineWrapping")};U.measure={};for(var Ae=0;Ae<=(U.rest?U.rest.length:0);Ae++){var We=Ae?U.rest[Ae-1]:U.line,Tt=void 0;le.pos=0,le.addToken=qi,Ar(D.display.measure)&&(Tt=yt(We,D.doc.direction))&&(le.addToken=ya(le.addToken,Tt)),le.map=[];var Qt=U!=D.display.externalMeasured&&er(We);io(We,le,on(D,We,Qt)),We.styleClasses&&(We.styleClasses.bgClass&&(le.bgClass=k(We.styleClasses.bgClass,le.bgClass||"")),We.styleClasses.textClass&&(le.textClass=k(We.styleClasses.textClass,le.textClass||""))),le.map.length==0&&le.map.push(0,0,le.content.appendChild(He(D.display.measure))),Ae==0?(U.measure.map=le.map,U.measure.cache={}):((U.measure.maps||(U.measure.maps=[])).push(le.map),(U.measure.caches||(U.measure.caches=[])).push({}))}if(a){var fr=le.content.lastChild;(/\bcm-tab\b/.test(fr.className)||fr.querySelector&&fr.querySelector(".cm-tab"))&&(le.content.className="cm-tab-wrap-hack")}return Ft(D,"renderLine",D,U.line,le.pre),le.pre.className&&(le.textClass=k(le.pre.className,le.textClass||"")),le}function Zi(D){var U=M("span","\u2022","cm-invalidchar");return U.title="\\u"+D.charCodeAt(0).toString(16),U.setAttribute("aria-label",U.title),U}function qi(D,U,oe,le,Ae,We,Tt){if(!U)return;var Qt=D.splitSpaces?ea(U,D.trailingSpace):U,fr=D.cm.state.specialChars,vr=!1,xn;if(!fr.test(U))D.col+=U.length,xn=document.createTextNode(Qt),D.map.push(D.pos,D.pos+U.length,xn),m&&d<9&&(vr=!0),D.pos+=U.length;else{xn=document.createDocumentFragment();for(var Hn=0;;){fr.lastIndex=Hn;var hi=fr.exec(U),ci=hi?hi.index-Hn:U.length-Hn;if(ci){var ra=document.createTextNode(Qt.slice(Hn,Hn+ci));m&&d<9?xn.appendChild(M("span",[ra])):xn.appendChild(ra),D.map.push(D.pos,D.pos+ci,ra),D.col+=ci,D.pos+=ci}if(!hi)break;Hn+=ci+1;var Pa=void 0;if(hi[0]==" "){var $a=D.cm.options.tabSize,Qa=$a-D.col%$a;Pa=xn.appendChild(M("span",ke(Qa),"cm-tab")),Pa.setAttribute("role","presentation"),Pa.setAttribute("cm-text"," "),D.col+=Qa}else hi[0]=="\r"||hi[0]==` -`?(Pa=xn.appendChild(M("span",hi[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Pa.setAttribute("cm-text",hi[0]),D.col+=1):(Pa=D.cm.options.specialCharPlaceholder(hi[0]),Pa.setAttribute("cm-text",hi[0]),m&&d<9?xn.appendChild(M("span",[Pa])):xn.appendChild(Pa),D.col+=1);D.map.push(D.pos,D.pos+1,Pa),D.pos++}}if(D.trailingSpace=Qt.charCodeAt(U.length-1)==32,oe||le||Ae||vr||We||Tt){var Wa=oe||"";le&&(Wa+=le),Ae&&(Wa+=Ae);var uo=M("span",[xn],Wa,We);if(Tt)for(var Fo in Tt)Tt.hasOwnProperty(Fo)&&Fo!="style"&&Fo!="class"&&uo.setAttribute(Fo,Tt[Fo]);return D.content.appendChild(uo)}D.content.appendChild(xn)}function ea(D,U){if(D.length>1&&!/ /.test(D))return D;for(var oe=U,le="",Ae=0;Aevr&&Hn.from<=vr);hi++);if(Hn.to>=xn)return D(oe,le,Ae,We,Tt,Qt,fr);D(oe,le.slice(0,Hn.to-vr),Ae,We,null,Qt,fr),We=null,le=le.slice(Hn.to-vr),vr=Hn.to}}}function co(D,U,oe,le){var Ae=!le&&oe.widgetNode;Ae&&D.map.push(D.pos,D.pos+U,Ae),!le&&D.cm.display.input.needsContentAttribute&&(Ae||(Ae=D.content.appendChild(document.createElement("span"))),Ae.setAttribute("cm-marker",oe.id)),Ae&&(D.cm.display.input.setUneditable(Ae),D.content.appendChild(Ae)),D.pos+=U,D.trailingSpace=!1}function io(D,U,oe){var le=D.markedSpans,Ae=D.text,We=0;if(!le){for(var Tt=1;Ttfr||js.collapsed&&ts.to==fr&&ts.from==fr)){if(ts.to!=null&&ts.to!=fr&&ci>ts.to&&(ci=ts.to,Pa=""),js.className&&(ra+=" "+js.className),js.css&&(hi=(hi?hi+";":"")+js.css),js.startStyle&&ts.from==fr&&($a+=" "+js.startStyle),js.endStyle&&ts.to==ci&&(Fo||(Fo=[])).push(js.endStyle,ts.to),js.title&&((Wa||(Wa={})).title=js.title),js.attributes)for(var hl in js.attributes)(Wa||(Wa={}))[hl]=js.attributes[hl];js.collapsed&&(!Qa||Ni(Qa.marker,js)<0)&&(Qa=ts)}else ts.from>fr&&ci>ts.from&&(ci=ts.from)}if(Fo)for(var Pl=0;Pl=Qt)break;for(var bc=Math.min(Qt,ci);;){if(xn){var Gc=fr+xn.length;if(!Qa){var ic=Gc>bc?xn.slice(0,bc-fr):xn;U.addToken(U,ic,Hn?Hn+ra:ra,$a,fr+ic.length==ci?Pa:"",hi,Wa)}if(Gc>=bc){xn=xn.slice(bc-fr),fr=bc;break}fr=Gc,$a=""}xn=Ae.slice(We,We=oe[vr++]),Hn=Oi(oe[vr++],U.cm.options)}}}function rs(D,U,oe){this.line=U,this.rest=$n(U),this.size=this.rest?er(ge(this.rest))-oe+1:1,this.node=this.text=null,this.hidden=In(D,U)}function Pi(D,U,oe){for(var le=[],Ae,We=U;We2&&We.push((fr.bottom+vr.top)/2-oe.top)}}We.push(oe.bottom-oe.top)}}function ia(D,U,oe){if(D.line==U)return{map:D.measure.map,cache:D.measure.cache};for(var le=0;leoe)return{map:D.measure.maps[Ae],cache:D.measure.caches[Ae],before:!0}}function Ia(D,U){U=zn(U);var oe=er(U),le=D.display.externalMeasured=new rs(D.doc,U,oe);le.lineN=oe;var Ae=le.built=_i(D,le);return le.text=Ae.pre,O(D.display.lineMeasure,Ae.pre),le}function Fa(D,U,oe,le){return xa(D,Ea(D,U),oe,le)}function Aa(D,U){if(U>=D.display.viewFrom&&U=oe.lineN&&UU)&&(We=fr-Qt,Ae=We-1,U>=fr&&(Tt="right")),Ae!=null){if(le=D[vr+2],Qt==fr&&oe==(le.insertLeft?"left":"right")&&(Tt=oe),oe=="left"&&Ae==0)for(;vr&&D[vr-2]==D[vr-3]&&D[vr-1].insertLeft;)le=D[(vr-=3)+2],Tt="left";if(oe=="right"&&Ae==fr-Qt)for(;vr=0&&!((oe=D[Ae]).left!=oe.right);Ae--);return oe}function Nr(D,U,oe,le){var Ae=oa(U.map,oe,le),We=Ae.node,Tt=Ae.start,Qt=Ae.end,fr=Ae.collapse,vr;if(We.nodeType==3){for(var xn=0;xn<4;xn++){for(;Tt&&pe(U.line.text.charAt(Ae.coverStart+Tt));)--Tt;for(;Ae.coverStart+Qt0&&(fr=le="right");var Hn;D.options.lineWrapping&&(Hn=We.getClientRects()).length>1?vr=Hn[le=="right"?Hn.length-1:0]:vr=We.getBoundingClientRect()}if(m&&d<9&&!Tt&&(!vr||!vr.left&&!vr.right)){var hi=We.parentNode.getClientRects()[0];hi?vr={left:hi.left,right:hi.left+ao(D.display),top:hi.top,bottom:hi.bottom}:vr=Ai}for(var ci=vr.top-U.rect.top,ra=vr.bottom-U.rect.top,Pa=(ci+ra)/2,$a=U.view.measure.heights,Qa=0;Qa<$a.length-1&&!(Pa<$a[Qa]);Qa++);var Wa=Qa?$a[Qa-1]:0,uo=$a[Qa],Fo={left:(fr=="right"?vr.right:vr.left)-U.rect.left,right:(fr=="left"?vr.left:vr.right)-U.rect.left,top:Wa,bottom:uo};return!vr.left&&!vr.right&&(Fo.bogus=!0),D.options.singleCursorHeightPerLine||(Fo.rtop=ci,Fo.rbottom=ra),Fo}function Qr(D,U){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!et(D))return U;var oe=screen.logicalXDPI/screen.deviceXDPI,le=screen.logicalYDPI/screen.deviceYDPI;return{left:U.left*oe,right:U.right*oe,top:U.top*le,bottom:U.bottom*le}}function bn(D){if(D.measure&&(D.measure.cache={},D.measure.heights=null,D.rest))for(var U=0;U=le.text.length?(fr=le.text.length,vr="before"):fr<=0&&(fr=0,vr="after"),!Qt)return Tt(vr=="before"?fr-1:fr,vr=="before");function xn(ra,Pa,$a){var Qa=Qt[Pa],Wa=Qa.level==1;return Tt($a?ra-1:ra,Wa!=$a)}var Hn=Re(Qt,fr,vr),hi=be,ci=xn(fr,Hn,vr=="before");return hi!=null&&(ci.other=xn(fr,hi,vr!="before")),ci}function vi(D,U){var oe=0;U=Dt(D.doc,U),D.options.lineWrapping||(oe=ao(D.display)*U.ch);var le=$e(D.doc,U.line),Ae=Ei(le)+Wn(D.display);return{left:oe,right:oe,top:Ae,bottom:Ae+le.height}}function Li(D,U,oe,le,Ae){var We=ar(D,U,oe);return We.xRel=Ae,le&&(We.outside=le),We}function ji(D,U,oe){var le=D.doc;if(oe+=D.display.viewOffset,oe<0)return Li(le.first,0,null,-1,-1);var Ae=Wr(le,oe),We=le.first+le.size-1;if(Ae>We)return Li(le.first+le.size-1,$e(le,We).text.length,null,1,1);U<0&&(U=0);for(var Tt=$e(le,Ae);;){var Qt=bo(D,Tt,Ae,U,oe),fr=mi(Tt,Qt.ch+(Qt.xRel>0||Qt.outside>0?1:0));if(!fr)return Qt;var vr=fr.find(1);if(vr.line==Ae)return vr;Tt=$e(le,Ae=vr.line)}}function Sa(D,U,oe,le){le-=an(U);var Ae=U.text.length,We=Ne(function(Tt){return xa(D,oe,Tt-1).bottom<=le},Ae,0);return Ae=Ne(function(Tt){return xa(D,oe,Tt).top>le},We,Ae),{begin:We,end:Ae}}function Ga(D,U,oe,le){oe||(oe=Ea(D,U));var Ae=Jr(D,U,xa(D,oe,le),"line").top;return Sa(D,U,oe,Ae)}function Ya(D,U,oe,le){return D.bottom<=oe?!1:D.top>oe?!0:(le?D.left:D.right)>U}function bo(D,U,oe,le,Ae){Ae-=Ei(U);var We=Ea(D,U),Tt=an(U),Qt=0,fr=U.text.length,vr=!0,xn=yt(U,D.doc.direction);if(xn){var Hn=(D.options.lineWrapping?po:vo)(D,U,oe,We,xn,le,Ae);vr=Hn.level!=1,Qt=vr?Hn.from:Hn.to-1,fr=vr?Hn.to:Hn.from-1}var hi=null,ci=null,ra=Ne(function(ws){var ts=xa(D,We,ws);return ts.top+=Tt,ts.bottom+=Tt,Ya(ts,le,Ae,!1)?(ts.top<=Ae&&ts.left<=le&&(hi=ws,ci=ts),!0):!1},Qt,fr),Pa,$a,Qa=!1;if(ci){var Wa=le-ci.left=Fo.bottom?1:0}return ra=De(U.text,ra,1),Li(oe,ra,$a,Qa,le-Pa)}function vo(D,U,oe,le,Ae,We,Tt){var Qt=Ne(function(Hn){var hi=Ae[Hn],ci=hi.level!=1;return Ya(Xn(D,ar(oe,ci?hi.to:hi.from,ci?"before":"after"),"line",U,le),We,Tt,!0)},0,Ae.length-1),fr=Ae[Qt];if(Qt>0){var vr=fr.level!=1,xn=Xn(D,ar(oe,vr?fr.from:fr.to,vr?"after":"before"),"line",U,le);Ya(xn,We,Tt,!0)&&xn.top>Tt&&(fr=Ae[Qt-1])}return fr}function po(D,U,oe,le,Ae,We,Tt){var Qt=Sa(D,U,le,Tt),fr=Qt.begin,vr=Qt.end;/\s/.test(U.text.charAt(vr-1))&&vr--;for(var xn=null,Hn=null,hi=0;hi=vr||ci.to<=fr)continue;var ra=ci.level!=1,Pa=xa(D,le,ra?Math.min(vr,ci.to)-1:Math.max(fr,ci.from)).right,$a=Pa$a)&&(xn=ci,Hn=$a)}return xn||(xn=Ae[Ae.length-1]),xn.fromvr&&(xn={from:xn.from,to:vr,level:xn.level}),xn}var Ha;function Oa(D){if(D.cachedTextHeight!=null)return D.cachedTextHeight;if(Ha==null){Ha=M("pre",null,"CodeMirror-line-like");for(var U=0;U<49;++U)Ha.appendChild(document.createTextNode("x")),Ha.appendChild(M("br"));Ha.appendChild(document.createTextNode("x"))}O(D.measure,Ha);var oe=Ha.offsetHeight/50;return oe>3&&(D.cachedTextHeight=oe),E(D.measure),oe||1}function ao(D){if(D.cachedCharWidth!=null)return D.cachedCharWidth;var U=M("span","xxxxxxxxxx"),oe=M("pre",[U],"CodeMirror-line-like");O(D.measure,oe);var le=U.getBoundingClientRect(),Ae=(le.right-le.left)/10;return Ae>2&&(D.cachedCharWidth=Ae),Ae||10}function to(D){for(var U=D.display,oe={},le={},Ae=U.gutters.clientLeft,We=U.gutters.firstChild,Tt=0;We;We=We.nextSibling,++Tt){var Qt=D.display.gutterSpecs[Tt].className;oe[Qt]=We.offsetLeft+We.clientLeft+Ae,le[Qt]=We.clientWidth}return{fixedPos:Po(U),gutterTotalWidth:U.gutters.offsetWidth,gutterLeft:oe,gutterWidth:le,wrapperWidth:U.wrapper.clientWidth}}function Po(D){return D.scroller.getBoundingClientRect().left-D.sizer.getBoundingClientRect().left}function Yo(D){var U=Oa(D.display),oe=D.options.lineWrapping,le=oe&&Math.max(5,D.display.scroller.clientWidth/ao(D.display)-3);return function(Ae){if(In(D.doc,Ae))return 0;var We=0;if(Ae.widgets)for(var Tt=0;Tt0&&(vr=$e(D.doc,fr.line).text).length==fr.ch){var xn=P(vr,vr.length,D.options.tabSize)-vr.length;fr=ar(fr.line,Math.max(0,Math.round((We-ni(D.display).left)/ao(D.display))-xn))}return fr}function Mo(D,U){if(U>=D.display.viewTo)return null;if(U-=D.display.viewFrom,U<0)return null;for(var oe=D.display.view,le=0;leU)&&(Ae.updateLineNumbers=U),D.curOp.viewChanged=!0,U>=Ae.viewTo)nt&&Cn(D.doc,U)Ae.viewFrom?mo(D):(Ae.viewFrom+=le,Ae.viewTo+=le);else if(U<=Ae.viewFrom&&oe>=Ae.viewTo)mo(D);else if(U<=Ae.viewFrom){var We=ns(D,oe,oe+le,1);We?(Ae.view=Ae.view.slice(We.index),Ae.viewFrom=We.lineN,Ae.viewTo+=le):mo(D)}else if(oe>=Ae.viewTo){var Tt=ns(D,U,U,-1);Tt?(Ae.view=Ae.view.slice(0,Tt.index),Ae.viewTo=Tt.lineN):mo(D)}else{var Qt=ns(D,U,U,-1),fr=ns(D,oe,oe+le,1);Qt&&fr?(Ae.view=Ae.view.slice(0,Qt.index).concat(Pi(D,Qt.lineN,fr.lineN)).concat(Ae.view.slice(fr.index)),Ae.viewTo+=le):mo(D)}var vr=Ae.externalMeasured;vr&&(oe=Ae.lineN&&U=le.viewTo)return;var We=le.view[Mo(D,U)];if(We.node==null)return;var Tt=We.changes||(We.changes=[]);V(Tt,oe)==-1&&Tt.push(oe)}function mo(D){D.display.viewFrom=D.display.viewTo=D.doc.first,D.display.view=[],D.display.viewOffset=0}function ns(D,U,oe,le){var Ae=Mo(D,U),We,Tt=D.display.view;if(!nt||oe==D.doc.first+D.doc.size)return{index:Ae,lineN:oe};for(var Qt=D.display.viewFrom,fr=0;fr0){if(Ae==Tt.length-1)return null;We=Qt+Tt[Ae].size-U,Ae++}else We=Qt-U;U+=We,oe+=We}for(;Cn(D.doc,oe)!=oe;){if(Ae==(le<0?0:Tt.length-1))return null;oe+=le*Tt[Ae-(le<0?1:0)].size,Ae+=le}return{index:Ae,lineN:oe}}function Zo(D,U,oe){var le=D.display,Ae=le.view;Ae.length==0||U>=le.viewTo||oe<=le.viewFrom?(le.view=Pi(D,U,oe),le.viewFrom=U):(le.viewFrom>U?le.view=Pi(D,U,le.viewFrom).concat(le.view):le.viewFromoe&&(le.view=le.view.slice(0,Mo(D,oe)))),le.viewTo=oe}function Oo(D){for(var U=D.display.view,oe=0,le=0;le=D.display.viewTo||Qt.to().line1}var Ze={},Gt={};function yr(D,U){arguments.length>2&&(U.dependencies=Array.prototype.slice.call(arguments,2)),Ze[D]=U}function br(D,U){Gt[D]=U}function Sr(D){if(typeof D=="string"&&Gt.hasOwnProperty(D))D=Gt[D];else if(D&&typeof D.name=="string"&&Gt.hasOwnProperty(D.name)){var U=Gt[D.name];typeof U=="string"&&(U={name:U}),D=Ge(U,D),D.name=U.name}else{if(typeof D=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(D))return Sr("application/xml");if(typeof D=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(D))return Sr("application/json")}return typeof D=="string"?{name:D}:D||{name:"null"}}function Tn(D,U){U=Sr(U);var oe=Ze[U.name];if(!oe)return Tn(D,"text/plain");var le=oe(D,U);if(cn.hasOwnProperty(U.name)){var Ae=cn[U.name];for(var Ke in Ae){if(!Ae.hasOwnProperty(Ke))continue;le.hasOwnProperty(Ke)&&(le["_"+Ke]=le[Ke]),le[Ke]=Ae[Ke]}}if(le.name=U.name,U.helperType&&(le.helperType=U.helperType),U.modeProps)for(var Tt in U.modeProps)le[Tt]=U.modeProps[Tt];return le}var cn={};function Wn(D,U){var oe=cn.hasOwnProperty(D)?cn[D]:cn[D]={};W(U,oe)}function lt(D,U){if(U===!0)return U;if(D.copyState)return D.copyState(U);var oe={};for(var le in U){var Ae=U[le];Ae instanceof Array&&(Ae=Ae.concat([])),oe[le]=Ae}return oe}function mt(D,U){for(var oe;D.innerMode&&!(oe=D.innerMode(U),!oe||oe.mode==D);)U=oe.state,D=oe.mode;return oe||{mode:D,state:U}}function Le(D,U,oe){return D.startState?D.startState(U,oe):!0}var ze=function(U,oe,le){this.pos=this.start=0,this.string=U,this.tabSize=oe||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=le};ze.prototype.eol=function(){return this.pos>=this.string.length},ze.prototype.sol=function(){return this.pos==this.lineStart},ze.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},ze.prototype.next=function(){if(this.posU},ze.prototype.eatSpace=function(){for(var D=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>D},ze.prototype.skipToEnd=function(){this.pos=this.string.length},ze.prototype.skipTo=function(D){var U=this.string.indexOf(D,this.pos);if(U>-1)return this.pos=U,!0},ze.prototype.backUp=function(D){this.pos-=D},ze.prototype.column=function(){return this.lastColumnPos0?null:(Ke&&U!==!1&&(this.pos+=Ke[0].length),Ke)}},ze.prototype.current=function(){return this.string.slice(this.start,this.pos)},ze.prototype.hideFirstChars=function(D,U){this.lineStart+=D;try{return U()}finally{this.lineStart-=D}},ze.prototype.lookAhead=function(D){var U=this.lineOracle;return U&&U.lookAhead(D)},ze.prototype.baseToken=function(){var D=this.lineOracle;return D&&D.baseToken(this.pos)};function $e(D,U){if(U-=D.first,U<0||U>=D.size)throw new Error("There is no line "+(U+D.first)+" in the document.");for(var oe=D;!oe.lines;)for(var le=0;;++le){var Ae=oe.children[le],Ke=Ae.chunkSize();if(U=D.first&&Uoe?ar(oe,$e(D,oe).text.length):tr(U,$e(D,U.line).text.length)}function tr(D,U){var oe=D.ch;return oe==null||oe>U?ar(D.line,U):oe<0?ar(D.line,0):D}function Dr(D,U){for(var oe=[],le=0;lethis.maxLookAhead&&(this.maxLookAhead=D),U},Tr.prototype.baseToken=function(D){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=D;)this.baseTokenPos+=2;var U=this.baseTokens[this.baseTokenPos+1];return{type:U&&U.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-D}},Tr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Tr.fromSaved=function(D,U,oe){return U instanceof dr?new Tr(D,lt(D.mode,U.state),oe,U.lookAhead):new Tr(D,lt(D.mode,U),oe)},Tr.prototype.save=function(D){var U=D!==!1?lt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new dr(U,this.maxLookAhead):U};function vn(D,U,oe,le){var Ae=[D.state.modeGen],Ke={};Me(D,U.text,D.doc.mode,oe,function(vr,xn){return Ae.push(vr,xn)},Ke,le);for(var Tt=oe.state,Qt=function(xn){oe.baseTokens=Ae;var Hn=D.state.overlays[xn],hi=1,ci=0;oe.state=!0,Me(D,U.text,Hn.mode,oe,function(ra,Pa){for(var $a=hi;cira&&Ae.splice(hi,1,ra,Ae[hi+1],Qa),hi+=2,ci=Math.min(ra,Qa)}if(!Pa)return;if(Hn.opaque)Ae.splice($a,hi-$a,ra,"overlay "+Pa),hi=$a+2;else for(;$aD.options.maxHighlightLength&<(D.doc.mode,le.state),Ke=vn(D,U,le);Ae&&(le.state=Ae),U.stateAfter=le.save(!Ae),U.styles=Ke.styles,Ke.classes?U.styleClasses=Ke.classes:U.styleClasses&&(U.styleClasses=null),oe===D.doc.highlightFrontier&&(D.doc.modeFrontier=Math.max(D.doc.modeFrontier,++D.doc.highlightFrontier))}return U.styles}function Gn(D,U,oe){var le=D.doc,Ae=D.display;if(!le.mode.startState)return new Tr(le,!0,U);var Ke=Xe(D,U,oe),Tt=Ke>le.first&&$e(le,Ke-1).stateAfter,Qt=Tt?Tr.fromSaved(le,Tt,Ke):new Tr(le,Le(le.mode),Ke);return le.iter(Ke,U,function(fr){di(D,fr.text,Qt);var vr=Qt.line;fr.stateAfter=vr==U-1||vr%5==0||vr>=Ae.viewFrom&&vrU.start)return Ke}throw new Error("Mode "+D.name+" failed to advance stream.")}var la=function(U,oe,le){this.start=U.start,this.end=U.pos,this.string=U.current(),this.type=oe||null,this.state=le};function Ta(D,U,oe,le){var Ae=D.doc,Ke=Ae.mode,Tt;U=Dt(Ae,U);var Qt=$e(Ae,U.line),fr=Gn(D,U.line,oe),vr=new ze(Qt.text,D.options.tabSize,fr),xn;for(le&&(xn=[]);(le||vr.posD.options.maxHighlightLength?(Qt=!1,Tt&&di(D,U,le,xn.pos),xn.pos=U.length,Hn=null):Hn=dt(Fi(oe,xn,le.state,hi),Ke),hi){var ci=hi[0].name;ci&&(Hn="m-"+(Hn?ci+" "+Hn:ci))}if(!Qt||vr!=Hn){for(;frTt;--Qt){if(Qt<=Ke.first)return Ke.first;var fr=$e(Ke,Qt-1),vr=fr.stateAfter;if(vr&&(!oe||Qt+(vr instanceof dr?vr.lookAhead:0)<=Ke.modeFrontier))return Qt;var xn=P(fr.text,null,D.options.tabSize);(Ae==null||le>xn)&&(Ae=Qt-1,le=xn)}return Ae}function Qe(D,U){if(D.modeFrontier=Math.min(D.modeFrontier,U),D.highlightFrontieroe;le--){var Ae=$e(D,le).stateAfter;if(Ae&&(!(Ae instanceof dr)||le+Ae.lookAhead=U:Ke.to>U);(le||(le=[])).push(new Et(Tt,Ke.from,fr?null:Ke.to))}}return le}function sr(D,U,oe){var le;if(D)for(var Ae=0;Ae=U:Ke.to>U);if(Qt||Ke.from==U&&Tt.type=="bookmark"&&(!oe||Ke.marker.insertLeft)){var fr=Ke.from==null||(Tt.inclusiveLeft?Ke.from<=U:Ke.from0&&Qt)for(var Fo=0;Fo0)continue;var xn=[fr,1],Hn=It(vr.from,Qt.from),hi=It(vr.to,Qt.to);(Hn<0||!Tt.inclusiveLeft&&!Hn)&&xn.push({from:vr.from,to:Qt.from}),(hi>0||!Tt.inclusiveRight&&!hi)&&xn.push({from:Qt.to,to:vr.to}),Ae.splice.apply(Ae,xn),fr+=xn.length-3}return Ae}function rn(D){var U=D.markedSpans;if(!U)return;for(var oe=0;oeU)&&(!le||Ni(le,Ke.marker)<0)&&(le=Ke.marker)}return le}function va(D,U,oe,le,Ae){var Ke=$e(D,U),Tt=nt&&Ke.markedSpans;if(Tt)for(var Qt=0;Qt=0&&Hn<=0||xn<=0&&Hn>=0)continue;if(xn<=0&&(fr.marker.inclusiveRight&&Ae.inclusiveLeft?It(vr.to,oe)>=0:It(vr.to,oe)>0)||xn>=0&&(fr.marker.inclusiveRight&&Ae.inclusiveLeft?It(vr.from,le)<=0:It(vr.from,le)<0))return!0}}function zn(D){for(var U;U=zi(D);)D=U.find(-1,!0).line;return D}function fn(D){for(var U;U=Yi(D);)D=U.find(1,!0).line;return D}function $n(D){for(var U,oe;U=Yi(D);)D=U.find(1,!0).line,(oe||(oe=[])).push(D);return oe}function Cn(D,U){var oe=$e(D,U),le=zn(oe);return oe==le?U:er(le)}function ki(D,U){if(U>D.lastLine())return U;var oe=$e(D,U),le;if(!In(D,oe))return U;for(;le=Yi(oe);)oe=le.find(1,!0).line;return er(oe)+1}function In(D,U){var oe=nt&&U.markedSpans;if(oe)for(var le=void 0,Ae=0;AeU.maxLineLength&&(U.maxLineLength=Ae,U.maxLine=le)})}var Na=function(U,oe,le){this.text=U,Br(this,oe),this.height=le?le(this):1};Na.prototype.lineNo=function(){return er(this)},or(Na);function Un(D,U,oe,le){D.text=U,D.stateAfter&&(D.stateAfter=null),D.styles&&(D.styles=null),D.order!=null&&(D.order=null),rn(D),Br(D,oe);var Ae=le?le(D):1;Ae!=D.height&&Xt(D,Ae)}function nn(D){D.parent=null,rn(D)}var Yn={},bi={};function Oi(D,U){if(!D||/^\s*$/.test(D))return null;var oe=U.addModeClass?bi:Yn;return oe[D]||(oe[D]=D.replace(/\S+/g,"cm-$&"))}function _i(D,U){var oe=F("span",null,null,a?"padding-right: .1px":null),le={pre:F("pre",[oe],"CodeMirror-line"),content:oe,col:0,pos:0,cm:D,trailingSpace:!1,splitSpaces:D.getOption("lineWrapping")};U.measure={};for(var Ae=0;Ae<=(U.rest?U.rest.length:0);Ae++){var Ke=Ae?U.rest[Ae-1]:U.line,Tt=void 0;le.pos=0,le.addToken=qi,Ar(D.display.measure)&&(Tt=yt(Ke,D.doc.direction))&&(le.addToken=ya(le.addToken,Tt)),le.map=[];var Qt=U!=D.display.externalMeasured&&er(Ke);io(Ke,le,on(D,Ke,Qt)),Ke.styleClasses&&(Ke.styleClasses.bgClass&&(le.bgClass=k(Ke.styleClasses.bgClass,le.bgClass||"")),Ke.styleClasses.textClass&&(le.textClass=k(Ke.styleClasses.textClass,le.textClass||""))),le.map.length==0&&le.map.push(0,0,le.content.appendChild(He(D.display.measure))),Ae==0?(U.measure.map=le.map,U.measure.cache={}):((U.measure.maps||(U.measure.maps=[])).push(le.map),(U.measure.caches||(U.measure.caches=[])).push({}))}if(a){var fr=le.content.lastChild;(/\bcm-tab\b/.test(fr.className)||fr.querySelector&&fr.querySelector(".cm-tab"))&&(le.content.className="cm-tab-wrap-hack")}return Ft(D,"renderLine",D,U.line,le.pre),le.pre.className&&(le.textClass=k(le.pre.className,le.textClass||"")),le}function Zi(D){var U=M("span","\u2022","cm-invalidchar");return U.title="\\u"+D.charCodeAt(0).toString(16),U.setAttribute("aria-label",U.title),U}function qi(D,U,oe,le,Ae,Ke,Tt){if(!U)return;var Qt=D.splitSpaces?ea(U,D.trailingSpace):U,fr=D.cm.state.specialChars,vr=!1,xn;if(!fr.test(U))D.col+=U.length,xn=document.createTextNode(Qt),D.map.push(D.pos,D.pos+U.length,xn),m&&d<9&&(vr=!0),D.pos+=U.length;else{xn=document.createDocumentFragment();for(var Hn=0;;){fr.lastIndex=Hn;var hi=fr.exec(U),ci=hi?hi.index-Hn:U.length-Hn;if(ci){var ra=document.createTextNode(Qt.slice(Hn,Hn+ci));m&&d<9?xn.appendChild(M("span",[ra])):xn.appendChild(ra),D.map.push(D.pos,D.pos+ci,ra),D.col+=ci,D.pos+=ci}if(!hi)break;Hn+=ci+1;var Pa=void 0;if(hi[0]==" "){var $a=D.cm.options.tabSize,Qa=$a-D.col%$a;Pa=xn.appendChild(M("span",ke(Qa),"cm-tab")),Pa.setAttribute("role","presentation"),Pa.setAttribute("cm-text"," "),D.col+=Qa}else hi[0]=="\r"||hi[0]==` +`?(Pa=xn.appendChild(M("span",hi[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Pa.setAttribute("cm-text",hi[0]),D.col+=1):(Pa=D.cm.options.specialCharPlaceholder(hi[0]),Pa.setAttribute("cm-text",hi[0]),m&&d<9?xn.appendChild(M("span",[Pa])):xn.appendChild(Pa),D.col+=1);D.map.push(D.pos,D.pos+1,Pa),D.pos++}}if(D.trailingSpace=Qt.charCodeAt(U.length-1)==32,oe||le||Ae||vr||Ke||Tt){var Ka=oe||"";le&&(Ka+=le),Ae&&(Ka+=Ae);var uo=M("span",[xn],Ka,Ke);if(Tt)for(var Fo in Tt)Tt.hasOwnProperty(Fo)&&Fo!="style"&&Fo!="class"&&uo.setAttribute(Fo,Tt[Fo]);return D.content.appendChild(uo)}D.content.appendChild(xn)}function ea(D,U){if(D.length>1&&!/ /.test(D))return D;for(var oe=U,le="",Ae=0;Aevr&&Hn.from<=vr);hi++);if(Hn.to>=xn)return D(oe,le,Ae,Ke,Tt,Qt,fr);D(oe,le.slice(0,Hn.to-vr),Ae,Ke,null,Qt,fr),Ke=null,le=le.slice(Hn.to-vr),vr=Hn.to}}}function co(D,U,oe,le){var Ae=!le&&oe.widgetNode;Ae&&D.map.push(D.pos,D.pos+U,Ae),!le&&D.cm.display.input.needsContentAttribute&&(Ae||(Ae=D.content.appendChild(document.createElement("span"))),Ae.setAttribute("cm-marker",oe.id)),Ae&&(D.cm.display.input.setUneditable(Ae),D.content.appendChild(Ae)),D.pos+=U,D.trailingSpace=!1}function io(D,U,oe){var le=D.markedSpans,Ae=D.text,Ke=0;if(!le){for(var Tt=1;Ttfr||js.collapsed&&ts.to==fr&&ts.from==fr)){if(ts.to!=null&&ts.to!=fr&&ci>ts.to&&(ci=ts.to,Pa=""),js.className&&(ra+=" "+js.className),js.css&&(hi=(hi?hi+";":"")+js.css),js.startStyle&&ts.from==fr&&($a+=" "+js.startStyle),js.endStyle&&ts.to==ci&&(Fo||(Fo=[])).push(js.endStyle,ts.to),js.title&&((Ka||(Ka={})).title=js.title),js.attributes)for(var hl in js.attributes)(Ka||(Ka={}))[hl]=js.attributes[hl];js.collapsed&&(!Qa||Ni(Qa.marker,js)<0)&&(Qa=ts)}else ts.from>fr&&ci>ts.from&&(ci=ts.from)}if(Fo)for(var Pl=0;Pl=Qt)break;for(var bc=Math.min(Qt,ci);;){if(xn){var Gc=fr+xn.length;if(!Qa){var ic=Gc>bc?xn.slice(0,bc-fr):xn;U.addToken(U,ic,Hn?Hn+ra:ra,$a,fr+ic.length==ci?Pa:"",hi,Ka)}if(Gc>=bc){xn=xn.slice(bc-fr),fr=bc;break}fr=Gc,$a=""}xn=Ae.slice(Ke,Ke=oe[vr++]),Hn=Oi(oe[vr++],U.cm.options)}}}function rs(D,U,oe){this.line=U,this.rest=$n(U),this.size=this.rest?er(ge(this.rest))-oe+1:1,this.node=this.text=null,this.hidden=In(D,U)}function Pi(D,U,oe){for(var le=[],Ae,Ke=U;Ke2&&Ke.push((fr.bottom+vr.top)/2-oe.top)}}Ke.push(oe.bottom-oe.top)}}function ia(D,U,oe){if(D.line==U)return{map:D.measure.map,cache:D.measure.cache};for(var le=0;leoe)return{map:D.measure.maps[Ae],cache:D.measure.caches[Ae],before:!0}}function Ia(D,U){U=zn(U);var oe=er(U),le=D.display.externalMeasured=new rs(D.doc,U,oe);le.lineN=oe;var Ae=le.built=_i(D,le);return le.text=Ae.pre,O(D.display.lineMeasure,Ae.pre),le}function Fa(D,U,oe,le){return xa(D,Ea(D,U),oe,le)}function Aa(D,U){if(U>=D.display.viewFrom&&U=oe.lineN&&UU)&&(Ke=fr-Qt,Ae=Ke-1,U>=fr&&(Tt="right")),Ae!=null){if(le=D[vr+2],Qt==fr&&oe==(le.insertLeft?"left":"right")&&(Tt=oe),oe=="left"&&Ae==0)for(;vr&&D[vr-2]==D[vr-3]&&D[vr-1].insertLeft;)le=D[(vr-=3)+2],Tt="left";if(oe=="right"&&Ae==fr-Qt)for(;vr=0&&!((oe=D[Ae]).left!=oe.right);Ae--);return oe}function Nr(D,U,oe,le){var Ae=oa(U.map,oe,le),Ke=Ae.node,Tt=Ae.start,Qt=Ae.end,fr=Ae.collapse,vr;if(Ke.nodeType==3){for(var xn=0;xn<4;xn++){for(;Tt&&pe(U.line.text.charAt(Ae.coverStart+Tt));)--Tt;for(;Ae.coverStart+Qt0&&(fr=le="right");var Hn;D.options.lineWrapping&&(Hn=Ke.getClientRects()).length>1?vr=Hn[le=="right"?Hn.length-1:0]:vr=Ke.getBoundingClientRect()}if(m&&d<9&&!Tt&&(!vr||!vr.left&&!vr.right)){var hi=Ke.parentNode.getClientRects()[0];hi?vr={left:hi.left,right:hi.left+ao(D.display),top:hi.top,bottom:hi.bottom}:vr=Ai}for(var ci=vr.top-U.rect.top,ra=vr.bottom-U.rect.top,Pa=(ci+ra)/2,$a=U.view.measure.heights,Qa=0;Qa<$a.length-1&&!(Pa<$a[Qa]);Qa++);var Ka=Qa?$a[Qa-1]:0,uo=$a[Qa],Fo={left:(fr=="right"?vr.right:vr.left)-U.rect.left,right:(fr=="left"?vr.left:vr.right)-U.rect.left,top:Ka,bottom:uo};return!vr.left&&!vr.right&&(Fo.bogus=!0),D.options.singleCursorHeightPerLine||(Fo.rtop=ci,Fo.rbottom=ra),Fo}function Qr(D,U){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!et(D))return U;var oe=screen.logicalXDPI/screen.deviceXDPI,le=screen.logicalYDPI/screen.deviceYDPI;return{left:U.left*oe,right:U.right*oe,top:U.top*le,bottom:U.bottom*le}}function bn(D){if(D.measure&&(D.measure.cache={},D.measure.heights=null,D.rest))for(var U=0;U=le.text.length?(fr=le.text.length,vr="before"):fr<=0&&(fr=0,vr="after"),!Qt)return Tt(vr=="before"?fr-1:fr,vr=="before");function xn(ra,Pa,$a){var Qa=Qt[Pa],Ka=Qa.level==1;return Tt($a?ra-1:ra,Ka!=$a)}var Hn=Re(Qt,fr,vr),hi=be,ci=xn(fr,Hn,vr=="before");return hi!=null&&(ci.other=xn(fr,hi,vr!="before")),ci}function vi(D,U){var oe=0;U=Dt(D.doc,U),D.options.lineWrapping||(oe=ao(D.display)*U.ch);var le=$e(D.doc,U.line),Ae=Ei(le)+Kn(D.display);return{left:oe,right:oe,top:Ae,bottom:Ae+le.height}}function Li(D,U,oe,le,Ae){var Ke=ar(D,U,oe);return Ke.xRel=Ae,le&&(Ke.outside=le),Ke}function ji(D,U,oe){var le=D.doc;if(oe+=D.display.viewOffset,oe<0)return Li(le.first,0,null,-1,-1);var Ae=Kr(le,oe),Ke=le.first+le.size-1;if(Ae>Ke)return Li(le.first+le.size-1,$e(le,Ke).text.length,null,1,1);U<0&&(U=0);for(var Tt=$e(le,Ae);;){var Qt=bo(D,Tt,Ae,U,oe),fr=mi(Tt,Qt.ch+(Qt.xRel>0||Qt.outside>0?1:0));if(!fr)return Qt;var vr=fr.find(1);if(vr.line==Ae)return vr;Tt=$e(le,Ae=vr.line)}}function Sa(D,U,oe,le){le-=an(U);var Ae=U.text.length,Ke=Ne(function(Tt){return xa(D,oe,Tt-1).bottom<=le},Ae,0);return Ae=Ne(function(Tt){return xa(D,oe,Tt).top>le},Ke,Ae),{begin:Ke,end:Ae}}function Ga(D,U,oe,le){oe||(oe=Ea(D,U));var Ae=Jr(D,U,xa(D,oe,le),"line").top;return Sa(D,U,oe,Ae)}function Ya(D,U,oe,le){return D.bottom<=oe?!1:D.top>oe?!0:(le?D.left:D.right)>U}function bo(D,U,oe,le,Ae){Ae-=Ei(U);var Ke=Ea(D,U),Tt=an(U),Qt=0,fr=U.text.length,vr=!0,xn=yt(U,D.doc.direction);if(xn){var Hn=(D.options.lineWrapping?po:vo)(D,U,oe,Ke,xn,le,Ae);vr=Hn.level!=1,Qt=vr?Hn.from:Hn.to-1,fr=vr?Hn.to:Hn.from-1}var hi=null,ci=null,ra=Ne(function(ws){var ts=xa(D,Ke,ws);return ts.top+=Tt,ts.bottom+=Tt,Ya(ts,le,Ae,!1)?(ts.top<=Ae&&ts.left<=le&&(hi=ws,ci=ts),!0):!1},Qt,fr),Pa,$a,Qa=!1;if(ci){var Ka=le-ci.left=Fo.bottom?1:0}return ra=De(U.text,ra,1),Li(oe,ra,$a,Qa,le-Pa)}function vo(D,U,oe,le,Ae,Ke,Tt){var Qt=Ne(function(Hn){var hi=Ae[Hn],ci=hi.level!=1;return Ya(Xn(D,ar(oe,ci?hi.to:hi.from,ci?"before":"after"),"line",U,le),Ke,Tt,!0)},0,Ae.length-1),fr=Ae[Qt];if(Qt>0){var vr=fr.level!=1,xn=Xn(D,ar(oe,vr?fr.from:fr.to,vr?"after":"before"),"line",U,le);Ya(xn,Ke,Tt,!0)&&xn.top>Tt&&(fr=Ae[Qt-1])}return fr}function po(D,U,oe,le,Ae,Ke,Tt){var Qt=Sa(D,U,le,Tt),fr=Qt.begin,vr=Qt.end;/\s/.test(U.text.charAt(vr-1))&&vr--;for(var xn=null,Hn=null,hi=0;hi=vr||ci.to<=fr)continue;var ra=ci.level!=1,Pa=xa(D,le,ra?Math.min(vr,ci.to)-1:Math.max(fr,ci.from)).right,$a=Pa$a)&&(xn=ci,Hn=$a)}return xn||(xn=Ae[Ae.length-1]),xn.fromvr&&(xn={from:xn.from,to:vr,level:xn.level}),xn}var Ha;function Oa(D){if(D.cachedTextHeight!=null)return D.cachedTextHeight;if(Ha==null){Ha=M("pre",null,"CodeMirror-line-like");for(var U=0;U<49;++U)Ha.appendChild(document.createTextNode("x")),Ha.appendChild(M("br"));Ha.appendChild(document.createTextNode("x"))}O(D.measure,Ha);var oe=Ha.offsetHeight/50;return oe>3&&(D.cachedTextHeight=oe),E(D.measure),oe||1}function ao(D){if(D.cachedCharWidth!=null)return D.cachedCharWidth;var U=M("span","xxxxxxxxxx"),oe=M("pre",[U],"CodeMirror-line-like");O(D.measure,oe);var le=U.getBoundingClientRect(),Ae=(le.right-le.left)/10;return Ae>2&&(D.cachedCharWidth=Ae),Ae||10}function to(D){for(var U=D.display,oe={},le={},Ae=U.gutters.clientLeft,Ke=U.gutters.firstChild,Tt=0;Ke;Ke=Ke.nextSibling,++Tt){var Qt=D.display.gutterSpecs[Tt].className;oe[Qt]=Ke.offsetLeft+Ke.clientLeft+Ae,le[Qt]=Ke.clientWidth}return{fixedPos:Po(U),gutterTotalWidth:U.gutters.offsetWidth,gutterLeft:oe,gutterWidth:le,wrapperWidth:U.wrapper.clientWidth}}function Po(D){return D.scroller.getBoundingClientRect().left-D.sizer.getBoundingClientRect().left}function Yo(D){var U=Oa(D.display),oe=D.options.lineWrapping,le=oe&&Math.max(5,D.display.scroller.clientWidth/ao(D.display)-3);return function(Ae){if(In(D.doc,Ae))return 0;var Ke=0;if(Ae.widgets)for(var Tt=0;Tt0&&(vr=$e(D.doc,fr.line).text).length==fr.ch){var xn=P(vr,vr.length,D.options.tabSize)-vr.length;fr=ar(fr.line,Math.max(0,Math.round((Ke-ni(D.display).left)/ao(D.display))-xn))}return fr}function Mo(D,U){if(U>=D.display.viewTo)return null;if(U-=D.display.viewFrom,U<0)return null;for(var oe=D.display.view,le=0;leU)&&(Ae.updateLineNumbers=U),D.curOp.viewChanged=!0,U>=Ae.viewTo)nt&&Cn(D.doc,U)Ae.viewFrom?mo(D):(Ae.viewFrom+=le,Ae.viewTo+=le);else if(U<=Ae.viewFrom&&oe>=Ae.viewTo)mo(D);else if(U<=Ae.viewFrom){var Ke=ns(D,oe,oe+le,1);Ke?(Ae.view=Ae.view.slice(Ke.index),Ae.viewFrom=Ke.lineN,Ae.viewTo+=le):mo(D)}else if(oe>=Ae.viewTo){var Tt=ns(D,U,U,-1);Tt?(Ae.view=Ae.view.slice(0,Tt.index),Ae.viewTo=Tt.lineN):mo(D)}else{var Qt=ns(D,U,U,-1),fr=ns(D,oe,oe+le,1);Qt&&fr?(Ae.view=Ae.view.slice(0,Qt.index).concat(Pi(D,Qt.lineN,fr.lineN)).concat(Ae.view.slice(fr.index)),Ae.viewTo+=le):mo(D)}var vr=Ae.externalMeasured;vr&&(oe=Ae.lineN&&U=le.viewTo)return;var Ke=le.view[Mo(D,U)];if(Ke.node==null)return;var Tt=Ke.changes||(Ke.changes=[]);V(Tt,oe)==-1&&Tt.push(oe)}function mo(D){D.display.viewFrom=D.display.viewTo=D.doc.first,D.display.view=[],D.display.viewOffset=0}function ns(D,U,oe,le){var Ae=Mo(D,U),Ke,Tt=D.display.view;if(!nt||oe==D.doc.first+D.doc.size)return{index:Ae,lineN:oe};for(var Qt=D.display.viewFrom,fr=0;fr0){if(Ae==Tt.length-1)return null;Ke=Qt+Tt[Ae].size-U,Ae++}else Ke=Qt-U;U+=Ke,oe+=Ke}for(;Cn(D.doc,oe)!=oe;){if(Ae==(le<0?0:Tt.length-1))return null;oe+=le*Tt[Ae-(le<0?1:0)].size,Ae+=le}return{index:Ae,lineN:oe}}function Zo(D,U,oe){var le=D.display,Ae=le.view;Ae.length==0||U>=le.viewTo||oe<=le.viewFrom?(le.view=Pi(D,U,oe),le.viewFrom=U):(le.viewFrom>U?le.view=Pi(D,U,le.viewFrom).concat(le.view):le.viewFromoe&&(le.view=le.view.slice(0,Mo(D,oe)))),le.viewTo=oe}function Oo(D){for(var U=D.display.view,oe=0,le=0;le=D.display.viewTo||Qt.to().line0?U.blinker=setInterval(function(){D.hasFocus()||Vo(D),U.cursorDiv.style.visibility=(oe=!oe)?"":"hidden"},D.options.cursorBlinkRate):D.options.cursorBlinkRate<0&&(U.cursorDiv.style.visibility="hidden")}function Fs(D){D.state.focused||(D.display.input.focus(),Ko(D))}function qo(D){D.state.delayingBlurEvent=!0,setTimeout(function(){D.state.delayingBlurEvent&&(D.state.delayingBlurEvent=!1,Vo(D))},100)}function Ko(D,U){if(D.state.delayingBlurEvent&&(D.state.delayingBlurEvent=!1),D.options.readOnly=="nocursor")return;D.state.focused||(Ft(D,"focus",D,U),D.state.focused=!0,J(D.display.wrapper,"CodeMirror-focused"),!D.curOp&&D.display.selForContextMenu!=D.doc.sel&&(D.display.input.reset(),a&&setTimeout(function(){return D.display.input.reset(!0)},20)),D.display.input.receivedFocus()),oo(D)}function Vo(D,U){if(D.state.delayingBlurEvent)return;D.state.focused&&(Ft(D,"blur",D,U),D.state.focused=!1,C(D.display.wrapper,"CodeMirror-focused")),clearInterval(D.display.blinker),setTimeout(function(){D.state.focused||(D.display.shift=!1)},150)}function Go(D){for(var U=D.display,oe=U.lineDiv.offsetTop,le=0;le.005||xn<-.005)&&(Xt(Ae.line,Tt),os(Ae.line),Ae.rest))for(var Hn=0;HnD.display.sizerWidth){var hi=Math.ceil(Qt/ao(D.display));hi>D.display.maxLineLength&&(D.display.maxLineLength=hi,D.display.maxLine=Ae.line,D.display.maxLineChanged=!0)}}}function os(D){if(D.widgets)for(var U=0;U=Tt&&(We=Wr(U,Ei($e(U,fr))-D.wrapper.clientHeight),Tt=fr)}return{from:We,to:Math.max(Tt,We+1)}}function xs(D,U){if(Ut(D,"scrollCursorIntoView"))return;var oe=D.display,le=oe.sizer.getBoundingClientRect(),Ae=null;if(U.top+le.top<0?Ae=!0:U.bottom+le.top>(window.innerHeight||document.documentElement.clientHeight)&&(Ae=!1),Ae!=null&&!r){var We=M("div","\u200B",null,`position: absolute; - top: `+(U.top-oe.viewOffset-Wn(D.display))+`px; + height: `+(ts-Fo)+"px"))}function Hn(uo,Fo,ws){var ts=$e(Ae,uo),js=ts.text.length,hl,Pl;function Ll(ic,Dc){return Dn(D,ar(uo,ic),"div",ts,Dc)}function bc(ic,Dc,uc){var gc=Ga(D,ts,null,ic),dc=Dc=="ltr"==(uc=="after")?"left":"right",Jl=uc=="after"?gc.begin:gc.end-(/\s/.test(ts.text.charAt(gc.end-1))?2:1);return Ll(Jl,dc)[dc]}var Gc=yt(ts,Ae.direction);return me(Gc,Fo||0,ws==null?js:ws,function(ic,Dc,uc,gc){var dc=uc=="ltr",Jl=Ll(ic,dc?"left":"right"),Hc=Ll(Dc-1,dc?"right":"left"),cd=Fo==null&&ic==0,su=ws==null&&Dc==js,hc=gc==0,eu=!Gc||gc==Gc.length-1;if(Hc.top-Jl.top<=3){var Ic=(vr?cd:su)&&hc,$d=(vr?su:cd)&&eu,Do=Ic?Qt:(dc?Jl:Hc).left,Qc=$d?fr:(dc?Hc:Jl).right;xn(Do,Jl.top,Qc-Do,Jl.bottom)}else{var lu,zl,Cu,fl;dc?(lu=vr&&cd&&hc?Qt:Jl.left,zl=vr?fr:bc(ic,uc,"before"),Cu=vr?Qt:bc(Dc,uc,"after"),fl=vr&&su&&eu?fr:Hc.right):(lu=vr?bc(ic,uc,"before"):Qt,zl=!vr&&cd&&hc?fr:Jl.right,Cu=!vr&&su&&eu?Qt:Hc.left,fl=vr?bc(Dc,uc,"after"):fr),xn(lu,Jl.top,zl-lu,Jl.bottom),Jl.bottom0?U.blinker=setInterval(function(){D.hasFocus()||Vo(D),U.cursorDiv.style.visibility=(oe=!oe)?"":"hidden"},D.options.cursorBlinkRate):D.options.cursorBlinkRate<0&&(U.cursorDiv.style.visibility="hidden")}function Fs(D){D.state.focused||(D.display.input.focus(),Wo(D))}function qo(D){D.state.delayingBlurEvent=!0,setTimeout(function(){D.state.delayingBlurEvent&&(D.state.delayingBlurEvent=!1,Vo(D))},100)}function Wo(D,U){if(D.state.delayingBlurEvent&&(D.state.delayingBlurEvent=!1),D.options.readOnly=="nocursor")return;D.state.focused||(Ft(D,"focus",D,U),D.state.focused=!0,J(D.display.wrapper,"CodeMirror-focused"),!D.curOp&&D.display.selForContextMenu!=D.doc.sel&&(D.display.input.reset(),a&&setTimeout(function(){return D.display.input.reset(!0)},20)),D.display.input.receivedFocus()),oo(D)}function Vo(D,U){if(D.state.delayingBlurEvent)return;D.state.focused&&(Ft(D,"blur",D,U),D.state.focused=!1,C(D.display.wrapper,"CodeMirror-focused")),clearInterval(D.display.blinker),setTimeout(function(){D.state.focused||(D.display.shift=!1)},150)}function Go(D){for(var U=D.display,oe=U.lineDiv.offsetTop,le=0;le.005||xn<-.005)&&(Xt(Ae.line,Tt),os(Ae.line),Ae.rest))for(var Hn=0;HnD.display.sizerWidth){var hi=Math.ceil(Qt/ao(D.display));hi>D.display.maxLineLength&&(D.display.maxLineLength=hi,D.display.maxLine=Ae.line,D.display.maxLineChanged=!0)}}}function os(D){if(D.widgets)for(var U=0;U=Tt&&(Ke=Kr(U,Ei($e(U,fr))-D.wrapper.clientHeight),Tt=fr)}return{from:Ke,to:Math.max(Tt,Ke+1)}}function xs(D,U){if(Ut(D,"scrollCursorIntoView"))return;var oe=D.display,le=oe.sizer.getBoundingClientRect(),Ae=null;if(U.top+le.top<0?Ae=!0:U.bottom+le.top>(window.innerHeight||document.documentElement.clientHeight)&&(Ae=!1),Ae!=null&&!r){var Ke=M("div","\u200B",null,`position: absolute; + top: `+(U.top-oe.viewOffset-Kn(D.display))+`px; height: `+(U.bottom-U.top+wi(D)+oe.barHeight)+`px; - left: `+U.left+"px; width: "+Math.max(2,U.right-U.left)+"px;");D.display.lineSpace.appendChild(We),We.scrollIntoView(Ae),D.display.lineSpace.removeChild(We)}}function Js(D,U,oe,le){le==null&&(le=0);var Ae;!D.options.lineWrapping&&U==oe&&(U=U.ch?ar(U.line,U.sticky=="before"?U.ch-1:U.ch,"after"):U,oe=U.sticky=="before"?ar(U.line,U.ch+1,"before"):U);for(var We=0;We<5;We++){var Tt=!1,Qt=Xn(D,U),fr=!oe||oe==U?Qt:Xn(D,oe);Ae={left:Math.min(Qt.left,fr.left),top:Math.min(Qt.top,fr.top)-le,right:Math.max(Qt.left,fr.left),bottom:Math.max(Qt.bottom,fr.bottom)+le};var vr=ks(D,Ae),xn=D.doc.scrollTop,Hn=D.doc.scrollLeft;if(vr.scrollTop!=null&&(ho(D,vr.scrollTop),Math.abs(D.doc.scrollTop-xn)>1&&(Tt=!0)),vr.scrollLeft!=null&&(ml(D,vr.scrollLeft),Math.abs(D.doc.scrollLeft-Hn)>1&&(Tt=!0)),!Tt)break}return Ae}function Bs(D,U){var oe=ks(D,U);oe.scrollTop!=null&&ho(D,oe.scrollTop),oe.scrollLeft!=null&&ml(D,oe.scrollLeft)}function ks(D,U){var oe=D.display,le=Oa(D.display);U.top<0&&(U.top=0);var Ae=D.curOp&&D.curOp.scrollTop!=null?D.curOp.scrollTop:oe.scroller.scrollTop,We=Ui(D),Tt={};U.bottom-U.top>We&&(U.bottom=U.top+We);var Qt=D.doc.height+Zn(oe),fr=U.topQt-le;if(U.topAe+We){var xn=Math.min(U.top,(vr?Qt:U.bottom)-We);xn!=Ae&&(Tt.scrollTop=xn)}var Hn=D.options.fixedGutter?0:oe.gutters.offsetWidth,hi=D.curOp&&D.curOp.scrollLeft!=null?D.curOp.scrollLeft:oe.scroller.scrollLeft-Hn,ci=Di(D)-oe.gutters.offsetWidth,ra=U.right-U.left>ci;return ra&&(U.right=U.left+ci),U.left<10?Tt.scrollLeft=0:U.leftci+hi-3&&(Tt.scrollLeft=U.right+(ra?0:10)-ci),Tt}function Jo(D,U){if(U==null)return;Ps(D),D.curOp.scrollTop=(D.curOp.scrollTop==null?D.doc.scrollTop:D.curOp.scrollTop)+U}function bs(D){Ps(D);var U=D.getCursor();D.curOp.scrollToPos={from:U,to:U,margin:D.options.cursorScrollMargin}}function Ho(D,U,oe){(U!=null||oe!=null)&&Ps(D),U!=null&&(D.curOp.scrollLeft=U),oe!=null&&(D.curOp.scrollTop=oe)}function Ls(D,U){Ps(D),D.curOp.scrollToPos=U}function Ps(D){var U=D.curOp.scrollToPos;if(U){D.curOp.scrollToPos=null;var oe=vi(D,U.from),le=vi(D,U.to);Ra(D,oe,le,U.margin)}}function Ra(D,U,oe,le){var Ae=ks(D,{left:Math.min(U.left,oe.left),top:Math.min(U.top,oe.top)-le,right:Math.max(U.right,oe.right),bottom:Math.max(U.bottom,oe.bottom)+le});Ho(D,Ae.scrollLeft,Ae.scrollTop)}function ho(D,U){if(Math.abs(D.doc.scrollTop-U)<2)return;A||xl(D,{top:U}),ll(D,U,!0),A&&xl(D),cl(D,100)}function ll(D,U,oe){if(U=Math.max(0,Math.min(D.display.scroller.scrollHeight-D.display.scroller.clientHeight,U)),D.display.scroller.scrollTop==U&&!oe)return;D.doc.scrollTop=U,D.display.scrollbars.setScrollTop(U),D.display.scroller.scrollTop!=U&&(D.display.scroller.scrollTop=U)}function ml(D,U,oe,le){if(U=Math.max(0,Math.min(U,D.display.scroller.scrollWidth-D.display.scroller.clientWidth)),(oe?U==D.doc.scrollLeft:Math.abs(D.doc.scrollLeft-U)<2)&&!le)return;D.doc.scrollLeft=U,Gl(D),D.display.scroller.scrollLeft!=U&&(D.display.scroller.scrollLeft=U),D.display.scrollbars.setScrollLeft(U)}function wl(D){var U=D.display,oe=U.gutters.offsetWidth,le=Math.round(D.doc.height+Zn(D.display));return{clientHeight:U.scroller.clientHeight,viewHeight:U.wrapper.clientHeight,scrollWidth:U.scroller.scrollWidth,clientWidth:U.scroller.clientWidth,viewWidth:U.wrapper.clientWidth,barLeft:D.options.fixedGutter?oe:0,docHeight:le,scrollHeight:le+wi(D)+U.barHeight,nativeBarWidth:U.nativeBarWidth,gutterWidth:oe}}var El=function(U,oe,le){this.cm=le;var Ae=this.vert=M("div",[M("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),We=this.horiz=M("div",[M("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");Ae.tabIndex=We.tabIndex=-1,U(Ae),U(We),Pe(Ae,"scroll",function(){Ae.clientHeight&&oe(Ae.scrollTop,"vertical")}),Pe(We,"scroll",function(){We.clientWidth&&oe(We.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,m&&d<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};El.prototype.update=function(D){var U=D.scrollWidth>D.clientWidth+1,oe=D.scrollHeight>D.clientHeight+1,le=D.nativeBarWidth;if(oe){this.vert.style.display="block",this.vert.style.bottom=U?le+"px":"0";var Ae=D.viewHeight-(U?le:0);this.vert.firstChild.style.height=Math.max(0,D.scrollHeight-D.clientHeight+Ae)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(U){this.horiz.style.display="block",this.horiz.style.right=oe?le+"px":"0",this.horiz.style.left=D.barLeft+"px";var We=D.viewWidth-D.barLeft-(oe?le:0);this.horiz.firstChild.style.width=Math.max(0,D.scrollWidth-D.clientWidth+We)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&D.clientHeight>0&&(le==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:oe?le:0,bottom:U?le:0}},El.prototype.setScrollLeft=function(D){this.horiz.scrollLeft!=D&&(this.horiz.scrollLeft=D),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},El.prototype.setScrollTop=function(D){this.vert.scrollTop!=D&&(this.vert.scrollTop=D),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},El.prototype.zeroWidthHack=function(){var D=g&&!u?"12px":"18px";this.horiz.style.height=this.vert.style.width=D,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new G,this.disableVert=new G},El.prototype.enableZeroWidthBar=function(D,U,oe){D.style.pointerEvents="auto";function le(){var Ae=D.getBoundingClientRect(),We=oe=="vert"?document.elementFromPoint(Ae.right-1,(Ae.top+Ae.bottom)/2):document.elementFromPoint((Ae.right+Ae.left)/2,Ae.bottom-1);We!=D?D.style.pointerEvents="none":U.set(1e3,le)}U.set(1e3,le)},El.prototype.clear=function(){var D=this.horiz.parentNode;D.removeChild(this.horiz),D.removeChild(this.vert)};var Xs=function(){};Xs.prototype.update=function(){return{bottom:0,right:0}},Xs.prototype.setScrollLeft=function(){},Xs.prototype.setScrollTop=function(){},Xs.prototype.clear=function(){};function Xo(D,U){U||(U=wl(D));var oe=D.display.barWidth,le=D.display.barHeight;gl(D,U);for(var Ae=0;Ae<4&&oe!=D.display.barWidth||le!=D.display.barHeight;Ae++)oe!=D.display.barWidth&&D.options.lineWrapping&&Go(D),gl(D,wl(D)),oe=D.display.barWidth,le=D.display.barHeight}function gl(D,U){var oe=D.display,le=oe.scrollbars.update(U);oe.sizer.style.paddingRight=(oe.barWidth=le.right)+"px",oe.sizer.style.paddingBottom=(oe.barHeight=le.bottom)+"px",oe.heightForcer.style.borderBottom=le.bottom+"px solid transparent",le.right&&le.bottom?(oe.scrollbarFiller.style.display="block",oe.scrollbarFiller.style.height=le.bottom+"px",oe.scrollbarFiller.style.width=le.right+"px"):oe.scrollbarFiller.style.display="",le.bottom&&D.options.coverGutterNextToScrollbar&&D.options.fixedGutter?(oe.gutterFiller.style.display="block",oe.gutterFiller.style.height=le.bottom+"px",oe.gutterFiller.style.width=U.gutterWidth+"px"):oe.gutterFiller.style.display=""}var Vl={native:El,null:Xs};function Us(D){D.display.scrollbars&&(D.display.scrollbars.clear(),D.display.scrollbars.addClass&&C(D.display.wrapper,D.display.scrollbars.addClass)),D.display.scrollbars=new Vl[D.options.scrollbarStyle](function(U){D.display.wrapper.insertBefore(U,D.display.scrollbarFiller),Pe(U,"mousedown",function(){D.state.focused&&setTimeout(function(){return D.display.input.focus()},0)}),U.setAttribute("cm-not-content","true")},function(U,oe){oe=="horizontal"?ml(D,U):ho(D,U)},D),D.display.scrollbars.addClass&&J(D.display.wrapper,D.display.scrollbars.addClass)}var $s=0;function us(D){D.curOp={cm:D,viewChanged:!1,startHeight:D.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++$s},ha(D.curOp)}function _l(D){var U=D.curOp;U&&ta(U,function(oe){for(var le=0;le=oe.viewTo)||oe.maxLineChanged&&U.options.lineWrapping,D.update=D.mustUpdate&&new da(U,D.mustUpdate&&{top:D.scrollTop,ensure:D.scrollToPos},D.forceUpdate)}function Bl(D){D.updatedDisplay=D.mustUpdate&&Ss(D.cm,D.update)}function oc(D){var U=D.cm,oe=U.display;D.updatedDisplay&&Go(U),D.barMeasure=wl(U),oe.maxLineChanged&&!U.options.lineWrapping&&(D.adjustWidthTo=Fa(U,oe.maxLine,oe.maxLine.text.length).left+3,U.display.sizerWidth=D.adjustWidthTo,D.barMeasure.scrollWidth=Math.max(oe.scroller.clientWidth,oe.sizer.offsetLeft+D.adjustWidthTo+wi(U)+U.display.barWidth),D.maxScrollLeft=Math.max(0,oe.sizer.offsetLeft+D.adjustWidthTo-Di(U))),(D.updatedDisplay||D.selectionChanged)&&(D.preparedSelection=oe.input.prepareSelection())}function sc(D){var U=D.cm;D.adjustWidthTo!=null&&(U.display.sizer.style.minWidth=D.adjustWidthTo+"px",D.maxScrollLeft=D.display.viewTo)return;var oe=+new Date+D.options.workTime,le=Gn(D,U.highlightFrontier),Ae=[];U.iter(le.line,Math.min(U.first+U.size,D.display.viewTo+500),function(We){if(le.line>=D.display.viewFrom){var Tt=We.styles,Qt=We.text.length>D.options.maxHighlightLength?lt(U.mode,le.state):null,fr=vn(D,We,le,!0);Qt&&(le.state=Qt),We.styles=fr.styles;var vr=We.styleClasses,xn=fr.classes;xn?We.styleClasses=xn:vr&&(We.styleClasses=null);for(var Hn=!Tt||Tt.length!=We.styles.length||vr!=xn&&(!vr||!xn||vr.bgClass!=xn.bgClass||vr.textClass!=xn.textClass),hi=0;!Hn&&hioe)return cl(D,D.options.workDelay),!0}),U.highlightFrontier=le.line,U.modeFrontier=Math.max(U.modeFrontier,le.line),Ae.length&&Al(D,function(){for(var We=0;We=oe.viewFrom&&U.visible.to<=oe.viewTo&&(oe.updateLineNumbers==null||oe.updateLineNumbers>=oe.viewTo)&&oe.renderedView==oe.view&&Oo(D)==0)return!1;Wc(D)&&(mo(D),U.dims=to(D));var Ae=le.first+le.size,We=Math.max(U.visible.from-D.options.viewportMargin,le.first),Tt=Math.min(Ae,U.visible.to+D.options.viewportMargin);oe.viewFromTt&&oe.viewTo-Tt<20&&(Tt=Math.min(Ae,oe.viewTo)),nt&&(We=Cn(D.doc,We),Tt=ki(D.doc,Tt));var Qt=We!=oe.viewFrom||Tt!=oe.viewTo||oe.lastWrapHeight!=U.wrapperHeight||oe.lastWrapWidth!=U.wrapperWidth;Zo(D,We,Tt),oe.viewOffset=Ei($e(D.doc,oe.viewFrom)),D.display.mover.style.top=oe.viewOffset+"px";var fr=Oo(D);if(!Qt&&fr==0&&!U.force&&oe.renderedView==oe.view&&(oe.updateLineNumbers==null||oe.updateLineNumbers>=oe.viewTo))return!1;var vr=pc(D);return fr>4&&(oe.lineDiv.style.display="none"),ul(D,oe.updateLineNumbers,U.dims),fr>4&&(oe.lineDiv.style.display=""),oe.renderedView=oe.view,xc(vr),E(oe.cursorDiv),E(oe.selectionDiv),oe.gutters.style.height=oe.sizer.style.minHeight=0,Qt&&(oe.lastWrapHeight=U.wrapperHeight,oe.lastWrapWidth=U.wrapperWidth,cl(D,400)),oe.updateLineNumbers=null,!0}function Ks(D,U){for(var oe=U.viewport,le=!0;;le=!1){if(!le||!D.options.lineWrapping||U.oldDisplayWidth==Di(D)){if(oe&&oe.top!=null&&(oe={top:Math.min(D.doc.height+Zn(D.display)-Ui(D),oe.top)}),U.visible=Vs(D.display,D.doc,oe),U.visible.from>=D.display.viewFrom&&U.visible.to<=D.display.viewTo)break}else le&&(U.visible=Vs(D.display,D.doc,oe));if(!Ss(D,U))break;Go(D);var Ae=wl(D);Ro(D),Xo(D,Ae),Xl(D,Ae),U.force=!1}U.signal(D,"update",D),(D.display.viewFrom!=D.display.reportedViewFrom||D.display.viewTo!=D.display.reportedViewTo)&&(U.signal(D,"viewportChange",D,D.display.viewFrom,D.display.viewTo),D.display.reportedViewFrom=D.display.viewFrom,D.display.reportedViewTo=D.display.viewTo)}function xl(D,U){var oe=new da(D,U);if(Ss(D,oe)){Go(D),Ks(D,oe);var le=wl(D);Ro(D),Xo(D,le),Xl(D,le),oe.finish()}}function ul(D,U,oe){var le=D.display,Ae=D.options.lineNumbers,We=le.lineDiv,Tt=We.firstChild;function Qt(ra){var Pa=ra.nextSibling;return a&&g&&D.display.currentWheelTarget==ra?ra.style.display="none":ra.parentNode.removeChild(ra),Pa}for(var fr=le.view,vr=le.viewFrom,xn=0;xn-1&&(ci=!1),_n(D,Hn,vr,oe)),ci&&(E(Hn.lineNumber),Hn.lineNumber.appendChild(document.createTextNode(Fn(D.options,vr)))),Tt=Hn.node.nextSibling}vr+=Hn.size}for(;Tt;)Tt=Qt(Tt)}function nc(D){var U=D.gutters.offsetWidth;D.sizer.style.marginLeft=U+"px"}function Xl(D,U){D.display.sizer.style.minHeight=U.docHeight+"px",D.display.heightForcer.style.top=U.docHeight+"px",D.display.gutters.style.height=U.docHeight+D.display.barHeight+wi(D)+"px"}function Gl(D){var U=D.display,oe=U.view;if(!U.alignWidgets&&(!U.gutters.firstChild||!D.options.fixedGutter))return;for(var le=Po(U)-U.scroller.scrollLeft+D.doc.scrollLeft,Ae=U.gutters.offsetWidth,We=le+"px",Tt=0;TtTt.clientWidth,fr=Tt.scrollHeight>Tt.clientHeight;if(!(le&&Qt||Ae&&fr))return;if(Ae&&g&&a){e:for(var vr=U.target,xn=We.view;vr!=Tt;vr=vr.parentNode)for(var Hn=0;Hn=0&&It(D,le.to())<=0)return oe}return-1};var he=function(U,oe){this.anchor=U,this.head=oe};he.prototype.from=function(){return Mt(this.anchor,this.head)},he.prototype.to=function(){return gr(this.anchor,this.head)},he.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Ce(D,U,oe){var le=D&&D.options.selectionsMayTouch,Ae=U[oe];U.sort(function(hi,ci){return It(hi.from(),ci.from())}),oe=V(U,Ae);for(var We=1;We0:fr>=0){var vr=Mt(Qt.from(),Tt.from()),xn=gr(Qt.to(),Tt.to()),Hn=Qt.empty()?Tt.from()==Tt.head:Qt.from()==Qt.head;We<=oe&&--oe,U.splice(--We,2,new he(Hn?xn:vr,Hn?vr:xn))}}return new Lt(U,oe)}function Ie(D,U){return new Lt([new he(D,U||D)],0)}function Ye(D){return D.text?ar(D.from.line+D.text.length-1,ge(D.text).length+(D.text.length==1?D.from.ch:0)):D.to}function _t(D,U){if(It(D,U.from)<0)return D;if(It(D,U.to)<=0)return Ye(U);var oe=D.line+U.text.length-(U.to.line-U.from.line)-1,le=D.ch;return D.line==U.to.line&&(le+=Ye(U).ch-U.to.ch),ar(oe,le)}function Yt(D,U){for(var oe=[],le=0;le1&&D.remove(Qt.line+1,ra-1),D.insert(Qt.line+1,Qa)}lr(D,"change",D,U)}function ga(D,U,oe){function le(Ae,We,Tt){if(Ae.linked)for(var Qt=0;Qt1&&!D.done[D.done.length-2].ranges)return D.done.pop(),ge(D.done)}function Ws(D,U,oe,le){var Ae=D.history;Ae.undone.length=0;var We=+new Date,Tt,Qt;if((Ae.lastOp==le||Ae.lastOrigin==U.origin&&U.origin&&(U.origin.charAt(0)=="+"&&Ae.lastModTime>We-(D.cm?D.cm.options.historyEventDelay:500)||U.origin.charAt(0)=="*"))&&(Tt=nl(Ae,Ae.lastOp==le)))Qt=ge(Tt.changes),It(U.from,U.to)==0&&It(U.from,Qt.to)==0?Qt.to=Ye(U):Tt.changes.push(ss(D,U));else{var fr=ge(Ae.done);for((!fr||!fr.ranges)&&Ys(D.sel,Ae.done),Tt={changes:[ss(D,U)],generation:Ae.generation},Ae.done.push(Tt);Ae.done.length>Ae.undoDepth;)Ae.done.shift(),Ae.done[0].ranges||Ae.done.shift()}Ae.done.push(oe),Ae.generation=++Ae.maxGeneration,Ae.lastModTime=Ae.lastSelTime=We,Ae.lastOp=Ae.lastSelOp=le,Ae.lastOrigin=Ae.lastSelOrigin=U.origin,Qt||Ft(D,"historyAdded")}function dl(D,U,oe,le){var Ae=U.charAt(0);return Ae=="*"||Ae=="+"&&oe.ranges.length==le.ranges.length&&oe.somethingSelected()==le.somethingSelected()&&new Date-D.history.lastSelTime<=(D.cm?D.cm.options.historyEventDelay:500)}function ls(D,U,oe,le){var Ae=D.history,We=le&&le.origin;oe==Ae.lastSelOp||We&&Ae.lastSelOrigin==We&&(Ae.lastModTime==Ae.lastSelTime&&Ae.lastOrigin==We||dl(D,We,ge(Ae.done),U))?Ae.done[Ae.done.length-1]=U:Ys(U,Ae.done),Ae.lastSelTime=+new Date,Ae.lastSelOrigin=We,Ae.lastSelOp=oe,le&&le.clearRedo!==!1&&ps(Ae.undone)}function Ys(D,U){var oe=ge(U);oe&&oe.ranges&&oe.equals(D)||U.push(D)}function Rl(D,U,oe,le){var Ae=U["spans_"+D.id],We=0;D.iter(Math.max(D.first,oe),Math.min(D.first+D.size,le),function(Tt){Tt.markedSpans&&((Ae||(Ae=U["spans_"+D.id]={}))[We]=Tt.markedSpans),++We})}function kl(D){if(!D)return null;for(var U,oe=0;oe-1&&(ge(Qt)[Hn]=vr[Hn],delete vr[Hn]))}}return le}function lc(D,U,oe,le){if(le){var Ae=D.anchor;if(oe){var We=It(U,Ae)<0;We!=It(oe,Ae)<0?(Ae=U,U=oe):We!=It(U,oe)<0&&(U=oe)}return new he(Ae,U)}else return new he(oe||U,U)}function bl(D,U,oe,le,Ae){Ae==null&&(Ae=D.cm&&(D.cm.display.shift||D.extend)),al(D,new Lt([lc(D.sel.primary(),U,oe,Ae)],0),le)}function il(D,U,oe){for(var le=[],Ae=D.cm&&(D.cm.display.shift||D.extend),We=0;We=U.ch:Qt.to>U.ch))){if(Ae&&(Ft(fr,"beforeCursorEnter"),fr.explicitlyCleared))if(We.markedSpans){--Tt;continue}else break;if(!fr.atomic)continue;if(oe){var Hn=fr.find(le<0?1:-1),hi=void 0;if((le<0?xn:vr)&&(Hn=Vc(D,Hn,-le,Hn&&Hn.line==U.line?We:null)),Hn&&Hn.line==U.line&&(hi=It(Hn,oe))&&(le<0?hi<0:hi>0))return Ql(D,Hn,U,le,Ae)}var ci=fr.find(le<0?-1:1);return(le<0?vr:xn)&&(ci=Vc(D,ci,le,ci.line==U.line?We:null)),ci?Ql(D,ci,U,le,Ae):null}}return U}function Ac(D,U,oe,le,Ae){var We=le||1,Tt=Ql(D,U,oe,We,Ae)||!Ae&&Ql(D,U,oe,We,!0)||Ql(D,U,oe,-We,Ae)||!Ae&&Ql(D,U,oe,-We,!0);return Tt||(D.cantEdit=!0,ar(D.first,0))}function Vc(D,U,oe,le){return oe<0&&U.ch==0?U.line>D.first?Dt(D,ar(U.line-1)):null:oe>0&&U.ch==(le||$e(D,U.line)).text.length?U.line=0;--Ae)ms(D,{from:le[Ae].from,to:le[Ae].to,text:Ae?[""]:U.text,origin:U.origin});else ms(D,U)}function ms(D,U){if(U.text.length==1&&U.text[0]==""&&It(U.from,U.to)==0)return;var oe=Yt(D,U);Ws(D,U,oe,D.cm?D.cm.curOp.id:NaN),Is(D,U,oe,Bn(D,U));var le=[];ga(D,function(Ae,We){!We&&V(le,Ae.history)==-1&&(sl(Ae.history,U),le.push(Ae.history)),Is(Ae,U,null,Bn(Ae,U))})}function yo(D,U,oe){var le=D.cm&&D.cm.state.suppressEdits;if(le&&!oe)return;for(var Ae=D.history,We,Tt=D.sel,Qt=U=="undo"?Ae.done:Ae.undone,fr=U=="undo"?Ae.undone:Ae.done,vr=0;vr=0;--ci){var ra=hi(ci);if(ra)return ra.v}}function es(D,U){if(U==0)return;if(D.first+=U,D.sel=new Lt(Be(D.sel.ranges,function(Ae){return new he(ar(Ae.anchor.line+U,Ae.anchor.ch),ar(Ae.head.line+U,Ae.head.ch))}),D.sel.primIndex),D.cm){Io(D.cm,D.first,D.first-U,U);for(var oe=D.cm.display,le=oe.viewFrom;leD.lastLine())return;if(U.from.lineWe&&(U={from:U.from,to:ar(We,$e(D,We).text.length),text:[U.text[0]],origin:U.origin}),U.removed=gt(D,U.from,U.to),oe||(oe=Yt(D,U)),D.cm?Tl(D.cm,U,le):Xi(D,U,le),lo(D,oe,ce),D.cantEdit&&Ac(D,ar(D.firstLine(),0))&&(D.cantEdit=!1)}function Tl(D,U,oe){var le=D.doc,Ae=D.display,We=U.from,Tt=U.to,Qt=!1,fr=We.line;D.options.lineWrapping||(fr=er(zn($e(le,We.line))),le.iter(fr,Tt.line+1,function(ci){if(ci==Ae.maxLine)return Qt=!0,!0})),le.sel.contains(U.from,U.to)>-1&&Wt(D),Xi(le,U,oe,Yo(D)),D.options.lineWrapping||(le.iter(fr,We.line+U.text.length,function(ci){var ra=pi(ci);ra>Ae.maxLineLength&&(Ae.maxLine=ci,Ae.maxLineLength=ra,Ae.maxLineChanged=!0,Qt=!1)}),Qt&&(D.curOp.updateMaxLine=!0)),Qe(le,We.line),cl(D,400);var vr=U.text.length-(Tt.line-We.line)-1;U.full?Io(D):We.line==Tt.line&&U.text.length==1&&!Ci(D.doc,U)?ma(D,We.line,"text"):Io(D,We.line,Tt.line+1,vr);var xn=$t(D,"changes"),Hn=$t(D,"change");if(Hn||xn){var hi={from:We,to:Tt,text:U.text,removed:U.removed,origin:U.origin};Hn&&lr(D,"change",D,hi),xn&&(D.curOp.changeObjs||(D.curOp.changeObjs=[])).push(hi)}D.display.selForContextMenu=null}function Tc(D,U,oe,le,Ae){var We;le||(le=oe),It(le,oe)<0&&(We=[le,oe],oe=We[0],le=We[1]),typeof U=="string"&&(U=D.splitLines(U)),_c(D,{from:oe,to:le,text:U,origin:Ae})}function tc(D,U,oe,le){oe1||!(this.children[0]instanceof Fl))){var fr=[];this.collapse(fr),this.children=[new Fl(fr)],this.children[0].parent=this}},collapse:function(U){for(var oe=0;oe50){for(var Qt=We.lines.length%25+25,fr=Qt;fr10);U.parent.maybeSpill()},iterN:function(U,oe,le){for(var Ae=0;AeD.display.maxLineLength&&(D.display.maxLine=vr,D.display.maxLineLength=xn,D.display.maxLineChanged=!0)}le!=null&&D&&this.collapsed&&Io(D,le,Ae+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,D&&Cc(D.doc)),D&&lr(D,"markerCleared",D,this,le,Ae),U&&_l(D),this.parent&&this.parent.clear()},Xc.prototype.find=function(D,U){D==null&&this.type=="bookmark"&&(D=1);for(var oe,le,Ae=0;Ae0||Tt==0&&We.clearWhenEmpty!==!1)return We;if(We.replacedWith&&(We.collapsed=!0,We.widgetNode=F("span",[We.replacedWith],"CodeMirror-widget"),le.handleMouseEvents||We.widgetNode.setAttribute("cm-ignore-events","true"),le.insertLeft&&(We.widgetNode.insertLeft=!0)),We.collapsed){if(va(D,U.line,U,oe,We)||U.line!=oe.line&&va(D,oe.line,U,oe,We))throw new Error("Inserting collapsed marker partially overlapping an existing one");Bt()}We.addToHistory&&Ws(D,{from:U,to:oe,origin:"markText"},D.sel,NaN);var Qt=U.line,fr=D.cm,vr;if(D.iter(Qt,oe.line+1,function(Hn){fr&&We.collapsed&&!fr.options.lineWrapping&&zn(Hn)==fr.display.maxLine&&(vr=!0),We.collapsed&&Qt!=U.line&&Xt(Hn,0),Lr(Hn,new Et(We,Qt==U.line?U.ch:null,Qt==oe.line?oe.ch:null)),++Qt}),We.collapsed&&D.iter(U.line,oe.line+1,function(Hn){In(D,Hn)&&Xt(Hn,0)}),We.clearOnEnter&&Pe(We,"beforeCursorEnter",function(){return We.clear()}),We.readOnly&&(ft(),(D.history.done.length||D.history.undone.length)&&D.clearHistory()),We.collapsed&&(We.id=++Hu,We.atomic=!0),fr){if(vr&&(fr.curOp.updateMaxLine=!0),We.collapsed)Io(fr,U.line,oe.line+1);else if(We.className||We.startStyle||We.endStyle||We.css||We.attributes||We.title)for(var xn=U.line;xn<=oe.line;xn++)ma(fr,xn,"text");We.atomic&&Cc(fr.doc),lr(fr,"markerAdded",fr,We)}return We}var Tu=function(U,oe){this.markers=U,this.primary=oe;for(var le=0;le=0;fr--)_c(this,le[fr]);Qt?ec(this,Qt):this.cm&&bs(this.cm)}),undo:vl(function(){yo(this,"undo")}),redo:vl(function(){yo(this,"redo")}),undoSelection:vl(function(){yo(this,"undo",!0)}),redoSelection:vl(function(){yo(this,"redo",!0)}),setExtending:function(U){this.extend=U},getExtending:function(){return this.extend},historySize:function(){for(var U=this.history,oe=0,le=0,Ae=0;Ae=U.ch)&&oe.push(We.marker.parent||We.marker)}return oe},findMarks:function(U,oe,le){U=Dt(this,U),oe=Dt(this,oe);var Ae=[],We=U.line;return this.iter(U.line,oe.line+1,function(Tt){var Qt=Tt.markedSpans;if(Qt)for(var fr=0;fr=vr.to||vr.from==null&&We!=U.line||vr.from!=null&&We==oe.line&&vr.from>=oe.ch)&&(!le||le(vr.marker))&&Ae.push(vr.marker.parent||vr.marker)}++We}),Ae},getAllMarks:function(){var U=[];return this.iter(function(oe){var le=oe.markedSpans;if(le)for(var Ae=0;AeU)return oe=U,!0;U-=Tt,++le}),Dt(this,ar(le,oe))},indexFromPos:function(U){U=Dt(this,U);var oe=U.ch;if(U.lineoe&&(oe=U.from),U.to!=null&&U.to-1){U.state.draggingText(D),setTimeout(function(){return U.display.input.focus()},20);return}try{var xn=D.dataTransfer.getData("Text");if(xn){var Hn;if(U.state.draggingText&&!U.state.draggingText.copy&&(Hn=U.listSelections()),lo(U.doc,Ie(oe,oe)),Hn)for(var hi=0;hi=0;Qt--)Tc(D.doc,"",le[Qt].from,le[Qt].to,"+delete");bs(D)})}function Ou(D,U,oe){var le=De(D.text,U+oe,oe);return le<0||le>D.text.length?null:le}function gd(D,U,oe){var le=Ou(D,U.ch,oe);return le==null?null:new ar(U.line,le,oe<0?"after":"before")}function Ad(D,U,oe,le,Ae){if(D){U.doc.direction=="rtl"&&(Ae=-Ae);var We=yt(oe,U.doc.direction);if(We){var Tt=Ae<0?ge(We):We[0],Qt=Ae<0==(Tt.level==1),fr=Qt?"after":"before",vr;if(Tt.level>0||U.doc.direction=="rtl"){var xn=Ea(U,oe);vr=Ae<0?oe.text.length-1:0;var Hn=xa(U,xn,vr).top;vr=Ne(function(hi){return xa(U,xn,hi).top==Hn},Ae<0==(Tt.level==1)?Tt.from:Tt.to-1,vr),fr=="before"&&(vr=Ou(oe,vr,1))}else vr=Ae<0?Tt.to:Tt.from;return new ar(le,vr,fr)}}return new ar(le,Ae<0?oe.text.length:0,Ae<0?"before":"after")}function id(D,U,oe,le){var Ae=yt(U,D.doc.direction);if(!Ae)return gd(U,oe,le);oe.ch>=U.text.length?(oe.ch=U.text.length,oe.sticky="before"):oe.ch<=0&&(oe.ch=0,oe.sticky="after");var We=Re(Ae,oe.ch,oe.sticky),Tt=Ae[We];if(D.doc.direction=="ltr"&&Tt.level%2==0&&(le>0?Tt.to>oe.ch:Tt.from=Tt.from&&hi>=xn.begin)){var ci=Hn?"before":"after";return new ar(oe.line,hi,ci)}}var ra=function(Wa,uo,Fo){for(var ws=function(Ll,bc){return bc?new ar(oe.line,Qt(Ll,1),"before"):new ar(oe.line,Ll,"after")};Wa>=0&&Wa0==(ts.level!=1),hl=js?Fo.begin:Qt(Fo.end,-1);if(ts.from<=hl&&hl0?xn.end:Qt(xn.begin,-1);return $a!=null&&!(le>0&&$a==U.text.length)&&(Pa=ra(le>0?0:Ae.length-1,le,vr($a)),Pa)?Pa:null}var Lu={selectAll:vc,singleSelection:function(U){return U.setSelection(U.getCursor("anchor"),U.getCursor("head"),ce)},killLine:function(U){return xu(U,function(oe){if(oe.empty()){var le=$e(U.doc,oe.head.line).text.length;return oe.head.ch==le&&oe.head.line0)We=new ar(We.line,We.ch+1),U.replaceRange(Tt.charAt(We.ch-1)+Tt.charAt(We.ch-2),ar(We.line,We.ch-2),We,"+transpose");else if(We.line>U.doc.first){var Qt=$e(U.doc,We.line-1).text;Qt&&(We=new ar(We.line,1),U.replaceRange(Tt.charAt(0)+U.doc.lineSeparator()+Qt.charAt(Qt.length-1),ar(We.line-1,Qt.length-1),We,"+transpose"))}}le.push(new he(We,We))}U.setSelections(le)})},newlineAndIndent:function(U){return Al(U,function(){for(var oe=U.listSelections(),le=oe.length-1;le>=0;le--)U.replaceRange(U.doc.lineSeparator(),oe[le].anchor,oe[le].head,"+input");oe=U.listSelections();for(var Ae=0;AeD&&It(U,this.pos)==0&&oe==this.button};var mu,gu;function Bu(D,U){var oe=+new Date;return gu&&gu.compare(oe,D,U)?(mu=gu=null,"triple"):mu&&mu.compare(oe,D,U)?(gu=new od(oe,D,U),mu=null,"double"):(mu=new od(oe,D,U),gu=null,"single")}function Nu(D){var U=this,oe=U.display;if(Ut(U,D)||oe.activeTouch&&oe.input.supportsTouch())return;if(oe.input.ensurePolled(),oe.shift=D.shiftKey,oi(oe,D)){a||(oe.scroller.draggable=!1,setTimeout(function(){return oe.scroller.draggable=!0},100));return}if($u(U,D))return;var le=za(U,D),Ae=ve(D),We=le?Bu(le,Ae):"single";if(window.focus(),Ae==1&&U.state.selectingText&&U.state.selectingText(D),le&&xd(U,Ae,le,We,D))return;Ae==1?le?sd(U,le,We,D):rt(D)==oe.scroller&&ht(D):Ae==2?(le&&bl(U.doc,le),setTimeout(function(){return oe.input.focus()},20)):Ae==3&&(_?U.display.input.onContextMenu(D):qo(U))}function xd(D,U,oe,le,Ae){var We="Click";return le=="double"?We="Double"+We:le=="triple"&&(We="Triple"+We),We=(U==1?"Left":U==2?"Middle":"Right")+We,Qu(D,Bd(We,Ae),Ae,function(Tt){if(typeof Tt=="string"&&(Tt=Lu[Tt]),!Tt)return!1;var Qt=!1;try{D.isReadOnly()&&(D.state.suppressEdits=!0),Qt=Tt(D,oe)!=re}finally{D.state.suppressEdits=!1}return Qt})}function Ju(D,U,oe){var le=D.getOption("configureMouse"),Ae=le?le(D,U,oe):{};if(Ae.unit==null){var We=v?oe.shiftKey&&oe.metaKey:oe.altKey;Ae.unit=We?"rectangle":U=="single"?"char":U=="double"?"word":"line"}return(Ae.extend==null||D.doc.extend)&&(Ae.extend=D.doc.extend||oe.shiftKey),Ae.addNew==null&&(Ae.addNew=g?oe.metaKey:oe.ctrlKey),Ae.moveOnDrag==null&&(Ae.moveOnDrag=!(g?oe.altKey:oe.ctrlKey)),Ae}function sd(D,U,oe,le){m?setTimeout(z(Fs,D),0):D.curOp.focus=X();var Ae=Ju(D,oe,le),We=D.doc.sel,Tt;D.options.dragDrop&&bt&&!D.isReadOnly()&&oe=="single"&&(Tt=We.contains(U))>-1&&(It((Tt=We.ranges[Tt]).from(),U)<0||U.xRel>0)&&(It(Tt.to(),U)>0||U.xRel<0)?Sd(D,le,U,Ae):au(D,le,U,Ae)}function Sd(D,U,oe,le){var Ae=D.display,We=!1,Tt=zs(D,function(vr){a&&(Ae.scroller.draggable=!1),D.state.draggingText=!1,ut(Ae.wrapper.ownerDocument,"mouseup",Tt),ut(Ae.wrapper.ownerDocument,"mousemove",Qt),ut(Ae.scroller,"dragstart",fr),ut(Ae.scroller,"drop",Tt),We||(ht(vr),le.addNew||bl(D.doc,oe,null,null,le.extend),a&&!i||m&&d==9?setTimeout(function(){Ae.wrapper.ownerDocument.body.focus({preventScroll:!0}),Ae.input.focus()},20):Ae.input.focus())}),Qt=function(xn){We=We||Math.abs(U.clientX-xn.clientX)+Math.abs(U.clientY-xn.clientY)>=10},fr=function(){return We=!0};a&&(Ae.scroller.draggable=!0),D.state.draggingText=Tt,Tt.copy=!le.moveOnDrag,Ae.scroller.dragDrop&&Ae.scroller.dragDrop(),Pe(Ae.wrapper.ownerDocument,"mouseup",Tt),Pe(Ae.wrapper.ownerDocument,"mousemove",Qt),Pe(Ae.scroller,"dragstart",fr),Pe(Ae.scroller,"drop",Tt),qo(D),setTimeout(function(){return Ae.input.focus()},20)}function Su(D,U,oe){if(oe=="char")return new he(U,U);if(oe=="word")return D.findWordAt(U);if(oe=="line")return new he(ar(U.line,0),Dt(D.doc,ar(U.line+1,0)));var le=oe(D,U);return new he(le.from,le.to)}function au(D,U,oe,le){var Ae=D.display,We=D.doc;ht(U);var Tt,Qt,fr=We.sel,vr=fr.ranges;if(le.addNew&&!le.extend?(Qt=We.sel.contains(oe),Qt>-1?Tt=vr[Qt]:Tt=new he(oe,oe)):(Tt=We.sel.primary(),Qt=We.sel.primIndex),le.unit=="rectangle")le.addNew||(Tt=new he(oe,oe)),oe=za(D,U,!0,!0),Qt=-1;else{var xn=Su(D,oe,le.unit);le.extend?Tt=lc(Tt,xn.anchor,xn.head,le.extend):Tt=xn}le.addNew?Qt==-1?(Qt=vr.length,al(We,Ce(D,vr.concat([Tt]),Qt),{scroll:!1,origin:"*mouse"})):vr.length>1&&vr[Qt].empty()&&le.unit=="char"&&!le.extend?(al(We,Ce(D,vr.slice(0,Qt).concat(vr.slice(Qt+1)),0),{scroll:!1,origin:"*mouse"}),fr=We.sel):Yl(We,Qt,Tt,ie):(Qt=0,al(We,new Lt([Tt],0),ie),fr=We.sel);var Hn=oe;function hi(uo){if(It(Hn,uo)==0)return;if(Hn=uo,le.unit=="rectangle"){for(var Fo=[],ws=D.options.tabSize,ts=P($e(We,oe.line).text,oe.ch,ws),js=P($e(We,uo.line).text,uo.ch,ws),hl=Math.min(ts,js),Pl=Math.max(ts,js),Ll=Math.min(oe.line,uo.line),bc=Math.min(D.lastLine(),Math.max(oe.line,uo.line));Ll<=bc;Ll++){var Gc=$e(We,Ll).text,ic=xe(Gc,hl,ws);hl==Pl?Fo.push(new he(ar(Ll,ic),ar(Ll,ic))):Gc.length>ic&&Fo.push(new he(ar(Ll,ic),ar(Ll,xe(Gc,Pl,ws))))}Fo.length||Fo.push(new he(oe,oe)),al(We,Ce(D,fr.ranges.slice(0,Qt).concat(Fo),Qt),{origin:"*mouse",scroll:!1}),D.scrollIntoView(uo)}else{var Dc=Tt,uc=Su(D,uo,le.unit),gc=Dc.anchor,dc;It(uc.anchor,gc)>0?(dc=uc.head,gc=Mt(Dc.from(),uc.anchor)):(dc=uc.anchor,gc=gr(Dc.to(),uc.head));var Jl=fr.ranges.slice(0);Jl[Qt]=Jd(D,new he(Dt(We,gc),dc)),al(We,Ce(D,Jl,Qt),ie)}}var ci=Ae.wrapper.getBoundingClientRect(),ra=0;function Pa(uo){var Fo=++ra,ws=za(D,uo,!0,le.unit=="rectangle");if(!ws)return;if(It(ws,Hn)!=0){D.curOp.focus=X(),hi(ws);var ts=Vs(Ae,We);(ws.line>=ts.to||ws.lineci.bottom?20:0;js&&setTimeout(zs(D,function(){if(ra!=Fo)return;Ae.scroller.scrollTop+=js,Pa(uo)}),50)}}function $a(uo){D.state.selectingText=!1,ra=Infinity,uo&&(ht(uo),Ae.input.focus()),ut(Ae.wrapper.ownerDocument,"mousemove",Qa),ut(Ae.wrapper.ownerDocument,"mouseup",Wa),We.history.lastSelOrigin=null}var Qa=zs(D,function(uo){uo.buttons===0||!ve(uo)?$a(uo):Pa(uo)}),Wa=zs(D,$a);D.state.selectingText=Wa,Pe(Ae.wrapper.ownerDocument,"mousemove",Qa),Pe(Ae.wrapper.ownerDocument,"mouseup",Wa)}function Jd(D,U){var oe=U.anchor,le=U.head,Ae=$e(D.doc,oe.line);if(It(oe,le)==0&&oe.sticky==le.sticky)return U;var We=yt(Ae);if(!We)return U;var Tt=Re(We,oe.ch,oe.sticky),Qt=We[Tt];if(Qt.from!=oe.ch&&Qt.to!=oe.ch)return U;var fr=Tt+(Qt.from==oe.ch==(Qt.level!=1)?0:1);if(fr==0||fr==We.length)return U;var vr;if(le.line!=oe.line)vr=(le.line-oe.line)*(D.doc.direction=="ltr"?1:-1)>0;else{var xn=Re(We,le.ch,le.sticky),Hn=xn-Tt||(le.ch-oe.ch)*(Qt.level==1?-1:1);xn==fr-1||xn==fr?vr=Hn<0:vr=Hn>0}var hi=We[fr+(vr?-1:0)],ci=vr==(hi.level==1),ra=ci?hi.from:hi.to,Pa=ci?"after":"before";return oe.ch==ra&&oe.sticky==Pa?U:new he(new ar(oe.line,ra,Pa),le)}function ou(D,U,oe,le){var Ae,We;if(U.touches)Ae=U.touches[0].clientX,We=U.touches[0].clientY;else try{Ae=U.clientX,We=U.clientY}catch(hi){return!1}if(Ae>=Math.floor(D.display.gutters.getBoundingClientRect().right))return!1;le&&ht(U);var Tt=D.display,Qt=Tt.lineDiv.getBoundingClientRect();if(We>Qt.bottom||!$t(D,oe))return de(U);We-=Qt.top-Tt.viewOffset;for(var fr=0;fr=Ae){var xn=Wr(D.doc,We),Hn=D.display.gutterSpecs[fr];return Ft(D,oe,D,xn,Hn.className,U),de(U)}}}function $u(D,U){return ou(D,U,"gutterClick",!0)}function ld(D,U){if(oi(D.display,U)||ku(D,U))return;if(Ut(D,U,"contextmenu"))return;_||D.display.input.onContextMenu(U)}function ku(D,U){return $t(D,"gutterContextMenu")?ou(D,U,"gutterContextMenu",!1):!1}function Cd(D){D.display.wrapper.className=D.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+D.options.theme.replace(/(^|\s)\s*/g," cm-s-"),hr(D)}var Pu={toString:function(){return"CodeMirror.Init"}},qu={},_e={};function Je(D){var U=D.optionHandlers;function oe(le,Ae,We,Tt){D.defaults[le]=Ae,We&&(U[le]=Tt?function(Qt,fr,vr){vr!=Pu&&We(Qt,fr,vr)}:We)}D.defineOption=oe,D.Init=Pu,oe("value","",function(le,Ae){return le.setValue(Ae)},!0),oe("mode",null,function(le,Ae){le.doc.modeOption=Ae,yn(le)},!0),oe("indentUnit",2,yn,!0),oe("indentWithTabs",!1),oe("smartIndent",!0),oe("tabSize",4,function(le){Jn(le),hr(le),Io(le)},!0),oe("lineSeparator",null,function(le,Ae){if(le.doc.lineSep=Ae,!Ae)return;var We=[],Tt=le.doc.first;le.doc.iter(function(fr){for(var vr=0;;){var xn=fr.text.indexOf(Ae,vr);if(xn==-1)break;vr=xn+Ae.length,We.push(ar(Tt,xn))}Tt++});for(var Qt=We.length-1;Qt>=0;Qt--)Tc(le.doc,Ae,We[Qt],ar(We[Qt].line,We[Qt].ch+Ae.length))}),oe("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(le,Ae,We){le.state.specialChars=new RegExp(Ae.source+(Ae.test(" ")?"":"| "),"g"),We!=Pu&&le.refresh()}),oe("specialCharPlaceholder",Zi,function(le){return le.refresh()},!0),oe("electricChars",!0),oe("inputStyle",p?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),oe("spellcheck",!1,function(le,Ae){return le.getInputField().spellcheck=Ae},!0),oe("autocorrect",!1,function(le,Ae){return le.getInputField().autocorrect=Ae},!0),oe("autocapitalize",!1,function(le,Ae){return le.getInputField().autocapitalize=Ae},!0),oe("rtlMoveVisually",!y),oe("wholeLineUpdateBefore",!0),oe("theme","default",function(le){Cd(le),Sc(le)},!0),oe("keyMap","default",function(le,Ae,We){var Tt=fu(Ae),Qt=We!=Pu&&fu(We);Qt&&Qt.detach&&Qt.detach(le,Tt),Tt.attach&&Tt.attach(le,Qt||null)}),oe("extraKeys",null),oe("configureMouse",null),oe("lineWrapping",!1,ur,!0),oe("gutters",[],function(le,Ae){le.display.gutterSpecs=Hl(Ae,le.options.lineNumbers),Sc(le)},!0),oe("fixedGutter",!0,function(le,Ae){le.display.gutters.style.left=Ae?Po(le.display)+"px":"0",le.refresh()},!0),oe("coverGutterNextToScrollbar",!1,function(le){return Xo(le)},!0),oe("scrollbarStyle","native",function(le){Us(le),Xo(le),le.display.scrollbars.setScrollTop(le.doc.scrollTop),le.display.scrollbars.setScrollLeft(le.doc.scrollLeft)},!0),oe("lineNumbers",!1,function(le,Ae){le.display.gutterSpecs=Hl(le.options.gutters,Ae),Sc(le)},!0),oe("firstLineNumber",1,Sc,!0),oe("lineNumberFormatter",function(le){return le},Sc,!0),oe("showCursorWhenSelecting",!1,Ro,!0),oe("resetSelectionOnContextMenu",!0),oe("lineWiseCopyCut",!0),oe("pasteLinesPerSelection",!0),oe("selectionsMayTouch",!1),oe("readOnly",!1,function(le,Ae){Ae=="nocursor"&&(Vo(le),le.display.input.blur()),le.display.input.readOnlyChanged(Ae)}),oe("screenReaderLabel",null,function(le,Ae){Ae=Ae===""?null:Ae,le.display.input.screenReaderLabelChanged(Ae)}),oe("disableInput",!1,function(le,Ae){Ae||le.display.input.reset()},!0),oe("dragDrop",!0,Ot),oe("allowDropFileTypes",null),oe("cursorBlinkRate",530),oe("cursorScrollMargin",0),oe("cursorHeight",1,Ro,!0),oe("singleCursorHeightPerLine",!0,Ro,!0),oe("workTime",100),oe("workDelay",100),oe("flattenSpans",!0,Jn,!0),oe("addModeClass",!1,Jn,!0),oe("pollInterval",100),oe("undoDepth",200,function(le,Ae){return le.doc.history.undoDepth=Ae}),oe("historyEventDelay",1250),oe("viewportMargin",10,function(le){return le.refresh()},!0),oe("maxHighlightLength",1e4,Jn,!0),oe("moveInputWithCursor",!0,function(le,Ae){Ae||le.display.input.resetPosition()}),oe("tabindex",null,function(le,Ae){return le.display.input.getField().tabIndex=Ae||""}),oe("autofocus",null),oe("direction","ltr",function(le,Ae){return le.doc.setDirection(Ae)},!0),oe("phrases",null)}function Ot(D,U,oe){var le=oe&&oe!=Pu;if(!U!=!le){var Ae=D.display.dragFunctions,We=U?Pe:ut;We(D.display.scroller,"dragstart",Ae.start),We(D.display.scroller,"dragenter",Ae.enter),We(D.display.scroller,"dragover",Ae.over),We(D.display.scroller,"dragleave",Ae.leave),We(D.display.scroller,"drop",Ae.drop)}}function ur(D){D.options.lineWrapping?(J(D.display.wrapper,"CodeMirror-wrap"),D.display.sizer.style.minWidth="",D.display.sizerWidth=null):(C(D.display.wrapper,"CodeMirror-wrap"),Ri(D)),ro(D),Io(D),hr(D),setTimeout(function(){return Xo(D)},100)}function Or(D,U){var oe=this;if(!(this instanceof Or))return new Or(D,U);this.options=U=U?K(U):{},K(qu,U,!1);var le=U.value;typeof le=="string"?le=new Rc(le,U.mode,null,U.lineSeparator,U.direction):U.mode&&(le.modeOption=U.mode),this.doc=le;var Ae=new Or.inputStyles[U.inputStyle](this),We=this.display=new Ts(D,le,Ae,U);We.wrapper.CodeMirror=this,Cd(this),U.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Us(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new G,keySeq:null,specialChars:null},U.autofocus&&!p&&We.input.focus(),m&&d<11&&setTimeout(function(){return oe.display.input.reset(!0)},20),Kr(this),Ku(),us(this),this.curOp.forceUpdate=!0,Ka(this,le),U.autofocus&&!p||this.hasFocus()?setTimeout(function(){oe.hasFocus()&&!oe.state.focused&&Ko(oe)},20):Vo(this);for(var Tt in _e)_e.hasOwnProperty(Tt)&&_e[Tt](this,U[Tt],Pu);Wc(this),U.finishInit&&U.finishInit(this);for(var Qt=0;Qt20*20}Pe(U.scroller,"touchstart",function(fr){if(!Ut(D,fr)&&!We(fr)&&!$u(D,fr)){U.input.ensurePolled(),clearTimeout(oe);var vr=+new Date;U.activeTouch={start:vr,moved:!1,prev:vr-le.end<=300?le:null},fr.touches.length==1&&(U.activeTouch.left=fr.touches[0].pageX,U.activeTouch.top=fr.touches[0].pageY)}}),Pe(U.scroller,"touchmove",function(){U.activeTouch&&(U.activeTouch.moved=!0)}),Pe(U.scroller,"touchend",function(fr){var vr=U.activeTouch;if(vr&&!oi(U,fr)&&vr.left!=null&&!vr.moved&&new Date-vr.start<300){var xn=D.coordsChar(U.activeTouch,"page"),Hn;!vr.prev||Tt(vr,vr.prev)?Hn=new he(xn,xn):!vr.prev.prev||Tt(vr,vr.prev.prev)?Hn=D.findWordAt(xn):Hn=new he(ar(xn.line,0),Dt(D.doc,ar(xn.line+1,0))),D.setSelection(Hn.anchor,Hn.head),D.focus(),ht(fr)}Ae()}),Pe(U.scroller,"touchcancel",Ae),Pe(U.scroller,"scroll",function(){U.scroller.clientHeight&&(ho(D,U.scroller.scrollTop),ml(D,U.scroller.scrollLeft,!0),Ft(D,"scroll",D))}),Pe(U.scroller,"mousewheel",function(fr){return ri(D,fr)}),Pe(U.scroller,"DOMMouseScroll",function(fr){return ri(D,fr)}),Pe(U.wrapper,"scroll",function(){return U.wrapper.scrollTop=U.wrapper.scrollLeft=0}),U.dragFunctions={enter:function(vr){Ut(D,vr)||qe(vr)},over:function(vr){Ut(D,vr)||(zu(D,vr),qe(vr))},start:function(vr){return Fu(D,vr)},drop:zs(D,Uc),leave:function(vr){Ut(D,vr)||rd(D)}};var Qt=U.input.getField();Pe(Qt,"keyup",function(fr){return yd.call(D,fr)}),Pe(Qt,"keydown",zs(D,kd)),Pe(Qt,"keypress",zs(D,wd)),Pe(Qt,"focus",function(fr){return Ko(D,fr)}),Pe(Qt,"blur",function(fr){return Vo(D,fr)})}var Ue=[];Or.defineInitHook=function(D){return Ue.push(D)};function se(D,U,oe,le){var Ae=D.doc,We;oe==null&&(oe="add"),oe=="smart"&&(Ae.mode.indent?We=Gn(D,U).state:oe="prev");var Tt=D.options.tabSize,Qt=$e(Ae,U),fr=P(Qt.text,null,Tt);Qt.stateAfter&&(Qt.stateAfter=null);var vr=Qt.text.match(/^\s*/)[0],xn;if(!le&&!/\S/.test(Qt.text))xn=0,oe="not";else if(oe=="smart"&&(xn=Ae.mode.indent(We,Qt.text.slice(vr.length),Qt.text),xn==re||xn>150)){if(!le)return;oe="prev"}oe=="prev"?U>Ae.first?xn=P($e(Ae,U-1).text,null,Tt):xn=0:oe=="add"?xn=fr+D.options.indentUnit:oe=="subtract"?xn=fr-D.options.indentUnit:typeof oe=="number"&&(xn=fr+oe),xn=Math.max(0,xn);var Hn="",hi=0;if(D.options.indentWithTabs)for(var ci=Math.floor(xn/Tt);ci;--ci)hi+=Tt,Hn+=" ";if(hiTt,fr=at(U),vr=null;if(Qt&&le.ranges.length>1)if(Oe&&Oe.text.join(` -`)==U){if(le.ranges.length%Oe.text.length==0){vr=[];for(var xn=0;xn=0;hi--){var ci=le.ranges[hi],ra=ci.from(),Pa=ci.to();ci.empty()&&(oe&&oe>0?ra=ar(ra.line,ra.ch-oe):D.state.overwrite&&!Qt?Pa=ar(Pa.line,Math.min($e(We,Pa.line).text.length,Pa.ch+ge(fr).length)):Qt&&Oe&&Oe.lineWise&&Oe.text.join(` + left: `+U.left+"px; width: "+Math.max(2,U.right-U.left)+"px;");D.display.lineSpace.appendChild(Ke),Ke.scrollIntoView(Ae),D.display.lineSpace.removeChild(Ke)}}function Js(D,U,oe,le){le==null&&(le=0);var Ae;!D.options.lineWrapping&&U==oe&&(U=U.ch?ar(U.line,U.sticky=="before"?U.ch-1:U.ch,"after"):U,oe=U.sticky=="before"?ar(U.line,U.ch+1,"before"):U);for(var Ke=0;Ke<5;Ke++){var Tt=!1,Qt=Xn(D,U),fr=!oe||oe==U?Qt:Xn(D,oe);Ae={left:Math.min(Qt.left,fr.left),top:Math.min(Qt.top,fr.top)-le,right:Math.max(Qt.left,fr.left),bottom:Math.max(Qt.bottom,fr.bottom)+le};var vr=ks(D,Ae),xn=D.doc.scrollTop,Hn=D.doc.scrollLeft;if(vr.scrollTop!=null&&(ho(D,vr.scrollTop),Math.abs(D.doc.scrollTop-xn)>1&&(Tt=!0)),vr.scrollLeft!=null&&(ml(D,vr.scrollLeft),Math.abs(D.doc.scrollLeft-Hn)>1&&(Tt=!0)),!Tt)break}return Ae}function Bs(D,U){var oe=ks(D,U);oe.scrollTop!=null&&ho(D,oe.scrollTop),oe.scrollLeft!=null&&ml(D,oe.scrollLeft)}function ks(D,U){var oe=D.display,le=Oa(D.display);U.top<0&&(U.top=0);var Ae=D.curOp&&D.curOp.scrollTop!=null?D.curOp.scrollTop:oe.scroller.scrollTop,Ke=Ui(D),Tt={};U.bottom-U.top>Ke&&(U.bottom=U.top+Ke);var Qt=D.doc.height+Zn(oe),fr=U.topQt-le;if(U.topAe+Ke){var xn=Math.min(U.top,(vr?Qt:U.bottom)-Ke);xn!=Ae&&(Tt.scrollTop=xn)}var Hn=D.options.fixedGutter?0:oe.gutters.offsetWidth,hi=D.curOp&&D.curOp.scrollLeft!=null?D.curOp.scrollLeft:oe.scroller.scrollLeft-Hn,ci=Di(D)-oe.gutters.offsetWidth,ra=U.right-U.left>ci;return ra&&(U.right=U.left+ci),U.left<10?Tt.scrollLeft=0:U.leftci+hi-3&&(Tt.scrollLeft=U.right+(ra?0:10)-ci),Tt}function Jo(D,U){if(U==null)return;Ps(D),D.curOp.scrollTop=(D.curOp.scrollTop==null?D.doc.scrollTop:D.curOp.scrollTop)+U}function bs(D){Ps(D);var U=D.getCursor();D.curOp.scrollToPos={from:U,to:U,margin:D.options.cursorScrollMargin}}function Ho(D,U,oe){(U!=null||oe!=null)&&Ps(D),U!=null&&(D.curOp.scrollLeft=U),oe!=null&&(D.curOp.scrollTop=oe)}function Ls(D,U){Ps(D),D.curOp.scrollToPos=U}function Ps(D){var U=D.curOp.scrollToPos;if(U){D.curOp.scrollToPos=null;var oe=vi(D,U.from),le=vi(D,U.to);Ra(D,oe,le,U.margin)}}function Ra(D,U,oe,le){var Ae=ks(D,{left:Math.min(U.left,oe.left),top:Math.min(U.top,oe.top)-le,right:Math.max(U.right,oe.right),bottom:Math.max(U.bottom,oe.bottom)+le});Ho(D,Ae.scrollLeft,Ae.scrollTop)}function ho(D,U){if(Math.abs(D.doc.scrollTop-U)<2)return;A||xl(D,{top:U}),ll(D,U,!0),A&&xl(D),cl(D,100)}function ll(D,U,oe){if(U=Math.max(0,Math.min(D.display.scroller.scrollHeight-D.display.scroller.clientHeight,U)),D.display.scroller.scrollTop==U&&!oe)return;D.doc.scrollTop=U,D.display.scrollbars.setScrollTop(U),D.display.scroller.scrollTop!=U&&(D.display.scroller.scrollTop=U)}function ml(D,U,oe,le){if(U=Math.max(0,Math.min(U,D.display.scroller.scrollWidth-D.display.scroller.clientWidth)),(oe?U==D.doc.scrollLeft:Math.abs(D.doc.scrollLeft-U)<2)&&!le)return;D.doc.scrollLeft=U,Gl(D),D.display.scroller.scrollLeft!=U&&(D.display.scroller.scrollLeft=U),D.display.scrollbars.setScrollLeft(U)}function wl(D){var U=D.display,oe=U.gutters.offsetWidth,le=Math.round(D.doc.height+Zn(D.display));return{clientHeight:U.scroller.clientHeight,viewHeight:U.wrapper.clientHeight,scrollWidth:U.scroller.scrollWidth,clientWidth:U.scroller.clientWidth,viewWidth:U.wrapper.clientWidth,barLeft:D.options.fixedGutter?oe:0,docHeight:le,scrollHeight:le+wi(D)+U.barHeight,nativeBarWidth:U.nativeBarWidth,gutterWidth:oe}}var El=function(U,oe,le){this.cm=le;var Ae=this.vert=M("div",[M("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Ke=this.horiz=M("div",[M("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");Ae.tabIndex=Ke.tabIndex=-1,U(Ae),U(Ke),Pe(Ae,"scroll",function(){Ae.clientHeight&&oe(Ae.scrollTop,"vertical")}),Pe(Ke,"scroll",function(){Ke.clientWidth&&oe(Ke.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,m&&d<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};El.prototype.update=function(D){var U=D.scrollWidth>D.clientWidth+1,oe=D.scrollHeight>D.clientHeight+1,le=D.nativeBarWidth;if(oe){this.vert.style.display="block",this.vert.style.bottom=U?le+"px":"0";var Ae=D.viewHeight-(U?le:0);this.vert.firstChild.style.height=Math.max(0,D.scrollHeight-D.clientHeight+Ae)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(U){this.horiz.style.display="block",this.horiz.style.right=oe?le+"px":"0",this.horiz.style.left=D.barLeft+"px";var Ke=D.viewWidth-D.barLeft-(oe?le:0);this.horiz.firstChild.style.width=Math.max(0,D.scrollWidth-D.clientWidth+Ke)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&D.clientHeight>0&&(le==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:oe?le:0,bottom:U?le:0}},El.prototype.setScrollLeft=function(D){this.horiz.scrollLeft!=D&&(this.horiz.scrollLeft=D),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},El.prototype.setScrollTop=function(D){this.vert.scrollTop!=D&&(this.vert.scrollTop=D),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},El.prototype.zeroWidthHack=function(){var D=g&&!u?"12px":"18px";this.horiz.style.height=this.vert.style.width=D,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new G,this.disableVert=new G},El.prototype.enableZeroWidthBar=function(D,U,oe){D.style.pointerEvents="auto";function le(){var Ae=D.getBoundingClientRect(),Ke=oe=="vert"?document.elementFromPoint(Ae.right-1,(Ae.top+Ae.bottom)/2):document.elementFromPoint((Ae.right+Ae.left)/2,Ae.bottom-1);Ke!=D?D.style.pointerEvents="none":U.set(1e3,le)}U.set(1e3,le)},El.prototype.clear=function(){var D=this.horiz.parentNode;D.removeChild(this.horiz),D.removeChild(this.vert)};var Xs=function(){};Xs.prototype.update=function(){return{bottom:0,right:0}},Xs.prototype.setScrollLeft=function(){},Xs.prototype.setScrollTop=function(){},Xs.prototype.clear=function(){};function Xo(D,U){U||(U=wl(D));var oe=D.display.barWidth,le=D.display.barHeight;gl(D,U);for(var Ae=0;Ae<4&&oe!=D.display.barWidth||le!=D.display.barHeight;Ae++)oe!=D.display.barWidth&&D.options.lineWrapping&&Go(D),gl(D,wl(D)),oe=D.display.barWidth,le=D.display.barHeight}function gl(D,U){var oe=D.display,le=oe.scrollbars.update(U);oe.sizer.style.paddingRight=(oe.barWidth=le.right)+"px",oe.sizer.style.paddingBottom=(oe.barHeight=le.bottom)+"px",oe.heightForcer.style.borderBottom=le.bottom+"px solid transparent",le.right&&le.bottom?(oe.scrollbarFiller.style.display="block",oe.scrollbarFiller.style.height=le.bottom+"px",oe.scrollbarFiller.style.width=le.right+"px"):oe.scrollbarFiller.style.display="",le.bottom&&D.options.coverGutterNextToScrollbar&&D.options.fixedGutter?(oe.gutterFiller.style.display="block",oe.gutterFiller.style.height=le.bottom+"px",oe.gutterFiller.style.width=U.gutterWidth+"px"):oe.gutterFiller.style.display=""}var Vl={native:El,null:Xs};function Us(D){D.display.scrollbars&&(D.display.scrollbars.clear(),D.display.scrollbars.addClass&&C(D.display.wrapper,D.display.scrollbars.addClass)),D.display.scrollbars=new Vl[D.options.scrollbarStyle](function(U){D.display.wrapper.insertBefore(U,D.display.scrollbarFiller),Pe(U,"mousedown",function(){D.state.focused&&setTimeout(function(){return D.display.input.focus()},0)}),U.setAttribute("cm-not-content","true")},function(U,oe){oe=="horizontal"?ml(D,U):ho(D,U)},D),D.display.scrollbars.addClass&&J(D.display.wrapper,D.display.scrollbars.addClass)}var $s=0;function us(D){D.curOp={cm:D,viewChanged:!1,startHeight:D.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++$s},ha(D.curOp)}function _l(D){var U=D.curOp;U&&ta(U,function(oe){for(var le=0;le=oe.viewTo)||oe.maxLineChanged&&U.options.lineWrapping,D.update=D.mustUpdate&&new da(U,D.mustUpdate&&{top:D.scrollTop,ensure:D.scrollToPos},D.forceUpdate)}function Bl(D){D.updatedDisplay=D.mustUpdate&&Ss(D.cm,D.update)}function oc(D){var U=D.cm,oe=U.display;D.updatedDisplay&&Go(U),D.barMeasure=wl(U),oe.maxLineChanged&&!U.options.lineWrapping&&(D.adjustWidthTo=Fa(U,oe.maxLine,oe.maxLine.text.length).left+3,U.display.sizerWidth=D.adjustWidthTo,D.barMeasure.scrollWidth=Math.max(oe.scroller.clientWidth,oe.sizer.offsetLeft+D.adjustWidthTo+wi(U)+U.display.barWidth),D.maxScrollLeft=Math.max(0,oe.sizer.offsetLeft+D.adjustWidthTo-Di(U))),(D.updatedDisplay||D.selectionChanged)&&(D.preparedSelection=oe.input.prepareSelection())}function sc(D){var U=D.cm;D.adjustWidthTo!=null&&(U.display.sizer.style.minWidth=D.adjustWidthTo+"px",D.maxScrollLeft=D.display.viewTo)return;var oe=+new Date+D.options.workTime,le=Gn(D,U.highlightFrontier),Ae=[];U.iter(le.line,Math.min(U.first+U.size,D.display.viewTo+500),function(Ke){if(le.line>=D.display.viewFrom){var Tt=Ke.styles,Qt=Ke.text.length>D.options.maxHighlightLength?lt(U.mode,le.state):null,fr=vn(D,Ke,le,!0);Qt&&(le.state=Qt),Ke.styles=fr.styles;var vr=Ke.styleClasses,xn=fr.classes;xn?Ke.styleClasses=xn:vr&&(Ke.styleClasses=null);for(var Hn=!Tt||Tt.length!=Ke.styles.length||vr!=xn&&(!vr||!xn||vr.bgClass!=xn.bgClass||vr.textClass!=xn.textClass),hi=0;!Hn&&hioe)return cl(D,D.options.workDelay),!0}),U.highlightFrontier=le.line,U.modeFrontier=Math.max(U.modeFrontier,le.line),Ae.length&&Al(D,function(){for(var Ke=0;Ke=oe.viewFrom&&U.visible.to<=oe.viewTo&&(oe.updateLineNumbers==null||oe.updateLineNumbers>=oe.viewTo)&&oe.renderedView==oe.view&&Oo(D)==0)return!1;Kc(D)&&(mo(D),U.dims=to(D));var Ae=le.first+le.size,Ke=Math.max(U.visible.from-D.options.viewportMargin,le.first),Tt=Math.min(Ae,U.visible.to+D.options.viewportMargin);oe.viewFromTt&&oe.viewTo-Tt<20&&(Tt=Math.min(Ae,oe.viewTo)),nt&&(Ke=Cn(D.doc,Ke),Tt=ki(D.doc,Tt));var Qt=Ke!=oe.viewFrom||Tt!=oe.viewTo||oe.lastWrapHeight!=U.wrapperHeight||oe.lastWrapWidth!=U.wrapperWidth;Zo(D,Ke,Tt),oe.viewOffset=Ei($e(D.doc,oe.viewFrom)),D.display.mover.style.top=oe.viewOffset+"px";var fr=Oo(D);if(!Qt&&fr==0&&!U.force&&oe.renderedView==oe.view&&(oe.updateLineNumbers==null||oe.updateLineNumbers>=oe.viewTo))return!1;var vr=pc(D);return fr>4&&(oe.lineDiv.style.display="none"),ul(D,oe.updateLineNumbers,U.dims),fr>4&&(oe.lineDiv.style.display=""),oe.renderedView=oe.view,xc(vr),E(oe.cursorDiv),E(oe.selectionDiv),oe.gutters.style.height=oe.sizer.style.minHeight=0,Qt&&(oe.lastWrapHeight=U.wrapperHeight,oe.lastWrapWidth=U.wrapperWidth,cl(D,400)),oe.updateLineNumbers=null,!0}function Ws(D,U){for(var oe=U.viewport,le=!0;;le=!1){if(!le||!D.options.lineWrapping||U.oldDisplayWidth==Di(D)){if(oe&&oe.top!=null&&(oe={top:Math.min(D.doc.height+Zn(D.display)-Ui(D),oe.top)}),U.visible=Vs(D.display,D.doc,oe),U.visible.from>=D.display.viewFrom&&U.visible.to<=D.display.viewTo)break}else le&&(U.visible=Vs(D.display,D.doc,oe));if(!Ss(D,U))break;Go(D);var Ae=wl(D);Ro(D),Xo(D,Ae),Xl(D,Ae),U.force=!1}U.signal(D,"update",D),(D.display.viewFrom!=D.display.reportedViewFrom||D.display.viewTo!=D.display.reportedViewTo)&&(U.signal(D,"viewportChange",D,D.display.viewFrom,D.display.viewTo),D.display.reportedViewFrom=D.display.viewFrom,D.display.reportedViewTo=D.display.viewTo)}function xl(D,U){var oe=new da(D,U);if(Ss(D,oe)){Go(D),Ws(D,oe);var le=wl(D);Ro(D),Xo(D,le),Xl(D,le),oe.finish()}}function ul(D,U,oe){var le=D.display,Ae=D.options.lineNumbers,Ke=le.lineDiv,Tt=Ke.firstChild;function Qt(ra){var Pa=ra.nextSibling;return a&&g&&D.display.currentWheelTarget==ra?ra.style.display="none":ra.parentNode.removeChild(ra),Pa}for(var fr=le.view,vr=le.viewFrom,xn=0;xn-1&&(ci=!1),_n(D,Hn,vr,oe)),ci&&(E(Hn.lineNumber),Hn.lineNumber.appendChild(document.createTextNode(Fn(D.options,vr)))),Tt=Hn.node.nextSibling}vr+=Hn.size}for(;Tt;)Tt=Qt(Tt)}function nc(D){var U=D.gutters.offsetWidth;D.sizer.style.marginLeft=U+"px"}function Xl(D,U){D.display.sizer.style.minHeight=U.docHeight+"px",D.display.heightForcer.style.top=U.docHeight+"px",D.display.gutters.style.height=U.docHeight+D.display.barHeight+wi(D)+"px"}function Gl(D){var U=D.display,oe=U.view;if(!U.alignWidgets&&(!U.gutters.firstChild||!D.options.fixedGutter))return;for(var le=Po(U)-U.scroller.scrollLeft+D.doc.scrollLeft,Ae=U.gutters.offsetWidth,Ke=le+"px",Tt=0;TtTt.clientWidth,fr=Tt.scrollHeight>Tt.clientHeight;if(!(le&&Qt||Ae&&fr))return;if(Ae&&g&&a){e:for(var vr=U.target,xn=Ke.view;vr!=Tt;vr=vr.parentNode)for(var Hn=0;Hn=0&&It(D,le.to())<=0)return oe}return-1};var he=function(U,oe){this.anchor=U,this.head=oe};he.prototype.from=function(){return Mt(this.anchor,this.head)},he.prototype.to=function(){return gr(this.anchor,this.head)},he.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Ce(D,U,oe){var le=D&&D.options.selectionsMayTouch,Ae=U[oe];U.sort(function(hi,ci){return It(hi.from(),ci.from())}),oe=V(U,Ae);for(var Ke=1;Ke0:fr>=0){var vr=Mt(Qt.from(),Tt.from()),xn=gr(Qt.to(),Tt.to()),Hn=Qt.empty()?Tt.from()==Tt.head:Qt.from()==Qt.head;Ke<=oe&&--oe,U.splice(--Ke,2,new he(Hn?xn:vr,Hn?vr:xn))}}return new Lt(U,oe)}function Ie(D,U){return new Lt([new he(D,U||D)],0)}function Ye(D){return D.text?ar(D.from.line+D.text.length-1,ge(D.text).length+(D.text.length==1?D.from.ch:0)):D.to}function _t(D,U){if(It(D,U.from)<0)return D;if(It(D,U.to)<=0)return Ye(U);var oe=D.line+U.text.length-(U.to.line-U.from.line)-1,le=D.ch;return D.line==U.to.line&&(le+=Ye(U).ch-U.to.ch),ar(oe,le)}function Yt(D,U){for(var oe=[],le=0;le1&&D.remove(Qt.line+1,ra-1),D.insert(Qt.line+1,Qa)}lr(D,"change",D,U)}function ga(D,U,oe){function le(Ae,Ke,Tt){if(Ae.linked)for(var Qt=0;Qt1&&!D.done[D.done.length-2].ranges)return D.done.pop(),ge(D.done)}function Ks(D,U,oe,le){var Ae=D.history;Ae.undone.length=0;var Ke=+new Date,Tt,Qt;if((Ae.lastOp==le||Ae.lastOrigin==U.origin&&U.origin&&(U.origin.charAt(0)=="+"&&Ae.lastModTime>Ke-(D.cm?D.cm.options.historyEventDelay:500)||U.origin.charAt(0)=="*"))&&(Tt=nl(Ae,Ae.lastOp==le)))Qt=ge(Tt.changes),It(U.from,U.to)==0&&It(U.from,Qt.to)==0?Qt.to=Ye(U):Tt.changes.push(ss(D,U));else{var fr=ge(Ae.done);for((!fr||!fr.ranges)&&Ys(D.sel,Ae.done),Tt={changes:[ss(D,U)],generation:Ae.generation},Ae.done.push(Tt);Ae.done.length>Ae.undoDepth;)Ae.done.shift(),Ae.done[0].ranges||Ae.done.shift()}Ae.done.push(oe),Ae.generation=++Ae.maxGeneration,Ae.lastModTime=Ae.lastSelTime=Ke,Ae.lastOp=Ae.lastSelOp=le,Ae.lastOrigin=Ae.lastSelOrigin=U.origin,Qt||Ft(D,"historyAdded")}function dl(D,U,oe,le){var Ae=U.charAt(0);return Ae=="*"||Ae=="+"&&oe.ranges.length==le.ranges.length&&oe.somethingSelected()==le.somethingSelected()&&new Date-D.history.lastSelTime<=(D.cm?D.cm.options.historyEventDelay:500)}function ls(D,U,oe,le){var Ae=D.history,Ke=le&&le.origin;oe==Ae.lastSelOp||Ke&&Ae.lastSelOrigin==Ke&&(Ae.lastModTime==Ae.lastSelTime&&Ae.lastOrigin==Ke||dl(D,Ke,ge(Ae.done),U))?Ae.done[Ae.done.length-1]=U:Ys(U,Ae.done),Ae.lastSelTime=+new Date,Ae.lastSelOrigin=Ke,Ae.lastSelOp=oe,le&&le.clearRedo!==!1&&ps(Ae.undone)}function Ys(D,U){var oe=ge(U);oe&&oe.ranges&&oe.equals(D)||U.push(D)}function Rl(D,U,oe,le){var Ae=U["spans_"+D.id],Ke=0;D.iter(Math.max(D.first,oe),Math.min(D.first+D.size,le),function(Tt){Tt.markedSpans&&((Ae||(Ae=U["spans_"+D.id]={}))[Ke]=Tt.markedSpans),++Ke})}function kl(D){if(!D)return null;for(var U,oe=0;oe-1&&(ge(Qt)[Hn]=vr[Hn],delete vr[Hn]))}}return le}function lc(D,U,oe,le){if(le){var Ae=D.anchor;if(oe){var Ke=It(U,Ae)<0;Ke!=It(oe,Ae)<0?(Ae=U,U=oe):Ke!=It(U,oe)<0&&(U=oe)}return new he(Ae,U)}else return new he(oe||U,U)}function bl(D,U,oe,le,Ae){Ae==null&&(Ae=D.cm&&(D.cm.display.shift||D.extend)),al(D,new Lt([lc(D.sel.primary(),U,oe,Ae)],0),le)}function il(D,U,oe){for(var le=[],Ae=D.cm&&(D.cm.display.shift||D.extend),Ke=0;Ke=U.ch:Qt.to>U.ch))){if(Ae&&(Ft(fr,"beforeCursorEnter"),fr.explicitlyCleared))if(Ke.markedSpans){--Tt;continue}else break;if(!fr.atomic)continue;if(oe){var Hn=fr.find(le<0?1:-1),hi=void 0;if((le<0?xn:vr)&&(Hn=Vc(D,Hn,-le,Hn&&Hn.line==U.line?Ke:null)),Hn&&Hn.line==U.line&&(hi=It(Hn,oe))&&(le<0?hi<0:hi>0))return Ql(D,Hn,U,le,Ae)}var ci=fr.find(le<0?-1:1);return(le<0?vr:xn)&&(ci=Vc(D,ci,le,ci.line==U.line?Ke:null)),ci?Ql(D,ci,U,le,Ae):null}}return U}function Ac(D,U,oe,le,Ae){var Ke=le||1,Tt=Ql(D,U,oe,Ke,Ae)||!Ae&&Ql(D,U,oe,Ke,!0)||Ql(D,U,oe,-Ke,Ae)||!Ae&&Ql(D,U,oe,-Ke,!0);return Tt||(D.cantEdit=!0,ar(D.first,0))}function Vc(D,U,oe,le){return oe<0&&U.ch==0?U.line>D.first?Dt(D,ar(U.line-1)):null:oe>0&&U.ch==(le||$e(D,U.line)).text.length?U.line=0;--Ae)ms(D,{from:le[Ae].from,to:le[Ae].to,text:Ae?[""]:U.text,origin:U.origin});else ms(D,U)}function ms(D,U){if(U.text.length==1&&U.text[0]==""&&It(U.from,U.to)==0)return;var oe=Yt(D,U);Ks(D,U,oe,D.cm?D.cm.curOp.id:NaN),Is(D,U,oe,Bn(D,U));var le=[];ga(D,function(Ae,Ke){!Ke&&V(le,Ae.history)==-1&&(sl(Ae.history,U),le.push(Ae.history)),Is(Ae,U,null,Bn(Ae,U))})}function yo(D,U,oe){var le=D.cm&&D.cm.state.suppressEdits;if(le&&!oe)return;for(var Ae=D.history,Ke,Tt=D.sel,Qt=U=="undo"?Ae.done:Ae.undone,fr=U=="undo"?Ae.undone:Ae.done,vr=0;vr=0;--ci){var ra=hi(ci);if(ra)return ra.v}}function es(D,U){if(U==0)return;if(D.first+=U,D.sel=new Lt(Be(D.sel.ranges,function(Ae){return new he(ar(Ae.anchor.line+U,Ae.anchor.ch),ar(Ae.head.line+U,Ae.head.ch))}),D.sel.primIndex),D.cm){Io(D.cm,D.first,D.first-U,U);for(var oe=D.cm.display,le=oe.viewFrom;leD.lastLine())return;if(U.from.lineKe&&(U={from:U.from,to:ar(Ke,$e(D,Ke).text.length),text:[U.text[0]],origin:U.origin}),U.removed=gt(D,U.from,U.to),oe||(oe=Yt(D,U)),D.cm?Tl(D.cm,U,le):Xi(D,U,le),lo(D,oe,ce),D.cantEdit&&Ac(D,ar(D.firstLine(),0))&&(D.cantEdit=!1)}function Tl(D,U,oe){var le=D.doc,Ae=D.display,Ke=U.from,Tt=U.to,Qt=!1,fr=Ke.line;D.options.lineWrapping||(fr=er(zn($e(le,Ke.line))),le.iter(fr,Tt.line+1,function(ci){if(ci==Ae.maxLine)return Qt=!0,!0})),le.sel.contains(U.from,U.to)>-1&&Kt(D),Xi(le,U,oe,Yo(D)),D.options.lineWrapping||(le.iter(fr,Ke.line+U.text.length,function(ci){var ra=pi(ci);ra>Ae.maxLineLength&&(Ae.maxLine=ci,Ae.maxLineLength=ra,Ae.maxLineChanged=!0,Qt=!1)}),Qt&&(D.curOp.updateMaxLine=!0)),Qe(le,Ke.line),cl(D,400);var vr=U.text.length-(Tt.line-Ke.line)-1;U.full?Io(D):Ke.line==Tt.line&&U.text.length==1&&!Ci(D.doc,U)?ma(D,Ke.line,"text"):Io(D,Ke.line,Tt.line+1,vr);var xn=$t(D,"changes"),Hn=$t(D,"change");if(Hn||xn){var hi={from:Ke,to:Tt,text:U.text,removed:U.removed,origin:U.origin};Hn&&lr(D,"change",D,hi),xn&&(D.curOp.changeObjs||(D.curOp.changeObjs=[])).push(hi)}D.display.selForContextMenu=null}function Tc(D,U,oe,le,Ae){var Ke;le||(le=oe),It(le,oe)<0&&(Ke=[le,oe],oe=Ke[0],le=Ke[1]),typeof U=="string"&&(U=D.splitLines(U)),_c(D,{from:oe,to:le,text:U,origin:Ae})}function tc(D,U,oe,le){oe1||!(this.children[0]instanceof Fl))){var fr=[];this.collapse(fr),this.children=[new Fl(fr)],this.children[0].parent=this}},collapse:function(U){for(var oe=0;oe50){for(var Qt=Ke.lines.length%25+25,fr=Qt;fr10);U.parent.maybeSpill()},iterN:function(U,oe,le){for(var Ae=0;AeD.display.maxLineLength&&(D.display.maxLine=vr,D.display.maxLineLength=xn,D.display.maxLineChanged=!0)}le!=null&&D&&this.collapsed&&Io(D,le,Ae+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,D&&Cc(D.doc)),D&&lr(D,"markerCleared",D,this,le,Ae),U&&_l(D),this.parent&&this.parent.clear()},Xc.prototype.find=function(D,U){D==null&&this.type=="bookmark"&&(D=1);for(var oe,le,Ae=0;Ae0||Tt==0&&Ke.clearWhenEmpty!==!1)return Ke;if(Ke.replacedWith&&(Ke.collapsed=!0,Ke.widgetNode=F("span",[Ke.replacedWith],"CodeMirror-widget"),le.handleMouseEvents||Ke.widgetNode.setAttribute("cm-ignore-events","true"),le.insertLeft&&(Ke.widgetNode.insertLeft=!0)),Ke.collapsed){if(va(D,U.line,U,oe,Ke)||U.line!=oe.line&&va(D,oe.line,U,oe,Ke))throw new Error("Inserting collapsed marker partially overlapping an existing one");Bt()}Ke.addToHistory&&Ks(D,{from:U,to:oe,origin:"markText"},D.sel,NaN);var Qt=U.line,fr=D.cm,vr;if(D.iter(Qt,oe.line+1,function(Hn){fr&&Ke.collapsed&&!fr.options.lineWrapping&&zn(Hn)==fr.display.maxLine&&(vr=!0),Ke.collapsed&&Qt!=U.line&&Xt(Hn,0),Lr(Hn,new Et(Ke,Qt==U.line?U.ch:null,Qt==oe.line?oe.ch:null)),++Qt}),Ke.collapsed&&D.iter(U.line,oe.line+1,function(Hn){In(D,Hn)&&Xt(Hn,0)}),Ke.clearOnEnter&&Pe(Ke,"beforeCursorEnter",function(){return Ke.clear()}),Ke.readOnly&&(ft(),(D.history.done.length||D.history.undone.length)&&D.clearHistory()),Ke.collapsed&&(Ke.id=++Hu,Ke.atomic=!0),fr){if(vr&&(fr.curOp.updateMaxLine=!0),Ke.collapsed)Io(fr,U.line,oe.line+1);else if(Ke.className||Ke.startStyle||Ke.endStyle||Ke.css||Ke.attributes||Ke.title)for(var xn=U.line;xn<=oe.line;xn++)ma(fr,xn,"text");Ke.atomic&&Cc(fr.doc),lr(fr,"markerAdded",fr,Ke)}return Ke}var Tu=function(U,oe){this.markers=U,this.primary=oe;for(var le=0;le=0;fr--)_c(this,le[fr]);Qt?ec(this,Qt):this.cm&&bs(this.cm)}),undo:vl(function(){yo(this,"undo")}),redo:vl(function(){yo(this,"redo")}),undoSelection:vl(function(){yo(this,"undo",!0)}),redoSelection:vl(function(){yo(this,"redo",!0)}),setExtending:function(U){this.extend=U},getExtending:function(){return this.extend},historySize:function(){for(var U=this.history,oe=0,le=0,Ae=0;Ae=U.ch)&&oe.push(Ke.marker.parent||Ke.marker)}return oe},findMarks:function(U,oe,le){U=Dt(this,U),oe=Dt(this,oe);var Ae=[],Ke=U.line;return this.iter(U.line,oe.line+1,function(Tt){var Qt=Tt.markedSpans;if(Qt)for(var fr=0;fr=vr.to||vr.from==null&&Ke!=U.line||vr.from!=null&&Ke==oe.line&&vr.from>=oe.ch)&&(!le||le(vr.marker))&&Ae.push(vr.marker.parent||vr.marker)}++Ke}),Ae},getAllMarks:function(){var U=[];return this.iter(function(oe){var le=oe.markedSpans;if(le)for(var Ae=0;AeU)return oe=U,!0;U-=Tt,++le}),Dt(this,ar(le,oe))},indexFromPos:function(U){U=Dt(this,U);var oe=U.ch;if(U.lineoe&&(oe=U.from),U.to!=null&&U.to-1){U.state.draggingText(D),setTimeout(function(){return U.display.input.focus()},20);return}try{var xn=D.dataTransfer.getData("Text");if(xn){var Hn;if(U.state.draggingText&&!U.state.draggingText.copy&&(Hn=U.listSelections()),lo(U.doc,Ie(oe,oe)),Hn)for(var hi=0;hi=0;Qt--)Tc(D.doc,"",le[Qt].from,le[Qt].to,"+delete");bs(D)})}function Ou(D,U,oe){var le=De(D.text,U+oe,oe);return le<0||le>D.text.length?null:le}function gd(D,U,oe){var le=Ou(D,U.ch,oe);return le==null?null:new ar(U.line,le,oe<0?"after":"before")}function Ad(D,U,oe,le,Ae){if(D){U.doc.direction=="rtl"&&(Ae=-Ae);var Ke=yt(oe,U.doc.direction);if(Ke){var Tt=Ae<0?ge(Ke):Ke[0],Qt=Ae<0==(Tt.level==1),fr=Qt?"after":"before",vr;if(Tt.level>0||U.doc.direction=="rtl"){var xn=Ea(U,oe);vr=Ae<0?oe.text.length-1:0;var Hn=xa(U,xn,vr).top;vr=Ne(function(hi){return xa(U,xn,hi).top==Hn},Ae<0==(Tt.level==1)?Tt.from:Tt.to-1,vr),fr=="before"&&(vr=Ou(oe,vr,1))}else vr=Ae<0?Tt.to:Tt.from;return new ar(le,vr,fr)}}return new ar(le,Ae<0?oe.text.length:0,Ae<0?"before":"after")}function id(D,U,oe,le){var Ae=yt(U,D.doc.direction);if(!Ae)return gd(U,oe,le);oe.ch>=U.text.length?(oe.ch=U.text.length,oe.sticky="before"):oe.ch<=0&&(oe.ch=0,oe.sticky="after");var Ke=Re(Ae,oe.ch,oe.sticky),Tt=Ae[Ke];if(D.doc.direction=="ltr"&&Tt.level%2==0&&(le>0?Tt.to>oe.ch:Tt.from=Tt.from&&hi>=xn.begin)){var ci=Hn?"before":"after";return new ar(oe.line,hi,ci)}}var ra=function(Ka,uo,Fo){for(var ws=function(Ll,bc){return bc?new ar(oe.line,Qt(Ll,1),"before"):new ar(oe.line,Ll,"after")};Ka>=0&&Ka0==(ts.level!=1),hl=js?Fo.begin:Qt(Fo.end,-1);if(ts.from<=hl&&hl0?xn.end:Qt(xn.begin,-1);return $a!=null&&!(le>0&&$a==U.text.length)&&(Pa=ra(le>0?0:Ae.length-1,le,vr($a)),Pa)?Pa:null}var Lu={selectAll:vc,singleSelection:function(U){return U.setSelection(U.getCursor("anchor"),U.getCursor("head"),ce)},killLine:function(U){return xu(U,function(oe){if(oe.empty()){var le=$e(U.doc,oe.head.line).text.length;return oe.head.ch==le&&oe.head.line0)Ke=new ar(Ke.line,Ke.ch+1),U.replaceRange(Tt.charAt(Ke.ch-1)+Tt.charAt(Ke.ch-2),ar(Ke.line,Ke.ch-2),Ke,"+transpose");else if(Ke.line>U.doc.first){var Qt=$e(U.doc,Ke.line-1).text;Qt&&(Ke=new ar(Ke.line,1),U.replaceRange(Tt.charAt(0)+U.doc.lineSeparator()+Qt.charAt(Qt.length-1),ar(Ke.line-1,Qt.length-1),Ke,"+transpose"))}}le.push(new he(Ke,Ke))}U.setSelections(le)})},newlineAndIndent:function(U){return Al(U,function(){for(var oe=U.listSelections(),le=oe.length-1;le>=0;le--)U.replaceRange(U.doc.lineSeparator(),oe[le].anchor,oe[le].head,"+input");oe=U.listSelections();for(var Ae=0;AeD&&It(U,this.pos)==0&&oe==this.button};var mu,gu;function Bu(D,U){var oe=+new Date;return gu&&gu.compare(oe,D,U)?(mu=gu=null,"triple"):mu&&mu.compare(oe,D,U)?(gu=new od(oe,D,U),mu=null,"double"):(mu=new od(oe,D,U),gu=null,"single")}function Nu(D){var U=this,oe=U.display;if(Ut(U,D)||oe.activeTouch&&oe.input.supportsTouch())return;if(oe.input.ensurePolled(),oe.shift=D.shiftKey,oi(oe,D)){a||(oe.scroller.draggable=!1,setTimeout(function(){return oe.scroller.draggable=!0},100));return}if($u(U,D))return;var le=za(U,D),Ae=ve(D),Ke=le?Bu(le,Ae):"single";if(window.focus(),Ae==1&&U.state.selectingText&&U.state.selectingText(D),le&&xd(U,Ae,le,Ke,D))return;Ae==1?le?sd(U,le,Ke,D):rt(D)==oe.scroller&&ht(D):Ae==2?(le&&bl(U.doc,le),setTimeout(function(){return oe.input.focus()},20)):Ae==3&&(_?U.display.input.onContextMenu(D):qo(U))}function xd(D,U,oe,le,Ae){var Ke="Click";return le=="double"?Ke="Double"+Ke:le=="triple"&&(Ke="Triple"+Ke),Ke=(U==1?"Left":U==2?"Middle":"Right")+Ke,Qu(D,Bd(Ke,Ae),Ae,function(Tt){if(typeof Tt=="string"&&(Tt=Lu[Tt]),!Tt)return!1;var Qt=!1;try{D.isReadOnly()&&(D.state.suppressEdits=!0),Qt=Tt(D,oe)!=re}finally{D.state.suppressEdits=!1}return Qt})}function Ju(D,U,oe){var le=D.getOption("configureMouse"),Ae=le?le(D,U,oe):{};if(Ae.unit==null){var Ke=v?oe.shiftKey&&oe.metaKey:oe.altKey;Ae.unit=Ke?"rectangle":U=="single"?"char":U=="double"?"word":"line"}return(Ae.extend==null||D.doc.extend)&&(Ae.extend=D.doc.extend||oe.shiftKey),Ae.addNew==null&&(Ae.addNew=g?oe.metaKey:oe.ctrlKey),Ae.moveOnDrag==null&&(Ae.moveOnDrag=!(g?oe.altKey:oe.ctrlKey)),Ae}function sd(D,U,oe,le){m?setTimeout(z(Fs,D),0):D.curOp.focus=X();var Ae=Ju(D,oe,le),Ke=D.doc.sel,Tt;D.options.dragDrop&&bt&&!D.isReadOnly()&&oe=="single"&&(Tt=Ke.contains(U))>-1&&(It((Tt=Ke.ranges[Tt]).from(),U)<0||U.xRel>0)&&(It(Tt.to(),U)>0||U.xRel<0)?Sd(D,le,U,Ae):au(D,le,U,Ae)}function Sd(D,U,oe,le){var Ae=D.display,Ke=!1,Tt=zs(D,function(vr){a&&(Ae.scroller.draggable=!1),D.state.draggingText=!1,ut(Ae.wrapper.ownerDocument,"mouseup",Tt),ut(Ae.wrapper.ownerDocument,"mousemove",Qt),ut(Ae.scroller,"dragstart",fr),ut(Ae.scroller,"drop",Tt),Ke||(ht(vr),le.addNew||bl(D.doc,oe,null,null,le.extend),a&&!i||m&&d==9?setTimeout(function(){Ae.wrapper.ownerDocument.body.focus({preventScroll:!0}),Ae.input.focus()},20):Ae.input.focus())}),Qt=function(xn){Ke=Ke||Math.abs(U.clientX-xn.clientX)+Math.abs(U.clientY-xn.clientY)>=10},fr=function(){return Ke=!0};a&&(Ae.scroller.draggable=!0),D.state.draggingText=Tt,Tt.copy=!le.moveOnDrag,Ae.scroller.dragDrop&&Ae.scroller.dragDrop(),Pe(Ae.wrapper.ownerDocument,"mouseup",Tt),Pe(Ae.wrapper.ownerDocument,"mousemove",Qt),Pe(Ae.scroller,"dragstart",fr),Pe(Ae.scroller,"drop",Tt),qo(D),setTimeout(function(){return Ae.input.focus()},20)}function Su(D,U,oe){if(oe=="char")return new he(U,U);if(oe=="word")return D.findWordAt(U);if(oe=="line")return new he(ar(U.line,0),Dt(D.doc,ar(U.line+1,0)));var le=oe(D,U);return new he(le.from,le.to)}function au(D,U,oe,le){var Ae=D.display,Ke=D.doc;ht(U);var Tt,Qt,fr=Ke.sel,vr=fr.ranges;if(le.addNew&&!le.extend?(Qt=Ke.sel.contains(oe),Qt>-1?Tt=vr[Qt]:Tt=new he(oe,oe)):(Tt=Ke.sel.primary(),Qt=Ke.sel.primIndex),le.unit=="rectangle")le.addNew||(Tt=new he(oe,oe)),oe=za(D,U,!0,!0),Qt=-1;else{var xn=Su(D,oe,le.unit);le.extend?Tt=lc(Tt,xn.anchor,xn.head,le.extend):Tt=xn}le.addNew?Qt==-1?(Qt=vr.length,al(Ke,Ce(D,vr.concat([Tt]),Qt),{scroll:!1,origin:"*mouse"})):vr.length>1&&vr[Qt].empty()&&le.unit=="char"&&!le.extend?(al(Ke,Ce(D,vr.slice(0,Qt).concat(vr.slice(Qt+1)),0),{scroll:!1,origin:"*mouse"}),fr=Ke.sel):Yl(Ke,Qt,Tt,ie):(Qt=0,al(Ke,new Lt([Tt],0),ie),fr=Ke.sel);var Hn=oe;function hi(uo){if(It(Hn,uo)==0)return;if(Hn=uo,le.unit=="rectangle"){for(var Fo=[],ws=D.options.tabSize,ts=P($e(Ke,oe.line).text,oe.ch,ws),js=P($e(Ke,uo.line).text,uo.ch,ws),hl=Math.min(ts,js),Pl=Math.max(ts,js),Ll=Math.min(oe.line,uo.line),bc=Math.min(D.lastLine(),Math.max(oe.line,uo.line));Ll<=bc;Ll++){var Gc=$e(Ke,Ll).text,ic=xe(Gc,hl,ws);hl==Pl?Fo.push(new he(ar(Ll,ic),ar(Ll,ic))):Gc.length>ic&&Fo.push(new he(ar(Ll,ic),ar(Ll,xe(Gc,Pl,ws))))}Fo.length||Fo.push(new he(oe,oe)),al(Ke,Ce(D,fr.ranges.slice(0,Qt).concat(Fo),Qt),{origin:"*mouse",scroll:!1}),D.scrollIntoView(uo)}else{var Dc=Tt,uc=Su(D,uo,le.unit),gc=Dc.anchor,dc;It(uc.anchor,gc)>0?(dc=uc.head,gc=Mt(Dc.from(),uc.anchor)):(dc=uc.anchor,gc=gr(Dc.to(),uc.head));var Jl=fr.ranges.slice(0);Jl[Qt]=Jd(D,new he(Dt(Ke,gc),dc)),al(Ke,Ce(D,Jl,Qt),ie)}}var ci=Ae.wrapper.getBoundingClientRect(),ra=0;function Pa(uo){var Fo=++ra,ws=za(D,uo,!0,le.unit=="rectangle");if(!ws)return;if(It(ws,Hn)!=0){D.curOp.focus=X(),hi(ws);var ts=Vs(Ae,Ke);(ws.line>=ts.to||ws.lineci.bottom?20:0;js&&setTimeout(zs(D,function(){if(ra!=Fo)return;Ae.scroller.scrollTop+=js,Pa(uo)}),50)}}function $a(uo){D.state.selectingText=!1,ra=Infinity,uo&&(ht(uo),Ae.input.focus()),ut(Ae.wrapper.ownerDocument,"mousemove",Qa),ut(Ae.wrapper.ownerDocument,"mouseup",Ka),Ke.history.lastSelOrigin=null}var Qa=zs(D,function(uo){uo.buttons===0||!ve(uo)?$a(uo):Pa(uo)}),Ka=zs(D,$a);D.state.selectingText=Ka,Pe(Ae.wrapper.ownerDocument,"mousemove",Qa),Pe(Ae.wrapper.ownerDocument,"mouseup",Ka)}function Jd(D,U){var oe=U.anchor,le=U.head,Ae=$e(D.doc,oe.line);if(It(oe,le)==0&&oe.sticky==le.sticky)return U;var Ke=yt(Ae);if(!Ke)return U;var Tt=Re(Ke,oe.ch,oe.sticky),Qt=Ke[Tt];if(Qt.from!=oe.ch&&Qt.to!=oe.ch)return U;var fr=Tt+(Qt.from==oe.ch==(Qt.level!=1)?0:1);if(fr==0||fr==Ke.length)return U;var vr;if(le.line!=oe.line)vr=(le.line-oe.line)*(D.doc.direction=="ltr"?1:-1)>0;else{var xn=Re(Ke,le.ch,le.sticky),Hn=xn-Tt||(le.ch-oe.ch)*(Qt.level==1?-1:1);xn==fr-1||xn==fr?vr=Hn<0:vr=Hn>0}var hi=Ke[fr+(vr?-1:0)],ci=vr==(hi.level==1),ra=ci?hi.from:hi.to,Pa=ci?"after":"before";return oe.ch==ra&&oe.sticky==Pa?U:new he(new ar(oe.line,ra,Pa),le)}function ou(D,U,oe,le){var Ae,Ke;if(U.touches)Ae=U.touches[0].clientX,Ke=U.touches[0].clientY;else try{Ae=U.clientX,Ke=U.clientY}catch(hi){return!1}if(Ae>=Math.floor(D.display.gutters.getBoundingClientRect().right))return!1;le&&ht(U);var Tt=D.display,Qt=Tt.lineDiv.getBoundingClientRect();if(Ke>Qt.bottom||!$t(D,oe))return de(U);Ke-=Qt.top-Tt.viewOffset;for(var fr=0;fr=Ae){var xn=Kr(D.doc,Ke),Hn=D.display.gutterSpecs[fr];return Ft(D,oe,D,xn,Hn.className,U),de(U)}}}function $u(D,U){return ou(D,U,"gutterClick",!0)}function ld(D,U){if(oi(D.display,U)||ku(D,U))return;if(Ut(D,U,"contextmenu"))return;_||D.display.input.onContextMenu(U)}function ku(D,U){return $t(D,"gutterContextMenu")?ou(D,U,"gutterContextMenu",!1):!1}function Cd(D){D.display.wrapper.className=D.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+D.options.theme.replace(/(^|\s)\s*/g," cm-s-"),hr(D)}var Pu={toString:function(){return"CodeMirror.Init"}},qu={},_e={};function Je(D){var U=D.optionHandlers;function oe(le,Ae,Ke,Tt){D.defaults[le]=Ae,Ke&&(U[le]=Tt?function(Qt,fr,vr){vr!=Pu&&Ke(Qt,fr,vr)}:Ke)}D.defineOption=oe,D.Init=Pu,oe("value","",function(le,Ae){return le.setValue(Ae)},!0),oe("mode",null,function(le,Ae){le.doc.modeOption=Ae,yn(le)},!0),oe("indentUnit",2,yn,!0),oe("indentWithTabs",!1),oe("smartIndent",!0),oe("tabSize",4,function(le){Jn(le),hr(le),Io(le)},!0),oe("lineSeparator",null,function(le,Ae){if(le.doc.lineSep=Ae,!Ae)return;var Ke=[],Tt=le.doc.first;le.doc.iter(function(fr){for(var vr=0;;){var xn=fr.text.indexOf(Ae,vr);if(xn==-1)break;vr=xn+Ae.length,Ke.push(ar(Tt,xn))}Tt++});for(var Qt=Ke.length-1;Qt>=0;Qt--)Tc(le.doc,Ae,Ke[Qt],ar(Ke[Qt].line,Ke[Qt].ch+Ae.length))}),oe("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(le,Ae,Ke){le.state.specialChars=new RegExp(Ae.source+(Ae.test(" ")?"":"| "),"g"),Ke!=Pu&&le.refresh()}),oe("specialCharPlaceholder",Zi,function(le){return le.refresh()},!0),oe("electricChars",!0),oe("inputStyle",p?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),oe("spellcheck",!1,function(le,Ae){return le.getInputField().spellcheck=Ae},!0),oe("autocorrect",!1,function(le,Ae){return le.getInputField().autocorrect=Ae},!0),oe("autocapitalize",!1,function(le,Ae){return le.getInputField().autocapitalize=Ae},!0),oe("rtlMoveVisually",!y),oe("wholeLineUpdateBefore",!0),oe("theme","default",function(le){Cd(le),Sc(le)},!0),oe("keyMap","default",function(le,Ae,Ke){var Tt=fu(Ae),Qt=Ke!=Pu&&fu(Ke);Qt&&Qt.detach&&Qt.detach(le,Tt),Tt.attach&&Tt.attach(le,Qt||null)}),oe("extraKeys",null),oe("configureMouse",null),oe("lineWrapping",!1,ur,!0),oe("gutters",[],function(le,Ae){le.display.gutterSpecs=Hl(Ae,le.options.lineNumbers),Sc(le)},!0),oe("fixedGutter",!0,function(le,Ae){le.display.gutters.style.left=Ae?Po(le.display)+"px":"0",le.refresh()},!0),oe("coverGutterNextToScrollbar",!1,function(le){return Xo(le)},!0),oe("scrollbarStyle","native",function(le){Us(le),Xo(le),le.display.scrollbars.setScrollTop(le.doc.scrollTop),le.display.scrollbars.setScrollLeft(le.doc.scrollLeft)},!0),oe("lineNumbers",!1,function(le,Ae){le.display.gutterSpecs=Hl(le.options.gutters,Ae),Sc(le)},!0),oe("firstLineNumber",1,Sc,!0),oe("lineNumberFormatter",function(le){return le},Sc,!0),oe("showCursorWhenSelecting",!1,Ro,!0),oe("resetSelectionOnContextMenu",!0),oe("lineWiseCopyCut",!0),oe("pasteLinesPerSelection",!0),oe("selectionsMayTouch",!1),oe("readOnly",!1,function(le,Ae){Ae=="nocursor"&&(Vo(le),le.display.input.blur()),le.display.input.readOnlyChanged(Ae)}),oe("screenReaderLabel",null,function(le,Ae){Ae=Ae===""?null:Ae,le.display.input.screenReaderLabelChanged(Ae)}),oe("disableInput",!1,function(le,Ae){Ae||le.display.input.reset()},!0),oe("dragDrop",!0,Ot),oe("allowDropFileTypes",null),oe("cursorBlinkRate",530),oe("cursorScrollMargin",0),oe("cursorHeight",1,Ro,!0),oe("singleCursorHeightPerLine",!0,Ro,!0),oe("workTime",100),oe("workDelay",100),oe("flattenSpans",!0,Jn,!0),oe("addModeClass",!1,Jn,!0),oe("pollInterval",100),oe("undoDepth",200,function(le,Ae){return le.doc.history.undoDepth=Ae}),oe("historyEventDelay",1250),oe("viewportMargin",10,function(le){return le.refresh()},!0),oe("maxHighlightLength",1e4,Jn,!0),oe("moveInputWithCursor",!0,function(le,Ae){Ae||le.display.input.resetPosition()}),oe("tabindex",null,function(le,Ae){return le.display.input.getField().tabIndex=Ae||""}),oe("autofocus",null),oe("direction","ltr",function(le,Ae){return le.doc.setDirection(Ae)},!0),oe("phrases",null)}function Ot(D,U,oe){var le=oe&&oe!=Pu;if(!U!=!le){var Ae=D.display.dragFunctions,Ke=U?Pe:ut;Ke(D.display.scroller,"dragstart",Ae.start),Ke(D.display.scroller,"dragenter",Ae.enter),Ke(D.display.scroller,"dragover",Ae.over),Ke(D.display.scroller,"dragleave",Ae.leave),Ke(D.display.scroller,"drop",Ae.drop)}}function ur(D){D.options.lineWrapping?(J(D.display.wrapper,"CodeMirror-wrap"),D.display.sizer.style.minWidth="",D.display.sizerWidth=null):(C(D.display.wrapper,"CodeMirror-wrap"),Ri(D)),ro(D),Io(D),hr(D),setTimeout(function(){return Xo(D)},100)}function Or(D,U){var oe=this;if(!(this instanceof Or))return new Or(D,U);this.options=U=U?W(U):{},W(qu,U,!1);var le=U.value;typeof le=="string"?le=new Rc(le,U.mode,null,U.lineSeparator,U.direction):U.mode&&(le.modeOption=U.mode),this.doc=le;var Ae=new Or.inputStyles[U.inputStyle](this),Ke=this.display=new Ts(D,le,Ae,U);Ke.wrapper.CodeMirror=this,Cd(this),U.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Us(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new G,keySeq:null,specialChars:null},U.autofocus&&!p&&Ke.input.focus(),m&&d<11&&setTimeout(function(){return oe.display.input.reset(!0)},20),Wr(this),Wu(),us(this),this.curOp.forceUpdate=!0,Wa(this,le),U.autofocus&&!p||this.hasFocus()?setTimeout(function(){oe.hasFocus()&&!oe.state.focused&&Wo(oe)},20):Vo(this);for(var Tt in _e)_e.hasOwnProperty(Tt)&&_e[Tt](this,U[Tt],Pu);Kc(this),U.finishInit&&U.finishInit(this);for(var Qt=0;Qt20*20}Pe(U.scroller,"touchstart",function(fr){if(!Ut(D,fr)&&!Ke(fr)&&!$u(D,fr)){U.input.ensurePolled(),clearTimeout(oe);var vr=+new Date;U.activeTouch={start:vr,moved:!1,prev:vr-le.end<=300?le:null},fr.touches.length==1&&(U.activeTouch.left=fr.touches[0].pageX,U.activeTouch.top=fr.touches[0].pageY)}}),Pe(U.scroller,"touchmove",function(){U.activeTouch&&(U.activeTouch.moved=!0)}),Pe(U.scroller,"touchend",function(fr){var vr=U.activeTouch;if(vr&&!oi(U,fr)&&vr.left!=null&&!vr.moved&&new Date-vr.start<300){var xn=D.coordsChar(U.activeTouch,"page"),Hn;!vr.prev||Tt(vr,vr.prev)?Hn=new he(xn,xn):!vr.prev.prev||Tt(vr,vr.prev.prev)?Hn=D.findWordAt(xn):Hn=new he(ar(xn.line,0),Dt(D.doc,ar(xn.line+1,0))),D.setSelection(Hn.anchor,Hn.head),D.focus(),ht(fr)}Ae()}),Pe(U.scroller,"touchcancel",Ae),Pe(U.scroller,"scroll",function(){U.scroller.clientHeight&&(ho(D,U.scroller.scrollTop),ml(D,U.scroller.scrollLeft,!0),Ft(D,"scroll",D))}),Pe(U.scroller,"mousewheel",function(fr){return ri(D,fr)}),Pe(U.scroller,"DOMMouseScroll",function(fr){return ri(D,fr)}),Pe(U.wrapper,"scroll",function(){return U.wrapper.scrollTop=U.wrapper.scrollLeft=0}),U.dragFunctions={enter:function(vr){Ut(D,vr)||qe(vr)},over:function(vr){Ut(D,vr)||(zu(D,vr),qe(vr))},start:function(vr){return Fu(D,vr)},drop:zs(D,Uc),leave:function(vr){Ut(D,vr)||rd(D)}};var Qt=U.input.getField();Pe(Qt,"keyup",function(fr){return yd.call(D,fr)}),Pe(Qt,"keydown",zs(D,kd)),Pe(Qt,"keypress",zs(D,wd)),Pe(Qt,"focus",function(fr){return Wo(D,fr)}),Pe(Qt,"blur",function(fr){return Vo(D,fr)})}var Ue=[];Or.defineInitHook=function(D){return Ue.push(D)};function se(D,U,oe,le){var Ae=D.doc,Ke;oe==null&&(oe="add"),oe=="smart"&&(Ae.mode.indent?Ke=Gn(D,U).state:oe="prev");var Tt=D.options.tabSize,Qt=$e(Ae,U),fr=P(Qt.text,null,Tt);Qt.stateAfter&&(Qt.stateAfter=null);var vr=Qt.text.match(/^\s*/)[0],xn;if(!le&&!/\S/.test(Qt.text))xn=0,oe="not";else if(oe=="smart"&&(xn=Ae.mode.indent(Ke,Qt.text.slice(vr.length),Qt.text),xn==re||xn>150)){if(!le)return;oe="prev"}oe=="prev"?U>Ae.first?xn=P($e(Ae,U-1).text,null,Tt):xn=0:oe=="add"?xn=fr+D.options.indentUnit:oe=="subtract"?xn=fr-D.options.indentUnit:typeof oe=="number"&&(xn=fr+oe),xn=Math.max(0,xn);var Hn="",hi=0;if(D.options.indentWithTabs)for(var ci=Math.floor(xn/Tt);ci;--ci)hi+=Tt,Hn+=" ";if(hiTt,fr=at(U),vr=null;if(Qt&&le.ranges.length>1)if(Oe&&Oe.text.join(` +`)==U){if(le.ranges.length%Oe.text.length==0){vr=[];for(var xn=0;xn=0;hi--){var ci=le.ranges[hi],ra=ci.from(),Pa=ci.to();ci.empty()&&(oe&&oe>0?ra=ar(ra.line,ra.ch-oe):D.state.overwrite&&!Qt?Pa=ar(Pa.line,Math.min($e(Ke,Pa.line).text.length,Pa.ch+ge(fr).length)):Qt&&Oe&&Oe.lineWise&&Oe.text.join(` `)==fr.join(` -`)&&(ra=Pa=ar(ra.line,0)));var $a={from:ra,to:Pa,text:vr?vr[hi%vr.length]:fr,origin:Ae||(Qt?"paste":D.state.cutIncoming>Tt?"cut":"+input")};_c(D.doc,$a),lr(D,"inputRead",D,$a)}U&&!Qt&&Zt(D,U),bs(D),D.curOp.updateInput<2&&(D.curOp.updateInput=Hn),D.curOp.typing=!0,D.state.pasteIncoming=D.state.cutIncoming=-1}function zt(D,U){var oe=D.clipboardData&&D.clipboardData.getData("Text");if(oe)return D.preventDefault(),!U.isReadOnly()&&!U.options.disableInput&&Al(U,function(){return wt(U,oe,0,null,"paste")}),!0}function Zt(D,U){if(!D.options.electricChars||!D.options.smartIndent)return;for(var oe=D.doc.sel,le=oe.ranges.length-1;le>=0;le--){var Ae=oe.ranges[le];if(Ae.head.ch>100||le&&oe.ranges[le-1].head.line==Ae.head.line)continue;var We=D.getModeAt(Ae.head),Tt=!1;if(We.electricChars){for(var Qt=0;Qt-1){Tt=se(D,Ae.head.line,"smart");break}}else We.electricInput&&(We.electricInput.test($e(D.doc,Ae.head.line).text.slice(0,Ae.head.ch))&&(Tt=se(D,Ae.head.line,"smart")));Tt&&lr(D,"electricInput",D,Ae.head.line)}}function Jt(D){for(var U=[],oe=[],le=0;leWe&&(se(this,Qt.head.line,le,!0),We=Qt.head.line,Tt==this.doc.sel.primIndex&&bs(this));else{var fr=Qt.from(),vr=Qt.to(),xn=Math.max(We,fr.line);We=Math.min(this.lastLine(),vr.line-(vr.ch?0:1))+1;for(var Hn=xn;Hn0&&Yl(this.doc,Tt,new he(fr,hi[Tt].to()),ce)}}}),getTokenAt:function(Ae,We){return Ta(this,Ae,We)},getLineTokens:function(Ae,We){return Ta(this,ar(Ae),We,!0)},getTokenTypeAt:function(Ae){Ae=Dt(this.doc,Ae);var We=on(this,$e(this.doc,Ae.line)),Tt=0,Qt=(We.length-1)/2,fr=Ae.ch,vr;if(fr==0)vr=We[2];else for(;;){var xn=Tt+Qt>>1;if((xn?We[xn*2-1]:0)>=fr)Qt=xn;else if(We[xn*2+1]vr&&(Ae=vr,Qt=!0),fr=$e(this.doc,Ae)}else fr=Ae;return Jr(this,fr,{top:0,left:0},We||"page",Tt||Qt).top+(Qt?this.doc.height-Ei(fr):0)},defaultTextHeight:function(){return Oa(this.display)},defaultCharWidth:function(){return ao(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(Ae,We,Tt,Qt,fr){var vr=this.display;Ae=Xn(this,Dt(this.doc,Ae));var xn=Ae.bottom,Hn=Ae.left;if(We.style.position="absolute",We.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(We),vr.sizer.appendChild(We),Qt=="over")xn=Ae.top;else if(Qt=="above"||Qt=="near"){var hi=Math.max(vr.wrapper.clientHeight,this.doc.height),ci=Math.max(vr.sizer.clientWidth,vr.lineSpace.clientWidth);(Qt=="above"||Ae.bottom+We.offsetHeight>hi)&&Ae.top>We.offsetHeight?xn=Ae.top-We.offsetHeight:Ae.bottom+We.offsetHeight<=hi&&(xn=Ae.bottom),Hn+We.offsetWidth>ci&&(Hn=ci-We.offsetWidth)}We.style.top=xn+"px",We.style.left=We.style.right="",fr=="right"?(Hn=vr.sizer.clientWidth-We.offsetWidth,We.style.right="0px"):(fr=="left"?Hn=0:fr=="middle"&&(Hn=(vr.sizer.clientWidth-We.offsetWidth)/2),We.style.left=Hn+"px"),Tt&&Bs(this,{left:Hn,top:xn,right:Hn+We.offsetWidth,bottom:xn+We.offsetHeight})},triggerOnKeyDown:Ml(kd),triggerOnKeyPress:Ml(wd),triggerOnKeyUp:yd,triggerOnMouseDown:Ml(Nu),execCommand:function(Ae){if(Lu.hasOwnProperty(Ae))return Lu[Ae].call(null,this)},triggerElectric:Ml(function(le){Zt(this,le)}),findPosH:function(Ae,We,Tt,Qt){var fr=1;We<0&&(fr=-1,We=-We);for(var vr=Dt(this.doc,Ae),xn=0;xn0&&Hn(Tt.charAt(Qt-1));)--Qt;for(;fr.5||this.options.lineWrapping)&&ro(this),Ft(this,"refresh",this)}),swapDoc:Ml(function(le){var Ae=this.doc;return Ae.cm=null,this.state.selectingText&&this.state.selectingText(),Ka(this,le),hr(this),this.display.input.reset(),Ho(this,le.scrollLeft,le.scrollTop),this.curOp.forceScroll=!0,lr(this,"swapDoc",this,Ae),Ae}),phrase:function(Ae){var We=this.options.phrases;return We&&Object.prototype.hasOwnProperty.call(We,Ae)?We[Ae]:Ae},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},or(D),D.registerHelper=function(le,Ae,We){oe.hasOwnProperty(le)||(oe[le]=D[le]={_global:[]}),oe[le][Ae]=We},D.registerGlobalHelper=function(le,Ae,We,Tt){D.registerHelper(le,Ae,Tt),oe[le]._global.push({pred:We,val:Tt})}}function Ir(D,U,oe,le,Ae){var We=U,Tt=oe,Qt=$e(D,U.line),fr=Ae&&D.direction=="rtl"?-oe:oe;function vr(){var Wa=U.line+fr;return Wa=D.first+D.size?!1:(U=new ar(Wa,U.ch,U.sticky),Qt=$e(D,Wa))}function xn(Wa){var uo;if(le=="codepoint"){var Fo=Qt.text.charCodeAt(U.ch+(le>0?0:-1));isNaN(Fo)?uo=null:uo=new ar(U.line,Math.max(0,Math.min(Qt.text.length,U.ch+oe*(Fo>=55296&&Fo<56320?2:1))),-oe)}else Ae?uo=id(D.cm,Qt,U,oe):uo=gd(Qt,U,oe);if(uo==null)if(!Wa&&vr())U=Ad(Ae,D.cm,Qt,U.line,fr);else return!1;else U=uo;return!0}if(le=="char"||le=="codepoint")xn();else if(le=="column")xn(!0);else if(le=="word"||le=="group")for(var Hn=null,hi=le=="group",ci=D.cm&&D.cm.getHelper(U,"wordChars"),ra=!0;!(oe<0&&!xn(!ra));ra=!1){var Pa=Qt.text.charAt(U.ch)||` +`)&&(ra=Pa=ar(ra.line,0)));var $a={from:ra,to:Pa,text:vr?vr[hi%vr.length]:fr,origin:Ae||(Qt?"paste":D.state.cutIncoming>Tt?"cut":"+input")};_c(D.doc,$a),lr(D,"inputRead",D,$a)}U&&!Qt&&Zt(D,U),bs(D),D.curOp.updateInput<2&&(D.curOp.updateInput=Hn),D.curOp.typing=!0,D.state.pasteIncoming=D.state.cutIncoming=-1}function zt(D,U){var oe=D.clipboardData&&D.clipboardData.getData("Text");if(oe)return D.preventDefault(),!U.isReadOnly()&&!U.options.disableInput&&Al(U,function(){return wt(U,oe,0,null,"paste")}),!0}function Zt(D,U){if(!D.options.electricChars||!D.options.smartIndent)return;for(var oe=D.doc.sel,le=oe.ranges.length-1;le>=0;le--){var Ae=oe.ranges[le];if(Ae.head.ch>100||le&&oe.ranges[le-1].head.line==Ae.head.line)continue;var Ke=D.getModeAt(Ae.head),Tt=!1;if(Ke.electricChars){for(var Qt=0;Qt-1){Tt=se(D,Ae.head.line,"smart");break}}else Ke.electricInput&&(Ke.electricInput.test($e(D.doc,Ae.head.line).text.slice(0,Ae.head.ch))&&(Tt=se(D,Ae.head.line,"smart")));Tt&&lr(D,"electricInput",D,Ae.head.line)}}function Jt(D){for(var U=[],oe=[],le=0;leKe&&(se(this,Qt.head.line,le,!0),Ke=Qt.head.line,Tt==this.doc.sel.primIndex&&bs(this));else{var fr=Qt.from(),vr=Qt.to(),xn=Math.max(Ke,fr.line);Ke=Math.min(this.lastLine(),vr.line-(vr.ch?0:1))+1;for(var Hn=xn;Hn0&&Yl(this.doc,Tt,new he(fr,hi[Tt].to()),ce)}}}),getTokenAt:function(Ae,Ke){return Ta(this,Ae,Ke)},getLineTokens:function(Ae,Ke){return Ta(this,ar(Ae),Ke,!0)},getTokenTypeAt:function(Ae){Ae=Dt(this.doc,Ae);var Ke=on(this,$e(this.doc,Ae.line)),Tt=0,Qt=(Ke.length-1)/2,fr=Ae.ch,vr;if(fr==0)vr=Ke[2];else for(;;){var xn=Tt+Qt>>1;if((xn?Ke[xn*2-1]:0)>=fr)Qt=xn;else if(Ke[xn*2+1]vr&&(Ae=vr,Qt=!0),fr=$e(this.doc,Ae)}else fr=Ae;return Jr(this,fr,{top:0,left:0},Ke||"page",Tt||Qt).top+(Qt?this.doc.height-Ei(fr):0)},defaultTextHeight:function(){return Oa(this.display)},defaultCharWidth:function(){return ao(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(Ae,Ke,Tt,Qt,fr){var vr=this.display;Ae=Xn(this,Dt(this.doc,Ae));var xn=Ae.bottom,Hn=Ae.left;if(Ke.style.position="absolute",Ke.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Ke),vr.sizer.appendChild(Ke),Qt=="over")xn=Ae.top;else if(Qt=="above"||Qt=="near"){var hi=Math.max(vr.wrapper.clientHeight,this.doc.height),ci=Math.max(vr.sizer.clientWidth,vr.lineSpace.clientWidth);(Qt=="above"||Ae.bottom+Ke.offsetHeight>hi)&&Ae.top>Ke.offsetHeight?xn=Ae.top-Ke.offsetHeight:Ae.bottom+Ke.offsetHeight<=hi&&(xn=Ae.bottom),Hn+Ke.offsetWidth>ci&&(Hn=ci-Ke.offsetWidth)}Ke.style.top=xn+"px",Ke.style.left=Ke.style.right="",fr=="right"?(Hn=vr.sizer.clientWidth-Ke.offsetWidth,Ke.style.right="0px"):(fr=="left"?Hn=0:fr=="middle"&&(Hn=(vr.sizer.clientWidth-Ke.offsetWidth)/2),Ke.style.left=Hn+"px"),Tt&&Bs(this,{left:Hn,top:xn,right:Hn+Ke.offsetWidth,bottom:xn+Ke.offsetHeight})},triggerOnKeyDown:Ml(kd),triggerOnKeyPress:Ml(wd),triggerOnKeyUp:yd,triggerOnMouseDown:Ml(Nu),execCommand:function(Ae){if(Lu.hasOwnProperty(Ae))return Lu[Ae].call(null,this)},triggerElectric:Ml(function(le){Zt(this,le)}),findPosH:function(Ae,Ke,Tt,Qt){var fr=1;Ke<0&&(fr=-1,Ke=-Ke);for(var vr=Dt(this.doc,Ae),xn=0;xn0&&Hn(Tt.charAt(Qt-1));)--Qt;for(;fr.5||this.options.lineWrapping)&&ro(this),Ft(this,"refresh",this)}),swapDoc:Ml(function(le){var Ae=this.doc;return Ae.cm=null,this.state.selectingText&&this.state.selectingText(),Wa(this,le),hr(this),this.display.input.reset(),Ho(this,le.scrollLeft,le.scrollTop),this.curOp.forceScroll=!0,lr(this,"swapDoc",this,Ae),Ae}),phrase:function(Ae){var Ke=this.options.phrases;return Ke&&Object.prototype.hasOwnProperty.call(Ke,Ae)?Ke[Ae]:Ae},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},or(D),D.registerHelper=function(le,Ae,Ke){oe.hasOwnProperty(le)||(oe[le]=D[le]={_global:[]}),oe[le][Ae]=Ke},D.registerGlobalHelper=function(le,Ae,Ke,Tt){D.registerHelper(le,Ae,Tt),oe[le]._global.push({pred:Ke,val:Tt})}}function Ir(D,U,oe,le,Ae){var Ke=U,Tt=oe,Qt=$e(D,U.line),fr=Ae&&D.direction=="rtl"?-oe:oe;function vr(){var Ka=U.line+fr;return Ka=D.first+D.size?!1:(U=new ar(Ka,U.ch,U.sticky),Qt=$e(D,Ka))}function xn(Ka){var uo;if(le=="codepoint"){var Fo=Qt.text.charCodeAt(U.ch+(le>0?0:-1));isNaN(Fo)?uo=null:uo=new ar(U.line,Math.max(0,Math.min(Qt.text.length,U.ch+oe*(Fo>=55296&&Fo<56320?2:1))),-oe)}else Ae?uo=id(D.cm,Qt,U,oe):uo=gd(Qt,U,oe);if(uo==null)if(!Ka&&vr())U=Ad(Ae,D.cm,Qt,U.line,fr);else return!1;else U=uo;return!0}if(le=="char"||le=="codepoint")xn();else if(le=="column")xn(!0);else if(le=="word"||le=="group")for(var Hn=null,hi=le=="group",ci=D.cm&&D.cm.getHelper(U,"wordChars"),ra=!0;!(oe<0&&!xn(!ra));ra=!1){var Pa=Qt.text.charAt(U.ch)||` `,$a=Y(Pa,ci)?"w":hi&&Pa==` -`?"n":!hi||/\s/.test(Pa)?null:"p";if(hi&&!ra&&!$a&&($a="s"),Hn&&Hn!=$a){oe<0&&(oe=1,xn(),U.sticky="after");break}if($a&&(Hn=$a),oe>0&&!xn(!ra))break}var Qa=Ac(D,U,We,Tt,!0);return Ct(We,Qa)&&(Qa.hitSide=!0),Qa}function zr(D,U,oe,le){var Ae=D.doc,We=U.left,Tt;if(le=="page"){var Qt=Math.min(D.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),fr=Math.max(Qt-.5*Oa(D.display),3);Tt=(oe>0?U.bottom:U.top)+oe*fr}else le=="line"&&(Tt=oe>0?U.bottom+3:U.top-3);for(var vr;!(vr=ji(D,We,Tt),!vr.outside);){if(oe<0?Tt<=0:Tt>=Ae.height){vr.hitSide=!0;break}Tt+=oe*5}return vr}var qr=function(U){this.cm=U,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new G,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};qr.prototype.init=function(D){var U=this,oe=this,le=oe.cm,Ae=oe.div=D.lineDiv;Fr(Ae,le.options.spellcheck,le.options.autocorrect,le.options.autocapitalize);function We(Qt){for(var fr=Qt.target;fr;fr=fr.parentNode){if(fr==Ae)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(fr.className))break}return!1}Pe(Ae,"paste",function(Qt){if(!We(Qt)||Ut(le,Qt)||zt(Qt,le))return;d<=11&&setTimeout(zs(le,function(){return U.updateFromDOM()}),20)}),Pe(Ae,"compositionstart",function(Qt){U.composing={data:Qt.data,done:!1}}),Pe(Ae,"compositionupdate",function(Qt){U.composing||(U.composing={data:Qt.data,done:!1})}),Pe(Ae,"compositionend",function(Qt){U.composing&&(Qt.data!=U.composing.data&&U.readFromDOMSoon(),U.composing.done=!0)}),Pe(Ae,"touchstart",function(){return oe.forceCompositionEnd()}),Pe(Ae,"input",function(){U.composing||U.readFromDOMSoon()});function Tt(Qt){if(!We(Qt)||Ut(le,Qt))return;if(le.somethingSelected())tt({lineWise:!1,text:le.getSelections()}),Qt.type=="cut"&&le.replaceSelection("",null,"cut");else if(le.options.lineWiseCopyCut){var fr=Jt(le);tt({lineWise:!0,text:fr.text}),Qt.type=="cut"&&le.operation(function(){le.setSelections(fr.ranges,0,ce),le.replaceSelection("",null,"cut")})}else return;if(Qt.clipboardData){Qt.clipboardData.clearData();var vr=Oe.text.join(` +`?"n":!hi||/\s/.test(Pa)?null:"p";if(hi&&!ra&&!$a&&($a="s"),Hn&&Hn!=$a){oe<0&&(oe=1,xn(),U.sticky="after");break}if($a&&(Hn=$a),oe>0&&!xn(!ra))break}var Qa=Ac(D,U,Ke,Tt,!0);return Ct(Ke,Qa)&&(Qa.hitSide=!0),Qa}function zr(D,U,oe,le){var Ae=D.doc,Ke=U.left,Tt;if(le=="page"){var Qt=Math.min(D.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),fr=Math.max(Qt-.5*Oa(D.display),3);Tt=(oe>0?U.bottom:U.top)+oe*fr}else le=="line"&&(Tt=oe>0?U.bottom+3:U.top-3);for(var vr;!(vr=ji(D,Ke,Tt),!vr.outside);){if(oe<0?Tt<=0:Tt>=Ae.height){vr.hitSide=!0;break}Tt+=oe*5}return vr}var qr=function(U){this.cm=U,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new G,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};qr.prototype.init=function(D){var U=this,oe=this,le=oe.cm,Ae=oe.div=D.lineDiv;Fr(Ae,le.options.spellcheck,le.options.autocorrect,le.options.autocapitalize);function Ke(Qt){for(var fr=Qt.target;fr;fr=fr.parentNode){if(fr==Ae)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(fr.className))break}return!1}Pe(Ae,"paste",function(Qt){if(!Ke(Qt)||Ut(le,Qt)||zt(Qt,le))return;d<=11&&setTimeout(zs(le,function(){return U.updateFromDOM()}),20)}),Pe(Ae,"compositionstart",function(Qt){U.composing={data:Qt.data,done:!1}}),Pe(Ae,"compositionupdate",function(Qt){U.composing||(U.composing={data:Qt.data,done:!1})}),Pe(Ae,"compositionend",function(Qt){U.composing&&(Qt.data!=U.composing.data&&U.readFromDOMSoon(),U.composing.done=!0)}),Pe(Ae,"touchstart",function(){return oe.forceCompositionEnd()}),Pe(Ae,"input",function(){U.composing||U.readFromDOMSoon()});function Tt(Qt){if(!Ke(Qt)||Ut(le,Qt))return;if(le.somethingSelected())tt({lineWise:!1,text:le.getSelections()}),Qt.type=="cut"&&le.replaceSelection("",null,"cut");else if(le.options.lineWiseCopyCut){var fr=Jt(le);tt({lineWise:!0,text:fr.text}),Qt.type=="cut"&&le.operation(function(){le.setSelections(fr.ranges,0,ce),le.replaceSelection("",null,"cut")})}else return;if(Qt.clipboardData){Qt.clipboardData.clearData();var vr=Oe.text.join(` `);if(Qt.clipboardData.setData("Text",vr),Qt.clipboardData.getData("Text")==vr){Qt.preventDefault();return}}var xn=Xr(),Hn=xn.firstChild;le.display.lineSpace.insertBefore(xn,le.display.lineSpace.firstChild),Hn.value=Oe.text.join(` -`);var hi=document.activeElement;W(Hn),setTimeout(function(){le.display.lineSpace.removeChild(xn),hi.focus(),hi==Ae&&oe.showPrimarySelection()},50)}Pe(Ae,"copy",Tt),Pe(Ae,"cut",Tt)},qr.prototype.screenReaderLabelChanged=function(D){D?this.div.setAttribute("aria-label",D):this.div.removeAttribute("aria-label")},qr.prototype.prepareSelection=function(){var D=hs(this.cm,!1);return D.focus=document.activeElement==this.div,D},qr.prototype.showSelection=function(D,U){if(!D||!this.cm.display.view.length)return;(D.focus||U)&&this.showPrimarySelection(),this.showMultipleSelections(D)},qr.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},qr.prototype.showPrimarySelection=function(){var D=this.getSelection(),U=this.cm,oe=U.doc.sel.primary(),le=oe.from(),Ae=oe.to();if(U.display.viewTo==U.display.viewFrom||le.line>=U.display.viewTo||Ae.line=U.display.viewFrom&&Ln(U,le)||{node:Qt[0].measure.map[2],offset:0},vr=Ae.lineD.firstLine()&&(le=ar(le.line-1,$e(D.doc,le.line-1).length)),Ae.ch==$e(D.doc,Ae.line).text.length&&Ae.lineU.viewTo-1)return!1;var We,Tt,Qt;le.line==U.viewFrom||(We=Mo(D,le.line))==0?(Tt=er(U.view[0].line),Qt=U.view[0].node):(Tt=er(U.view[We].line),Qt=U.view[We-1].node.nextSibling);var fr=Mo(D,Ae.line),vr,xn;if(fr==U.view.length-1?(vr=U.viewTo-1,xn=U.lineDiv.lastChild):(vr=er(U.view[fr+1].line)-1,xn=U.view[fr+1].node.previousSibling),!Qt)return!1;for(var Hn=D.doc.splitLines(_a(D,Qt,xn,Tt,vr)),hi=gt(D.doc,ar(Tt,0),ar(vr,$e(D.doc,vr).text.length));Hn.length>1&&hi.length>1;)if(ge(Hn)==ge(hi))Hn.pop(),hi.pop(),vr--;else if(Hn[0]==hi[0])Hn.shift(),hi.shift(),Tt++;else break;for(var ci=0,ra=0,Pa=Hn[0],$a=hi[0],Qa=Math.min(Pa.length,$a.length);cile.ch&&Wa.charCodeAt(Wa.length-ra-1)==uo.charCodeAt(uo.length-ra-1);)ci--,ra++;Hn[Hn.length-1]=Wa.slice(0,Wa.length-ra).replace(/^\u200b+/,""),Hn[0]=Hn[0].slice(ci).replace(/\u200b+$/,"");var ws=ar(Tt,ci),ts=ar(vr,hi.length?ge(hi).length-ra:0);if(Hn.length>1||Hn[0]||It(ws,ts))return Tc(D.doc,Hn,ws,ts,"+input"),!0},qr.prototype.ensurePolled=function(){this.forceCompositionEnd()},qr.prototype.reset=function(){this.forceCompositionEnd()},qr.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},qr.prototype.readFromDOMSoon=function(){var D=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(D.readDOMTimeout=null,D.composing)if(D.composing.done)D.composing=null;else return;D.updateFromDOM()},80)},qr.prototype.updateFromDOM=function(){var D=this;(this.cm.isReadOnly()||!this.pollContent())&&Al(this.cm,function(){return Io(D.cm)})},qr.prototype.setUneditable=function(D){D.contentEditable="false"},qr.prototype.onKeyPress=function(D){if(D.charCode==0||this.composing)return;D.preventDefault(),this.cm.isReadOnly()||zs(this.cm,wt)(this.cm,String.fromCharCode(D.charCode==null?D.keyCode:D.charCode),0)},qr.prototype.readOnlyChanged=function(D){this.div.contentEditable=String(D!="nocursor")},qr.prototype.onContextMenu=function(){},qr.prototype.resetPosition=function(){},qr.prototype.needsContentAttribute=!0;function Ln(D,U){var oe=Aa(D,U.line);if(!oe||oe.hidden)return null;var le=$e(D.doc,U.line),Ae=ia(oe,le,U.line),We=yt(le,D.doc.direction),Tt="left";if(We){var Qt=Re(We,U.ch);Tt=Qt%2?"right":"left"}var fr=oa(Ae.map,U.ch,Tt);return fr.offset=fr.collapse=="right"?fr.end:fr.start,fr}function xi(D){for(var U=D;U;U=U.parentNode)if(/CodeMirror-gutter-wrapper/.test(U.className))return!0;return!1}function Wi(D,U){return U&&(D.bad=!0),D}function _a(D,U,oe,le,Ae){var We="",Tt=!1,Qt=D.doc.lineSeparator(),fr=!1;function vr(ci){return function(ra){return ra.id==ci}}function xn(){Tt&&(We+=Qt,fr&&(We+=Qt),Tt=fr=!1)}function Hn(ci){ci&&(xn(),We+=ci)}function hi(ci){if(ci.nodeType==1){var ra=ci.getAttribute("cm-text");if(ra){Hn(ra);return}var Pa=ci.getAttribute("cm-marker"),$a;if(Pa){var Qa=D.findMarks(ar(le,0),ar(Ae+1,0),vr(+Pa));Qa.length&&($a=Qa[0].find(0))&&Hn(gt(D.doc,$a.from,$a.to).join(Qt));return}if(ci.getAttribute("contenteditable")=="false")return;var Wa=/^(pre|div|p|li|table|br)$/i.test(ci.nodeName);if(!/^br$/i.test(ci.nodeName)&&ci.textContent.length==0)return;Wa&&xn();for(var uo=0;uo=9&&U.hasSelection&&(U.hasSelection=null),oe.poll()}),Pe(Ae,"paste",function(Tt){if(Ut(le,Tt)||zt(Tt,le))return;le.state.pasteIncoming=+new Date,oe.fastPoll()});function We(Tt){if(Ut(le,Tt))return;if(le.somethingSelected())tt({lineWise:!1,text:le.getSelections()});else if(le.options.lineWiseCopyCut){var Qt=Jt(le);tt({lineWise:!0,text:Qt.text}),Tt.type=="cut"?le.setSelections(Qt.ranges,null,ce):(oe.prevInput="",Ae.value=Qt.text.join(` -`),W(Ae))}else return;Tt.type=="cut"&&(le.state.cutIncoming=+new Date)}Pe(Ae,"cut",We),Pe(Ae,"copy",We),Pe(D.scroller,"paste",function(Tt){if(oi(D,Tt)||Ut(le,Tt))return;if(!Ae.dispatchEvent){le.state.pasteIncoming=+new Date,oe.focus();return}var Qt=new Event("paste");Qt.clipboardData=Tt.clipboardData,Ae.dispatchEvent(Qt)}),Pe(D.lineSpace,"selectstart",function(Tt){oi(D,Tt)||ht(Tt)}),Pe(Ae,"compositionstart",function(){var Tt=le.getCursor("from");oe.composing&&oe.composing.range.clear(),oe.composing={start:Tt,range:le.markText(Tt,le.getCursor("to"),{className:"CodeMirror-composing"})}}),Pe(Ae,"compositionend",function(){oe.composing&&(oe.poll(),oe.composing.range.clear(),oe.composing=null)})},ja.prototype.createField=function(D){this.wrapper=Xr(),this.textarea=this.wrapper.firstChild},ja.prototype.screenReaderLabelChanged=function(D){D?this.textarea.setAttribute("aria-label",D):this.textarea.removeAttribute("aria-label")},ja.prototype.prepareSelection=function(){var D=this.cm,U=D.display,oe=D.doc,le=hs(D);if(D.options.moveInputWithCursor){var Ae=Xn(D,oe.sel.primary().head,"div"),We=U.wrapper.getBoundingClientRect(),Tt=U.lineDiv.getBoundingClientRect();le.teTop=Math.max(0,Math.min(U.wrapper.clientHeight-10,Ae.top+Tt.top-We.top)),le.teLeft=Math.max(0,Math.min(U.wrapper.clientWidth-10,Ae.left+Tt.left-We.left))}return le},ja.prototype.showSelection=function(D){var U=this.cm,oe=U.display;O(oe.cursorDiv,D.cursors),O(oe.selectionDiv,D.selection),D.teTop!=null&&(this.wrapper.style.top=D.teTop+"px",this.wrapper.style.left=D.teLeft+"px")},ja.prototype.reset=function(D){if(this.contextMenuPending||this.composing)return;var U=this.cm;if(U.somethingSelected()){this.prevInput="";var oe=U.getSelection();this.textarea.value=oe,U.state.focused&&W(this.textarea),m&&d>=9&&(this.hasSelection=oe)}else D||(this.prevInput=this.textarea.value="",m&&d>=9&&(this.hasSelection=null))},ja.prototype.getField=function(){return this.textarea},ja.prototype.supportsTouch=function(){return!1},ja.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!p||X()!=this.textarea))try{this.textarea.focus()}catch(D){}},ja.prototype.blur=function(){this.textarea.blur()},ja.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ja.prototype.receivedFocus=function(){this.slowPoll()},ja.prototype.slowPoll=function(){var D=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){D.poll(),D.cm.state.focused&&D.slowPoll()})},ja.prototype.fastPoll=function(){var D=!1,U=this;U.pollingFast=!0;function oe(){var le=U.poll();!le&&!D?(D=!0,U.polling.set(60,oe)):(U.pollingFast=!1,U.slowPoll())}U.polling.set(20,oe)},ja.prototype.poll=function(){var D=this,U=this.cm,oe=this.textarea,le=this.prevInput;if(this.contextMenuPending||!U.state.focused||Ht(oe)&&!le&&!this.composing||U.isReadOnly()||U.options.disableInput||U.state.keySeq)return!1;var Ae=oe.value;if(Ae==le&&!U.somethingSelected())return!1;if(m&&d>=9&&this.hasSelection===Ae||g&&/[\uf700-\uf7ff]/.test(Ae))return U.display.input.reset(),!1;if(U.doc.sel==U.display.selForContextMenu){var We=Ae.charCodeAt(0);if(We==8203&&!le&&(le="\u200B"),We==8666)return this.reset(),this.cm.execCommand("undo")}for(var Tt=0,Qt=Math.min(le.length,Ae.length);Tt1e3||Ae.indexOf(` -`)>-1?oe.value=D.prevInput="":D.prevInput=Ae,D.composing&&(D.composing.range.clear(),D.composing.range=U.markText(D.composing.start,U.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ja.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ja.prototype.onKeyPress=function(){m&&d>=9&&(this.hasSelection=null),this.fastPoll()},ja.prototype.onContextMenu=function(D){var U=this,oe=U.cm,le=oe.display,Ae=U.textarea;U.contextMenuPending&&U.contextMenuPending();var We=za(oe,D),Tt=le.scroller.scrollTop;if(!We||c)return;var Qt=oe.options.resetSelectionOnContextMenu;Qt&&oe.doc.sel.contains(We)==-1&&zs(oe,al)(oe.doc,Ie(We),ce);var fr=Ae.style.cssText,vr=U.wrapper.style.cssText,xn=U.wrapper.offsetParent.getBoundingClientRect();U.wrapper.style.cssText="position: static",Ae.style.cssText=`position: absolute; width: 30px; height: 30px; +`);var hi=document.activeElement;K(Hn),setTimeout(function(){le.display.lineSpace.removeChild(xn),hi.focus(),hi==Ae&&oe.showPrimarySelection()},50)}Pe(Ae,"copy",Tt),Pe(Ae,"cut",Tt)},qr.prototype.screenReaderLabelChanged=function(D){D?this.div.setAttribute("aria-label",D):this.div.removeAttribute("aria-label")},qr.prototype.prepareSelection=function(){var D=hs(this.cm,!1);return D.focus=document.activeElement==this.div,D},qr.prototype.showSelection=function(D,U){if(!D||!this.cm.display.view.length)return;(D.focus||U)&&this.showPrimarySelection(),this.showMultipleSelections(D)},qr.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},qr.prototype.showPrimarySelection=function(){var D=this.getSelection(),U=this.cm,oe=U.doc.sel.primary(),le=oe.from(),Ae=oe.to();if(U.display.viewTo==U.display.viewFrom||le.line>=U.display.viewTo||Ae.line=U.display.viewFrom&&Ln(U,le)||{node:Qt[0].measure.map[2],offset:0},vr=Ae.lineD.firstLine()&&(le=ar(le.line-1,$e(D.doc,le.line-1).length)),Ae.ch==$e(D.doc,Ae.line).text.length&&Ae.lineU.viewTo-1)return!1;var Ke,Tt,Qt;le.line==U.viewFrom||(Ke=Mo(D,le.line))==0?(Tt=er(U.view[0].line),Qt=U.view[0].node):(Tt=er(U.view[Ke].line),Qt=U.view[Ke-1].node.nextSibling);var fr=Mo(D,Ae.line),vr,xn;if(fr==U.view.length-1?(vr=U.viewTo-1,xn=U.lineDiv.lastChild):(vr=er(U.view[fr+1].line)-1,xn=U.view[fr+1].node.previousSibling),!Qt)return!1;for(var Hn=D.doc.splitLines(_a(D,Qt,xn,Tt,vr)),hi=gt(D.doc,ar(Tt,0),ar(vr,$e(D.doc,vr).text.length));Hn.length>1&&hi.length>1;)if(ge(Hn)==ge(hi))Hn.pop(),hi.pop(),vr--;else if(Hn[0]==hi[0])Hn.shift(),hi.shift(),Tt++;else break;for(var ci=0,ra=0,Pa=Hn[0],$a=hi[0],Qa=Math.min(Pa.length,$a.length);cile.ch&&Ka.charCodeAt(Ka.length-ra-1)==uo.charCodeAt(uo.length-ra-1);)ci--,ra++;Hn[Hn.length-1]=Ka.slice(0,Ka.length-ra).replace(/^\u200b+/,""),Hn[0]=Hn[0].slice(ci).replace(/\u200b+$/,"");var ws=ar(Tt,ci),ts=ar(vr,hi.length?ge(hi).length-ra:0);if(Hn.length>1||Hn[0]||It(ws,ts))return Tc(D.doc,Hn,ws,ts,"+input"),!0},qr.prototype.ensurePolled=function(){this.forceCompositionEnd()},qr.prototype.reset=function(){this.forceCompositionEnd()},qr.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},qr.prototype.readFromDOMSoon=function(){var D=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(D.readDOMTimeout=null,D.composing)if(D.composing.done)D.composing=null;else return;D.updateFromDOM()},80)},qr.prototype.updateFromDOM=function(){var D=this;(this.cm.isReadOnly()||!this.pollContent())&&Al(this.cm,function(){return Io(D.cm)})},qr.prototype.setUneditable=function(D){D.contentEditable="false"},qr.prototype.onKeyPress=function(D){if(D.charCode==0||this.composing)return;D.preventDefault(),this.cm.isReadOnly()||zs(this.cm,wt)(this.cm,String.fromCharCode(D.charCode==null?D.keyCode:D.charCode),0)},qr.prototype.readOnlyChanged=function(D){this.div.contentEditable=String(D!="nocursor")},qr.prototype.onContextMenu=function(){},qr.prototype.resetPosition=function(){},qr.prototype.needsContentAttribute=!0;function Ln(D,U){var oe=Aa(D,U.line);if(!oe||oe.hidden)return null;var le=$e(D.doc,U.line),Ae=ia(oe,le,U.line),Ke=yt(le,D.doc.direction),Tt="left";if(Ke){var Qt=Re(Ke,U.ch);Tt=Qt%2?"right":"left"}var fr=oa(Ae.map,U.ch,Tt);return fr.offset=fr.collapse=="right"?fr.end:fr.start,fr}function xi(D){for(var U=D;U;U=U.parentNode)if(/CodeMirror-gutter-wrapper/.test(U.className))return!0;return!1}function Ki(D,U){return U&&(D.bad=!0),D}function _a(D,U,oe,le,Ae){var Ke="",Tt=!1,Qt=D.doc.lineSeparator(),fr=!1;function vr(ci){return function(ra){return ra.id==ci}}function xn(){Tt&&(Ke+=Qt,fr&&(Ke+=Qt),Tt=fr=!1)}function Hn(ci){ci&&(xn(),Ke+=ci)}function hi(ci){if(ci.nodeType==1){var ra=ci.getAttribute("cm-text");if(ra){Hn(ra);return}var Pa=ci.getAttribute("cm-marker"),$a;if(Pa){var Qa=D.findMarks(ar(le,0),ar(Ae+1,0),vr(+Pa));Qa.length&&($a=Qa[0].find(0))&&Hn(gt(D.doc,$a.from,$a.to).join(Qt));return}if(ci.getAttribute("contenteditable")=="false")return;var Ka=/^(pre|div|p|li|table|br)$/i.test(ci.nodeName);if(!/^br$/i.test(ci.nodeName)&&ci.textContent.length==0)return;Ka&&xn();for(var uo=0;uo=9&&U.hasSelection&&(U.hasSelection=null),oe.poll()}),Pe(Ae,"paste",function(Tt){if(Ut(le,Tt)||zt(Tt,le))return;le.state.pasteIncoming=+new Date,oe.fastPoll()});function Ke(Tt){if(Ut(le,Tt))return;if(le.somethingSelected())tt({lineWise:!1,text:le.getSelections()});else if(le.options.lineWiseCopyCut){var Qt=Jt(le);tt({lineWise:!0,text:Qt.text}),Tt.type=="cut"?le.setSelections(Qt.ranges,null,ce):(oe.prevInput="",Ae.value=Qt.text.join(` +`),K(Ae))}else return;Tt.type=="cut"&&(le.state.cutIncoming=+new Date)}Pe(Ae,"cut",Ke),Pe(Ae,"copy",Ke),Pe(D.scroller,"paste",function(Tt){if(oi(D,Tt)||Ut(le,Tt))return;if(!Ae.dispatchEvent){le.state.pasteIncoming=+new Date,oe.focus();return}var Qt=new Event("paste");Qt.clipboardData=Tt.clipboardData,Ae.dispatchEvent(Qt)}),Pe(D.lineSpace,"selectstart",function(Tt){oi(D,Tt)||ht(Tt)}),Pe(Ae,"compositionstart",function(){var Tt=le.getCursor("from");oe.composing&&oe.composing.range.clear(),oe.composing={start:Tt,range:le.markText(Tt,le.getCursor("to"),{className:"CodeMirror-composing"})}}),Pe(Ae,"compositionend",function(){oe.composing&&(oe.poll(),oe.composing.range.clear(),oe.composing=null)})},ja.prototype.createField=function(D){this.wrapper=Xr(),this.textarea=this.wrapper.firstChild},ja.prototype.screenReaderLabelChanged=function(D){D?this.textarea.setAttribute("aria-label",D):this.textarea.removeAttribute("aria-label")},ja.prototype.prepareSelection=function(){var D=this.cm,U=D.display,oe=D.doc,le=hs(D);if(D.options.moveInputWithCursor){var Ae=Xn(D,oe.sel.primary().head,"div"),Ke=U.wrapper.getBoundingClientRect(),Tt=U.lineDiv.getBoundingClientRect();le.teTop=Math.max(0,Math.min(U.wrapper.clientHeight-10,Ae.top+Tt.top-Ke.top)),le.teLeft=Math.max(0,Math.min(U.wrapper.clientWidth-10,Ae.left+Tt.left-Ke.left))}return le},ja.prototype.showSelection=function(D){var U=this.cm,oe=U.display;O(oe.cursorDiv,D.cursors),O(oe.selectionDiv,D.selection),D.teTop!=null&&(this.wrapper.style.top=D.teTop+"px",this.wrapper.style.left=D.teLeft+"px")},ja.prototype.reset=function(D){if(this.contextMenuPending||this.composing)return;var U=this.cm;if(U.somethingSelected()){this.prevInput="";var oe=U.getSelection();this.textarea.value=oe,U.state.focused&&K(this.textarea),m&&d>=9&&(this.hasSelection=oe)}else D||(this.prevInput=this.textarea.value="",m&&d>=9&&(this.hasSelection=null))},ja.prototype.getField=function(){return this.textarea},ja.prototype.supportsTouch=function(){return!1},ja.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!p||X()!=this.textarea))try{this.textarea.focus()}catch(D){}},ja.prototype.blur=function(){this.textarea.blur()},ja.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ja.prototype.receivedFocus=function(){this.slowPoll()},ja.prototype.slowPoll=function(){var D=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){D.poll(),D.cm.state.focused&&D.slowPoll()})},ja.prototype.fastPoll=function(){var D=!1,U=this;U.pollingFast=!0;function oe(){var le=U.poll();!le&&!D?(D=!0,U.polling.set(60,oe)):(U.pollingFast=!1,U.slowPoll())}U.polling.set(20,oe)},ja.prototype.poll=function(){var D=this,U=this.cm,oe=this.textarea,le=this.prevInput;if(this.contextMenuPending||!U.state.focused||Ht(oe)&&!le&&!this.composing||U.isReadOnly()||U.options.disableInput||U.state.keySeq)return!1;var Ae=oe.value;if(Ae==le&&!U.somethingSelected())return!1;if(m&&d>=9&&this.hasSelection===Ae||g&&/[\uf700-\uf7ff]/.test(Ae))return U.display.input.reset(),!1;if(U.doc.sel==U.display.selForContextMenu){var Ke=Ae.charCodeAt(0);if(Ke==8203&&!le&&(le="\u200B"),Ke==8666)return this.reset(),this.cm.execCommand("undo")}for(var Tt=0,Qt=Math.min(le.length,Ae.length);Tt1e3||Ae.indexOf(` +`)>-1?oe.value=D.prevInput="":D.prevInput=Ae,D.composing&&(D.composing.range.clear(),D.composing.range=U.markText(D.composing.start,U.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ja.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ja.prototype.onKeyPress=function(){m&&d>=9&&(this.hasSelection=null),this.fastPoll()},ja.prototype.onContextMenu=function(D){var U=this,oe=U.cm,le=oe.display,Ae=U.textarea;U.contextMenuPending&&U.contextMenuPending();var Ke=za(oe,D),Tt=le.scroller.scrollTop;if(!Ke||c)return;var Qt=oe.options.resetSelectionOnContextMenu;Qt&&oe.doc.sel.contains(Ke)==-1&&zs(oe,al)(oe.doc,Ie(Ke),ce);var fr=Ae.style.cssText,vr=U.wrapper.style.cssText,xn=U.wrapper.offsetParent.getBoundingClientRect();U.wrapper.style.cssText="position: static",Ae.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(D.clientY-xn.top-5)+"px; left: "+(D.clientX-xn.left-5)+`px; z-index: 1000; background: `+(m?"rgba(255, 255, 255, .05)":"transparent")+`; - outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Hn;a&&(Hn=window.scrollY),le.input.focus(),a&&window.scrollTo(null,Hn),le.input.reset(),oe.somethingSelected()||(Ae.value=U.prevInput=" "),U.contextMenuPending=ci,le.selForContextMenu=oe.doc.sel,clearTimeout(le.detectingSelectAll);function hi(){if(Ae.selectionStart!=null){var Pa=oe.somethingSelected(),$a="\u200B"+(Pa?Ae.value:"");Ae.value="\u21DA",Ae.value=$a,U.prevInput=Pa?"":"\u200B",Ae.selectionStart=1,Ae.selectionEnd=$a.length,le.selForContextMenu=oe.doc.sel}}function ci(){if(U.contextMenuPending!=ci)return;if(U.contextMenuPending=!1,U.wrapper.style.cssText=vr,Ae.style.cssText=fr,m&&d<9&&le.scrollbars.setScrollTop(le.scroller.scrollTop=Tt),Ae.selectionStart!=null){(!m||m&&d<9)&&hi();var Pa=0,$a=function Qa(){le.selForContextMenu==oe.doc.sel&&Ae.selectionStart==0&&Ae.selectionEnd>0&&U.prevInput=="\u200B"?zs(oe,vc)(oe):Pa++<10?le.detectingSelectAll=setTimeout(Qa,500):(le.selForContextMenu=null,le.input.reset())};le.detectingSelectAll=setTimeout($a,200)}}if(m&&d>=9&&hi(),_){qe(D);var ra=function Pa(){ut(window,"mouseup",Pa),setTimeout(ci,20)};Pe(window,"mouseup",ra)}else setTimeout(ci,50)},ja.prototype.readOnlyChanged=function(D){D||this.reset(),this.textarea.disabled=D=="nocursor",this.textarea.readOnly=!!D},ja.prototype.setUneditable=function(){},ja.prototype.needsContentAttribute=!1;function zo(D,U){if(U=U?K(U):{},U.value=D.value,!U.tabindex&&D.tabIndex&&(U.tabindex=D.tabIndex),!U.placeholder&&D.placeholder&&(U.placeholder=D.placeholder),U.autofocus==null){var oe=X();U.autofocus=oe==D||D.getAttribute("autofocus")!=null&&oe==document.body}function le(){D.value=Qt.getValue()}var Ae;if(D.form&&(Pe(D.form,"submit",le),!U.leaveSubmitMethodAlone)){var We=D.form;Ae=We.submit;try{var Tt=We.submit=function(){le(),We.submit=Ae,We.submit(),We.submit=Tt}}catch(fr){}}U.finishInit=function(fr){fr.save=le,fr.getTextArea=function(){return D},fr.toTextArea=function(){fr.toTextArea=isNaN,le(),D.parentNode.removeChild(fr.getWrapperElement()),D.style.display="",D.form&&(ut(D.form,"submit",le),!U.leaveSubmitMethodAlone&&typeof D.form.submit=="function"&&(D.form.submit=Ae))}},D.style.display="none";var Qt=Or(function(fr){return D.parentNode.insertBefore(fr,D.nextSibling)},U);return Qt}function Eo(D){D.off=ut,D.on=Pe,D.wheelEventPixels=En,D.Doc=Rc,D.splitLines=at,D.countColumn=P,D.findColumn=xe,D.isWordChar=Z,D.Pass=re,D.signal=Ft,D.Line=Na,D.changeEnd=Ye,D.scrollbarModel=Vl,D.Pos=ar,D.cmpPos=It,D.modes=Ze,D.mimeModes=Gt,D.resolveMode=Sr,D.getMode=Tn,D.modeExtensions=cn,D.extendMode=Kn,D.copyState=lt,D.startState=Le,D.innerMode=mt,D.commands=Lu,D.keyMap=nu,D.keyName=nd,D.isModifierKey=Gu,D.lookupKey=ru,D.normalizeKeyMap=Yc,D.StringStream=ze,D.SharedTextMarker=Tu,D.TextMarker=Xc,D.LineWidget=Nc,D.e_preventDefault=ht,D.e_stopPropagation=Ee,D.e_stop=qe,D.addClass=J,D.contains=B,D.rmClass=C,D.keyNames=$c}Je(Or),Mr(Or);var ko="iter insert remove copy getEditor constructor".split(" ");for(var Ns in Rc.prototype)Rc.prototype.hasOwnProperty(Ns)&&V(ko,Ns)<0&&(Or.prototype[Ns]=function(D){return function(){return D.apply(this.doc,arguments)}}(Rc.prototype[Ns]));return or(Rc),Or.inputStyles={textarea:ja,contenteditable:qr},Or.defineMode=function(D){!Or.defaults.mode&&D!="null"&&(Or.defaults.mode=D),yr.apply(this,arguments)},Or.defineMIME=br,Or.defineMode("null",function(){return{token:function(U){return U.skipToEnd()}}}),Or.defineMIME("text/plain","null"),Or.defineExtension=function(D,U){Or.prototype[D]=U},Or.defineDocExtension=function(D,U){Rc.prototype[D]=U},Or.fromTextArea=zo,Eo(Or),Or.version="5.58.2",Or})},Vy0f:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("iYpf"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},W2nI:function(j,R,l){var x=l("IwbS"),b=l("ProS"),A=l("bYtY"),f=["itemStyle","opacity"],t=["emphasis","itemStyle","opacity"],e=["lineStyle","opacity"],m=["emphasis","lineStyle","opacity"];function d(u,r){return u.getVisual("opacity")||u.getModel().get(r)}function a(u,r,o){var h=u.getGraphicEl(),p=d(u,r);o!=null&&(p==null&&(p=1),p*=o),h.downplay&&h.downplay(),h.traverse(function(g){g.type!=="group"&&g.setStyle("opacity",p)})}function n(u,r){var o=d(u,r),h=u.getGraphicEl();h.traverse(function(p){p.type!=="group"&&p.setStyle("opacity",o)}),h.highlight&&h.highlight()}var s=x.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(u,r){var o=r.extent;u.moveTo(r.x1,r.y1),u.bezierCurveTo(r.cpx1,r.cpy1,r.cpx2,r.cpy2,r.x2,r.y2),r.orient==="vertical"?(u.lineTo(r.x2+o,r.y2),u.bezierCurveTo(r.cpx2+o,r.cpy2,r.cpx1+o,r.cpy1,r.x1+o,r.y1)):(u.lineTo(r.x2,r.y2+o),u.bezierCurveTo(r.cpx2,r.cpy2+o,r.cpx1,r.cpy1+o,r.x1,r.y1+o)),u.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),c=b.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(u,r,o){var h=this,p=u.getGraph(),g=this.group,v=u.layoutInfo,y=v.width,w=v.height,S=u.getData(),_=u.getData("edge"),I=u.get("orient");this._model=u,g.removeAll(),g.attr("position",[v.x,v.y]),p.eachEdge(function(C){var E=new s;E.dataIndex=C.dataIndex,E.seriesIndex=u.seriesIndex,E.dataType="edge";var O=C.getModel("lineStyle"),M=O.get("curveness"),F=C.node1.getLayout(),H=C.node1.getModel(),B=H.get("localX"),X=H.get("localY"),J=C.node2.getLayout(),k=C.node2.getModel(),W=k.get("localX"),z=k.get("localY"),K=C.getLayout(),P,G,V,q,re,ce,ie,fe;E.shape.extent=Math.max(1,K.dy),E.shape.orient=I,I==="vertical"?(P=(B!=null?B*y:F.x)+K.sy,G=(X!=null?X*w:F.y)+F.dy,V=(W!=null?W*y:J.x)+K.ty,q=z!=null?z*w:J.y,re=P,ce=G*(1-M)+q*M,ie=V,fe=G*M+q*(1-M)):(P=(B!=null?B*y:F.x)+F.dx,G=(X!=null?X*w:F.y)+K.sy,V=W!=null?W*y:J.x,q=(z!=null?z*w:J.y)+K.ty,re=P*(1-M)+V*M,ce=G,ie=P*M+V*(1-M),fe=q),E.setShape({x1:P,y1:G,x2:V,y2:q,cpx1:re,cpy1:ce,cpx2:ie,cpy2:fe}),E.setStyle(O.getItemStyle());switch(E.style.fill){case"source":E.style.fill=C.node1.getVisual("color");break;case"target":E.style.fill=C.node2.getVisual("color");break}x.setHoverStyle(E,C.getModel("emphasis.lineStyle").getItemStyle()),g.add(E),_.setItemGraphicEl(C.dataIndex,E)}),p.eachNode(function(C){var E=C.getLayout(),O=C.getModel(),M=O.get("localX"),F=O.get("localY"),H=O.getModel("label"),B=O.getModel("emphasis.label"),X=new x.Rect({shape:{x:M!=null?M*y:E.x,y:F!=null?F*w:E.y,width:E.dx,height:E.dy},style:O.getModel("itemStyle").getItemStyle()}),J=C.getModel("emphasis.itemStyle").getItemStyle();x.setLabelStyle(X.style,J,H,B,{labelFetcher:u,labelDataIndex:C.dataIndex,defaultText:C.id,isRectText:!0}),X.setStyle("fill",C.getVisual("color")),x.setHoverStyle(X,J),g.add(X),S.setItemGraphicEl(C.dataIndex,X),X.dataType="node"}),S.eachItemGraphicEl(function(C,E){var O=S.getItemModel(E);O.get("draggable")&&(C.drift=function(M,F){h._focusAdjacencyDisabled=!0,this.shape.x+=M,this.shape.y+=F,this.dirty(),o.dispatchAction({type:"dragNode",seriesId:u.id,dataIndex:S.getRawIndex(E),localX:this.shape.x/y,localY:this.shape.y/w})},C.ondragend=function(){h._focusAdjacencyDisabled=!1},C.draggable=!0,C.cursor="move"),C.highlight=function(){this.trigger("emphasis")},C.downplay=function(){this.trigger("normal")},C.focusNodeAdjHandler&&C.off("mouseover",C.focusNodeAdjHandler),C.unfocusNodeAdjHandler&&C.off("mouseout",C.unfocusNodeAdjHandler),O.get("focusNodeAdjacency")&&(C.on("mouseover",C.focusNodeAdjHandler=function(){h._focusAdjacencyDisabled||(h._clearTimer(),o.dispatchAction({type:"focusNodeAdjacency",seriesId:u.id,dataIndex:C.dataIndex}))}),C.on("mouseout",C.unfocusNodeAdjHandler=function(){h._focusAdjacencyDisabled||h._dispatchUnfocus(o)}))}),_.eachItemGraphicEl(function(C,E){var O=_.getItemModel(E);C.focusNodeAdjHandler&&C.off("mouseover",C.focusNodeAdjHandler),C.unfocusNodeAdjHandler&&C.off("mouseout",C.unfocusNodeAdjHandler),O.get("focusNodeAdjacency")&&(C.on("mouseover",C.focusNodeAdjHandler=function(){h._focusAdjacencyDisabled||(h._clearTimer(),o.dispatchAction({type:"focusNodeAdjacency",seriesId:u.id,edgeDataIndex:C.dataIndex}))}),C.on("mouseout",C.unfocusNodeAdjHandler=function(){h._focusAdjacencyDisabled||h._dispatchUnfocus(o)}))}),!this._data&&u.get("animation")&&g.setClipPath(i(g.getBoundingRect(),u,function(){g.removeClipPath()})),this._data=u.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(u){var r=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){r._unfocusDelayTimer=null,u.dispatchAction({type:"unfocusNodeAdjacency",seriesId:r._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(u,r,o,h){var p=u.getData(),g=p.graph,v=h.dataIndex,y=p.getItemModel(v),w=h.edgeDataIndex;if(v==null&&w==null)return;var S=g.getNodeByIndex(v),_=g.getEdgeByIndex(w);if(g.eachNode(function(C){a(C,f,.1)}),g.eachEdge(function(C){a(C,e,.1)}),S){n(S,t);var I=y.get("focusNodeAdjacency");I==="outEdges"?A.each(S.outEdges,function(C){if(C.dataIndex<0)return;n(C,m),n(C.node2,t)}):I==="inEdges"?A.each(S.inEdges,function(C){if(C.dataIndex<0)return;n(C,m),n(C.node1,t)}):I==="allEdges"&&A.each(S.edges,function(C){if(C.dataIndex<0)return;n(C,m),C.node1!==S&&n(C.node1,t),C.node2!==S&&n(C.node2,t)})}_&&(n(_,m),n(_.node1,t),n(_.node2,t))},unfocusNodeAdjacency:function(u,r,o,h){var p=u.getGraph();p.eachNode(function(g){a(g,f)}),p.eachEdge(function(g){a(g,e)})}});function i(u,r,o){var h=new x.Rect({shape:{x:u.x-10,y:u.y-10,width:0,height:u.height+20}});return x.initProps(h,{shape:{width:u.width+20}},r,o),h}j.exports=c},W4dC:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("bYtY"),f=A.each,t=A.createHashMap,e=l("7DRL"),m=l("TIY9"),d=l("yS9w"),a=l("mFDi"),n={geoJSON:m,svg:d},s={load:function(r,o,h){var p=[],g=t(),v=t(),y,w=u(r);return f(w,function(S){var _=n[S.type].load(r,S,h);f(_.regions,function(C){var E=C.name;o&&o.hasOwnProperty(E)&&(C=C.cloneShallow(E=o[E])),p.push(C),g.set(E,C),v.set(E,C.center)});var I=_.boundingRect;I&&(y?y.union(I):y=I.clone())}),{regions:p,regionsMap:g,nameCoordMap:v,boundingRect:y||new a(0,0,0,0)}},makeGraphic:c("makeGraphic"),removeGraphic:c("removeGraphic")};function c(r){return function(o,h){var p=u(o),g=[];return f(p,function(v){var y=n[v.type][r];y&&g.push(y(o,v,h))}),g}}function i(r){}function u(r){var o=e.retrieveMap(r)||[];return o}j.exports=s},WGYa:function(j,R,l){var x=l("7yuC"),b=x.forceLayout,A=l("HF/U"),f=A.simpleLayout,t=l("lOQZ"),e=t.circularLayout,m=l("OELB"),d=m.linearMap,a=l("QBsz"),n=l("bYtY");function s(c){c.eachSeriesByType("graph",function(i){var u=i.coordinateSystem;if(u&&u.type!=="view")return;if(i.get("layout")==="force"){var r=i.preservedPoints||{},o=i.getGraph(),h=o.data,p=o.edgeData,g=i.getModel("force"),v=g.get("initLayout");i.preservedPoints?h.each(function(H){var B=h.getId(H);h.setItemLayout(H,r[B]||[NaN,NaN])}):!v||v==="none"?f(i):v==="circular"&&e(i,"value");var y=h.getDataExtent("value"),w=p.getDataExtent("value"),S=g.get("repulsion"),_=g.get("edgeLength");n.isArray(S)||(S=[S,S]),n.isArray(_)||(_=[_,_]),_=[_[1],_[0]];var I=h.mapArray("value",function(H,B){var X=h.getItemLayout(B),J=d(H,y,S);return isNaN(J)&&(J=(S[0]+S[1])/2),{w:J,rep:J,fixed:h.getItemModel(B).get("fixed"),p:!X||isNaN(X[0])||isNaN(X[1])?null:X}}),C=p.mapArray("value",function(H,B){var X=o.getEdgeByIndex(B),J=d(H,w,_);isNaN(J)&&(J=(_[0]+_[1])/2);var k=X.getModel();return{n1:I[X.node1.dataIndex],n2:I[X.node2.dataIndex],d:J,curveness:k.get("lineStyle.curveness")||0,ignoreForceLayout:k.get("ignoreForceLayout")}}),u=i.coordinateSystem,E=u.getBoundingRect(),O=b(I,C,{rect:E,gravity:g.get("gravity"),friction:g.get("friction")}),M=O.step;O.step=function(H){for(var B=0,X=I.length;B=0&&n[i].disabled;i-=1);var u=null;return i!==-1&&(u=c[i],c.splice(i,1)),{values:c,removedValue:u}}var e=typeof window!="undefined"&&window.document&&window.document.documentElement,m=e,d=0;function a(){var n;return m?(n=d,d+=1):n="TEST_OR_SSR",n}},"WN+l":function(j,R,l){var x=l("bYtY"),b=l("IwbS");function A(t,e,m,d){var a=m.axis;if(a.scale.isBlank())return;var n=m.getModel("splitArea"),s=n.getModel("areaStyle"),c=s.get("color"),i=d.coordinateSystem.getRect(),u=a.getTicksCoords({tickModel:n,clamp:!0});if(!u.length)return;var r=c.length,o=t.__splitAreaColors,h=x.createHashMap(),p=0;if(o)for(var g=0;g=0;M--)C[M]==null&&(delete E[I[M]],I.pop())}function c(_,I){var C=_.visual,E=[];x.isObject(C)?t(C,function(M){E.push(M)}):C!=null&&E.push(C);var O={color:1,symbol:1};!I&&E.length===1&&!O.hasOwnProperty(_.type)&&(E[1]=E[0]),v(_,E)}function i(_){return{applyVisual:function(I,C,E){I=this.mapValueToVisual(I),E("color",_(C("color"),I))},_doMap:p([0,1])}}function u(_){var I=this.option.visual;return I[Math.round(f(_,[0,1],[0,I.length-1],!0))]||{}}function r(_){return function(I,C,E){E(_,this.mapValueToVisual(I))}}function o(_){var I=this.option.visual;return I[this.option.loop&&_!==m?_%I.length:_]}function h(){return this.option.visual[0]}function p(_){return{linear:function(I){return f(I,_,this.option.visual,!0)},category:o,piecewise:function(I,C){var E=g.call(this,C);return E==null&&(E=f(I,_,this.option.visual,!0)),E},fixed:h}}function g(_){var I=this.option,C=I.pieceList;if(I.hasSpecialVisual){var E=d.findPieceIndex(_,C),O=C[E];if(O&&O.visual)return O.visual[this.type]}}function v(_,I){return _.visual=I,_.type==="color"&&(_.parsedVisual=x.map(I,function(C){return b.parse(C)})),I}var y={linear:function(_){return f(_,this.option.dataExtent,[0,1],!0)},piecewise:function(_){var I=this.option.pieceList,C=d.findPieceIndex(_,I,!0);if(C!=null)return f(C,[0,I.length-1],[0,1],!0)},category:function(_){var I=this.option.categories?this.option.categoryMap[_]:_;return I==null?m:I},fixed:x.noop};d.listVisualTypes=function(){var _=[];return x.each(a,function(I,C){_.push(C)}),_},d.addVisualHandler=function(_,I){a[_]=I},d.isValidType=function(_){return a.hasOwnProperty(_)},d.eachVisual=function(_,I,C){x.isObject(_)?x.each(_,I,C):I.call(C,_)},d.mapVisual=function(_,I,C){var E,O=x.isArray(_)?[]:x.isObject(_)?{}:(E=!0,null);return d.eachVisual(_,function(M,F){var H=I.call(C,M,F);E?O=H:O[F]=H}),O},d.retrieveVisuals=function(_){var I={},C;return _&&t(a,function(E,O){_.hasOwnProperty(O)&&(I[O]=_[O],C=!0)}),C?I:null},d.prepareVisualTypes=function(_){if(e(_)){var I=[];t(_,function(C,E){I.push(E)}),_=I}else if(x.isArray(_))_=_.slice();else return[];return _.sort(function(C,E){return E==="color"&&C!=="color"&&C.indexOf("color")===0?1:-1}),_},d.dependsOn=function(_,I){return I==="color"?!!(_&&_.indexOf(I)===0):_===I},d.findPieceIndex=function(_,I,C){for(var E,O=Infinity,M=0,F=I.length;M0&&U.prevInput=="\u200B"?zs(oe,vc)(oe):Pa++<10?le.detectingSelectAll=setTimeout(Qa,500):(le.selForContextMenu=null,le.input.reset())};le.detectingSelectAll=setTimeout($a,200)}}if(m&&d>=9&&hi(),_){qe(D);var ra=function Pa(){ut(window,"mouseup",Pa),setTimeout(ci,20)};Pe(window,"mouseup",ra)}else setTimeout(ci,50)},ja.prototype.readOnlyChanged=function(D){D||this.reset(),this.textarea.disabled=D=="nocursor",this.textarea.readOnly=!!D},ja.prototype.setUneditable=function(){},ja.prototype.needsContentAttribute=!1;function zo(D,U){if(U=U?W(U):{},U.value=D.value,!U.tabindex&&D.tabIndex&&(U.tabindex=D.tabIndex),!U.placeholder&&D.placeholder&&(U.placeholder=D.placeholder),U.autofocus==null){var oe=X();U.autofocus=oe==D||D.getAttribute("autofocus")!=null&&oe==document.body}function le(){D.value=Qt.getValue()}var Ae;if(D.form&&(Pe(D.form,"submit",le),!U.leaveSubmitMethodAlone)){var Ke=D.form;Ae=Ke.submit;try{var Tt=Ke.submit=function(){le(),Ke.submit=Ae,Ke.submit(),Ke.submit=Tt}}catch(fr){}}U.finishInit=function(fr){fr.save=le,fr.getTextArea=function(){return D},fr.toTextArea=function(){fr.toTextArea=isNaN,le(),D.parentNode.removeChild(fr.getWrapperElement()),D.style.display="",D.form&&(ut(D.form,"submit",le),!U.leaveSubmitMethodAlone&&typeof D.form.submit=="function"&&(D.form.submit=Ae))}},D.style.display="none";var Qt=Or(function(fr){return D.parentNode.insertBefore(fr,D.nextSibling)},U);return Qt}function Eo(D){D.off=ut,D.on=Pe,D.wheelEventPixels=En,D.Doc=Rc,D.splitLines=at,D.countColumn=P,D.findColumn=xe,D.isWordChar=Z,D.Pass=re,D.signal=Ft,D.Line=Na,D.changeEnd=Ye,D.scrollbarModel=Vl,D.Pos=ar,D.cmpPos=It,D.modes=Ze,D.mimeModes=Gt,D.resolveMode=Sr,D.getMode=Tn,D.modeExtensions=cn,D.extendMode=Wn,D.copyState=lt,D.startState=Le,D.innerMode=mt,D.commands=Lu,D.keyMap=nu,D.keyName=nd,D.isModifierKey=Gu,D.lookupKey=ru,D.normalizeKeyMap=Yc,D.StringStream=ze,D.SharedTextMarker=Tu,D.TextMarker=Xc,D.LineWidget=Nc,D.e_preventDefault=ht,D.e_stopPropagation=Ee,D.e_stop=qe,D.addClass=J,D.contains=B,D.rmClass=C,D.keyNames=$c}Je(Or),Mr(Or);var ko="iter insert remove copy getEditor constructor".split(" ");for(var Ns in Rc.prototype)Rc.prototype.hasOwnProperty(Ns)&&V(ko,Ns)<0&&(Or.prototype[Ns]=function(D){return function(){return D.apply(this.doc,arguments)}}(Rc.prototype[Ns]));return or(Rc),Or.inputStyles={textarea:ja,contenteditable:qr},Or.defineMode=function(D){!Or.defaults.mode&&D!="null"&&(Or.defaults.mode=D),yr.apply(this,arguments)},Or.defineMIME=br,Or.defineMode("null",function(){return{token:function(U){return U.skipToEnd()}}}),Or.defineMIME("text/plain","null"),Or.defineExtension=function(D,U){Or.prototype[D]=U},Or.defineDocExtension=function(D,U){Rc.prototype[D]=U},Or.fromTextArea=zo,Eo(Or),Or.version="5.58.2",Or})},Vy0f:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("iYpf"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},W2nI:function(j,R,l){var x=l("IwbS"),b=l("ProS"),A=l("bYtY"),f=["itemStyle","opacity"],t=["emphasis","itemStyle","opacity"],e=["lineStyle","opacity"],m=["emphasis","lineStyle","opacity"];function d(u,r){return u.getVisual("opacity")||u.getModel().get(r)}function a(u,r,o){var h=u.getGraphicEl(),p=d(u,r);o!=null&&(p==null&&(p=1),p*=o),h.downplay&&h.downplay(),h.traverse(function(g){g.type!=="group"&&g.setStyle("opacity",p)})}function n(u,r){var o=d(u,r),h=u.getGraphicEl();h.traverse(function(p){p.type!=="group"&&p.setStyle("opacity",o)}),h.highlight&&h.highlight()}var s=x.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(u,r){var o=r.extent;u.moveTo(r.x1,r.y1),u.bezierCurveTo(r.cpx1,r.cpy1,r.cpx2,r.cpy2,r.x2,r.y2),r.orient==="vertical"?(u.lineTo(r.x2+o,r.y2),u.bezierCurveTo(r.cpx2+o,r.cpy2,r.cpx1+o,r.cpy1,r.x1+o,r.y1)):(u.lineTo(r.x2,r.y2+o),u.bezierCurveTo(r.cpx2,r.cpy2+o,r.cpx1,r.cpy1+o,r.x1,r.y1+o)),u.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),c=b.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(u,r,o){var h=this,p=u.getGraph(),g=this.group,v=u.layoutInfo,y=v.width,w=v.height,S=u.getData(),_=u.getData("edge"),I=u.get("orient");this._model=u,g.removeAll(),g.attr("position",[v.x,v.y]),p.eachEdge(function(C){var E=new s;E.dataIndex=C.dataIndex,E.seriesIndex=u.seriesIndex,E.dataType="edge";var O=C.getModel("lineStyle"),M=O.get("curveness"),F=C.node1.getLayout(),H=C.node1.getModel(),B=H.get("localX"),X=H.get("localY"),J=C.node2.getLayout(),k=C.node2.getModel(),K=k.get("localX"),z=k.get("localY"),W=C.getLayout(),P,G,V,q,re,ce,ie,fe;E.shape.extent=Math.max(1,W.dy),E.shape.orient=I,I==="vertical"?(P=(B!=null?B*y:F.x)+W.sy,G=(X!=null?X*w:F.y)+F.dy,V=(K!=null?K*y:J.x)+W.ty,q=z!=null?z*w:J.y,re=P,ce=G*(1-M)+q*M,ie=V,fe=G*M+q*(1-M)):(P=(B!=null?B*y:F.x)+F.dx,G=(X!=null?X*w:F.y)+W.sy,V=K!=null?K*y:J.x,q=(z!=null?z*w:J.y)+W.ty,re=P*(1-M)+V*M,ce=G,ie=P*M+V*(1-M),fe=q),E.setShape({x1:P,y1:G,x2:V,y2:q,cpx1:re,cpy1:ce,cpx2:ie,cpy2:fe}),E.setStyle(O.getItemStyle());switch(E.style.fill){case"source":E.style.fill=C.node1.getVisual("color");break;case"target":E.style.fill=C.node2.getVisual("color");break}x.setHoverStyle(E,C.getModel("emphasis.lineStyle").getItemStyle()),g.add(E),_.setItemGraphicEl(C.dataIndex,E)}),p.eachNode(function(C){var E=C.getLayout(),O=C.getModel(),M=O.get("localX"),F=O.get("localY"),H=O.getModel("label"),B=O.getModel("emphasis.label"),X=new x.Rect({shape:{x:M!=null?M*y:E.x,y:F!=null?F*w:E.y,width:E.dx,height:E.dy},style:O.getModel("itemStyle").getItemStyle()}),J=C.getModel("emphasis.itemStyle").getItemStyle();x.setLabelStyle(X.style,J,H,B,{labelFetcher:u,labelDataIndex:C.dataIndex,defaultText:C.id,isRectText:!0}),X.setStyle("fill",C.getVisual("color")),x.setHoverStyle(X,J),g.add(X),S.setItemGraphicEl(C.dataIndex,X),X.dataType="node"}),S.eachItemGraphicEl(function(C,E){var O=S.getItemModel(E);O.get("draggable")&&(C.drift=function(M,F){h._focusAdjacencyDisabled=!0,this.shape.x+=M,this.shape.y+=F,this.dirty(),o.dispatchAction({type:"dragNode",seriesId:u.id,dataIndex:S.getRawIndex(E),localX:this.shape.x/y,localY:this.shape.y/w})},C.ondragend=function(){h._focusAdjacencyDisabled=!1},C.draggable=!0,C.cursor="move"),C.highlight=function(){this.trigger("emphasis")},C.downplay=function(){this.trigger("normal")},C.focusNodeAdjHandler&&C.off("mouseover",C.focusNodeAdjHandler),C.unfocusNodeAdjHandler&&C.off("mouseout",C.unfocusNodeAdjHandler),O.get("focusNodeAdjacency")&&(C.on("mouseover",C.focusNodeAdjHandler=function(){h._focusAdjacencyDisabled||(h._clearTimer(),o.dispatchAction({type:"focusNodeAdjacency",seriesId:u.id,dataIndex:C.dataIndex}))}),C.on("mouseout",C.unfocusNodeAdjHandler=function(){h._focusAdjacencyDisabled||h._dispatchUnfocus(o)}))}),_.eachItemGraphicEl(function(C,E){var O=_.getItemModel(E);C.focusNodeAdjHandler&&C.off("mouseover",C.focusNodeAdjHandler),C.unfocusNodeAdjHandler&&C.off("mouseout",C.unfocusNodeAdjHandler),O.get("focusNodeAdjacency")&&(C.on("mouseover",C.focusNodeAdjHandler=function(){h._focusAdjacencyDisabled||(h._clearTimer(),o.dispatchAction({type:"focusNodeAdjacency",seriesId:u.id,edgeDataIndex:C.dataIndex}))}),C.on("mouseout",C.unfocusNodeAdjHandler=function(){h._focusAdjacencyDisabled||h._dispatchUnfocus(o)}))}),!this._data&&u.get("animation")&&g.setClipPath(i(g.getBoundingRect(),u,function(){g.removeClipPath()})),this._data=u.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(u){var r=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){r._unfocusDelayTimer=null,u.dispatchAction({type:"unfocusNodeAdjacency",seriesId:r._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(u,r,o,h){var p=u.getData(),g=p.graph,v=h.dataIndex,y=p.getItemModel(v),w=h.edgeDataIndex;if(v==null&&w==null)return;var S=g.getNodeByIndex(v),_=g.getEdgeByIndex(w);if(g.eachNode(function(C){a(C,f,.1)}),g.eachEdge(function(C){a(C,e,.1)}),S){n(S,t);var I=y.get("focusNodeAdjacency");I==="outEdges"?A.each(S.outEdges,function(C){if(C.dataIndex<0)return;n(C,m),n(C.node2,t)}):I==="inEdges"?A.each(S.inEdges,function(C){if(C.dataIndex<0)return;n(C,m),n(C.node1,t)}):I==="allEdges"&&A.each(S.edges,function(C){if(C.dataIndex<0)return;n(C,m),C.node1!==S&&n(C.node1,t),C.node2!==S&&n(C.node2,t)})}_&&(n(_,m),n(_.node1,t),n(_.node2,t))},unfocusNodeAdjacency:function(u,r,o,h){var p=u.getGraph();p.eachNode(function(g){a(g,f)}),p.eachEdge(function(g){a(g,e)})}});function i(u,r,o){var h=new x.Rect({shape:{x:u.x-10,y:u.y-10,width:0,height:u.height+20}});return x.initProps(h,{shape:{width:u.width+20}},r,o),h}j.exports=c},W4dC:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("bYtY"),f=A.each,t=A.createHashMap,e=l("7DRL"),m=l("TIY9"),d=l("yS9w"),a=l("mFDi"),n={geoJSON:m,svg:d},s={load:function(r,o,h){var p=[],g=t(),v=t(),y,w=u(r);return f(w,function(S){var _=n[S.type].load(r,S,h);f(_.regions,function(C){var E=C.name;o&&o.hasOwnProperty(E)&&(C=C.cloneShallow(E=o[E])),p.push(C),g.set(E,C),v.set(E,C.center)});var I=_.boundingRect;I&&(y?y.union(I):y=I.clone())}),{regions:p,regionsMap:g,nameCoordMap:v,boundingRect:y||new a(0,0,0,0)}},makeGraphic:c("makeGraphic"),removeGraphic:c("removeGraphic")};function c(r){return function(o,h){var p=u(o),g=[];return f(p,function(v){var y=n[v.type][r];y&&g.push(y(o,v,h))}),g}}function i(r){}function u(r){var o=e.retrieveMap(r)||[];return o}j.exports=s},WGYa:function(j,R,l){var x=l("7yuC"),b=x.forceLayout,A=l("HF/U"),f=A.simpleLayout,t=l("lOQZ"),e=t.circularLayout,m=l("OELB"),d=m.linearMap,a=l("QBsz"),n=l("bYtY");function s(c){c.eachSeriesByType("graph",function(i){var u=i.coordinateSystem;if(u&&u.type!=="view")return;if(i.get("layout")==="force"){var r=i.preservedPoints||{},o=i.getGraph(),h=o.data,p=o.edgeData,g=i.getModel("force"),v=g.get("initLayout");i.preservedPoints?h.each(function(H){var B=h.getId(H);h.setItemLayout(H,r[B]||[NaN,NaN])}):!v||v==="none"?f(i):v==="circular"&&e(i,"value");var y=h.getDataExtent("value"),w=p.getDataExtent("value"),S=g.get("repulsion"),_=g.get("edgeLength");n.isArray(S)||(S=[S,S]),n.isArray(_)||(_=[_,_]),_=[_[1],_[0]];var I=h.mapArray("value",function(H,B){var X=h.getItemLayout(B),J=d(H,y,S);return isNaN(J)&&(J=(S[0]+S[1])/2),{w:J,rep:J,fixed:h.getItemModel(B).get("fixed"),p:!X||isNaN(X[0])||isNaN(X[1])?null:X}}),C=p.mapArray("value",function(H,B){var X=o.getEdgeByIndex(B),J=d(H,w,_);isNaN(J)&&(J=(_[0]+_[1])/2);var k=X.getModel();return{n1:I[X.node1.dataIndex],n2:I[X.node2.dataIndex],d:J,curveness:k.get("lineStyle.curveness")||0,ignoreForceLayout:k.get("ignoreForceLayout")}}),u=i.coordinateSystem,E=u.getBoundingRect(),O=b(I,C,{rect:E,gravity:g.get("gravity"),friction:g.get("friction")}),M=O.step;O.step=function(H){for(var B=0,X=I.length;B=0&&n[i].disabled;i-=1);var u=null;return i!==-1&&(u=c[i],c.splice(i,1)),{values:c,removedValue:u}}var e=typeof window!="undefined"&&window.document&&window.document.documentElement,m=e,d=0;function a(){var n;return m?(n=d,d+=1):n="TEST_OR_SSR",n}},"WN+l":function(j,R,l){var x=l("bYtY"),b=l("IwbS");function A(t,e,m,d){var a=m.axis;if(a.scale.isBlank())return;var n=m.getModel("splitArea"),s=n.getModel("areaStyle"),c=s.get("color"),i=d.coordinateSystem.getRect(),u=a.getTicksCoords({tickModel:n,clamp:!0});if(!u.length)return;var r=c.length,o=t.__splitAreaColors,h=x.createHashMap(),p=0;if(o)for(var g=0;g=0;M--)C[M]==null&&(delete E[I[M]],I.pop())}function c(_,I){var C=_.visual,E=[];x.isObject(C)?t(C,function(M){E.push(M)}):C!=null&&E.push(C);var O={color:1,symbol:1};!I&&E.length===1&&!O.hasOwnProperty(_.type)&&(E[1]=E[0]),v(_,E)}function i(_){return{applyVisual:function(I,C,E){I=this.mapValueToVisual(I),E("color",_(C("color"),I))},_doMap:p([0,1])}}function u(_){var I=this.option.visual;return I[Math.round(f(_,[0,1],[0,I.length-1],!0))]||{}}function r(_){return function(I,C,E){E(_,this.mapValueToVisual(I))}}function o(_){var I=this.option.visual;return I[this.option.loop&&_!==m?_%I.length:_]}function h(){return this.option.visual[0]}function p(_){return{linear:function(I){return f(I,_,this.option.visual,!0)},category:o,piecewise:function(I,C){var E=g.call(this,C);return E==null&&(E=f(I,_,this.option.visual,!0)),E},fixed:h}}function g(_){var I=this.option,C=I.pieceList;if(I.hasSpecialVisual){var E=d.findPieceIndex(_,C),O=C[E];if(O&&O.visual)return O.visual[this.type]}}function v(_,I){return _.visual=I,_.type==="color"&&(_.parsedVisual=x.map(I,function(C){return b.parse(C)})),I}var y={linear:function(_){return f(_,this.option.dataExtent,[0,1],!0)},piecewise:function(_){var I=this.option.pieceList,C=d.findPieceIndex(_,I,!0);if(C!=null)return f(C,[0,I.length-1],[0,1],!0)},category:function(_){var I=this.option.categories?this.option.categoryMap[_]:_;return I==null?m:I},fixed:x.noop};d.listVisualTypes=function(){var _=[];return x.each(a,function(I,C){_.push(C)}),_},d.addVisualHandler=function(_,I){a[_]=I},d.isValidType=function(_){return a.hasOwnProperty(_)},d.eachVisual=function(_,I,C){x.isObject(_)?x.each(_,I,C):I.call(C,_)},d.mapVisual=function(_,I,C){var E,O=x.isArray(_)?[]:x.isObject(_)?{}:(E=!0,null);return d.eachVisual(_,function(M,F){var H=I.call(C,M,F);E?O=H:O[F]=H}),O},d.retrieveVisuals=function(_){var I={},C;return _&&t(a,function(E,O){_.hasOwnProperty(O)&&(I[O]=_[O],C=!0)}),C?I:null},d.prepareVisualTypes=function(_){if(e(_)){var I=[];t(_,function(C,E){I.push(E)}),_=I}else if(x.isArray(_))_=_.slice();else return[];return _.sort(function(C,E){return E==="color"&&C!=="color"&&C.indexOf("color")===0?1:-1}),_},d.dependsOn=function(_,I){return I==="color"?!!(_&&_.indexOf(I)===0):_===I},d.findPieceIndex=function(_,I,C){for(var E,O=Infinity,M=0,F=I.length;M1&&arguments[1]!==void 0?arguments[1]:!1,fe=ce.getAttribute("id")||ce.getAttribute("data-reactid")||ce.getAttribute("name");if(ie&&X[fe])return X[fe];var xe=window.getComputedStyle(ce),Se=xe.getPropertyValue("box-sizing")||xe.getPropertyValue("-moz-box-sizing")||xe.getPropertyValue("-webkit-box-sizing"),ke=parseFloat(xe.getPropertyValue("padding-bottom"))+parseFloat(xe.getPropertyValue("padding-top")),ge=parseFloat(xe.getPropertyValue("border-bottom-width"))+parseFloat(xe.getPropertyValue("border-top-width")),Be=B.map(function(ue){return"".concat(ue,":").concat(xe.getPropertyValue(ue))}).join(";"),ee={sizingStyle:Be,paddingSize:ke,borderSize:ge,boxSizing:Se};return ie&&fe&&(X[fe]=ee),ee}function W(ce){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,xe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;J||(J=document.createElement("textarea"),J.setAttribute("tab-index","-1"),J.setAttribute("aria-hidden","true"),document.body.appendChild(J)),ce.getAttribute("wrap")?J.setAttribute("wrap",ce.getAttribute("wrap")):J.removeAttribute("wrap");var Se=k(ce,ie),ke=Se.paddingSize,ge=Se.borderSize,Be=Se.boxSizing,ee=Se.sizingStyle;J.setAttribute("style","".concat(ee,";").concat(H)),J.value=ce.value||ce.placeholder||"";var ue=Number.MIN_SAFE_INTEGER,Ge=Number.MAX_SAFE_INTEGER,ae=J.scrollHeight,Z;if(Be==="border-box"?ae+=ge:Be==="content-box"&&(ae-=ke),fe!==null||xe!==null){J.value=" ";var Y=J.scrollHeight-ke;fe!==null&&(ue=Y*fe,Be==="border-box"&&(ue=ue+ke+ge),ae=Math.max(ue,ae)),xe!==null&&(Ge=Y*xe,Be==="border-box"&&(Ge=Ge+ke+ge),Z=ae>Ge?"":"hidden",ae=Math.min(Ge,ae))}return{height:ae,minHeight:ue,maxHeight:Ge,overflowY:Z,resize:"none"}}var z=l("Gytx"),K=l.n(z),P;(function(ce){ce[ce.NONE=0]="NONE",ce[ce.RESIZING=1]="RESIZING",ce[ce.RESIZED=2]="RESIZED"})(P||(P={}));var G=function(ce){Object(f.a)(fe,ce);var ie=Object(t.a)(fe);function fe(xe){var Se;return Object(b.a)(this,fe),Se=ie.call(this,xe),Se.nextFrameActionId=void 0,Se.resizeFrameId=void 0,Se.textArea=void 0,Se.saveTextArea=function(ke){Se.textArea=ke},Se.handleResize=function(ke){var ge=Se.state.resizeStatus,Be=Se.props,ee=Be.autoSize,ue=Be.onResize;if(ge!==P.NONE)return;typeof ue=="function"&&ue(ke),ee&&Se.resizeOnNextFrame()},Se.resizeOnNextFrame=function(){cancelAnimationFrame(Se.nextFrameActionId),Se.nextFrameActionId=requestAnimationFrame(Se.resizeTextarea)},Se.resizeTextarea=function(){var ke=Se.props.autoSize;if(!ke||!Se.textArea)return;var ge=ke.minRows,Be=ke.maxRows,ee=W(Se.textArea,!1,ge,Be);Se.setState({textareaStyles:ee,resizeStatus:P.RESIZING},function(){cancelAnimationFrame(Se.resizeFrameId),Se.resizeFrameId=requestAnimationFrame(function(){Se.setState({resizeStatus:P.RESIZED},function(){Se.resizeFrameId=requestAnimationFrame(function(){Se.setState({resizeStatus:P.NONE}),Se.fixFirefoxAutoScroll()})})})})},Se.renderTextArea=function(){var ke=Se.props,ge=ke.prefixCls,Be=ge===void 0?"rc-textarea":ge,ee=ke.autoSize,ue=ke.onResize,Ge=ke.className,ae=ke.disabled,Z=Se.state,Y=Z.textareaStyles,te=Z.resizeStatus,we=Object(O.a)(Se.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),pe=F()(Be,Ge,Object(d.a)({},"".concat(Be,"-disabled"),ae));"value"in we&&(we.value=we.value||"");var De=Object(m.a)(Object(m.a)(Object(m.a)({},Se.props.style),Y),te===P.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return e.createElement(E,{onResize:Se.handleResize,disabled:!(ee||ue)},e.createElement("textarea",Object(x.a)({},we,{className:pe,style:De,ref:Se.saveTextArea})))},Se.state={textareaStyles:{},resizeStatus:P.NONE},Se}return Object(A.a)(fe,[{key:"componentDidUpdate",value:function(Se){(Se.value!==this.props.value||!K()(Se.autoSize,this.props.autoSize))&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var Se=this.textArea.selectionStart,ke=this.textArea.selectionEnd;this.textArea.setSelectionRange(Se,ke)}}catch(ge){}}},{key:"render",value:function(){return this.renderTextArea()}}]),fe}(e.Component),V=G,q=function(ce){Object(f.a)(fe,ce);var ie=Object(t.a)(fe);function fe(xe){var Se;Object(b.a)(this,fe),Se=ie.call(this,xe),Se.resizableTextArea=void 0,Se.focus=function(){Se.resizableTextArea.textArea.focus()},Se.saveTextArea=function(ge){Se.resizableTextArea=ge},Se.handleChange=function(ge){var Be=Se.props.onChange;Se.setValue(ge.target.value,function(){Se.resizableTextArea.resizeTextarea()}),Be&&Be(ge)},Se.handleKeyDown=function(ge){var Be=Se.props,ee=Be.onPressEnter,ue=Be.onKeyDown;ge.keyCode===13&&ee&&ee(ge),ue&&ue(ge)};var ke=typeof xe.value=="undefined"||xe.value===null?xe.defaultValue:xe.value;return Se.state={value:ke},Se}return Object(A.a)(fe,[{key:"setValue",value:function(Se,ke){"value"in this.props||this.setState({value:Se},ke)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return e.createElement(V,Object(x.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(Se){return"value"in Se?{value:Se.value}:null}}]),fe}(e.Component),re=R.default=q},YH21:function(j,R,l){var x=l("H6uX");R.Dispatcher=x;var b=l("ItGF"),A=l("Ze12"),f=A.isCanvasEl,t=A.transformCoordWithViewport,e=typeof window!="undefined"&&!!window.addEventListener,m=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,d=[];function a(p,g,v,y){return v=v||{},y||!b.canvasSupported?n(p,g,v):b.browser.firefox&&g.layerX!=null&&g.layerX!==g.offsetX?(v.zrX=g.layerX,v.zrY=g.layerY):g.offsetX!=null?(v.zrX=g.offsetX,v.zrY=g.offsetY):n(p,g,v),v}function n(p,g,v){if(b.domSupported&&p.getBoundingClientRect){var y=g.clientX,w=g.clientY;if(f(p)){var S=p.getBoundingClientRect();v.zrX=y-S.left,v.zrY=w-S.top;return}else if(t(d,p,y,w)){v.zrX=d[0],v.zrY=d[1];return}}v.zrX=v.zrY=0}function s(p){return p||window.event}function c(p,g,v){if(g=s(g),g.zrX!=null)return g;var y=g.type,w=y&&y.indexOf("touch")>=0;if(!w)a(p,g,g,v),g.zrDelta=g.wheelDelta?g.wheelDelta/120:-(g.detail||0)/3;else{var S=y!=="touchend"?g.targetTouches[0]:g.changedTouches[0];S&&a(p,S,g,v)}var _=g.button;return g.which==null&&_!==void 0&&m.test(g.type)&&(g.which=_&1?1:_&2?3:_&4?2:0),g}function i(p,g,v,y){e?p.addEventListener(g,v,y):p.attachEvent("on"+g,v)}function u(p,g,v,y){e?p.removeEventListener(g,v,y):p.detachEvent("on"+g,v)}var r=e?function(p){p.preventDefault(),p.stopPropagation(),p.cancelBubble=!0}:function(p){p.returnValue=!1,p.cancelBubble=!0};function o(p){return p.which===2||p.which===3}function h(p){return p.which>1}R.clientToLocal=a,R.getNativeEvent=s,R.normalizeEvent=c,R.addEventListener=i,R.removeEventListener=u,R.stop=r,R.isMiddleOrRightButtonOnMouseUpDown=o,R.notLeftMouse=h},YJ9k:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;function x(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var m=0;m0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[be].sort(y)}}]),Ne}();function y(Ne,me){var be=Ne.node.sortableInfo.index,Re=me.node.sortableInfo.index;return be-Re}function w(Ne,me,be){return Ne=Ne.slice(),Ne.splice(be<0?Ne.length+be:be,0,Ne.splice(me,1)[0]),Ne}function S(Ne,me){return Object.keys(Ne).reduce(function(be,Re){return me.indexOf(Re)===-1&&(be[Re]=Ne[Re]),be},{})}var _={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},I=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Ne=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],me=(Array.prototype.slice.call(Ne).join("").match(/-(moz|webkit|ms)-/)||Ne.OLink===""&&["","o"])[1];switch(me){case"ms":return"ms";default:return me&&me.length?me[0].toUpperCase()+me.substr(1):""}}();function C(Ne,me){Object.keys(me).forEach(function(be){Ne.style[be]=me[be]})}function E(Ne,me){Ne.style["".concat(I,"Transform")]=me==null?"":"translate3d(".concat(me.x,"px,").concat(me.y,"px,0)")}function O(Ne,me){Ne.style["".concat(I,"TransitionDuration")]=me==null?"":"".concat(me,"ms")}function M(Ne,me){for(;Ne;){if(me(Ne))return Ne;Ne=Ne.parentNode}return null}function F(Ne,me,be){return Math.max(Ne,Math.min(be,me))}function H(Ne){return Ne.substr(-2)==="px"?parseFloat(Ne):0}function B(Ne){var me=window.getComputedStyle(Ne);return{bottom:H(me.marginBottom),left:H(me.marginLeft),right:H(me.marginRight),top:H(me.marginTop)}}function X(Ne,me){var be=me.displayName||me.name;return be?"".concat(Ne,"(").concat(be,")"):Ne}function J(Ne,me){var be=Ne.getBoundingClientRect();return{top:be.top+me.top,left:be.left+me.left}}function k(Ne){return Ne.touches&&Ne.touches.length?{x:Ne.touches[0].pageX,y:Ne.touches[0].pageY}:Ne.changedTouches&&Ne.changedTouches.length?{x:Ne.changedTouches[0].pageX,y:Ne.changedTouches[0].pageY}:{x:Ne.pageX,y:Ne.pageY}}function W(Ne){return Ne.touches&&Ne.touches.length||Ne.changedTouches&&Ne.changedTouches.length}function z(Ne,me){var be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!Ne)return;var Re={left:be.left+Ne.offsetLeft,top:be.top+Ne.offsetTop};return Ne.parentNode===me?Re:z(Ne.parentNode,me,Re)}function K(Ne,me,be){return Neme?Ne-1:Ne>be&&Ne0&&be[pt].height>0){var Pe=yt.getContext("2d");Pe.drawImage(be[pt],0,0)}}),Re}function xe(Ne){var me,be,Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return be=me=function(it){Object(d.a)(yt,it);function yt(){return Object(f.a)(this,yt),Object(e.a)(this,Object(m.a)(yt).apply(this,arguments))}return Object(t.a)(yt,[{key:"componentDidMount",value:function(){var Pe=Object(r.findDOMNode)(this);Pe.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return p()(Re.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Pe=Re.withRef?"wrappedInstance":null;return Object(s.createElement)(Ne,Object(x.a)({ref:Pe},this.props))}}]),yt}(s.Component),Object(n.a)(me,"displayName",X("sortableHandle",Ne)),be}function Se(Ne){return Ne.sortableHandle!=null}var ke=function(){function Ne(me,be){Object(f.a)(this,Ne),this.container=me,this.onScrollCallback=be}return Object(t.a)(Ne,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(be){var Re=this,it=be.translate,yt=be.minTranslate,pt=be.maxTranslate,Pe=be.width,Nt=be.height,ut={x:0,y:0},Ft={x:1,y:1},Ut={x:10,y:10},Wt=this.container,$t=Wt.scrollTop,or=Wt.scrollLeft,ht=Wt.scrollHeight,Ee=Wt.scrollWidth,de=Wt.clientHeight,qe=Wt.clientWidth,rt=$t===0,ve=ht-$t-de===0,bt=or===0,jt=Ee-or-qe===0;it.y>=pt.y-Nt/2&&!ve?(ut.y=1,Ft.y=Ut.y*Math.abs((pt.y-Nt/2-it.y)/Nt)):it.x>=pt.x-Pe/2&&!jt?(ut.x=1,Ft.x=Ut.x*Math.abs((pt.x-Pe/2-it.x)/Pe)):it.y<=yt.y+Nt/2&&!rt?(ut.y=-1,Ft.y=Ut.y*Math.abs((it.y-Nt/2-yt.y)/Nt)):it.x<=yt.x+Pe/2&&!bt&&(ut.x=-1,Ft.x=Ut.x*Math.abs((it.x-Pe/2-yt.x)/Pe)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(ut.x!==0||ut.y!==0)&&(this.interval=setInterval(function(){Re.isAutoScrolling=!0;var He={left:Ft.x*ut.x,top:Ft.y*ut.y};Re.container.scrollTop+=He.top,Re.container.scrollLeft+=He.left,Re.onScrollCallback(He)},5))}}]),Ne}();function ge(Ne){var me=Ne.node;return{height:me.offsetHeight,width:me.offsetWidth}}function Be(Ne){var me=[ie.Input,ie.Textarea,ie.Select,ie.Option,ie.Button];return me.indexOf(Ne.target.tagName)!==-1?!0:!!M(Ne.target,function(be){return be.contentEditable==="true"})}var ee={axis:u.a.oneOf(["x","y","xy"]),contentWindow:u.a.any,disableAutoscroll:u.a.bool,distance:u.a.number,getContainer:u.a.func,getHelperDimensions:u.a.func,helperClass:u.a.string,helperContainer:u.a.oneOfType([u.a.func,typeof HTMLElement=="undefined"?u.a.any:u.a.instanceOf(HTMLElement)]),hideSortableGhost:u.a.bool,keyboardSortingTransitionDuration:u.a.number,lockAxis:u.a.string,lockOffset:u.a.oneOfType([u.a.number,u.a.string,u.a.arrayOf(u.a.oneOfType([u.a.number,u.a.string]))]),lockToContainerEdges:u.a.bool,onSortEnd:u.a.func,onSortMove:u.a.func,onSortOver:u.a.func,onSortStart:u.a.func,pressDelay:u.a.number,pressThreshold:u.a.number,keyCodes:u.a.shape({lift:u.a.arrayOf(u.a.number),drop:u.a.arrayOf(u.a.number),cancel:u.a.arrayOf(u.a.number),up:u.a.arrayOf(u.a.number),down:u.a.arrayOf(u.a.number)}),shouldCancelStart:u.a.func,transitionDuration:u.a.number,updateBeforeSortStart:u.a.func,useDragHandle:u.a.bool,useWindowAsScrollContainer:u.a.bool},ue={lift:[ce.SPACE],drop:[ce.SPACE],cancel:[ce.ESC],up:[ce.UP,ce.LEFT],down:[ce.DOWN,ce.RIGHT]},Ge={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:ge,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:ue,shouldCancelStart:Be,transitionDuration:300,useWindowAsScrollContainer:!1},ae=Object.keys(ee);function Z(Ne){p()(!(Ne.distance&&Ne.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function Y(Ne,me){try{var be=Ne()}catch(Re){return me(!0,Re)}return be&&be.then?be.then(me.bind(null,!1),me.bind(null,!0)):me(!1,value)}function te(Ne){var me,be,Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return be=me=function(it){Object(d.a)(yt,it);function yt(pt){var Pe;return Object(f.a)(this,yt),Pe=Object(e.a)(this,Object(m.a)(yt).call(this,pt)),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"state",{}),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"handleStart",function(Nt){var ut=Pe.props,Ft=ut.distance,Ut=ut.shouldCancelStart;if(Nt.button===2||Ut(Nt))return;Pe.touched=!0,Pe.position=k(Nt);var Wt=M(Nt.target,function(qe){return qe.sortableInfo!=null});if(Wt&&Wt.sortableInfo&&Pe.nodeIsChild(Wt)&&!Pe.state.sorting){var $t=Pe.props.useDragHandle,or=Wt.sortableInfo,ht=or.index,Ee=or.collection,de=or.disabled;if(de)return;if($t&&!M(Nt.target,Se))return;Pe.manager.active={collection:Ee,index:ht},!W(Nt)&&Nt.target.tagName===ie.Anchor&&Nt.preventDefault(),Ft||(Pe.props.pressDelay===0?Pe.handlePress(Nt):Pe.pressTimer=setTimeout(function(){return Pe.handlePress(Nt)},Pe.props.pressDelay))}}),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"nodeIsChild",function(Nt){return Nt.sortableInfo.manager===Pe.manager}),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"handleMove",function(Nt){var ut=Pe.props,Ft=ut.distance,Ut=ut.pressThreshold;if(!Pe.state.sorting&&Pe.touched&&!Pe._awaitingUpdateBeforeSortStart){var Wt=k(Nt),$t={x:Pe.position.x-Wt.x,y:Pe.position.y-Wt.y},or=Math.abs($t.x)+Math.abs($t.y);Pe.delta=$t,!Ft&&(!Ut||or>=Ut)?(clearTimeout(Pe.cancelTimer),Pe.cancelTimer=setTimeout(Pe.cancel,0)):Ft&&or>=Ft&&Pe.manager.isActive()&&Pe.handlePress(Nt)}}),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"handleEnd",function(){Pe.touched=!1,Pe.cancel()}),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"cancel",function(){var Nt=Pe.props.distance,ut=Pe.state.sorting;ut||(Nt||clearTimeout(Pe.pressTimer),Pe.manager.active=null)}),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"handlePress",function(Nt){try{var ut=Pe.manager.getActive(),Ft=function(){if(ut){var Ut=function(){var Ar=ve.sortableInfo.index,at=B(ve),Ht=re(Pe.container),Kt=Pe.scrollContainer.getBoundingClientRect(),ot=or({index:Ar,node:ve,collection:bt});if(Pe.node=ve,Pe.margin=at,Pe.gridGap=Ht,Pe.width=ot.width,Pe.height=ot.height,Pe.marginOffset={x:Pe.margin.left+Pe.margin.right+Pe.gridGap.x,y:Math.max(Pe.margin.top,Pe.margin.bottom,Pe.gridGap.y)},Pe.boundingClientRect=ve.getBoundingClientRect(),Pe.containerBoundingRect=Kt,Pe.index=Ar,Pe.newIndex=Ar,Pe.axis={x:$t.indexOf("x")>=0,y:$t.indexOf("y")>=0},Pe.offsetEdge=z(ve,Pe.container),jt?Pe.initialOffset=k(Object(A.a)({},Nt,{pageX:Pe.boundingClientRect.left,pageY:Pe.boundingClientRect.top})):Pe.initialOffset=k(Nt),Pe.initialScroll={left:Pe.scrollContainer.scrollLeft,top:Pe.scrollContainer.scrollTop},Pe.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Pe.helper=Pe.helperContainer.appendChild(fe(ve)),C(Pe.helper,{boxSizing:"border-box",height:"".concat(Pe.height,"px"),left:"".concat(Pe.boundingClientRect.left-at.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Pe.boundingClientRect.top-at.top,"px"),width:"".concat(Pe.width,"px")}),jt&&Pe.helper.focus(),Ee&&(Pe.sortableGhost=ve,C(ve,{opacity:0,visibility:"hidden"})),Pe.minTranslate={},Pe.maxTranslate={},jt){var et=rt?{top:0,left:0,width:Pe.contentWindow.innerWidth,height:Pe.contentWindow.innerHeight}:Pe.containerBoundingRect,Ze=et.top,Gt=et.left,yr=et.width,br=et.height,Sr=Ze+br,Tn=Gt+yr;Pe.axis.x&&(Pe.minTranslate.x=Gt-Pe.boundingClientRect.left,Pe.maxTranslate.x=Tn-(Pe.boundingClientRect.left+Pe.width)),Pe.axis.y&&(Pe.minTranslate.y=Ze-Pe.boundingClientRect.top,Pe.maxTranslate.y=Sr-(Pe.boundingClientRect.top+Pe.height))}else Pe.axis.x&&(Pe.minTranslate.x=(rt?0:Kt.left)-Pe.boundingClientRect.left-Pe.width/2,Pe.maxTranslate.x=(rt?Pe.contentWindow.innerWidth:Kt.left+Kt.width)-Pe.boundingClientRect.left-Pe.width/2),Pe.axis.y&&(Pe.minTranslate.y=(rt?0:Kt.top)-Pe.boundingClientRect.top-Pe.height/2,Pe.maxTranslate.y=(rt?Pe.contentWindow.innerHeight:Kt.top+Kt.height)-Pe.boundingClientRect.top-Pe.height/2);ht&&ht.split(" ").forEach(function(cn){return Pe.helper.classList.add(cn)}),Pe.listenerNode=Nt.touches?ve:Pe.contentWindow,jt?(Pe.listenerNode.addEventListener("wheel",Pe.handleKeyEnd,!0),Pe.listenerNode.addEventListener("mousedown",Pe.handleKeyEnd,!0),Pe.listenerNode.addEventListener("keydown",Pe.handleKeyDown)):(_.move.forEach(function(cn){return Pe.listenerNode.addEventListener(cn,Pe.handleSortMove,!1)}),_.end.forEach(function(cn){return Pe.listenerNode.addEventListener(cn,Pe.handleSortEnd,!1)})),Pe.setState({sorting:!0,sortingIndex:Ar}),qe&&qe({node:ve,index:Ar,collection:bt,isKeySorting:jt,nodes:Pe.manager.getOrderedRefs(),helper:Pe.helper},Nt),jt&&Pe.keyMove(0)},Wt=Pe.props,$t=Wt.axis,or=Wt.getHelperDimensions,ht=Wt.helperClass,Ee=Wt.hideSortableGhost,de=Wt.updateBeforeSortStart,qe=Wt.onSortStart,rt=Wt.useWindowAsScrollContainer,ve=ut.node,bt=ut.collection,jt=Pe.manager.isKeySorting,He=function(){if(typeof de=="function"){Pe._awaitingUpdateBeforeSortStart=!0;var kt=Y(function(){var Ar=ve.sortableInfo.index;return Promise.resolve(de({collection:bt,index:Ar,node:ve,isKeySorting:jt},Nt)).then(function(){})},function(Ar,at){if(Pe._awaitingUpdateBeforeSortStart=!1,Ar)throw at;return at});if(kt&&kt.then)return kt.then(function(){})}}();return He&&He.then?He.then(Ut):Ut(He)}}();return Promise.resolve(Ft&&Ft.then?Ft.then(function(){}):void 0)}catch(Ut){return Promise.reject(Ut)}}),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"handleSortMove",function(Nt){var ut=Pe.props.onSortMove;typeof Nt.preventDefault=="function"&&Nt.preventDefault(),Pe.updateHelperPosition(Nt),Pe.animateNodes(),Pe.autoscroll(),ut&&ut(Nt)}),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"handleSortEnd",function(Nt){var ut=Pe.props,Ft=ut.hideSortableGhost,Ut=ut.onSortEnd,Wt=Pe.manager,$t=Wt.active.collection,or=Wt.isKeySorting,ht=Pe.manager.getOrderedRefs();Pe.listenerNode&&(or?(Pe.listenerNode.removeEventListener("wheel",Pe.handleKeyEnd,!0),Pe.listenerNode.removeEventListener("mousedown",Pe.handleKeyEnd,!0),Pe.listenerNode.removeEventListener("keydown",Pe.handleKeyDown)):(_.move.forEach(function(ve){return Pe.listenerNode.removeEventListener(ve,Pe.handleSortMove)}),_.end.forEach(function(ve){return Pe.listenerNode.removeEventListener(ve,Pe.handleSortEnd)}))),Pe.helper.parentNode.removeChild(Pe.helper),Ft&&Pe.sortableGhost&&C(Pe.sortableGhost,{opacity:"",visibility:""});for(var Ee=0,de=ht.length;EeFt)return;Pe.prevIndex=Wt,Pe.newIndex=Ut;var $t=K(Pe.newIndex,Pe.prevIndex,Pe.index),or=ut.find(function(jt){var He=jt.node;return He.sortableInfo.index===$t}),ht=or.node,Ee=Pe.containerScrollDelta,de=or.boundingClientRect||J(ht,Ee),qe=or.translate||{x:0,y:0},rt={top:de.top+qe.y-Ee.top,left:de.left+qe.x-Ee.left},ve=Wtjt?jt/2:this.height/2,width:this.width>bt?bt/2:this.width/2},kt=ht&&ve>this.index&&ve<=Ee,Ar=ht&&ve=Ee,at={x:0,y:0},Ht=$t[de].edgeOffset;Ht||(Ht=z(rt,this.container),$t[de].edgeOffset=Ht,ht&&($t[de].boundingClientRect=J(rt,Ut)));var Kt=de<$t.length-1&&$t[de+1],ot=de>0&&$t[de-1];if(Kt&&!Kt.edgeOffset&&(Kt.edgeOffset=z(Kt.node,this.container),ht&&(Kt.boundingClientRect=J(Kt.node,Ut))),ve===this.index){ut&&(this.sortableGhost=rt,C(rt,{opacity:0,visibility:"hidden"}));continue}Nt&&O(rt,Nt),this.axis.x?this.axis.y?Ar||vethis.containerBoundingRect.width-He.width&&(Kt&&(at.x=Kt.edgeOffset.left-Ht.left,at.y=Kt.edgeOffset.top-Ht.top)),this.newIndex===null&&(this.newIndex=ve)):(kt||ve>this.index&&(or.left+Wt.left+He.width>=Ht.left&&or.top+Wt.top+He.height>=Ht.top||or.top+Wt.top+He.height>=Ht.top+jt))&&(at.x=-(this.width+this.marginOffset.x),Ht.left+at.xthis.index&&or.left+Wt.left+He.width>=Ht.left?(at.x=-(this.width+this.marginOffset.x),this.newIndex=ve):(Ar||vethis.index&&or.top+Wt.top+He.height>=Ht.top?(at.y=-(this.height+this.marginOffset.y),this.newIndex=ve):(Ar||ve1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return be=me=function(it){Object(d.a)(yt,it);function yt(){return Object(f.a)(this,yt),Object(e.a)(this,Object(m.a)(yt).apply(this,arguments))}return Object(t.a)(yt,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Pe){this.node&&(Pe.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Pe.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Pe.collection!==this.props.collection&&(this.unregister(Pe.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Pe=this.props,Nt=Pe.collection,ut=Pe.disabled,Ft=Pe.index,Ut=Object(r.findDOMNode)(this);Ut.sortableInfo={collection:Nt,disabled:ut,index:Ft,manager:this.context.manager},this.node=Ut,this.ref={node:Ut},this.context.manager.add(Nt,this.ref)}},{key:"unregister",value:function(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Pe,this.ref)}},{key:"getWrappedInstance",value:function(){return p()(Re.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Pe=Re.withRef?"wrappedInstance":null;return Object(s.createElement)(Ne,Object(x.a)({ref:Pe},S(this.props,pe)))}}]),yt}(s.Component),Object(n.a)(me,"displayName",X("sortableElement",Ne)),Object(n.a)(me,"contextTypes",{manager:u.a.object.isRequired}),Object(n.a)(me,"propTypes",we),Object(n.a)(me,"defaultProps",{collection:0}),be}},YNAk:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("QyFq")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="CaretDownFilled";var d=f.forwardRef(m);R.default=d},YNf1:function(j,R,l){var x=l("IwbS"),b=l("6Ic6"),A=.3,f=b.extend({type:"parallel",init:function(){this._dataGroup=new x.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(c,i,u,r){var o=this._dataGroup,h=c.getData(),p=this._data,g=c.coordinateSystem,v=g.dimensions,y=d(c);h.diff(p).add(w).update(S).remove(_).execute();function w(C){var E=m(h,o,C,v,g);a(E,h,C,y)}function S(C,E){var O=p.getItemGraphicEl(E),M=e(h,C,v,g);h.setItemGraphicEl(C,O);var F=r&&r.animation===!1?null:c;x.updateProps(O,{shape:{points:M}},F,C),a(O,h,C,y)}function _(C){var E=p.getItemGraphicEl(C);o.remove(E)}if(!this._initialized){this._initialized=!0;var I=t(g,c,function(){setTimeout(function(){o.removeClipPath()})});o.setClipPath(I)}this._data=h},incrementalPrepareRender:function(c,i,u){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(c,i,u){for(var r=i.getData(),o=i.coordinateSystem,h=o.dimensions,p=d(i),g=c.start;g65535?p:v}function w(V){var q=V.constructor;return q===Array?V.slice():new q(V)}var S=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],_=["_extent","_approximateExtent","_rawExtent"];function I(V,q){A.each(S.concat(q.__wrappedMethods||[]),function(re){q.hasOwnProperty(re)&&(V[re]=q[re])}),V.__wrappedMethods=q.__wrappedMethods,A.each(_,function(re){V[re]=A.clone(q[re])}),V._calculationInfo=A.extend(q._calculationInfo)}var C=function(V,q){V=V||["x","y"];for(var re={},ce=[],ie={},fe=0;fepe[1]&&(pe[1]=we)}q&&(this._nameList[Ge]=q[ae])}this._rawCount=this._count=ke,this._extent={},M(this)},E._initDataFromProvider=function(V,q){if(V>=q)return;for(var re=this._chunkSize,ce=this._rawData,ie=this._storage,fe=this.dimensions,xe=fe.length,Se=this._dimensionInfos,ke=this._nameList,ge=this._idList,Be=this._rawExtent,ee=this._nameRepeatCount={},ue,Ge=this._chunkCount,ae=0;aeRe[1]&&(Re[1]=be)}if(!ce.pure){var it=ke[we];if(te&&it==null){if(te.name!=null)ke[we]=it=te.name;else if(ue!=null){var yt=fe[ue],pt=ie[yt][pe];if(pt){it=pt[De];var Pe=Se[yt].ordinalMeta;Pe&&Pe.categories.length&&(it=Pe.categories[it])}}}var Nt=te==null?null:te.id;Nt==null&&it!=null&&(ee[it]=ee[it]||0,Nt=it,ee[it]>0&&(Nt+="__ec__"+ee[it]),ee[it]++),Nt!=null&&(ge[we]=Nt)}}!ce.persistent&&ce.clean&&ce.clean(),this._rawCount=this._count=q,this._extent={},M(this)};function O(V,q,re,ce,ie){var fe=h[q.type],xe=ce-1,Se=q.name,ke=V[Se][xe];if(ke&&ke.length=0&&q=0&&qSe&&(Se=ge)}return fe=[xe,Se],this._extent[V]=fe,fe},E.getApproximateExtent=function(V){return V=this.getDimension(V),this._approximateExtent[V]||this.getDataExtent(V)},E.setApproximateExtent=function(V,q){q=this.getDimension(q),this._approximateExtent[q]=V.slice()},E.getCalculationInfo=function(V){return this._calculationInfo[V]},E.setCalculationInfo=function(V,q){i(V)?A.extend(this._calculationInfo,V):this._calculationInfo[V]=q},E.getSum=function(V){var q=this._storage[V],re=0;if(q)for(var ce=0,ie=this.count();ce=this._rawCount||V<0)return-1;if(!this._indices)return V;var q=this._indices,re=q[V];if(re!=null&&reV)ie=fe-1;else return fe}return-1},E.indicesOfNearest=function(V,q,re){var ce=this._storage,ie=ce[V],fe=[];if(!ie)return fe;re==null&&(re=Infinity);for(var xe=Infinity,Se=-1,ke=0,ge=0,Be=this.count();ge=0&&Se<0)&&(xe=ue,Se=ee,ke=0),ee===Se&&(fe[ke++]=ge))}return fe.length=ke,fe},E.getRawIndex=H;function H(V){return V}function B(V){return V=0?this._indices[V]:-1}E.getRawDataItem=function(V){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(V));for(var q=[],re=0;re=ge&&we<=Be||isNaN(we))&&(xe[Se++]=ue),ue++}ee=!0}else if(ce===2){for(var Ge=this._storage[ke],pe=this._storage[q[1]],De=V[q[1]][0],Ne=V[q[1]][1],ae=0;ae=ge&&we<=Be||isNaN(we))&&(be>=De&&be<=Ne||isNaN(be))&&(xe[Se++]=ue),ue++}ee=!0}}if(!ee)if(ce===1)for(var te=0;te=ge&&we<=Be||isNaN(we))&&(xe[Se++]=Re)}else for(var te=0;teV[yt][1])&&(it=!1)}it&&(xe[Se++]=this.getRawIndex(te))}return Se=0?(ie[Se]=z(fe[Se]),ce._rawExtent[Se]=K(),ce._extent[Se]=null):ie[Se]=fe[Se])}return ce}function z(V){for(var q=new Array(V.length),re=0;reNe[1]&&(Ne[1]=De)}}}return ie},E.downSample=function(V,q,re,ce){for(var ie=W(this,[V]),fe=ie._storage,xe=[],Se=Math.floor(1/q),ke=fe[V],ge=this.count(),Be=this._chunkSize,ee=ie._rawExtent[V],ue=new(y(this))(ge),Ge=0,ae=0;aege-ae&&(Se=ge-ae,xe.length=Se);for(var Z=0;Zee[1]&&(ee[1]=pe),ue[Ge++]=De}return ie._count=Ge,ie._indices=ue,ie.getRawIndex=B,ie},E.getItemModel=function(V){var q=this.hostModel;return new f(this.getRawDataItem(V),q,q&&q.ecModel)},E.diff=function(V){var q=this;return new t(V?V.getIndices():[],this.getIndices(),function(re){return X(V,re)},function(re){return X(q,re)})},E.getVisual=function(V){var q=this._visual;return q&&q[V]},E.setVisual=function(V,q){if(i(V)){for(var re in V)V.hasOwnProperty(re)&&this.setVisual(re,V[re]);return}this._visual=this._visual||{},this._visual[V]=q},E.setLayout=function(V,q){if(i(V)){for(var re in V)V.hasOwnProperty(re)&&this.setLayout(re,V[re]);return}this._layout[V]=q},E.getLayout=function(V){return this._layout[V]},E.getItemLayout=function(V){return this._itemLayouts[V]},E.setItemLayout=function(V,q,re){this._itemLayouts[V]=re?A.extend(this._itemLayouts[V]||{},q):q},E.clearItemLayouts=function(){this._itemLayouts.length=0},E.getItemVisual=function(V,q,re){var ce=this._itemVisuals[V],ie=ce&&ce[q];return ie==null&&!re?this.getVisual(q):ie},E.setItemVisual=function(V,q,re){var ce=this._itemVisuals[V]||{},ie=this.hasItemVisual;if(this._itemVisuals[V]=ce,i(q)){for(var fe in q)q.hasOwnProperty(fe)&&(ce[fe]=q[fe],ie[fe]=!0);return}ce[q]=re,ie[q]=!0},E.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var P=function(V){V.seriesIndex=this.seriesIndex,V.dataIndex=this.dataIndex,V.dataType=this.dataType};E.setItemGraphicEl=function(V,q){var re=this.hostModel;q&&(q.dataIndex=V,q.dataType=this.dataType,q.seriesIndex=re&&re.seriesIndex,q.type==="group"&&q.traverse(P,q)),this._graphicEls[V]=q},E.getItemGraphicEl=function(V){return this._graphicEls[V]},E.eachItemGraphicEl=function(V,q){A.each(this._graphicEls,function(re,ce){re&&(V&&V.call(q,re,ce))})},E.cloneShallow=function(V){if(!V){var q=A.map(this.dimensions,this.getDimensionInfo,this);V=new C(q,this.hostModel)}if(V._storage=this._storage,I(V,this),this._indices){var re=this._indices.constructor;V._indices=new re(this._indices)}else V._indices=null;return V.getRawIndex=V._indices?B:H,V},E.wrapMethod=function(V,q){var re=this[V];if(typeof re!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(V),this[V]=function(){var ce=re.apply(this,arguments);return q.apply(this,[ce].concat(A.slice(arguments)))}},E.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],E.CHANGABLE_METHODS=["filterSelf","selectRange"];var G=C;j.exports=G},YgsL:function(j,R,l){var x=l("QBsz"),b=x.distance;function A(t,e,m,d,a,n,s){var c=(m-t)*.5,i=(d-e)*.5;return(2*(e-m)+c+i)*s+(-3*(e-m)-2*c-i)*n+c*a+e}function f(t,e){for(var m=t.length,d=[],a=0,n=1;nm-2?m-1:i+1],p=t[i>m-3?m-1:i+2]);var g=u*u,v=u*g;d.push([A(r[0],o[0],h[0],p[0],u,g,v),A(r[1],o[1],h[1],p[1],u,g,v)])}return d}j.exports=f},Yl7c:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("bYtY"),f=".",t="___EC__COMPONENT__CONTAINER___";function e(r){var o={main:"",sub:""};return r&&(r=r.split(f),o.main=r[0]||"",o.sub=r[1]||""),o}function m(r){A.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(r),'componentType "'+r+'" illegal')}function d(r,o){r.$constructor=r,r.extend=function(h){var p=this,g=function(){h.$constructor?h.$constructor.apply(this,arguments):p.apply(this,arguments)};return A.extend(g.prototype,h),g.extend=this.extend,g.superCall=s,g.superApply=c,A.inherits(g,this),g.superClass=p,g}}var a=0;function n(r){var o=["__\0is_clz",a++,Math.random().toFixed(3)].join("_");r.prototype[o]=!0,r.isInstance=function(h){return!!(h&&h[o])}}function s(r,o){var h=A.slice(arguments,2);return this.superClass.prototype[o].apply(r,h)}function c(r,o,h){return this.superClass.prototype[o].apply(r,h)}function i(r,o){o=o||{};var h={};r.registerClass=function(v,y){if(y){if(m(y),y=e(y),!y.sub)h[y.main]=v;else if(y.sub!==t){var w=p(y);w[y.sub]=v}}return v},r.getClass=function(v,y,w){var S=h[v];if(S&&S[t]&&(S=y?S[y]:null),w&&!S)throw new Error(y?"Component "+v+"."+(y||"")+" not exists. Load it first.":v+".type should be specified.");return S},r.getClassesByMainType=function(v){v=e(v);var y=[],w=h[v.main];return w&&w[t]?A.each(w,function(S,_){_!==t&&y.push(S)}):y.push(w),y},r.hasClass=function(v){return v=e(v),!!h[v.main]},r.getAllClassMainTypes=function(){var v=[];return A.each(h,function(y,w){v.push(w)}),v},r.hasSubTypes=function(v){v=e(v);var y=h[v.main];return y&&y[t]},r.parseClassType=e;function p(v){var y=h[v.main];return(!y||!y[t])&&(y=h[v.main]={},y[t]=!0),y}if(o.registerWhenExtend){var g=r.extend;g&&(r.extend=function(v){var y=g.call(this,v);return r.registerClass(y,v.type)})}return r}function u(r,o){}R.parseClassType=e,R.enableClassExtend=d,R.enableClassCheck=n,R.enableClassManagement=i,R.setReadOnly=u},Ynxi:function(j,R,l){var x=l("bYtY"),b=l("ProS"),A=l("IwbS"),f=l("+TT/"),t=f.getLayoutRect,e=l("7aKB"),m=e.windowOpen;b.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),b.extendComponentView({type:"title",render:function(d,a,n){if(this.group.removeAll(),!d.get("show"))return;var s=this.group,c=d.getModel("textStyle"),i=d.getModel("subtextStyle"),u=d.get("textAlign"),r=x.retrieve2(d.get("textBaseline"),d.get("textVerticalAlign")),o=new A.Text({style:A.setTextStyle({},c,{text:d.get("text"),textFill:c.getTextColor()},{disableBox:!0}),z2:10}),h=o.getBoundingRect(),p=d.get("subtext"),g=new A.Text({style:A.setTextStyle({},i,{text:p,textFill:i.getTextColor(),y:h.height+d.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),v=d.get("link"),y=d.get("sublink"),w=d.get("triggerEvent",!0);o.silent=!v&&!w,g.silent=!y&&!w,v&&o.on("click",function(){m(v,"_"+d.get("target"))}),y&&g.on("click",function(){m(v,"_"+d.get("subtarget"))}),o.eventData=g.eventData=w?{componentType:"title",componentIndex:d.componentIndex}:null,s.add(o),p&&s.add(g);var S=s.getBoundingRect(),_=d.getBoxLayoutParams();_.width=S.width,_.height=S.height;var I=t(_,{width:n.getWidth(),height:n.getHeight()},d.get("padding"));u||(u=d.get("left")||d.get("right"),u==="middle"&&(u="center"),u==="right"?I.x+=I.width:u==="center"&&(I.x+=I.width/2)),r||(r=d.get("top")||d.get("bottom"),r==="center"&&(r="middle"),r==="bottom"?I.y+=I.height:r==="middle"&&(I.y+=I.height/2),r=r||"top"),s.attr("position",[I.x,I.y]);var C={textAlign:u,textVerticalAlign:r};o.setStyle(C),g.setStyle(C),S=s.getBoundingRect();var E=I.margin,O=d.getItemStyle(["color","opacity"]);O.fill=d.get("backgroundColor");var M=new A.Rect({shape:{x:S.x-E[3],y:S.y-E[0],width:S.width+E[1]+E[3],height:S.height+E[0]+E[2],r:d.get("borderRadius")},style:O,subPixelOptimize:!0,silent:!0});s.add(M)}})},Ywus:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("DO2E")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="DeleteOutlined";var d=f.forwardRef(m);R.default=d},Z0Lh:function(j,R,l){"use strict";var x=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var b=x(l("pVnL")),A=x(l("HjOm")),f=x(l("Z6rY")),t={lang:(0,b.default)({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},A.default),timePickerLocale:(0,b.default)({},f.default)};t.lang.ok="\u786E \u5B9A";var e=t;R.default=e},Z1HP:function(j,R,l){var x=l("ycre"),b=l("quyA"),A=l("q4HE");function f(t){return b(t)?A(t):x(t)}j.exports=f},Z1r0:function(j,R){function l(x){var b=x.findComponents({mainType:"legend"});if(!b||!b.length)return;x.eachSeriesByType("graph",function(A){var f=A.getCategoriesData(),t=A.getGraph(),e=t.data,m=f.mapArray(f.getName);e.filterSelf(function(d){var a=e.getItemModel(d),n=a.getShallow("category");if(n!=null){typeof n=="number"&&(n=m[n]);for(var s=0;s0?1:-1,ie=q.height>0?1:-1;return{x:q.x+ce*re/2,y:q.y+ie*re/2,width:q.width-ce*re,height:q.height-ie*re}},polar:function(P,G,V){var q=P.getItemLayout(G);return{cx:q.cx,cy:q.cy,r0:q.r0,r:q.r,startAngle:q.startAngle,endAngle:q.endAngle}}};function O(P){return P.startAngle!=null&&P.endAngle!=null&&P.startAngle===P.endAngle}function M(P,G,V,q,re,ce,ie,fe){var xe=G.getItemVisual(V,"color"),Se=G.getItemVisual(V,"opacity"),ke=G.getVisual("borderColor"),ge=q.getModel("itemStyle"),Be=q.getModel("emphasis.itemStyle").getBarItemStyle();fe||P.setShape("r",ge.get("barBorderRadius")||0),P.useStyle(f.defaults({stroke:O(re)?"none":ke,fill:O(re)?"none":xe,opacity:Se},ge.getBarItemStyle()));var ee=q.getShallow("cursor");ee&&P.attr("cursor",ee);var ue=ie?re.height>0?"bottom":"top":re.width>0?"left":"right";fe||m(P.style,Be,q,xe,ce,V,ue),O(re)&&(Be.fill=Be.stroke="none"),t.setHoverStyle(P,Be)}function F(P,G){var V=P.get(h)||0,q=isNaN(G.width)?Number.MAX_VALUE:Math.abs(G.width),re=isNaN(G.height)?Number.MAX_VALUE:Math.abs(G.height);return Math.min(V,q,re)}var H=n.extend({type:"largeBar",shape:{points:[]},buildPath:function(P,G){for(var V=G.points,q=this.__startPoint,re=this.__baseDimIdx,ce=0;ce=0?V:null},30,!1);function J(P,G,V){var q=P.__baseDimIdx,re=1-q,ce=P.shape.points,ie=P.__largeDataIndices,fe=Math.abs(P.__barWidth/2),xe=P.__startPoint[re];p[0]=G,p[1]=V;for(var Se=p[q],ke=p[1-q],ge=Se-fe,Be=Se+fe,ee=0,ue=ce.length/2;ee=ge&&ae<=Be&&(xe<=Z?ke>=xe&&ke<=Z:ke>=Z&&ke<=xe))return ie[ee]}return-1}function k(P,G,V){var q=V.getVisual("borderColor")||V.getVisual("color"),re=G.getModel("itemStyle").getItemStyle(["color","borderColor"]);P.useStyle(re),P.style.fill=null,P.style.stroke=q,P.style.lineWidth=V.getLayout("barWidth")}function W(P,G,V){var q=G.get("borderColor")||G.get("color"),re=G.getItemStyle(["color","borderColor"]);P.useStyle(re),P.style.fill=null,P.style.stroke=q,P.style.lineWidth=V.getLayout("barWidth")}function z(P,G,V){var q,re=V.type==="polar";return re?q=V.getArea():q=V.grid.getRect(),re?{cx:q.cx,cy:q.cy,r0:P?q.r0:G.r0,r:P?q.r:G.r,startAngle:P?G.startAngle:0,endAngle:P?G.endAngle:Math.PI*2}:{x:P?G.x:q.x,y:P?q.y:G.y,width:P?G.width:q.width,height:P?q.height:G.height}}function K(P,G,V){var q=P.type==="polar"?t.Sector:t.Rect;return new q({shape:z(G,V,P),silent:!0,z2:0})}j.exports=v},ZCgT:function(j,R,l){var x=l("tLB3"),b=1/0,A=17976931348623157e292;function f(t){if(!t)return t===0?t:0;if(t=x(t),t===b||t===-b){var e=t<0?-1:1;return e*A}return t===t?t:0}j.exports=f},ZLWo:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};R.default=x},ZMnZ:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("2oIt")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="UpOutlined";var d=f.forwardRef(m);R.default=d},ZTPi:function(j,R,l){"use strict";var x=l("pVnL"),b=l.n(x),A=l("lSNA"),f=l.n(A),t=l("q1tI"),e=l("rePB"),m=l("ODXe"),d=l("Ff2n"),a=l("VTBJ"),n=l("TSYQ"),s=l.n(n),c=l("Zm9Q"),i=l("6cGi"),u=l("KQm4"),r=l("xEkU"),o=l.n(r),h=l("t23M");function p(Nr){var Qr=Object(t.useRef)(),bn=Object(t.useRef)(!1);function Zr(){for(var hr=arguments.length,jr=new Array(hr),wr=0;wrXn&&(ji=Xn-Li),Object(t.useMemo)(function(){if(!jr.length)return[0,0];for(var Sa=jr.length,Ga=Sa,Ya=0;YaDn+ji){Ga=Ya-1;break}}for(var vo=0,po=Sa-1;po>=0;po-=1){var Ha=Nr.get(jr[po].key)||I;if(Ha[kn]1&&arguments[1]!==void 0?arguments[1]:!1,Zr=Qr&&typeof Qr.getBoundingClientRect=="function"&&Qr.getBoundingClientRect().width;if(Zr){if(bn){var hr=getComputedStyle(Qr),jr=hr.marginLeft,wr=hr.marginRight;Zr+=+jr.replace("px","")+ +wr.replace("px","")}Zr=+Zr.toFixed(6)}return Zr||0},be=function(Qr,bn,Zr){Qr&&Object(K.a)(Qr.style)==="object"&&(Qr.style[bn]=Zr)},Re=function(){return Z.any},it=l("bdgK"),yt=l("i8i4"),pt=l.n(yt),Pe=l("wgJM"),Nt=l("l4aY"),ut=l("m+aA"),Ft=l("c+Xe"),Ut=l("zT1h"),Wt=l("QC+M");function $t(Nr,Qr,bn){return bn?Nr[0]===Qr[0]:Nr[0]===Qr[0]&&Nr[1]===Qr[1]}function or(Nr,Qr,bn){var Zr=Nr[Qr]||{};return Object(a.a)(Object(a.a)({},Zr),bn)}function ht(Nr,Qr,bn,Zr){for(var hr=bn.points,jr=Object.keys(Nr),wr=0;wr1&&arguments[1]!==void 0?arguments[1]:2;Qr();var jr=Object(Pe.a)(function(){hr<=1?Zr({isCanceled:function(){return jr!==Nr.current}}):bn(Zr,hr-1)});Nr.current=jr}return t.useEffect(function(){return function(){Qr()}},[]),[bn,Qr]},gt=[Tn,cn,Kn,lt],ir=!1,Xt=!0;function er(Nr){return Nr===Kn||Nr===lt}var Wr=function(Nr,Qr){var bn=t.useState(Sr),Zr=Object(m.a)(bn,2),hr=Zr[0],jr=Zr[1],wr=$e(),an=Object(m.a)(wr,2),Jr=an[0],kn=an[1];function Dn(){jr(Tn)}return ze(function(){if(hr!==Sr&&hr!==lt){var Xn=gt.indexOf(hr),vi=gt[Xn+1],Li=Qr(hr);Li===ir?jr(vi):Jr(function(ji){function Sa(){if(ji.isCanceled())return;jr(vi)}Li===!0?Sa():Promise.resolve(Li).then(Sa)})}},[Nr,hr]),t.useEffect(function(){return function(){kn()}},[]),[Dn,hr]},en=function(Nr){var Qr=Object(t.useRef)(),bn=Object(t.useRef)(Nr);bn.current=Nr;var Zr=t.useCallback(function(wr){bn.current(wr)},[]);function hr(wr){wr&&(wr.removeEventListener(ot,Zr),wr.removeEventListener(Kt,Zr))}function jr(wr){Qr.current&&Qr.current!==wr&&hr(Qr.current),wr&&wr!==Qr.current&&(wr.addEventListener(ot,Zr),wr.addEventListener(Kt,Zr),Qr.current=wr)}return t.useEffect(function(){return function(){hr(Qr.current)}},[]),[jr,hr]};function Fn(Nr,Qr,bn,Zr){var hr=Zr.motionEnter,jr=hr===void 0?!0:hr,wr=Zr.motionAppear,an=wr===void 0?!0:wr,Jr=Zr.motionLeave,kn=Jr===void 0?!0:Jr,Dn=Zr.motionDeadline,Xn=Zr.motionLeaveImmediately,vi=Zr.onAppearPrepare,Li=Zr.onEnterPrepare,ji=Zr.onLeavePrepare,Sa=Zr.onAppearStart,Ga=Zr.onEnterStart,Ya=Zr.onLeaveStart,bo=Zr.onAppearActive,vo=Zr.onEnterActive,po=Zr.onLeaveActive,Ha=Zr.onAppearEnd,Oa=Zr.onEnterEnd,ao=Zr.onLeaveEnd,to=Zr.onVisibleChanged,Po=mt(),Yo=Object(m.a)(Po,2),ro=Yo[0],za=Yo[1],Mo=mt(Ze),Io=Object(m.a)(Mo,2),ma=Io[0],mo=Io[1],ns=mt(null),Zo=Object(m.a)(ns,2),Oo=Zo[0],Ro=Zo[1],hs=Object(t.useRef)(!1),Uo=Object(t.useRef)(null),Ja=Object(t.useRef)(!1),Es=Object(t.useRef)(null);function oo(){var bs=bn();return bs||Es.current}var Fs=Object(t.useRef)(!1);function qo(bs){var Ho=oo();if(bs&&!bs.deadline&&bs.target!==Ho)return;var Ls;ma===Gt&&Fs.current?Ls=Ha==null?void 0:Ha(Ho,bs):ma===yr&&Fs.current?Ls=Oa==null?void 0:Oa(Ho,bs):ma===br&&Fs.current&&(Ls=ao==null?void 0:ao(Ho,bs)),Ls!==!1&&!Ja.current&&(mo(Ze),Ro(null))}var Ko=en(qo),Vo=Object(m.a)(Ko,1),Go=Vo[0],os=t.useMemo(function(){var bs,Ho,Ls;switch(ma){case"appear":return bs={},Object(e.a)(bs,Tn,vi),Object(e.a)(bs,cn,Sa),Object(e.a)(bs,Kn,bo),bs;case"enter":return Ho={},Object(e.a)(Ho,Tn,Li),Object(e.a)(Ho,cn,Ga),Object(e.a)(Ho,Kn,vo),Ho;case"leave":return Ls={},Object(e.a)(Ls,Tn,ji),Object(e.a)(Ls,cn,Ya),Object(e.a)(Ls,Kn,po),Ls;default:return{}}},[ma]),Vs=Wr(ma,function(bs){if(bs===Tn){var Ho=os[Tn];return Ho?Ho(oo()):ir}if(Bs in os){var Ls;Ro(((Ls=os[Bs])===null||Ls===void 0?void 0:Ls.call(os,oo(),null))||null)}return Bs===Kn&&(Go(oo()),Dn>0&&(clearTimeout(Uo.current),Uo.current=setTimeout(function(){qo({deadline:!0})},Dn))),Xt}),xs=Object(m.a)(Vs,2),Js=xs[0],Bs=xs[1],ks=er(Bs);Fs.current=ks,ze(function(){za(Qr);var bs=hs.current;if(hs.current=!0,!Nr)return;var Ho;!bs&&Qr&&an&&(Ho=Gt),bs&&Qr&&jr&&(Ho=yr),(bs&&!Qr&&kn||!bs&&Xn&&!Qr&&kn)&&(Ho=br),Ho&&(mo(Ho),Js())},[Qr]),Object(t.useEffect)(function(){(ma===Gt&&!an||ma===yr&&!jr||ma===br&&!kn)&&mo(Ze)},[an,jr,kn]),Object(t.useEffect)(function(){return function(){clearTimeout(Uo.current),Ja.current=!0}},[]),Object(t.useEffect)(function(){ro!==void 0&&ma===Ze&&(to==null||to(ro))},[ro,ma]);var Jo=Oo;return os[Tn]&&Bs===cn&&(Jo=Object(a.a)({transition:"none"},Jo)),[ma,Bs,Jo,ro!=null?ro:Qr]}var ar=function(Nr){Object(H.a)(bn,Nr);var Qr=Object(B.a)(bn);function bn(){return Object(O.a)(this,bn),Qr.apply(this,arguments)}return Object(M.a)(bn,[{key:"render",value:function(){return this.props.children}}]),bn}(t.Component),It=ar;function Ct(Nr){var Qr=Nr;Object(K.a)(Nr)==="object"&&(Qr=Nr.transitionSupport);function bn(hr){return!!(hr.motionName&&Qr)}var Zr=t.forwardRef(function(hr,jr){var wr=hr.visible,an=wr===void 0?!0:wr,Jr=hr.removeOnLeave,kn=Jr===void 0?!0:Jr,Dn=hr.forceRender,Xn=hr.children,vi=hr.motionName,Li=hr.leavedClassName,ji=hr.eventProps,Sa=bn(hr),Ga=Object(t.useRef)(),Ya=Object(t.useRef)();function bo(){try{return Object(ut.a)(Ga.current||Ya.current)}catch(mo){return null}}var vo=Fn(Sa,an,bo,hr),po=Object(m.a)(vo,4),Ha=po[0],Oa=po[1],ao=po[2],to=po[3],Po=t.useRef(to);to&&(Po.current=!0);var Yo=Object(t.useRef)(jr);Yo.current=jr;var ro=t.useCallback(function(mo){Ga.current=mo,Object(Ft.b)(Yo.current,mo)},[]),za,Mo=Object(a.a)(Object(a.a)({},ji),{},{visible:an});if(!Xn)za=null;else if(Ha===Ze||!bn(hr))to?za=Xn(Object(a.a)({},Mo),ro):!kn&&Po.current?za=Xn(Object(a.a)(Object(a.a)({},Mo),{},{className:Li}),ro):Dn?za=Xn(Object(a.a)(Object(a.a)({},Mo),{},{style:{display:"none"}}),ro):za=null;else{var Io,ma;Oa===Tn?ma="prepare":er(Oa)?ma="active":Oa===cn&&(ma="start"),za=Xn(Object(a.a)(Object(a.a)({},Mo),{},{className:s()(et(vi,Ha),(Io={},Object(e.a)(Io,et(vi,"".concat(Ha,"-").concat(ma)),ma),Object(e.a)(Io,vi,typeof vi=="string"),Io)),style:ao}),ro)}return t.createElement(It,{ref:Ya},za)});return Zr.displayName="CSSMotion",Zr}var mr=Ct(Ht),gr="add",Mt="keep",rr="remove",Dt="removed";function tr(Nr){var Qr;return Nr&&Object(K.a)(Nr)==="object"&&"key"in Nr?Qr=Nr:Qr={key:Nr},Object(a.a)(Object(a.a)({},Qr),{},{key:String(Qr.key)})}function Dr(){var Nr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Nr.map(tr)}function dr(){var Nr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Qr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],bn=[],Zr=0,hr=Qr.length,jr=Dr(Nr),wr=Dr(Qr);jr.forEach(function(kn){for(var Dn=!1,Xn=Zr;Xn1});return Jr.forEach(function(kn){bn=bn.filter(function(Dn){var Xn=Dn.key,vi=Dn.status;return Xn!==kn||vi!==rr}),bn.forEach(function(Dn){Dn.key===kn&&(Dn.status=Mt)})}),bn}var Tr=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function vn(Nr){var Qr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:mr,bn=function(Zr){Object(H.a)(jr,Zr);var hr=Object(B.a)(jr);function jr(){var wr;return Object(O.a)(this,jr),wr=hr.apply(this,arguments),wr.state={keyEntities:[]},wr.removeKey=function(an){wr.setState(function(Jr){var kn=Jr.keyEntities;return{keyEntities:kn.map(function(Dn){return Dn.key!==an?Dn:Object(a.a)(Object(a.a)({},Dn),{},{status:Dt})})}})},wr}return Object(M.a)(jr,[{key:"render",value:function(){var an=this,Jr=this.state.keyEntities,kn=this.props,Dn=kn.component,Xn=kn.children,vi=kn.onVisibleChanged,Li=Object(d.a)(kn,["component","children","onVisibleChanged"]),ji=Dn||t.Fragment,Sa={};return Tr.forEach(function(Ga){Sa[Ga]=Li[Ga],delete Li[Ga]}),delete Li.keys,t.createElement(ji,Li,Jr.map(function(Ga){var Ya=Ga.status,bo=Object(d.a)(Ga,["status"]),vo=Ya===gr||Ya===Mt;return t.createElement(Qr,Object(E.a)({},Sa,{key:bo.key,visible:vo,eventProps:bo,onVisibleChanged:function(Ha){vi==null||vi(Ha,{key:bo.key}),Ha||an.removeKey(bo.key)}}),Xn)}))}}],[{key:"getDerivedStateFromProps",value:function(an,Jr){var kn=an.keys,Dn=Jr.keyEntities,Xn=Dr(kn),vi=dr(Dn,Xn);return{keyEntities:vi.filter(function(Li){var ji=Dn.find(function(Sa){var Ga=Sa.key;return Li.key===Ga});return!(ji&&ji.status===Dt&&Li.status===rr)})}}}]),jr}(t.Component);return bn.defaultProps={component:"div"},bn}var on=vn(Ht),Gn=mr;function di(Nr){var Qr=Nr.prefixCls,bn=Nr.motion,Zr=Nr.animation,hr=Nr.transitionName;return bn||(Zr?{motionName:"".concat(Qr,"-").concat(Zr)}:hr?{motionName:hr}:null)}function Ti(Nr){var Qr=Nr.prefixCls,bn=Nr.visible,Zr=Nr.zIndex,hr=Nr.mask,jr=Nr.maskMotion,wr=Nr.maskAnimation,an=Nr.maskTransitionName;if(!hr)return null;var Jr={};return(jr||an||wr)&&(Jr=Object(a.a)({motionAppear:!0},di({motion:jr,prefixCls:Qr,transitionName:an,animation:wr}))),t.createElement(Gn,Object(E.a)({},Jr,{visible:bn,removeOnLeave:!0}),function(kn){var Dn=kn.className;return t.createElement("div",{style:{zIndex:Zr},className:s()("".concat(Qr,"-mask"),Dn)})})}var Fi=l("9mu1"),la=l("o0o1"),Ta=l.n(la),dt=l("HaE+"),Me=["measure","align",null,"motion"],Xe=function(Nr,Qr){var bn=Object(t.useState)(null),Zr=Object(m.a)(bn,2),hr=Zr[0],jr=Zr[1],wr=Object(t.useRef)(),an=Object(t.useRef)(!1);function Jr(Xn){an.current||jr(Xn)}function kn(){Pe.a.cancel(wr.current)}function Dn(Xn){kn(),wr.current=Object(Pe.a)(function(){Jr(function(vi){switch(hr){case"align":return"motion";case"motion":return"stable";default:}return vi}),Xn==null||Xn()})}return Object(t.useEffect)(function(){Jr("measure")},[Nr]),Object(t.useEffect)(function(){switch(hr){case"measure":Qr();break;default:}hr&&(wr.current=Object(Pe.a)(Object(dt.a)(Ta.a.mark(function Xn(){var vi,Li;return Ta.a.wrap(function(Sa){for(;;)switch(Sa.prev=Sa.next){case 0:vi=Me.indexOf(hr),Li=Me[vi+1],Li&&vi!==-1&&Jr(Li);case 3:case"end":return Sa.stop()}},Xn)}))))},[hr]),Object(t.useEffect)(function(){return function(){an.current=!0,kn()}},[]),[hr,Dn]},Qe=function(Nr){var Qr=t.useState({width:0,height:0}),bn=Object(m.a)(Qr,2),Zr=bn[0],hr=bn[1];function jr(an){hr({width:an.offsetWidth,height:an.offsetHeight})}var wr=t.useMemo(function(){var an={};if(Nr){var Jr=Zr.width,kn=Zr.height;Nr.indexOf("height")!==-1&&kn?an.height=kn:Nr.indexOf("minHeight")!==-1&&kn&&(an.minHeight=kn),Nr.indexOf("width")!==-1&&Jr?an.width=Jr:Nr.indexOf("minWidth")!==-1&&Jr&&(an.minWidth=Jr)}return an},[Nr,Zr]);return[wr,jr]},st=t.forwardRef(function(Nr,Qr){var bn=Nr.visible,Zr=Nr.prefixCls,hr=Nr.className,jr=Nr.style,wr=Nr.children,an=Nr.zIndex,Jr=Nr.stretch,kn=Nr.destroyPopupOnHide,Dn=Nr.forceRender,Xn=Nr.align,vi=Nr.point,Li=Nr.getRootDomNode,ji=Nr.getClassNameFromAlign,Sa=Nr.onAlign,Ga=Nr.onMouseEnter,Ya=Nr.onMouseLeave,bo=Nr.onMouseDown,vo=Nr.onTouchStart,po=Object(t.useRef)(),Ha=Object(t.useRef)(),Oa=Object(t.useState)(),ao=Object(m.a)(Oa,2),to=ao[0],Po=ao[1],Yo=Qe(Jr),ro=Object(m.a)(Yo,2),za=ro[0],Mo=ro[1];function Io(){Jr&&Mo(Li())}var ma=Xe(bn,Io),mo=Object(m.a)(ma,2),ns=mo[0],Zo=mo[1],Oo=Object(t.useRef)();function Ro(){return vi||Li}function hs(){var Ko;(Ko=po.current)===null||Ko===void 0||Ko.forceAlign()}function Uo(Ko,Vo){var Go=ji(Vo);to!==Go&&Po(Go),ns==="align"&&(to!==Go?Promise.resolve().then(function(){hs()}):Zo(function(){var os;(os=Oo.current)===null||os===void 0||os.call(Oo)}),Sa==null||Sa(Ko,Vo))}var Ja=Object(a.a)({},di(Nr));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(Ko){var Vo=Ja[Ko];Ja[Ko]=function(Go,os){return Zo(),Vo==null?void 0:Vo(Go,os)}});function Es(){return new Promise(function(Ko){Oo.current=Ko})}t.useEffect(function(){!Ja.motionName&&ns==="motion"&&Zo()},[Ja.motionName,ns]),t.useImperativeHandle(Qr,function(){return{forceAlign:hs,getElement:function(){return Ha.current}}});var oo=Object(a.a)(Object(a.a)({},za),{},{zIndex:an,opacity:ns==="motion"||ns==="stable"||!bn?void 0:0,pointerEvents:ns==="stable"?void 0:"none"},jr),Fs=!0;(Xn==null?void 0:Xn.points)&&(ns==="align"||ns==="stable")&&(Fs=!1);var qo=wr;return t.Children.count(wr)>1&&(qo=t.createElement("div",{className:"".concat(Zr,"-content")},wr)),t.createElement(Gn,Object(E.a)({visible:bn,ref:Ha,leavedClassName:"".concat(Zr,"-hidden")},Ja,{onAppearPrepare:Es,onEnterPrepare:Es,removeOnLeave:kn,forceRender:Dn}),function(Ko,Vo){var Go=Ko.className,os=Ko.style,Vs=s()(Zr,hr,to,Go);return t.createElement(Fi.a,{target:Ro(),key:"popup",ref:po,monitorWindowResize:!0,disabled:Fs,align:Xn,onAlign:Uo},t.createElement("div",{ref:Vo,className:Vs,onMouseEnter:Ga,onMouseLeave:Ya,onMouseDownCapture:bo,onTouchStartCapture:vo,style:Object(a.a)(Object(a.a)({},os),oo)},qo))})});st.displayName="PopupInner";var nt=st,ft=t.forwardRef(function(Nr,Qr){var bn=Nr.prefixCls,Zr=Nr.visible,hr=Nr.zIndex,jr=Nr.children,wr=Nr.mobile;wr=wr===void 0?{}:wr;var an=wr.popupClassName,Jr=wr.popupStyle,kn=wr.popupMotion,Dn=kn===void 0?{}:kn,Xn=wr.popupRender,vi=t.useRef();t.useImperativeHandle(Qr,function(){return{forceAlign:function(){},getElement:function(){return vi.current}}});var Li=Object(a.a)({zIndex:hr},Jr),ji=jr;return t.Children.count(jr)>1&&(ji=t.createElement("div",{className:"".concat(bn,"-content")},jr)),Xn&&(ji=Xn(ji)),t.createElement(Gn,Object(E.a)({visible:Zr,ref:vi,removeOnLeave:!0},Dn),function(Sa,Ga){var Ya=Sa.className,bo=Sa.style,vo=s()(bn,an,Ya);return t.createElement("div",{ref:Ga,className:vo,style:Object(a.a)(Object(a.a)({},bo),Li)},ji)})});ft.displayName="MobilePopupInner";var Bt=ft,Et=["visible","mobile"],nr=t.forwardRef(function(Nr,Qr){var bn=Nr.visible,Zr=Nr.mobile,hr=Object(d.a)(Nr,Et),jr=Object(t.useState)(bn),wr=Object(m.a)(jr,2),an=wr[0],Jr=wr[1],kn=Object(t.useState)(!1),Dn=Object(m.a)(kn,2),Xn=Dn[0],vi=Dn[1],Li=Object(a.a)(Object(a.a)({},hr),{},{visible:an});Object(t.useEffect)(function(){Jr(bn),bn&&Zr&&vi(Ee())},[bn,Zr]);var ji=Xn?t.createElement(Bt,Object(E.a)({},Li,{mobile:Zr,ref:Qr})):t.createElement(nt,Object(E.a)({},Li,{ref:Qr}));return t.createElement("div",null,t.createElement(Ti,Li),ji)});nr.displayName="Popup";var Ur=nr,Lr=t.createContext(null),Vr=Lr;function sr(){}function Bn(){return""}function Er(Nr){return Nr?Nr.ownerDocument:window.document}var gn=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function rn(Nr){var Qr=function(bn){Object(H.a)(hr,bn);var Zr=Object(B.a)(hr);function hr(jr){var wr;Object(O.a)(this,hr),wr=Zr.call(this,jr),wr.popupRef=t.createRef(),wr.triggerRef=t.createRef(),wr.attachId=void 0,wr.clickOutsideHandler=void 0,wr.touchOutsideHandler=void 0,wr.contextMenuOutsideHandler1=void 0,wr.contextMenuOutsideHandler2=void 0,wr.mouseDownTimeout=void 0,wr.focusTime=void 0,wr.preClickTime=void 0,wr.preTouchTime=void 0,wr.delayTimer=void 0,wr.hasPopupMouseDown=void 0,wr.onMouseEnter=function(Jr){var kn=wr.props.mouseEnterDelay;wr.fireEvents("onMouseEnter",Jr),wr.delaySetPopupVisible(!0,kn,kn?null:Jr)},wr.onMouseMove=function(Jr){wr.fireEvents("onMouseMove",Jr),wr.setPoint(Jr)},wr.onMouseLeave=function(Jr){wr.fireEvents("onMouseLeave",Jr),wr.delaySetPopupVisible(!1,wr.props.mouseLeaveDelay)},wr.onPopupMouseEnter=function(){wr.clearDelayTimer()},wr.onPopupMouseLeave=function(Jr){var kn;if(Jr.relatedTarget&&!Jr.relatedTarget.setTimeout&&Object(Nt.a)((kn=wr.popupRef.current)===null||kn===void 0?void 0:kn.getElement(),Jr.relatedTarget))return;wr.delaySetPopupVisible(!1,wr.props.mouseLeaveDelay)},wr.onFocus=function(Jr){wr.fireEvents("onFocus",Jr),wr.clearDelayTimer(),wr.isFocusToShow()&&(wr.focusTime=Date.now(),wr.delaySetPopupVisible(!0,wr.props.focusDelay))},wr.onMouseDown=function(Jr){wr.fireEvents("onMouseDown",Jr),wr.preClickTime=Date.now()},wr.onTouchStart=function(Jr){wr.fireEvents("onTouchStart",Jr),wr.preTouchTime=Date.now()},wr.onBlur=function(Jr){wr.fireEvents("onBlur",Jr),wr.clearDelayTimer(),wr.isBlurToHide()&&wr.delaySetPopupVisible(!1,wr.props.blurDelay)},wr.onContextMenu=function(Jr){Jr.preventDefault(),wr.fireEvents("onContextMenu",Jr),wr.setPopupVisible(!0,Jr)},wr.onContextMenuClose=function(){wr.isContextMenuToShow()&&wr.close()},wr.onClick=function(Jr){if(wr.fireEvents("onClick",Jr),wr.focusTime){var kn;if(wr.preClickTime&&wr.preTouchTime?kn=Math.min(wr.preClickTime,wr.preTouchTime):wr.preClickTime?kn=wr.preClickTime:wr.preTouchTime&&(kn=wr.preTouchTime),Math.abs(kn-wr.focusTime)<20)return;wr.focusTime=0}wr.preClickTime=0,wr.preTouchTime=0,wr.isClickToShow()&&(wr.isClickToHide()||wr.isBlurToHide())&&Jr&&Jr.preventDefault&&Jr.preventDefault();var Dn=!wr.state.popupVisible;(wr.isClickToHide()&&!Dn||Dn&&wr.isClickToShow())&&wr.setPopupVisible(!wr.state.popupVisible,Jr)},wr.onPopupMouseDown=function(){if(wr.hasPopupMouseDown=!0,clearTimeout(wr.mouseDownTimeout),wr.mouseDownTimeout=window.setTimeout(function(){wr.hasPopupMouseDown=!1},0),wr.context){var Jr;(Jr=wr.context).onPopupMouseDown.apply(Jr,arguments)}},wr.onDocumentClick=function(Jr){if(wr.props.mask&&!wr.props.maskClosable)return;var kn=Jr.target,Dn=wr.getRootDomNode(),Xn=wr.getPopupDomNode();(!Object(Nt.a)(Dn,kn)||wr.isContextMenuOnly())&&!Object(Nt.a)(Xn,kn)&&!wr.hasPopupMouseDown&&wr.close()},wr.getRootDomNode=function(){var Jr=wr.props.getTriggerDOMNode;if(Jr)return Jr(wr.triggerRef.current);try{var kn=Object(ut.a)(wr.triggerRef.current);if(kn)return kn}catch(Dn){}return pt.a.findDOMNode(Object(F.a)(wr))},wr.getPopupClassNameFromAlign=function(Jr){var kn=[],Dn=wr.props,Xn=Dn.popupPlacement,vi=Dn.builtinPlacements,Li=Dn.prefixCls,ji=Dn.alignPoint,Sa=Dn.getPopupClassNameFromAlign;return Xn&&vi&&kn.push(ht(vi,Li,Jr,ji)),Sa&&kn.push(Sa(Jr)),kn.join(" ")},wr.getComponent=function(){var Jr=wr.props,kn=Jr.prefixCls,Dn=Jr.destroyPopupOnHide,Xn=Jr.popupClassName,vi=Jr.onPopupAlign,Li=Jr.popupMotion,ji=Jr.popupAnimation,Sa=Jr.popupTransitionName,Ga=Jr.popupStyle,Ya=Jr.mask,bo=Jr.maskAnimation,vo=Jr.maskTransitionName,po=Jr.maskMotion,Ha=Jr.zIndex,Oa=Jr.popup,ao=Jr.stretch,to=Jr.alignPoint,Po=Jr.mobile,Yo=Jr.forceRender,ro=wr.state,za=ro.popupVisible,Mo=ro.point,Io=wr.getPopupAlign(),ma={};return wr.isMouseEnterToShow()&&(ma.onMouseEnter=wr.onPopupMouseEnter),wr.isMouseLeaveToHide()&&(ma.onMouseLeave=wr.onPopupMouseLeave),ma.onMouseDown=wr.onPopupMouseDown,ma.onTouchStart=wr.onPopupMouseDown,t.createElement(Ur,Object(E.a)({prefixCls:kn,destroyPopupOnHide:Dn,visible:za,point:to&&Mo,className:Xn,align:Io,onAlign:vi,animation:ji,getClassNameFromAlign:wr.getPopupClassNameFromAlign},ma,{stretch:ao,getRootDomNode:wr.getRootDomNode,style:Ga,mask:Ya,zIndex:Ha,transitionName:Sa,maskAnimation:bo,maskTransitionName:vo,maskMotion:po,ref:wr.popupRef,motion:Li,mobile:Po,forceRender:Yo}),typeof Oa=="function"?Oa():Oa)},wr.attachParent=function(Jr){Pe.a.cancel(wr.attachId);var kn=wr.props,Dn=kn.getPopupContainer,Xn=kn.getDocument,vi=wr.getRootDomNode(),Li;Dn?(vi||Dn.length===0)&&(Li=Dn(vi)):Li=Xn(wr.getRootDomNode()).body,Li?Li.appendChild(Jr):wr.attachId=Object(Pe.a)(function(){wr.attachParent(Jr)})},wr.getContainer=function(){var Jr=wr.props.getDocument,kn=Jr(wr.getRootDomNode()).createElement("div");return kn.style.position="absolute",kn.style.top="0",kn.style.left="0",kn.style.width="100%",wr.attachParent(kn),kn},wr.setPoint=function(Jr){var kn=wr.props.alignPoint;if(!kn||!Jr)return;wr.setState({point:{pageX:Jr.pageX,pageY:Jr.pageY}})},wr.handlePortalUpdate=function(){wr.state.prevPopupVisible!==wr.state.popupVisible&&wr.props.afterPopupVisibleChange(wr.state.popupVisible)},wr.triggerContextValue={onPopupMouseDown:wr.onPopupMouseDown};var an;return"popupVisible"in jr?an=!!jr.popupVisible:an=!!jr.defaultPopupVisible,wr.state={prevPopupVisible:an,popupVisible:an},gn.forEach(function(Jr){wr["fire".concat(Jr)]=function(kn){wr.fireEvents(Jr,kn)}}),wr}return Object(M.a)(hr,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var wr=this.props,an=this.state;if(an.popupVisible){var Jr;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(Jr=wr.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Object(Ut.a)(Jr,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(Jr=Jr||wr.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Object(Ut.a)(Jr,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(Jr=Jr||wr.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Object(Ut.a)(Jr,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(Ut.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),Pe.a.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var wr;return((wr=this.popupRef.current)===null||wr===void 0?void 0:wr.getElement())||null}},{key:"getPopupAlign",value:function(){var wr=this.props,an=wr.popupPlacement,Jr=wr.popupAlign,kn=wr.builtinPlacements;return an&&kn?or(kn,an,Jr):Jr}},{key:"setPopupVisible",value:function(wr,an){var Jr=this.props.alignPoint,kn=this.state.popupVisible;this.clearDelayTimer(),kn!==wr&&("popupVisible"in this.props||this.setState({popupVisible:wr,prevPopupVisible:kn}),this.props.onPopupVisibleChange(wr)),Jr&&an&&wr&&this.setPoint(an)}},{key:"delaySetPopupVisible",value:function(wr,an,Jr){var kn=this,Dn=an*1e3;if(this.clearDelayTimer(),Dn){var Xn=Jr?{pageX:Jr.pageX,pageY:Jr.pageY}:null;this.delayTimer=window.setTimeout(function(){kn.setPopupVisible(wr,Xn),kn.clearDelayTimer()},Dn)}else this.setPopupVisible(wr,Jr)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(wr){var an=this.props.children.props,Jr=this.props;return an[wr]&&Jr[wr]?this["fire".concat(wr)]:an[wr]||Jr[wr]}},{key:"isClickToShow",value:function(){var wr=this.props,an=wr.action,Jr=wr.showAction;return an.indexOf("click")!==-1||Jr.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var wr=this.props.action;return wr==="contextMenu"||wr.length===1&&wr[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var wr=this.props,an=wr.action,Jr=wr.showAction;return an.indexOf("contextMenu")!==-1||Jr.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var wr=this.props,an=wr.action,Jr=wr.hideAction;return an.indexOf("click")!==-1||Jr.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var wr=this.props,an=wr.action,Jr=wr.showAction;return an.indexOf("hover")!==-1||Jr.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var wr=this.props,an=wr.action,Jr=wr.hideAction;return an.indexOf("hover")!==-1||Jr.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var wr=this.props,an=wr.action,Jr=wr.showAction;return an.indexOf("focus")!==-1||Jr.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var wr=this.props,an=wr.action,Jr=wr.hideAction;return an.indexOf("focus")!==-1||Jr.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var wr;(wr=this.popupRef.current)===null||wr===void 0||wr.forceAlign()}}},{key:"fireEvents",value:function(wr,an){var Jr=this.props.children.props[wr];Jr&&Jr(an);var kn=this.props[wr];kn&&kn(an)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var wr=this.state.popupVisible,an=this.props,Jr=an.children,kn=an.forceRender,Dn=an.alignPoint,Xn=an.className,vi=an.autoDestroy,Li=t.Children.only(Jr),ji={key:"trigger"};this.isContextMenuToShow()?ji.onContextMenu=this.onContextMenu:ji.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(ji.onClick=this.onClick,ji.onMouseDown=this.onMouseDown,ji.onTouchStart=this.onTouchStart):(ji.onClick=this.createTwoChains("onClick"),ji.onMouseDown=this.createTwoChains("onMouseDown"),ji.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(ji.onMouseEnter=this.onMouseEnter,Dn&&(ji.onMouseMove=this.onMouseMove)):ji.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?ji.onMouseLeave=this.onMouseLeave:ji.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(ji.onFocus=this.onFocus,ji.onBlur=this.onBlur):(ji.onFocus=this.createTwoChains("onFocus"),ji.onBlur=this.createTwoChains("onBlur"));var Sa=s()(Li&&Li.props&&Li.props.className,Xn);Sa&&(ji.className=Sa);var Ga=Object(a.a)({},ji);Object(Ft.c)(Li)&&(Ga.ref=Object(Ft.a)(this.triggerRef,Li.ref));var Ya=t.cloneElement(Li,Ga),bo;return(wr||this.popupRef.current||kn)&&(bo=t.createElement(Nr,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!wr&&vi&&(bo=null),t.createElement(Vr.Provider,{value:this.triggerContextValue},Ya,bo)}}],[{key:"getDerivedStateFromProps",value:function(wr,an){var Jr=wr.popupVisible,kn={};return Jr!==void 0&&an.popupVisible!==Jr&&(kn.popupVisible=Jr,kn.prevPopupVisible=an.popupVisible),kn}}]),hr}(t.Component);return Qr.contextType=Vr,Qr.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Bn,getDocument:Er,onPopupVisibleChange:sr,afterPopupVisibleChange:sr,onPopupAlign:sr,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},Qr}var Br=rn(Wt.a),Vn={adjustX:1,adjustY:1},gi={topLeft:{points:["bl","tl"],overflow:Vn,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Vn,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Vn,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Vn,offset:[4,0]}},Ni={topLeft:{points:["bl","tl"],overflow:Vn,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Vn,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Vn,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Vn,offset:[4,0]}},Ki=gi,zi=0,Yi={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},mi=function(Qr,bn,Zr){var hr=we(bn),jr=Qr.getState();Qr.setState({defaultActiveFirst:Object(a.a)(Object(a.a)({},jr.defaultActiveFirst),{},Object(e.a)({},hr,Zr))})},va=function(Nr){Object(H.a)(bn,Nr);var Qr=Object(B.a)(bn);function bn(Zr){var hr;Object(O.a)(this,bn),hr=Qr.call(this,Zr),hr.onDestroy=function(Dn){hr.props.onDestroy(Dn)},hr.onKeyDown=function(Dn){var Xn=Dn.keyCode,vi=hr.menuInstance,Li=hr.props.store,ji=hr.getVisible();if(Xn===v.a.ENTER)return hr.onTitleClick(Dn),mi(Li,hr.props.eventKey,!0),!0;if(Xn===v.a.RIGHT)return ji?vi.onKeyDown(Dn):(hr.triggerOpenChange(!0),mi(Li,hr.props.eventKey,!0)),!0;if(Xn===v.a.LEFT){var Sa;if(ji)Sa=vi.onKeyDown(Dn);else return;return Sa||(hr.triggerOpenChange(!1),Sa=!0),Sa}return ji&&(Xn===v.a.UP||Xn===v.a.DOWN)?vi.onKeyDown(Dn):void 0},hr.onOpenChange=function(Dn){hr.props.onOpenChange(Dn)},hr.onPopupVisibleChange=function(Dn){hr.triggerOpenChange(Dn,Dn?"mouseenter":"mouseleave")},hr.onMouseEnter=function(Dn){var Xn=hr.props,vi=Xn.eventKey,Li=Xn.onMouseEnter,ji=Xn.store;mi(ji,hr.props.eventKey,!1),Li({key:vi,domEvent:Dn})},hr.onMouseLeave=function(Dn){var Xn=hr.props,vi=Xn.parentMenu,Li=Xn.eventKey,ji=Xn.onMouseLeave;vi.subMenuInstance=Object(F.a)(hr),ji({key:Li,domEvent:Dn})},hr.onTitleMouseEnter=function(Dn){var Xn=hr.props,vi=Xn.eventKey,Li=Xn.onItemHover,ji=Xn.onTitleMouseEnter;Li({key:vi,hover:!0}),ji({key:vi,domEvent:Dn})},hr.onTitleMouseLeave=function(Dn){var Xn=hr.props,vi=Xn.parentMenu,Li=Xn.eventKey,ji=Xn.onItemHover,Sa=Xn.onTitleMouseLeave;vi.subMenuInstance=Object(F.a)(hr),ji({key:Li,hover:!1}),Sa({key:Li,domEvent:Dn})},hr.onTitleClick=function(Dn){var Xn=Object(F.a)(hr),vi=Xn.props;if(vi.onTitleClick({key:vi.eventKey,domEvent:Dn}),vi.triggerSubMenuAction==="hover")return;hr.triggerOpenChange(!hr.getVisible(),"click"),mi(vi.store,hr.props.eventKey,!1)},hr.onSubMenuClick=function(Dn){typeof hr.props.onClick=="function"&&hr.props.onClick(hr.addKeyPath(Dn))},hr.onSelect=function(Dn){hr.props.onSelect(Dn)},hr.onDeselect=function(Dn){hr.props.onDeselect(Dn)},hr.getPrefixCls=function(){return"".concat(hr.props.rootPrefixCls,"-submenu")},hr.getActiveClassName=function(){return"".concat(hr.getPrefixCls(),"-active")},hr.getDisabledClassName=function(){return"".concat(hr.getPrefixCls(),"-disabled")},hr.getSelectedClassName=function(){return"".concat(hr.getPrefixCls(),"-selected")},hr.getOpenClassName=function(){return"".concat(hr.props.rootPrefixCls,"-submenu-open")},hr.getVisible=function(){return hr.state.isOpen},hr.getMode=function(){return hr.state.mode},hr.saveMenuInstance=function(Dn){hr.menuInstance=Dn},hr.addKeyPath=function(Dn){return Object(a.a)(Object(a.a)({},Dn),{},{keyPath:(Dn.keyPath||[]).concat(hr.props.eventKey)})},hr.triggerOpenChange=function(Dn,Xn){var vi=hr.props.eventKey,Li=function(){hr.onOpenChange({key:vi,item:Object(F.a)(hr),trigger:Xn,open:Dn})};Xn==="mouseenter"?hr.mouseenterTimeout=setTimeout(function(){Li()},0):Li()},hr.isChildrenSelected=function(){var Dn={find:!1};return De(hr.props.children,hr.props.selectedKeys,Dn),Dn.find},hr.isInlineMode=function(){return hr.getMode()==="inline"},hr.adjustWidth=function(){if(!hr.subMenuTitle||!hr.menuInstance)return;var Dn=yt.findDOMNode(hr.menuInstance);if(Dn.offsetWidth>=hr.subMenuTitle.offsetWidth)return;Dn.style.minWidth="".concat(hr.subMenuTitle.offsetWidth,"px")},hr.saveSubMenuTitle=function(Dn){hr.subMenuTitle=Dn},hr.getBaseProps=function(){var Dn=Object(F.a)(hr),Xn=Dn.props,vi=hr.getMode();return{mode:vi==="horizontal"?"vertical":vi,visible:hr.getVisible(),level:Xn.level+1,inlineIndent:Xn.inlineIndent,focusable:!1,onClick:hr.onSubMenuClick,onSelect:hr.onSelect,onDeselect:hr.onDeselect,onDestroy:hr.onDestroy,selectedKeys:Xn.selectedKeys,eventKey:"".concat(Xn.eventKey,"-menu-"),openKeys:Xn.openKeys,motion:Xn.motion,onOpenChange:hr.onOpenChange,subMenuOpenDelay:Xn.subMenuOpenDelay,parentMenu:Object(F.a)(hr),subMenuCloseDelay:Xn.subMenuCloseDelay,forceSubMenuRender:Xn.forceSubMenuRender,triggerSubMenuAction:Xn.triggerSubMenuAction,builtinPlacements:Xn.builtinPlacements,defaultActiveFirst:Xn.store.getState().defaultActiveFirst[we(Xn.eventKey)],multiple:Xn.multiple,prefixCls:Xn.rootPrefixCls,id:hr.internalMenuId,manualRef:hr.saveMenuInstance,itemIcon:Xn.itemIcon,expandIcon:Xn.expandIcon,direction:Xn.direction}},hr.getMotion=function(Dn,Xn){var vi=Object(F.a)(hr),Li=vi.haveRendered,ji=hr.props,Sa=ji.motion,Ga=ji.rootPrefixCls,Ya=Object(a.a)(Object(a.a)({},Sa),{},{leavedClassName:"".concat(Ga,"-hidden"),removeOnLeave:!1,motionAppear:Li||!Xn||Dn!=="inline"});return Ya};var jr=Zr.store,wr=Zr.eventKey,an=jr.getState(),Jr=an.defaultActiveFirst;hr.isRootMenu=!1;var kn=!1;return Jr&&(kn=Jr[wr]),mi(jr,wr,kn),hr.state={mode:Zr.mode,isOpen:Zr.isOpen},hr}return Object(M.a)(bn,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var hr=this,jr=this.props,wr=jr.mode,an=jr.parentMenu,Jr=jr.manualRef,kn=jr.isOpen,Dn=function(){hr.setState({mode:wr,isOpen:kn})},Xn=kn!==this.state.isOpen,vi=wr!==this.state.mode;if((vi||Xn)&&(Pe.a.cancel(this.updateStateRaf),vi?this.updateStateRaf=Object(Pe.a)(Dn):Dn()),Jr&&Jr(this),wr!=="horizontal"||!(an==null?void 0:an.isRootMenu)||!kn)return;this.minWidthTimeout=setTimeout(function(){return hr.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var hr=this.props,jr=hr.onDestroy,wr=hr.eventKey;jr&&jr(wr),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout),Pe.a.cancel(this.updateStateRaf)}},{key:"renderPopupMenu",value:function(hr,jr){var wr=this.getBaseProps();return t.createElement(Yn,Object(E.a)({},wr,{id:this.internalMenuId,className:hr,style:jr}),this.props.children)}},{key:"renderChildren",value:function(){var hr=this,jr=this.getBaseProps(),wr=jr.mode,an=jr.visible,Jr=jr.forceSubMenuRender,kn=jr.direction,Dn=this.getMotion(wr,an);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||an||Jr,!this.haveOpened)return t.createElement("div",null);var Xn=s()("".concat(jr.prefixCls,"-sub"),Object(e.a)({},"".concat(jr.prefixCls,"-rtl"),kn==="rtl"));return this.isInlineMode()?t.createElement(Gn,Object(E.a)({visible:jr.visible,forceRender:Jr},Dn),function(vi){var Li=vi.className,ji=vi.style,Sa=s()(Xn,Li);return hr.renderPopupMenu(Sa,ji)}):this.renderPopupMenu(Xn)}},{key:"render",value:function(){var hr,jr,wr,an=Object(a.a)({},this.props),Jr=this.getVisible(),kn=this.getPrefixCls(),Dn=this.isInlineMode(),Xn=this.getMode(),vi=s()(kn,"".concat(kn,"-").concat(Xn),(hr={},Object(e.a)(hr,an.className,!!an.className),Object(e.a)(hr,this.getOpenClassName(),Jr),Object(e.a)(hr,this.getActiveClassName(),an.active||Jr&&!Dn),Object(e.a)(hr,this.getDisabledClassName(),an.disabled),Object(e.a)(hr,this.getSelectedClassName(),this.isChildrenSelected()),hr));this.internalMenuId||(an.eventKey?this.internalMenuId="".concat(an.eventKey,"$Menu"):(zi+=1,this.internalMenuId="$__$".concat(zi,"$Menu")));var Li={},ji={},Sa={};an.disabled||(Li={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},ji={onClick:this.onTitleClick},Sa={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Ga={},Ya=an.direction,bo=Ya==="rtl";Dn&&(bo?Ga.paddingRight=an.inlineIndent*an.level:Ga.paddingLeft=an.inlineIndent*an.level);var vo={};this.getVisible()&&(vo={"aria-owns":this.internalMenuId});var po=null;Xn!=="horizontal"&&(po=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(po=t.createElement(this.props.expandIcon,Object(a.a)({},this.props))));var Ha=t.createElement("div",Object(E.a)({ref:this.saveSubMenuTitle,style:Ga,className:"".concat(kn,"-title"),role:"button"},Sa,ji,{"aria-expanded":Jr},vo,{"aria-haspopup":"true",title:typeof an.title=="string"?an.title:void 0}),an.title,po||t.createElement("i",{className:"".concat(kn,"-arrow")})),Oa=this.renderChildren(),ao=((jr=an.parentMenu)===null||jr===void 0?void 0:jr.isRootMenu)?an.parentMenu.props.getPopupContainer:function(Ro){return Ro.parentNode},to=Yi[Xn],Po=an.popupOffset?{offset:an.popupOffset}:{},Yo=s()((wr={},Object(e.a)(wr,an.popupClassName,an.popupClassName&&!Dn),Object(e.a)(wr,"".concat(kn,"-rtl"),bo),wr)),ro=an.disabled,za=an.triggerSubMenuAction,Mo=an.subMenuOpenDelay,Io=an.forceSubMenuRender,ma=an.subMenuCloseDelay,mo=an.builtinPlacements;Ne.forEach(function(Ro){return delete an[Ro]}),delete an.onClick;var ns=bo?Object(a.a)(Object(a.a)({},Ni),mo):Object(a.a)(Object(a.a)({},gi),mo);delete an.direction;var Zo=this.getBaseProps(),Oo=Dn?null:this.getMotion(Zo.mode,Zo.visible);return t.createElement("li",Object(E.a)({},an,Li,{className:vi,role:"menuitem"}),t.createElement(Br,{prefixCls:kn,popupClassName:s()("".concat(kn,"-popup"),Yo),getPopupContainer:ao,builtinPlacements:ns,popupPlacement:to,popupVisible:Dn?!1:Jr,popupAlign:Po,popup:Dn?null:Oa,action:ro||Dn?[]:[za],mouseEnterDelay:Mo,mouseLeaveDelay:ma,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:Io,popupMotion:Oo},Ha),Dn?Oa:null)}}]),bn}(t.Component);va.defaultProps={onMouseEnter:Y,onMouseLeave:Y,onTitleMouseEnter:Y,onTitleMouseLeave:Y,onTitleClick:Y,manualRef:Y,mode:"vertical",title:""};var zn=Object(X.b)(function(Nr,Qr){var bn=Nr.openKeys,Zr=Nr.activeKey,hr=Nr.selectedKeys,jr=Qr.eventKey,wr=Qr.subMenuKey;return{isOpen:bn.indexOf(jr)>-1,active:Zr[wr]===jr,selectedKeys:hr}})(va);zn.isSubMenu=!0;var fn=zn,$n="menuitem-overflowed",Cn=.5,ki=function(Nr){Object(H.a)(bn,Nr);var Qr=Object(B.a)(bn);function bn(){var Zr;return Object(O.a)(this,bn),Zr=Qr.apply(this,arguments),Zr.resizeObserver=null,Zr.mutationObserver=null,Zr.originalTotalWidth=0,Zr.overflowedItems=[],Zr.menuItemSizes=[],Zr.cancelFrameId=null,Zr.state={lastVisibleIndex:void 0},Zr.childRef=t.createRef(),Zr.getMenuItemNodes=function(){var hr=Zr.props.prefixCls,jr=Zr.childRef.current;return jr?[].slice.call(jr.children).filter(function(wr){return wr.className.split(" ").indexOf("".concat(hr,"-overflowed-submenu"))<0}):[]},Zr.getOverflowedSubMenuItem=function(hr,jr,wr){var an=Zr.props,Jr=an.overflowedIndicator,kn=an.level,Dn=an.mode,Xn=an.prefixCls,vi=an.theme;if(kn!==1||Dn!=="horizontal")return null;var Li=Zr.props.children[0],ji=Li.props,Sa=ji.children,Ga=ji.title,Ya=ji.style,bo=Object(d.a)(ji,["children","title","style"]),vo=Object(a.a)({},Ya),po="".concat(hr,"-overflowed-indicator"),Ha="".concat(hr,"-overflowed-indicator");jr.length===0&&wr!==!0?vo=Object(a.a)(Object(a.a)({},vo),{},{display:"none"}):wr&&(vo=Object(a.a)(Object(a.a)({},vo),{},{visibility:"hidden",position:"absolute"}),po="".concat(po,"-placeholder"),Ha="".concat(Ha,"-placeholder"));var Oa=vi?"".concat(Xn,"-").concat(vi):"",ao={};return Ne.forEach(function(to){bo[to]!==void 0&&(ao[to]=bo[to])}),t.createElement(fn,Object(E.a)({title:Jr,className:"".concat(Xn,"-overflowed-submenu"),popupClassName:Oa},ao,{key:po,eventKey:Ha,disabled:!1,style:vo}),jr)},Zr.setChildrenWidthAndResize=function(){if(Zr.props.mode!=="horizontal")return;var hr=Zr.childRef.current;if(!hr)return;var jr=hr.children;if(!jr||jr.length===0)return;var wr=hr.children[jr.length-1];be(wr,"display","inline-block");var an=Zr.getMenuItemNodes(),Jr=an.filter(function(kn){return kn.className.split(" ").indexOf($n)>=0});Jr.forEach(function(kn){be(kn,"display","inline-block")}),Zr.menuItemSizes=an.map(function(kn){return me(kn,!0)}),Jr.forEach(function(kn){be(kn,"display","none")}),Zr.overflowedIndicatorWidth=me(hr.children[hr.children.length-1],!0),Zr.originalTotalWidth=Zr.menuItemSizes.reduce(function(kn,Dn){return kn+Dn},0),Zr.handleResize(),be(wr,"display","none")},Zr.handleResize=function(){if(Zr.props.mode!=="horizontal")return;var hr=Zr.childRef.current;if(!hr)return;var jr=me(hr);Zr.overflowedItems=[];var wr=0,an;Zr.originalTotalWidth>jr+Cn&&(an=-1,Zr.menuItemSizes.forEach(function(Jr){wr+=Jr,wr+Zr.overflowedIndicatorWidth<=jr&&(an+=1)})),Zr.setState({lastVisibleIndex:an})},Zr}return Object(M.a)(bn,[{key:"componentDidMount",value:function(){var hr=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var jr=this.childRef.current;if(!jr)return;this.resizeObserver=new it.default(function(wr){wr.forEach(function(){var an=hr.cancelFrameId;cancelAnimationFrame(an),hr.cancelFrameId=requestAnimationFrame(hr.setChildrenWidthAndResize)})}),[].slice.call(jr.children).concat(jr).forEach(function(wr){hr.resizeObserver.observe(wr)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){hr.resizeObserver.disconnect(),[].slice.call(jr.children).concat(jr).forEach(function(wr){hr.resizeObserver.observe(wr)}),hr.setChildrenWidthAndResize()}),this.mutationObserver.observe(jr,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(hr){var jr=this,wr=this.state.lastVisibleIndex;return(hr||[]).reduce(function(an,Jr,kn){var Dn=Jr;if(jr.props.mode==="horizontal"){var Xn=jr.getOverflowedSubMenuItem(Jr.props.eventKey,[]);wr!==void 0&&jr.props.className.indexOf("".concat(jr.props.prefixCls,"-root"))!==-1&&(kn>wr&&(Dn=t.cloneElement(Jr,{style:{display:"none"},eventKey:"".concat(Jr.props.eventKey,"-hidden"),className:"".concat($n)})),kn===wr+1&&(jr.overflowedItems=hr.slice(wr+1).map(function(Li){return t.cloneElement(Li,{key:Li.props.eventKey,mode:"vertical-left"})}),Xn=jr.getOverflowedSubMenuItem(Jr.props.eventKey,jr.overflowedItems)));var vi=[].concat(Object(u.a)(an),[Xn,Dn]);return kn===hr.length-1&&vi.push(jr.getOverflowedSubMenuItem(Jr.props.eventKey,[],!0)),vi}return[].concat(Object(u.a)(an),[Dn])},[])}},{key:"render",value:function(){var hr=this.props,jr=hr.visible,wr=hr.prefixCls,an=hr.overflowedIndicator,Jr=hr.mode,kn=hr.level,Dn=hr.tag,Xn=hr.children,vi=hr.theme,Li=Object(d.a)(hr,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),ji=Dn;return t.createElement(ji,Object(E.a)({ref:this.childRef},Li),this.renderChildren(Xn))}}]),bn}(t.Component);ki.defaultProps={tag:"div",className:""};var In=ki;function na(Nr){return Nr.length?Nr.every(function(Qr){return!!Qr.props.disabled}):!0}function Ei(Nr,Qr,bn){var Zr=Nr.getState();Nr.setState({activeKey:Object(a.a)(Object(a.a)({},Zr.activeKey),{},Object(e.a)({},Qr,bn))})}function pi(Nr){return Nr.eventKey||"0-menu-"}function Ri(Nr,Qr){var bn=Qr,Zr=Nr.children,hr=Nr.eventKey;if(bn){var jr;if(pe(Zr,function(wr,an){wr&&wr.props&&!wr.props.disabled&&bn===te(wr,hr,an)&&(jr=!0)}),jr)return bn}return bn=null,Nr.defaultActiveFirst&&pe(Zr,function(wr,an){!bn&&wr&&!wr.props.disabled&&(bn=te(wr,hr,an))}),bn}function Na(Nr){if(!Nr)return;var Qr=this.instanceArray.indexOf(Nr);Qr!==-1?this.instanceArray[Qr]=Nr:this.instanceArray.push(Nr)}var Un=function(Nr){Object(H.a)(bn,Nr);var Qr=Object(B.a)(bn);function bn(Zr){var hr;return Object(O.a)(this,bn),hr=Qr.call(this,Zr),hr.onKeyDown=function(jr,wr){var an=jr.keyCode,Jr;if(hr.getFlatInstanceArray().forEach(function(Dn){Dn&&Dn.props.active&&Dn.onKeyDown&&(Jr=Dn.onKeyDown(jr))}),Jr)return 1;var kn=null;return(an===v.a.UP||an===v.a.DOWN)&&(kn=hr.step(an===v.a.UP?-1:1)),kn?(jr.preventDefault(),Ei(hr.props.store,pi(hr.props),kn.props.eventKey),typeof wr=="function"&&wr(kn),1):void 0},hr.onItemHover=function(jr){var wr=jr.key,an=jr.hover;Ei(hr.props.store,pi(hr.props),an?wr:null)},hr.onDeselect=function(jr){hr.props.onDeselect(jr)},hr.onSelect=function(jr){hr.props.onSelect(jr)},hr.onClick=function(jr){hr.props.onClick(jr)},hr.onOpenChange=function(jr){hr.props.onOpenChange(jr)},hr.onDestroy=function(jr){hr.props.onDestroy(jr)},hr.getFlatInstanceArray=function(){return hr.instanceArray},hr.step=function(jr){var wr=hr.getFlatInstanceArray(),an=hr.props.store.getState().activeKey[pi(hr.props)],Jr=wr.length;if(!Jr)return null;jr<0&&(wr=wr.concat().reverse());var kn=-1;if(wr.every(function(Li,ji){return Li&&Li.props.eventKey===an?(kn=ji,!1):!0}),!hr.props.defaultActiveFirst&&kn!==-1&&na(wr.slice(kn,Jr-1)))return;var Dn=(kn+1)%Jr,Xn=Dn;do{var vi=wr[Xn];if(!vi||vi.props.disabled)Xn=(Xn+1)%Jr;else return vi}while(Xn!==Dn);return null},hr.renderCommonMenuItem=function(jr,wr,an){var Jr=hr.props.store.getState(),kn=Object(F.a)(hr),Dn=kn.props,Xn=te(jr,Dn.eventKey,wr),vi=jr.props;if(!vi||typeof jr.type=="string")return jr;var Li=Xn===Jr.activeKey,ji=Object(a.a)(Object(a.a)({mode:vi.mode||Dn.mode,level:Dn.level,inlineIndent:Dn.inlineIndent,renderMenuItem:hr.renderMenuItem,rootPrefixCls:Dn.prefixCls,index:wr,parentMenu:Dn.parentMenu,manualRef:vi.disabled?void 0:Object(k.a)(jr.ref,Na.bind(Object(F.a)(hr))),eventKey:Xn,active:!vi.disabled&&Li,multiple:Dn.multiple,onClick:function(Ga){(vi.onClick||Y)(Ga),hr.onClick(Ga)},onItemHover:hr.onItemHover,motion:Dn.motion,subMenuOpenDelay:Dn.subMenuOpenDelay,subMenuCloseDelay:Dn.subMenuCloseDelay,forceSubMenuRender:Dn.forceSubMenuRender,onOpenChange:hr.onOpenChange,onDeselect:hr.onDeselect,onSelect:hr.onSelect,builtinPlacements:Dn.builtinPlacements,itemIcon:vi.itemIcon||hr.props.itemIcon,expandIcon:vi.expandIcon||hr.props.expandIcon},an),{},{direction:Dn.direction});return(Dn.mode==="inline"||Re())&&(ji.triggerSubMenuAction="click"),t.cloneElement(jr,Object(a.a)(Object(a.a)({},ji),{},{key:Xn||wr}))},hr.renderMenuItem=function(jr,wr,an){if(!jr)return null;var Jr=hr.props.store.getState(),kn={openKeys:Jr.openKeys,selectedKeys:Jr.selectedKeys,triggerSubMenuAction:hr.props.triggerSubMenuAction,subMenuKey:an};return hr.renderCommonMenuItem(jr,wr,kn)},Zr.store.setState({activeKey:Object(a.a)(Object(a.a)({},Zr.store.getState().activeKey),{},Object(e.a)({},Zr.eventKey,Ri(Zr,Zr.activeKey)))}),hr.instanceArray=[],hr}return Object(M.a)(bn,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(hr){return this.props.visible||hr.visible||this.props.className!==hr.className||!z()(this.props.style,hr.style)}},{key:"componentDidUpdate",value:function(hr){var jr=this.props,wr="activeKey"in jr?jr.activeKey:jr.store.getState().activeKey[pi(jr)],an=Ri(jr,wr);if(an!==wr)Ei(jr.store,pi(jr),an);else if("activeKey"in hr){var Jr=Ri(hr,hr.activeKey);an!==Jr&&Ei(jr.store,pi(jr),an)}}},{key:"render",value:function(){var hr=this,jr=Object(E.a)({},this.props);this.instanceArray=[];var wr=s()(jr.prefixCls,jr.className,"".concat(jr.prefixCls,"-").concat(jr.mode)),an={className:wr,role:jr.role||"menu"};jr.id&&(an.id=jr.id),jr.focusable&&(an.tabIndex=0,an.onKeyDown=this.onKeyDown);var Jr=jr.prefixCls,kn=jr.eventKey,Dn=jr.visible,Xn=jr.level,vi=jr.mode,Li=jr.overflowedIndicator,ji=jr.theme;return Ne.forEach(function(Sa){return delete jr[Sa]}),delete jr.onClick,t.createElement(In,Object(E.a)({},jr,{prefixCls:Jr,mode:vi,tag:"ul",level:Xn,theme:ji,visible:Dn,overflowedIndicator:Li},an),Object(c.a)(jr.children).map(function(Sa,Ga){return hr.renderMenuItem(Sa,Ga,kn||"0-menu-")}))}}]),bn}(t.Component);Un.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:Y};var nn=Object(X.b)()(Un),Yn=nn,bi=l("Kwbf");function Oi(Nr,Qr,bn){var Zr=Nr.prefixCls,hr=Nr.motion,jr=Nr.defaultMotions,wr=jr===void 0?{}:jr,an=Nr.openAnimation,Jr=Nr.openTransitionName,kn=Qr.switchingModeFromInline;if(hr)return hr;if(Object(K.a)(an)==="object"&&an)Object(bi.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof an=="string")return{motionName:"".concat(Zr,"-open-").concat(an)};if(Jr)return{motionName:Jr};var Dn=wr[bn];return Dn||(kn?null:wr.other)}var _i=function(Nr){Object(H.a)(bn,Nr);var Qr=Object(B.a)(bn);function bn(Zr){var hr;Object(O.a)(this,bn),hr=Qr.call(this,Zr),hr.onSelect=function(an){var Jr=Object(F.a)(hr),kn=Jr.props;if(kn.selectable){var Dn=hr.store.getState(),Xn=Dn.selectedKeys,vi=an.key;kn.multiple?Xn=Xn.concat([vi]):Xn=[vi],"selectedKeys"in kn||hr.store.setState({selectedKeys:Xn}),kn.onSelect(Object(a.a)(Object(a.a)({},an),{},{selectedKeys:Xn}))}},hr.onClick=function(an){var Jr=hr.getRealMenuMode(),kn=Object(F.a)(hr),Dn=kn.store,Xn=kn.props.onOpenChange;Jr!=="inline"&&!("openKeys"in hr.props)&&(Dn.setState({openKeys:[]}),Xn([])),hr.props.onClick(an)},hr.onKeyDown=function(an,Jr){hr.innerMenu.getWrappedInstance().onKeyDown(an,Jr)},hr.onOpenChange=function(an){var Jr=Object(F.a)(hr),kn=Jr.props,Dn=hr.store.getState().openKeys.concat(),Xn=!1,vi=function(ji){var Sa=!1;if(ji.open)Sa=Dn.indexOf(ji.key)===-1,Sa&&Dn.push(ji.key);else{var Ga=Dn.indexOf(ji.key);Sa=Ga!==-1,Sa&&Dn.splice(Ga,1)}Xn=Xn||Sa};Array.isArray(an)?an.forEach(vi):vi(an),Xn&&("openKeys"in hr.props||hr.store.setState({openKeys:Dn}),kn.onOpenChange(Dn))},hr.onDeselect=function(an){var Jr=Object(F.a)(hr),kn=Jr.props;if(kn.selectable){var Dn=hr.store.getState().selectedKeys.concat(),Xn=an.key,vi=Dn.indexOf(Xn);vi!==-1&&Dn.splice(vi,1),"selectedKeys"in kn||hr.store.setState({selectedKeys:Dn}),kn.onDeselect(Object(a.a)(Object(a.a)({},an),{},{selectedKeys:Dn}))}},hr.onMouseEnter=function(an){hr.restoreModeVerticalFromInline();var Jr=hr.props.onMouseEnter;Jr&&Jr(an)},hr.onTransitionEnd=function(an){var Jr=an.propertyName==="width"&&an.target===an.currentTarget,kn=an.target.className,Dn=Object.prototype.toString.call(kn)==="[object SVGAnimatedString]"?kn.animVal:kn,Xn=an.propertyName==="font-size"&&Dn.indexOf("anticon")>=0;(Jr||Xn)&&hr.restoreModeVerticalFromInline()},hr.setInnerMenu=function(an){hr.innerMenu=an},hr.isRootMenu=!0;var jr=Zr.defaultSelectedKeys,wr=Zr.defaultOpenKeys;return"selectedKeys"in Zr&&(jr=Zr.selectedKeys||[]),"openKeys"in Zr&&(wr=Zr.openKeys||[]),hr.store=Object(X.c)({selectedKeys:jr,openKeys:wr,activeKey:{"0-menu-":Ri(Zr,Zr.activeKey)}}),hr.state={switchingModeFromInline:!1,prevProps:Zr,inlineOpenKeys:[],store:hr.store},hr}return Object(M.a)(bn,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(hr){var jr=this.props,wr=jr.siderCollapsed,an=jr.inlineCollapsed,Jr=jr.onOpenChange;(!hr.inlineCollapsed&&an||!hr.siderCollapsed&&wr)&&Jr([]),this.updateMiniStore(),this.updateMenuDisplay()}},{key:"updateMenuDisplay",value:function(){var hr=this.props.collapsedWidth,jr=this.store,wr=this.prevOpenKeys,an=this.getInlineCollapsed()&&(hr===0||hr==="0"||hr==="0px");an?(this.prevOpenKeys=jr.getState().openKeys.concat(),this.store.setState({openKeys:[]})):wr&&(this.store.setState({openKeys:wr}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var hr=this.props.mode,jr=this.state.switchingModeFromInline,wr=this.getInlineCollapsed();return jr&&wr?"inline":wr?"vertical":hr}},{key:"getInlineCollapsed",value:function(){var hr=this.props,jr=hr.inlineCollapsed,wr=hr.siderCollapsed;return wr!==void 0?wr:jr}},{key:"restoreModeVerticalFromInline",value:function(){var hr=this.state.switchingModeFromInline;hr&&this.setState({switchingModeFromInline:!1})}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var hr=Object(a.a)({},Object(J.a)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),jr=this.getRealMenuMode();return hr.className+=" ".concat(hr.prefixCls,"-root"),hr.direction==="rtl"&&(hr.className+=" ".concat(hr.prefixCls,"-rtl")),hr=Object(a.a)(Object(a.a)({},hr),{},{mode:jr,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Oi(this.props,this.state,jr)}),delete hr.openAnimation,delete hr.openTransitionName,t.createElement(X.a,{store:this.store},t.createElement(Yn,Object(E.a)({},hr,{ref:this.setInnerMenu}),this.props.children))}}],[{key:"getDerivedStateFromProps",value:function(hr,jr){var wr=jr.prevProps,an=jr.store,Jr=an.getState(),kn={},Dn={prevProps:hr};return wr.mode==="inline"&&hr.mode!=="inline"&&(Dn.switchingModeFromInline=!0),"openKeys"in hr?kn.openKeys=hr.openKeys||[]:((hr.inlineCollapsed&&!wr.inlineCollapsed||hr.siderCollapsed&&!wr.siderCollapsed)&&(Dn.switchingModeFromInline=!0,Dn.inlineOpenKeys=Jr.openKeys,kn.openKeys=[]),(!hr.inlineCollapsed&&wr.inlineCollapsed||!hr.siderCollapsed&&wr.siderCollapsed)&&(kn.openKeys=jr.inlineOpenKeys,Dn.inlineOpenKeys=[])),Object.keys(kn).length&&an.setState(kn),Dn}}]),bn}(t.Component);_i.defaultProps={selectable:!0,onClick:Y,onSelect:Y,onOpenChange:Y,onDeselect:Y,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:t.createElement("span",null,"\xB7\xB7\xB7")};var Zi=_i,qi=function(Nr){Object(H.a)(bn,Nr);var Qr=Object(B.a)(bn);function bn(){var Zr;return Object(O.a)(this,bn),Zr=Qr.apply(this,arguments),Zr.onKeyDown=function(hr){var jr=hr.keyCode;return jr===v.a.ENTER?(Zr.onClick(hr),!0):void 0},Zr.onMouseLeave=function(hr){var jr=Zr.props,wr=jr.eventKey,an=jr.onItemHover,Jr=jr.onMouseLeave;an({key:wr,hover:!1}),Jr({key:wr,domEvent:hr})},Zr.onMouseEnter=function(hr){var jr=Zr.props,wr=jr.eventKey,an=jr.onItemHover,Jr=jr.onMouseEnter;an({key:wr,hover:!0}),Jr({key:wr,domEvent:hr})},Zr.onClick=function(hr){var jr=Zr.props,wr=jr.eventKey,an=jr.multiple,Jr=jr.onClick,kn=jr.onSelect,Dn=jr.onDeselect,Xn=jr.isSelected,vi={key:wr,keyPath:[wr],item:Object(F.a)(Zr),domEvent:hr};Jr(vi),an?Xn?Dn(vi):kn(vi):Xn||kn(vi)},Zr.saveNode=function(hr){Zr.node=hr},Zr}return Object(M.a)(bn,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var hr=this.props;hr.onDestroy&&hr.onDestroy(hr.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var hr,jr=Object(a.a)({},this.props),wr=s()(this.getPrefixCls(),jr.className,(hr={},Object(e.a)(hr,this.getActiveClassName(),!jr.disabled&&jr.active),Object(e.a)(hr,this.getSelectedClassName(),jr.isSelected),Object(e.a)(hr,this.getDisabledClassName(),jr.disabled),hr)),an=Object(a.a)(Object(a.a)({},jr.attribute),{},{title:typeof jr.title=="string"?jr.title:void 0,className:wr,role:jr.role||"menuitem","aria-disabled":jr.disabled});jr.role==="option"?an=Object(a.a)(Object(a.a)({},an),{},{role:"option","aria-selected":jr.isSelected}):(jr.role===null||jr.role==="none")&&(an.role="none");var Jr={onClick:jr.disabled?null:this.onClick,onMouseLeave:jr.disabled?null:this.onMouseLeave,onMouseEnter:jr.disabled?null:this.onMouseEnter},kn=Object(a.a)({},jr.style);jr.mode==="inline"&&(jr.direction==="rtl"?kn.paddingRight=jr.inlineIndent*jr.level:kn.paddingLeft=jr.inlineIndent*jr.level),Ne.forEach(function(Xn){return delete jr[Xn]}),delete jr.direction;var Dn=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Dn=t.createElement(this.props.itemIcon,this.props)),t.createElement("li",Object(E.a)({},Object(J.a)(jr,["onClick","onMouseEnter","onMouseLeave","onSelect"]),an,Jr,{style:kn,ref:this.saveNode}),jr.children,Dn)}}]),bn}(t.Component);qi.isMenuItem=!0,qi.defaultProps={onSelect:Y,onMouseEnter:Y,onMouseLeave:Y,manualRef:Y};var ea=Object(X.b)(function(Nr,Qr){var bn=Nr.activeKey,Zr=Nr.selectedKeys,hr=Qr.eventKey,jr=Qr.subMenuKey;return{active:bn[jr]===hr,isSelected:Array.isArray(Zr)?Zr.indexOf(hr)!==-1:Zr===hr}})(qi),ya=ea,co=function(Nr){Object(H.a)(bn,Nr);var Qr=Object(B.a)(bn);function bn(){var Zr;return Object(O.a)(this,bn),Zr=Qr.apply(this,arguments),Zr.renderInnerMenuItem=function(hr){var jr=Zr.props,wr=jr.renderMenuItem,an=jr.index;return wr(hr,an,Zr.props.subMenuKey)},Zr}return Object(M.a)(bn,[{key:"render",value:function(){var hr=Object(E.a)({},this.props),jr=hr.className,wr=jr===void 0?"":jr,an=hr.rootPrefixCls,Jr="".concat(an,"-item-group-title"),kn="".concat(an,"-item-group-list"),Dn=hr.title,Xn=hr.children;return Ne.forEach(function(vi){return delete hr[vi]}),delete hr.direction,t.createElement("li",Object(E.a)({},hr,{onClick:function(Li){return Li.stopPropagation()},className:"".concat(wr," ").concat(an,"-item-group")}),t.createElement("div",{className:Jr,title:typeof Dn=="string"?Dn:void 0},Dn),t.createElement("ul",{className:kn},t.Children.map(Xn,this.renderInnerMenuItem)))}}]),bn}(t.Component);co.isMenuItemGroup=!0,co.defaultProps={disabled:!0};var io=co,rs=function(Qr){var bn=Qr.className,Zr=Qr.rootPrefixCls,hr=Qr.style;return t.createElement("li",{className:"".concat(bn," ").concat(Zr,"-item-divider"),style:hr})};rs.defaultProps={disabled:!0,className:"",style:{}};var Pi=rs,dn=Zi,ha=l("eDIo");function ba(Nr,Qr){var bn=Nr.prefixCls,Zr=Nr.editable,hr=Nr.locale,jr=Nr.style;return!Zr||Zr.showAdd===!1?null:t.createElement("button",{ref:Qr,type:"button",className:"".concat(bn,"-nav-add"),style:jr,"aria-label":(hr==null?void 0:hr.addAriaLabel)||"Add tab",onClick:function(an){Zr.onEdit("add",{event:an})}},Zr.addIcon||"+")}var ta=t.forwardRef(ba);function so(Nr,Qr){var bn=Nr.prefixCls,Zr=Nr.id,hr=Nr.tabs,jr=Nr.locale,wr=Nr.mobile,an=Nr.moreIcon,Jr=an===void 0?"More":an,kn=Nr.moreTransitionName,Dn=Nr.style,Xn=Nr.className,vi=Nr.editable,Li=Nr.tabBarGutter,ji=Nr.rtl,Sa=Nr.onTabClick,Ga=Object(t.useState)(!1),Ya=Object(m.a)(Ga,2),bo=Ya[0],vo=Ya[1],po=Object(t.useState)(null),Ha=Object(m.a)(po,2),Oa=Ha[0],ao=Ha[1],to="".concat(Zr,"-more-popup"),Po="".concat(bn,"-dropdown"),Yo=Oa!==null?"".concat(to,"-").concat(Oa):null,ro=jr==null?void 0:jr.dropdownAriaLabel,za=t.createElement(dn,{onClick:function(Oo){var Ro=Oo.key,hs=Oo.domEvent;Sa(Ro,hs),vo(!1)},id:to,tabIndex:-1,role:"listbox","aria-activedescendant":Yo,selectedKeys:[Oa],"aria-label":ro!==void 0?ro:"expanded dropdown"},hr.map(function(Zo){return t.createElement(ya,{key:Zo.key,id:"".concat(to,"-").concat(Zo.key),role:"option","aria-controls":Zr&&"".concat(Zr,"-panel-").concat(Zo.key),disabled:Zo.disabled},Zo.tab)}));function Mo(Zo){for(var Oo=hr.filter(function(Es){return!Es.disabled}),Ro=Oo.findIndex(function(Es){return Es.key===Oa})||0,hs=Oo.length,Uo=0;Uomo?(Io=za,to.current="x"):(Io=Mo,to.current="y");var ns=Date.now();ns-Oa.current>100&&(ao.current=!1),(Qr(-Io,-Io)||ao.current)&&(ro.preventDefault(),ao.current=!0),Oa.current=ns}var Yo=Object(t.useRef)(null);Yo.current={onTouchStart:vo,onTouchMove:po,onTouchEnd:Ha,onWheel:Po},t.useEffect(function(){function ro(ma){Yo.current.onTouchStart(ma)}function za(ma){Yo.current.onTouchMove(ma)}function Mo(ma){Yo.current.onTouchEnd(ma)}function Io(ma){Yo.current.onWheel(ma)}return document.addEventListener("touchmove",za,{passive:!1}),document.addEventListener("touchend",Mo,{passive:!1}),Nr.current.addEventListener("touchstart",ro,{passive:!1}),Nr.current.addEventListener("wheel",Io),function(){document.removeEventListener("touchmove",za),document.removeEventListener("touchend",Mo)}},[])}function Gr(){var Nr=Object(t.useRef)(new Map);function Qr(Zr){return Nr.current.has(Zr)||Nr.current.set(Zr,t.createRef()),Nr.current.get(Zr)}function bn(Zr){Nr.current.delete(Zr)}return[Qr,bn]}function $r(Nr,Qr){var bn=t.useRef(Nr),Zr=t.useState({}),hr=Object(m.a)(Zr,2),jr=hr[1];function wr(an){var Jr=typeof an=="function"?an(bn.current):an;Jr!==bn.current&&Qr(Jr,bn.current),bn.current=Jr,jr({})}return[bn.current,wr]}var hn=function(Qr){var bn=Qr.position,Zr=Qr.prefixCls,hr=Qr.extra;if(!hr)return null;var jr,wr=hr;return bn==="right"&&(jr=wr.right||!wr.left&&wr||null),bn==="left"&&(jr=wr.left||null),jr?t.createElement("div",{className:"".concat(Zr,"-extra-content")},jr):null};function On(Nr,Qr){var bn,Zr=t.useContext(pn),hr=Zr.prefixCls,jr=Zr.tabs,wr=Nr.className,an=Nr.style,Jr=Nr.id,kn=Nr.animated,Dn=Nr.activeKey,Xn=Nr.rtl,vi=Nr.extra,Li=Nr.editable,ji=Nr.locale,Sa=Nr.tabPosition,Ga=Nr.tabBarGutter,Ya=Nr.children,bo=Nr.onTabClick,vo=Nr.onTabScroll,po=Object(t.useRef)(),Ha=Object(t.useRef)(),Oa=Object(t.useRef)(),ao=Object(t.useRef)(),to=Gr(),Po=Object(m.a)(to,2),Yo=Po[0],ro=Po[1],za=Sa==="top"||Sa==="bottom",Mo=$r(0,function(Ie,Ye){za&&vo&&vo({direction:Ie>Ye?"left":"right"})}),Io=Object(m.a)(Mo,2),ma=Io[0],mo=Io[1],ns=$r(0,function(Ie,Ye){!za&&vo&&vo({direction:Ie>Ye?"top":"bottom"})}),Zo=Object(m.a)(ns,2),Oo=Zo[0],Ro=Zo[1],hs=Object(t.useState)(0),Uo=Object(m.a)(hs,2),Ja=Uo[0],Es=Uo[1],oo=Object(t.useState)(0),Fs=Object(m.a)(oo,2),qo=Fs[0],Ko=Fs[1],Vo=Object(t.useState)(0),Go=Object(m.a)(Vo,2),os=Go[0],Vs=Go[1],xs=Object(t.useState)(0),Js=Object(m.a)(xs,2),Bs=Js[0],ks=Js[1],Jo=Object(t.useState)(null),bs=Object(m.a)(Jo,2),Ho=bs[0],Ls=bs[1],Ps=Object(t.useState)(null),Ra=Object(m.a)(Ps,2),ho=Ra[0],ll=Ra[1],ml=Object(t.useState)(0),wl=Object(m.a)(ml,2),El=wl[0],Xs=wl[1],Xo=Object(t.useState)(0),gl=Object(m.a)(Xo,2),Vl=gl[0],Us=gl[1],$s=g(new Map),us=Object(m.a)($s,2),_l=us[0],Kc=us[1],fc=_(jr,_l,Ja),Bl="".concat(hr,"-nav-operations-hidden"),oc=0,sc=0;za?Xn?(oc=0,sc=Math.max(0,Ja-Ho)):(oc=Math.min(0,Ho-Ja),sc=0):(oc=Math.min(0,ho-qo),sc=0);function ql(Ie){return Iesc?[sc,!1]:[Ie,!0]}var Al=Object(t.useRef)(),zs=Object(t.useState)(),Ml=Object(m.a)(zs,2),vl=Ml[0],cl=Ml[1];function mn(){cl(Date.now())}function da(){window.clearTimeout(Al.current)}xr(po,function(Ie,Ye){var _t=!1;function Yt(Pr,Yr){Pr(function(yn){var Jn=ql(yn+Yr),Ci=Object(m.a)(Jn,2),Xi=Ci[0],ga=Ci[1];return _t=ga,Xi})}if(za){if(Ho>=Ja)return _t;Yt(mo,Ie)}else{if(ho>=qo)return _t;Yt(Ro,Ye)}return da(),mn(),_t}),Object(t.useEffect)(function(){return da(),vl&&(Al.current=window.setTimeout(function(){cl(0)},100)),da},[vl]);function Oc(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Dn,Ye=fc.get(Ie);if(!Ye)return;if(za){var _t=ma;Xn?Ye.rightma+Ho&&(_t=Ye.right+Ye.width-Ho):Ye.left<-ma?_t=-Ye.left:Ye.left+Ye.width>-ma+Ho&&(_t=-(Ye.left+Ye.width-Ho)),Ro(0),mo(ql(_t)[0])}else{var Yt=Oo;Ye.top<-Oo?Yt=-Ye.top:Ye.top+Ye.height>-Oo+ho&&(Yt=-(Ye.top+Ye.height-ho)),mo(0),Ro(ql(Yt)[0])}}var pc=C(fc,{width:Ho,height:ho,left:ma,top:Oo},{width:os,height:Bs},{width:El,height:Vl},Object(a.a)(Object(a.a)({},Nr),{},{tabs:jr})),xc=Object(m.a)(pc,2),Ss=xc[0],Ks=xc[1],xl=jr.map(function(Ie){var Ye=Ie.key;return t.createElement(w,{id:Jr,prefixCls:hr,key:Ye,rtl:Xn,tab:Ie,closable:Ie.closable,editable:Li,active:Ye===Dn,tabPosition:Sa,tabBarGutter:Ga,renderWrapper:Ya,removeAriaLabel:ji==null?void 0:ji.removeAriaLabel,ref:Yo(Ye),onClick:function(Yt){bo(Ye,Yt)},onRemove:function(){ro(Ye)},onFocus:function(){Oc(Ye),mn(),Xn||(po.current.scrollLeft=0),po.current.scrollTop=0}})}),ul=p(function(){var Ie,Ye,_t,Yt,Pr,Yr,yn,Jn,Ci,Xi=((Ie=po.current)===null||Ie===void 0?void 0:Ie.offsetWidth)||0,ga=((Ye=po.current)===null||Ye===void 0?void 0:Ye.offsetHeight)||0,Ka=((_t=ao.current)===null||_t===void 0?void 0:_t.offsetWidth)||0,go=((Yt=ao.current)===null||Yt===void 0?void 0:Yt.offsetHeight)||0,No=((Pr=Oa.current)===null||Pr===void 0?void 0:Pr.offsetWidth)||0,As=((Yr=Oa.current)===null||Yr===void 0?void 0:Yr.offsetHeight)||0;Ls(Xi),ll(ga),Xs(Ka),Us(go);var ss=(((yn=Ha.current)===null||yn===void 0?void 0:yn.offsetWidth)||0)-Ka,ps=(((Jn=Ha.current)===null||Jn===void 0?void 0:Jn.offsetHeight)||0)-go;Es(ss),Ko(ps);var nl=(Ci=Oa.current)===null||Ci===void 0?void 0:Ci.className.includes(Bl);Vs(ss-(nl?0:No)),ks(ps-(nl?0:As)),Kc(function(){var Ws=new Map;return jr.forEach(function(dl){var ls=dl.key,Ys=Yo(ls).current;Ys&&Ws.set(ls,{width:Ys.offsetWidth,height:Ys.offsetHeight,left:Ys.offsetLeft,top:Ys.offsetTop})}),Ws})}),nc=jr.slice(0,Ss),Xl=jr.slice(Ks+1),Gl=[].concat(Object(u.a)(nc),Object(u.a)(Xl)),Wc=Object(t.useState)(),Hl=Object(m.a)(Wc,2),Mc=Hl[0],Sc=Hl[1],Ts=fc.get(Dn),Sl=Object(t.useRef)();function Rt(){o.a.cancel(Sl.current)}Object(t.useEffect)(function(){var Ie={};return Ts&&(za?(Xn?Ie.right=Ts.right:Ie.left=Ts.left,Ie.width=Ts.width):(Ie.top=Ts.top,Ie.height=Ts.height)),Rt(),Sl.current=o()(function(){Sc(Ie)}),Rt},[Ts,za,Xn]),Object(t.useEffect)(function(){Oc()},[Dn,Ts,fc,za]),Object(t.useEffect)(function(){ul()},[Xn,Ga,Dn,jr.map(function(Ie){return Ie.key}).join("_")]);var qt=!!Gl.length,En="".concat(hr,"-nav-wrap"),ri,Lt,he,Ce;return za?Xn?(Lt=ma>0,ri=ma+Ho0&&arguments[0]!==void 0?arguments[0]:"";return X+=1,"".concat(J).concat(X)}}(),H=function(X){n()(k,X);var J=c()(k);function k(W){var z;e()(this,k),z=J.call(this,W),z.responsiveHandler=function(G){z.setState({below:G.matches});var V=z.props.onBreakpoint,q=z.state.collapsed;V&&V(G.matches),q!==G.matches&&z.setCollapsed(G.matches,"responsive")},z.setCollapsed=function(G,V){"collapsed"in z.props||z.setState({collapsed:G});var q=z.props.onCollapse;q&&q(G,V)},z.toggle=function(){var G=!z.state.collapsed;z.setCollapsed(G,"clickTrigger")},z.renderSider=function(G){var V,q=G.getPrefixCls,re=z.props,ce=re.prefixCls,ie=re.className,fe=re.theme,xe=re.collapsible,Se=re.reverseArrow,ke=re.trigger,ge=re.style,Be=re.width,ee=re.collapsedWidth,ue=re.zeroWidthTriggerStyle,Ge=re.children,ae=E(re,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),Z=z.state,Y=Z.collapsed,te=Z.below,we=q("layout-sider",ce),pe=Object(o.default)(ae,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),De=Y?ee:Be,Ne=C(De)?"".concat(De,"px"):String(De),me=parseFloat(String(ee||0))===0?i.createElement("span",{onClick:z.toggle,className:r()("".concat(we,"-zero-width-trigger"),"".concat(we,"-zero-width-trigger-").concat(Se?"right":"left")),style:ue},ke||i.createElement(p.a,null)):null,be={expanded:Se?i.createElement(v.a,null):i.createElement(w.a,null),collapsed:Se?i.createElement(w.a,null):i.createElement(v.a,null)},Re=Y?"collapsed":"expanded",it=be[Re],yt=ke!==null?me||i.createElement("div",{className:"".concat(we,"-trigger"),onClick:z.toggle,style:{width:Ne}},ke||it):null,pt=f()(f()({},ge),{flex:"0 0 ".concat(Ne),maxWidth:Ne,minWidth:Ne,width:Ne}),Pe=r()(ie,we,"".concat(we,"-").concat(fe),(V={},b()(V,"".concat(we,"-collapsed"),!!Y),b()(V,"".concat(we,"-has-trigger"),xe&&ke!==null&&!me),b()(V,"".concat(we,"-below"),!!te),b()(V,"".concat(we,"-zero-width"),parseFloat(Ne)===0),V));return i.createElement("aside",f()({className:Pe},pe,{style:pt}),i.createElement("div",{className:"".concat(we,"-children")},Ge),xe||te&&me?yt:null)},z.uniqueId=F("ant-sider-");var K;typeof window!="undefined"&&(K=window.matchMedia),K&&W.breakpoint&&W.breakpoint in O&&(z.mql=K("(max-width: ".concat(O[W.breakpoint],")")));var P;return"collapsed"in W?P=W.collapsed:P=W.defaultCollapsed,z.state={collapsed:P,below:!1},z}return d()(k,[{key:"componentDidMount",value:function(){var z;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(z=this.props)===null||z===void 0||z.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var z,K;(z=this===null||this===void 0?void 0:this.mql)===null||z===void 0||z.removeListener(this.responsiveHandler),(K=this.props)===null||K===void 0||K.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var z=this.state.collapsed,K=this.props.collapsedWidth;return i.createElement(M.Provider,{value:{siderCollapsed:z,collapsedWidth:K}},i.createElement(_.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(z){return"collapsed"in z?{collapsed:z.collapsed}:null}}]),k}(i.Component);H.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var B=function(X){n()(k,X);var J=c()(k);function k(){return e()(this,k),J.apply(this,arguments)}return d()(k,[{key:"render",value:function(){var z=this;return i.createElement(S.a.Consumer,null,function(K){return i.createElement(H,f()({},K,z.props))})}}]),k}(i.Component)},ZYIC:function(j,R,l){var x=l("zM3Q"),b={seriesType:"lines",plan:x(),reset:function(A){var f=A.coordinateSystem,t=A.get("polyline"),e=A.pipelineContext.large;function m(d,a){var n=[];if(e){var s,c=d.end-d.start;if(t){for(var i=0,u=d.start;u>1)%2;p.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",u[g]+":0",r[v]+":0",u[1-g]+":auto",r[1-v]+":auto",""].join("!important;"),s.appendChild(h),i.push(h)}return i}function a(s,c,i){for(var u=i?"invTrans":"trans",r=c[u],o=c.srcCoords,h=!0,p=[],g=[],v=0;v<4;v++){var y=s[v].getBoundingClientRect(),w=2*v,S=y.left,_=y.top;p.push(S,_),h=h&&o&&S===o[w]&&_===o[w+1],g.push(s[v].offsetLeft,s[v].offsetTop)}return h&&r?r:(c.srcCoords=p,c[u]=i?A(g,p):A(p,g))}function n(s){return s.nodeName.toUpperCase()==="CANVAS"}R.transformLocalCoord=e,R.transformCoordWithViewport=m,R.isCanvasEl=n},Znkb:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("ProS"),f=l("zTMp"),t=A.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(n,s,c,i){this.axisPointerClass&&f.fixValue(n),t.superApply(this,"render",arguments),e(this,n,s,c,i,!0)},updateAxisPointer:function(n,s,c,i,u){e(this,n,s,c,i,!1)},remove:function(n,s){var c=this._axisPointer;c&&c.remove(s),t.superApply(this,"remove",arguments)},dispose:function(n,s){m(this,s),t.superApply(this,"dispose",arguments)}});function e(n,s,c,i,u,r){var o=t.getAxisPointerClass(n.axisPointerClass);if(!o)return;var h=f.getAxisPointerModel(s);h?(n._axisPointer||(n._axisPointer=new o)).render(s,h,i,r):m(n,i)}function m(n,s,c){var i=n._axisPointer;i&&i.dispose(s,c),n._axisPointer=null}var d=[];t.registerAxisPointerClass=function(n,s){d[n]=s},t.getAxisPointerClass=function(n){return n&&d[n]};var a=t;j.exports=a},"Znn+":function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("9ama"),f=l.n(A)},ZqQs:function(j,R,l){var x=l("bYtY");function b(e){var m=e&&e.timeline;x.isArray(m)||(m=m?[m]:[]),x.each(m,function(d){if(!d)return;A(d)})}function A(e){var m=e.type,d={number:"value",time:"time"};if(d[m]&&(e.axisType=d[m],delete e.type),f(e),t(e,"controlPosition")){var a=e.controlStyle||(e.controlStyle={});t(a,"position")||(a.position=e.controlPosition),a.position==="none"&&!t(a,"show")&&(a.show=!1,delete a.position),delete e.controlPosition}x.each(e.data||[],function(n){x.isObject(n)&&!x.isArray(n)&&(!t(n,"value")&&t(n,"name")&&(n.value=n.name),f(n))})}function f(e){var m=e.itemStyle||(e.itemStyle={}),d=m.emphasis||(m.emphasis={}),a=e.label||e.label||{},n=a.normal||(a.normal={}),s={normal:1,emphasis:1};x.each(a,function(c,i){!s[i]&&!t(n,i)&&(n[i]=c)}),d.label&&!t(a,"emphasis")&&(a.emphasis=d.label,delete d.label)}function t(e,m){return e.hasOwnProperty(m)}j.exports=b},Zss7:function(j,R,l){var x;(function(b){var A=/^\s+/,f=/\s+$/,t=0,e=b.round,m=b.min,d=b.max,a=b.random;function n(ge,Be){if(ge=ge||"",Be=Be||{},ge instanceof n)return ge;if(!(this instanceof n))return new n(ge,Be);var ee=s(ge);this._originalInput=ge,this._r=ee.r,this._g=ee.g,this._b=ee.b,this._a=ee.a,this._roundA=e(100*this._a)/100,this._format=Be.format||ee.format,this._gradientType=Be.gradientType,this._r<1&&(this._r=e(this._r)),this._g<1&&(this._g=e(this._g)),this._b<1&&(this._b=e(this._b)),this._ok=ee.ok,this._tc_id=t++}n.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Be=this.toRgb();return(Be.r*299+Be.g*587+Be.b*114)/1e3},getLuminance:function(){var Be=this.toRgb(),ee,ue,Ge,ae,Z,Y;return ee=Be.r/255,ue=Be.g/255,Ge=Be.b/255,ee<=.03928?ae=ee/12.92:ae=b.pow((ee+.055)/1.055,2.4),ue<=.03928?Z=ue/12.92:Z=b.pow((ue+.055)/1.055,2.4),Ge<=.03928?Y=Ge/12.92:Y=b.pow((Ge+.055)/1.055,2.4),.2126*ae+.7152*Z+.0722*Y},setAlpha:function(Be){return this._a=W(Be),this._roundA=e(100*this._a)/100,this},toHsv:function(){var Be=r(this._r,this._g,this._b);return{h:Be.h*360,s:Be.s,v:Be.v,a:this._a}},toHsvString:function(){var Be=r(this._r,this._g,this._b),ee=e(Be.h*360),ue=e(Be.s*100),Ge=e(Be.v*100);return this._a==1?"hsv("+ee+", "+ue+"%, "+Ge+"%)":"hsva("+ee+", "+ue+"%, "+Ge+"%, "+this._roundA+")"},toHsl:function(){var Be=i(this._r,this._g,this._b);return{h:Be.h*360,s:Be.s,l:Be.l,a:this._a}},toHslString:function(){var Be=i(this._r,this._g,this._b),ee=e(Be.h*360),ue=e(Be.s*100),Ge=e(Be.l*100);return this._a==1?"hsl("+ee+", "+ue+"%, "+Ge+"%)":"hsla("+ee+", "+ue+"%, "+Ge+"%, "+this._roundA+")"},toHex:function(Be){return h(this._r,this._g,this._b,Be)},toHexString:function(Be){return"#"+this.toHex(Be)},toHex8:function(Be){return p(this._r,this._g,this._b,this._a,Be)},toHex8String:function(Be){return"#"+this.toHex8(Be)},toRgb:function(){return{r:e(this._r),g:e(this._g),b:e(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+e(this._r)+", "+e(this._g)+", "+e(this._b)+")":"rgba("+e(this._r)+", "+e(this._g)+", "+e(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:e(z(this._r,255)*100)+"%",g:e(z(this._g,255)*100)+"%",b:e(z(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+e(z(this._r,255)*100)+"%, "+e(z(this._g,255)*100)+"%, "+e(z(this._b,255)*100)+"%)":"rgba("+e(z(this._r,255)*100)+"%, "+e(z(this._g,255)*100)+"%, "+e(z(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:J[h(this._r,this._g,this._b,!0)]||!1},toFilter:function(Be){var ee="#"+g(this._r,this._g,this._b,this._a),ue=ee,Ge=this._gradientType?"GradientType = 1, ":"";if(Be){var ae=n(Be);ue="#"+g(ae._r,ae._g,ae._b,ae._a)}return"progid:DXImageTransform.Microsoft.gradient("+Ge+"startColorstr="+ee+",endColorstr="+ue+")"},toString:function(Be){var ee=!!Be;Be=Be||this._format;var ue=!1,Ge=this._a<1&&this._a>=0,ae=!ee&&Ge&&(Be==="hex"||Be==="hex6"||Be==="hex3"||Be==="hex4"||Be==="hex8"||Be==="name");return ae?Be==="name"&&this._a===0?this.toName():this.toRgbString():(Be==="rgb"&&(ue=this.toRgbString()),Be==="prgb"&&(ue=this.toPercentageRgbString()),(Be==="hex"||Be==="hex6")&&(ue=this.toHexString()),Be==="hex3"&&(ue=this.toHexString(!0)),Be==="hex4"&&(ue=this.toHex8String(!0)),Be==="hex8"&&(ue=this.toHex8String()),Be==="name"&&(ue=this.toName()),Be==="hsl"&&(ue=this.toHslString()),Be==="hsv"&&(ue=this.toHsvString()),ue||this.toHexString())},clone:function(){return n(this.toString())},_applyModification:function(Be,ee){var ue=Be.apply(null,[this].concat([].slice.call(ee)));return this._r=ue._r,this._g=ue._g,this._b=ue._b,this.setAlpha(ue._a),this},lighten:function(){return this._applyModification(S,arguments)},brighten:function(){return this._applyModification(_,arguments)},darken:function(){return this._applyModification(I,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(w,arguments)},spin:function(){return this._applyModification(C,arguments)},_applyCombination:function(Be,ee){return Be.apply(null,[this].concat([].slice.call(ee)))},analogous:function(){return this._applyCombination(H,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(B,arguments)},splitcomplement:function(){return this._applyCombination(F,arguments)},triad:function(){return this._applyCombination(O,arguments)},tetrad:function(){return this._applyCombination(M,arguments)}},n.fromRatio=function(ge,Be){if(typeof ge=="object"){var ee={};for(var ue in ge)ge.hasOwnProperty(ue)&&(ue==="a"?ee[ue]=ge[ue]:ee[ue]=re(ge[ue]));ge=ee}return n(ge,Be)};function s(ge){var Be={r:0,g:0,b:0},ee=1,ue=null,Ge=null,ae=null,Z=!1,Y=!1;return typeof ge=="string"&&(ge=Se(ge)),typeof ge=="object"&&(xe(ge.r)&&xe(ge.g)&&xe(ge.b)?(Be=c(ge.r,ge.g,ge.b),Z=!0,Y=String(ge.r).substr(-1)==="%"?"prgb":"rgb"):xe(ge.h)&&xe(ge.s)&&xe(ge.v)?(ue=re(ge.s),Ge=re(ge.v),Be=o(ge.h,ue,Ge),Z=!0,Y="hsv"):xe(ge.h)&&xe(ge.s)&&xe(ge.l)&&(ue=re(ge.s),ae=re(ge.l),Be=u(ge.h,ue,ae),Z=!0,Y="hsl"),ge.hasOwnProperty("a")&&(ee=ge.a)),ee=W(ee),{ok:Z,format:ge.format||Y,r:m(255,d(Be.r,0)),g:m(255,d(Be.g,0)),b:m(255,d(Be.b,0)),a:ee}}function c(ge,Be,ee){return{r:z(ge,255)*255,g:z(Be,255)*255,b:z(ee,255)*255}}function i(ge,Be,ee){ge=z(ge,255),Be=z(Be,255),ee=z(ee,255);var ue=d(ge,Be,ee),Ge=m(ge,Be,ee),ae,Z,Y=(ue+Ge)/2;if(ue==Ge)ae=Z=0;else{var te=ue-Ge;Z=Y>.5?te/(2-ue-Ge):te/(ue+Ge);switch(ue){case ge:ae=(Be-ee)/te+(Be1&&(De-=1),De<1/6?we+(pe-we)*6*De:De<1/2?pe:De<2/3?we+(pe-we)*(2/3-De)*6:we}if(Be===0)ue=Ge=ae=ee;else{var Y=ee<.5?ee*(1+Be):ee+Be-ee*Be,te=2*ee-Y;ue=Z(te,Y,ge+1/3),Ge=Z(te,Y,ge),ae=Z(te,Y,ge-1/3)}return{r:ue*255,g:Ge*255,b:ae*255}}function r(ge,Be,ee){ge=z(ge,255),Be=z(Be,255),ee=z(ee,255);var ue=d(ge,Be,ee),Ge=m(ge,Be,ee),ae,Z,Y=ue,te=ue-Ge;if(Z=ue===0?0:te/ue,ue==Ge)ae=0;else{switch(ue){case ge:ae=(Be-ee)/te+(Be>1)+720)%360;--Be;)ue.h=(ue.h+Ge)%360,ae.push(n(ue));return ae}function B(ge,Be){Be=Be||6;for(var ee=n(ge).toHsv(),ue=ee.h,Ge=ee.s,ae=ee.v,Z=[],Y=1/Be;Be--;)Z.push(n({h:ue,s:Ge,v:ae})),ae=(ae+Y)%1;return Z}n.mix=function(ge,Be,ee){ee=ee===0?0:ee||50;var ue=n(ge).toRgb(),Ge=n(Be).toRgb(),ae=ee/100,Z={r:(Ge.r-ue.r)*ae+ue.r,g:(Ge.g-ue.g)*ae+ue.g,b:(Ge.b-ue.b)*ae+ue.b,a:(Ge.a-ue.a)*ae+ue.a};return n(Z)},n.readability=function(ge,Be){var ee=n(ge),ue=n(Be);return(b.max(ee.getLuminance(),ue.getLuminance())+.05)/(b.min(ee.getLuminance(),ue.getLuminance())+.05)},n.isReadable=function(ge,Be,ee){var ue=n.readability(ge,Be),Ge,ae;ae=!1,Ge=ke(ee);switch(Ge.level+Ge.size){case"AAsmall":case"AAAlarge":ae=ue>=4.5;break;case"AAlarge":ae=ue>=3;break;case"AAAsmall":ae=ue>=7;break}return ae},n.mostReadable=function(ge,Be,ee){var ue=null,Ge=0,ae,Z,Y,te;ee=ee||{},Z=ee.includeFallbackColors,Y=ee.level,te=ee.size;for(var we=0;weGe&&(Ge=ae,ue=n(Be[we]));return n.isReadable(ge,ue,{level:Y,size:te})||!Z?ue:(ee.includeFallbackColors=!1,n.mostReadable(ge,["#fff","#000"],ee))};var X=n.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},J=n.hexNames=k(X);function k(ge){var Be={};for(var ee in ge)ge.hasOwnProperty(ee)&&(Be[ge[ee]]=ee);return Be}function W(ge){return ge=parseFloat(ge),(isNaN(ge)||ge<0||ge>1)&&(ge=1),ge}function z(ge,Be){G(ge)&&(ge="100%");var ee=V(ge);return ge=m(Be,d(0,parseFloat(ge))),ee&&(ge=parseInt(ge*Be,10)/100),b.abs(ge-Be)<1e-6?1:ge%Be/parseFloat(Be)}function K(ge){return m(1,d(0,ge))}function P(ge){return parseInt(ge,16)}function G(ge){return typeof ge=="string"&&ge.indexOf(".")!=-1&&parseFloat(ge)===1}function V(ge){return typeof ge=="string"&&ge.indexOf("%")!=-1}function q(ge){return ge.length==1?"0"+ge:""+ge}function re(ge){return ge<=1&&(ge=ge*100+"%"),ge}function ce(ge){return b.round(parseFloat(ge)*255).toString(16)}function ie(ge){return P(ge)/255}var fe=function(){var ge="[-\\+]?\\d+%?",Be="[-\\+]?\\d*\\.\\d+%?",ee="(?:"+Be+")|(?:"+ge+")",ue="[\\s|\\(]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")\\s*\\)?",Ge="[\\s|\\(]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")\\s*\\)?";return{CSS_UNIT:new RegExp(ee),rgb:new RegExp("rgb"+ue),rgba:new RegExp("rgba"+Ge),hsl:new RegExp("hsl"+ue),hsla:new RegExp("hsla"+Ge),hsv:new RegExp("hsv"+ue),hsva:new RegExp("hsva"+Ge),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function xe(ge){return!!fe.CSS_UNIT.exec(ge)}function Se(ge){ge=ge.replace(A,"").replace(f,"").toLowerCase();var Be=!1;if(X[ge])ge=X[ge],Be=!0;else if(ge=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var ee;return(ee=fe.rgb.exec(ge))?{r:ee[1],g:ee[2],b:ee[3]}:(ee=fe.rgba.exec(ge))?{r:ee[1],g:ee[2],b:ee[3],a:ee[4]}:(ee=fe.hsl.exec(ge))?{h:ee[1],s:ee[2],l:ee[3]}:(ee=fe.hsla.exec(ge))?{h:ee[1],s:ee[2],l:ee[3],a:ee[4]}:(ee=fe.hsv.exec(ge))?{h:ee[1],s:ee[2],v:ee[3]}:(ee=fe.hsva.exec(ge))?{h:ee[1],s:ee[2],v:ee[3],a:ee[4]}:(ee=fe.hex8.exec(ge))?{r:P(ee[1]),g:P(ee[2]),b:P(ee[3]),a:ie(ee[4]),format:Be?"name":"hex8"}:(ee=fe.hex6.exec(ge))?{r:P(ee[1]),g:P(ee[2]),b:P(ee[3]),format:Be?"name":"hex"}:(ee=fe.hex4.exec(ge))?{r:P(ee[1]+""+ee[1]),g:P(ee[2]+""+ee[2]),b:P(ee[3]+""+ee[3]),a:ie(ee[4]+""+ee[4]),format:Be?"name":"hex8"}:(ee=fe.hex3.exec(ge))?{r:P(ee[1]+""+ee[1]),g:P(ee[2]+""+ee[2]),b:P(ee[3]+""+ee[3]),format:Be?"name":"hex"}:!1}function ke(ge){var Be,ee;return ge=ge||{level:"AA",size:"small"},Be=(ge.level||"AA").toUpperCase(),ee=(ge.size||"small").toLowerCase(),Be!=="AA"&&Be!=="AAA"&&(Be="AA"),ee!=="small"&&ee!=="large"&&(ee="small"),{level:Be,size:ee}}j.exports?j.exports=n:!(x=function(){return n}.call(R,l,R,j),x!==void 0&&(j.exports=x))})(Math)},Zvw2:function(j,R,l){var x=l("bYtY"),b=l("hM6l"),A=function(t,e,m,d,a){b.call(this,t,e,m),this.type=d||"value",this.position=a||"bottom",this.orient=null};A.prototype={constructor:A,model:null,isHorizontal:function(){var t=this.position;return t==="top"||t==="bottom"},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},x.inherits(A,b);var f=A;j.exports=f},a7Wl:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};R.default=x},a9QJ:function(j,R){var l={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function x(b,A){if(b==="world"){var f=l[A.name];if(f){var t=A.center;t[0]=f[0],t[1]=f[1]}}}j.exports=x},aHsQ:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("6D9b"),f=l.n(A)},aKvl:function(j,R,l){var x=l("Sj9i"),b=x.quadraticProjectPoint;function A(f,t,e,m,d,a,n,s,c){if(n===0)return!1;var i=n;if(c>t+i&&c>m+i&&c>a+i||cf+i&&s>e+i&&s>d+i||s1&&arguments[1]!==void 0?arguments[1]:!1,fe=ce.getAttribute("id")||ce.getAttribute("data-reactid")||ce.getAttribute("name");if(ie&&X[fe])return X[fe];var xe=window.getComputedStyle(ce),Se=xe.getPropertyValue("box-sizing")||xe.getPropertyValue("-moz-box-sizing")||xe.getPropertyValue("-webkit-box-sizing"),ke=parseFloat(xe.getPropertyValue("padding-bottom"))+parseFloat(xe.getPropertyValue("padding-top")),ge=parseFloat(xe.getPropertyValue("border-bottom-width"))+parseFloat(xe.getPropertyValue("border-top-width")),Be=B.map(function(ue){return"".concat(ue,":").concat(xe.getPropertyValue(ue))}).join(";"),ee={sizingStyle:Be,paddingSize:ke,borderSize:ge,boxSizing:Se};return ie&&fe&&(X[fe]=ee),ee}function K(ce){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,xe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;J||(J=document.createElement("textarea"),J.setAttribute("tab-index","-1"),J.setAttribute("aria-hidden","true"),document.body.appendChild(J)),ce.getAttribute("wrap")?J.setAttribute("wrap",ce.getAttribute("wrap")):J.removeAttribute("wrap");var Se=k(ce,ie),ke=Se.paddingSize,ge=Se.borderSize,Be=Se.boxSizing,ee=Se.sizingStyle;J.setAttribute("style","".concat(ee,";").concat(H)),J.value=ce.value||ce.placeholder||"";var ue=Number.MIN_SAFE_INTEGER,Ge=Number.MAX_SAFE_INTEGER,ae=J.scrollHeight,Z;if(Be==="border-box"?ae+=ge:Be==="content-box"&&(ae-=ke),fe!==null||xe!==null){J.value=" ";var Y=J.scrollHeight-ke;fe!==null&&(ue=Y*fe,Be==="border-box"&&(ue=ue+ke+ge),ae=Math.max(ue,ae)),xe!==null&&(Ge=Y*xe,Be==="border-box"&&(Ge=Ge+ke+ge),Z=ae>Ge?"":"hidden",ae=Math.min(Ge,ae))}return{height:ae,minHeight:ue,maxHeight:Ge,overflowY:Z,resize:"none"}}var z=l("Gytx"),W=l.n(z),P;(function(ce){ce[ce.NONE=0]="NONE",ce[ce.RESIZING=1]="RESIZING",ce[ce.RESIZED=2]="RESIZED"})(P||(P={}));var G=function(ce){Object(f.a)(fe,ce);var ie=Object(t.a)(fe);function fe(xe){var Se;return Object(b.a)(this,fe),Se=ie.call(this,xe),Se.nextFrameActionId=void 0,Se.resizeFrameId=void 0,Se.textArea=void 0,Se.saveTextArea=function(ke){Se.textArea=ke},Se.handleResize=function(ke){var ge=Se.state.resizeStatus,Be=Se.props,ee=Be.autoSize,ue=Be.onResize;if(ge!==P.NONE)return;typeof ue=="function"&&ue(ke),ee&&Se.resizeOnNextFrame()},Se.resizeOnNextFrame=function(){cancelAnimationFrame(Se.nextFrameActionId),Se.nextFrameActionId=requestAnimationFrame(Se.resizeTextarea)},Se.resizeTextarea=function(){var ke=Se.props.autoSize;if(!ke||!Se.textArea)return;var ge=ke.minRows,Be=ke.maxRows,ee=K(Se.textArea,!1,ge,Be);Se.setState({textareaStyles:ee,resizeStatus:P.RESIZING},function(){cancelAnimationFrame(Se.resizeFrameId),Se.resizeFrameId=requestAnimationFrame(function(){Se.setState({resizeStatus:P.RESIZED},function(){Se.resizeFrameId=requestAnimationFrame(function(){Se.setState({resizeStatus:P.NONE}),Se.fixFirefoxAutoScroll()})})})})},Se.renderTextArea=function(){var ke=Se.props,ge=ke.prefixCls,Be=ge===void 0?"rc-textarea":ge,ee=ke.autoSize,ue=ke.onResize,Ge=ke.className,ae=ke.disabled,Z=Se.state,Y=Z.textareaStyles,te=Z.resizeStatus,we=Object(O.a)(Se.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),pe=F()(Be,Ge,Object(d.a)({},"".concat(Be,"-disabled"),ae));"value"in we&&(we.value=we.value||"");var De=Object(m.a)(Object(m.a)(Object(m.a)({},Se.props.style),Y),te===P.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return e.createElement(E,{onResize:Se.handleResize,disabled:!(ee||ue)},e.createElement("textarea",Object(x.a)({},we,{className:pe,style:De,ref:Se.saveTextArea})))},Se.state={textareaStyles:{},resizeStatus:P.NONE},Se}return Object(A.a)(fe,[{key:"componentDidUpdate",value:function(Se){(Se.value!==this.props.value||!W()(Se.autoSize,this.props.autoSize))&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var Se=this.textArea.selectionStart,ke=this.textArea.selectionEnd;this.textArea.setSelectionRange(Se,ke)}}catch(ge){}}},{key:"render",value:function(){return this.renderTextArea()}}]),fe}(e.Component),V=G,q=function(ce){Object(f.a)(fe,ce);var ie=Object(t.a)(fe);function fe(xe){var Se;Object(b.a)(this,fe),Se=ie.call(this,xe),Se.resizableTextArea=void 0,Se.focus=function(){Se.resizableTextArea.textArea.focus()},Se.saveTextArea=function(ge){Se.resizableTextArea=ge},Se.handleChange=function(ge){var Be=Se.props.onChange;Se.setValue(ge.target.value,function(){Se.resizableTextArea.resizeTextarea()}),Be&&Be(ge)},Se.handleKeyDown=function(ge){var Be=Se.props,ee=Be.onPressEnter,ue=Be.onKeyDown;ge.keyCode===13&&ee&&ee(ge),ue&&ue(ge)};var ke=typeof xe.value=="undefined"||xe.value===null?xe.defaultValue:xe.value;return Se.state={value:ke},Se}return Object(A.a)(fe,[{key:"setValue",value:function(Se,ke){"value"in this.props||this.setState({value:Se},ke)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return e.createElement(V,Object(x.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(Se){return"value"in Se?{value:Se.value}:null}}]),fe}(e.Component),re=R.default=q},YH21:function(j,R,l){var x=l("H6uX");R.Dispatcher=x;var b=l("ItGF"),A=l("Ze12"),f=A.isCanvasEl,t=A.transformCoordWithViewport,e=typeof window!="undefined"&&!!window.addEventListener,m=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,d=[];function a(p,g,v,y){return v=v||{},y||!b.canvasSupported?n(p,g,v):b.browser.firefox&&g.layerX!=null&&g.layerX!==g.offsetX?(v.zrX=g.layerX,v.zrY=g.layerY):g.offsetX!=null?(v.zrX=g.offsetX,v.zrY=g.offsetY):n(p,g,v),v}function n(p,g,v){if(b.domSupported&&p.getBoundingClientRect){var y=g.clientX,w=g.clientY;if(f(p)){var S=p.getBoundingClientRect();v.zrX=y-S.left,v.zrY=w-S.top;return}else if(t(d,p,y,w)){v.zrX=d[0],v.zrY=d[1];return}}v.zrX=v.zrY=0}function s(p){return p||window.event}function c(p,g,v){if(g=s(g),g.zrX!=null)return g;var y=g.type,w=y&&y.indexOf("touch")>=0;if(!w)a(p,g,g,v),g.zrDelta=g.wheelDelta?g.wheelDelta/120:-(g.detail||0)/3;else{var S=y!=="touchend"?g.targetTouches[0]:g.changedTouches[0];S&&a(p,S,g,v)}var _=g.button;return g.which==null&&_!==void 0&&m.test(g.type)&&(g.which=_&1?1:_&2?3:_&4?2:0),g}function i(p,g,v,y){e?p.addEventListener(g,v,y):p.attachEvent("on"+g,v)}function u(p,g,v,y){e?p.removeEventListener(g,v,y):p.detachEvent("on"+g,v)}var r=e?function(p){p.preventDefault(),p.stopPropagation(),p.cancelBubble=!0}:function(p){p.returnValue=!1,p.cancelBubble=!0};function o(p){return p.which===2||p.which===3}function h(p){return p.which>1}R.clientToLocal=a,R.getNativeEvent=s,R.normalizeEvent=c,R.addEventListener=i,R.removeEventListener=u,R.stop=r,R.isMiddleOrRightButtonOnMouseUpDown=o,R.notLeftMouse=h},YJ9k:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;function x(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var m=0;m0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[be].sort(y)}}]),Ne}();function y(Ne,me){var be=Ne.node.sortableInfo.index,Re=me.node.sortableInfo.index;return be-Re}function w(Ne,me,be){return Ne=Ne.slice(),Ne.splice(be<0?Ne.length+be:be,0,Ne.splice(me,1)[0]),Ne}function S(Ne,me){return Object.keys(Ne).reduce(function(be,Re){return me.indexOf(Re)===-1&&(be[Re]=Ne[Re]),be},{})}var _={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},I=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Ne=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],me=(Array.prototype.slice.call(Ne).join("").match(/-(moz|webkit|ms)-/)||Ne.OLink===""&&["","o"])[1];switch(me){case"ms":return"ms";default:return me&&me.length?me[0].toUpperCase()+me.substr(1):""}}();function C(Ne,me){Object.keys(me).forEach(function(be){Ne.style[be]=me[be]})}function E(Ne,me){Ne.style["".concat(I,"Transform")]=me==null?"":"translate3d(".concat(me.x,"px,").concat(me.y,"px,0)")}function O(Ne,me){Ne.style["".concat(I,"TransitionDuration")]=me==null?"":"".concat(me,"ms")}function M(Ne,me){for(;Ne;){if(me(Ne))return Ne;Ne=Ne.parentNode}return null}function F(Ne,me,be){return Math.max(Ne,Math.min(be,me))}function H(Ne){return Ne.substr(-2)==="px"?parseFloat(Ne):0}function B(Ne){var me=window.getComputedStyle(Ne);return{bottom:H(me.marginBottom),left:H(me.marginLeft),right:H(me.marginRight),top:H(me.marginTop)}}function X(Ne,me){var be=me.displayName||me.name;return be?"".concat(Ne,"(").concat(be,")"):Ne}function J(Ne,me){var be=Ne.getBoundingClientRect();return{top:be.top+me.top,left:be.left+me.left}}function k(Ne){return Ne.touches&&Ne.touches.length?{x:Ne.touches[0].pageX,y:Ne.touches[0].pageY}:Ne.changedTouches&&Ne.changedTouches.length?{x:Ne.changedTouches[0].pageX,y:Ne.changedTouches[0].pageY}:{x:Ne.pageX,y:Ne.pageY}}function K(Ne){return Ne.touches&&Ne.touches.length||Ne.changedTouches&&Ne.changedTouches.length}function z(Ne,me){var be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!Ne)return;var Re={left:be.left+Ne.offsetLeft,top:be.top+Ne.offsetTop};return Ne.parentNode===me?Re:z(Ne.parentNode,me,Re)}function W(Ne,me,be){return Neme?Ne-1:Ne>be&&Ne0&&be[pt].height>0){var Pe=yt.getContext("2d");Pe.drawImage(be[pt],0,0)}}),Re}function xe(Ne){var me,be,Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return be=me=function(it){Object(d.a)(yt,it);function yt(){return Object(f.a)(this,yt),Object(e.a)(this,Object(m.a)(yt).apply(this,arguments))}return Object(t.a)(yt,[{key:"componentDidMount",value:function(){var Pe=Object(r.findDOMNode)(this);Pe.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return p()(Re.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Pe=Re.withRef?"wrappedInstance":null;return Object(s.createElement)(Ne,Object(x.a)({ref:Pe},this.props))}}]),yt}(s.Component),Object(n.a)(me,"displayName",X("sortableHandle",Ne)),be}function Se(Ne){return Ne.sortableHandle!=null}var ke=function(){function Ne(me,be){Object(f.a)(this,Ne),this.container=me,this.onScrollCallback=be}return Object(t.a)(Ne,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(be){var Re=this,it=be.translate,yt=be.minTranslate,pt=be.maxTranslate,Pe=be.width,Nt=be.height,ut={x:0,y:0},Ft={x:1,y:1},Ut={x:10,y:10},Kt=this.container,$t=Kt.scrollTop,or=Kt.scrollLeft,ht=Kt.scrollHeight,Ee=Kt.scrollWidth,de=Kt.clientHeight,qe=Kt.clientWidth,rt=$t===0,ve=ht-$t-de===0,bt=or===0,jt=Ee-or-qe===0;it.y>=pt.y-Nt/2&&!ve?(ut.y=1,Ft.y=Ut.y*Math.abs((pt.y-Nt/2-it.y)/Nt)):it.x>=pt.x-Pe/2&&!jt?(ut.x=1,Ft.x=Ut.x*Math.abs((pt.x-Pe/2-it.x)/Pe)):it.y<=yt.y+Nt/2&&!rt?(ut.y=-1,Ft.y=Ut.y*Math.abs((it.y-Nt/2-yt.y)/Nt)):it.x<=yt.x+Pe/2&&!bt&&(ut.x=-1,Ft.x=Ut.x*Math.abs((it.x-Pe/2-yt.x)/Pe)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(ut.x!==0||ut.y!==0)&&(this.interval=setInterval(function(){Re.isAutoScrolling=!0;var He={left:Ft.x*ut.x,top:Ft.y*ut.y};Re.container.scrollTop+=He.top,Re.container.scrollLeft+=He.left,Re.onScrollCallback(He)},5))}}]),Ne}();function ge(Ne){var me=Ne.node;return{height:me.offsetHeight,width:me.offsetWidth}}function Be(Ne){var me=[ie.Input,ie.Textarea,ie.Select,ie.Option,ie.Button];return me.indexOf(Ne.target.tagName)!==-1?!0:!!M(Ne.target,function(be){return be.contentEditable==="true"})}var ee={axis:u.a.oneOf(["x","y","xy"]),contentWindow:u.a.any,disableAutoscroll:u.a.bool,distance:u.a.number,getContainer:u.a.func,getHelperDimensions:u.a.func,helperClass:u.a.string,helperContainer:u.a.oneOfType([u.a.func,typeof HTMLElement=="undefined"?u.a.any:u.a.instanceOf(HTMLElement)]),hideSortableGhost:u.a.bool,keyboardSortingTransitionDuration:u.a.number,lockAxis:u.a.string,lockOffset:u.a.oneOfType([u.a.number,u.a.string,u.a.arrayOf(u.a.oneOfType([u.a.number,u.a.string]))]),lockToContainerEdges:u.a.bool,onSortEnd:u.a.func,onSortMove:u.a.func,onSortOver:u.a.func,onSortStart:u.a.func,pressDelay:u.a.number,pressThreshold:u.a.number,keyCodes:u.a.shape({lift:u.a.arrayOf(u.a.number),drop:u.a.arrayOf(u.a.number),cancel:u.a.arrayOf(u.a.number),up:u.a.arrayOf(u.a.number),down:u.a.arrayOf(u.a.number)}),shouldCancelStart:u.a.func,transitionDuration:u.a.number,updateBeforeSortStart:u.a.func,useDragHandle:u.a.bool,useWindowAsScrollContainer:u.a.bool},ue={lift:[ce.SPACE],drop:[ce.SPACE],cancel:[ce.ESC],up:[ce.UP,ce.LEFT],down:[ce.DOWN,ce.RIGHT]},Ge={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:ge,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:ue,shouldCancelStart:Be,transitionDuration:300,useWindowAsScrollContainer:!1},ae=Object.keys(ee);function Z(Ne){p()(!(Ne.distance&&Ne.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function Y(Ne,me){try{var be=Ne()}catch(Re){return me(!0,Re)}return be&&be.then?be.then(me.bind(null,!1),me.bind(null,!0)):me(!1,value)}function te(Ne){var me,be,Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return be=me=function(it){Object(d.a)(yt,it);function yt(pt){var Pe;return Object(f.a)(this,yt),Pe=Object(e.a)(this,Object(m.a)(yt).call(this,pt)),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"state",{}),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"handleStart",function(Nt){var ut=Pe.props,Ft=ut.distance,Ut=ut.shouldCancelStart;if(Nt.button===2||Ut(Nt))return;Pe.touched=!0,Pe.position=k(Nt);var Kt=M(Nt.target,function(qe){return qe.sortableInfo!=null});if(Kt&&Kt.sortableInfo&&Pe.nodeIsChild(Kt)&&!Pe.state.sorting){var $t=Pe.props.useDragHandle,or=Kt.sortableInfo,ht=or.index,Ee=or.collection,de=or.disabled;if(de)return;if($t&&!M(Nt.target,Se))return;Pe.manager.active={collection:Ee,index:ht},!K(Nt)&&Nt.target.tagName===ie.Anchor&&Nt.preventDefault(),Ft||(Pe.props.pressDelay===0?Pe.handlePress(Nt):Pe.pressTimer=setTimeout(function(){return Pe.handlePress(Nt)},Pe.props.pressDelay))}}),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"nodeIsChild",function(Nt){return Nt.sortableInfo.manager===Pe.manager}),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"handleMove",function(Nt){var ut=Pe.props,Ft=ut.distance,Ut=ut.pressThreshold;if(!Pe.state.sorting&&Pe.touched&&!Pe._awaitingUpdateBeforeSortStart){var Kt=k(Nt),$t={x:Pe.position.x-Kt.x,y:Pe.position.y-Kt.y},or=Math.abs($t.x)+Math.abs($t.y);Pe.delta=$t,!Ft&&(!Ut||or>=Ut)?(clearTimeout(Pe.cancelTimer),Pe.cancelTimer=setTimeout(Pe.cancel,0)):Ft&&or>=Ft&&Pe.manager.isActive()&&Pe.handlePress(Nt)}}),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"handleEnd",function(){Pe.touched=!1,Pe.cancel()}),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"cancel",function(){var Nt=Pe.props.distance,ut=Pe.state.sorting;ut||(Nt||clearTimeout(Pe.pressTimer),Pe.manager.active=null)}),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"handlePress",function(Nt){try{var ut=Pe.manager.getActive(),Ft=function(){if(ut){var Ut=function(){var Ar=ve.sortableInfo.index,at=B(ve),Ht=re(Pe.container),Wt=Pe.scrollContainer.getBoundingClientRect(),ot=or({index:Ar,node:ve,collection:bt});if(Pe.node=ve,Pe.margin=at,Pe.gridGap=Ht,Pe.width=ot.width,Pe.height=ot.height,Pe.marginOffset={x:Pe.margin.left+Pe.margin.right+Pe.gridGap.x,y:Math.max(Pe.margin.top,Pe.margin.bottom,Pe.gridGap.y)},Pe.boundingClientRect=ve.getBoundingClientRect(),Pe.containerBoundingRect=Wt,Pe.index=Ar,Pe.newIndex=Ar,Pe.axis={x:$t.indexOf("x")>=0,y:$t.indexOf("y")>=0},Pe.offsetEdge=z(ve,Pe.container),jt?Pe.initialOffset=k(Object(A.a)({},Nt,{pageX:Pe.boundingClientRect.left,pageY:Pe.boundingClientRect.top})):Pe.initialOffset=k(Nt),Pe.initialScroll={left:Pe.scrollContainer.scrollLeft,top:Pe.scrollContainer.scrollTop},Pe.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Pe.helper=Pe.helperContainer.appendChild(fe(ve)),C(Pe.helper,{boxSizing:"border-box",height:"".concat(Pe.height,"px"),left:"".concat(Pe.boundingClientRect.left-at.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Pe.boundingClientRect.top-at.top,"px"),width:"".concat(Pe.width,"px")}),jt&&Pe.helper.focus(),Ee&&(Pe.sortableGhost=ve,C(ve,{opacity:0,visibility:"hidden"})),Pe.minTranslate={},Pe.maxTranslate={},jt){var et=rt?{top:0,left:0,width:Pe.contentWindow.innerWidth,height:Pe.contentWindow.innerHeight}:Pe.containerBoundingRect,Ze=et.top,Gt=et.left,yr=et.width,br=et.height,Sr=Ze+br,Tn=Gt+yr;Pe.axis.x&&(Pe.minTranslate.x=Gt-Pe.boundingClientRect.left,Pe.maxTranslate.x=Tn-(Pe.boundingClientRect.left+Pe.width)),Pe.axis.y&&(Pe.minTranslate.y=Ze-Pe.boundingClientRect.top,Pe.maxTranslate.y=Sr-(Pe.boundingClientRect.top+Pe.height))}else Pe.axis.x&&(Pe.minTranslate.x=(rt?0:Wt.left)-Pe.boundingClientRect.left-Pe.width/2,Pe.maxTranslate.x=(rt?Pe.contentWindow.innerWidth:Wt.left+Wt.width)-Pe.boundingClientRect.left-Pe.width/2),Pe.axis.y&&(Pe.minTranslate.y=(rt?0:Wt.top)-Pe.boundingClientRect.top-Pe.height/2,Pe.maxTranslate.y=(rt?Pe.contentWindow.innerHeight:Wt.top+Wt.height)-Pe.boundingClientRect.top-Pe.height/2);ht&&ht.split(" ").forEach(function(cn){return Pe.helper.classList.add(cn)}),Pe.listenerNode=Nt.touches?ve:Pe.contentWindow,jt?(Pe.listenerNode.addEventListener("wheel",Pe.handleKeyEnd,!0),Pe.listenerNode.addEventListener("mousedown",Pe.handleKeyEnd,!0),Pe.listenerNode.addEventListener("keydown",Pe.handleKeyDown)):(_.move.forEach(function(cn){return Pe.listenerNode.addEventListener(cn,Pe.handleSortMove,!1)}),_.end.forEach(function(cn){return Pe.listenerNode.addEventListener(cn,Pe.handleSortEnd,!1)})),Pe.setState({sorting:!0,sortingIndex:Ar}),qe&&qe({node:ve,index:Ar,collection:bt,isKeySorting:jt,nodes:Pe.manager.getOrderedRefs(),helper:Pe.helper},Nt),jt&&Pe.keyMove(0)},Kt=Pe.props,$t=Kt.axis,or=Kt.getHelperDimensions,ht=Kt.helperClass,Ee=Kt.hideSortableGhost,de=Kt.updateBeforeSortStart,qe=Kt.onSortStart,rt=Kt.useWindowAsScrollContainer,ve=ut.node,bt=ut.collection,jt=Pe.manager.isKeySorting,He=function(){if(typeof de=="function"){Pe._awaitingUpdateBeforeSortStart=!0;var kt=Y(function(){var Ar=ve.sortableInfo.index;return Promise.resolve(de({collection:bt,index:Ar,node:ve,isKeySorting:jt},Nt)).then(function(){})},function(Ar,at){if(Pe._awaitingUpdateBeforeSortStart=!1,Ar)throw at;return at});if(kt&&kt.then)return kt.then(function(){})}}();return He&&He.then?He.then(Ut):Ut(He)}}();return Promise.resolve(Ft&&Ft.then?Ft.then(function(){}):void 0)}catch(Ut){return Promise.reject(Ut)}}),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"handleSortMove",function(Nt){var ut=Pe.props.onSortMove;typeof Nt.preventDefault=="function"&&Nt.preventDefault(),Pe.updateHelperPosition(Nt),Pe.animateNodes(),Pe.autoscroll(),ut&&ut(Nt)}),Object(n.a)(Object(a.a)(Object(a.a)(Pe)),"handleSortEnd",function(Nt){var ut=Pe.props,Ft=ut.hideSortableGhost,Ut=ut.onSortEnd,Kt=Pe.manager,$t=Kt.active.collection,or=Kt.isKeySorting,ht=Pe.manager.getOrderedRefs();Pe.listenerNode&&(or?(Pe.listenerNode.removeEventListener("wheel",Pe.handleKeyEnd,!0),Pe.listenerNode.removeEventListener("mousedown",Pe.handleKeyEnd,!0),Pe.listenerNode.removeEventListener("keydown",Pe.handleKeyDown)):(_.move.forEach(function(ve){return Pe.listenerNode.removeEventListener(ve,Pe.handleSortMove)}),_.end.forEach(function(ve){return Pe.listenerNode.removeEventListener(ve,Pe.handleSortEnd)}))),Pe.helper.parentNode.removeChild(Pe.helper),Ft&&Pe.sortableGhost&&C(Pe.sortableGhost,{opacity:"",visibility:""});for(var Ee=0,de=ht.length;EeFt)return;Pe.prevIndex=Kt,Pe.newIndex=Ut;var $t=W(Pe.newIndex,Pe.prevIndex,Pe.index),or=ut.find(function(jt){var He=jt.node;return He.sortableInfo.index===$t}),ht=or.node,Ee=Pe.containerScrollDelta,de=or.boundingClientRect||J(ht,Ee),qe=or.translate||{x:0,y:0},rt={top:de.top+qe.y-Ee.top,left:de.left+qe.x-Ee.left},ve=Ktjt?jt/2:this.height/2,width:this.width>bt?bt/2:this.width/2},kt=ht&&ve>this.index&&ve<=Ee,Ar=ht&&ve=Ee,at={x:0,y:0},Ht=$t[de].edgeOffset;Ht||(Ht=z(rt,this.container),$t[de].edgeOffset=Ht,ht&&($t[de].boundingClientRect=J(rt,Ut)));var Wt=de<$t.length-1&&$t[de+1],ot=de>0&&$t[de-1];if(Wt&&!Wt.edgeOffset&&(Wt.edgeOffset=z(Wt.node,this.container),ht&&(Wt.boundingClientRect=J(Wt.node,Ut))),ve===this.index){ut&&(this.sortableGhost=rt,C(rt,{opacity:0,visibility:"hidden"}));continue}Nt&&O(rt,Nt),this.axis.x?this.axis.y?Ar||vethis.containerBoundingRect.width-He.width&&(Wt&&(at.x=Wt.edgeOffset.left-Ht.left,at.y=Wt.edgeOffset.top-Ht.top)),this.newIndex===null&&(this.newIndex=ve)):(kt||ve>this.index&&(or.left+Kt.left+He.width>=Ht.left&&or.top+Kt.top+He.height>=Ht.top||or.top+Kt.top+He.height>=Ht.top+jt))&&(at.x=-(this.width+this.marginOffset.x),Ht.left+at.xthis.index&&or.left+Kt.left+He.width>=Ht.left?(at.x=-(this.width+this.marginOffset.x),this.newIndex=ve):(Ar||vethis.index&&or.top+Kt.top+He.height>=Ht.top?(at.y=-(this.height+this.marginOffset.y),this.newIndex=ve):(Ar||ve1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return be=me=function(it){Object(d.a)(yt,it);function yt(){return Object(f.a)(this,yt),Object(e.a)(this,Object(m.a)(yt).apply(this,arguments))}return Object(t.a)(yt,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Pe){this.node&&(Pe.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Pe.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Pe.collection!==this.props.collection&&(this.unregister(Pe.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Pe=this.props,Nt=Pe.collection,ut=Pe.disabled,Ft=Pe.index,Ut=Object(r.findDOMNode)(this);Ut.sortableInfo={collection:Nt,disabled:ut,index:Ft,manager:this.context.manager},this.node=Ut,this.ref={node:Ut},this.context.manager.add(Nt,this.ref)}},{key:"unregister",value:function(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Pe,this.ref)}},{key:"getWrappedInstance",value:function(){return p()(Re.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Pe=Re.withRef?"wrappedInstance":null;return Object(s.createElement)(Ne,Object(x.a)({ref:Pe},S(this.props,pe)))}}]),yt}(s.Component),Object(n.a)(me,"displayName",X("sortableElement",Ne)),Object(n.a)(me,"contextTypes",{manager:u.a.object.isRequired}),Object(n.a)(me,"propTypes",we),Object(n.a)(me,"defaultProps",{collection:0}),be}},YNAk:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("QyFq")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="CaretDownFilled";var d=f.forwardRef(m);R.default=d},YNf1:function(j,R,l){var x=l("IwbS"),b=l("6Ic6"),A=.3,f=b.extend({type:"parallel",init:function(){this._dataGroup=new x.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(c,i,u,r){var o=this._dataGroup,h=c.getData(),p=this._data,g=c.coordinateSystem,v=g.dimensions,y=d(c);h.diff(p).add(w).update(S).remove(_).execute();function w(C){var E=m(h,o,C,v,g);a(E,h,C,y)}function S(C,E){var O=p.getItemGraphicEl(E),M=e(h,C,v,g);h.setItemGraphicEl(C,O);var F=r&&r.animation===!1?null:c;x.updateProps(O,{shape:{points:M}},F,C),a(O,h,C,y)}function _(C){var E=p.getItemGraphicEl(C);o.remove(E)}if(!this._initialized){this._initialized=!0;var I=t(g,c,function(){setTimeout(function(){o.removeClipPath()})});o.setClipPath(I)}this._data=h},incrementalPrepareRender:function(c,i,u){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(c,i,u){for(var r=i.getData(),o=i.coordinateSystem,h=o.dimensions,p=d(i),g=c.start;g65535?p:v}function w(V){var q=V.constructor;return q===Array?V.slice():new q(V)}var S=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],_=["_extent","_approximateExtent","_rawExtent"];function I(V,q){A.each(S.concat(q.__wrappedMethods||[]),function(re){q.hasOwnProperty(re)&&(V[re]=q[re])}),V.__wrappedMethods=q.__wrappedMethods,A.each(_,function(re){V[re]=A.clone(q[re])}),V._calculationInfo=A.extend(q._calculationInfo)}var C=function(V,q){V=V||["x","y"];for(var re={},ce=[],ie={},fe=0;fepe[1]&&(pe[1]=we)}q&&(this._nameList[Ge]=q[ae])}this._rawCount=this._count=ke,this._extent={},M(this)},E._initDataFromProvider=function(V,q){if(V>=q)return;for(var re=this._chunkSize,ce=this._rawData,ie=this._storage,fe=this.dimensions,xe=fe.length,Se=this._dimensionInfos,ke=this._nameList,ge=this._idList,Be=this._rawExtent,ee=this._nameRepeatCount={},ue,Ge=this._chunkCount,ae=0;aeRe[1]&&(Re[1]=be)}if(!ce.pure){var it=ke[we];if(te&&it==null){if(te.name!=null)ke[we]=it=te.name;else if(ue!=null){var yt=fe[ue],pt=ie[yt][pe];if(pt){it=pt[De];var Pe=Se[yt].ordinalMeta;Pe&&Pe.categories.length&&(it=Pe.categories[it])}}}var Nt=te==null?null:te.id;Nt==null&&it!=null&&(ee[it]=ee[it]||0,Nt=it,ee[it]>0&&(Nt+="__ec__"+ee[it]),ee[it]++),Nt!=null&&(ge[we]=Nt)}}!ce.persistent&&ce.clean&&ce.clean(),this._rawCount=this._count=q,this._extent={},M(this)};function O(V,q,re,ce,ie){var fe=h[q.type],xe=ce-1,Se=q.name,ke=V[Se][xe];if(ke&&ke.length=0&&q=0&&qSe&&(Se=ge)}return fe=[xe,Se],this._extent[V]=fe,fe},E.getApproximateExtent=function(V){return V=this.getDimension(V),this._approximateExtent[V]||this.getDataExtent(V)},E.setApproximateExtent=function(V,q){q=this.getDimension(q),this._approximateExtent[q]=V.slice()},E.getCalculationInfo=function(V){return this._calculationInfo[V]},E.setCalculationInfo=function(V,q){i(V)?A.extend(this._calculationInfo,V):this._calculationInfo[V]=q},E.getSum=function(V){var q=this._storage[V],re=0;if(q)for(var ce=0,ie=this.count();ce=this._rawCount||V<0)return-1;if(!this._indices)return V;var q=this._indices,re=q[V];if(re!=null&&reV)ie=fe-1;else return fe}return-1},E.indicesOfNearest=function(V,q,re){var ce=this._storage,ie=ce[V],fe=[];if(!ie)return fe;re==null&&(re=Infinity);for(var xe=Infinity,Se=-1,ke=0,ge=0,Be=this.count();ge=0&&Se<0)&&(xe=ue,Se=ee,ke=0),ee===Se&&(fe[ke++]=ge))}return fe.length=ke,fe},E.getRawIndex=H;function H(V){return V}function B(V){return V=0?this._indices[V]:-1}E.getRawDataItem=function(V){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(V));for(var q=[],re=0;re=ge&&we<=Be||isNaN(we))&&(xe[Se++]=ue),ue++}ee=!0}else if(ce===2){for(var Ge=this._storage[ke],pe=this._storage[q[1]],De=V[q[1]][0],Ne=V[q[1]][1],ae=0;ae=ge&&we<=Be||isNaN(we))&&(be>=De&&be<=Ne||isNaN(be))&&(xe[Se++]=ue),ue++}ee=!0}}if(!ee)if(ce===1)for(var te=0;te=ge&&we<=Be||isNaN(we))&&(xe[Se++]=Re)}else for(var te=0;teV[yt][1])&&(it=!1)}it&&(xe[Se++]=this.getRawIndex(te))}return Se=0?(ie[Se]=z(fe[Se]),ce._rawExtent[Se]=W(),ce._extent[Se]=null):ie[Se]=fe[Se])}return ce}function z(V){for(var q=new Array(V.length),re=0;reNe[1]&&(Ne[1]=De)}}}return ie},E.downSample=function(V,q,re,ce){for(var ie=K(this,[V]),fe=ie._storage,xe=[],Se=Math.floor(1/q),ke=fe[V],ge=this.count(),Be=this._chunkSize,ee=ie._rawExtent[V],ue=new(y(this))(ge),Ge=0,ae=0;aege-ae&&(Se=ge-ae,xe.length=Se);for(var Z=0;Zee[1]&&(ee[1]=pe),ue[Ge++]=De}return ie._count=Ge,ie._indices=ue,ie.getRawIndex=B,ie},E.getItemModel=function(V){var q=this.hostModel;return new f(this.getRawDataItem(V),q,q&&q.ecModel)},E.diff=function(V){var q=this;return new t(V?V.getIndices():[],this.getIndices(),function(re){return X(V,re)},function(re){return X(q,re)})},E.getVisual=function(V){var q=this._visual;return q&&q[V]},E.setVisual=function(V,q){if(i(V)){for(var re in V)V.hasOwnProperty(re)&&this.setVisual(re,V[re]);return}this._visual=this._visual||{},this._visual[V]=q},E.setLayout=function(V,q){if(i(V)){for(var re in V)V.hasOwnProperty(re)&&this.setLayout(re,V[re]);return}this._layout[V]=q},E.getLayout=function(V){return this._layout[V]},E.getItemLayout=function(V){return this._itemLayouts[V]},E.setItemLayout=function(V,q,re){this._itemLayouts[V]=re?A.extend(this._itemLayouts[V]||{},q):q},E.clearItemLayouts=function(){this._itemLayouts.length=0},E.getItemVisual=function(V,q,re){var ce=this._itemVisuals[V],ie=ce&&ce[q];return ie==null&&!re?this.getVisual(q):ie},E.setItemVisual=function(V,q,re){var ce=this._itemVisuals[V]||{},ie=this.hasItemVisual;if(this._itemVisuals[V]=ce,i(q)){for(var fe in q)q.hasOwnProperty(fe)&&(ce[fe]=q[fe],ie[fe]=!0);return}ce[q]=re,ie[q]=!0},E.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var P=function(V){V.seriesIndex=this.seriesIndex,V.dataIndex=this.dataIndex,V.dataType=this.dataType};E.setItemGraphicEl=function(V,q){var re=this.hostModel;q&&(q.dataIndex=V,q.dataType=this.dataType,q.seriesIndex=re&&re.seriesIndex,q.type==="group"&&q.traverse(P,q)),this._graphicEls[V]=q},E.getItemGraphicEl=function(V){return this._graphicEls[V]},E.eachItemGraphicEl=function(V,q){A.each(this._graphicEls,function(re,ce){re&&(V&&V.call(q,re,ce))})},E.cloneShallow=function(V){if(!V){var q=A.map(this.dimensions,this.getDimensionInfo,this);V=new C(q,this.hostModel)}if(V._storage=this._storage,I(V,this),this._indices){var re=this._indices.constructor;V._indices=new re(this._indices)}else V._indices=null;return V.getRawIndex=V._indices?B:H,V},E.wrapMethod=function(V,q){var re=this[V];if(typeof re!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(V),this[V]=function(){var ce=re.apply(this,arguments);return q.apply(this,[ce].concat(A.slice(arguments)))}},E.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],E.CHANGABLE_METHODS=["filterSelf","selectRange"];var G=C;j.exports=G},YgsL:function(j,R,l){var x=l("QBsz"),b=x.distance;function A(t,e,m,d,a,n,s){var c=(m-t)*.5,i=(d-e)*.5;return(2*(e-m)+c+i)*s+(-3*(e-m)-2*c-i)*n+c*a+e}function f(t,e){for(var m=t.length,d=[],a=0,n=1;nm-2?m-1:i+1],p=t[i>m-3?m-1:i+2]);var g=u*u,v=u*g;d.push([A(r[0],o[0],h[0],p[0],u,g,v),A(r[1],o[1],h[1],p[1],u,g,v)])}return d}j.exports=f},Yl7c:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("bYtY"),f=".",t="___EC__COMPONENT__CONTAINER___";function e(r){var o={main:"",sub:""};return r&&(r=r.split(f),o.main=r[0]||"",o.sub=r[1]||""),o}function m(r){A.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(r),'componentType "'+r+'" illegal')}function d(r,o){r.$constructor=r,r.extend=function(h){var p=this,g=function(){h.$constructor?h.$constructor.apply(this,arguments):p.apply(this,arguments)};return A.extend(g.prototype,h),g.extend=this.extend,g.superCall=s,g.superApply=c,A.inherits(g,this),g.superClass=p,g}}var a=0;function n(r){var o=["__\0is_clz",a++,Math.random().toFixed(3)].join("_");r.prototype[o]=!0,r.isInstance=function(h){return!!(h&&h[o])}}function s(r,o){var h=A.slice(arguments,2);return this.superClass.prototype[o].apply(r,h)}function c(r,o,h){return this.superClass.prototype[o].apply(r,h)}function i(r,o){o=o||{};var h={};r.registerClass=function(v,y){if(y){if(m(y),y=e(y),!y.sub)h[y.main]=v;else if(y.sub!==t){var w=p(y);w[y.sub]=v}}return v},r.getClass=function(v,y,w){var S=h[v];if(S&&S[t]&&(S=y?S[y]:null),w&&!S)throw new Error(y?"Component "+v+"."+(y||"")+" not exists. Load it first.":v+".type should be specified.");return S},r.getClassesByMainType=function(v){v=e(v);var y=[],w=h[v.main];return w&&w[t]?A.each(w,function(S,_){_!==t&&y.push(S)}):y.push(w),y},r.hasClass=function(v){return v=e(v),!!h[v.main]},r.getAllClassMainTypes=function(){var v=[];return A.each(h,function(y,w){v.push(w)}),v},r.hasSubTypes=function(v){v=e(v);var y=h[v.main];return y&&y[t]},r.parseClassType=e;function p(v){var y=h[v.main];return(!y||!y[t])&&(y=h[v.main]={},y[t]=!0),y}if(o.registerWhenExtend){var g=r.extend;g&&(r.extend=function(v){var y=g.call(this,v);return r.registerClass(y,v.type)})}return r}function u(r,o){}R.parseClassType=e,R.enableClassExtend=d,R.enableClassCheck=n,R.enableClassManagement=i,R.setReadOnly=u},Ynxi:function(j,R,l){var x=l("bYtY"),b=l("ProS"),A=l("IwbS"),f=l("+TT/"),t=f.getLayoutRect,e=l("7aKB"),m=e.windowOpen;b.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),b.extendComponentView({type:"title",render:function(d,a,n){if(this.group.removeAll(),!d.get("show"))return;var s=this.group,c=d.getModel("textStyle"),i=d.getModel("subtextStyle"),u=d.get("textAlign"),r=x.retrieve2(d.get("textBaseline"),d.get("textVerticalAlign")),o=new A.Text({style:A.setTextStyle({},c,{text:d.get("text"),textFill:c.getTextColor()},{disableBox:!0}),z2:10}),h=o.getBoundingRect(),p=d.get("subtext"),g=new A.Text({style:A.setTextStyle({},i,{text:p,textFill:i.getTextColor(),y:h.height+d.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),v=d.get("link"),y=d.get("sublink"),w=d.get("triggerEvent",!0);o.silent=!v&&!w,g.silent=!y&&!w,v&&o.on("click",function(){m(v,"_"+d.get("target"))}),y&&g.on("click",function(){m(v,"_"+d.get("subtarget"))}),o.eventData=g.eventData=w?{componentType:"title",componentIndex:d.componentIndex}:null,s.add(o),p&&s.add(g);var S=s.getBoundingRect(),_=d.getBoxLayoutParams();_.width=S.width,_.height=S.height;var I=t(_,{width:n.getWidth(),height:n.getHeight()},d.get("padding"));u||(u=d.get("left")||d.get("right"),u==="middle"&&(u="center"),u==="right"?I.x+=I.width:u==="center"&&(I.x+=I.width/2)),r||(r=d.get("top")||d.get("bottom"),r==="center"&&(r="middle"),r==="bottom"?I.y+=I.height:r==="middle"&&(I.y+=I.height/2),r=r||"top"),s.attr("position",[I.x,I.y]);var C={textAlign:u,textVerticalAlign:r};o.setStyle(C),g.setStyle(C),S=s.getBoundingRect();var E=I.margin,O=d.getItemStyle(["color","opacity"]);O.fill=d.get("backgroundColor");var M=new A.Rect({shape:{x:S.x-E[3],y:S.y-E[0],width:S.width+E[1]+E[3],height:S.height+E[0]+E[2],r:d.get("borderRadius")},style:O,subPixelOptimize:!0,silent:!0});s.add(M)}})},Ywus:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("DO2E")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="DeleteOutlined";var d=f.forwardRef(m);R.default=d},Z0Lh:function(j,R,l){"use strict";var x=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var b=x(l("pVnL")),A=x(l("HjOm")),f=x(l("Z6rY")),t={lang:(0,b.default)({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},A.default),timePickerLocale:(0,b.default)({},f.default)};t.lang.ok="\u786E \u5B9A";var e=t;R.default=e},Z1HP:function(j,R,l){var x=l("ycre"),b=l("quyA"),A=l("q4HE");function f(t){return b(t)?A(t):x(t)}j.exports=f},Z1r0:function(j,R){function l(x){var b=x.findComponents({mainType:"legend"});if(!b||!b.length)return;x.eachSeriesByType("graph",function(A){var f=A.getCategoriesData(),t=A.getGraph(),e=t.data,m=f.mapArray(f.getName);e.filterSelf(function(d){var a=e.getItemModel(d),n=a.getShallow("category");if(n!=null){typeof n=="number"&&(n=m[n]);for(var s=0;s0?1:-1,ie=q.height>0?1:-1;return{x:q.x+ce*re/2,y:q.y+ie*re/2,width:q.width-ce*re,height:q.height-ie*re}},polar:function(P,G,V){var q=P.getItemLayout(G);return{cx:q.cx,cy:q.cy,r0:q.r0,r:q.r,startAngle:q.startAngle,endAngle:q.endAngle}}};function O(P){return P.startAngle!=null&&P.endAngle!=null&&P.startAngle===P.endAngle}function M(P,G,V,q,re,ce,ie,fe){var xe=G.getItemVisual(V,"color"),Se=G.getItemVisual(V,"opacity"),ke=G.getVisual("borderColor"),ge=q.getModel("itemStyle"),Be=q.getModel("emphasis.itemStyle").getBarItemStyle();fe||P.setShape("r",ge.get("barBorderRadius")||0),P.useStyle(f.defaults({stroke:O(re)?"none":ke,fill:O(re)?"none":xe,opacity:Se},ge.getBarItemStyle()));var ee=q.getShallow("cursor");ee&&P.attr("cursor",ee);var ue=ie?re.height>0?"bottom":"top":re.width>0?"left":"right";fe||m(P.style,Be,q,xe,ce,V,ue),O(re)&&(Be.fill=Be.stroke="none"),t.setHoverStyle(P,Be)}function F(P,G){var V=P.get(h)||0,q=isNaN(G.width)?Number.MAX_VALUE:Math.abs(G.width),re=isNaN(G.height)?Number.MAX_VALUE:Math.abs(G.height);return Math.min(V,q,re)}var H=n.extend({type:"largeBar",shape:{points:[]},buildPath:function(P,G){for(var V=G.points,q=this.__startPoint,re=this.__baseDimIdx,ce=0;ce=0?V:null},30,!1);function J(P,G,V){var q=P.__baseDimIdx,re=1-q,ce=P.shape.points,ie=P.__largeDataIndices,fe=Math.abs(P.__barWidth/2),xe=P.__startPoint[re];p[0]=G,p[1]=V;for(var Se=p[q],ke=p[1-q],ge=Se-fe,Be=Se+fe,ee=0,ue=ce.length/2;ee=ge&&ae<=Be&&(xe<=Z?ke>=xe&&ke<=Z:ke>=Z&&ke<=xe))return ie[ee]}return-1}function k(P,G,V){var q=V.getVisual("borderColor")||V.getVisual("color"),re=G.getModel("itemStyle").getItemStyle(["color","borderColor"]);P.useStyle(re),P.style.fill=null,P.style.stroke=q,P.style.lineWidth=V.getLayout("barWidth")}function K(P,G,V){var q=G.get("borderColor")||G.get("color"),re=G.getItemStyle(["color","borderColor"]);P.useStyle(re),P.style.fill=null,P.style.stroke=q,P.style.lineWidth=V.getLayout("barWidth")}function z(P,G,V){var q,re=V.type==="polar";return re?q=V.getArea():q=V.grid.getRect(),re?{cx:q.cx,cy:q.cy,r0:P?q.r0:G.r0,r:P?q.r:G.r,startAngle:P?G.startAngle:0,endAngle:P?G.endAngle:Math.PI*2}:{x:P?G.x:q.x,y:P?q.y:G.y,width:P?G.width:q.width,height:P?q.height:G.height}}function W(P,G,V){var q=P.type==="polar"?t.Sector:t.Rect;return new q({shape:z(G,V,P),silent:!0,z2:0})}j.exports=v},ZCgT:function(j,R,l){var x=l("tLB3"),b=1/0,A=17976931348623157e292;function f(t){if(!t)return t===0?t:0;if(t=x(t),t===b||t===-b){var e=t<0?-1:1;return e*A}return t===t?t:0}j.exports=f},ZLWo:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};R.default=x},ZMnZ:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("2oIt")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="UpOutlined";var d=f.forwardRef(m);R.default=d},ZTPi:function(j,R,l){"use strict";var x=l("pVnL"),b=l.n(x),A=l("lSNA"),f=l.n(A),t=l("q1tI"),e=l("rePB"),m=l("ODXe"),d=l("Ff2n"),a=l("VTBJ"),n=l("TSYQ"),s=l.n(n),c=l("Zm9Q"),i=l("6cGi"),u=l("KQm4"),r=l("xEkU"),o=l.n(r),h=l("t23M");function p(Nr){var Qr=Object(t.useRef)(),bn=Object(t.useRef)(!1);function Zr(){for(var hr=arguments.length,jr=new Array(hr),wr=0;wrXn&&(ji=Xn-Li),Object(t.useMemo)(function(){if(!jr.length)return[0,0];for(var Sa=jr.length,Ga=Sa,Ya=0;YaDn+ji){Ga=Ya-1;break}}for(var vo=0,po=Sa-1;po>=0;po-=1){var Ha=Nr.get(jr[po].key)||I;if(Ha[kn]1&&arguments[1]!==void 0?arguments[1]:!1,Zr=Qr&&typeof Qr.getBoundingClientRect=="function"&&Qr.getBoundingClientRect().width;if(Zr){if(bn){var hr=getComputedStyle(Qr),jr=hr.marginLeft,wr=hr.marginRight;Zr+=+jr.replace("px","")+ +wr.replace("px","")}Zr=+Zr.toFixed(6)}return Zr||0},be=function(Qr,bn,Zr){Qr&&Object(W.a)(Qr.style)==="object"&&(Qr.style[bn]=Zr)},Re=function(){return Z.any},it=l("bdgK"),yt=l("i8i4"),pt=l.n(yt),Pe=l("wgJM"),Nt=l("l4aY"),ut=l("m+aA"),Ft=l("c+Xe"),Ut=l("zT1h"),Kt=l("QC+M");function $t(Nr,Qr,bn){return bn?Nr[0]===Qr[0]:Nr[0]===Qr[0]&&Nr[1]===Qr[1]}function or(Nr,Qr,bn){var Zr=Nr[Qr]||{};return Object(a.a)(Object(a.a)({},Zr),bn)}function ht(Nr,Qr,bn,Zr){for(var hr=bn.points,jr=Object.keys(Nr),wr=0;wr1&&arguments[1]!==void 0?arguments[1]:2;Qr();var jr=Object(Pe.a)(function(){hr<=1?Zr({isCanceled:function(){return jr!==Nr.current}}):bn(Zr,hr-1)});Nr.current=jr}return t.useEffect(function(){return function(){Qr()}},[]),[bn,Qr]},gt=[Tn,cn,Wn,lt],ir=!1,Xt=!0;function er(Nr){return Nr===Wn||Nr===lt}var Kr=function(Nr,Qr){var bn=t.useState(Sr),Zr=Object(m.a)(bn,2),hr=Zr[0],jr=Zr[1],wr=$e(),an=Object(m.a)(wr,2),Jr=an[0],kn=an[1];function Dn(){jr(Tn)}return ze(function(){if(hr!==Sr&&hr!==lt){var Xn=gt.indexOf(hr),vi=gt[Xn+1],Li=Qr(hr);Li===ir?jr(vi):Jr(function(ji){function Sa(){if(ji.isCanceled())return;jr(vi)}Li===!0?Sa():Promise.resolve(Li).then(Sa)})}},[Nr,hr]),t.useEffect(function(){return function(){kn()}},[]),[Dn,hr]},en=function(Nr){var Qr=Object(t.useRef)(),bn=Object(t.useRef)(Nr);bn.current=Nr;var Zr=t.useCallback(function(wr){bn.current(wr)},[]);function hr(wr){wr&&(wr.removeEventListener(ot,Zr),wr.removeEventListener(Wt,Zr))}function jr(wr){Qr.current&&Qr.current!==wr&&hr(Qr.current),wr&&wr!==Qr.current&&(wr.addEventListener(ot,Zr),wr.addEventListener(Wt,Zr),Qr.current=wr)}return t.useEffect(function(){return function(){hr(Qr.current)}},[]),[jr,hr]};function Fn(Nr,Qr,bn,Zr){var hr=Zr.motionEnter,jr=hr===void 0?!0:hr,wr=Zr.motionAppear,an=wr===void 0?!0:wr,Jr=Zr.motionLeave,kn=Jr===void 0?!0:Jr,Dn=Zr.motionDeadline,Xn=Zr.motionLeaveImmediately,vi=Zr.onAppearPrepare,Li=Zr.onEnterPrepare,ji=Zr.onLeavePrepare,Sa=Zr.onAppearStart,Ga=Zr.onEnterStart,Ya=Zr.onLeaveStart,bo=Zr.onAppearActive,vo=Zr.onEnterActive,po=Zr.onLeaveActive,Ha=Zr.onAppearEnd,Oa=Zr.onEnterEnd,ao=Zr.onLeaveEnd,to=Zr.onVisibleChanged,Po=mt(),Yo=Object(m.a)(Po,2),ro=Yo[0],za=Yo[1],Mo=mt(Ze),Io=Object(m.a)(Mo,2),ma=Io[0],mo=Io[1],ns=mt(null),Zo=Object(m.a)(ns,2),Oo=Zo[0],Ro=Zo[1],hs=Object(t.useRef)(!1),Uo=Object(t.useRef)(null),Ja=Object(t.useRef)(!1),Es=Object(t.useRef)(null);function oo(){var bs=bn();return bs||Es.current}var Fs=Object(t.useRef)(!1);function qo(bs){var Ho=oo();if(bs&&!bs.deadline&&bs.target!==Ho)return;var Ls;ma===Gt&&Fs.current?Ls=Ha==null?void 0:Ha(Ho,bs):ma===yr&&Fs.current?Ls=Oa==null?void 0:Oa(Ho,bs):ma===br&&Fs.current&&(Ls=ao==null?void 0:ao(Ho,bs)),Ls!==!1&&!Ja.current&&(mo(Ze),Ro(null))}var Wo=en(qo),Vo=Object(m.a)(Wo,1),Go=Vo[0],os=t.useMemo(function(){var bs,Ho,Ls;switch(ma){case"appear":return bs={},Object(e.a)(bs,Tn,vi),Object(e.a)(bs,cn,Sa),Object(e.a)(bs,Wn,bo),bs;case"enter":return Ho={},Object(e.a)(Ho,Tn,Li),Object(e.a)(Ho,cn,Ga),Object(e.a)(Ho,Wn,vo),Ho;case"leave":return Ls={},Object(e.a)(Ls,Tn,ji),Object(e.a)(Ls,cn,Ya),Object(e.a)(Ls,Wn,po),Ls;default:return{}}},[ma]),Vs=Kr(ma,function(bs){if(bs===Tn){var Ho=os[Tn];return Ho?Ho(oo()):ir}if(Bs in os){var Ls;Ro(((Ls=os[Bs])===null||Ls===void 0?void 0:Ls.call(os,oo(),null))||null)}return Bs===Wn&&(Go(oo()),Dn>0&&(clearTimeout(Uo.current),Uo.current=setTimeout(function(){qo({deadline:!0})},Dn))),Xt}),xs=Object(m.a)(Vs,2),Js=xs[0],Bs=xs[1],ks=er(Bs);Fs.current=ks,ze(function(){za(Qr);var bs=hs.current;if(hs.current=!0,!Nr)return;var Ho;!bs&&Qr&&an&&(Ho=Gt),bs&&Qr&&jr&&(Ho=yr),(bs&&!Qr&&kn||!bs&&Xn&&!Qr&&kn)&&(Ho=br),Ho&&(mo(Ho),Js())},[Qr]),Object(t.useEffect)(function(){(ma===Gt&&!an||ma===yr&&!jr||ma===br&&!kn)&&mo(Ze)},[an,jr,kn]),Object(t.useEffect)(function(){return function(){clearTimeout(Uo.current),Ja.current=!0}},[]),Object(t.useEffect)(function(){ro!==void 0&&ma===Ze&&(to==null||to(ro))},[ro,ma]);var Jo=Oo;return os[Tn]&&Bs===cn&&(Jo=Object(a.a)({transition:"none"},Jo)),[ma,Bs,Jo,ro!=null?ro:Qr]}var ar=function(Nr){Object(H.a)(bn,Nr);var Qr=Object(B.a)(bn);function bn(){return Object(O.a)(this,bn),Qr.apply(this,arguments)}return Object(M.a)(bn,[{key:"render",value:function(){return this.props.children}}]),bn}(t.Component),It=ar;function Ct(Nr){var Qr=Nr;Object(W.a)(Nr)==="object"&&(Qr=Nr.transitionSupport);function bn(hr){return!!(hr.motionName&&Qr)}var Zr=t.forwardRef(function(hr,jr){var wr=hr.visible,an=wr===void 0?!0:wr,Jr=hr.removeOnLeave,kn=Jr===void 0?!0:Jr,Dn=hr.forceRender,Xn=hr.children,vi=hr.motionName,Li=hr.leavedClassName,ji=hr.eventProps,Sa=bn(hr),Ga=Object(t.useRef)(),Ya=Object(t.useRef)();function bo(){try{return Object(ut.a)(Ga.current||Ya.current)}catch(mo){return null}}var vo=Fn(Sa,an,bo,hr),po=Object(m.a)(vo,4),Ha=po[0],Oa=po[1],ao=po[2],to=po[3],Po=t.useRef(to);to&&(Po.current=!0);var Yo=Object(t.useRef)(jr);Yo.current=jr;var ro=t.useCallback(function(mo){Ga.current=mo,Object(Ft.b)(Yo.current,mo)},[]),za,Mo=Object(a.a)(Object(a.a)({},ji),{},{visible:an});if(!Xn)za=null;else if(Ha===Ze||!bn(hr))to?za=Xn(Object(a.a)({},Mo),ro):!kn&&Po.current?za=Xn(Object(a.a)(Object(a.a)({},Mo),{},{className:Li}),ro):Dn?za=Xn(Object(a.a)(Object(a.a)({},Mo),{},{style:{display:"none"}}),ro):za=null;else{var Io,ma;Oa===Tn?ma="prepare":er(Oa)?ma="active":Oa===cn&&(ma="start"),za=Xn(Object(a.a)(Object(a.a)({},Mo),{},{className:s()(et(vi,Ha),(Io={},Object(e.a)(Io,et(vi,"".concat(Ha,"-").concat(ma)),ma),Object(e.a)(Io,vi,typeof vi=="string"),Io)),style:ao}),ro)}return t.createElement(It,{ref:Ya},za)});return Zr.displayName="CSSMotion",Zr}var mr=Ct(Ht),gr="add",Mt="keep",rr="remove",Dt="removed";function tr(Nr){var Qr;return Nr&&Object(W.a)(Nr)==="object"&&"key"in Nr?Qr=Nr:Qr={key:Nr},Object(a.a)(Object(a.a)({},Qr),{},{key:String(Qr.key)})}function Dr(){var Nr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Nr.map(tr)}function dr(){var Nr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Qr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],bn=[],Zr=0,hr=Qr.length,jr=Dr(Nr),wr=Dr(Qr);jr.forEach(function(kn){for(var Dn=!1,Xn=Zr;Xn1});return Jr.forEach(function(kn){bn=bn.filter(function(Dn){var Xn=Dn.key,vi=Dn.status;return Xn!==kn||vi!==rr}),bn.forEach(function(Dn){Dn.key===kn&&(Dn.status=Mt)})}),bn}var Tr=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function vn(Nr){var Qr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:mr,bn=function(Zr){Object(H.a)(jr,Zr);var hr=Object(B.a)(jr);function jr(){var wr;return Object(O.a)(this,jr),wr=hr.apply(this,arguments),wr.state={keyEntities:[]},wr.removeKey=function(an){wr.setState(function(Jr){var kn=Jr.keyEntities;return{keyEntities:kn.map(function(Dn){return Dn.key!==an?Dn:Object(a.a)(Object(a.a)({},Dn),{},{status:Dt})})}})},wr}return Object(M.a)(jr,[{key:"render",value:function(){var an=this,Jr=this.state.keyEntities,kn=this.props,Dn=kn.component,Xn=kn.children,vi=kn.onVisibleChanged,Li=Object(d.a)(kn,["component","children","onVisibleChanged"]),ji=Dn||t.Fragment,Sa={};return Tr.forEach(function(Ga){Sa[Ga]=Li[Ga],delete Li[Ga]}),delete Li.keys,t.createElement(ji,Li,Jr.map(function(Ga){var Ya=Ga.status,bo=Object(d.a)(Ga,["status"]),vo=Ya===gr||Ya===Mt;return t.createElement(Qr,Object(E.a)({},Sa,{key:bo.key,visible:vo,eventProps:bo,onVisibleChanged:function(Ha){vi==null||vi(Ha,{key:bo.key}),Ha||an.removeKey(bo.key)}}),Xn)}))}}],[{key:"getDerivedStateFromProps",value:function(an,Jr){var kn=an.keys,Dn=Jr.keyEntities,Xn=Dr(kn),vi=dr(Dn,Xn);return{keyEntities:vi.filter(function(Li){var ji=Dn.find(function(Sa){var Ga=Sa.key;return Li.key===Ga});return!(ji&&ji.status===Dt&&Li.status===rr)})}}}]),jr}(t.Component);return bn.defaultProps={component:"div"},bn}var on=vn(Ht),Gn=mr;function di(Nr){var Qr=Nr.prefixCls,bn=Nr.motion,Zr=Nr.animation,hr=Nr.transitionName;return bn||(Zr?{motionName:"".concat(Qr,"-").concat(Zr)}:hr?{motionName:hr}:null)}function Ti(Nr){var Qr=Nr.prefixCls,bn=Nr.visible,Zr=Nr.zIndex,hr=Nr.mask,jr=Nr.maskMotion,wr=Nr.maskAnimation,an=Nr.maskTransitionName;if(!hr)return null;var Jr={};return(jr||an||wr)&&(Jr=Object(a.a)({motionAppear:!0},di({motion:jr,prefixCls:Qr,transitionName:an,animation:wr}))),t.createElement(Gn,Object(E.a)({},Jr,{visible:bn,removeOnLeave:!0}),function(kn){var Dn=kn.className;return t.createElement("div",{style:{zIndex:Zr},className:s()("".concat(Qr,"-mask"),Dn)})})}var Fi=l("9mu1"),la=l("o0o1"),Ta=l.n(la),dt=l("HaE+"),Me=["measure","align",null,"motion"],Xe=function(Nr,Qr){var bn=Object(t.useState)(null),Zr=Object(m.a)(bn,2),hr=Zr[0],jr=Zr[1],wr=Object(t.useRef)(),an=Object(t.useRef)(!1);function Jr(Xn){an.current||jr(Xn)}function kn(){Pe.a.cancel(wr.current)}function Dn(Xn){kn(),wr.current=Object(Pe.a)(function(){Jr(function(vi){switch(hr){case"align":return"motion";case"motion":return"stable";default:}return vi}),Xn==null||Xn()})}return Object(t.useEffect)(function(){Jr("measure")},[Nr]),Object(t.useEffect)(function(){switch(hr){case"measure":Qr();break;default:}hr&&(wr.current=Object(Pe.a)(Object(dt.a)(Ta.a.mark(function Xn(){var vi,Li;return Ta.a.wrap(function(Sa){for(;;)switch(Sa.prev=Sa.next){case 0:vi=Me.indexOf(hr),Li=Me[vi+1],Li&&vi!==-1&&Jr(Li);case 3:case"end":return Sa.stop()}},Xn)}))))},[hr]),Object(t.useEffect)(function(){return function(){an.current=!0,kn()}},[]),[hr,Dn]},Qe=function(Nr){var Qr=t.useState({width:0,height:0}),bn=Object(m.a)(Qr,2),Zr=bn[0],hr=bn[1];function jr(an){hr({width:an.offsetWidth,height:an.offsetHeight})}var wr=t.useMemo(function(){var an={};if(Nr){var Jr=Zr.width,kn=Zr.height;Nr.indexOf("height")!==-1&&kn?an.height=kn:Nr.indexOf("minHeight")!==-1&&kn&&(an.minHeight=kn),Nr.indexOf("width")!==-1&&Jr?an.width=Jr:Nr.indexOf("minWidth")!==-1&&Jr&&(an.minWidth=Jr)}return an},[Nr,Zr]);return[wr,jr]},st=t.forwardRef(function(Nr,Qr){var bn=Nr.visible,Zr=Nr.prefixCls,hr=Nr.className,jr=Nr.style,wr=Nr.children,an=Nr.zIndex,Jr=Nr.stretch,kn=Nr.destroyPopupOnHide,Dn=Nr.forceRender,Xn=Nr.align,vi=Nr.point,Li=Nr.getRootDomNode,ji=Nr.getClassNameFromAlign,Sa=Nr.onAlign,Ga=Nr.onMouseEnter,Ya=Nr.onMouseLeave,bo=Nr.onMouseDown,vo=Nr.onTouchStart,po=Object(t.useRef)(),Ha=Object(t.useRef)(),Oa=Object(t.useState)(),ao=Object(m.a)(Oa,2),to=ao[0],Po=ao[1],Yo=Qe(Jr),ro=Object(m.a)(Yo,2),za=ro[0],Mo=ro[1];function Io(){Jr&&Mo(Li())}var ma=Xe(bn,Io),mo=Object(m.a)(ma,2),ns=mo[0],Zo=mo[1],Oo=Object(t.useRef)();function Ro(){return vi||Li}function hs(){var Wo;(Wo=po.current)===null||Wo===void 0||Wo.forceAlign()}function Uo(Wo,Vo){var Go=ji(Vo);to!==Go&&Po(Go),ns==="align"&&(to!==Go?Promise.resolve().then(function(){hs()}):Zo(function(){var os;(os=Oo.current)===null||os===void 0||os.call(Oo)}),Sa==null||Sa(Wo,Vo))}var Ja=Object(a.a)({},di(Nr));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(Wo){var Vo=Ja[Wo];Ja[Wo]=function(Go,os){return Zo(),Vo==null?void 0:Vo(Go,os)}});function Es(){return new Promise(function(Wo){Oo.current=Wo})}t.useEffect(function(){!Ja.motionName&&ns==="motion"&&Zo()},[Ja.motionName,ns]),t.useImperativeHandle(Qr,function(){return{forceAlign:hs,getElement:function(){return Ha.current}}});var oo=Object(a.a)(Object(a.a)({},za),{},{zIndex:an,opacity:ns==="motion"||ns==="stable"||!bn?void 0:0,pointerEvents:ns==="stable"?void 0:"none"},jr),Fs=!0;(Xn==null?void 0:Xn.points)&&(ns==="align"||ns==="stable")&&(Fs=!1);var qo=wr;return t.Children.count(wr)>1&&(qo=t.createElement("div",{className:"".concat(Zr,"-content")},wr)),t.createElement(Gn,Object(E.a)({visible:bn,ref:Ha,leavedClassName:"".concat(Zr,"-hidden")},Ja,{onAppearPrepare:Es,onEnterPrepare:Es,removeOnLeave:kn,forceRender:Dn}),function(Wo,Vo){var Go=Wo.className,os=Wo.style,Vs=s()(Zr,hr,to,Go);return t.createElement(Fi.a,{target:Ro(),key:"popup",ref:po,monitorWindowResize:!0,disabled:Fs,align:Xn,onAlign:Uo},t.createElement("div",{ref:Vo,className:Vs,onMouseEnter:Ga,onMouseLeave:Ya,onMouseDownCapture:bo,onTouchStartCapture:vo,style:Object(a.a)(Object(a.a)({},os),oo)},qo))})});st.displayName="PopupInner";var nt=st,ft=t.forwardRef(function(Nr,Qr){var bn=Nr.prefixCls,Zr=Nr.visible,hr=Nr.zIndex,jr=Nr.children,wr=Nr.mobile;wr=wr===void 0?{}:wr;var an=wr.popupClassName,Jr=wr.popupStyle,kn=wr.popupMotion,Dn=kn===void 0?{}:kn,Xn=wr.popupRender,vi=t.useRef();t.useImperativeHandle(Qr,function(){return{forceAlign:function(){},getElement:function(){return vi.current}}});var Li=Object(a.a)({zIndex:hr},Jr),ji=jr;return t.Children.count(jr)>1&&(ji=t.createElement("div",{className:"".concat(bn,"-content")},jr)),Xn&&(ji=Xn(ji)),t.createElement(Gn,Object(E.a)({visible:Zr,ref:vi,removeOnLeave:!0},Dn),function(Sa,Ga){var Ya=Sa.className,bo=Sa.style,vo=s()(bn,an,Ya);return t.createElement("div",{ref:Ga,className:vo,style:Object(a.a)(Object(a.a)({},bo),Li)},ji)})});ft.displayName="MobilePopupInner";var Bt=ft,Et=["visible","mobile"],nr=t.forwardRef(function(Nr,Qr){var bn=Nr.visible,Zr=Nr.mobile,hr=Object(d.a)(Nr,Et),jr=Object(t.useState)(bn),wr=Object(m.a)(jr,2),an=wr[0],Jr=wr[1],kn=Object(t.useState)(!1),Dn=Object(m.a)(kn,2),Xn=Dn[0],vi=Dn[1],Li=Object(a.a)(Object(a.a)({},hr),{},{visible:an});Object(t.useEffect)(function(){Jr(bn),bn&&Zr&&vi(Ee())},[bn,Zr]);var ji=Xn?t.createElement(Bt,Object(E.a)({},Li,{mobile:Zr,ref:Qr})):t.createElement(nt,Object(E.a)({},Li,{ref:Qr}));return t.createElement("div",null,t.createElement(Ti,Li),ji)});nr.displayName="Popup";var Ur=nr,Lr=t.createContext(null),Vr=Lr;function sr(){}function Bn(){return""}function Er(Nr){return Nr?Nr.ownerDocument:window.document}var gn=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function rn(Nr){var Qr=function(bn){Object(H.a)(hr,bn);var Zr=Object(B.a)(hr);function hr(jr){var wr;Object(O.a)(this,hr),wr=Zr.call(this,jr),wr.popupRef=t.createRef(),wr.triggerRef=t.createRef(),wr.attachId=void 0,wr.clickOutsideHandler=void 0,wr.touchOutsideHandler=void 0,wr.contextMenuOutsideHandler1=void 0,wr.contextMenuOutsideHandler2=void 0,wr.mouseDownTimeout=void 0,wr.focusTime=void 0,wr.preClickTime=void 0,wr.preTouchTime=void 0,wr.delayTimer=void 0,wr.hasPopupMouseDown=void 0,wr.onMouseEnter=function(Jr){var kn=wr.props.mouseEnterDelay;wr.fireEvents("onMouseEnter",Jr),wr.delaySetPopupVisible(!0,kn,kn?null:Jr)},wr.onMouseMove=function(Jr){wr.fireEvents("onMouseMove",Jr),wr.setPoint(Jr)},wr.onMouseLeave=function(Jr){wr.fireEvents("onMouseLeave",Jr),wr.delaySetPopupVisible(!1,wr.props.mouseLeaveDelay)},wr.onPopupMouseEnter=function(){wr.clearDelayTimer()},wr.onPopupMouseLeave=function(Jr){var kn;if(Jr.relatedTarget&&!Jr.relatedTarget.setTimeout&&Object(Nt.a)((kn=wr.popupRef.current)===null||kn===void 0?void 0:kn.getElement(),Jr.relatedTarget))return;wr.delaySetPopupVisible(!1,wr.props.mouseLeaveDelay)},wr.onFocus=function(Jr){wr.fireEvents("onFocus",Jr),wr.clearDelayTimer(),wr.isFocusToShow()&&(wr.focusTime=Date.now(),wr.delaySetPopupVisible(!0,wr.props.focusDelay))},wr.onMouseDown=function(Jr){wr.fireEvents("onMouseDown",Jr),wr.preClickTime=Date.now()},wr.onTouchStart=function(Jr){wr.fireEvents("onTouchStart",Jr),wr.preTouchTime=Date.now()},wr.onBlur=function(Jr){wr.fireEvents("onBlur",Jr),wr.clearDelayTimer(),wr.isBlurToHide()&&wr.delaySetPopupVisible(!1,wr.props.blurDelay)},wr.onContextMenu=function(Jr){Jr.preventDefault(),wr.fireEvents("onContextMenu",Jr),wr.setPopupVisible(!0,Jr)},wr.onContextMenuClose=function(){wr.isContextMenuToShow()&&wr.close()},wr.onClick=function(Jr){if(wr.fireEvents("onClick",Jr),wr.focusTime){var kn;if(wr.preClickTime&&wr.preTouchTime?kn=Math.min(wr.preClickTime,wr.preTouchTime):wr.preClickTime?kn=wr.preClickTime:wr.preTouchTime&&(kn=wr.preTouchTime),Math.abs(kn-wr.focusTime)<20)return;wr.focusTime=0}wr.preClickTime=0,wr.preTouchTime=0,wr.isClickToShow()&&(wr.isClickToHide()||wr.isBlurToHide())&&Jr&&Jr.preventDefault&&Jr.preventDefault();var Dn=!wr.state.popupVisible;(wr.isClickToHide()&&!Dn||Dn&&wr.isClickToShow())&&wr.setPopupVisible(!wr.state.popupVisible,Jr)},wr.onPopupMouseDown=function(){if(wr.hasPopupMouseDown=!0,clearTimeout(wr.mouseDownTimeout),wr.mouseDownTimeout=window.setTimeout(function(){wr.hasPopupMouseDown=!1},0),wr.context){var Jr;(Jr=wr.context).onPopupMouseDown.apply(Jr,arguments)}},wr.onDocumentClick=function(Jr){if(wr.props.mask&&!wr.props.maskClosable)return;var kn=Jr.target,Dn=wr.getRootDomNode(),Xn=wr.getPopupDomNode();(!Object(Nt.a)(Dn,kn)||wr.isContextMenuOnly())&&!Object(Nt.a)(Xn,kn)&&!wr.hasPopupMouseDown&&wr.close()},wr.getRootDomNode=function(){var Jr=wr.props.getTriggerDOMNode;if(Jr)return Jr(wr.triggerRef.current);try{var kn=Object(ut.a)(wr.triggerRef.current);if(kn)return kn}catch(Dn){}return pt.a.findDOMNode(Object(F.a)(wr))},wr.getPopupClassNameFromAlign=function(Jr){var kn=[],Dn=wr.props,Xn=Dn.popupPlacement,vi=Dn.builtinPlacements,Li=Dn.prefixCls,ji=Dn.alignPoint,Sa=Dn.getPopupClassNameFromAlign;return Xn&&vi&&kn.push(ht(vi,Li,Jr,ji)),Sa&&kn.push(Sa(Jr)),kn.join(" ")},wr.getComponent=function(){var Jr=wr.props,kn=Jr.prefixCls,Dn=Jr.destroyPopupOnHide,Xn=Jr.popupClassName,vi=Jr.onPopupAlign,Li=Jr.popupMotion,ji=Jr.popupAnimation,Sa=Jr.popupTransitionName,Ga=Jr.popupStyle,Ya=Jr.mask,bo=Jr.maskAnimation,vo=Jr.maskTransitionName,po=Jr.maskMotion,Ha=Jr.zIndex,Oa=Jr.popup,ao=Jr.stretch,to=Jr.alignPoint,Po=Jr.mobile,Yo=Jr.forceRender,ro=wr.state,za=ro.popupVisible,Mo=ro.point,Io=wr.getPopupAlign(),ma={};return wr.isMouseEnterToShow()&&(ma.onMouseEnter=wr.onPopupMouseEnter),wr.isMouseLeaveToHide()&&(ma.onMouseLeave=wr.onPopupMouseLeave),ma.onMouseDown=wr.onPopupMouseDown,ma.onTouchStart=wr.onPopupMouseDown,t.createElement(Ur,Object(E.a)({prefixCls:kn,destroyPopupOnHide:Dn,visible:za,point:to&&Mo,className:Xn,align:Io,onAlign:vi,animation:ji,getClassNameFromAlign:wr.getPopupClassNameFromAlign},ma,{stretch:ao,getRootDomNode:wr.getRootDomNode,style:Ga,mask:Ya,zIndex:Ha,transitionName:Sa,maskAnimation:bo,maskTransitionName:vo,maskMotion:po,ref:wr.popupRef,motion:Li,mobile:Po,forceRender:Yo}),typeof Oa=="function"?Oa():Oa)},wr.attachParent=function(Jr){Pe.a.cancel(wr.attachId);var kn=wr.props,Dn=kn.getPopupContainer,Xn=kn.getDocument,vi=wr.getRootDomNode(),Li;Dn?(vi||Dn.length===0)&&(Li=Dn(vi)):Li=Xn(wr.getRootDomNode()).body,Li?Li.appendChild(Jr):wr.attachId=Object(Pe.a)(function(){wr.attachParent(Jr)})},wr.getContainer=function(){var Jr=wr.props.getDocument,kn=Jr(wr.getRootDomNode()).createElement("div");return kn.style.position="absolute",kn.style.top="0",kn.style.left="0",kn.style.width="100%",wr.attachParent(kn),kn},wr.setPoint=function(Jr){var kn=wr.props.alignPoint;if(!kn||!Jr)return;wr.setState({point:{pageX:Jr.pageX,pageY:Jr.pageY}})},wr.handlePortalUpdate=function(){wr.state.prevPopupVisible!==wr.state.popupVisible&&wr.props.afterPopupVisibleChange(wr.state.popupVisible)},wr.triggerContextValue={onPopupMouseDown:wr.onPopupMouseDown};var an;return"popupVisible"in jr?an=!!jr.popupVisible:an=!!jr.defaultPopupVisible,wr.state={prevPopupVisible:an,popupVisible:an},gn.forEach(function(Jr){wr["fire".concat(Jr)]=function(kn){wr.fireEvents(Jr,kn)}}),wr}return Object(M.a)(hr,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var wr=this.props,an=this.state;if(an.popupVisible){var Jr;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(Jr=wr.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Object(Ut.a)(Jr,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(Jr=Jr||wr.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Object(Ut.a)(Jr,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(Jr=Jr||wr.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Object(Ut.a)(Jr,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(Ut.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),Pe.a.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var wr;return((wr=this.popupRef.current)===null||wr===void 0?void 0:wr.getElement())||null}},{key:"getPopupAlign",value:function(){var wr=this.props,an=wr.popupPlacement,Jr=wr.popupAlign,kn=wr.builtinPlacements;return an&&kn?or(kn,an,Jr):Jr}},{key:"setPopupVisible",value:function(wr,an){var Jr=this.props.alignPoint,kn=this.state.popupVisible;this.clearDelayTimer(),kn!==wr&&("popupVisible"in this.props||this.setState({popupVisible:wr,prevPopupVisible:kn}),this.props.onPopupVisibleChange(wr)),Jr&&an&&wr&&this.setPoint(an)}},{key:"delaySetPopupVisible",value:function(wr,an,Jr){var kn=this,Dn=an*1e3;if(this.clearDelayTimer(),Dn){var Xn=Jr?{pageX:Jr.pageX,pageY:Jr.pageY}:null;this.delayTimer=window.setTimeout(function(){kn.setPopupVisible(wr,Xn),kn.clearDelayTimer()},Dn)}else this.setPopupVisible(wr,Jr)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(wr){var an=this.props.children.props,Jr=this.props;return an[wr]&&Jr[wr]?this["fire".concat(wr)]:an[wr]||Jr[wr]}},{key:"isClickToShow",value:function(){var wr=this.props,an=wr.action,Jr=wr.showAction;return an.indexOf("click")!==-1||Jr.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var wr=this.props.action;return wr==="contextMenu"||wr.length===1&&wr[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var wr=this.props,an=wr.action,Jr=wr.showAction;return an.indexOf("contextMenu")!==-1||Jr.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var wr=this.props,an=wr.action,Jr=wr.hideAction;return an.indexOf("click")!==-1||Jr.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var wr=this.props,an=wr.action,Jr=wr.showAction;return an.indexOf("hover")!==-1||Jr.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var wr=this.props,an=wr.action,Jr=wr.hideAction;return an.indexOf("hover")!==-1||Jr.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var wr=this.props,an=wr.action,Jr=wr.showAction;return an.indexOf("focus")!==-1||Jr.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var wr=this.props,an=wr.action,Jr=wr.hideAction;return an.indexOf("focus")!==-1||Jr.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var wr;(wr=this.popupRef.current)===null||wr===void 0||wr.forceAlign()}}},{key:"fireEvents",value:function(wr,an){var Jr=this.props.children.props[wr];Jr&&Jr(an);var kn=this.props[wr];kn&&kn(an)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var wr=this.state.popupVisible,an=this.props,Jr=an.children,kn=an.forceRender,Dn=an.alignPoint,Xn=an.className,vi=an.autoDestroy,Li=t.Children.only(Jr),ji={key:"trigger"};this.isContextMenuToShow()?ji.onContextMenu=this.onContextMenu:ji.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(ji.onClick=this.onClick,ji.onMouseDown=this.onMouseDown,ji.onTouchStart=this.onTouchStart):(ji.onClick=this.createTwoChains("onClick"),ji.onMouseDown=this.createTwoChains("onMouseDown"),ji.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(ji.onMouseEnter=this.onMouseEnter,Dn&&(ji.onMouseMove=this.onMouseMove)):ji.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?ji.onMouseLeave=this.onMouseLeave:ji.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(ji.onFocus=this.onFocus,ji.onBlur=this.onBlur):(ji.onFocus=this.createTwoChains("onFocus"),ji.onBlur=this.createTwoChains("onBlur"));var Sa=s()(Li&&Li.props&&Li.props.className,Xn);Sa&&(ji.className=Sa);var Ga=Object(a.a)({},ji);Object(Ft.c)(Li)&&(Ga.ref=Object(Ft.a)(this.triggerRef,Li.ref));var Ya=t.cloneElement(Li,Ga),bo;return(wr||this.popupRef.current||kn)&&(bo=t.createElement(Nr,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!wr&&vi&&(bo=null),t.createElement(Vr.Provider,{value:this.triggerContextValue},Ya,bo)}}],[{key:"getDerivedStateFromProps",value:function(wr,an){var Jr=wr.popupVisible,kn={};return Jr!==void 0&&an.popupVisible!==Jr&&(kn.popupVisible=Jr,kn.prevPopupVisible=an.popupVisible),kn}}]),hr}(t.Component);return Qr.contextType=Vr,Qr.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Bn,getDocument:Er,onPopupVisibleChange:sr,afterPopupVisibleChange:sr,onPopupAlign:sr,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},Qr}var Br=rn(Kt.a),Vn={adjustX:1,adjustY:1},gi={topLeft:{points:["bl","tl"],overflow:Vn,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Vn,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Vn,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Vn,offset:[4,0]}},Ni={topLeft:{points:["bl","tl"],overflow:Vn,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Vn,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Vn,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Vn,offset:[4,0]}},Wi=gi,zi=0,Yi={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},mi=function(Qr,bn,Zr){var hr=we(bn),jr=Qr.getState();Qr.setState({defaultActiveFirst:Object(a.a)(Object(a.a)({},jr.defaultActiveFirst),{},Object(e.a)({},hr,Zr))})},va=function(Nr){Object(H.a)(bn,Nr);var Qr=Object(B.a)(bn);function bn(Zr){var hr;Object(O.a)(this,bn),hr=Qr.call(this,Zr),hr.onDestroy=function(Dn){hr.props.onDestroy(Dn)},hr.onKeyDown=function(Dn){var Xn=Dn.keyCode,vi=hr.menuInstance,Li=hr.props.store,ji=hr.getVisible();if(Xn===v.a.ENTER)return hr.onTitleClick(Dn),mi(Li,hr.props.eventKey,!0),!0;if(Xn===v.a.RIGHT)return ji?vi.onKeyDown(Dn):(hr.triggerOpenChange(!0),mi(Li,hr.props.eventKey,!0)),!0;if(Xn===v.a.LEFT){var Sa;if(ji)Sa=vi.onKeyDown(Dn);else return;return Sa||(hr.triggerOpenChange(!1),Sa=!0),Sa}return ji&&(Xn===v.a.UP||Xn===v.a.DOWN)?vi.onKeyDown(Dn):void 0},hr.onOpenChange=function(Dn){hr.props.onOpenChange(Dn)},hr.onPopupVisibleChange=function(Dn){hr.triggerOpenChange(Dn,Dn?"mouseenter":"mouseleave")},hr.onMouseEnter=function(Dn){var Xn=hr.props,vi=Xn.eventKey,Li=Xn.onMouseEnter,ji=Xn.store;mi(ji,hr.props.eventKey,!1),Li({key:vi,domEvent:Dn})},hr.onMouseLeave=function(Dn){var Xn=hr.props,vi=Xn.parentMenu,Li=Xn.eventKey,ji=Xn.onMouseLeave;vi.subMenuInstance=Object(F.a)(hr),ji({key:Li,domEvent:Dn})},hr.onTitleMouseEnter=function(Dn){var Xn=hr.props,vi=Xn.eventKey,Li=Xn.onItemHover,ji=Xn.onTitleMouseEnter;Li({key:vi,hover:!0}),ji({key:vi,domEvent:Dn})},hr.onTitleMouseLeave=function(Dn){var Xn=hr.props,vi=Xn.parentMenu,Li=Xn.eventKey,ji=Xn.onItemHover,Sa=Xn.onTitleMouseLeave;vi.subMenuInstance=Object(F.a)(hr),ji({key:Li,hover:!1}),Sa({key:Li,domEvent:Dn})},hr.onTitleClick=function(Dn){var Xn=Object(F.a)(hr),vi=Xn.props;if(vi.onTitleClick({key:vi.eventKey,domEvent:Dn}),vi.triggerSubMenuAction==="hover")return;hr.triggerOpenChange(!hr.getVisible(),"click"),mi(vi.store,hr.props.eventKey,!1)},hr.onSubMenuClick=function(Dn){typeof hr.props.onClick=="function"&&hr.props.onClick(hr.addKeyPath(Dn))},hr.onSelect=function(Dn){hr.props.onSelect(Dn)},hr.onDeselect=function(Dn){hr.props.onDeselect(Dn)},hr.getPrefixCls=function(){return"".concat(hr.props.rootPrefixCls,"-submenu")},hr.getActiveClassName=function(){return"".concat(hr.getPrefixCls(),"-active")},hr.getDisabledClassName=function(){return"".concat(hr.getPrefixCls(),"-disabled")},hr.getSelectedClassName=function(){return"".concat(hr.getPrefixCls(),"-selected")},hr.getOpenClassName=function(){return"".concat(hr.props.rootPrefixCls,"-submenu-open")},hr.getVisible=function(){return hr.state.isOpen},hr.getMode=function(){return hr.state.mode},hr.saveMenuInstance=function(Dn){hr.menuInstance=Dn},hr.addKeyPath=function(Dn){return Object(a.a)(Object(a.a)({},Dn),{},{keyPath:(Dn.keyPath||[]).concat(hr.props.eventKey)})},hr.triggerOpenChange=function(Dn,Xn){var vi=hr.props.eventKey,Li=function(){hr.onOpenChange({key:vi,item:Object(F.a)(hr),trigger:Xn,open:Dn})};Xn==="mouseenter"?hr.mouseenterTimeout=setTimeout(function(){Li()},0):Li()},hr.isChildrenSelected=function(){var Dn={find:!1};return De(hr.props.children,hr.props.selectedKeys,Dn),Dn.find},hr.isInlineMode=function(){return hr.getMode()==="inline"},hr.adjustWidth=function(){if(!hr.subMenuTitle||!hr.menuInstance)return;var Dn=yt.findDOMNode(hr.menuInstance);if(Dn.offsetWidth>=hr.subMenuTitle.offsetWidth)return;Dn.style.minWidth="".concat(hr.subMenuTitle.offsetWidth,"px")},hr.saveSubMenuTitle=function(Dn){hr.subMenuTitle=Dn},hr.getBaseProps=function(){var Dn=Object(F.a)(hr),Xn=Dn.props,vi=hr.getMode();return{mode:vi==="horizontal"?"vertical":vi,visible:hr.getVisible(),level:Xn.level+1,inlineIndent:Xn.inlineIndent,focusable:!1,onClick:hr.onSubMenuClick,onSelect:hr.onSelect,onDeselect:hr.onDeselect,onDestroy:hr.onDestroy,selectedKeys:Xn.selectedKeys,eventKey:"".concat(Xn.eventKey,"-menu-"),openKeys:Xn.openKeys,motion:Xn.motion,onOpenChange:hr.onOpenChange,subMenuOpenDelay:Xn.subMenuOpenDelay,parentMenu:Object(F.a)(hr),subMenuCloseDelay:Xn.subMenuCloseDelay,forceSubMenuRender:Xn.forceSubMenuRender,triggerSubMenuAction:Xn.triggerSubMenuAction,builtinPlacements:Xn.builtinPlacements,defaultActiveFirst:Xn.store.getState().defaultActiveFirst[we(Xn.eventKey)],multiple:Xn.multiple,prefixCls:Xn.rootPrefixCls,id:hr.internalMenuId,manualRef:hr.saveMenuInstance,itemIcon:Xn.itemIcon,expandIcon:Xn.expandIcon,direction:Xn.direction}},hr.getMotion=function(Dn,Xn){var vi=Object(F.a)(hr),Li=vi.haveRendered,ji=hr.props,Sa=ji.motion,Ga=ji.rootPrefixCls,Ya=Object(a.a)(Object(a.a)({},Sa),{},{leavedClassName:"".concat(Ga,"-hidden"),removeOnLeave:!1,motionAppear:Li||!Xn||Dn!=="inline"});return Ya};var jr=Zr.store,wr=Zr.eventKey,an=jr.getState(),Jr=an.defaultActiveFirst;hr.isRootMenu=!1;var kn=!1;return Jr&&(kn=Jr[wr]),mi(jr,wr,kn),hr.state={mode:Zr.mode,isOpen:Zr.isOpen},hr}return Object(M.a)(bn,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var hr=this,jr=this.props,wr=jr.mode,an=jr.parentMenu,Jr=jr.manualRef,kn=jr.isOpen,Dn=function(){hr.setState({mode:wr,isOpen:kn})},Xn=kn!==this.state.isOpen,vi=wr!==this.state.mode;if((vi||Xn)&&(Pe.a.cancel(this.updateStateRaf),vi?this.updateStateRaf=Object(Pe.a)(Dn):Dn()),Jr&&Jr(this),wr!=="horizontal"||!(an==null?void 0:an.isRootMenu)||!kn)return;this.minWidthTimeout=setTimeout(function(){return hr.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var hr=this.props,jr=hr.onDestroy,wr=hr.eventKey;jr&&jr(wr),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout),Pe.a.cancel(this.updateStateRaf)}},{key:"renderPopupMenu",value:function(hr,jr){var wr=this.getBaseProps();return t.createElement(Yn,Object(E.a)({},wr,{id:this.internalMenuId,className:hr,style:jr}),this.props.children)}},{key:"renderChildren",value:function(){var hr=this,jr=this.getBaseProps(),wr=jr.mode,an=jr.visible,Jr=jr.forceSubMenuRender,kn=jr.direction,Dn=this.getMotion(wr,an);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||an||Jr,!this.haveOpened)return t.createElement("div",null);var Xn=s()("".concat(jr.prefixCls,"-sub"),Object(e.a)({},"".concat(jr.prefixCls,"-rtl"),kn==="rtl"));return this.isInlineMode()?t.createElement(Gn,Object(E.a)({visible:jr.visible,forceRender:Jr},Dn),function(vi){var Li=vi.className,ji=vi.style,Sa=s()(Xn,Li);return hr.renderPopupMenu(Sa,ji)}):this.renderPopupMenu(Xn)}},{key:"render",value:function(){var hr,jr,wr,an=Object(a.a)({},this.props),Jr=this.getVisible(),kn=this.getPrefixCls(),Dn=this.isInlineMode(),Xn=this.getMode(),vi=s()(kn,"".concat(kn,"-").concat(Xn),(hr={},Object(e.a)(hr,an.className,!!an.className),Object(e.a)(hr,this.getOpenClassName(),Jr),Object(e.a)(hr,this.getActiveClassName(),an.active||Jr&&!Dn),Object(e.a)(hr,this.getDisabledClassName(),an.disabled),Object(e.a)(hr,this.getSelectedClassName(),this.isChildrenSelected()),hr));this.internalMenuId||(an.eventKey?this.internalMenuId="".concat(an.eventKey,"$Menu"):(zi+=1,this.internalMenuId="$__$".concat(zi,"$Menu")));var Li={},ji={},Sa={};an.disabled||(Li={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},ji={onClick:this.onTitleClick},Sa={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Ga={},Ya=an.direction,bo=Ya==="rtl";Dn&&(bo?Ga.paddingRight=an.inlineIndent*an.level:Ga.paddingLeft=an.inlineIndent*an.level);var vo={};this.getVisible()&&(vo={"aria-owns":this.internalMenuId});var po=null;Xn!=="horizontal"&&(po=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(po=t.createElement(this.props.expandIcon,Object(a.a)({},this.props))));var Ha=t.createElement("div",Object(E.a)({ref:this.saveSubMenuTitle,style:Ga,className:"".concat(kn,"-title"),role:"button"},Sa,ji,{"aria-expanded":Jr},vo,{"aria-haspopup":"true",title:typeof an.title=="string"?an.title:void 0}),an.title,po||t.createElement("i",{className:"".concat(kn,"-arrow")})),Oa=this.renderChildren(),ao=((jr=an.parentMenu)===null||jr===void 0?void 0:jr.isRootMenu)?an.parentMenu.props.getPopupContainer:function(Ro){return Ro.parentNode},to=Yi[Xn],Po=an.popupOffset?{offset:an.popupOffset}:{},Yo=s()((wr={},Object(e.a)(wr,an.popupClassName,an.popupClassName&&!Dn),Object(e.a)(wr,"".concat(kn,"-rtl"),bo),wr)),ro=an.disabled,za=an.triggerSubMenuAction,Mo=an.subMenuOpenDelay,Io=an.forceSubMenuRender,ma=an.subMenuCloseDelay,mo=an.builtinPlacements;Ne.forEach(function(Ro){return delete an[Ro]}),delete an.onClick;var ns=bo?Object(a.a)(Object(a.a)({},Ni),mo):Object(a.a)(Object(a.a)({},gi),mo);delete an.direction;var Zo=this.getBaseProps(),Oo=Dn?null:this.getMotion(Zo.mode,Zo.visible);return t.createElement("li",Object(E.a)({},an,Li,{className:vi,role:"menuitem"}),t.createElement(Br,{prefixCls:kn,popupClassName:s()("".concat(kn,"-popup"),Yo),getPopupContainer:ao,builtinPlacements:ns,popupPlacement:to,popupVisible:Dn?!1:Jr,popupAlign:Po,popup:Dn?null:Oa,action:ro||Dn?[]:[za],mouseEnterDelay:Mo,mouseLeaveDelay:ma,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:Io,popupMotion:Oo},Ha),Dn?Oa:null)}}]),bn}(t.Component);va.defaultProps={onMouseEnter:Y,onMouseLeave:Y,onTitleMouseEnter:Y,onTitleMouseLeave:Y,onTitleClick:Y,manualRef:Y,mode:"vertical",title:""};var zn=Object(X.b)(function(Nr,Qr){var bn=Nr.openKeys,Zr=Nr.activeKey,hr=Nr.selectedKeys,jr=Qr.eventKey,wr=Qr.subMenuKey;return{isOpen:bn.indexOf(jr)>-1,active:Zr[wr]===jr,selectedKeys:hr}})(va);zn.isSubMenu=!0;var fn=zn,$n="menuitem-overflowed",Cn=.5,ki=function(Nr){Object(H.a)(bn,Nr);var Qr=Object(B.a)(bn);function bn(){var Zr;return Object(O.a)(this,bn),Zr=Qr.apply(this,arguments),Zr.resizeObserver=null,Zr.mutationObserver=null,Zr.originalTotalWidth=0,Zr.overflowedItems=[],Zr.menuItemSizes=[],Zr.cancelFrameId=null,Zr.state={lastVisibleIndex:void 0},Zr.childRef=t.createRef(),Zr.getMenuItemNodes=function(){var hr=Zr.props.prefixCls,jr=Zr.childRef.current;return jr?[].slice.call(jr.children).filter(function(wr){return wr.className.split(" ").indexOf("".concat(hr,"-overflowed-submenu"))<0}):[]},Zr.getOverflowedSubMenuItem=function(hr,jr,wr){var an=Zr.props,Jr=an.overflowedIndicator,kn=an.level,Dn=an.mode,Xn=an.prefixCls,vi=an.theme;if(kn!==1||Dn!=="horizontal")return null;var Li=Zr.props.children[0],ji=Li.props,Sa=ji.children,Ga=ji.title,Ya=ji.style,bo=Object(d.a)(ji,["children","title","style"]),vo=Object(a.a)({},Ya),po="".concat(hr,"-overflowed-indicator"),Ha="".concat(hr,"-overflowed-indicator");jr.length===0&&wr!==!0?vo=Object(a.a)(Object(a.a)({},vo),{},{display:"none"}):wr&&(vo=Object(a.a)(Object(a.a)({},vo),{},{visibility:"hidden",position:"absolute"}),po="".concat(po,"-placeholder"),Ha="".concat(Ha,"-placeholder"));var Oa=vi?"".concat(Xn,"-").concat(vi):"",ao={};return Ne.forEach(function(to){bo[to]!==void 0&&(ao[to]=bo[to])}),t.createElement(fn,Object(E.a)({title:Jr,className:"".concat(Xn,"-overflowed-submenu"),popupClassName:Oa},ao,{key:po,eventKey:Ha,disabled:!1,style:vo}),jr)},Zr.setChildrenWidthAndResize=function(){if(Zr.props.mode!=="horizontal")return;var hr=Zr.childRef.current;if(!hr)return;var jr=hr.children;if(!jr||jr.length===0)return;var wr=hr.children[jr.length-1];be(wr,"display","inline-block");var an=Zr.getMenuItemNodes(),Jr=an.filter(function(kn){return kn.className.split(" ").indexOf($n)>=0});Jr.forEach(function(kn){be(kn,"display","inline-block")}),Zr.menuItemSizes=an.map(function(kn){return me(kn,!0)}),Jr.forEach(function(kn){be(kn,"display","none")}),Zr.overflowedIndicatorWidth=me(hr.children[hr.children.length-1],!0),Zr.originalTotalWidth=Zr.menuItemSizes.reduce(function(kn,Dn){return kn+Dn},0),Zr.handleResize(),be(wr,"display","none")},Zr.handleResize=function(){if(Zr.props.mode!=="horizontal")return;var hr=Zr.childRef.current;if(!hr)return;var jr=me(hr);Zr.overflowedItems=[];var wr=0,an;Zr.originalTotalWidth>jr+Cn&&(an=-1,Zr.menuItemSizes.forEach(function(Jr){wr+=Jr,wr+Zr.overflowedIndicatorWidth<=jr&&(an+=1)})),Zr.setState({lastVisibleIndex:an})},Zr}return Object(M.a)(bn,[{key:"componentDidMount",value:function(){var hr=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var jr=this.childRef.current;if(!jr)return;this.resizeObserver=new it.default(function(wr){wr.forEach(function(){var an=hr.cancelFrameId;cancelAnimationFrame(an),hr.cancelFrameId=requestAnimationFrame(hr.setChildrenWidthAndResize)})}),[].slice.call(jr.children).concat(jr).forEach(function(wr){hr.resizeObserver.observe(wr)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){hr.resizeObserver.disconnect(),[].slice.call(jr.children).concat(jr).forEach(function(wr){hr.resizeObserver.observe(wr)}),hr.setChildrenWidthAndResize()}),this.mutationObserver.observe(jr,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(hr){var jr=this,wr=this.state.lastVisibleIndex;return(hr||[]).reduce(function(an,Jr,kn){var Dn=Jr;if(jr.props.mode==="horizontal"){var Xn=jr.getOverflowedSubMenuItem(Jr.props.eventKey,[]);wr!==void 0&&jr.props.className.indexOf("".concat(jr.props.prefixCls,"-root"))!==-1&&(kn>wr&&(Dn=t.cloneElement(Jr,{style:{display:"none"},eventKey:"".concat(Jr.props.eventKey,"-hidden"),className:"".concat($n)})),kn===wr+1&&(jr.overflowedItems=hr.slice(wr+1).map(function(Li){return t.cloneElement(Li,{key:Li.props.eventKey,mode:"vertical-left"})}),Xn=jr.getOverflowedSubMenuItem(Jr.props.eventKey,jr.overflowedItems)));var vi=[].concat(Object(u.a)(an),[Xn,Dn]);return kn===hr.length-1&&vi.push(jr.getOverflowedSubMenuItem(Jr.props.eventKey,[],!0)),vi}return[].concat(Object(u.a)(an),[Dn])},[])}},{key:"render",value:function(){var hr=this.props,jr=hr.visible,wr=hr.prefixCls,an=hr.overflowedIndicator,Jr=hr.mode,kn=hr.level,Dn=hr.tag,Xn=hr.children,vi=hr.theme,Li=Object(d.a)(hr,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),ji=Dn;return t.createElement(ji,Object(E.a)({ref:this.childRef},Li),this.renderChildren(Xn))}}]),bn}(t.Component);ki.defaultProps={tag:"div",className:""};var In=ki;function na(Nr){return Nr.length?Nr.every(function(Qr){return!!Qr.props.disabled}):!0}function Ei(Nr,Qr,bn){var Zr=Nr.getState();Nr.setState({activeKey:Object(a.a)(Object(a.a)({},Zr.activeKey),{},Object(e.a)({},Qr,bn))})}function pi(Nr){return Nr.eventKey||"0-menu-"}function Ri(Nr,Qr){var bn=Qr,Zr=Nr.children,hr=Nr.eventKey;if(bn){var jr;if(pe(Zr,function(wr,an){wr&&wr.props&&!wr.props.disabled&&bn===te(wr,hr,an)&&(jr=!0)}),jr)return bn}return bn=null,Nr.defaultActiveFirst&&pe(Zr,function(wr,an){!bn&&wr&&!wr.props.disabled&&(bn=te(wr,hr,an))}),bn}function Na(Nr){if(!Nr)return;var Qr=this.instanceArray.indexOf(Nr);Qr!==-1?this.instanceArray[Qr]=Nr:this.instanceArray.push(Nr)}var Un=function(Nr){Object(H.a)(bn,Nr);var Qr=Object(B.a)(bn);function bn(Zr){var hr;return Object(O.a)(this,bn),hr=Qr.call(this,Zr),hr.onKeyDown=function(jr,wr){var an=jr.keyCode,Jr;if(hr.getFlatInstanceArray().forEach(function(Dn){Dn&&Dn.props.active&&Dn.onKeyDown&&(Jr=Dn.onKeyDown(jr))}),Jr)return 1;var kn=null;return(an===v.a.UP||an===v.a.DOWN)&&(kn=hr.step(an===v.a.UP?-1:1)),kn?(jr.preventDefault(),Ei(hr.props.store,pi(hr.props),kn.props.eventKey),typeof wr=="function"&&wr(kn),1):void 0},hr.onItemHover=function(jr){var wr=jr.key,an=jr.hover;Ei(hr.props.store,pi(hr.props),an?wr:null)},hr.onDeselect=function(jr){hr.props.onDeselect(jr)},hr.onSelect=function(jr){hr.props.onSelect(jr)},hr.onClick=function(jr){hr.props.onClick(jr)},hr.onOpenChange=function(jr){hr.props.onOpenChange(jr)},hr.onDestroy=function(jr){hr.props.onDestroy(jr)},hr.getFlatInstanceArray=function(){return hr.instanceArray},hr.step=function(jr){var wr=hr.getFlatInstanceArray(),an=hr.props.store.getState().activeKey[pi(hr.props)],Jr=wr.length;if(!Jr)return null;jr<0&&(wr=wr.concat().reverse());var kn=-1;if(wr.every(function(Li,ji){return Li&&Li.props.eventKey===an?(kn=ji,!1):!0}),!hr.props.defaultActiveFirst&&kn!==-1&&na(wr.slice(kn,Jr-1)))return;var Dn=(kn+1)%Jr,Xn=Dn;do{var vi=wr[Xn];if(!vi||vi.props.disabled)Xn=(Xn+1)%Jr;else return vi}while(Xn!==Dn);return null},hr.renderCommonMenuItem=function(jr,wr,an){var Jr=hr.props.store.getState(),kn=Object(F.a)(hr),Dn=kn.props,Xn=te(jr,Dn.eventKey,wr),vi=jr.props;if(!vi||typeof jr.type=="string")return jr;var Li=Xn===Jr.activeKey,ji=Object(a.a)(Object(a.a)({mode:vi.mode||Dn.mode,level:Dn.level,inlineIndent:Dn.inlineIndent,renderMenuItem:hr.renderMenuItem,rootPrefixCls:Dn.prefixCls,index:wr,parentMenu:Dn.parentMenu,manualRef:vi.disabled?void 0:Object(k.a)(jr.ref,Na.bind(Object(F.a)(hr))),eventKey:Xn,active:!vi.disabled&&Li,multiple:Dn.multiple,onClick:function(Ga){(vi.onClick||Y)(Ga),hr.onClick(Ga)},onItemHover:hr.onItemHover,motion:Dn.motion,subMenuOpenDelay:Dn.subMenuOpenDelay,subMenuCloseDelay:Dn.subMenuCloseDelay,forceSubMenuRender:Dn.forceSubMenuRender,onOpenChange:hr.onOpenChange,onDeselect:hr.onDeselect,onSelect:hr.onSelect,builtinPlacements:Dn.builtinPlacements,itemIcon:vi.itemIcon||hr.props.itemIcon,expandIcon:vi.expandIcon||hr.props.expandIcon},an),{},{direction:Dn.direction});return(Dn.mode==="inline"||Re())&&(ji.triggerSubMenuAction="click"),t.cloneElement(jr,Object(a.a)(Object(a.a)({},ji),{},{key:Xn||wr}))},hr.renderMenuItem=function(jr,wr,an){if(!jr)return null;var Jr=hr.props.store.getState(),kn={openKeys:Jr.openKeys,selectedKeys:Jr.selectedKeys,triggerSubMenuAction:hr.props.triggerSubMenuAction,subMenuKey:an};return hr.renderCommonMenuItem(jr,wr,kn)},Zr.store.setState({activeKey:Object(a.a)(Object(a.a)({},Zr.store.getState().activeKey),{},Object(e.a)({},Zr.eventKey,Ri(Zr,Zr.activeKey)))}),hr.instanceArray=[],hr}return Object(M.a)(bn,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(hr){return this.props.visible||hr.visible||this.props.className!==hr.className||!z()(this.props.style,hr.style)}},{key:"componentDidUpdate",value:function(hr){var jr=this.props,wr="activeKey"in jr?jr.activeKey:jr.store.getState().activeKey[pi(jr)],an=Ri(jr,wr);if(an!==wr)Ei(jr.store,pi(jr),an);else if("activeKey"in hr){var Jr=Ri(hr,hr.activeKey);an!==Jr&&Ei(jr.store,pi(jr),an)}}},{key:"render",value:function(){var hr=this,jr=Object(E.a)({},this.props);this.instanceArray=[];var wr=s()(jr.prefixCls,jr.className,"".concat(jr.prefixCls,"-").concat(jr.mode)),an={className:wr,role:jr.role||"menu"};jr.id&&(an.id=jr.id),jr.focusable&&(an.tabIndex=0,an.onKeyDown=this.onKeyDown);var Jr=jr.prefixCls,kn=jr.eventKey,Dn=jr.visible,Xn=jr.level,vi=jr.mode,Li=jr.overflowedIndicator,ji=jr.theme;return Ne.forEach(function(Sa){return delete jr[Sa]}),delete jr.onClick,t.createElement(In,Object(E.a)({},jr,{prefixCls:Jr,mode:vi,tag:"ul",level:Xn,theme:ji,visible:Dn,overflowedIndicator:Li},an),Object(c.a)(jr.children).map(function(Sa,Ga){return hr.renderMenuItem(Sa,Ga,kn||"0-menu-")}))}}]),bn}(t.Component);Un.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:Y};var nn=Object(X.b)()(Un),Yn=nn,bi=l("Kwbf");function Oi(Nr,Qr,bn){var Zr=Nr.prefixCls,hr=Nr.motion,jr=Nr.defaultMotions,wr=jr===void 0?{}:jr,an=Nr.openAnimation,Jr=Nr.openTransitionName,kn=Qr.switchingModeFromInline;if(hr)return hr;if(Object(W.a)(an)==="object"&&an)Object(bi.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof an=="string")return{motionName:"".concat(Zr,"-open-").concat(an)};if(Jr)return{motionName:Jr};var Dn=wr[bn];return Dn||(kn?null:wr.other)}var _i=function(Nr){Object(H.a)(bn,Nr);var Qr=Object(B.a)(bn);function bn(Zr){var hr;Object(O.a)(this,bn),hr=Qr.call(this,Zr),hr.onSelect=function(an){var Jr=Object(F.a)(hr),kn=Jr.props;if(kn.selectable){var Dn=hr.store.getState(),Xn=Dn.selectedKeys,vi=an.key;kn.multiple?Xn=Xn.concat([vi]):Xn=[vi],"selectedKeys"in kn||hr.store.setState({selectedKeys:Xn}),kn.onSelect(Object(a.a)(Object(a.a)({},an),{},{selectedKeys:Xn}))}},hr.onClick=function(an){var Jr=hr.getRealMenuMode(),kn=Object(F.a)(hr),Dn=kn.store,Xn=kn.props.onOpenChange;Jr!=="inline"&&!("openKeys"in hr.props)&&(Dn.setState({openKeys:[]}),Xn([])),hr.props.onClick(an)},hr.onKeyDown=function(an,Jr){hr.innerMenu.getWrappedInstance().onKeyDown(an,Jr)},hr.onOpenChange=function(an){var Jr=Object(F.a)(hr),kn=Jr.props,Dn=hr.store.getState().openKeys.concat(),Xn=!1,vi=function(ji){var Sa=!1;if(ji.open)Sa=Dn.indexOf(ji.key)===-1,Sa&&Dn.push(ji.key);else{var Ga=Dn.indexOf(ji.key);Sa=Ga!==-1,Sa&&Dn.splice(Ga,1)}Xn=Xn||Sa};Array.isArray(an)?an.forEach(vi):vi(an),Xn&&("openKeys"in hr.props||hr.store.setState({openKeys:Dn}),kn.onOpenChange(Dn))},hr.onDeselect=function(an){var Jr=Object(F.a)(hr),kn=Jr.props;if(kn.selectable){var Dn=hr.store.getState().selectedKeys.concat(),Xn=an.key,vi=Dn.indexOf(Xn);vi!==-1&&Dn.splice(vi,1),"selectedKeys"in kn||hr.store.setState({selectedKeys:Dn}),kn.onDeselect(Object(a.a)(Object(a.a)({},an),{},{selectedKeys:Dn}))}},hr.onMouseEnter=function(an){hr.restoreModeVerticalFromInline();var Jr=hr.props.onMouseEnter;Jr&&Jr(an)},hr.onTransitionEnd=function(an){var Jr=an.propertyName==="width"&&an.target===an.currentTarget,kn=an.target.className,Dn=Object.prototype.toString.call(kn)==="[object SVGAnimatedString]"?kn.animVal:kn,Xn=an.propertyName==="font-size"&&Dn.indexOf("anticon")>=0;(Jr||Xn)&&hr.restoreModeVerticalFromInline()},hr.setInnerMenu=function(an){hr.innerMenu=an},hr.isRootMenu=!0;var jr=Zr.defaultSelectedKeys,wr=Zr.defaultOpenKeys;return"selectedKeys"in Zr&&(jr=Zr.selectedKeys||[]),"openKeys"in Zr&&(wr=Zr.openKeys||[]),hr.store=Object(X.c)({selectedKeys:jr,openKeys:wr,activeKey:{"0-menu-":Ri(Zr,Zr.activeKey)}}),hr.state={switchingModeFromInline:!1,prevProps:Zr,inlineOpenKeys:[],store:hr.store},hr}return Object(M.a)(bn,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(hr){var jr=this.props,wr=jr.siderCollapsed,an=jr.inlineCollapsed,Jr=jr.onOpenChange;(!hr.inlineCollapsed&&an||!hr.siderCollapsed&&wr)&&Jr([]),this.updateMiniStore(),this.updateMenuDisplay()}},{key:"updateMenuDisplay",value:function(){var hr=this.props.collapsedWidth,jr=this.store,wr=this.prevOpenKeys,an=this.getInlineCollapsed()&&(hr===0||hr==="0"||hr==="0px");an?(this.prevOpenKeys=jr.getState().openKeys.concat(),this.store.setState({openKeys:[]})):wr&&(this.store.setState({openKeys:wr}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var hr=this.props.mode,jr=this.state.switchingModeFromInline,wr=this.getInlineCollapsed();return jr&&wr?"inline":wr?"vertical":hr}},{key:"getInlineCollapsed",value:function(){var hr=this.props,jr=hr.inlineCollapsed,wr=hr.siderCollapsed;return wr!==void 0?wr:jr}},{key:"restoreModeVerticalFromInline",value:function(){var hr=this.state.switchingModeFromInline;hr&&this.setState({switchingModeFromInline:!1})}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var hr=Object(a.a)({},Object(J.a)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),jr=this.getRealMenuMode();return hr.className+=" ".concat(hr.prefixCls,"-root"),hr.direction==="rtl"&&(hr.className+=" ".concat(hr.prefixCls,"-rtl")),hr=Object(a.a)(Object(a.a)({},hr),{},{mode:jr,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Oi(this.props,this.state,jr)}),delete hr.openAnimation,delete hr.openTransitionName,t.createElement(X.a,{store:this.store},t.createElement(Yn,Object(E.a)({},hr,{ref:this.setInnerMenu}),this.props.children))}}],[{key:"getDerivedStateFromProps",value:function(hr,jr){var wr=jr.prevProps,an=jr.store,Jr=an.getState(),kn={},Dn={prevProps:hr};return wr.mode==="inline"&&hr.mode!=="inline"&&(Dn.switchingModeFromInline=!0),"openKeys"in hr?kn.openKeys=hr.openKeys||[]:((hr.inlineCollapsed&&!wr.inlineCollapsed||hr.siderCollapsed&&!wr.siderCollapsed)&&(Dn.switchingModeFromInline=!0,Dn.inlineOpenKeys=Jr.openKeys,kn.openKeys=[]),(!hr.inlineCollapsed&&wr.inlineCollapsed||!hr.siderCollapsed&&wr.siderCollapsed)&&(kn.openKeys=jr.inlineOpenKeys,Dn.inlineOpenKeys=[])),Object.keys(kn).length&&an.setState(kn),Dn}}]),bn}(t.Component);_i.defaultProps={selectable:!0,onClick:Y,onSelect:Y,onOpenChange:Y,onDeselect:Y,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:t.createElement("span",null,"\xB7\xB7\xB7")};var Zi=_i,qi=function(Nr){Object(H.a)(bn,Nr);var Qr=Object(B.a)(bn);function bn(){var Zr;return Object(O.a)(this,bn),Zr=Qr.apply(this,arguments),Zr.onKeyDown=function(hr){var jr=hr.keyCode;return jr===v.a.ENTER?(Zr.onClick(hr),!0):void 0},Zr.onMouseLeave=function(hr){var jr=Zr.props,wr=jr.eventKey,an=jr.onItemHover,Jr=jr.onMouseLeave;an({key:wr,hover:!1}),Jr({key:wr,domEvent:hr})},Zr.onMouseEnter=function(hr){var jr=Zr.props,wr=jr.eventKey,an=jr.onItemHover,Jr=jr.onMouseEnter;an({key:wr,hover:!0}),Jr({key:wr,domEvent:hr})},Zr.onClick=function(hr){var jr=Zr.props,wr=jr.eventKey,an=jr.multiple,Jr=jr.onClick,kn=jr.onSelect,Dn=jr.onDeselect,Xn=jr.isSelected,vi={key:wr,keyPath:[wr],item:Object(F.a)(Zr),domEvent:hr};Jr(vi),an?Xn?Dn(vi):kn(vi):Xn||kn(vi)},Zr.saveNode=function(hr){Zr.node=hr},Zr}return Object(M.a)(bn,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var hr=this.props;hr.onDestroy&&hr.onDestroy(hr.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var hr,jr=Object(a.a)({},this.props),wr=s()(this.getPrefixCls(),jr.className,(hr={},Object(e.a)(hr,this.getActiveClassName(),!jr.disabled&&jr.active),Object(e.a)(hr,this.getSelectedClassName(),jr.isSelected),Object(e.a)(hr,this.getDisabledClassName(),jr.disabled),hr)),an=Object(a.a)(Object(a.a)({},jr.attribute),{},{title:typeof jr.title=="string"?jr.title:void 0,className:wr,role:jr.role||"menuitem","aria-disabled":jr.disabled});jr.role==="option"?an=Object(a.a)(Object(a.a)({},an),{},{role:"option","aria-selected":jr.isSelected}):(jr.role===null||jr.role==="none")&&(an.role="none");var Jr={onClick:jr.disabled?null:this.onClick,onMouseLeave:jr.disabled?null:this.onMouseLeave,onMouseEnter:jr.disabled?null:this.onMouseEnter},kn=Object(a.a)({},jr.style);jr.mode==="inline"&&(jr.direction==="rtl"?kn.paddingRight=jr.inlineIndent*jr.level:kn.paddingLeft=jr.inlineIndent*jr.level),Ne.forEach(function(Xn){return delete jr[Xn]}),delete jr.direction;var Dn=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Dn=t.createElement(this.props.itemIcon,this.props)),t.createElement("li",Object(E.a)({},Object(J.a)(jr,["onClick","onMouseEnter","onMouseLeave","onSelect"]),an,Jr,{style:kn,ref:this.saveNode}),jr.children,Dn)}}]),bn}(t.Component);qi.isMenuItem=!0,qi.defaultProps={onSelect:Y,onMouseEnter:Y,onMouseLeave:Y,manualRef:Y};var ea=Object(X.b)(function(Nr,Qr){var bn=Nr.activeKey,Zr=Nr.selectedKeys,hr=Qr.eventKey,jr=Qr.subMenuKey;return{active:bn[jr]===hr,isSelected:Array.isArray(Zr)?Zr.indexOf(hr)!==-1:Zr===hr}})(qi),ya=ea,co=function(Nr){Object(H.a)(bn,Nr);var Qr=Object(B.a)(bn);function bn(){var Zr;return Object(O.a)(this,bn),Zr=Qr.apply(this,arguments),Zr.renderInnerMenuItem=function(hr){var jr=Zr.props,wr=jr.renderMenuItem,an=jr.index;return wr(hr,an,Zr.props.subMenuKey)},Zr}return Object(M.a)(bn,[{key:"render",value:function(){var hr=Object(E.a)({},this.props),jr=hr.className,wr=jr===void 0?"":jr,an=hr.rootPrefixCls,Jr="".concat(an,"-item-group-title"),kn="".concat(an,"-item-group-list"),Dn=hr.title,Xn=hr.children;return Ne.forEach(function(vi){return delete hr[vi]}),delete hr.direction,t.createElement("li",Object(E.a)({},hr,{onClick:function(Li){return Li.stopPropagation()},className:"".concat(wr," ").concat(an,"-item-group")}),t.createElement("div",{className:Jr,title:typeof Dn=="string"?Dn:void 0},Dn),t.createElement("ul",{className:kn},t.Children.map(Xn,this.renderInnerMenuItem)))}}]),bn}(t.Component);co.isMenuItemGroup=!0,co.defaultProps={disabled:!0};var io=co,rs=function(Qr){var bn=Qr.className,Zr=Qr.rootPrefixCls,hr=Qr.style;return t.createElement("li",{className:"".concat(bn," ").concat(Zr,"-item-divider"),style:hr})};rs.defaultProps={disabled:!0,className:"",style:{}};var Pi=rs,dn=Zi,ha=l("eDIo");function ba(Nr,Qr){var bn=Nr.prefixCls,Zr=Nr.editable,hr=Nr.locale,jr=Nr.style;return!Zr||Zr.showAdd===!1?null:t.createElement("button",{ref:Qr,type:"button",className:"".concat(bn,"-nav-add"),style:jr,"aria-label":(hr==null?void 0:hr.addAriaLabel)||"Add tab",onClick:function(an){Zr.onEdit("add",{event:an})}},Zr.addIcon||"+")}var ta=t.forwardRef(ba);function so(Nr,Qr){var bn=Nr.prefixCls,Zr=Nr.id,hr=Nr.tabs,jr=Nr.locale,wr=Nr.mobile,an=Nr.moreIcon,Jr=an===void 0?"More":an,kn=Nr.moreTransitionName,Dn=Nr.style,Xn=Nr.className,vi=Nr.editable,Li=Nr.tabBarGutter,ji=Nr.rtl,Sa=Nr.onTabClick,Ga=Object(t.useState)(!1),Ya=Object(m.a)(Ga,2),bo=Ya[0],vo=Ya[1],po=Object(t.useState)(null),Ha=Object(m.a)(po,2),Oa=Ha[0],ao=Ha[1],to="".concat(Zr,"-more-popup"),Po="".concat(bn,"-dropdown"),Yo=Oa!==null?"".concat(to,"-").concat(Oa):null,ro=jr==null?void 0:jr.dropdownAriaLabel,za=t.createElement(dn,{onClick:function(Oo){var Ro=Oo.key,hs=Oo.domEvent;Sa(Ro,hs),vo(!1)},id:to,tabIndex:-1,role:"listbox","aria-activedescendant":Yo,selectedKeys:[Oa],"aria-label":ro!==void 0?ro:"expanded dropdown"},hr.map(function(Zo){return t.createElement(ya,{key:Zo.key,id:"".concat(to,"-").concat(Zo.key),role:"option","aria-controls":Zr&&"".concat(Zr,"-panel-").concat(Zo.key),disabled:Zo.disabled},Zo.tab)}));function Mo(Zo){for(var Oo=hr.filter(function(Es){return!Es.disabled}),Ro=Oo.findIndex(function(Es){return Es.key===Oa})||0,hs=Oo.length,Uo=0;Uomo?(Io=za,to.current="x"):(Io=Mo,to.current="y");var ns=Date.now();ns-Oa.current>100&&(ao.current=!1),(Qr(-Io,-Io)||ao.current)&&(ro.preventDefault(),ao.current=!0),Oa.current=ns}var Yo=Object(t.useRef)(null);Yo.current={onTouchStart:vo,onTouchMove:po,onTouchEnd:Ha,onWheel:Po},t.useEffect(function(){function ro(ma){Yo.current.onTouchStart(ma)}function za(ma){Yo.current.onTouchMove(ma)}function Mo(ma){Yo.current.onTouchEnd(ma)}function Io(ma){Yo.current.onWheel(ma)}return document.addEventListener("touchmove",za,{passive:!1}),document.addEventListener("touchend",Mo,{passive:!1}),Nr.current.addEventListener("touchstart",ro,{passive:!1}),Nr.current.addEventListener("wheel",Io),function(){document.removeEventListener("touchmove",za),document.removeEventListener("touchend",Mo)}},[])}function Gr(){var Nr=Object(t.useRef)(new Map);function Qr(Zr){return Nr.current.has(Zr)||Nr.current.set(Zr,t.createRef()),Nr.current.get(Zr)}function bn(Zr){Nr.current.delete(Zr)}return[Qr,bn]}function $r(Nr,Qr){var bn=t.useRef(Nr),Zr=t.useState({}),hr=Object(m.a)(Zr,2),jr=hr[1];function wr(an){var Jr=typeof an=="function"?an(bn.current):an;Jr!==bn.current&&Qr(Jr,bn.current),bn.current=Jr,jr({})}return[bn.current,wr]}var hn=function(Qr){var bn=Qr.position,Zr=Qr.prefixCls,hr=Qr.extra;if(!hr)return null;var jr,wr=hr;return bn==="right"&&(jr=wr.right||!wr.left&&wr||null),bn==="left"&&(jr=wr.left||null),jr?t.createElement("div",{className:"".concat(Zr,"-extra-content")},jr):null};function On(Nr,Qr){var bn,Zr=t.useContext(pn),hr=Zr.prefixCls,jr=Zr.tabs,wr=Nr.className,an=Nr.style,Jr=Nr.id,kn=Nr.animated,Dn=Nr.activeKey,Xn=Nr.rtl,vi=Nr.extra,Li=Nr.editable,ji=Nr.locale,Sa=Nr.tabPosition,Ga=Nr.tabBarGutter,Ya=Nr.children,bo=Nr.onTabClick,vo=Nr.onTabScroll,po=Object(t.useRef)(),Ha=Object(t.useRef)(),Oa=Object(t.useRef)(),ao=Object(t.useRef)(),to=Gr(),Po=Object(m.a)(to,2),Yo=Po[0],ro=Po[1],za=Sa==="top"||Sa==="bottom",Mo=$r(0,function(Ie,Ye){za&&vo&&vo({direction:Ie>Ye?"left":"right"})}),Io=Object(m.a)(Mo,2),ma=Io[0],mo=Io[1],ns=$r(0,function(Ie,Ye){!za&&vo&&vo({direction:Ie>Ye?"top":"bottom"})}),Zo=Object(m.a)(ns,2),Oo=Zo[0],Ro=Zo[1],hs=Object(t.useState)(0),Uo=Object(m.a)(hs,2),Ja=Uo[0],Es=Uo[1],oo=Object(t.useState)(0),Fs=Object(m.a)(oo,2),qo=Fs[0],Wo=Fs[1],Vo=Object(t.useState)(0),Go=Object(m.a)(Vo,2),os=Go[0],Vs=Go[1],xs=Object(t.useState)(0),Js=Object(m.a)(xs,2),Bs=Js[0],ks=Js[1],Jo=Object(t.useState)(null),bs=Object(m.a)(Jo,2),Ho=bs[0],Ls=bs[1],Ps=Object(t.useState)(null),Ra=Object(m.a)(Ps,2),ho=Ra[0],ll=Ra[1],ml=Object(t.useState)(0),wl=Object(m.a)(ml,2),El=wl[0],Xs=wl[1],Xo=Object(t.useState)(0),gl=Object(m.a)(Xo,2),Vl=gl[0],Us=gl[1],$s=g(new Map),us=Object(m.a)($s,2),_l=us[0],Wc=us[1],fc=_(jr,_l,Ja),Bl="".concat(hr,"-nav-operations-hidden"),oc=0,sc=0;za?Xn?(oc=0,sc=Math.max(0,Ja-Ho)):(oc=Math.min(0,Ho-Ja),sc=0):(oc=Math.min(0,ho-qo),sc=0);function ql(Ie){return Iesc?[sc,!1]:[Ie,!0]}var Al=Object(t.useRef)(),zs=Object(t.useState)(),Ml=Object(m.a)(zs,2),vl=Ml[0],cl=Ml[1];function mn(){cl(Date.now())}function da(){window.clearTimeout(Al.current)}xr(po,function(Ie,Ye){var _t=!1;function Yt(Pr,Yr){Pr(function(yn){var Jn=ql(yn+Yr),Ci=Object(m.a)(Jn,2),Xi=Ci[0],ga=Ci[1];return _t=ga,Xi})}if(za){if(Ho>=Ja)return _t;Yt(mo,Ie)}else{if(ho>=qo)return _t;Yt(Ro,Ye)}return da(),mn(),_t}),Object(t.useEffect)(function(){return da(),vl&&(Al.current=window.setTimeout(function(){cl(0)},100)),da},[vl]);function Oc(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Dn,Ye=fc.get(Ie);if(!Ye)return;if(za){var _t=ma;Xn?Ye.rightma+Ho&&(_t=Ye.right+Ye.width-Ho):Ye.left<-ma?_t=-Ye.left:Ye.left+Ye.width>-ma+Ho&&(_t=-(Ye.left+Ye.width-Ho)),Ro(0),mo(ql(_t)[0])}else{var Yt=Oo;Ye.top<-Oo?Yt=-Ye.top:Ye.top+Ye.height>-Oo+ho&&(Yt=-(Ye.top+Ye.height-ho)),mo(0),Ro(ql(Yt)[0])}}var pc=C(fc,{width:Ho,height:ho,left:ma,top:Oo},{width:os,height:Bs},{width:El,height:Vl},Object(a.a)(Object(a.a)({},Nr),{},{tabs:jr})),xc=Object(m.a)(pc,2),Ss=xc[0],Ws=xc[1],xl=jr.map(function(Ie){var Ye=Ie.key;return t.createElement(w,{id:Jr,prefixCls:hr,key:Ye,rtl:Xn,tab:Ie,closable:Ie.closable,editable:Li,active:Ye===Dn,tabPosition:Sa,tabBarGutter:Ga,renderWrapper:Ya,removeAriaLabel:ji==null?void 0:ji.removeAriaLabel,ref:Yo(Ye),onClick:function(Yt){bo(Ye,Yt)},onRemove:function(){ro(Ye)},onFocus:function(){Oc(Ye),mn(),Xn||(po.current.scrollLeft=0),po.current.scrollTop=0}})}),ul=p(function(){var Ie,Ye,_t,Yt,Pr,Yr,yn,Jn,Ci,Xi=((Ie=po.current)===null||Ie===void 0?void 0:Ie.offsetWidth)||0,ga=((Ye=po.current)===null||Ye===void 0?void 0:Ye.offsetHeight)||0,Wa=((_t=ao.current)===null||_t===void 0?void 0:_t.offsetWidth)||0,go=((Yt=ao.current)===null||Yt===void 0?void 0:Yt.offsetHeight)||0,No=((Pr=Oa.current)===null||Pr===void 0?void 0:Pr.offsetWidth)||0,As=((Yr=Oa.current)===null||Yr===void 0?void 0:Yr.offsetHeight)||0;Ls(Xi),ll(ga),Xs(Wa),Us(go);var ss=(((yn=Ha.current)===null||yn===void 0?void 0:yn.offsetWidth)||0)-Wa,ps=(((Jn=Ha.current)===null||Jn===void 0?void 0:Jn.offsetHeight)||0)-go;Es(ss),Wo(ps);var nl=(Ci=Oa.current)===null||Ci===void 0?void 0:Ci.className.includes(Bl);Vs(ss-(nl?0:No)),ks(ps-(nl?0:As)),Wc(function(){var Ks=new Map;return jr.forEach(function(dl){var ls=dl.key,Ys=Yo(ls).current;Ys&&Ks.set(ls,{width:Ys.offsetWidth,height:Ys.offsetHeight,left:Ys.offsetLeft,top:Ys.offsetTop})}),Ks})}),nc=jr.slice(0,Ss),Xl=jr.slice(Ws+1),Gl=[].concat(Object(u.a)(nc),Object(u.a)(Xl)),Kc=Object(t.useState)(),Hl=Object(m.a)(Kc,2),Mc=Hl[0],Sc=Hl[1],Ts=fc.get(Dn),Sl=Object(t.useRef)();function Rt(){o.a.cancel(Sl.current)}Object(t.useEffect)(function(){var Ie={};return Ts&&(za?(Xn?Ie.right=Ts.right:Ie.left=Ts.left,Ie.width=Ts.width):(Ie.top=Ts.top,Ie.height=Ts.height)),Rt(),Sl.current=o()(function(){Sc(Ie)}),Rt},[Ts,za,Xn]),Object(t.useEffect)(function(){Oc()},[Dn,Ts,fc,za]),Object(t.useEffect)(function(){ul()},[Xn,Ga,Dn,jr.map(function(Ie){return Ie.key}).join("_")]);var qt=!!Gl.length,En="".concat(hr,"-nav-wrap"),ri,Lt,he,Ce;return za?Xn?(Lt=ma>0,ri=ma+Ho0&&arguments[0]!==void 0?arguments[0]:"";return X+=1,"".concat(J).concat(X)}}(),H=function(X){n()(k,X);var J=c()(k);function k(K){var z;e()(this,k),z=J.call(this,K),z.responsiveHandler=function(G){z.setState({below:G.matches});var V=z.props.onBreakpoint,q=z.state.collapsed;V&&V(G.matches),q!==G.matches&&z.setCollapsed(G.matches,"responsive")},z.setCollapsed=function(G,V){"collapsed"in z.props||z.setState({collapsed:G});var q=z.props.onCollapse;q&&q(G,V)},z.toggle=function(){var G=!z.state.collapsed;z.setCollapsed(G,"clickTrigger")},z.renderSider=function(G){var V,q=G.getPrefixCls,re=z.props,ce=re.prefixCls,ie=re.className,fe=re.theme,xe=re.collapsible,Se=re.reverseArrow,ke=re.trigger,ge=re.style,Be=re.width,ee=re.collapsedWidth,ue=re.zeroWidthTriggerStyle,Ge=re.children,ae=E(re,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),Z=z.state,Y=Z.collapsed,te=Z.below,we=q("layout-sider",ce),pe=Object(o.default)(ae,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),De=Y?ee:Be,Ne=C(De)?"".concat(De,"px"):String(De),me=parseFloat(String(ee||0))===0?i.createElement("span",{onClick:z.toggle,className:r()("".concat(we,"-zero-width-trigger"),"".concat(we,"-zero-width-trigger-").concat(Se?"right":"left")),style:ue},ke||i.createElement(p.a,null)):null,be={expanded:Se?i.createElement(v.a,null):i.createElement(w.a,null),collapsed:Se?i.createElement(w.a,null):i.createElement(v.a,null)},Re=Y?"collapsed":"expanded",it=be[Re],yt=ke!==null?me||i.createElement("div",{className:"".concat(we,"-trigger"),onClick:z.toggle,style:{width:Ne}},ke||it):null,pt=f()(f()({},ge),{flex:"0 0 ".concat(Ne),maxWidth:Ne,minWidth:Ne,width:Ne}),Pe=r()(ie,we,"".concat(we,"-").concat(fe),(V={},b()(V,"".concat(we,"-collapsed"),!!Y),b()(V,"".concat(we,"-has-trigger"),xe&&ke!==null&&!me),b()(V,"".concat(we,"-below"),!!te),b()(V,"".concat(we,"-zero-width"),parseFloat(Ne)===0),V));return i.createElement("aside",f()({className:Pe},pe,{style:pt}),i.createElement("div",{className:"".concat(we,"-children")},Ge),xe||te&&me?yt:null)},z.uniqueId=F("ant-sider-");var W;typeof window!="undefined"&&(W=window.matchMedia),W&&K.breakpoint&&K.breakpoint in O&&(z.mql=W("(max-width: ".concat(O[K.breakpoint],")")));var P;return"collapsed"in K?P=K.collapsed:P=K.defaultCollapsed,z.state={collapsed:P,below:!1},z}return d()(k,[{key:"componentDidMount",value:function(){var z;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(z=this.props)===null||z===void 0||z.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var z,W;(z=this===null||this===void 0?void 0:this.mql)===null||z===void 0||z.removeListener(this.responsiveHandler),(W=this.props)===null||W===void 0||W.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var z=this.state.collapsed,W=this.props.collapsedWidth;return i.createElement(M.Provider,{value:{siderCollapsed:z,collapsedWidth:W}},i.createElement(_.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(z){return"collapsed"in z?{collapsed:z.collapsed}:null}}]),k}(i.Component);H.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var B=function(X){n()(k,X);var J=c()(k);function k(){return e()(this,k),J.apply(this,arguments)}return d()(k,[{key:"render",value:function(){var z=this;return i.createElement(S.a.Consumer,null,function(W){return i.createElement(H,f()({},W,z.props))})}}]),k}(i.Component)},ZYIC:function(j,R,l){var x=l("zM3Q"),b={seriesType:"lines",plan:x(),reset:function(A){var f=A.coordinateSystem,t=A.get("polyline"),e=A.pipelineContext.large;function m(d,a){var n=[];if(e){var s,c=d.end-d.start;if(t){for(var i=0,u=d.start;u>1)%2;p.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",u[g]+":0",r[v]+":0",u[1-g]+":auto",r[1-v]+":auto",""].join("!important;"),s.appendChild(h),i.push(h)}return i}function a(s,c,i){for(var u=i?"invTrans":"trans",r=c[u],o=c.srcCoords,h=!0,p=[],g=[],v=0;v<4;v++){var y=s[v].getBoundingClientRect(),w=2*v,S=y.left,_=y.top;p.push(S,_),h=h&&o&&S===o[w]&&_===o[w+1],g.push(s[v].offsetLeft,s[v].offsetTop)}return h&&r?r:(c.srcCoords=p,c[u]=i?A(g,p):A(p,g))}function n(s){return s.nodeName.toUpperCase()==="CANVAS"}R.transformLocalCoord=e,R.transformCoordWithViewport=m,R.isCanvasEl=n},Znkb:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("ProS"),f=l("zTMp"),t=A.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(n,s,c,i){this.axisPointerClass&&f.fixValue(n),t.superApply(this,"render",arguments),e(this,n,s,c,i,!0)},updateAxisPointer:function(n,s,c,i,u){e(this,n,s,c,i,!1)},remove:function(n,s){var c=this._axisPointer;c&&c.remove(s),t.superApply(this,"remove",arguments)},dispose:function(n,s){m(this,s),t.superApply(this,"dispose",arguments)}});function e(n,s,c,i,u,r){var o=t.getAxisPointerClass(n.axisPointerClass);if(!o)return;var h=f.getAxisPointerModel(s);h?(n._axisPointer||(n._axisPointer=new o)).render(s,h,i,r):m(n,i)}function m(n,s,c){var i=n._axisPointer;i&&i.dispose(s,c),n._axisPointer=null}var d=[];t.registerAxisPointerClass=function(n,s){d[n]=s},t.getAxisPointerClass=function(n){return n&&d[n]};var a=t;j.exports=a},"Znn+":function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("9ama"),f=l.n(A)},ZqQs:function(j,R,l){var x=l("bYtY");function b(e){var m=e&&e.timeline;x.isArray(m)||(m=m?[m]:[]),x.each(m,function(d){if(!d)return;A(d)})}function A(e){var m=e.type,d={number:"value",time:"time"};if(d[m]&&(e.axisType=d[m],delete e.type),f(e),t(e,"controlPosition")){var a=e.controlStyle||(e.controlStyle={});t(a,"position")||(a.position=e.controlPosition),a.position==="none"&&!t(a,"show")&&(a.show=!1,delete a.position),delete e.controlPosition}x.each(e.data||[],function(n){x.isObject(n)&&!x.isArray(n)&&(!t(n,"value")&&t(n,"name")&&(n.value=n.name),f(n))})}function f(e){var m=e.itemStyle||(e.itemStyle={}),d=m.emphasis||(m.emphasis={}),a=e.label||e.label||{},n=a.normal||(a.normal={}),s={normal:1,emphasis:1};x.each(a,function(c,i){!s[i]&&!t(n,i)&&(n[i]=c)}),d.label&&!t(a,"emphasis")&&(a.emphasis=d.label,delete d.label)}function t(e,m){return e.hasOwnProperty(m)}j.exports=b},Zss7:function(j,R,l){var x;(function(b){var A=/^\s+/,f=/\s+$/,t=0,e=b.round,m=b.min,d=b.max,a=b.random;function n(ge,Be){if(ge=ge||"",Be=Be||{},ge instanceof n)return ge;if(!(this instanceof n))return new n(ge,Be);var ee=s(ge);this._originalInput=ge,this._r=ee.r,this._g=ee.g,this._b=ee.b,this._a=ee.a,this._roundA=e(100*this._a)/100,this._format=Be.format||ee.format,this._gradientType=Be.gradientType,this._r<1&&(this._r=e(this._r)),this._g<1&&(this._g=e(this._g)),this._b<1&&(this._b=e(this._b)),this._ok=ee.ok,this._tc_id=t++}n.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Be=this.toRgb();return(Be.r*299+Be.g*587+Be.b*114)/1e3},getLuminance:function(){var Be=this.toRgb(),ee,ue,Ge,ae,Z,Y;return ee=Be.r/255,ue=Be.g/255,Ge=Be.b/255,ee<=.03928?ae=ee/12.92:ae=b.pow((ee+.055)/1.055,2.4),ue<=.03928?Z=ue/12.92:Z=b.pow((ue+.055)/1.055,2.4),Ge<=.03928?Y=Ge/12.92:Y=b.pow((Ge+.055)/1.055,2.4),.2126*ae+.7152*Z+.0722*Y},setAlpha:function(Be){return this._a=K(Be),this._roundA=e(100*this._a)/100,this},toHsv:function(){var Be=r(this._r,this._g,this._b);return{h:Be.h*360,s:Be.s,v:Be.v,a:this._a}},toHsvString:function(){var Be=r(this._r,this._g,this._b),ee=e(Be.h*360),ue=e(Be.s*100),Ge=e(Be.v*100);return this._a==1?"hsv("+ee+", "+ue+"%, "+Ge+"%)":"hsva("+ee+", "+ue+"%, "+Ge+"%, "+this._roundA+")"},toHsl:function(){var Be=i(this._r,this._g,this._b);return{h:Be.h*360,s:Be.s,l:Be.l,a:this._a}},toHslString:function(){var Be=i(this._r,this._g,this._b),ee=e(Be.h*360),ue=e(Be.s*100),Ge=e(Be.l*100);return this._a==1?"hsl("+ee+", "+ue+"%, "+Ge+"%)":"hsla("+ee+", "+ue+"%, "+Ge+"%, "+this._roundA+")"},toHex:function(Be){return h(this._r,this._g,this._b,Be)},toHexString:function(Be){return"#"+this.toHex(Be)},toHex8:function(Be){return p(this._r,this._g,this._b,this._a,Be)},toHex8String:function(Be){return"#"+this.toHex8(Be)},toRgb:function(){return{r:e(this._r),g:e(this._g),b:e(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+e(this._r)+", "+e(this._g)+", "+e(this._b)+")":"rgba("+e(this._r)+", "+e(this._g)+", "+e(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:e(z(this._r,255)*100)+"%",g:e(z(this._g,255)*100)+"%",b:e(z(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+e(z(this._r,255)*100)+"%, "+e(z(this._g,255)*100)+"%, "+e(z(this._b,255)*100)+"%)":"rgba("+e(z(this._r,255)*100)+"%, "+e(z(this._g,255)*100)+"%, "+e(z(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:J[h(this._r,this._g,this._b,!0)]||!1},toFilter:function(Be){var ee="#"+g(this._r,this._g,this._b,this._a),ue=ee,Ge=this._gradientType?"GradientType = 1, ":"";if(Be){var ae=n(Be);ue="#"+g(ae._r,ae._g,ae._b,ae._a)}return"progid:DXImageTransform.Microsoft.gradient("+Ge+"startColorstr="+ee+",endColorstr="+ue+")"},toString:function(Be){var ee=!!Be;Be=Be||this._format;var ue=!1,Ge=this._a<1&&this._a>=0,ae=!ee&&Ge&&(Be==="hex"||Be==="hex6"||Be==="hex3"||Be==="hex4"||Be==="hex8"||Be==="name");return ae?Be==="name"&&this._a===0?this.toName():this.toRgbString():(Be==="rgb"&&(ue=this.toRgbString()),Be==="prgb"&&(ue=this.toPercentageRgbString()),(Be==="hex"||Be==="hex6")&&(ue=this.toHexString()),Be==="hex3"&&(ue=this.toHexString(!0)),Be==="hex4"&&(ue=this.toHex8String(!0)),Be==="hex8"&&(ue=this.toHex8String()),Be==="name"&&(ue=this.toName()),Be==="hsl"&&(ue=this.toHslString()),Be==="hsv"&&(ue=this.toHsvString()),ue||this.toHexString())},clone:function(){return n(this.toString())},_applyModification:function(Be,ee){var ue=Be.apply(null,[this].concat([].slice.call(ee)));return this._r=ue._r,this._g=ue._g,this._b=ue._b,this.setAlpha(ue._a),this},lighten:function(){return this._applyModification(S,arguments)},brighten:function(){return this._applyModification(_,arguments)},darken:function(){return this._applyModification(I,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(w,arguments)},spin:function(){return this._applyModification(C,arguments)},_applyCombination:function(Be,ee){return Be.apply(null,[this].concat([].slice.call(ee)))},analogous:function(){return this._applyCombination(H,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(B,arguments)},splitcomplement:function(){return this._applyCombination(F,arguments)},triad:function(){return this._applyCombination(O,arguments)},tetrad:function(){return this._applyCombination(M,arguments)}},n.fromRatio=function(ge,Be){if(typeof ge=="object"){var ee={};for(var ue in ge)ge.hasOwnProperty(ue)&&(ue==="a"?ee[ue]=ge[ue]:ee[ue]=re(ge[ue]));ge=ee}return n(ge,Be)};function s(ge){var Be={r:0,g:0,b:0},ee=1,ue=null,Ge=null,ae=null,Z=!1,Y=!1;return typeof ge=="string"&&(ge=Se(ge)),typeof ge=="object"&&(xe(ge.r)&&xe(ge.g)&&xe(ge.b)?(Be=c(ge.r,ge.g,ge.b),Z=!0,Y=String(ge.r).substr(-1)==="%"?"prgb":"rgb"):xe(ge.h)&&xe(ge.s)&&xe(ge.v)?(ue=re(ge.s),Ge=re(ge.v),Be=o(ge.h,ue,Ge),Z=!0,Y="hsv"):xe(ge.h)&&xe(ge.s)&&xe(ge.l)&&(ue=re(ge.s),ae=re(ge.l),Be=u(ge.h,ue,ae),Z=!0,Y="hsl"),ge.hasOwnProperty("a")&&(ee=ge.a)),ee=K(ee),{ok:Z,format:ge.format||Y,r:m(255,d(Be.r,0)),g:m(255,d(Be.g,0)),b:m(255,d(Be.b,0)),a:ee}}function c(ge,Be,ee){return{r:z(ge,255)*255,g:z(Be,255)*255,b:z(ee,255)*255}}function i(ge,Be,ee){ge=z(ge,255),Be=z(Be,255),ee=z(ee,255);var ue=d(ge,Be,ee),Ge=m(ge,Be,ee),ae,Z,Y=(ue+Ge)/2;if(ue==Ge)ae=Z=0;else{var te=ue-Ge;Z=Y>.5?te/(2-ue-Ge):te/(ue+Ge);switch(ue){case ge:ae=(Be-ee)/te+(Be1&&(De-=1),De<1/6?we+(pe-we)*6*De:De<1/2?pe:De<2/3?we+(pe-we)*(2/3-De)*6:we}if(Be===0)ue=Ge=ae=ee;else{var Y=ee<.5?ee*(1+Be):ee+Be-ee*Be,te=2*ee-Y;ue=Z(te,Y,ge+1/3),Ge=Z(te,Y,ge),ae=Z(te,Y,ge-1/3)}return{r:ue*255,g:Ge*255,b:ae*255}}function r(ge,Be,ee){ge=z(ge,255),Be=z(Be,255),ee=z(ee,255);var ue=d(ge,Be,ee),Ge=m(ge,Be,ee),ae,Z,Y=ue,te=ue-Ge;if(Z=ue===0?0:te/ue,ue==Ge)ae=0;else{switch(ue){case ge:ae=(Be-ee)/te+(Be>1)+720)%360;--Be;)ue.h=(ue.h+Ge)%360,ae.push(n(ue));return ae}function B(ge,Be){Be=Be||6;for(var ee=n(ge).toHsv(),ue=ee.h,Ge=ee.s,ae=ee.v,Z=[],Y=1/Be;Be--;)Z.push(n({h:ue,s:Ge,v:ae})),ae=(ae+Y)%1;return Z}n.mix=function(ge,Be,ee){ee=ee===0?0:ee||50;var ue=n(ge).toRgb(),Ge=n(Be).toRgb(),ae=ee/100,Z={r:(Ge.r-ue.r)*ae+ue.r,g:(Ge.g-ue.g)*ae+ue.g,b:(Ge.b-ue.b)*ae+ue.b,a:(Ge.a-ue.a)*ae+ue.a};return n(Z)},n.readability=function(ge,Be){var ee=n(ge),ue=n(Be);return(b.max(ee.getLuminance(),ue.getLuminance())+.05)/(b.min(ee.getLuminance(),ue.getLuminance())+.05)},n.isReadable=function(ge,Be,ee){var ue=n.readability(ge,Be),Ge,ae;ae=!1,Ge=ke(ee);switch(Ge.level+Ge.size){case"AAsmall":case"AAAlarge":ae=ue>=4.5;break;case"AAlarge":ae=ue>=3;break;case"AAAsmall":ae=ue>=7;break}return ae},n.mostReadable=function(ge,Be,ee){var ue=null,Ge=0,ae,Z,Y,te;ee=ee||{},Z=ee.includeFallbackColors,Y=ee.level,te=ee.size;for(var we=0;weGe&&(Ge=ae,ue=n(Be[we]));return n.isReadable(ge,ue,{level:Y,size:te})||!Z?ue:(ee.includeFallbackColors=!1,n.mostReadable(ge,["#fff","#000"],ee))};var X=n.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},J=n.hexNames=k(X);function k(ge){var Be={};for(var ee in ge)ge.hasOwnProperty(ee)&&(Be[ge[ee]]=ee);return Be}function K(ge){return ge=parseFloat(ge),(isNaN(ge)||ge<0||ge>1)&&(ge=1),ge}function z(ge,Be){G(ge)&&(ge="100%");var ee=V(ge);return ge=m(Be,d(0,parseFloat(ge))),ee&&(ge=parseInt(ge*Be,10)/100),b.abs(ge-Be)<1e-6?1:ge%Be/parseFloat(Be)}function W(ge){return m(1,d(0,ge))}function P(ge){return parseInt(ge,16)}function G(ge){return typeof ge=="string"&&ge.indexOf(".")!=-1&&parseFloat(ge)===1}function V(ge){return typeof ge=="string"&&ge.indexOf("%")!=-1}function q(ge){return ge.length==1?"0"+ge:""+ge}function re(ge){return ge<=1&&(ge=ge*100+"%"),ge}function ce(ge){return b.round(parseFloat(ge)*255).toString(16)}function ie(ge){return P(ge)/255}var fe=function(){var ge="[-\\+]?\\d+%?",Be="[-\\+]?\\d*\\.\\d+%?",ee="(?:"+Be+")|(?:"+ge+")",ue="[\\s|\\(]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")\\s*\\)?",Ge="[\\s|\\(]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")\\s*\\)?";return{CSS_UNIT:new RegExp(ee),rgb:new RegExp("rgb"+ue),rgba:new RegExp("rgba"+Ge),hsl:new RegExp("hsl"+ue),hsla:new RegExp("hsla"+Ge),hsv:new RegExp("hsv"+ue),hsva:new RegExp("hsva"+Ge),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function xe(ge){return!!fe.CSS_UNIT.exec(ge)}function Se(ge){ge=ge.replace(A,"").replace(f,"").toLowerCase();var Be=!1;if(X[ge])ge=X[ge],Be=!0;else if(ge=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var ee;return(ee=fe.rgb.exec(ge))?{r:ee[1],g:ee[2],b:ee[3]}:(ee=fe.rgba.exec(ge))?{r:ee[1],g:ee[2],b:ee[3],a:ee[4]}:(ee=fe.hsl.exec(ge))?{h:ee[1],s:ee[2],l:ee[3]}:(ee=fe.hsla.exec(ge))?{h:ee[1],s:ee[2],l:ee[3],a:ee[4]}:(ee=fe.hsv.exec(ge))?{h:ee[1],s:ee[2],v:ee[3]}:(ee=fe.hsva.exec(ge))?{h:ee[1],s:ee[2],v:ee[3],a:ee[4]}:(ee=fe.hex8.exec(ge))?{r:P(ee[1]),g:P(ee[2]),b:P(ee[3]),a:ie(ee[4]),format:Be?"name":"hex8"}:(ee=fe.hex6.exec(ge))?{r:P(ee[1]),g:P(ee[2]),b:P(ee[3]),format:Be?"name":"hex"}:(ee=fe.hex4.exec(ge))?{r:P(ee[1]+""+ee[1]),g:P(ee[2]+""+ee[2]),b:P(ee[3]+""+ee[3]),a:ie(ee[4]+""+ee[4]),format:Be?"name":"hex8"}:(ee=fe.hex3.exec(ge))?{r:P(ee[1]+""+ee[1]),g:P(ee[2]+""+ee[2]),b:P(ee[3]+""+ee[3]),format:Be?"name":"hex"}:!1}function ke(ge){var Be,ee;return ge=ge||{level:"AA",size:"small"},Be=(ge.level||"AA").toUpperCase(),ee=(ge.size||"small").toLowerCase(),Be!=="AA"&&Be!=="AAA"&&(Be="AA"),ee!=="small"&&ee!=="large"&&(ee="small"),{level:Be,size:ee}}j.exports?j.exports=n:!(x=function(){return n}.call(R,l,R,j),x!==void 0&&(j.exports=x))})(Math)},Zvw2:function(j,R,l){var x=l("bYtY"),b=l("hM6l"),A=function(t,e,m,d,a){b.call(this,t,e,m),this.type=d||"value",this.position=a||"bottom",this.orient=null};A.prototype={constructor:A,model:null,isHorizontal:function(){var t=this.position;return t==="top"||t==="bottom"},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},x.inherits(A,b);var f=A;j.exports=f},a7Wl:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};R.default=x},a9QJ:function(j,R){var l={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function x(b,A){if(b==="world"){var f=l[A.name];if(f){var t=A.center;t[0]=f[0],t[1]=f[1]}}}j.exports=x},aHsQ:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("6D9b"),f=l.n(A)},aKvl:function(j,R,l){var x=l("Sj9i"),b=x.quadraticProjectPoint;function A(f,t,e,m,d,a,n,s,c){if(n===0)return!1;var i=n;if(c>t+i&&c>m+i&&c>a+i||cf+i&&s>e+i&&s>d+i||s0&&O>0&&!X&&(E=0),E<0&&O<0&&!J&&(O=0));var k=I.ecModel;if(k&&C==="time"){var W=a("bar",k),z;if(A.each(W,function(G){z|=G.getBaseAxis()===I.axis}),z){var K=n(W),P=u(E,O,I,K);E=P.min,O=P.max}}return{extent:[E,O],fixMin:X,fixMax:J}}function u(_,I,C,E){var O=C.axis.getExtent(),M=O[1]-O[0],F=s(E,C.axis);if(F===void 0)return{min:_,max:I};var H=Infinity;A.each(F,function(z){H=Math.min(z.offset,H)});var B=-Infinity;A.each(F,function(z){B=Math.max(z.offset+z.width,B)}),H=Math.abs(H),B=Math.abs(B);var X=H+B,J=I-_,k=1-(H+B)/M,W=J/k-J;return I+=W*(B/X),_-=W*(H/X),{min:_,max:I}}function r(_,I){var C=i(_,I),E=C.extent,O=I.get("splitNumber");_.type==="log"&&(_.base=I.get("logBase"));var M=_.type;_.setExtent(E[0],E[1]),_.niceExtent({splitNumber:O,fixMin:C.fixMin,fixMax:C.fixMax,minInterval:M==="interval"||M==="time"?I.get("minInterval"):null,maxInterval:M==="interval"||M==="time"?I.get("maxInterval"):null});var F=I.get("interval");F!=null&&(_.setInterval&&_.setInterval(F))}function o(_,I){if(I=I||_.get("type"),I)switch(I){case"category":return new f(_.getOrdinalMeta?_.getOrdinalMeta():_.getCategories(),[Infinity,-Infinity]);case"value":return new t;default:return(e.getClass(I)||t).create(_)}}function h(_){var I=_.scale.getExtent(),C=I[0],E=I[1];return!(C>0&&E>0||C<0&&E<0)}function p(_){var I=_.getLabelModel().get("formatter"),C=_.type==="category"?_.scale.getExtent()[0]:null;return typeof I=="string"?(I=function(E){return function(O){return O=_.scale.getLabel(O),E.replace("{value}",O!=null?O:"")}}(I),I):typeof I=="function"?function(E,O){return C!=null&&(O=E-C),I(g(_,E),O)}:function(E){return _.scale.getLabel(E)}}function g(_,I){return _.type==="category"?_.scale.getLabel(I):I}function v(_){var I=_.model,C=_.scale;if(!I.get("axisLabel.show")||C.isBlank())return;var E=_.type==="category",O,M,F=C.getExtent();E?M=C.count():(O=C.getTicks(),M=O.length);var H=_.getLabelModel(),B=p(_),X,J=1;M>40&&(J=Math.ceil(M/40));for(var k=0;kP.blockIndex,q=V?P.step:null,re=G&&G.modDataCount,ce=re!=null?Math.ceil(re/q):null;return{step:q,modBy:ce,modDataCount:re}},o.getPipeline=function(z){return this._pipelineMap.get(z)},o.updateStreamModes=function(z,K){var P=this._pipelineMap.get(z.uid),G=z.getData(),V=G.count(),q=P.progressiveEnabled&&K.incrementalPrepareRender&&V>=P.threshold,re=z.get("large")&&V>=z.get("largeThreshold"),ce=z.get("progressiveChunkMode")==="mod"?V:null;z.pipelineContext=P.context={progressiveRender:q,modDataCount:ce,large:re}},o.restorePipelines=function(z){var K=this,P=K._pipelineMap=t();z.eachSeries(function(G){var V=G.getProgressive(),q=G.uid;P.set(q,{id:q,head:null,tail:null,threshold:G.getProgressiveThreshold(),progressiveEnabled:V&&!(G.preventIncremental&&G.preventIncremental()),blockIndex:-1,step:Math.round(V||700),count:0}),F(K,G,G.dataTask)})},o.prepareStageTasks=function(){var z=this._stageTaskMap,K=this.ecInstance.getModel(),P=this.api;b(this._allHandlers,function(G){var V=z.get(G.uid)||z.set(G.uid,[]);G.reset&&g(this,G,V,K,P),G.overallReset&&v(this,G,V,K,P)},this)},o.prepareView=function(z,K,P,G){var V=z.renderTask,q=V.context;q.model=K,q.ecModel=P,q.api=G,V.__block=!z.incrementalPrepareRender,F(this,K,V)},o.performDataProcessorTasks=function(z,K){h(this,this._dataProcessorHandlers,z,K,{block:!0})},o.performVisualTasks=function(z,K,P){h(this,this._visualHandlers,z,K,P)};function h(z,K,P,G,V){V=V||{};var q;b(K,function(ce,ie){if(V.visualType&&V.visualType!==ce.visualType)return;var fe=z._stageTaskMap.get(ce.uid),xe=fe.seriesTaskMap,Se=fe.overallTask;if(Se){var ke,ge=Se.agentStubMap;ge.each(function(ee){re(V,ee)&&(ee.dirty(),ke=!0)}),ke&&Se.dirty(),p(Se,G);var Be=z.getPerformArgs(Se,V.block);ge.each(function(ee){ee.perform(Be)}),q|=Se.perform(Be)}else xe&&xe.each(function(ee,ue){re(V,ee)&&ee.dirty();var Ge=z.getPerformArgs(ee,V.block);Ge.skip=!ce.performRawSeries&&P.isSeriesFiltered(ee.context.model),p(ee,G),q|=ee.perform(Ge)})});function re(ce,ie){return ce.setDirty&&(!ce.dirtyMap||ce.dirtyMap.get(ie.__pipeline.id))}z.unfinished|=q}o.performSeriesTasks=function(z){var K;z.eachSeries(function(P){K|=P.dataTask.perform()}),this.unfinished|=K},o.plan=function(){this._pipelineMap.each(function(z){var K=z.tail;do{if(K.__block){z.blockIndex=K.__idxInPipeline;break}K=K.getUpstream()}while(K)})};var p=o.updatePayload=function(z,K){K!=="remain"&&(z.context.payload=K)};function g(z,K,P,G,V){var q=P.seriesTaskMap||(P.seriesTaskMap=t()),re=K.seriesType,ce=K.getTargetSeries;K.createOnAllSeries?G.eachRawSeries(ie):re?G.eachRawSeriesByType(re,ie):ce&&ce(G,V).each(ie);function ie(xe){var Se=xe.uid,ke=q.get(Se)||q.set(Se,d({plan:I,reset:C,count:M}));ke.context={model:xe,ecModel:G,api:V,useClearVisual:K.isVisual&&!K.isLayout,plan:K.plan,reset:K.reset,scheduler:z},F(z,xe,ke)}var fe=z._pipelineMap;q.each(function(xe,Se){fe.get(Se)||(xe.dispose(),q.removeKey(Se))})}function v(z,K,P,G,V){var q=P.overallTask=P.overallTask||d({reset:y});q.context={ecModel:G,api:V,overallReset:K.overallReset,scheduler:z};var re=q.agentStubMap=q.agentStubMap||t(),ce=K.seriesType,ie=K.getTargetSeries,fe=!0,xe=K.modifyOutputEnd;ce?G.eachRawSeriesByType(ce,Se):ie?ie(G,V).each(Se):(fe=!1,b(G.getSeries(),Se));function Se(ge){var Be=ge.uid,ee=re.get(Be);ee||(ee=re.set(Be,d({reset:w,onDirty:_})),q.dirty()),ee.context={model:ge,overallProgress:fe,modifyOutputEnd:xe},ee.agent=q,ee.__block=fe,F(z,ge,ee)}var ke=z._pipelineMap;re.each(function(ge,Be){ke.get(Be)||(ge.dispose(),q.dirty(),re.removeKey(Be))})}function y(z){z.overallReset(z.ecModel,z.api,z.payload)}function w(z,K){return z.overallProgress&&S}function S(){this.agent.dirty(),this.getDownstream().dirty()}function _(){this.agent&&this.agent.dirty()}function I(z){return z.plan&&z.plan(z.model,z.ecModel,z.api,z.payload)}function C(z){z.useClearVisual&&z.data.clearAllVisual();var K=z.resetDefines=u(z.reset(z.model,z.ecModel,z.api,z.payload));return K.length>1?A(K,function(P,G){return O(G)}):E}var E=O(0);function O(z){return function(K,P){var G=P.data,V=P.resetDefines[z];if(V&&V.dataEach)for(var q=K.start;q=0&&!(s[u]<=a);u--);u=Math.min(u,c-2)}else{for(var u=i;ua);u++);u=Math.min(u-1,c-2)}f.lerp(d.position,n[u],n[u+1],(a-s[u])/(s[u+1]-s[u]));var o=n[u+1][0]-n[u][0],h=n[u+1][1]-n[u][1];d.rotation=-Math.atan2(h,o)-Math.PI/2,this._lastFrame=u,this._lastFramePercent=a,d.ignore=!1},b.inherits(t,A);var m=t;j.exports=m},apAg:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("bsht")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="SearchOutlined";var d=f.forwardRef(m);R.default=d},as94:function(j,R,l){var x=l("7aKB"),b=l("3LNs"),A=l("IwbS"),f=l("/y7N"),t=l("Fofx"),e=l("+rIm"),m=l("Znkb"),d=b.extend({makeElOption:function(c,i,u,r,o){var h=u.axis;h.dim==="angle"&&(this.animationThreshold=Math.PI/18);var p=h.polar,g=p.getOtherAxis(h),v=g.getExtent(),y;y=h["dataTo"+x.capitalFirst(h.dim)](i);var w=r.get("type");if(w&&w!=="none"){var S=f.buildElStyle(r),_=n[w](h,p,y,v,S);_.style=S,c.graphicKey=_.type,c.pointer=_}var I=r.get("label.margin"),C=a(i,u,r,p,I);f.buildLabelElOption(c,u,r,o,C)}});function a(c,i,u,r,o){var h=i.axis,p=h.dataToCoord(c),g=r.getAngleAxis().getExtent()[0];g=g/180*Math.PI;var v=r.getRadiusAxis().getExtent(),y,w,S;if(h.dim==="radius"){var _=t.create();t.rotate(_,_,g),t.translate(_,_,[r.cx,r.cy]),y=A.applyTransform([p,-o],_);var I=i.getModel("axisLabel").get("rotate")||0,C=e.innerTextLayout(g,I*Math.PI/180,-1);w=C.textAlign,S=C.textVerticalAlign}else{var E=v[1];y=r.coordToPoint([E+o,p]);var O=r.cx,M=r.cy;w=Math.abs(y[0]-O)/E<.3?"center":y[0]>O?"left":"right",S=Math.abs(y[1]-M)/E<.3?"middle":y[1]>M?"top":"bottom"}return{position:y,align:w,verticalAlign:S}}var n={line:function(c,i,u,r,o){return c.dim==="angle"?{type:"Line",shape:f.makeLineShape(i.coordToPoint([r[0],u]),i.coordToPoint([r[1],u]))}:{type:"Circle",shape:{cx:i.cx,cy:i.cy,r:u}}},shadow:function(c,i,u,r,o){var h=Math.max(1,c.getBandWidth()),p=Math.PI/180;return c.dim==="angle"?{type:"Sector",shape:f.makeSectorShape(i.cx,i.cy,r[0],r[1],(-u-h/2)*p,(-u+h/2)*p)}:{type:"Sector",shape:f.makeSectorShape(i.cx,i.cy,u-h/2,u+h/2,0,Math.PI*2)}}};m.registerAxisPointerClass("PolarAxisPointer",d);var s=d;j.exports=s},b56q:function(j,R,l){},b80e:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("gKaM")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="DoubleLeftOutlined";var d=f.forwardRef(m);R.default=d},b9oc:function(j,R,l){var x=l("bYtY"),b=x.each,A="\0_ec_hist_store";function f(a,n){var s=d(a);b(n,function(c,i){for(var u=s.length-1;u>=0;u--){var r=s[u];if(r[i])break}if(u<0){var o=a.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var h=o.getPercentRange();s[0][i]={dataZoomId:i,start:h[0],end:h[1]}}}}),s.push(n)}function t(a){var n=d(a),s=n[n.length-1];n.length>1&&n.pop();var c={};return b(s,function(i,u){for(var r=n.length-1;r>=0;r--){var i=n[r][u];if(i){c[u]=i;break}}}),c}function e(a){a[A]=null}function m(a){return d(a).length}function d(a){var n=a[A];return n||(n=a[A]=[{}]),n}R.push=f,R.pop=t,R.clear=e,R.count=m},bBKM:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("ProS"),f=l("bYtY"),t=l("+rIm"),e=l("IwbS"),m=["axisLine","axisTickLabel","axisName"],d=A.extendComponentView({type:"radar",render:function(a,n,s){var c=this.group;c.removeAll(),this._buildAxes(a),this._buildSplitLineAndArea(a)},_buildAxes:function(a){var n=a.coordinateSystem,s=n.getIndicatorAxes(),c=f.map(s,function(i){var u=new t(i.model,{position:[n.cx,n.cy],rotation:i.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return u});f.each(c,function(i){f.each(m,i.add,i),this.group.add(i.getGroup())},this)},_buildSplitLineAndArea:function(a){var n=a.coordinateSystem,s=n.getIndicatorAxes();if(!s.length)return;var c=a.get("shape"),i=a.getModel("splitLine"),u=a.getModel("splitArea"),r=i.getModel("lineStyle"),o=u.getModel("areaStyle"),h=i.get("show"),p=u.get("show"),g=r.get("color"),v=o.get("color");g=f.isArray(g)?g:[g],v=f.isArray(v)?v:[v];var y=[],w=[];function S(W,z,K){var P=K%z.length;return W[P]=W[P]||[],P}if(c==="circle")for(var _=s[0].getTicksCoords(),I=n.cx,C=n.cy,E=0;E<_.length;E++){if(h){var O=S(y,g,E);y[O].push(new e.Circle({shape:{cx:I,cy:C,r:_[E].coord}}))}if(p&&E<_.length-1){var O=S(w,v,E);w[O].push(new e.Ring({shape:{cx:I,cy:C,r0:_[E].coord,r:_[E+1].coord}}))}}else for(var M,F=f.map(s,function(W,z){var K=W.getTicksCoords();return M=M==null?K.length-1:Math.min(K.length-1,M),f.map(K,function(P){return n.coordToPoint(P.coord,z)})}),H=[],E=0;E<=M;E++){for(var B=[],X=0;X1&&arguments[1]!==void 0?arguments[1]:"",J=arguments.length>2?arguments[2]:void 0,k=e()(B),W=C(X,J);return W&&k.push(W),k},O=function(B){var X=B.prefixCls,J=B.separator,k=J===void 0?"/":J,W=B.style,z=B.className,K=B.routes,P=B.children,G=B.itemRender,V=G===void 0?I:G,q=B.params,re=q===void 0?{}:q,ce=S(B,["prefixCls","separator","style","className","routes","children","itemRender","params"]),ie=m.useContext(u.b),fe=ie.getPrefixCls,xe=ie.direction,Se,ke=fe("breadcrumb",X);if(K&&K.length>0){var ge=[];Se=K.map(function(ee){var ue=C(ee.path,re);ue&&ge.push(ue);var Ge;return ee.children&&ee.children.length&&(Ge=m.createElement(v.a,null,ee.children.map(function(ae){return m.createElement(v.a.Item,{key:ae.path||ae.breadcrumbName},V(ae,re,K,E(ge,ae.path,re)))}))),m.createElement(h,{overlay:Ge,separator:k,key:ue||ee.breadcrumbName},V(ee,re,K,ge))})}else P&&(Se=Object(n.a)(P).map(function(ee,ue){return ee&&(Object(y.a)(ee.type&&(ee.type.__ANT_BREADCRUMB_ITEM===!0||ee.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(w.a)(ee,{separator:k,key:ue}))}));var Be=a()(z,ke,f()({},"".concat(ke,"-rtl"),xe==="rtl"));return m.createElement("div",b()({className:Be,style:W},ce),Se)};O.Item=h,O.Separator=g;var M=O,F=R.a=M},bKJz:function(j,R,l){},bLfw:function(j,R,l){var x=l("bYtY"),b=l("Qxkt"),A=l("iRjW"),f=l("Yl7c"),t=f.enableClassManagement,e=f.parseClassType,m=l("4NO4"),d=m.makeInner,a=l("+TT/"),n=l("3hzK"),s=d(),c=b.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(r,o,h,p){b.call(this,r,o,h,p),this.uid=A.getUID("ec_cpt_model")},init:function(r,o,h,p){this.mergeDefaultAndTheme(r,h)},mergeDefaultAndTheme:function(r,o){var h=this.layoutMode,p=h?a.getLayoutParams(r):{},g=o.getTheme();x.merge(r,g.get(this.mainType)),x.merge(r,this.getDefaultOption()),h&&a.mergeLayoutParam(r,p,h)},mergeOption:function(r,o){x.merge(this.option,r,!0);var h=this.layoutMode;h&&a.mergeLayoutParam(this.option,r,h)},optionUpdated:function(r,o){},getDefaultOption:function(){var r=s(this);if(!r.defaultOption){for(var o=[],h=this.constructor;h;){var p=h.prototype.defaultOption;p&&o.push(p),h=h.superClass}for(var g={},v=o.length-1;v>=0;v--)g=x.merge(g,o[v],!0);r.defaultOption=g}return r.defaultOption},getReferringComponents:function(r){return this.ecModel.queryComponents({mainType:r,index:this.get(r+"Index",!0),id:this.get(r+"Id",!0)})}});t(c,{registerWhenExtend:!0}),A.enableSubTypeDefaulter(c),A.enableTopologicalTravel(c,i);function i(r){var o=[];return x.each(c.getClassesByMainType(r),function(h){o=o.concat(h.prototype.dependencies||[])}),o=x.map(o,function(h){return e(h).main}),r!=="dataset"&&x.indexOf(o,"dataset")<=0&&o.unshift("dataset"),o}x.mixin(c,n);var u=c;j.exports=u},bMXI:function(j,R,l){var x=l("bYtY"),b=l("QBsz"),A=l("Fofx"),f=l("mFDi"),t=l("DN4a"),e=b.applyTransform;function m(){t.call(this)}x.mixin(m,t);function d(s){this.name=s,this.zoomLimit,t.call(this),this._roamTransformable=new m,this._rawTransformable=new m,this._center,this._zoom}d.prototype={constructor:d,type:"view",dimensions:["x","y"],setBoundingRect:function(s,c,i,u){return this._rect=new f(s,c,i,u),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(s,c,i,u){this.transformTo(s,c,i,u),this._viewRect=new f(s,c,i,u)},transformTo:function(s,c,i,u){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new f(s,c,i,u)),o.decomposeTransform(),this._updateTransform()},setCenter:function(s){if(!s)return;this._center=s,this._updateCenterAndZoom()},setZoom:function(s){s=s||1;var c=this.zoomLimit;c&&(c.max!=null&&(s=Math.min(c.max,s)),c.min!=null&&(s=Math.max(c.min,s))),this._zoom=s,this._updateCenterAndZoom()},getDefaultCenter:function(){var s=this.getBoundingRect(),c=s.x+s.width/2,i=s.y+s.height/2;return[c,i]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var s=this._rawTransformable.getLocalTransform(),c=this._roamTransformable,i=this.getDefaultCenter(),u=this.getCenter(),r=this.getZoom();u=b.applyTransform([],u,s),i=b.applyTransform([],i,s),c.origin=u,c.position=[i[0]-u[0],i[1]-u[1]],c.scale=[r,r],this._updateTransform()},_updateTransform:function(){var s=this._roamTransformable,c=this._rawTransformable;c.parent=s,s.updateTransform(),c.updateTransform(),A.copy(this.transform||(this.transform=[]),c.transform||A.create()),this._rawTransform=c.getLocalTransform(),this.invTransform=this.invTransform||[],A.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var s=this._roamTransformable.transform,c=this._rawTransformable;return{roamTransform:s?x.slice(s):A.create(),rawScale:x.slice(c.scale),rawPosition:x.slice(c.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var s=this.getBoundingRect().clone();return s.applyTransform(this.transform),s},dataToPoint:function(s,c,i){var u=c?this._rawTransform:this.transform;return i=i||[],u?e(i,s,u):b.copy(i,s)},pointToData:function(s){var c=this.invTransform;return c?e([],s,c):[s[0],s[1]]},convertToPixel:x.curry(a,"dataToPoint"),convertFromPixel:x.curry(a,"pointToData"),containPoint:function(s){return this.getViewRectAfterRoam().contain(s[0],s[1])}},x.mixin(d,t);function a(s,c,i,u){var r=i.seriesModel,o=r?r.coordinateSystem:null;return o===this?o[s](u):null}var n=d;j.exports=n},bNin:function(j,R,l){var x=l("bYtY"),b=l("IwbS"),A=l("FBjb"),f=l("Itpr"),t=f.radialCoordinate,e=l("ProS"),m=l("4mN7"),d=l("bMXI"),a=l("Ae+d"),n=l("SgGq"),s=l("xSat"),c=s.onIrrelevantElement,i=l("Tghj"),u=i.__DEV__,r=l("OELB"),o=r.parsePercent,h=b.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(I,C){var E=C.childPoints,O=E.length,M=C.parentPoint,F=E[0],H=E[O-1];if(O===1){I.moveTo(M[0],M[1]),I.lineTo(F[0],F[1]);return}var B=C.orient,X=B==="TB"||B==="BT"?0:1,J=1-X,k=o(C.forkPosition,1),W=[];W[X]=M[X],W[J]=M[J]+(H[J]-M[J])*k,I.moveTo(M[0],M[1]),I.lineTo(W[0],W[1]),I.moveTo(F[0],F[1]),W[X]=F[X],I.lineTo(W[0],W[1]),W[X]=H[X],I.lineTo(W[0],W[1]),I.lineTo(H[0],H[1]);for(var z=1;zq.x,ie||(ce=ce-Math.PI));var xe=ie?"left":"right",Se=F.labelModel.get("rotate"),ke=Se*(Math.PI/180);G.setStyle({textPosition:F.labelModel.get("position")||xe,textRotation:Se==null?-ce:ke,textOrigin:"center",verticalAlign:"middle"})}w(M,B,J,E,K,z,P,O,F)}function w(I,C,E,O,M,F,H,B,X){var J=X.edgeShape,k=O.__edge;if(J==="curve")C.parentNode&&C.parentNode!==E&&(k||(k=O.__edge=new b.BezierCurve({shape:_(X,M,M),style:x.defaults({opacity:0,strokeNoScale:!0},X.lineStyle)})),b.updateProps(k,{shape:_(X,F,H),style:{opacity:1}},I));else if(J==="polyline"&&(X.layout==="orthogonal"&&(C!==E&&C.children&&C.children.length!==0&&C.isExpand===!0))){for(var W=C.children,z=[],K=0;K0&&O>0&&!X&&(E=0),E<0&&O<0&&!J&&(O=0));var k=I.ecModel;if(k&&C==="time"){var K=a("bar",k),z;if(A.each(K,function(G){z|=G.getBaseAxis()===I.axis}),z){var W=n(K),P=u(E,O,I,W);E=P.min,O=P.max}}return{extent:[E,O],fixMin:X,fixMax:J}}function u(_,I,C,E){var O=C.axis.getExtent(),M=O[1]-O[0],F=s(E,C.axis);if(F===void 0)return{min:_,max:I};var H=Infinity;A.each(F,function(z){H=Math.min(z.offset,H)});var B=-Infinity;A.each(F,function(z){B=Math.max(z.offset+z.width,B)}),H=Math.abs(H),B=Math.abs(B);var X=H+B,J=I-_,k=1-(H+B)/M,K=J/k-J;return I+=K*(B/X),_-=K*(H/X),{min:_,max:I}}function r(_,I){var C=i(_,I),E=C.extent,O=I.get("splitNumber");_.type==="log"&&(_.base=I.get("logBase"));var M=_.type;_.setExtent(E[0],E[1]),_.niceExtent({splitNumber:O,fixMin:C.fixMin,fixMax:C.fixMax,minInterval:M==="interval"||M==="time"?I.get("minInterval"):null,maxInterval:M==="interval"||M==="time"?I.get("maxInterval"):null});var F=I.get("interval");F!=null&&(_.setInterval&&_.setInterval(F))}function o(_,I){if(I=I||_.get("type"),I)switch(I){case"category":return new f(_.getOrdinalMeta?_.getOrdinalMeta():_.getCategories(),[Infinity,-Infinity]);case"value":return new t;default:return(e.getClass(I)||t).create(_)}}function h(_){var I=_.scale.getExtent(),C=I[0],E=I[1];return!(C>0&&E>0||C<0&&E<0)}function p(_){var I=_.getLabelModel().get("formatter"),C=_.type==="category"?_.scale.getExtent()[0]:null;return typeof I=="string"?(I=function(E){return function(O){return O=_.scale.getLabel(O),E.replace("{value}",O!=null?O:"")}}(I),I):typeof I=="function"?function(E,O){return C!=null&&(O=E-C),I(g(_,E),O)}:function(E){return _.scale.getLabel(E)}}function g(_,I){return _.type==="category"?_.scale.getLabel(I):I}function v(_){var I=_.model,C=_.scale;if(!I.get("axisLabel.show")||C.isBlank())return;var E=_.type==="category",O,M,F=C.getExtent();E?M=C.count():(O=C.getTicks(),M=O.length);var H=_.getLabelModel(),B=p(_),X,J=1;M>40&&(J=Math.ceil(M/40));for(var k=0;kP.blockIndex,q=V?P.step:null,re=G&&G.modDataCount,ce=re!=null?Math.ceil(re/q):null;return{step:q,modBy:ce,modDataCount:re}},o.getPipeline=function(z){return this._pipelineMap.get(z)},o.updateStreamModes=function(z,W){var P=this._pipelineMap.get(z.uid),G=z.getData(),V=G.count(),q=P.progressiveEnabled&&W.incrementalPrepareRender&&V>=P.threshold,re=z.get("large")&&V>=z.get("largeThreshold"),ce=z.get("progressiveChunkMode")==="mod"?V:null;z.pipelineContext=P.context={progressiveRender:q,modDataCount:ce,large:re}},o.restorePipelines=function(z){var W=this,P=W._pipelineMap=t();z.eachSeries(function(G){var V=G.getProgressive(),q=G.uid;P.set(q,{id:q,head:null,tail:null,threshold:G.getProgressiveThreshold(),progressiveEnabled:V&&!(G.preventIncremental&&G.preventIncremental()),blockIndex:-1,step:Math.round(V||700),count:0}),F(W,G,G.dataTask)})},o.prepareStageTasks=function(){var z=this._stageTaskMap,W=this.ecInstance.getModel(),P=this.api;b(this._allHandlers,function(G){var V=z.get(G.uid)||z.set(G.uid,[]);G.reset&&g(this,G,V,W,P),G.overallReset&&v(this,G,V,W,P)},this)},o.prepareView=function(z,W,P,G){var V=z.renderTask,q=V.context;q.model=W,q.ecModel=P,q.api=G,V.__block=!z.incrementalPrepareRender,F(this,W,V)},o.performDataProcessorTasks=function(z,W){h(this,this._dataProcessorHandlers,z,W,{block:!0})},o.performVisualTasks=function(z,W,P){h(this,this._visualHandlers,z,W,P)};function h(z,W,P,G,V){V=V||{};var q;b(W,function(ce,ie){if(V.visualType&&V.visualType!==ce.visualType)return;var fe=z._stageTaskMap.get(ce.uid),xe=fe.seriesTaskMap,Se=fe.overallTask;if(Se){var ke,ge=Se.agentStubMap;ge.each(function(ee){re(V,ee)&&(ee.dirty(),ke=!0)}),ke&&Se.dirty(),p(Se,G);var Be=z.getPerformArgs(Se,V.block);ge.each(function(ee){ee.perform(Be)}),q|=Se.perform(Be)}else xe&&xe.each(function(ee,ue){re(V,ee)&&ee.dirty();var Ge=z.getPerformArgs(ee,V.block);Ge.skip=!ce.performRawSeries&&P.isSeriesFiltered(ee.context.model),p(ee,G),q|=ee.perform(Ge)})});function re(ce,ie){return ce.setDirty&&(!ce.dirtyMap||ce.dirtyMap.get(ie.__pipeline.id))}z.unfinished|=q}o.performSeriesTasks=function(z){var W;z.eachSeries(function(P){W|=P.dataTask.perform()}),this.unfinished|=W},o.plan=function(){this._pipelineMap.each(function(z){var W=z.tail;do{if(W.__block){z.blockIndex=W.__idxInPipeline;break}W=W.getUpstream()}while(W)})};var p=o.updatePayload=function(z,W){W!=="remain"&&(z.context.payload=W)};function g(z,W,P,G,V){var q=P.seriesTaskMap||(P.seriesTaskMap=t()),re=W.seriesType,ce=W.getTargetSeries;W.createOnAllSeries?G.eachRawSeries(ie):re?G.eachRawSeriesByType(re,ie):ce&&ce(G,V).each(ie);function ie(xe){var Se=xe.uid,ke=q.get(Se)||q.set(Se,d({plan:I,reset:C,count:M}));ke.context={model:xe,ecModel:G,api:V,useClearVisual:W.isVisual&&!W.isLayout,plan:W.plan,reset:W.reset,scheduler:z},F(z,xe,ke)}var fe=z._pipelineMap;q.each(function(xe,Se){fe.get(Se)||(xe.dispose(),q.removeKey(Se))})}function v(z,W,P,G,V){var q=P.overallTask=P.overallTask||d({reset:y});q.context={ecModel:G,api:V,overallReset:W.overallReset,scheduler:z};var re=q.agentStubMap=q.agentStubMap||t(),ce=W.seriesType,ie=W.getTargetSeries,fe=!0,xe=W.modifyOutputEnd;ce?G.eachRawSeriesByType(ce,Se):ie?ie(G,V).each(Se):(fe=!1,b(G.getSeries(),Se));function Se(ge){var Be=ge.uid,ee=re.get(Be);ee||(ee=re.set(Be,d({reset:w,onDirty:_})),q.dirty()),ee.context={model:ge,overallProgress:fe,modifyOutputEnd:xe},ee.agent=q,ee.__block=fe,F(z,ge,ee)}var ke=z._pipelineMap;re.each(function(ge,Be){ke.get(Be)||(ge.dispose(),q.dirty(),re.removeKey(Be))})}function y(z){z.overallReset(z.ecModel,z.api,z.payload)}function w(z,W){return z.overallProgress&&S}function S(){this.agent.dirty(),this.getDownstream().dirty()}function _(){this.agent&&this.agent.dirty()}function I(z){return z.plan&&z.plan(z.model,z.ecModel,z.api,z.payload)}function C(z){z.useClearVisual&&z.data.clearAllVisual();var W=z.resetDefines=u(z.reset(z.model,z.ecModel,z.api,z.payload));return W.length>1?A(W,function(P,G){return O(G)}):E}var E=O(0);function O(z){return function(W,P){var G=P.data,V=P.resetDefines[z];if(V&&V.dataEach)for(var q=W.start;q=0&&!(s[u]<=a);u--);u=Math.min(u,c-2)}else{for(var u=i;ua);u++);u=Math.min(u-1,c-2)}f.lerp(d.position,n[u],n[u+1],(a-s[u])/(s[u+1]-s[u]));var o=n[u+1][0]-n[u][0],h=n[u+1][1]-n[u][1];d.rotation=-Math.atan2(h,o)-Math.PI/2,this._lastFrame=u,this._lastFramePercent=a,d.ignore=!1},b.inherits(t,A);var m=t;j.exports=m},apAg:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("bsht")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="SearchOutlined";var d=f.forwardRef(m);R.default=d},as94:function(j,R,l){var x=l("7aKB"),b=l("3LNs"),A=l("IwbS"),f=l("/y7N"),t=l("Fofx"),e=l("+rIm"),m=l("Znkb"),d=b.extend({makeElOption:function(c,i,u,r,o){var h=u.axis;h.dim==="angle"&&(this.animationThreshold=Math.PI/18);var p=h.polar,g=p.getOtherAxis(h),v=g.getExtent(),y;y=h["dataTo"+x.capitalFirst(h.dim)](i);var w=r.get("type");if(w&&w!=="none"){var S=f.buildElStyle(r),_=n[w](h,p,y,v,S);_.style=S,c.graphicKey=_.type,c.pointer=_}var I=r.get("label.margin"),C=a(i,u,r,p,I);f.buildLabelElOption(c,u,r,o,C)}});function a(c,i,u,r,o){var h=i.axis,p=h.dataToCoord(c),g=r.getAngleAxis().getExtent()[0];g=g/180*Math.PI;var v=r.getRadiusAxis().getExtent(),y,w,S;if(h.dim==="radius"){var _=t.create();t.rotate(_,_,g),t.translate(_,_,[r.cx,r.cy]),y=A.applyTransform([p,-o],_);var I=i.getModel("axisLabel").get("rotate")||0,C=e.innerTextLayout(g,I*Math.PI/180,-1);w=C.textAlign,S=C.textVerticalAlign}else{var E=v[1];y=r.coordToPoint([E+o,p]);var O=r.cx,M=r.cy;w=Math.abs(y[0]-O)/E<.3?"center":y[0]>O?"left":"right",S=Math.abs(y[1]-M)/E<.3?"middle":y[1]>M?"top":"bottom"}return{position:y,align:w,verticalAlign:S}}var n={line:function(c,i,u,r,o){return c.dim==="angle"?{type:"Line",shape:f.makeLineShape(i.coordToPoint([r[0],u]),i.coordToPoint([r[1],u]))}:{type:"Circle",shape:{cx:i.cx,cy:i.cy,r:u}}},shadow:function(c,i,u,r,o){var h=Math.max(1,c.getBandWidth()),p=Math.PI/180;return c.dim==="angle"?{type:"Sector",shape:f.makeSectorShape(i.cx,i.cy,r[0],r[1],(-u-h/2)*p,(-u+h/2)*p)}:{type:"Sector",shape:f.makeSectorShape(i.cx,i.cy,u-h/2,u+h/2,0,Math.PI*2)}}};m.registerAxisPointerClass("PolarAxisPointer",d);var s=d;j.exports=s},b56q:function(j,R,l){},b80e:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("gKaM")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="DoubleLeftOutlined";var d=f.forwardRef(m);R.default=d},b9oc:function(j,R,l){var x=l("bYtY"),b=x.each,A="\0_ec_hist_store";function f(a,n){var s=d(a);b(n,function(c,i){for(var u=s.length-1;u>=0;u--){var r=s[u];if(r[i])break}if(u<0){var o=a.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var h=o.getPercentRange();s[0][i]={dataZoomId:i,start:h[0],end:h[1]}}}}),s.push(n)}function t(a){var n=d(a),s=n[n.length-1];n.length>1&&n.pop();var c={};return b(s,function(i,u){for(var r=n.length-1;r>=0;r--){var i=n[r][u];if(i){c[u]=i;break}}}),c}function e(a){a[A]=null}function m(a){return d(a).length}function d(a){var n=a[A];return n||(n=a[A]=[{}]),n}R.push=f,R.pop=t,R.clear=e,R.count=m},bBKM:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("ProS"),f=l("bYtY"),t=l("+rIm"),e=l("IwbS"),m=["axisLine","axisTickLabel","axisName"],d=A.extendComponentView({type:"radar",render:function(a,n,s){var c=this.group;c.removeAll(),this._buildAxes(a),this._buildSplitLineAndArea(a)},_buildAxes:function(a){var n=a.coordinateSystem,s=n.getIndicatorAxes(),c=f.map(s,function(i){var u=new t(i.model,{position:[n.cx,n.cy],rotation:i.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return u});f.each(c,function(i){f.each(m,i.add,i),this.group.add(i.getGroup())},this)},_buildSplitLineAndArea:function(a){var n=a.coordinateSystem,s=n.getIndicatorAxes();if(!s.length)return;var c=a.get("shape"),i=a.getModel("splitLine"),u=a.getModel("splitArea"),r=i.getModel("lineStyle"),o=u.getModel("areaStyle"),h=i.get("show"),p=u.get("show"),g=r.get("color"),v=o.get("color");g=f.isArray(g)?g:[g],v=f.isArray(v)?v:[v];var y=[],w=[];function S(K,z,W){var P=W%z.length;return K[P]=K[P]||[],P}if(c==="circle")for(var _=s[0].getTicksCoords(),I=n.cx,C=n.cy,E=0;E<_.length;E++){if(h){var O=S(y,g,E);y[O].push(new e.Circle({shape:{cx:I,cy:C,r:_[E].coord}}))}if(p&&E<_.length-1){var O=S(w,v,E);w[O].push(new e.Ring({shape:{cx:I,cy:C,r0:_[E].coord,r:_[E+1].coord}}))}}else for(var M,F=f.map(s,function(K,z){var W=K.getTicksCoords();return M=M==null?W.length-1:Math.min(W.length-1,M),f.map(W,function(P){return n.coordToPoint(P.coord,z)})}),H=[],E=0;E<=M;E++){for(var B=[],X=0;X1&&arguments[1]!==void 0?arguments[1]:"",J=arguments.length>2?arguments[2]:void 0,k=e()(B),K=C(X,J);return K&&k.push(K),k},O=function(B){var X=B.prefixCls,J=B.separator,k=J===void 0?"/":J,K=B.style,z=B.className,W=B.routes,P=B.children,G=B.itemRender,V=G===void 0?I:G,q=B.params,re=q===void 0?{}:q,ce=S(B,["prefixCls","separator","style","className","routes","children","itemRender","params"]),ie=m.useContext(u.b),fe=ie.getPrefixCls,xe=ie.direction,Se,ke=fe("breadcrumb",X);if(W&&W.length>0){var ge=[];Se=W.map(function(ee){var ue=C(ee.path,re);ue&&ge.push(ue);var Ge;return ee.children&&ee.children.length&&(Ge=m.createElement(v.a,null,ee.children.map(function(ae){return m.createElement(v.a.Item,{key:ae.path||ae.breadcrumbName},V(ae,re,W,E(ge,ae.path,re)))}))),m.createElement(h,{overlay:Ge,separator:k,key:ue||ee.breadcrumbName},V(ee,re,W,ge))})}else P&&(Se=Object(n.a)(P).map(function(ee,ue){return ee&&(Object(y.a)(ee.type&&(ee.type.__ANT_BREADCRUMB_ITEM===!0||ee.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(w.a)(ee,{separator:k,key:ue}))}));var Be=a()(z,ke,f()({},"".concat(ke,"-rtl"),xe==="rtl"));return m.createElement("div",b()({className:Be,style:K},ce),Se)};O.Item=h,O.Separator=g;var M=O,F=R.a=M},bKJz:function(j,R,l){},bLfw:function(j,R,l){var x=l("bYtY"),b=l("Qxkt"),A=l("iRjW"),f=l("Yl7c"),t=f.enableClassManagement,e=f.parseClassType,m=l("4NO4"),d=m.makeInner,a=l("+TT/"),n=l("3hzK"),s=d(),c=b.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(r,o,h,p){b.call(this,r,o,h,p),this.uid=A.getUID("ec_cpt_model")},init:function(r,o,h,p){this.mergeDefaultAndTheme(r,h)},mergeDefaultAndTheme:function(r,o){var h=this.layoutMode,p=h?a.getLayoutParams(r):{},g=o.getTheme();x.merge(r,g.get(this.mainType)),x.merge(r,this.getDefaultOption()),h&&a.mergeLayoutParam(r,p,h)},mergeOption:function(r,o){x.merge(this.option,r,!0);var h=this.layoutMode;h&&a.mergeLayoutParam(this.option,r,h)},optionUpdated:function(r,o){},getDefaultOption:function(){var r=s(this);if(!r.defaultOption){for(var o=[],h=this.constructor;h;){var p=h.prototype.defaultOption;p&&o.push(p),h=h.superClass}for(var g={},v=o.length-1;v>=0;v--)g=x.merge(g,o[v],!0);r.defaultOption=g}return r.defaultOption},getReferringComponents:function(r){return this.ecModel.queryComponents({mainType:r,index:this.get(r+"Index",!0),id:this.get(r+"Id",!0)})}});t(c,{registerWhenExtend:!0}),A.enableSubTypeDefaulter(c),A.enableTopologicalTravel(c,i);function i(r){var o=[];return x.each(c.getClassesByMainType(r),function(h){o=o.concat(h.prototype.dependencies||[])}),o=x.map(o,function(h){return e(h).main}),r!=="dataset"&&x.indexOf(o,"dataset")<=0&&o.unshift("dataset"),o}x.mixin(c,n);var u=c;j.exports=u},bMXI:function(j,R,l){var x=l("bYtY"),b=l("QBsz"),A=l("Fofx"),f=l("mFDi"),t=l("DN4a"),e=b.applyTransform;function m(){t.call(this)}x.mixin(m,t);function d(s){this.name=s,this.zoomLimit,t.call(this),this._roamTransformable=new m,this._rawTransformable=new m,this._center,this._zoom}d.prototype={constructor:d,type:"view",dimensions:["x","y"],setBoundingRect:function(s,c,i,u){return this._rect=new f(s,c,i,u),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(s,c,i,u){this.transformTo(s,c,i,u),this._viewRect=new f(s,c,i,u)},transformTo:function(s,c,i,u){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new f(s,c,i,u)),o.decomposeTransform(),this._updateTransform()},setCenter:function(s){if(!s)return;this._center=s,this._updateCenterAndZoom()},setZoom:function(s){s=s||1;var c=this.zoomLimit;c&&(c.max!=null&&(s=Math.min(c.max,s)),c.min!=null&&(s=Math.max(c.min,s))),this._zoom=s,this._updateCenterAndZoom()},getDefaultCenter:function(){var s=this.getBoundingRect(),c=s.x+s.width/2,i=s.y+s.height/2;return[c,i]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var s=this._rawTransformable.getLocalTransform(),c=this._roamTransformable,i=this.getDefaultCenter(),u=this.getCenter(),r=this.getZoom();u=b.applyTransform([],u,s),i=b.applyTransform([],i,s),c.origin=u,c.position=[i[0]-u[0],i[1]-u[1]],c.scale=[r,r],this._updateTransform()},_updateTransform:function(){var s=this._roamTransformable,c=this._rawTransformable;c.parent=s,s.updateTransform(),c.updateTransform(),A.copy(this.transform||(this.transform=[]),c.transform||A.create()),this._rawTransform=c.getLocalTransform(),this.invTransform=this.invTransform||[],A.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var s=this._roamTransformable.transform,c=this._rawTransformable;return{roamTransform:s?x.slice(s):A.create(),rawScale:x.slice(c.scale),rawPosition:x.slice(c.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var s=this.getBoundingRect().clone();return s.applyTransform(this.transform),s},dataToPoint:function(s,c,i){var u=c?this._rawTransform:this.transform;return i=i||[],u?e(i,s,u):b.copy(i,s)},pointToData:function(s){var c=this.invTransform;return c?e([],s,c):[s[0],s[1]]},convertToPixel:x.curry(a,"dataToPoint"),convertFromPixel:x.curry(a,"pointToData"),containPoint:function(s){return this.getViewRectAfterRoam().contain(s[0],s[1])}},x.mixin(d,t);function a(s,c,i,u){var r=i.seriesModel,o=r?r.coordinateSystem:null;return o===this?o[s](u):null}var n=d;j.exports=n},bNin:function(j,R,l){var x=l("bYtY"),b=l("IwbS"),A=l("FBjb"),f=l("Itpr"),t=f.radialCoordinate,e=l("ProS"),m=l("4mN7"),d=l("bMXI"),a=l("Ae+d"),n=l("SgGq"),s=l("xSat"),c=s.onIrrelevantElement,i=l("Tghj"),u=i.__DEV__,r=l("OELB"),o=r.parsePercent,h=b.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(I,C){var E=C.childPoints,O=E.length,M=C.parentPoint,F=E[0],H=E[O-1];if(O===1){I.moveTo(M[0],M[1]),I.lineTo(F[0],F[1]);return}var B=C.orient,X=B==="TB"||B==="BT"?0:1,J=1-X,k=o(C.forkPosition,1),K=[];K[X]=M[X],K[J]=M[J]+(H[J]-M[J])*k,I.moveTo(M[0],M[1]),I.lineTo(K[0],K[1]),I.moveTo(F[0],F[1]),K[X]=F[X],I.lineTo(K[0],K[1]),K[X]=H[X],I.lineTo(K[0],K[1]),I.lineTo(H[0],H[1]);for(var z=1;zq.x,ie||(ce=ce-Math.PI));var xe=ie?"left":"right",Se=F.labelModel.get("rotate"),ke=Se*(Math.PI/180);G.setStyle({textPosition:F.labelModel.get("position")||xe,textRotation:Se==null?-ce:ke,textOrigin:"center",verticalAlign:"middle"})}w(M,B,J,E,W,z,P,O,F)}function w(I,C,E,O,M,F,H,B,X){var J=X.edgeShape,k=O.__edge;if(J==="curve")C.parentNode&&C.parentNode!==E&&(k||(k=O.__edge=new b.BezierCurve({shape:_(X,M,M),style:x.defaults({opacity:0,strokeNoScale:!0},X.lineStyle)})),b.updateProps(k,{shape:_(X,F,H),style:{opacity:1}},I));else if(J==="polyline"&&(X.layout==="orthogonal"&&(C!==E&&C.children&&C.children.length!==0&&C.isExpand===!0))){for(var K=C.children,z=[],W=0;W1&&arguments[1]!==void 0?arguments[1]:!1,s;n===!1?s={aria:!0,data:!0,attr:!0}:n===!0?s={aria:!0}:s=Object(x.a)({},n);var c={};return Object.keys(a).forEach(function(i){(s.aria&&(i==="role"||m(i,t))||s.data&&m(i,e)||s.attr&&f.includes(i))&&(c[i]=a[i])}),c}},bYtY:function(j,R){var l={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},x={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},b=Object.prototype.toString,A=Array.prototype,f=A.forEach,t=A.filter,e=A.slice,m=A.map,d=A.reduce,a={};function n(ee,ue){ee==="createCanvas"&&(h=null),a[ee]=ue}function s(ee){if(ee==null||typeof ee!="object")return ee;var ue=ee,Ge=b.call(ee);if(Ge==="[object Array]"){if(!xe(ee)){ue=[];for(var ae=0,Z=ee.length;ae=0;m--)f.push(e[m])}}R.eachAfter=l,R.eachBefore=x},bahg:function(j,R){function l(x){return x.split("")}j.exports=l},bbsP:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("CWI+"),f=l.n(A)},bogI:function(j,R,l){"use strict";l.d(R,"a",function(){return x});var x=function(A){if(!A)return null;var f=typeof A=="function";return f?A():A}},bsht:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};R.default=x},bx4M:function(j,R,l){"use strict";var x=l("lSNA"),b=l.n(x),A=l("pVnL"),f=l.n(A),t=l("q1tI"),e=l("TSYQ"),m=l.n(e),d=l("BGR+"),a=l("H84U"),n=function(_,I){var C={};for(var E in _)Object.prototype.hasOwnProperty.call(_,E)&&I.indexOf(E)<0&&(C[E]=_[E]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,E=Object.getOwnPropertySymbols(_);O=0&&i.call(u,r[h],h)},d.eachEdge=function(i,u){for(var r=this.edges,o=r.length,h=0;h=0&&r[h].node1.dataIndex>=0&&r[h].node2.dataIndex>=0&&i.call(u,r[h],h)},d.breadthFirstTraverse=function(i,u,r,o){if(a.isInstance(u)||(u=this._nodesMap[e(u)]),!u)return;for(var h=r==="out"?"outEdges":r==="in"?"inEdges":"edges",p=0;p=0&&v.node2.dataIndex>=0});for(var h=0,p=o.length;h=0&&this[i][u].setItemVisual(this.dataIndex,r,o)},getVisual:function(r,o){return this[i][u].getItemVisual(this.dataIndex,r,o)},setLayout:function(r,o){this.dataIndex>=0&&this[i][u].setItemLayout(this.dataIndex,r,o)},getLayout:function(){return this[i][u].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[i][u].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[i][u].getRawIndex(this.dataIndex)}}};A.mixin(a,s("hostGraph","data")),A.mixin(n,s("hostGraph","edgeData")),m.Node=a,m.Edge=n,t(a),t(n);var c=m;j.exports=c},c5Ni:function(j,R,l){},c5fP:function(j,R,l){"use strict";function x(ut){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(Ut){return typeof Ut}:x=function(Ut){return Ut&&typeof Symbol=="function"&&Ut.constructor===Symbol&&Ut!==Symbol.prototype?"symbol":typeof Ut},x(ut)}Object.defineProperty(R,"__esModule",{value:!0}),R._tr_init=it,R._tr_stored_block=yt,R._tr_flush_block=Pe,R._tr_tally=Nt,R._tr_align=pt;var b=f(l("6BzB"));function A(){if(typeof WeakMap!="function")return null;var ut=new WeakMap;return A=function(){return ut},ut}function f(ut){if(ut&&ut.__esModule)return ut;if(ut===null||x(ut)!=="object"&&typeof ut!="function")return{default:ut};var Ft=A();if(Ft&&Ft.has(ut))return Ft.get(ut);var Ut={},Wt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $t in ut)if(Object.prototype.hasOwnProperty.call(ut,$t)){var or=Wt?Object.getOwnPropertyDescriptor(ut,$t):null;or&&(or.get||or.set)?Object.defineProperty(Ut,$t,or):Ut[$t]=ut[$t]}return Ut.default=ut,Ft&&Ft.set(ut,Ut),Ut}var t=4,e=0,m=1,d=2;function a(ut){for(var Ft=ut.length;--Ft>=0;)ut[Ft]=0}var n=0,s=1,c=2,i=3,u=258,r=29,o=256,h=o+1+r,p=30,g=19,v=2*h+1,y=15,w=16,S=7,_=256,I=16,C=17,E=18,O=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],M=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],H=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],B=512,X=new Array((h+2)*2);a(X);var J=new Array(p*2);a(J);var k=new Array(B);a(k);var W=new Array(u-i+1);a(W);var z=new Array(r);a(z);var K=new Array(p);a(K);function P(ut,Ft,Ut,Wt,$t){this.static_tree=ut,this.extra_bits=Ft,this.extra_base=Ut,this.elems=Wt,this.max_length=$t,this.has_stree=ut&&ut.length}var G,V,q;function re(ut,Ft){this.dyn_tree=ut,this.max_code=0,this.stat_desc=Ft}function ce(ut){return ut<256?k[ut]:k[256+(ut>>>7)]}function ie(ut,Ft){ut.pending_buf[ut.pending++]=Ft&255,ut.pending_buf[ut.pending++]=Ft>>>8&255}function fe(ut,Ft,Ut){ut.bi_valid>w-Ut?(ut.bi_buf|=Ft<>w-ut.bi_valid,ut.bi_valid+=Ut-w):(ut.bi_buf|=Ft<>>=1,Ut<<=1;while(--Ft>0);return Ut>>>1}function ke(ut){ut.bi_valid===16?(ie(ut,ut.bi_buf),ut.bi_buf=0,ut.bi_valid=0):ut.bi_valid>=8&&(ut.pending_buf[ut.pending++]=ut.bi_buf&255,ut.bi_buf>>=8,ut.bi_valid-=8)}function ge(ut,Ft){var Ut=Ft.dyn_tree,Wt=Ft.max_code,$t=Ft.stat_desc.static_tree,or=Ft.stat_desc.has_stree,ht=Ft.stat_desc.extra_bits,Ee=Ft.stat_desc.extra_base,de=Ft.stat_desc.max_length,qe,rt,ve,bt,jt,He,kt=0;for(bt=0;bt<=y;bt++)ut.bl_count[bt]=0;for(Ut[ut.heap[ut.heap_max]*2+1]=0,qe=ut.heap_max+1;qede&&(bt=de,kt++),Ut[rt*2+1]=bt,rt>Wt)continue;ut.bl_count[bt]++,jt=0,rt>=Ee&&(jt=ht[rt-Ee]),He=Ut[rt*2],ut.opt_len+=He*(bt+jt),or&&(ut.static_len+=He*($t[rt*2+1]+jt))}if(kt===0)return;do{for(bt=de-1;ut.bl_count[bt]===0;)bt--;ut.bl_count[bt]--,ut.bl_count[bt+1]+=2,ut.bl_count[de]--,kt-=2}while(kt>0);for(bt=de;bt!==0;bt--)for(rt=ut.bl_count[bt];rt!==0;){if(ve=ut.heap[--qe],ve>Wt)continue;Ut[ve*2+1]!==bt&&(ut.opt_len+=(bt-Ut[ve*2+1])*Ut[ve*2],Ut[ve*2+1]=bt),rt--}}function Be(ut,Ft,Ut){var Wt=new Array(y+1),$t=0,or,ht;for(or=1;or<=y;or++)Wt[or]=$t=$t+Ut[or-1]<<1;for(ht=0;ht<=Ft;ht++){var Ee=ut[ht*2+1];if(Ee===0)continue;ut[ht*2]=Se(Wt[Ee]++,Ee)}}function ee(){var ut,Ft,Ut,Wt,$t,or=new Array(y+1);for(Ut=0,Wt=0;Wt>=7;Wt8?ie(ut,ut.bi_buf):ut.bi_valid>0&&(ut.pending_buf[ut.pending++]=ut.bi_buf),ut.bi_buf=0,ut.bi_valid=0}function ae(ut,Ft,Ut,Wt){Ge(ut),Wt&&(ie(ut,Ut),ie(ut,~Ut)),b.arraySet(ut.pending_buf,ut.window,Ft,Ut,ut.pending),ut.pending+=Ut}function Z(ut,Ft,Ut,Wt){var $t=Ft*2,or=Ut*2;return ut[$t]>1;ht>=1;ht--)Y(ut,Ut,ht);qe=or;do ht=ut.heap[1],ut.heap[1]=ut.heap[ut.heap_len--],Y(ut,Ut,1),Ee=ut.heap[1],ut.heap[--ut.heap_max]=ht,ut.heap[--ut.heap_max]=Ee,Ut[qe*2]=Ut[ht*2]+Ut[Ee*2],ut.depth[qe]=(ut.depth[ht]>=ut.depth[Ee]?ut.depth[ht]:ut.depth[Ee])+1,Ut[ht*2+1]=Ut[Ee*2+1]=qe,ut.heap[1]=qe++,Y(ut,Ut,1);while(ut.heap_len>=2);ut.heap[--ut.heap_max]=ut.heap[1],ge(ut,Ft),Be(Ut,de,ut.bl_count)}function pe(ut,Ft,Ut){var Wt,$t=-1,or,ht=Ft[0*2+1],Ee=0,de=7,qe=4;for(ht===0&&(de=138,qe=3),Ft[(Ut+1)*2+1]=65535,Wt=0;Wt<=Ut;Wt++){if(or=ht,ht=Ft[(Wt+1)*2+1],++Ee=3&&!(ut.bl_tree[H[Ft]*2+1]!==0);Ft--);return ut.opt_len+=3*(Ft+1)+5+5+4,Ft}function me(ut,Ft,Ut,Wt){var $t;for(fe(ut,Ft-257,5),fe(ut,Ut-1,5),fe(ut,Wt-4,4),$t=0;$t>>=1)if(Ft&1&&ut.dyn_ltree[Ut*2]!==0)return e;if(ut.dyn_ltree[9*2]!==0||ut.dyn_ltree[10*2]!==0||ut.dyn_ltree[13*2]!==0)return m;for(Ut=32;Ut0?(ut.strm.data_type===d&&(ut.strm.data_type=be(ut)),we(ut,ut.l_desc),we(ut,ut.d_desc),ht=Ne(ut),$t=ut.opt_len+3+7>>>3,or=ut.static_len+3+7>>>3,or<=$t&&($t=or)):$t=or=Ut+5,Ut+4<=$t&&Ft!==-1?yt(ut,Ft,Ut,Wt):ut.strategy===t||or===$t?(fe(ut,(s<<1)+(Wt?1:0),3),te(ut,X,J)):(fe(ut,(c<<1)+(Wt?1:0),3),me(ut,ut.l_desc.max_code+1,ut.d_desc.max_code+1,ht+1),te(ut,ut.dyn_ltree,ut.dyn_dtree)),ue(ut),Wt&&Ge(ut)}function Nt(ut,Ft,Ut){return ut.pending_buf[ut.d_buf+ut.last_lit*2]=Ft>>>8&255,ut.pending_buf[ut.d_buf+ut.last_lit*2+1]=Ft&255,ut.pending_buf[ut.l_buf+ut.last_lit]=Ut&255,ut.last_lit++,Ft===0?ut.dyn_ltree[Ut*2]++:(ut.matches++,Ft--,ut.dyn_ltree[(W[Ut]+o+1)*2]++,ut.dyn_dtree[ce(Ft)*2]++),ut.last_lit===ut.lit_bufsize-1}},c8qY:function(j,R,l){var x=l("IwbS"),b=l("fls0");function A(c){this._ctor=c||b,this.group=new x.Group}var f=A.prototype;f.isPersistent=function(){return!0},f.updateData=function(c){var i=this,u=i.group,r=i._lineData;i._lineData=c,r||u.removeAll();var o=d(c);c.diff(r).add(function(h){t(i,c,h,o)}).update(function(h,p){e(i,r,c,p,h,o)}).remove(function(h){u.remove(r.getItemGraphicEl(h))}).execute()};function t(c,i,u,r){var o=i.getItemLayout(u);if(!n(o))return;var h=new c._ctor(i,u,r);i.setItemGraphicEl(u,h),c.group.add(h)}function e(c,i,u,r,o,h){var p=i.getItemGraphicEl(r);if(!n(u.getItemLayout(o))){c.group.remove(p);return}p?p.updateData(u,o,h):p=new c._ctor(u,o,h),u.setItemGraphicEl(o,p),c.group.add(p)}f.updateLayout=function(){var c=this._lineData;if(!c)return;c.eachItemGraphicEl(function(i,u){i.updateLayout(c,u)},this)},f.incrementalPrepareUpdate=function(c){this._seriesScope=d(c),this._lineData=null,this.group.removeAll()};function m(c){return c.animators&&c.animators.length>0}f.incrementalUpdate=function(c,i){function u(p){!p.isGroup&&!m(p)&&(p.incremental=p.useHoverLayer=!0)}for(var r=c.start;rg}}return{flatCoordsOffset:new Uint32Array(v.buffer,0,S),flatCoords:y,count:_}}return{flatCoordsOffset:null,flatCoords:null,count:h.length}},getInitialData:function(h,p){var g=new f(["value"],this);return g.hasItemOption=!1,g.initData(h.data,[],function(v,y,w,S){if(v instanceof Array)return NaN;g.hasItemOption=!0;var _=v.value;if(_!=null)return _ instanceof Array?_[S]:_}),g},formatTooltip:function(h){var p=this.getData(),g=p.getItemModel(h),v=g.get("name");if(v)return v;var y=g.get("fromName"),w=g.get("toName"),S=[];return y!=null&&S.push(y),w!=null&&S.push(w),n(S.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var h=this.option.progressive;return h==null?this.option.large?1e4:this.get("progressive"):h},getProgressiveThreshold:function(){var h=this.option.progressiveThreshold;return h==null?this.option.large?2e4:this.get("progressiveThreshold"):h},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),o=r;j.exports=o},crZl:function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("IwbS"),f=l("7aKB"),t=l("+TT/"),e=l("XxSj"),m=x.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(d,a){this.ecModel=d,this.api=a,this.visualMapModel},render:function(d,a,n,s){if(this.visualMapModel=d,d.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(d){var a=this.visualMapModel,n=f.normalizeCssArray(a.get("padding")||0),s=d.getBoundingRect();d.add(new A.Rect({z2:-1,silent:!0,shape:{x:s.x-n[3],y:s.y-n[0],width:s.width+n[3]+n[1],height:s.height+n[0]+n[2]},style:{fill:a.get("backgroundColor"),stroke:a.get("borderColor"),lineWidth:a.get("borderWidth")}}))},getControllerVisual:function(d,a,n){n=n||{};var s=n.forceState,c=this.visualMapModel,i={};if(a==="symbol"&&(i.symbol=c.get("itemSymbol")),a==="color"){var u=c.get("contentColor");i.color=u}function r(g){return i[g]}function o(g,v){i[g]=v}var h=c.controllerVisuals[s||c.getValueState(d)],p=e.prepareVisualTypes(h);return b.each(p,function(g){var v=h[g];n.convertOpacityToAlpha&&g==="opacity"&&(g="colorAlpha",v=h.__alphaForOpacity),e.dependsOn(g,a)&&(v&&v.applyVisual(d,r,o))}),i[a]},positionGroup:function(d){var a=this.visualMapModel,n=this.api;t.positionElement(d,a.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:b.noop});j.exports=m},crp1:function(j,R,l){"use strict";l.d(R,"b",function(){return et}),l.d(R,"a",function(){return br});var x={},b=function(It,Ct,mr,gr,Mt){var rr=x[Ct]||(x[Ct]=URL.createObjectURL(new Blob([It],{type:"text/javascript"}))),Dt=new Worker(rr);return Dt.onerror=function(tr){return Mt(tr.error,null)},Dt.onmessage=function(tr){return Mt(null,tr.data)},Dt.postMessage(mr,gr),Dt},A=Uint8Array,f=Uint16Array,t=Uint32Array,e=new A([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),m=new A([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),d=new A([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(It,Ct){for(var mr=new f(31),gr=0;gr<31;++gr)mr[gr]=Ct+=1<>>1|(h&21845)<<1;p=(p&52428)>>>2|(p&13107)<<2,p=(p&61680)>>>4|(p&3855)<<4,o[h]=((p&65280)>>>8|(p&255)<<8)>>>1}for(var g=function(It,Ct,mr){for(var gr=It.length,Mt=0,rr=new f(Ct);Mt>>Dr]=dr}else for(tr=new f(gr),Mt=0;Mt>>15-It[Mt];return tr},v=new A(288),h=0;h<144;++h)v[h]=8;for(var h=144;h<256;++h)v[h]=9;for(var h=256;h<280;++h)v[h]=7;for(var h=280;h<288;++h)v[h]=8;for(var y=new A(32),h=0;h<32;++h)y[h]=5;var w=g(v,9,0),S=g(v,9,1),_=g(y,5,0),I=g(y,5,1),C=function(It){for(var Ct=It[0],mr=1;mrCt&&(Ct=It[mr]);return Ct},E=function(It,Ct,mr){var gr=Ct/8>>0;return(It[gr]|It[gr+1]<<8)>>>(Ct&7)&mr},O=function(It,Ct){var mr=Ct/8>>0;return(It[mr]|It[mr+1]<<8|It[mr+2]<<16)>>>(Ct&7)},M=function(It){return(It/8>>0)+(It&7&&1)},F=function(It,Ct,mr){(Ct==null||Ct<0)&&(Ct=0),(mr==null||mr>It.length)&&(mr=It.length);var gr=new(It instanceof f?f:It instanceof t?t:A)(mr-Ct);return gr.set(It.subarray(Ct,mr)),gr},H=function(It,Ct,mr){var gr=It.length,Mt=!Ct||mr,rr=!mr||mr.i;mr||(mr={}),Ct||(Ct=new A(gr*3));var Dt=function(Yi){var mi=Ct.length;if(Yi>mi){var va=new A(Math.max(mi*2,Yi));va.set(Ct),Ct=va}},tr=mr.f||0,Dr=mr.p||0,dr=mr.b||0,Tr=mr.l,vn=mr.d,on=mr.m,Gn=mr.n,di=gr*8;do{if(!Tr){mr.f=tr=E(It,Dr,1);var Ti=E(It,Dr+1,3);if(Dr+=3,Ti)if(Ti==1)Tr=S,vn=I,on=9,Gn=5;else if(Ti==2){var dt=E(It,Dr,31)+257,Me=E(It,Dr+10,15)+4,Xe=dt+E(It,Dr+5,31)+1;Dr+=14;for(var Qe=new A(Xe),st=new A(19),nt=0;ntdi)break;for(var Et=g(st,ft,1),nt=0;nt>>4;if(Fi<16)Qe[nt++]=Fi;else{var Ur=0,Lr=0;for(Fi==16?(Lr=3+E(It,Dr,3),Dr+=2,Ur=Qe[nt-1]):Fi==17?(Lr=3+E(It,Dr,7),Dr+=3):Fi==18&&(Lr=11+E(It,Dr,127),Dr+=7);Lr--;)Qe[nt++]=Ur}}var Vr=Qe.subarray(0,dt),sr=Qe.subarray(dt);on=C(Vr),Gn=C(sr),Tr=g(Vr,on,1),vn=g(sr,Gn,1)}else throw"invalid block type";else{var Fi=M(Dr)+4,la=It[Fi-4]|It[Fi-3]<<8,Ta=Fi+la;if(Ta>gr){if(rr)throw"unexpected EOF";break}Mt&&Dt(dr+la),Ct.set(It.subarray(Fi,Ta),dr),mr.b=dr+=la,mr.p=Dr=Ta*8;continue}if(Dr>di)throw"unexpected EOF"}Mt&&Dt(dr+131072);for(var Bn=(1<>>4;if(Dr+=Ur&15,Dr>di)throw"unexpected EOF";if(!Ur)throw"invalid length/literal";if(rn<256)Ct[dr++]=rn;else if(rn==256){Tr=null;break}else{var Br=rn-254;if(rn>264){var nt=rn-257,Vn=e[nt];Br=E(It,Dr,(1<>>4;if(!gi)throw"invalid distance";Dr+=gi&15;var sr=u[Ni];if(Ni>3){var Vn=m[Ni];sr+=O(It,Dr)&(1<di)throw"unexpected EOF";Mt&&Dt(dr+131072);for(var Ki=dr+Br;dr>0;It[gr]|=mr,It[gr+1]|=mr>>>8},X=function(It,Ct,mr){mr<<=Ct&7;var gr=Ct/8>>0;It[gr]|=mr,It[gr+1]|=mr>>>8,It[gr+2]|=mr>>>16},J=function(It,Ct){for(var mr=[],gr=0;gron&&(on=rr[gr].s);var Gn=new f(on+1),di=k(mr[Tr-1],Gn,0);if(di>Ct){var gr=0,Ti=0,Fi=di-Ct,la=1<Ct)Ti+=la-(1<>>=Fi;Ti>0;){var dt=rr[gr].s;Gn[dt]=0&&Ti;--gr){var Me=rr[gr].s;Gn[Me]==Ct&&(--Gn[Me],++Ti)}di=Ct}return[new A(Gn),di]},k=function ar(It,Ct,mr){return It.s==-1?Math.max(ar(It.l,Ct,mr+1),ar(It.r,Ct,mr+1)):Ct[It.s]=mr},W=function(It){for(var Ct=It.length;Ct&&!It[--Ct];);for(var mr=new f(++Ct),gr=0,Mt=It[0],rr=1,Dt=function(dr){mr[gr++]=dr},tr=1;tr<=Ct;++tr)if(It[tr]==Mt&&tr!=Ct)++rr;else{if(!Mt&&rr>2){for(;rr>138;rr-=138)Dt(32754);rr>2&&(Dt(rr>10?rr-11<<5|28690:rr-3<<5|12305),rr=0)}else if(rr>3){for(Dt(Mt),--rr;rr>6;rr-=6)Dt(8304);rr>2&&(Dt(rr-3<<5|8208),rr=0)}for(;rr--;)Dt(Mt);rr=1,Mt=It[tr]}return[mr.subarray(0,gr),Ct]},z=function(It,Ct){for(var mr=0,gr=0;gr>>8,It[Mt+2]=It[Mt]^255,It[Mt+3]=It[Mt+1]^255;for(var rr=0;rr4&&!Bt[d[nr-1]];--nr);var Ur=dr+5<<3,Lr=z(Mt,v)+z(rr,y)+Dt,Vr=z(Mt,on)+z(rr,Ti)+Dt+14+3*nr+z(st,Bt)+(2*st[16]+3*st[17]+7*st[18]);if(Ur<=Lr&&Ur<=Vr)return K(Ct,Tr,It.subarray(Dr,Dr+dr));var sr,Bn,Er,gn;if(B(Ct,Tr,1+(Vr15&&(B(Ct,Tr,gi[nt]>>>5&127),Tr+=gi[nt]>>>12)}}else sr=w,Bn=v,Er=_,gn=y;for(var nt=0;nt255){var Ni=gr[nt]>>>18&31;X(Ct,Tr,sr[Ni+257]),Tr+=Bn[Ni+257],Ni>7&&(B(Ct,Tr,gr[nt]>>>23&31),Tr+=e[Ni]);var Ki=gr[nt]&31;X(Ct,Tr,Er[Ki]),Tr+=gn[Ki],Ki>3&&(X(Ct,Tr,gr[nt]>>>5&8191),Tr+=m[Ki])}else X(Ct,Tr,sr[gr[nt]]),Tr+=Bn[gr[nt]];return X(Ct,Tr,sr[256]),Tr+Bn[256]},G=new t([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),V=new A(0),q=function(It,Ct,mr,gr,Mt,rr){var Dt=It.length,tr=new A(gr+Dt+5*(1+Math.floor(Dt/7e3))+Mt),Dr=tr.subarray(gr,tr.length-Mt),dr=0;if(!Ct||Dt<8)for(var Tr=0;Tr<=Dt;Tr+=65535){var vn=Tr+65535;vn>>13,di=on&8191,Ti=(1<7e3||Bt>24576)&&sr>423){dr=P(It,Dr,0,Xe,Qe,st,ft,Bt,nr,Tr-nr,dr),Bt=nt=ft=0,nr=Tr;for(var Bn=0;Bn<286;++Bn)Qe[Bn]=0;for(var Bn=0;Bn<30;++Bn)st[Bn]=0}var Er=2,gn=0,rn=di,Br=Lr-Vr&32767;if(sr>2&&Ur==Me(Tr-Br))for(var Vn=Math.min(Gn,sr)-1,gi=Math.min(32767,Tr),Ni=Math.min(258,sr);Br<=gi&&--rn&&Lr!=Vr;){if(It[Tr+Er]==It[Tr+Er-Br]){for(var Ki=0;KiEr){if(Er=Ki,gn=Br,Ki>Vn)break;for(var zi=Math.min(Br,Ki-2),Yi=0,Bn=0;BnYi&&(Yi=zn,Vr=mi)}}}Lr=Vr,Vr=Fi[Lr],Br+=Lr-Vr+32768&32767}if(gn){Xe[Bt++]=268435456|c[Er]<<18|r[gn];var fn=c[Er]&31,$n=r[gn]&31;ft+=e[fn]+m[$n],++Qe[257+fn],++st[$n],Et=Tr+Er,++nt}else Xe[Bt++]=It[Tr],++Qe[It[Tr]]}}dr=P(It,Dr,rr,Xe,Qe,st,ft,Bt,nr,Tr-nr,dr),rr||(dr=K(Dr,dr,V))}return F(tr,0,gr+M(dr)+Mt)},re=function(){for(var ar=new t(256),It=0;It<256;++It){for(var Ct=It,mr=9;--mr;)Ct=(Ct&1&&3988292384)^Ct>>>1;ar[It]=Ct}return ar}(),ce=function(){var It=4294967295;return{p:function(mr){for(var gr=It,Mt=0;Mt>>8;It=gr},d:function(){return It^4294967295}}},ie=function(){var It=1,Ct=0;return{p:function(gr){for(var Mt=It,rr=Ct,Dt=gr.length,tr=0;tr!=Dt;){for(var Dr=Math.min(tr+5552,Dt);tr>>8<<16|(Ct&255)<<8|Ct>>>8)+((It&255)<<23)*2}}},fe=function(It,Ct,mr,gr,Mt){return q(It,Ct.level==null?6:Ct.level,Ct.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(It.length)))*1.5):12+Ct.mem,mr,gr,!Mt)},xe=function(It,Ct){var mr={};for(var gr in It)mr[gr]=It[gr];for(var gr in Ct)mr[gr]=Ct[gr];return mr},Se=function(It,Ct,mr){for(var gr=It(),Mt=It.toString(),rr=Mt.slice(Mt.indexOf("[")+1,Mt.lastIndexOf("]")).replace(/ /g,"").split(","),Dt=0;Dt>>=8},it=function(It,Ct){var mr=Ct.filename;if(It[0]=31,It[1]=139,It[2]=8,It[8]=Ct.level<2?4:Ct.level==9?2:0,It[9]=3,Ct.mtime!=0&&Re(It,4,Math.floor(new Date(Ct.mtime||Date.now())/1e3)),mr){It[3]=8;for(var gr=0;gr<=mr.length;++gr)It[gr+10]=mr.charCodeAt(gr)}},yt=function(It){if(It[0]!=31||It[1]!=139||It[2]!=8)throw"invalid gzip data";var Ct=It[3],mr=10;Ct&4&&(mr+=It[10]|(It[11]<<8)+2);for(var gr=(Ct>>3&1)+(Ct>>4&1);gr>0;gr-=!It[mr++]);return mr+(Ct&2)},pt=function(It){var Ct=It.length;return(It[Ct-4]|It[Ct-3]<<8|It[Ct-2]<<16)+2*(It[Ct-1]<<23)},Pe=function(It){return 10+(It.filename&&It.filename.length+1||0)},Nt=function(It,Ct){var mr=Ct.level,gr=mr==0?0:mr<6?1:mr==9?3:2;It[0]=120,It[1]=gr<<6|(gr?32-2*gr:1)},ut=function(It){if((It[0]&15)!=8||It[0]>>>4>7||(It[0]<<8|It[1])%31)throw"invalid zlib data";if(It[1]&32)throw"invalid zlib data: preset dictionaries not supported"};function Ft(ar,It){return!It&&typeof ar=="function"&&(It=ar,ar={}),this.ondata=It,ar}var Ut=function(){function ar(It,Ct){!Ct&&typeof It=="function"&&(Ct=It,It={}),this.ondata=Ct,this.o=It||{}}return ar.prototype.p=function(It,Ct){this.ondata(fe(It,this.o,0,0,!Ct),Ct)},ar.prototype.push=function(It,Ct){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";this.d=Ct,this.p(It,Ct||!1)},ar}(),Wt=function(){function ar(It,Ct){Ne([ue,function(){return[De,Ut]}],this,Ft.call(this,It,Ct),function(mr){var gr=new Ut(mr.data);onmessage=De(gr)},6)}return ar}();function $t(ar,It,Ct){if(Ct||(Ct=It,It={}),typeof Ct!="function")throw"no callback";return pe(ar,It,[ue],function(mr){return te(or(mr.data[0],mr.data[1]))},0,Ct)}function or(ar,It){return It===void 0&&(It={}),fe(ar,It,0,0)}var ht=function(){function ar(It){this.s={},this.p=new A(0),this.ondata=It}return ar.prototype.e=function(It){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";var Ct=this.p.length,mr=new A(Ct+It.length);mr.set(this.p),mr.set(It,Ct),this.p=mr},ar.prototype.c=function(It){this.d=this.s.i=It||!1;var Ct=this.s.b,mr=H(this.p,this.o,this.s);this.ondata(F(mr,Ct,this.s.b),this.d),this.o=F(mr,this.s.b-32768),this.s.b=this.o.length,this.p=F(this.p,this.s.p/8>>0),this.s.p&=7},ar.prototype.push=function(It,Ct){this.e(It),this.c(Ct)},ar}(),Ee=function(){function ar(It){this.ondata=It,Ne([ee,function(){return[De,ht]}],this,0,function(){var Ct=new ht;onmessage=De(Ct)},7)}return ar}();function de(ar,It,Ct){if(Ct||(Ct=It,It={}),typeof Ct!="function")throw"no callback";return pe(ar,It,[ee],function(mr){return te(qe(mr.data[0],we(mr.data[1])))},1,Ct)}function qe(ar,It){return H(ar,It)}var rt=function(){function ar(It,Ct){this.c=ce(),this.l=0,this.v=1,Ut.call(this,It,Ct)}return ar.prototype.push=function(It,Ct){Ut.prototype.push.call(this,It,Ct)},ar.prototype.p=function(It,Ct){this.c.p(It),this.l+=It.length;var mr=fe(It,this.o,this.v&&Pe(this.o),Ct&&8,!Ct);this.v&&(it(mr,this.o),this.v=0),Ct&&(Re(mr,mr.length-8,this.c.d()),Re(mr,mr.length-4,this.l)),this.ondata(mr,Ct)},ar}(),ve=function(){function ar(It,Ct){Ne([ue,Ge,function(){return[De,Ut,rt]}],this,Ft.call(this,It,Ct),function(mr){var gr=new rt(mr.data);onmessage=De(gr)},8)}return ar}();function bt(ar,It,Ct){if(Ct||(Ct=It,It={}),typeof Ct!="function")throw"no callback";return pe(ar,It,[ue,Ge,function(){return[jt]}],function(mr){return te(jt(mr.data[0],mr.data[1]))},2,Ct)}function jt(ar,It){It===void 0&&(It={});var Ct=ce(),mr=ar.length;Ct.p(ar);var gr=fe(ar,It,Pe(It),8),Mt=gr.length;return it(gr,It),Re(gr,Mt-8,Ct.d()),Re(gr,Mt-4,mr),gr}var He=function(){function ar(It){this.v=1,ht.call(this,It)}return ar.prototype.push=function(It,Ct){if(ht.prototype.e.call(this,It),this.v){var mr=yt(this.p);if(mr>=this.p.length&&!Ct)return;this.p=this.p.subarray(mr),this.v=0}if(Ct){if(this.p.length<8)throw"invalid gzip stream";this.p=this.p.subarray(0,-8)}ht.prototype.c.call(this,Ct)},ar}(),kt=function(){function ar(It){this.ondata=It,Ne([ee,ae,function(){return[De,ht,He]}],this,0,function(){var Ct=new He;onmessage=De(Ct)},9)}return ar}();function Ar(ar,It,Ct){if(Ct||(Ct=It,It={}),typeof Ct!="function")throw"no callback";return pe(ar,It,[ee,ae,function(){return[at]}],function(mr){return te(at(mr.data[0]))},3,Ct)}function at(ar,It){return H(ar.subarray(yt(ar),-8),It||new A(pt(ar)))}var Ht=function(){function ar(It,Ct){this.c=ie(),this.v=1,Ut.call(this,It,Ct)}return ar.prototype.push=function(It,Ct){Ut.prototype.push.call(this,It,Ct)},ar.prototype.p=function(It,Ct){this.c.p(It);var mr=fe(It,this.o,this.v&&2,Ct&&4,!Ct);this.v&&(Nt(mr,this.o),this.v=0),Ct&&Re(mr,mr.length-4,this.c.d()),this.ondata(mr,Ct)},ar}(),Kt=function(){function ar(It,Ct){Ne([ue,Z,function(){return[De,Ut,Ht]}],this,Ft.call(this,It,Ct),function(mr){var gr=new Ht(mr.data);onmessage=De(gr)},10)}return ar}();function ot(ar,It,Ct){if(Ct||(Ct=It,It={}),typeof Ct!="function")throw"no callback";return pe(ar,It,[ue,Z,function(){return[et]}],function(mr){return te(et(mr.data[0],mr.data[1]))},4,Ct)}function et(ar,It){It===void 0&&(It={});var Ct=ie();Ct.p(ar);var mr=fe(ar,It,2,4);return Nt(mr,It),Re(mr,mr.length-4,Ct.d()),mr}var Ze=function(){function ar(It){this.v=1,ht.call(this,It)}return ar.prototype.push=function(It,Ct){if(ht.prototype.e.call(this,It),this.v){if(this.p.length<2&&!Ct)return;this.p=this.p.subarray(2),this.v=0}if(Ct){if(this.p.length<4)throw"invalid zlib stream";this.p=this.p.subarray(0,-4)}ht.prototype.c.call(this,Ct)},ar}(),Gt=function(){function ar(It){this.ondata=It,Ne([ee,Y,function(){return[De,ht,Ze]}],this,0,function(){var Ct=new Ze;onmessage=De(Ct)},11)}return ar}();function yr(ar,It,Ct){if(Ct||(Ct=It,It={}),typeof Ct!="function")throw"no callback";return pe(ar,It,[ee,Y,function(){return[br]}],function(mr){return te(br(mr.data[0],we(mr.data[1])))},5,Ct)}function br(ar,It){return H((ut(ar),ar.subarray(2,-4)),It)}var Sr=function(){function ar(It){this.G=He,this.I=ht,this.Z=Ze,this.ondata=It}return ar.prototype.push=function(It,Ct){if(!this.ondata)throw"no stream handler";if(this.s)this.s.push(It,Ct);else{if(this.p&&this.p.length){var mr=new A(this.p.length+It.length);mr.set(this.p),mr.set(It,this.p.length)}else this.p=It;if(this.p.length>2){var gr=this,Mt=function(){gr.ondata.apply(gr,arguments)};this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(Mt):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(Mt):new this.Z(Mt),this.s.push(this.p,Ct),this.p=null}}},ar}(),Tn=function(){function ar(It){this.G=kt,this.I=Ee,this.Z=Gt,this.ondata=It}return ar.prototype.push=function(It,Ct){Sr.prototype.push.call(this,It,Ct)},ar}();function cn(ar,It,Ct){if(Ct||(Ct=It,It={}),typeof Ct!="function")throw"no callback";return ar[0]==31&&ar[1]==139&&ar[2]==8?Ar(ar,It,Ct):(ar[0]&15)!=8||ar[0]>>4>7||(ar[0]<<8|ar[1])%31?de(ar,It,Ct):yr(ar,It,Ct)}function Kn(ar,It){return ar[0]==31&&ar[1]==139&&ar[2]==8?at(ar,It):(ar[0]&15)!=8||ar[0]>>4>7||(ar[0]<<8|ar[1])%31?qe(ar,It):br(ar,It)}var lt=function ar(It,Ct,mr,gr){for(var Mt in It){var rr=It[Mt],Dt=Ct+Mt;rr instanceof A?mr[Dt]=[rr,gr]:Array.isArray(rr)?mr[Dt]=[rr[0],xe(gr,rr[1])]:ar(rr,Dt+"/",mr,gr)}};function mt(ar,It){var Ct=ar.length;if(!It&&typeof TextEncoder!="undefined")return new TextEncoder().encode(ar);for(var mr=new A(ar.length+(ar.length>>>1)),gr=0,Mt=function(dr){mr[gr++]=dr},rr=0;rrmr.length){var Dt=new A(gr+8+(Ct-rr<<1));Dt.set(mr),mr=Dt}var tr=ar.charCodeAt(rr);tr<128||It?Mt(tr):tr<2048?(Mt(192|tr>>>6),Mt(128|tr&63)):tr>55295&&tr<57344?(tr=65536+(tr&1023<<10)|ar.charCodeAt(++rr)&1023,Mt(240|tr>>>18),Mt(128|tr>>>12&63),Mt(128|tr>>>6&63),Mt(128|tr&63)):(Mt(224|tr>>>12),Mt(128|tr>>>6&63),Mt(128|tr&63))}return F(mr,0,gr)}function Le(ar,It){var Ct="";if(!It&&typeof TextDecoder!="undefined")return new TextDecoder().decode(ar);for(var mr=0;mr>10,56320|gr&1023))}return Ct}var ze=function(It,Ct){return Ct+30+me(It,Ct+26)+me(It,Ct+28)},$e=function(It,Ct,mr){var gr=me(It,Ct+28),Mt=Le(It.subarray(Ct+46,Ct+46+gr),!(me(It,Ct+8)&2048)),rr=Ct+46+gr,Dt=mr?gt(It,rr):[be(It,Ct+20),be(It,Ct+24),be(It,Ct+42)],tr=Dt[0],Dr=Dt[1],dr=Dt[2];return[me(It,Ct+10),tr,Dr,Mt,rr+me(It,Ct+30)+me(It,Ct+32),dr]},gt=function(It,Ct){for(;me(It,Ct)!=1;Ct+=4+me(It,Ct+2));return[be(It,Ct+12),be(It,Ct+4),be(It,Ct+20)]},ir=function(It,Ct,mr,gr,Mt,rr,Dt,tr,Dr,dr){var Tr=rr.length,vn=gr.length;Re(It,Ct,Dr!=null?33639248:67324752),Ct+=4,Dr!=null&&(It[Ct]=20,Ct+=2),It[Ct]=20,Ct+=2,It[Ct++]=dr==8&&(tr.level==1?6:tr.level<6?4:tr.level==9?2:0),It[Ct++]=Dt&&8,It[Ct]=dr,Ct+=2;var on=new Date(tr.mtime||Date.now()),Gn=on.getFullYear()-1980;if(Gn<0||Gn>119)throw"date not in range 1980-2099";Re(It,Ct,(Gn<<24)*2|on.getMonth()+1<<21|on.getDate()<<16|on.getHours()<<11|on.getMinutes()<<5|on.getSeconds()>>>1),Ct+=4,Re(It,Ct,mr),Re(It,Ct+4,vn),Re(It,Ct+8,Mt),Re(It,Ct+12,Tr),Ct+=16,Dr!=null&&(Re(It,Ct+=10,Dr),Ct+=4),It.set(rr,Ct),Ct+=Tr,Dr==null&&It.set(gr,Ct)},Xt=function(It,Ct,mr,gr,Mt){Re(It,Ct,101010256),Re(It,Ct+8,mr),Re(It,Ct+10,mr),Re(It,Ct+12,gr),Re(It,Ct+16,Mt)};function er(ar,It,Ct){if(Ct||(Ct=It,It={}),typeof Ct!="function")throw"no callback";var mr={};lt(ar,"",mr,It);var gr=Object.keys(mr),Mt=gr.length,rr=0,Dt=0,tr=Mt,Dr=new Array(Mt),dr=[],Tr=function(){for(var Ti=0;Ti65535&&ft("filename too long",null),!nt)ft(null,Ta);else if(Xe<16e4)try{ft(null,or(Ta,dt))}catch(Bt){ft(Bt,null)}else dr.push($t(Ta,dt,ft))},Gn=0;Gn65535)throw"filename too long";var on=dr?or(tr,Dr):tr,Gn=on.length,di=ce();di.p(tr),mr.push({t:dr,d:on,m:tr.length,c:di.d(),u:rr.length!=vn,n:Tr,o:gr,p:Dr}),gr+=30+vn+Gn,Mt+=76+2*vn+Gn}for(var Ti=new A(Mt+22),Fi=gr,la=Mt-gr,Ta=0;Ta65558){It("invalid zip file",null);return}var rr=me(ar,Mt+8);rr||It(null,{});var Dt=rr,tr=be(ar,Mt+16),Dr=tr==4294967295;if(Dr){if(Mt=be(ar,Mt-12),be(ar,Mt)!=101075792)throw"invalid zip file";Dt=rr=be(ar,Mt+32),tr=be(ar,Mt+48)}for(var dr=function(on){var Gn=$e(ar,tr,Dr),di=Gn[0],Ti=Gn[1],Fi=Gn[2],la=Gn[3],Ta=Gn[4],dt=Gn[5],Me=ze(ar,dt);tr=Ta;var Xe=function(nt,ft){nt?(mr(),It(nt,null)):(gr[la]=ft,--rr||It(null,gr))};if(!di)Xe(null,F(ar,Me,Me+Ti));else if(di==8){var Qe=ar.subarray(Me,Me+Ti);if(Ti<32e4)try{Xe(null,qe(Qe,new A(Fi)))}catch(st){Xe(st,null)}else Ct.push(de(Qe,{size:Fi},Xe))}else Xe("unknown compression type "+di,null)},Tr=0;Tr65558)throw"invalid zip file";var mr=me(ar,Ct+8);if(!mr)return{};var gr=be(ar,Ct+16),Mt=gr==4294967295;if(Mt){if(Ct=be(ar,Ct-12),be(ar,Ct)!=101075792)throw"invalid zip file";mr=be(ar,Ct+32),gr=be(ar,Ct+48)}for(var rr=0;rr1&&arguments[1]!==void 0?arguments[1]:!1,s;n===!1?s={aria:!0,data:!0,attr:!0}:n===!0?s={aria:!0}:s=Object(x.a)({},n);var c={};return Object.keys(a).forEach(function(i){(s.aria&&(i==="role"||m(i,t))||s.data&&m(i,e)||s.attr&&f.includes(i))&&(c[i]=a[i])}),c}},bYtY:function(j,R){var l={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},x={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},b=Object.prototype.toString,A=Array.prototype,f=A.forEach,t=A.filter,e=A.slice,m=A.map,d=A.reduce,a={};function n(ee,ue){ee==="createCanvas"&&(h=null),a[ee]=ue}function s(ee){if(ee==null||typeof ee!="object")return ee;var ue=ee,Ge=b.call(ee);if(Ge==="[object Array]"){if(!xe(ee)){ue=[];for(var ae=0,Z=ee.length;ae=0;m--)f.push(e[m])}}R.eachAfter=l,R.eachBefore=x},bahg:function(j,R){function l(x){return x.split("")}j.exports=l},bbsP:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("CWI+"),f=l.n(A)},bogI:function(j,R,l){"use strict";l.d(R,"a",function(){return x});var x=function(A){if(!A)return null;var f=typeof A=="function";return f?A():A}},bsht:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};R.default=x},bx4M:function(j,R,l){"use strict";var x=l("lSNA"),b=l.n(x),A=l("pVnL"),f=l.n(A),t=l("q1tI"),e=l("TSYQ"),m=l.n(e),d=l("BGR+"),a=l("H84U"),n=function(_,I){var C={};for(var E in _)Object.prototype.hasOwnProperty.call(_,E)&&I.indexOf(E)<0&&(C[E]=_[E]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,E=Object.getOwnPropertySymbols(_);O=0&&i.call(u,r[h],h)},d.eachEdge=function(i,u){for(var r=this.edges,o=r.length,h=0;h=0&&r[h].node1.dataIndex>=0&&r[h].node2.dataIndex>=0&&i.call(u,r[h],h)},d.breadthFirstTraverse=function(i,u,r,o){if(a.isInstance(u)||(u=this._nodesMap[e(u)]),!u)return;for(var h=r==="out"?"outEdges":r==="in"?"inEdges":"edges",p=0;p=0&&v.node2.dataIndex>=0});for(var h=0,p=o.length;h=0&&this[i][u].setItemVisual(this.dataIndex,r,o)},getVisual:function(r,o){return this[i][u].getItemVisual(this.dataIndex,r,o)},setLayout:function(r,o){this.dataIndex>=0&&this[i][u].setItemLayout(this.dataIndex,r,o)},getLayout:function(){return this[i][u].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[i][u].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[i][u].getRawIndex(this.dataIndex)}}};A.mixin(a,s("hostGraph","data")),A.mixin(n,s("hostGraph","edgeData")),m.Node=a,m.Edge=n,t(a),t(n);var c=m;j.exports=c},c5Ni:function(j,R,l){},c5fP:function(j,R,l){"use strict";function x(ut){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(Ut){return typeof Ut}:x=function(Ut){return Ut&&typeof Symbol=="function"&&Ut.constructor===Symbol&&Ut!==Symbol.prototype?"symbol":typeof Ut},x(ut)}Object.defineProperty(R,"__esModule",{value:!0}),R._tr_init=it,R._tr_stored_block=yt,R._tr_flush_block=Pe,R._tr_tally=Nt,R._tr_align=pt;var b=f(l("6BzB"));function A(){if(typeof WeakMap!="function")return null;var ut=new WeakMap;return A=function(){return ut},ut}function f(ut){if(ut&&ut.__esModule)return ut;if(ut===null||x(ut)!=="object"&&typeof ut!="function")return{default:ut};var Ft=A();if(Ft&&Ft.has(ut))return Ft.get(ut);var Ut={},Kt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $t in ut)if(Object.prototype.hasOwnProperty.call(ut,$t)){var or=Kt?Object.getOwnPropertyDescriptor(ut,$t):null;or&&(or.get||or.set)?Object.defineProperty(Ut,$t,or):Ut[$t]=ut[$t]}return Ut.default=ut,Ft&&Ft.set(ut,Ut),Ut}var t=4,e=0,m=1,d=2;function a(ut){for(var Ft=ut.length;--Ft>=0;)ut[Ft]=0}var n=0,s=1,c=2,i=3,u=258,r=29,o=256,h=o+1+r,p=30,g=19,v=2*h+1,y=15,w=16,S=7,_=256,I=16,C=17,E=18,O=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],M=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],H=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],B=512,X=new Array((h+2)*2);a(X);var J=new Array(p*2);a(J);var k=new Array(B);a(k);var K=new Array(u-i+1);a(K);var z=new Array(r);a(z);var W=new Array(p);a(W);function P(ut,Ft,Ut,Kt,$t){this.static_tree=ut,this.extra_bits=Ft,this.extra_base=Ut,this.elems=Kt,this.max_length=$t,this.has_stree=ut&&ut.length}var G,V,q;function re(ut,Ft){this.dyn_tree=ut,this.max_code=0,this.stat_desc=Ft}function ce(ut){return ut<256?k[ut]:k[256+(ut>>>7)]}function ie(ut,Ft){ut.pending_buf[ut.pending++]=Ft&255,ut.pending_buf[ut.pending++]=Ft>>>8&255}function fe(ut,Ft,Ut){ut.bi_valid>w-Ut?(ut.bi_buf|=Ft<>w-ut.bi_valid,ut.bi_valid+=Ut-w):(ut.bi_buf|=Ft<>>=1,Ut<<=1;while(--Ft>0);return Ut>>>1}function ke(ut){ut.bi_valid===16?(ie(ut,ut.bi_buf),ut.bi_buf=0,ut.bi_valid=0):ut.bi_valid>=8&&(ut.pending_buf[ut.pending++]=ut.bi_buf&255,ut.bi_buf>>=8,ut.bi_valid-=8)}function ge(ut,Ft){var Ut=Ft.dyn_tree,Kt=Ft.max_code,$t=Ft.stat_desc.static_tree,or=Ft.stat_desc.has_stree,ht=Ft.stat_desc.extra_bits,Ee=Ft.stat_desc.extra_base,de=Ft.stat_desc.max_length,qe,rt,ve,bt,jt,He,kt=0;for(bt=0;bt<=y;bt++)ut.bl_count[bt]=0;for(Ut[ut.heap[ut.heap_max]*2+1]=0,qe=ut.heap_max+1;qede&&(bt=de,kt++),Ut[rt*2+1]=bt,rt>Kt)continue;ut.bl_count[bt]++,jt=0,rt>=Ee&&(jt=ht[rt-Ee]),He=Ut[rt*2],ut.opt_len+=He*(bt+jt),or&&(ut.static_len+=He*($t[rt*2+1]+jt))}if(kt===0)return;do{for(bt=de-1;ut.bl_count[bt]===0;)bt--;ut.bl_count[bt]--,ut.bl_count[bt+1]+=2,ut.bl_count[de]--,kt-=2}while(kt>0);for(bt=de;bt!==0;bt--)for(rt=ut.bl_count[bt];rt!==0;){if(ve=ut.heap[--qe],ve>Kt)continue;Ut[ve*2+1]!==bt&&(ut.opt_len+=(bt-Ut[ve*2+1])*Ut[ve*2],Ut[ve*2+1]=bt),rt--}}function Be(ut,Ft,Ut){var Kt=new Array(y+1),$t=0,or,ht;for(or=1;or<=y;or++)Kt[or]=$t=$t+Ut[or-1]<<1;for(ht=0;ht<=Ft;ht++){var Ee=ut[ht*2+1];if(Ee===0)continue;ut[ht*2]=Se(Kt[Ee]++,Ee)}}function ee(){var ut,Ft,Ut,Kt,$t,or=new Array(y+1);for(Ut=0,Kt=0;Kt>=7;Kt8?ie(ut,ut.bi_buf):ut.bi_valid>0&&(ut.pending_buf[ut.pending++]=ut.bi_buf),ut.bi_buf=0,ut.bi_valid=0}function ae(ut,Ft,Ut,Kt){Ge(ut),Kt&&(ie(ut,Ut),ie(ut,~Ut)),b.arraySet(ut.pending_buf,ut.window,Ft,Ut,ut.pending),ut.pending+=Ut}function Z(ut,Ft,Ut,Kt){var $t=Ft*2,or=Ut*2;return ut[$t]>1;ht>=1;ht--)Y(ut,Ut,ht);qe=or;do ht=ut.heap[1],ut.heap[1]=ut.heap[ut.heap_len--],Y(ut,Ut,1),Ee=ut.heap[1],ut.heap[--ut.heap_max]=ht,ut.heap[--ut.heap_max]=Ee,Ut[qe*2]=Ut[ht*2]+Ut[Ee*2],ut.depth[qe]=(ut.depth[ht]>=ut.depth[Ee]?ut.depth[ht]:ut.depth[Ee])+1,Ut[ht*2+1]=Ut[Ee*2+1]=qe,ut.heap[1]=qe++,Y(ut,Ut,1);while(ut.heap_len>=2);ut.heap[--ut.heap_max]=ut.heap[1],ge(ut,Ft),Be(Ut,de,ut.bl_count)}function pe(ut,Ft,Ut){var Kt,$t=-1,or,ht=Ft[0*2+1],Ee=0,de=7,qe=4;for(ht===0&&(de=138,qe=3),Ft[(Ut+1)*2+1]=65535,Kt=0;Kt<=Ut;Kt++){if(or=ht,ht=Ft[(Kt+1)*2+1],++Ee=3&&!(ut.bl_tree[H[Ft]*2+1]!==0);Ft--);return ut.opt_len+=3*(Ft+1)+5+5+4,Ft}function me(ut,Ft,Ut,Kt){var $t;for(fe(ut,Ft-257,5),fe(ut,Ut-1,5),fe(ut,Kt-4,4),$t=0;$t>>=1)if(Ft&1&&ut.dyn_ltree[Ut*2]!==0)return e;if(ut.dyn_ltree[9*2]!==0||ut.dyn_ltree[10*2]!==0||ut.dyn_ltree[13*2]!==0)return m;for(Ut=32;Ut0?(ut.strm.data_type===d&&(ut.strm.data_type=be(ut)),we(ut,ut.l_desc),we(ut,ut.d_desc),ht=Ne(ut),$t=ut.opt_len+3+7>>>3,or=ut.static_len+3+7>>>3,or<=$t&&($t=or)):$t=or=Ut+5,Ut+4<=$t&&Ft!==-1?yt(ut,Ft,Ut,Kt):ut.strategy===t||or===$t?(fe(ut,(s<<1)+(Kt?1:0),3),te(ut,X,J)):(fe(ut,(c<<1)+(Kt?1:0),3),me(ut,ut.l_desc.max_code+1,ut.d_desc.max_code+1,ht+1),te(ut,ut.dyn_ltree,ut.dyn_dtree)),ue(ut),Kt&&Ge(ut)}function Nt(ut,Ft,Ut){return ut.pending_buf[ut.d_buf+ut.last_lit*2]=Ft>>>8&255,ut.pending_buf[ut.d_buf+ut.last_lit*2+1]=Ft&255,ut.pending_buf[ut.l_buf+ut.last_lit]=Ut&255,ut.last_lit++,Ft===0?ut.dyn_ltree[Ut*2]++:(ut.matches++,Ft--,ut.dyn_ltree[(K[Ut]+o+1)*2]++,ut.dyn_dtree[ce(Ft)*2]++),ut.last_lit===ut.lit_bufsize-1}},c8qY:function(j,R,l){var x=l("IwbS"),b=l("fls0");function A(c){this._ctor=c||b,this.group=new x.Group}var f=A.prototype;f.isPersistent=function(){return!0},f.updateData=function(c){var i=this,u=i.group,r=i._lineData;i._lineData=c,r||u.removeAll();var o=d(c);c.diff(r).add(function(h){t(i,c,h,o)}).update(function(h,p){e(i,r,c,p,h,o)}).remove(function(h){u.remove(r.getItemGraphicEl(h))}).execute()};function t(c,i,u,r){var o=i.getItemLayout(u);if(!n(o))return;var h=new c._ctor(i,u,r);i.setItemGraphicEl(u,h),c.group.add(h)}function e(c,i,u,r,o,h){var p=i.getItemGraphicEl(r);if(!n(u.getItemLayout(o))){c.group.remove(p);return}p?p.updateData(u,o,h):p=new c._ctor(u,o,h),u.setItemGraphicEl(o,p),c.group.add(p)}f.updateLayout=function(){var c=this._lineData;if(!c)return;c.eachItemGraphicEl(function(i,u){i.updateLayout(c,u)},this)},f.incrementalPrepareUpdate=function(c){this._seriesScope=d(c),this._lineData=null,this.group.removeAll()};function m(c){return c.animators&&c.animators.length>0}f.incrementalUpdate=function(c,i){function u(p){!p.isGroup&&!m(p)&&(p.incremental=p.useHoverLayer=!0)}for(var r=c.start;rg}}return{flatCoordsOffset:new Uint32Array(v.buffer,0,S),flatCoords:y,count:_}}return{flatCoordsOffset:null,flatCoords:null,count:h.length}},getInitialData:function(h,p){var g=new f(["value"],this);return g.hasItemOption=!1,g.initData(h.data,[],function(v,y,w,S){if(v instanceof Array)return NaN;g.hasItemOption=!0;var _=v.value;if(_!=null)return _ instanceof Array?_[S]:_}),g},formatTooltip:function(h){var p=this.getData(),g=p.getItemModel(h),v=g.get("name");if(v)return v;var y=g.get("fromName"),w=g.get("toName"),S=[];return y!=null&&S.push(y),w!=null&&S.push(w),n(S.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var h=this.option.progressive;return h==null?this.option.large?1e4:this.get("progressive"):h},getProgressiveThreshold:function(){var h=this.option.progressiveThreshold;return h==null?this.option.large?2e4:this.get("progressiveThreshold"):h},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),o=r;j.exports=o},crZl:function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("IwbS"),f=l("7aKB"),t=l("+TT/"),e=l("XxSj"),m=x.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(d,a){this.ecModel=d,this.api=a,this.visualMapModel},render:function(d,a,n,s){if(this.visualMapModel=d,d.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(d){var a=this.visualMapModel,n=f.normalizeCssArray(a.get("padding")||0),s=d.getBoundingRect();d.add(new A.Rect({z2:-1,silent:!0,shape:{x:s.x-n[3],y:s.y-n[0],width:s.width+n[3]+n[1],height:s.height+n[0]+n[2]},style:{fill:a.get("backgroundColor"),stroke:a.get("borderColor"),lineWidth:a.get("borderWidth")}}))},getControllerVisual:function(d,a,n){n=n||{};var s=n.forceState,c=this.visualMapModel,i={};if(a==="symbol"&&(i.symbol=c.get("itemSymbol")),a==="color"){var u=c.get("contentColor");i.color=u}function r(g){return i[g]}function o(g,v){i[g]=v}var h=c.controllerVisuals[s||c.getValueState(d)],p=e.prepareVisualTypes(h);return b.each(p,function(g){var v=h[g];n.convertOpacityToAlpha&&g==="opacity"&&(g="colorAlpha",v=h.__alphaForOpacity),e.dependsOn(g,a)&&(v&&v.applyVisual(d,r,o))}),i[a]},positionGroup:function(d){var a=this.visualMapModel,n=this.api;t.positionElement(d,a.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:b.noop});j.exports=m},crp1:function(j,R,l){"use strict";l.d(R,"b",function(){return et}),l.d(R,"a",function(){return br});var x={},b=function(It,Ct,mr,gr,Mt){var rr=x[Ct]||(x[Ct]=URL.createObjectURL(new Blob([It],{type:"text/javascript"}))),Dt=new Worker(rr);return Dt.onerror=function(tr){return Mt(tr.error,null)},Dt.onmessage=function(tr){return Mt(null,tr.data)},Dt.postMessage(mr,gr),Dt},A=Uint8Array,f=Uint16Array,t=Uint32Array,e=new A([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),m=new A([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),d=new A([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(It,Ct){for(var mr=new f(31),gr=0;gr<31;++gr)mr[gr]=Ct+=1<>>1|(h&21845)<<1;p=(p&52428)>>>2|(p&13107)<<2,p=(p&61680)>>>4|(p&3855)<<4,o[h]=((p&65280)>>>8|(p&255)<<8)>>>1}for(var g=function(It,Ct,mr){for(var gr=It.length,Mt=0,rr=new f(Ct);Mt>>Dr]=dr}else for(tr=new f(gr),Mt=0;Mt>>15-It[Mt];return tr},v=new A(288),h=0;h<144;++h)v[h]=8;for(var h=144;h<256;++h)v[h]=9;for(var h=256;h<280;++h)v[h]=7;for(var h=280;h<288;++h)v[h]=8;for(var y=new A(32),h=0;h<32;++h)y[h]=5;var w=g(v,9,0),S=g(v,9,1),_=g(y,5,0),I=g(y,5,1),C=function(It){for(var Ct=It[0],mr=1;mrCt&&(Ct=It[mr]);return Ct},E=function(It,Ct,mr){var gr=Ct/8>>0;return(It[gr]|It[gr+1]<<8)>>>(Ct&7)&mr},O=function(It,Ct){var mr=Ct/8>>0;return(It[mr]|It[mr+1]<<8|It[mr+2]<<16)>>>(Ct&7)},M=function(It){return(It/8>>0)+(It&7&&1)},F=function(It,Ct,mr){(Ct==null||Ct<0)&&(Ct=0),(mr==null||mr>It.length)&&(mr=It.length);var gr=new(It instanceof f?f:It instanceof t?t:A)(mr-Ct);return gr.set(It.subarray(Ct,mr)),gr},H=function(It,Ct,mr){var gr=It.length,Mt=!Ct||mr,rr=!mr||mr.i;mr||(mr={}),Ct||(Ct=new A(gr*3));var Dt=function(Yi){var mi=Ct.length;if(Yi>mi){var va=new A(Math.max(mi*2,Yi));va.set(Ct),Ct=va}},tr=mr.f||0,Dr=mr.p||0,dr=mr.b||0,Tr=mr.l,vn=mr.d,on=mr.m,Gn=mr.n,di=gr*8;do{if(!Tr){mr.f=tr=E(It,Dr,1);var Ti=E(It,Dr+1,3);if(Dr+=3,Ti)if(Ti==1)Tr=S,vn=I,on=9,Gn=5;else if(Ti==2){var dt=E(It,Dr,31)+257,Me=E(It,Dr+10,15)+4,Xe=dt+E(It,Dr+5,31)+1;Dr+=14;for(var Qe=new A(Xe),st=new A(19),nt=0;ntdi)break;for(var Et=g(st,ft,1),nt=0;nt>>4;if(Fi<16)Qe[nt++]=Fi;else{var Ur=0,Lr=0;for(Fi==16?(Lr=3+E(It,Dr,3),Dr+=2,Ur=Qe[nt-1]):Fi==17?(Lr=3+E(It,Dr,7),Dr+=3):Fi==18&&(Lr=11+E(It,Dr,127),Dr+=7);Lr--;)Qe[nt++]=Ur}}var Vr=Qe.subarray(0,dt),sr=Qe.subarray(dt);on=C(Vr),Gn=C(sr),Tr=g(Vr,on,1),vn=g(sr,Gn,1)}else throw"invalid block type";else{var Fi=M(Dr)+4,la=It[Fi-4]|It[Fi-3]<<8,Ta=Fi+la;if(Ta>gr){if(rr)throw"unexpected EOF";break}Mt&&Dt(dr+la),Ct.set(It.subarray(Fi,Ta),dr),mr.b=dr+=la,mr.p=Dr=Ta*8;continue}if(Dr>di)throw"unexpected EOF"}Mt&&Dt(dr+131072);for(var Bn=(1<>>4;if(Dr+=Ur&15,Dr>di)throw"unexpected EOF";if(!Ur)throw"invalid length/literal";if(rn<256)Ct[dr++]=rn;else if(rn==256){Tr=null;break}else{var Br=rn-254;if(rn>264){var nt=rn-257,Vn=e[nt];Br=E(It,Dr,(1<>>4;if(!gi)throw"invalid distance";Dr+=gi&15;var sr=u[Ni];if(Ni>3){var Vn=m[Ni];sr+=O(It,Dr)&(1<di)throw"unexpected EOF";Mt&&Dt(dr+131072);for(var Wi=dr+Br;dr>0;It[gr]|=mr,It[gr+1]|=mr>>>8},X=function(It,Ct,mr){mr<<=Ct&7;var gr=Ct/8>>0;It[gr]|=mr,It[gr+1]|=mr>>>8,It[gr+2]|=mr>>>16},J=function(It,Ct){for(var mr=[],gr=0;gron&&(on=rr[gr].s);var Gn=new f(on+1),di=k(mr[Tr-1],Gn,0);if(di>Ct){var gr=0,Ti=0,Fi=di-Ct,la=1<Ct)Ti+=la-(1<>>=Fi;Ti>0;){var dt=rr[gr].s;Gn[dt]=0&&Ti;--gr){var Me=rr[gr].s;Gn[Me]==Ct&&(--Gn[Me],++Ti)}di=Ct}return[new A(Gn),di]},k=function ar(It,Ct,mr){return It.s==-1?Math.max(ar(It.l,Ct,mr+1),ar(It.r,Ct,mr+1)):Ct[It.s]=mr},K=function(It){for(var Ct=It.length;Ct&&!It[--Ct];);for(var mr=new f(++Ct),gr=0,Mt=It[0],rr=1,Dt=function(dr){mr[gr++]=dr},tr=1;tr<=Ct;++tr)if(It[tr]==Mt&&tr!=Ct)++rr;else{if(!Mt&&rr>2){for(;rr>138;rr-=138)Dt(32754);rr>2&&(Dt(rr>10?rr-11<<5|28690:rr-3<<5|12305),rr=0)}else if(rr>3){for(Dt(Mt),--rr;rr>6;rr-=6)Dt(8304);rr>2&&(Dt(rr-3<<5|8208),rr=0)}for(;rr--;)Dt(Mt);rr=1,Mt=It[tr]}return[mr.subarray(0,gr),Ct]},z=function(It,Ct){for(var mr=0,gr=0;gr>>8,It[Mt+2]=It[Mt]^255,It[Mt+3]=It[Mt+1]^255;for(var rr=0;rr4&&!Bt[d[nr-1]];--nr);var Ur=dr+5<<3,Lr=z(Mt,v)+z(rr,y)+Dt,Vr=z(Mt,on)+z(rr,Ti)+Dt+14+3*nr+z(st,Bt)+(2*st[16]+3*st[17]+7*st[18]);if(Ur<=Lr&&Ur<=Vr)return W(Ct,Tr,It.subarray(Dr,Dr+dr));var sr,Bn,Er,gn;if(B(Ct,Tr,1+(Vr15&&(B(Ct,Tr,gi[nt]>>>5&127),Tr+=gi[nt]>>>12)}}else sr=w,Bn=v,Er=_,gn=y;for(var nt=0;nt255){var Ni=gr[nt]>>>18&31;X(Ct,Tr,sr[Ni+257]),Tr+=Bn[Ni+257],Ni>7&&(B(Ct,Tr,gr[nt]>>>23&31),Tr+=e[Ni]);var Wi=gr[nt]&31;X(Ct,Tr,Er[Wi]),Tr+=gn[Wi],Wi>3&&(X(Ct,Tr,gr[nt]>>>5&8191),Tr+=m[Wi])}else X(Ct,Tr,sr[gr[nt]]),Tr+=Bn[gr[nt]];return X(Ct,Tr,sr[256]),Tr+Bn[256]},G=new t([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),V=new A(0),q=function(It,Ct,mr,gr,Mt,rr){var Dt=It.length,tr=new A(gr+Dt+5*(1+Math.floor(Dt/7e3))+Mt),Dr=tr.subarray(gr,tr.length-Mt),dr=0;if(!Ct||Dt<8)for(var Tr=0;Tr<=Dt;Tr+=65535){var vn=Tr+65535;vn>>13,di=on&8191,Ti=(1<7e3||Bt>24576)&&sr>423){dr=P(It,Dr,0,Xe,Qe,st,ft,Bt,nr,Tr-nr,dr),Bt=nt=ft=0,nr=Tr;for(var Bn=0;Bn<286;++Bn)Qe[Bn]=0;for(var Bn=0;Bn<30;++Bn)st[Bn]=0}var Er=2,gn=0,rn=di,Br=Lr-Vr&32767;if(sr>2&&Ur==Me(Tr-Br))for(var Vn=Math.min(Gn,sr)-1,gi=Math.min(32767,Tr),Ni=Math.min(258,sr);Br<=gi&&--rn&&Lr!=Vr;){if(It[Tr+Er]==It[Tr+Er-Br]){for(var Wi=0;WiEr){if(Er=Wi,gn=Br,Wi>Vn)break;for(var zi=Math.min(Br,Wi-2),Yi=0,Bn=0;BnYi&&(Yi=zn,Vr=mi)}}}Lr=Vr,Vr=Fi[Lr],Br+=Lr-Vr+32768&32767}if(gn){Xe[Bt++]=268435456|c[Er]<<18|r[gn];var fn=c[Er]&31,$n=r[gn]&31;ft+=e[fn]+m[$n],++Qe[257+fn],++st[$n],Et=Tr+Er,++nt}else Xe[Bt++]=It[Tr],++Qe[It[Tr]]}}dr=P(It,Dr,rr,Xe,Qe,st,ft,Bt,nr,Tr-nr,dr),rr||(dr=W(Dr,dr,V))}return F(tr,0,gr+M(dr)+Mt)},re=function(){for(var ar=new t(256),It=0;It<256;++It){for(var Ct=It,mr=9;--mr;)Ct=(Ct&1&&3988292384)^Ct>>>1;ar[It]=Ct}return ar}(),ce=function(){var It=4294967295;return{p:function(mr){for(var gr=It,Mt=0;Mt>>8;It=gr},d:function(){return It^4294967295}}},ie=function(){var It=1,Ct=0;return{p:function(gr){for(var Mt=It,rr=Ct,Dt=gr.length,tr=0;tr!=Dt;){for(var Dr=Math.min(tr+5552,Dt);tr>>8<<16|(Ct&255)<<8|Ct>>>8)+((It&255)<<23)*2}}},fe=function(It,Ct,mr,gr,Mt){return q(It,Ct.level==null?6:Ct.level,Ct.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(It.length)))*1.5):12+Ct.mem,mr,gr,!Mt)},xe=function(It,Ct){var mr={};for(var gr in It)mr[gr]=It[gr];for(var gr in Ct)mr[gr]=Ct[gr];return mr},Se=function(It,Ct,mr){for(var gr=It(),Mt=It.toString(),rr=Mt.slice(Mt.indexOf("[")+1,Mt.lastIndexOf("]")).replace(/ /g,"").split(","),Dt=0;Dt>>=8},it=function(It,Ct){var mr=Ct.filename;if(It[0]=31,It[1]=139,It[2]=8,It[8]=Ct.level<2?4:Ct.level==9?2:0,It[9]=3,Ct.mtime!=0&&Re(It,4,Math.floor(new Date(Ct.mtime||Date.now())/1e3)),mr){It[3]=8;for(var gr=0;gr<=mr.length;++gr)It[gr+10]=mr.charCodeAt(gr)}},yt=function(It){if(It[0]!=31||It[1]!=139||It[2]!=8)throw"invalid gzip data";var Ct=It[3],mr=10;Ct&4&&(mr+=It[10]|(It[11]<<8)+2);for(var gr=(Ct>>3&1)+(Ct>>4&1);gr>0;gr-=!It[mr++]);return mr+(Ct&2)},pt=function(It){var Ct=It.length;return(It[Ct-4]|It[Ct-3]<<8|It[Ct-2]<<16)+2*(It[Ct-1]<<23)},Pe=function(It){return 10+(It.filename&&It.filename.length+1||0)},Nt=function(It,Ct){var mr=Ct.level,gr=mr==0?0:mr<6?1:mr==9?3:2;It[0]=120,It[1]=gr<<6|(gr?32-2*gr:1)},ut=function(It){if((It[0]&15)!=8||It[0]>>>4>7||(It[0]<<8|It[1])%31)throw"invalid zlib data";if(It[1]&32)throw"invalid zlib data: preset dictionaries not supported"};function Ft(ar,It){return!It&&typeof ar=="function"&&(It=ar,ar={}),this.ondata=It,ar}var Ut=function(){function ar(It,Ct){!Ct&&typeof It=="function"&&(Ct=It,It={}),this.ondata=Ct,this.o=It||{}}return ar.prototype.p=function(It,Ct){this.ondata(fe(It,this.o,0,0,!Ct),Ct)},ar.prototype.push=function(It,Ct){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";this.d=Ct,this.p(It,Ct||!1)},ar}(),Kt=function(){function ar(It,Ct){Ne([ue,function(){return[De,Ut]}],this,Ft.call(this,It,Ct),function(mr){var gr=new Ut(mr.data);onmessage=De(gr)},6)}return ar}();function $t(ar,It,Ct){if(Ct||(Ct=It,It={}),typeof Ct!="function")throw"no callback";return pe(ar,It,[ue],function(mr){return te(or(mr.data[0],mr.data[1]))},0,Ct)}function or(ar,It){return It===void 0&&(It={}),fe(ar,It,0,0)}var ht=function(){function ar(It){this.s={},this.p=new A(0),this.ondata=It}return ar.prototype.e=function(It){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";var Ct=this.p.length,mr=new A(Ct+It.length);mr.set(this.p),mr.set(It,Ct),this.p=mr},ar.prototype.c=function(It){this.d=this.s.i=It||!1;var Ct=this.s.b,mr=H(this.p,this.o,this.s);this.ondata(F(mr,Ct,this.s.b),this.d),this.o=F(mr,this.s.b-32768),this.s.b=this.o.length,this.p=F(this.p,this.s.p/8>>0),this.s.p&=7},ar.prototype.push=function(It,Ct){this.e(It),this.c(Ct)},ar}(),Ee=function(){function ar(It){this.ondata=It,Ne([ee,function(){return[De,ht]}],this,0,function(){var Ct=new ht;onmessage=De(Ct)},7)}return ar}();function de(ar,It,Ct){if(Ct||(Ct=It,It={}),typeof Ct!="function")throw"no callback";return pe(ar,It,[ee],function(mr){return te(qe(mr.data[0],we(mr.data[1])))},1,Ct)}function qe(ar,It){return H(ar,It)}var rt=function(){function ar(It,Ct){this.c=ce(),this.l=0,this.v=1,Ut.call(this,It,Ct)}return ar.prototype.push=function(It,Ct){Ut.prototype.push.call(this,It,Ct)},ar.prototype.p=function(It,Ct){this.c.p(It),this.l+=It.length;var mr=fe(It,this.o,this.v&&Pe(this.o),Ct&&8,!Ct);this.v&&(it(mr,this.o),this.v=0),Ct&&(Re(mr,mr.length-8,this.c.d()),Re(mr,mr.length-4,this.l)),this.ondata(mr,Ct)},ar}(),ve=function(){function ar(It,Ct){Ne([ue,Ge,function(){return[De,Ut,rt]}],this,Ft.call(this,It,Ct),function(mr){var gr=new rt(mr.data);onmessage=De(gr)},8)}return ar}();function bt(ar,It,Ct){if(Ct||(Ct=It,It={}),typeof Ct!="function")throw"no callback";return pe(ar,It,[ue,Ge,function(){return[jt]}],function(mr){return te(jt(mr.data[0],mr.data[1]))},2,Ct)}function jt(ar,It){It===void 0&&(It={});var Ct=ce(),mr=ar.length;Ct.p(ar);var gr=fe(ar,It,Pe(It),8),Mt=gr.length;return it(gr,It),Re(gr,Mt-8,Ct.d()),Re(gr,Mt-4,mr),gr}var He=function(){function ar(It){this.v=1,ht.call(this,It)}return ar.prototype.push=function(It,Ct){if(ht.prototype.e.call(this,It),this.v){var mr=yt(this.p);if(mr>=this.p.length&&!Ct)return;this.p=this.p.subarray(mr),this.v=0}if(Ct){if(this.p.length<8)throw"invalid gzip stream";this.p=this.p.subarray(0,-8)}ht.prototype.c.call(this,Ct)},ar}(),kt=function(){function ar(It){this.ondata=It,Ne([ee,ae,function(){return[De,ht,He]}],this,0,function(){var Ct=new He;onmessage=De(Ct)},9)}return ar}();function Ar(ar,It,Ct){if(Ct||(Ct=It,It={}),typeof Ct!="function")throw"no callback";return pe(ar,It,[ee,ae,function(){return[at]}],function(mr){return te(at(mr.data[0]))},3,Ct)}function at(ar,It){return H(ar.subarray(yt(ar),-8),It||new A(pt(ar)))}var Ht=function(){function ar(It,Ct){this.c=ie(),this.v=1,Ut.call(this,It,Ct)}return ar.prototype.push=function(It,Ct){Ut.prototype.push.call(this,It,Ct)},ar.prototype.p=function(It,Ct){this.c.p(It);var mr=fe(It,this.o,this.v&&2,Ct&&4,!Ct);this.v&&(Nt(mr,this.o),this.v=0),Ct&&Re(mr,mr.length-4,this.c.d()),this.ondata(mr,Ct)},ar}(),Wt=function(){function ar(It,Ct){Ne([ue,Z,function(){return[De,Ut,Ht]}],this,Ft.call(this,It,Ct),function(mr){var gr=new Ht(mr.data);onmessage=De(gr)},10)}return ar}();function ot(ar,It,Ct){if(Ct||(Ct=It,It={}),typeof Ct!="function")throw"no callback";return pe(ar,It,[ue,Z,function(){return[et]}],function(mr){return te(et(mr.data[0],mr.data[1]))},4,Ct)}function et(ar,It){It===void 0&&(It={});var Ct=ie();Ct.p(ar);var mr=fe(ar,It,2,4);return Nt(mr,It),Re(mr,mr.length-4,Ct.d()),mr}var Ze=function(){function ar(It){this.v=1,ht.call(this,It)}return ar.prototype.push=function(It,Ct){if(ht.prototype.e.call(this,It),this.v){if(this.p.length<2&&!Ct)return;this.p=this.p.subarray(2),this.v=0}if(Ct){if(this.p.length<4)throw"invalid zlib stream";this.p=this.p.subarray(0,-4)}ht.prototype.c.call(this,Ct)},ar}(),Gt=function(){function ar(It){this.ondata=It,Ne([ee,Y,function(){return[De,ht,Ze]}],this,0,function(){var Ct=new Ze;onmessage=De(Ct)},11)}return ar}();function yr(ar,It,Ct){if(Ct||(Ct=It,It={}),typeof Ct!="function")throw"no callback";return pe(ar,It,[ee,Y,function(){return[br]}],function(mr){return te(br(mr.data[0],we(mr.data[1])))},5,Ct)}function br(ar,It){return H((ut(ar),ar.subarray(2,-4)),It)}var Sr=function(){function ar(It){this.G=He,this.I=ht,this.Z=Ze,this.ondata=It}return ar.prototype.push=function(It,Ct){if(!this.ondata)throw"no stream handler";if(this.s)this.s.push(It,Ct);else{if(this.p&&this.p.length){var mr=new A(this.p.length+It.length);mr.set(this.p),mr.set(It,this.p.length)}else this.p=It;if(this.p.length>2){var gr=this,Mt=function(){gr.ondata.apply(gr,arguments)};this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(Mt):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(Mt):new this.Z(Mt),this.s.push(this.p,Ct),this.p=null}}},ar}(),Tn=function(){function ar(It){this.G=kt,this.I=Ee,this.Z=Gt,this.ondata=It}return ar.prototype.push=function(It,Ct){Sr.prototype.push.call(this,It,Ct)},ar}();function cn(ar,It,Ct){if(Ct||(Ct=It,It={}),typeof Ct!="function")throw"no callback";return ar[0]==31&&ar[1]==139&&ar[2]==8?Ar(ar,It,Ct):(ar[0]&15)!=8||ar[0]>>4>7||(ar[0]<<8|ar[1])%31?de(ar,It,Ct):yr(ar,It,Ct)}function Wn(ar,It){return ar[0]==31&&ar[1]==139&&ar[2]==8?at(ar,It):(ar[0]&15)!=8||ar[0]>>4>7||(ar[0]<<8|ar[1])%31?qe(ar,It):br(ar,It)}var lt=function ar(It,Ct,mr,gr){for(var Mt in It){var rr=It[Mt],Dt=Ct+Mt;rr instanceof A?mr[Dt]=[rr,gr]:Array.isArray(rr)?mr[Dt]=[rr[0],xe(gr,rr[1])]:ar(rr,Dt+"/",mr,gr)}};function mt(ar,It){var Ct=ar.length;if(!It&&typeof TextEncoder!="undefined")return new TextEncoder().encode(ar);for(var mr=new A(ar.length+(ar.length>>>1)),gr=0,Mt=function(dr){mr[gr++]=dr},rr=0;rrmr.length){var Dt=new A(gr+8+(Ct-rr<<1));Dt.set(mr),mr=Dt}var tr=ar.charCodeAt(rr);tr<128||It?Mt(tr):tr<2048?(Mt(192|tr>>>6),Mt(128|tr&63)):tr>55295&&tr<57344?(tr=65536+(tr&1023<<10)|ar.charCodeAt(++rr)&1023,Mt(240|tr>>>18),Mt(128|tr>>>12&63),Mt(128|tr>>>6&63),Mt(128|tr&63)):(Mt(224|tr>>>12),Mt(128|tr>>>6&63),Mt(128|tr&63))}return F(mr,0,gr)}function Le(ar,It){var Ct="";if(!It&&typeof TextDecoder!="undefined")return new TextDecoder().decode(ar);for(var mr=0;mr>10,56320|gr&1023))}return Ct}var ze=function(It,Ct){return Ct+30+me(It,Ct+26)+me(It,Ct+28)},$e=function(It,Ct,mr){var gr=me(It,Ct+28),Mt=Le(It.subarray(Ct+46,Ct+46+gr),!(me(It,Ct+8)&2048)),rr=Ct+46+gr,Dt=mr?gt(It,rr):[be(It,Ct+20),be(It,Ct+24),be(It,Ct+42)],tr=Dt[0],Dr=Dt[1],dr=Dt[2];return[me(It,Ct+10),tr,Dr,Mt,rr+me(It,Ct+30)+me(It,Ct+32),dr]},gt=function(It,Ct){for(;me(It,Ct)!=1;Ct+=4+me(It,Ct+2));return[be(It,Ct+12),be(It,Ct+4),be(It,Ct+20)]},ir=function(It,Ct,mr,gr,Mt,rr,Dt,tr,Dr,dr){var Tr=rr.length,vn=gr.length;Re(It,Ct,Dr!=null?33639248:67324752),Ct+=4,Dr!=null&&(It[Ct]=20,Ct+=2),It[Ct]=20,Ct+=2,It[Ct++]=dr==8&&(tr.level==1?6:tr.level<6?4:tr.level==9?2:0),It[Ct++]=Dt&&8,It[Ct]=dr,Ct+=2;var on=new Date(tr.mtime||Date.now()),Gn=on.getFullYear()-1980;if(Gn<0||Gn>119)throw"date not in range 1980-2099";Re(It,Ct,(Gn<<24)*2|on.getMonth()+1<<21|on.getDate()<<16|on.getHours()<<11|on.getMinutes()<<5|on.getSeconds()>>>1),Ct+=4,Re(It,Ct,mr),Re(It,Ct+4,vn),Re(It,Ct+8,Mt),Re(It,Ct+12,Tr),Ct+=16,Dr!=null&&(Re(It,Ct+=10,Dr),Ct+=4),It.set(rr,Ct),Ct+=Tr,Dr==null&&It.set(gr,Ct)},Xt=function(It,Ct,mr,gr,Mt){Re(It,Ct,101010256),Re(It,Ct+8,mr),Re(It,Ct+10,mr),Re(It,Ct+12,gr),Re(It,Ct+16,Mt)};function er(ar,It,Ct){if(Ct||(Ct=It,It={}),typeof Ct!="function")throw"no callback";var mr={};lt(ar,"",mr,It);var gr=Object.keys(mr),Mt=gr.length,rr=0,Dt=0,tr=Mt,Dr=new Array(Mt),dr=[],Tr=function(){for(var Ti=0;Ti65535&&ft("filename too long",null),!nt)ft(null,Ta);else if(Xe<16e4)try{ft(null,or(Ta,dt))}catch(Bt){ft(Bt,null)}else dr.push($t(Ta,dt,ft))},Gn=0;Gn65535)throw"filename too long";var on=dr?or(tr,Dr):tr,Gn=on.length,di=ce();di.p(tr),mr.push({t:dr,d:on,m:tr.length,c:di.d(),u:rr.length!=vn,n:Tr,o:gr,p:Dr}),gr+=30+vn+Gn,Mt+=76+2*vn+Gn}for(var Ti=new A(Mt+22),Fi=gr,la=Mt-gr,Ta=0;Ta65558){It("invalid zip file",null);return}var rr=me(ar,Mt+8);rr||It(null,{});var Dt=rr,tr=be(ar,Mt+16),Dr=tr==4294967295;if(Dr){if(Mt=be(ar,Mt-12),be(ar,Mt)!=101075792)throw"invalid zip file";Dt=rr=be(ar,Mt+32),tr=be(ar,Mt+48)}for(var dr=function(on){var Gn=$e(ar,tr,Dr),di=Gn[0],Ti=Gn[1],Fi=Gn[2],la=Gn[3],Ta=Gn[4],dt=Gn[5],Me=ze(ar,dt);tr=Ta;var Xe=function(nt,ft){nt?(mr(),It(nt,null)):(gr[la]=ft,--rr||It(null,gr))};if(!di)Xe(null,F(ar,Me,Me+Ti));else if(di==8){var Qe=ar.subarray(Me,Me+Ti);if(Ti<32e4)try{Xe(null,qe(Qe,new A(Fi)))}catch(st){Xe(st,null)}else Ct.push(de(Qe,{size:Fi},Xe))}else Xe("unknown compression type "+di,null)},Tr=0;Tr65558)throw"invalid zip file";var mr=me(ar,Ct+8);if(!mr)return{};var gr=be(ar,Ct+16),Mt=gr==4294967295;if(Mt){if(Ct=be(ar,Ct-12),be(ar,Ct)!=101075792)throw"invalid zip file";mr=be(ar,Ct+32),gr=be(ar,Ct+48)}for(var rr=0;rr=0)return!0}var r=new RegExp("["+d+"]+","g");function o(w){for(var S=w.split(/\n+/g),_=i(S.shift()).split(r),I=[],C=b.map(_,function(F){return{name:F,data:[]}}),E=0;E\x80/\f\xA9\xFEdSiz";var nt=(Me+this.padding).substr(0,32),ft=(Xe+this.padding).substr(0,32);this.O=this.processOwnerPassword(nt,ft),this.P=-(1+(255^st)),this.encryptionKey=C(nt+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(Qe)).substr(0,5),this.U=M(this.encryptionKey,this.padding)}function B(dt){if(/[^\u0000-\u00ff]/.test(dt))throw new Error("Invalid PDF Name Object: "+dt+", Only accept ASCII characters.");for(var Me="",Xe=dt.length,Qe=0;Qe126?Me+="#"+("0"+st.toString(16)).slice(-2):Me+=dt[Qe]}return Me}function X(dt){if(A()(dt)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var Me={};this.subscribe=function(Xe,Qe,st){if(st=st||!1,typeof Xe!="string"||typeof Qe!="function"||typeof st!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");Me.hasOwnProperty(Xe)||(Me[Xe]={});var nt=Math.random().toString(35);return Me[Xe][nt]=[Qe,!!st],nt},this.unsubscribe=function(Xe){for(var Qe in Me)if(Me[Qe][Xe])return delete Me[Qe][Xe],Object.keys(Me[Qe]).length===0&&delete Me[Qe],!0;return!1},this.publish=function(Xe){if(Me.hasOwnProperty(Xe)){var Qe=Array.prototype.slice.call(arguments,1),st=[];for(var nt in Me[Xe]){var ft=Me[Xe][nt];try{ft[0].apply(dt,Qe)}catch(Bt){t.console&&m.error("jsPDF PubSub Error",Bt.message,Bt)}ft[1]&&st.push(nt)}st.length&&st.forEach(this.unsubscribe)}},this.getTopics=function(){return Me}}function J(dt){if(!(this instanceof J))return new J(dt);var Me="opacity,stroke-opacity".split(",");for(var Xe in dt)dt.hasOwnProperty(Xe)&&Me.indexOf(Xe)>=0&&(this[Xe]=dt[Xe]);this.id="",this.objectNumber=-1}function k(dt,Me){this.gState=dt,this.matrix=Me,this.id="",this.objectNumber=-1}function W(dt,Me,Xe,Qe,st){if(!(this instanceof W))return new W(dt,Me,Xe,Qe,st);this.type=dt==="axial"?2:3,this.coords=Me,this.colors=Xe,k.call(this,Qe,st)}function z(dt,Me,Xe,Qe,st){if(!(this instanceof z))return new z(dt,Me,Xe,Qe,st);this.boundingBox=dt,this.xStep=Me,this.yStep=Xe,this.stream="",this.cloneIndex=0,k.call(this,Qe,st)}function K(dt){var Me,Xe=typeof arguments[0]=="string"?arguments[0]:"p",Qe=arguments[1],st=arguments[2],nt=arguments[3],ft=[],Bt=1,Et=16,nr="S",Ur=null;A()(dt=dt||{})==="object"&&(Xe=dt.orientation,Qe=dt.unit||Qe,st=dt.format||st,nt=dt.compress||dt.compressPdf||nt,(Ur=dt.encryption||null)!==null&&(Ur.userPassword=Ur.userPassword||"",Ur.ownerPassword=Ur.ownerPassword||"",Ur.userPermissions=Ur.userPermissions||[]),Bt=typeof dt.userUnit=="number"?Math.abs(dt.userUnit):1,dt.precision!==void 0&&(Me=dt.precision),dt.floatPrecision!==void 0&&(Et=dt.floatPrecision),nr=dt.defaultPathOperation||"S"),ft=dt.filters||(nt===!0?["FlateEncode"]:ft),Qe=Qe||"mm",Xe=(""+(Xe||"P")).toLowerCase();var Lr=dt.putOnlyUsedFonts||!1,Vr={},sr={internal:{},__private__:{}};sr.__private__.PubSub=X;var Bn="1.3",Er=sr.__private__.getPdfVersion=function(){return Bn};sr.__private__.setPdfVersion=function(Rt){Bn=Rt};var gn={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};sr.__private__.getPageFormats=function(){return gn};var rn=sr.__private__.getPageFormat=function(Rt){return gn[Rt]};st=st||"a4";var Br={COMPAT:"compat",ADVANCED:"advanced"},Vn=Br.COMPAT;function gi(){this.saveGraphicsState(),dn(new Ai(hn,0,0,-hn,0,Ts()*hn).toString()+" cm"),this.setFontSize(this.getFontSize()/hn),nr="n",Vn=Br.ADVANCED}function Ni(){this.restoreGraphicsState(),nr="S",Vn=Br.COMPAT}var Ki=sr.__private__.combineFontStyleAndFontWeight=function(Rt,qt){if(Rt=="bold"&&qt=="normal"||Rt=="bold"&&qt==400||Rt=="normal"&&qt=="italic"||Rt=="bold"&&qt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return qt&&(Rt=qt==400||qt==="normal"?Rt==="italic"?"italic":"normal":qt!=700&&qt!=="bold"||Rt!=="normal"?(qt==700?"bold":qt)+""+Rt:"bold"),Rt};sr.advancedAPI=function(Rt){var qt=Vn===Br.COMPAT;return qt&&gi.call(this),typeof Rt!="function"||(Rt(this),qt&&Ni.call(this)),this},sr.compatAPI=function(Rt){var qt=Vn===Br.ADVANCED;return qt&&Ni.call(this),typeof Rt!="function"||(Rt(this),qt&&gi.call(this)),this},sr.isAdvancedAPI=function(){return Vn===Br.ADVANCED};var zi,Yi=function(qt){if(Vn!==Br.ADVANCED)throw new Error(qt+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},mi=sr.roundToPrecision=sr.__private__.roundToPrecision=function(Rt,qt){var En=Me||qt;if(isNaN(Rt)||isNaN(En))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Rt.toFixed(En).replace(/0+$/,"")};zi=sr.hpf=sr.__private__.hpf=typeof Et=="number"?function(Rt){if(isNaN(Rt))throw new Error("Invalid argument passed to jsPDF.hpf");return mi(Rt,Et)}:Et==="smart"?function(Rt){if(isNaN(Rt))throw new Error("Invalid argument passed to jsPDF.hpf");return mi(Rt,Rt>-1&&Rt<1?16:5)}:function(Rt){if(isNaN(Rt))throw new Error("Invalid argument passed to jsPDF.hpf");return mi(Rt,16)};var va=sr.f2=sr.__private__.f2=function(Rt){if(isNaN(Rt))throw new Error("Invalid argument passed to jsPDF.f2");return mi(Rt,2)},zn=sr.__private__.f3=function(Rt){if(isNaN(Rt))throw new Error("Invalid argument passed to jsPDF.f3");return mi(Rt,3)},fn=sr.scale=sr.__private__.scale=function(Rt){if(isNaN(Rt))throw new Error("Invalid argument passed to jsPDF.scale");return Vn===Br.COMPAT?Rt*hn:Vn===Br.ADVANCED?Rt:void 0},$n=function(qt){return Vn===Br.COMPAT?Ts()-qt:Vn===Br.ADVANCED?qt:void 0},Cn=function(qt){return fn($n(qt))};sr.__private__.setPrecision=sr.setPrecision=function(Rt){typeof parseInt(Rt,10)=="number"&&(Me=parseInt(Rt,10))};var ki,In="00000000000000000000000000000000",na=sr.__private__.getFileId=function(){return In},Ei=sr.__private__.setFileId=function(Rt){return In=Rt!==void 0&&/^[a-fA-F0-9]{32}$/.test(Rt)?Rt.toUpperCase():In.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Ur!==null&&(Jo=new H(Ur.userPermissions,Ur.userPassword,Ur.ownerPassword,In)),In};sr.setFileId=function(Rt){return Ei(Rt),this},sr.getFileId=function(){return na()};var pi=sr.__private__.convertDateToPDFDate=function(Rt){var qt=Rt.getTimezoneOffset(),En=qt<0?"+":"-",ri=Math.floor(Math.abs(qt/60)),Lt=Math.abs(qt%60),he=[En,Yn(ri),"'",Yn(Lt),"'"].join("");return["D:",Rt.getFullYear(),Yn(Rt.getMonth()+1),Yn(Rt.getDate()),Yn(Rt.getHours()),Yn(Rt.getMinutes()),Yn(Rt.getSeconds()),he].join("")},Ri=sr.__private__.convertPDFDateToDate=function(Rt){var qt=parseInt(Rt.substr(2,4),10),En=parseInt(Rt.substr(6,2),10)-1,ri=parseInt(Rt.substr(8,2),10),Lt=parseInt(Rt.substr(10,2),10),he=parseInt(Rt.substr(12,2),10),Ce=parseInt(Rt.substr(14,2),10);return new Date(qt,En,ri,Lt,he,Ce,0)},Na=sr.__private__.setCreationDate=function(Rt){var qt;if(Rt===void 0&&(Rt=new Date),Rt instanceof Date)qt=pi(Rt);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(Rt))throw new Error("Invalid argument passed to jsPDF.setCreationDate");qt=Rt}return ki=qt},Un=sr.__private__.getCreationDate=function(Rt){var qt=ki;return Rt==="jsDate"&&(qt=Ri(ki)),qt};sr.setCreationDate=function(Rt){return Na(Rt),this},sr.getCreationDate=function(Rt){return Un(Rt)};var nn,Yn=sr.__private__.padd2=function(Rt){return("0"+parseInt(Rt)).slice(-2)},bi=sr.__private__.padd2Hex=function(Rt){return("00"+(Rt=Rt.toString())).substr(Rt.length)},Oi=0,_i=[],Zi=[],qi=0,ea=[],ya=[],co=!1,io=Zi,rs=function(){Oi=0,qi=0,Zi=[],_i=[],ea=[],jr=bn(),wr=bn()};sr.__private__.setCustomOutputDestination=function(Rt){co=!0,io=Rt};var Pi=function(qt){co||(io=qt)};sr.__private__.resetCustomOutputDestination=function(){co=!1,io=Zi};var dn=sr.__private__.out=function(Rt){return Rt=Rt.toString(),qi+=Rt.length+1,io.push(Rt),io},ha=sr.__private__.write=function(Rt){return dn(arguments.length===1?Rt.toString():Array.prototype.join.call(arguments," "))},ba=sr.__private__.getArrayBuffer=function(Rt){for(var qt=Rt.length,En=new ArrayBuffer(qt),ri=new Uint8Array(En);qt--;)ri[qt]=Rt.charCodeAt(qt);return En},ta=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];sr.__private__.getStandardFonts=function(){return ta};var so=dt.fontSize||16;sr.__private__.setFontSize=sr.setFontSize=function(Rt){return so=Vn===Br.ADVANCED?Rt/hn:Rt,this};var lr,pn=sr.__private__.getFontSize=sr.getFontSize=function(){return Vn===Br.COMPAT?so:so*hn},_n=dt.R2L||!1;sr.__private__.setR2L=sr.setR2L=function(Rt){return _n=Rt,this},sr.__private__.getR2L=sr.getR2L=function(){return _n};var Pn,ct=sr.__private__.setZoomMode=function(Rt){var qt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*%$/.test(Rt))lr=Rt;else if(isNaN(Rt)){if(qt.indexOf(Rt)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Rt+'" is not recognized.');lr=Rt}else lr=parseInt(Rt,10)};sr.__private__.getZoomMode=function(){return lr};var Vt,Cr=sr.__private__.setPageMode=function(Rt){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Rt)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Rt+'" is not recognized.');Pn=Rt};sr.__private__.getPageMode=function(){return Pn};var xr=sr.__private__.setLayoutMode=function(Rt){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Rt)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Rt+'" is not recognized.');Vt=Rt};sr.__private__.getLayoutMode=function(){return Vt},sr.__private__.setDisplayMode=sr.setDisplayMode=function(Rt,qt,En){return ct(Rt),xr(qt),Cr(En),this};var Gr={title:"",subject:"",author:"",keywords:"",creator:""};sr.__private__.getDocumentProperty=function(Rt){if(Object.keys(Gr).indexOf(Rt)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Gr[Rt]},sr.__private__.getDocumentProperties=function(){return Gr},sr.__private__.setDocumentProperties=sr.setProperties=sr.setDocumentProperties=function(Rt){for(var qt in Gr)Gr.hasOwnProperty(qt)&&Rt[qt]&&(Gr[qt]=Rt[qt]);return this},sr.__private__.setDocumentProperty=function(Rt,qt){if(Object.keys(Gr).indexOf(Rt)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Gr[Rt]=qt};var $r,hn,On,Qn,qn,si={},oi={},Wn=[],Zn={},ni={},wi={},Di={},Ui=null,ca=0,ia=[],Ia=new X(sr),Fa=dt.hotfixes||[],Aa={},Ea={},xa=[],Ai=function Rt(qt,En,ri,Lt,he,Ce){if(!(this instanceof Rt))return new Rt(qt,En,ri,Lt,he,Ce);isNaN(qt)&&(qt=1),isNaN(En)&&(En=0),isNaN(ri)&&(ri=0),isNaN(Lt)&&(Lt=1),isNaN(he)&&(he=0),isNaN(Ce)&&(Ce=0),this._matrix=[qt,En,ri,Lt,he,Ce]};Object.defineProperty(Ai.prototype,"sx",{get:function(){return this._matrix[0]},set:function(qt){this._matrix[0]=qt}}),Object.defineProperty(Ai.prototype,"shy",{get:function(){return this._matrix[1]},set:function(qt){this._matrix[1]=qt}}),Object.defineProperty(Ai.prototype,"shx",{get:function(){return this._matrix[2]},set:function(qt){this._matrix[2]=qt}}),Object.defineProperty(Ai.prototype,"sy",{get:function(){return this._matrix[3]},set:function(qt){this._matrix[3]=qt}}),Object.defineProperty(Ai.prototype,"tx",{get:function(){return this._matrix[4]},set:function(qt){this._matrix[4]=qt}}),Object.defineProperty(Ai.prototype,"ty",{get:function(){return this._matrix[5]},set:function(qt){this._matrix[5]=qt}}),Object.defineProperty(Ai.prototype,"a",{get:function(){return this._matrix[0]},set:function(qt){this._matrix[0]=qt}}),Object.defineProperty(Ai.prototype,"b",{get:function(){return this._matrix[1]},set:function(qt){this._matrix[1]=qt}}),Object.defineProperty(Ai.prototype,"c",{get:function(){return this._matrix[2]},set:function(qt){this._matrix[2]=qt}}),Object.defineProperty(Ai.prototype,"d",{get:function(){return this._matrix[3]},set:function(qt){this._matrix[3]=qt}}),Object.defineProperty(Ai.prototype,"e",{get:function(){return this._matrix[4]},set:function(qt){this._matrix[4]=qt}}),Object.defineProperty(Ai.prototype,"f",{get:function(){return this._matrix[5]},set:function(qt){this._matrix[5]=qt}}),Object.defineProperty(Ai.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ai.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ai.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ai.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Ai.prototype.join=function(Rt){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(zi).join(Rt)},Ai.prototype.multiply=function(Rt){var qt=Rt.sx*this.sx+Rt.shy*this.shx,En=Rt.sx*this.shy+Rt.shy*this.sy,ri=Rt.shx*this.sx+Rt.sy*this.shx,Lt=Rt.shx*this.shy+Rt.sy*this.sy,he=Rt.tx*this.sx+Rt.ty*this.shx+this.tx,Ce=Rt.tx*this.shy+Rt.ty*this.sy+this.ty;return new Ai(qt,En,ri,Lt,he,Ce)},Ai.prototype.decompose=function(){var Rt=this.sx,qt=this.shy,En=this.shx,ri=this.sy,Lt=this.tx,he=this.ty,Ce=Math.sqrt(Rt*Rt+qt*qt),Ie=(Rt/=Ce)*En+(qt/=Ce)*ri;En-=Rt*Ie,ri-=qt*Ie;var Ye=Math.sqrt(En*En+ri*ri);return Ie/=Ye,Rt*(ri/=Ye)>16&255,ri=Ye>>8&255,Lt=255&Ye}if(ri===void 0||he===void 0&&En===ri&&ri===Lt)if(typeof En=="string")qt=En+" "+Ce[0];else switch(Rt.precision){case 2:qt=va(En/255)+" "+Ce[0];break;case 3:default:qt=zn(En/255)+" "+Ce[0]}else if(he===void 0||A()(he)==="object"){if(he&&!isNaN(he.a)&&he.a===0)return qt=["1.","1.","1.",Ce[1]].join(" ");if(typeof En=="string")qt=[En,ri,Lt,Ce[1]].join(" ");else switch(Rt.precision){case 2:qt=[va(En/255),va(ri/255),va(Lt/255),Ce[1]].join(" ");break;default:case 3:qt=[zn(En/255),zn(ri/255),zn(Lt/255),Ce[1]].join(" ")}}else if(typeof En=="string")qt=[En,ri,Lt,he,Ce[2]].join(" ");else switch(Rt.precision){case 2:qt=[va(En),va(ri),va(Lt),va(he),Ce[2]].join(" ");break;case 3:default:qt=[zn(En),zn(ri),zn(Lt),zn(he),Ce[2]].join(" ")}return qt},kn=sr.__private__.getFilters=function(){return ft},Dn=sr.__private__.putStream=function(Rt){var qt=(Rt=Rt||{}).data||"",En=Rt.filters||kn(),ri=Rt.alreadyAppliedFilters||[],Lt=Rt.addLength1||!1,he=qt.length,Ce=Rt.objectId,Ie=function(Xi){return Xi};if(Ur!==null&&Ce===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Ur!==null&&(Ie=Jo.encryptor(Ce,0));var Ye={};En===!0&&(En=["FlateEncode"]);var _t=Rt.additionalKeyValues||[],Yt=(Ye=K.API.processDataByFilters!==void 0?K.API.processDataByFilters(qt,En):{data:qt,reverseChain:[]}).reverseChain+(Array.isArray(ri)?ri.join(" "):ri.toString());if(Ye.data.length!==0&&(_t.push({key:"Length",value:Ye.data.length}),Lt===!0&&_t.push({key:"Length1",value:he})),Yt.length!=0)if(Yt.split("/").length-1==1)_t.push({key:"Filter",value:Yt});else{_t.push({key:"Filter",value:"["+Yt+"]"});for(var Pr=0;Pr<_t.length;Pr+=1)if(_t[Pr].key==="DecodeParms"){for(var Yr=[],yn=0;yn>"),Ye.data.length!==0&&(dn("stream"),dn(Ie(Ye.data)),dn("endstream"))},Xn=sr.__private__.putPage=function(Rt){var qt=Rt.number,En=Rt.data,ri=Rt.objId,Lt=Rt.contentsObjId;Zr(ri,!0),dn("<>"),dn("endobj");var he=En.join(` + */var F={print:4,modify:8,copy:16,"annot-forms":32};function H(dt,Me,Xe,Qe){this.v=1,this.r=2;var st=192;dt.forEach(function(Bt){if(F.perm!==void 0)throw new Error("Invalid permission: "+Bt);st+=F[Bt]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var nt=(Me+this.padding).substr(0,32),ft=(Xe+this.padding).substr(0,32);this.O=this.processOwnerPassword(nt,ft),this.P=-(1+(255^st)),this.encryptionKey=C(nt+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(Qe)).substr(0,5),this.U=M(this.encryptionKey,this.padding)}function B(dt){if(/[^\u0000-\u00ff]/.test(dt))throw new Error("Invalid PDF Name Object: "+dt+", Only accept ASCII characters.");for(var Me="",Xe=dt.length,Qe=0;Qe126?Me+="#"+("0"+st.toString(16)).slice(-2):Me+=dt[Qe]}return Me}function X(dt){if(A()(dt)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var Me={};this.subscribe=function(Xe,Qe,st){if(st=st||!1,typeof Xe!="string"||typeof Qe!="function"||typeof st!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");Me.hasOwnProperty(Xe)||(Me[Xe]={});var nt=Math.random().toString(35);return Me[Xe][nt]=[Qe,!!st],nt},this.unsubscribe=function(Xe){for(var Qe in Me)if(Me[Qe][Xe])return delete Me[Qe][Xe],Object.keys(Me[Qe]).length===0&&delete Me[Qe],!0;return!1},this.publish=function(Xe){if(Me.hasOwnProperty(Xe)){var Qe=Array.prototype.slice.call(arguments,1),st=[];for(var nt in Me[Xe]){var ft=Me[Xe][nt];try{ft[0].apply(dt,Qe)}catch(Bt){t.console&&m.error("jsPDF PubSub Error",Bt.message,Bt)}ft[1]&&st.push(nt)}st.length&&st.forEach(this.unsubscribe)}},this.getTopics=function(){return Me}}function J(dt){if(!(this instanceof J))return new J(dt);var Me="opacity,stroke-opacity".split(",");for(var Xe in dt)dt.hasOwnProperty(Xe)&&Me.indexOf(Xe)>=0&&(this[Xe]=dt[Xe]);this.id="",this.objectNumber=-1}function k(dt,Me){this.gState=dt,this.matrix=Me,this.id="",this.objectNumber=-1}function K(dt,Me,Xe,Qe,st){if(!(this instanceof K))return new K(dt,Me,Xe,Qe,st);this.type=dt==="axial"?2:3,this.coords=Me,this.colors=Xe,k.call(this,Qe,st)}function z(dt,Me,Xe,Qe,st){if(!(this instanceof z))return new z(dt,Me,Xe,Qe,st);this.boundingBox=dt,this.xStep=Me,this.yStep=Xe,this.stream="",this.cloneIndex=0,k.call(this,Qe,st)}function W(dt){var Me,Xe=typeof arguments[0]=="string"?arguments[0]:"p",Qe=arguments[1],st=arguments[2],nt=arguments[3],ft=[],Bt=1,Et=16,nr="S",Ur=null;A()(dt=dt||{})==="object"&&(Xe=dt.orientation,Qe=dt.unit||Qe,st=dt.format||st,nt=dt.compress||dt.compressPdf||nt,(Ur=dt.encryption||null)!==null&&(Ur.userPassword=Ur.userPassword||"",Ur.ownerPassword=Ur.ownerPassword||"",Ur.userPermissions=Ur.userPermissions||[]),Bt=typeof dt.userUnit=="number"?Math.abs(dt.userUnit):1,dt.precision!==void 0&&(Me=dt.precision),dt.floatPrecision!==void 0&&(Et=dt.floatPrecision),nr=dt.defaultPathOperation||"S"),ft=dt.filters||(nt===!0?["FlateEncode"]:ft),Qe=Qe||"mm",Xe=(""+(Xe||"P")).toLowerCase();var Lr=dt.putOnlyUsedFonts||!1,Vr={},sr={internal:{},__private__:{}};sr.__private__.PubSub=X;var Bn="1.3",Er=sr.__private__.getPdfVersion=function(){return Bn};sr.__private__.setPdfVersion=function(Rt){Bn=Rt};var gn={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};sr.__private__.getPageFormats=function(){return gn};var rn=sr.__private__.getPageFormat=function(Rt){return gn[Rt]};st=st||"a4";var Br={COMPAT:"compat",ADVANCED:"advanced"},Vn=Br.COMPAT;function gi(){this.saveGraphicsState(),dn(new Ai(hn,0,0,-hn,0,Ts()*hn).toString()+" cm"),this.setFontSize(this.getFontSize()/hn),nr="n",Vn=Br.ADVANCED}function Ni(){this.restoreGraphicsState(),nr="S",Vn=Br.COMPAT}var Wi=sr.__private__.combineFontStyleAndFontWeight=function(Rt,qt){if(Rt=="bold"&&qt=="normal"||Rt=="bold"&&qt==400||Rt=="normal"&&qt=="italic"||Rt=="bold"&&qt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return qt&&(Rt=qt==400||qt==="normal"?Rt==="italic"?"italic":"normal":qt!=700&&qt!=="bold"||Rt!=="normal"?(qt==700?"bold":qt)+""+Rt:"bold"),Rt};sr.advancedAPI=function(Rt){var qt=Vn===Br.COMPAT;return qt&&gi.call(this),typeof Rt!="function"||(Rt(this),qt&&Ni.call(this)),this},sr.compatAPI=function(Rt){var qt=Vn===Br.ADVANCED;return qt&&Ni.call(this),typeof Rt!="function"||(Rt(this),qt&&gi.call(this)),this},sr.isAdvancedAPI=function(){return Vn===Br.ADVANCED};var zi,Yi=function(qt){if(Vn!==Br.ADVANCED)throw new Error(qt+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},mi=sr.roundToPrecision=sr.__private__.roundToPrecision=function(Rt,qt){var En=Me||qt;if(isNaN(Rt)||isNaN(En))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Rt.toFixed(En).replace(/0+$/,"")};zi=sr.hpf=sr.__private__.hpf=typeof Et=="number"?function(Rt){if(isNaN(Rt))throw new Error("Invalid argument passed to jsPDF.hpf");return mi(Rt,Et)}:Et==="smart"?function(Rt){if(isNaN(Rt))throw new Error("Invalid argument passed to jsPDF.hpf");return mi(Rt,Rt>-1&&Rt<1?16:5)}:function(Rt){if(isNaN(Rt))throw new Error("Invalid argument passed to jsPDF.hpf");return mi(Rt,16)};var va=sr.f2=sr.__private__.f2=function(Rt){if(isNaN(Rt))throw new Error("Invalid argument passed to jsPDF.f2");return mi(Rt,2)},zn=sr.__private__.f3=function(Rt){if(isNaN(Rt))throw new Error("Invalid argument passed to jsPDF.f3");return mi(Rt,3)},fn=sr.scale=sr.__private__.scale=function(Rt){if(isNaN(Rt))throw new Error("Invalid argument passed to jsPDF.scale");return Vn===Br.COMPAT?Rt*hn:Vn===Br.ADVANCED?Rt:void 0},$n=function(qt){return Vn===Br.COMPAT?Ts()-qt:Vn===Br.ADVANCED?qt:void 0},Cn=function(qt){return fn($n(qt))};sr.__private__.setPrecision=sr.setPrecision=function(Rt){typeof parseInt(Rt,10)=="number"&&(Me=parseInt(Rt,10))};var ki,In="00000000000000000000000000000000",na=sr.__private__.getFileId=function(){return In},Ei=sr.__private__.setFileId=function(Rt){return In=Rt!==void 0&&/^[a-fA-F0-9]{32}$/.test(Rt)?Rt.toUpperCase():In.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Ur!==null&&(Jo=new H(Ur.userPermissions,Ur.userPassword,Ur.ownerPassword,In)),In};sr.setFileId=function(Rt){return Ei(Rt),this},sr.getFileId=function(){return na()};var pi=sr.__private__.convertDateToPDFDate=function(Rt){var qt=Rt.getTimezoneOffset(),En=qt<0?"+":"-",ri=Math.floor(Math.abs(qt/60)),Lt=Math.abs(qt%60),he=[En,Yn(ri),"'",Yn(Lt),"'"].join("");return["D:",Rt.getFullYear(),Yn(Rt.getMonth()+1),Yn(Rt.getDate()),Yn(Rt.getHours()),Yn(Rt.getMinutes()),Yn(Rt.getSeconds()),he].join("")},Ri=sr.__private__.convertPDFDateToDate=function(Rt){var qt=parseInt(Rt.substr(2,4),10),En=parseInt(Rt.substr(6,2),10)-1,ri=parseInt(Rt.substr(8,2),10),Lt=parseInt(Rt.substr(10,2),10),he=parseInt(Rt.substr(12,2),10),Ce=parseInt(Rt.substr(14,2),10);return new Date(qt,En,ri,Lt,he,Ce,0)},Na=sr.__private__.setCreationDate=function(Rt){var qt;if(Rt===void 0&&(Rt=new Date),Rt instanceof Date)qt=pi(Rt);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(Rt))throw new Error("Invalid argument passed to jsPDF.setCreationDate");qt=Rt}return ki=qt},Un=sr.__private__.getCreationDate=function(Rt){var qt=ki;return Rt==="jsDate"&&(qt=Ri(ki)),qt};sr.setCreationDate=function(Rt){return Na(Rt),this},sr.getCreationDate=function(Rt){return Un(Rt)};var nn,Yn=sr.__private__.padd2=function(Rt){return("0"+parseInt(Rt)).slice(-2)},bi=sr.__private__.padd2Hex=function(Rt){return("00"+(Rt=Rt.toString())).substr(Rt.length)},Oi=0,_i=[],Zi=[],qi=0,ea=[],ya=[],co=!1,io=Zi,rs=function(){Oi=0,qi=0,Zi=[],_i=[],ea=[],jr=bn(),wr=bn()};sr.__private__.setCustomOutputDestination=function(Rt){co=!0,io=Rt};var Pi=function(qt){co||(io=qt)};sr.__private__.resetCustomOutputDestination=function(){co=!1,io=Zi};var dn=sr.__private__.out=function(Rt){return Rt=Rt.toString(),qi+=Rt.length+1,io.push(Rt),io},ha=sr.__private__.write=function(Rt){return dn(arguments.length===1?Rt.toString():Array.prototype.join.call(arguments," "))},ba=sr.__private__.getArrayBuffer=function(Rt){for(var qt=Rt.length,En=new ArrayBuffer(qt),ri=new Uint8Array(En);qt--;)ri[qt]=Rt.charCodeAt(qt);return En},ta=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];sr.__private__.getStandardFonts=function(){return ta};var so=dt.fontSize||16;sr.__private__.setFontSize=sr.setFontSize=function(Rt){return so=Vn===Br.ADVANCED?Rt/hn:Rt,this};var lr,pn=sr.__private__.getFontSize=sr.getFontSize=function(){return Vn===Br.COMPAT?so:so*hn},_n=dt.R2L||!1;sr.__private__.setR2L=sr.setR2L=function(Rt){return _n=Rt,this},sr.__private__.getR2L=sr.getR2L=function(){return _n};var Pn,ct=sr.__private__.setZoomMode=function(Rt){var qt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*%$/.test(Rt))lr=Rt;else if(isNaN(Rt)){if(qt.indexOf(Rt)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Rt+'" is not recognized.');lr=Rt}else lr=parseInt(Rt,10)};sr.__private__.getZoomMode=function(){return lr};var Vt,Cr=sr.__private__.setPageMode=function(Rt){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Rt)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Rt+'" is not recognized.');Pn=Rt};sr.__private__.getPageMode=function(){return Pn};var xr=sr.__private__.setLayoutMode=function(Rt){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Rt)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Rt+'" is not recognized.');Vt=Rt};sr.__private__.getLayoutMode=function(){return Vt},sr.__private__.setDisplayMode=sr.setDisplayMode=function(Rt,qt,En){return ct(Rt),xr(qt),Cr(En),this};var Gr={title:"",subject:"",author:"",keywords:"",creator:""};sr.__private__.getDocumentProperty=function(Rt){if(Object.keys(Gr).indexOf(Rt)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Gr[Rt]},sr.__private__.getDocumentProperties=function(){return Gr},sr.__private__.setDocumentProperties=sr.setProperties=sr.setDocumentProperties=function(Rt){for(var qt in Gr)Gr.hasOwnProperty(qt)&&Rt[qt]&&(Gr[qt]=Rt[qt]);return this},sr.__private__.setDocumentProperty=function(Rt,qt){if(Object.keys(Gr).indexOf(Rt)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Gr[Rt]=qt};var $r,hn,On,Qn,qn,si={},oi={},Kn=[],Zn={},ni={},wi={},Di={},Ui=null,ca=0,ia=[],Ia=new X(sr),Fa=dt.hotfixes||[],Aa={},Ea={},xa=[],Ai=function Rt(qt,En,ri,Lt,he,Ce){if(!(this instanceof Rt))return new Rt(qt,En,ri,Lt,he,Ce);isNaN(qt)&&(qt=1),isNaN(En)&&(En=0),isNaN(ri)&&(ri=0),isNaN(Lt)&&(Lt=1),isNaN(he)&&(he=0),isNaN(Ce)&&(Ce=0),this._matrix=[qt,En,ri,Lt,he,Ce]};Object.defineProperty(Ai.prototype,"sx",{get:function(){return this._matrix[0]},set:function(qt){this._matrix[0]=qt}}),Object.defineProperty(Ai.prototype,"shy",{get:function(){return this._matrix[1]},set:function(qt){this._matrix[1]=qt}}),Object.defineProperty(Ai.prototype,"shx",{get:function(){return this._matrix[2]},set:function(qt){this._matrix[2]=qt}}),Object.defineProperty(Ai.prototype,"sy",{get:function(){return this._matrix[3]},set:function(qt){this._matrix[3]=qt}}),Object.defineProperty(Ai.prototype,"tx",{get:function(){return this._matrix[4]},set:function(qt){this._matrix[4]=qt}}),Object.defineProperty(Ai.prototype,"ty",{get:function(){return this._matrix[5]},set:function(qt){this._matrix[5]=qt}}),Object.defineProperty(Ai.prototype,"a",{get:function(){return this._matrix[0]},set:function(qt){this._matrix[0]=qt}}),Object.defineProperty(Ai.prototype,"b",{get:function(){return this._matrix[1]},set:function(qt){this._matrix[1]=qt}}),Object.defineProperty(Ai.prototype,"c",{get:function(){return this._matrix[2]},set:function(qt){this._matrix[2]=qt}}),Object.defineProperty(Ai.prototype,"d",{get:function(){return this._matrix[3]},set:function(qt){this._matrix[3]=qt}}),Object.defineProperty(Ai.prototype,"e",{get:function(){return this._matrix[4]},set:function(qt){this._matrix[4]=qt}}),Object.defineProperty(Ai.prototype,"f",{get:function(){return this._matrix[5]},set:function(qt){this._matrix[5]=qt}}),Object.defineProperty(Ai.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ai.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ai.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ai.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Ai.prototype.join=function(Rt){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(zi).join(Rt)},Ai.prototype.multiply=function(Rt){var qt=Rt.sx*this.sx+Rt.shy*this.shx,En=Rt.sx*this.shy+Rt.shy*this.sy,ri=Rt.shx*this.sx+Rt.sy*this.shx,Lt=Rt.shx*this.shy+Rt.sy*this.sy,he=Rt.tx*this.sx+Rt.ty*this.shx+this.tx,Ce=Rt.tx*this.shy+Rt.ty*this.sy+this.ty;return new Ai(qt,En,ri,Lt,he,Ce)},Ai.prototype.decompose=function(){var Rt=this.sx,qt=this.shy,En=this.shx,ri=this.sy,Lt=this.tx,he=this.ty,Ce=Math.sqrt(Rt*Rt+qt*qt),Ie=(Rt/=Ce)*En+(qt/=Ce)*ri;En-=Rt*Ie,ri-=qt*Ie;var Ye=Math.sqrt(En*En+ri*ri);return Ie/=Ye,Rt*(ri/=Ye)>16&255,ri=Ye>>8&255,Lt=255&Ye}if(ri===void 0||he===void 0&&En===ri&&ri===Lt)if(typeof En=="string")qt=En+" "+Ce[0];else switch(Rt.precision){case 2:qt=va(En/255)+" "+Ce[0];break;case 3:default:qt=zn(En/255)+" "+Ce[0]}else if(he===void 0||A()(he)==="object"){if(he&&!isNaN(he.a)&&he.a===0)return qt=["1.","1.","1.",Ce[1]].join(" ");if(typeof En=="string")qt=[En,ri,Lt,Ce[1]].join(" ");else switch(Rt.precision){case 2:qt=[va(En/255),va(ri/255),va(Lt/255),Ce[1]].join(" ");break;default:case 3:qt=[zn(En/255),zn(ri/255),zn(Lt/255),Ce[1]].join(" ")}}else if(typeof En=="string")qt=[En,ri,Lt,he,Ce[2]].join(" ");else switch(Rt.precision){case 2:qt=[va(En),va(ri),va(Lt),va(he),Ce[2]].join(" ");break;case 3:default:qt=[zn(En),zn(ri),zn(Lt),zn(he),Ce[2]].join(" ")}return qt},kn=sr.__private__.getFilters=function(){return ft},Dn=sr.__private__.putStream=function(Rt){var qt=(Rt=Rt||{}).data||"",En=Rt.filters||kn(),ri=Rt.alreadyAppliedFilters||[],Lt=Rt.addLength1||!1,he=qt.length,Ce=Rt.objectId,Ie=function(Xi){return Xi};if(Ur!==null&&Ce===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Ur!==null&&(Ie=Jo.encryptor(Ce,0));var Ye={};En===!0&&(En=["FlateEncode"]);var _t=Rt.additionalKeyValues||[],Yt=(Ye=W.API.processDataByFilters!==void 0?W.API.processDataByFilters(qt,En):{data:qt,reverseChain:[]}).reverseChain+(Array.isArray(ri)?ri.join(" "):ri.toString());if(Ye.data.length!==0&&(_t.push({key:"Length",value:Ye.data.length}),Lt===!0&&_t.push({key:"Length1",value:he})),Yt.length!=0)if(Yt.split("/").length-1==1)_t.push({key:"Filter",value:Yt});else{_t.push({key:"Filter",value:"["+Yt+"]"});for(var Pr=0;Pr<_t.length;Pr+=1)if(_t[Pr].key==="DecodeParms"){for(var Yr=[],yn=0;yn>"),Ye.data.length!==0&&(dn("stream"),dn(Ie(Ye.data)),dn("endstream"))},Xn=sr.__private__.putPage=function(Rt){var qt=Rt.number,En=Rt.data,ri=Rt.objId,Lt=Rt.contentsObjId;Zr(ri,!0),dn("<>"),dn("endobj");var he=En.join(` `);return Vn===Br.ADVANCED&&(he+=` Q`),Zr(Lt,!0),Dn({data:he,filters:kn(),objectId:Lt}),dn("endobj"),ri},vi=sr.__private__.putPages=function(){var Rt,qt,En=[];for(Rt=1;Rt<=ca;Rt++)ia[Rt].objId=bn(),ia[Rt].contentsObjId=bn();for(Rt=1;Rt<=ca;Rt++)En.push(Xn({number:Rt,data:ya[Rt],objId:ia[Rt].objId,contentsObjId:ia[Rt].contentsObjId,mediaBox:ia[Rt].mediaBox,cropBox:ia[Rt].cropBox,bleedBox:ia[Rt].bleedBox,trimBox:ia[Rt].trimBox,artBox:ia[Rt].artBox,userUnit:ia[Rt].userUnit,rootDictionaryObjId:jr,resourceDictionaryObjId:wr}));Zr(jr,!0),dn("<>"),dn("endobj"),Ia.publish("postPutPages")},Li=function(qt){Ia.publish("putFont",{font:qt,out:dn,newObject:Qr,putStream:Dn}),qt.isAlreadyPutted!==!0&&(qt.objectNumber=Qr(),dn("<<"),dn("/Type /Font"),dn("/BaseFont /"+B(qt.postScriptName)),dn("/Subtype /Type1"),typeof qt.encoding=="string"&&dn("/Encoding /"+qt.encoding),dn("/FirstChar 32"),dn("/LastChar 255"),dn(">>"),dn("endobj"))},ji=function(){for(var qt in si)si.hasOwnProperty(qt)&&(Lr===!1||Lr===!0&&Vr.hasOwnProperty(qt))&&Li(si[qt])},Sa=function(qt){qt.objectNumber=Qr();var En=[];En.push({key:"Type",value:"/XObject"}),En.push({key:"Subtype",value:"/Form"}),En.push({key:"BBox",value:"["+[zi(qt.x),zi(qt.y),zi(qt.x+qt.width),zi(qt.y+qt.height)].join(" ")+"]"}),En.push({key:"Matrix",value:"["+qt.matrix.toString()+"]"});var ri=qt.pages[1].join(` -`);Dn({data:ri,additionalKeyValues:En,objectId:qt.objectNumber}),dn("endobj")},Ga=function(){for(var qt in Aa)Aa.hasOwnProperty(qt)&&Sa(Aa[qt])},Ya=function(qt,En){var ri,Lt=[],he=1/(En-1);for(ri=0;ri<1;ri+=he)Lt.push(ri);if(Lt.push(1),qt[0].offset!=0){var Ce={offset:0,color:qt[0].color};qt.unshift(Ce)}if(qt[qt.length-1].offset!=1){var Ie={offset:1,color:qt[qt.length-1].color};qt.push(Ie)}for(var Ye="",_t=0,Yt=0;Ytqt[_t+1].offset;)_t++;var Pr=qt[_t].offset,Yr=(ri-Pr)/(qt[_t+1].offset-Pr),yn=qt[_t].color,Jn=qt[_t+1].color;Ye+=bi(Math.round((1-Yr)*yn[0]+Yr*Jn[0]).toString(16))+bi(Math.round((1-Yr)*yn[1]+Yr*Jn[1]).toString(16))+bi(Math.round((1-Yr)*yn[2]+Yr*Jn[2]).toString(16))}return Ye.trim()},bo=function(qt,En){En||(En=21);var ri=Qr(),Lt=Ya(qt.colors,En),he=[];he.push({key:"FunctionType",value:"0"}),he.push({key:"Domain",value:"[0.0 1.0]"}),he.push({key:"Size",value:"["+En+"]"}),he.push({key:"BitsPerSample",value:"8"}),he.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),he.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Dn({data:Lt,additionalKeyValues:he,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:ri}),dn("endobj"),qt.objectNumber=Qr(),dn("<< /ShadingType "+qt.type),dn("/ColorSpace /DeviceRGB");var Ce="/Coords ["+zi(parseFloat(qt.coords[0]))+" "+zi(parseFloat(qt.coords[1]))+" ";qt.type===2?Ce+=zi(parseFloat(qt.coords[2]))+" "+zi(parseFloat(qt.coords[3])):Ce+=zi(parseFloat(qt.coords[2]))+" "+zi(parseFloat(qt.coords[3]))+" "+zi(parseFloat(qt.coords[4]))+" "+zi(parseFloat(qt.coords[5])),dn(Ce+="]"),qt.matrix&&dn("/Matrix ["+qt.matrix.toString()+"]"),dn("/Function "+ri+" 0 R"),dn("/Extend [true true]"),dn(">>"),dn("endobj")},vo=function(qt,En){var ri=bn(),Lt=Qr();En.push({resourcesOid:ri,objectOid:Lt}),qt.objectNumber=Lt;var he=[];he.push({key:"Type",value:"/Pattern"}),he.push({key:"PatternType",value:"1"}),he.push({key:"PaintType",value:"1"}),he.push({key:"TilingType",value:"1"}),he.push({key:"BBox",value:"["+qt.boundingBox.map(zi).join(" ")+"]"}),he.push({key:"XStep",value:zi(qt.xStep)}),he.push({key:"YStep",value:zi(qt.yStep)}),he.push({key:"Resources",value:ri+" 0 R"}),qt.matrix&&he.push({key:"Matrix",value:"["+qt.matrix.toString()+"]"}),Dn({data:qt.stream,additionalKeyValues:he,objectId:qt.objectNumber}),dn("endobj")},po=function(qt){var En;for(En in Zn)Zn.hasOwnProperty(En)&&(Zn[En]instanceof W?bo(Zn[En]):Zn[En]instanceof z&&vo(Zn[En],qt))},Ha=function(qt){for(var En in qt.objectNumber=Qr(),dn("<<"),qt)switch(En){case"opacity":dn("/ca "+va(qt[En]));break;case"stroke-opacity":dn("/CA "+va(qt[En]))}dn(">>"),dn("endobj")},Oa=function(){var qt;for(qt in wi)wi.hasOwnProperty(qt)&&Ha(wi[qt])},ao=function(){for(var qt in dn("/XObject <<"),Aa)Aa.hasOwnProperty(qt)&&Aa[qt].objectNumber>=0&&dn("/"+qt+" "+Aa[qt].objectNumber+" 0 R");Ia.publish("putXobjectDict"),dn(">>")},to=function(){Jo.oid=Qr(),dn("<<"),dn("/Filter /Standard"),dn("/V "+Jo.v),dn("/R "+Jo.r),dn("/U <"+Jo.toHexString(Jo.U)+">"),dn("/O <"+Jo.toHexString(Jo.O)+">"),dn("/P "+Jo.P),dn(">>"),dn("endobj")},Po=function(){for(var qt in dn("/Font <<"),si)si.hasOwnProperty(qt)&&(Lr===!1||Lr===!0&&Vr.hasOwnProperty(qt))&&dn("/"+qt+" "+si[qt].objectNumber+" 0 R");dn(">>")},Yo=function(){if(Object.keys(Zn).length>0){for(var qt in dn("/Shading <<"),Zn)Zn.hasOwnProperty(qt)&&Zn[qt]instanceof W&&Zn[qt].objectNumber>=0&&dn("/"+qt+" "+Zn[qt].objectNumber+" 0 R");Ia.publish("putShadingPatternDict"),dn(">>")}},ro=function(qt){if(Object.keys(Zn).length>0){for(var En in dn("/Pattern <<"),Zn)Zn.hasOwnProperty(En)&&Zn[En]instanceof sr.TilingPattern&&Zn[En].objectNumber>=0&&Zn[En].objectNumber>")}},za=function(){if(Object.keys(wi).length>0){var qt;for(qt in dn("/ExtGState <<"),wi)wi.hasOwnProperty(qt)&&wi[qt].objectNumber>=0&&dn("/"+qt+" "+wi[qt].objectNumber+" 0 R");Ia.publish("putGStateDict"),dn(">>")}},Mo=function(qt){Zr(qt.resourcesOid,!0),dn("<<"),dn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Po(),Yo(),ro(qt.objectOid),za(),ao(),dn(">>"),dn("endobj")},Io=function(){var qt=[];ji(),Oa(),Ga(),po(qt),Ia.publish("putResources"),qt.forEach(Mo),Mo({resourcesOid:wr,objectOid:Number.MAX_SAFE_INTEGER}),Ia.publish("postPutResources")},ma=function(){Ia.publish("putAdditionalObjects");for(var qt=0;qt>8&&(_t=!0);qt=Ye.join("")}for(ri=qt.length;_t===void 0&&ri!==0;)qt.charCodeAt(ri-1)>>8&&(_t=!0),ri--;if(!_t)return qt;for(Ye=En.noBOM?[]:[254,255],ri=0,Lt=qt.length;ri>8)>>8)throw new Error("Character at position "+ri+" of string '"+qt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Ye.push(Pr),Ye.push(Yt-(Pr<<8))}return String.fromCharCode.apply(void 0,Ye)},hs=sr.__private__.pdfEscape=sr.pdfEscape=function(Rt,qt){return Ro(Rt,qt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Uo=sr.__private__.beginPage=function(Rt){ya[++ca]=[],ia[ca]={objId:0,contentsObjId:0,userUnit:Number(Bt),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Rt[0]),topRightY:Number(Rt[1])}},oo(ca),Pi(ya[nn])},Ja=function(qt,En){var ri,Lt,he;switch(Xe=En||Xe,typeof qt=="string"&&(ri=rn(qt.toLowerCase()),Array.isArray(ri)&&(Lt=ri[0],he=ri[1])),Array.isArray(qt)&&(Lt=qt[0]*hn,he=qt[1]*hn),isNaN(Lt)&&(Lt=st[0],he=st[1]),(Lt>14400||he>14400)&&(m.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Lt=Math.min(14400,Lt),he=Math.min(14400,he)),st=[Lt,he],Xe.substr(0,1)){case"l":he>Lt&&(st=[he,Lt]);break;case"p":Lt>he&&(st=[he,Lt])}Uo(st),Bl(Kc),dn(cl),Ss!==0&&dn(Ss+" J"),Ks!==0&&dn(Ks+" j"),Ia.publish("addPage",{pageNumber:ca})},Es=function(qt){qt>0&&qt<=ca&&(ya.splice(qt,1),ia.splice(qt,1),ca--,nn>ca&&(nn=ca),this.setPage(nn))},oo=function(qt){qt>0&&qt<=ca&&(nn=qt)},Fs=sr.__private__.getNumberOfPages=sr.getNumberOfPages=function(){return ya.length-1},qo=function(qt,En,ri){var Lt,he=void 0;return ri=ri||{},qt=qt!==void 0?qt:si[$r].fontName,En=En!==void 0?En:si[$r].fontStyle,Lt=qt.toLowerCase(),oi[Lt]!==void 0&&oi[Lt][En]!==void 0?he=oi[Lt][En]:oi[qt]!==void 0&&oi[qt][En]!==void 0?he=oi[qt][En]:ri.disableWarning===!1&&m.warn("Unable to look up font label for font '"+qt+"', '"+En+"'. Refer to getFontList() for available fonts."),he||ri.noFallback||(he=oi.times[En])==null&&(he=oi.times.normal),he},Ko=sr.__private__.putInfo=function(){var Rt=Qr(),qt=function(Lt){return Lt};for(var En in Ur!==null&&(qt=Jo.encryptor(Rt,0)),dn("<<"),dn("/Producer ("+hs(qt("jsPDF "+K.version))+")"),Gr)Gr.hasOwnProperty(En)&&Gr[En]&&dn("/"+En.substr(0,1).toUpperCase()+En.substr(1)+" ("+hs(qt(Gr[En]))+")");dn("/CreationDate ("+hs(qt(ki))+")"),dn(">>"),dn("endobj")},Vo=sr.__private__.putCatalog=function(Rt){var qt=(Rt=Rt||{}).rootDictionaryObjId||jr;switch(Qr(),dn("<<"),dn("/Type /Catalog"),dn("/Pages "+qt+" 0 R"),lr||(lr="fullwidth"),lr){case"fullwidth":dn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":dn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":dn("/OpenAction [3 0 R /Fit]");break;case"original":dn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var En=""+lr;En.substr(En.length-1)==="%"&&(lr=parseInt(lr)/100),typeof lr=="number"&&dn("/OpenAction [3 0 R /XYZ null null "+va(lr)+"]")}switch(Vt||(Vt="continuous"),Vt){case"continuous":dn("/PageLayout /OneColumn");break;case"single":dn("/PageLayout /SinglePage");break;case"two":case"twoleft":dn("/PageLayout /TwoColumnLeft");break;case"tworight":dn("/PageLayout /TwoColumnRight")}Pn&&dn("/PageMode /"+Pn),Ia.publish("putCatalog"),dn(">>"),dn("endobj")},Go=sr.__private__.putTrailer=function(){dn("trailer"),dn("<<"),dn("/Size "+(Oi+1)),dn("/Root "+Oi+" 0 R"),dn("/Info "+(Oi-1)+" 0 R"),Ur!==null&&dn("/Encrypt "+Jo.oid+" 0 R"),dn("/ID [ <"+In+"> <"+In+"> ]"),dn(">>")},os=sr.__private__.putHeader=function(){dn("%PDF-"+Bn),dn("%\xBA\xDF\xAC\xE0")},Vs=sr.__private__.putXRef=function(){var Rt="0000000000";dn("xref"),dn("0 "+(Oi+1)),dn("0000000000 65535 f ");for(var qt=1;qt<=Oi;qt++)typeof _i[qt]=="function"?dn((Rt+_i[qt]()).slice(-10)+" 00000 n "):_i[qt]!==void 0?dn((Rt+_i[qt]).slice(-10)+" 00000 n "):dn("0000000000 00000 n ")},xs=sr.__private__.buildDocument=function(){rs(),Pi(Zi),Ia.publish("buildDocument"),os(),vi(),ma(),Io(),Ur!==null&&to(),Ko(),Vo();var Rt=qi;return Vs(),Go(),dn("startxref"),dn(""+Rt),dn("%%EOF"),Pi(ya[nn]),Zi.join(` -`)},Js=sr.__private__.getBlob=function(Rt){return new Blob([ba(Rt)],{type:"application/pdf"})},Bs=sr.output=sr.__private__.output=Oo(function(Rt,qt){switch(typeof(qt=qt||{})=="string"?qt={filename:qt}:qt.filename=qt.filename||"generated.pdf",Rt){case void 0:return xs();case"save":sr.save(qt.filename);break;case"arraybuffer":return ba(xs());case"blob":return Js(xs());case"bloburi":case"bloburl":if(t.URL!==void 0&&typeof t.URL.createObjectURL=="function")return t.URL&&t.URL.createObjectURL(Js(xs()))||void 0;m.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var En="",ri=xs();try{En=c(ri)}catch(Pr){En=c(unescape(encodeURIComponent(ri)))}return"data:application/pdf;filename="+qt.filename+";base64,"+En;case"pdfobjectnewwindow":if(Object.prototype.toString.call(t)==="[object Window]"){var Lt='",he=t.open();return he!==null&&he.document.write(Lt),he}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(t)==="[object Window]"){var Ce='',Yt=t.open();if(Yt!==null&&(Yt.document.write(_t),Yt.document.title=qt.filename),Yt||typeof safari=="undefined")return Yt;break;case"datauri":case"dataurl":return t.document.location.href=this.output("datauristring",qt);default:return null}}),ks=function(qt){return Array.isArray(Fa)===!0&&Fa.indexOf(qt)>-1};switch(Qe){case"pt":hn=1;break;case"mm":hn=72/25.4;break;case"cm":hn=72/2.54;break;case"in":hn=72;break;case"px":hn=ks("px_scaling")==1?.75:96/72;break;case"pc":case"em":hn=12;break;case"ex":hn=6;break;default:if(typeof Qe!="number")throw new Error("Invalid unit: "+Qe);hn=Qe}var Jo=null;Na(),Ei();var bs=function(qt){return Ur!==null?Jo.encryptor(qt,0):function(En){return En}},Ho=sr.__private__.getPageInfo=sr.getPageInfo=function(Rt){if(isNaN(Rt)||Rt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:ia[Rt].objId,pageNumber:Rt,pageContext:ia[Rt]}},Ls=sr.__private__.getPageInfoByObjId=function(Rt){if(isNaN(Rt)||Rt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var qt in ia)if(ia[qt].objId===Rt)break;return Ho(qt)},Ps=sr.__private__.getCurrentPageInfo=sr.getCurrentPageInfo=function(){return{objId:ia[nn].objId,pageNumber:nn,pageContext:ia[nn]}};sr.addPage=function(){return Ja.apply(this,arguments),this},sr.setPage=function(){return oo.apply(this,arguments),Pi.call(this,ya[nn]),this},sr.insertPage=function(Rt){return this.addPage(),this.movePage(nn,Rt),this},sr.movePage=function(Rt,qt){var En,ri;if(Rt>qt){En=ya[Rt],ri=ia[Rt];for(var Lt=Rt;Lt>qt;Lt--)ya[Lt]=ya[Lt-1],ia[Lt]=ia[Lt-1];ya[qt]=En,ia[qt]=ri,this.setPage(qt)}else if(Rt0&&(typeof Rt=="string"?Rt=Jn.splitTextToSize(Rt,Yt):Object.prototype.toString.call(Rt)==="[object Array]"&&(Rt=Rt.reduce(function(sl,tl){return sl.concat(Jn.splitTextToSize(tl,Yt))},[]))),he={text:Rt,x:qt,y:En,options:ri,mutex:{pdfEscape:hs,activeFontKey:$r,fonts:si,activeFontSize:so}},Ia.publish("preProcessText",he),Rt=he.text,Ie=(ri=he.options).angle,yn instanceof Ai==!1&&Ie&&typeof Ie=="number"){Ie*=Math.PI/180,ri.rotationDirection===0&&(Ie=-Ie),Vn===Br.ADVANCED&&(Ie=-Ie);var kl=Math.cos(Ie),el=Math.sin(Ie);yn=new Ai(kl,el,-el,kl,0,0)}else Ie&&Ie instanceof Ai&&(yn=Ie);Vn!==Br.ADVANCED||yn||(yn=Ba),(_t=ri.charSpace||pc)!==void 0&&(Xi+=zi(fn(_t))+` Tc +`);Dn({data:ri,additionalKeyValues:En,objectId:qt.objectNumber}),dn("endobj")},Ga=function(){for(var qt in Aa)Aa.hasOwnProperty(qt)&&Sa(Aa[qt])},Ya=function(qt,En){var ri,Lt=[],he=1/(En-1);for(ri=0;ri<1;ri+=he)Lt.push(ri);if(Lt.push(1),qt[0].offset!=0){var Ce={offset:0,color:qt[0].color};qt.unshift(Ce)}if(qt[qt.length-1].offset!=1){var Ie={offset:1,color:qt[qt.length-1].color};qt.push(Ie)}for(var Ye="",_t=0,Yt=0;Ytqt[_t+1].offset;)_t++;var Pr=qt[_t].offset,Yr=(ri-Pr)/(qt[_t+1].offset-Pr),yn=qt[_t].color,Jn=qt[_t+1].color;Ye+=bi(Math.round((1-Yr)*yn[0]+Yr*Jn[0]).toString(16))+bi(Math.round((1-Yr)*yn[1]+Yr*Jn[1]).toString(16))+bi(Math.round((1-Yr)*yn[2]+Yr*Jn[2]).toString(16))}return Ye.trim()},bo=function(qt,En){En||(En=21);var ri=Qr(),Lt=Ya(qt.colors,En),he=[];he.push({key:"FunctionType",value:"0"}),he.push({key:"Domain",value:"[0.0 1.0]"}),he.push({key:"Size",value:"["+En+"]"}),he.push({key:"BitsPerSample",value:"8"}),he.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),he.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Dn({data:Lt,additionalKeyValues:he,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:ri}),dn("endobj"),qt.objectNumber=Qr(),dn("<< /ShadingType "+qt.type),dn("/ColorSpace /DeviceRGB");var Ce="/Coords ["+zi(parseFloat(qt.coords[0]))+" "+zi(parseFloat(qt.coords[1]))+" ";qt.type===2?Ce+=zi(parseFloat(qt.coords[2]))+" "+zi(parseFloat(qt.coords[3])):Ce+=zi(parseFloat(qt.coords[2]))+" "+zi(parseFloat(qt.coords[3]))+" "+zi(parseFloat(qt.coords[4]))+" "+zi(parseFloat(qt.coords[5])),dn(Ce+="]"),qt.matrix&&dn("/Matrix ["+qt.matrix.toString()+"]"),dn("/Function "+ri+" 0 R"),dn("/Extend [true true]"),dn(">>"),dn("endobj")},vo=function(qt,En){var ri=bn(),Lt=Qr();En.push({resourcesOid:ri,objectOid:Lt}),qt.objectNumber=Lt;var he=[];he.push({key:"Type",value:"/Pattern"}),he.push({key:"PatternType",value:"1"}),he.push({key:"PaintType",value:"1"}),he.push({key:"TilingType",value:"1"}),he.push({key:"BBox",value:"["+qt.boundingBox.map(zi).join(" ")+"]"}),he.push({key:"XStep",value:zi(qt.xStep)}),he.push({key:"YStep",value:zi(qt.yStep)}),he.push({key:"Resources",value:ri+" 0 R"}),qt.matrix&&he.push({key:"Matrix",value:"["+qt.matrix.toString()+"]"}),Dn({data:qt.stream,additionalKeyValues:he,objectId:qt.objectNumber}),dn("endobj")},po=function(qt){var En;for(En in Zn)Zn.hasOwnProperty(En)&&(Zn[En]instanceof K?bo(Zn[En]):Zn[En]instanceof z&&vo(Zn[En],qt))},Ha=function(qt){for(var En in qt.objectNumber=Qr(),dn("<<"),qt)switch(En){case"opacity":dn("/ca "+va(qt[En]));break;case"stroke-opacity":dn("/CA "+va(qt[En]))}dn(">>"),dn("endobj")},Oa=function(){var qt;for(qt in wi)wi.hasOwnProperty(qt)&&Ha(wi[qt])},ao=function(){for(var qt in dn("/XObject <<"),Aa)Aa.hasOwnProperty(qt)&&Aa[qt].objectNumber>=0&&dn("/"+qt+" "+Aa[qt].objectNumber+" 0 R");Ia.publish("putXobjectDict"),dn(">>")},to=function(){Jo.oid=Qr(),dn("<<"),dn("/Filter /Standard"),dn("/V "+Jo.v),dn("/R "+Jo.r),dn("/U <"+Jo.toHexString(Jo.U)+">"),dn("/O <"+Jo.toHexString(Jo.O)+">"),dn("/P "+Jo.P),dn(">>"),dn("endobj")},Po=function(){for(var qt in dn("/Font <<"),si)si.hasOwnProperty(qt)&&(Lr===!1||Lr===!0&&Vr.hasOwnProperty(qt))&&dn("/"+qt+" "+si[qt].objectNumber+" 0 R");dn(">>")},Yo=function(){if(Object.keys(Zn).length>0){for(var qt in dn("/Shading <<"),Zn)Zn.hasOwnProperty(qt)&&Zn[qt]instanceof K&&Zn[qt].objectNumber>=0&&dn("/"+qt+" "+Zn[qt].objectNumber+" 0 R");Ia.publish("putShadingPatternDict"),dn(">>")}},ro=function(qt){if(Object.keys(Zn).length>0){for(var En in dn("/Pattern <<"),Zn)Zn.hasOwnProperty(En)&&Zn[En]instanceof sr.TilingPattern&&Zn[En].objectNumber>=0&&Zn[En].objectNumber>")}},za=function(){if(Object.keys(wi).length>0){var qt;for(qt in dn("/ExtGState <<"),wi)wi.hasOwnProperty(qt)&&wi[qt].objectNumber>=0&&dn("/"+qt+" "+wi[qt].objectNumber+" 0 R");Ia.publish("putGStateDict"),dn(">>")}},Mo=function(qt){Zr(qt.resourcesOid,!0),dn("<<"),dn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Po(),Yo(),ro(qt.objectOid),za(),ao(),dn(">>"),dn("endobj")},Io=function(){var qt=[];ji(),Oa(),Ga(),po(qt),Ia.publish("putResources"),qt.forEach(Mo),Mo({resourcesOid:wr,objectOid:Number.MAX_SAFE_INTEGER}),Ia.publish("postPutResources")},ma=function(){Ia.publish("putAdditionalObjects");for(var qt=0;qt>8&&(_t=!0);qt=Ye.join("")}for(ri=qt.length;_t===void 0&&ri!==0;)qt.charCodeAt(ri-1)>>8&&(_t=!0),ri--;if(!_t)return qt;for(Ye=En.noBOM?[]:[254,255],ri=0,Lt=qt.length;ri>8)>>8)throw new Error("Character at position "+ri+" of string '"+qt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Ye.push(Pr),Ye.push(Yt-(Pr<<8))}return String.fromCharCode.apply(void 0,Ye)},hs=sr.__private__.pdfEscape=sr.pdfEscape=function(Rt,qt){return Ro(Rt,qt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Uo=sr.__private__.beginPage=function(Rt){ya[++ca]=[],ia[ca]={objId:0,contentsObjId:0,userUnit:Number(Bt),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Rt[0]),topRightY:Number(Rt[1])}},oo(ca),Pi(ya[nn])},Ja=function(qt,En){var ri,Lt,he;switch(Xe=En||Xe,typeof qt=="string"&&(ri=rn(qt.toLowerCase()),Array.isArray(ri)&&(Lt=ri[0],he=ri[1])),Array.isArray(qt)&&(Lt=qt[0]*hn,he=qt[1]*hn),isNaN(Lt)&&(Lt=st[0],he=st[1]),(Lt>14400||he>14400)&&(m.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Lt=Math.min(14400,Lt),he=Math.min(14400,he)),st=[Lt,he],Xe.substr(0,1)){case"l":he>Lt&&(st=[he,Lt]);break;case"p":Lt>he&&(st=[he,Lt])}Uo(st),Bl(Wc),dn(cl),Ss!==0&&dn(Ss+" J"),Ws!==0&&dn(Ws+" j"),Ia.publish("addPage",{pageNumber:ca})},Es=function(qt){qt>0&&qt<=ca&&(ya.splice(qt,1),ia.splice(qt,1),ca--,nn>ca&&(nn=ca),this.setPage(nn))},oo=function(qt){qt>0&&qt<=ca&&(nn=qt)},Fs=sr.__private__.getNumberOfPages=sr.getNumberOfPages=function(){return ya.length-1},qo=function(qt,En,ri){var Lt,he=void 0;return ri=ri||{},qt=qt!==void 0?qt:si[$r].fontName,En=En!==void 0?En:si[$r].fontStyle,Lt=qt.toLowerCase(),oi[Lt]!==void 0&&oi[Lt][En]!==void 0?he=oi[Lt][En]:oi[qt]!==void 0&&oi[qt][En]!==void 0?he=oi[qt][En]:ri.disableWarning===!1&&m.warn("Unable to look up font label for font '"+qt+"', '"+En+"'. Refer to getFontList() for available fonts."),he||ri.noFallback||(he=oi.times[En])==null&&(he=oi.times.normal),he},Wo=sr.__private__.putInfo=function(){var Rt=Qr(),qt=function(Lt){return Lt};for(var En in Ur!==null&&(qt=Jo.encryptor(Rt,0)),dn("<<"),dn("/Producer ("+hs(qt("jsPDF "+W.version))+")"),Gr)Gr.hasOwnProperty(En)&&Gr[En]&&dn("/"+En.substr(0,1).toUpperCase()+En.substr(1)+" ("+hs(qt(Gr[En]))+")");dn("/CreationDate ("+hs(qt(ki))+")"),dn(">>"),dn("endobj")},Vo=sr.__private__.putCatalog=function(Rt){var qt=(Rt=Rt||{}).rootDictionaryObjId||jr;switch(Qr(),dn("<<"),dn("/Type /Catalog"),dn("/Pages "+qt+" 0 R"),lr||(lr="fullwidth"),lr){case"fullwidth":dn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":dn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":dn("/OpenAction [3 0 R /Fit]");break;case"original":dn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var En=""+lr;En.substr(En.length-1)==="%"&&(lr=parseInt(lr)/100),typeof lr=="number"&&dn("/OpenAction [3 0 R /XYZ null null "+va(lr)+"]")}switch(Vt||(Vt="continuous"),Vt){case"continuous":dn("/PageLayout /OneColumn");break;case"single":dn("/PageLayout /SinglePage");break;case"two":case"twoleft":dn("/PageLayout /TwoColumnLeft");break;case"tworight":dn("/PageLayout /TwoColumnRight")}Pn&&dn("/PageMode /"+Pn),Ia.publish("putCatalog"),dn(">>"),dn("endobj")},Go=sr.__private__.putTrailer=function(){dn("trailer"),dn("<<"),dn("/Size "+(Oi+1)),dn("/Root "+Oi+" 0 R"),dn("/Info "+(Oi-1)+" 0 R"),Ur!==null&&dn("/Encrypt "+Jo.oid+" 0 R"),dn("/ID [ <"+In+"> <"+In+"> ]"),dn(">>")},os=sr.__private__.putHeader=function(){dn("%PDF-"+Bn),dn("%\xBA\xDF\xAC\xE0")},Vs=sr.__private__.putXRef=function(){var Rt="0000000000";dn("xref"),dn("0 "+(Oi+1)),dn("0000000000 65535 f ");for(var qt=1;qt<=Oi;qt++)typeof _i[qt]=="function"?dn((Rt+_i[qt]()).slice(-10)+" 00000 n "):_i[qt]!==void 0?dn((Rt+_i[qt]).slice(-10)+" 00000 n "):dn("0000000000 00000 n ")},xs=sr.__private__.buildDocument=function(){rs(),Pi(Zi),Ia.publish("buildDocument"),os(),vi(),ma(),Io(),Ur!==null&&to(),Wo(),Vo();var Rt=qi;return Vs(),Go(),dn("startxref"),dn(""+Rt),dn("%%EOF"),Pi(ya[nn]),Zi.join(` +`)},Js=sr.__private__.getBlob=function(Rt){return new Blob([ba(Rt)],{type:"application/pdf"})},Bs=sr.output=sr.__private__.output=Oo(function(Rt,qt){switch(typeof(qt=qt||{})=="string"?qt={filename:qt}:qt.filename=qt.filename||"generated.pdf",Rt){case void 0:return xs();case"save":sr.save(qt.filename);break;case"arraybuffer":return ba(xs());case"blob":return Js(xs());case"bloburi":case"bloburl":if(t.URL!==void 0&&typeof t.URL.createObjectURL=="function")return t.URL&&t.URL.createObjectURL(Js(xs()))||void 0;m.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var En="",ri=xs();try{En=c(ri)}catch(Pr){En=c(unescape(encodeURIComponent(ri)))}return"data:application/pdf;filename="+qt.filename+";base64,"+En;case"pdfobjectnewwindow":if(Object.prototype.toString.call(t)==="[object Window]"){var Lt='",he=t.open();return he!==null&&he.document.write(Lt),he}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(t)==="[object Window]"){var Ce='',Yt=t.open();if(Yt!==null&&(Yt.document.write(_t),Yt.document.title=qt.filename),Yt||typeof safari=="undefined")return Yt;break;case"datauri":case"dataurl":return t.document.location.href=this.output("datauristring",qt);default:return null}}),ks=function(qt){return Array.isArray(Fa)===!0&&Fa.indexOf(qt)>-1};switch(Qe){case"pt":hn=1;break;case"mm":hn=72/25.4;break;case"cm":hn=72/2.54;break;case"in":hn=72;break;case"px":hn=ks("px_scaling")==1?.75:96/72;break;case"pc":case"em":hn=12;break;case"ex":hn=6;break;default:if(typeof Qe!="number")throw new Error("Invalid unit: "+Qe);hn=Qe}var Jo=null;Na(),Ei();var bs=function(qt){return Ur!==null?Jo.encryptor(qt,0):function(En){return En}},Ho=sr.__private__.getPageInfo=sr.getPageInfo=function(Rt){if(isNaN(Rt)||Rt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:ia[Rt].objId,pageNumber:Rt,pageContext:ia[Rt]}},Ls=sr.__private__.getPageInfoByObjId=function(Rt){if(isNaN(Rt)||Rt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var qt in ia)if(ia[qt].objId===Rt)break;return Ho(qt)},Ps=sr.__private__.getCurrentPageInfo=sr.getCurrentPageInfo=function(){return{objId:ia[nn].objId,pageNumber:nn,pageContext:ia[nn]}};sr.addPage=function(){return Ja.apply(this,arguments),this},sr.setPage=function(){return oo.apply(this,arguments),Pi.call(this,ya[nn]),this},sr.insertPage=function(Rt){return this.addPage(),this.movePage(nn,Rt),this},sr.movePage=function(Rt,qt){var En,ri;if(Rt>qt){En=ya[Rt],ri=ia[Rt];for(var Lt=Rt;Lt>qt;Lt--)ya[Lt]=ya[Lt-1],ia[Lt]=ia[Lt-1];ya[qt]=En,ia[qt]=ri,this.setPage(qt)}else if(Rt0&&(typeof Rt=="string"?Rt=Jn.splitTextToSize(Rt,Yt):Object.prototype.toString.call(Rt)==="[object Array]"&&(Rt=Rt.reduce(function(sl,tl){return sl.concat(Jn.splitTextToSize(tl,Yt))},[]))),he={text:Rt,x:qt,y:En,options:ri,mutex:{pdfEscape:hs,activeFontKey:$r,fonts:si,activeFontSize:so}},Ia.publish("preProcessText",he),Rt=he.text,Ie=(ri=he.options).angle,yn instanceof Ai==!1&&Ie&&typeof Ie=="number"){Ie*=Math.PI/180,ri.rotationDirection===0&&(Ie=-Ie),Vn===Br.ADVANCED&&(Ie=-Ie);var kl=Math.cos(Ie),el=Math.sin(Ie);yn=new Ai(kl,el,-el,kl,0,0)}else Ie&&Ie instanceof Ai&&(yn=Ie);Vn!==Br.ADVANCED||yn||(yn=Ba),(_t=ri.charSpace||pc)!==void 0&&(Xi+=zi(fn(_t))+` Tc `,this.setCharSpace(this.getCharSpace()||0)),(Yr=ri.horizontalScale)!==void 0&&(Xi+=zi(100*Yr)+` Tz `),ri.lang;var Cl=-1,mc=ri.renderingMode!==void 0?ri.renderingMode:ri.stroke,lc=Jn.internal.getCurrentPageInfo().pageContext;switch(mc){case 0:case!1:case"fill":Cl=0;break;case 1:case!0:case"stroke":Cl=1;break;case 2:case"fillThenStroke":Cl=2;break;case 3:case"invisible":Cl=3;break;case 4:case"fillAndAddForClipping":Cl=4;break;case 5:case"strokeAndAddPathForClipping":Cl=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Cl=6;break;case 7:case"addToPathForClipping":Cl=7}var bl=lc.usedRenderingMode!==void 0?lc.usedRenderingMode:-1;Cl!==-1?Xi+=Cl+` Tr `:bl!==-1&&(Xi+=`0 Tr -`),Cl!==-1&&(lc.usedRenderingMode=Cl),Ye=ri.align||"left";var il,Yl=so*Ka,cu=Jn.internal.pageSize.getWidth(),Jc=si[$r];_t=ri.charSpace||pc,Yt=ri.maxWidth||0,Pr=Object.assign({autoencode:!0,noBOM:!0},ri.flags);var ec=[];if(Object.prototype.toString.call(Rt)==="[object Array]"){var al;Ce=As(Rt),Ye!=="left"&&(il=Ce.map(function(sl){return Jn.getStringUnitWidth(sl,{font:Jc,charSpace:_t,fontSize:so,doKerning:!1})*so/go}));var lo,Pc=0;if(Ye==="right"){qt-=il[0],Rt=[],ls=Ce.length;for(var Cc=0;Cc":")"),Lc=parseFloat(Ce[tc][1]),_c=parseFloat(Ce[tc][2]);break;case yo:ms=(ga?"<":"(")+Ce[tc]+(ga?">":")"),Lc=Al(qt),_c=zs(En)}ec!==void 0&&ec[tc]!==void 0&&(Tl=ec[tc]+` Tw `),tc===0?Rt.push(Tl+Tc(Lc,_c,yn)+ms):Is===yo?Rt.push(Tl+ms):Is===es&&Rt.push(Tl+Tc(Lc,_c,yn)+ms)}Rt=Is===yo?Rt.join(` Tj @@ -691,19 +691,19 @@ T* `):Rt.join(` Tj `),Rt+=` Tj `;var cc=`BT /`;return cc+=$r+" "+so+` Tf -`,cc+=zi(so*Ka)+` TL +`,cc+=zi(so*Wa)+` TL `,cc+=da+` -`,cc+=Xi,cc+=Rt,dn(cc+="ET"),Vr[$r]=!0,Jn};var Ra=sr.__private__.clip=sr.clip=function(Rt){return dn(Rt==="evenodd"?"W*":"W"),this};sr.clipEvenOdd=function(){return Ra("evenodd")},sr.__private__.discardPath=sr.discardPath=function(){return dn("n"),this};var ho=sr.__private__.isValidStyle=function(Rt){var qt=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(Rt)!==-1&&(qt=!0),qt};sr.__private__.setDefaultPathOperation=sr.setDefaultPathOperation=function(Rt){return ho(Rt)&&(nr=Rt),this};var ll=sr.__private__.getStyle=sr.getStyle=function(Rt){var qt=nr;switch(Rt){case"D":case"S":qt="S";break;case"F":qt="f";break;case"FD":case"DF":qt="B";break;case"f":case"f*":case"B":case"B*":qt=Rt}return qt},ml=sr.close=function(){return dn("h"),this};sr.stroke=function(){return dn("S"),this},sr.fill=function(Rt){return wl("f",Rt),this},sr.fillEvenOdd=function(Rt){return wl("f*",Rt),this},sr.fillStroke=function(Rt){return wl("B",Rt),this},sr.fillStrokeEvenOdd=function(Rt){return wl("B*",Rt),this};var wl=function(qt,En){A()(En)==="object"?Xo(En,qt):dn(qt)},El=function(qt){qt===null||Vn===Br.ADVANCED&&qt===void 0||(qt=ll(qt),dn(qt))};function Xs(Rt,qt,En,ri,Lt){var he=new z(qt||this.boundingBox,En||this.xStep,ri||this.yStep,this.gState,Lt||this.matrix);he.stream=this.stream;var Ce=Rt+"$$"+this.cloneIndex+++"$$";return Nr(Ce,he),he}var Xo=function(qt,En){var ri=ni[qt.key],Lt=Zn[ri];if(Lt instanceof W)dn("q"),dn(gl(En)),Lt.gState&&sr.setGState(Lt.gState),dn(qt.matrix.toString()+" cm"),dn("/"+ri+" sh"),dn("Q");else if(Lt instanceof z){var he=new Ai(1,0,0,-1,0,Ts());qt.matrix&&(he=he.multiply(qt.matrix||Ba),ri=Xs.call(Lt,qt.key,qt.boundingBox,qt.xStep,qt.yStep,he).id),dn("q"),dn("/Pattern cs"),dn("/"+ri+" scn"),Lt.gState&&sr.setGState(Lt.gState),dn(En),dn("Q")}},gl=function(qt){switch(qt){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},Vl=sr.moveTo=function(Rt,qt){return dn(zi(fn(Rt))+" "+zi(Cn(qt))+" m"),this},Us=sr.lineTo=function(Rt,qt){return dn(zi(fn(Rt))+" "+zi(Cn(qt))+" l"),this},$s=sr.curveTo=function(Rt,qt,En,ri,Lt,he){return dn([zi(fn(Rt)),zi(Cn(qt)),zi(fn(En)),zi(Cn(ri)),zi(fn(Lt)),zi(Cn(he)),"c"].join(" ")),this};sr.__private__.line=sr.line=function(Rt,qt,En,ri,Lt){if(isNaN(Rt)||isNaN(qt)||isNaN(En)||isNaN(ri)||!ho(Lt))throw new Error("Invalid arguments passed to jsPDF.line");return Vn===Br.COMPAT?this.lines([[En-Rt,ri-qt]],Rt,qt,[1,1],Lt||"S"):this.lines([[En-Rt,ri-qt]],Rt,qt,[1,1]).stroke()},sr.__private__.lines=sr.lines=function(Rt,qt,En,ri,Lt,he){var Ce,Ie,Ye,_t,Yt,Pr,Yr,yn,Jn,Ci,Xi,ga;if(typeof Rt=="number"&&(ga=En,En=qt,qt=Rt,Rt=ga),ri=ri||[1,1],he=he||!1,isNaN(qt)||isNaN(En)||!Array.isArray(Rt)||!Array.isArray(ri)||!ho(Lt)||typeof he!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Vl(qt,En),Ce=ri[0],Ie=ri[1],_t=Rt.length,Ci=qt,Xi=En,Ye=0;Ye<_t;Ye++)(Yt=Rt[Ye]).length===2?(Ci=Yt[0]*Ce+Ci,Xi=Yt[1]*Ie+Xi,Us(Ci,Xi)):(Pr=Yt[0]*Ce+Ci,Yr=Yt[1]*Ie+Xi,yn=Yt[2]*Ce+Ci,Jn=Yt[3]*Ie+Xi,Ci=Yt[4]*Ce+Ci,Xi=Yt[5]*Ie+Xi,$s(Pr,Yr,yn,Jn,Ci,Xi));return he&&ml(),El(Lt),this},sr.path=function(Rt){for(var qt=0;qt>0&255,dt>>8&255,dt>>16&255,dt>>24&255)},H.prototype.toHexString=function(dt){return dt.split("").map(function(Me){return("0"+(255&Me.charCodeAt(0)).toString(16)).slice(-2)}).join("")},H.prototype.hexToBytes=function(dt){for(var Me=[],Xe=0;Xe>8&255,dt>>16&255,255&Me,Me>>8&255)).substr(0,10);return function(Qe){return M(Xe,Qe)}},J.prototype.equals=function(dt){var Me,Xe="id,objectNumber,equals";if(!dt||A()(dt)!==A()(this))return!1;var Qe=0;for(Me in this)if(!(Xe.indexOf(Me)>=0)){if(this.hasOwnProperty(Me)&&!dt.hasOwnProperty(Me))return!1;if(this[Me]!==dt[Me])return!1;Qe++}for(Me in dt)dt.hasOwnProperty(Me)&&Xe.indexOf(Me)<0&&Qe--;return Qe===0},K.API={events:[]},K.version="2.5.0";var P=K.API,G=1,V=function(Me){return Me.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},q=function(Me){return Me.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},re=function(Me){return Me.toFixed(2)},ce=function(Me){return Me.toFixed(5)};P.__acroform__={};var ie=function(Me,Xe){Me.prototype=Object.create(Xe.prototype),Me.prototype.constructor=Me},fe=function(Me){return Me*G},xe=function(Me){var Xe=new Re,Qe=de.internal.getHeight(Me)||0,st=de.internal.getWidth(Me)||0;return Xe.BBox=[0,0,Number(re(st)),Number(re(Qe))],Xe},Se=P.__acroform__.setBit=function(dt,Me){if(dt=dt||0,Me=Me||0,isNaN(dt)||isNaN(Me))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return dt|=1<>0&255,dt>>8&255,dt>>16&255,dt>>24&255)},H.prototype.toHexString=function(dt){return dt.split("").map(function(Me){return("0"+(255&Me.charCodeAt(0)).toString(16)).slice(-2)}).join("")},H.prototype.hexToBytes=function(dt){for(var Me=[],Xe=0;Xe>8&255,dt>>16&255,255&Me,Me>>8&255)).substr(0,10);return function(Qe){return M(Xe,Qe)}},J.prototype.equals=function(dt){var Me,Xe="id,objectNumber,equals";if(!dt||A()(dt)!==A()(this))return!1;var Qe=0;for(Me in this)if(!(Xe.indexOf(Me)>=0)){if(this.hasOwnProperty(Me)&&!dt.hasOwnProperty(Me))return!1;if(this[Me]!==dt[Me])return!1;Qe++}for(Me in dt)dt.hasOwnProperty(Me)&&Xe.indexOf(Me)<0&&Qe--;return Qe===0},W.API={events:[]},W.version="2.5.0";var P=W.API,G=1,V=function(Me){return Me.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},q=function(Me){return Me.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},re=function(Me){return Me.toFixed(2)},ce=function(Me){return Me.toFixed(5)};P.__acroform__={};var ie=function(Me,Xe){Me.prototype=Object.create(Xe.prototype),Me.prototype.constructor=Me},fe=function(Me){return Me*G},xe=function(Me){var Xe=new Re,Qe=de.internal.getHeight(Me)||0,st=de.internal.getWidth(Me)||0;return Xe.BBox=[0,0,Number(re(st)),Number(re(Qe))],Xe},Se=P.__acroform__.setBit=function(dt,Me){if(dt=dt||0,Me=Me||0,isNaN(dt)||isNaN(Me))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return dt|=1<0;){Xe="",ft--;var Ur,Lr,Vr=Y("3",Me,ft).height,sr=Me.multiline?Bt-ft:(Bt-Vr)/2,Bn=sr+=2,Er=0,gn=0,rn=0;if(ft<=0){Xe=`(...) Tj `,Xe+="% Width of Text: "+Y(Xe,Me,ft=12).width+", FieldWidth:"+Et+` -`;break}for(var Br="",Vn=0,gi=0;giBt)continue e;Br+=nt[gi][rn],Ni=!0,gn=gi,gi--}else{Br=(Br+=nt[gi][rn]+" ").substr(Br.length-1)==" "?Br.substr(0,Br.length-1):Br;var Ki=parseInt(gi),zi=nr(Ki,Br,ft),Yi=gi>=nt.length-1;if(zi&&!Yi){Br+=" ",rn=0;continue}if(zi||Yi){if(Yi)gn=Ki;else if(Me.multiline&&(Vr+2)*(Vn+2)+2>Bt)continue e}else{if(!Me.multiline)continue e;if((Vr+2)*(Vn+2)+2>Bt)continue e;gn=Ki}}for(var mi="",va=Er;va<=gn;va++){var zn=nt[va];if(Me.multiline){if(va===gn){mi+=zn[rn]+" ",rn=(rn+1)%zn.length;continue}if(va===Er){mi+=zn[zn.length-1]+" ";continue}}mi+=zn[0]+" "}switch(mi=mi.substr(mi.length-1)==" "?mi.substr(0,mi.length-1):mi,Lr=Y(mi,Me,ft).width,Me.textAlign){case"right":Ur=Et-Lr-2;break;case"center":Ur=(Et-Lr)/2;break;case"left":default:Ur=2}Xe+=re(Ur)+" "+re(Bn)+` Td +`;break}for(var Br="",Vn=0,gi=0;giBt)continue e;Br+=nt[gi][rn],Ni=!0,gn=gi,gi--}else{Br=(Br+=nt[gi][rn]+" ").substr(Br.length-1)==" "?Br.substr(0,Br.length-1):Br;var Wi=parseInt(gi),zi=nr(Wi,Br,ft),Yi=gi>=nt.length-1;if(zi&&!Yi){Br+=" ",rn=0;continue}if(zi||Yi){if(Yi)gn=Wi;else if(Me.multiline&&(Vr+2)*(Vn+2)+2>Bt)continue e}else{if(!Me.multiline)continue e;if((Vr+2)*(Vn+2)+2>Bt)continue e;gn=Wi}}for(var mi="",va=Er;va<=gn;va++){var zn=nt[va];if(Me.multiline){if(va===gn){mi+=zn[rn]+" ",rn=(rn+1)%zn.length;continue}if(va===Er){mi+=zn[zn.length-1]+" ";continue}}mi+=zn[0]+" "}switch(mi=mi.substr(mi.length-1)==" "?mi.substr(0,mi.length-1):mi,Lr=Y(mi,Me,ft).width,Me.textAlign){case"right":Ur=Et-Lr-2;break;case"center":Ur=(Et-Lr)/2;break;case"left":default:Ur=2}Xe+=re(Ur)+" "+re(Bn)+` Td `,Xe+="("+V(mi)+`) Tj `,Xe+=-re(Ur)+` 0 Td `,Bn=-(ft+2),Lr=0,Er=Ni?gn:gn+1,Vn++,Br=""}break}return st.text=Xe,st.fontSize=ft,st},Y=function(Me,Xe,Qe){var st=Xe.scope.internal.getFont(Xe.fontName,Xe.fontStyle),nt=Xe.scope.getStringUnitWidth(Me,{font:st,fontSize:parseFloat(Qe),charSpace:0})*parseFloat(Qe);return{height:Xe.scope.getStringUnitWidth("3",{font:st,fontSize:parseFloat(Qe),charSpace:0})*parseFloat(Qe)*1.5,width:nt}},te={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},we=function(Me,Xe){var Qe={type:"reference",object:Me};Xe.internal.getPageInfo(Me.page).pageContext.annotations.find(function(st){return st.type===Qe.type&&st.object===Qe.object})===void 0&&Xe.internal.getPageInfo(Me.page).pageContext.annotations.push(Qe)},pe=function(Me,Xe){for(var Qe in Me)if(Me.hasOwnProperty(Qe)){var st=Qe,nt=Me[Qe];Xe.internal.newObjectDeferredBegin(nt.objId,!0),A()(nt)==="object"&&typeof nt.putStream=="function"&&nt.putStream(),delete Me[st]}},De=function(Me,Xe){if(Xe.scope=Me,Me.internal!==void 0&&(Me.internal.acroformPlugin===void 0||Me.internal.acroformPlugin.isInitialized===!1)){if(yt.FieldNum=0,Me.internal.acroformPlugin=JSON.parse(JSON.stringify(te)),Me.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");G=Me.internal.scaleFactor,Me.internal.acroformPlugin.acroFormDictionaryRoot=new it,Me.internal.acroformPlugin.acroFormDictionaryRoot.scope=Me,Me.internal.acroformPlugin.acroFormDictionaryRoot._eventID=Me.internal.events.subscribe("postPutResources",function(){!function(Qe){Qe.internal.events.unsubscribe(Qe.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete Qe.internal.acroformPlugin.acroFormDictionaryRoot._eventID,Qe.internal.acroformPlugin.printedOut=!0}(Me)}),Me.internal.events.subscribe("buildDocument",function(){!function(Qe){Qe.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var st=Qe.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var nt in st)if(st.hasOwnProperty(nt)){var ft=st[nt];ft.objId=void 0,ft.hasAnnotation&&we(ft,Qe)}}(Me)}),Me.internal.events.subscribe("putCatalog",function(){!function(Qe){if(Qe.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");Qe.internal.write("/AcroForm "+Qe.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(Me)}),Me.internal.events.subscribe("postPutPages",function(Qe){!function(st,nt){var ft=!st;for(var Bt in st||(nt.internal.newObjectDeferredBegin(nt.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),nt.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),st=st||nt.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(st.hasOwnProperty(Bt)){var Et=st[Bt],nr=[],Ur=Et.Rect;if(Et.Rect&&(Et.Rect=Ge(Et.Rect,nt)),nt.internal.newObjectDeferredBegin(Et.objId,!0),Et.DA=de.createDefaultAppearanceStream(Et),A()(Et)==="object"&&typeof Et.getKeyValueListForStream=="function"&&(nr=Et.getKeyValueListForStream()),Et.Rect=Ur,Et.hasAppearanceStream&&!Et.appearanceStreamContent){var Lr=ae(Et);nr.push({key:"AP",value:"<>"}),nt.internal.acroformPlugin.xForms.push(Lr)}if(Et.appearanceStreamContent){var Vr="";for(var sr in Et.appearanceStreamContent)if(Et.appearanceStreamContent.hasOwnProperty(sr)){var Bn=Et.appearanceStreamContent[sr];if(Vr+="/"+sr+" ",Vr+="<<",Object.keys(Bn).length>=1||Array.isArray(Bn)){for(var Bt in Bn)if(Bn.hasOwnProperty(Bt)){var Er=Bn[Bt];typeof Er=="function"&&(Er=Er.call(nt,Et)),Vr+="/"+Bt+" "+Er+" ",nt.internal.acroformPlugin.xForms.indexOf(Er)>=0||nt.internal.acroformPlugin.xForms.push(Er)}}else typeof(Er=Bn)=="function"&&(Er=Er.call(nt,Et)),Vr+="/"+Bt+" "+Er,nt.internal.acroformPlugin.xForms.indexOf(Er)>=0||nt.internal.acroformPlugin.xForms.push(Er);Vr+=">>"}nr.push({key:"AP",value:`<< `+Vr+">>"})}nt.internal.putStream({additionalKeyValues:nr,objectId:Et.objId}),nt.internal.out("endobj")}ft&&pe(nt.internal.acroformPlugin.xForms,nt)}(Qe,Me)}),Me.internal.acroformPlugin.isInitialized=!0}},Ne=P.__acroform__.arrayToPdfArray=function(dt,Me,Xe){var Qe=function(Bt){return Bt};if(Array.isArray(dt)){for(var st="[",nt=0;nt0?Xe:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return Xe}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(Me){var st=function(ft){return ft};return this.scope&&(st=this.scope.internal.getEncryptor(this.objId)),"("+V(st(Me))+")"}},set:function(st){Me=st}})};ie(it,be);var yt=function dt(){be.call(this);var Me=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return Me},set:function(Br){if(isNaN(Br))throw new Error('Invalid value "'+Br+'" for attribute F supplied.');Me=Br}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(Me,3))},set:function(Br){Boolean(Br)===!0?this.F=ee(Me,3):this.F=ue(Me,3)}});var Xe=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return Xe},set:function(Br){if(isNaN(Br))throw new Error('Invalid value "'+Br+'" for attribute Ff supplied.');Xe=Br}});var Qe=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(Qe.length!==0)return Qe},set:function(Br){Qe=Br!==void 0?Br:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!Qe||isNaN(Qe[0])?0:Qe[0]},set:function(Br){Qe[0]=Br}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!Qe||isNaN(Qe[1])?0:Qe[1]},set:function(Br){Qe[1]=Br}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!Qe||isNaN(Qe[2])?0:Qe[2]},set:function(Br){Qe[2]=Br}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!Qe||isNaN(Qe[3])?0:Qe[3]},set:function(Br){Qe[3]=Br}});var st="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return st},set:function(Br){switch(Br){case"/Btn":case"/Tx":case"/Ch":case"/Sig":st=Br;break;default:throw new Error('Invalid value "'+Br+'" for attribute FT supplied.')}}});var nt=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!nt||nt.length<1){if(this instanceof $t)return;nt="FieldObject"+dt.FieldNum++}var Br=function(gi){return gi};return this.scope&&(Br=this.scope.internal.getEncryptor(this.objId)),"("+V(Br(nt))+")"},set:function(Br){nt=Br.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return nt},set:function(Br){nt=Br}});var ft="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return ft},set:function(Br){ft=Br}});var Bt="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return Bt},set:function(Br){Bt=Br}});var Et=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return Et},set:function(Br){Et=Br}});var nr=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return nr===void 0?50/G:nr},set:function(Br){nr=Br}});var Ur="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return Ur},set:function(Br){Ur=Br}});var Lr="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!Lr||this instanceof $t||this instanceof ht))return me(Lr,this.objId,this.scope)},set:function(Br){Br=Br.toString(),Lr=Br}});var Vr=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Vr)return this instanceof Ft==!1?me(Vr,this.objId,this.scope):Vr},set:function(Br){Br=Br.toString(),Vr=this instanceof Ft==!1?Br.substr(0,1)==="("?q(Br.substr(1,Br.length-2)):q(Br):Br}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Ft==!0?q(Vr.substr(1,Vr.length-1)):Vr},set:function(Br){Br=Br.toString(),Vr=this instanceof Ft==!0?"/"+Br:Br}});var sr=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(sr)return sr},set:function(Br){this.V=Br}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(sr)return this instanceof Ft==!1?me(sr,this.objId,this.scope):sr},set:function(Br){Br=Br.toString(),sr=this instanceof Ft==!1?Br.substr(0,1)==="("?q(Br.substr(1,Br.length-2)):q(Br):Br}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Ft==!0?q(sr.substr(1,sr.length-1)):sr},set:function(Br){Br=Br.toString(),sr=this instanceof Ft==!0?"/"+Br:Br}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var Bn,Er=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return Er},set:function(Br){Br=Boolean(Br),Er=Br}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(Bn)return Bn},set:function(Br){Bn=Br}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,1))},set:function(Br){Boolean(Br)===!0?this.Ff=ee(this.Ff,1):this.Ff=ue(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,2))},set:function(Br){Boolean(Br)===!0?this.Ff=ee(this.Ff,2):this.Ff=ue(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,3))},set:function(Br){Boolean(Br)===!0?this.Ff=ee(this.Ff,3):this.Ff=ue(this.Ff,3)}});var gn=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(gn!==null)return gn},set:function(Br){if([0,1,2].indexOf(Br)===-1)throw new Error('Invalid value "'+Br+'" for attribute Q supplied.');gn=Br}}),Object.defineProperty(this,"textAlign",{get:function(){var Br;switch(gn){case 0:default:Br="left";break;case 1:Br="center";break;case 2:Br="right"}return Br},configurable:!0,enumerable:!0,set:function(Br){switch(Br){case"right":case 2:gn=2;break;case"center":case 1:gn=1;break;case"left":case 0:default:gn=0}}})};ie(yt,be);var pt=function(){yt.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var Me=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return Me},set:function(st){Me=st}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return Me},set:function(st){Me=st}});var Xe=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Ne(Xe,this.objId,this.scope)},set:function(st){var nt,ft;ft=[],typeof(nt=st)=="string"&&(ft=function(Bt,Et,nr){nr||(nr=1);for(var Ur,Lr=[];Ur=Et.exec(Bt);)Lr.push(Ur[nr]);return Lr}(nt,/\((.*?)\)/g)),Xe=ft}}),this.getOptions=function(){return Xe},this.setOptions=function(Qe){Xe=Qe,this.sort&&Xe.sort()},this.addOption=function(Qe){Qe=(Qe=Qe||"").toString(),Xe.push(Qe),this.sort&&Xe.sort()},this.removeOption=function(Qe,st){for(st=st||!1,Qe=(Qe=Qe||"").toString();Xe.indexOf(Qe)!==-1&&(Xe.splice(Xe.indexOf(Qe),1),st!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,18))},set:function(st){Boolean(st)===!0?this.Ff=ee(this.Ff,18):this.Ff=ue(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,19))},set:function(st){this.combo===!0&&(Boolean(st)===!0?this.Ff=ee(this.Ff,19):this.Ff=ue(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,20))},set:function(st){Boolean(st)===!0?(this.Ff=ee(this.Ff,20),Xe.sort()):this.Ff=ue(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,22))},set:function(st){Boolean(st)===!0?this.Ff=ee(this.Ff,22):this.Ff=ue(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,23))},set:function(st){Boolean(st)===!0?this.Ff=ee(this.Ff,23):this.Ff=ue(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,27))},set:function(st){Boolean(st)===!0?this.Ff=ee(this.Ff,27):this.Ff=ue(this.Ff,27)}}),this.hasAppearanceStream=!1};ie(pt,yt);var Pe=function(){pt.call(this),this.fontName="helvetica",this.combo=!1};ie(Pe,pt);var Nt=function(){Pe.call(this),this.combo=!0};ie(Nt,Pe);var ut=function(){Nt.call(this),this.edit=!0};ie(ut,Nt);var Ft=function(){yt.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,15))},set:function(st){Boolean(st)===!0?this.Ff=ee(this.Ff,15):this.Ff=ue(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,16))},set:function(st){Boolean(st)===!0?this.Ff=ee(this.Ff,16):this.Ff=ue(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,17))},set:function(st){Boolean(st)===!0?this.Ff=ee(this.Ff,17):this.Ff=ue(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,26))},set:function(st){Boolean(st)===!0?this.Ff=ee(this.Ff,26):this.Ff=ue(this.Ff,26)}});var Me,Xe={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var st=function(Et){return Et};if(this.scope&&(st=this.scope.internal.getEncryptor(this.objId)),Object.keys(Xe).length!==0){var nt,ft=[];for(nt in ft.push("<<"),Xe)ft.push("/"+nt+" ("+V(st(Xe[nt]))+")");return ft.push(">>"),ft.join(` -`)}},set:function(st){A()(st)==="object"&&(Xe=st)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Xe.CA||""},set:function(st){typeof st=="string"&&(Xe.CA=st)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Me},set:function(st){Me=st}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Me.substr(1,Me.length-1)},set:function(st){Me="/"+st}})};ie(Ft,yt);var Ut=function(){Ft.call(this),this.pushButton=!0};ie(Ut,Ft);var Wt=function(){Ft.call(this),this.radio=!0,this.pushButton=!1;var Me=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return Me},set:function(Qe){Me=Qe!==void 0?Qe:[]}})};ie(Wt,Ft);var $t=function(){var Me,Xe;yt.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return Me},set:function(ft){Me=ft}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return Xe},set:function(ft){Xe=ft}});var Qe,st={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var ft=function(Ur){return Ur};this.scope&&(ft=this.scope.internal.getEncryptor(this.objId));var Bt,Et=[];for(Bt in Et.push("<<"),st)Et.push("/"+Bt+" ("+V(ft(st[Bt]))+")");return Et.push(">>"),Et.join(` -`)},set:function(ft){A()(ft)==="object"&&(st=ft)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return st.CA||""},set:function(ft){typeof ft=="string"&&(st.CA=ft)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Qe},set:function(ft){Qe=ft}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Qe.substr(1,Qe.length-1)},set:function(ft){Qe="/"+ft}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=de.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};ie($t,yt),Wt.prototype.setAppearance=function(dt){if(!("createAppearanceStream"in dt)||!("getCA"in dt))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var Me in this.Kids)if(this.Kids.hasOwnProperty(Me)){var Xe=this.Kids[Me];Xe.appearanceStreamContent=dt.createAppearanceStream(Xe.optionName),Xe.caption=dt.getCA()}},Wt.prototype.createOption=function(dt){var Me=new $t;return Me.Parent=this,Me.optionName=dt,this.Kids.push(Me),qe.call(this.scope,Me),Me};var or=function(){Ft.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=de.CheckBox.createAppearanceStream()};ie(or,Ft);var ht=function(){yt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,13))},set:function(Qe){Boolean(Qe)===!0?this.Ff=ee(this.Ff,13):this.Ff=ue(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,21))},set:function(Qe){Boolean(Qe)===!0?this.Ff=ee(this.Ff,21):this.Ff=ue(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,23))},set:function(Qe){Boolean(Qe)===!0?this.Ff=ee(this.Ff,23):this.Ff=ue(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,24))},set:function(Qe){Boolean(Qe)===!0?this.Ff=ee(this.Ff,24):this.Ff=ue(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,25))},set:function(Qe){Boolean(Qe)===!0?this.Ff=ee(this.Ff,25):this.Ff=ue(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,26))},set:function(Qe){Boolean(Qe)===!0?this.Ff=ee(this.Ff,26):this.Ff=ue(this.Ff,26)}});var Me=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return Me},set:function(Qe){Me=Qe}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return Me},set:function(Qe){Number.isInteger(Qe)&&(Me=Qe)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};ie(ht,yt);var Ee=function(){ht.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,14))},set:function(Xe){Boolean(Xe)===!0?this.Ff=ee(this.Ff,14):this.Ff=ue(this.Ff,14)}}),this.password=!0};ie(Ee,ht);var de={CheckBox:{createAppearanceStream:function(){return{N:{On:de.CheckBox.YesNormal},D:{On:de.CheckBox.YesPushDown,Off:de.CheckBox.OffPushDown}}},YesPushDown:function(Me){var Xe=xe(Me);Xe.scope=Me.scope;var Qe=[],st=Me.scope.internal.getFont(Me.fontName,Me.fontStyle).id,nt=Me.scope.__private__.encodeColorString(Me.color),ft=Z(Me,Me.caption);return Qe.push("0.749023 g"),Qe.push("0 0 "+re(de.internal.getWidth(Me))+" "+re(de.internal.getHeight(Me))+" re"),Qe.push("f"),Qe.push("BMC"),Qe.push("q"),Qe.push("0 0 1 rg"),Qe.push("/"+st+" "+re(ft.fontSize)+" Tf "+nt),Qe.push("BT"),Qe.push(ft.text),Qe.push("ET"),Qe.push("Q"),Qe.push("EMC"),Xe.stream=Qe.join(` +`)}},set:function(st){A()(st)==="object"&&(Xe=st)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Xe.CA||""},set:function(st){typeof st=="string"&&(Xe.CA=st)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Me},set:function(st){Me=st}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Me.substr(1,Me.length-1)},set:function(st){Me="/"+st}})};ie(Ft,yt);var Ut=function(){Ft.call(this),this.pushButton=!0};ie(Ut,Ft);var Kt=function(){Ft.call(this),this.radio=!0,this.pushButton=!1;var Me=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return Me},set:function(Qe){Me=Qe!==void 0?Qe:[]}})};ie(Kt,Ft);var $t=function(){var Me,Xe;yt.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return Me},set:function(ft){Me=ft}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return Xe},set:function(ft){Xe=ft}});var Qe,st={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var ft=function(Ur){return Ur};this.scope&&(ft=this.scope.internal.getEncryptor(this.objId));var Bt,Et=[];for(Bt in Et.push("<<"),st)Et.push("/"+Bt+" ("+V(ft(st[Bt]))+")");return Et.push(">>"),Et.join(` +`)},set:function(ft){A()(ft)==="object"&&(st=ft)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return st.CA||""},set:function(ft){typeof ft=="string"&&(st.CA=ft)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Qe},set:function(ft){Qe=ft}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Qe.substr(1,Qe.length-1)},set:function(ft){Qe="/"+ft}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=de.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};ie($t,yt),Kt.prototype.setAppearance=function(dt){if(!("createAppearanceStream"in dt)||!("getCA"in dt))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var Me in this.Kids)if(this.Kids.hasOwnProperty(Me)){var Xe=this.Kids[Me];Xe.appearanceStreamContent=dt.createAppearanceStream(Xe.optionName),Xe.caption=dt.getCA()}},Kt.prototype.createOption=function(dt){var Me=new $t;return Me.Parent=this,Me.optionName=dt,this.Kids.push(Me),qe.call(this.scope,Me),Me};var or=function(){Ft.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=de.CheckBox.createAppearanceStream()};ie(or,Ft);var ht=function(){yt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,13))},set:function(Qe){Boolean(Qe)===!0?this.Ff=ee(this.Ff,13):this.Ff=ue(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,21))},set:function(Qe){Boolean(Qe)===!0?this.Ff=ee(this.Ff,21):this.Ff=ue(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,23))},set:function(Qe){Boolean(Qe)===!0?this.Ff=ee(this.Ff,23):this.Ff=ue(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,24))},set:function(Qe){Boolean(Qe)===!0?this.Ff=ee(this.Ff,24):this.Ff=ue(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,25))},set:function(Qe){Boolean(Qe)===!0?this.Ff=ee(this.Ff,25):this.Ff=ue(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,26))},set:function(Qe){Boolean(Qe)===!0?this.Ff=ee(this.Ff,26):this.Ff=ue(this.Ff,26)}});var Me=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return Me},set:function(Qe){Me=Qe}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return Me},set:function(Qe){Number.isInteger(Qe)&&(Me=Qe)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};ie(ht,yt);var Ee=function(){ht.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(Be(this.Ff,14))},set:function(Xe){Boolean(Xe)===!0?this.Ff=ee(this.Ff,14):this.Ff=ue(this.Ff,14)}}),this.password=!0};ie(Ee,ht);var de={CheckBox:{createAppearanceStream:function(){return{N:{On:de.CheckBox.YesNormal},D:{On:de.CheckBox.YesPushDown,Off:de.CheckBox.OffPushDown}}},YesPushDown:function(Me){var Xe=xe(Me);Xe.scope=Me.scope;var Qe=[],st=Me.scope.internal.getFont(Me.fontName,Me.fontStyle).id,nt=Me.scope.__private__.encodeColorString(Me.color),ft=Z(Me,Me.caption);return Qe.push("0.749023 g"),Qe.push("0 0 "+re(de.internal.getWidth(Me))+" "+re(de.internal.getHeight(Me))+" re"),Qe.push("f"),Qe.push("BMC"),Qe.push("q"),Qe.push("0 0 1 rg"),Qe.push("/"+st+" "+re(ft.fontSize)+" Tf "+nt),Qe.push("BT"),Qe.push(ft.text),Qe.push("ET"),Qe.push("Q"),Qe.push("EMC"),Xe.stream=Qe.join(` `),Xe},YesNormal:function(Me){var Xe=xe(Me);Xe.scope=Me.scope;var Qe=Me.scope.internal.getFont(Me.fontName,Me.fontStyle).id,st=Me.scope.__private__.encodeColorString(Me.color),nt=[],ft=de.internal.getHeight(Me),Bt=de.internal.getWidth(Me),Et=Z(Me,Me.caption);return nt.push("1 g"),nt.push("0 0 "+re(Bt)+" "+re(ft)+" re"),nt.push("f"),nt.push("q"),nt.push("0 0 1 rg"),nt.push("0 0 "+re(Bt-1)+" "+re(ft-1)+" re"),nt.push("W"),nt.push("n"),nt.push("0 g"),nt.push("BT"),nt.push("/"+Qe+" "+re(Et.fontSize)+" Tf "+st),nt.push(Et.text),nt.push("ET"),nt.push("Q"),Xe.stream=nt.join(` `),Xe},OffPushDown:function(Me){var Xe=xe(Me);Xe.scope=Me.scope;var Qe=[];return Qe.push("0.749023 g"),Qe.push("0 0 "+re(de.internal.getWidth(Me))+" "+re(de.internal.getHeight(Me))+" re"),Qe.push("f"),Xe.stream=Qe.join(` `),Xe}},RadioButton:{Circle:{createAppearanceStream:function(Me){var Xe={D:{Off:de.RadioButton.Circle.OffPushDown},N:{}};return Xe.N[Me]=de.RadioButton.Circle.YesNormal,Xe.D[Me]=de.RadioButton.Circle.YesPushDown,Xe},getCA:function(){return"l"},YesNormal:function(Me){var Xe=xe(Me);Xe.scope=Me.scope;var Qe=[],st=de.internal.getWidth(Me)<=de.internal.getHeight(Me)?de.internal.getWidth(Me)/4:de.internal.getHeight(Me)/4;st=Number((.9*st).toFixed(5));var nt=de.internal.Bezier_C,ft=Number((st*nt).toFixed(5));return Qe.push("q"),Qe.push("1 0 0 1 "+ce(de.internal.getWidth(Me)/2)+" "+ce(de.internal.getHeight(Me)/2)+" cm"),Qe.push(st+" 0 m"),Qe.push(st+" "+ft+" "+ft+" "+st+" 0 "+st+" c"),Qe.push("-"+ft+" "+st+" -"+st+" "+ft+" -"+st+" 0 c"),Qe.push("-"+st+" -"+ft+" -"+ft+" -"+st+" 0 -"+st+" c"),Qe.push(ft+" -"+st+" "+st+" -"+ft+" "+st+" 0 c"),Qe.push("f"),Qe.push("Q"),Xe.stream=Qe.join(` @@ -712,13 +712,13 @@ T* `):Rt.join(` Tj `),Xe}},Cross:{createAppearanceStream:function(Me){var Xe={D:{Off:de.RadioButton.Cross.OffPushDown},N:{}};return Xe.N[Me]=de.RadioButton.Cross.YesNormal,Xe.D[Me]=de.RadioButton.Cross.YesPushDown,Xe},getCA:function(){return"8"},YesNormal:function(Me){var Xe=xe(Me);Xe.scope=Me.scope;var Qe=[],st=de.internal.calculateCross(Me);return Qe.push("q"),Qe.push("1 1 "+re(de.internal.getWidth(Me)-2)+" "+re(de.internal.getHeight(Me)-2)+" re"),Qe.push("W"),Qe.push("n"),Qe.push(re(st.x1.x)+" "+re(st.x1.y)+" m"),Qe.push(re(st.x2.x)+" "+re(st.x2.y)+" l"),Qe.push(re(st.x4.x)+" "+re(st.x4.y)+" m"),Qe.push(re(st.x3.x)+" "+re(st.x3.y)+" l"),Qe.push("s"),Qe.push("Q"),Xe.stream=Qe.join(` `),Xe},YesPushDown:function(Me){var Xe=xe(Me);Xe.scope=Me.scope;var Qe=de.internal.calculateCross(Me),st=[];return st.push("0.749023 g"),st.push("0 0 "+re(de.internal.getWidth(Me))+" "+re(de.internal.getHeight(Me))+" re"),st.push("f"),st.push("q"),st.push("1 1 "+re(de.internal.getWidth(Me)-2)+" "+re(de.internal.getHeight(Me)-2)+" re"),st.push("W"),st.push("n"),st.push(re(Qe.x1.x)+" "+re(Qe.x1.y)+" m"),st.push(re(Qe.x2.x)+" "+re(Qe.x2.y)+" l"),st.push(re(Qe.x4.x)+" "+re(Qe.x4.y)+" m"),st.push(re(Qe.x3.x)+" "+re(Qe.x3.y)+" l"),st.push("s"),st.push("Q"),Xe.stream=st.join(` `),Xe},OffPushDown:function(Me){var Xe=xe(Me);Xe.scope=Me.scope;var Qe=[];return Qe.push("0.749023 g"),Qe.push("0 0 "+re(de.internal.getWidth(Me))+" "+re(de.internal.getHeight(Me))+" re"),Qe.push("f"),Xe.stream=Qe.join(` -`),Xe}}},createDefaultAppearanceStream:function(Me){var Xe=Me.scope.internal.getFont(Me.fontName,Me.fontStyle).id,Qe=Me.scope.__private__.encodeColorString(Me.color);return"/"+Xe+" "+Me.fontSize+" Tf "+Qe}};de.internal={Bezier_C:.551915024494,calculateCross:function(Me){var Xe=de.internal.getWidth(Me),Qe=de.internal.getHeight(Me),st=Math.min(Xe,Qe);return{x1:{x:(Xe-st)/2,y:(Qe-st)/2+st},x2:{x:(Xe-st)/2+st,y:(Qe-st)/2},x3:{x:(Xe-st)/2,y:(Qe-st)/2},x4:{x:(Xe-st)/2+st,y:(Qe-st)/2+st}}}},de.internal.getWidth=function(dt){var Me=0;return A()(dt)==="object"&&(Me=fe(dt.Rect[2])),Me},de.internal.getHeight=function(dt){var Me=0;return A()(dt)==="object"&&(Me=fe(dt.Rect[3])),Me};var qe=P.addField=function(dt){if(De(this,dt),!(dt instanceof yt))throw new Error("Invalid argument passed to jsPDF.addField.");var Me;return(Me=dt).scope.internal.acroformPlugin.printedOut&&(Me.scope.internal.acroformPlugin.printedOut=!1,Me.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),Me.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(Me),dt.page=dt.scope.internal.getCurrentPageInfo().pageNumber,this};P.AcroFormChoiceField=pt,P.AcroFormListBox=Pe,P.AcroFormComboBox=Nt,P.AcroFormEditBox=ut,P.AcroFormButton=Ft,P.AcroFormPushButton=Ut,P.AcroFormRadioButton=Wt,P.AcroFormCheckBox=or,P.AcroFormTextField=ht,P.AcroFormPasswordField=Ee,P.AcroFormAppearance=de,P.AcroForm={ChoiceField:pt,ListBox:Pe,ComboBox:Nt,EditBox:ut,Button:Ft,PushButton:Ut,RadioButton:Wt,CheckBox:or,TextField:ht,PasswordField:Ee,Appearance:de},K.AcroForm={ChoiceField:pt,ListBox:Pe,ComboBox:Nt,EditBox:ut,Button:Ft,PushButton:Ut,RadioButton:Wt,CheckBox:or,TextField:ht,PasswordField:Ee,Appearance:de};var rt=K.AcroForm;function ve(dt){return dt.reduce(function(Me,Xe,Qe){return Me[Xe]=Qe,Me},{})}!function(dt){dt.__addimage__={};var Me="UNKNOWN",Xe={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},Qe=dt.__addimage__.getImageFileTypeByImageData=function(zn,fn){var $n,Cn,ki,In,na,Ei=Me;if((fn=fn||Me)==="RGBA"||zn.data!==void 0&&zn.data instanceof Uint8ClampedArray&&"height"in zn&&"width"in zn)return"RGBA";if(Ki(zn))for(na in Xe)for(ki=Xe[na],$n=0;$n>"}),"transparency"in fn&&Array.isArray(fn.transparency)){for(var na="",Ei=0,pi=fn.transparency.length;Ei>",Er.content=nt;var Vn=Er.objId+" 0 R";nt="<>";else if(Qe.options.pageNumber)switch(nt="<=0};dt.__arabicParser__.arabicLetterHasIsolatedForm=function(Er){return ft(Er)&&nt(Er)&&Me[Er.charCodeAt(0)].length>=1};var nr=dt.__arabicParser__.arabicLetterHasFinalForm=function(Er){return ft(Er)&&nt(Er)&&Me[Er.charCodeAt(0)].length>=2};dt.__arabicParser__.arabicLetterHasInitialForm=function(Er){return ft(Er)&&nt(Er)&&Me[Er.charCodeAt(0)].length>=3};var Ur=dt.__arabicParser__.arabicLetterHasMedialForm=function(Er){return ft(Er)&&nt(Er)&&Me[Er.charCodeAt(0)].length==4},Lr=dt.__arabicParser__.resolveLigatures=function(Er){var gn=0,rn=Xe,Br="",Vn=0;for(gn=0;gn>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+Me+" 0 R")})}return this},function(dt){var Me=function(){var Qe=void 0;Object.defineProperty(this,"pdf",{get:function(){return Qe},set:function(nr){Qe=nr}});var st=150;Object.defineProperty(this,"width",{get:function(){return st},set:function(nr){st=isNaN(nr)||Number.isInteger(nr)===!1||nr<0?150:nr,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=st+1)}});var nt=300;Object.defineProperty(this,"height",{get:function(){return nt},set:function(nr){nt=isNaN(nr)||Number.isInteger(nr)===!1||nr<0?300:nr,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=nt+1)}});var ft=[];Object.defineProperty(this,"childNodes",{get:function(){return ft},set:function(nr){ft=nr}});var Bt={};Object.defineProperty(this,"style",{get:function(){return Bt},set:function(nr){Bt=nr}}),Object.defineProperty(this,"parentNode",{})};Me.prototype.getContext=function(Xe,Qe){var st;if((Xe=Xe||"2d")!=="2d")return null;for(st in Qe)this.pdf.context2d.hasOwnProperty(st)&&(this.pdf.context2d[st]=Qe[st]);return this.pdf.context2d._canvas=this,this.pdf.context2d},Me.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},dt.events.push(["initialized",function(){this.canvas=new Me,this.canvas.pdf=this}])}(K.API),function(dt){var Me={left:0,top:0,bottom:0,right:0},Xe=!1,Qe=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},Me),this.internal.__cell__.margins.width=this.getPageWidth(),st.call(this))},st=function(){this.internal.__cell__.lastCell=new nt,this.internal.__cell__.pages=1},nt=function(){var nr=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return nr},set:function(rn){nr=rn}});var Ur=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ur},set:function(rn){Ur=rn}});var Lr=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Lr},set:function(rn){Lr=rn}});var Vr=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Vr},set:function(rn){Vr=rn}});var sr=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return sr},set:function(rn){sr=rn}});var Bn=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return Bn},set:function(rn){Bn=rn}});var Er=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Er},set:function(rn){Er=rn}}),this};nt.prototype.clone=function(){return new nt(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},nt.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},dt.setHeaderFunction=function(Et){return Qe.call(this),this.internal.__cell__.headerFunction=typeof Et=="function"?Et:void 0,this},dt.getTextDimensions=function(Et,nr){Qe.call(this);var Ur=(nr=nr||{}).fontSize||this.getFontSize(),Lr=nr.font||this.getFont(),Vr=nr.scaleFactor||this.internal.scaleFactor,sr=0,Bn=0,Er=0,gn=this;if(!Array.isArray(Et)&&typeof Et!="string"){if(typeof Et!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");Et=String(Et)}var rn=nr.maxWidth;rn>0?typeof Et=="string"?Et=this.splitTextToSize(Et,rn):Object.prototype.toString.call(Et)==="[object Array]"&&(Et=Et.reduce(function(Vn,gi){return Vn.concat(gn.splitTextToSize(gi,rn))},[])):Et=Array.isArray(Et)?Et:[Et];for(var Br=0;Brthis.getPageHeight()?(this.cellAddPage(),Et.y=Lr.top,sr&&Vr&&(this.printHeaderRow(Et.lineNumber,!0),Et.y+=Vr[0].height)):Et.y=nr.y+nr.height||Et.y),Et.text[0]!==void 0&&(this.rect(Et.x,Et.y,Et.width,Et.height,Xe===!0?"FD":void 0),Et.align==="right"?this.text(Et.text,Et.x+Et.width-Ur,Et.y+Ur,{align:"right",baseline:"top"}):Et.align==="center"?this.text(Et.text,Et.x+Et.width/2,Et.y+Ur,{align:"center",baseline:"top",maxWidth:Et.width-Ur-Ur}):this.text(Et.text,Et.x+Ur,Et.y+Ur,{align:"left",baseline:"top",maxWidth:Et.width-Ur-Ur})),this.internal.__cell__.lastCell=Et,this};dt.table=function(Et,nr,Ur,Lr,Vr){if(Qe.call(this),!Ur)throw new Error("No data for PDF table.");var sr,Bn,Er,gn,rn=[],Br=[],Vn=[],gi={},Ni={},Ki=[],zi=[],Yi=(Vr=Vr||{}).autoSize||!1,mi=Vr.printHeaders!==!1,va=Vr.css&&Vr.css["font-size"]!==void 0?16*Vr.css["font-size"]:Vr.fontSize||12,zn=Vr.margins||Object.assign({width:this.getPageWidth()},Me),fn=typeof Vr.padding=="number"?Vr.padding:3,$n=Vr.headerBackgroundColor||"#c8c8c8",Cn=Vr.headerTextColor||"#000";if(st.call(this),this.internal.__cell__.printHeaders=mi,this.internal.__cell__.margins=zn,this.internal.__cell__.table_font_size=va,this.internal.__cell__.padding=fn,this.internal.__cell__.headerBackgroundColor=$n,this.internal.__cell__.headerTextColor=Cn,this.setFontSize(va),Lr==null)Br=rn=Object.keys(Ur[0]),Vn=rn.map(function(){return"left"});else if(Array.isArray(Lr)&&A()(Lr[0])==="object")for(rn=Lr.map(function(Ri){return Ri.name}),Br=Lr.map(function(Ri){return Ri.prompt||Ri.name||""}),Vn=Lr.map(function(Ri){return Ri.align||"left"}),sr=0;sr0&&this.setTableHeaderRow(Vr),this.setFont(void 0,"normal"),Xe=!1}}(K.API);var bt={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},jt=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],He=ve(jt),kt=[100,200,300,400,500,600,700,800,900],Ar=ve(kt);function at(dt){var Me=dt.family.replace(/"|'/g,"").toLowerCase(),Xe=function(nt){return bt[nt=nt||"normal"]?nt:"normal"}(dt.style),Qe=function(nt){if(!nt)return 400;if(typeof nt=="number")return nt>=100&&nt<=900&&nt%100==0?nt:400;if(/^\d00$/.test(nt))return parseInt(nt);switch(nt){case"bold":return 700;case"normal":default:return 400}}(dt.weight),st=function(nt){return typeof He[nt=nt||"normal"]=="number"?nt:"normal"}(dt.stretch);return{family:Me,style:Xe,weight:Qe,stretch:st,src:dt.src||[],ref:dt.ref||{name:Me,style:[st,Xe,Qe].join(" ")}}}function Ht(dt,Me,Xe,Qe){var st;for(st=Xe;st>=0&&st=0&&st=2?ha[1]:ba[0],ba[2]=ha.length>=3?ha[2]:ba[0],ba[3]=ha.length>=4?ha[3]:ba[1]),nr.margin=ba}});var qi=!1;Object.defineProperty(this,"autoPaging",{get:function(){return qi},set:function(ha){qi=ha}});var ea=0;Object.defineProperty(this,"lastBreak",{get:function(){return ea},set:function(ha){ea=ha}});var ya=[];Object.defineProperty(this,"pageBreaks",{get:function(){return ya},set:function(ha){ya=ha}}),Object.defineProperty(this,"ctx",{get:function(){return nr},set:function(ha){ha instanceof Ur&&(nr=ha)}}),Object.defineProperty(this,"path",{get:function(){return nr.path},set:function(ha){nr.path=ha}});var co=[];Object.defineProperty(this,"ctxStack",{get:function(){return co},set:function(ha){co=ha}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(ha){var ba;ba=Vr(ha),this.ctx.fillStyle=ba.style,this.ctx.isFillTransparent=ba.a===0,this.ctx.fillOpacity=ba.a,this.pdf.setFillColor(ba.r,ba.g,ba.b,{a:ba.a}),this.pdf.setTextColor(ba.r,ba.g,ba.b,{a:ba.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(ha){var ba=Vr(ha);this.ctx.strokeStyle=ba.style,this.ctx.isStrokeTransparent=ba.a===0,this.ctx.strokeOpacity=ba.a,ba.a===0?this.pdf.setDrawColor(255,255,255):(ba.a,this.pdf.setDrawColor(ba.r,ba.g,ba.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(ha){["butt","round","square"].indexOf(ha)!==-1&&(this.ctx.lineCap=ha,this.pdf.setLineCap(ha))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(ha){isNaN(ha)||(this.ctx.lineWidth=ha,this.pdf.setLineWidth(ha))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(ha){["bevel","round","miter"].indexOf(ha)!==-1&&(this.ctx.lineJoin=ha,this.pdf.setLineJoin(ha))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(ha){isNaN(ha)||(this.ctx.miterLimit=ha,this.pdf.setMiterLimit(ha))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(ha){this.ctx.textBaseline=ha}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(ha){["right","end","center","left","start"].indexOf(ha)!==-1&&(this.ctx.textAlign=ha)}});var io=null;function rs(dn,ha){if(io===null){var ba=function(ta){var so=[];return Object.keys(ta).forEach(function(lr){ta[lr].forEach(function(pn){var _n=null;switch(pn){case"bold":_n={family:lr,weight:"bold"};break;case"italic":_n={family:lr,style:"italic"};break;case"bolditalic":_n={family:lr,weight:"bold",style:"italic"};break;case"":case"normal":_n={family:lr}}_n!==null&&(_n.ref={name:lr,style:pn},so.push(_n))})}),so}(dn.getFontList());io=function(ta){for(var so={},lr=0;lr=700||ta==="bold")&&(Vt="bold"),ta==="italic"&&(Vt+="italic"),Vt.length===0&&(Vt="normal");for(var Cr="",xr={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Gr=0;Gr=2*Math.PI&&(bi=0,Oi=2*Math.PI),this.path.push({type:"arc",x:Un,y:nn,radius:Yn,startAngle:bi,endAngle:Oi,counterclockwise:_i})},Lr.prototype.arcTo=function(Un,nn,Yn,bi,Oi){throw new Error("arcTo not implemented.")},Lr.prototype.rect=function(Un,nn,Yn,bi){if(isNaN(Un)||isNaN(nn)||isNaN(Yn)||isNaN(bi))throw m.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Un,nn),this.lineTo(Un+Yn,nn),this.lineTo(Un+Yn,nn+bi),this.lineTo(Un,nn+bi),this.lineTo(Un,nn),this.lineTo(Un+Yn,nn),this.lineTo(Un,nn)},Lr.prototype.fillRect=function(Un,nn,Yn,bi){if(isNaN(Un)||isNaN(nn)||isNaN(Yn)||isNaN(bi))throw m.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!sr.call(this)){var Oi={};this.lineCap!=="butt"&&(Oi.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Oi.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Un,nn,Yn,bi),this.fill(),Oi.hasOwnProperty("lineCap")&&(this.lineCap=Oi.lineCap),Oi.hasOwnProperty("lineJoin")&&(this.lineJoin=Oi.lineJoin)}},Lr.prototype.strokeRect=function(Un,nn,Yn,bi){if(isNaN(Un)||isNaN(nn)||isNaN(Yn)||isNaN(bi))throw m.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Bn.call(this)||(this.beginPath(),this.rect(Un,nn,Yn,bi),this.stroke())},Lr.prototype.clearRect=function(Un,nn,Yn,bi){if(isNaN(Un)||isNaN(nn)||isNaN(Yn)||isNaN(bi))throw m.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Un,nn,Yn,bi))},Lr.prototype.save=function(Un){Un=typeof Un!="boolean"||Un;for(var nn=this.pdf.internal.getCurrentPageInfo().pageNumber,Yn=0;Yn0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Lr.prototype.drawImage=function(Un,nn,Yn,bi,Oi,_i,Zi,qi,ea){var ya=this.pdf.getImageProperties(Un),co=1,io=1,rs=1,Pi=1;bi!==void 0&&qi!==void 0&&(rs=qi/bi,Pi=ea/Oi,co=ya.width/bi*qi/bi,io=ya.height/Oi*ea/Oi),_i===void 0&&(_i=nn,Zi=Yn,nn=0,Yn=0),bi!==void 0&&qi===void 0&&(qi=bi,ea=Oi),bi===void 0&&qi===void 0&&(qi=ya.width,ea=ya.height);for(var dn,ha=this.ctx.transform.decompose(),ba=Ei(ha.rotate.shx),ta=new Et,so=(ta=(ta=(ta=ta.multiply(ha.translate)).multiply(ha.skew)).multiply(ha.scale)).applyToRectangle(new Bt(_i-nn*rs,Zi-Yn*Pi,bi*co,Oi*io)),lr=gn.call(this,so),pn=[],_n=0;_nPn||Vtso||pn0)){for(;ya>=0;ya--)if(_i[ya-1].close!==!0&&_i[ya-1].begin!==!0){_i[ya-1].deltas.push(bi),_i[ya-1].abs.push(ea);break}}break;case"bct":bi=[ea.x1-Zi[qi-1].x,ea.y1-Zi[qi-1].y,ea.x2-Zi[qi-1].x,ea.y2-Zi[qi-1].y,ea.x-Zi[qi-1].x,ea.y-Zi[qi-1].y],_i[_i.length-1].deltas.push(bi);break;case"qct":var co=Zi[qi-1].x+2/3*(ea.x1-Zi[qi-1].x),io=Zi[qi-1].y+2/3*(ea.y1-Zi[qi-1].y),rs=ea.x+2/3*(ea.x1-ea.x),Pi=ea.y+2/3*(ea.y1-ea.y),dn=ea.x,ha=ea.y;bi=[co-Zi[qi-1].x,io-Zi[qi-1].y,rs-Zi[qi-1].x,Pi-Zi[qi-1].y,dn-Zi[qi-1].x,ha-Zi[qi-1].y],_i[_i.length-1].deltas.push(bi);break;case"arc":_i.push({deltas:[],abs:[],arc:!0}),Array.isArray(_i[_i.length-1].abs)&&_i[_i.length-1].abs.push(ea)}}Oi=Yn?null:nn==="stroke"?"stroke":"fill";for(var ba=!1,ta=0;ta<_i.length;ta++)if(_i[ta].arc)for(var so=_i[ta].abs,lr=0;lr=.01&&(co=this.pdf.internal.getFontSize(),this.pdf.setFontSize(co*nn.scale),io=this.lineWidth,this.lineWidth=io*nn.scale);var hn=this.autoPaging!=="text";if(hn||$r.y+$r.h<=Pn){if(hn||$r.y>=pn&&$r.x<=Vt){var On=hn?nn.text:this.pdf.splitTextToSize(nn.text,nn.maxWidth||Vt-$r.x)[0],Qn=Br([JSON.parse(JSON.stringify(rs))],this.posX+this.margin[3],-xr+pn+this.ctx.prevPageLastElemOffset)[0],qn=hn&&(lr>ta||lr=.01&&(this.pdf.setFontSize(co),this.lineWidth=io)}else nn.scale>=.01&&(co=this.pdf.internal.getFontSize(),this.pdf.setFontSize(co*nn.scale),io=this.lineWidth,this.lineWidth=io*nn.scale),this.pdf.text(nn.text,Zi.x+this.posX,Zi.y+this.posY,{angle:nn.angle,align:Yn,renderingMode:nn.renderingMode,maxWidth:nn.maxWidth}),nn.scale>=.01&&(this.pdf.setFontSize(co),this.lineWidth=io)},$n=function(nn,Yn,bi,Oi){bi=bi||0,Oi=Oi||0,this.pdf.internal.out(Xe(nn+bi)+" "+Qe(Yn+Oi)+" l")},Cn=function(nn,Yn,bi){return this.pdf.lines(nn,Yn,bi,null,null)},ki=function(nn,Yn,bi,Oi,_i,Zi,qi,ea){this.pdf.internal.out([Me(st(bi+nn)),Me(nt(Oi+Yn)),Me(st(_i+nn)),Me(nt(Zi+Yn)),Me(st(qi+nn)),Me(nt(ea+Yn)),"c"].join(" "))},In=function(nn,Yn,bi,Oi){for(var _i=2*Math.PI,Zi=Math.PI/2;Yn>bi;)Yn-=_i;var qi=Math.abs(bi-Yn);qi<_i&&Oi&&(qi=_i-qi);for(var ea=[],ya=Oi?-1:1,co=Yn;qi>1e-5;){var io=co+ya*Math.min(qi,Zi);ea.push(na.call(this,nn,co,io)),qi-=Math.abs(io-co),co=io}return ea},na=function(nn,Yn,bi){var Oi=(bi-Yn)/2,_i=nn*Math.cos(Oi),Zi=nn*Math.sin(Oi),qi=_i,ea=-Zi,ya=qi*qi+ea*ea,co=ya+qi*_i+ea*Zi,io=4/3*(Math.sqrt(2*ya*co)-co)/(qi*Zi-ea*_i),rs=qi-io*ea,Pi=ea+io*qi,dn=rs,ha=-Pi,ba=Oi+Yn,ta=Math.cos(ba),so=Math.sin(ba);return{x1:nn*Math.cos(Yn),y1:nn*Math.sin(Yn),x2:rs*ta-Pi*so,y2:rs*so+Pi*ta,x3:dn*ta-ha*so,y3:dn*so+ha*ta,x4:nn*Math.cos(bi),y4:nn*Math.sin(bi)}},Ei=function(nn){return 180*nn/Math.PI},pi=function(nn,Yn,bi,Oi,_i,Zi){var qi=nn+.5*(bi-nn),ea=Yn+.5*(Oi-Yn),ya=_i+.5*(bi-_i),co=Zi+.5*(Oi-Zi),io=Math.min(nn,_i,qi,ya),rs=Math.max(nn,_i,qi,ya),Pi=Math.min(Yn,Zi,ea,co),dn=Math.max(Yn,Zi,ea,co);return new Bt(io,Pi,rs-io,dn-Pi)},Ri=function(nn,Yn,bi,Oi,_i,Zi,qi,ea){var ya,co,io,rs,Pi,dn,ha,ba,ta,so,lr,pn,_n,Pn,ct=bi-nn,Vt=Oi-Yn,Cr=_i-bi,xr=Zi-Oi,Gr=qi-_i,$r=ea-Zi;for(co=0;co<41;co++)ta=(ha=(io=nn+(ya=co/40)*ct)+ya*((Pi=bi+ya*Cr)-io))+ya*(Pi+ya*(_i+ya*Gr-Pi)-ha),so=(ba=(rs=Yn+ya*Vt)+ya*((dn=Oi+ya*xr)-rs))+ya*(dn+ya*(Zi+ya*$r-dn)-ba),co==0?(lr=ta,pn=so,_n=ta,Pn=so):(lr=Math.min(lr,ta),pn=Math.min(pn,so),_n=Math.max(_n,ta),Pn=Math.max(Pn,so));return new Bt(Math.round(lr),Math.round(pn),Math.round(_n-lr),Math.round(Pn-pn))},Na=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var nn,Yn,bi=(nn=this.ctx.lineDash,Yn=this.ctx.lineDashOffset,JSON.stringify({lineDash:nn,lineDashOffset:Yn}));this.prevLineDash!==bi&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=bi)}}}(K.API),function(dt){var Me=function(ft){var Bt,Et,nr,Ur,Lr,Vr,sr,Bn,Er,gn;for(/[^\x00-\xFF]/.test(ft),Et=[],nr=0,Ur=(ft+=Bt="\0\0\0\0".slice(ft.length%4||4)).length;Ur>nr;nr+=4)(Lr=(ft.charCodeAt(nr)<<24)+(ft.charCodeAt(nr+1)<<16)+(ft.charCodeAt(nr+2)<<8)+ft.charCodeAt(nr+3))!==0?(Vr=(Lr=((Lr=((Lr=((Lr=(Lr-(gn=Lr%85))/85)-(Er=Lr%85))/85)-(Bn=Lr%85))/85)-(sr=Lr%85))/85)%85,Et.push(Vr+33,sr+33,Bn+33,Er+33,gn+33)):Et.push(122);return function(rn,Br){for(var Vn=Br;Vn>0;Vn--)rn.pop()}(Et,Bt.length),String.fromCharCode.apply(String,Et)+"~>"},Xe=function(ft){var Bt,Et,nr,Ur,Lr,Vr=String,sr="length",Bn=255,Er="charCodeAt",gn="slice",rn="replace";for(ft[gn](-2),ft=ft[gn](0,-2)[rn](/\s/g,"")[rn]("z","!!!!!"),nr=[],Ur=0,Lr=(ft+=Bt="uuuuu"[gn](ft[sr]%5||5))[sr];Lr>Ur;Ur+=5)Et=52200625*(ft[Er](Ur)-33)+614125*(ft[Er](Ur+1)-33)+7225*(ft[Er](Ur+2)-33)+85*(ft[Er](Ur+3)-33)+(ft[Er](Ur+4)-33),nr.push(Bn&Et>>24,Bn&Et>>16,Bn&Et>>8,Bn&Et);return function(Br,Vn){for(var gi=Vn;gi>0;gi--)Br.pop()}(nr,Bt[sr]),Vr.fromCharCode.apply(Vr,nr)},Qe=function(ft){var Bt=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ft=ft.replace(/\s/g,"")).indexOf(">")!==-1&&(ft=ft.substr(0,ft.indexOf(">"))),ft.length%2&&(ft+="0"),Bt.test(ft)===!1)return"";for(var Et="",nr=0;nr",nr.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":Et=st(Et),nr.push("/FlateDecode");break;default:throw new Error('The filter: "'+ft[Bt]+'" is not implemented')}return{data:Et,reverseChain:nr.reverse().join(" ")}}}(K.API),function(dt){dt.loadFile=function(Me,Xe,Qe){return function(st,nt,ft){nt=nt!==!1,ft=typeof ft=="function"?ft:function(){};var Bt=void 0;try{Bt=function(Et,nr,Ur){var Lr=new XMLHttpRequest,Vr=0,sr=function(Er){var gn=Er.length,rn=[],Br=String.fromCharCode;for(Vr=0;VrBn&&(sr=Er,Er=Bn,Bn=sr);else{if(ft!=="l"&&ft!=="landscape")throw"Invalid orientation: "+ft;ft="l",Bn>Er&&(sr=Er,Er=Bn,Bn=sr)}return{width:Er,height:Bn,unit:Bt,k:Ur,orientation:ft}},dt.html=function(ft,Bt){(Bt=Bt||{}).callback=Bt.callback||function(){},Bt.html2canvas=Bt.html2canvas||{},Bt.html2canvas.canvas=Bt.html2canvas.canvas||this.canvas,Bt.jsPDF=Bt.jsPDF||this,Bt.fontFaces=Bt.fontFaces?Bt.fontFaces.map(at):null;var Et=new nt(Bt);return Bt.worker?Et:Et.from(ft).doCallback()}}(K.API),K.API.addJS=function(dt){return cn=dt,this.internal.events.subscribe("postPutResources",function(){Sr=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Sr+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Tn=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+cn+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Sr!==void 0&&Tn!==void 0&&this.internal.out("/Names <>")}),this},function(dt){var Me;dt.events.push(["postPutResources",function(){var Xe=this,Qe=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var st=Xe.outline.render().split(/\r\n/),nt=0;nt> endobj")}var sr=Xe.internal.newObject();for(Xe.internal.write("<< /Names [ "),nt=0;nt>","endobj"),Me=Xe.internal.newObject(),Xe.internal.write("<< /Dests "+sr+" 0 R"),Xe.internal.write(">>","endobj")}}]),dt.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+Me+" 0 R"))}]),dt.events.push(["initialized",function(){var Xe=this;Xe.outline={createNamedDestinations:!1,root:{children:[]}},Xe.outline.add=function(Qe,st,nt){var ft={title:st,options:nt,children:[]};return Qe==null&&(Qe=this.root),Qe.children.push(ft),ft},Xe.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=Xe,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},Xe.outline.genIds_r=function(Qe){Qe.id=Xe.internal.newObjectDeferred();for(var st=0;st0&&(this.line("/First "+this.makeRef(Qe.children[0])),this.line("/Last "+this.makeRef(Qe.children[Qe.children.length-1]))),this.line("/Count "+this.count_r({count:0},Qe)),this.objEnd()},Xe.outline.renderItems=function(Qe){for(var st=this.ctx.pdf.internal.getVerticalCoordinateString,nt=0;nt0&&this.line("/Prev "+this.makeRef(Qe.children[nt-1])),nt0&&(this.line("/First "+this.makeRef(ft.children[0])),this.line("/Last "+this.makeRef(ft.children[ft.children.length-1])));var Bt=this.count=this.count_r({count:0},ft);if(Bt>0&&this.line("/Count "+Bt),ft.options&&ft.options.pageNumber){var Et=Xe.internal.getPageInfo(ft.options.pageNumber);this.line("/Dest ["+Et.objId+" 0 R /XYZ 0 "+st(0)+" 0]")}this.objEnd()}for(var nr=0;nr>"}),"transparency"in fn&&Array.isArray(fn.transparency)){for(var na="",Ei=0,pi=fn.transparency.length;Ei>",Er.content=nt;var Vn=Er.objId+" 0 R";nt="<>";else if(Qe.options.pageNumber)switch(nt="<=0};dt.__arabicParser__.arabicLetterHasIsolatedForm=function(Er){return ft(Er)&&nt(Er)&&Me[Er.charCodeAt(0)].length>=1};var nr=dt.__arabicParser__.arabicLetterHasFinalForm=function(Er){return ft(Er)&&nt(Er)&&Me[Er.charCodeAt(0)].length>=2};dt.__arabicParser__.arabicLetterHasInitialForm=function(Er){return ft(Er)&&nt(Er)&&Me[Er.charCodeAt(0)].length>=3};var Ur=dt.__arabicParser__.arabicLetterHasMedialForm=function(Er){return ft(Er)&&nt(Er)&&Me[Er.charCodeAt(0)].length==4},Lr=dt.__arabicParser__.resolveLigatures=function(Er){var gn=0,rn=Xe,Br="",Vn=0;for(gn=0;gn>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+Me+" 0 R")})}return this},function(dt){var Me=function(){var Qe=void 0;Object.defineProperty(this,"pdf",{get:function(){return Qe},set:function(nr){Qe=nr}});var st=150;Object.defineProperty(this,"width",{get:function(){return st},set:function(nr){st=isNaN(nr)||Number.isInteger(nr)===!1||nr<0?150:nr,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=st+1)}});var nt=300;Object.defineProperty(this,"height",{get:function(){return nt},set:function(nr){nt=isNaN(nr)||Number.isInteger(nr)===!1||nr<0?300:nr,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=nt+1)}});var ft=[];Object.defineProperty(this,"childNodes",{get:function(){return ft},set:function(nr){ft=nr}});var Bt={};Object.defineProperty(this,"style",{get:function(){return Bt},set:function(nr){Bt=nr}}),Object.defineProperty(this,"parentNode",{})};Me.prototype.getContext=function(Xe,Qe){var st;if((Xe=Xe||"2d")!=="2d")return null;for(st in Qe)this.pdf.context2d.hasOwnProperty(st)&&(this.pdf.context2d[st]=Qe[st]);return this.pdf.context2d._canvas=this,this.pdf.context2d},Me.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},dt.events.push(["initialized",function(){this.canvas=new Me,this.canvas.pdf=this}])}(W.API),function(dt){var Me={left:0,top:0,bottom:0,right:0},Xe=!1,Qe=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},Me),this.internal.__cell__.margins.width=this.getPageWidth(),st.call(this))},st=function(){this.internal.__cell__.lastCell=new nt,this.internal.__cell__.pages=1},nt=function(){var nr=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return nr},set:function(rn){nr=rn}});var Ur=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ur},set:function(rn){Ur=rn}});var Lr=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Lr},set:function(rn){Lr=rn}});var Vr=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Vr},set:function(rn){Vr=rn}});var sr=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return sr},set:function(rn){sr=rn}});var Bn=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return Bn},set:function(rn){Bn=rn}});var Er=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Er},set:function(rn){Er=rn}}),this};nt.prototype.clone=function(){return new nt(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},nt.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},dt.setHeaderFunction=function(Et){return Qe.call(this),this.internal.__cell__.headerFunction=typeof Et=="function"?Et:void 0,this},dt.getTextDimensions=function(Et,nr){Qe.call(this);var Ur=(nr=nr||{}).fontSize||this.getFontSize(),Lr=nr.font||this.getFont(),Vr=nr.scaleFactor||this.internal.scaleFactor,sr=0,Bn=0,Er=0,gn=this;if(!Array.isArray(Et)&&typeof Et!="string"){if(typeof Et!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");Et=String(Et)}var rn=nr.maxWidth;rn>0?typeof Et=="string"?Et=this.splitTextToSize(Et,rn):Object.prototype.toString.call(Et)==="[object Array]"&&(Et=Et.reduce(function(Vn,gi){return Vn.concat(gn.splitTextToSize(gi,rn))},[])):Et=Array.isArray(Et)?Et:[Et];for(var Br=0;Brthis.getPageHeight()?(this.cellAddPage(),Et.y=Lr.top,sr&&Vr&&(this.printHeaderRow(Et.lineNumber,!0),Et.y+=Vr[0].height)):Et.y=nr.y+nr.height||Et.y),Et.text[0]!==void 0&&(this.rect(Et.x,Et.y,Et.width,Et.height,Xe===!0?"FD":void 0),Et.align==="right"?this.text(Et.text,Et.x+Et.width-Ur,Et.y+Ur,{align:"right",baseline:"top"}):Et.align==="center"?this.text(Et.text,Et.x+Et.width/2,Et.y+Ur,{align:"center",baseline:"top",maxWidth:Et.width-Ur-Ur}):this.text(Et.text,Et.x+Ur,Et.y+Ur,{align:"left",baseline:"top",maxWidth:Et.width-Ur-Ur})),this.internal.__cell__.lastCell=Et,this};dt.table=function(Et,nr,Ur,Lr,Vr){if(Qe.call(this),!Ur)throw new Error("No data for PDF table.");var sr,Bn,Er,gn,rn=[],Br=[],Vn=[],gi={},Ni={},Wi=[],zi=[],Yi=(Vr=Vr||{}).autoSize||!1,mi=Vr.printHeaders!==!1,va=Vr.css&&Vr.css["font-size"]!==void 0?16*Vr.css["font-size"]:Vr.fontSize||12,zn=Vr.margins||Object.assign({width:this.getPageWidth()},Me),fn=typeof Vr.padding=="number"?Vr.padding:3,$n=Vr.headerBackgroundColor||"#c8c8c8",Cn=Vr.headerTextColor||"#000";if(st.call(this),this.internal.__cell__.printHeaders=mi,this.internal.__cell__.margins=zn,this.internal.__cell__.table_font_size=va,this.internal.__cell__.padding=fn,this.internal.__cell__.headerBackgroundColor=$n,this.internal.__cell__.headerTextColor=Cn,this.setFontSize(va),Lr==null)Br=rn=Object.keys(Ur[0]),Vn=rn.map(function(){return"left"});else if(Array.isArray(Lr)&&A()(Lr[0])==="object")for(rn=Lr.map(function(Ri){return Ri.name}),Br=Lr.map(function(Ri){return Ri.prompt||Ri.name||""}),Vn=Lr.map(function(Ri){return Ri.align||"left"}),sr=0;sr0&&this.setTableHeaderRow(Vr),this.setFont(void 0,"normal"),Xe=!1}}(W.API);var bt={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},jt=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],He=ve(jt),kt=[100,200,300,400,500,600,700,800,900],Ar=ve(kt);function at(dt){var Me=dt.family.replace(/"|'/g,"").toLowerCase(),Xe=function(nt){return bt[nt=nt||"normal"]?nt:"normal"}(dt.style),Qe=function(nt){if(!nt)return 400;if(typeof nt=="number")return nt>=100&&nt<=900&&nt%100==0?nt:400;if(/^\d00$/.test(nt))return parseInt(nt);switch(nt){case"bold":return 700;case"normal":default:return 400}}(dt.weight),st=function(nt){return typeof He[nt=nt||"normal"]=="number"?nt:"normal"}(dt.stretch);return{family:Me,style:Xe,weight:Qe,stretch:st,src:dt.src||[],ref:dt.ref||{name:Me,style:[st,Xe,Qe].join(" ")}}}function Ht(dt,Me,Xe,Qe){var st;for(st=Xe;st>=0&&st=0&&st=2?ha[1]:ba[0],ba[2]=ha.length>=3?ha[2]:ba[0],ba[3]=ha.length>=4?ha[3]:ba[1]),nr.margin=ba}});var qi=!1;Object.defineProperty(this,"autoPaging",{get:function(){return qi},set:function(ha){qi=ha}});var ea=0;Object.defineProperty(this,"lastBreak",{get:function(){return ea},set:function(ha){ea=ha}});var ya=[];Object.defineProperty(this,"pageBreaks",{get:function(){return ya},set:function(ha){ya=ha}}),Object.defineProperty(this,"ctx",{get:function(){return nr},set:function(ha){ha instanceof Ur&&(nr=ha)}}),Object.defineProperty(this,"path",{get:function(){return nr.path},set:function(ha){nr.path=ha}});var co=[];Object.defineProperty(this,"ctxStack",{get:function(){return co},set:function(ha){co=ha}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(ha){var ba;ba=Vr(ha),this.ctx.fillStyle=ba.style,this.ctx.isFillTransparent=ba.a===0,this.ctx.fillOpacity=ba.a,this.pdf.setFillColor(ba.r,ba.g,ba.b,{a:ba.a}),this.pdf.setTextColor(ba.r,ba.g,ba.b,{a:ba.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(ha){var ba=Vr(ha);this.ctx.strokeStyle=ba.style,this.ctx.isStrokeTransparent=ba.a===0,this.ctx.strokeOpacity=ba.a,ba.a===0?this.pdf.setDrawColor(255,255,255):(ba.a,this.pdf.setDrawColor(ba.r,ba.g,ba.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(ha){["butt","round","square"].indexOf(ha)!==-1&&(this.ctx.lineCap=ha,this.pdf.setLineCap(ha))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(ha){isNaN(ha)||(this.ctx.lineWidth=ha,this.pdf.setLineWidth(ha))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(ha){["bevel","round","miter"].indexOf(ha)!==-1&&(this.ctx.lineJoin=ha,this.pdf.setLineJoin(ha))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(ha){isNaN(ha)||(this.ctx.miterLimit=ha,this.pdf.setMiterLimit(ha))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(ha){this.ctx.textBaseline=ha}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(ha){["right","end","center","left","start"].indexOf(ha)!==-1&&(this.ctx.textAlign=ha)}});var io=null;function rs(dn,ha){if(io===null){var ba=function(ta){var so=[];return Object.keys(ta).forEach(function(lr){ta[lr].forEach(function(pn){var _n=null;switch(pn){case"bold":_n={family:lr,weight:"bold"};break;case"italic":_n={family:lr,style:"italic"};break;case"bolditalic":_n={family:lr,weight:"bold",style:"italic"};break;case"":case"normal":_n={family:lr}}_n!==null&&(_n.ref={name:lr,style:pn},so.push(_n))})}),so}(dn.getFontList());io=function(ta){for(var so={},lr=0;lr=700||ta==="bold")&&(Vt="bold"),ta==="italic"&&(Vt+="italic"),Vt.length===0&&(Vt="normal");for(var Cr="",xr={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Gr=0;Gr=2*Math.PI&&(bi=0,Oi=2*Math.PI),this.path.push({type:"arc",x:Un,y:nn,radius:Yn,startAngle:bi,endAngle:Oi,counterclockwise:_i})},Lr.prototype.arcTo=function(Un,nn,Yn,bi,Oi){throw new Error("arcTo not implemented.")},Lr.prototype.rect=function(Un,nn,Yn,bi){if(isNaN(Un)||isNaN(nn)||isNaN(Yn)||isNaN(bi))throw m.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Un,nn),this.lineTo(Un+Yn,nn),this.lineTo(Un+Yn,nn+bi),this.lineTo(Un,nn+bi),this.lineTo(Un,nn),this.lineTo(Un+Yn,nn),this.lineTo(Un,nn)},Lr.prototype.fillRect=function(Un,nn,Yn,bi){if(isNaN(Un)||isNaN(nn)||isNaN(Yn)||isNaN(bi))throw m.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!sr.call(this)){var Oi={};this.lineCap!=="butt"&&(Oi.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Oi.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Un,nn,Yn,bi),this.fill(),Oi.hasOwnProperty("lineCap")&&(this.lineCap=Oi.lineCap),Oi.hasOwnProperty("lineJoin")&&(this.lineJoin=Oi.lineJoin)}},Lr.prototype.strokeRect=function(Un,nn,Yn,bi){if(isNaN(Un)||isNaN(nn)||isNaN(Yn)||isNaN(bi))throw m.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Bn.call(this)||(this.beginPath(),this.rect(Un,nn,Yn,bi),this.stroke())},Lr.prototype.clearRect=function(Un,nn,Yn,bi){if(isNaN(Un)||isNaN(nn)||isNaN(Yn)||isNaN(bi))throw m.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Un,nn,Yn,bi))},Lr.prototype.save=function(Un){Un=typeof Un!="boolean"||Un;for(var nn=this.pdf.internal.getCurrentPageInfo().pageNumber,Yn=0;Yn0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Lr.prototype.drawImage=function(Un,nn,Yn,bi,Oi,_i,Zi,qi,ea){var ya=this.pdf.getImageProperties(Un),co=1,io=1,rs=1,Pi=1;bi!==void 0&&qi!==void 0&&(rs=qi/bi,Pi=ea/Oi,co=ya.width/bi*qi/bi,io=ya.height/Oi*ea/Oi),_i===void 0&&(_i=nn,Zi=Yn,nn=0,Yn=0),bi!==void 0&&qi===void 0&&(qi=bi,ea=Oi),bi===void 0&&qi===void 0&&(qi=ya.width,ea=ya.height);for(var dn,ha=this.ctx.transform.decompose(),ba=Ei(ha.rotate.shx),ta=new Et,so=(ta=(ta=(ta=ta.multiply(ha.translate)).multiply(ha.skew)).multiply(ha.scale)).applyToRectangle(new Bt(_i-nn*rs,Zi-Yn*Pi,bi*co,Oi*io)),lr=gn.call(this,so),pn=[],_n=0;_nPn||Vtso||pn0)){for(;ya>=0;ya--)if(_i[ya-1].close!==!0&&_i[ya-1].begin!==!0){_i[ya-1].deltas.push(bi),_i[ya-1].abs.push(ea);break}}break;case"bct":bi=[ea.x1-Zi[qi-1].x,ea.y1-Zi[qi-1].y,ea.x2-Zi[qi-1].x,ea.y2-Zi[qi-1].y,ea.x-Zi[qi-1].x,ea.y-Zi[qi-1].y],_i[_i.length-1].deltas.push(bi);break;case"qct":var co=Zi[qi-1].x+2/3*(ea.x1-Zi[qi-1].x),io=Zi[qi-1].y+2/3*(ea.y1-Zi[qi-1].y),rs=ea.x+2/3*(ea.x1-ea.x),Pi=ea.y+2/3*(ea.y1-ea.y),dn=ea.x,ha=ea.y;bi=[co-Zi[qi-1].x,io-Zi[qi-1].y,rs-Zi[qi-1].x,Pi-Zi[qi-1].y,dn-Zi[qi-1].x,ha-Zi[qi-1].y],_i[_i.length-1].deltas.push(bi);break;case"arc":_i.push({deltas:[],abs:[],arc:!0}),Array.isArray(_i[_i.length-1].abs)&&_i[_i.length-1].abs.push(ea)}}Oi=Yn?null:nn==="stroke"?"stroke":"fill";for(var ba=!1,ta=0;ta<_i.length;ta++)if(_i[ta].arc)for(var so=_i[ta].abs,lr=0;lr=.01&&(co=this.pdf.internal.getFontSize(),this.pdf.setFontSize(co*nn.scale),io=this.lineWidth,this.lineWidth=io*nn.scale);var hn=this.autoPaging!=="text";if(hn||$r.y+$r.h<=Pn){if(hn||$r.y>=pn&&$r.x<=Vt){var On=hn?nn.text:this.pdf.splitTextToSize(nn.text,nn.maxWidth||Vt-$r.x)[0],Qn=Br([JSON.parse(JSON.stringify(rs))],this.posX+this.margin[3],-xr+pn+this.ctx.prevPageLastElemOffset)[0],qn=hn&&(lr>ta||lr=.01&&(this.pdf.setFontSize(co),this.lineWidth=io)}else nn.scale>=.01&&(co=this.pdf.internal.getFontSize(),this.pdf.setFontSize(co*nn.scale),io=this.lineWidth,this.lineWidth=io*nn.scale),this.pdf.text(nn.text,Zi.x+this.posX,Zi.y+this.posY,{angle:nn.angle,align:Yn,renderingMode:nn.renderingMode,maxWidth:nn.maxWidth}),nn.scale>=.01&&(this.pdf.setFontSize(co),this.lineWidth=io)},$n=function(nn,Yn,bi,Oi){bi=bi||0,Oi=Oi||0,this.pdf.internal.out(Xe(nn+bi)+" "+Qe(Yn+Oi)+" l")},Cn=function(nn,Yn,bi){return this.pdf.lines(nn,Yn,bi,null,null)},ki=function(nn,Yn,bi,Oi,_i,Zi,qi,ea){this.pdf.internal.out([Me(st(bi+nn)),Me(nt(Oi+Yn)),Me(st(_i+nn)),Me(nt(Zi+Yn)),Me(st(qi+nn)),Me(nt(ea+Yn)),"c"].join(" "))},In=function(nn,Yn,bi,Oi){for(var _i=2*Math.PI,Zi=Math.PI/2;Yn>bi;)Yn-=_i;var qi=Math.abs(bi-Yn);qi<_i&&Oi&&(qi=_i-qi);for(var ea=[],ya=Oi?-1:1,co=Yn;qi>1e-5;){var io=co+ya*Math.min(qi,Zi);ea.push(na.call(this,nn,co,io)),qi-=Math.abs(io-co),co=io}return ea},na=function(nn,Yn,bi){var Oi=(bi-Yn)/2,_i=nn*Math.cos(Oi),Zi=nn*Math.sin(Oi),qi=_i,ea=-Zi,ya=qi*qi+ea*ea,co=ya+qi*_i+ea*Zi,io=4/3*(Math.sqrt(2*ya*co)-co)/(qi*Zi-ea*_i),rs=qi-io*ea,Pi=ea+io*qi,dn=rs,ha=-Pi,ba=Oi+Yn,ta=Math.cos(ba),so=Math.sin(ba);return{x1:nn*Math.cos(Yn),y1:nn*Math.sin(Yn),x2:rs*ta-Pi*so,y2:rs*so+Pi*ta,x3:dn*ta-ha*so,y3:dn*so+ha*ta,x4:nn*Math.cos(bi),y4:nn*Math.sin(bi)}},Ei=function(nn){return 180*nn/Math.PI},pi=function(nn,Yn,bi,Oi,_i,Zi){var qi=nn+.5*(bi-nn),ea=Yn+.5*(Oi-Yn),ya=_i+.5*(bi-_i),co=Zi+.5*(Oi-Zi),io=Math.min(nn,_i,qi,ya),rs=Math.max(nn,_i,qi,ya),Pi=Math.min(Yn,Zi,ea,co),dn=Math.max(Yn,Zi,ea,co);return new Bt(io,Pi,rs-io,dn-Pi)},Ri=function(nn,Yn,bi,Oi,_i,Zi,qi,ea){var ya,co,io,rs,Pi,dn,ha,ba,ta,so,lr,pn,_n,Pn,ct=bi-nn,Vt=Oi-Yn,Cr=_i-bi,xr=Zi-Oi,Gr=qi-_i,$r=ea-Zi;for(co=0;co<41;co++)ta=(ha=(io=nn+(ya=co/40)*ct)+ya*((Pi=bi+ya*Cr)-io))+ya*(Pi+ya*(_i+ya*Gr-Pi)-ha),so=(ba=(rs=Yn+ya*Vt)+ya*((dn=Oi+ya*xr)-rs))+ya*(dn+ya*(Zi+ya*$r-dn)-ba),co==0?(lr=ta,pn=so,_n=ta,Pn=so):(lr=Math.min(lr,ta),pn=Math.min(pn,so),_n=Math.max(_n,ta),Pn=Math.max(Pn,so));return new Bt(Math.round(lr),Math.round(pn),Math.round(_n-lr),Math.round(Pn-pn))},Na=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var nn,Yn,bi=(nn=this.ctx.lineDash,Yn=this.ctx.lineDashOffset,JSON.stringify({lineDash:nn,lineDashOffset:Yn}));this.prevLineDash!==bi&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=bi)}}}(W.API),function(dt){var Me=function(ft){var Bt,Et,nr,Ur,Lr,Vr,sr,Bn,Er,gn;for(/[^\x00-\xFF]/.test(ft),Et=[],nr=0,Ur=(ft+=Bt="\0\0\0\0".slice(ft.length%4||4)).length;Ur>nr;nr+=4)(Lr=(ft.charCodeAt(nr)<<24)+(ft.charCodeAt(nr+1)<<16)+(ft.charCodeAt(nr+2)<<8)+ft.charCodeAt(nr+3))!==0?(Vr=(Lr=((Lr=((Lr=((Lr=(Lr-(gn=Lr%85))/85)-(Er=Lr%85))/85)-(Bn=Lr%85))/85)-(sr=Lr%85))/85)%85,Et.push(Vr+33,sr+33,Bn+33,Er+33,gn+33)):Et.push(122);return function(rn,Br){for(var Vn=Br;Vn>0;Vn--)rn.pop()}(Et,Bt.length),String.fromCharCode.apply(String,Et)+"~>"},Xe=function(ft){var Bt,Et,nr,Ur,Lr,Vr=String,sr="length",Bn=255,Er="charCodeAt",gn="slice",rn="replace";for(ft[gn](-2),ft=ft[gn](0,-2)[rn](/\s/g,"")[rn]("z","!!!!!"),nr=[],Ur=0,Lr=(ft+=Bt="uuuuu"[gn](ft[sr]%5||5))[sr];Lr>Ur;Ur+=5)Et=52200625*(ft[Er](Ur)-33)+614125*(ft[Er](Ur+1)-33)+7225*(ft[Er](Ur+2)-33)+85*(ft[Er](Ur+3)-33)+(ft[Er](Ur+4)-33),nr.push(Bn&Et>>24,Bn&Et>>16,Bn&Et>>8,Bn&Et);return function(Br,Vn){for(var gi=Vn;gi>0;gi--)Br.pop()}(nr,Bt[sr]),Vr.fromCharCode.apply(Vr,nr)},Qe=function(ft){var Bt=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ft=ft.replace(/\s/g,"")).indexOf(">")!==-1&&(ft=ft.substr(0,ft.indexOf(">"))),ft.length%2&&(ft+="0"),Bt.test(ft)===!1)return"";for(var Et="",nr=0;nr",nr.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":Et=st(Et),nr.push("/FlateDecode");break;default:throw new Error('The filter: "'+ft[Bt]+'" is not implemented')}return{data:Et,reverseChain:nr.reverse().join(" ")}}}(W.API),function(dt){dt.loadFile=function(Me,Xe,Qe){return function(st,nt,ft){nt=nt!==!1,ft=typeof ft=="function"?ft:function(){};var Bt=void 0;try{Bt=function(Et,nr,Ur){var Lr=new XMLHttpRequest,Vr=0,sr=function(Er){var gn=Er.length,rn=[],Br=String.fromCharCode;for(Vr=0;VrBn&&(sr=Er,Er=Bn,Bn=sr);else{if(ft!=="l"&&ft!=="landscape")throw"Invalid orientation: "+ft;ft="l",Bn>Er&&(sr=Er,Er=Bn,Bn=sr)}return{width:Er,height:Bn,unit:Bt,k:Ur,orientation:ft}},dt.html=function(ft,Bt){(Bt=Bt||{}).callback=Bt.callback||function(){},Bt.html2canvas=Bt.html2canvas||{},Bt.html2canvas.canvas=Bt.html2canvas.canvas||this.canvas,Bt.jsPDF=Bt.jsPDF||this,Bt.fontFaces=Bt.fontFaces?Bt.fontFaces.map(at):null;var Et=new nt(Bt);return Bt.worker?Et:Et.from(ft).doCallback()}}(W.API),W.API.addJS=function(dt){return cn=dt,this.internal.events.subscribe("postPutResources",function(){Sr=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Sr+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Tn=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+cn+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Sr!==void 0&&Tn!==void 0&&this.internal.out("/Names <>")}),this},function(dt){var Me;dt.events.push(["postPutResources",function(){var Xe=this,Qe=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var st=Xe.outline.render().split(/\r\n/),nt=0;nt> endobj")}var sr=Xe.internal.newObject();for(Xe.internal.write("<< /Names [ "),nt=0;nt>","endobj"),Me=Xe.internal.newObject(),Xe.internal.write("<< /Dests "+sr+" 0 R"),Xe.internal.write(">>","endobj")}}]),dt.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+Me+" 0 R"))}]),dt.events.push(["initialized",function(){var Xe=this;Xe.outline={createNamedDestinations:!1,root:{children:[]}},Xe.outline.add=function(Qe,st,nt){var ft={title:st,options:nt,children:[]};return Qe==null&&(Qe=this.root),Qe.children.push(ft),ft},Xe.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=Xe,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},Xe.outline.genIds_r=function(Qe){Qe.id=Xe.internal.newObjectDeferred();for(var st=0;st0&&(this.line("/First "+this.makeRef(Qe.children[0])),this.line("/Last "+this.makeRef(Qe.children[Qe.children.length-1]))),this.line("/Count "+this.count_r({count:0},Qe)),this.objEnd()},Xe.outline.renderItems=function(Qe){for(var st=this.ctx.pdf.internal.getVerticalCoordinateString,nt=0;nt0&&this.line("/Prev "+this.makeRef(Qe.children[nt-1])),nt0&&(this.line("/First "+this.makeRef(ft.children[0])),this.line("/Last "+this.makeRef(ft.children[ft.children.length-1])));var Bt=this.count=this.count_r({count:0},ft);if(Bt>0&&this.line("/Count "+Bt),ft.options&&ft.options.pageNumber){var Et=Xe.internal.getPageInfo(ft.options.pageNumber);this.line("/Dest ["+Et.objId+" 0 R /XYZ 0 "+st(0)+" 0]")}this.objEnd()}for(var nr=0;nr> \r endobj\r -`},Xe.outline.count_r=function(Qe,st){for(var nt=0;ntft;0<=ft?++rn:--rn)nt.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(Et=this.palette.length/3,this.transparency.indexed=this.read(ft),this.transparency.indexed.length>Et)throw new Error("More transparent colors than palette size");if((Er=Et-this.transparency.indexed.length)>0)for(Br=0;0<=Er?BrEr;0<=Er?++Br:--Br)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(ft)[0];break;case 2:this.transparency.rgb=this.read(ft)}break;case"tEXt":Vr=(gn=this.read(ft)).indexOf(0),sr=String.fromCharCode.apply(String,gn.slice(0,Vr)),this.text[sr]=String.fromCharCode.apply(String,gn.slice(Vr+1));break;case"IEND":return Lr&&this.animation.frames.push(Lr),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Vn=this.colorType)===4||Vn===6,Bt=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*Bt,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=ft}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}Qe.prototype.read=function(nt){var ft,Bt;for(Bt=[],ft=0;0<=nt?ftnt;0<=nt?++ft:--ft)Bt.push(this.data[this.pos++]);return Bt},Qe.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},Qe.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},Qe.prototype.decodePixels=function(nt){var ft=this.pixelBitlength/8,Bt=new Uint8Array(this.width*this.height*ft),Et=0,nr=this;if(nt==null&&(nt=this.imgData),nt.length===0)return new Uint8Array(0);function Ur(Lr,Vr,sr,Bn){var Er,gn,rn,Br,Vn,gi,Ni,Ki,zi,Yi,mi,va,zn,fn,$n,Cn,ki,In,na,Ei,pi,Ri=Math.ceil((nr.width-Lr)/sr),Na=Math.ceil((nr.height-Vr)/Bn),Un=nr.width==Ri&&nr.height==Na;for(fn=ft*Ri,va=Un?Bt:new Uint8Array(fn*Na),gi=nt.length,zn=0,gn=0;zn1&&Bt/nrft;0<=ft?++rn:--rn)nt.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(Et=this.palette.length/3,this.transparency.indexed=this.read(ft),this.transparency.indexed.length>Et)throw new Error("More transparent colors than palette size");if((Er=Et-this.transparency.indexed.length)>0)for(Br=0;0<=Er?BrEr;0<=Er?++Br:--Br)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(ft)[0];break;case 2:this.transparency.rgb=this.read(ft)}break;case"tEXt":Vr=(gn=this.read(ft)).indexOf(0),sr=String.fromCharCode.apply(String,gn.slice(0,Vr)),this.text[sr]=String.fromCharCode.apply(String,gn.slice(Vr+1));break;case"IEND":return Lr&&this.animation.frames.push(Lr),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Vn=this.colorType)===4||Vn===6,Bt=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*Bt,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=ft}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}Qe.prototype.read=function(nt){var ft,Bt;for(Bt=[],ft=0;0<=nt?ftnt;0<=nt?++ft:--ft)Bt.push(this.data[this.pos++]);return Bt},Qe.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},Qe.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},Qe.prototype.decodePixels=function(nt){var ft=this.pixelBitlength/8,Bt=new Uint8Array(this.width*this.height*ft),Et=0,nr=this;if(nt==null&&(nt=this.imgData),nt.length===0)return new Uint8Array(0);function Ur(Lr,Vr,sr,Bn){var Er,gn,rn,Br,Vn,gi,Ni,Wi,zi,Yi,mi,va,zn,fn,$n,Cn,ki,In,na,Ei,pi,Ri=Math.ceil((nr.width-Lr)/sr),Na=Math.ceil((nr.height-Vr)/Bn),Un=nr.width==Ri&&nr.height==Na;for(fn=ft*Ri,va=Un?Bt:new Uint8Array(fn*Na),gi=nt.length,zn=0,gn=0;zn1&&Bt/nr>7,ft=1<<(7&st)+1;dt[Me++],dt[Me++];var Bt=null,Et=null;nt&&(Bt=Me,Et=ft,Me+=3*ft);var nr=!0,Ur=[],Lr=0,Vr=null,sr=0,Bn=null;for(this.width=Xe,this.height=Qe;nr&&Me=0))throw Error("Invalid block size");if(zn===0)break;Me+=zn}break;case 249:if(dt[Me++]!==4||dt[Me+4]!==0)throw new Error("Invalid graphics extension block.");var Er=dt[Me++];Lr=dt[Me++]|dt[Me++]<<8,Vr=dt[Me++],(1&Er)==0&&(Vr=null),sr=Er>>2&7,Me++;break;case 254:for(;;){if(!((zn=dt[Me++])>=0))throw Error("Invalid block size");if(zn===0)break;Me+=zn}break;default:throw new Error("Unknown graphic control label: 0x"+dt[Me-1].toString(16))}break;case 44:var gn=dt[Me++]|dt[Me++]<<8,rn=dt[Me++]|dt[Me++]<<8,Br=dt[Me++]|dt[Me++]<<8,Vn=dt[Me++]|dt[Me++]<<8,gi=dt[Me++],Ni=gi>>6&1,Ki=1<<(7&gi)+1,zi=Bt,Yi=Et,mi=!1;gi>>7&&(mi=!0,zi=Me,Yi=Ki,Me+=3*Ki);var va=Me;for(Me++;;){var zn;if(!((zn=dt[Me++])>=0))throw Error("Invalid block size");if(zn===0)break;Me+=zn}Ur.push({x:gn,y:rn,width:Br,height:Vn,has_local_palette:mi,palette_offset:zi,palette_size:Yi,data_offset:va,data_length:Me-va,transparent_index:Vr,interlaced:!!Ni,delay:Lr,disposal:sr});break;case 59:nr=!1;break;default:throw new Error("Unknown gif block: 0x"+dt[Me-1].toString(16))}this.numFrames=function(){return Ur.length},this.loopCount=function(){return Bn},this.frameInfo=function(fn){if(fn<0||fn>=Ur.length)throw new Error("Frame index out of range.");return Ur[fn]},this.decodeAndBlitFrameBGRA=function(fn,$n){var Cn=this.frameInfo(fn),ki=Cn.width*Cn.height,In=new Uint8Array(ki);Xt(dt,Cn.data_offset,In,ki);var na=Cn.palette_offset,Ei=Cn.transparent_index;Ei===null&&(Ei=256);var pi=Cn.width,Ri=Xe-pi,Na=pi,Un=4*(Cn.y*Xe+Cn.x),nn=4*((Cn.y+Cn.height)*Xe+Cn.x),Yn=Un,bi=4*Ri;Cn.interlaced===!0&&(bi+=4*Xe*7);for(var Oi=8,_i=0,Zi=In.length;_i=nn&&(bi=4*Ri+4*Xe*(Oi-1),Yn=Un+(pi+Ri)*(Oi<<1),Oi>>=1)),qi===Ei)Yn+=4;else{var ea=dt[na+3*qi],ya=dt[na+3*qi+1],co=dt[na+3*qi+2];$n[Yn++]=co,$n[Yn++]=ya,$n[Yn++]=ea,$n[Yn++]=255}--Na}},this.decodeAndBlitFrameRGBA=function(fn,$n){var Cn=this.frameInfo(fn),ki=Cn.width*Cn.height,In=new Uint8Array(ki);Xt(dt,Cn.data_offset,In,ki);var na=Cn.palette_offset,Ei=Cn.transparent_index;Ei===null&&(Ei=256);var pi=Cn.width,Ri=Xe-pi,Na=pi,Un=4*(Cn.y*Xe+Cn.x),nn=4*((Cn.y+Cn.height)*Xe+Cn.x),Yn=Un,bi=4*Ri;Cn.interlaced===!0&&(bi+=4*Xe*7);for(var Oi=8,_i=0,Zi=In.length;_i=nn&&(bi=4*Ri+4*Xe*(Oi-1),Yn=Un+(pi+Ri)*(Oi<<1),Oi>>=1)),qi===Ei)Yn+=4;else{var ea=dt[na+3*qi],ya=dt[na+3*qi+1],co=dt[na+3*qi+2];$n[Yn++]=ea,$n[Yn++]=ya,$n[Yn++]=co,$n[Yn++]=255}--Na}}}function Xt(dt,Me,Xe,Qe){for(var st=dt[Me++],nt=1<>=Et,Ur-=Et,gn!==nt){if(gn===ft)break;for(var rn=gnnt;)Vn=Bn[Vn]>>8,++Br;var gi=Vn;if(Vr+Br+(rn!==gn?1:0)>Qe)return void m.log("Warning, gif stream longer than expected.");Xe[Vr++]=gi;var Ni=Vr+=Br;for(rn!==gn&&(Xe[Vr++]=gi),Vn=rn;Br--;)Vn=Bn[Vn],Xe[--Ni]=255&Vn,Vn>>=8;Er!==null&&Bt<4096&&(Bn[Bt++]=Er<<8|gi,Bt>=nr+1&&Et<12&&(++Et,nr=nr<<1|1)),Er=gn}else Bt=ft+1,nr=(1<<(Et=st+1))-1,Er=null}return Vr!==Qe&&m.log("Warning, gif stream shorter than expected."),Xe}/** + */function ir(dt){var Me=0;if(dt[Me++]!==71||dt[Me++]!==73||dt[Me++]!==70||dt[Me++]!==56||(dt[Me++]+1&253)!=56||dt[Me++]!==97)throw new Error("Invalid GIF 87a/89a header.");var Xe=dt[Me++]|dt[Me++]<<8,Qe=dt[Me++]|dt[Me++]<<8,st=dt[Me++],nt=st>>7,ft=1<<(7&st)+1;dt[Me++],dt[Me++];var Bt=null,Et=null;nt&&(Bt=Me,Et=ft,Me+=3*ft);var nr=!0,Ur=[],Lr=0,Vr=null,sr=0,Bn=null;for(this.width=Xe,this.height=Qe;nr&&Me=0))throw Error("Invalid block size");if(zn===0)break;Me+=zn}break;case 249:if(dt[Me++]!==4||dt[Me+4]!==0)throw new Error("Invalid graphics extension block.");var Er=dt[Me++];Lr=dt[Me++]|dt[Me++]<<8,Vr=dt[Me++],(1&Er)==0&&(Vr=null),sr=Er>>2&7,Me++;break;case 254:for(;;){if(!((zn=dt[Me++])>=0))throw Error("Invalid block size");if(zn===0)break;Me+=zn}break;default:throw new Error("Unknown graphic control label: 0x"+dt[Me-1].toString(16))}break;case 44:var gn=dt[Me++]|dt[Me++]<<8,rn=dt[Me++]|dt[Me++]<<8,Br=dt[Me++]|dt[Me++]<<8,Vn=dt[Me++]|dt[Me++]<<8,gi=dt[Me++],Ni=gi>>6&1,Wi=1<<(7&gi)+1,zi=Bt,Yi=Et,mi=!1;gi>>7&&(mi=!0,zi=Me,Yi=Wi,Me+=3*Wi);var va=Me;for(Me++;;){var zn;if(!((zn=dt[Me++])>=0))throw Error("Invalid block size");if(zn===0)break;Me+=zn}Ur.push({x:gn,y:rn,width:Br,height:Vn,has_local_palette:mi,palette_offset:zi,palette_size:Yi,data_offset:va,data_length:Me-va,transparent_index:Vr,interlaced:!!Ni,delay:Lr,disposal:sr});break;case 59:nr=!1;break;default:throw new Error("Unknown gif block: 0x"+dt[Me-1].toString(16))}this.numFrames=function(){return Ur.length},this.loopCount=function(){return Bn},this.frameInfo=function(fn){if(fn<0||fn>=Ur.length)throw new Error("Frame index out of range.");return Ur[fn]},this.decodeAndBlitFrameBGRA=function(fn,$n){var Cn=this.frameInfo(fn),ki=Cn.width*Cn.height,In=new Uint8Array(ki);Xt(dt,Cn.data_offset,In,ki);var na=Cn.palette_offset,Ei=Cn.transparent_index;Ei===null&&(Ei=256);var pi=Cn.width,Ri=Xe-pi,Na=pi,Un=4*(Cn.y*Xe+Cn.x),nn=4*((Cn.y+Cn.height)*Xe+Cn.x),Yn=Un,bi=4*Ri;Cn.interlaced===!0&&(bi+=4*Xe*7);for(var Oi=8,_i=0,Zi=In.length;_i=nn&&(bi=4*Ri+4*Xe*(Oi-1),Yn=Un+(pi+Ri)*(Oi<<1),Oi>>=1)),qi===Ei)Yn+=4;else{var ea=dt[na+3*qi],ya=dt[na+3*qi+1],co=dt[na+3*qi+2];$n[Yn++]=co,$n[Yn++]=ya,$n[Yn++]=ea,$n[Yn++]=255}--Na}},this.decodeAndBlitFrameRGBA=function(fn,$n){var Cn=this.frameInfo(fn),ki=Cn.width*Cn.height,In=new Uint8Array(ki);Xt(dt,Cn.data_offset,In,ki);var na=Cn.palette_offset,Ei=Cn.transparent_index;Ei===null&&(Ei=256);var pi=Cn.width,Ri=Xe-pi,Na=pi,Un=4*(Cn.y*Xe+Cn.x),nn=4*((Cn.y+Cn.height)*Xe+Cn.x),Yn=Un,bi=4*Ri;Cn.interlaced===!0&&(bi+=4*Xe*7);for(var Oi=8,_i=0,Zi=In.length;_i=nn&&(bi=4*Ri+4*Xe*(Oi-1),Yn=Un+(pi+Ri)*(Oi<<1),Oi>>=1)),qi===Ei)Yn+=4;else{var ea=dt[na+3*qi],ya=dt[na+3*qi+1],co=dt[na+3*qi+2];$n[Yn++]=ea,$n[Yn++]=ya,$n[Yn++]=co,$n[Yn++]=255}--Na}}}function Xt(dt,Me,Xe,Qe){for(var st=dt[Me++],nt=1<>=Et,Ur-=Et,gn!==nt){if(gn===ft)break;for(var rn=gnnt;)Vn=Bn[Vn]>>8,++Br;var gi=Vn;if(Vr+Br+(rn!==gn?1:0)>Qe)return void m.log("Warning, gif stream longer than expected.");Xe[Vr++]=gi;var Ni=Vr+=Br;for(rn!==gn&&(Xe[Vr++]=gi),Vn=rn;Br--;)Vn=Bn[Vn],Xe[--Ni]=255&Vn,Vn>>=8;Er!==null&&Bt<4096&&(Bn[Bt++]=Er<<8|gi,Bt>=nr+1&&Et<12&&(++Et,nr=nr<<1|1)),Er=gn}else Bt=ft+1,nr=(1<<(Et=st+1))-1,Er=null}return Vr!==Qe&&m.log("Warning, gif stream shorter than expected."),Xe}/** * @license Copyright (c) 2008, Adobe Systems Incorporated All rights reserved. @@ -800,19 +800,19 @@ endobj\r LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/function er(dt){var Me,Xe,Qe,st,nt,ft=Math.floor,Bt=new Array(64),Et=new Array(64),nr=new Array(64),Ur=new Array(64),Lr=new Array(65535),Vr=new Array(65535),sr=new Array(64),Bn=new Array(64),Er=[],gn=0,rn=7,Br=new Array(64),Vn=new Array(64),gi=new Array(64),Ni=new Array(256),Ki=new Array(2048),zi=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Yi=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],mi=[0,1,2,3,4,5,6,7,8,9,10,11],va=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],zn=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],fn=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],$n=[0,1,2,3,4,5,6,7,8,9,10,11],Cn=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],ki=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function In(Un,nn){for(var Yn=0,bi=0,Oi=new Array,_i=1;_i<=16;_i++){for(var Zi=1;Zi<=Un[_i];Zi++)Oi[nn[bi]]=[],Oi[nn[bi]][0]=Yn,Oi[nn[bi]][1]=_i,bi++,Yn++;Yn*=2}return Oi}function na(Un){for(var nn=Un[0],Yn=Un[1]-1;Yn>=0;)nn&1<>8&255),Ei(255&Un)}function Ri(Un,nn,Yn,bi,Oi){for(var _i,Zi=Oi[0],qi=Oi[240],ea=function(ta,so){var lr,pn,_n,Pn,ct,Vt,Cr,xr,Gr,$r,hn=0;for(Gr=0;Gr<8;++Gr){lr=ta[hn],pn=ta[hn+1],_n=ta[hn+2],Pn=ta[hn+3],ct=ta[hn+4],Vt=ta[hn+5],Cr=ta[hn+6];var On=lr+(xr=ta[hn+7]),Qn=lr-xr,qn=pn+Cr,si=pn-Cr,oi=_n+Vt,Wn=_n-Vt,Zn=Pn+ct,ni=Pn-ct,wi=On+Zn,Di=On-Zn,Ui=qn+oi,ca=qn-oi;ta[hn]=wi+Ui,ta[hn+4]=wi-Ui;var ia=.707106781*(ca+Di);ta[hn+2]=Di+ia,ta[hn+6]=Di-ia;var Ia=.382683433*((wi=ni+Wn)-(ca=si+Qn)),Fa=.5411961*wi+Ia,Aa=1.306562965*ca+Ia,Ea=.707106781*(Ui=Wn+si),xa=Qn+Ea,Ai=Qn-Ea;ta[hn+5]=Ai+Fa,ta[hn+3]=Ai-Fa,ta[hn+1]=xa+Aa,ta[hn+7]=xa-Aa,hn+=8}for(hn=0,Gr=0;Gr<8;++Gr){lr=ta[hn],pn=ta[hn+8],_n=ta[hn+16],Pn=ta[hn+24],ct=ta[hn+32],Vt=ta[hn+40],Cr=ta[hn+48];var oa=lr+(xr=ta[hn+56]),Ba=lr-xr,Nr=pn+Cr,Qr=pn-Cr,bn=_n+Vt,Zr=_n-Vt,hr=Pn+ct,jr=Pn-ct,wr=oa+hr,an=oa-hr,Jr=Nr+bn,kn=Nr-bn;ta[hn]=wr+Jr,ta[hn+32]=wr-Jr;var Dn=.707106781*(kn+an);ta[hn+16]=an+Dn,ta[hn+48]=an-Dn;var Xn=.382683433*((wr=jr+Zr)-(kn=Qr+Ba)),vi=.5411961*wr+Xn,Li=1.306562965*kn+Xn,ji=.707106781*(Jr=Zr+Qr),Sa=Ba+ji,Ga=Ba-ji;ta[hn+40]=Ga+vi,ta[hn+24]=Ga-vi,ta[hn+8]=Sa+Li,ta[hn+56]=Sa-Li,hn++}for(Gr=0;Gr<64;++Gr)$r=ta[Gr]*so[Gr],sr[Gr]=$r>0?$r+.5|0:$r-.5|0;return sr}(Un,nn),ya=0;ya<64;++ya)Bn[zi[ya]]=ea[ya];var co=Bn[0]-Yn;Yn=Bn[0],co==0?na(bi[0]):(na(bi[Vr[_i=32767+co]]),na(Lr[_i]));for(var io=63;io>0&&Bn[io]==0;)io--;if(io==0)return na(Zi),Yn;for(var rs,Pi=1;Pi<=io;){for(var dn=Pi;Bn[Pi]==0&&Pi<=io;)++Pi;var ha=Pi-dn;if(ha>=16){rs=ha>>4;for(var ba=1;ba<=rs;++ba)na(qi);ha&=15}_i=32767+Bn[Pi],na(Oi[(ha<<4)+Vr[_i]]),na(Lr[_i]),Pi++}return io!=63&&na(Zi),Yn}function Na(Un){(Un=Math.min(Math.max(Un,1),100),nt!=Un)&&(!function(nn){for(var Yn=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],bi=0;bi<64;bi++){var Oi=ft((Yn[bi]*nn+50)/100);Oi=Math.min(Math.max(Oi,1),255),Bt[zi[bi]]=Oi}for(var _i=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Zi=0;Zi<64;Zi++){var qi=ft((_i[Zi]*nn+50)/100);qi=Math.min(Math.max(qi,1),255),Et[zi[Zi]]=qi}for(var ea=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],ya=0,co=0;co<8;co++)for(var io=0;io<8;io++)nr[ya]=1/(Bt[zi[ya]]*ea[co]*ea[io]*8),Ur[ya]=1/(Et[zi[ya]]*ea[co]*ea[io]*8),ya++}(Un<50?Math.floor(5e3/Un):Math.floor(200-2*Un)),nt=Un)}this.encode=function(Un,nn){nn&&Na(nn),Er=new Array,gn=0,rn=7,pi(65496),pi(65504),pi(16),Ei(74),Ei(70),Ei(73),Ei(70),Ei(0),Ei(1),Ei(1),Ei(0),pi(1),pi(1),Ei(0),Ei(0),function(){pi(65499),pi(132),Ei(0);for(var pn=0;pn<64;pn++)Ei(Bt[pn]);Ei(1);for(var _n=0;_n<64;_n++)Ei(Et[_n])}(),function(pn,_n){pi(65472),pi(17),Ei(8),pi(_n),pi(pn),Ei(3),Ei(1),Ei(17),Ei(0),Ei(2),Ei(17),Ei(1),Ei(3),Ei(17),Ei(1)}(Un.width,Un.height),function(){pi(65476),pi(418),Ei(0);for(var pn=0;pn<16;pn++)Ei(Yi[pn+1]);for(var _n=0;_n<=11;_n++)Ei(mi[_n]);Ei(16);for(var Pn=0;Pn<16;Pn++)Ei(va[Pn+1]);for(var ct=0;ct<=161;ct++)Ei(zn[ct]);Ei(1);for(var Vt=0;Vt<16;Vt++)Ei(fn[Vt+1]);for(var Cr=0;Cr<=11;Cr++)Ei($n[Cr]);Ei(17);for(var xr=0;xr<16;xr++)Ei(Cn[xr+1]);for(var Gr=0;Gr<=161;Gr++)Ei(ki[Gr])}(),pi(65498),pi(12),Ei(3),Ei(1),Ei(0),Ei(2),Ei(17),Ei(3),Ei(17),Ei(0),Ei(63),Ei(0);var Yn=0,bi=0,Oi=0;gn=0,rn=7,this.encode.displayName="_encode_";for(var _i,Zi,qi,ea,ya,co,io,rs,Pi,dn=Un.data,ha=Un.width,ba=Un.height,ta=4*ha,so=0;so>3)*ta+(io=4*(7&Pi)),so+rs>=ba&&(co-=ta*(so+1+rs-ba)),_i+io>=ta&&(co-=_i+io-ta+4),Zi=dn[co++],qi=dn[co++],ea=dn[co++],Br[Pi]=(Ki[Zi]+Ki[qi+256>>0]+Ki[ea+512>>0]>>16)-128,Vn[Pi]=(Ki[Zi+768>>0]+Ki[qi+1024>>0]+Ki[ea+1280>>0]>>16)-128,gi[Pi]=(Ki[Zi+1280>>0]+Ki[qi+1536>>0]+Ki[ea+1792>>0]>>16)-128;Yn=Ri(Br,nr,Yn,Me,Qe),bi=Ri(Vn,Ur,bi,Xe,st),Oi=Ri(gi,Ur,Oi,Xe,st),_i+=32}so+=8}if(rn>=0){var lr=[];lr[1]=rn+1,lr[0]=(1<>0]=38470*Un,Ki[Un+512>>0]=7471*Un+32768,Ki[Un+768>>0]=-11059*Un,Ki[Un+1024>>0]=-21709*Un,Ki[Un+1280>>0]=32768*Un+8421375,Ki[Un+1536>>0]=-27439*Un,Ki[Un+1792>>0]=-5329*Un}(),Na(dt)}/** +*/function er(dt){var Me,Xe,Qe,st,nt,ft=Math.floor,Bt=new Array(64),Et=new Array(64),nr=new Array(64),Ur=new Array(64),Lr=new Array(65535),Vr=new Array(65535),sr=new Array(64),Bn=new Array(64),Er=[],gn=0,rn=7,Br=new Array(64),Vn=new Array(64),gi=new Array(64),Ni=new Array(256),Wi=new Array(2048),zi=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Yi=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],mi=[0,1,2,3,4,5,6,7,8,9,10,11],va=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],zn=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],fn=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],$n=[0,1,2,3,4,5,6,7,8,9,10,11],Cn=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],ki=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function In(Un,nn){for(var Yn=0,bi=0,Oi=new Array,_i=1;_i<=16;_i++){for(var Zi=1;Zi<=Un[_i];Zi++)Oi[nn[bi]]=[],Oi[nn[bi]][0]=Yn,Oi[nn[bi]][1]=_i,bi++,Yn++;Yn*=2}return Oi}function na(Un){for(var nn=Un[0],Yn=Un[1]-1;Yn>=0;)nn&1<>8&255),Ei(255&Un)}function Ri(Un,nn,Yn,bi,Oi){for(var _i,Zi=Oi[0],qi=Oi[240],ea=function(ta,so){var lr,pn,_n,Pn,ct,Vt,Cr,xr,Gr,$r,hn=0;for(Gr=0;Gr<8;++Gr){lr=ta[hn],pn=ta[hn+1],_n=ta[hn+2],Pn=ta[hn+3],ct=ta[hn+4],Vt=ta[hn+5],Cr=ta[hn+6];var On=lr+(xr=ta[hn+7]),Qn=lr-xr,qn=pn+Cr,si=pn-Cr,oi=_n+Vt,Kn=_n-Vt,Zn=Pn+ct,ni=Pn-ct,wi=On+Zn,Di=On-Zn,Ui=qn+oi,ca=qn-oi;ta[hn]=wi+Ui,ta[hn+4]=wi-Ui;var ia=.707106781*(ca+Di);ta[hn+2]=Di+ia,ta[hn+6]=Di-ia;var Ia=.382683433*((wi=ni+Kn)-(ca=si+Qn)),Fa=.5411961*wi+Ia,Aa=1.306562965*ca+Ia,Ea=.707106781*(Ui=Kn+si),xa=Qn+Ea,Ai=Qn-Ea;ta[hn+5]=Ai+Fa,ta[hn+3]=Ai-Fa,ta[hn+1]=xa+Aa,ta[hn+7]=xa-Aa,hn+=8}for(hn=0,Gr=0;Gr<8;++Gr){lr=ta[hn],pn=ta[hn+8],_n=ta[hn+16],Pn=ta[hn+24],ct=ta[hn+32],Vt=ta[hn+40],Cr=ta[hn+48];var oa=lr+(xr=ta[hn+56]),Ba=lr-xr,Nr=pn+Cr,Qr=pn-Cr,bn=_n+Vt,Zr=_n-Vt,hr=Pn+ct,jr=Pn-ct,wr=oa+hr,an=oa-hr,Jr=Nr+bn,kn=Nr-bn;ta[hn]=wr+Jr,ta[hn+32]=wr-Jr;var Dn=.707106781*(kn+an);ta[hn+16]=an+Dn,ta[hn+48]=an-Dn;var Xn=.382683433*((wr=jr+Zr)-(kn=Qr+Ba)),vi=.5411961*wr+Xn,Li=1.306562965*kn+Xn,ji=.707106781*(Jr=Zr+Qr),Sa=Ba+ji,Ga=Ba-ji;ta[hn+40]=Ga+vi,ta[hn+24]=Ga-vi,ta[hn+8]=Sa+Li,ta[hn+56]=Sa-Li,hn++}for(Gr=0;Gr<64;++Gr)$r=ta[Gr]*so[Gr],sr[Gr]=$r>0?$r+.5|0:$r-.5|0;return sr}(Un,nn),ya=0;ya<64;++ya)Bn[zi[ya]]=ea[ya];var co=Bn[0]-Yn;Yn=Bn[0],co==0?na(bi[0]):(na(bi[Vr[_i=32767+co]]),na(Lr[_i]));for(var io=63;io>0&&Bn[io]==0;)io--;if(io==0)return na(Zi),Yn;for(var rs,Pi=1;Pi<=io;){for(var dn=Pi;Bn[Pi]==0&&Pi<=io;)++Pi;var ha=Pi-dn;if(ha>=16){rs=ha>>4;for(var ba=1;ba<=rs;++ba)na(qi);ha&=15}_i=32767+Bn[Pi],na(Oi[(ha<<4)+Vr[_i]]),na(Lr[_i]),Pi++}return io!=63&&na(Zi),Yn}function Na(Un){(Un=Math.min(Math.max(Un,1),100),nt!=Un)&&(!function(nn){for(var Yn=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],bi=0;bi<64;bi++){var Oi=ft((Yn[bi]*nn+50)/100);Oi=Math.min(Math.max(Oi,1),255),Bt[zi[bi]]=Oi}for(var _i=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Zi=0;Zi<64;Zi++){var qi=ft((_i[Zi]*nn+50)/100);qi=Math.min(Math.max(qi,1),255),Et[zi[Zi]]=qi}for(var ea=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],ya=0,co=0;co<8;co++)for(var io=0;io<8;io++)nr[ya]=1/(Bt[zi[ya]]*ea[co]*ea[io]*8),Ur[ya]=1/(Et[zi[ya]]*ea[co]*ea[io]*8),ya++}(Un<50?Math.floor(5e3/Un):Math.floor(200-2*Un)),nt=Un)}this.encode=function(Un,nn){nn&&Na(nn),Er=new Array,gn=0,rn=7,pi(65496),pi(65504),pi(16),Ei(74),Ei(70),Ei(73),Ei(70),Ei(0),Ei(1),Ei(1),Ei(0),pi(1),pi(1),Ei(0),Ei(0),function(){pi(65499),pi(132),Ei(0);for(var pn=0;pn<64;pn++)Ei(Bt[pn]);Ei(1);for(var _n=0;_n<64;_n++)Ei(Et[_n])}(),function(pn,_n){pi(65472),pi(17),Ei(8),pi(_n),pi(pn),Ei(3),Ei(1),Ei(17),Ei(0),Ei(2),Ei(17),Ei(1),Ei(3),Ei(17),Ei(1)}(Un.width,Un.height),function(){pi(65476),pi(418),Ei(0);for(var pn=0;pn<16;pn++)Ei(Yi[pn+1]);for(var _n=0;_n<=11;_n++)Ei(mi[_n]);Ei(16);for(var Pn=0;Pn<16;Pn++)Ei(va[Pn+1]);for(var ct=0;ct<=161;ct++)Ei(zn[ct]);Ei(1);for(var Vt=0;Vt<16;Vt++)Ei(fn[Vt+1]);for(var Cr=0;Cr<=11;Cr++)Ei($n[Cr]);Ei(17);for(var xr=0;xr<16;xr++)Ei(Cn[xr+1]);for(var Gr=0;Gr<=161;Gr++)Ei(ki[Gr])}(),pi(65498),pi(12),Ei(3),Ei(1),Ei(0),Ei(2),Ei(17),Ei(3),Ei(17),Ei(0),Ei(63),Ei(0);var Yn=0,bi=0,Oi=0;gn=0,rn=7,this.encode.displayName="_encode_";for(var _i,Zi,qi,ea,ya,co,io,rs,Pi,dn=Un.data,ha=Un.width,ba=Un.height,ta=4*ha,so=0;so>3)*ta+(io=4*(7&Pi)),so+rs>=ba&&(co-=ta*(so+1+rs-ba)),_i+io>=ta&&(co-=_i+io-ta+4),Zi=dn[co++],qi=dn[co++],ea=dn[co++],Br[Pi]=(Wi[Zi]+Wi[qi+256>>0]+Wi[ea+512>>0]>>16)-128,Vn[Pi]=(Wi[Zi+768>>0]+Wi[qi+1024>>0]+Wi[ea+1280>>0]>>16)-128,gi[Pi]=(Wi[Zi+1280>>0]+Wi[qi+1536>>0]+Wi[ea+1792>>0]>>16)-128;Yn=Ri(Br,nr,Yn,Me,Qe),bi=Ri(Vn,Ur,bi,Xe,st),Oi=Ri(gi,Ur,Oi,Xe,st),_i+=32}so+=8}if(rn>=0){var lr=[];lr[1]=rn+1,lr[0]=(1<>0]=38470*Un,Wi[Un+512>>0]=7471*Un+32768,Wi[Un+768>>0]=-11059*Un,Wi[Un+1024>>0]=-21709*Un,Wi[Un+1280>>0]=32768*Un+8421375,Wi[Un+1536>>0]=-27439*Un,Wi[Un+1792>>0]=-5329*Un}(),Na(dt)}/** * @license * Copyright (c) 2017 Aras Abbasi * * Licensed under the MIT License. * http://opensource.org/licenses/mit-license - */function Wr(dt,Me){if(this.pos=0,this.buffer=dt,this.datav=new DataView(dt.buffer),this.is_with_alpha=!!Me,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function en(dt){function Me(Yi){if(!Yi)throw Error("assert :P")}function Xe(Yi,mi,va){for(var zn=0;4>zn;zn++)if(Yi[mi+zn]!=va.charCodeAt(zn))return!0;return!1}function Qe(Yi,mi,va,zn,fn){for(var $n=0;$n$n+1?[]:new mi),!(Cn.length<$n+1));In++)zn(fn[In],$n+1,Cn)}(va,0,Yi),va}var Et=function(){var mi=this;function va(_e,Je){for(var Ot=1<>>0;_e&Ot;)Ot>>>=1;return Ot?(_e&Ot-1)+Ot:_e}function zn(_e,Je,Ot,ur,Or){Me(!(ur%Ot));do _e[Je+(ur-=Ot)]=Or;while(0=Or),512>=Or)var Kr=nt(512);else if((Kr=nt(Or))==null)return 0;return function(Ue,se,Oe,tt,wt,zt){var Zt,Jt,Fr=se,Xr=1<Zt;++Zt){if(Mr[Zt]>1<(_a-=Mr[Zt]))return 0;for(;0=Zt;++Zt,wt<<=1){if(Wi+=_a<<=1,0>(_a-=Mr[Zt]))return 0;for(;0qr&&!(0>=(zr-=Mr[qr]));)++qr,zr<<=1;Xr+=Ji=1<<(zr=qr-Oe),Ue[se+(qr=xi&Ln)].g=zr+Oe,Ue[se+qr].value=Fr-se-qr}tt.g=Zt-Oe,tt.value=zt[Jt++],zn(Ue,Fr+(xi>>Oe),wt,Ji,tt),xi=va(xi,Zt)}}return Wi!=2*Ir[15]-1?0:Xr}(_e,Je,Ot,ur,Or,Kr)}function $n(){this.value=this.g=0}function Cn(){this.value=this.g=0}function ki(){this.G=ft(5,$n),this.H=nt(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=ft(Ys,Cn)}function In(_e,Je,Ot,ur){Me(_e!=null),Me(Je!=null),Me(2147483648>ur),_e.Ca=254,_e.I=0,_e.b=-8,_e.Ka=0,_e.oa=Je,_e.pa=Ot,_e.Jd=Je,_e.Yc=Ot+ur,_e.Zc=4<=ur?Ot+ur-4+1:Ot,Zi(_e)}function na(_e,Je){for(var Ot=0;0ur),_e.Sb=ur,_e.Ra=0,_e.u=0,_e.h=0,4>>=8,_e.Ra+=_e.oa[_e.pa+_e.bb]<>>0,++_e.bb,_e.u-=8;bi(_e)&&(_e.h=1,_e.u=0)}function Na(_e,Je){if(Me(0<=Je),!_e.h&&Je<=kl){var Ot=Yn(_e)&Rl[Je];return _e.u+=Je,Ri(_e),Ot}return _e.h=1,_e.u=0}function Un(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function nn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Yn(_e){return _e.Ra>>>(_e.u&el-1)>>>0}function bi(_e){return Me(_e.bb<=_e.Sb),_e.h||_e.bb==_e.Sb&&_e.u>el}function Oi(_e,Je){_e.u=Je,_e.h=bi(_e)}function _i(_e){_e.u>=Cl&&(Me(_e.u>=Cl),Ri(_e))}function Zi(_e){Me(_e!=null&&_e.oa!=null),_e.pa<_e.Zc?(_e.I=(_e.oa[_e.pa++]|_e.I<<8)>>>0,_e.b+=8):(Me(_e!=null&&_e.oa!=null),_e.pa<_e.Yc?(_e.b+=8,_e.I=_e.oa[_e.pa++]|_e.I<<8):_e.Ka?_e.b=0:(_e.I<<=8,_e.b+=8,_e.Ka=1))}function qi(_e){return na(_e,1)}function ea(_e,Je){var Ot=_e.Ca;0>_e.b&&Zi(_e);var ur=_e.b,Or=Ot*Je>>>8,Kr=(_e.I>>>ur>Or)+0;for(Kr?(Ot-=Or,_e.I-=Or+1<>>0):Ot=Or+1,ur=Ot,Or=0;256<=ur;)Or+=8,ur>>=8;return ur=7^Or+mc[ur],_e.b-=ur,_e.Ca=(Ot<>24&255,_e[Je+1]=Ot>>16&255,_e[Je+2]=Ot>>8&255,_e[Je+3]=Ot>>0&255}function co(_e,Je){return _e[Je+0]<<0|_e[Je+1]<<8}function io(_e,Je){return co(_e,Je)|_e[Je+2]<<16}function rs(_e,Je){return co(_e,Je)|co(_e,Je+2)<<16}function Pi(_e,Je){var Ot=1<=Or||0>=Kr?0:(Ot[0]=Or,ur[0]=Kr,1)}function ta(_e,Je){return _e+(1<>>Je}function so(_e,Je){return((4278255360&_e)+(4278255360&Je)>>>0&4278255360)+((16711935&_e)+(16711935&Je)>>>0&16711935)>>>0}function lr(_e,Je){mi[Je]=function(Ot,ur,Or,Kr,Ue,se,Oe){var tt;for(tt=0;tt>>1)+(_e&Je)>>>0}function Pn(_e){return 0<=_e&&256>_e?_e:0>_e?0:255<_e?255:void 0}function ct(_e,Je){return Pn(_e+(_e-Je+.5>>1))}function Vt(_e,Je,Ot){return Math.abs(Je-Ot)-Math.abs(_e-Ot)}function Cr(_e,Je,Ot,ur,Or,Kr,Ue){for(ur=Kr[Ue-1],Ot=0;Ot>8&255,Oe=16711935&(Oe=(Oe=16711935&Ue)+((se<<16)+se));ur[Or+Kr]=(4278255360&Ue)+Oe>>>0}}function Gr(_e,Je){Je.jd=_e>>0&255,Je.hd=_e>>8&255,Je.ud=_e>>16&255}function $r(_e,Je,Ot,ur,Or,Kr){var Ue;for(Ue=0;Ue>>8,tt=se,wt=255&(wt=(wt=se>>>16)+((_e.jd<<24>>24)*(Oe<<24>>24)>>>5));tt=255&(tt=(tt=tt+((_e.hd<<24>>24)*(Oe<<24>>24)>>>5))+((_e.ud<<24>>24)*(wt<<24>>24)>>>5)),Or[Kr+Ue]=(4278255360&se)+(wt<<16)+tt}}function hn(_e,Je,Ot,ur,Or){mi[Je]=function(Kr,Ue,se,Oe,tt,wt,zt,Zt,Jt){for(Oe=zt;Oe>Kr.b,Jt=Kr.Ea,Fr=Kr.K[0],Xr=Kr.w;if(8>Zt)for(Kr=(1<>=Zt}else mi["VP8LMapColor"+Ot](Oe,tt,Fr,Xr,wt,zt,Ue,se,Jt)}}function On(_e,Je,Ot,ur,Or){for(Ot=Je+Ot;Je>16&255,ur[Or++]=Kr>>8&255,ur[Or++]=Kr>>0&255}}function Qn(_e,Je,Ot,ur,Or){for(Ot=Je+Ot;Je>16&255,ur[Or++]=Kr>>8&255,ur[Or++]=Kr>>0&255,ur[Or++]=Kr>>24&255}}function qn(_e,Je,Ot,ur,Or){for(Ot=Je+Ot;Je>16&240|Ue>>12&15,Ue=Ue>>0&240|Ue>>28&15;ur[Or++]=Kr,ur[Or++]=Ue}}function si(_e,Je,Ot,ur,Or){for(Ot=Je+Ot;Je>16&248|Ue>>13&7,Ue=Ue>>5&224|Ue>>3&31;ur[Or++]=Kr,ur[Or++]=Ue}}function oi(_e,Je,Ot,ur,Or){for(Ot=Je+Ot;Je>0&255,ur[Or++]=Kr>>8&255,ur[Or++]=Kr>>16&255}}function Wn(_e,Je,Ot,ur,Or,Kr){if(Kr==0)for(Ot=Je+Ot;Je>24|Kr[1]>>8&65280|Kr[2]<<8&16711680|Kr[3]<<24)>>>0),Or+=32;else Qe(ur,Or,_e,Je,Ot)}function Zn(_e,Je){mi[Je][0]=mi[_e+"0"],mi[Je][1]=mi[_e+"1"],mi[Je][2]=mi[_e+"2"],mi[Je][3]=mi[_e+"3"],mi[Je][4]=mi[_e+"4"],mi[Je][5]=mi[_e+"5"],mi[Je][6]=mi[_e+"6"],mi[Je][7]=mi[_e+"7"],mi[Je][8]=mi[_e+"8"],mi[Je][9]=mi[_e+"9"],mi[Je][10]=mi[_e+"10"],mi[Je][11]=mi[_e+"11"],mi[Je][12]=mi[_e+"12"],mi[Je][13]=mi[_e+"13"],mi[Je][14]=mi[_e+"0"],mi[Je][15]=mi[_e+"0"]}function ni(_e){return _e==Vu||_e==$c||_e==hu||_e==wu}function wi(){this.eb=[],this.size=this.A=this.fb=0}function Di(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Ui(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new wi,this.f.kb=new Di,this.sd=null}function ca(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ia(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Ia(_e){return alert("todo:WebPSamplerProcessPlane"),_e.T}function Fa(_e,Je){var Ot=_e.T,ur=Je.ba.f.RGBA,Or=ur.eb,Kr=ur.fb+_e.ka*ur.A,Ue=qc[Je.ba.S],se=_e.y,Oe=_e.O,tt=_e.f,wt=_e.N,zt=_e.ea,Zt=_e.W,Jt=Je.cc,Fr=Je.dc,Xr=Je.Mc,Mr=Je.Nc,Ir=_e.ka,zr=_e.ka+_e.T,qr=_e.U,Ln=qr+1>>1;for(Ir==0?Ue(se,Oe,null,null,tt,wt,zt,Zt,tt,wt,zt,Zt,Or,Kr,null,null,qr):(Ue(Je.ec,Je.fc,se,Oe,Jt,Fr,Xr,Mr,tt,wt,zt,Zt,Or,Kr-ur.A,Or,Kr,qr),++Ot);Ir+2Ot,Or=Ot==zu||Ot==Iu||Ot==yu||Ot==Ku||Ot==12||ni(Ot);if(Je.memory=null,Je.Ib=null,Je.Jb=null,Je.Nd=null,!Ws(Je.Oa,_e,Or?11:12))return 0;if(Or&&ni(Ot)&&Ye(),_e.da)alert("todo:use_scaling");else{if(ur){if(Je.Ib=Ia,_e.Kb){if(Ot=_e.U+1>>1,Je.memory=nt(_e.U+2*Ot),Je.memory==null)return 0;Je.ec=Je.memory,Je.fc=0,Je.cc=Je.ec,Je.dc=Je.fc+_e.U,Je.Mc=Je.cc,Je.Nc=Je.dc+Ot,Je.Ib=Fa,Ye()}}else alert("todo:EmitYUV");Or&&(Je.Jb=Aa,ur&&Ce())}if(ur&&!sd){for(_e=0;256>_e;++_e)Sd[_e]=89858*(_e-128)+gu>>mu,Jd[_e]=-22014*(_e-128)+gu,au[_e]=-45773*(_e-128),Su[_e]=113618*(_e-128)+gu>>mu;for(_e=Bu;_e>mu,ou[_e-Bu]=za(Je,255),$u[_e-Bu]=za(Je+8>>4,15);sd=1}return 1}function xa(_e){var Je=_e.ma,Ot=_e.U,ur=_e.T;return Me(!(1&_e.ka)),0>=Ot||0>=ur?0:(Ot=Je.Ib(_e,Je),Je.Jb!=null&&Je.Jb(_e,Je,Ot),Je.Dc+=Ot,1)}function Ai(_e){_e.ma.memory=null}function oa(_e,Je,Ot,ur){return Na(_e,8)!=47?0:(Je[0]=Na(_e,14)+1,Ot[0]=Na(_e,14)+1,ur[0]=Na(_e,1),Na(_e,3)!=0?0:!_e.h)}function Ba(_e,Je){if(4>_e)return _e+1;var Ot=_e-2>>1;return(2+(1&_e)<>4)*_e+(8-(15&Ot)))?Ot:1;var Ot}function Qr(_e,Je,Ot){var ur=Yn(Ot),Or=_e[Je+=255&ur].g-8;return 0>>0,Me(8>=Ot.g),_e.g}function Zr(_e,Je,Ot){var ur=_e.xc;return Me((Je=ur==0?0:_e.vc[_e.md*(Ot>>ur)+(Je>>ur)])<_e.Wb),_e.Ya[Je]}function hr(_e,Je,Ot,ur){var Or=_e.ab,Kr=_e.c*Je,Ue=_e.C;Je=Ue+Je;var se=Ot,Oe=ur;for(ur=_e.Ta,Ot=_e.Ua;0>Ji.b)*Wi;Xrqr&&(Eo=qr),(0,al[Co[ja++]>>8&15])(Zt,Jt+ +zo,Ir,zr+zo-qr,Eo-zo,Ir,zr+zo),zo=Eo}Jt+=qr,zr+=qr,++Xr&xi||(Ji+=Wi)}zt!=tt.nc&&Qe(Oe,se-Fr,Oe,se+(zt-wt-1)*Fr,Fr);break;case 1:for(Fr=Zt,Mr=Jt,qr=(Zt=tt.Ea)-(zr=Zt&~(Ir=(Jt=1<>tt.b)*Xr;wt=Or),0Kr.o&&(ur=Kr.o),Ot=ur?Ot=0:(Or[0]+=4*Kr.v,Kr.ka=Ot-Kr.j,Kr.U=Kr.va-Kr.v,Kr.T=ur-Ot,Ot=1),Ot){if(se=se[0],11>(Ot=_e.ca).S){var wt=Ot.f.RGBA,zt=(ur=Ot.S,Or=Kr.U,Kr=Kr.T,tt=wt.eb,wt.A),Zt=Kr;for(wt=wt.fb+_e.Ma*wt.A;0ur){var Or=_e.l.width,Kr=Ot.ca,Ue=Ot.tb+Or*ur,se=_e.V,Oe=_e.Ba+_e.c*ur,tt=_e.gc;Me(_e.ab==1),Me(tt[0].hc==3),Jc(tt[0],ur,Je,se,Oe,Kr,Ue),an(Ot,ur,Je,Kr,Ue,Or)}_e.C=_e.Ma=Je}function kn(_e,Je,Ot,ur,Or,Kr,Ue){var se=_e.$/ur,Oe=_e.$%ur,tt=_e.m,wt=_e.s,zt=Ot+_e.$,Zt=zt;Or=Ot+ur*Or;var Jt=Ot+ur*Kr,Fr=280+wt.ua,Xr=_e.Pb?se:16777216,Mr=0=Xr){var xi=zt-Ot;Me((Xr=_e).Pb),Xr.wd=Xr.m,Xr.xd=xi,0_a.g?(Oi(Ln,Ln.u+_a.g),xi[Wi]=_a.value,Ln=0):(Oi(Ln,Ln.u+_a.g-256),Me(256<=_a.value),Ln=_a.value),Ln==0&&(qr=!0)}else Ln=Qr(zr.G[0],zr.H[0],tt);if(tt.h)break;if(qr||256>Ln){if(!qr)if(zr.nd)Je[zt]=(zr.qb|Ln<<8)>>>0;else{if(_i(tt),qr=Qr(zr.G[1],zr.H[1],tt),_i(tt),xi=Qr(zr.G[2],zr.H[2],tt),Wi=Qr(zr.G[3],zr.H[3],tt),tt.h)break;Je[zt]=(Wi<<24|qr<<16|Ln<<8|xi)>>>0}if(qr=!1,++zt,++Oe>=ur&&(Oe=0,++se,Ue!=null&&se<=Kr&&!(se%16)&&Ue(_e,se),Mr!=null))for(;Zt>>Mr.Mb]=Ln}else if(280>Ln){if(Ln=Ba(Ln-256,tt),xi=Qr(zr.G[4],zr.H[4],tt),_i(tt),xi=Nr(ur,xi=Ba(xi,tt)),tt.h)break;if(zt-Ot=ur;)Oe-=ur,++se,Ue!=null&&se<=Kr&&!(se%16)&&Ue(_e,se);if(Me(zt<=Or),Oe&Ir&&(zr=Zr(wt,Oe,se)),Mr!=null)for(;Zt>>Mr.Mb]=Ln}else{if(!(Ln>>Mr.Mb]=Ln;Ln=zt,Me(!(qr>>>(xi=Mr).Xa)),Je[Ln]=xi.X[qr],qr=!0}qr||Me(tt.h==bi(tt))}if(_e.Pb&&tt.h&&ztKr?Kr:se),_e.a=0,_e.$=zt-Ot}return 1}return _e.a=3,0}function Dn(_e){Me(_e!=null),_e.vc=null,_e.yc=null,_e.Ya=null;var Je=_e.Wa;Je!=null&&(Je.X=null),_e.vb=null,Me(_e!=null)}function Xn(){var _e=new Mc;return _e==null?null:(_e.a=0,_e.xb=Zu,Zn("Predictor","VP8LPredictors"),Zn("Predictor","VP8LPredictors_C"),Zn("PredictorAdd","VP8LPredictorsAdd"),Zn("PredictorAdd","VP8LPredictorsAdd_C"),il=xr,lo=$r,Pc=On,Cc=Qn,Ec=qn,Ql=si,Ac=oi,mi.VP8LMapColor32b=cu,mi.VP8LMapColor8b=ec,_e)}function vi(_e,Je,Ot,ur,Or){var Kr=1,Ue=[_e],se=[Je],Oe=ur.m,tt=ur.s,wt=null,zt=0;e:for(;;){if(Ot)for(;Kr&&Na(Oe,1);){var Zt=Ue,Jt=se,Fr=ur,Xr=1,Mr=Fr.m,Ir=Fr.gc[Fr.ab],zr=Na(Mr,2);if(Fr.Oc&1<=Fr.ab),zr){case 0:case 1:Ir.b=Na(Mr,3)+2,Xr=vi(ta(Ir.Ea,Ir.b),ta(Ir.nc,Ir.b),0,Fr,Ir.K),Ir.K=Ir.K[0];break;case 3:var qr,Ln=Na(Mr,8)+1,xi=16>Ji.b),ja=nt(Co);if(ja==null)qr=0;else{var zo=Ji.K[0],Eo=Ji.w;for(ja[0]=Ji.K[0][0],Wi=1;Wi<1*_a;++Wi)ja[Wi]=so(zo[Eo+Wi],ja[Wi-1]);for(;Wi<4*Co;++Wi)ja[Wi]=0;Ji.K[0]=null,Ji.K[0]=ja,qr=1}}Xr=qr;break;case 2:break;default:Me(0)}Kr=Xr}}if(Ue=Ue[0],se=se[0],Kr&&Na(Oe,1)&&!(Kr=1<=(zt=Na(Oe,4))&&11>=zt)){ur.a=3;break e}var ko;if(ko=Kr)t:{var Ns,D,U,oe=ur,le=Ue,Ae=se,We=zt,Tt=Ot,Qt=oe.m,fr=oe.s,vr=[null],xn=1,Hn=0,hi=Bd[We];r:for(;;){if(Tt&&Na(Qt,1)){var ci=Na(Qt,3)+2,ra=ta(le,ci),Pa=ta(Ae,ci),$a=ra*Pa;if(!vi(ra,Pa,0,oe,vr))break r;for(vr=vr[0],fr.xc=ci,Ns=0;Ns<$a;++Ns){var Qa=vr[Ns]>>8&65535;vr[Ns]=Qa,Qa>=xn&&(xn=Qa+1)}}if(Qt.h)break r;for(D=0;5>D;++D){var Wa=Fd[D];!D&&0=Fo),ts=ws;var js=nt(Hn);if(ts==null||js==null||uo==null){oe.a=1;break r}var hl=uo;for(Ns=U=0;NsD;++D){Wa=Fd[D],Ll[D]=hl,bc[D]=U,!D&&0Ed)break n}else fl=Ed;for(rc=0;rc_d)_h[rc++]=_d,_d!=0&&(Th=_d);else{var Mh=_d==16,hh=_d-16,Rh=nu[hh],fh=Na(ud,Xu[hh])+Rh;if(rc+fh>Ed)break n;for(var Fh=Mh?Th:0;0=D){var eh,ph=js[0];for(eh=1;ehph&&(ph=js[eh]);Dc+=ph}}if(Pl.nd=ic,Pl.Qb=0,ic&&(Pl.qb=(Ll[3][bc[3]+0].value<<24|Ll[1][bc[1]+0].value<<16|Ll[2][bc[2]+0].value)>>>0,Gc==0&&256>Ll[0][bc[0]+0].value&&(Pl.Qb=1,Pl.qb+=Ll[0][bc[0]+0].value<<8)),Pl.jc=!Pl.Qb&&6>Dc,Pl.jc){var Td,Bc=Pl;for(Td=0;Td>=bn(lh,8,Du),ed>>=bn(Bc.G[1][Bc.H[1]+ed],16,Du),ed>>=bn(Bc.G[2][Bc.H[2]+ed],0,Du),bn(Bc.G[3][Bc.H[3]+ed],24,Du))}}}fr.vc=vr,fr.Wb=xn,fr.Ya=ts,fr.yc=uo,ko=1;break t}ko=0}if(!(Kr=ko)){ur.a=3;break e}if(0ur+1?[]:0),!(Or.length_e?0:_e>Je?Je:_e}function Mo(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Io(){var _e=new ro;return _e!=null&&(_e.a=0,_e.sc="OK",_e.cb=0,_e.Xb=0,Ou||(Ou=Zo)),_e}function ma(_e,Je,Ot){return _e.a==0&&(_e.a=Je,_e.sc=Ot,_e.cb=0),0}function mo(_e,Je,Ot){return 3<=Ot&&_e[Je+0]==157&&_e[Je+1]==1&&_e[Je+2]==42}function ns(_e,Je){if(_e==null)return 0;if(_e.a=0,_e.sc="OK",Je==null)return ma(_e,2,"null VP8Io passed to VP8GetHeaders()");var Ot=Je.data,ur=Je.w,Or=Je.ha;if(4>Or)return ma(_e,7,"Truncated header.");var Kr=Ot[ur+0]|Ot[ur+1]<<8|Ot[ur+2]<<16,Ue=_e.Od;if(Ue.Rb=!(1&Kr),Ue.td=Kr>>1&7,Ue.yd=Kr>>4&1,Ue.ub=Kr>>5,3Or)return ma(_e,7,"cannot parse picture header");if(!mo(Ot,ur,Or))return ma(_e,3,"Bad code word");se.c=16383&(Ot[ur+4]<<8|Ot[ur+3]),se.Td=Ot[ur+4]>>6,se.i=16383&(Ot[ur+6]<<8|Ot[ur+5]),se.Ud=Ot[ur+6]>>6,ur+=7,Or-=7,_e.za=se.c+15>>4,_e.Ub=se.i+15>>4,Je.width=se.c,Je.height=se.i,Je.Da=0,Je.j=0,Je.v=0,Je.va=Je.width,Je.o=Je.height,Je.da=0,Je.ib=Je.width,Je.hb=Je.height,Je.U=Je.width,Je.T=Je.height,st((Kr=_e.Pa).jb,0,255,Kr.jb.length),Me((Kr=_e.Qa)!=null),Kr.Cb=0,Kr.Bb=0,Kr.Fb=1,st(Kr.Zb,0,0,Kr.Zb.length),st(Kr.Lb,0,0,Kr.Lb)}if(Ue.ub>Or)return ma(_e,7,"bad partition length");In(Kr=_e.m,Ot,ur,Ue.ub),ur+=Ue.ub,Or-=Ue.ub,Ue.Rb&&(se.Ld=qi(Kr),se.Kd=qi(Kr)),se=_e.Qa;var Oe,tt=_e.Pa;if(Me(Kr!=null),Me(se!=null),se.Cb=qi(Kr),se.Cb){if(se.Bb=qi(Kr),qi(Kr)){for(se.Fb=qi(Kr),Oe=0;4>Oe;++Oe)se.Zb[Oe]=qi(Kr)?Ei(Kr,7):0;for(Oe=0;4>Oe;++Oe)se.Lb[Oe]=qi(Kr)?Ei(Kr,6):0}if(se.Bb)for(Oe=0;3>Oe;++Oe)tt.jb[Oe]=qi(Kr)?na(Kr,8):255}else se.Bb=0;if(Kr.Ka)return ma(_e,3,"cannot parse segment header");if((se=_e.ed).zd=qi(Kr),se.Tb=na(Kr,6),se.wb=na(Kr,3),se.Pc=qi(Kr),se.Pc&&qi(Kr)){for(tt=0;4>tt;++tt)qi(Kr)&&(se.vd[tt]=Ei(Kr,6));for(tt=0;4>tt;++tt)qi(Kr)&&(se.od[tt]=Ei(Kr,6))}if(_e.L=se.Tb==0?0:se.zd?1:2,Kr.Ka)return ma(_e,3,"cannot parse filter header");var wt=Or;if(Or=Oe=ur,ur=Oe+wt,se=wt,_e.Xb=(1<se&&(zt=se),In(_e.Jc[+wt],Ot,Oe,zt),Oe+=zt,se-=zt,Or+=3}In(_e.Jc[+tt],Ot,Oe,se),Ot=Oezt;++zt){if(wt.Cb){var Zt=wt.Zb[zt];wt.Fb||(Zt+=Ot)}else{if(0>16,8>Jt.Eb[1]&&(Jt.Eb[1]=8),Jt.Qc[0]=fu[za(Zt+tt,117)],Jt.Qc[1]=xu[za(Zt+Oe,127)],Jt.lc=Zt+Oe}if(!Ue.Rb)return ma(_e,4,"Not a key frame.");for(qi(Kr),Ue=_e.Pa,Ot=0;4>Ot;++Ot){for(Or=0;8>Or;++Or)for(ur=0;3>ur;++ur)for(se=0;11>se;++se)tt=ea(Kr,Yu[Ot][Or][ur][se])?na(Kr,8):Lu[Ot][Or][ur][se],Ue.Wc[Ot][Or].Yb[ur][se]=tt;for(Or=0;17>Or;++Or)Ue.Xc[Ot][Or]=Ue.Wc[Ot][vd[Or]]}return _e.kc=qi(Kr),_e.kc&&(_e.Bd=na(Kr,8)),_e.cb=1}function Zo(_e,Je,Ot,ur,Or,Kr,Ue){var se=Je[Or].Yb[Ot];for(Ot=0;16>Or;++Or){if(!ea(_e,se[Ot+0]))return Or;for(;!ea(_e,se[Ot+1]);)if(se=Je[++Or].Yb[0],Ot=0,Or==16)return 16;var Oe=Je[Or+1].Yb;if(ea(_e,se[Ot+2])){var tt=_e,wt=0;if(ea(tt,(Zt=se)[(zt=Ot)+3]))if(ea(tt,Zt[zt+6])){for(se=0,zt=2*(wt=ea(tt,Zt[zt+8]))+(Zt=ea(tt,Zt[zt+9+wt])),wt=0,Zt=gd[zt];Zt[se];++se)wt+=wt+ea(tt,Zt[se]);wt+=3+(8<(tt=_e).b&&Zi(tt);var zt,Zt=tt.b,Jt=(zt=tt.Ca>>1)-(tt.I>>Zt)>>31;--tt.b,tt.Ca+=Jt,tt.Ca|=1,tt.I-=(zt+1&Jt)<>4,_e.zb=Je.j-Ot>>4,0>_e.yb&&(_e.yb=0),0>_e.zb&&(_e.zb=0)),_e.Va=Je.o+15+Ot>>4,_e.Hb=Je.va+15+Ot>>4,_e.Hb>_e.za&&(_e.Hb=_e.za),_e.Va>_e.Ub&&(_e.Va=_e.Ub),0<_e.L){var ur=_e.ed;for(Ot=0;4>Ot;++Ot){var Or;if(_e.Qa.Cb){var Kr=_e.Qa.Lb[Ot];_e.Qa.Fb||(Kr+=ur.Tb)}else Kr=ur.Tb;for(Or=0;1>=Or;++Or){var Ue=_e.gd[Ot][Or],se=Kr;if(ur.Pc&&(se+=ur.vd[0],Or&&(se+=ur.od[0])),0<(se=0>se?0:63>2:Oe>>1)>9-ur.wb&&(Oe=9-ur.wb),1>Oe&&(Oe=1),Ue.dd=Oe,Ue.tc=2*se+Oe,Ue.ld=40<=se?2:15<=se?1:0}else Ue.tc=0;Ue.La=Or}}}Ot=0}else ma(_e,6,"Frame setup failed"),Ot=_e.a;if(Ot=Ot==0){if(Ot){_e.$c=0,0<_e.Aa||(_e.Ic=Pu);e:{Ot=_e.Ic,ur=4*(Oe=_e.za);var tt=32*Oe,wt=Oe+1,zt=0<_e.L?Oe*(0<_e.Aa?2:1):0,Zt=(_e.Aa==2?2:1)*Oe;if((Ue=ur+832+(Or=3*(16*Ot+ku[_e.L])/2*tt)+(Kr=_e.Fa!=null&&0<_e.Fa.length?_e.Kc.c*_e.Kc.i:0))!=Ue)Ot=0;else{if(Ue>_e.Vb){if(_e.Vb=0,_e.Ec=nt(Ue),_e.Fc=0,_e.Ec==null){Ot=ma(_e,1,"no memory during frame initialization.");break e}_e.Vb=Ue}Ue=_e.Ec,se=_e.Fc,_e.Ac=Ue,_e.Bc=se,se+=ur,_e.Gd=ft(tt,Yo),_e.Hd=0,_e.rb=ft(wt+1,Oa),_e.sb=1,_e.wa=zt?ft(zt,Ha):null,_e.Y=0,_e.D.Nb=0,_e.D.wa=_e.wa,_e.D.Y=_e.Y,0<_e.Aa&&(_e.D.Y+=Oe),Me(!0),_e.oc=Ue,_e.pc=se,se+=832,_e.ya=ft(Zt,to),_e.aa=0,_e.D.ya=_e.ya,_e.D.aa=_e.aa,_e.Aa==2&&(_e.D.aa+=Oe),_e.R=16*Oe,_e.B=8*Oe,Oe=(tt=ku[_e.L])*_e.R,tt=tt/2*_e.B,_e.sa=Ue,_e.ta=se+Oe,_e.qa=_e.sa,_e.ra=_e.ta+16*Ot*_e.R+tt,_e.Ha=_e.qa,_e.Ia=_e.ra+8*Ot*_e.B+tt,_e.$c=0,se+=Or,_e.mb=Kr?Ue:null,_e.nb=Kr?se:null,Me(se+Kr<=_e.Fc+_e.Vb),Oo(_e),st(_e.Ac,_e.Bc,0,ur),Ot=1}}if(Ot){if(Je.ka=0,Je.y=_e.sa,Je.O=_e.ta,Je.f=_e.qa,Je.N=_e.ra,Je.ea=_e.Ha,Je.Vd=_e.Ia,Je.fa=_e.R,Je.Rc=_e.B,Je.F=null,Je.J=0,!Rd){for(Ot=-255;255>=Ot;++Ot)Tu[255+Ot]=0>Ot?-Ot:Ot;for(Ot=-1020;1020>=Ot;++Ot)Dd[1020+Ot]=-128>Ot?-128:127=Ot;++Ot)md[112+Ot]=-16>Ot?-16:15=Ot;++Ot)Md[255+Ot]=0>Ot?0:255Ln;++Ln){var zo,Eo=_a[0+Ln];for(zo=0;4>zo;++zo){Eo=ad[xi[Wi+zo]][Eo];for(var ko=id[ea(qr,Eo[0])];0>3;for(ko=0;256>ko;ko+=16)Ln[Co+ko]=Ae}U=1,oe=Wi[0]}var We=15&qr.la,Tt=15&ja.la;for(ko=0;4>ko;++ko){var Qt=1&Tt;for(Ae=D=0;4>Ae;++Ae)We=We>>1|(Qt=(le=Ou(xi,oe,le=Qt+(1&We),Ji.Sc,U,Ln,Co))>U)<<7,D=D<<2|(3>=4,Tt=Tt>>1|Qt<<7,zo=(zo<<8|D)>>>0}for(oe=We,U=Tt>>4,Ns=0;4>Ns;Ns+=2){for(D=0,We=qr.la>>4+Ns,Tt=ja.la>>4+Ns,ko=0;2>ko;++ko){for(Qt=1&Tt,Ae=0;2>Ae;++Ae)le=Qt+(1&We),We=We>>1|(Qt=0<(le=Ou(xi,Wi[2],le,Ji.Qc,0,Ln,Co)))<<3,D=D<<2|(3>=2,Tt=Tt>>1|Qt<<5}Eo|=D<<4*Ns,oe|=We<<4<=Mr.zb&&Mr.M<=Mr.Va,Mr.Aa==0)e:{if(Xr.M=Mr.M,Xr.uc=qr,ps(Mr,Xr),zr=1,Xr=(D=Mr.D).Nb,qr=(Eo=ku[Mr.L])*Mr.R,xi=Eo/2*Mr.B,ko=16*Xr*Mr.R,Ae=8*Xr*Mr.B,Wi=Mr.sa,_a=Mr.ta-qr+ko,Ji=Mr.qa,Ln=Mr.ra-xi+Ae,Co=Mr.Ha,ja=Mr.Ia-xi+Ae,Tt=(We=D.M)==0,zo=We>=Mr.Va-1,Mr.Aa==2&&ps(Mr,D),D.uc)for(Qt=(le=Mr).D.M,Me(le.D.uc),D=le.yb;DIr.o&&(We=Ir.o),Ir.F=null,Ir.J=null,Mr.Fa!=null&&0>1),Ir.W+=Mr.B*(Eo>>1),Ir.F!=null&&(Ir.J+=Ir.width*Eo)),D>1,Ir.W+=Ir.v>>1,Ir.F!=null&&(Ir.J+=Ir.v),Ir.ka=D-Ir.j,Ir.U=Ir.va-Ir.v,Ir.T=We-D,zr=Ir.put(Ir))}Xr+1!=Mr.Ic||zo||(Qe(Mr.sa,Mr.ta-qr,Wi,_a+16*Mr.R,qr),Qe(Mr.qa,Mr.ra-xi,Ji,Ln+8*Mr.B,xi),Qe(Mr.Ha,Mr.Ia-xi,Co,ja+8*Mr.B,xi))}if(!zr)return ma(Jt,6,"Output aborted.")}return 1}(_e,Je)),Je.bc!=null&&Je.bc(Je),Ot&=1}return Ot?(_e.cb=0,Ot):0}function hs(_e,Je,Ot,ur,Or){Or=_e[Je+Ot+32*ur]+(Or>>3),_e[Je+Ot+32*ur]=-256&Or?0>Or?0:255:Or}function Uo(_e,Je,Ot,ur,Or,Kr){hs(_e,Je,0,Ot,ur+Or),hs(_e,Je,1,Ot,ur+Kr),hs(_e,Je,2,Ot,ur-Kr),hs(_e,Je,3,Ot,ur-Or)}function Ja(_e){return(20091*_e>>16)+_e}function Es(_e,Je,Ot,ur){var Or,Kr=0,Ue=nt(16);for(Or=0;4>Or;++Or){var se=_e[Je+0]+_e[Je+8],Oe=_e[Je+0]-_e[Je+8],tt=(35468*_e[Je+4]>>16)-Ja(_e[Je+12]),wt=Ja(_e[Je+4])+(35468*_e[Je+12]>>16);Ue[Kr+0]=se+wt,Ue[Kr+1]=Oe+tt,Ue[Kr+2]=Oe-tt,Ue[Kr+3]=se-wt,Kr+=4,Je++}for(Or=Kr=0;4>Or;++Or)se=(_e=Ue[Kr+0]+4)+Ue[Kr+8],Oe=_e-Ue[Kr+8],tt=(35468*Ue[Kr+4]>>16)-Ja(Ue[Kr+12]),hs(Ot,ur,0,0,se+(wt=Ja(Ue[Kr+4])+(35468*Ue[Kr+12]>>16))),hs(Ot,ur,1,0,Oe+tt),hs(Ot,ur,2,0,Oe-tt),hs(Ot,ur,3,0,se-wt),Kr++,ur+=32}function oo(_e,Je,Ot,ur){var Or=_e[Je+0]+4,Kr=35468*_e[Je+4]>>16,Ue=Ja(_e[Je+4]),se=35468*_e[Je+1]>>16;Uo(Ot,ur,0,Or+Ue,_e=Ja(_e[Je+1]),se),Uo(Ot,ur,1,Or+Kr,_e,se),Uo(Ot,ur,2,Or-Kr,_e,se),Uo(Ot,ur,3,Or-Ue,_e,se)}function Fs(_e,Je,Ot,ur,Or){Es(_e,Je,Ot,ur),Or&&Es(_e,Je+16,Ot,ur+4)}function qo(_e,Je,Ot,ur){vc(_e,Je+0,Ot,ur,1),vc(_e,Je+32,Ot,ur+128,1)}function Ko(_e,Je,Ot,ur){var Or;for(_e=_e[Je+0]+4,Or=0;4>Or;++Or)for(Je=0;4>Je;++Je)hs(Ot,ur,Je,Or,_e)}function Vo(_e,Je,Ot,ur){_e[Je+0]&&ms(_e,Je+0,Ot,ur),_e[Je+16]&&ms(_e,Je+16,Ot,ur+4),_e[Je+32]&&ms(_e,Je+32,Ot,ur+128),_e[Je+48]&&ms(_e,Je+48,Ot,ur+128+4)}function Go(_e,Je,Ot,ur){var Or,Kr=nt(16);for(Or=0;4>Or;++Or){var Ue=_e[Je+0+Or]+_e[Je+12+Or],se=_e[Je+4+Or]+_e[Je+8+Or],Oe=_e[Je+4+Or]-_e[Je+8+Or],tt=_e[Je+0+Or]-_e[Je+12+Or];Kr[0+Or]=Ue+se,Kr[8+Or]=Ue-se,Kr[4+Or]=tt+Oe,Kr[12+Or]=tt-Oe}for(Or=0;4>Or;++Or)Ue=(_e=Kr[0+4*Or]+3)+Kr[3+4*Or],se=Kr[1+4*Or]+Kr[2+4*Or],Oe=Kr[1+4*Or]-Kr[2+4*Or],tt=_e-Kr[3+4*Or],Ot[ur+0]=Ue+se>>3,Ot[ur+16]=tt+Oe>>3,Ot[ur+32]=Ue-se>>3,Ot[ur+48]=tt-Oe>>3,ur+=64}function os(_e,Je,Ot){var ur,Or=Je-32,Kr=Fc,Ue=255-_e[Or-1];for(ur=0;urOt;++Ot)Qe(_e,Je+32*Ot,_e,Je-32,16)}function ks(_e,Je){var Ot;for(Ot=16;0ur;++ur)st(Je,Ot+32*ur,_e,16)}function bs(_e,Je){var Ot,ur=16;for(Ot=0;16>Ot;++Ot)ur+=_e[Je-1+32*Ot]+_e[Je+Ot-32];Jo(ur>>5,_e,Je)}function Ho(_e,Je){var Ot,ur=8;for(Ot=0;16>Ot;++Ot)ur+=_e[Je-1+32*Ot];Jo(ur>>4,_e,Je)}function Ls(_e,Je){var Ot,ur=8;for(Ot=0;16>Ot;++Ot)ur+=_e[Je+Ot-32];Jo(ur>>4,_e,Je)}function Ps(_e,Je){Jo(128,_e,Je)}function Ra(_e,Je,Ot){return _e+2*Je+Ot+2>>2}function ho(_e,Je){var Ot,ur=Je-32;for(ur=new Uint8Array([Ra(_e[ur-1],_e[ur+0],_e[ur+1]),Ra(_e[ur+0],_e[ur+1],_e[ur+2]),Ra(_e[ur+1],_e[ur+2],_e[ur+3]),Ra(_e[ur+2],_e[ur+3],_e[ur+4])]),Ot=0;4>Ot;++Ot)Qe(_e,Je+32*Ot,ur,0,ur.length)}function ll(_e,Je){var Ot=_e[Je-1],ur=_e[Je-1+32],Or=_e[Je-1+64],Kr=_e[Je-1+96];ya(_e,Je+0,16843009*Ra(_e[Je-1-32],Ot,ur)),ya(_e,Je+32,16843009*Ra(Ot,ur,Or)),ya(_e,Je+64,16843009*Ra(ur,Or,Kr)),ya(_e,Je+96,16843009*Ra(Or,Kr,Kr))}function ml(_e,Je){var Ot,ur=4;for(Ot=0;4>Ot;++Ot)ur+=_e[Je+Ot-32]+_e[Je-1+32*Ot];for(ur>>=3,Ot=0;4>Ot;++Ot)st(_e,Je+32*Ot,ur,4)}function wl(_e,Je){var Ot=_e[Je-1+0],ur=_e[Je-1+32],Or=_e[Je-1+64],Kr=_e[Je-1-32],Ue=_e[Je+0-32],se=_e[Je+1-32],Oe=_e[Je+2-32],tt=_e[Je+3-32];_e[Je+0+96]=Ra(ur,Or,_e[Je-1+96]),_e[Je+1+96]=_e[Je+0+64]=Ra(Ot,ur,Or),_e[Je+2+96]=_e[Je+1+64]=_e[Je+0+32]=Ra(Kr,Ot,ur),_e[Je+3+96]=_e[Je+2+64]=_e[Je+1+32]=_e[Je+0+0]=Ra(Ue,Kr,Ot),_e[Je+3+64]=_e[Je+2+32]=_e[Je+1+0]=Ra(se,Ue,Kr),_e[Je+3+32]=_e[Je+2+0]=Ra(Oe,se,Ue),_e[Je+3+0]=Ra(tt,Oe,se)}function El(_e,Je){var Ot=_e[Je+1-32],ur=_e[Je+2-32],Or=_e[Je+3-32],Kr=_e[Je+4-32],Ue=_e[Je+5-32],se=_e[Je+6-32],Oe=_e[Je+7-32];_e[Je+0+0]=Ra(_e[Je+0-32],Ot,ur),_e[Je+1+0]=_e[Je+0+32]=Ra(Ot,ur,Or),_e[Je+2+0]=_e[Je+1+32]=_e[Je+0+64]=Ra(ur,Or,Kr),_e[Je+3+0]=_e[Je+2+32]=_e[Je+1+64]=_e[Je+0+96]=Ra(Or,Kr,Ue),_e[Je+3+32]=_e[Je+2+64]=_e[Je+1+96]=Ra(Kr,Ue,se),_e[Je+3+64]=_e[Je+2+96]=Ra(Ue,se,Oe),_e[Je+3+96]=Ra(se,Oe,Oe)}function Xs(_e,Je){var Ot=_e[Je-1+0],ur=_e[Je-1+32],Or=_e[Je-1+64],Kr=_e[Je-1-32],Ue=_e[Je+0-32],se=_e[Je+1-32],Oe=_e[Je+2-32],tt=_e[Je+3-32];_e[Je+0+0]=_e[Je+1+64]=Kr+Ue+1>>1,_e[Je+1+0]=_e[Je+2+64]=Ue+se+1>>1,_e[Je+2+0]=_e[Je+3+64]=se+Oe+1>>1,_e[Je+3+0]=Oe+tt+1>>1,_e[Je+0+96]=Ra(Or,ur,Ot),_e[Je+0+64]=Ra(ur,Ot,Kr),_e[Je+0+32]=_e[Je+1+96]=Ra(Ot,Kr,Ue),_e[Je+1+32]=_e[Je+2+96]=Ra(Kr,Ue,se),_e[Je+2+32]=_e[Je+3+96]=Ra(Ue,se,Oe),_e[Je+3+32]=Ra(se,Oe,tt)}function Xo(_e,Je){var Ot=_e[Je+0-32],ur=_e[Je+1-32],Or=_e[Je+2-32],Kr=_e[Je+3-32],Ue=_e[Je+4-32],se=_e[Je+5-32],Oe=_e[Je+6-32],tt=_e[Je+7-32];_e[Je+0+0]=Ot+ur+1>>1,_e[Je+1+0]=_e[Je+0+64]=ur+Or+1>>1,_e[Je+2+0]=_e[Je+1+64]=Or+Kr+1>>1,_e[Je+3+0]=_e[Je+2+64]=Kr+Ue+1>>1,_e[Je+0+32]=Ra(Ot,ur,Or),_e[Je+1+32]=_e[Je+0+96]=Ra(ur,Or,Kr),_e[Je+2+32]=_e[Je+1+96]=Ra(Or,Kr,Ue),_e[Je+3+32]=_e[Je+2+96]=Ra(Kr,Ue,se),_e[Je+3+64]=Ra(Ue,se,Oe),_e[Je+3+96]=Ra(se,Oe,tt)}function gl(_e,Je){var Ot=_e[Je-1+0],ur=_e[Je-1+32],Or=_e[Je-1+64],Kr=_e[Je-1+96];_e[Je+0+0]=Ot+ur+1>>1,_e[Je+2+0]=_e[Je+0+32]=ur+Or+1>>1,_e[Je+2+32]=_e[Je+0+64]=Or+Kr+1>>1,_e[Je+1+0]=Ra(Ot,ur,Or),_e[Je+3+0]=_e[Je+1+32]=Ra(ur,Or,Kr),_e[Je+3+32]=_e[Je+1+64]=Ra(Or,Kr,Kr),_e[Je+3+64]=_e[Je+2+64]=_e[Je+0+96]=_e[Je+1+96]=_e[Je+2+96]=_e[Je+3+96]=Kr}function Vl(_e,Je){var Ot=_e[Je-1+0],ur=_e[Je-1+32],Or=_e[Je-1+64],Kr=_e[Je-1+96],Ue=_e[Je-1-32],se=_e[Je+0-32],Oe=_e[Je+1-32],tt=_e[Je+2-32];_e[Je+0+0]=_e[Je+2+32]=Ot+Ue+1>>1,_e[Je+0+32]=_e[Je+2+64]=ur+Ot+1>>1,_e[Je+0+64]=_e[Je+2+96]=Or+ur+1>>1,_e[Je+0+96]=Kr+Or+1>>1,_e[Je+3+0]=Ra(se,Oe,tt),_e[Je+2+0]=Ra(Ue,se,Oe),_e[Je+1+0]=_e[Je+3+32]=Ra(Ot,Ue,se),_e[Je+1+32]=_e[Je+3+64]=Ra(ur,Ot,Ue),_e[Je+1+64]=_e[Je+3+96]=Ra(Or,ur,Ot),_e[Je+1+96]=Ra(Kr,Or,ur)}function Us(_e,Je){var Ot;for(Ot=0;8>Ot;++Ot)Qe(_e,Je+32*Ot,_e,Je-32,8)}function $s(_e,Je){var Ot;for(Ot=0;8>Ot;++Ot)st(_e,Je,_e[Je-1],8),Je+=32}function us(_e,Je,Ot){var ur;for(ur=0;8>ur;++ur)st(Je,Ot+32*ur,_e,8)}function _l(_e,Je){var Ot,ur=8;for(Ot=0;8>Ot;++Ot)ur+=_e[Je+Ot-32]+_e[Je-1+32*Ot];us(ur>>4,_e,Je)}function Kc(_e,Je){var Ot,ur=4;for(Ot=0;8>Ot;++Ot)ur+=_e[Je+Ot-32];us(ur>>3,_e,Je)}function fc(_e,Je){var Ot,ur=4;for(Ot=0;8>Ot;++Ot)ur+=_e[Je-1+32*Ot];us(ur>>3,_e,Je)}function Bl(_e,Je){us(128,_e,Je)}function oc(_e,Je,Ot){var ur=_e[Je-Ot],Or=_e[Je+0],Kr=3*(Or-ur)+du[1020+_e[Je-2*Ot]-_e[Je+Ot]],Ue=Rc[112+(Kr+4>>3)];_e[Je-Ot]=Fc[255+ur+Rc[112+(Kr+3>>3)]],_e[Je+0]=Fc[255+Or-Ue]}function sc(_e,Je,Ot,ur){var Or=_e[Je+0],Kr=_e[Je+Ot];return Uc[255+_e[Je-2*Ot]-_e[Je-Ot]]>ur||Uc[255+Kr-Or]>ur}function ql(_e,Je,Ot,ur){return 4*Uc[255+_e[Je-Ot]-_e[Je+0]]+Uc[255+_e[Je-2*Ot]-_e[Je+Ot]]<=ur}function Al(_e,Je,Ot,ur,Or){var Kr=_e[Je-3*Ot],Ue=_e[Je-2*Ot],se=_e[Je-Ot],Oe=_e[Je+0],tt=_e[Je+Ot],wt=_e[Je+2*Ot],zt=_e[Je+3*Ot];return 4*Uc[255+se-Oe]+Uc[255+Ue-tt]>ur?0:Uc[255+_e[Je-4*Ot]-Kr]<=Or&&Uc[255+Kr-Ue]<=Or&&Uc[255+Ue-se]<=Or&&Uc[255+zt-wt]<=Or&&Uc[255+wt-tt]<=Or&&Uc[255+tt-Oe]<=Or}function zs(_e,Je,Ot,ur){var Or=2*ur+1;for(ur=0;16>ur;++ur)ql(_e,Je+ur,Ot,Or)&&oc(_e,Je+ur,Ot)}function Ml(_e,Je,Ot,ur){var Or=2*ur+1;for(ur=0;16>ur;++ur)ql(_e,Je+ur*Ot,1,Or)&&oc(_e,Je+ur*Ot,1)}function vl(_e,Je,Ot,ur){var Or;for(Or=3;0>7,Ir=18*zr+63>>7,zr=9*zr+63>>7;Oe[tt-3*wt]=Fc[255+Oe[tt-3*wt]+zr],Oe[tt-2*wt]=Fc[255+zt+Ir],Oe[tt-wt]=Fc[255+Zt+Mr],Oe[tt+0]=Fc[255+Jt-Mr],Oe[tt+wt]=Fc[255+Fr-Ir],Oe[tt+2*wt]=Fc[255+Xr-zr]}Je+=ur}}function da(_e,Je,Ot,ur,Or,Kr,Ue,se){for(Kr=2*Kr+1;0>3)],Xr=Rc[112+(Xr+3>>3)],Mr=Fr+1>>1;Oe[tt-2*wt]=Fc[255+Oe[tt-2*wt]+Mr],Oe[tt-wt]=Fc[255+zt+Xr],Oe[tt+0]=Fc[255+Zt-Fr],Oe[tt+wt]=Fc[255+Jt-Mr]}Je+=ur}}function Oc(_e,Je,Ot,ur,Or,Kr){mn(_e,Je,Ot,1,16,ur,Or,Kr)}function pc(_e,Je,Ot,ur,Or,Kr){mn(_e,Je,1,Ot,16,ur,Or,Kr)}function xc(_e,Je,Ot,ur,Or,Kr){var Ue;for(Ue=3;0tt?0:255:tt)&255,tt=Oe,Or[Kr+se]=wt}}function qt(_e,Je,Ot,ur){var Or=Je.width,Kr=Je.o;if(Me(_e!=null&&Je!=null),0>Ot||0>=ur||Ot+ur>Kr)return null;if(!_e.Cc){if(_e.ga==null){var Ue;if(_e.ga=new Sc,(Ue=_e.ga==null)||(Ue=Je.width*Je.o,Me(_e.Gb.length==0),_e.Gb=nt(Ue),_e.Uc=0,_e.Gb==null?Ue=0:(_e.mb=_e.Gb,_e.nb=_e.Uc,_e.rc=null,Ue=1),Ue=!Ue),!Ue){Ue=_e.ga;var se=_e.Fa,Oe=_e.P,tt=_e.qc,wt=_e.mb,zt=_e.nb,Zt=Oe+1,Jt=tt-1,Fr=Ue.l;if(Me(se!=null&&wt!=null&&Je!=null),pu[0]=null,pu[1]=Ts,pu[2]=Sl,pu[3]=Rt,Ue.ca=wt,Ue.tb=zt,Ue.c=Je.width,Ue.i=Je.height,Me(0=tt)Je=0;else if(Ue.$a=se[Oe+0]>>0&3,Ue.Z=se[Oe+0]>>2&3,Ue.Lc=se[Oe+0]>>4&3,Oe=se[Oe+0]>>6&3,0>Ue.$a||1=Ue.c*Ue.i;Ue=!Je}if(Ue)return null;_e.ga.Lc!=1?_e.Ga=0:ur=Kr-Ot}Me(_e.ga!=null),Me(Ot+ur<=Kr);e:{if(Je=(se=_e.ga).c,Kr=se.l.o,se.$a==0){if(Zt=_e.rc,Jt=_e.Vc,Fr=_e.Fa,Oe=_e.P+1+Ot*Je,tt=_e.mb,wt=_e.nb+Ot*Je,Me(Oe<=_e.P+_e.qc),se.Z!=0)for(Me(pu[se.Z]!=null),Ue=0;Ue=Je)Je=1;else if(se.ic||Ce(),se.ic){se=Ue.V,Zt=Ue.Ba,Jt=Ue.c;var Xr=Ue.i,Mr=(Fr=1,Oe=Ue.$/Jt,tt=Ue.$%Jt,wt=Ue.m,zt=Ue.s,Ue.$),Ir=Jt*Xr,zr=Jt*Je,qr=zt.wc,Ln=Mr(Xr=Qr(Ln.G[0],Ln.H[0],wt)))se[Zt+Mr]=Xr,++Mr,++tt>=Jt&&(tt=0,++Oe<=Je&&!(Oe%16)&&Jr(Ue,Oe));else{if(!(280>Xr)){Fr=0;break t}Xr=Ba(Xr-256,wt);var xi,Wi=Qr(Ln.G[4],Ln.H[4],wt);if(_i(wt),!(Mr>=(Wi=Nr(Jt,Wi=Ba(Wi,wt)))&&Ir-Mr>=Xr)){Fr=0;break t}for(xi=0;xi=Jt;)tt-=Jt,++Oe<=Je&&!(Oe%16)&&Jr(Ue,Oe);MrJe?Je:Oe);break t}!Fr||wt.h&&Mr=Kr&&(_e.Cc=1),ur=1}if(!ur)return null;if(_e.Cc&&((ur=_e.ga)!=null&&(ur.mc=null),_e.ga=null,0<_e.Ga))return alert("todo:WebPDequantizeLevels"),null}return _e.nb+Ot*Or}function En(_e,Je,Ot,ur,Or,Kr){for(;0>23,se[Oe+4*Ue+1]=se[Oe+4*Ue+1]*zt>>23,se[Oe+4*Ue+2]=se[Oe+4*Ue+2]*zt>>23)}Je+=Kr}}function ri(_e,Je,Ot,ur,Or){for(;0>4)*Oe>>16;_e[Je+2*Kr+0]=(240&Ue|Ue>>4)*Oe>>16&240|(15&Ue|Ue<<4)*Oe>>16>>4&15,_e[Je+2*Kr+1]=240&tt|se}Je+=Or}}function Lt(_e,Je,Ot,ur,Or,Kr,Ue,se){var Oe,tt,wt=255;for(tt=0;tt>8}function Ce(){uu=En,Hu=ri,Xc=Lt,bu=he}function Ie(_e,Je,Ot){mi[_e]=function(ur,Or,Kr,Ue,se,Oe,tt,wt,zt,Zt,Jt,Fr,Xr,Mr,Ir,zr,qr){var Ln,xi=qr-1>>1,Wi=se[Oe+0]|tt[wt+0]<<16,_a=zt[Zt+0]|Jt[Fr+0]<<16;Me(ur!=null);var Ji=3*Wi+_a+131074>>2;for(Je(ur[Or+0],255&Ji,Ji>>16,Xr,Mr),Kr!=null&&(Ji=3*_a+Wi+131074>>2,Je(Kr[Ue+0],255&Ji,Ji>>16,Ir,zr)),Ln=1;Ln<=xi;++Ln){var Co=se[Oe+Ln]|tt[wt+Ln]<<16,ja=zt[Zt+Ln]|Jt[Fr+Ln]<<16,zo=Wi+Co+_a+ja+524296,Eo=zo+2*(Co+_a)>>3;Ji=Eo+Wi>>1,Wi=(zo=zo+2*(Wi+ja)>>3)+Co>>1,Je(ur[Or+2*Ln-1],255&Ji,Ji>>16,Xr,Mr+(2*Ln-1)*Ot),Je(ur[Or+2*Ln-0],255&Wi,Wi>>16,Xr,Mr+(2*Ln-0)*Ot),Kr!=null&&(Ji=zo+_a>>1,Wi=Eo+ja>>1,Je(Kr[Ue+2*Ln-1],255&Ji,Ji>>16,Ir,zr+(2*Ln-1)*Ot),Je(Kr[Ue+2*Ln+0],255&Wi,Wi>>16,Ir,zr+(2*Ln+0)*Ot)),Wi=Co,_a=ja}1&qr||(Ji=3*Wi+_a+131074>>2,Je(ur[Or+qr-1],255&Ji,Ji>>16,Xr,Mr+(qr-1)*Ot),Kr!=null&&(Ji=3*_a+Wi+131074>>2,Je(Kr[Ue+qr-1],255&Ji,Ji>>16,Ir,zr+(qr-1)*Ot)))}}function Ye(){qc[Fu]=bd,qc[zu]=Pd,qc[rd]=kd,qc[Iu]=yd,qc[yu]=wd,qc[Ku]=Ud,qc[Wu]=od,qc[Vu]=Pd,qc[$c]=yd,qc[hu]=wd,qc[wu]=Ud}function _t(_e){return _e&~Ju?0>_e?0:255:_e>>xd}function Yt(_e,Je){return _t((19077*_e>>8)+(26149*Je>>8)-14234)}function Pr(_e,Je,Ot){return _t((19077*_e>>8)-(6419*Je>>8)-(13320*Ot>>8)+8708)}function Yr(_e,Je){return _t((19077*_e>>8)+(33050*Je>>8)-17685)}function yn(_e,Je,Ot,ur,Or){ur[Or+0]=Yt(_e,Ot),ur[Or+1]=Pr(_e,Je,Ot),ur[Or+2]=Yr(_e,Je)}function Jn(_e,Je,Ot,ur,Or){ur[Or+0]=Yr(_e,Je),ur[Or+1]=Pr(_e,Je,Ot),ur[Or+2]=Yt(_e,Ot)}function Ci(_e,Je,Ot,ur,Or){var Kr=Pr(_e,Je,Ot);Je=Kr<<3&224|Yr(_e,Je)>>3,ur[Or+0]=248&Yt(_e,Ot)|Kr>>5,ur[Or+1]=Je}function Xi(_e,Je,Ot,ur,Or){var Kr=240&Yr(_e,Je)|15;ur[Or+0]=240&Yt(_e,Ot)|Pr(_e,Je,Ot)>>4,ur[Or+1]=Kr}function ga(_e,Je,Ot,ur,Or){ur[Or+0]=255,yn(_e,Je,Ot,ur,Or+1)}function Ka(_e,Je,Ot,ur,Or){Jn(_e,Je,Ot,ur,Or),ur[Or+3]=255}function go(_e,Je,Ot,ur,Or){yn(_e,Je,Ot,ur,Or),ur[Or+3]=255}function za(_e,Je){return 0>_e?0:_e>Je?Je:_e}function No(_e,Je,Ot){mi[_e]=function(ur,Or,Kr,Ue,se,Oe,tt,wt,zt){for(var Zt=wt+(-2&zt)*Ot;wt!=Zt;)Je(ur[Or+0],Kr[Ue+0],se[Oe+0],tt,wt),Je(ur[Or+1],Kr[Ue+0],se[Oe+0],tt,wt+Ot),Or+=2,++Ue,++Oe,wt+=2*Ot;1&zt&&Je(ur[Or+0],Kr[Ue+0],se[Oe+0],tt,wt)}}function As(_e,Je,Ot){return Ot==0?_e==0?Je==0?6:5:Je==0?4:0:Ot}function ss(_e,Je,Ot,ur,Or){switch(_e>>>30){case 3:vc(Je,Ot,ur,Or,0);break;case 2:Lc(Je,Ot,ur,Or);break;case 1:ms(Je,Ot,ur,Or)}}function ps(_e,Je){var Ot,ur,Or=Je.M,Kr=Je.Nb,Ue=_e.oc,se=_e.pc+40,Oe=_e.oc,tt=_e.pc+584,wt=_e.oc,zt=_e.pc+600;for(Ot=0;16>Ot;++Ot)Ue[se+32*Ot-1]=129;for(Ot=0;8>Ot;++Ot)Oe[tt+32*Ot-1]=129,wt[zt+32*Ot-1]=129;for(0Ot;++Ot)Qe(Ue,se+32*Ot-4,Ue,se+32*Ot+12,4);for(Ot=-1;8>Ot;++Ot)Qe(Oe,tt+32*Ot-4,Oe,tt+32*Ot+4,4),Qe(wt,zt+32*Ot-4,wt,zt+32*Ot+4,4)}var Jt=_e.Gd,Fr=_e.Hd+ur,Xr=Zt.ad,Mr=Zt.Hc;if(0=_e.za-1?st(Ir,zr,Jt[Fr].y[15],4):Qe(Ir,zr,Jt[Fr+1].y,0,4)),Ot=0;4>Ot;Ot++)Ir[zr+128+Ot]=Ir[zr+256+Ot]=Ir[zr+384+Ot]=Ir[zr+0+Ot];for(Ot=0;16>Ot;++Ot,Mr<<=2)Ir=Ue,zr=se+ld[Ot],jc[Zt.Ob[Ot]](Ir,zr),ss(Mr,Xr,16*+Ot,Ir,zr)}else if(Ir=As(ur,Or,Zt.Ob[0]),Zl[Ir](Ue,se),Mr!=0)for(Ot=0;16>Ot;++Ot,Mr<<=2)ss(Mr,Xr,16*+Ot,Ue,se+ld[Ot]);for(Ot=Zt.Gc,Ir=As(ur,Or,Zt.Dd),iu[Ir](Oe,tt),iu[Ir](wt,zt),Mr=Xr,Ir=Oe,zr=tt,255&(Zt=Ot>>0)&&(170&Zt?_c(Mr,256,Ir,zr):yo(Mr,256,Ir,zr)),Zt=wt,Mr=zt,255&(Ot>>=8)&&(170&Ot?_c(Xr,320,Zt,Mr):yo(Xr,320,Zt,Mr)),Or<_e.Ub-1&&(Qe(Jt[Fr].y,0,Ue,se+480,16),Qe(Jt[Fr].f,0,Oe,tt+224,8),Qe(Jt[Fr].ea,0,wt,zt+224,8)),Ot=8*Kr*_e.B,Jt=_e.sa,Fr=_e.ta+16*ur+16*Kr*_e.R,Xr=_e.qa,Zt=_e.ra+8*ur+Ot,Mr=_e.Ha,Ir=_e.Ia+8*ur+Ot,Ot=0;16>Ot;++Ot)Qe(Jt,Fr+Ot*_e.R,Ue,se+32*Ot,16);for(Ot=0;8>Ot;++Ot)Qe(Xr,Zt+Ot*_e.B,Oe,tt+32*Ot,8),Qe(Mr,Ir+Ot*_e.B,wt,zt+32*Ot,8)}}function nl(_e,Je,Ot,ur,Or,Kr,Ue,se,Oe){var tt=[0],wt=[0],zt=0,Zt=Oe!=null?Oe.kd:0,Jt=Oe!=null?Oe:new Gl;if(_e==null||12>Ot)return 7;Jt.data=_e,Jt.w=Je,Jt.ha=Ot,Je=[Je],Ot=[Ot],Jt.gb=[Jt.gb];e:{var Fr=Je,Xr=Ot,Mr=Jt.gb;if(Me(_e!=null),Me(Xr!=null),Me(Mr!=null),Mr[0]=0,12<=Xr[0]&&!Xe(_e,Fr[0],"RIFF")){if(Xe(_e,Fr[0]+8,"WEBP")){Mr=3;break e}var Ir=rs(_e,Fr[0]+4);if(12>Ir||4294967286Xr[0]-8){Mr=7;break e}Mr[0]=Ir,Fr[0]+=12,Xr[0]-=12}Mr=0}if(Mr!=0)return Mr;for(Ir=0Mr[0])Mr=7;else{if(!Xe(zr,Xr[0],"VP8X")){if(rs(zr,Xr[0]+4)!=10){Mr=3;break e}if(18>Mr[0]){Mr=7;break e}var Wi=rs(zr,Xr[0]+8),_a=1+io(zr,Xr[0]+12);if(2147483648<=_a*(zr=1+io(zr,Xr[0]+15))){Mr=3;break e}xi!=null&&(xi[0]=Wi),qr!=null&&(qr[0]=_a),Ln!=null&&(Ln[0]=zr),Xr[0]+=18,Mr[0]-=18,Ji[0]=1}Mr=0}}if(zt=zt[0],Fr=Fr[0],Mr!=0)return Mr;if(Xr=!!(2&Fr),!Ir&&zt)return 3;if(Kr!=null&&(Kr[0]=!!(16&Fr)),Ue!=null&&(Ue[0]=Xr),se!=null&&(se[0]=0),Ue=tt[0],Fr=wt[0],zt&&Xr&&Oe==null){Mr=0;break}if(4>Ot){Mr=7;break}if(Ir&&zt||!Ir&&!zt&&!Xe(_e,Je[0],"ALPH")){Ot=[Ot],Jt.na=[Jt.na],Jt.P=[Jt.P],Jt.Sa=[Jt.Sa];e:{Wi=_e,Mr=Je,Ir=Ot;var Ji=Jt.gb;qr=Jt.na,Ln=Jt.P,xi=Jt.Sa,_a=22,Me(Wi!=null),Me(Ir!=null),zr=Mr[0];var Co=Ir[0];for(Me(qr!=null),Me(xi!=null),qr[0]=null,Ln[0]=null,xi[0]=0;;){if(Mr[0]=zr,Ir[0]=Co,8>Co){Mr=7;break e}var ja=rs(Wi,zr+4);if(4294967286Ji){Mr=3;break e}if(!Xe(Wi,zr,"VP8 ")||!Xe(Wi,zr,"VP8L")){Mr=0;break e}if(Co[0]Ir[0])Mr=7;else{if(zr||_a){if(Ji=rs(Ji,Wi+4),12<=qr&&Ji>qr-12){Mr=3;break e}if(Zt&&Ji>Ir[0]-8){Mr=7;break e}Ln[0]=Ji,Mr[0]+=8,Ir[0]-=8,xi[0]=_a}else xi[0]=5<=Ir[0]&&Ji[Wi+0]==47&&!(Ji[Wi+4]>>5),Ln[0]=Ir[0];Mr=0}if(Ot=Ot[0],Jt.Ja=Jt.Ja[0],Jt.xa=Jt.xa[0],Je=Je[0],Mr!=0)break;if(4294967286Ot){Mr=7;break}se=Ue,Zt=Fr,Xr=Kr,_e==null||5>Ot?_e=0:5<=Ot&&_e[Je+0]==47&&!(_e[Je+4]>>5)?(Ir=[0],Ji=[0],qr=[0],pi(Ln=new nn,_e,Je,Ot),oa(Ln,Ir,Ji,qr)?(se!=null&&(se[0]=Ir[0]),Zt!=null&&(Zt[0]=Ji[0]),Xr!=null&&(Xr[0]=qr[0]),_e=1):_e=0):_e=0}else{if(10>Ot){Mr=7;break}se=Fr,_e==null||10>Ot||!mo(_e,Je+3,Ot-3)?_e=0:(Zt=_e[Je+0]|_e[Je+1]<<8|_e[Je+2]<<16,Xr=16383&(_e[Je+7]<<8|_e[Je+6]),_e=16383&(_e[Je+9]<<8|_e[Je+8]),1&Zt||3<(Zt>>1&7)||!(Zt>>4&1)||Zt>>5>=Jt.Ja||!Xr||!_e?_e=0:(Ue&&(Ue[0]=Xr),se&&(se[0]=_e),_e=1))}if(!_e)return 3;if(Ue=Ue[0],Fr=Fr[0],zt&&(tt[0]!=Ue||wt[0]!=Fr))return 3;Oe!=null&&(Oe[0]=Jt,Oe.offset=Je-Oe.w,Me(4294967286>Je-Oe.w),Me(Oe.offset==Oe.ha-Ot));break}return Mr==0||Mr==7&&zt&&Oe==null?(Kr!=null&&(Kr[0]|=Jt.na!=null&&0Ot||(Kr&=-2,Ue&=-2),0>Kr||0>Ue||0>=se||0>=Oe||Kr+se>ur||Ue+Oe>Or))return 0;if(Je.v=Kr,Je.j=Ue,Je.va=Kr+se,Je.o=Ue+Oe,Je.U=se,Je.T=Oe,Je.da=_e!=null&&0<_e.da,Je.da){if(!ba(se,Oe,Ot=[_e.ib],Kr=[_e.hb]))return 0;Je.ib=Ot[0],Je.hb=Kr[0]}return Je.ob=_e!=null&&_e.ob,Je.Kb=_e==null||!_e.Sd,Je.da&&(Je.ob=Je.ib<3*ur/4&&Je.hb<3*Or/4,Je.Kb=0),1}function dl(_e){if(_e==null)return 2;if(11>_e.S){var Je=_e.f.RGBA;Je.fb+=(_e.height-1)*Je.A,Je.A=-Je.A}else Je=_e.f.kb,_e=_e.height,Je.O+=(_e-1)*Je.fa,Je.fa=-Je.fa,Je.N+=(_e-1>>1)*Je.Ab,Je.Ab=-Je.Ab,Je.W+=(_e-1>>1)*Je.Db,Je.Db=-Je.Db,Je.F!=null&&(Je.J+=(_e-1)*Je.lb,Je.lb=-Je.lb);return 0}function ls(_e,Je,Ot,ur){if(ur==null||0>=_e||0>=Je)return 2;if(Ot!=null){if(Ot.Da){var Or=Ot.cd,Kr=Ot.bd,Ue=-2&Ot.v,se=-2&Ot.j;if(0>Ue||0>se||0>=Or||0>=Kr||Ue+Or>_e||se+Kr>Je)return 2;_e=Or,Je=Kr}if(Ot.da){if(!ba(_e,Je,Or=[Ot.ib],Kr=[Ot.hb]))return 2;_e=Or[0],Je=Kr[0]}}ur.width=_e,ur.height=Je;e:{var Oe=ur.width,tt=ur.height;if(_e=ur.S,0>=Oe||0>=tt||!(_e>=Fu&&13>_e))_e=2;else{if(0>=ur.Rd&&ur.sd==null){Ue=Kr=Or=Je=0;var wt=(se=Oe*qu[_e])*tt;if(11>_e||(Kr=(tt+1)/2*(Je=(Oe+1)/2),_e==12&&(Ue=(Or=Oe)*tt)),(tt=nt(wt+2*Kr+Ue))==null){_e=1;break e}ur.sd=tt,11>_e?((Oe=ur.f.RGBA).eb=tt,Oe.fb=0,Oe.A=se,Oe.size=wt):((Oe=ur.f.kb).y=tt,Oe.O=0,Oe.fa=se,Oe.Fd=wt,Oe.f=tt,Oe.N=0+wt,Oe.Ab=Je,Oe.Cd=Kr,Oe.ea=tt,Oe.W=0+wt+Kr,Oe.Db=Je,Oe.Ed=Kr,_e==12&&(Oe.F=tt,Oe.J=0+wt+2*Kr),Oe.Tc=Ue,Oe.lb=Or)}if(Je=1,Or=ur.S,Kr=ur.width,Ue=ur.height,Or>=Fu&&13>Or)if(11>Or)_e=ur.f.RGBA,Je&=(se=Math.abs(_e.A))*(Ue-1)+Kr<=_e.size,Je&=se>=Kr*qu[Or],Je&=_e.eb!=null;else{_e=ur.f.kb,se=(Kr+1)/2,wt=(Ue+1)/2,Oe=Math.abs(_e.fa),tt=Math.abs(_e.Ab);var zt=Math.abs(_e.Db),Zt=Math.abs(_e.lb),Jt=Zt*(Ue-1)+Kr;Je&=Oe*(Ue-1)+Kr<=_e.Fd,Je&=tt*(wt-1)+se<=_e.Cd,Je=(Je&=zt*(wt-1)+se<=_e.Ed)&Oe>=Kr&tt>=se&zt>=se,Je&=_e.y!=null,Je&=_e.f!=null,Je&=_e.ea!=null,Or==12&&(Je&=Zt>=Kr,Je&=Jt<=_e.Tc,Je&=_e.F!=null)}else Je=0;_e=Je?0:2}}return _e!=0||Ot!=null&&Ot.fd&&(_e=dl(ur)),_e}var Ys=64,Rl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],kl=24,el=32,Cl=8,mc=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];lr("Predictor0","PredictorAdd0"),mi.Predictor0=function(){return 4278190080},mi.Predictor1=function(_e){return _e},mi.Predictor2=function(_e,Je,Ot){return Je[Ot+0]},mi.Predictor3=function(_e,Je,Ot){return Je[Ot+1]},mi.Predictor4=function(_e,Je,Ot){return Je[Ot-1]},mi.Predictor5=function(_e,Je,Ot){return _n(_n(_e,Je[Ot+1]),Je[Ot+0])},mi.Predictor6=function(_e,Je,Ot){return _n(_e,Je[Ot-1])},mi.Predictor7=function(_e,Je,Ot){return _n(_e,Je[Ot+0])},mi.Predictor8=function(_e,Je,Ot){return _n(Je[Ot-1],Je[Ot+0])},mi.Predictor9=function(_e,Je,Ot){return _n(Je[Ot+0],Je[Ot+1])},mi.Predictor10=function(_e,Je,Ot){return _n(_n(_e,Je[Ot-1]),_n(Je[Ot+0],Je[Ot+1]))},mi.Predictor11=function(_e,Je,Ot){var ur=Je[Ot+0];return 0>=Vt(ur>>24&255,_e>>24&255,(Je=Je[Ot-1])>>24&255)+Vt(ur>>16&255,_e>>16&255,Je>>16&255)+Vt(ur>>8&255,_e>>8&255,Je>>8&255)+Vt(255&ur,255&_e,255&Je)?ur:_e},mi.Predictor12=function(_e,Je,Ot){var ur=Je[Ot+0];return(Pn((_e>>24&255)+(ur>>24&255)-((Je=Je[Ot-1])>>24&255))<<24|Pn((_e>>16&255)+(ur>>16&255)-(Je>>16&255))<<16|Pn((_e>>8&255)+(ur>>8&255)-(Je>>8&255))<<8|Pn((255&_e)+(255&ur)-(255&Je)))>>>0},mi.Predictor13=function(_e,Je,Ot){var ur=Je[Ot-1];return(ct((_e=_n(_e,Je[Ot+0]))>>24&255,ur>>24&255)<<24|ct(_e>>16&255,ur>>16&255)<<16|ct(_e>>8&255,ur>>8&255)<<8|ct(_e>>0&255,ur>>0&255))>>>0};var lc=mi.PredictorAdd0;mi.PredictorAdd1=Cr,lr("Predictor2","PredictorAdd2"),lr("Predictor3","PredictorAdd3"),lr("Predictor4","PredictorAdd4"),lr("Predictor5","PredictorAdd5"),lr("Predictor6","PredictorAdd6"),lr("Predictor7","PredictorAdd7"),lr("Predictor8","PredictorAdd8"),lr("Predictor9","PredictorAdd9"),lr("Predictor10","PredictorAdd10"),lr("Predictor11","PredictorAdd11"),lr("Predictor12","PredictorAdd12"),lr("Predictor13","PredictorAdd13");var bl=mi.PredictorAdd2;hn("ColorIndexInverseTransform","MapARGB","32b",function(_e){return _e>>8&255},function(_e){return _e}),hn("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(_e){return _e},function(_e){return _e>>8&255});var il,Yl=mi.ColorIndexInverseTransform,cu=mi.MapARGB,Jc=mi.VP8LColorIndexInverseTransformAlpha,ec=mi.MapAlpha,al=mi.VP8LPredictorsAdd=[];al.length=16,(mi.VP8LPredictors=[]).length=16,(mi.VP8LPredictorsAdd_C=[]).length=16,(mi.VP8LPredictors_C=[]).length=16;var lo,Pc,Cc,Ec,Ql,Ac,Vc,vc,Lc,_c,ms,yo,es,Is,Tl,Tc,tc,cc,sl,tl,Fl,Zs,Nc,Ru,uu,Hu,Xc,bu,Tu=nt(511),Dd=nt(2041),md=nt(225),Md=nt(767),Rd=0,du=Dd,Rc=md,Fc=Md,Uc=Tu,Fu=0,zu=1,rd=2,Iu=3,yu=4,Ku=5,Wu=6,Vu=7,$c=8,hu=9,wu=10,Xu=[2,3,7],nu=[3,3,11],Fd=[280,256,256,256,40],Yc=[0,1,1,1,0],ru=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Gu=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Bd=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],nd=8,fu=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],xu=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Ou=null,gd=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Ad=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],id=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Lu=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],ad=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],Yu=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],vd=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Zl=[],jc=[],iu=[],Qu=1,Zu=2,pu=[],qc=[];Ie("UpsampleRgbLinePair",yn,3),Ie("UpsampleBgrLinePair",Jn,3),Ie("UpsampleRgbaLinePair",go,4),Ie("UpsampleBgraLinePair",Ka,4),Ie("UpsampleArgbLinePair",ga,4),Ie("UpsampleRgba4444LinePair",Xi,2),Ie("UpsampleRgb565LinePair",Ci,2);var bd=mi.UpsampleRgbLinePair,kd=mi.UpsampleBgrLinePair,Pd=mi.UpsampleRgbaLinePair,yd=mi.UpsampleBgraLinePair,wd=mi.UpsampleArgbLinePair,Ud=mi.UpsampleRgba4444LinePair,od=mi.UpsampleRgb565LinePair,mu=16,gu=1<ur.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ur.ca.f.kb.F!=null&&Ce()),ur.Pb&&0(Oe=Ot.Md)?0:100tt;++tt)12>(zt=Or.pb[tt]).lc&&(zt.ia=Oe*Cd[0>zt.lc?0:zt.lc]>>3),wt|=zt.ia;wt&&(alert("todo:VP8InitRandom"),Or.ia=1)}Or.Ga=Ot.Id,100Or.Ga&&(Or.Ga=0)}Ro(_e,ur)||(Je=_e.a)}}else Je=_e.a}Je==0&&Ue.Oa!=null&&Ue.Oa.fd&&(Je=dl(Ue.ba))}Ue=Je}Kr=Ue!=0?null:11>Kr?se.f.RGBA.eb:se.f.kb.y}else Kr=null;return Kr};var qu=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function nr(Yi,mi){for(var va="",zn=0;zn<4;zn++)va+=String.fromCharCode(Yi[mi++]);return va}function Ur(Yi,mi){return(Yi[mi+0]<<0|Yi[mi+1]<<8|Yi[mi+2]<<16)>>>0}function Lr(Yi,mi){return(Yi[mi+0]<<0|Yi[mi+1]<<8|Yi[mi+2]<<16|Yi[mi+3]<<24)>>>0}new Et;var Vr=[0],sr=[0],Bn=[],Er=new Et,gn=dt,rn=function(Yi,mi){var va={},zn=0,fn=!1,$n=0,Cn=0;if(va.frames=[],!function(nn,Yn,bi,Oi){for(var _i=0;_i>1&1}na!="ANMF"&&(mi+=pi)}return va}}(gn,0);rn.response=gn,rn.rgbaoutput=!0,rn.dataurl=!1;var Br=rn.header?rn.header:null,Vn=rn.frames?rn.frames:null;if(Br){Br.loop_counter=Br.loop_count,Vr=[Br.canvas_height],sr=[Br.canvas_width];for(var gi=0;gi>>1)&255;return Br},Et=function(sr,Bn,Er){var gn,rn,Br,Vn,gi=[],Ni=sr.length;gi[0]=4;for(var Ki=0;Ki>>na&255,na+=Br.bits;mi[$n]=fn>>>na&255}}if(Br.bits===16){Yi=(zi=new Uint32Array(Br.decodePixels().buffer)).length,va=new Uint8Array(Yi*(32/Br.pixelBitlength)*Br.colors),mi=new Uint8Array(Yi*(32/Br.pixelBitlength)),zn=Br.colors>1,$n=0,Cn=0;for(var pi=0;$n>>0&255,zn&&(va[Cn++]=fn>>>16&255,fn=zi[$n++],va[Cn++]=fn>>>0&255),mi[pi++]=fn>>>16&255;rn=8}Er!==dt.image_compression.NONE&&Me()?(Vr=Xe(va,Br.width*Br.colors,Br.colors,Er),Ki=Xe(mi,Br.width,1,Er)):(Vr=va,Ki=mi,ki=void 0)}if(Br.colorType===3&&(gn=this.color_spaces.INDEXED,Ni=Br.palette,Br.transparency.indexed)){var Ri=Br.transparency.indexed,Na=0;for($n=0,Yi=Ri.length;$n=0;dt--){for(var Qe=this.bottom_up?dt:this.height-1-dt,st=0;st>7-Bt&1];this.data[ft+4*Bt]=Et.blue,this.data[ft+4*Bt+1]=Et.green,this.data[ft+4*Bt+2]=Et.red,this.data[ft+4*Bt+3]=255}Xe!==0&&(this.pos+=4-Xe)}},Wr.prototype.bit4=function(){for(var dt=Math.ceil(this.width/2),Me=dt%4,Xe=this.height-1;Xe>=0;Xe--){for(var Qe=this.bottom_up?Xe:this.height-1-Xe,st=0;st>4,Et=15&nt,nr=this.palette[Bt];if(this.data[ft]=nr.blue,this.data[ft+1]=nr.green,this.data[ft+2]=nr.red,this.data[ft+3]=255,2*st+1>=this.width)break;nr=this.palette[Et],this.data[ft+4]=nr.blue,this.data[ft+4+1]=nr.green,this.data[ft+4+2]=nr.red,this.data[ft+4+3]=255}Me!==0&&(this.pos+=4-Me)}},Wr.prototype.bit8=function(){for(var dt=this.width%4,Me=this.height-1;Me>=0;Me--){for(var Xe=this.bottom_up?Me:this.height-1-Me,Qe=0;Qe=0;Xe--){for(var Qe=this.bottom_up?Xe:this.height-1-Xe,st=0;st>5&Me)/Me*255|0,Et=(nt>>10&Me)/Me*255|0,nr=nt>>15?255:0,Ur=Qe*this.width*4+4*st;this.data[Ur]=Et,this.data[Ur+1]=Bt,this.data[Ur+2]=ft,this.data[Ur+3]=nr}this.pos+=dt}},Wr.prototype.bit16=function(){for(var dt=this.width%3,Me=parseInt("11111",2),Xe=parseInt("111111",2),Qe=this.height-1;Qe>=0;Qe--){for(var st=this.bottom_up?Qe:this.height-1-Qe,nt=0;nt>5&Xe)/Xe*255|0,nr=(ft>>11)/Me*255|0,Ur=st*this.width*4+4*nt;this.data[Ur]=nr,this.data[Ur+1]=Et,this.data[Ur+2]=Bt,this.data[Ur+3]=255}this.pos+=dt}},Wr.prototype.bit24=function(){for(var dt=this.height-1;dt>=0;dt--){for(var Me=this.bottom_up?dt:this.height-1-dt,Xe=0;Xe=0;dt--)for(var Me=this.bottom_up?dt:this.height-1-dt,Xe=0;Xest&&(nt.push(Me.slice(nr,ft)),Et=0,nr=ft),Et+=Xe[ft],ft++;return nr!==ft&&nt.push(Me.slice(nr,ft)),nt},$e=function(Me,Xe,Qe){Qe||(Qe={});var st,nt,ft,Bt,Et,nr,Ur,Lr=[],Vr=[Lr],sr=Qe.textIndent||0,Bn=0,Er=0,gn=Me.split(" "),rn=mt.apply(this,[" ",Qe])[0];if(nr=Qe.lineIndent===-1?gn[0].length+2:Qe.lineIndent||0){var Br=Array(nr).join(" "),Vn=[];gn.map(function(Ni){(Ni=Ni.split(/\s*\n/)).length>1?Vn=Vn.concat(Ni.map(function(Ki,zi){return(zi&&Ki.length?` -`:"")+Ki})):Vn.push(Ni[0])}),gn=Vn,nr=Le.apply(this,[Br,Qe])}for(ft=0,Bt=gn.length;ftXe||gi){if(Er>Xe){for(Et=ze.apply(this,[st,nt,Xe-(sr+Bn),Xe]),Lr.push(Et.shift()),Lr=[Et.pop()];Et.length;)Vr.push([Et.shift()]);Er=nt.slice(st.length-(Lr[0]?Lr[0].length:0)).reduce(function(Ni,Ki){return Ni+Ki},0)}else Lr=[st];Vr.push(Lr),sr=Er+nr,Bn=rn}else Lr.push(st),sr+=Bn+Er,Bn=rn}return Ur=nr?function(Ni,Ki){return(Ki?Br:"")+Ni.join(" ")}:function(Ni){return Ni.join(" ")},Vr.map(Ur)},lt.splitTextToSize=function(dt,Me,Xe){var Qe,st=(Xe=Xe||{}).fontSize||this.internal.getFontSize(),nt=function(Ur){if(Ur.widths&&Ur.kerning)return{widths:Ur.widths,kerning:Ur.kerning};var Lr=this.internal.getFont(Ur.fontName,Ur.fontStyle);return Lr.metadata.Unicode?{widths:Lr.metadata.Unicode.widths||{0:1},kerning:Lr.metadata.Unicode.kerning||{}}:{font:Lr.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,Xe);Qe=Array.isArray(dt)?dt:String(dt).split(/\r?\n/);var ft=1*this.internal.scaleFactor*Me/st;nt.textIndent=Xe.textIndent?1*Xe.textIndent*this.internal.scaleFactor/st:0,nt.lineIndent=Xe.lineIndent;var Bt,Et,nr=[];for(Bt=0,Et=Qe.length;Bt1){for(Ur=0;Urzn;zn++)if(Yi[mi+zn]!=va.charCodeAt(zn))return!0;return!1}function Qe(Yi,mi,va,zn,fn){for(var $n=0;$n$n+1?[]:new mi),!(Cn.length<$n+1));In++)zn(fn[In],$n+1,Cn)}(va,0,Yi),va}var Et=function(){var mi=this;function va(_e,Je){for(var Ot=1<>>0;_e&Ot;)Ot>>>=1;return Ot?(_e&Ot-1)+Ot:_e}function zn(_e,Je,Ot,ur,Or){Me(!(ur%Ot));do _e[Je+(ur-=Ot)]=Or;while(0=Or),512>=Or)var Wr=nt(512);else if((Wr=nt(Or))==null)return 0;return function(Ue,se,Oe,tt,wt,zt){var Zt,Jt,Fr=se,Xr=1<Zt;++Zt){if(Mr[Zt]>1<(_a-=Mr[Zt]))return 0;for(;0=Zt;++Zt,wt<<=1){if(Ki+=_a<<=1,0>(_a-=Mr[Zt]))return 0;for(;0qr&&!(0>=(zr-=Mr[qr]));)++qr,zr<<=1;Xr+=Ji=1<<(zr=qr-Oe),Ue[se+(qr=xi&Ln)].g=zr+Oe,Ue[se+qr].value=Fr-se-qr}tt.g=Zt-Oe,tt.value=zt[Jt++],zn(Ue,Fr+(xi>>Oe),wt,Ji,tt),xi=va(xi,Zt)}}return Ki!=2*Ir[15]-1?0:Xr}(_e,Je,Ot,ur,Or,Wr)}function $n(){this.value=this.g=0}function Cn(){this.value=this.g=0}function ki(){this.G=ft(5,$n),this.H=nt(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=ft(Ys,Cn)}function In(_e,Je,Ot,ur){Me(_e!=null),Me(Je!=null),Me(2147483648>ur),_e.Ca=254,_e.I=0,_e.b=-8,_e.Ka=0,_e.oa=Je,_e.pa=Ot,_e.Jd=Je,_e.Yc=Ot+ur,_e.Zc=4<=ur?Ot+ur-4+1:Ot,Zi(_e)}function na(_e,Je){for(var Ot=0;0ur),_e.Sb=ur,_e.Ra=0,_e.u=0,_e.h=0,4>>=8,_e.Ra+=_e.oa[_e.pa+_e.bb]<>>0,++_e.bb,_e.u-=8;bi(_e)&&(_e.h=1,_e.u=0)}function Na(_e,Je){if(Me(0<=Je),!_e.h&&Je<=kl){var Ot=Yn(_e)&Rl[Je];return _e.u+=Je,Ri(_e),Ot}return _e.h=1,_e.u=0}function Un(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function nn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Yn(_e){return _e.Ra>>>(_e.u&el-1)>>>0}function bi(_e){return Me(_e.bb<=_e.Sb),_e.h||_e.bb==_e.Sb&&_e.u>el}function Oi(_e,Je){_e.u=Je,_e.h=bi(_e)}function _i(_e){_e.u>=Cl&&(Me(_e.u>=Cl),Ri(_e))}function Zi(_e){Me(_e!=null&&_e.oa!=null),_e.pa<_e.Zc?(_e.I=(_e.oa[_e.pa++]|_e.I<<8)>>>0,_e.b+=8):(Me(_e!=null&&_e.oa!=null),_e.pa<_e.Yc?(_e.b+=8,_e.I=_e.oa[_e.pa++]|_e.I<<8):_e.Ka?_e.b=0:(_e.I<<=8,_e.b+=8,_e.Ka=1))}function qi(_e){return na(_e,1)}function ea(_e,Je){var Ot=_e.Ca;0>_e.b&&Zi(_e);var ur=_e.b,Or=Ot*Je>>>8,Wr=(_e.I>>>ur>Or)+0;for(Wr?(Ot-=Or,_e.I-=Or+1<>>0):Ot=Or+1,ur=Ot,Or=0;256<=ur;)Or+=8,ur>>=8;return ur=7^Or+mc[ur],_e.b-=ur,_e.Ca=(Ot<>24&255,_e[Je+1]=Ot>>16&255,_e[Je+2]=Ot>>8&255,_e[Je+3]=Ot>>0&255}function co(_e,Je){return _e[Je+0]<<0|_e[Je+1]<<8}function io(_e,Je){return co(_e,Je)|_e[Je+2]<<16}function rs(_e,Je){return co(_e,Je)|co(_e,Je+2)<<16}function Pi(_e,Je){var Ot=1<=Or||0>=Wr?0:(Ot[0]=Or,ur[0]=Wr,1)}function ta(_e,Je){return _e+(1<>>Je}function so(_e,Je){return((4278255360&_e)+(4278255360&Je)>>>0&4278255360)+((16711935&_e)+(16711935&Je)>>>0&16711935)>>>0}function lr(_e,Je){mi[Je]=function(Ot,ur,Or,Wr,Ue,se,Oe){var tt;for(tt=0;tt>>1)+(_e&Je)>>>0}function Pn(_e){return 0<=_e&&256>_e?_e:0>_e?0:255<_e?255:void 0}function ct(_e,Je){return Pn(_e+(_e-Je+.5>>1))}function Vt(_e,Je,Ot){return Math.abs(Je-Ot)-Math.abs(_e-Ot)}function Cr(_e,Je,Ot,ur,Or,Wr,Ue){for(ur=Wr[Ue-1],Ot=0;Ot>8&255,Oe=16711935&(Oe=(Oe=16711935&Ue)+((se<<16)+se));ur[Or+Wr]=(4278255360&Ue)+Oe>>>0}}function Gr(_e,Je){Je.jd=_e>>0&255,Je.hd=_e>>8&255,Je.ud=_e>>16&255}function $r(_e,Je,Ot,ur,Or,Wr){var Ue;for(Ue=0;Ue>>8,tt=se,wt=255&(wt=(wt=se>>>16)+((_e.jd<<24>>24)*(Oe<<24>>24)>>>5));tt=255&(tt=(tt=tt+((_e.hd<<24>>24)*(Oe<<24>>24)>>>5))+((_e.ud<<24>>24)*(wt<<24>>24)>>>5)),Or[Wr+Ue]=(4278255360&se)+(wt<<16)+tt}}function hn(_e,Je,Ot,ur,Or){mi[Je]=function(Wr,Ue,se,Oe,tt,wt,zt,Zt,Jt){for(Oe=zt;Oe>Wr.b,Jt=Wr.Ea,Fr=Wr.K[0],Xr=Wr.w;if(8>Zt)for(Wr=(1<>=Zt}else mi["VP8LMapColor"+Ot](Oe,tt,Fr,Xr,wt,zt,Ue,se,Jt)}}function On(_e,Je,Ot,ur,Or){for(Ot=Je+Ot;Je>16&255,ur[Or++]=Wr>>8&255,ur[Or++]=Wr>>0&255}}function Qn(_e,Je,Ot,ur,Or){for(Ot=Je+Ot;Je>16&255,ur[Or++]=Wr>>8&255,ur[Or++]=Wr>>0&255,ur[Or++]=Wr>>24&255}}function qn(_e,Je,Ot,ur,Or){for(Ot=Je+Ot;Je>16&240|Ue>>12&15,Ue=Ue>>0&240|Ue>>28&15;ur[Or++]=Wr,ur[Or++]=Ue}}function si(_e,Je,Ot,ur,Or){for(Ot=Je+Ot;Je>16&248|Ue>>13&7,Ue=Ue>>5&224|Ue>>3&31;ur[Or++]=Wr,ur[Or++]=Ue}}function oi(_e,Je,Ot,ur,Or){for(Ot=Je+Ot;Je>0&255,ur[Or++]=Wr>>8&255,ur[Or++]=Wr>>16&255}}function Kn(_e,Je,Ot,ur,Or,Wr){if(Wr==0)for(Ot=Je+Ot;Je>24|Wr[1]>>8&65280|Wr[2]<<8&16711680|Wr[3]<<24)>>>0),Or+=32;else Qe(ur,Or,_e,Je,Ot)}function Zn(_e,Je){mi[Je][0]=mi[_e+"0"],mi[Je][1]=mi[_e+"1"],mi[Je][2]=mi[_e+"2"],mi[Je][3]=mi[_e+"3"],mi[Je][4]=mi[_e+"4"],mi[Je][5]=mi[_e+"5"],mi[Je][6]=mi[_e+"6"],mi[Je][7]=mi[_e+"7"],mi[Je][8]=mi[_e+"8"],mi[Je][9]=mi[_e+"9"],mi[Je][10]=mi[_e+"10"],mi[Je][11]=mi[_e+"11"],mi[Je][12]=mi[_e+"12"],mi[Je][13]=mi[_e+"13"],mi[Je][14]=mi[_e+"0"],mi[Je][15]=mi[_e+"0"]}function ni(_e){return _e==Vu||_e==$c||_e==hu||_e==wu}function wi(){this.eb=[],this.size=this.A=this.fb=0}function Di(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Ui(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new wi,this.f.kb=new Di,this.sd=null}function ca(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ia(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Ia(_e){return alert("todo:WebPSamplerProcessPlane"),_e.T}function Fa(_e,Je){var Ot=_e.T,ur=Je.ba.f.RGBA,Or=ur.eb,Wr=ur.fb+_e.ka*ur.A,Ue=qc[Je.ba.S],se=_e.y,Oe=_e.O,tt=_e.f,wt=_e.N,zt=_e.ea,Zt=_e.W,Jt=Je.cc,Fr=Je.dc,Xr=Je.Mc,Mr=Je.Nc,Ir=_e.ka,zr=_e.ka+_e.T,qr=_e.U,Ln=qr+1>>1;for(Ir==0?Ue(se,Oe,null,null,tt,wt,zt,Zt,tt,wt,zt,Zt,Or,Wr,null,null,qr):(Ue(Je.ec,Je.fc,se,Oe,Jt,Fr,Xr,Mr,tt,wt,zt,Zt,Or,Wr-ur.A,Or,Wr,qr),++Ot);Ir+2Ot,Or=Ot==zu||Ot==Iu||Ot==yu||Ot==Wu||Ot==12||ni(Ot);if(Je.memory=null,Je.Ib=null,Je.Jb=null,Je.Nd=null,!Ks(Je.Oa,_e,Or?11:12))return 0;if(Or&&ni(Ot)&&Ye(),_e.da)alert("todo:use_scaling");else{if(ur){if(Je.Ib=Ia,_e.Kb){if(Ot=_e.U+1>>1,Je.memory=nt(_e.U+2*Ot),Je.memory==null)return 0;Je.ec=Je.memory,Je.fc=0,Je.cc=Je.ec,Je.dc=Je.fc+_e.U,Je.Mc=Je.cc,Je.Nc=Je.dc+Ot,Je.Ib=Fa,Ye()}}else alert("todo:EmitYUV");Or&&(Je.Jb=Aa,ur&&Ce())}if(ur&&!sd){for(_e=0;256>_e;++_e)Sd[_e]=89858*(_e-128)+gu>>mu,Jd[_e]=-22014*(_e-128)+gu,au[_e]=-45773*(_e-128),Su[_e]=113618*(_e-128)+gu>>mu;for(_e=Bu;_e>mu,ou[_e-Bu]=za(Je,255),$u[_e-Bu]=za(Je+8>>4,15);sd=1}return 1}function xa(_e){var Je=_e.ma,Ot=_e.U,ur=_e.T;return Me(!(1&_e.ka)),0>=Ot||0>=ur?0:(Ot=Je.Ib(_e,Je),Je.Jb!=null&&Je.Jb(_e,Je,Ot),Je.Dc+=Ot,1)}function Ai(_e){_e.ma.memory=null}function oa(_e,Je,Ot,ur){return Na(_e,8)!=47?0:(Je[0]=Na(_e,14)+1,Ot[0]=Na(_e,14)+1,ur[0]=Na(_e,1),Na(_e,3)!=0?0:!_e.h)}function Ba(_e,Je){if(4>_e)return _e+1;var Ot=_e-2>>1;return(2+(1&_e)<>4)*_e+(8-(15&Ot)))?Ot:1;var Ot}function Qr(_e,Je,Ot){var ur=Yn(Ot),Or=_e[Je+=255&ur].g-8;return 0>>0,Me(8>=Ot.g),_e.g}function Zr(_e,Je,Ot){var ur=_e.xc;return Me((Je=ur==0?0:_e.vc[_e.md*(Ot>>ur)+(Je>>ur)])<_e.Wb),_e.Ya[Je]}function hr(_e,Je,Ot,ur){var Or=_e.ab,Wr=_e.c*Je,Ue=_e.C;Je=Ue+Je;var se=Ot,Oe=ur;for(ur=_e.Ta,Ot=_e.Ua;0>Ji.b)*Ki;Xrqr&&(Eo=qr),(0,al[Co[ja++]>>8&15])(Zt,Jt+ +zo,Ir,zr+zo-qr,Eo-zo,Ir,zr+zo),zo=Eo}Jt+=qr,zr+=qr,++Xr&xi||(Ji+=Ki)}zt!=tt.nc&&Qe(Oe,se-Fr,Oe,se+(zt-wt-1)*Fr,Fr);break;case 1:for(Fr=Zt,Mr=Jt,qr=(Zt=tt.Ea)-(zr=Zt&~(Ir=(Jt=1<>tt.b)*Xr;wt=Or),0Wr.o&&(ur=Wr.o),Ot=ur?Ot=0:(Or[0]+=4*Wr.v,Wr.ka=Ot-Wr.j,Wr.U=Wr.va-Wr.v,Wr.T=ur-Ot,Ot=1),Ot){if(se=se[0],11>(Ot=_e.ca).S){var wt=Ot.f.RGBA,zt=(ur=Ot.S,Or=Wr.U,Wr=Wr.T,tt=wt.eb,wt.A),Zt=Wr;for(wt=wt.fb+_e.Ma*wt.A;0ur){var Or=_e.l.width,Wr=Ot.ca,Ue=Ot.tb+Or*ur,se=_e.V,Oe=_e.Ba+_e.c*ur,tt=_e.gc;Me(_e.ab==1),Me(tt[0].hc==3),Jc(tt[0],ur,Je,se,Oe,Wr,Ue),an(Ot,ur,Je,Wr,Ue,Or)}_e.C=_e.Ma=Je}function kn(_e,Je,Ot,ur,Or,Wr,Ue){var se=_e.$/ur,Oe=_e.$%ur,tt=_e.m,wt=_e.s,zt=Ot+_e.$,Zt=zt;Or=Ot+ur*Or;var Jt=Ot+ur*Wr,Fr=280+wt.ua,Xr=_e.Pb?se:16777216,Mr=0=Xr){var xi=zt-Ot;Me((Xr=_e).Pb),Xr.wd=Xr.m,Xr.xd=xi,0_a.g?(Oi(Ln,Ln.u+_a.g),xi[Ki]=_a.value,Ln=0):(Oi(Ln,Ln.u+_a.g-256),Me(256<=_a.value),Ln=_a.value),Ln==0&&(qr=!0)}else Ln=Qr(zr.G[0],zr.H[0],tt);if(tt.h)break;if(qr||256>Ln){if(!qr)if(zr.nd)Je[zt]=(zr.qb|Ln<<8)>>>0;else{if(_i(tt),qr=Qr(zr.G[1],zr.H[1],tt),_i(tt),xi=Qr(zr.G[2],zr.H[2],tt),Ki=Qr(zr.G[3],zr.H[3],tt),tt.h)break;Je[zt]=(Ki<<24|qr<<16|Ln<<8|xi)>>>0}if(qr=!1,++zt,++Oe>=ur&&(Oe=0,++se,Ue!=null&&se<=Wr&&!(se%16)&&Ue(_e,se),Mr!=null))for(;Zt>>Mr.Mb]=Ln}else if(280>Ln){if(Ln=Ba(Ln-256,tt),xi=Qr(zr.G[4],zr.H[4],tt),_i(tt),xi=Nr(ur,xi=Ba(xi,tt)),tt.h)break;if(zt-Ot=ur;)Oe-=ur,++se,Ue!=null&&se<=Wr&&!(se%16)&&Ue(_e,se);if(Me(zt<=Or),Oe&Ir&&(zr=Zr(wt,Oe,se)),Mr!=null)for(;Zt>>Mr.Mb]=Ln}else{if(!(Ln>>Mr.Mb]=Ln;Ln=zt,Me(!(qr>>>(xi=Mr).Xa)),Je[Ln]=xi.X[qr],qr=!0}qr||Me(tt.h==bi(tt))}if(_e.Pb&&tt.h&&ztWr?Wr:se),_e.a=0,_e.$=zt-Ot}return 1}return _e.a=3,0}function Dn(_e){Me(_e!=null),_e.vc=null,_e.yc=null,_e.Ya=null;var Je=_e.Wa;Je!=null&&(Je.X=null),_e.vb=null,Me(_e!=null)}function Xn(){var _e=new Mc;return _e==null?null:(_e.a=0,_e.xb=Zu,Zn("Predictor","VP8LPredictors"),Zn("Predictor","VP8LPredictors_C"),Zn("PredictorAdd","VP8LPredictorsAdd"),Zn("PredictorAdd","VP8LPredictorsAdd_C"),il=xr,lo=$r,Pc=On,Cc=Qn,Ec=qn,Ql=si,Ac=oi,mi.VP8LMapColor32b=cu,mi.VP8LMapColor8b=ec,_e)}function vi(_e,Je,Ot,ur,Or){var Wr=1,Ue=[_e],se=[Je],Oe=ur.m,tt=ur.s,wt=null,zt=0;e:for(;;){if(Ot)for(;Wr&&Na(Oe,1);){var Zt=Ue,Jt=se,Fr=ur,Xr=1,Mr=Fr.m,Ir=Fr.gc[Fr.ab],zr=Na(Mr,2);if(Fr.Oc&1<=Fr.ab),zr){case 0:case 1:Ir.b=Na(Mr,3)+2,Xr=vi(ta(Ir.Ea,Ir.b),ta(Ir.nc,Ir.b),0,Fr,Ir.K),Ir.K=Ir.K[0];break;case 3:var qr,Ln=Na(Mr,8)+1,xi=16>Ji.b),ja=nt(Co);if(ja==null)qr=0;else{var zo=Ji.K[0],Eo=Ji.w;for(ja[0]=Ji.K[0][0],Ki=1;Ki<1*_a;++Ki)ja[Ki]=so(zo[Eo+Ki],ja[Ki-1]);for(;Ki<4*Co;++Ki)ja[Ki]=0;Ji.K[0]=null,Ji.K[0]=ja,qr=1}}Xr=qr;break;case 2:break;default:Me(0)}Wr=Xr}}if(Ue=Ue[0],se=se[0],Wr&&Na(Oe,1)&&!(Wr=1<=(zt=Na(Oe,4))&&11>=zt)){ur.a=3;break e}var ko;if(ko=Wr)t:{var Ns,D,U,oe=ur,le=Ue,Ae=se,Ke=zt,Tt=Ot,Qt=oe.m,fr=oe.s,vr=[null],xn=1,Hn=0,hi=Bd[Ke];r:for(;;){if(Tt&&Na(Qt,1)){var ci=Na(Qt,3)+2,ra=ta(le,ci),Pa=ta(Ae,ci),$a=ra*Pa;if(!vi(ra,Pa,0,oe,vr))break r;for(vr=vr[0],fr.xc=ci,Ns=0;Ns<$a;++Ns){var Qa=vr[Ns]>>8&65535;vr[Ns]=Qa,Qa>=xn&&(xn=Qa+1)}}if(Qt.h)break r;for(D=0;5>D;++D){var Ka=Fd[D];!D&&0=Fo),ts=ws;var js=nt(Hn);if(ts==null||js==null||uo==null){oe.a=1;break r}var hl=uo;for(Ns=U=0;NsD;++D){Ka=Fd[D],Ll[D]=hl,bc[D]=U,!D&&0Ed)break n}else fl=Ed;for(rc=0;rc_d)_h[rc++]=_d,_d!=0&&(Th=_d);else{var Mh=_d==16,hh=_d-16,Rh=nu[hh],fh=Na(ud,Xu[hh])+Rh;if(rc+fh>Ed)break n;for(var Fh=Mh?Th:0;0=D){var eh,ph=js[0];for(eh=1;ehph&&(ph=js[eh]);Dc+=ph}}if(Pl.nd=ic,Pl.Qb=0,ic&&(Pl.qb=(Ll[3][bc[3]+0].value<<24|Ll[1][bc[1]+0].value<<16|Ll[2][bc[2]+0].value)>>>0,Gc==0&&256>Ll[0][bc[0]+0].value&&(Pl.Qb=1,Pl.qb+=Ll[0][bc[0]+0].value<<8)),Pl.jc=!Pl.Qb&&6>Dc,Pl.jc){var Td,Bc=Pl;for(Td=0;Td>=bn(lh,8,Du),ed>>=bn(Bc.G[1][Bc.H[1]+ed],16,Du),ed>>=bn(Bc.G[2][Bc.H[2]+ed],0,Du),bn(Bc.G[3][Bc.H[3]+ed],24,Du))}}}fr.vc=vr,fr.Wb=xn,fr.Ya=ts,fr.yc=uo,ko=1;break t}ko=0}if(!(Wr=ko)){ur.a=3;break e}if(0ur+1?[]:0),!(Or.length_e?0:_e>Je?Je:_e}function Mo(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Io(){var _e=new ro;return _e!=null&&(_e.a=0,_e.sc="OK",_e.cb=0,_e.Xb=0,Ou||(Ou=Zo)),_e}function ma(_e,Je,Ot){return _e.a==0&&(_e.a=Je,_e.sc=Ot,_e.cb=0),0}function mo(_e,Je,Ot){return 3<=Ot&&_e[Je+0]==157&&_e[Je+1]==1&&_e[Je+2]==42}function ns(_e,Je){if(_e==null)return 0;if(_e.a=0,_e.sc="OK",Je==null)return ma(_e,2,"null VP8Io passed to VP8GetHeaders()");var Ot=Je.data,ur=Je.w,Or=Je.ha;if(4>Or)return ma(_e,7,"Truncated header.");var Wr=Ot[ur+0]|Ot[ur+1]<<8|Ot[ur+2]<<16,Ue=_e.Od;if(Ue.Rb=!(1&Wr),Ue.td=Wr>>1&7,Ue.yd=Wr>>4&1,Ue.ub=Wr>>5,3Or)return ma(_e,7,"cannot parse picture header");if(!mo(Ot,ur,Or))return ma(_e,3,"Bad code word");se.c=16383&(Ot[ur+4]<<8|Ot[ur+3]),se.Td=Ot[ur+4]>>6,se.i=16383&(Ot[ur+6]<<8|Ot[ur+5]),se.Ud=Ot[ur+6]>>6,ur+=7,Or-=7,_e.za=se.c+15>>4,_e.Ub=se.i+15>>4,Je.width=se.c,Je.height=se.i,Je.Da=0,Je.j=0,Je.v=0,Je.va=Je.width,Je.o=Je.height,Je.da=0,Je.ib=Je.width,Je.hb=Je.height,Je.U=Je.width,Je.T=Je.height,st((Wr=_e.Pa).jb,0,255,Wr.jb.length),Me((Wr=_e.Qa)!=null),Wr.Cb=0,Wr.Bb=0,Wr.Fb=1,st(Wr.Zb,0,0,Wr.Zb.length),st(Wr.Lb,0,0,Wr.Lb)}if(Ue.ub>Or)return ma(_e,7,"bad partition length");In(Wr=_e.m,Ot,ur,Ue.ub),ur+=Ue.ub,Or-=Ue.ub,Ue.Rb&&(se.Ld=qi(Wr),se.Kd=qi(Wr)),se=_e.Qa;var Oe,tt=_e.Pa;if(Me(Wr!=null),Me(se!=null),se.Cb=qi(Wr),se.Cb){if(se.Bb=qi(Wr),qi(Wr)){for(se.Fb=qi(Wr),Oe=0;4>Oe;++Oe)se.Zb[Oe]=qi(Wr)?Ei(Wr,7):0;for(Oe=0;4>Oe;++Oe)se.Lb[Oe]=qi(Wr)?Ei(Wr,6):0}if(se.Bb)for(Oe=0;3>Oe;++Oe)tt.jb[Oe]=qi(Wr)?na(Wr,8):255}else se.Bb=0;if(Wr.Ka)return ma(_e,3,"cannot parse segment header");if((se=_e.ed).zd=qi(Wr),se.Tb=na(Wr,6),se.wb=na(Wr,3),se.Pc=qi(Wr),se.Pc&&qi(Wr)){for(tt=0;4>tt;++tt)qi(Wr)&&(se.vd[tt]=Ei(Wr,6));for(tt=0;4>tt;++tt)qi(Wr)&&(se.od[tt]=Ei(Wr,6))}if(_e.L=se.Tb==0?0:se.zd?1:2,Wr.Ka)return ma(_e,3,"cannot parse filter header");var wt=Or;if(Or=Oe=ur,ur=Oe+wt,se=wt,_e.Xb=(1<se&&(zt=se),In(_e.Jc[+wt],Ot,Oe,zt),Oe+=zt,se-=zt,Or+=3}In(_e.Jc[+tt],Ot,Oe,se),Ot=Oezt;++zt){if(wt.Cb){var Zt=wt.Zb[zt];wt.Fb||(Zt+=Ot)}else{if(0>16,8>Jt.Eb[1]&&(Jt.Eb[1]=8),Jt.Qc[0]=fu[za(Zt+tt,117)],Jt.Qc[1]=xu[za(Zt+Oe,127)],Jt.lc=Zt+Oe}if(!Ue.Rb)return ma(_e,4,"Not a key frame.");for(qi(Wr),Ue=_e.Pa,Ot=0;4>Ot;++Ot){for(Or=0;8>Or;++Or)for(ur=0;3>ur;++ur)for(se=0;11>se;++se)tt=ea(Wr,Yu[Ot][Or][ur][se])?na(Wr,8):Lu[Ot][Or][ur][se],Ue.Wc[Ot][Or].Yb[ur][se]=tt;for(Or=0;17>Or;++Or)Ue.Xc[Ot][Or]=Ue.Wc[Ot][vd[Or]]}return _e.kc=qi(Wr),_e.kc&&(_e.Bd=na(Wr,8)),_e.cb=1}function Zo(_e,Je,Ot,ur,Or,Wr,Ue){var se=Je[Or].Yb[Ot];for(Ot=0;16>Or;++Or){if(!ea(_e,se[Ot+0]))return Or;for(;!ea(_e,se[Ot+1]);)if(se=Je[++Or].Yb[0],Ot=0,Or==16)return 16;var Oe=Je[Or+1].Yb;if(ea(_e,se[Ot+2])){var tt=_e,wt=0;if(ea(tt,(Zt=se)[(zt=Ot)+3]))if(ea(tt,Zt[zt+6])){for(se=0,zt=2*(wt=ea(tt,Zt[zt+8]))+(Zt=ea(tt,Zt[zt+9+wt])),wt=0,Zt=gd[zt];Zt[se];++se)wt+=wt+ea(tt,Zt[se]);wt+=3+(8<(tt=_e).b&&Zi(tt);var zt,Zt=tt.b,Jt=(zt=tt.Ca>>1)-(tt.I>>Zt)>>31;--tt.b,tt.Ca+=Jt,tt.Ca|=1,tt.I-=(zt+1&Jt)<>4,_e.zb=Je.j-Ot>>4,0>_e.yb&&(_e.yb=0),0>_e.zb&&(_e.zb=0)),_e.Va=Je.o+15+Ot>>4,_e.Hb=Je.va+15+Ot>>4,_e.Hb>_e.za&&(_e.Hb=_e.za),_e.Va>_e.Ub&&(_e.Va=_e.Ub),0<_e.L){var ur=_e.ed;for(Ot=0;4>Ot;++Ot){var Or;if(_e.Qa.Cb){var Wr=_e.Qa.Lb[Ot];_e.Qa.Fb||(Wr+=ur.Tb)}else Wr=ur.Tb;for(Or=0;1>=Or;++Or){var Ue=_e.gd[Ot][Or],se=Wr;if(ur.Pc&&(se+=ur.vd[0],Or&&(se+=ur.od[0])),0<(se=0>se?0:63>2:Oe>>1)>9-ur.wb&&(Oe=9-ur.wb),1>Oe&&(Oe=1),Ue.dd=Oe,Ue.tc=2*se+Oe,Ue.ld=40<=se?2:15<=se?1:0}else Ue.tc=0;Ue.La=Or}}}Ot=0}else ma(_e,6,"Frame setup failed"),Ot=_e.a;if(Ot=Ot==0){if(Ot){_e.$c=0,0<_e.Aa||(_e.Ic=Pu);e:{Ot=_e.Ic,ur=4*(Oe=_e.za);var tt=32*Oe,wt=Oe+1,zt=0<_e.L?Oe*(0<_e.Aa?2:1):0,Zt=(_e.Aa==2?2:1)*Oe;if((Ue=ur+832+(Or=3*(16*Ot+ku[_e.L])/2*tt)+(Wr=_e.Fa!=null&&0<_e.Fa.length?_e.Kc.c*_e.Kc.i:0))!=Ue)Ot=0;else{if(Ue>_e.Vb){if(_e.Vb=0,_e.Ec=nt(Ue),_e.Fc=0,_e.Ec==null){Ot=ma(_e,1,"no memory during frame initialization.");break e}_e.Vb=Ue}Ue=_e.Ec,se=_e.Fc,_e.Ac=Ue,_e.Bc=se,se+=ur,_e.Gd=ft(tt,Yo),_e.Hd=0,_e.rb=ft(wt+1,Oa),_e.sb=1,_e.wa=zt?ft(zt,Ha):null,_e.Y=0,_e.D.Nb=0,_e.D.wa=_e.wa,_e.D.Y=_e.Y,0<_e.Aa&&(_e.D.Y+=Oe),Me(!0),_e.oc=Ue,_e.pc=se,se+=832,_e.ya=ft(Zt,to),_e.aa=0,_e.D.ya=_e.ya,_e.D.aa=_e.aa,_e.Aa==2&&(_e.D.aa+=Oe),_e.R=16*Oe,_e.B=8*Oe,Oe=(tt=ku[_e.L])*_e.R,tt=tt/2*_e.B,_e.sa=Ue,_e.ta=se+Oe,_e.qa=_e.sa,_e.ra=_e.ta+16*Ot*_e.R+tt,_e.Ha=_e.qa,_e.Ia=_e.ra+8*Ot*_e.B+tt,_e.$c=0,se+=Or,_e.mb=Wr?Ue:null,_e.nb=Wr?se:null,Me(se+Wr<=_e.Fc+_e.Vb),Oo(_e),st(_e.Ac,_e.Bc,0,ur),Ot=1}}if(Ot){if(Je.ka=0,Je.y=_e.sa,Je.O=_e.ta,Je.f=_e.qa,Je.N=_e.ra,Je.ea=_e.Ha,Je.Vd=_e.Ia,Je.fa=_e.R,Je.Rc=_e.B,Je.F=null,Je.J=0,!Rd){for(Ot=-255;255>=Ot;++Ot)Tu[255+Ot]=0>Ot?-Ot:Ot;for(Ot=-1020;1020>=Ot;++Ot)Dd[1020+Ot]=-128>Ot?-128:127=Ot;++Ot)md[112+Ot]=-16>Ot?-16:15=Ot;++Ot)Md[255+Ot]=0>Ot?0:255Ln;++Ln){var zo,Eo=_a[0+Ln];for(zo=0;4>zo;++zo){Eo=ad[xi[Ki+zo]][Eo];for(var ko=id[ea(qr,Eo[0])];0>3;for(ko=0;256>ko;ko+=16)Ln[Co+ko]=Ae}U=1,oe=Ki[0]}var Ke=15&qr.la,Tt=15&ja.la;for(ko=0;4>ko;++ko){var Qt=1&Tt;for(Ae=D=0;4>Ae;++Ae)Ke=Ke>>1|(Qt=(le=Ou(xi,oe,le=Qt+(1&Ke),Ji.Sc,U,Ln,Co))>U)<<7,D=D<<2|(3>=4,Tt=Tt>>1|Qt<<7,zo=(zo<<8|D)>>>0}for(oe=Ke,U=Tt>>4,Ns=0;4>Ns;Ns+=2){for(D=0,Ke=qr.la>>4+Ns,Tt=ja.la>>4+Ns,ko=0;2>ko;++ko){for(Qt=1&Tt,Ae=0;2>Ae;++Ae)le=Qt+(1&Ke),Ke=Ke>>1|(Qt=0<(le=Ou(xi,Ki[2],le,Ji.Qc,0,Ln,Co)))<<3,D=D<<2|(3>=2,Tt=Tt>>1|Qt<<5}Eo|=D<<4*Ns,oe|=Ke<<4<=Mr.zb&&Mr.M<=Mr.Va,Mr.Aa==0)e:{if(Xr.M=Mr.M,Xr.uc=qr,ps(Mr,Xr),zr=1,Xr=(D=Mr.D).Nb,qr=(Eo=ku[Mr.L])*Mr.R,xi=Eo/2*Mr.B,ko=16*Xr*Mr.R,Ae=8*Xr*Mr.B,Ki=Mr.sa,_a=Mr.ta-qr+ko,Ji=Mr.qa,Ln=Mr.ra-xi+Ae,Co=Mr.Ha,ja=Mr.Ia-xi+Ae,Tt=(Ke=D.M)==0,zo=Ke>=Mr.Va-1,Mr.Aa==2&&ps(Mr,D),D.uc)for(Qt=(le=Mr).D.M,Me(le.D.uc),D=le.yb;DIr.o&&(Ke=Ir.o),Ir.F=null,Ir.J=null,Mr.Fa!=null&&0>1),Ir.W+=Mr.B*(Eo>>1),Ir.F!=null&&(Ir.J+=Ir.width*Eo)),D>1,Ir.W+=Ir.v>>1,Ir.F!=null&&(Ir.J+=Ir.v),Ir.ka=D-Ir.j,Ir.U=Ir.va-Ir.v,Ir.T=Ke-D,zr=Ir.put(Ir))}Xr+1!=Mr.Ic||zo||(Qe(Mr.sa,Mr.ta-qr,Ki,_a+16*Mr.R,qr),Qe(Mr.qa,Mr.ra-xi,Ji,Ln+8*Mr.B,xi),Qe(Mr.Ha,Mr.Ia-xi,Co,ja+8*Mr.B,xi))}if(!zr)return ma(Jt,6,"Output aborted.")}return 1}(_e,Je)),Je.bc!=null&&Je.bc(Je),Ot&=1}return Ot?(_e.cb=0,Ot):0}function hs(_e,Je,Ot,ur,Or){Or=_e[Je+Ot+32*ur]+(Or>>3),_e[Je+Ot+32*ur]=-256&Or?0>Or?0:255:Or}function Uo(_e,Je,Ot,ur,Or,Wr){hs(_e,Je,0,Ot,ur+Or),hs(_e,Je,1,Ot,ur+Wr),hs(_e,Je,2,Ot,ur-Wr),hs(_e,Je,3,Ot,ur-Or)}function Ja(_e){return(20091*_e>>16)+_e}function Es(_e,Je,Ot,ur){var Or,Wr=0,Ue=nt(16);for(Or=0;4>Or;++Or){var se=_e[Je+0]+_e[Je+8],Oe=_e[Je+0]-_e[Je+8],tt=(35468*_e[Je+4]>>16)-Ja(_e[Je+12]),wt=Ja(_e[Je+4])+(35468*_e[Je+12]>>16);Ue[Wr+0]=se+wt,Ue[Wr+1]=Oe+tt,Ue[Wr+2]=Oe-tt,Ue[Wr+3]=se-wt,Wr+=4,Je++}for(Or=Wr=0;4>Or;++Or)se=(_e=Ue[Wr+0]+4)+Ue[Wr+8],Oe=_e-Ue[Wr+8],tt=(35468*Ue[Wr+4]>>16)-Ja(Ue[Wr+12]),hs(Ot,ur,0,0,se+(wt=Ja(Ue[Wr+4])+(35468*Ue[Wr+12]>>16))),hs(Ot,ur,1,0,Oe+tt),hs(Ot,ur,2,0,Oe-tt),hs(Ot,ur,3,0,se-wt),Wr++,ur+=32}function oo(_e,Je,Ot,ur){var Or=_e[Je+0]+4,Wr=35468*_e[Je+4]>>16,Ue=Ja(_e[Je+4]),se=35468*_e[Je+1]>>16;Uo(Ot,ur,0,Or+Ue,_e=Ja(_e[Je+1]),se),Uo(Ot,ur,1,Or+Wr,_e,se),Uo(Ot,ur,2,Or-Wr,_e,se),Uo(Ot,ur,3,Or-Ue,_e,se)}function Fs(_e,Je,Ot,ur,Or){Es(_e,Je,Ot,ur),Or&&Es(_e,Je+16,Ot,ur+4)}function qo(_e,Je,Ot,ur){vc(_e,Je+0,Ot,ur,1),vc(_e,Je+32,Ot,ur+128,1)}function Wo(_e,Je,Ot,ur){var Or;for(_e=_e[Je+0]+4,Or=0;4>Or;++Or)for(Je=0;4>Je;++Je)hs(Ot,ur,Je,Or,_e)}function Vo(_e,Je,Ot,ur){_e[Je+0]&&ms(_e,Je+0,Ot,ur),_e[Je+16]&&ms(_e,Je+16,Ot,ur+4),_e[Je+32]&&ms(_e,Je+32,Ot,ur+128),_e[Je+48]&&ms(_e,Je+48,Ot,ur+128+4)}function Go(_e,Je,Ot,ur){var Or,Wr=nt(16);for(Or=0;4>Or;++Or){var Ue=_e[Je+0+Or]+_e[Je+12+Or],se=_e[Je+4+Or]+_e[Je+8+Or],Oe=_e[Je+4+Or]-_e[Je+8+Or],tt=_e[Je+0+Or]-_e[Je+12+Or];Wr[0+Or]=Ue+se,Wr[8+Or]=Ue-se,Wr[4+Or]=tt+Oe,Wr[12+Or]=tt-Oe}for(Or=0;4>Or;++Or)Ue=(_e=Wr[0+4*Or]+3)+Wr[3+4*Or],se=Wr[1+4*Or]+Wr[2+4*Or],Oe=Wr[1+4*Or]-Wr[2+4*Or],tt=_e-Wr[3+4*Or],Ot[ur+0]=Ue+se>>3,Ot[ur+16]=tt+Oe>>3,Ot[ur+32]=Ue-se>>3,Ot[ur+48]=tt-Oe>>3,ur+=64}function os(_e,Je,Ot){var ur,Or=Je-32,Wr=Fc,Ue=255-_e[Or-1];for(ur=0;urOt;++Ot)Qe(_e,Je+32*Ot,_e,Je-32,16)}function ks(_e,Je){var Ot;for(Ot=16;0ur;++ur)st(Je,Ot+32*ur,_e,16)}function bs(_e,Je){var Ot,ur=16;for(Ot=0;16>Ot;++Ot)ur+=_e[Je-1+32*Ot]+_e[Je+Ot-32];Jo(ur>>5,_e,Je)}function Ho(_e,Je){var Ot,ur=8;for(Ot=0;16>Ot;++Ot)ur+=_e[Je-1+32*Ot];Jo(ur>>4,_e,Je)}function Ls(_e,Je){var Ot,ur=8;for(Ot=0;16>Ot;++Ot)ur+=_e[Je+Ot-32];Jo(ur>>4,_e,Je)}function Ps(_e,Je){Jo(128,_e,Je)}function Ra(_e,Je,Ot){return _e+2*Je+Ot+2>>2}function ho(_e,Je){var Ot,ur=Je-32;for(ur=new Uint8Array([Ra(_e[ur-1],_e[ur+0],_e[ur+1]),Ra(_e[ur+0],_e[ur+1],_e[ur+2]),Ra(_e[ur+1],_e[ur+2],_e[ur+3]),Ra(_e[ur+2],_e[ur+3],_e[ur+4])]),Ot=0;4>Ot;++Ot)Qe(_e,Je+32*Ot,ur,0,ur.length)}function ll(_e,Je){var Ot=_e[Je-1],ur=_e[Je-1+32],Or=_e[Je-1+64],Wr=_e[Je-1+96];ya(_e,Je+0,16843009*Ra(_e[Je-1-32],Ot,ur)),ya(_e,Je+32,16843009*Ra(Ot,ur,Or)),ya(_e,Je+64,16843009*Ra(ur,Or,Wr)),ya(_e,Je+96,16843009*Ra(Or,Wr,Wr))}function ml(_e,Je){var Ot,ur=4;for(Ot=0;4>Ot;++Ot)ur+=_e[Je+Ot-32]+_e[Je-1+32*Ot];for(ur>>=3,Ot=0;4>Ot;++Ot)st(_e,Je+32*Ot,ur,4)}function wl(_e,Je){var Ot=_e[Je-1+0],ur=_e[Je-1+32],Or=_e[Je-1+64],Wr=_e[Je-1-32],Ue=_e[Je+0-32],se=_e[Je+1-32],Oe=_e[Je+2-32],tt=_e[Je+3-32];_e[Je+0+96]=Ra(ur,Or,_e[Je-1+96]),_e[Je+1+96]=_e[Je+0+64]=Ra(Ot,ur,Or),_e[Je+2+96]=_e[Je+1+64]=_e[Je+0+32]=Ra(Wr,Ot,ur),_e[Je+3+96]=_e[Je+2+64]=_e[Je+1+32]=_e[Je+0+0]=Ra(Ue,Wr,Ot),_e[Je+3+64]=_e[Je+2+32]=_e[Je+1+0]=Ra(se,Ue,Wr),_e[Je+3+32]=_e[Je+2+0]=Ra(Oe,se,Ue),_e[Je+3+0]=Ra(tt,Oe,se)}function El(_e,Je){var Ot=_e[Je+1-32],ur=_e[Je+2-32],Or=_e[Je+3-32],Wr=_e[Je+4-32],Ue=_e[Je+5-32],se=_e[Je+6-32],Oe=_e[Je+7-32];_e[Je+0+0]=Ra(_e[Je+0-32],Ot,ur),_e[Je+1+0]=_e[Je+0+32]=Ra(Ot,ur,Or),_e[Je+2+0]=_e[Je+1+32]=_e[Je+0+64]=Ra(ur,Or,Wr),_e[Je+3+0]=_e[Je+2+32]=_e[Je+1+64]=_e[Je+0+96]=Ra(Or,Wr,Ue),_e[Je+3+32]=_e[Je+2+64]=_e[Je+1+96]=Ra(Wr,Ue,se),_e[Je+3+64]=_e[Je+2+96]=Ra(Ue,se,Oe),_e[Je+3+96]=Ra(se,Oe,Oe)}function Xs(_e,Je){var Ot=_e[Je-1+0],ur=_e[Je-1+32],Or=_e[Je-1+64],Wr=_e[Je-1-32],Ue=_e[Je+0-32],se=_e[Je+1-32],Oe=_e[Je+2-32],tt=_e[Je+3-32];_e[Je+0+0]=_e[Je+1+64]=Wr+Ue+1>>1,_e[Je+1+0]=_e[Je+2+64]=Ue+se+1>>1,_e[Je+2+0]=_e[Je+3+64]=se+Oe+1>>1,_e[Je+3+0]=Oe+tt+1>>1,_e[Je+0+96]=Ra(Or,ur,Ot),_e[Je+0+64]=Ra(ur,Ot,Wr),_e[Je+0+32]=_e[Je+1+96]=Ra(Ot,Wr,Ue),_e[Je+1+32]=_e[Je+2+96]=Ra(Wr,Ue,se),_e[Je+2+32]=_e[Je+3+96]=Ra(Ue,se,Oe),_e[Je+3+32]=Ra(se,Oe,tt)}function Xo(_e,Je){var Ot=_e[Je+0-32],ur=_e[Je+1-32],Or=_e[Je+2-32],Wr=_e[Je+3-32],Ue=_e[Je+4-32],se=_e[Je+5-32],Oe=_e[Je+6-32],tt=_e[Je+7-32];_e[Je+0+0]=Ot+ur+1>>1,_e[Je+1+0]=_e[Je+0+64]=ur+Or+1>>1,_e[Je+2+0]=_e[Je+1+64]=Or+Wr+1>>1,_e[Je+3+0]=_e[Je+2+64]=Wr+Ue+1>>1,_e[Je+0+32]=Ra(Ot,ur,Or),_e[Je+1+32]=_e[Je+0+96]=Ra(ur,Or,Wr),_e[Je+2+32]=_e[Je+1+96]=Ra(Or,Wr,Ue),_e[Je+3+32]=_e[Je+2+96]=Ra(Wr,Ue,se),_e[Je+3+64]=Ra(Ue,se,Oe),_e[Je+3+96]=Ra(se,Oe,tt)}function gl(_e,Je){var Ot=_e[Je-1+0],ur=_e[Je-1+32],Or=_e[Je-1+64],Wr=_e[Je-1+96];_e[Je+0+0]=Ot+ur+1>>1,_e[Je+2+0]=_e[Je+0+32]=ur+Or+1>>1,_e[Je+2+32]=_e[Je+0+64]=Or+Wr+1>>1,_e[Je+1+0]=Ra(Ot,ur,Or),_e[Je+3+0]=_e[Je+1+32]=Ra(ur,Or,Wr),_e[Je+3+32]=_e[Je+1+64]=Ra(Or,Wr,Wr),_e[Je+3+64]=_e[Je+2+64]=_e[Je+0+96]=_e[Je+1+96]=_e[Je+2+96]=_e[Je+3+96]=Wr}function Vl(_e,Je){var Ot=_e[Je-1+0],ur=_e[Je-1+32],Or=_e[Je-1+64],Wr=_e[Je-1+96],Ue=_e[Je-1-32],se=_e[Je+0-32],Oe=_e[Je+1-32],tt=_e[Je+2-32];_e[Je+0+0]=_e[Je+2+32]=Ot+Ue+1>>1,_e[Je+0+32]=_e[Je+2+64]=ur+Ot+1>>1,_e[Je+0+64]=_e[Je+2+96]=Or+ur+1>>1,_e[Je+0+96]=Wr+Or+1>>1,_e[Je+3+0]=Ra(se,Oe,tt),_e[Je+2+0]=Ra(Ue,se,Oe),_e[Je+1+0]=_e[Je+3+32]=Ra(Ot,Ue,se),_e[Je+1+32]=_e[Je+3+64]=Ra(ur,Ot,Ue),_e[Je+1+64]=_e[Je+3+96]=Ra(Or,ur,Ot),_e[Je+1+96]=Ra(Wr,Or,ur)}function Us(_e,Je){var Ot;for(Ot=0;8>Ot;++Ot)Qe(_e,Je+32*Ot,_e,Je-32,8)}function $s(_e,Je){var Ot;for(Ot=0;8>Ot;++Ot)st(_e,Je,_e[Je-1],8),Je+=32}function us(_e,Je,Ot){var ur;for(ur=0;8>ur;++ur)st(Je,Ot+32*ur,_e,8)}function _l(_e,Je){var Ot,ur=8;for(Ot=0;8>Ot;++Ot)ur+=_e[Je+Ot-32]+_e[Je-1+32*Ot];us(ur>>4,_e,Je)}function Wc(_e,Je){var Ot,ur=4;for(Ot=0;8>Ot;++Ot)ur+=_e[Je+Ot-32];us(ur>>3,_e,Je)}function fc(_e,Je){var Ot,ur=4;for(Ot=0;8>Ot;++Ot)ur+=_e[Je-1+32*Ot];us(ur>>3,_e,Je)}function Bl(_e,Je){us(128,_e,Je)}function oc(_e,Je,Ot){var ur=_e[Je-Ot],Or=_e[Je+0],Wr=3*(Or-ur)+du[1020+_e[Je-2*Ot]-_e[Je+Ot]],Ue=Rc[112+(Wr+4>>3)];_e[Je-Ot]=Fc[255+ur+Rc[112+(Wr+3>>3)]],_e[Je+0]=Fc[255+Or-Ue]}function sc(_e,Je,Ot,ur){var Or=_e[Je+0],Wr=_e[Je+Ot];return Uc[255+_e[Je-2*Ot]-_e[Je-Ot]]>ur||Uc[255+Wr-Or]>ur}function ql(_e,Je,Ot,ur){return 4*Uc[255+_e[Je-Ot]-_e[Je+0]]+Uc[255+_e[Je-2*Ot]-_e[Je+Ot]]<=ur}function Al(_e,Je,Ot,ur,Or){var Wr=_e[Je-3*Ot],Ue=_e[Je-2*Ot],se=_e[Je-Ot],Oe=_e[Je+0],tt=_e[Je+Ot],wt=_e[Je+2*Ot],zt=_e[Je+3*Ot];return 4*Uc[255+se-Oe]+Uc[255+Ue-tt]>ur?0:Uc[255+_e[Je-4*Ot]-Wr]<=Or&&Uc[255+Wr-Ue]<=Or&&Uc[255+Ue-se]<=Or&&Uc[255+zt-wt]<=Or&&Uc[255+wt-tt]<=Or&&Uc[255+tt-Oe]<=Or}function zs(_e,Je,Ot,ur){var Or=2*ur+1;for(ur=0;16>ur;++ur)ql(_e,Je+ur,Ot,Or)&&oc(_e,Je+ur,Ot)}function Ml(_e,Je,Ot,ur){var Or=2*ur+1;for(ur=0;16>ur;++ur)ql(_e,Je+ur*Ot,1,Or)&&oc(_e,Je+ur*Ot,1)}function vl(_e,Je,Ot,ur){var Or;for(Or=3;0>7,Ir=18*zr+63>>7,zr=9*zr+63>>7;Oe[tt-3*wt]=Fc[255+Oe[tt-3*wt]+zr],Oe[tt-2*wt]=Fc[255+zt+Ir],Oe[tt-wt]=Fc[255+Zt+Mr],Oe[tt+0]=Fc[255+Jt-Mr],Oe[tt+wt]=Fc[255+Fr-Ir],Oe[tt+2*wt]=Fc[255+Xr-zr]}Je+=ur}}function da(_e,Je,Ot,ur,Or,Wr,Ue,se){for(Wr=2*Wr+1;0>3)],Xr=Rc[112+(Xr+3>>3)],Mr=Fr+1>>1;Oe[tt-2*wt]=Fc[255+Oe[tt-2*wt]+Mr],Oe[tt-wt]=Fc[255+zt+Xr],Oe[tt+0]=Fc[255+Zt-Fr],Oe[tt+wt]=Fc[255+Jt-Mr]}Je+=ur}}function Oc(_e,Je,Ot,ur,Or,Wr){mn(_e,Je,Ot,1,16,ur,Or,Wr)}function pc(_e,Je,Ot,ur,Or,Wr){mn(_e,Je,1,Ot,16,ur,Or,Wr)}function xc(_e,Je,Ot,ur,Or,Wr){var Ue;for(Ue=3;0tt?0:255:tt)&255,tt=Oe,Or[Wr+se]=wt}}function qt(_e,Je,Ot,ur){var Or=Je.width,Wr=Je.o;if(Me(_e!=null&&Je!=null),0>Ot||0>=ur||Ot+ur>Wr)return null;if(!_e.Cc){if(_e.ga==null){var Ue;if(_e.ga=new Sc,(Ue=_e.ga==null)||(Ue=Je.width*Je.o,Me(_e.Gb.length==0),_e.Gb=nt(Ue),_e.Uc=0,_e.Gb==null?Ue=0:(_e.mb=_e.Gb,_e.nb=_e.Uc,_e.rc=null,Ue=1),Ue=!Ue),!Ue){Ue=_e.ga;var se=_e.Fa,Oe=_e.P,tt=_e.qc,wt=_e.mb,zt=_e.nb,Zt=Oe+1,Jt=tt-1,Fr=Ue.l;if(Me(se!=null&&wt!=null&&Je!=null),pu[0]=null,pu[1]=Ts,pu[2]=Sl,pu[3]=Rt,Ue.ca=wt,Ue.tb=zt,Ue.c=Je.width,Ue.i=Je.height,Me(0=tt)Je=0;else if(Ue.$a=se[Oe+0]>>0&3,Ue.Z=se[Oe+0]>>2&3,Ue.Lc=se[Oe+0]>>4&3,Oe=se[Oe+0]>>6&3,0>Ue.$a||1=Ue.c*Ue.i;Ue=!Je}if(Ue)return null;_e.ga.Lc!=1?_e.Ga=0:ur=Wr-Ot}Me(_e.ga!=null),Me(Ot+ur<=Wr);e:{if(Je=(se=_e.ga).c,Wr=se.l.o,se.$a==0){if(Zt=_e.rc,Jt=_e.Vc,Fr=_e.Fa,Oe=_e.P+1+Ot*Je,tt=_e.mb,wt=_e.nb+Ot*Je,Me(Oe<=_e.P+_e.qc),se.Z!=0)for(Me(pu[se.Z]!=null),Ue=0;Ue=Je)Je=1;else if(se.ic||Ce(),se.ic){se=Ue.V,Zt=Ue.Ba,Jt=Ue.c;var Xr=Ue.i,Mr=(Fr=1,Oe=Ue.$/Jt,tt=Ue.$%Jt,wt=Ue.m,zt=Ue.s,Ue.$),Ir=Jt*Xr,zr=Jt*Je,qr=zt.wc,Ln=Mr(Xr=Qr(Ln.G[0],Ln.H[0],wt)))se[Zt+Mr]=Xr,++Mr,++tt>=Jt&&(tt=0,++Oe<=Je&&!(Oe%16)&&Jr(Ue,Oe));else{if(!(280>Xr)){Fr=0;break t}Xr=Ba(Xr-256,wt);var xi,Ki=Qr(Ln.G[4],Ln.H[4],wt);if(_i(wt),!(Mr>=(Ki=Nr(Jt,Ki=Ba(Ki,wt)))&&Ir-Mr>=Xr)){Fr=0;break t}for(xi=0;xi=Jt;)tt-=Jt,++Oe<=Je&&!(Oe%16)&&Jr(Ue,Oe);MrJe?Je:Oe);break t}!Fr||wt.h&&Mr=Wr&&(_e.Cc=1),ur=1}if(!ur)return null;if(_e.Cc&&((ur=_e.ga)!=null&&(ur.mc=null),_e.ga=null,0<_e.Ga))return alert("todo:WebPDequantizeLevels"),null}return _e.nb+Ot*Or}function En(_e,Je,Ot,ur,Or,Wr){for(;0>23,se[Oe+4*Ue+1]=se[Oe+4*Ue+1]*zt>>23,se[Oe+4*Ue+2]=se[Oe+4*Ue+2]*zt>>23)}Je+=Wr}}function ri(_e,Je,Ot,ur,Or){for(;0>4)*Oe>>16;_e[Je+2*Wr+0]=(240&Ue|Ue>>4)*Oe>>16&240|(15&Ue|Ue<<4)*Oe>>16>>4&15,_e[Je+2*Wr+1]=240&tt|se}Je+=Or}}function Lt(_e,Je,Ot,ur,Or,Wr,Ue,se){var Oe,tt,wt=255;for(tt=0;tt>8}function Ce(){uu=En,Hu=ri,Xc=Lt,bu=he}function Ie(_e,Je,Ot){mi[_e]=function(ur,Or,Wr,Ue,se,Oe,tt,wt,zt,Zt,Jt,Fr,Xr,Mr,Ir,zr,qr){var Ln,xi=qr-1>>1,Ki=se[Oe+0]|tt[wt+0]<<16,_a=zt[Zt+0]|Jt[Fr+0]<<16;Me(ur!=null);var Ji=3*Ki+_a+131074>>2;for(Je(ur[Or+0],255&Ji,Ji>>16,Xr,Mr),Wr!=null&&(Ji=3*_a+Ki+131074>>2,Je(Wr[Ue+0],255&Ji,Ji>>16,Ir,zr)),Ln=1;Ln<=xi;++Ln){var Co=se[Oe+Ln]|tt[wt+Ln]<<16,ja=zt[Zt+Ln]|Jt[Fr+Ln]<<16,zo=Ki+Co+_a+ja+524296,Eo=zo+2*(Co+_a)>>3;Ji=Eo+Ki>>1,Ki=(zo=zo+2*(Ki+ja)>>3)+Co>>1,Je(ur[Or+2*Ln-1],255&Ji,Ji>>16,Xr,Mr+(2*Ln-1)*Ot),Je(ur[Or+2*Ln-0],255&Ki,Ki>>16,Xr,Mr+(2*Ln-0)*Ot),Wr!=null&&(Ji=zo+_a>>1,Ki=Eo+ja>>1,Je(Wr[Ue+2*Ln-1],255&Ji,Ji>>16,Ir,zr+(2*Ln-1)*Ot),Je(Wr[Ue+2*Ln+0],255&Ki,Ki>>16,Ir,zr+(2*Ln+0)*Ot)),Ki=Co,_a=ja}1&qr||(Ji=3*Ki+_a+131074>>2,Je(ur[Or+qr-1],255&Ji,Ji>>16,Xr,Mr+(qr-1)*Ot),Wr!=null&&(Ji=3*_a+Ki+131074>>2,Je(Wr[Ue+qr-1],255&Ji,Ji>>16,Ir,zr+(qr-1)*Ot)))}}function Ye(){qc[Fu]=bd,qc[zu]=Pd,qc[rd]=kd,qc[Iu]=yd,qc[yu]=wd,qc[Wu]=Ud,qc[Ku]=od,qc[Vu]=Pd,qc[$c]=yd,qc[hu]=wd,qc[wu]=Ud}function _t(_e){return _e&~Ju?0>_e?0:255:_e>>xd}function Yt(_e,Je){return _t((19077*_e>>8)+(26149*Je>>8)-14234)}function Pr(_e,Je,Ot){return _t((19077*_e>>8)-(6419*Je>>8)-(13320*Ot>>8)+8708)}function Yr(_e,Je){return _t((19077*_e>>8)+(33050*Je>>8)-17685)}function yn(_e,Je,Ot,ur,Or){ur[Or+0]=Yt(_e,Ot),ur[Or+1]=Pr(_e,Je,Ot),ur[Or+2]=Yr(_e,Je)}function Jn(_e,Je,Ot,ur,Or){ur[Or+0]=Yr(_e,Je),ur[Or+1]=Pr(_e,Je,Ot),ur[Or+2]=Yt(_e,Ot)}function Ci(_e,Je,Ot,ur,Or){var Wr=Pr(_e,Je,Ot);Je=Wr<<3&224|Yr(_e,Je)>>3,ur[Or+0]=248&Yt(_e,Ot)|Wr>>5,ur[Or+1]=Je}function Xi(_e,Je,Ot,ur,Or){var Wr=240&Yr(_e,Je)|15;ur[Or+0]=240&Yt(_e,Ot)|Pr(_e,Je,Ot)>>4,ur[Or+1]=Wr}function ga(_e,Je,Ot,ur,Or){ur[Or+0]=255,yn(_e,Je,Ot,ur,Or+1)}function Wa(_e,Je,Ot,ur,Or){Jn(_e,Je,Ot,ur,Or),ur[Or+3]=255}function go(_e,Je,Ot,ur,Or){yn(_e,Je,Ot,ur,Or),ur[Or+3]=255}function za(_e,Je){return 0>_e?0:_e>Je?Je:_e}function No(_e,Je,Ot){mi[_e]=function(ur,Or,Wr,Ue,se,Oe,tt,wt,zt){for(var Zt=wt+(-2&zt)*Ot;wt!=Zt;)Je(ur[Or+0],Wr[Ue+0],se[Oe+0],tt,wt),Je(ur[Or+1],Wr[Ue+0],se[Oe+0],tt,wt+Ot),Or+=2,++Ue,++Oe,wt+=2*Ot;1&zt&&Je(ur[Or+0],Wr[Ue+0],se[Oe+0],tt,wt)}}function As(_e,Je,Ot){return Ot==0?_e==0?Je==0?6:5:Je==0?4:0:Ot}function ss(_e,Je,Ot,ur,Or){switch(_e>>>30){case 3:vc(Je,Ot,ur,Or,0);break;case 2:Lc(Je,Ot,ur,Or);break;case 1:ms(Je,Ot,ur,Or)}}function ps(_e,Je){var Ot,ur,Or=Je.M,Wr=Je.Nb,Ue=_e.oc,se=_e.pc+40,Oe=_e.oc,tt=_e.pc+584,wt=_e.oc,zt=_e.pc+600;for(Ot=0;16>Ot;++Ot)Ue[se+32*Ot-1]=129;for(Ot=0;8>Ot;++Ot)Oe[tt+32*Ot-1]=129,wt[zt+32*Ot-1]=129;for(0Ot;++Ot)Qe(Ue,se+32*Ot-4,Ue,se+32*Ot+12,4);for(Ot=-1;8>Ot;++Ot)Qe(Oe,tt+32*Ot-4,Oe,tt+32*Ot+4,4),Qe(wt,zt+32*Ot-4,wt,zt+32*Ot+4,4)}var Jt=_e.Gd,Fr=_e.Hd+ur,Xr=Zt.ad,Mr=Zt.Hc;if(0=_e.za-1?st(Ir,zr,Jt[Fr].y[15],4):Qe(Ir,zr,Jt[Fr+1].y,0,4)),Ot=0;4>Ot;Ot++)Ir[zr+128+Ot]=Ir[zr+256+Ot]=Ir[zr+384+Ot]=Ir[zr+0+Ot];for(Ot=0;16>Ot;++Ot,Mr<<=2)Ir=Ue,zr=se+ld[Ot],jc[Zt.Ob[Ot]](Ir,zr),ss(Mr,Xr,16*+Ot,Ir,zr)}else if(Ir=As(ur,Or,Zt.Ob[0]),Zl[Ir](Ue,se),Mr!=0)for(Ot=0;16>Ot;++Ot,Mr<<=2)ss(Mr,Xr,16*+Ot,Ue,se+ld[Ot]);for(Ot=Zt.Gc,Ir=As(ur,Or,Zt.Dd),iu[Ir](Oe,tt),iu[Ir](wt,zt),Mr=Xr,Ir=Oe,zr=tt,255&(Zt=Ot>>0)&&(170&Zt?_c(Mr,256,Ir,zr):yo(Mr,256,Ir,zr)),Zt=wt,Mr=zt,255&(Ot>>=8)&&(170&Ot?_c(Xr,320,Zt,Mr):yo(Xr,320,Zt,Mr)),Or<_e.Ub-1&&(Qe(Jt[Fr].y,0,Ue,se+480,16),Qe(Jt[Fr].f,0,Oe,tt+224,8),Qe(Jt[Fr].ea,0,wt,zt+224,8)),Ot=8*Wr*_e.B,Jt=_e.sa,Fr=_e.ta+16*ur+16*Wr*_e.R,Xr=_e.qa,Zt=_e.ra+8*ur+Ot,Mr=_e.Ha,Ir=_e.Ia+8*ur+Ot,Ot=0;16>Ot;++Ot)Qe(Jt,Fr+Ot*_e.R,Ue,se+32*Ot,16);for(Ot=0;8>Ot;++Ot)Qe(Xr,Zt+Ot*_e.B,Oe,tt+32*Ot,8),Qe(Mr,Ir+Ot*_e.B,wt,zt+32*Ot,8)}}function nl(_e,Je,Ot,ur,Or,Wr,Ue,se,Oe){var tt=[0],wt=[0],zt=0,Zt=Oe!=null?Oe.kd:0,Jt=Oe!=null?Oe:new Gl;if(_e==null||12>Ot)return 7;Jt.data=_e,Jt.w=Je,Jt.ha=Ot,Je=[Je],Ot=[Ot],Jt.gb=[Jt.gb];e:{var Fr=Je,Xr=Ot,Mr=Jt.gb;if(Me(_e!=null),Me(Xr!=null),Me(Mr!=null),Mr[0]=0,12<=Xr[0]&&!Xe(_e,Fr[0],"RIFF")){if(Xe(_e,Fr[0]+8,"WEBP")){Mr=3;break e}var Ir=rs(_e,Fr[0]+4);if(12>Ir||4294967286Xr[0]-8){Mr=7;break e}Mr[0]=Ir,Fr[0]+=12,Xr[0]-=12}Mr=0}if(Mr!=0)return Mr;for(Ir=0Mr[0])Mr=7;else{if(!Xe(zr,Xr[0],"VP8X")){if(rs(zr,Xr[0]+4)!=10){Mr=3;break e}if(18>Mr[0]){Mr=7;break e}var Ki=rs(zr,Xr[0]+8),_a=1+io(zr,Xr[0]+12);if(2147483648<=_a*(zr=1+io(zr,Xr[0]+15))){Mr=3;break e}xi!=null&&(xi[0]=Ki),qr!=null&&(qr[0]=_a),Ln!=null&&(Ln[0]=zr),Xr[0]+=18,Mr[0]-=18,Ji[0]=1}Mr=0}}if(zt=zt[0],Fr=Fr[0],Mr!=0)return Mr;if(Xr=!!(2&Fr),!Ir&&zt)return 3;if(Wr!=null&&(Wr[0]=!!(16&Fr)),Ue!=null&&(Ue[0]=Xr),se!=null&&(se[0]=0),Ue=tt[0],Fr=wt[0],zt&&Xr&&Oe==null){Mr=0;break}if(4>Ot){Mr=7;break}if(Ir&&zt||!Ir&&!zt&&!Xe(_e,Je[0],"ALPH")){Ot=[Ot],Jt.na=[Jt.na],Jt.P=[Jt.P],Jt.Sa=[Jt.Sa];e:{Ki=_e,Mr=Je,Ir=Ot;var Ji=Jt.gb;qr=Jt.na,Ln=Jt.P,xi=Jt.Sa,_a=22,Me(Ki!=null),Me(Ir!=null),zr=Mr[0];var Co=Ir[0];for(Me(qr!=null),Me(xi!=null),qr[0]=null,Ln[0]=null,xi[0]=0;;){if(Mr[0]=zr,Ir[0]=Co,8>Co){Mr=7;break e}var ja=rs(Ki,zr+4);if(4294967286Ji){Mr=3;break e}if(!Xe(Ki,zr,"VP8 ")||!Xe(Ki,zr,"VP8L")){Mr=0;break e}if(Co[0]Ir[0])Mr=7;else{if(zr||_a){if(Ji=rs(Ji,Ki+4),12<=qr&&Ji>qr-12){Mr=3;break e}if(Zt&&Ji>Ir[0]-8){Mr=7;break e}Ln[0]=Ji,Mr[0]+=8,Ir[0]-=8,xi[0]=_a}else xi[0]=5<=Ir[0]&&Ji[Ki+0]==47&&!(Ji[Ki+4]>>5),Ln[0]=Ir[0];Mr=0}if(Ot=Ot[0],Jt.Ja=Jt.Ja[0],Jt.xa=Jt.xa[0],Je=Je[0],Mr!=0)break;if(4294967286Ot){Mr=7;break}se=Ue,Zt=Fr,Xr=Wr,_e==null||5>Ot?_e=0:5<=Ot&&_e[Je+0]==47&&!(_e[Je+4]>>5)?(Ir=[0],Ji=[0],qr=[0],pi(Ln=new nn,_e,Je,Ot),oa(Ln,Ir,Ji,qr)?(se!=null&&(se[0]=Ir[0]),Zt!=null&&(Zt[0]=Ji[0]),Xr!=null&&(Xr[0]=qr[0]),_e=1):_e=0):_e=0}else{if(10>Ot){Mr=7;break}se=Fr,_e==null||10>Ot||!mo(_e,Je+3,Ot-3)?_e=0:(Zt=_e[Je+0]|_e[Je+1]<<8|_e[Je+2]<<16,Xr=16383&(_e[Je+7]<<8|_e[Je+6]),_e=16383&(_e[Je+9]<<8|_e[Je+8]),1&Zt||3<(Zt>>1&7)||!(Zt>>4&1)||Zt>>5>=Jt.Ja||!Xr||!_e?_e=0:(Ue&&(Ue[0]=Xr),se&&(se[0]=_e),_e=1))}if(!_e)return 3;if(Ue=Ue[0],Fr=Fr[0],zt&&(tt[0]!=Ue||wt[0]!=Fr))return 3;Oe!=null&&(Oe[0]=Jt,Oe.offset=Je-Oe.w,Me(4294967286>Je-Oe.w),Me(Oe.offset==Oe.ha-Ot));break}return Mr==0||Mr==7&&zt&&Oe==null?(Wr!=null&&(Wr[0]|=Jt.na!=null&&0Ot||(Wr&=-2,Ue&=-2),0>Wr||0>Ue||0>=se||0>=Oe||Wr+se>ur||Ue+Oe>Or))return 0;if(Je.v=Wr,Je.j=Ue,Je.va=Wr+se,Je.o=Ue+Oe,Je.U=se,Je.T=Oe,Je.da=_e!=null&&0<_e.da,Je.da){if(!ba(se,Oe,Ot=[_e.ib],Wr=[_e.hb]))return 0;Je.ib=Ot[0],Je.hb=Wr[0]}return Je.ob=_e!=null&&_e.ob,Je.Kb=_e==null||!_e.Sd,Je.da&&(Je.ob=Je.ib<3*ur/4&&Je.hb<3*Or/4,Je.Kb=0),1}function dl(_e){if(_e==null)return 2;if(11>_e.S){var Je=_e.f.RGBA;Je.fb+=(_e.height-1)*Je.A,Je.A=-Je.A}else Je=_e.f.kb,_e=_e.height,Je.O+=(_e-1)*Je.fa,Je.fa=-Je.fa,Je.N+=(_e-1>>1)*Je.Ab,Je.Ab=-Je.Ab,Je.W+=(_e-1>>1)*Je.Db,Je.Db=-Je.Db,Je.F!=null&&(Je.J+=(_e-1)*Je.lb,Je.lb=-Je.lb);return 0}function ls(_e,Je,Ot,ur){if(ur==null||0>=_e||0>=Je)return 2;if(Ot!=null){if(Ot.Da){var Or=Ot.cd,Wr=Ot.bd,Ue=-2&Ot.v,se=-2&Ot.j;if(0>Ue||0>se||0>=Or||0>=Wr||Ue+Or>_e||se+Wr>Je)return 2;_e=Or,Je=Wr}if(Ot.da){if(!ba(_e,Je,Or=[Ot.ib],Wr=[Ot.hb]))return 2;_e=Or[0],Je=Wr[0]}}ur.width=_e,ur.height=Je;e:{var Oe=ur.width,tt=ur.height;if(_e=ur.S,0>=Oe||0>=tt||!(_e>=Fu&&13>_e))_e=2;else{if(0>=ur.Rd&&ur.sd==null){Ue=Wr=Or=Je=0;var wt=(se=Oe*qu[_e])*tt;if(11>_e||(Wr=(tt+1)/2*(Je=(Oe+1)/2),_e==12&&(Ue=(Or=Oe)*tt)),(tt=nt(wt+2*Wr+Ue))==null){_e=1;break e}ur.sd=tt,11>_e?((Oe=ur.f.RGBA).eb=tt,Oe.fb=0,Oe.A=se,Oe.size=wt):((Oe=ur.f.kb).y=tt,Oe.O=0,Oe.fa=se,Oe.Fd=wt,Oe.f=tt,Oe.N=0+wt,Oe.Ab=Je,Oe.Cd=Wr,Oe.ea=tt,Oe.W=0+wt+Wr,Oe.Db=Je,Oe.Ed=Wr,_e==12&&(Oe.F=tt,Oe.J=0+wt+2*Wr),Oe.Tc=Ue,Oe.lb=Or)}if(Je=1,Or=ur.S,Wr=ur.width,Ue=ur.height,Or>=Fu&&13>Or)if(11>Or)_e=ur.f.RGBA,Je&=(se=Math.abs(_e.A))*(Ue-1)+Wr<=_e.size,Je&=se>=Wr*qu[Or],Je&=_e.eb!=null;else{_e=ur.f.kb,se=(Wr+1)/2,wt=(Ue+1)/2,Oe=Math.abs(_e.fa),tt=Math.abs(_e.Ab);var zt=Math.abs(_e.Db),Zt=Math.abs(_e.lb),Jt=Zt*(Ue-1)+Wr;Je&=Oe*(Ue-1)+Wr<=_e.Fd,Je&=tt*(wt-1)+se<=_e.Cd,Je=(Je&=zt*(wt-1)+se<=_e.Ed)&Oe>=Wr&tt>=se&zt>=se,Je&=_e.y!=null,Je&=_e.f!=null,Je&=_e.ea!=null,Or==12&&(Je&=Zt>=Wr,Je&=Jt<=_e.Tc,Je&=_e.F!=null)}else Je=0;_e=Je?0:2}}return _e!=0||Ot!=null&&Ot.fd&&(_e=dl(ur)),_e}var Ys=64,Rl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],kl=24,el=32,Cl=8,mc=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];lr("Predictor0","PredictorAdd0"),mi.Predictor0=function(){return 4278190080},mi.Predictor1=function(_e){return _e},mi.Predictor2=function(_e,Je,Ot){return Je[Ot+0]},mi.Predictor3=function(_e,Je,Ot){return Je[Ot+1]},mi.Predictor4=function(_e,Je,Ot){return Je[Ot-1]},mi.Predictor5=function(_e,Je,Ot){return _n(_n(_e,Je[Ot+1]),Je[Ot+0])},mi.Predictor6=function(_e,Je,Ot){return _n(_e,Je[Ot-1])},mi.Predictor7=function(_e,Je,Ot){return _n(_e,Je[Ot+0])},mi.Predictor8=function(_e,Je,Ot){return _n(Je[Ot-1],Je[Ot+0])},mi.Predictor9=function(_e,Je,Ot){return _n(Je[Ot+0],Je[Ot+1])},mi.Predictor10=function(_e,Je,Ot){return _n(_n(_e,Je[Ot-1]),_n(Je[Ot+0],Je[Ot+1]))},mi.Predictor11=function(_e,Je,Ot){var ur=Je[Ot+0];return 0>=Vt(ur>>24&255,_e>>24&255,(Je=Je[Ot-1])>>24&255)+Vt(ur>>16&255,_e>>16&255,Je>>16&255)+Vt(ur>>8&255,_e>>8&255,Je>>8&255)+Vt(255&ur,255&_e,255&Je)?ur:_e},mi.Predictor12=function(_e,Je,Ot){var ur=Je[Ot+0];return(Pn((_e>>24&255)+(ur>>24&255)-((Je=Je[Ot-1])>>24&255))<<24|Pn((_e>>16&255)+(ur>>16&255)-(Je>>16&255))<<16|Pn((_e>>8&255)+(ur>>8&255)-(Je>>8&255))<<8|Pn((255&_e)+(255&ur)-(255&Je)))>>>0},mi.Predictor13=function(_e,Je,Ot){var ur=Je[Ot-1];return(ct((_e=_n(_e,Je[Ot+0]))>>24&255,ur>>24&255)<<24|ct(_e>>16&255,ur>>16&255)<<16|ct(_e>>8&255,ur>>8&255)<<8|ct(_e>>0&255,ur>>0&255))>>>0};var lc=mi.PredictorAdd0;mi.PredictorAdd1=Cr,lr("Predictor2","PredictorAdd2"),lr("Predictor3","PredictorAdd3"),lr("Predictor4","PredictorAdd4"),lr("Predictor5","PredictorAdd5"),lr("Predictor6","PredictorAdd6"),lr("Predictor7","PredictorAdd7"),lr("Predictor8","PredictorAdd8"),lr("Predictor9","PredictorAdd9"),lr("Predictor10","PredictorAdd10"),lr("Predictor11","PredictorAdd11"),lr("Predictor12","PredictorAdd12"),lr("Predictor13","PredictorAdd13");var bl=mi.PredictorAdd2;hn("ColorIndexInverseTransform","MapARGB","32b",function(_e){return _e>>8&255},function(_e){return _e}),hn("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(_e){return _e},function(_e){return _e>>8&255});var il,Yl=mi.ColorIndexInverseTransform,cu=mi.MapARGB,Jc=mi.VP8LColorIndexInverseTransformAlpha,ec=mi.MapAlpha,al=mi.VP8LPredictorsAdd=[];al.length=16,(mi.VP8LPredictors=[]).length=16,(mi.VP8LPredictorsAdd_C=[]).length=16,(mi.VP8LPredictors_C=[]).length=16;var lo,Pc,Cc,Ec,Ql,Ac,Vc,vc,Lc,_c,ms,yo,es,Is,Tl,Tc,tc,cc,sl,tl,Fl,Zs,Nc,Ru,uu,Hu,Xc,bu,Tu=nt(511),Dd=nt(2041),md=nt(225),Md=nt(767),Rd=0,du=Dd,Rc=md,Fc=Md,Uc=Tu,Fu=0,zu=1,rd=2,Iu=3,yu=4,Wu=5,Ku=6,Vu=7,$c=8,hu=9,wu=10,Xu=[2,3,7],nu=[3,3,11],Fd=[280,256,256,256,40],Yc=[0,1,1,1,0],ru=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Gu=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Bd=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],nd=8,fu=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],xu=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Ou=null,gd=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Ad=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],id=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Lu=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],ad=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],Yu=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],vd=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Zl=[],jc=[],iu=[],Qu=1,Zu=2,pu=[],qc=[];Ie("UpsampleRgbLinePair",yn,3),Ie("UpsampleBgrLinePair",Jn,3),Ie("UpsampleRgbaLinePair",go,4),Ie("UpsampleBgraLinePair",Wa,4),Ie("UpsampleArgbLinePair",ga,4),Ie("UpsampleRgba4444LinePair",Xi,2),Ie("UpsampleRgb565LinePair",Ci,2);var bd=mi.UpsampleRgbLinePair,kd=mi.UpsampleBgrLinePair,Pd=mi.UpsampleRgbaLinePair,yd=mi.UpsampleBgraLinePair,wd=mi.UpsampleArgbLinePair,Ud=mi.UpsampleRgba4444LinePair,od=mi.UpsampleRgb565LinePair,mu=16,gu=1<ur.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ur.ca.f.kb.F!=null&&Ce()),ur.Pb&&0(Oe=Ot.Md)?0:100tt;++tt)12>(zt=Or.pb[tt]).lc&&(zt.ia=Oe*Cd[0>zt.lc?0:zt.lc]>>3),wt|=zt.ia;wt&&(alert("todo:VP8InitRandom"),Or.ia=1)}Or.Ga=Ot.Id,100Or.Ga&&(Or.Ga=0)}Ro(_e,ur)||(Je=_e.a)}}else Je=_e.a}Je==0&&Ue.Oa!=null&&Ue.Oa.fd&&(Je=dl(Ue.ba))}Ue=Je}Wr=Ue!=0?null:11>Wr?se.f.RGBA.eb:se.f.kb.y}else Wr=null;return Wr};var qu=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function nr(Yi,mi){for(var va="",zn=0;zn<4;zn++)va+=String.fromCharCode(Yi[mi++]);return va}function Ur(Yi,mi){return(Yi[mi+0]<<0|Yi[mi+1]<<8|Yi[mi+2]<<16)>>>0}function Lr(Yi,mi){return(Yi[mi+0]<<0|Yi[mi+1]<<8|Yi[mi+2]<<16|Yi[mi+3]<<24)>>>0}new Et;var Vr=[0],sr=[0],Bn=[],Er=new Et,gn=dt,rn=function(Yi,mi){var va={},zn=0,fn=!1,$n=0,Cn=0;if(va.frames=[],!function(nn,Yn,bi,Oi){for(var _i=0;_i>1&1}na!="ANMF"&&(mi+=pi)}return va}}(gn,0);rn.response=gn,rn.rgbaoutput=!0,rn.dataurl=!1;var Br=rn.header?rn.header:null,Vn=rn.frames?rn.frames:null;if(Br){Br.loop_counter=Br.loop_count,Vr=[Br.canvas_height],sr=[Br.canvas_width];for(var gi=0;gi>>1)&255;return Br},Et=function(sr,Bn,Er){var gn,rn,Br,Vn,gi=[],Ni=sr.length;gi[0]=4;for(var Wi=0;Wi>>na&255,na+=Br.bits;mi[$n]=fn>>>na&255}}if(Br.bits===16){Yi=(zi=new Uint32Array(Br.decodePixels().buffer)).length,va=new Uint8Array(Yi*(32/Br.pixelBitlength)*Br.colors),mi=new Uint8Array(Yi*(32/Br.pixelBitlength)),zn=Br.colors>1,$n=0,Cn=0;for(var pi=0;$n>>0&255,zn&&(va[Cn++]=fn>>>16&255,fn=zi[$n++],va[Cn++]=fn>>>0&255),mi[pi++]=fn>>>16&255;rn=8}Er!==dt.image_compression.NONE&&Me()?(Vr=Xe(va,Br.width*Br.colors,Br.colors,Er),Wi=Xe(mi,Br.width,1,Er)):(Vr=va,Wi=mi,ki=void 0)}if(Br.colorType===3&&(gn=this.color_spaces.INDEXED,Ni=Br.palette,Br.transparency.indexed)){var Ri=Br.transparency.indexed,Na=0;for($n=0,Yi=Ri.length;$n=0;dt--){for(var Qe=this.bottom_up?dt:this.height-1-dt,st=0;st>7-Bt&1];this.data[ft+4*Bt]=Et.blue,this.data[ft+4*Bt+1]=Et.green,this.data[ft+4*Bt+2]=Et.red,this.data[ft+4*Bt+3]=255}Xe!==0&&(this.pos+=4-Xe)}},Kr.prototype.bit4=function(){for(var dt=Math.ceil(this.width/2),Me=dt%4,Xe=this.height-1;Xe>=0;Xe--){for(var Qe=this.bottom_up?Xe:this.height-1-Xe,st=0;st>4,Et=15&nt,nr=this.palette[Bt];if(this.data[ft]=nr.blue,this.data[ft+1]=nr.green,this.data[ft+2]=nr.red,this.data[ft+3]=255,2*st+1>=this.width)break;nr=this.palette[Et],this.data[ft+4]=nr.blue,this.data[ft+4+1]=nr.green,this.data[ft+4+2]=nr.red,this.data[ft+4+3]=255}Me!==0&&(this.pos+=4-Me)}},Kr.prototype.bit8=function(){for(var dt=this.width%4,Me=this.height-1;Me>=0;Me--){for(var Xe=this.bottom_up?Me:this.height-1-Me,Qe=0;Qe=0;Xe--){for(var Qe=this.bottom_up?Xe:this.height-1-Xe,st=0;st>5&Me)/Me*255|0,Et=(nt>>10&Me)/Me*255|0,nr=nt>>15?255:0,Ur=Qe*this.width*4+4*st;this.data[Ur]=Et,this.data[Ur+1]=Bt,this.data[Ur+2]=ft,this.data[Ur+3]=nr}this.pos+=dt}},Kr.prototype.bit16=function(){for(var dt=this.width%3,Me=parseInt("11111",2),Xe=parseInt("111111",2),Qe=this.height-1;Qe>=0;Qe--){for(var st=this.bottom_up?Qe:this.height-1-Qe,nt=0;nt>5&Xe)/Xe*255|0,nr=(ft>>11)/Me*255|0,Ur=st*this.width*4+4*nt;this.data[Ur]=nr,this.data[Ur+1]=Et,this.data[Ur+2]=Bt,this.data[Ur+3]=255}this.pos+=dt}},Kr.prototype.bit24=function(){for(var dt=this.height-1;dt>=0;dt--){for(var Me=this.bottom_up?dt:this.height-1-dt,Xe=0;Xe=0;dt--)for(var Me=this.bottom_up?dt:this.height-1-dt,Xe=0;Xest&&(nt.push(Me.slice(nr,ft)),Et=0,nr=ft),Et+=Xe[ft],ft++;return nr!==ft&&nt.push(Me.slice(nr,ft)),nt},$e=function(Me,Xe,Qe){Qe||(Qe={});var st,nt,ft,Bt,Et,nr,Ur,Lr=[],Vr=[Lr],sr=Qe.textIndent||0,Bn=0,Er=0,gn=Me.split(" "),rn=mt.apply(this,[" ",Qe])[0];if(nr=Qe.lineIndent===-1?gn[0].length+2:Qe.lineIndent||0){var Br=Array(nr).join(" "),Vn=[];gn.map(function(Ni){(Ni=Ni.split(/\s*\n/)).length>1?Vn=Vn.concat(Ni.map(function(Wi,zi){return(zi&&Wi.length?` +`:"")+Wi})):Vn.push(Ni[0])}),gn=Vn,nr=Le.apply(this,[Br,Qe])}for(ft=0,Bt=gn.length;ftXe||gi){if(Er>Xe){for(Et=ze.apply(this,[st,nt,Xe-(sr+Bn),Xe]),Lr.push(Et.shift()),Lr=[Et.pop()];Et.length;)Vr.push([Et.shift()]);Er=nt.slice(st.length-(Lr[0]?Lr[0].length:0)).reduce(function(Ni,Wi){return Ni+Wi},0)}else Lr=[st];Vr.push(Lr),sr=Er+nr,Bn=rn}else Lr.push(st),sr+=Bn+Er,Bn=rn}return Ur=nr?function(Ni,Wi){return(Wi?Br:"")+Ni.join(" ")}:function(Ni){return Ni.join(" ")},Vr.map(Ur)},lt.splitTextToSize=function(dt,Me,Xe){var Qe,st=(Xe=Xe||{}).fontSize||this.internal.getFontSize(),nt=function(Ur){if(Ur.widths&&Ur.kerning)return{widths:Ur.widths,kerning:Ur.kerning};var Lr=this.internal.getFont(Ur.fontName,Ur.fontStyle);return Lr.metadata.Unicode?{widths:Lr.metadata.Unicode.widths||{0:1},kerning:Lr.metadata.Unicode.kerning||{}}:{font:Lr.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,Xe);Qe=Array.isArray(dt)?dt:String(dt).split(/\r?\n/);var ft=1*this.internal.scaleFactor*Me/st;nt.textIndent=Xe.textIndent?1*Xe.textIndent*this.internal.scaleFactor/st:0,nt.lineIndent=Xe.lineIndent;var Bt,Et,nr=[];for(Bt=0,Et=Qe.length;Bt1){for(Ur=0;Ur>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=Xe,this},function(dt){var Me=function(){var st='',nt=unescape(encodeURIComponent('')),ft=unescape(encodeURIComponent(st)),Bt=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),Et=unescape(encodeURIComponent("")),nr=unescape(encodeURIComponent("")),Ur=ft.length+Bt.length+Et.length+nt.length+nr.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Ur+" >>"),this.internal.write("stream"),this.internal.write(nt+ft+Bt+Et+nr),this.internal.write("endstream"),this.internal.write("endobj")},Xe=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};dt.addMetadata=function(Qe,st){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:Qe,namespaceuri:st||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",Xe),this.internal.events.subscribe("postPutResources",Me)),this}}(K.API),function(dt){var Me=dt.API,Xe=Me.pdfEscape16=function(nt,ft){for(var Bt,Et=ft.metadata.Unicode.widths,nr=["","0","00","000","0000"],Ur=[""],Lr=0,Vr=nt.length;Lr>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=Xe,this},function(dt){var Me=function(){var st='',nt=unescape(encodeURIComponent('')),ft=unescape(encodeURIComponent(st)),Bt=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),Et=unescape(encodeURIComponent("")),nr=unescape(encodeURIComponent("")),Ur=ft.length+Bt.length+Et.length+nt.length+nr.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Ur+" >>"),this.internal.write("stream"),this.internal.write(nt+ft+Bt+Et+nr),this.internal.write("endstream"),this.internal.write("endobj")},Xe=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};dt.addMetadata=function(Qe,st){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:Qe,namespaceuri:st||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",Xe),this.internal.events.subscribe("postPutResources",Me)),this}}(W.API),function(dt){var Me=dt.API,Xe=Me.pdfEscape16=function(nt,ft){for(var Bt,Et=ft.metadata.Unicode.widths,nr=["","0","00","000","0000"],Ur=[""],Lr=0,Vr=nt.length;Lr>"),Et("endobj");var Br=nr();Et("<<"),Et("/Type /Font"),Et("/BaseFont /"+B(Bt.fontName)),Et("/FontDescriptor "+rn+" 0 R"),Et("/W "+dt.API.PDFObject.convert(Lr)),Et("/CIDToGIDMap /Identity"),Et("/DW 1000"),Et("/Subtype /CIDFontType2"),Et("/CIDSystemInfo"),Et("<<"),Et("/Supplement 0"),Et("/Registry (Adobe)"),Et("/Ordering ("+Bt.encoding+")"),Et(">>"),Et(">>"),Et("endobj"),Bt.objectNumber=nr(),Et("<<"),Et("/Type /Font"),Et("/Subtype /Type0"),Et("/ToUnicode "+gn+" 0 R"),Et("/BaseFont /"+B(Bt.fontName)),Et("/Encoding /"+Bt.encoding),Et("/DescendantFonts ["+Br+" 0 R]"),Et(">>"),Et("endobj"),Bt.isAlreadyPutted=!0}}(nt)}]),Me.events.push(["putFont",function(nt){!function(ft){var Bt=ft.font,Et=ft.out,nr=ft.newObject,Ur=ft.putStream;if(Bt.metadata instanceof dt.API.TTFFont&&Bt.encoding==="WinAnsiEncoding"){for(var Lr=Bt.metadata.rawData,Vr="",sr=0;sr>"),Et("endobj"),Bt.objectNumber=nr();for(var rn=0;rn>"),Et("endobj"),Bt.isAlreadyPutted=!0}}(nt)}]);var st=function(ft){var Bt,Et=ft.text||"",nr=ft.x,Ur=ft.y,Lr=ft.options||{},Vr=ft.mutex||{},sr=Vr.pdfEscape,Bn=Vr.activeFontKey,Er=Vr.fonts,gn=Bn,rn="",Br=0,Vn="",gi=Er[gn].encoding;if(Er[gn].encoding!=="Identity-H")return{text:Et,x:nr,y:Ur,options:Lr,mutex:Vr};for(Vn=Et,gn=Bn,Array.isArray(Et)&&(Vn=Et[0]),Br=0;Br","<","[","]","[","{","}","{","\xAB","\xBB","\xAB","\u2039","\u203A","\u2039","\u2045","\u2046","\u2045","\u207D","\u207E","\u207D","\u208D","\u208E","\u208D","\u2264","\u2265","\u2264","\u2329","\u232A","\u2329","\uFE59","\uFE5A","\uFE59","\uFE5B","\uFE5C","\uFE5B","\uFE5D","\uFE5E","\uFE5D","\uFE64","\uFE65","\uFE64"],rn=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),Br=!1,Vn=0;this.__bidiEngine__={};var gi=function(fn){var $n=fn.charCodeAt(),Cn=$n>>8,ki=Er[Cn];return ki!==void 0?Lr[256*ki+(255&$n)]:Cn===252||Cn===253?"AL":rn.test(Cn)?"L":Cn===8?"R":"N"},Ni=function(fn){for(var $n,Cn=0;Cn=$n.length||(In=Cn[ki-1])!=="EN"&&In!=="AN"||(na=$n[ki+1])!=="EN"&&na!=="AN"?Ri="N":Br&&(na="AN"),Ri=na===In?na:"N";break;case"ES":Ri=(In=ki>0?Cn[ki-1]:"B")==="EN"&&ki+1<$n.length&&$n[ki+1]==="EN"?"EN":"N";break;case"ET":if(ki>0&&Cn[ki-1]==="EN"){Ri="EN";break}if(Br){Ri="N";break}for(Ei=ki+1,pi=$n.length;Ei=1425&&Na<=2303||Na===64286;if(In=$n[Ei],Un&&(In==="R"||In==="AL")){Ri="R";break}}}Ri=ki<1||(In=$n[ki-1])==="B"?"N":Cn[ki-1];break;case"B":Br=!1,st=!0,Ri=Vn;break;case"S":nt=!0,Ri="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Br=!1;break;case"BN":Ri="N"}return Ri},zi=function(fn,$n,Cn){var ki=fn.split("");return Cn&&Yi(ki,Cn,{hiLevel:Vn}),ki.reverse(),$n&&$n.reverse(),ki.join("")},Yi=function(fn,$n,Cn){var ki,In,na,Ei,pi,Ri=-1,Na=fn.length,Un=0,nn=[],Yn=Vn?sr:Vr,bi=[];for(Br=!1,st=!1,nt=!1,In=0;In0)if(ki===16){for(In=Ri;In-1){for(In=Ri;In=0&&Oi[ea]==="WS";ea--)_i[ea]=Vn}}(bi,$n,Na)},mi=function(fn,$n,Cn,ki,In){if(!(In.hiLevel=fn){for(pi=Un+1;pi=fn;)pi++;for(Ri=Un,Ei=pi-1;Ri=0&&(na[Na]=gn[Ri+1])}(ki,Cn,In),mi(2,ki,$n,Cn,In),mi(1,ki,$n,Cn,In),ki.join("")};return this.__bidiEngine__.doBidiReorder=function(zn,fn,$n){if(function(ki,In){if(In)for(var na=0;na>16))!=0&&(Xe=-(1+(65535^Xe))),this.italicAngle=+(Xe+"."+Qe)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(nt=this.familyClass)===1||nt===2||nt===3||nt===4||nt===5||nt===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},dt.prototype.characterToGlyph=function(Me){var Xe;return((Xe=this.cmap.unicode)!=null?Xe.codeMap[Me]:void 0)||0},dt.prototype.widthOfGlyph=function(Me){var Xe;return Xe=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(Me).advance*Xe},dt.prototype.widthOfString=function(Me,Xe,Qe){var st,nt,ft,Bt;for(ft=0,nt=0,Bt=(Me=""+Me).length;0<=Bt?ntBt;nt=0<=Bt?++nt:--nt)st=Me.charCodeAt(nt),ft+=this.widthOfGlyph(this.characterToGlyph(st))+Qe*(1e3/Xe)||0;return ft*(Xe/1e3)},dt.prototype.lineHeight=function(Me,Xe){var Qe;return Xe==null&&(Xe=!1),Qe=Xe?this.lineGap:0,(this.ascender+Qe-this.decender)/1e3*Me},dt}();var Fn,ar=function(){function dt(Me){this.data=Me!=null?Me:[],this.pos=0,this.length=this.data.length}return dt.prototype.readByte=function(){return this.data[this.pos++]},dt.prototype.writeByte=function(Me){return this.data[this.pos++]=Me},dt.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},dt.prototype.writeUInt32=function(Me){return this.writeByte(Me>>>24&255),this.writeByte(Me>>16&255),this.writeByte(Me>>8&255),this.writeByte(255&Me)},dt.prototype.readInt32=function(){var Me;return(Me=this.readUInt32())>=2147483648?Me-4294967296:Me},dt.prototype.writeInt32=function(Me){return Me<0&&(Me+=4294967296),this.writeUInt32(Me)},dt.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},dt.prototype.writeUInt16=function(Me){return this.writeByte(Me>>8&255),this.writeByte(255&Me)},dt.prototype.readInt16=function(){var Me;return(Me=this.readUInt16())>=32768?Me-65536:Me},dt.prototype.writeInt16=function(Me){return Me<0&&(Me+=65536),this.writeUInt16(Me)},dt.prototype.readString=function(Me){var Xe,Qe;for(Qe=[],Xe=0;0<=Me?XeMe;Xe=0<=Me?++Xe:--Xe)Qe[Xe]=String.fromCharCode(this.readByte());return Qe.join("")},dt.prototype.writeString=function(Me){var Xe,Qe,st;for(st=[],Xe=0,Qe=Me.length;0<=Qe?XeQe;Xe=0<=Qe?++Xe:--Xe)st.push(this.writeByte(Me.charCodeAt(Xe)));return st},dt.prototype.readShort=function(){return this.readInt16()},dt.prototype.writeShort=function(Me){return this.writeInt16(Me)},dt.prototype.readLongLong=function(){var Me,Xe,Qe,st,nt,ft,Bt,Et;return Me=this.readByte(),Xe=this.readByte(),Qe=this.readByte(),st=this.readByte(),nt=this.readByte(),ft=this.readByte(),Bt=this.readByte(),Et=this.readByte(),128&Me?-1*(72057594037927940*(255^Me)+281474976710656*(255^Xe)+1099511627776*(255^Qe)+4294967296*(255^st)+16777216*(255^nt)+65536*(255^ft)+256*(255^Bt)+(255^Et)+1):72057594037927940*Me+281474976710656*Xe+1099511627776*Qe+4294967296*st+16777216*nt+65536*ft+256*Bt+Et},dt.prototype.writeLongLong=function(Me){var Xe,Qe;return Xe=Math.floor(Me/4294967296),Qe=4294967295&Me,this.writeByte(Xe>>24&255),this.writeByte(Xe>>16&255),this.writeByte(Xe>>8&255),this.writeByte(255&Xe),this.writeByte(Qe>>24&255),this.writeByte(Qe>>16&255),this.writeByte(Qe>>8&255),this.writeByte(255&Qe)},dt.prototype.readInt=function(){return this.readInt32()},dt.prototype.writeInt=function(Me){return this.writeInt32(Me)},dt.prototype.read=function(Me){var Xe,Qe;for(Xe=[],Qe=0;0<=Me?QeMe;Qe=0<=Me?++Qe:--Qe)Xe.push(this.readByte());return Xe},dt.prototype.write=function(Me){var Xe,Qe,st,nt;for(nt=[],Qe=0,st=Me.length;Qent;st=0<=nt?++st:--st)Qe={tag:Xe.readString(4),checksum:Xe.readInt(),offset:Xe.readInt(),length:Xe.readInt()},this.tables[Qe.tag]=Qe}return Me.prototype.encode=function(Xe){var Qe,st,nt,ft,Bt,Et,nr,Ur,Lr,Vr,sr,Bn,Er;for(Er in sr=Object.keys(Xe).length,Et=Math.log(2),Lr=16*Math.floor(Math.log(sr)/Et),ft=Math.floor(Lr/Et),Ur=16*sr-Lr,(st=new ar).writeInt(this.scalarType),st.writeShort(sr),st.writeShort(Lr),st.writeShort(ft),st.writeShort(Ur),nt=16*sr,nr=st.pos+nt,Bt=null,Bn=[],Xe)for(Vr=Xe[Er],st.writeString(Er),st.writeInt(dt(Vr)),st.writeInt(nr),st.writeInt(Vr.length),Bn=Bn.concat(Vr),Er==="head"&&(Bt=nr),nr+=Vr.length;nr%4;)Bn.push(0),nr++;return st.write(Bn),Qe=2981146554-dt(st.data),st.pos=Bt+8,st.writeUInt32(Qe),st.data},dt=function(Qe){var st,nt,ft,Bt;for(Qe=Gn.call(Qe);Qe.length%4;)Qe.push(0);for(ft=new ar(Qe),nt=0,st=0,Bt=Qe.length;stVr;Et=0<=Vr?++gi:--gi)Ni.push(Me.readUInt16());return Ni}(),Me.pos+=2,Er=function(){var gi,Ni;for(Ni=[],Et=gi=0;0<=Vr?giVr;Et=0<=Vr?++gi:--gi)Ni.push(Me.readUInt16());return Ni}(),nr=function(){var gi,Ni;for(Ni=[],Et=gi=0;0<=Vr?giVr;Et=0<=Vr?++gi:--gi)Ni.push(Me.readUInt16());return Ni}(),Ur=function(){var gi,Ni;for(Ni=[],Et=gi=0;0<=Vr?giVr;Et=0<=Vr?++gi:--gi)Ni.push(Me.readUInt16());return Ni}(),st=(this.length-Me.pos+this.offset)/2,Bt=function(){var gi,Ni;for(Ni=[],Et=gi=0;0<=st?gist;Et=0<=st?++gi:--gi)Ni.push(Me.readUInt16());return Ni}(),Et=rn=0,Vn=nt.length;rn=gn;Qe=Bn<=gn?++Br:--Br)Ur[Et]===0?ft=Qe+nr[Et]:(ft=Bt[Ur[Et]/2+(Qe-Bn)-(Vr-Et)]||0)!==0&&(ft+=nr[Et]),this.codeMap[Qe]=65535&ft}Me.pos=Lr}return dt.encode=function(Me,Xe){var Qe,st,nt,ft,Bt,Et,nr,Ur,Lr,Vr,sr,Bn,Er,gn,rn,Br,Vn,gi,Ni,Ki,zi,Yi,mi,va,zn,fn,$n,Cn,ki,In,na,Ei,pi,Ri,Na,Un,nn,Yn,bi,Oi,_i,Zi,qi,ea,ya,co;switch(Cn=new ar,ft=Object.keys(Me).sort(function(io,rs){return io-rs}),Xe){case"macroman":for(Er=0,gn=function(){var io=[];for(Bn=0;Bn<256;++Bn)io.push(0);return io}(),Br={0:0},nt={},ki=0,pi=ft.length;ki=32768)for(Et.push(0),Ki.push(2*(sr.length+mi-Bn)),st=Ei=zn;zn<=Ur?Ei<=Ur:Ei>=Ur;st=zn<=Ur?++Ei:--Ei)sr.push(Qe[st].new);else Et.push($n-zn),Ki.push(0)}for(Cn.writeUInt16(3),Cn.writeUInt16(1),Cn.writeUInt32(12),Cn.writeUInt16(4),Cn.writeUInt16(16+8*mi+2*sr.length),Cn.writeUInt16(0),Cn.writeUInt16(va),Cn.writeUInt16(Yi),Cn.writeUInt16(Vr),Cn.writeUInt16(zi),_i=0,Un=Lr.length;_int;st=0<=nt?++st:--st)Qe=new Mt(Xe,this.offset),this.tables.push(Qe),Qe.isUnicode&&this.unicode==null&&(this.unicode=Qe);return!0},Me.encode=function(Xe,Qe){var st,nt;return Qe==null&&(Qe="macroman"),st=Mt.encode(Xe,Qe),(nt=new ar).writeUInt16(0),nt.writeUInt16(1),st.table=nt.data.concat(st.subtable),st},Me}(),Dt=function(dt){function Me(){return Me.__super__.constructor.apply(this,arguments)}return mr(Me,Fn),Me.prototype.tag="hhea",Me.prototype.parse=function(Xe){return Xe.pos=this.offset,this.version=Xe.readInt(),this.ascender=Xe.readShort(),this.decender=Xe.readShort(),this.lineGap=Xe.readShort(),this.advanceWidthMax=Xe.readShort(),this.minLeftSideBearing=Xe.readShort(),this.minRightSideBearing=Xe.readShort(),this.xMaxExtent=Xe.readShort(),this.caretSlopeRise=Xe.readShort(),this.caretSlopeRun=Xe.readShort(),this.caretOffset=Xe.readShort(),Xe.pos+=8,this.metricDataFormat=Xe.readShort(),this.numberOfMetrics=Xe.readUInt16()},Me}(),tr=function(dt){function Me(){return Me.__super__.constructor.apply(this,arguments)}return mr(Me,Fn),Me.prototype.tag="OS/2",Me.prototype.parse=function(Xe){if(Xe.pos=this.offset,this.version=Xe.readUInt16(),this.averageCharWidth=Xe.readShort(),this.weightClass=Xe.readUInt16(),this.widthClass=Xe.readUInt16(),this.type=Xe.readShort(),this.ySubscriptXSize=Xe.readShort(),this.ySubscriptYSize=Xe.readShort(),this.ySubscriptXOffset=Xe.readShort(),this.ySubscriptYOffset=Xe.readShort(),this.ySuperscriptXSize=Xe.readShort(),this.ySuperscriptYSize=Xe.readShort(),this.ySuperscriptXOffset=Xe.readShort(),this.ySuperscriptYOffset=Xe.readShort(),this.yStrikeoutSize=Xe.readShort(),this.yStrikeoutPosition=Xe.readShort(),this.familyClass=Xe.readShort(),this.panose=function(){var Qe,st;for(st=[],Qe=0;Qe<10;++Qe)st.push(Xe.readByte());return st}(),this.charRange=function(){var Qe,st;for(st=[],Qe=0;Qe<4;++Qe)st.push(Xe.readInt());return st}(),this.vendorID=Xe.readString(4),this.selection=Xe.readShort(),this.firstCharIndex=Xe.readShort(),this.lastCharIndex=Xe.readShort(),this.version>0&&(this.ascent=Xe.readShort(),this.descent=Xe.readShort(),this.lineGap=Xe.readShort(),this.winAscent=Xe.readShort(),this.winDescent=Xe.readShort(),this.codePageRange=function(){var Qe,st;for(st=[],Qe=0;Qe<2;Qe=++Qe)st.push(Xe.readInt());return st}(),this.version>1))return this.xHeight=Xe.readShort(),this.capHeight=Xe.readShort(),this.defaultChar=Xe.readShort(),this.breakChar=Xe.readShort(),this.maxContext=Xe.readShort()},Me}(),Dr=function(dt){function Me(){return Me.__super__.constructor.apply(this,arguments)}return mr(Me,Fn),Me.prototype.tag="post",Me.prototype.parse=function(Xe){var Qe,st,nt;switch(Xe.pos=this.offset,this.format=Xe.readInt(),this.italicAngle=Xe.readInt(),this.underlinePosition=Xe.readShort(),this.underlineThickness=Xe.readShort(),this.isFixedPitch=Xe.readInt(),this.minMemType42=Xe.readInt(),this.maxMemType42=Xe.readInt(),this.minMemType1=Xe.readInt(),this.maxMemType1=Xe.readInt(),this.format){case 65536:break;case 131072:var ft;for(st=Xe.readUInt16(),this.glyphNameIndex=[],ft=0;0<=st?ftst;ft=0<=st?++ft:--ft)this.glyphNameIndex.push(Xe.readUInt16());for(this.names=[],nt=[];Xe.posEt;ft=0<=Et?++Bt:--Bt)nr.push(Xe.readUInt32());return nr}.call(this)}},Me}(),dr=function(Me,Xe){this.raw=Me,this.length=Me.length,this.platformID=Xe.platformID,this.encodingID=Xe.encodingID,this.languageID=Xe.languageID},Tr=function(dt){function Me(){return Me.__super__.constructor.apply(this,arguments)}return mr(Me,Fn),Me.prototype.tag="name",Me.prototype.parse=function(Xe){var Qe,st,nt,ft,Bt,Et,nr,Ur,Lr,Vr,sr;for(Xe.pos=this.offset,Xe.readShort(),Qe=Xe.readShort(),Et=Xe.readShort(),st=[],ft=0;0<=Qe?ftQe;ft=0<=Qe?++ft:--ft)st.push({platformID:Xe.readShort(),encodingID:Xe.readShort(),languageID:Xe.readShort(),nameID:Xe.readShort(),length:Xe.readShort(),offset:this.offset+Et+Xe.readShort()});for(nr={},ft=Lr=0,Vr=st.length;LrEt;Qe=0<=Et?++Qe:--Qe)this.metrics.push({advance:Xe.readUInt16(),lsb:Xe.readInt16()});for(nt=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Ur,Lr;for(Lr=[],Qe=Ur=0;0<=nt?Urnt;Qe=0<=nt?++Ur:--Ur)Lr.push(Xe.readInt16());return Lr}(),this.widths=function(){var Ur,Lr,Vr,sr;for(sr=[],Ur=0,Lr=(Vr=this.metrics).length;Urnt;Qe=0<=nt?++Bt:--Bt)nr.push(this.widths.push(st));return nr},Me.prototype.forGlyph=function(Xe){return Xe in this.metrics?this.metrics[Xe]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[Xe-this.metrics.length]}},Me}(),Gn=[].slice,di=function(dt){function Me(){return Me.__super__.constructor.apply(this,arguments)}return mr(Me,Fn),Me.prototype.tag="glyf",Me.prototype.parse=function(){return this.cache={}},Me.prototype.glyphFor=function(Xe){var Qe,st,nt,ft,Bt,Et,nr,Ur,Lr,Vr;return Xe in this.cache?this.cache[Xe]:(ft=this.file.loca,Qe=this.file.contents,st=ft.indexOf(Xe),(nt=ft.lengthOf(Xe))===0?this.cache[Xe]=null:(Qe.pos=this.offset+st,Bt=(Et=new ar(Qe.read(nt))).readShort(),Ur=Et.readShort(),Vr=Et.readShort(),nr=Et.readShort(),Lr=Et.readShort(),this.cache[Xe]=Bt===-1?new Fi(Et,Ur,Vr,nr,Lr):new Ti(Et,Bt,Ur,Vr,nr,Lr),this.cache[Xe]))},Me.prototype.encode=function(Xe,Qe,st){var nt,ft,Bt,Et,nr;for(Bt=[],ft=[],Et=0,nr=Qe.length;Et0&&(nt+=nr)}for(var Ur=new Array(4*st.length),Lr=0;Lr>8,Ur[4*Lr+1]=(16711680&st[Lr])>>16,Ur[4*Lr]=(4278190080&st[Lr])>>24;return Ur},Me}(),Ta=function(){function dt(Me){this.font=Me,this.subset={},this.unicodes={},this.next=33}return dt.prototype.generateCmap=function(){var Me,Xe,Qe,st,nt;for(Xe in st=this.font.cmap.tables[0].codeMap,Me={},nt=this.subset)Qe=nt[Xe],Me[Xe]=st[Qe];return Me},dt.prototype.glyphsFor=function(Me){var Xe,Qe,st,nt,ft,Bt,Et;for(st={},ft=0,Bt=Me.length;ft0)for(nt in Et=this.glyphsFor(Xe))Qe=Et[nt],st[nt]=Qe;return st},dt.prototype.encode=function(Me,Xe){var Qe,st,nt,ft,Bt,Et,nr,Ur,Lr,Vr,sr,Bn,Er,gn,rn;for(st in Qe=rr.encode(this.generateCmap(),"unicode"),ft=this.glyphsFor(Me),sr={0:0},rn=Qe.charMap)sr[(Et=rn[st]).old]=Et.new;for(Bn in Vr=Qe.maxGlyphID,ft)Bn in sr||(sr[Bn]=Vr++);return Ur=function(Br){var Vn,gi;for(Vn in gi={},Br)gi[Br[Vn]]=Vn;return gi}(sr),Lr=Object.keys(Ur).sort(function(Br,Vn){return Br-Vn}),Er=function(){var Br,Vn,gi;for(gi=[],Br=0,Vn=Lr.length;Br>"),nt.join(` -`)}return""+Xe},Me}(),R.default=K}.call(this,l("yLpj"))},e5VY:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("YNAk"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},eIcI:function(j,R,l){var x=l("bYtY"),b=l("hM6l");function A(t,e,m){b.call(this,t,e,m),this.type="value",this.angle=0,this.name="",this.model}x.inherits(A,b);var f=A;j.exports=f},eJH7:function(j,R,l){var x=l("bYtY");function b(A){var f=A.polar;if(f){x.isArray(f)||(f=[f]);var t=[];x.each(f,function(e,m){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),A.radar=A.radar||[],x.isArray(A.radar)||(A.radar=[A.radar]),A.radar.push(e)):t.push(e)}),A.polar=t}x.each(A.series,function(e){e&&e.type==="radar"&&e.polarIndex&&(e.radarIndex=e.polarIndex)})}j.exports=b},eP3c:function(j,R,l){"use strict";function x(ht){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(de){return typeof de}:x=function(de){return de&&typeof Symbol=="function"&&de.constructor===Symbol&&de!==Symbol.prototype?"symbol":typeof de},x(ht)}Object.defineProperty(R,"__esModule",{value:!0}),R.inflateReset=me,R.inflateReset2=be,R.inflateResetKeep=Ne,R.inflateInit=it,R.inflateInit2=Re,R.inflate=Ft,R.inflateEnd=Ut,R.inflateGetHeader=Wt,R.inflateSetDictionary=$t,R.inflateInfo=R.Z_DEFLATED=R.Z_BUF_ERROR=R.Z_MEM_ERROR=R.Z_DATA_ERROR=R.Z_STREAM_ERROR=R.Z_NEED_DICT=R.Z_STREAM_END=R.Z_OK=R.Z_TREES=R.Z_BLOCK=R.Z_FINISH=void 0;var b=a(l("6BzB")),A=m(l("xlC8")),f=m(l("QV2g")),t=m(l("sjKO")),e=m(l("JSwD"));function m(ht){return ht&&ht.__esModule?ht:{default:ht}}function d(){if(typeof WeakMap!="function")return null;var ht=new WeakMap;return d=function(){return ht},ht}function a(ht){if(ht&&ht.__esModule)return ht;if(ht===null||x(ht)!=="object"&&typeof ht!="function")return{default:ht};var Ee=d();if(Ee&&Ee.has(ht))return Ee.get(ht);var de={},qe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var rt in ht)if(Object.prototype.hasOwnProperty.call(ht,rt)){var ve=qe?Object.getOwnPropertyDescriptor(ht,rt):null;ve&&(ve.get||ve.set)?Object.defineProperty(de,rt,ve):de[rt]=ht[rt]}return de.default=ht,Ee&&Ee.set(ht,de),de}var n=0,s=1,c=2,i=4;R.Z_FINISH=i;var u=5;R.Z_BLOCK=u;var r=6;R.Z_TREES=r;var o=0;R.Z_OK=o;var h=1;R.Z_STREAM_END=h;var p=2;R.Z_NEED_DICT=p;var g=-2;R.Z_STREAM_ERROR=g;var v=-3;R.Z_DATA_ERROR=v;var y=-4;R.Z_MEM_ERROR=y;var w=-5;R.Z_BUF_ERROR=w;var S=8;R.Z_DEFLATED=S;var _=1,I=2,C=3,E=4,O=5,M=6,F=7,H=8,B=9,X=10,J=11,k=12,W=13,z=14,K=15,P=16,G=17,V=18,q=19,re=20,ce=21,ie=22,fe=23,xe=24,Se=25,ke=26,ge=27,Be=28,ee=29,ue=30,Ge=31,ae=32,Z=852,Y=592,te=15,we=te;function pe(ht){return(ht>>>24&255)+(ht>>>8&65280)+((ht&65280)<<8)+((ht&255)<<24)}function De(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new b.Buf16(320),this.work=new b.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Ne(ht){var Ee;return!ht||!ht.state?g:(Ee=ht.state,ht.total_in=ht.total_out=Ee.total=0,ht.msg="",Ee.wrap&&(ht.adler=Ee.wrap&1),Ee.mode=_,Ee.last=0,Ee.havedict=0,Ee.dmax=32768,Ee.head=null,Ee.hold=0,Ee.bits=0,Ee.lencode=Ee.lendyn=new b.Buf32(Z),Ee.distcode=Ee.distdyn=new b.Buf32(Y),Ee.sane=1,Ee.back=-1,o)}function me(ht){var Ee;return!ht||!ht.state?g:(Ee=ht.state,Ee.wsize=0,Ee.whave=0,Ee.wnext=0,Ne(ht))}function be(ht,Ee){var de,qe;return!ht||!ht.state?g:(qe=ht.state,Ee<0?(de=0,Ee=-Ee):(de=(Ee>>4)+1,Ee<48&&(Ee&=15)),Ee&&(Ee<8||Ee>15)?g:(qe.window!==null&&qe.wbits!==Ee&&(qe.window=null),qe.wrap=de,qe.wbits=Ee,me(ht)))}function Re(ht,Ee){var de,qe;return ht?(qe=new De,ht.state=qe,qe.window=null,de=be(ht,Ee),de!==o&&(ht.state=null),de):g}function it(ht){return Re(ht,we)}var yt=!0,pt,Pe;function Nt(ht){if(yt){var Ee;for(pt=new b.Buf32(512),Pe=new b.Buf32(32),Ee=0;Ee<144;)ht.lens[Ee++]=8;for(;Ee<256;)ht.lens[Ee++]=9;for(;Ee<280;)ht.lens[Ee++]=7;for(;Ee<288;)ht.lens[Ee++]=8;for((0,e.default)(s,ht.lens,0,288,pt,0,ht.work,{bits:9}),Ee=0;Ee<32;)ht.lens[Ee++]=5;(0,e.default)(c,ht.lens,0,32,Pe,0,ht.work,{bits:5}),yt=!1}ht.lencode=pt,ht.lenbits=9,ht.distcode=Pe,ht.distbits=5}function ut(ht,Ee,de,qe){var rt,ve=ht.state;return ve.window===null&&(ve.wsize=1<=ve.wsize?(b.arraySet(ve.window,Ee,de-ve.wsize,ve.wsize,0),ve.wnext=0,ve.whave=ve.wsize):(rt=ve.wsize-ve.wnext,rt>qe&&(rt=qe),b.arraySet(ve.window,Ee,de-qe,rt,ve.wnext),qe-=rt,qe?(b.arraySet(ve.window,Ee,de-qe,qe,0),ve.wnext=qe,ve.whave=ve.wsize):(ve.wnext+=rt,ve.wnext===ve.wsize&&(ve.wnext=0),ve.whave>>8&255,de.check=(0,f.default)(de.check,mt,2,0),kt=0,Ar=0,de.mode=I;break}if(de.flags=0,de.head&&(de.head.done=!1),!(de.wrap&1)||(((kt&255)<<8)+(kt>>8))%31){ht.msg="incorrect header check",de.mode=ue;break}if((kt&15)!==S){ht.msg="unknown compression method",de.mode=ue;break}if(kt>>>=4,Ar-=4,Kn=(kt&15)+8,de.wbits===0)de.wbits=Kn;else if(Kn>de.wbits){ht.msg="invalid window size",de.mode=ue;break}de.dmax=1<>8&1),de.flags&512&&(mt[0]=kt&255,mt[1]=kt>>>8&255,de.check=(0,f.default)(de.check,mt,2,0)),kt=0,Ar=0,de.mode=C;case C:for(;Ar<32;){if(jt===0)break e;jt--,kt+=qe[ve++]<>>8&255,mt[2]=kt>>>16&255,mt[3]=kt>>>24&255,de.check=(0,f.default)(de.check,mt,4,0)),kt=0,Ar=0,de.mode=E;case E:for(;Ar<16;){if(jt===0)break e;jt--,kt+=qe[ve++]<>8),de.flags&512&&(mt[0]=kt&255,mt[1]=kt>>>8&255,de.check=(0,f.default)(de.check,mt,2,0)),kt=0,Ar=0,de.mode=O;case O:if(de.flags&1024){for(;Ar<16;){if(jt===0)break e;jt--,kt+=qe[ve++]<>>8&255,de.check=(0,f.default)(de.check,mt,2,0)),kt=0,Ar=0}else de.head&&(de.head.extra=null);de.mode=M;case M:if(de.flags&1024&&(Kt=de.length,Kt>jt&&(Kt=jt),Kt&&(de.head&&(Kn=de.head.extra_len-de.length,de.head.extra||(de.head.extra=new Array(de.head.extra_len)),b.arraySet(de.head.extra,qe,ve,Kt,Kn)),de.flags&512&&(de.check=(0,f.default)(de.check,qe,Kt,ve)),jt-=Kt,ve+=Kt,de.length-=Kt),de.length))break e;de.length=0,de.mode=F;case F:if(de.flags&2048){if(jt===0)break e;Kt=0;do Kn=qe[ve+Kt++],de.head&&Kn&&de.length<65536&&(de.head.name+=String.fromCharCode(Kn));while(Kn&&Kt>9&1,de.head.done=!0),ht.adler=de.check=0,de.mode=k;break;case X:for(;Ar<32;){if(jt===0)break e;jt--,kt+=qe[ve++]<>>=Ar&7,Ar-=Ar&7,de.mode=ge;break}for(;Ar<3;){if(jt===0)break e;jt--,kt+=qe[ve++]<>>=1,Ar-=1;switch(kt&3){case 0:de.mode=z;break;case 1:if(Nt(de),de.mode=re,Ee===r){kt>>>=2,Ar-=2;break e}break;case 2:de.mode=G;break;case 3:ht.msg="invalid block type",de.mode=ue}kt>>>=2,Ar-=2;break;case z:for(kt>>>=Ar&7,Ar-=Ar&7;Ar<32;){if(jt===0)break e;jt--,kt+=qe[ve++]<>>16^65535)){ht.msg="invalid stored block lengths",de.mode=ue;break}if(de.length=kt&65535,kt=0,Ar=0,de.mode=K,Ee===r)break e;case K:de.mode=P;case P:if(Kt=de.length,Kt){if(Kt>jt&&(Kt=jt),Kt>He&&(Kt=He),Kt===0)break e;b.arraySet(rt,qe,ve,Kt,bt),jt-=Kt,ve+=Kt,He-=Kt,bt+=Kt,de.length-=Kt;break}de.mode=k;break;case G:for(;Ar<14;){if(jt===0)break e;jt--,kt+=qe[ve++]<>>=5,Ar-=5,de.ndist=(kt&31)+1,kt>>>=5,Ar-=5,de.ncode=(kt&15)+4,kt>>>=4,Ar-=4,de.nlen>286||de.ndist>30){ht.msg="too many length or distance symbols",de.mode=ue;break}de.have=0,de.mode=V;case V:for(;de.have>>=3,Ar-=3}for(;de.have<19;)de.lens[$e[de.have++]]=0;if(de.lencode=de.lendyn,de.lenbits=7,Le={bits:de.lenbits},lt=(0,e.default)(n,de.lens,0,19,de.lencode,0,de.work,Le),de.lenbits=Le.bits,lt){ht.msg="invalid code lengths set",de.mode=ue;break}de.have=0,de.mode=q;case q:for(;de.have>>24,yr=Ze>>>16&255,br=Ze&65535,Gt<=Ar);){if(jt===0)break e;jt--,kt+=qe[ve++]<>>=Gt,Ar-=Gt,de.lens[de.have++]=br;else{if(br===16){for(ze=Gt+2;Ar>>=Gt,Ar-=Gt,de.have===0){ht.msg="invalid bit length repeat",de.mode=ue;break}Kn=de.lens[de.have-1],Kt=3+(kt&3),kt>>>=2,Ar-=2}else if(br===17){for(ze=Gt+3;Ar>>=Gt,Ar-=Gt,Kn=0,Kt=3+(kt&7),kt>>>=3,Ar-=3}else{for(ze=Gt+7;Ar>>=Gt,Ar-=Gt,Kn=0,Kt=11+(kt&127),kt>>>=7,Ar-=7}if(de.have+Kt>de.nlen+de.ndist){ht.msg="invalid bit length repeat",de.mode=ue;break}for(;Kt--;)de.lens[de.have++]=Kn}}if(de.mode===ue)break;if(de.lens[256]===0){ht.msg="invalid code -- missing end-of-block",de.mode=ue;break}if(de.lenbits=9,Le={bits:de.lenbits},lt=(0,e.default)(s,de.lens,0,de.nlen,de.lencode,0,de.work,Le),de.lenbits=Le.bits,lt){ht.msg="invalid literal/lengths set",de.mode=ue;break}if(de.distbits=6,de.distcode=de.distdyn,Le={bits:de.distbits},lt=(0,e.default)(c,de.lens,de.nlen,de.ndist,de.distcode,0,de.work,Le),de.distbits=Le.bits,lt){ht.msg="invalid distances set",de.mode=ue;break}if(de.mode=re,Ee===r)break e;case re:de.mode=ce;case ce:if(jt>=6&&He>=258){ht.next_out=bt,ht.avail_out=He,ht.next_in=ve,ht.avail_in=jt,de.hold=kt,de.bits=Ar,(0,t.default)(ht,Ht),bt=ht.next_out,rt=ht.output,He=ht.avail_out,ve=ht.next_in,qe=ht.input,jt=ht.avail_in,kt=de.hold,Ar=de.bits,de.mode===k&&(de.back=-1);break}for(de.back=0;!(Ze=de.lencode[kt&(1<>>24,yr=Ze>>>16&255,br=Ze&65535,Gt<=Ar);){if(jt===0)break e;jt--,kt+=qe[ve++]<>Sr)],Gt=Ze>>>24,yr=Ze>>>16&255,br=Ze&65535,Sr+Gt<=Ar);){if(jt===0)break e;jt--,kt+=qe[ve++]<>>=Sr,Ar-=Sr,de.back+=Sr}if(kt>>>=Gt,Ar-=Gt,de.back+=Gt,de.length=br,yr===0){de.mode=ke;break}if(yr&32){de.back=-1,de.mode=k;break}if(yr&64){ht.msg="invalid literal/length code",de.mode=ue;break}de.extra=yr&15,de.mode=ie;case ie:if(de.extra){for(ze=de.extra;Ar>>=de.extra,Ar-=de.extra,de.back+=de.extra}de.was=de.length,de.mode=fe;case fe:for(;!(Ze=de.distcode[kt&(1<>>24,yr=Ze>>>16&255,br=Ze&65535,Gt<=Ar);){if(jt===0)break e;jt--,kt+=qe[ve++]<>Sr)],Gt=Ze>>>24,yr=Ze>>>16&255,br=Ze&65535,Sr+Gt<=Ar);){if(jt===0)break e;jt--,kt+=qe[ve++]<>>=Sr,Ar-=Sr,de.back+=Sr}if(kt>>>=Gt,Ar-=Gt,de.back+=Gt,yr&64){ht.msg="invalid distance code",de.mode=ue;break}de.offset=br,de.extra=yr&15,de.mode=xe;case xe:if(de.extra){for(ze=de.extra;Ar>>=de.extra,Ar-=de.extra,de.back+=de.extra}if(de.offset>de.dmax){ht.msg="invalid distance too far back",de.mode=ue;break}de.mode=Se;case Se:if(He===0)break e;if(Kt=Ht-He,de.offset>Kt){if(Kt=de.offset-Kt,Kt>de.whave&&de.sane){ht.msg="invalid distance too far back",de.mode=ue;break}Kt>de.wnext?(Kt-=de.wnext,ot=de.wsize-Kt):ot=de.wnext-Kt,Kt>de.length&&(Kt=de.length),et=de.window}else et=rt,ot=bt-de.offset,Kt=de.length;Kt>He&&(Kt=He),He-=Kt,de.length-=Kt;do rt[bt++]=et[ot++];while(--Kt);de.length===0&&(de.mode=ce);break;case ke:if(He===0)break e;rt[bt++]=de.length,He--,de.mode=ce;break;case ge:if(de.wrap){for(;Ar<32;){if(jt===0)break e;jt--,kt|=qe[ve++]<=0;O--)_[O]==null?_.splice(O,1):delete _[O].$action},_flatten:function(v,y,w){f.each(v,function(S){if(!S)return;w&&(S.parentOption=w),y.push(S);var _=S.children;S.type==="group"&&_&&this._flatten(_,y,S),delete S.children},this)},useElOptionsToUpdate:function(){var v=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,v}});A.extendComponentView({type:"graphic",init:function(v,y){this._elMap=f.createHashMap(),this._lastGraphicModel},render:function(v,y,w){v!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=v,this._updateElements(v),this._relocate(v,w)},_updateElements:function(v){var y=v.useElOptionsToUpdate();if(!y)return;var w=this._elMap,S=this.group;f.each(y,function(_){var I=_.$action,C=_.id,E=w.get(C),O=_.parentId,M=O!=null?w.get(O):S,F=_.style;_.type==="text"&&F&&(_.hv&&_.hv[1]&&(F.textVerticalAlign=F.textBaseline=null),!F.hasOwnProperty("textFill")&&F.fill&&(F.textFill=F.fill),!F.hasOwnProperty("textStroke")&&F.stroke&&(F.textStroke=F.stroke));var H=u(_);!I||I==="merge"?E?E.attr(H):c(C,M,H,w):I==="replace"?(i(E,w),c(C,M,H,w)):I==="remove"&&i(E,w);var B=w.get(C);B&&(B.__ecGraphicWidthOption=_.width,B.__ecGraphicHeightOption=_.height,g(B,v,_))})},_relocate:function(v,y){for(var w=v.option.elements,S=this.group,_=this._elMap,I=y.getWidth(),C=y.getHeight(),E=0;E=0;E--){var O=w[E],M=_.get(O.id);if(!M)continue;var F=M.parent,B=F===S?{width:I,height:C}:{width:F.__ecGraphicWidth,height:F.__ecGraphicHeight};m.positionElement(M,O,B,null,{hv:O.hv,boundingMode:O.bounding})}},_clear:function(){var v=this._elMap;v.each(function(y){i(y,v)}),this._elMap=f.createHashMap()},dispose:function(){this._clear()}});function c(v,y,w,S){var _=w.type,I=n.hasOwnProperty(_)?n[_]:e.getShapeClass(_),C=new I(w);y.add(C),S.set(v,C),C.__ecGraphicId=v}function i(v,y){var w=v&&v.parent;w&&(v.type==="group"&&v.traverse(function(S){i(S,y)}),y.removeKey(v.__ecGraphicId),w.remove(v))}function u(v){return v=f.extend({},v),f.each(["id","parentId","$action","hv","bounding"].concat(m.LOCATION_PARAMS),function(y){delete v[y]}),v}function r(v,y){var w;return f.each(y,function(S){v[S]!=null&&v[S]!=="auto"&&(w=!0)}),w}function o(v,y){var w=v.exist;if(y.id=v.keyInfo.id,!y.type&&w&&(y.type=w.type),y.parentId==null){var S=y.parentOption;S?y.parentId=S.id:w&&(y.parentId=w.parentId)}y.parentOption=null}function h(v,y,w){var S=f.extend({},w),_=v[y],I=w.$action||"merge";I==="merge"?_?(f.merge(_,S,!0),m.mergeLayoutParam(_,S,{ignoreSize:!0}),m.copyLayoutParams(w,_)):v[y]=S:I==="replace"?v[y]=S:I==="remove"&&(_&&(v[y]=null))}function p(v,y){if(!v)return;v.hv=y.hv=[r(y,["left","right"]),r(y,["top","bottom"])],v.type==="group"&&(v.width==null&&(v.width=y.width=0),v.height==null&&(v.height=y.height=0))}function g(v,y,w){var S=v.eventData;!v.silent&&!v.ignore&&!S&&(S=v.eventData={componentType:"graphic",componentIndex:y.componentIndex,name:v.name}),S&&(S.info=v.info)}},f3JH:function(j,R,l){l("aTJb"),l("OlYY"),l("fc+c"),l("oY9F"),l("MqEG"),l("LBfv"),l("noeP")},f5HG:function(j,R,l){var x=l("IwbS"),b=l("QBsz"),A=x.Line.prototype,f=x.BezierCurve.prototype;function t(m){return isNaN(+m.cpx1)||isNaN(+m.cpy1)}var e=x.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(m,d){this[t(d)?"_buildPathLine":"_buildPathCurve"](m,d)},_buildPathLine:A.buildPath,_buildPathCurve:f.buildPath,pointAt:function(m){return this[t(this.shape)?"_pointAtLine":"_pointAtCurve"](m)},_pointAtLine:A.pointAt,_pointAtCurve:f.pointAt,tangentAt:function(m){var d=this.shape,a=t(d)?[d.x2-d.x1,d.y2-d.y1]:this._tangentAtCurve(m);return b.normalize(a,a)},_tangentAtCurve:f.tangentAt});j.exports=e},f5Yq:function(j,R,l){var x=l("bYtY"),b=x.isFunction;function A(f,t,e){return{seriesType:f,performRawSeries:!0,reset:function(m,d,a){var n=m.getData(),s=m.get("symbol"),c=m.get("symbolSize"),i=m.get("symbolKeepAspect"),u=m.get("symbolRotate"),r=b(s),o=b(c),h=b(u),p=r||o||h,g=!r&&s?s:t,v=o?null:c,y=h?null:y;if(n.setVisual({legendSymbol:e||g,symbol:g,symbolSize:v,symbolKeepAspect:i,symbolRotate:u}),d.isSeriesFiltered(m))return;function w(S,_){if(p){var I=m.getRawValue(_),C=m.getDataParams(_);r&&S.setItemVisual(_,"symbol",s(I,C)),o&&S.setItemVisual(_,"symbolSize",c(I,C)),h&&S.setItemVisual(_,"symbolRotate",u(I,C))}if(S.hasItemOption){var E=S.getItemModel(_),O=E.getShallow("symbol",!0),M=E.getShallow("symbolSize",!0),F=E.getShallow("symbolRotate",!0),H=E.getShallow("symbolKeepAspect",!0);O!=null&&S.setItemVisual(_,"symbol",O),M!=null&&S.setItemVisual(_,"symbolSize",M),F!=null&&S.setItemVisual(_,"symbolRotate",F),H!=null&&S.setItemVisual(_,"symbolKeepAspect",H)}}return{dataEach:n.hasItemOption||p?w:null}}}}j.exports=A},fAei:function(j,R,l){"use strict";l.d(R,"a",function(){return v.a});var x=l("rePB"),b=l("VTBJ"),A=l("KQm4"),f=l("1OyB"),t=l("vuIU"),e=l("Ji7U"),m=l("LK+K"),d=l("q1tI"),a=l("4IlW"),n=l("Kwbf"),s=l("TSYQ"),c=l.n(s),i=l("sboe"),u=l("OZM5"),r=l("815F"),o=l("ODXe"),h=l("Ff2n"),p=l("+nKL"),g=l("8XRh"),v=l("WaYH"),y=function(re,ce){var ie=re.className,fe=re.style,xe=re.motion,Se=re.motionNodes,ke=re.motionType,ge=re.onMotionStart,Be=re.onMotionEnd,ee=re.active,ue=re.treeNodeRequiredProps,Ge=Object(h.a)(re,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),ae=d.useState(!0),Z=Object(o.a)(ae,2),Y=Z[0],te=Z[1],we=d.useContext(i.a),pe=we.prefixCls,De=d.useRef(!1),Ne=function(){De.current||Be(),De.current=!0};return Object(d.useEffect)(function(){Se&&ke==="hide"&&Y&&te(!1)},[Se]),Object(d.useEffect)(function(){return Se&&ge(),function(){Se&&Ne()}},[]),Se?d.createElement(g.default,Object.assign({ref:ce,visible:Y},xe,{motionAppear:ke==="show",onAppearEnd:Ne,onLeaveEnd:Ne}),function(me,be){var Re=me.className,it=me.style;return d.createElement("div",{ref:be,className:c()("".concat(pe,"-treenode-motion"),Re),style:it},Se.map(function(yt){var pt=yt.data,Pe=pt.key,Nt=Object(h.a)(pt,["key"]),ut=yt.isStart,Ft=yt.isEnd;delete Nt.children;var Ut=Object(r.f)(Pe,ue);return d.createElement(v.a,Object.assign({},Nt,Ut,{active:ee,data:yt.data,key:Pe,isStart:ut,isEnd:Ft}))}))}):d.createElement(v.a,Object.assign({domRef:ce,className:ie,style:fe},Ge,{active:ee}))};y.displayName="MotionTreeNode";var w=d.forwardRef(y),S=w;function _(){var q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ce=q.length,ie=re.length;if(Math.abs(ce-ie)!==1)return{add:!1,key:null};function fe(xe,Se){var ke=new Map;xe.forEach(function(Be){ke.set(Be,!0)});var ge=Se.filter(function(Be){return!ke.has(Be)});return ge.length===1?ge[0]:null}return ce ").concat(re);return re}var k=function(re,ce){var ie=re.prefixCls,fe=re.data,xe=re.selectable,Se=re.checkable,ke=re.expandedKeys,ge=re.selectedKeys,Be=re.checkedKeys,ee=re.loadedKeys,ue=re.loadingKeys,Ge=re.halfCheckedKeys,ae=re.keyEntities,Z=re.disabled,Y=re.dragging,te=re.dragOverNodeKey,we=re.dropPosition,pe=re.motion,De=re.height,Ne=re.itemHeight,me=re.virtual,be=re.focusable,Re=re.activeItem,it=re.focused,yt=re.tabIndex,pt=re.onKeyDown,Pe=re.onFocus,Nt=re.onBlur,ut=re.onActiveChange,Ft=re.onListChangeStart,Ut=re.onListChangeEnd,Wt=Object(h.a)(re,["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"]),$t=d.useRef(null);d.useImperativeHandle(ce,function(){return{scrollTo:function(Kn){$t.current.scrollTo(Kn)}}});var or=d.useState(ke),ht=Object(o.a)(or,2),Ee=ht[0],de=ht[1],qe=d.useState(fe),rt=Object(o.a)(qe,2),ve=rt[0],bt=rt[1],jt=d.useState(fe),He=Object(o.a)(jt,2),kt=He[0],Ar=He[1],at=d.useState([]),Ht=Object(o.a)(at,2),Kt=Ht[0],ot=Ht[1],et=d.useState(null),Ze=Object(o.a)(et,2),Gt=Ze[0],yr=Ze[1];function br(){bt(fe),Ar(fe),ot([]),yr(null),Ut()}d.useEffect(function(){de(ke);var cn=_(Ee,ke);if(cn.key!==null)if(cn.add){var Kn=ve.findIndex(function(gt){var ir=gt.data.key;return ir===cn.key}),lt=B(I(ve,fe,cn.key),me,De,Ne),mt=ve.slice();mt.splice(Kn+1,0,H),Ar(mt),ot(lt),yr("show")}else{var Le=fe.findIndex(function(gt){var ir=gt.data.key;return ir===cn.key}),ze=B(I(fe,ve,cn.key),me,De,Ne),$e=fe.slice();$e.splice(Le+1,0,H),Ar($e),ot(ze),yr("hide")}else ve!==fe&&(bt(fe),Ar(fe))},[ke,fe]),d.useEffect(function(){Y||br()},[Y]);var Sr=pe?kt:fe,Tn={expandedKeys:ke,selectedKeys:ge,loadedKeys:ee,loadingKeys:ue,checkedKeys:Be,halfCheckedKeys:Ge,dragOverNodeKey:te,dropPosition:we,keyEntities:ae};return d.createElement(d.Fragment,null,it&&Re&&d.createElement("span",{style:C,"aria-live":"assertive"},J(Re)),d.createElement("div",{role:"tree"},d.createElement("input",{style:C,disabled:be===!1||Z,tabIndex:be!==!1?yt:null,onKeyDown:pt,onFocus:Pe,onBlur:Nt,value:"",onChange:E})),d.createElement(p.a,Object.assign({},Wt,{data:Sr,itemKey:X,height:De,fullHeight:!1,virtual:me,itemHeight:Ne,prefixCls:"".concat(ie,"-list"),ref:$t}),function(cn){var Kn=cn.pos,lt=cn.data,mt=lt.key,Le=Object(h.a)(lt,["key"]),ze=cn.isStart,$e=cn.isEnd,gt=Object(r.e)(mt,Kn);delete Le.children;var ir=Object(r.f)(gt,Tn);return d.createElement(S,Object.assign({},Le,ir,{active:Re&&mt===Re.data.key,pos:Kn,data:cn.data,isStart:ze,isEnd:$e,motion:pe,motionNodes:mt===O?Kt:null,motionType:Gt,onMotionStart:Ft,onMotionEnd:br,treeNodeRequiredProps:Tn,onMouseMove:function(){ut(null)}}))}))},W=d.forwardRef(k);W.displayName="NodeList";var z=W,K=l("NvD2"),P=function(q){Object(e.a)(ce,q);var re=Object(m.a)(ce);function ce(){var ie;return Object(f.a)(this,ce),ie=re.apply(this,arguments),ie.destroyed=!1,ie.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},ie.listRef=d.createRef(),ie.onNodeDragStart=function(fe,xe){var Se=ie.state,ke=Se.expandedKeys,ge=Se.keyEntities,Be=ie.props.onDragStart,ee=xe.props.eventKey;ie.dragNode=xe;var ue=Object(u.b)(ke,ee);ie.setState({dragging:!0,dragNodesKeys:Object(u.g)(ee,ge)}),ie.setExpandedKeys(ue),Be&&Be({event:fe,node:Object(r.b)(xe.props)})},ie.onNodeDragEnter=function(fe,xe){var Se=ie.state,ke=Se.expandedKeys,ge=Se.keyEntities,Be=Se.dragNodesKeys,ee=ie.props.onDragEnter,ue=xe.props,Ge=ue.pos,ae=ue.eventKey;if(!ie.dragNode||Be.indexOf(ae)!==-1)return;var Z=Object(u.c)(fe,xe);if(ie.dragNode.props.eventKey===ae&&Z===0){ie.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){ie.setState({dragOverNodeKey:ae,dropPosition:Z}),ie.delayedDragEnterLogic||(ie.delayedDragEnterLogic={}),Object.keys(ie.delayedDragEnterLogic).forEach(function(Y){clearTimeout(ie.delayedDragEnterLogic[Y])}),ie.delayedDragEnterLogic[Ge]=window.setTimeout(function(){if(!ie.state.dragging)return;var Y=Object(A.a)(ke),te=ge[ae];te&&(te.children||[]).length&&(Y=Object(u.a)(ke,ae)),"expandedKeys"in ie.props||ie.setExpandedKeys(Y),ee&&ee({event:fe,node:Object(r.b)(xe.props),expandedKeys:Y})},400)},0)},ie.onNodeDragOver=function(fe,xe){var Se=ie.state.dragNodesKeys,ke=ie.props.onDragOver,ge=xe.props.eventKey;if(Se.indexOf(ge)!==-1)return;if(ie.dragNode&&ge===ie.state.dragOverNodeKey){var Be=Object(u.c)(fe,xe);if(Be===ie.state.dropPosition)return;ie.setState({dropPosition:Be})}ke&&ke({event:fe,node:Object(r.b)(xe.props)})},ie.onNodeDragLeave=function(fe,xe){var Se=ie.props.onDragLeave;ie.setState({dragOverNodeKey:""}),Se&&Se({event:fe,node:Object(r.b)(xe.props)})},ie.onNodeDragEnd=function(fe,xe){var Se=ie.props.onDragEnd;ie.setState({dragOverNodeKey:""}),ie.cleanDragState(),Se&&Se({event:fe,node:Object(r.b)(xe.props)}),ie.dragNode=null},ie.onNodeDrop=function(fe,xe){var Se=ie.state,ke=Se.dragNodesKeys,ge=ke===void 0?[]:ke,Be=Se.dropPosition,ee=ie.props.onDrop,ue=xe.props,Ge=ue.eventKey,ae=ue.pos;if(ie.setState({dragOverNodeKey:""}),ie.cleanDragState(),ge.indexOf(Ge)!==-1){Object(n.a)(!1,"Can not drop to dragNode(include it's children node)");return}var Z=Object(u.k)(ae),Y={event:fe,node:Object(r.b)(xe.props),dragNode:ie.dragNode?Object(r.b)(ie.dragNode.props):null,dragNodesKeys:ge.slice(),dropPosition:Be+Number(Z[Z.length-1]),dropToGap:!1};Be!==0&&(Y.dropToGap=!0),ee&&ee(Y),ie.dragNode=null},ie.cleanDragState=function(){var fe=ie.state.dragging;fe&&ie.setState({dragging:!1})},ie.onNodeClick=function(fe,xe){var Se=ie.props.onClick;Se&&Se(fe,xe)},ie.onNodeDoubleClick=function(fe,xe){var Se=ie.props.onDoubleClick;Se&&Se(fe,xe)},ie.onNodeSelect=function(fe,xe){var Se=ie.state.selectedKeys,ke=ie.state.keyEntities,ge=ie.props,Be=ge.onSelect,ee=ge.multiple,ue=xe.selected,Ge=xe.key,ae=!ue;ae?ee?Se=Object(u.a)(Se,Ge):Se=[Ge]:Se=Object(u.b)(Se,Ge);var Z=Se.map(function(Y){var te=ke[Y];return te?te.node:null}).filter(function(Y){return Y});ie.setUncontrolledState({selectedKeys:Se}),Be&&Be(Se,{event:"select",selected:ae,node:xe,selectedNodes:Z,nativeEvent:fe.nativeEvent})},ie.onNodeCheck=function(fe,xe,Se){var ke=ie.state,ge=ke.keyEntities,Be=ke.checkedKeys,ee=ke.halfCheckedKeys,ue=ie.props,Ge=ue.checkStrictly,ae=ue.onCheck,Z=xe.key,Y,te={event:"check",node:xe,checked:Se,nativeEvent:fe.nativeEvent};if(Ge){var we=Se?Object(u.a)(Be,Z):Object(u.b)(Be,Z),pe=Object(u.b)(ee,Z);Y={checked:we,halfChecked:pe},te.checkedNodes=we.map(function(it){return ge[it]}).filter(function(it){return it}).map(function(it){return it.node}),ie.setUncontrolledState({checkedKeys:we})}else{var De=Object(K.a)([].concat(Object(A.a)(Be),[Z]),!0,ge),Ne=De.checkedKeys,me=De.halfCheckedKeys;if(!Se){var be=new Set(Ne);be.delete(Z);var Re=Object(K.a)(Array.from(be),{checked:!1,halfCheckedKeys:me},ge);Ne=Re.checkedKeys,me=Re.halfCheckedKeys}Y=Ne,te.checkedNodes=[],te.checkedNodesPositions=[],te.halfCheckedKeys=me,Ne.forEach(function(it){var yt=ge[it];if(!yt)return;var pt=yt.node,Pe=yt.pos;te.checkedNodes.push(pt),te.checkedNodesPositions.push({node:pt,pos:Pe})}),ie.setUncontrolledState({checkedKeys:Ne},!1,{halfCheckedKeys:me})}ae&&ae(Y,te)},ie.onNodeLoad=function(fe){return new Promise(function(xe){ie.setState(function(Se){var ke=Se.loadedKeys,ge=ke===void 0?[]:ke,Be=Se.loadingKeys,ee=Be===void 0?[]:Be,ue=ie.props,Ge=ue.loadData,ae=ue.onLoad,Z=fe.key;if(!Ge||ge.indexOf(Z)!==-1||ee.indexOf(Z)!==-1)return{};var Y=Ge(fe);return Y.then(function(){var te=ie.state,we=te.loadedKeys,pe=te.loadingKeys,De=Object(u.a)(we,Z),Ne=Object(u.b)(pe,Z);ae&&ae(De,{event:"load",node:fe}),ie.setUncontrolledState({loadedKeys:De}),ie.setState({loadingKeys:Ne}),xe()}),{loadingKeys:Object(u.a)(ee,Z)}})})},ie.onNodeMouseEnter=function(fe,xe){var Se=ie.props.onMouseEnter;Se&&Se({event:fe,node:xe})},ie.onNodeMouseLeave=function(fe,xe){var Se=ie.props.onMouseLeave;Se&&Se({event:fe,node:xe})},ie.onNodeContextMenu=function(fe,xe){var Se=ie.props.onRightClick;Se&&(fe.preventDefault(),Se({event:fe,node:xe}))},ie.onFocus=function(){var fe=ie.props.onFocus;ie.setState({focused:!0}),fe&&fe.apply(void 0,arguments)},ie.onBlur=function(){var fe=ie.props.onBlur;ie.setState({focused:!1}),ie.onActiveChange(null),fe&&fe.apply(void 0,arguments)},ie.getTreeNodeRequiredProps=function(){var fe=ie.state,xe=fe.expandedKeys,Se=fe.selectedKeys,ke=fe.loadedKeys,ge=fe.loadingKeys,Be=fe.checkedKeys,ee=fe.halfCheckedKeys,ue=fe.dragOverNodeKey,Ge=fe.dropPosition,ae=fe.keyEntities;return{expandedKeys:xe||[],selectedKeys:Se||[],loadedKeys:ke||[],loadingKeys:ge||[],checkedKeys:Be||[],halfCheckedKeys:ee||[],dragOverNodeKey:ue,dropPosition:Ge,keyEntities:ae}},ie.setExpandedKeys=function(fe){var xe=ie.state.treeData,Se=Object(r.d)(xe,fe);ie.setUncontrolledState({expandedKeys:fe,flattenNodes:Se},!0)},ie.onNodeExpand=function(fe,xe){var Se=ie.state.expandedKeys,ke=ie.state.listChanging,ge=ie.props,Be=ge.onExpand,ee=ge.loadData,ue=xe.key,Ge=xe.expanded;if(ke)return;var ae=Se.indexOf(ue),Z=!Ge;if(Object(n.a)(Ge&&ae!==-1||!Ge&&ae===-1,"Expand state not sync with index check"),Z?Se=Object(u.a)(Se,ue):Se=Object(u.b)(Se,ue),ie.setExpandedKeys(Se),Be&&Be(Se,{node:xe,expanded:Z,nativeEvent:fe.nativeEvent}),Z&&ee){var Y=ie.onNodeLoad(xe);Y&&Y.then(function(){var te=Object(r.d)(ie.state.treeData,Se);ie.setUncontrolledState({flattenNodes:te})})}},ie.onListChangeStart=function(){ie.setUncontrolledState({listChanging:!0})},ie.onListChangeEnd=function(){setTimeout(function(){ie.setUncontrolledState({listChanging:!1})})},ie.onActiveChange=function(fe){var xe=ie.state.activeKey,Se=ie.props.onActiveChange;if(xe===fe)return;ie.setState({activeKey:fe}),fe!==null&&ie.scrollTo({key:fe}),Se&&Se(fe)},ie.getActiveItem=function(){var fe=ie.state,xe=fe.activeKey,Se=fe.flattenNodes;return xe===null?null:Se.find(function(ke){var ge=ke.data.key;return ge===xe})||null},ie.offsetActiveKey=function(fe){var xe=ie.state,Se=xe.flattenNodes,ke=xe.activeKey,ge=Se.findIndex(function(ue){var Ge=ue.data.key;return Ge===ke});ge===-1&&fe<0&&(ge=Se.length),ge=(ge+fe+Se.length)%Se.length;var Be=Se[ge];if(Be){var ee=Be.data.key;ie.onActiveChange(ee)}else ie.onActiveChange(null)},ie.onKeyDown=function(fe){var xe=ie.state,Se=xe.activeKey,ke=xe.expandedKeys,ge=xe.checkedKeys,Be=ie.props,ee=Be.onKeyDown,ue=Be.checkable,Ge=Be.selectable;switch(fe.which){case a.a.UP:{ie.offsetActiveKey(-1),fe.preventDefault();break}case a.a.DOWN:{ie.offsetActiveKey(1),fe.preventDefault();break}}var ae=ie.getActiveItem();if(ae&&ae.data){var Z=ie.getTreeNodeRequiredProps(),Y=ae.data.isLeaf===!1||!!(ae.data.children||[]).length,te=Object(r.b)(Object(b.a)(Object(b.a)({},Object(r.f)(Se,Z)),{},{data:ae.data,active:!0}));switch(fe.which){case a.a.LEFT:{Y&&ke.includes(Se)?ie.onNodeExpand({},te):ae.parent&&ie.onActiveChange(ae.parent.data.key),fe.preventDefault();break}case a.a.RIGHT:{Y&&!ke.includes(Se)?ie.onNodeExpand({},te):ae.children&&ae.children.length&&ie.onActiveChange(ae.children[0].data.key),fe.preventDefault();break}case a.a.ENTER:case a.a.SPACE:{ue&&!te.disabled&&te.checkable!==!1&&!te.disableCheckbox?ie.onNodeCheck({},te,!ge.includes(Se)):!ue&&Ge&&!te.disabled&&te.selectable!==!1&&ie.onNodeSelect({},te);break}}}ee&&ee(fe)},ie.setUncontrolledState=function(fe){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(ie.destroyed)return;var ke=!1,ge=!0,Be={};Object.keys(fe).forEach(function(ee){if(ee in ie.props){ge=!1;return}ke=!0,Be[ee]=fe[ee]}),ke&&(!xe||ge)&&ie.setState(Object(b.a)(Object(b.a)({},Be),Se))},ie.scrollTo=function(fe){ie.listRef.current.scrollTo(fe)},ie}return Object(t.a)(ce,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var fe,xe=this.state,Se=xe.focused,ke=xe.flattenNodes,ge=xe.keyEntities,Be=xe.dragging,ee=xe.activeKey,ue=this.props,Ge=ue.prefixCls,ae=ue.className,Z=ue.style,Y=ue.showLine,te=ue.focusable,we=ue.tabIndex,pe=we===void 0?0:we,De=ue.selectable,Ne=ue.showIcon,me=ue.icon,be=ue.switcherIcon,Re=ue.draggable,it=ue.checkable,yt=ue.checkStrictly,pt=ue.disabled,Pe=ue.motion,Nt=ue.loadData,ut=ue.filterTreeNode,Ft=ue.height,Ut=ue.itemHeight,Wt=ue.virtual,$t=ue.titleRender,or=ue.onContextMenu,ht=Object(u.f)(this.props);return d.createElement(i.a.Provider,{value:{prefixCls:Ge,selectable:De,showIcon:Ne,icon:me,switcherIcon:be,draggable:Re,checkable:it,checkStrictly:yt,disabled:pt,keyEntities:ge,loadData:Nt,filterTreeNode:ut,titleRender:$t,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},d.createElement("div",{className:c()(Ge,ae,(fe={},Object(x.a)(fe,"".concat(Ge,"-show-line"),Y),Object(x.a)(fe,"".concat(Ge,"-focused"),Se),Object(x.a)(fe,"".concat(Ge,"-active-focused"),ee!==null),fe))},d.createElement(z,Object.assign({ref:this.listRef,prefixCls:Ge,style:Z,data:ke,disabled:pt,selectable:De,checkable:!!it,motion:Pe,dragging:Be,height:Ft,itemHeight:Ut,virtual:Wt,focusable:te,focused:Se,tabIndex:pe,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:or},this.getTreeNodeRequiredProps(),ht))))}}],[{key:"getDerivedStateFromProps",value:function(fe,xe){var Se=xe.prevProps,ke={prevProps:fe};function ge(me){return!Se&&me in fe||Se&&Se[me]!==fe[me]}var Be;if(ge("treeData")?Be=fe.treeData:ge("children")&&(Object(n.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Be=Object(r.c)(fe.children)),Be){ke.treeData=Be;var ee=Object(r.a)(Be);ke.keyEntities=Object(b.a)(Object(x.a)({},O,F),ee.keyEntities)}var ue=ke.keyEntities||xe.keyEntities;if(ge("expandedKeys")||Se&&ge("autoExpandParent"))ke.expandedKeys=fe.autoExpandParent||!Se&&fe.defaultExpandParent?Object(u.e)(fe.expandedKeys,ue):fe.expandedKeys;else if(!Se&&fe.defaultExpandAll){var Ge=Object(b.a)({},ue);delete Ge[O],ke.expandedKeys=Object.keys(Ge).map(function(me){return Ge[me].key})}else!Se&&fe.defaultExpandedKeys&&(ke.expandedKeys=fe.autoExpandParent||fe.defaultExpandParent?Object(u.e)(fe.defaultExpandedKeys,ue):fe.defaultExpandedKeys);if(ke.expandedKeys||delete ke.expandedKeys,Be||ke.expandedKeys){var ae=Object(r.d)(Be||xe.treeData,ke.expandedKeys||xe.expandedKeys);ke.flattenNodes=ae}if(fe.selectable&&(ge("selectedKeys")?ke.selectedKeys=Object(u.d)(fe.selectedKeys,fe):!Se&&fe.defaultSelectedKeys&&(ke.selectedKeys=Object(u.d)(fe.defaultSelectedKeys,fe))),fe.checkable){var Z;if(ge("checkedKeys")?Z=Object(u.j)(fe.checkedKeys)||{}:!Se&&fe.defaultCheckedKeys?Z=Object(u.j)(fe.defaultCheckedKeys)||{}:Be&&(Z=Object(u.j)(fe.checkedKeys)||{checkedKeys:xe.checkedKeys,halfCheckedKeys:xe.halfCheckedKeys}),Z){var Y=Z,te=Y.checkedKeys,we=te===void 0?[]:te,pe=Y.halfCheckedKeys,De=pe===void 0?[]:pe;if(!fe.checkStrictly){var Ne=Object(K.a)(we,!0,ue);we=Ne.checkedKeys,De=Ne.halfCheckedKeys}ke.checkedKeys=we,ke.halfCheckedKeys=De}}return ge("loadedKeys")&&(ke.loadedKeys=fe.loadedKeys),ke}}]),ce}(d.Component);P.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[]},P.TreeNode=v.a;var G=P,V=R.b=G},fE02:function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("/IIm"),f=l("vZ6x"),t=l("b9oc"),e=l("72pK"),m=l("Kagy"),d=l("IUWy");l("3TkU");var a=m.toolbox.dataZoom,n=b.each,s="\0_ec_\0toolbox-dataZoom_";function c(g,v,y){(this._brushController=new A(y.getZr())).on("brush",b.bind(this._onBrush,this)).mount(),this._isZoomActive}c.defaultOption={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:b.clone(a.title)};var i=c.prototype;i.render=function(g,v,y,w){this.model=g,this.ecModel=v,this.api=y,h(g,v,this,w,y),o(g,v)},i.onclick=function(g,v,y){u[y].call(this)},i.remove=function(g,v){this._brushController.unmount()},i.dispose=function(g,v){this._brushController.dispose()};var u={zoom:function(){var g=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:g})},back:function(){this._dispatchZoomAction(t.pop(this.ecModel))}};i._onBrush=function(g,v){if(!v.isEnd||!g.length)return;var y={},w=this.ecModel;this._brushController.updateCovers([]);var S=new f(r(this.model.option),w,{include:["grid"]});S.matchOutputRanges(g,w,function(C,E,O){if(O.type!=="cartesian2d")return;var M=C.brushType;M==="rect"?(_("x",O,E[0]),_("y",O,E[1])):_({lineX:"x",lineY:"y"}[M],O,E)}),t.push(w,y),this._dispatchZoomAction(y);function _(C,E,O){var M=E.getAxis(C),F=M.model,H=I(C,F,w),B=H.findRepresentativeAxisProxy(F).getMinMaxSpan();(B.minValueSpan!=null||B.maxValueSpan!=null)&&(O=e(0,O.slice(),M.scale.getExtent(),0,B.minValueSpan,B.maxValueSpan)),H&&(y[H.id]={dataZoomId:H.id,startValue:O[0],endValue:O[1]})}function I(C,E,O){var M;return O.eachComponent({mainType:"dataZoom",subType:"select"},function(F){var H=F.getAxisModel(C,E.componentIndex);H&&(M=F)}),M}},i._dispatchZoomAction=function(g){var v=[];n(g,function(y,w){v.push(b.clone(y))}),v.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:v})};function r(g){var v={};return b.each(["xAxisIndex","yAxisIndex"],function(y){v[y]=g[y],v[y]==null&&(v[y]="all"),(v[y]===!1||v[y]==="none")&&(v[y]=[])}),v}function o(g,v){g.setIconStatus("back",t.count(v)>1?"emphasis":"normal")}function h(g,v,y,w,S){var _=y._isZoomActive;w&&w.type==="takeGlobalCursor"&&(_=w.key==="dataZoomSelect"?w.dataZoomSelectActive:!1),y._isZoomActive=_,g.setIconStatus("zoom",_?"emphasis":"normal");var I=new f(r(g.option),v,{include:["grid"]});y._brushController.setPanels(I.makePanelOpts(S,function(C){return C.xAxisDeclared&&!C.yAxisDeclared?"lineX":!C.xAxisDeclared&&C.yAxisDeclared?"lineY":"rect"})).enableBrush(_?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}d.register("dataZoom",c),x.registerPreprocessor(function(g){if(!g)return;var v=g.dataZoom||(g.dataZoom=[]);b.isArray(v)||(g.dataZoom=v=[v]);var y=g.toolbox;if(y&&(b.isArray(y)&&(y=y[0]),y&&y.feature)){var w=y.feature.dataZoom;S("xAxis",w),S("yAxis",w)}function S(I,C){if(!C)return;var E=I+"Index",O=C[E];O!=null&&O!=="all"&&!b.isArray(O)&&(O=O===!1||O==="none"?[]:[O]),_(I,function(M,F){if(O!=null&&O!=="all"&&b.indexOf(O,F)===-1)return;var H={type:"select",$fromToolbox:!0,filterMode:C.filterMode||"filter",id:s+I+F};H[E]=F,v.push(H)})}function _(I,C){var E=g[I];b.isArray(E)||(E=E?[E]:[]),n(E,C)}});var p=c;j.exports=p},fNCr:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("tSko"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},fUL4:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("r+aA"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},fW2E:function(j,R){var l={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function x(b,A,f){return l.hasOwnProperty(A)?f*=b.dpr:f}j.exports=x},"fc+c":function(j,R,l){var x=l("sS/r"),b=x.extend({type:"dataZoom",render:function(A,f,t,e){this.dataZoomModel=A,this.ecModel=f,this.api=t},getTargetCoordInfo:function(){var A=this.dataZoomModel,f=this.ecModel,t={};A.eachTargetAxis(function(m,d){var a=f.getComponent(m.axis,d);if(a){var n=a.getCoordSysModel();n&&e(n,a,t[n.mainType]||(t[n.mainType]=[]),n.componentIndex)}},this);function e(m,d,a,n){for(var s,c=0;c0&&(z[0]=-z[0],z[1]=-z[1]);var P=O[0]<0?-1:1;if(v.__position!=="start"&&v.__position!=="end"){var G=-Math.atan2(O[1],O[0]);C[0].8?"left":E[0]<-.8?"right":"center",H=E[1]>.8?"top":E[1]<-.8?"bottom":"middle";break;case"start":M=[-E[0]*J+I[0],-E[1]*k+I[1]],F=E[0]>.8?"right":E[0]<-.8?"left":"center",H=E[1]>.8?"bottom":E[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":M=[J*P+I[0],I[1]+V],F=O[0]<0?"right":"left",B=[-J*P,-V];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":M=[K[0],K[1]+V],F="center",B=[0,-V];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":M=[-J*P+C[0],C[1]+V],F=O[0]>=0?"right":"left",B=[J*P,-V];break}v.attr({style:{textVerticalAlign:v.__verticalAlign||H,textAlign:v.__textAlign||F},position:M,scale:[y,y],origin:B})}}function u(h,p,g){t.Group.call(this),this._createLine(h,p,g)}var r=u.prototype;r.beforeUpdate=i,r._createLine=function(h,p,g){var v=h.hostModel,y=h.getItemLayout(p),w=s(y);w.shape.percent=0,t.initProps(w,{shape:{percent:1}},v,p),this.add(w);var S=new t.Text({name:"label",lineLabelOriginalOpacity:1});this.add(S),x.each(d,function(_){var I=n(_,h,p);this.add(I),this[a(_)]=h.getItemVisual(p,_)},this),this._updateCommonStl(h,p,g)},r.updateData=function(h,p,g){var v=h.hostModel,y=this.childOfName("line"),w=h.getItemLayout(p),S={shape:{}};c(S.shape,w),t.updateProps(y,S,v,p),x.each(d,function(_){var I=h.getItemVisual(p,_),C=a(_);if(this[C]!==I){this.remove(this.childOfName(_));var E=n(_,h,p);this.add(E)}this[C]=I},this),this._updateCommonStl(h,p,g)},r._updateCommonStl=function(h,p,g){var v=h.hostModel,y=this.childOfName("line"),w=g&&g.lineStyle,S=g&&g.hoverLineStyle,_=g&&g.labelModel,I=g&&g.hoverLabelModel;if(!g||h.hasItemOption){var C=h.getItemModel(p);w=C.getModel("lineStyle").getLineStyle(),S=C.getModel("emphasis.lineStyle").getLineStyle(),_=C.getModel("label"),I=C.getModel("emphasis.label")}var E=h.getItemVisual(p,"color"),O=x.retrieve3(h.getItemVisual(p,"opacity"),w.opacity,1);y.useStyle(x.defaults({strokeNoScale:!0,fill:"none",stroke:E,opacity:O},w)),y.hoverStyle=S,x.each(d,function(P){var G=this.childOfName(P);G&&(G.setColor(E),G.setStyle({opacity:O}))},this);var M=_.getShallow("show"),F=I.getShallow("show"),H=this.childOfName("label"),B,X;if((M||F)&&(B=E||"#000",X=v.getFormattedLabel(p,"normal",h.dataType),X==null)){var J=v.getRawValue(p);X=J==null?h.getName(p):isFinite(J)?m(J):J}var k=M?X:null,W=F?x.retrieve2(v.getFormattedLabel(p,"emphasis",h.dataType),X):null,z=H.style;if(k!=null||W!=null){t.setTextStyle(H.style,_,{text:k},{autoColor:B}),H.__textAlign=z.textAlign,H.__verticalAlign=z.textVerticalAlign,H.__position=_.get("position")||"middle";var K=_.get("distance");x.isArray(K)||(K=[K,K]),H.__labelDistance=K}W!=null?H.hoverStyle={text:W,textFill:I.getTextColor(!0),fontStyle:I.getShallow("fontStyle"),fontWeight:I.getShallow("fontWeight"),fontSize:I.getShallow("fontSize"),fontFamily:I.getShallow("fontFamily")}:H.hoverStyle={text:null},H.ignore=!M&&!F,t.setHoverStyle(this)},r.highlight=function(){this.trigger("emphasis")},r.downplay=function(){this.trigger("normal")},r.updateLayout=function(h,p){this.setLinePoints(h.getItemLayout(p))},r.setLinePoints=function(h){var p=this.childOfName("line");c(p.shape,h),p.dirty()},x.inherits(u,t.Group);var o=u;j.exports=o},fmMI:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("bYtY"),f=A.each,t=A.filter,e=A.map,m=A.isArray,d=A.indexOf,a=A.isObject,n=A.isString,s=A.createHashMap,c=A.assert,i=A.clone,u=A.merge,r=A.extend,o=A.mixin,h=l("4NO4"),p=l("Qxkt"),g=l("bLfw"),v=l("iXHM"),y=l("5Hur"),w=l("D5nY"),S=w.resetSourceDefaulter,_="\0_ec_inner",I=p.extend({init:function(k,W,z,K){z=z||{},this.option=null,this._theme=new p(z),this._optionManager=K},setOption:function(k,W){c(!(_ in k),"please use chart.getOption()"),this._optionManager.setOption(k,W),this.resetOption(null)},resetOption:function(k){var W=!1,z=this._optionManager;if(!k||k==="recreate"){var K=z.mountOption(k==="recreate");!this.option||k==="recreate"?O.call(this,K):(this.restoreData(),this.mergeOption(K)),W=!0}if((k==="timeline"||k==="media")&&this.restoreData(),!k||k==="recreate"||k==="timeline"){var P=z.getTimelineOption(this);P&&(this.mergeOption(P),W=!0)}if(!k||k==="recreate"||k==="media"){var G=z.getMediaOption(this,this._api);G.length&&f(G,function(V){this.mergeOption(V,W=!0)},this)}return W},mergeOption:function(k){var W=this.option,z=this._componentsMap,K=[];S(this),f(k,function(G,V){if(G==null)return;g.hasClass(V)?V&&K.push(V):W[V]=W[V]==null?i(G):u(W[V],G,!0)}),g.topologicalTravel(K,g.getAllClassMainTypes(),P,this);function P(G,V){var q=h.normalizeToArray(k[G]),re=h.mappingToExists(z.get(G),q);h.makeIdAndName(re),f(re,function(ie,fe){var xe=ie.option;a(xe)&&(ie.keyInfo.mainType=G,ie.keyInfo.subType=F(G,xe,ie.exist))});var ce=M(z,V);W[G]=[],z.set(G,[]),f(re,function(ie,fe){var xe=ie.exist,Se=ie.option;if(c(a(Se)||xe,"Empty component definition"),!Se)xe.mergeOption({},this),xe.optionUpdated({},!1);else{var ke=g.getClass(G,ie.keyInfo.subType,!0);if(xe&&xe.constructor===ke)xe.name=ie.keyInfo.name,xe.mergeOption(Se,this),xe.optionUpdated(Se,!1);else{var ge=r({dependentModels:ce,componentIndex:fe},ie.keyInfo);xe=new ke(Se,this,this,ge),r(xe,ge),xe.init(Se,this,this,ge),xe.optionUpdated(null,!0)}}z.get(G)[fe]=xe,W[G][fe]=xe.option},this),G==="series"&&H(this,z.get("series"))}this._seriesIndicesMap=s(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var k=i(this.option);return f(k,function(W,z){if(g.hasClass(z)){for(var W=h.normalizeToArray(W),K=W.length-1;K>=0;K--)h.isIdInner(W[K])&&W.splice(K,1);k[z]=W}}),delete k[_],k},getTheme:function(){return this._theme},getComponent:function(k,W){var z=this._componentsMap.get(k);if(z)return z[W||0]},queryComponents:function(k){var W=k.mainType;if(!W)return[];var z=k.index,K=k.id,P=k.name,G=this._componentsMap.get(W);if(!G||!G.length)return[];var V;if(z!=null)m(z)||(z=[z]),V=t(e(z,function(ce){return G[ce]}),function(ce){return!!ce});else if(K!=null){var q=m(K);V=t(G,function(ce){return q&&d(K,ce.id)>=0||!q&&ce.id===K})}else if(P!=null){var re=m(P);V=t(G,function(ce){return re&&d(P,ce.name)>=0||!re&&ce.name===P})}else V=G.slice();return B(V,k)},findComponents:function(k){var W=k.query,z=k.mainType,K=G(W),P=K?this.queryComponents(K):this._componentsMap.get(z);return V(B(P,k));function G(q){var re=z+"Index",ce=z+"Id",ie=z+"Name";return q&&(q[re]!=null||q[ce]!=null||q[ie]!=null)?{mainType:z,index:q[re],id:q[ce],name:q[ie]}:null}function V(q){return k.filter?t(q,k.filter):q}},eachComponent:function(k,W,z){var K=this._componentsMap;if(typeof k=="function")z=W,W=k,K.each(function(G,V){f(G,function(q,re){W.call(z,V,q,re)})});else if(n(k))f(K.get(k),W,z);else if(a(k)){var P=this.findComponents(k);f(P,W,z)}},getSeriesByName:function(k){var W=this._componentsMap.get("series");return t(W,function(z){return z.name===k})},getSeriesByIndex:function(k){return this._componentsMap.get("series")[k]},getSeriesByType:function(k){var W=this._componentsMap.get("series");return t(W,function(z){return z.subType===k})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(k,W){X(this),f(this._seriesIndices,function(z){var K=this._componentsMap.get("series")[z];k.call(W,K,z)},this)},eachRawSeries:function(k,W){f(this._componentsMap.get("series"),k,W)},eachSeriesByType:function(k,W,z){X(this),f(this._seriesIndices,function(K){var P=this._componentsMap.get("series")[K];P.subType===k&&W.call(z,P,K)},this)},eachRawSeriesByType:function(k,W,z){return f(this.getSeriesByType(k),W,z)},isSeriesFiltered:function(k){return X(this),this._seriesIndicesMap.get(k.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(k,W){X(this);var z=t(this._componentsMap.get("series"),k,W);H(this,z)},restoreData:function(k){var W=this._componentsMap;H(this,W.get("series"));var z=[];W.each(function(K,P){z.push(P)}),g.topologicalTravel(z,g.getAllClassMainTypes(),function(K,P){f(W.get(K),function(G){(K!=="series"||!C(G,k))&&G.restoreData()})})}});function C(k,W){if(W){var z=W.seiresIndex,K=W.seriesId,P=W.seriesName;return z!=null&&k.componentIndex!==z||K!=null&&k.id!==K||P!=null&&k.name!==P}}function E(k,W){var z=k.color&&!k.colorLayer;f(W,function(K,P){if(P==="colorLayer"&&z)return;g.hasClass(P)||(typeof K=="object"?k[P]=k[P]?u(k[P],K,!1):i(K):k[P]==null&&(k[P]=K))})}function O(k){k=k,this.option={},this.option[_]=1,this._componentsMap=s({series:[]}),this._seriesIndices,this._seriesIndicesMap,E(k,this._theme.option),u(k,v,!1),this.mergeOption(k)}function M(k,W){m(W)||(W=W?[W]:[]);var z={};return f(W,function(K){z[K]=(k.get(K)||[]).slice()}),z}function F(k,W,z){var K=W.type?W.type:z?z.subType:g.determineSubType(k,W);return K}function H(k,W){k._seriesIndicesMap=s(k._seriesIndices=e(W,function(z){return z.componentIndex})||[])}function B(k,W){return W.hasOwnProperty("subType")?t(k,function(z){return z.subType===W.subType}):k}function X(k){}o(I,y);var J=I;j.exports=J},fu2T:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("3dVZ"),f=l.n(A)},fyUT:function(j,R,l){"use strict";var x=l("pVnL"),b=l.n(x),A=l("lSNA"),f=l.n(A),t=l("q1tI"),e=l.n(t),m=l("TSYQ"),d=l.n(m),a=l("Ff2n"),n=l("rePB"),s=l("1OyB"),c=l("vuIU"),i=l("Ji7U"),u=l("md7G"),r=l("foSv"),o=l("4IlW");function h(V,q){var re=Object.keys(V);if(Object.getOwnPropertySymbols){var ce=Object.getOwnPropertySymbols(V);q&&(ce=ce.filter(function(ie){return Object.getOwnPropertyDescriptor(V,ie).enumerable})),re.push.apply(re,ce)}return re}function p(V){for(var q=1;q1?Ge-1:0),Z=1;Z1?ge-1:0),ee=1;ee=0)return parseInt(ke.slice(ke.indexOf("e-")+2),10);var ge=0;return ke.indexOf(".")>=0&&(ge=ke.length-ke.indexOf(".")-1),ge},ie.getInputDisplayValue=function(Se){var ke=Se||ie.state,ge=ke.focused,Be=ke.inputValue,ee=ke.value,ue;ge?ue=Be:ue=ie.toPrecisionAsStep(ee),ue==null&&(ue="");var Ge=ie.formatWrapper(ue);return E(ie.props.decimalSeparator)&&(Ge=Ge.toString().replace(".",ie.props.decimalSeparator)),Ge},ie.recordCursorPosition=function(){try{ie.cursorStart=ie.input.selectionStart,ie.cursorEnd=ie.input.selectionEnd,ie.currentValue=ie.input.value,ie.cursorBefore=ie.input.value.substring(0,ie.cursorStart),ie.cursorAfter=ie.input.value.substring(ie.cursorEnd)}catch(Se){}},ie.restoreByAfter=function(Se){if(Se===void 0)return!1;var ke=ie.input.value,ge=ke.lastIndexOf(Se);if(ge===-1)return!1;var Be=ie.cursorBefore.length;return ie.lastKeyCode===o.a.DELETE&&ie.cursorBefore.charAt(Be-1)===Se[0]?(ie.fixCaret(Be,Be),!0):ge+Se.length===ke.length?(ie.fixCaret(ge,ge),!0):!1},ie.partRestoreByAfter=function(Se){return Se===void 0?!1:Array.prototype.some.call(Se,function(ke,ge){var Be=Se.substring(ge);return ie.restoreByAfter(Be)})},ie.isNotCompleteNumber=function(Se){return isNaN(Se)||Se===""||Se===null||Se&&Se.toString().indexOf(".")===Se.toString().length-1},ie.stop=function(){ie.autoStepTimer&&clearTimeout(ie.autoStepTimer)},ie.down=function(Se,ke,ge){ie.pressingUpOrDown=!0,ie.step("down",Se,ke,ge)},ie.up=function(Se,ke,ge){ie.pressingUpOrDown=!0,ie.step("up",Se,ke,ge)},ie.saveInput=function(Se){ie.input=Se};var fe=ce.value;fe===void 0&&(fe=ce.defaultValue),ie.state={focused:ce.autoFocus};var xe=ie.getValidValue(ie.toNumber(fe));return ie.state=p(p({},ie.state),{},{inputValue:ie.toPrecisionAsStep(xe),value:xe}),ie}return Object(c.a)(re,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(ie){var fe=this.props,xe=fe.value,Se=fe.onChange,ke=fe.max,ge=fe.min,Be=this.state.focused;if(ie){if(!O(ie.value,xe)||!O(ie.max,ke)||!O(ie.min,ge)){var ee=Be?xe:this.getValidValue(xe),ue;this.pressingUpOrDown?ue=ee:this.inputting?ue=this.rawInput:ue=this.toPrecisionAsStep(ee),this.setState({value:ee,inputValue:ue})}var Ge="value"in this.props?xe:this.state.value;"max"in this.props&&ie.max!==ke&&typeof Ge=="number"&&Ge>ke&&Se&&Se(ke),"min"in this.props&&ie.min!==ge&&typeof Ge=="number"&&Ge1&&arguments[1]!==void 0?arguments[1]:this.props.min,xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,Se=parseFloat(ie);return isNaN(Se)?ie:(Sexe&&(Se=xe),Se)}},{key:"setValue",value:function(ie,fe){var xe=this.props.precision,Se=this.isNotCompleteNumber(parseFloat(ie))?null:parseFloat(ie),ke=this.state.value,ge=ke===void 0?null:ke,Be=this.state.inputValue,ee=Be===void 0?null:Be,ue=typeof Se=="number"?Se.toFixed(xe):"".concat(Se),Ge=Se!==ge||ue!=="".concat(ee);return"value"in this.props?(ee=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:ee},fe)):this.setState({value:Se,inputValue:this.toPrecisionAsStep(ie)},fe),Ge&&this.props.onChange(Se),Se}},{key:"getMaxPrecision",value:function(ie){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,xe=this.props,Se=xe.precision,ke=xe.step;if(E(Se))return Se;var ge=this.getPrecision(fe),Be=this.getPrecision(ke),ee=this.getPrecision(ie);return ie?Math.max(ee,ge+Be):ge+Be}},{key:"getPrecisionFactor",value:function(ie){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,xe=this.getMaxPrecision(ie,fe);return Math.pow(10,xe)}},{key:"focus",value:function(){this.input.focus(),this.recordCursorPosition()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"formatWrapper",value:function(ie){return this.props.formatter?this.props.formatter(ie):ie}},{key:"toPrecisionAsStep",value:function(ie){if(this.isNotCompleteNumber(ie)||ie==="")return ie;var fe=Math.abs(this.getMaxPrecision(ie));return isNaN(fe)?ie.toString():Number(ie).toFixed(fe)}},{key:"toNumber",value:function(ie){var fe=this.props.precision,xe=this.state.focused,Se=ie&&ie.length>16&&xe;return this.isNotCompleteNumber(ie)||Se?ie:E(fe)?Math.round(ie*Math.pow(10,fe))/Math.pow(10,fe):Number(ie)}},{key:"upStep",value:function(ie,fe){var xe=this.props.step,Se=this.getPrecisionFactor(ie,fe),ke=Math.abs(this.getMaxPrecision(ie,fe)),ge=((Se*ie+Se*xe*fe)/Se).toFixed(ke);return this.toNumber(ge)}},{key:"downStep",value:function(ie,fe){var xe=this.props.step,Se=this.getPrecisionFactor(ie,fe),ke=Math.abs(this.getMaxPrecision(ie,fe)),ge=((Se*ie-Se*xe*fe)/Se).toFixed(ke);return this.toNumber(ge)}},{key:"step",value:function(ie,fe){var xe=this,Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,ke=arguments.length>3?arguments[3]:void 0;this.stop(),fe&&(fe.persist(),fe.preventDefault());var ge=this.props;if(ge.disabled)return;var Be=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(Be))return;var ee=this["".concat(ie,"Step")](Be,Se),ue=ee>ge.max||eege.max?ee=ge.max:ee=ae),kt=(de||de===0)&&(isNaN(de)||Number(de)<=Z),Ar=He||Se||ke,at=kt||Se||ke,Ht=d()("".concat(xe,"-handler"),"".concat(xe,"-handler-up"),Object(n.a)({},"".concat(xe,"-handler-up-disabled"),Ar)),Kt=d()("".concat(xe,"-handler"),"".concat(xe,"-handler-down"),Object(n.a)({},"".concat(xe,"-handler-down-disabled"),at)),ot=ge?{onTouchStart:Ar?y:this.up,onTouchEnd:this.stop}:{onMouseDown:Ar?y:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},et=ge?{onTouchStart:at?y:this.down,onTouchEnd:this.stop}:{onMouseDown:at?y:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return e.a.createElement("div",{className:rt,style:Y,title:te,onMouseEnter:we,onMouseLeave:pe,onMouseOver:De,onMouseOut:Ne,onFocus:function(){return null},onBlur:function(){return null}},e.a.createElement("div",{className:"".concat(xe,"-handler-wrap")},e.a.createElement("span",Object.assign({unselectable:"on"},ot,{role:"button","aria-label":"Increase Value","aria-disabled":Ar,className:Ht}),ee||e.a.createElement("span",{unselectable:"on",className:"".concat(xe,"-handler-up-inner"),onClick:w})),e.a.createElement("span",Object.assign({unselectable:"on"},et,{role:"button","aria-label":"Decrease Value","aria-disabled":at,className:Kt}),ue||e.a.createElement("span",{unselectable:"on",className:"".concat(xe,"-handler-down-inner"),onClick:w}))),e.a.createElement("div",{className:"".concat(xe,"-input-wrap")},e.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":Z,"aria-valuemax":ae,"aria-valuenow":de,required:me,type:it,placeholder:yt,onPaste:$t,onClick:be,onMouseUp:this.onMouseUp,className:"".concat(xe,"-input"),tabIndex:Re,autoComplete:Be,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:bt?this.onKeyDown:y,onKeyUp:bt?this.onKeyUp:y,autoFocus:Ut,maxLength:Ft,readOnly:ke,disabled:Se,max:ae,min:Z,step:ut,name:Wt,title:te,id:pt,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(jt),pattern:Nt,inputMode:Pe,onInput:or},ve))))}}]),re}(e.a.Component);M.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:C,min:-C,step:1,style:{},onChange:y,onKeyDown:y,onPressEnter:y,onFocus:y,onBlur:y,parser:S,required:!1,autoComplete:"off"};var F=M,H=F,B=l("FH2Y"),X=l.n(B),J=l("HQEm"),k=l.n(J),W=l("H84U"),z=l("3Nzz"),K=function(V,q){var re={};for(var ce in V)Object.prototype.hasOwnProperty.call(V,ce)&&q.indexOf(ce)<0&&(re[ce]=V[ce]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,ce=Object.getOwnPropertySymbols(V);ie-1;Ne?pe.splice(De,1):pe.push(we)}te.setActiveKey(pe)},this.getNewChild=function(we,pe){if(!we)return null;var De=te.state.activeKey,Ne=te.props,me=Ne.prefixCls,be=Ne.accordion,Re=Ne.destroyInactivePanel,it=Ne.expandIcon,yt=we.key||String(pe),pt=we.props,Pe=pt.header,Nt=pt.headerClass,ut=pt.disabled,Ft=!1;be?Ft=De[0]===yt:Ft=De.indexOf(yt)>-1;var Ut={key:yt,panelKey:yt,header:Pe,headerClass:Nt,isActive:Ft,prefixCls:me,destroyInactivePanel:Re,openAnimation:te.state.openAnimation,accordion:be,children:we.props.children,onItemClick:ut?null:te.onClickItem,expandIcon:it};return typeof we.type=="string"?we:e.a.cloneElement(we,Ut)},this.getItems=function(){var we=te.props.children;return Object(s.a)(we).map(te.getNewChild)},this.setActiveKey=function(we){"activeKey"in te.props||te.setState({activeKey:we}),te.props.onChange(te.props.accordion?we[0]:we)}};K.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},K.Panel=C;var G=K,V=G,q=G.Panel,re=l("fEPi"),ce=l.n(re),ie=l("H84U"),fe=function(te){var we=t.useContext(ie.b),pe=we.getPrefixCls,De=te.prefixCls,Ne=te.className,me=Ne===void 0?"":Ne,be=te.showArrow,Re=be===void 0?!0:be,it=pe("collapse",De),yt=d()(f()({},"".concat(it,"-no-arrow"),!Re),me);return t.createElement(V.Panel,b()({},te,{prefixCls:it,className:yt}))},xe=fe,Se=l("xEkU"),ke=l.n(Se);function ge(Y,te,we){var pe,De;return Object(E.a)(Y,"ant-motion-collapse-legacy",{start:function(){te?(pe=Y.offsetHeight,Y.style.height="0px",Y.style.opacity="0"):(Y.style.height="".concat(Y.offsetHeight,"px"),Y.style.opacity="1")},active:function(){De&&ke.a.cancel(De),De=ke()(function(){Y.style.height="".concat(te?pe:0,"px"),Y.style.opacity=te?"1":"0"})},end:function(){De&&ke.a.cancel(De),Y.style.height="",Y.style.opacity="",we()}})}var Be={enter:function(te,we){return ge(te,!0,we)},leave:function(te,we){return ge(te,!1,we)},appear:function(te,we){return ge(te,!0,we)}},ee=Be,ue=l("0n0R"),Ge=function(te){var we,pe=t.useContext(ie.b),De=pe.getPrefixCls,Ne=pe.direction,me=te.prefixCls,be=te.className,Re=be===void 0?"":be,it=te.bordered,yt=te.ghost,pt=De("collapse",me),Pe=function(){var $t=te.expandIconPosition;return $t!==void 0?$t:Ne==="rtl"?"right":"left"},Nt=function(){var $t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},or=te.expandIcon,ht=or?or($t):t.createElement(ce.a,{rotate:$t.isActive?90:void 0});return Object(ue.a)(ht,function(){return{className:d()(ht.props.className,"".concat(pt,"-arrow"))}})},ut=Pe(),Ft=d()((we={},f()(we,"".concat(pt,"-borderless"),!it),f()(we,"".concat(pt,"-icon-position-").concat(ut),!0),f()(we,"".concat(pt,"-rtl"),Ne==="rtl"),f()(we,"".concat(pt,"-ghost"),!!yt),we),Re),Ut=b()(b()({},ee),{appear:function(){}});return t.createElement(V,b()({openAnimation:Ut},te,{expandIcon:function($t){return Nt($t)},prefixCls:pt,className:Ft}))};Ge.Panel=xe,Ge.defaultProps={bordered:!0};var ae=Ge,Z=R.a=ae},gKaM:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};R.default=x},gPAo:function(j,R){function l(f){return f}function x(f,t,e,m,d){this._old=f,this._new=t,this._oldKeyGetter=e||l,this._newKeyGetter=m||l,this.context=d}x.prototype={constructor:x,add:function(f){return this._add=f,this},update:function(f){return this._update=f,this},remove:function(f){return this._remove=f,this},execute:function(){var f=this._old,t=this._new,e={},m={},d=[],a=[],n;for(b(f,e,d,"_oldKeyGetter",this),b(t,m,a,"_newKeyGetter",this),n=0;n>"),Et("endobj");var Br=nr();Et("<<"),Et("/Type /Font"),Et("/BaseFont /"+B(Bt.fontName)),Et("/FontDescriptor "+rn+" 0 R"),Et("/W "+dt.API.PDFObject.convert(Lr)),Et("/CIDToGIDMap /Identity"),Et("/DW 1000"),Et("/Subtype /CIDFontType2"),Et("/CIDSystemInfo"),Et("<<"),Et("/Supplement 0"),Et("/Registry (Adobe)"),Et("/Ordering ("+Bt.encoding+")"),Et(">>"),Et(">>"),Et("endobj"),Bt.objectNumber=nr(),Et("<<"),Et("/Type /Font"),Et("/Subtype /Type0"),Et("/ToUnicode "+gn+" 0 R"),Et("/BaseFont /"+B(Bt.fontName)),Et("/Encoding /"+Bt.encoding),Et("/DescendantFonts ["+Br+" 0 R]"),Et(">>"),Et("endobj"),Bt.isAlreadyPutted=!0}}(nt)}]),Me.events.push(["putFont",function(nt){!function(ft){var Bt=ft.font,Et=ft.out,nr=ft.newObject,Ur=ft.putStream;if(Bt.metadata instanceof dt.API.TTFFont&&Bt.encoding==="WinAnsiEncoding"){for(var Lr=Bt.metadata.rawData,Vr="",sr=0;sr>"),Et("endobj"),Bt.objectNumber=nr();for(var rn=0;rn>"),Et("endobj"),Bt.isAlreadyPutted=!0}}(nt)}]);var st=function(ft){var Bt,Et=ft.text||"",nr=ft.x,Ur=ft.y,Lr=ft.options||{},Vr=ft.mutex||{},sr=Vr.pdfEscape,Bn=Vr.activeFontKey,Er=Vr.fonts,gn=Bn,rn="",Br=0,Vn="",gi=Er[gn].encoding;if(Er[gn].encoding!=="Identity-H")return{text:Et,x:nr,y:Ur,options:Lr,mutex:Vr};for(Vn=Et,gn=Bn,Array.isArray(Et)&&(Vn=Et[0]),Br=0;Br","<","[","]","[","{","}","{","\xAB","\xBB","\xAB","\u2039","\u203A","\u2039","\u2045","\u2046","\u2045","\u207D","\u207E","\u207D","\u208D","\u208E","\u208D","\u2264","\u2265","\u2264","\u2329","\u232A","\u2329","\uFE59","\uFE5A","\uFE59","\uFE5B","\uFE5C","\uFE5B","\uFE5D","\uFE5E","\uFE5D","\uFE64","\uFE65","\uFE64"],rn=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),Br=!1,Vn=0;this.__bidiEngine__={};var gi=function(fn){var $n=fn.charCodeAt(),Cn=$n>>8,ki=Er[Cn];return ki!==void 0?Lr[256*ki+(255&$n)]:Cn===252||Cn===253?"AL":rn.test(Cn)?"L":Cn===8?"R":"N"},Ni=function(fn){for(var $n,Cn=0;Cn=$n.length||(In=Cn[ki-1])!=="EN"&&In!=="AN"||(na=$n[ki+1])!=="EN"&&na!=="AN"?Ri="N":Br&&(na="AN"),Ri=na===In?na:"N";break;case"ES":Ri=(In=ki>0?Cn[ki-1]:"B")==="EN"&&ki+1<$n.length&&$n[ki+1]==="EN"?"EN":"N";break;case"ET":if(ki>0&&Cn[ki-1]==="EN"){Ri="EN";break}if(Br){Ri="N";break}for(Ei=ki+1,pi=$n.length;Ei=1425&&Na<=2303||Na===64286;if(In=$n[Ei],Un&&(In==="R"||In==="AL")){Ri="R";break}}}Ri=ki<1||(In=$n[ki-1])==="B"?"N":Cn[ki-1];break;case"B":Br=!1,st=!0,Ri=Vn;break;case"S":nt=!0,Ri="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Br=!1;break;case"BN":Ri="N"}return Ri},zi=function(fn,$n,Cn){var ki=fn.split("");return Cn&&Yi(ki,Cn,{hiLevel:Vn}),ki.reverse(),$n&&$n.reverse(),ki.join("")},Yi=function(fn,$n,Cn){var ki,In,na,Ei,pi,Ri=-1,Na=fn.length,Un=0,nn=[],Yn=Vn?sr:Vr,bi=[];for(Br=!1,st=!1,nt=!1,In=0;In0)if(ki===16){for(In=Ri;In-1){for(In=Ri;In=0&&Oi[ea]==="WS";ea--)_i[ea]=Vn}}(bi,$n,Na)},mi=function(fn,$n,Cn,ki,In){if(!(In.hiLevel=fn){for(pi=Un+1;pi=fn;)pi++;for(Ri=Un,Ei=pi-1;Ri=0&&(na[Na]=gn[Ri+1])}(ki,Cn,In),mi(2,ki,$n,Cn,In),mi(1,ki,$n,Cn,In),ki.join("")};return this.__bidiEngine__.doBidiReorder=function(zn,fn,$n){if(function(ki,In){if(In)for(var na=0;na>16))!=0&&(Xe=-(1+(65535^Xe))),this.italicAngle=+(Xe+"."+Qe)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(nt=this.familyClass)===1||nt===2||nt===3||nt===4||nt===5||nt===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},dt.prototype.characterToGlyph=function(Me){var Xe;return((Xe=this.cmap.unicode)!=null?Xe.codeMap[Me]:void 0)||0},dt.prototype.widthOfGlyph=function(Me){var Xe;return Xe=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(Me).advance*Xe},dt.prototype.widthOfString=function(Me,Xe,Qe){var st,nt,ft,Bt;for(ft=0,nt=0,Bt=(Me=""+Me).length;0<=Bt?ntBt;nt=0<=Bt?++nt:--nt)st=Me.charCodeAt(nt),ft+=this.widthOfGlyph(this.characterToGlyph(st))+Qe*(1e3/Xe)||0;return ft*(Xe/1e3)},dt.prototype.lineHeight=function(Me,Xe){var Qe;return Xe==null&&(Xe=!1),Qe=Xe?this.lineGap:0,(this.ascender+Qe-this.decender)/1e3*Me},dt}();var Fn,ar=function(){function dt(Me){this.data=Me!=null?Me:[],this.pos=0,this.length=this.data.length}return dt.prototype.readByte=function(){return this.data[this.pos++]},dt.prototype.writeByte=function(Me){return this.data[this.pos++]=Me},dt.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},dt.prototype.writeUInt32=function(Me){return this.writeByte(Me>>>24&255),this.writeByte(Me>>16&255),this.writeByte(Me>>8&255),this.writeByte(255&Me)},dt.prototype.readInt32=function(){var Me;return(Me=this.readUInt32())>=2147483648?Me-4294967296:Me},dt.prototype.writeInt32=function(Me){return Me<0&&(Me+=4294967296),this.writeUInt32(Me)},dt.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},dt.prototype.writeUInt16=function(Me){return this.writeByte(Me>>8&255),this.writeByte(255&Me)},dt.prototype.readInt16=function(){var Me;return(Me=this.readUInt16())>=32768?Me-65536:Me},dt.prototype.writeInt16=function(Me){return Me<0&&(Me+=65536),this.writeUInt16(Me)},dt.prototype.readString=function(Me){var Xe,Qe;for(Qe=[],Xe=0;0<=Me?XeMe;Xe=0<=Me?++Xe:--Xe)Qe[Xe]=String.fromCharCode(this.readByte());return Qe.join("")},dt.prototype.writeString=function(Me){var Xe,Qe,st;for(st=[],Xe=0,Qe=Me.length;0<=Qe?XeQe;Xe=0<=Qe?++Xe:--Xe)st.push(this.writeByte(Me.charCodeAt(Xe)));return st},dt.prototype.readShort=function(){return this.readInt16()},dt.prototype.writeShort=function(Me){return this.writeInt16(Me)},dt.prototype.readLongLong=function(){var Me,Xe,Qe,st,nt,ft,Bt,Et;return Me=this.readByte(),Xe=this.readByte(),Qe=this.readByte(),st=this.readByte(),nt=this.readByte(),ft=this.readByte(),Bt=this.readByte(),Et=this.readByte(),128&Me?-1*(72057594037927940*(255^Me)+281474976710656*(255^Xe)+1099511627776*(255^Qe)+4294967296*(255^st)+16777216*(255^nt)+65536*(255^ft)+256*(255^Bt)+(255^Et)+1):72057594037927940*Me+281474976710656*Xe+1099511627776*Qe+4294967296*st+16777216*nt+65536*ft+256*Bt+Et},dt.prototype.writeLongLong=function(Me){var Xe,Qe;return Xe=Math.floor(Me/4294967296),Qe=4294967295&Me,this.writeByte(Xe>>24&255),this.writeByte(Xe>>16&255),this.writeByte(Xe>>8&255),this.writeByte(255&Xe),this.writeByte(Qe>>24&255),this.writeByte(Qe>>16&255),this.writeByte(Qe>>8&255),this.writeByte(255&Qe)},dt.prototype.readInt=function(){return this.readInt32()},dt.prototype.writeInt=function(Me){return this.writeInt32(Me)},dt.prototype.read=function(Me){var Xe,Qe;for(Xe=[],Qe=0;0<=Me?QeMe;Qe=0<=Me?++Qe:--Qe)Xe.push(this.readByte());return Xe},dt.prototype.write=function(Me){var Xe,Qe,st,nt;for(nt=[],Qe=0,st=Me.length;Qent;st=0<=nt?++st:--st)Qe={tag:Xe.readString(4),checksum:Xe.readInt(),offset:Xe.readInt(),length:Xe.readInt()},this.tables[Qe.tag]=Qe}return Me.prototype.encode=function(Xe){var Qe,st,nt,ft,Bt,Et,nr,Ur,Lr,Vr,sr,Bn,Er;for(Er in sr=Object.keys(Xe).length,Et=Math.log(2),Lr=16*Math.floor(Math.log(sr)/Et),ft=Math.floor(Lr/Et),Ur=16*sr-Lr,(st=new ar).writeInt(this.scalarType),st.writeShort(sr),st.writeShort(Lr),st.writeShort(ft),st.writeShort(Ur),nt=16*sr,nr=st.pos+nt,Bt=null,Bn=[],Xe)for(Vr=Xe[Er],st.writeString(Er),st.writeInt(dt(Vr)),st.writeInt(nr),st.writeInt(Vr.length),Bn=Bn.concat(Vr),Er==="head"&&(Bt=nr),nr+=Vr.length;nr%4;)Bn.push(0),nr++;return st.write(Bn),Qe=2981146554-dt(st.data),st.pos=Bt+8,st.writeUInt32(Qe),st.data},dt=function(Qe){var st,nt,ft,Bt;for(Qe=Gn.call(Qe);Qe.length%4;)Qe.push(0);for(ft=new ar(Qe),nt=0,st=0,Bt=Qe.length;stVr;Et=0<=Vr?++gi:--gi)Ni.push(Me.readUInt16());return Ni}(),Me.pos+=2,Er=function(){var gi,Ni;for(Ni=[],Et=gi=0;0<=Vr?giVr;Et=0<=Vr?++gi:--gi)Ni.push(Me.readUInt16());return Ni}(),nr=function(){var gi,Ni;for(Ni=[],Et=gi=0;0<=Vr?giVr;Et=0<=Vr?++gi:--gi)Ni.push(Me.readUInt16());return Ni}(),Ur=function(){var gi,Ni;for(Ni=[],Et=gi=0;0<=Vr?giVr;Et=0<=Vr?++gi:--gi)Ni.push(Me.readUInt16());return Ni}(),st=(this.length-Me.pos+this.offset)/2,Bt=function(){var gi,Ni;for(Ni=[],Et=gi=0;0<=st?gist;Et=0<=st?++gi:--gi)Ni.push(Me.readUInt16());return Ni}(),Et=rn=0,Vn=nt.length;rn=gn;Qe=Bn<=gn?++Br:--Br)Ur[Et]===0?ft=Qe+nr[Et]:(ft=Bt[Ur[Et]/2+(Qe-Bn)-(Vr-Et)]||0)!==0&&(ft+=nr[Et]),this.codeMap[Qe]=65535&ft}Me.pos=Lr}return dt.encode=function(Me,Xe){var Qe,st,nt,ft,Bt,Et,nr,Ur,Lr,Vr,sr,Bn,Er,gn,rn,Br,Vn,gi,Ni,Wi,zi,Yi,mi,va,zn,fn,$n,Cn,ki,In,na,Ei,pi,Ri,Na,Un,nn,Yn,bi,Oi,_i,Zi,qi,ea,ya,co;switch(Cn=new ar,ft=Object.keys(Me).sort(function(io,rs){return io-rs}),Xe){case"macroman":for(Er=0,gn=function(){var io=[];for(Bn=0;Bn<256;++Bn)io.push(0);return io}(),Br={0:0},nt={},ki=0,pi=ft.length;ki=32768)for(Et.push(0),Wi.push(2*(sr.length+mi-Bn)),st=Ei=zn;zn<=Ur?Ei<=Ur:Ei>=Ur;st=zn<=Ur?++Ei:--Ei)sr.push(Qe[st].new);else Et.push($n-zn),Wi.push(0)}for(Cn.writeUInt16(3),Cn.writeUInt16(1),Cn.writeUInt32(12),Cn.writeUInt16(4),Cn.writeUInt16(16+8*mi+2*sr.length),Cn.writeUInt16(0),Cn.writeUInt16(va),Cn.writeUInt16(Yi),Cn.writeUInt16(Vr),Cn.writeUInt16(zi),_i=0,Un=Lr.length;_int;st=0<=nt?++st:--st)Qe=new Mt(Xe,this.offset),this.tables.push(Qe),Qe.isUnicode&&this.unicode==null&&(this.unicode=Qe);return!0},Me.encode=function(Xe,Qe){var st,nt;return Qe==null&&(Qe="macroman"),st=Mt.encode(Xe,Qe),(nt=new ar).writeUInt16(0),nt.writeUInt16(1),st.table=nt.data.concat(st.subtable),st},Me}(),Dt=function(dt){function Me(){return Me.__super__.constructor.apply(this,arguments)}return mr(Me,Fn),Me.prototype.tag="hhea",Me.prototype.parse=function(Xe){return Xe.pos=this.offset,this.version=Xe.readInt(),this.ascender=Xe.readShort(),this.decender=Xe.readShort(),this.lineGap=Xe.readShort(),this.advanceWidthMax=Xe.readShort(),this.minLeftSideBearing=Xe.readShort(),this.minRightSideBearing=Xe.readShort(),this.xMaxExtent=Xe.readShort(),this.caretSlopeRise=Xe.readShort(),this.caretSlopeRun=Xe.readShort(),this.caretOffset=Xe.readShort(),Xe.pos+=8,this.metricDataFormat=Xe.readShort(),this.numberOfMetrics=Xe.readUInt16()},Me}(),tr=function(dt){function Me(){return Me.__super__.constructor.apply(this,arguments)}return mr(Me,Fn),Me.prototype.tag="OS/2",Me.prototype.parse=function(Xe){if(Xe.pos=this.offset,this.version=Xe.readUInt16(),this.averageCharWidth=Xe.readShort(),this.weightClass=Xe.readUInt16(),this.widthClass=Xe.readUInt16(),this.type=Xe.readShort(),this.ySubscriptXSize=Xe.readShort(),this.ySubscriptYSize=Xe.readShort(),this.ySubscriptXOffset=Xe.readShort(),this.ySubscriptYOffset=Xe.readShort(),this.ySuperscriptXSize=Xe.readShort(),this.ySuperscriptYSize=Xe.readShort(),this.ySuperscriptXOffset=Xe.readShort(),this.ySuperscriptYOffset=Xe.readShort(),this.yStrikeoutSize=Xe.readShort(),this.yStrikeoutPosition=Xe.readShort(),this.familyClass=Xe.readShort(),this.panose=function(){var Qe,st;for(st=[],Qe=0;Qe<10;++Qe)st.push(Xe.readByte());return st}(),this.charRange=function(){var Qe,st;for(st=[],Qe=0;Qe<4;++Qe)st.push(Xe.readInt());return st}(),this.vendorID=Xe.readString(4),this.selection=Xe.readShort(),this.firstCharIndex=Xe.readShort(),this.lastCharIndex=Xe.readShort(),this.version>0&&(this.ascent=Xe.readShort(),this.descent=Xe.readShort(),this.lineGap=Xe.readShort(),this.winAscent=Xe.readShort(),this.winDescent=Xe.readShort(),this.codePageRange=function(){var Qe,st;for(st=[],Qe=0;Qe<2;Qe=++Qe)st.push(Xe.readInt());return st}(),this.version>1))return this.xHeight=Xe.readShort(),this.capHeight=Xe.readShort(),this.defaultChar=Xe.readShort(),this.breakChar=Xe.readShort(),this.maxContext=Xe.readShort()},Me}(),Dr=function(dt){function Me(){return Me.__super__.constructor.apply(this,arguments)}return mr(Me,Fn),Me.prototype.tag="post",Me.prototype.parse=function(Xe){var Qe,st,nt;switch(Xe.pos=this.offset,this.format=Xe.readInt(),this.italicAngle=Xe.readInt(),this.underlinePosition=Xe.readShort(),this.underlineThickness=Xe.readShort(),this.isFixedPitch=Xe.readInt(),this.minMemType42=Xe.readInt(),this.maxMemType42=Xe.readInt(),this.minMemType1=Xe.readInt(),this.maxMemType1=Xe.readInt(),this.format){case 65536:break;case 131072:var ft;for(st=Xe.readUInt16(),this.glyphNameIndex=[],ft=0;0<=st?ftst;ft=0<=st?++ft:--ft)this.glyphNameIndex.push(Xe.readUInt16());for(this.names=[],nt=[];Xe.posEt;ft=0<=Et?++Bt:--Bt)nr.push(Xe.readUInt32());return nr}.call(this)}},Me}(),dr=function(Me,Xe){this.raw=Me,this.length=Me.length,this.platformID=Xe.platformID,this.encodingID=Xe.encodingID,this.languageID=Xe.languageID},Tr=function(dt){function Me(){return Me.__super__.constructor.apply(this,arguments)}return mr(Me,Fn),Me.prototype.tag="name",Me.prototype.parse=function(Xe){var Qe,st,nt,ft,Bt,Et,nr,Ur,Lr,Vr,sr;for(Xe.pos=this.offset,Xe.readShort(),Qe=Xe.readShort(),Et=Xe.readShort(),st=[],ft=0;0<=Qe?ftQe;ft=0<=Qe?++ft:--ft)st.push({platformID:Xe.readShort(),encodingID:Xe.readShort(),languageID:Xe.readShort(),nameID:Xe.readShort(),length:Xe.readShort(),offset:this.offset+Et+Xe.readShort()});for(nr={},ft=Lr=0,Vr=st.length;LrEt;Qe=0<=Et?++Qe:--Qe)this.metrics.push({advance:Xe.readUInt16(),lsb:Xe.readInt16()});for(nt=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Ur,Lr;for(Lr=[],Qe=Ur=0;0<=nt?Urnt;Qe=0<=nt?++Ur:--Ur)Lr.push(Xe.readInt16());return Lr}(),this.widths=function(){var Ur,Lr,Vr,sr;for(sr=[],Ur=0,Lr=(Vr=this.metrics).length;Urnt;Qe=0<=nt?++Bt:--Bt)nr.push(this.widths.push(st));return nr},Me.prototype.forGlyph=function(Xe){return Xe in this.metrics?this.metrics[Xe]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[Xe-this.metrics.length]}},Me}(),Gn=[].slice,di=function(dt){function Me(){return Me.__super__.constructor.apply(this,arguments)}return mr(Me,Fn),Me.prototype.tag="glyf",Me.prototype.parse=function(){return this.cache={}},Me.prototype.glyphFor=function(Xe){var Qe,st,nt,ft,Bt,Et,nr,Ur,Lr,Vr;return Xe in this.cache?this.cache[Xe]:(ft=this.file.loca,Qe=this.file.contents,st=ft.indexOf(Xe),(nt=ft.lengthOf(Xe))===0?this.cache[Xe]=null:(Qe.pos=this.offset+st,Bt=(Et=new ar(Qe.read(nt))).readShort(),Ur=Et.readShort(),Vr=Et.readShort(),nr=Et.readShort(),Lr=Et.readShort(),this.cache[Xe]=Bt===-1?new Fi(Et,Ur,Vr,nr,Lr):new Ti(Et,Bt,Ur,Vr,nr,Lr),this.cache[Xe]))},Me.prototype.encode=function(Xe,Qe,st){var nt,ft,Bt,Et,nr;for(Bt=[],ft=[],Et=0,nr=Qe.length;Et0&&(nt+=nr)}for(var Ur=new Array(4*st.length),Lr=0;Lr>8,Ur[4*Lr+1]=(16711680&st[Lr])>>16,Ur[4*Lr]=(4278190080&st[Lr])>>24;return Ur},Me}(),Ta=function(){function dt(Me){this.font=Me,this.subset={},this.unicodes={},this.next=33}return dt.prototype.generateCmap=function(){var Me,Xe,Qe,st,nt;for(Xe in st=this.font.cmap.tables[0].codeMap,Me={},nt=this.subset)Qe=nt[Xe],Me[Xe]=st[Qe];return Me},dt.prototype.glyphsFor=function(Me){var Xe,Qe,st,nt,ft,Bt,Et;for(st={},ft=0,Bt=Me.length;ft0)for(nt in Et=this.glyphsFor(Xe))Qe=Et[nt],st[nt]=Qe;return st},dt.prototype.encode=function(Me,Xe){var Qe,st,nt,ft,Bt,Et,nr,Ur,Lr,Vr,sr,Bn,Er,gn,rn;for(st in Qe=rr.encode(this.generateCmap(),"unicode"),ft=this.glyphsFor(Me),sr={0:0},rn=Qe.charMap)sr[(Et=rn[st]).old]=Et.new;for(Bn in Vr=Qe.maxGlyphID,ft)Bn in sr||(sr[Bn]=Vr++);return Ur=function(Br){var Vn,gi;for(Vn in gi={},Br)gi[Br[Vn]]=Vn;return gi}(sr),Lr=Object.keys(Ur).sort(function(Br,Vn){return Br-Vn}),Er=function(){var Br,Vn,gi;for(gi=[],Br=0,Vn=Lr.length;Br>"),nt.join(` +`)}return""+Xe},Me}(),R.default=W}.call(this,l("yLpj"))},e5VY:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("YNAk"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},eIcI:function(j,R,l){var x=l("bYtY"),b=l("hM6l");function A(t,e,m){b.call(this,t,e,m),this.type="value",this.angle=0,this.name="",this.model}x.inherits(A,b);var f=A;j.exports=f},eJH7:function(j,R,l){var x=l("bYtY");function b(A){var f=A.polar;if(f){x.isArray(f)||(f=[f]);var t=[];x.each(f,function(e,m){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),A.radar=A.radar||[],x.isArray(A.radar)||(A.radar=[A.radar]),A.radar.push(e)):t.push(e)}),A.polar=t}x.each(A.series,function(e){e&&e.type==="radar"&&e.polarIndex&&(e.radarIndex=e.polarIndex)})}j.exports=b},eP3c:function(j,R,l){"use strict";function x(ht){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(de){return typeof de}:x=function(de){return de&&typeof Symbol=="function"&&de.constructor===Symbol&&de!==Symbol.prototype?"symbol":typeof de},x(ht)}Object.defineProperty(R,"__esModule",{value:!0}),R.inflateReset=me,R.inflateReset2=be,R.inflateResetKeep=Ne,R.inflateInit=it,R.inflateInit2=Re,R.inflate=Ft,R.inflateEnd=Ut,R.inflateGetHeader=Kt,R.inflateSetDictionary=$t,R.inflateInfo=R.Z_DEFLATED=R.Z_BUF_ERROR=R.Z_MEM_ERROR=R.Z_DATA_ERROR=R.Z_STREAM_ERROR=R.Z_NEED_DICT=R.Z_STREAM_END=R.Z_OK=R.Z_TREES=R.Z_BLOCK=R.Z_FINISH=void 0;var b=a(l("6BzB")),A=m(l("xlC8")),f=m(l("QV2g")),t=m(l("sjKO")),e=m(l("JSwD"));function m(ht){return ht&&ht.__esModule?ht:{default:ht}}function d(){if(typeof WeakMap!="function")return null;var ht=new WeakMap;return d=function(){return ht},ht}function a(ht){if(ht&&ht.__esModule)return ht;if(ht===null||x(ht)!=="object"&&typeof ht!="function")return{default:ht};var Ee=d();if(Ee&&Ee.has(ht))return Ee.get(ht);var de={},qe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var rt in ht)if(Object.prototype.hasOwnProperty.call(ht,rt)){var ve=qe?Object.getOwnPropertyDescriptor(ht,rt):null;ve&&(ve.get||ve.set)?Object.defineProperty(de,rt,ve):de[rt]=ht[rt]}return de.default=ht,Ee&&Ee.set(ht,de),de}var n=0,s=1,c=2,i=4;R.Z_FINISH=i;var u=5;R.Z_BLOCK=u;var r=6;R.Z_TREES=r;var o=0;R.Z_OK=o;var h=1;R.Z_STREAM_END=h;var p=2;R.Z_NEED_DICT=p;var g=-2;R.Z_STREAM_ERROR=g;var v=-3;R.Z_DATA_ERROR=v;var y=-4;R.Z_MEM_ERROR=y;var w=-5;R.Z_BUF_ERROR=w;var S=8;R.Z_DEFLATED=S;var _=1,I=2,C=3,E=4,O=5,M=6,F=7,H=8,B=9,X=10,J=11,k=12,K=13,z=14,W=15,P=16,G=17,V=18,q=19,re=20,ce=21,ie=22,fe=23,xe=24,Se=25,ke=26,ge=27,Be=28,ee=29,ue=30,Ge=31,ae=32,Z=852,Y=592,te=15,we=te;function pe(ht){return(ht>>>24&255)+(ht>>>8&65280)+((ht&65280)<<8)+((ht&255)<<24)}function De(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new b.Buf16(320),this.work=new b.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Ne(ht){var Ee;return!ht||!ht.state?g:(Ee=ht.state,ht.total_in=ht.total_out=Ee.total=0,ht.msg="",Ee.wrap&&(ht.adler=Ee.wrap&1),Ee.mode=_,Ee.last=0,Ee.havedict=0,Ee.dmax=32768,Ee.head=null,Ee.hold=0,Ee.bits=0,Ee.lencode=Ee.lendyn=new b.Buf32(Z),Ee.distcode=Ee.distdyn=new b.Buf32(Y),Ee.sane=1,Ee.back=-1,o)}function me(ht){var Ee;return!ht||!ht.state?g:(Ee=ht.state,Ee.wsize=0,Ee.whave=0,Ee.wnext=0,Ne(ht))}function be(ht,Ee){var de,qe;return!ht||!ht.state?g:(qe=ht.state,Ee<0?(de=0,Ee=-Ee):(de=(Ee>>4)+1,Ee<48&&(Ee&=15)),Ee&&(Ee<8||Ee>15)?g:(qe.window!==null&&qe.wbits!==Ee&&(qe.window=null),qe.wrap=de,qe.wbits=Ee,me(ht)))}function Re(ht,Ee){var de,qe;return ht?(qe=new De,ht.state=qe,qe.window=null,de=be(ht,Ee),de!==o&&(ht.state=null),de):g}function it(ht){return Re(ht,we)}var yt=!0,pt,Pe;function Nt(ht){if(yt){var Ee;for(pt=new b.Buf32(512),Pe=new b.Buf32(32),Ee=0;Ee<144;)ht.lens[Ee++]=8;for(;Ee<256;)ht.lens[Ee++]=9;for(;Ee<280;)ht.lens[Ee++]=7;for(;Ee<288;)ht.lens[Ee++]=8;for((0,e.default)(s,ht.lens,0,288,pt,0,ht.work,{bits:9}),Ee=0;Ee<32;)ht.lens[Ee++]=5;(0,e.default)(c,ht.lens,0,32,Pe,0,ht.work,{bits:5}),yt=!1}ht.lencode=pt,ht.lenbits=9,ht.distcode=Pe,ht.distbits=5}function ut(ht,Ee,de,qe){var rt,ve=ht.state;return ve.window===null&&(ve.wsize=1<=ve.wsize?(b.arraySet(ve.window,Ee,de-ve.wsize,ve.wsize,0),ve.wnext=0,ve.whave=ve.wsize):(rt=ve.wsize-ve.wnext,rt>qe&&(rt=qe),b.arraySet(ve.window,Ee,de-qe,rt,ve.wnext),qe-=rt,qe?(b.arraySet(ve.window,Ee,de-qe,qe,0),ve.wnext=qe,ve.whave=ve.wsize):(ve.wnext+=rt,ve.wnext===ve.wsize&&(ve.wnext=0),ve.whave>>8&255,de.check=(0,f.default)(de.check,mt,2,0),kt=0,Ar=0,de.mode=I;break}if(de.flags=0,de.head&&(de.head.done=!1),!(de.wrap&1)||(((kt&255)<<8)+(kt>>8))%31){ht.msg="incorrect header check",de.mode=ue;break}if((kt&15)!==S){ht.msg="unknown compression method",de.mode=ue;break}if(kt>>>=4,Ar-=4,Wn=(kt&15)+8,de.wbits===0)de.wbits=Wn;else if(Wn>de.wbits){ht.msg="invalid window size",de.mode=ue;break}de.dmax=1<>8&1),de.flags&512&&(mt[0]=kt&255,mt[1]=kt>>>8&255,de.check=(0,f.default)(de.check,mt,2,0)),kt=0,Ar=0,de.mode=C;case C:for(;Ar<32;){if(jt===0)break e;jt--,kt+=qe[ve++]<>>8&255,mt[2]=kt>>>16&255,mt[3]=kt>>>24&255,de.check=(0,f.default)(de.check,mt,4,0)),kt=0,Ar=0,de.mode=E;case E:for(;Ar<16;){if(jt===0)break e;jt--,kt+=qe[ve++]<>8),de.flags&512&&(mt[0]=kt&255,mt[1]=kt>>>8&255,de.check=(0,f.default)(de.check,mt,2,0)),kt=0,Ar=0,de.mode=O;case O:if(de.flags&1024){for(;Ar<16;){if(jt===0)break e;jt--,kt+=qe[ve++]<>>8&255,de.check=(0,f.default)(de.check,mt,2,0)),kt=0,Ar=0}else de.head&&(de.head.extra=null);de.mode=M;case M:if(de.flags&1024&&(Wt=de.length,Wt>jt&&(Wt=jt),Wt&&(de.head&&(Wn=de.head.extra_len-de.length,de.head.extra||(de.head.extra=new Array(de.head.extra_len)),b.arraySet(de.head.extra,qe,ve,Wt,Wn)),de.flags&512&&(de.check=(0,f.default)(de.check,qe,Wt,ve)),jt-=Wt,ve+=Wt,de.length-=Wt),de.length))break e;de.length=0,de.mode=F;case F:if(de.flags&2048){if(jt===0)break e;Wt=0;do Wn=qe[ve+Wt++],de.head&&Wn&&de.length<65536&&(de.head.name+=String.fromCharCode(Wn));while(Wn&&Wt>9&1,de.head.done=!0),ht.adler=de.check=0,de.mode=k;break;case X:for(;Ar<32;){if(jt===0)break e;jt--,kt+=qe[ve++]<>>=Ar&7,Ar-=Ar&7,de.mode=ge;break}for(;Ar<3;){if(jt===0)break e;jt--,kt+=qe[ve++]<>>=1,Ar-=1;switch(kt&3){case 0:de.mode=z;break;case 1:if(Nt(de),de.mode=re,Ee===r){kt>>>=2,Ar-=2;break e}break;case 2:de.mode=G;break;case 3:ht.msg="invalid block type",de.mode=ue}kt>>>=2,Ar-=2;break;case z:for(kt>>>=Ar&7,Ar-=Ar&7;Ar<32;){if(jt===0)break e;jt--,kt+=qe[ve++]<>>16^65535)){ht.msg="invalid stored block lengths",de.mode=ue;break}if(de.length=kt&65535,kt=0,Ar=0,de.mode=W,Ee===r)break e;case W:de.mode=P;case P:if(Wt=de.length,Wt){if(Wt>jt&&(Wt=jt),Wt>He&&(Wt=He),Wt===0)break e;b.arraySet(rt,qe,ve,Wt,bt),jt-=Wt,ve+=Wt,He-=Wt,bt+=Wt,de.length-=Wt;break}de.mode=k;break;case G:for(;Ar<14;){if(jt===0)break e;jt--,kt+=qe[ve++]<>>=5,Ar-=5,de.ndist=(kt&31)+1,kt>>>=5,Ar-=5,de.ncode=(kt&15)+4,kt>>>=4,Ar-=4,de.nlen>286||de.ndist>30){ht.msg="too many length or distance symbols",de.mode=ue;break}de.have=0,de.mode=V;case V:for(;de.have>>=3,Ar-=3}for(;de.have<19;)de.lens[$e[de.have++]]=0;if(de.lencode=de.lendyn,de.lenbits=7,Le={bits:de.lenbits},lt=(0,e.default)(n,de.lens,0,19,de.lencode,0,de.work,Le),de.lenbits=Le.bits,lt){ht.msg="invalid code lengths set",de.mode=ue;break}de.have=0,de.mode=q;case q:for(;de.have>>24,yr=Ze>>>16&255,br=Ze&65535,Gt<=Ar);){if(jt===0)break e;jt--,kt+=qe[ve++]<>>=Gt,Ar-=Gt,de.lens[de.have++]=br;else{if(br===16){for(ze=Gt+2;Ar>>=Gt,Ar-=Gt,de.have===0){ht.msg="invalid bit length repeat",de.mode=ue;break}Wn=de.lens[de.have-1],Wt=3+(kt&3),kt>>>=2,Ar-=2}else if(br===17){for(ze=Gt+3;Ar>>=Gt,Ar-=Gt,Wn=0,Wt=3+(kt&7),kt>>>=3,Ar-=3}else{for(ze=Gt+7;Ar>>=Gt,Ar-=Gt,Wn=0,Wt=11+(kt&127),kt>>>=7,Ar-=7}if(de.have+Wt>de.nlen+de.ndist){ht.msg="invalid bit length repeat",de.mode=ue;break}for(;Wt--;)de.lens[de.have++]=Wn}}if(de.mode===ue)break;if(de.lens[256]===0){ht.msg="invalid code -- missing end-of-block",de.mode=ue;break}if(de.lenbits=9,Le={bits:de.lenbits},lt=(0,e.default)(s,de.lens,0,de.nlen,de.lencode,0,de.work,Le),de.lenbits=Le.bits,lt){ht.msg="invalid literal/lengths set",de.mode=ue;break}if(de.distbits=6,de.distcode=de.distdyn,Le={bits:de.distbits},lt=(0,e.default)(c,de.lens,de.nlen,de.ndist,de.distcode,0,de.work,Le),de.distbits=Le.bits,lt){ht.msg="invalid distances set",de.mode=ue;break}if(de.mode=re,Ee===r)break e;case re:de.mode=ce;case ce:if(jt>=6&&He>=258){ht.next_out=bt,ht.avail_out=He,ht.next_in=ve,ht.avail_in=jt,de.hold=kt,de.bits=Ar,(0,t.default)(ht,Ht),bt=ht.next_out,rt=ht.output,He=ht.avail_out,ve=ht.next_in,qe=ht.input,jt=ht.avail_in,kt=de.hold,Ar=de.bits,de.mode===k&&(de.back=-1);break}for(de.back=0;!(Ze=de.lencode[kt&(1<>>24,yr=Ze>>>16&255,br=Ze&65535,Gt<=Ar);){if(jt===0)break e;jt--,kt+=qe[ve++]<>Sr)],Gt=Ze>>>24,yr=Ze>>>16&255,br=Ze&65535,Sr+Gt<=Ar);){if(jt===0)break e;jt--,kt+=qe[ve++]<>>=Sr,Ar-=Sr,de.back+=Sr}if(kt>>>=Gt,Ar-=Gt,de.back+=Gt,de.length=br,yr===0){de.mode=ke;break}if(yr&32){de.back=-1,de.mode=k;break}if(yr&64){ht.msg="invalid literal/length code",de.mode=ue;break}de.extra=yr&15,de.mode=ie;case ie:if(de.extra){for(ze=de.extra;Ar>>=de.extra,Ar-=de.extra,de.back+=de.extra}de.was=de.length,de.mode=fe;case fe:for(;!(Ze=de.distcode[kt&(1<>>24,yr=Ze>>>16&255,br=Ze&65535,Gt<=Ar);){if(jt===0)break e;jt--,kt+=qe[ve++]<>Sr)],Gt=Ze>>>24,yr=Ze>>>16&255,br=Ze&65535,Sr+Gt<=Ar);){if(jt===0)break e;jt--,kt+=qe[ve++]<>>=Sr,Ar-=Sr,de.back+=Sr}if(kt>>>=Gt,Ar-=Gt,de.back+=Gt,yr&64){ht.msg="invalid distance code",de.mode=ue;break}de.offset=br,de.extra=yr&15,de.mode=xe;case xe:if(de.extra){for(ze=de.extra;Ar>>=de.extra,Ar-=de.extra,de.back+=de.extra}if(de.offset>de.dmax){ht.msg="invalid distance too far back",de.mode=ue;break}de.mode=Se;case Se:if(He===0)break e;if(Wt=Ht-He,de.offset>Wt){if(Wt=de.offset-Wt,Wt>de.whave&&de.sane){ht.msg="invalid distance too far back",de.mode=ue;break}Wt>de.wnext?(Wt-=de.wnext,ot=de.wsize-Wt):ot=de.wnext-Wt,Wt>de.length&&(Wt=de.length),et=de.window}else et=rt,ot=bt-de.offset,Wt=de.length;Wt>He&&(Wt=He),He-=Wt,de.length-=Wt;do rt[bt++]=et[ot++];while(--Wt);de.length===0&&(de.mode=ce);break;case ke:if(He===0)break e;rt[bt++]=de.length,He--,de.mode=ce;break;case ge:if(de.wrap){for(;Ar<32;){if(jt===0)break e;jt--,kt|=qe[ve++]<=0;O--)_[O]==null?_.splice(O,1):delete _[O].$action},_flatten:function(v,y,w){f.each(v,function(S){if(!S)return;w&&(S.parentOption=w),y.push(S);var _=S.children;S.type==="group"&&_&&this._flatten(_,y,S),delete S.children},this)},useElOptionsToUpdate:function(){var v=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,v}});A.extendComponentView({type:"graphic",init:function(v,y){this._elMap=f.createHashMap(),this._lastGraphicModel},render:function(v,y,w){v!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=v,this._updateElements(v),this._relocate(v,w)},_updateElements:function(v){var y=v.useElOptionsToUpdate();if(!y)return;var w=this._elMap,S=this.group;f.each(y,function(_){var I=_.$action,C=_.id,E=w.get(C),O=_.parentId,M=O!=null?w.get(O):S,F=_.style;_.type==="text"&&F&&(_.hv&&_.hv[1]&&(F.textVerticalAlign=F.textBaseline=null),!F.hasOwnProperty("textFill")&&F.fill&&(F.textFill=F.fill),!F.hasOwnProperty("textStroke")&&F.stroke&&(F.textStroke=F.stroke));var H=u(_);!I||I==="merge"?E?E.attr(H):c(C,M,H,w):I==="replace"?(i(E,w),c(C,M,H,w)):I==="remove"&&i(E,w);var B=w.get(C);B&&(B.__ecGraphicWidthOption=_.width,B.__ecGraphicHeightOption=_.height,g(B,v,_))})},_relocate:function(v,y){for(var w=v.option.elements,S=this.group,_=this._elMap,I=y.getWidth(),C=y.getHeight(),E=0;E=0;E--){var O=w[E],M=_.get(O.id);if(!M)continue;var F=M.parent,B=F===S?{width:I,height:C}:{width:F.__ecGraphicWidth,height:F.__ecGraphicHeight};m.positionElement(M,O,B,null,{hv:O.hv,boundingMode:O.bounding})}},_clear:function(){var v=this._elMap;v.each(function(y){i(y,v)}),this._elMap=f.createHashMap()},dispose:function(){this._clear()}});function c(v,y,w,S){var _=w.type,I=n.hasOwnProperty(_)?n[_]:e.getShapeClass(_),C=new I(w);y.add(C),S.set(v,C),C.__ecGraphicId=v}function i(v,y){var w=v&&v.parent;w&&(v.type==="group"&&v.traverse(function(S){i(S,y)}),y.removeKey(v.__ecGraphicId),w.remove(v))}function u(v){return v=f.extend({},v),f.each(["id","parentId","$action","hv","bounding"].concat(m.LOCATION_PARAMS),function(y){delete v[y]}),v}function r(v,y){var w;return f.each(y,function(S){v[S]!=null&&v[S]!=="auto"&&(w=!0)}),w}function o(v,y){var w=v.exist;if(y.id=v.keyInfo.id,!y.type&&w&&(y.type=w.type),y.parentId==null){var S=y.parentOption;S?y.parentId=S.id:w&&(y.parentId=w.parentId)}y.parentOption=null}function h(v,y,w){var S=f.extend({},w),_=v[y],I=w.$action||"merge";I==="merge"?_?(f.merge(_,S,!0),m.mergeLayoutParam(_,S,{ignoreSize:!0}),m.copyLayoutParams(w,_)):v[y]=S:I==="replace"?v[y]=S:I==="remove"&&(_&&(v[y]=null))}function p(v,y){if(!v)return;v.hv=y.hv=[r(y,["left","right"]),r(y,["top","bottom"])],v.type==="group"&&(v.width==null&&(v.width=y.width=0),v.height==null&&(v.height=y.height=0))}function g(v,y,w){var S=v.eventData;!v.silent&&!v.ignore&&!S&&(S=v.eventData={componentType:"graphic",componentIndex:y.componentIndex,name:v.name}),S&&(S.info=v.info)}},f3JH:function(j,R,l){l("aTJb"),l("OlYY"),l("fc+c"),l("oY9F"),l("MqEG"),l("LBfv"),l("noeP")},f5HG:function(j,R,l){var x=l("IwbS"),b=l("QBsz"),A=x.Line.prototype,f=x.BezierCurve.prototype;function t(m){return isNaN(+m.cpx1)||isNaN(+m.cpy1)}var e=x.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(m,d){this[t(d)?"_buildPathLine":"_buildPathCurve"](m,d)},_buildPathLine:A.buildPath,_buildPathCurve:f.buildPath,pointAt:function(m){return this[t(this.shape)?"_pointAtLine":"_pointAtCurve"](m)},_pointAtLine:A.pointAt,_pointAtCurve:f.pointAt,tangentAt:function(m){var d=this.shape,a=t(d)?[d.x2-d.x1,d.y2-d.y1]:this._tangentAtCurve(m);return b.normalize(a,a)},_tangentAtCurve:f.tangentAt});j.exports=e},f5Yq:function(j,R,l){var x=l("bYtY"),b=x.isFunction;function A(f,t,e){return{seriesType:f,performRawSeries:!0,reset:function(m,d,a){var n=m.getData(),s=m.get("symbol"),c=m.get("symbolSize"),i=m.get("symbolKeepAspect"),u=m.get("symbolRotate"),r=b(s),o=b(c),h=b(u),p=r||o||h,g=!r&&s?s:t,v=o?null:c,y=h?null:y;if(n.setVisual({legendSymbol:e||g,symbol:g,symbolSize:v,symbolKeepAspect:i,symbolRotate:u}),d.isSeriesFiltered(m))return;function w(S,_){if(p){var I=m.getRawValue(_),C=m.getDataParams(_);r&&S.setItemVisual(_,"symbol",s(I,C)),o&&S.setItemVisual(_,"symbolSize",c(I,C)),h&&S.setItemVisual(_,"symbolRotate",u(I,C))}if(S.hasItemOption){var E=S.getItemModel(_),O=E.getShallow("symbol",!0),M=E.getShallow("symbolSize",!0),F=E.getShallow("symbolRotate",!0),H=E.getShallow("symbolKeepAspect",!0);O!=null&&S.setItemVisual(_,"symbol",O),M!=null&&S.setItemVisual(_,"symbolSize",M),F!=null&&S.setItemVisual(_,"symbolRotate",F),H!=null&&S.setItemVisual(_,"symbolKeepAspect",H)}}return{dataEach:n.hasItemOption||p?w:null}}}}j.exports=A},fAei:function(j,R,l){"use strict";l.d(R,"a",function(){return v.a});var x=l("rePB"),b=l("VTBJ"),A=l("KQm4"),f=l("1OyB"),t=l("vuIU"),e=l("Ji7U"),m=l("LK+K"),d=l("q1tI"),a=l("4IlW"),n=l("Kwbf"),s=l("TSYQ"),c=l.n(s),i=l("sboe"),u=l("OZM5"),r=l("815F"),o=l("ODXe"),h=l("Ff2n"),p=l("+nKL"),g=l("8XRh"),v=l("WaYH"),y=function(re,ce){var ie=re.className,fe=re.style,xe=re.motion,Se=re.motionNodes,ke=re.motionType,ge=re.onMotionStart,Be=re.onMotionEnd,ee=re.active,ue=re.treeNodeRequiredProps,Ge=Object(h.a)(re,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),ae=d.useState(!0),Z=Object(o.a)(ae,2),Y=Z[0],te=Z[1],we=d.useContext(i.a),pe=we.prefixCls,De=d.useRef(!1),Ne=function(){De.current||Be(),De.current=!0};return Object(d.useEffect)(function(){Se&&ke==="hide"&&Y&&te(!1)},[Se]),Object(d.useEffect)(function(){return Se&&ge(),function(){Se&&Ne()}},[]),Se?d.createElement(g.default,Object.assign({ref:ce,visible:Y},xe,{motionAppear:ke==="show",onAppearEnd:Ne,onLeaveEnd:Ne}),function(me,be){var Re=me.className,it=me.style;return d.createElement("div",{ref:be,className:c()("".concat(pe,"-treenode-motion"),Re),style:it},Se.map(function(yt){var pt=yt.data,Pe=pt.key,Nt=Object(h.a)(pt,["key"]),ut=yt.isStart,Ft=yt.isEnd;delete Nt.children;var Ut=Object(r.f)(Pe,ue);return d.createElement(v.a,Object.assign({},Nt,Ut,{active:ee,data:yt.data,key:Pe,isStart:ut,isEnd:Ft}))}))}):d.createElement(v.a,Object.assign({domRef:ce,className:ie,style:fe},Ge,{active:ee}))};y.displayName="MotionTreeNode";var w=d.forwardRef(y),S=w;function _(){var q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ce=q.length,ie=re.length;if(Math.abs(ce-ie)!==1)return{add:!1,key:null};function fe(xe,Se){var ke=new Map;xe.forEach(function(Be){ke.set(Be,!0)});var ge=Se.filter(function(Be){return!ke.has(Be)});return ge.length===1?ge[0]:null}return ce ").concat(re);return re}var k=function(re,ce){var ie=re.prefixCls,fe=re.data,xe=re.selectable,Se=re.checkable,ke=re.expandedKeys,ge=re.selectedKeys,Be=re.checkedKeys,ee=re.loadedKeys,ue=re.loadingKeys,Ge=re.halfCheckedKeys,ae=re.keyEntities,Z=re.disabled,Y=re.dragging,te=re.dragOverNodeKey,we=re.dropPosition,pe=re.motion,De=re.height,Ne=re.itemHeight,me=re.virtual,be=re.focusable,Re=re.activeItem,it=re.focused,yt=re.tabIndex,pt=re.onKeyDown,Pe=re.onFocus,Nt=re.onBlur,ut=re.onActiveChange,Ft=re.onListChangeStart,Ut=re.onListChangeEnd,Kt=Object(h.a)(re,["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"]),$t=d.useRef(null);d.useImperativeHandle(ce,function(){return{scrollTo:function(Wn){$t.current.scrollTo(Wn)}}});var or=d.useState(ke),ht=Object(o.a)(or,2),Ee=ht[0],de=ht[1],qe=d.useState(fe),rt=Object(o.a)(qe,2),ve=rt[0],bt=rt[1],jt=d.useState(fe),He=Object(o.a)(jt,2),kt=He[0],Ar=He[1],at=d.useState([]),Ht=Object(o.a)(at,2),Wt=Ht[0],ot=Ht[1],et=d.useState(null),Ze=Object(o.a)(et,2),Gt=Ze[0],yr=Ze[1];function br(){bt(fe),Ar(fe),ot([]),yr(null),Ut()}d.useEffect(function(){de(ke);var cn=_(Ee,ke);if(cn.key!==null)if(cn.add){var Wn=ve.findIndex(function(gt){var ir=gt.data.key;return ir===cn.key}),lt=B(I(ve,fe,cn.key),me,De,Ne),mt=ve.slice();mt.splice(Wn+1,0,H),Ar(mt),ot(lt),yr("show")}else{var Le=fe.findIndex(function(gt){var ir=gt.data.key;return ir===cn.key}),ze=B(I(fe,ve,cn.key),me,De,Ne),$e=fe.slice();$e.splice(Le+1,0,H),Ar($e),ot(ze),yr("hide")}else ve!==fe&&(bt(fe),Ar(fe))},[ke,fe]),d.useEffect(function(){Y||br()},[Y]);var Sr=pe?kt:fe,Tn={expandedKeys:ke,selectedKeys:ge,loadedKeys:ee,loadingKeys:ue,checkedKeys:Be,halfCheckedKeys:Ge,dragOverNodeKey:te,dropPosition:we,keyEntities:ae};return d.createElement(d.Fragment,null,it&&Re&&d.createElement("span",{style:C,"aria-live":"assertive"},J(Re)),d.createElement("div",{role:"tree"},d.createElement("input",{style:C,disabled:be===!1||Z,tabIndex:be!==!1?yt:null,onKeyDown:pt,onFocus:Pe,onBlur:Nt,value:"",onChange:E})),d.createElement(p.a,Object.assign({},Kt,{data:Sr,itemKey:X,height:De,fullHeight:!1,virtual:me,itemHeight:Ne,prefixCls:"".concat(ie,"-list"),ref:$t}),function(cn){var Wn=cn.pos,lt=cn.data,mt=lt.key,Le=Object(h.a)(lt,["key"]),ze=cn.isStart,$e=cn.isEnd,gt=Object(r.e)(mt,Wn);delete Le.children;var ir=Object(r.f)(gt,Tn);return d.createElement(S,Object.assign({},Le,ir,{active:Re&&mt===Re.data.key,pos:Wn,data:cn.data,isStart:ze,isEnd:$e,motion:pe,motionNodes:mt===O?Wt:null,motionType:Gt,onMotionStart:Ft,onMotionEnd:br,treeNodeRequiredProps:Tn,onMouseMove:function(){ut(null)}}))}))},K=d.forwardRef(k);K.displayName="NodeList";var z=K,W=l("NvD2"),P=function(q){Object(e.a)(ce,q);var re=Object(m.a)(ce);function ce(){var ie;return Object(f.a)(this,ce),ie=re.apply(this,arguments),ie.destroyed=!1,ie.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},ie.listRef=d.createRef(),ie.onNodeDragStart=function(fe,xe){var Se=ie.state,ke=Se.expandedKeys,ge=Se.keyEntities,Be=ie.props.onDragStart,ee=xe.props.eventKey;ie.dragNode=xe;var ue=Object(u.b)(ke,ee);ie.setState({dragging:!0,dragNodesKeys:Object(u.g)(ee,ge)}),ie.setExpandedKeys(ue),Be&&Be({event:fe,node:Object(r.b)(xe.props)})},ie.onNodeDragEnter=function(fe,xe){var Se=ie.state,ke=Se.expandedKeys,ge=Se.keyEntities,Be=Se.dragNodesKeys,ee=ie.props.onDragEnter,ue=xe.props,Ge=ue.pos,ae=ue.eventKey;if(!ie.dragNode||Be.indexOf(ae)!==-1)return;var Z=Object(u.c)(fe,xe);if(ie.dragNode.props.eventKey===ae&&Z===0){ie.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){ie.setState({dragOverNodeKey:ae,dropPosition:Z}),ie.delayedDragEnterLogic||(ie.delayedDragEnterLogic={}),Object.keys(ie.delayedDragEnterLogic).forEach(function(Y){clearTimeout(ie.delayedDragEnterLogic[Y])}),ie.delayedDragEnterLogic[Ge]=window.setTimeout(function(){if(!ie.state.dragging)return;var Y=Object(A.a)(ke),te=ge[ae];te&&(te.children||[]).length&&(Y=Object(u.a)(ke,ae)),"expandedKeys"in ie.props||ie.setExpandedKeys(Y),ee&&ee({event:fe,node:Object(r.b)(xe.props),expandedKeys:Y})},400)},0)},ie.onNodeDragOver=function(fe,xe){var Se=ie.state.dragNodesKeys,ke=ie.props.onDragOver,ge=xe.props.eventKey;if(Se.indexOf(ge)!==-1)return;if(ie.dragNode&&ge===ie.state.dragOverNodeKey){var Be=Object(u.c)(fe,xe);if(Be===ie.state.dropPosition)return;ie.setState({dropPosition:Be})}ke&&ke({event:fe,node:Object(r.b)(xe.props)})},ie.onNodeDragLeave=function(fe,xe){var Se=ie.props.onDragLeave;ie.setState({dragOverNodeKey:""}),Se&&Se({event:fe,node:Object(r.b)(xe.props)})},ie.onNodeDragEnd=function(fe,xe){var Se=ie.props.onDragEnd;ie.setState({dragOverNodeKey:""}),ie.cleanDragState(),Se&&Se({event:fe,node:Object(r.b)(xe.props)}),ie.dragNode=null},ie.onNodeDrop=function(fe,xe){var Se=ie.state,ke=Se.dragNodesKeys,ge=ke===void 0?[]:ke,Be=Se.dropPosition,ee=ie.props.onDrop,ue=xe.props,Ge=ue.eventKey,ae=ue.pos;if(ie.setState({dragOverNodeKey:""}),ie.cleanDragState(),ge.indexOf(Ge)!==-1){Object(n.a)(!1,"Can not drop to dragNode(include it's children node)");return}var Z=Object(u.k)(ae),Y={event:fe,node:Object(r.b)(xe.props),dragNode:ie.dragNode?Object(r.b)(ie.dragNode.props):null,dragNodesKeys:ge.slice(),dropPosition:Be+Number(Z[Z.length-1]),dropToGap:!1};Be!==0&&(Y.dropToGap=!0),ee&&ee(Y),ie.dragNode=null},ie.cleanDragState=function(){var fe=ie.state.dragging;fe&&ie.setState({dragging:!1})},ie.onNodeClick=function(fe,xe){var Se=ie.props.onClick;Se&&Se(fe,xe)},ie.onNodeDoubleClick=function(fe,xe){var Se=ie.props.onDoubleClick;Se&&Se(fe,xe)},ie.onNodeSelect=function(fe,xe){var Se=ie.state.selectedKeys,ke=ie.state.keyEntities,ge=ie.props,Be=ge.onSelect,ee=ge.multiple,ue=xe.selected,Ge=xe.key,ae=!ue;ae?ee?Se=Object(u.a)(Se,Ge):Se=[Ge]:Se=Object(u.b)(Se,Ge);var Z=Se.map(function(Y){var te=ke[Y];return te?te.node:null}).filter(function(Y){return Y});ie.setUncontrolledState({selectedKeys:Se}),Be&&Be(Se,{event:"select",selected:ae,node:xe,selectedNodes:Z,nativeEvent:fe.nativeEvent})},ie.onNodeCheck=function(fe,xe,Se){var ke=ie.state,ge=ke.keyEntities,Be=ke.checkedKeys,ee=ke.halfCheckedKeys,ue=ie.props,Ge=ue.checkStrictly,ae=ue.onCheck,Z=xe.key,Y,te={event:"check",node:xe,checked:Se,nativeEvent:fe.nativeEvent};if(Ge){var we=Se?Object(u.a)(Be,Z):Object(u.b)(Be,Z),pe=Object(u.b)(ee,Z);Y={checked:we,halfChecked:pe},te.checkedNodes=we.map(function(it){return ge[it]}).filter(function(it){return it}).map(function(it){return it.node}),ie.setUncontrolledState({checkedKeys:we})}else{var De=Object(W.a)([].concat(Object(A.a)(Be),[Z]),!0,ge),Ne=De.checkedKeys,me=De.halfCheckedKeys;if(!Se){var be=new Set(Ne);be.delete(Z);var Re=Object(W.a)(Array.from(be),{checked:!1,halfCheckedKeys:me},ge);Ne=Re.checkedKeys,me=Re.halfCheckedKeys}Y=Ne,te.checkedNodes=[],te.checkedNodesPositions=[],te.halfCheckedKeys=me,Ne.forEach(function(it){var yt=ge[it];if(!yt)return;var pt=yt.node,Pe=yt.pos;te.checkedNodes.push(pt),te.checkedNodesPositions.push({node:pt,pos:Pe})}),ie.setUncontrolledState({checkedKeys:Ne},!1,{halfCheckedKeys:me})}ae&&ae(Y,te)},ie.onNodeLoad=function(fe){return new Promise(function(xe){ie.setState(function(Se){var ke=Se.loadedKeys,ge=ke===void 0?[]:ke,Be=Se.loadingKeys,ee=Be===void 0?[]:Be,ue=ie.props,Ge=ue.loadData,ae=ue.onLoad,Z=fe.key;if(!Ge||ge.indexOf(Z)!==-1||ee.indexOf(Z)!==-1)return{};var Y=Ge(fe);return Y.then(function(){var te=ie.state,we=te.loadedKeys,pe=te.loadingKeys,De=Object(u.a)(we,Z),Ne=Object(u.b)(pe,Z);ae&&ae(De,{event:"load",node:fe}),ie.setUncontrolledState({loadedKeys:De}),ie.setState({loadingKeys:Ne}),xe()}),{loadingKeys:Object(u.a)(ee,Z)}})})},ie.onNodeMouseEnter=function(fe,xe){var Se=ie.props.onMouseEnter;Se&&Se({event:fe,node:xe})},ie.onNodeMouseLeave=function(fe,xe){var Se=ie.props.onMouseLeave;Se&&Se({event:fe,node:xe})},ie.onNodeContextMenu=function(fe,xe){var Se=ie.props.onRightClick;Se&&(fe.preventDefault(),Se({event:fe,node:xe}))},ie.onFocus=function(){var fe=ie.props.onFocus;ie.setState({focused:!0}),fe&&fe.apply(void 0,arguments)},ie.onBlur=function(){var fe=ie.props.onBlur;ie.setState({focused:!1}),ie.onActiveChange(null),fe&&fe.apply(void 0,arguments)},ie.getTreeNodeRequiredProps=function(){var fe=ie.state,xe=fe.expandedKeys,Se=fe.selectedKeys,ke=fe.loadedKeys,ge=fe.loadingKeys,Be=fe.checkedKeys,ee=fe.halfCheckedKeys,ue=fe.dragOverNodeKey,Ge=fe.dropPosition,ae=fe.keyEntities;return{expandedKeys:xe||[],selectedKeys:Se||[],loadedKeys:ke||[],loadingKeys:ge||[],checkedKeys:Be||[],halfCheckedKeys:ee||[],dragOverNodeKey:ue,dropPosition:Ge,keyEntities:ae}},ie.setExpandedKeys=function(fe){var xe=ie.state.treeData,Se=Object(r.d)(xe,fe);ie.setUncontrolledState({expandedKeys:fe,flattenNodes:Se},!0)},ie.onNodeExpand=function(fe,xe){var Se=ie.state.expandedKeys,ke=ie.state.listChanging,ge=ie.props,Be=ge.onExpand,ee=ge.loadData,ue=xe.key,Ge=xe.expanded;if(ke)return;var ae=Se.indexOf(ue),Z=!Ge;if(Object(n.a)(Ge&&ae!==-1||!Ge&&ae===-1,"Expand state not sync with index check"),Z?Se=Object(u.a)(Se,ue):Se=Object(u.b)(Se,ue),ie.setExpandedKeys(Se),Be&&Be(Se,{node:xe,expanded:Z,nativeEvent:fe.nativeEvent}),Z&&ee){var Y=ie.onNodeLoad(xe);Y&&Y.then(function(){var te=Object(r.d)(ie.state.treeData,Se);ie.setUncontrolledState({flattenNodes:te})})}},ie.onListChangeStart=function(){ie.setUncontrolledState({listChanging:!0})},ie.onListChangeEnd=function(){setTimeout(function(){ie.setUncontrolledState({listChanging:!1})})},ie.onActiveChange=function(fe){var xe=ie.state.activeKey,Se=ie.props.onActiveChange;if(xe===fe)return;ie.setState({activeKey:fe}),fe!==null&&ie.scrollTo({key:fe}),Se&&Se(fe)},ie.getActiveItem=function(){var fe=ie.state,xe=fe.activeKey,Se=fe.flattenNodes;return xe===null?null:Se.find(function(ke){var ge=ke.data.key;return ge===xe})||null},ie.offsetActiveKey=function(fe){var xe=ie.state,Se=xe.flattenNodes,ke=xe.activeKey,ge=Se.findIndex(function(ue){var Ge=ue.data.key;return Ge===ke});ge===-1&&fe<0&&(ge=Se.length),ge=(ge+fe+Se.length)%Se.length;var Be=Se[ge];if(Be){var ee=Be.data.key;ie.onActiveChange(ee)}else ie.onActiveChange(null)},ie.onKeyDown=function(fe){var xe=ie.state,Se=xe.activeKey,ke=xe.expandedKeys,ge=xe.checkedKeys,Be=ie.props,ee=Be.onKeyDown,ue=Be.checkable,Ge=Be.selectable;switch(fe.which){case a.a.UP:{ie.offsetActiveKey(-1),fe.preventDefault();break}case a.a.DOWN:{ie.offsetActiveKey(1),fe.preventDefault();break}}var ae=ie.getActiveItem();if(ae&&ae.data){var Z=ie.getTreeNodeRequiredProps(),Y=ae.data.isLeaf===!1||!!(ae.data.children||[]).length,te=Object(r.b)(Object(b.a)(Object(b.a)({},Object(r.f)(Se,Z)),{},{data:ae.data,active:!0}));switch(fe.which){case a.a.LEFT:{Y&&ke.includes(Se)?ie.onNodeExpand({},te):ae.parent&&ie.onActiveChange(ae.parent.data.key),fe.preventDefault();break}case a.a.RIGHT:{Y&&!ke.includes(Se)?ie.onNodeExpand({},te):ae.children&&ae.children.length&&ie.onActiveChange(ae.children[0].data.key),fe.preventDefault();break}case a.a.ENTER:case a.a.SPACE:{ue&&!te.disabled&&te.checkable!==!1&&!te.disableCheckbox?ie.onNodeCheck({},te,!ge.includes(Se)):!ue&&Ge&&!te.disabled&&te.selectable!==!1&&ie.onNodeSelect({},te);break}}}ee&&ee(fe)},ie.setUncontrolledState=function(fe){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(ie.destroyed)return;var ke=!1,ge=!0,Be={};Object.keys(fe).forEach(function(ee){if(ee in ie.props){ge=!1;return}ke=!0,Be[ee]=fe[ee]}),ke&&(!xe||ge)&&ie.setState(Object(b.a)(Object(b.a)({},Be),Se))},ie.scrollTo=function(fe){ie.listRef.current.scrollTo(fe)},ie}return Object(t.a)(ce,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var fe,xe=this.state,Se=xe.focused,ke=xe.flattenNodes,ge=xe.keyEntities,Be=xe.dragging,ee=xe.activeKey,ue=this.props,Ge=ue.prefixCls,ae=ue.className,Z=ue.style,Y=ue.showLine,te=ue.focusable,we=ue.tabIndex,pe=we===void 0?0:we,De=ue.selectable,Ne=ue.showIcon,me=ue.icon,be=ue.switcherIcon,Re=ue.draggable,it=ue.checkable,yt=ue.checkStrictly,pt=ue.disabled,Pe=ue.motion,Nt=ue.loadData,ut=ue.filterTreeNode,Ft=ue.height,Ut=ue.itemHeight,Kt=ue.virtual,$t=ue.titleRender,or=ue.onContextMenu,ht=Object(u.f)(this.props);return d.createElement(i.a.Provider,{value:{prefixCls:Ge,selectable:De,showIcon:Ne,icon:me,switcherIcon:be,draggable:Re,checkable:it,checkStrictly:yt,disabled:pt,keyEntities:ge,loadData:Nt,filterTreeNode:ut,titleRender:$t,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},d.createElement("div",{className:c()(Ge,ae,(fe={},Object(x.a)(fe,"".concat(Ge,"-show-line"),Y),Object(x.a)(fe,"".concat(Ge,"-focused"),Se),Object(x.a)(fe,"".concat(Ge,"-active-focused"),ee!==null),fe))},d.createElement(z,Object.assign({ref:this.listRef,prefixCls:Ge,style:Z,data:ke,disabled:pt,selectable:De,checkable:!!it,motion:Pe,dragging:Be,height:Ft,itemHeight:Ut,virtual:Kt,focusable:te,focused:Se,tabIndex:pe,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:or},this.getTreeNodeRequiredProps(),ht))))}}],[{key:"getDerivedStateFromProps",value:function(fe,xe){var Se=xe.prevProps,ke={prevProps:fe};function ge(me){return!Se&&me in fe||Se&&Se[me]!==fe[me]}var Be;if(ge("treeData")?Be=fe.treeData:ge("children")&&(Object(n.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Be=Object(r.c)(fe.children)),Be){ke.treeData=Be;var ee=Object(r.a)(Be);ke.keyEntities=Object(b.a)(Object(x.a)({},O,F),ee.keyEntities)}var ue=ke.keyEntities||xe.keyEntities;if(ge("expandedKeys")||Se&&ge("autoExpandParent"))ke.expandedKeys=fe.autoExpandParent||!Se&&fe.defaultExpandParent?Object(u.e)(fe.expandedKeys,ue):fe.expandedKeys;else if(!Se&&fe.defaultExpandAll){var Ge=Object(b.a)({},ue);delete Ge[O],ke.expandedKeys=Object.keys(Ge).map(function(me){return Ge[me].key})}else!Se&&fe.defaultExpandedKeys&&(ke.expandedKeys=fe.autoExpandParent||fe.defaultExpandParent?Object(u.e)(fe.defaultExpandedKeys,ue):fe.defaultExpandedKeys);if(ke.expandedKeys||delete ke.expandedKeys,Be||ke.expandedKeys){var ae=Object(r.d)(Be||xe.treeData,ke.expandedKeys||xe.expandedKeys);ke.flattenNodes=ae}if(fe.selectable&&(ge("selectedKeys")?ke.selectedKeys=Object(u.d)(fe.selectedKeys,fe):!Se&&fe.defaultSelectedKeys&&(ke.selectedKeys=Object(u.d)(fe.defaultSelectedKeys,fe))),fe.checkable){var Z;if(ge("checkedKeys")?Z=Object(u.j)(fe.checkedKeys)||{}:!Se&&fe.defaultCheckedKeys?Z=Object(u.j)(fe.defaultCheckedKeys)||{}:Be&&(Z=Object(u.j)(fe.checkedKeys)||{checkedKeys:xe.checkedKeys,halfCheckedKeys:xe.halfCheckedKeys}),Z){var Y=Z,te=Y.checkedKeys,we=te===void 0?[]:te,pe=Y.halfCheckedKeys,De=pe===void 0?[]:pe;if(!fe.checkStrictly){var Ne=Object(W.a)(we,!0,ue);we=Ne.checkedKeys,De=Ne.halfCheckedKeys}ke.checkedKeys=we,ke.halfCheckedKeys=De}}return ge("loadedKeys")&&(ke.loadedKeys=fe.loadedKeys),ke}}]),ce}(d.Component);P.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[]},P.TreeNode=v.a;var G=P,V=R.b=G},fE02:function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("/IIm"),f=l("vZ6x"),t=l("b9oc"),e=l("72pK"),m=l("Kagy"),d=l("IUWy");l("3TkU");var a=m.toolbox.dataZoom,n=b.each,s="\0_ec_\0toolbox-dataZoom_";function c(g,v,y){(this._brushController=new A(y.getZr())).on("brush",b.bind(this._onBrush,this)).mount(),this._isZoomActive}c.defaultOption={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:b.clone(a.title)};var i=c.prototype;i.render=function(g,v,y,w){this.model=g,this.ecModel=v,this.api=y,h(g,v,this,w,y),o(g,v)},i.onclick=function(g,v,y){u[y].call(this)},i.remove=function(g,v){this._brushController.unmount()},i.dispose=function(g,v){this._brushController.dispose()};var u={zoom:function(){var g=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:g})},back:function(){this._dispatchZoomAction(t.pop(this.ecModel))}};i._onBrush=function(g,v){if(!v.isEnd||!g.length)return;var y={},w=this.ecModel;this._brushController.updateCovers([]);var S=new f(r(this.model.option),w,{include:["grid"]});S.matchOutputRanges(g,w,function(C,E,O){if(O.type!=="cartesian2d")return;var M=C.brushType;M==="rect"?(_("x",O,E[0]),_("y",O,E[1])):_({lineX:"x",lineY:"y"}[M],O,E)}),t.push(w,y),this._dispatchZoomAction(y);function _(C,E,O){var M=E.getAxis(C),F=M.model,H=I(C,F,w),B=H.findRepresentativeAxisProxy(F).getMinMaxSpan();(B.minValueSpan!=null||B.maxValueSpan!=null)&&(O=e(0,O.slice(),M.scale.getExtent(),0,B.minValueSpan,B.maxValueSpan)),H&&(y[H.id]={dataZoomId:H.id,startValue:O[0],endValue:O[1]})}function I(C,E,O){var M;return O.eachComponent({mainType:"dataZoom",subType:"select"},function(F){var H=F.getAxisModel(C,E.componentIndex);H&&(M=F)}),M}},i._dispatchZoomAction=function(g){var v=[];n(g,function(y,w){v.push(b.clone(y))}),v.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:v})};function r(g){var v={};return b.each(["xAxisIndex","yAxisIndex"],function(y){v[y]=g[y],v[y]==null&&(v[y]="all"),(v[y]===!1||v[y]==="none")&&(v[y]=[])}),v}function o(g,v){g.setIconStatus("back",t.count(v)>1?"emphasis":"normal")}function h(g,v,y,w,S){var _=y._isZoomActive;w&&w.type==="takeGlobalCursor"&&(_=w.key==="dataZoomSelect"?w.dataZoomSelectActive:!1),y._isZoomActive=_,g.setIconStatus("zoom",_?"emphasis":"normal");var I=new f(r(g.option),v,{include:["grid"]});y._brushController.setPanels(I.makePanelOpts(S,function(C){return C.xAxisDeclared&&!C.yAxisDeclared?"lineX":!C.xAxisDeclared&&C.yAxisDeclared?"lineY":"rect"})).enableBrush(_?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}d.register("dataZoom",c),x.registerPreprocessor(function(g){if(!g)return;var v=g.dataZoom||(g.dataZoom=[]);b.isArray(v)||(g.dataZoom=v=[v]);var y=g.toolbox;if(y&&(b.isArray(y)&&(y=y[0]),y&&y.feature)){var w=y.feature.dataZoom;S("xAxis",w),S("yAxis",w)}function S(I,C){if(!C)return;var E=I+"Index",O=C[E];O!=null&&O!=="all"&&!b.isArray(O)&&(O=O===!1||O==="none"?[]:[O]),_(I,function(M,F){if(O!=null&&O!=="all"&&b.indexOf(O,F)===-1)return;var H={type:"select",$fromToolbox:!0,filterMode:C.filterMode||"filter",id:s+I+F};H[E]=F,v.push(H)})}function _(I,C){var E=g[I];b.isArray(E)||(E=E?[E]:[]),n(E,C)}});var p=c;j.exports=p},fNCr:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("tSko"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},fUL4:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("r+aA"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},fW2E:function(j,R){var l={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function x(b,A,f){return l.hasOwnProperty(A)?f*=b.dpr:f}j.exports=x},"fc+c":function(j,R,l){var x=l("sS/r"),b=x.extend({type:"dataZoom",render:function(A,f,t,e){this.dataZoomModel=A,this.ecModel=f,this.api=t},getTargetCoordInfo:function(){var A=this.dataZoomModel,f=this.ecModel,t={};A.eachTargetAxis(function(m,d){var a=f.getComponent(m.axis,d);if(a){var n=a.getCoordSysModel();n&&e(n,a,t[n.mainType]||(t[n.mainType]=[]),n.componentIndex)}},this);function e(m,d,a,n){for(var s,c=0;c0&&(z[0]=-z[0],z[1]=-z[1]);var P=O[0]<0?-1:1;if(v.__position!=="start"&&v.__position!=="end"){var G=-Math.atan2(O[1],O[0]);C[0].8?"left":E[0]<-.8?"right":"center",H=E[1]>.8?"top":E[1]<-.8?"bottom":"middle";break;case"start":M=[-E[0]*J+I[0],-E[1]*k+I[1]],F=E[0]>.8?"right":E[0]<-.8?"left":"center",H=E[1]>.8?"bottom":E[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":M=[J*P+I[0],I[1]+V],F=O[0]<0?"right":"left",B=[-J*P,-V];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":M=[W[0],W[1]+V],F="center",B=[0,-V];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":M=[-J*P+C[0],C[1]+V],F=O[0]>=0?"right":"left",B=[J*P,-V];break}v.attr({style:{textVerticalAlign:v.__verticalAlign||H,textAlign:v.__textAlign||F},position:M,scale:[y,y],origin:B})}}function u(h,p,g){t.Group.call(this),this._createLine(h,p,g)}var r=u.prototype;r.beforeUpdate=i,r._createLine=function(h,p,g){var v=h.hostModel,y=h.getItemLayout(p),w=s(y);w.shape.percent=0,t.initProps(w,{shape:{percent:1}},v,p),this.add(w);var S=new t.Text({name:"label",lineLabelOriginalOpacity:1});this.add(S),x.each(d,function(_){var I=n(_,h,p);this.add(I),this[a(_)]=h.getItemVisual(p,_)},this),this._updateCommonStl(h,p,g)},r.updateData=function(h,p,g){var v=h.hostModel,y=this.childOfName("line"),w=h.getItemLayout(p),S={shape:{}};c(S.shape,w),t.updateProps(y,S,v,p),x.each(d,function(_){var I=h.getItemVisual(p,_),C=a(_);if(this[C]!==I){this.remove(this.childOfName(_));var E=n(_,h,p);this.add(E)}this[C]=I},this),this._updateCommonStl(h,p,g)},r._updateCommonStl=function(h,p,g){var v=h.hostModel,y=this.childOfName("line"),w=g&&g.lineStyle,S=g&&g.hoverLineStyle,_=g&&g.labelModel,I=g&&g.hoverLabelModel;if(!g||h.hasItemOption){var C=h.getItemModel(p);w=C.getModel("lineStyle").getLineStyle(),S=C.getModel("emphasis.lineStyle").getLineStyle(),_=C.getModel("label"),I=C.getModel("emphasis.label")}var E=h.getItemVisual(p,"color"),O=x.retrieve3(h.getItemVisual(p,"opacity"),w.opacity,1);y.useStyle(x.defaults({strokeNoScale:!0,fill:"none",stroke:E,opacity:O},w)),y.hoverStyle=S,x.each(d,function(P){var G=this.childOfName(P);G&&(G.setColor(E),G.setStyle({opacity:O}))},this);var M=_.getShallow("show"),F=I.getShallow("show"),H=this.childOfName("label"),B,X;if((M||F)&&(B=E||"#000",X=v.getFormattedLabel(p,"normal",h.dataType),X==null)){var J=v.getRawValue(p);X=J==null?h.getName(p):isFinite(J)?m(J):J}var k=M?X:null,K=F?x.retrieve2(v.getFormattedLabel(p,"emphasis",h.dataType),X):null,z=H.style;if(k!=null||K!=null){t.setTextStyle(H.style,_,{text:k},{autoColor:B}),H.__textAlign=z.textAlign,H.__verticalAlign=z.textVerticalAlign,H.__position=_.get("position")||"middle";var W=_.get("distance");x.isArray(W)||(W=[W,W]),H.__labelDistance=W}K!=null?H.hoverStyle={text:K,textFill:I.getTextColor(!0),fontStyle:I.getShallow("fontStyle"),fontWeight:I.getShallow("fontWeight"),fontSize:I.getShallow("fontSize"),fontFamily:I.getShallow("fontFamily")}:H.hoverStyle={text:null},H.ignore=!M&&!F,t.setHoverStyle(this)},r.highlight=function(){this.trigger("emphasis")},r.downplay=function(){this.trigger("normal")},r.updateLayout=function(h,p){this.setLinePoints(h.getItemLayout(p))},r.setLinePoints=function(h){var p=this.childOfName("line");c(p.shape,h),p.dirty()},x.inherits(u,t.Group);var o=u;j.exports=o},fmMI:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("bYtY"),f=A.each,t=A.filter,e=A.map,m=A.isArray,d=A.indexOf,a=A.isObject,n=A.isString,s=A.createHashMap,c=A.assert,i=A.clone,u=A.merge,r=A.extend,o=A.mixin,h=l("4NO4"),p=l("Qxkt"),g=l("bLfw"),v=l("iXHM"),y=l("5Hur"),w=l("D5nY"),S=w.resetSourceDefaulter,_="\0_ec_inner",I=p.extend({init:function(k,K,z,W){z=z||{},this.option=null,this._theme=new p(z),this._optionManager=W},setOption:function(k,K){c(!(_ in k),"please use chart.getOption()"),this._optionManager.setOption(k,K),this.resetOption(null)},resetOption:function(k){var K=!1,z=this._optionManager;if(!k||k==="recreate"){var W=z.mountOption(k==="recreate");!this.option||k==="recreate"?O.call(this,W):(this.restoreData(),this.mergeOption(W)),K=!0}if((k==="timeline"||k==="media")&&this.restoreData(),!k||k==="recreate"||k==="timeline"){var P=z.getTimelineOption(this);P&&(this.mergeOption(P),K=!0)}if(!k||k==="recreate"||k==="media"){var G=z.getMediaOption(this,this._api);G.length&&f(G,function(V){this.mergeOption(V,K=!0)},this)}return K},mergeOption:function(k){var K=this.option,z=this._componentsMap,W=[];S(this),f(k,function(G,V){if(G==null)return;g.hasClass(V)?V&&W.push(V):K[V]=K[V]==null?i(G):u(K[V],G,!0)}),g.topologicalTravel(W,g.getAllClassMainTypes(),P,this);function P(G,V){var q=h.normalizeToArray(k[G]),re=h.mappingToExists(z.get(G),q);h.makeIdAndName(re),f(re,function(ie,fe){var xe=ie.option;a(xe)&&(ie.keyInfo.mainType=G,ie.keyInfo.subType=F(G,xe,ie.exist))});var ce=M(z,V);K[G]=[],z.set(G,[]),f(re,function(ie,fe){var xe=ie.exist,Se=ie.option;if(c(a(Se)||xe,"Empty component definition"),!Se)xe.mergeOption({},this),xe.optionUpdated({},!1);else{var ke=g.getClass(G,ie.keyInfo.subType,!0);if(xe&&xe.constructor===ke)xe.name=ie.keyInfo.name,xe.mergeOption(Se,this),xe.optionUpdated(Se,!1);else{var ge=r({dependentModels:ce,componentIndex:fe},ie.keyInfo);xe=new ke(Se,this,this,ge),r(xe,ge),xe.init(Se,this,this,ge),xe.optionUpdated(null,!0)}}z.get(G)[fe]=xe,K[G][fe]=xe.option},this),G==="series"&&H(this,z.get("series"))}this._seriesIndicesMap=s(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var k=i(this.option);return f(k,function(K,z){if(g.hasClass(z)){for(var K=h.normalizeToArray(K),W=K.length-1;W>=0;W--)h.isIdInner(K[W])&&K.splice(W,1);k[z]=K}}),delete k[_],k},getTheme:function(){return this._theme},getComponent:function(k,K){var z=this._componentsMap.get(k);if(z)return z[K||0]},queryComponents:function(k){var K=k.mainType;if(!K)return[];var z=k.index,W=k.id,P=k.name,G=this._componentsMap.get(K);if(!G||!G.length)return[];var V;if(z!=null)m(z)||(z=[z]),V=t(e(z,function(ce){return G[ce]}),function(ce){return!!ce});else if(W!=null){var q=m(W);V=t(G,function(ce){return q&&d(W,ce.id)>=0||!q&&ce.id===W})}else if(P!=null){var re=m(P);V=t(G,function(ce){return re&&d(P,ce.name)>=0||!re&&ce.name===P})}else V=G.slice();return B(V,k)},findComponents:function(k){var K=k.query,z=k.mainType,W=G(K),P=W?this.queryComponents(W):this._componentsMap.get(z);return V(B(P,k));function G(q){var re=z+"Index",ce=z+"Id",ie=z+"Name";return q&&(q[re]!=null||q[ce]!=null||q[ie]!=null)?{mainType:z,index:q[re],id:q[ce],name:q[ie]}:null}function V(q){return k.filter?t(q,k.filter):q}},eachComponent:function(k,K,z){var W=this._componentsMap;if(typeof k=="function")z=K,K=k,W.each(function(G,V){f(G,function(q,re){K.call(z,V,q,re)})});else if(n(k))f(W.get(k),K,z);else if(a(k)){var P=this.findComponents(k);f(P,K,z)}},getSeriesByName:function(k){var K=this._componentsMap.get("series");return t(K,function(z){return z.name===k})},getSeriesByIndex:function(k){return this._componentsMap.get("series")[k]},getSeriesByType:function(k){var K=this._componentsMap.get("series");return t(K,function(z){return z.subType===k})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(k,K){X(this),f(this._seriesIndices,function(z){var W=this._componentsMap.get("series")[z];k.call(K,W,z)},this)},eachRawSeries:function(k,K){f(this._componentsMap.get("series"),k,K)},eachSeriesByType:function(k,K,z){X(this),f(this._seriesIndices,function(W){var P=this._componentsMap.get("series")[W];P.subType===k&&K.call(z,P,W)},this)},eachRawSeriesByType:function(k,K,z){return f(this.getSeriesByType(k),K,z)},isSeriesFiltered:function(k){return X(this),this._seriesIndicesMap.get(k.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(k,K){X(this);var z=t(this._componentsMap.get("series"),k,K);H(this,z)},restoreData:function(k){var K=this._componentsMap;H(this,K.get("series"));var z=[];K.each(function(W,P){z.push(P)}),g.topologicalTravel(z,g.getAllClassMainTypes(),function(W,P){f(K.get(W),function(G){(W!=="series"||!C(G,k))&&G.restoreData()})})}});function C(k,K){if(K){var z=K.seiresIndex,W=K.seriesId,P=K.seriesName;return z!=null&&k.componentIndex!==z||W!=null&&k.id!==W||P!=null&&k.name!==P}}function E(k,K){var z=k.color&&!k.colorLayer;f(K,function(W,P){if(P==="colorLayer"&&z)return;g.hasClass(P)||(typeof W=="object"?k[P]=k[P]?u(k[P],W,!1):i(W):k[P]==null&&(k[P]=W))})}function O(k){k=k,this.option={},this.option[_]=1,this._componentsMap=s({series:[]}),this._seriesIndices,this._seriesIndicesMap,E(k,this._theme.option),u(k,v,!1),this.mergeOption(k)}function M(k,K){m(K)||(K=K?[K]:[]);var z={};return f(K,function(W){z[W]=(k.get(W)||[]).slice()}),z}function F(k,K,z){var W=K.type?K.type:z?z.subType:g.determineSubType(k,K);return W}function H(k,K){k._seriesIndicesMap=s(k._seriesIndices=e(K,function(z){return z.componentIndex})||[])}function B(k,K){return K.hasOwnProperty("subType")?t(k,function(z){return z.subType===K.subType}):k}function X(k){}o(I,y);var J=I;j.exports=J},fu2T:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("3dVZ"),f=l.n(A)},fyUT:function(j,R,l){"use strict";var x=l("pVnL"),b=l.n(x),A=l("lSNA"),f=l.n(A),t=l("q1tI"),e=l.n(t),m=l("TSYQ"),d=l.n(m),a=l("Ff2n"),n=l("rePB"),s=l("1OyB"),c=l("vuIU"),i=l("Ji7U"),u=l("md7G"),r=l("foSv"),o=l("4IlW");function h(V,q){var re=Object.keys(V);if(Object.getOwnPropertySymbols){var ce=Object.getOwnPropertySymbols(V);q&&(ce=ce.filter(function(ie){return Object.getOwnPropertyDescriptor(V,ie).enumerable})),re.push.apply(re,ce)}return re}function p(V){for(var q=1;q1?Ge-1:0),Z=1;Z1?ge-1:0),ee=1;ee=0)return parseInt(ke.slice(ke.indexOf("e-")+2),10);var ge=0;return ke.indexOf(".")>=0&&(ge=ke.length-ke.indexOf(".")-1),ge},ie.getInputDisplayValue=function(Se){var ke=Se||ie.state,ge=ke.focused,Be=ke.inputValue,ee=ke.value,ue;ge?ue=Be:ue=ie.toPrecisionAsStep(ee),ue==null&&(ue="");var Ge=ie.formatWrapper(ue);return E(ie.props.decimalSeparator)&&(Ge=Ge.toString().replace(".",ie.props.decimalSeparator)),Ge},ie.recordCursorPosition=function(){try{ie.cursorStart=ie.input.selectionStart,ie.cursorEnd=ie.input.selectionEnd,ie.currentValue=ie.input.value,ie.cursorBefore=ie.input.value.substring(0,ie.cursorStart),ie.cursorAfter=ie.input.value.substring(ie.cursorEnd)}catch(Se){}},ie.restoreByAfter=function(Se){if(Se===void 0)return!1;var ke=ie.input.value,ge=ke.lastIndexOf(Se);if(ge===-1)return!1;var Be=ie.cursorBefore.length;return ie.lastKeyCode===o.a.DELETE&&ie.cursorBefore.charAt(Be-1)===Se[0]?(ie.fixCaret(Be,Be),!0):ge+Se.length===ke.length?(ie.fixCaret(ge,ge),!0):!1},ie.partRestoreByAfter=function(Se){return Se===void 0?!1:Array.prototype.some.call(Se,function(ke,ge){var Be=Se.substring(ge);return ie.restoreByAfter(Be)})},ie.isNotCompleteNumber=function(Se){return isNaN(Se)||Se===""||Se===null||Se&&Se.toString().indexOf(".")===Se.toString().length-1},ie.stop=function(){ie.autoStepTimer&&clearTimeout(ie.autoStepTimer)},ie.down=function(Se,ke,ge){ie.pressingUpOrDown=!0,ie.step("down",Se,ke,ge)},ie.up=function(Se,ke,ge){ie.pressingUpOrDown=!0,ie.step("up",Se,ke,ge)},ie.saveInput=function(Se){ie.input=Se};var fe=ce.value;fe===void 0&&(fe=ce.defaultValue),ie.state={focused:ce.autoFocus};var xe=ie.getValidValue(ie.toNumber(fe));return ie.state=p(p({},ie.state),{},{inputValue:ie.toPrecisionAsStep(xe),value:xe}),ie}return Object(c.a)(re,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(ie){var fe=this.props,xe=fe.value,Se=fe.onChange,ke=fe.max,ge=fe.min,Be=this.state.focused;if(ie){if(!O(ie.value,xe)||!O(ie.max,ke)||!O(ie.min,ge)){var ee=Be?xe:this.getValidValue(xe),ue;this.pressingUpOrDown?ue=ee:this.inputting?ue=this.rawInput:ue=this.toPrecisionAsStep(ee),this.setState({value:ee,inputValue:ue})}var Ge="value"in this.props?xe:this.state.value;"max"in this.props&&ie.max!==ke&&typeof Ge=="number"&&Ge>ke&&Se&&Se(ke),"min"in this.props&&ie.min!==ge&&typeof Ge=="number"&&Ge1&&arguments[1]!==void 0?arguments[1]:this.props.min,xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,Se=parseFloat(ie);return isNaN(Se)?ie:(Sexe&&(Se=xe),Se)}},{key:"setValue",value:function(ie,fe){var xe=this.props.precision,Se=this.isNotCompleteNumber(parseFloat(ie))?null:parseFloat(ie),ke=this.state.value,ge=ke===void 0?null:ke,Be=this.state.inputValue,ee=Be===void 0?null:Be,ue=typeof Se=="number"?Se.toFixed(xe):"".concat(Se),Ge=Se!==ge||ue!=="".concat(ee);return"value"in this.props?(ee=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:ee},fe)):this.setState({value:Se,inputValue:this.toPrecisionAsStep(ie)},fe),Ge&&this.props.onChange(Se),Se}},{key:"getMaxPrecision",value:function(ie){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,xe=this.props,Se=xe.precision,ke=xe.step;if(E(Se))return Se;var ge=this.getPrecision(fe),Be=this.getPrecision(ke),ee=this.getPrecision(ie);return ie?Math.max(ee,ge+Be):ge+Be}},{key:"getPrecisionFactor",value:function(ie){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,xe=this.getMaxPrecision(ie,fe);return Math.pow(10,xe)}},{key:"focus",value:function(){this.input.focus(),this.recordCursorPosition()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"formatWrapper",value:function(ie){return this.props.formatter?this.props.formatter(ie):ie}},{key:"toPrecisionAsStep",value:function(ie){if(this.isNotCompleteNumber(ie)||ie==="")return ie;var fe=Math.abs(this.getMaxPrecision(ie));return isNaN(fe)?ie.toString():Number(ie).toFixed(fe)}},{key:"toNumber",value:function(ie){var fe=this.props.precision,xe=this.state.focused,Se=ie&&ie.length>16&&xe;return this.isNotCompleteNumber(ie)||Se?ie:E(fe)?Math.round(ie*Math.pow(10,fe))/Math.pow(10,fe):Number(ie)}},{key:"upStep",value:function(ie,fe){var xe=this.props.step,Se=this.getPrecisionFactor(ie,fe),ke=Math.abs(this.getMaxPrecision(ie,fe)),ge=((Se*ie+Se*xe*fe)/Se).toFixed(ke);return this.toNumber(ge)}},{key:"downStep",value:function(ie,fe){var xe=this.props.step,Se=this.getPrecisionFactor(ie,fe),ke=Math.abs(this.getMaxPrecision(ie,fe)),ge=((Se*ie-Se*xe*fe)/Se).toFixed(ke);return this.toNumber(ge)}},{key:"step",value:function(ie,fe){var xe=this,Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,ke=arguments.length>3?arguments[3]:void 0;this.stop(),fe&&(fe.persist(),fe.preventDefault());var ge=this.props;if(ge.disabled)return;var Be=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(Be))return;var ee=this["".concat(ie,"Step")](Be,Se),ue=ee>ge.max||eege.max?ee=ge.max:ee=ae),kt=(de||de===0)&&(isNaN(de)||Number(de)<=Z),Ar=He||Se||ke,at=kt||Se||ke,Ht=d()("".concat(xe,"-handler"),"".concat(xe,"-handler-up"),Object(n.a)({},"".concat(xe,"-handler-up-disabled"),Ar)),Wt=d()("".concat(xe,"-handler"),"".concat(xe,"-handler-down"),Object(n.a)({},"".concat(xe,"-handler-down-disabled"),at)),ot=ge?{onTouchStart:Ar?y:this.up,onTouchEnd:this.stop}:{onMouseDown:Ar?y:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},et=ge?{onTouchStart:at?y:this.down,onTouchEnd:this.stop}:{onMouseDown:at?y:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return e.a.createElement("div",{className:rt,style:Y,title:te,onMouseEnter:we,onMouseLeave:pe,onMouseOver:De,onMouseOut:Ne,onFocus:function(){return null},onBlur:function(){return null}},e.a.createElement("div",{className:"".concat(xe,"-handler-wrap")},e.a.createElement("span",Object.assign({unselectable:"on"},ot,{role:"button","aria-label":"Increase Value","aria-disabled":Ar,className:Ht}),ee||e.a.createElement("span",{unselectable:"on",className:"".concat(xe,"-handler-up-inner"),onClick:w})),e.a.createElement("span",Object.assign({unselectable:"on"},et,{role:"button","aria-label":"Decrease Value","aria-disabled":at,className:Wt}),ue||e.a.createElement("span",{unselectable:"on",className:"".concat(xe,"-handler-down-inner"),onClick:w}))),e.a.createElement("div",{className:"".concat(xe,"-input-wrap")},e.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":Z,"aria-valuemax":ae,"aria-valuenow":de,required:me,type:it,placeholder:yt,onPaste:$t,onClick:be,onMouseUp:this.onMouseUp,className:"".concat(xe,"-input"),tabIndex:Re,autoComplete:Be,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:bt?this.onKeyDown:y,onKeyUp:bt?this.onKeyUp:y,autoFocus:Ut,maxLength:Ft,readOnly:ke,disabled:Se,max:ae,min:Z,step:ut,name:Kt,title:te,id:pt,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(jt),pattern:Nt,inputMode:Pe,onInput:or},ve))))}}]),re}(e.a.Component);M.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:C,min:-C,step:1,style:{},onChange:y,onKeyDown:y,onPressEnter:y,onFocus:y,onBlur:y,parser:S,required:!1,autoComplete:"off"};var F=M,H=F,B=l("FH2Y"),X=l.n(B),J=l("HQEm"),k=l.n(J),K=l("H84U"),z=l("3Nzz"),W=function(V,q){var re={};for(var ce in V)Object.prototype.hasOwnProperty.call(V,ce)&&q.indexOf(ce)<0&&(re[ce]=V[ce]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,ce=Object.getOwnPropertySymbols(V);ie-1;Ne?pe.splice(De,1):pe.push(we)}te.setActiveKey(pe)},this.getNewChild=function(we,pe){if(!we)return null;var De=te.state.activeKey,Ne=te.props,me=Ne.prefixCls,be=Ne.accordion,Re=Ne.destroyInactivePanel,it=Ne.expandIcon,yt=we.key||String(pe),pt=we.props,Pe=pt.header,Nt=pt.headerClass,ut=pt.disabled,Ft=!1;be?Ft=De[0]===yt:Ft=De.indexOf(yt)>-1;var Ut={key:yt,panelKey:yt,header:Pe,headerClass:Nt,isActive:Ft,prefixCls:me,destroyInactivePanel:Re,openAnimation:te.state.openAnimation,accordion:be,children:we.props.children,onItemClick:ut?null:te.onClickItem,expandIcon:it};return typeof we.type=="string"?we:e.a.cloneElement(we,Ut)},this.getItems=function(){var we=te.props.children;return Object(s.a)(we).map(te.getNewChild)},this.setActiveKey=function(we){"activeKey"in te.props||te.setState({activeKey:we}),te.props.onChange(te.props.accordion?we[0]:we)}};W.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},W.Panel=C;var G=W,V=G,q=G.Panel,re=l("fEPi"),ce=l.n(re),ie=l("H84U"),fe=function(te){var we=t.useContext(ie.b),pe=we.getPrefixCls,De=te.prefixCls,Ne=te.className,me=Ne===void 0?"":Ne,be=te.showArrow,Re=be===void 0?!0:be,it=pe("collapse",De),yt=d()(f()({},"".concat(it,"-no-arrow"),!Re),me);return t.createElement(V.Panel,b()({},te,{prefixCls:it,className:yt}))},xe=fe,Se=l("xEkU"),ke=l.n(Se);function ge(Y,te,we){var pe,De;return Object(E.a)(Y,"ant-motion-collapse-legacy",{start:function(){te?(pe=Y.offsetHeight,Y.style.height="0px",Y.style.opacity="0"):(Y.style.height="".concat(Y.offsetHeight,"px"),Y.style.opacity="1")},active:function(){De&&ke.a.cancel(De),De=ke()(function(){Y.style.height="".concat(te?pe:0,"px"),Y.style.opacity=te?"1":"0"})},end:function(){De&&ke.a.cancel(De),Y.style.height="",Y.style.opacity="",we()}})}var Be={enter:function(te,we){return ge(te,!0,we)},leave:function(te,we){return ge(te,!1,we)},appear:function(te,we){return ge(te,!0,we)}},ee=Be,ue=l("0n0R"),Ge=function(te){var we,pe=t.useContext(ie.b),De=pe.getPrefixCls,Ne=pe.direction,me=te.prefixCls,be=te.className,Re=be===void 0?"":be,it=te.bordered,yt=te.ghost,pt=De("collapse",me),Pe=function(){var $t=te.expandIconPosition;return $t!==void 0?$t:Ne==="rtl"?"right":"left"},Nt=function(){var $t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},or=te.expandIcon,ht=or?or($t):t.createElement(ce.a,{rotate:$t.isActive?90:void 0});return Object(ue.a)(ht,function(){return{className:d()(ht.props.className,"".concat(pt,"-arrow"))}})},ut=Pe(),Ft=d()((we={},f()(we,"".concat(pt,"-borderless"),!it),f()(we,"".concat(pt,"-icon-position-").concat(ut),!0),f()(we,"".concat(pt,"-rtl"),Ne==="rtl"),f()(we,"".concat(pt,"-ghost"),!!yt),we),Re),Ut=b()(b()({},ee),{appear:function(){}});return t.createElement(V,b()({openAnimation:Ut},te,{expandIcon:function($t){return Nt($t)},prefixCls:pt,className:Ft}))};Ge.Panel=xe,Ge.defaultProps={bordered:!0};var ae=Ge,Z=R.a=ae},gKaM:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};R.default=x},gPAo:function(j,R){function l(f){return f}function x(f,t,e,m,d){this._old=f,this._new=t,this._oldKeyGetter=e||l,this._newKeyGetter=m||l,this.context=d}x.prototype={constructor:x,add:function(f){return this._add=f,this},update:function(f){return this._update=f,this},remove:function(f){return this._remove=f,this},execute:function(){var f=this._old,t=this._new,e={},m={},d=[],a=[],n;for(b(f,e,d,"_oldKeyGetter",this),b(t,m,a,"_newKeyGetter",this),n=0;n=0;fe&&ie.depth>q&&(q=ie.depth),ce.setLayout({depth:fe?ie.depth:P},!0),X==="vertical"?ce.setLayout({dy:F},!0):ce.setLayout({dx:F},!0);for(var xe=0;xeP-1?q:P-1;J&&J!=="left"&&s(O,J,X,ee);var G=X==="vertical"?(B-F)/ee:(H-F)/ee;i(O,G,X)}function n(O){var M=O.hostGraph.data.getRawDataItem(O.dataIndex);return M.depth!=null&&M.depth>=0}function s(O,M,F,H){if(M==="right"){for(var B=[],X=O,J=0;X.length;){for(var k=0;k0;X--)W*=.99,p(k,W,J),h(k,B,F,H,J),C(k,W,J),h(k,B,F,H,J)}function r(O,M){var F=[],H=M==="vertical"?"y":"x",B=f(O,function(X){return X.getLayout()[H]});return B.keys.sort(function(X,J){return X-J}),b.each(B.keys,function(X){F.push(B.buckets.get(X))}),F}function o(O,M,F,H,B,X){var J=Infinity;b.each(O,function(k){var W=k.length,z=0;b.each(k,function(P){z+=P.getLayout().value});var K=X==="vertical"?(H-(W-1)*B)/z:(F-(W-1)*B)/z;K0&&(k=W.getLayout()[X]+z,B==="vertical"?W.setLayout({x:k},!0):W.setLayout({y:k},!0)),K=W.getLayout()[X]+W.getLayout()[G]+M;var q=B==="vertical"?H:F;if(z=K-M-q,z>0)for(k=W.getLayout()[X]-z,B==="vertical"?W.setLayout({x:k},!0):W.setLayout({y:k},!0),K=k,V=P-2;V>=0;--V)W=J[V],z=W.getLayout()[X]+W.getLayout()[G]+M-K,z>0&&(k=W.getLayout()[X]-z,B==="vertical"?W.setLayout({x:k},!0):W.setLayout({y:k},!0)),K=W.getLayout()[X]})}function p(O,M,F){b.each(O.slice().reverse(),function(H){b.each(H,function(B){if(B.outEdges.length){var X=I(B.outEdges,g,F)/I(B.outEdges,_,F);if(isNaN(X)){var J=B.outEdges.length;X=J?I(B.outEdges,v,F)/J:0}if(F==="vertical"){var k=B.getLayout().x+(X-S(B,F))*M;B.setLayout({x:k},!0)}else{var W=B.getLayout().y+(X-S(B,F))*M;B.setLayout({y:W},!0)}}})})}function g(O,M){return S(O.node2,M)*O.getValue()}function v(O,M){return S(O.node2,M)}function y(O,M){return S(O.node1,M)*O.getValue()}function w(O,M){return S(O.node1,M)}function S(O,M){return M==="vertical"?O.getLayout().x+O.getLayout().dx/2:O.getLayout().y+O.getLayout().dy/2}function _(O){return O.getValue()}function I(O,M,F){for(var H=0,B=O.length,X=-1;++X=0;){var i=a.indexOf(s),u=a.substr(c+n.length,i-c-n.length);u.indexOf("sub")>-1?d["marker"+u]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[u],textOffset:[3,0]}:d["marker"+u]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[u]},a=a.substr(i+1),c=a.indexOf("{marker")}this.el=new b({style:{rich:d,text:t,textLineHeight:20,textBackgroundColor:m.get("backgroundColor"),textBorderRadius:m.get("borderRadius"),textFill:m.get("textStyle.color"),textPadding:m.get("padding")},z:m.get("z")}),this._zr.add(this.el);var r=this;this.el.on("mouseover",function(){r._enterable&&(clearTimeout(r._hideTimeout),r._show=!0),r._inContent=!0}),this.el.on("mouseout",function(){r._enterable&&(r._show&&r.hideLater(r._hideDelay)),r._inContent=!1})},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){this.el&&this.el.attr("position",[t,e])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(t){this._show&&!(this._inContent&&this._enterable)&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(x.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var f=A;j.exports=f},gwTy:function(j,R,l){},h54F:function(j,R,l){var x=l("ProS"),b=l("YXkt"),A=l("bYtY"),f=l("4NO4"),t=f.defaultEmphasis,e=l("Qxkt"),m=l("7aKB"),d=m.encodeHTML,a=l("I3/A"),n=l("xKMd"),s=x.extendSeriesModel({type:"series.graph",init:function(i){s.superApply(this,"init",arguments);var u=this;function r(){return u._categoriesData}this.legendVisualProvider=new n(r,r),this.fillDataTextStyle(i.edges||i.links),this._updateCategoriesData()},mergeOption:function(i){s.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(i.edges||i.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(i){s.superApply(this,"mergeDefaultAndTheme",arguments),t(i,["edgeLabel"],["show"])},getInitialData:function(i,u){var r=i.edges||i.links||[],o=i.data||i.nodes||[],h=this;if(o&&r)return a(o,r,this,!0,p).data;function p(g,v){g.wrapMethod("getItemModel",function(C){var E=h._categoriesModels,O=C.getShallow("category"),M=E[O];return M&&(M.parentModel=C.parentModel,C.parentModel=M),C});var y=h.getModel("edgeLabel"),w=new e({label:y.option},y.parentModel,u),S=h.getModel("emphasis.edgeLabel"),_=new e({emphasis:{label:S.option}},S.parentModel,u);v.wrapMethod("getItemModel",function(C){return C.customizeGetParent(I),C});function I(C){return C=this.parsePath(C),C&&C[0]==="label"?w:C&&C[0]==="emphasis"&&C[1]==="label"?_:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(i,u,r){if(r==="edge"){var o=this.getData(),h=this.getDataParams(i,r),p=o.graph.getEdgeByIndex(i),g=o.getName(p.node1.dataIndex),v=o.getName(p.node2.dataIndex),y=[];return g!=null&&y.push(g),v!=null&&y.push(v),y=d(y.join(" > ")),h.value&&(y+=" : "+d(h.value)),y}else return s.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var i=A.map(this.option.categories||[],function(r){return r.value!=null?r:A.extend({value:0},r)}),u=new b(["value"],this);u.initData(i),this._categoriesData=u,this._categoriesModels=u.mapArray(function(r){return u.getItemModel(r,!0)})},setZoom:function(i){this.option.zoom=i},setCenter:function(i){this.option.center=i},isAnimationEnabled:function(){return s.superCall(this,"isAnimationEnabled")&&!(this.get("layout")==="force"&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),c=s;j.exports=c},h7HQ:function(j,R,l){var x=l("y+Vt"),b=l("T6xi"),A=x.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){b.buildPath(t,e,!0)}});j.exports=A},h8O9:function(j,R,l){var x=l("bYtY"),b=x.map,A=l("zM3Q"),f=l("7hqr"),t=f.isDimensionStacked;function e(m){return{seriesType:m,plan:A(),reset:function(d){var a=d.getData(),n=d.coordinateSystem,s=d.pipelineContext,c=s.large;if(!n)return;var i=b(n.dimensions,function(h){return a.mapDimension(h)}).slice(0,2),u=i.length,r=a.getCalculationInfo("stackResultDimension");t(a,i[0])&&(i[0]=r),t(a,i[1])&&(i[1]=r);function o(h,p){for(var g=h.end-h.start,v=c&&new Float32Array(g*u),y=h.start,w=0,S=[],_=[];y=g&&h<=v},containData:function(h){return this.scale.contain(h)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(h){return e(h||this.scale.getExtent(),this._extent)},setExtent:function(h,p){var g=this._extent;g[0]=h,g[1]=p},dataToCoord:function(h,p){var g=this._extent,v=this.scale;return h=v.normalize(h),this.onBand&&v.type==="ordinal"&&(g=g.slice(),u(g,v.count())),t(h,c,g,p)},coordToData:function(h,p){var g=this._extent,v=this.scale;this.onBand&&v.type==="ordinal"&&(g=g.slice(),u(g,v.count()));var y=t(h,g,c,p);return this.scale.scale(y)},pointToData:function(h,p){},getTicksCoords:function(h){h=h||{};var p=h.tickModel||this.getTickModel(),g=a(this,p),v=g.ticks,y=A(v,function(S){return{coord:this.dataToCoord(S),tickValue:S}},this),w=p.get("alignWithLabel");return r(this,y,w,h.clamp),y},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var h=this.model.getModel("minorTick"),p=h.get("splitNumber");p>0&&p<100||(p=5);var g=this.scale.getMinorTicks(p),v=A(g,function(y){return A(y,function(w){return{coord:this.dataToCoord(w),tickValue:w}},this)},this);return v},getViewLabels:function(){return n(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var h=this._extent,p=this.scale.getExtent(),g=p[1]-p[0]+(this.onBand?1:0);g===0&&(g=1);var v=Math.abs(h[1]-h[0]);return Math.abs(v)/g},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return s(this)}};function u(h,p){var g=h[1]-h[0],v=p,y=g/v/2;h[0]+=y,h[1]-=y}function r(h,p,g,v){var y=p.length;if(!h.onBand||g||!y)return;var w=h.getExtent(),S,_;if(y===1)p[0].coord=w[0],S=p[1]={coord:w[0]};else{var I=p[y-1].tickValue-p[0].tickValue,C=(p[y-1].coord-p[0].coord)/I;b(p,function(F){F.coord-=C/2});var E=h.scale.getExtent();_=1+E[1]-p[y-1].tickValue,S={coord:p[y-1].coord+C*_},p.push(S)}var O=w[0]>w[1];M(p[0].coord,w[0])&&(v?p[0].coord=w[0]:p.shift()),v&&M(w[0],p[0].coord)&&p.unshift({coord:w[0]}),M(w[1],S.coord)&&(v?S.coord=w[1]:p.pop()),v&&M(S.coord,w[1])&&p.push({coord:w[1]});function M(F,H){return F=m(F),H=m(H),O?F>H:F=0},getOrient:function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),n=a;j.exports=n},hOwI:function(j,R){var l=Math.log(2);function x(A,f,t,e,m,d){var a=e+"-"+m,n=A.length;if(d.hasOwnProperty(a))return d[a];if(f===1){var s=Math.round(Math.log((1<b&&e>f||et?m:0}j.exports=l},i38C:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("bYtY"),f=A.createHashMap,t=A.retrieve,e=A.each;function m(s){this.coordSysName=s,this.coordSysDims=[],this.axisMap=f(),this.categoryAxisMap=f(),this.firstCategoryDimIndex=null}function d(s){var c=s.get("coordinateSystem"),i=new m(c),u=a[c];if(u)return u(s,i,i.axisMap,i.categoryAxisMap),i}var a={cartesian2d:function(s,c,i,u){var r=s.getReferringComponents("xAxis")[0],o=s.getReferringComponents("yAxis")[0];c.coordSysDims=["x","y"],i.set("x",r),i.set("y",o),n(r)&&(u.set("x",r),c.firstCategoryDimIndex=0),n(o)&&(u.set("y",o),c.firstCategoryDimIndex==null&(c.firstCategoryDimIndex=1))},singleAxis:function(s,c,i,u){var r=s.getReferringComponents("singleAxis")[0];c.coordSysDims=["single"],i.set("single",r),n(r)&&(u.set("single",r),c.firstCategoryDimIndex=0)},polar:function(s,c,i,u){var r=s.getReferringComponents("polar")[0],o=r.findAxisModel("radiusAxis"),h=r.findAxisModel("angleAxis");c.coordSysDims=["radius","angle"],i.set("radius",o),i.set("angle",h),n(o)&&(u.set("radius",o),c.firstCategoryDimIndex=0),n(h)&&(u.set("angle",h),c.firstCategoryDimIndex==null&&(c.firstCategoryDimIndex=1))},geo:function(s,c,i,u){c.coordSysDims=["lng","lat"]},parallel:function(s,c,i,u){var r=s.ecModel,o=r.getComponent("parallel",s.get("parallelIndex")),h=c.coordSysDims=o.dimensions.slice();e(o.parallelAxisIndex,function(p,g){var v=r.getComponent("parallelAxis",p),y=h[g];i.set(y,v),n(v)&&c.firstCategoryDimIndex==null&&(u.set(y,v),c.firstCategoryDimIndex=g)})}};function n(s){return s.get("type")==="category"}R.getCoordSysInfoBySeries=d},i6bk:function(j,R,l){"use strict";l.d(R,"b",function(){return x}),l.d(R,"a",function(){return b});function x(A){return A!=null&&A===A.window}function b(A,f){if(typeof window=="undefined")return 0;var t=f?"scrollTop":"scrollLeft",e=0;return x(A)?e=A[f?"pageYOffset":"pageXOffset"]:A instanceof Document?e=A.documentElement[t]:A&&(e=A[t]),A&&!x(A)&&typeof e!="number"&&(e=(A.ownerDocument||A).documentElement[t]),e}},i8CU:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("Fm1+"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},iLNv:function(j,R){var l="\0__throttleOriginMethod",x="\0__throttleRate",b="\0__throttleType";function A(e,m,d){var a,n=0,s=0,c=null,i,u,r,o;m=m||0;function h(){s=new Date().getTime(),c=null,e.apply(u,r||[])}var p=function(){a=new Date().getTime(),u=this,r=arguments;var g=o||m,v=o||d;o=null,i=a-(v?n:s)-g,clearTimeout(c),v?c=setTimeout(h,g):i>=0?h():c=setTimeout(h,-i),n=a};return p.clear=function(){c&&(clearTimeout(c),c=null)},p.debounceNextCall=function(g){o=g},p}function f(e,m,d,a){var n=e[m];if(!n)return;var s=n[l]||n,c=n[b],i=n[x];if(i!==d||c!==a){if(d==null||!a)return e[m]=s;n=e[m]=A(s,d,a==="debounce"),n[l]=s,n[b]=a,n[x]=d}return n}function t(e,m){var d=e[m];d&&d[l]&&(e[m]=d[l])}R.throttle=A,R.createOrUpdate=f,R.clear=t},iPDy:function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=x.extendComponentView({type:"marker",init:function(){this.markerGroupMap=b.createHashMap()},render:function(f,t,e){var m=this.markerGroupMap;m.each(function(a){a.__keep=!1});var d=this.type+"Model";t.eachSeries(function(a){var n=a[d];n&&this.renderSeries(a,n,t,e)},this),m.each(function(a){!a.__keep&&this.group.remove(a.group)},this)},renderSeries:function(){}});j.exports=A},iQDF:function(j,R,l){"use strict";var x=l("ZTW2"),b=l.n(x),A=l("+BJd"),f=l("+L6B")},iRjW:function(j,R,l){var x=l("bYtY"),b=l("Yl7c"),A=b.parseClassType,f=0;function t(d){return[d||"",f++,Math.random().toFixed(5)].join("_")}function e(d){var a={};return d.registerSubTypeDefaulter=function(n,s){n=A(n),a[n.main]=s},d.determineSubType=function(n,s){var c=s.type;if(!c){var i=A(n).main;d.hasSubTypes(n)&&a[i]&&(c=a[i](s))}return c},d}function m(d,a){d.topologicalTravel=function(i,u,r,o){if(!i.length)return;var h=n(u),p=h.graph,g=h.noEntryList,v={};for(x.each(i,function(C){v[C]=!0});g.length;){var y=g.pop(),w=p[y],S=!!v[y];S&&(r.call(o,y,w.originalDeps.slice()),delete v[y]),x.each(w.successor,S?I:_)}x.each(v,function(){throw new Error("Circle dependency may exists")});function _(C){p[C].entryCount--,p[C].entryCount===0&&g.push(C)}function I(C){v[C]=!0,_(C)}};function n(i){var u={},r=[];return x.each(i,function(o){var h=s(u,o),p=h.originalDeps=a(o),g=c(p,i);h.entryCount=g.length,h.entryCount===0&&r.push(o),x.each(g,function(v){x.indexOf(h.predecessor,v)<0&&h.predecessor.push(v);var y=s(u,v);x.indexOf(y.successor,v)<0&&y.successor.push(o)})}),{graph:u,noEntryList:r}}function s(i,u){return i[u]||(i[u]={predecessor:[],successor:[]}),i[u]}function c(i,u){var r=[];return x.each(i,function(o){x.indexOf(u,o)>=0&&r.push(o)}),r}}R.getUID=t,R.enableSubTypeDefaulter=e,R.enableTopologicalTravel=m},iUHT:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;function x(w,S){if(!(w instanceof S))throw new TypeError("Cannot call a class as a function")}function b(w,S){for(var _=0;_>>3]&1<>>10,this.keys[P]|=(V&4032)>>>6,++P,this.keys[P]=(G&258048)<<12,this.keys[P]|=(G&63)<<16,this.keys[P]|=(V&258048)>>>4,this.keys[P]|=V&63,++P}}return A(w,[{key:"enc8",value:function(_){var I=_.slice(),C=0,E,O,M;E=I[C++]<<24|I[C++]<<16|I[C++]<<8|I[C++],O=I[C++]<<24|I[C++]<<16|I[C++]<<8|I[C++],M=(E>>>4^O)&252645135,O^=M,E^=M<<4,M=(E>>>16^O)&65535,O^=M,E^=M<<16,M=(O>>>2^E)&858993459,E^=M,O^=M<<2,M=(O>>>8^E)&16711935,E^=M,O^=M<<8,O=O<<1|O>>>31&1,M=(E^O)&2863311530,E^=M,O^=M,E=E<<1|E>>>31&1;for(var F=0,H=0;F<8;++F){M=O<<28|O>>>4,M^=this.keys[H++];var B=g[M&63];B|=h[M>>>8&63],B|=r[M>>>16&63],B|=i[M>>>24&63],M=O^this.keys[H++],B|=v[M&63],B|=p[M>>>8&63],B|=o[M>>>16&63],B|=u[M>>>24&63],E^=B,M=E<<28|E>>>4,M^=this.keys[H++],B=g[M&63],B|=h[M>>>8&63],B|=r[M>>>16&63],B|=i[M>>>24&63],M=E^this.keys[H++],B|=v[M&63],B|=p[M>>>8&63],B|=o[M>>>16&63],B|=u[M>>>24&63],O^=B}for(O=O<<31|O>>>1,M=(E^O)&2863311530,E^=M,O^=M,E=E<<31|E>>>1,M=(E>>>8^O)&16711935,O^=M,E^=M<<8,M=(E>>>2^O)&858993459,O^=M,E^=M<<2,M=(O>>>16^E)&65535,E^=M,O^=M<<16,M=(O>>>4^E)&252645135,E^=M,O^=M<<4,M=[O,E],C=0;C<8;C++)I[C]=(M[C>>>2]>>>8*(3-C%4))%256,I[C]<0&&(I[C]+=256);return I}},{key:"encrypt",value:function(_){return this.enc8(_.slice(0,8)).concat(this.enc8(_.slice(8,16)))}}]),w}();R.default=y},iXHM:function(j,R){var l="";typeof navigator!="undefined"&&(l=navigator.platform||"");var x={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:l.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};j.exports=x},iXp4:function(j,R,l){var x=l("ItGF"),b=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function A(f){return x.browser.ie&&x.browser.version>=11?function(){var t=this.__clipPaths,e=this.style,m;if(t)for(var d=0;da[1]&&(a[1]=d[1]),e.prototype.setExtent.call(this,a[0],a[1])},getInterval:function(){return this._interval},setInterval:function(d){this._interval=d,this._niceExtent=this._extent.slice(),this._intervalPrecision=f.getIntervalPrecision(d)},getTicks:function(d){var a=this._interval,n=this._extent,s=this._niceExtent,c=this._intervalPrecision,i=[];if(!a)return i;var u=1e4;n[0]u)return[];var o=i.length?i[i.length-1]:s[1];return n[1]>o&&(d?i.push(t(o+a,c)):i.push(n[1])),i},getMinorTicks:function(d){for(var a=this.getTicks(!0),n=[],s=this.getExtent(),c=1;cs[0]&&g0;)g*=10;var y=[A.round(n(h[0]/g)*g),A.round(a(h[1]/g)*g)];this._interval=g,this._niceExtent=y},niceExtent:function(o){e.niceExtent.call(this,o);var h=this._originalScale;h.__fixMin=o.fixMin,h.__fixMax=o.fixMax}});x.each(["contain","normalize"],function(o){i.prototype[o]=function(h){return h=c(h)/c(this.base),t[o].call(this,h)}}),i.create=function(){return new i};function u(o,h){return d(o,m(h))}var r=i;j.exports=r},jN4g:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="CloseCircleFilled";var m=R.a=b.forwardRef(e)},jO45:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="CheckCircleFilled";var m=R.a=b.forwardRef(e)},jTL6:function(j,R,l){var x=l("y+Vt"),b=x.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(f,t){var e=t.cx,m=t.cy,d=Math.max(t.r,0),a=t.startAngle,n=t.endAngle,s=t.clockwise,c=Math.cos(a),i=Math.sin(a);f.moveTo(c*d+e,i*d+m),f.arc(e,m,d,a,n,!s)}});j.exports=b},je13:function(j,R,l){var x=l("5nXd"),b=l("gRFJ"),A=[l("uQRt")];j.exports=x.createStore(b,A)},jett:function(j,R,l){var x=l("ProS");l("VSLf"),l("oBaM"),l("FGaS");var b=l("mOdp"),A=l("f5Yq"),f=l("hw6D"),t=l("0/Rx"),e=l("eJH7");x.registerVisual(b("radar")),x.registerVisual(A("radar","circle")),x.registerLayout(f),x.registerProcessor(t("radar")),x.registerPreprocessor(e)},jhfD:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="ArrowLeftOutlined";var m=R.a=b.forwardRef(e)},jkPA:function(j,R,l){var x=l("bYtY"),b=x.createHashMap,A=x.isObject,f=x.map;function t(n){this.categories=n.categories||[],this._needCollect=n.needCollect,this._deduplication=n.deduplication,this._map}t.createByAxisModel=function(n){var s=n.option,c=s.data,i=c&&f(c,d);return new t({categories:i,needCollect:!i,deduplication:s.dedplication!==!1})};var e=t.prototype;e.getOrdinal=function(n){return m(this).get(n)},e.parseAndCollect=function(n){var s,c=this._needCollect;if(typeof n!="string"&&!c)return n;if(c&&!this._deduplication)return s=this.categories.length,this.categories[s]=n,s;var i=m(this);return s=i.get(n),s==null&&(c?(s=this.categories.length,this.categories[s]=n,i.set(n,s)):s=NaN),s};function m(n){return n._map||(n._map=b(n.categories))}function d(n){return A(n)&&n.value!=null?n.value:n+""}var a=t;j.exports=a},jndi:function(j,R,l){var x=l("bYtY"),b=l("Qe9p"),A=l("YXkt"),f=l("OELB"),t=l("IwbS"),e=l("kj2x"),m=l("iPDy"),d=function(r,o,h,p){var g=e.dataTransform(r,p[0]),v=e.dataTransform(r,p[1]),y=x.retrieve,w=g.coord,S=v.coord;w[0]=y(w[0],-Infinity),w[1]=y(w[1],-Infinity),S[0]=y(S[0],Infinity),S[1]=y(S[1],Infinity);var _=x.mergeAll([{},g,v]);return _.coord=[g.coord,v.coord],_.x0=g.x,_.y0=g.y,_.x1=v.x,_.y1=v.y,_};function a(r){return!isNaN(r)&&!isFinite(r)}function n(r,o,h,p){var g=1-r;return a(o[g])&&a(h[g])}function s(r,o){var h=o.coord[0],p=o.coord[1];return r.type==="cartesian2d"&&(h&&p&&(n(1,h,p,r)||n(0,h,p,r)))?!0:e.dataFilter(r,{coord:h,x:o.x0,y:o.y0})||e.dataFilter(r,{coord:p,x:o.x1,y:o.y1})}function c(r,o,h,p,g){var v=p.coordinateSystem,y=r.getItemModel(o),w,S=f.parsePercent(y.get(h[0]),g.getWidth()),_=f.parsePercent(y.get(h[1]),g.getHeight());if(!isNaN(S)&&!isNaN(_))w=[S,_];else{if(p.getMarkerPosition)w=p.getMarkerPosition(r.getValues(h,o));else{var I=r.get(h[0],o),C=r.get(h[1],o),E=[I,C];v.clampData&&v.clampData(E,E),w=v.dataToPoint(E,!0)}if(v.type==="cartesian2d"){var O=v.getAxis("x"),M=v.getAxis("y"),I=r.get(h[0],o),C=r.get(h[1],o);a(I)?w[0]=O.toGlobalCoord(O.getExtent()[h[0]==="x0"?0:1]):a(C)&&(w[1]=M.toGlobalCoord(M.getExtent()[h[1]==="y0"?0:1]))}isNaN(S)||(w[0]=S),isNaN(_)||(w[1]=_)}return w}var i=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];m.extend({type:"markArea",updateTransform:function(r,o,h){o.eachSeries(function(p){var g=p.markAreaModel;if(g){var v=g.getData();v.each(function(y){var w=x.map(i,function(_){return c(v,y,_,p,h)});v.setItemLayout(y,w);var S=v.getItemGraphicEl(y);S.setShape("points",w)})}},this)},renderSeries:function(r,o,h,p){var g=r.coordinateSystem,v=r.id,y=r.getData(),w=this.markerGroupMap,S=w.get(v)||w.set(v,{group:new t.Group});this.group.add(S.group),S.__keep=!0;var _=u(g,r,o);o.setData(_),_.each(function(I){_.setItemLayout(I,x.map(i,function(C){return c(_,I,C,r,p)})),_.setItemVisual(I,{color:y.getVisual("color")})}),_.diff(S.__data).add(function(I){var C=new t.Polygon({shape:{points:_.getItemLayout(I)}});_.setItemGraphicEl(I,C),S.group.add(C)}).update(function(I,C){var E=S.__data.getItemGraphicEl(C);t.updateProps(E,{shape:{points:_.getItemLayout(I)}},o,I),S.group.add(E),_.setItemGraphicEl(I,E)}).remove(function(I){var C=S.__data.getItemGraphicEl(I);S.group.remove(C)}).execute(),_.eachItemGraphicEl(function(I,C){var E=_.getItemModel(C),O=E.getModel("label"),M=E.getModel("emphasis.label"),F=_.getItemVisual(C,"color");I.useStyle(x.defaults(E.getModel("itemStyle").getItemStyle(),{fill:b.modifyAlpha(F,.4),stroke:F})),I.hoverStyle=E.getModel("emphasis.itemStyle").getItemStyle(),t.setLabelStyle(I.style,I.hoverStyle,O,M,{labelFetcher:o,labelDataIndex:C,defaultText:_.getName(C)||"",isRectText:!0,autoColor:F}),t.setHoverStyle(I,{}),I.dataModel=o}),S.__data=_,S.group.silent=o.get("silent")||r.get("silent")}});function u(r,o,h){var p,g,v=["x0","y0","x1","y1"];r?(p=x.map(r&&r.dimensions,function(S){var _=o.getData(),I=_.getDimensionInfo(_.mapDimension(S))||{};return x.defaults({name:S},I)}),g=new A(x.map(v,function(S,_){return{name:S,type:p[_%2].type}}),h)):(p=[{name:"value",type:"float"}],g=new A(p,h));var y=x.map(h.get("data"),x.curry(d,o,r,h));r&&(y=x.filter(y,x.curry(s,r)));var w=r?function(S,_,I,C){return S.coord[Math.floor(C/2)][C%2]}:function(S){return S.value};return g.initData(y,null,w),g.hasItemOption=!0,g}},"jsU+":function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("IUWy"),f=x.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){f.superApply(this,"optionUpdated",arguments),b.each(this.option.feature,function(e,m){var d=A.get(m);d&&b.merge(e,d.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),t=f;j.exports=t},jtI2:function(j,R,l){l("SMc4");var x=l("bLfw"),b=x.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});j.exports=b},juDX:function(j,R,l){l("P47w");var x=l("aX58"),b=x.registerPainter,A=l("3CBa");b("svg",A)},k5C7:function(j,R,l){l("0JAE"),l("g7p0"),l("7mYs")},k9D9:function(j,R){var l="original",x="arrayRows",b="objectRows",A="keyedColumns",f="unknown",t="typedArray",e="column",m="row";R.SOURCE_FORMAT_ORIGINAL=l,R.SOURCE_FORMAT_ARRAY_ROWS=x,R.SOURCE_FORMAT_OBJECT_ROWS=b,R.SOURCE_FORMAT_KEYED_COLUMNS=A,R.SOURCE_FORMAT_UNKNOWN=f,R.SOURCE_FORMAT_TYPED_ARRAY=t,R.SERIES_LAYOUT_BY_COLUMN=e,R.SERIES_LAYOUT_BY_ROW=m},kDyi:function(j,R){function l(x){var b=x.findComponents({mainType:"legend"});b&&b.length&&x.filterSeries(function(A){for(var f=0;f=g.length||H===g[H.depth]){var X=u(y,I,H,B,F,v);m(H,X,h,p,g,v)}})}}function d(r,o,h,p){var g=A.extend({},o);return A.each(["color","colorAlpha","colorSaturation"],function(v){var y=r.get(v,!0);y==null&&h&&(y=h[v]),y==null&&(y=o[v]),y==null&&(y=p.get(v)),y!=null&&(g[v]=y)}),g}function a(r){var o=s(r,"color");if(o){var h=s(r,"colorAlpha"),p=s(r,"colorSaturation");return p&&(o=b.modifyHSL(o,null,null,p)),h&&(o=b.modifyAlpha(o,h)),o}}function n(r,o){return o!=null?b.modifyHSL(o,null,null,r):null}function s(r,o){var h=r[o];if(h!=null&&h!=="none")return h}function c(r,o,h,p,g,v){if(!v||!v.length)return;var y=i(o,"color")||g.color!=null&&g.color!=="none"&&(i(o,"colorAlpha")||i(o,"colorSaturation"));if(!y)return;var w=o.get("visualMin"),S=o.get("visualMax"),_=h.dataExtent.slice();w!=null&&w<_[0]&&(_[0]=w),S!=null&&S>_[1]&&(_[1]=S);var I=o.get("colorMappingBy"),C={type:y.name,dataExtent:_,visual:y.range};C.type==="color"&&(I==="index"||I==="id")?(C.mappingMethod="category",C.loop=!0):C.mappingMethod="linear";var E=new x(C);return E.__drColorMappingBy=I,E}function i(r,o){var h=r.get(o);return f(h)&&h.length?{name:o,range:h}:null}function u(r,o,h,p,g,v){var y=A.extend({},o);if(g){var w=g.type,S=w==="color"&&g.__drColorMappingBy,_=S==="index"?p:S==="id"?v.mapIdToIndex(h.getId()):h.getValue(r.get("visualDimension"));y[w]=g.mapValueToVisual(_)}return y}j.exports=e},"kVK+":function(j,R){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */R.read=function(l,x,b,A,f){var t,e,m=f*8-A-1,d=(1<>1,n=-7,s=b?f-1:0,c=b?-1:1,i=l[x+s];for(s+=c,t=i&(1<<-n)-1,i>>=-n,n+=m;n>0;t=t*256+l[x+s],s+=c,n-=8);for(e=t&(1<<-n)-1,t>>=-n,n+=A;n>0;e=e*256+l[x+s],s+=c,n-=8);if(t===0)t=1-a;else{if(t===d)return e?NaN:(i?-1:1)*Infinity;e=e+Math.pow(2,A),t=t-a}return(i?-1:1)*e*Math.pow(2,t-A)},R.write=function(l,x,b,A,f,t){var e,m,d,a=t*8-f-1,n=(1<>1,c=f===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=A?0:t-1,u=A?1:-1,r=x<0||x===0&&1/x<0?1:0;for(x=Math.abs(x),isNaN(x)||x===Infinity?(m=isNaN(x)?1:0,e=n):(e=Math.floor(Math.log(x)/Math.LN2),x*(d=Math.pow(2,-e))<1&&(e--,d*=2),e+s>=1?x+=c/d:x+=c*Math.pow(2,1-s),x*d>=2&&(e++,d/=2),e+s>=n?(m=0,e=n):e+s>=1?(m=(x*d-1)*Math.pow(2,f),e=e+s):(m=x*Math.pow(2,s-1)*Math.pow(2,f),e=0));f>=8;l[b+i]=m&255,i+=u,m/=256,f-=8);for(e=e<0;l[b+i]=e&255,i+=u,e/=256,a-=8);l[b+i-u]|=r*128}},kj2x:function(j,R,l){var x=l("bYtY"),b=l("OELB"),A=l("7hqr"),f=A.isDimensionStacked,t=x.indexOf;function e(h){return!(isNaN(parseFloat(h.x))&&isNaN(parseFloat(h.y)))}function m(h){return!isNaN(parseFloat(h.x))&&!isNaN(parseFloat(h.y))}function d(h,p,g,v,y,w){var S=[],_=f(p,v),I=_?p.getCalculationInfo("stackResultDimension"):v,C=o(p,I,h),E=p.indicesOfNearest(I,C)[0];S[y]=p.get(g,E),S[w]=p.get(I,E);var O=p.get(v,E),M=b.getPrecision(p.get(v,E));return M=Math.min(M,20),M>=0&&(S[w]=+S[w].toFixed(M)),[S,O]}var a=x.curry,n={min:a(d,"min"),max:a(d,"max"),average:a(d,"average")};function s(h,p){var g=h.getData(),v=h.coordinateSystem;if(p&&!m(p)&&!x.isArray(p.coord)&&v){var y=v.dimensions,w=c(p,g,v,h);if(p=x.clone(p),p.type&&n[p.type]&&w.baseAxis&&w.valueAxis){var S=t(y,w.baseAxis.dim),_=t(y,w.valueAxis.dim),I=n[p.type](g,w.baseDataDim,w.valueDataDim,S,_);p.coord=I[0],p.value=I[1]}else{for(var C=[p.xAxis!=null?p.xAxis:p.radiusAxis,p.yAxis!=null?p.yAxis:p.angleAxis],E=0;E<2;E++)n[C[E]]&&(C[E]=o(g,g.mapDimension(y[E]),C[E]));p.coord=C}}return p}function c(h,p,g,v){var y={};return h.valueIndex!=null||h.valueDim!=null?(y.valueDataDim=h.valueIndex!=null?p.getDimension(h.valueIndex):h.valueDim,y.valueAxis=g.getAxis(i(v,y.valueDataDim)),y.baseAxis=g.getOtherAxis(y.valueAxis),y.baseDataDim=p.mapDimension(y.baseAxis.dim)):(y.baseAxis=v.getBaseAxis(),y.valueAxis=g.getOtherAxis(y.baseAxis),y.baseDataDim=p.mapDimension(y.baseAxis.dim),y.valueDataDim=p.mapDimension(y.valueAxis.dim)),y}function i(h,p){var g=h.getData(),v=g.dimensions;p=g.getDimension(p);for(var y=0;yn&&(i=s.interval=n);var u=s.intervalPrecision=f(i),r=s.niceTickExtent=[b(Math.ceil(m[0]/i)*i,u),b(Math.floor(m[1]/i)*i,u)];return e(r,m),s}function f(m){return x.getPrecisionSafe(m)+2}function t(m,d,a){m[d]=Math.max(Math.min(m[d],a[1]),a[0])}function e(m,d){!isFinite(m[0])&&(m[0]=d[0]),!isFinite(m[1])&&(m[1]=d[1]),t(m,0,d),t(m,1,d),m[0]>m[1]&&(m[0]=m[1])}R.intervalScaleNiceTicks=A,R.getIntervalPrecision=f,R.fixExtent=e},lELe:function(j,R,l){var x=l("bYtY");function b(A){var f=[];x.each(A.series,function(t){t&&t.type==="map"&&(f.push(t),t.map=t.map||t.mapType,x.defaults(t,t.mapLocation))})}j.exports=b},lLGD:function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("nVfU"),f=A.layout,t=A.largeLayout;l("Wqna"),l("F7hV"),l("Z8zF"),l("Ae16"),x.registerLayout(x.PRIORITY.VISUAL.LAYOUT,b.curry(f,"bar")),x.registerLayout(x.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,t),x.registerVisual({seriesType:"bar",reset:function(e){e.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(j,R,l){"use strict";function x(ve){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(jt){return typeof jt}:x=function(jt){return jt&&typeof Symbol=="function"&&jt.constructor===Symbol&&jt!==Symbol.prototype?"symbol":typeof jt},x(ve)}Object.defineProperty(R,"__esModule",{value:!0}),R.deflateInit=ht,R.deflateInit2=or,R.deflateReset=Wt,R.deflateResetKeep=Ut,R.deflateSetHeader=$t,R.deflate=Ee,R.deflateEnd=de,R.deflateSetDictionary=qe,R.deflateInfo=R.Z_DEFLATED=R.Z_UNKNOWN=R.Z_DEFAULT_STRATEGY=R.Z_FIXED=R.Z_RLE=R.Z_HUFFMAN_ONLY=R.Z_FILTERED=R.Z_DEFAULT_COMPRESSION=R.Z_BUF_ERROR=R.Z_DATA_ERROR=R.Z_STREAM_ERROR=R.Z_STREAM_END=R.Z_OK=R.Z_BLOCK=R.Z_FINISH=R.Z_FULL_FLUSH=R.Z_PARTIAL_FLUSH=R.Z_NO_FLUSH=void 0;var b=a(l("6BzB")),A=a(l("c5fP")),f=m(l("xlC8")),t=m(l("QV2g")),e=m(l("xSIq"));function m(ve){return ve&&ve.__esModule?ve:{default:ve}}function d(){if(typeof WeakMap!="function")return null;var ve=new WeakMap;return d=function(){return ve},ve}function a(ve){if(ve&&ve.__esModule)return ve;if(ve===null||x(ve)!=="object"&&typeof ve!="function")return{default:ve};var bt=d();if(bt&&bt.has(ve))return bt.get(ve);var jt={},He=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var kt in ve)if(Object.prototype.hasOwnProperty.call(ve,kt)){var Ar=He?Object.getOwnPropertyDescriptor(ve,kt):null;Ar&&(Ar.get||Ar.set)?Object.defineProperty(jt,kt,Ar):jt[kt]=ve[kt]}return jt.default=ve,bt&&bt.set(ve,jt),jt}var n=0;R.Z_NO_FLUSH=n;var s=1;R.Z_PARTIAL_FLUSH=s;var c=3;R.Z_FULL_FLUSH=c;var i=4;R.Z_FINISH=i;var u=5;R.Z_BLOCK=u;var r=0;R.Z_OK=r;var o=1;R.Z_STREAM_END=o;var h=-2;R.Z_STREAM_ERROR=h;var p=-3;R.Z_DATA_ERROR=p;var g=-5;R.Z_BUF_ERROR=g;var v=-1;R.Z_DEFAULT_COMPRESSION=v;var y=1;R.Z_FILTERED=y;var w=2;R.Z_HUFFMAN_ONLY=w;var S=3;R.Z_RLE=S;var _=4;R.Z_FIXED=_;var I=0;R.Z_DEFAULT_STRATEGY=I;var C=2;R.Z_UNKNOWN=C;var E=8;R.Z_DEFLATED=E;var O=9,M=15,F=8,H=29,B=256,X=B+1+H,J=30,k=19,W=2*X+1,z=15,K=3,P=258,G=P+K+1,V=32,q=42,re=69,ce=73,ie=91,fe=103,xe=113,Se=666,ke=1,ge=2,Be=3,ee=4,ue=3;function Ge(ve,bt){return ve.msg=e.default[bt],bt}function ae(ve){return(ve<<1)-(ve>4?9:0)}function Z(ve){for(var bt=ve.length;--bt>=0;)ve[bt]=0}function Y(ve){var bt=ve.state,jt=bt.pending;if(jt>ve.avail_out&&(jt=ve.avail_out),jt===0)return;b.arraySet(ve.output,bt.pending_buf,bt.pending_out,jt,ve.next_out),ve.next_out+=jt,bt.pending_out+=jt,ve.total_out+=jt,ve.avail_out-=jt,bt.pending-=jt,bt.pending===0&&(bt.pending_out=0)}function te(ve,bt){A._tr_flush_block(ve,ve.block_start>=0?ve.block_start:-1,ve.strstart-ve.block_start,bt),ve.block_start=ve.strstart,Y(ve.strm)}function we(ve,bt){ve.pending_buf[ve.pending++]=bt}function pe(ve,bt){ve.pending_buf[ve.pending++]=bt>>>8&255,ve.pending_buf[ve.pending++]=bt&255}function De(ve,bt,jt,He){var kt=ve.avail_in;return kt>He&&(kt=He),kt===0?0:(ve.avail_in-=kt,b.arraySet(bt,ve.input,ve.next_in,kt,jt),ve.state.wrap===1?ve.adler=(0,f.default)(ve.adler,bt,kt,jt):ve.state.wrap===2&&(ve.adler=(0,t.default)(ve.adler,bt,kt,jt)),ve.next_in+=kt,ve.total_in+=kt,kt)}function Ne(ve,bt){var jt=ve.max_chain_length,He=ve.strstart,kt,Ar,at=ve.prev_length,Ht=ve.nice_match,Kt=ve.strstart>ve.w_size-G?ve.strstart-(ve.w_size-G):0,ot=ve.window,et=ve.w_mask,Ze=ve.prev,Gt=ve.strstart+P,yr=ot[He+at-1],br=ot[He+at];ve.prev_length>=ve.good_match&&(jt>>=2),Ht>ve.lookahead&&(Ht=ve.lookahead);do{if(kt=bt,ot[kt+at]!==br||ot[kt+at-1]!==yr||ot[kt]!==ot[He]||ot[++kt]!==ot[He+1])continue;He+=2,kt++;do;while(ot[++He]===ot[++kt]&&ot[++He]===ot[++kt]&&ot[++He]===ot[++kt]&&ot[++He]===ot[++kt]&&ot[++He]===ot[++kt]&&ot[++He]===ot[++kt]&&ot[++He]===ot[++kt]&&ot[++He]===ot[++kt]&&Heat){if(ve.match_start=bt,at=Ar,Ar>=Ht)break;yr=ot[He+at-1],br=ot[He+at]}}while((bt=Ze[bt&et])>Kt&&--jt!==0);return at<=ve.lookahead?at:ve.lookahead}function me(ve){var bt=ve.w_size,jt,He,kt,Ar,at;do{if(Ar=ve.window_size-ve.lookahead-ve.strstart,ve.strstart>=bt+(bt-G)){b.arraySet(ve.window,ve.window,bt,bt,0),ve.match_start-=bt,ve.strstart-=bt,ve.block_start-=bt,He=ve.hash_size,jt=He;do kt=ve.head[--jt],ve.head[jt]=kt>=bt?kt-bt:0;while(--He);He=bt,jt=He;do kt=ve.prev[--jt],ve.prev[jt]=kt>=bt?kt-bt:0;while(--He);Ar+=bt}if(ve.strm.avail_in===0)break;if(He=De(ve.strm,ve.window,ve.strstart+ve.lookahead,Ar),ve.lookahead+=He,ve.lookahead+ve.insert>=K)for(at=ve.strstart-ve.insert,ve.ins_h=ve.window[at],ve.ins_h=(ve.ins_h<ve.pending_buf_size-5&&(jt=ve.pending_buf_size-5);;){if(ve.lookahead<=1){if(me(ve),ve.lookahead===0&&bt===n)return ke;if(ve.lookahead===0)break}ve.strstart+=ve.lookahead,ve.lookahead=0;var He=ve.block_start+jt;if((ve.strstart===0||ve.strstart>=He)&&(ve.lookahead=ve.strstart-He,ve.strstart=He,te(ve,!1),ve.strm.avail_out===0))return ke;if(ve.strstart-ve.block_start>=ve.w_size-G&&(te(ve,!1),ve.strm.avail_out===0))return ke}return ve.insert=0,bt===i?(te(ve,!0),ve.strm.avail_out===0?Be:ee):(ve.strstart>ve.block_start&&(te(ve,!1),ve.strm.avail_out===0),ke)}function Re(ve,bt){for(var jt,He;;){if(ve.lookahead=K&&(ve.ins_h=(ve.ins_h<=K)if(He=A._tr_tally(ve,ve.strstart-ve.match_start,ve.match_length-K),ve.lookahead-=ve.match_length,ve.match_length<=ve.max_lazy_match&&ve.lookahead>=K){ve.match_length--;do ve.strstart++,ve.ins_h=(ve.ins_h<=K&&(ve.ins_h=(ve.ins_h<4096)&&(ve.match_length=K-1)),ve.prev_length>=K&&ve.match_length<=ve.prev_length){kt=ve.strstart+ve.lookahead-K,He=A._tr_tally(ve,ve.strstart-1-ve.prev_match,ve.prev_length-K),ve.lookahead-=ve.prev_length-1,ve.prev_length-=2;do++ve.strstart<=kt&&(ve.ins_h=(ve.ins_h<=K&&ve.strstart>0&&(kt=ve.strstart-1,He=at[kt],He===at[++kt]&&He===at[++kt]&&He===at[++kt])){Ar=ve.strstart+P;do;while(He===at[++kt]&&He===at[++kt]&&He===at[++kt]&&He===at[++kt]&&He===at[++kt]&&He===at[++kt]&&He===at[++kt]&&He===at[++kt]&&ktve.lookahead&&(ve.match_length=ve.lookahead)}if(ve.match_length>=K?(jt=A._tr_tally(ve,1,ve.match_length-K),ve.lookahead-=ve.match_length,ve.strstart+=ve.match_length,ve.match_length=0):(jt=A._tr_tally(ve,0,ve.window[ve.strstart]),ve.lookahead--,ve.strstart++),jt&&(te(ve,!1),ve.strm.avail_out===0))return ke}return ve.insert=0,bt===i?(te(ve,!0),ve.strm.avail_out===0?Be:ee):ve.last_lit&&(te(ve,!1),ve.strm.avail_out===0)?ke:ge}function pt(ve,bt){for(var jt;;){if(ve.lookahead===0&&(me(ve),ve.lookahead===0)){if(bt===n)return ke;break}if(ve.match_length=0,jt=A._tr_tally(ve,0,ve.window[ve.strstart]),ve.lookahead--,ve.strstart++,jt&&(te(ve,!1),ve.strm.avail_out===0))return ke}return ve.insert=0,bt===i?(te(ve,!0),ve.strm.avail_out===0?Be:ee):ve.last_lit&&(te(ve,!1),ve.strm.avail_out===0)?ke:ge}function Pe(ve,bt,jt,He,kt){this.good_length=ve,this.max_lazy=bt,this.nice_length=jt,this.max_chain=He,this.func=kt}var Nt;Nt=[new Pe(0,0,0,0,be),new Pe(4,4,8,4,Re),new Pe(4,5,16,8,Re),new Pe(4,6,32,32,Re),new Pe(4,4,16,16,it),new Pe(8,16,32,32,it),new Pe(8,16,128,128,it),new Pe(8,32,128,256,it),new Pe(32,128,258,1024,it),new Pe(32,258,258,4096,it)];function ut(ve){ve.window_size=2*ve.w_size,Z(ve.head),ve.max_lazy_match=Nt[ve.level].max_lazy,ve.good_match=Nt[ve.level].good_length,ve.nice_match=Nt[ve.level].nice_length,ve.max_chain_length=Nt[ve.level].max_chain,ve.strstart=0,ve.block_start=0,ve.lookahead=0,ve.insert=0,ve.match_length=ve.prev_length=K-1,ve.match_available=0,ve.ins_h=0}function Ft(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=E,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new b.Buf16(W*2),this.dyn_dtree=new b.Buf16((2*J+1)*2),this.bl_tree=new b.Buf16((2*k+1)*2),Z(this.dyn_ltree),Z(this.dyn_dtree),Z(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new b.Buf16(z+1),this.heap=new b.Buf16(2*X+1),Z(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new b.Buf16(2*X+1),Z(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Ut(ve){var bt;return!ve||!ve.state?Ge(ve,h):(ve.total_in=ve.total_out=0,ve.data_type=C,bt=ve.state,bt.pending=0,bt.pending_out=0,bt.wrap<0&&(bt.wrap=-bt.wrap),bt.status=bt.wrap?q:xe,ve.adler=bt.wrap===2?0:1,bt.last_flush=n,A._tr_init(bt),r)}function Wt(ve){var bt=Ut(ve);return bt===r&&ut(ve.state),bt}function $t(ve,bt){return!ve||!ve.state||ve.state.wrap!==2?h:(ve.state.gzhead=bt,r)}function or(ve,bt,jt,He,kt,Ar){if(!ve)return h;var at=1;if(bt===v&&(bt=6),He<0?(at=0,He=-He):He>15&&(at=2,He-=16),kt<1||kt>O||jt!==E||He<8||He>15||bt<0||bt>9||Ar<0||Ar>_)return Ge(ve,h);He===8&&(He=9);var Ht=new Ft;return ve.state=Ht,Ht.strm=ve,Ht.wrap=at,Ht.gzhead=null,Ht.w_bits=He,Ht.w_size=1<u||bt<0)return ve?Ge(ve,h):h;if(He=ve.state,!ve.output||!ve.input&&ve.avail_in!==0||He.status===Se&&bt!==i)return Ge(ve,ve.avail_out===0?g:h);if(He.strm=ve,jt=He.last_flush,He.last_flush=bt,He.status===q)if(He.wrap===2)ve.adler=0,we(He,31),we(He,139),we(He,8),He.gzhead?(we(He,(He.gzhead.text?1:0)+(He.gzhead.hcrc?2:0)+(He.gzhead.extra?4:0)+(He.gzhead.name?8:0)+(He.gzhead.comment?16:0)),we(He,He.gzhead.time&255),we(He,He.gzhead.time>>8&255),we(He,He.gzhead.time>>16&255),we(He,He.gzhead.time>>24&255),we(He,He.level===9?2:He.strategy>=w||He.level<2?4:0),we(He,He.gzhead.os&255),He.gzhead.extra&&He.gzhead.extra.length&&(we(He,He.gzhead.extra.length&255),we(He,He.gzhead.extra.length>>8&255)),He.gzhead.hcrc&&(ve.adler=(0,t.default)(ve.adler,He.pending_buf,He.pending,0)),He.gzindex=0,He.status=re):(we(He,0),we(He,0),we(He,0),we(He,0),we(He,0),we(He,He.level===9?2:He.strategy>=w||He.level<2?4:0),we(He,ue),He.status=xe);else{var at=E+(He.w_bits-8<<4)<<8,Ht=-1;He.strategy>=w||He.level<2?Ht=0:He.level<6?Ht=1:He.level===6?Ht=2:Ht=3,at|=Ht<<6,He.strstart!==0&&(at|=V),at+=31-at%31,He.status=xe,pe(He,at),He.strstart!==0&&(pe(He,ve.adler>>>16),pe(He,ve.adler&65535)),ve.adler=1}if(He.status===re)if(He.gzhead.extra){for(kt=He.pending;He.gzindex<(He.gzhead.extra.length&65535)&&!(He.pending===He.pending_buf_size&&(He.gzhead.hcrc&&He.pending>kt&&(ve.adler=(0,t.default)(ve.adler,He.pending_buf,He.pending-kt,kt)),Y(ve),kt=He.pending,He.pending===He.pending_buf_size));)we(He,He.gzhead.extra[He.gzindex]&255),He.gzindex++;He.gzhead.hcrc&&He.pending>kt&&(ve.adler=(0,t.default)(ve.adler,He.pending_buf,He.pending-kt,kt)),He.gzindex===He.gzhead.extra.length&&(He.gzindex=0,He.status=ce)}else He.status=ce;if(He.status===ce)if(He.gzhead.name){kt=He.pending;do{if(He.pending===He.pending_buf_size&&(He.gzhead.hcrc&&He.pending>kt&&(ve.adler=(0,t.default)(ve.adler,He.pending_buf,He.pending-kt,kt)),Y(ve),kt=He.pending,He.pending===He.pending_buf_size)){Ar=1;break}He.gzindexkt&&(ve.adler=(0,t.default)(ve.adler,He.pending_buf,He.pending-kt,kt)),Ar===0&&(He.gzindex=0,He.status=ie)}else He.status=ie;if(He.status===ie)if(He.gzhead.comment){kt=He.pending;do{if(He.pending===He.pending_buf_size&&(He.gzhead.hcrc&&He.pending>kt&&(ve.adler=(0,t.default)(ve.adler,He.pending_buf,He.pending-kt,kt)),Y(ve),kt=He.pending,He.pending===He.pending_buf_size)){Ar=1;break}He.gzindexkt&&(ve.adler=(0,t.default)(ve.adler,He.pending_buf,He.pending-kt,kt)),Ar===0&&(He.status=fe)}else He.status=fe;if(He.status===fe&&(He.gzhead.hcrc?(He.pending+2>He.pending_buf_size&&Y(ve),He.pending+2<=He.pending_buf_size&&(we(He,ve.adler&255),we(He,ve.adler>>8&255),ve.adler=0,He.status=xe)):He.status=xe),He.pending!==0){if(Y(ve),ve.avail_out===0)return He.last_flush=-1,r}else if(ve.avail_in===0&&ae(bt)<=ae(jt)&&bt!==i)return Ge(ve,g);if(He.status===Se&&ve.avail_in!==0)return Ge(ve,g);if(ve.avail_in!==0||He.lookahead!==0||bt!==n&&He.status!==Se){var Kt=He.strategy===w?pt(He,bt):He.strategy===S?yt(He,bt):Nt[He.level].func(He,bt);if((Kt===Be||Kt===ee)&&(He.status=Se),Kt===ke||Kt===Be)return ve.avail_out===0&&(He.last_flush=-1),r;if(Kt===ge&&(bt===s?A._tr_align(He):bt!==u&&(A._tr_stored_block(He,0,0,!1),bt===c&&(Z(He.head),He.lookahead===0&&(He.strstart=0,He.block_start=0,He.insert=0))),Y(ve),ve.avail_out===0))return He.last_flush=-1,r}return bt!==i?r:He.wrap<=0?o:(He.wrap===2?(we(He,ve.adler&255),we(He,ve.adler>>8&255),we(He,ve.adler>>16&255),we(He,ve.adler>>24&255),we(He,ve.total_in&255),we(He,ve.total_in>>8&255),we(He,ve.total_in>>16&255),we(He,ve.total_in>>24&255)):(pe(He,ve.adler>>>16),pe(He,ve.adler&65535)),Y(ve),He.wrap>0&&(He.wrap=-He.wrap),He.pending!==0?r:o)}function de(ve){var bt;return!ve||!ve.state?h:(bt=ve.state.status,bt!==q&&bt!==re&&bt!==ce&&bt!==ie&&bt!==fe&&bt!==xe&&bt!==Se?Ge(ve,h):(ve.state=null,bt===xe?Ge(ve,p):r))}function qe(ve,bt){var jt=bt.length,He,kt,Ar,at,Ht,Kt,ot,et;if(!ve||!ve.state)return h;if(He=ve.state,at=He.wrap,at===2||at===1&&He.status!==q||He.lookahead)return h;for(at===1&&(ve.adler=(0,f.default)(ve.adler,bt,jt,0)),He.wrap=0,jt>=He.w_size&&(at===0&&(Z(He.head),He.strstart=0,He.block_start=0,He.insert=0),et=new b.Buf8(He.w_size),b.arraySet(et,bt,jt-He.w_size,He.w_size,0),bt=et,jt=He.w_size),Ht=ve.avail_in,Kt=ve.next_in,ot=ve.input,ve.avail_in=jt,ve.next_in=0,ve.input=bt,me(He);He.lookahead>=K;){kt=He.strstart,Ar=He.lookahead-(K-1);do He.ins_h=(He.ins_h<` "'(~:]+/,r=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,o=/^\s*\[[^\]]+?\]:.*$/,h=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,p=" ";function g(z,K,P){return K.f=K.inline=P,P(z,K)}function v(z,K,P){return K.f=K.block=P,P(z,K)}function y(z){return!z||!/\S/.test(z.string)}function w(z){if(z.linkTitle=!1,z.linkHref=!1,z.linkText=!1,z.em=!1,z.strong=!1,z.strikethrough=!1,z.quote=0,z.indentedCode=!1,z.f==_){var K=t;if(!K){var P=x.innerMode(f,z.htmlState);K=P.mode.name=="xml"&&P.state.tagStart===null&&!P.state.context&&P.state.tokenize.isInText}K&&(z.f=O,z.block=S,z.htmlState=null)}return z.trailingSpace=0,z.trailingSpaceNewLine=!1,z.prevLine=z.thisLine,z.thisLine={stream:null},null}function S(z,K){var P=z.column()===K.indentation,G=y(K.prevLine.stream),V=K.indentedCode,q=K.prevLine.hr,re=K.list!==!1,ce=(K.listStack[K.listStack.length-1]||0)+3;K.indentedCode=!1;var ie=K.indentation;if(K.indentationDiff===null&&(K.indentationDiff=K.indentation,re)){for(K.list=null;ie=4&&(V||K.prevLine.fencedCodeEnd||K.prevLine.header||G))return z.skipToEnd(),K.indentedCode=!0,m.code;if(z.eatSpace())return null;if(P&&K.indentation<=ce&&(Se=z.match(c))&&Se[1].length<=6)return K.quote=0,K.header=Se[1].length,K.thisLine.header=!0,A.highlightFormatting&&(K.formatting="header"),K.f=K.inline,C(K);if(K.indentation<=ce&&z.eat(">"))return K.quote=P?1:K.quote+1,A.highlightFormatting&&(K.formatting="quote"),z.eatSpace(),C(K);if(!xe&&!K.setext&&P&&K.indentation<=ce&&(Se=z.match(n))){var ke=Se[1]?"ol":"ul";return K.indentation=ie+z.current().length,K.list=!0,K.quote=0,K.listStack.push(K.indentation),K.em=!1,K.strong=!1,K.code=!1,K.strikethrough=!1,A.taskLists&&z.match(s,!1)&&(K.taskList=!0),K.f=K.inline,A.highlightFormatting&&(K.formatting=["list","list-"+ke]),C(K)}else{if(P&&K.indentation<=ce&&(Se=z.match(r,!0)))return K.quote=0,K.fencedEndRE=new RegExp(Se[1]+"+ *$"),K.localMode=A.fencedCodeBlockHighlighting&&e(Se[2]||A.fencedCodeBlockDefaultMode),K.localMode&&(K.localState=x.startState(K.localMode)),K.f=K.block=I,A.highlightFormatting&&(K.formatting="code-block"),K.code=-1,C(K);if(K.setext||(!fe||!re)&&!K.quote&&K.list===!1&&!K.code&&!xe&&!o.test(z.string)&&(Se=z.lookAhead(1))&&(Se=Se.match(i)))return K.setext?(K.header=K.setext,K.setext=0,z.skipToEnd(),A.highlightFormatting&&(K.formatting="header")):(K.header=Se[0].charAt(0)=="="?1:2,K.setext=K.header),K.thisLine.header=!0,K.f=K.inline,C(K);if(xe)return z.skipToEnd(),K.hr=!0,K.thisLine.hr=!0,m.hr;if(z.peek()==="[")return g(z,K,X)}return g(z,K,K.inline)}function _(z,K){var P=f.token(z,K.htmlState);if(!t){var G=x.innerMode(f,K.htmlState);(G.mode.name=="xml"&&G.state.tagStart===null&&!G.state.context&&G.state.tokenize.isInText||K.md_inside&&z.current().indexOf(">")>-1)&&(K.f=O,K.block=S,K.htmlState=null)}return P}function I(z,K){var P=K.listStack[K.listStack.length-1]||0,G=K.indentation=z.quote?K.push(m.formatting+"-"+z.formatting[P]+"-"+z.quote):K.push("error"))}if(z.taskOpen)return K.push("meta"),K.length?K.join(" "):null;if(z.taskClosed)return K.push("property"),K.length?K.join(" "):null;if(z.linkHref?K.push(m.linkHref,"url"):(z.strong&&K.push(m.strong),z.em&&K.push(m.em),z.strikethrough&&K.push(m.strikethrough),z.emoji&&K.push(m.emoji),z.linkText&&K.push(m.linkText),z.code&&K.push(m.code),z.image&&K.push(m.image),z.imageAltText&&K.push(m.imageAltText,"link"),z.imageMarker&&K.push(m.imageMarker)),z.header&&K.push(m.header,m.header+"-"+z.header),z.quote&&(K.push(m.quote),!A.maxBlockquoteDepth||A.maxBlockquoteDepth>=z.quote?K.push(m.quote+"-"+z.quote):K.push(m.quote+"-"+A.maxBlockquoteDepth)),z.list!==!1){var G=(z.listStack.length-1)%3;G?G===1?K.push(m.list2):K.push(m.list3):K.push(m.list1)}return z.trailingSpaceNewLine?K.push("trailing-space-new-line"):z.trailingSpace&&K.push("trailing-space-"+(z.trailingSpace%2?"a":"b")),K.length?K.join(" "):null}function E(z,K){return z.match(u,!0)?C(K):void 0}function O(z,K){var P=K.text(z,K);if(typeof P!="undefined")return P;if(K.list)return K.list=null,C(K);if(K.taskList){var G=z.match(s,!0)[1]===" ";return G?K.taskOpen=!0:K.taskClosed=!0,A.highlightFormatting&&(K.formatting="task"),K.taskList=!1,C(K)}if(K.taskOpen=!1,K.taskClosed=!1,K.header&&z.match(/^#+$/,!0))return A.highlightFormatting&&(K.formatting="header"),C(K);var V=z.next();if(K.linkTitle){K.linkTitle=!1;var q=V;V==="("&&(q=")"),q=(q+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var re="^\\s*(?:[^"+q+"\\\\]+|\\\\\\\\|\\\\.)"+q;if(z.match(new RegExp(re),!0))return m.linkHref}if(V==="`"){var ce=K.formatting;A.highlightFormatting&&(K.formatting="code"),z.eatWhile("`");var ie=z.current().length;if(K.code==0&&(!K.quote||ie==1))return K.code=ie,C(K);if(ie==K.code){var fe=C(K);return K.code=0,fe}else return K.formatting=ce,C(K)}else if(K.code)return C(K);if(V==="\\"&&(z.next(),A.highlightFormatting)){var xe=C(K),Se=m.formatting+"-escape";return xe?xe+" "+Se:Se}if(V==="!"&&z.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return K.imageMarker=!0,K.image=!0,A.highlightFormatting&&(K.formatting="image"),C(K);if(V==="["&&K.imageMarker&&z.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return K.imageMarker=!1,K.imageAltText=!0,A.highlightFormatting&&(K.formatting="image"),C(K);if(V==="]"&&K.imageAltText){A.highlightFormatting&&(K.formatting="image");var xe=C(K);return K.imageAltText=!1,K.image=!1,K.inline=K.f=F,xe}if(V==="["&&!K.image)return K.linkText&&z.match(/^.*?\]/)||(K.linkText=!0,A.highlightFormatting&&(K.formatting="link")),C(K);if(V==="]"&&K.linkText){A.highlightFormatting&&(K.formatting="link");var xe=C(K);return K.linkText=!1,K.inline=K.f=z.match(/\(.*?\)| ?\[.*?\]/,!1)?F:O,xe}if(V==="<"&&z.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){K.f=K.inline=M,A.highlightFormatting&&(K.formatting="link");var xe=C(K);return xe?xe+=" ":xe="",xe+m.linkInline}if(V==="<"&&z.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){K.f=K.inline=M,A.highlightFormatting&&(K.formatting="link");var xe=C(K);return xe?xe+=" ":xe="",xe+m.linkEmail}if(A.xml&&V==="<"&&z.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var ke=z.string.indexOf(">",z.pos);if(ke!=-1){var ge=z.string.substring(z.start,ke);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(ge)&&(K.md_inside=!0)}return z.backUp(1),K.htmlState=x.startState(f),v(z,K,_)}if(A.xml&&V==="<"&&z.match(/^\/\w*?>/))return K.md_inside=!1,"tag";if(V==="*"||V==="_"){for(var Be=1,ee=z.pos==1?" ":z.string.charAt(z.pos-2);Be<3&&z.eat(V);)Be++;var ue=z.peek()||" ",Ge=!/\s/.test(ue)&&(!h.test(ue)||/\s/.test(ee)||h.test(ee)),ae=!/\s/.test(ee)&&(!h.test(ee)||/\s/.test(ue)||h.test(ue)),Z=null,Y=null;if(Be%2&&(!K.em&&Ge&&(V==="*"||!ae||h.test(ee))?Z=!0:K.em==V&&ae&&(V==="*"||!Ge||h.test(ue))&&(Z=!1)),Be>1&&(!K.strong&&Ge&&(V==="*"||!ae||h.test(ee))?Y=!0:K.strong==V&&ae&&(V==="*"||!Ge||h.test(ue))&&(Y=!1)),Y!=null||Z!=null){A.highlightFormatting&&(K.formatting=Z==null?"strong":Y==null?"em":"strong em"),Z===!0&&(K.em=V),Y===!0&&(K.strong=V);var fe=C(K);return Z===!1&&(K.em=!1),Y===!1&&(K.strong=!1),fe}}else if(V===" "&&(z.eat("*")||z.eat("_"))){if(z.peek()===" ")return C(K);z.backUp(1)}if(A.strikethrough){if(V==="~"&&z.eatWhile(V)){if(K.strikethrough){A.highlightFormatting&&(K.formatting="strikethrough");var fe=C(K);return K.strikethrough=!1,fe}else if(z.match(/^[^\s]/,!1))return K.strikethrough=!0,A.highlightFormatting&&(K.formatting="strikethrough"),C(K)}else if(V===" "&&z.match(/^~~/,!0)){if(z.peek()===" ")return C(K);z.backUp(2)}}if(A.emoji&&V===":"&&z.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){K.emoji=!0,A.highlightFormatting&&(K.formatting="emoji");var te=C(K);return K.emoji=!1,te}return V===" "&&(z.match(/^ +$/,!1)?K.trailingSpace++:K.trailingSpace&&(K.trailingSpaceNewLine=!0)),C(K)}function M(z,K){var P=z.next();if(P===">"){K.f=K.inline=O,A.highlightFormatting&&(K.formatting="link");var G=C(K);return G?G+=" ":G="",G+m.linkInline}return z.match(/^[^>]+/,!0),m.linkInline}function F(z,K){if(z.eatSpace())return null;var P=z.next();return P==="("||P==="["?(K.f=K.inline=B(P==="("?")":"]"),A.highlightFormatting&&(K.formatting="link-string"),K.linkHref=!0,C(K)):"error"}var H={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function B(z){return function(K,P){var G=K.next();if(G===z){P.f=P.inline=O,A.highlightFormatting&&(P.formatting="link-string");var V=C(P);return P.linkHref=!1,V}return K.match(H[z]),P.linkHref=!0,C(P)}}function X(z,K){return z.match(/^([^\]\\]|\\.)*\]:/,!1)?(K.f=J,z.next(),A.highlightFormatting&&(K.formatting="link"),K.linkText=!0,C(K)):g(z,K,O)}function J(z,K){if(z.match(/^\]:/,!0)){K.f=K.inline=k,A.highlightFormatting&&(K.formatting="link");var P=C(K);return K.linkText=!1,P}return z.match(/^([^\]\\]|\\.)+/,!0),m.linkText}function k(z,K){return z.eatSpace()?null:(z.match(/^[^\s]+/,!0),z.peek()===void 0?K.linkTitle=!0:z.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),K.f=K.inline=O,m.linkHref+" url")}var W={startState:function(){return{f:S,prevLine:{stream:null},thisLine:{stream:null},block:S,htmlState:null,indentation:0,inline:O,text:E,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(K){return{f:K.f,prevLine:K.prevLine,thisLine:K.thisLine,block:K.block,htmlState:K.htmlState&&x.copyState(f,K.htmlState),indentation:K.indentation,localMode:K.localMode,localState:K.localMode?x.copyState(K.localMode,K.localState):null,inline:K.inline,text:K.text,formatting:!1,linkText:K.linkText,linkTitle:K.linkTitle,linkHref:K.linkHref,code:K.code,em:K.em,strong:K.strong,strikethrough:K.strikethrough,emoji:K.emoji,header:K.header,setext:K.setext,hr:K.hr,taskList:K.taskList,list:K.list,listStack:K.listStack.slice(0),quote:K.quote,indentedCode:K.indentedCode,trailingSpace:K.trailingSpace,trailingSpaceNewLine:K.trailingSpaceNewLine,md_inside:K.md_inside,fencedEndRE:K.fencedEndRE}},token:function(K,P){if(P.formatting=!1,K!=P.thisLine.stream){if(P.header=0,P.hr=!1,K.match(/^\s*$/,!0))return w(P),null;if(P.prevLine=P.thisLine,P.thisLine={stream:K},P.taskList=!1,P.trailingSpace=0,P.trailingSpaceNewLine=!1,!P.localState&&(P.f=P.block,P.f!=_)){var G=K.match(/^\s*/,!0)[0].replace(/\t/g,p).length;if(P.indentation=G,P.indentationDiff=null,G>0)return null}}return P.f(K,P)},innerMode:function(K){return K.block==_?{state:K.htmlState,mode:f}:K.localState?{state:K.localState,mode:K.localMode}:{state:K,mode:W}},indent:function(K,P,G){return K.block==_&&f.indent?f.indent(K.htmlState,P,G):K.localState&&K.localMode.indent?K.localMode.indent(K.localState,P,G):x.Pass},blankLine:w,getType:C,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return W},"xml"),x.defineMIME("text/markdown","markdown"),x.defineMIME("text/x-markdown","markdown")})},laiN:function(j,R,l){var x=l("ProS");l("GVMX"),l("MH26"),x.registerPreprocessor(function(b){b.markLine=b.markLine||{}})},lnY3:function(j,R,l){},loD1:function(j,R){function l(x,b,A,f,t,e,m){if(t===0)return!1;var d=t,a=0,n=x;if(m>b+d&&m>f+d||mx+d&&e>A+d||e=s.x&&a<=s.x+s.width&&n>=s.y&&n<=s.y+s.height},clone:function(){return new e(this.x,this.y,this.width,this.height)},copy:function(a){this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},e.create=function(d){return new e(d.x,d.y,d.width,d.height)};var m=e;j.exports=m},mHUz:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x={XK_VoidSymbol:16777215,XK_BackSpace:65288,XK_Tab:65289,XK_Linefeed:65290,XK_Clear:65291,XK_Return:65293,XK_Pause:65299,XK_Scroll_Lock:65300,XK_Sys_Req:65301,XK_Escape:65307,XK_Delete:65535,XK_Multi_key:65312,XK_Codeinput:65335,XK_SingleCandidate:65340,XK_MultipleCandidate:65341,XK_PreviousCandidate:65342,XK_Kanji:65313,XK_Muhenkan:65314,XK_Henkan_Mode:65315,XK_Henkan:65315,XK_Romaji:65316,XK_Hiragana:65317,XK_Katakana:65318,XK_Hiragana_Katakana:65319,XK_Zenkaku:65320,XK_Hankaku:65321,XK_Zenkaku_Hankaku:65322,XK_Touroku:65323,XK_Massyo:65324,XK_Kana_Lock:65325,XK_Kana_Shift:65326,XK_Eisu_Shift:65327,XK_Eisu_toggle:65328,XK_Kanji_Bangou:65335,XK_Zen_Koho:65341,XK_Mae_Koho:65342,XK_Home:65360,XK_Left:65361,XK_Up:65362,XK_Right:65363,XK_Down:65364,XK_Prior:65365,XK_Page_Up:65365,XK_Next:65366,XK_Page_Down:65366,XK_End:65367,XK_Begin:65368,XK_Select:65376,XK_Print:65377,XK_Execute:65378,XK_Insert:65379,XK_Undo:65381,XK_Redo:65382,XK_Menu:65383,XK_Find:65384,XK_Cancel:65385,XK_Help:65386,XK_Break:65387,XK_Mode_switch:65406,XK_script_switch:65406,XK_Num_Lock:65407,XK_KP_Space:65408,XK_KP_Tab:65417,XK_KP_Enter:65421,XK_KP_F1:65425,XK_KP_F2:65426,XK_KP_F3:65427,XK_KP_F4:65428,XK_KP_Home:65429,XK_KP_Left:65430,XK_KP_Up:65431,XK_KP_Right:65432,XK_KP_Down:65433,XK_KP_Prior:65434,XK_KP_Page_Up:65434,XK_KP_Next:65435,XK_KP_Page_Down:65435,XK_KP_End:65436,XK_KP_Begin:65437,XK_KP_Insert:65438,XK_KP_Delete:65439,XK_KP_Equal:65469,XK_KP_Multiply:65450,XK_KP_Add:65451,XK_KP_Separator:65452,XK_KP_Subtract:65453,XK_KP_Decimal:65454,XK_KP_Divide:65455,XK_KP_0:65456,XK_KP_1:65457,XK_KP_2:65458,XK_KP_3:65459,XK_KP_4:65460,XK_KP_5:65461,XK_KP_6:65462,XK_KP_7:65463,XK_KP_8:65464,XK_KP_9:65465,XK_F1:65470,XK_F2:65471,XK_F3:65472,XK_F4:65473,XK_F5:65474,XK_F6:65475,XK_F7:65476,XK_F8:65477,XK_F9:65478,XK_F10:65479,XK_F11:65480,XK_L1:65480,XK_F12:65481,XK_L2:65481,XK_F13:65482,XK_L3:65482,XK_F14:65483,XK_L4:65483,XK_F15:65484,XK_L5:65484,XK_F16:65485,XK_L6:65485,XK_F17:65486,XK_L7:65486,XK_F18:65487,XK_L8:65487,XK_F19:65488,XK_L9:65488,XK_F20:65489,XK_L10:65489,XK_F21:65490,XK_R1:65490,XK_F22:65491,XK_R2:65491,XK_F23:65492,XK_R3:65492,XK_F24:65493,XK_R4:65493,XK_F25:65494,XK_R5:65494,XK_F26:65495,XK_R6:65495,XK_F27:65496,XK_R7:65496,XK_F28:65497,XK_R8:65497,XK_F29:65498,XK_R9:65498,XK_F30:65499,XK_R10:65499,XK_F31:65500,XK_R11:65500,XK_F32:65501,XK_R12:65501,XK_F33:65502,XK_R13:65502,XK_F34:65503,XK_R14:65503,XK_F35:65504,XK_R15:65504,XK_Shift_L:65505,XK_Shift_R:65506,XK_Control_L:65507,XK_Control_R:65508,XK_Caps_Lock:65509,XK_Shift_Lock:65510,XK_Meta_L:65511,XK_Meta_R:65512,XK_Alt_L:65513,XK_Alt_R:65514,XK_Super_L:65515,XK_Super_R:65516,XK_Hyper_L:65517,XK_Hyper_R:65518,XK_ISO_Level3_Shift:65027,XK_ISO_Next_Group:65032,XK_ISO_Prev_Group:65034,XK_ISO_First_Group:65036,XK_ISO_Last_Group:65038,XK_space:32,XK_exclam:33,XK_quotedbl:34,XK_numbersign:35,XK_dollar:36,XK_percent:37,XK_ampersand:38,XK_apostrophe:39,XK_quoteright:39,XK_parenleft:40,XK_parenright:41,XK_asterisk:42,XK_plus:43,XK_comma:44,XK_minus:45,XK_period:46,XK_slash:47,XK_0:48,XK_1:49,XK_2:50,XK_3:51,XK_4:52,XK_5:53,XK_6:54,XK_7:55,XK_8:56,XK_9:57,XK_colon:58,XK_semicolon:59,XK_less:60,XK_equal:61,XK_greater:62,XK_question:63,XK_at:64,XK_A:65,XK_B:66,XK_C:67,XK_D:68,XK_E:69,XK_F:70,XK_G:71,XK_H:72,XK_I:73,XK_J:74,XK_K:75,XK_L:76,XK_M:77,XK_N:78,XK_O:79,XK_P:80,XK_Q:81,XK_R:82,XK_S:83,XK_T:84,XK_U:85,XK_V:86,XK_W:87,XK_X:88,XK_Y:89,XK_Z:90,XK_bracketleft:91,XK_backslash:92,XK_bracketright:93,XK_asciicircum:94,XK_underscore:95,XK_grave:96,XK_quoteleft:96,XK_a:97,XK_b:98,XK_c:99,XK_d:100,XK_e:101,XK_f:102,XK_g:103,XK_h:104,XK_i:105,XK_j:106,XK_k:107,XK_l:108,XK_m:109,XK_n:110,XK_o:111,XK_p:112,XK_q:113,XK_r:114,XK_s:115,XK_t:116,XK_u:117,XK_v:118,XK_w:119,XK_x:120,XK_y:121,XK_z:122,XK_braceleft:123,XK_bar:124,XK_braceright:125,XK_asciitilde:126,XK_nobreakspace:160,XK_exclamdown:161,XK_cent:162,XK_sterling:163,XK_currency:164,XK_yen:165,XK_brokenbar:166,XK_section:167,XK_diaeresis:168,XK_copyright:169,XK_ordfeminine:170,XK_guillemotleft:171,XK_notsign:172,XK_hyphen:173,XK_registered:174,XK_macron:175,XK_degree:176,XK_plusminus:177,XK_twosuperior:178,XK_threesuperior:179,XK_acute:180,XK_mu:181,XK_paragraph:182,XK_periodcentered:183,XK_cedilla:184,XK_onesuperior:185,XK_masculine:186,XK_guillemotright:187,XK_onequarter:188,XK_onehalf:189,XK_threequarters:190,XK_questiondown:191,XK_Agrave:192,XK_Aacute:193,XK_Acircumflex:194,XK_Atilde:195,XK_Adiaeresis:196,XK_Aring:197,XK_AE:198,XK_Ccedilla:199,XK_Egrave:200,XK_Eacute:201,XK_Ecircumflex:202,XK_Ediaeresis:203,XK_Igrave:204,XK_Iacute:205,XK_Icircumflex:206,XK_Idiaeresis:207,XK_ETH:208,XK_Eth:208,XK_Ntilde:209,XK_Ograve:210,XK_Oacute:211,XK_Ocircumflex:212,XK_Otilde:213,XK_Odiaeresis:214,XK_multiply:215,XK_Oslash:216,XK_Ooblique:216,XK_Ugrave:217,XK_Uacute:218,XK_Ucircumflex:219,XK_Udiaeresis:220,XK_Yacute:221,XK_THORN:222,XK_Thorn:222,XK_ssharp:223,XK_agrave:224,XK_aacute:225,XK_acircumflex:226,XK_atilde:227,XK_adiaeresis:228,XK_aring:229,XK_ae:230,XK_ccedilla:231,XK_egrave:232,XK_eacute:233,XK_ecircumflex:234,XK_ediaeresis:235,XK_igrave:236,XK_iacute:237,XK_icircumflex:238,XK_idiaeresis:239,XK_eth:240,XK_ntilde:241,XK_ograve:242,XK_oacute:243,XK_ocircumflex:244,XK_otilde:245,XK_odiaeresis:246,XK_division:247,XK_oslash:248,XK_ooblique:248,XK_ugrave:249,XK_uacute:250,XK_ucircumflex:251,XK_udiaeresis:252,XK_yacute:253,XK_thorn:254,XK_ydiaeresis:255,XK_Hangul:65329,XK_Hangul_Hanja:65332,XK_Hangul_Jeonja:65336,XF86XK_ModeLock:269025025,XF86XK_MonBrightnessUp:269025026,XF86XK_MonBrightnessDown:269025027,XF86XK_KbdLightOnOff:269025028,XF86XK_KbdBrightnessUp:269025029,XF86XK_KbdBrightnessDown:269025030,XF86XK_Standby:269025040,XF86XK_AudioLowerVolume:269025041,XF86XK_AudioMute:269025042,XF86XK_AudioRaiseVolume:269025043,XF86XK_AudioPlay:269025044,XF86XK_AudioStop:269025045,XF86XK_AudioPrev:269025046,XF86XK_AudioNext:269025047,XF86XK_HomePage:269025048,XF86XK_Mail:269025049,XF86XK_Start:269025050,XF86XK_Search:269025051,XF86XK_AudioRecord:269025052,XF86XK_Calculator:269025053,XF86XK_Memo:269025054,XF86XK_ToDoList:269025055,XF86XK_Calendar:269025056,XF86XK_PowerDown:269025057,XF86XK_ContrastAdjust:269025058,XF86XK_RockerUp:269025059,XF86XK_RockerDown:269025060,XF86XK_RockerEnter:269025061,XF86XK_Back:269025062,XF86XK_Forward:269025063,XF86XK_Stop:269025064,XF86XK_Refresh:269025065,XF86XK_PowerOff:269025066,XF86XK_WakeUp:269025067,XF86XK_Eject:269025068,XF86XK_ScreenSaver:269025069,XF86XK_WWW:269025070,XF86XK_Sleep:269025071,XF86XK_Favorites:269025072,XF86XK_AudioPause:269025073,XF86XK_AudioMedia:269025074,XF86XK_MyComputer:269025075,XF86XK_VendorHome:269025076,XF86XK_LightBulb:269025077,XF86XK_Shop:269025078,XF86XK_History:269025079,XF86XK_OpenURL:269025080,XF86XK_AddFavorite:269025081,XF86XK_HotLinks:269025082,XF86XK_BrightnessAdjust:269025083,XF86XK_Finance:269025084,XF86XK_Community:269025085,XF86XK_AudioRewind:269025086,XF86XK_BackForward:269025087,XF86XK_Launch0:269025088,XF86XK_Launch1:269025089,XF86XK_Launch2:269025090,XF86XK_Launch3:269025091,XF86XK_Launch4:269025092,XF86XK_Launch5:269025093,XF86XK_Launch6:269025094,XF86XK_Launch7:269025095,XF86XK_Launch8:269025096,XF86XK_Launch9:269025097,XF86XK_LaunchA:269025098,XF86XK_LaunchB:269025099,XF86XK_LaunchC:269025100,XF86XK_LaunchD:269025101,XF86XK_LaunchE:269025102,XF86XK_LaunchF:269025103,XF86XK_ApplicationLeft:269025104,XF86XK_ApplicationRight:269025105,XF86XK_Book:269025106,XF86XK_CD:269025107,XF86XK_Calculater:269025108,XF86XK_Clear:269025109,XF86XK_Close:269025110,XF86XK_Copy:269025111,XF86XK_Cut:269025112,XF86XK_Display:269025113,XF86XK_DOS:269025114,XF86XK_Documents:269025115,XF86XK_Excel:269025116,XF86XK_Explorer:269025117,XF86XK_Game:269025118,XF86XK_Go:269025119,XF86XK_iTouch:269025120,XF86XK_LogOff:269025121,XF86XK_Market:269025122,XF86XK_Meeting:269025123,XF86XK_MenuKB:269025125,XF86XK_MenuPB:269025126,XF86XK_MySites:269025127,XF86XK_New:269025128,XF86XK_News:269025129,XF86XK_OfficeHome:269025130,XF86XK_Open:269025131,XF86XK_Option:269025132,XF86XK_Paste:269025133,XF86XK_Phone:269025134,XF86XK_Q:269025136,XF86XK_Reply:269025138,XF86XK_Reload:269025139,XF86XK_RotateWindows:269025140,XF86XK_RotationPB:269025141,XF86XK_RotationKB:269025142,XF86XK_Save:269025143,XF86XK_ScrollUp:269025144,XF86XK_ScrollDown:269025145,XF86XK_ScrollClick:269025146,XF86XK_Send:269025147,XF86XK_Spell:269025148,XF86XK_SplitScreen:269025149,XF86XK_Support:269025150,XF86XK_TaskPane:269025151,XF86XK_Terminal:269025152,XF86XK_Tools:269025153,XF86XK_Travel:269025154,XF86XK_UserPB:269025156,XF86XK_User1KB:269025157,XF86XK_User2KB:269025158,XF86XK_Video:269025159,XF86XK_WheelButton:269025160,XF86XK_Word:269025161,XF86XK_Xfer:269025162,XF86XK_ZoomIn:269025163,XF86XK_ZoomOut:269025164,XF86XK_Away:269025165,XF86XK_Messenger:269025166,XF86XK_WebCam:269025167,XF86XK_MailForward:269025168,XF86XK_Pictures:269025169,XF86XK_Music:269025170,XF86XK_Battery:269025171,XF86XK_Bluetooth:269025172,XF86XK_WLAN:269025173,XF86XK_UWB:269025174,XF86XK_AudioForward:269025175,XF86XK_AudioRepeat:269025176,XF86XK_AudioRandomPlay:269025177,XF86XK_Subtitle:269025178,XF86XK_AudioCycleTrack:269025179,XF86XK_CycleAngle:269025180,XF86XK_FrameBack:269025181,XF86XK_FrameForward:269025182,XF86XK_Time:269025183,XF86XK_Select:269025184,XF86XK_View:269025185,XF86XK_TopMenu:269025186,XF86XK_Red:269025187,XF86XK_Green:269025188,XF86XK_Yellow:269025189,XF86XK_Blue:269025190,XF86XK_Suspend:269025191,XF86XK_Hibernate:269025192,XF86XK_TouchpadToggle:269025193,XF86XK_TouchpadOn:269025200,XF86XK_TouchpadOff:269025201,XF86XK_AudioMicMute:269025202,XF86XK_Switch_VT_1:269024769,XF86XK_Switch_VT_2:269024770,XF86XK_Switch_VT_3:269024771,XF86XK_Switch_VT_4:269024772,XF86XK_Switch_VT_5:269024773,XF86XK_Switch_VT_6:269024774,XF86XK_Switch_VT_7:269024775,XF86XK_Switch_VT_8:269024776,XF86XK_Switch_VT_9:269024777,XF86XK_Switch_VT_10:269024778,XF86XK_Switch_VT_11:269024779,XF86XK_Switch_VT_12:269024780,XF86XK_Ungrab:269024800,XF86XK_ClearGrab:269024801,XF86XK_Next_VMode:269024802,XF86XK_Prev_VMode:269024803,XF86XK_LogWindowTree:269024804,XF86XK_LogGrabInfo:269024805};R.default=x},mLcG:function(j,R){var l=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(x){setTimeout(x,16)};j.exports=l},"mO/d":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("I9Y+"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},mOdp:function(j,R,l){var x=l("bYtY"),b=x.createHashMap;function A(f){return{getTargetSeries:function(t){var e={},m=b();return t.eachSeriesByType(f,function(d){d.__paletteScope=e,m.set(d.uid,d)}),m},reset:function(t,e){var m=t.getRawData(),d={},a=t.getData();a.each(function(n){var s=a.getRawIndex(n);d[s]=n}),m.each(function(n){var s=d[n],c=s!=null&&a.getItemVisual(s,"color",!0),i=s!=null&&a.getItemVisual(s,"borderColor",!0),u;if((!c||!i)&&(u=m.getItemModel(n)),!c){var r=u.get("itemStyle.color")||t.getColorFromPalette(m.getName(n)||n+"",t.__paletteScope,m.count());s!=null&&a.setItemVisual(s,"color",r)}if(!i){var o=u.get("itemStyle.borderColor");s!=null&&a.setItemVisual(s,"borderColor",o)}})}}}j.exports=A},mTgk:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("mHUz"));function b(d){return d&&d.__esModule?d:{default:d}}var A={};function f(d,a){if(a===void 0)throw new Error('Undefined keysym for key "'+d+'"');if(d in A)throw new Error('Duplicate entry for key "'+d+'"');A[d]=[a,a,a,a]}function t(d,a,n){if(a===void 0)throw new Error('Undefined keysym for key "'+d+'"');if(n===void 0)throw new Error('Undefined keysym for key "'+d+'"');if(d in A)throw new Error('Duplicate entry for key "'+d+'"');A[d]=[a,a,n,a]}function e(d,a,n){if(a===void 0)throw new Error('Undefined keysym for key "'+d+'"');if(n===void 0)throw new Error('Undefined keysym for key "'+d+'"');if(d in A)throw new Error('Duplicate entry for key "'+d+'"');A[d]=[a,a,a,n]}t("Alt",x.default.XK_Alt_L,x.default.XK_Alt_R),f("AltGraph",x.default.XK_ISO_Level3_Shift),f("CapsLock",x.default.XK_Caps_Lock),t("Control",x.default.XK_Control_L,x.default.XK_Control_R),t("Meta",x.default.XK_Super_L,x.default.XK_Super_R),f("NumLock",x.default.XK_Num_Lock),f("ScrollLock",x.default.XK_Scroll_Lock),t("Shift",x.default.XK_Shift_L,x.default.XK_Shift_R),e("Enter",x.default.XK_Return,x.default.XK_KP_Enter),f("Tab",x.default.XK_Tab),e(" ",x.default.XK_space,x.default.XK_KP_Space),e("ArrowDown",x.default.XK_Down,x.default.XK_KP_Down),e("ArrowUp",x.default.XK_Up,x.default.XK_KP_Up),e("ArrowLeft",x.default.XK_Left,x.default.XK_KP_Left),e("ArrowRight",x.default.XK_Right,x.default.XK_KP_Right),e("End",x.default.XK_End,x.default.XK_KP_End),e("Home",x.default.XK_Home,x.default.XK_KP_Home),e("PageDown",x.default.XK_Next,x.default.XK_KP_Next),e("PageUp",x.default.XK_Prior,x.default.XK_KP_Prior),f("Backspace",x.default.XK_BackSpace),e("Clear",x.default.XK_Clear,x.default.XK_KP_Begin),f("Copy",x.default.XF86XK_Copy),f("Cut",x.default.XF86XK_Cut),e("Delete",x.default.XK_Delete,x.default.XK_KP_Delete),e("Insert",x.default.XK_Insert,x.default.XK_KP_Insert),f("Paste",x.default.XF86XK_Paste),f("Redo",x.default.XK_Redo),f("Undo",x.default.XK_Undo),f("Cancel",x.default.XK_Cancel),f("ContextMenu",x.default.XK_Menu),f("Escape",x.default.XK_Escape),f("Execute",x.default.XK_Execute),f("Find",x.default.XK_Find),f("Help",x.default.XK_Help),f("Pause",x.default.XK_Pause),f("Select",x.default.XK_Select),f("ZoomIn",x.default.XF86XK_ZoomIn),f("ZoomOut",x.default.XF86XK_ZoomOut),f("BrightnessDown",x.default.XF86XK_MonBrightnessDown),f("BrightnessUp",x.default.XF86XK_MonBrightnessUp),f("Eject",x.default.XF86XK_Eject),f("LogOff",x.default.XF86XK_LogOff),f("Power",x.default.XF86XK_PowerOff),f("PowerOff",x.default.XF86XK_PowerDown),f("PrintScreen",x.default.XK_Print),f("Hibernate",x.default.XF86XK_Hibernate),f("Standby",x.default.XF86XK_Standby),f("WakeUp",x.default.XF86XK_WakeUp),f("AllCandidates",x.default.XK_MultipleCandidate),f("Alphanumeric",x.default.XK_Eisu_Shift),f("CodeInput",x.default.XK_Codeinput),f("Compose",x.default.XK_Multi_key),f("Convert",x.default.XK_Henkan),f("GroupFirst",x.default.XK_ISO_First_Group),f("GroupLast",x.default.XK_ISO_Last_Group),f("GroupNext",x.default.XK_ISO_Next_Group),f("GroupPrevious",x.default.XK_ISO_Prev_Group),f("NonConvert",x.default.XK_Muhenkan),f("PreviousCandidate",x.default.XK_PreviousCandidate),f("SingleCandidate",x.default.XK_SingleCandidate),f("HangulMode",x.default.XK_Hangul),f("HanjaMode",x.default.XK_Hangul_Hanja),f("JunjuaMode",x.default.XK_Hangul_Jeonja),f("Eisu",x.default.XK_Eisu_toggle),f("Hankaku",x.default.XK_Hankaku),f("Hiragana",x.default.XK_Hiragana),f("HiraganaKatakana",x.default.XK_Hiragana_Katakana),f("KanaMode",x.default.XK_Kana_Shift),f("KanjiMode",x.default.XK_Kanji),f("Katakana",x.default.XK_Katakana),f("Romaji",x.default.XK_Romaji),f("Zenkaku",x.default.XK_Zenkaku),f("ZenkakuHanaku",x.default.XK_Zenkaku_Hankaku),f("F1",x.default.XK_F1),f("F2",x.default.XK_F2),f("F3",x.default.XK_F3),f("F4",x.default.XK_F4),f("F5",x.default.XK_F5),f("F6",x.default.XK_F6),f("F7",x.default.XK_F7),f("F8",x.default.XK_F8),f("F9",x.default.XK_F9),f("F10",x.default.XK_F10),f("F11",x.default.XK_F11),f("F12",x.default.XK_F12),f("F13",x.default.XK_F13),f("F14",x.default.XK_F14),f("F15",x.default.XK_F15),f("F16",x.default.XK_F16),f("F17",x.default.XK_F17),f("F18",x.default.XK_F18),f("F19",x.default.XK_F19),f("F20",x.default.XK_F20),f("F21",x.default.XK_F21),f("F22",x.default.XK_F22),f("F23",x.default.XK_F23),f("F24",x.default.XK_F24),f("F25",x.default.XK_F25),f("F26",x.default.XK_F26),f("F27",x.default.XK_F27),f("F28",x.default.XK_F28),f("F29",x.default.XK_F29),f("F30",x.default.XK_F30),f("F31",x.default.XK_F31),f("F32",x.default.XK_F32),f("F33",x.default.XK_F33),f("F34",x.default.XK_F34),f("F35",x.default.XK_F35),f("Close",x.default.XF86XK_Close),f("MailForward",x.default.XF86XK_MailForward),f("MailReply",x.default.XF86XK_Reply),f("MailSend",x.default.XF86XK_Send),f("MediaFastForward",x.default.XF86XK_AudioForward),f("MediaPause",x.default.XF86XK_AudioPause),f("MediaPlay",x.default.XF86XK_AudioPlay),f("MediaRecord",x.default.XF86XK_AudioRecord),f("MediaRewind",x.default.XF86XK_AudioRewind),f("MediaStop",x.default.XF86XK_AudioStop),f("MediaTrackNext",x.default.XF86XK_AudioNext),f("MediaTrackPrevious",x.default.XF86XK_AudioPrev),f("New",x.default.XF86XK_New),f("Open",x.default.XF86XK_Open),f("Print",x.default.XK_Print),f("Save",x.default.XF86XK_Save),f("SpellCheck",x.default.XF86XK_Spell),f("AudioVolumeDown",x.default.XF86XK_AudioLowerVolume),f("AudioVolumeUp",x.default.XF86XK_AudioRaiseVolume),f("AudioVolumeMute",x.default.XF86XK_AudioMute),f("MicrophoneVolumeMute",x.default.XF86XK_AudioMicMute),f("LaunchApplication1",x.default.XF86XK_MyComputer),f("LaunchApplication2",x.default.XF86XK_Calculator),f("LaunchCalendar",x.default.XF86XK_Calendar),f("LaunchMail",x.default.XF86XK_Mail),f("LaunchMediaPlayer",x.default.XF86XK_AudioMedia),f("LaunchMusicPlayer",x.default.XF86XK_Music),f("LaunchPhone",x.default.XF86XK_Phone),f("LaunchScreenSaver",x.default.XF86XK_ScreenSaver),f("LaunchSpreadsheet",x.default.XF86XK_Excel),f("LaunchWebBrowser",x.default.XF86XK_WWW),f("LaunchWebCam",x.default.XF86XK_WebCam),f("LaunchWordProcessor",x.default.XF86XK_Word),f("BrowserBack",x.default.XF86XK_Back),f("BrowserFavorites",x.default.XF86XK_Favorites),f("BrowserForward",x.default.XF86XK_Forward),f("BrowserHome",x.default.XF86XK_HomePage),f("BrowserRefresh",x.default.XF86XK_Refresh),f("BrowserSearch",x.default.XF86XK_Search),f("BrowserStop",x.default.XF86XK_Stop),f("Dimmer",x.default.XF86XK_BrightnessAdjust),f("MediaAudioTrack",x.default.XF86XK_AudioCycleTrack),f("RandomToggle",x.default.XF86XK_AudioRandomPlay),f("SplitScreenToggle",x.default.XF86XK_SplitScreen),f("Subtitle",x.default.XF86XK_Subtitle),f("VideoModeNext",x.default.XF86XK_Next_VMode),e("=",x.default.XK_equal,x.default.XK_KP_Equal),e("+",x.default.XK_plus,x.default.XK_KP_Add),e("-",x.default.XK_minus,x.default.XK_KP_Subtract),e("*",x.default.XK_asterisk,x.default.XK_KP_Multiply),e("/",x.default.XK_slash,x.default.XK_KP_Divide),e(".",x.default.XK_period,x.default.XK_KP_Decimal),e(",",x.default.XK_comma,x.default.XK_KP_Separator),e("0",x.default.XK_0,x.default.XK_KP_0),e("1",x.default.XK_1,x.default.XK_KP_1),e("2",x.default.XK_2,x.default.XK_KP_2),e("3",x.default.XK_3,x.default.XK_KP_3),e("4",x.default.XK_4,x.default.XK_KP_4),e("5",x.default.XK_5,x.default.XK_KP_5),e("6",x.default.XK_6,x.default.XK_KP_6),e("7",x.default.XK_7,x.default.XK_KP_7),e("8",x.default.XK_8,x.default.XK_KP_8),e("9",x.default.XK_9,x.default.XK_KP_9);var m=A;R.default=m},mYwL:function(j,R,l){var x=l("bYtY"),b=l("IwbS"),A=l("6GrX"),f=Math.PI;function t(e,m){m=m||{},x.defaults(m,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var d=new b.Group,a=new b.Rect({style:{fill:m.maskColor},zlevel:m.zlevel,z:1e4});d.add(a);var n=m.fontSize+" sans-serif",s=new b.Rect({style:{fill:"none",text:m.text,font:n,textPosition:"right",textDistance:10,textFill:m.textColor},zlevel:m.zlevel,z:10001});if(d.add(s),m.showSpinner){var c=new b.Arc({shape:{startAngle:-f/2,endAngle:-f/2+.1,r:m.spinnerRadius},style:{stroke:m.color,lineCap:"round",lineWidth:m.lineWidth},zlevel:m.zlevel,z:10001});c.animateShape(!0).when(1e3,{endAngle:f*3/2}).start("circularInOut"),c.animateShape(!0).when(1e3,{startAngle:f*3/2}).delay(300).start("circularInOut"),d.add(c)}return d.resize=function(){var i=A.getWidth(m.text,n),u=m.showSpinner?m.spinnerRadius:0,r=(e.getWidth()-u*2-(m.showSpinner&&i?10:0)-i)/2-(m.showSpinner?0:i/2),o=e.getHeight()/2;m.showSpinner&&c.setShape({cx:r,cy:o}),s.setShape({x:r-u,y:o-u,width:u*2,height:u*2}),a.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},d.resize(),d}j.exports=t},mdZa:function(j,R,l){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(b,A){"use strict";if(b==null)throw new TypeError("Cannot convert undefined or null to object");for(var f=Object(b),t=1;t0&&i(F).to(B),X=this._divideParts(E,O),J=X.length,k=!1,W=function(fe,xe){var Se=this;return new t.default(function(ge,Be){var ee,ue,Ge,ae;return m.default.async(function(Y){for(;;)switch(Y.prev=Y.next){case 0:if(Y.prev=0,fe.isCancel()){Y.next=18;break}return ee=X[xe-1],ue={stream:fe._createStream(C,ee.start,ee.end),size:ee.end-ee.start},Y.next=6,m.default.awrap(fe._uploadPart(H,M,xe,ue));case 6:if(Ge=Y.sent,!(!fe.isCancel()&&!k)){Y.next=15;break}if(S.doneParts.push({number:xe,etag:Ge.res.headers.etag}),!_.progress){Y.next=12;break}return Y.next=12,m.default.awrap(_.progress(F.length/J,S,Ge.res));case 12:ge({number:xe,etag:Ge.res.headers.etag}),Y.next=16;break;case 15:ge();case 16:Y.next=19;break;case 18:ge();case 19:Y.next=30;break;case 21:Y.prev=21,Y.t0=Y.catch(0),ae=new Error,ae.name=Y.t0.name,ae.message=Y.t0.message,ae.stack=Y.t0.stack,ae.partNum=xe,i(Y.t0).to(ae),Be(ae);case 30:case"end":return Y.stop()}},null,Se,[[0,21]])})},z=(0,A.default)(new Array(J),function(ie,fe){return fe+1}),K=B.map(function(ie){return ie.number}),P=z.filter(function(ie){return K.indexOf(ie)<0}),G=5,V=_.parallel||G,ce.next=17,m.default.awrap(this._parallel(P,V,function(ie){return new t.default(function(fe,xe){W(I,ie).then(function(Se){Se&&B.push(Se),fe()}).catch(function(Se){xe(Se)})})}));case 17:if(q=ce.sent,k=!0,!this.isCancel()){ce.next=22;break}throw W=null,this._makeCancelEvent();case 22:if(!(q&&q.length>0)){ce.next=25;break}throw q[0].message="Failed to upload some parts with error: "+q[0].toString()+" part_num: "+q[0].partNum,q[0];case 25:return ce.next=27,m.default.awrap(this.completeMultipartUpload(H,M,B,_));case 27:return ce.abrupt("return",ce.sent);case 28:case"end":return ce.stop()}},null,this)},p._getFileSize=function(S){return m.default.async(function(I){for(;;)switch(I.prev=I.next){case 0:if(!a.buffer(S)){I.next=4;break}return I.abrupt("return",S.length);case 4:if(!(r(S)||h(S))){I.next=6;break}return I.abrupt("return",S.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return I.stop()}},null,this)};var g=j("stream"),v=g.Readable;function y(w,S){if(!(this instanceof y))return new y(w,S);v.call(this,S),this.file=w,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}n.inherits(y,v),y.prototype.readFileAndPush=function(S){if(this.fileBuffer)for(var _=!0;_&&this.fileBuffer&&this.startthis.fileBuffer.length?this.fileBuffer.length:C,this.start=C,_=this.push(this.fileBuffer.slice(I,C))}},y.prototype._read=function(S){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var _=16*1024;S=S||_;var I=this;this.reader.onload=function(E){I.fileBuffer=x.from(new Uint8Array(E.target.result)),I.file=null,I.readFileAndPush(S)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(S)},p._createStream=function(S,_,I){if(r(S)||h(S))return new y(S.slice(_,I));throw new Error("_createStream requires File/Blob.")},p._getPartSize=function(S,_){var I=10*1e3,C=1024*1024;return _?Math.max(Math.ceil(S/I),_):C},p._divideParts=function(S,_){for(var I=Math.ceil(S/_),C=[],E=0;E255)throw new Error("ID is composed of 255 bytes at most");if(S.prefix===""||S.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(S.status))throw new Error("Status must be Enabled or Disabled");if(S.transition){if(!["IA","Archive"].includes(S.transition.storageClass))throw new Error("StorageClass must be IA or Archive");v(S.transition,"Transition")}if(S.expiration){if(!S.expiration.expiredObjectDeleteMarker)v(S.expiration,"Expiration");else if(S.expiration.days||S.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(S.abortMultipartUpload&&v(S.abortMultipartUpload,"AbortMultipartUpload"),!S.expiration&&!S.abortMultipartUpload&&!S.transition&&!S.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(S.tag){if(S.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");y(S.tag)}}},{"../utils/checkBucketName":35,"../utils/checkObjectTag":36,"../utils/deepCopy":39,"../utils/getStrBytesCount":41,"../utils/isArray":42,"../utils/isObject":46,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],12:[function(j,R,l){"use strict";var x=j("babel-runtime/regenerator"),b=A(x);function A(a){return a&&a.__esModule?a:{default:a}}var f=j("../utils/checkBucketName"),t=f.checkBucketName,e=j("../utils/obj2xml"),m=e.obj2xml,d=l;d.putBucketVersioning=function(n,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,u,r;return b.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:if(t(n),["Enabled","Suspended"].includes(s)){h.next=3;break}throw new Error("status must be Enabled or Suspended");case 3:return i=this._bucketRequestParams("PUT",n,"versioning",c),u={VersioningConfiguration:{Status:s}},i.mime="xml",i.content=m(u,{headers:!0}),h.next=9,b.default.awrap(this.request(i));case 9:return r=h.sent,h.abrupt("return",{res:r.res,status:r.status});case 11:case"end":return h.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],13:[function(j,R,l){"use strict";var x=j("babel-runtime/regenerator"),b=A(x);function A(s){return s&&s.__esModule?s:{default:s}}var f=j("../utils/checkBucketName"),t=f.checkBucketName,e=j("../utils/obj2xml"),m=e.obj2xml,d=j("../utils/isArray"),a=d.isArray,n=l;n.putBucketWebsite=function(c){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=arguments[2],r,o,h,p,g;return b.default.async(function(y){for(;;)switch(y.prev=y.next){case 0:if(t(c),r=this._bucketRequestParams("PUT",c,"website",u),o={Suffix:i.index||"index.html"},h={IndexDocument:o},p={WebsiteConfiguration:h},i.supportSubDir&&(o.SupportSubDir=i.supportSubDir),i.type&&(o.Type=i.type),i.error&&(h.ErrorDocument={Key:i.error}),!(i.routingRules!==void 0)){y.next=12;break}if(a(i.routingRules)){y.next=11;break}throw new Error("RoutingRules must be Array");case 11:h.RoutingRules={RoutingRule:i.routingRules};case 12:return p=m(p),r.content=p,r.mime="xml",r.successStatuses=[200],y.next=18,b.default.awrap(this.request(r));case 18:return g=y.sent,y.abrupt("return",{res:g.res});case 20:case"end":return y.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isArray":42,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],14:[function(j,R,l){(function(x){"use strict";var b=j("babel-runtime/core-js/object/keys"),A=e(b),f=j("babel-runtime/core-js/json/stringify"),t=e(f);function e(m){return m&&m.__esModule?m:{default:m}}l.encodeCallback=function(d,a){if(d.headers=d.headers||{},!Object.prototype.hasOwnProperty.call(d.headers,"x-oss-callback")&&a.callback){var n={callbackUrl:encodeURI(a.callback.url),callbackBody:a.callback.body};a.callback.host&&(n.callbackHost=a.callback.host),a.callback.contentType&&(n.callbackBodyType=a.callback.contentType);var s=x.from((0,t.default)(n)).toString("base64");if(d.headers["x-oss-callback"]=s,a.callback.customValue){var c={};(0,A.default)(a.callback.customValue).forEach(function(i){c["x:"+i]=a.callback.customValue[i]}),d.headers["x-oss-callback-var"]=x.from((0,t.default)(c)).toString("base64")}}}}).call(this,j("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/assign"),b=A(x);function A(n){return n&&n.__esModule?n:{default:n}}var f=j("humanize-ms"),t=j("url"),e=j("../utils/checkBucketName"),m=e.checkBucketName;function d(n,s){var c=t.parse(n);if(c.protocol||(c=t.parse("http"+(s?"s":"")+"://"+n)),c.protocol!=="http:"&&c.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return c}function a(n,s,c){var i=c?"https://":"http://",u=s?"-internal.aliyuncs.com":".aliyuncs.com",r="vpc100-oss-cn-";return n.substr(0,r.length)===r&&(u=".aliyuncs.com"),t.parse(i+n+u)}R.exports=function(n){if(!n||!n.accessKeyId||!n.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");n.bucket&&m(n.bucket);var s=(0,b.default)({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1},n);if(s.accessKeyId=s.accessKeyId.trim(),s.accessKeySecret=s.accessKeySecret.trim(),s.timeout&&(s.timeout=f(s.timeout)),s.endpoint)s.endpoint=d(s.endpoint,s.secure);else if(s.region)s.endpoint=a(s.region,s.internal,s.secure);else throw new Error("require options.endpoint or options.region");return s.inited=!0,s}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/assign":54,"humanize-ms":194,url:238}],16:[function(j,R,l){"use strict";var x=j("merge-descriptors"),b=l;x(b,j("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(j,R,l){"use strict";var x=j("babel-runtime/regenerator"),b=A(x);function A(s){return s&&s.__esModule?s:{default:s}}var f=j("../utils/checkBucketName"),t=f.checkBucketName,e=j("querystring"),m=j("js-base64"),d=m.Base64.encode,a=l;a.processObjectSave=function(c,i,u,r){var o,h,p,g;return b.default.async(function(y){for(;;)switch(y.prev=y.next){case 0:return n(c,"sourceObject"),n(i,"targetObject"),n(u,"process"),i=this._objectName(i),r&&t(r),o=this._objectRequestParams("POST",c,{subres:"x-oss-process"}),h=r?",b_"+d(r):"",i=d(i),p={"x-oss-process":u+"|sys/saveas,o_"+i+h},o.content=e.stringify(p),y.next=12,b.default.awrap(this.request(o));case 12:return g=y.sent,y.abrupt("return",{res:g.res,status:g.res.status});case 14:case"end":return y.stop()}},null,this)};function n(s,c){if(!s)throw new Error(c+" is required");if(typeof s!="string")throw new Error(c+" must be String")}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(j,R,l){"use strict";var x=j("babel-runtime/regenerator"),b=A(x);function A(a){return a&&a.__esModule?a:{default:a}}var f=j("copy-to"),t=j("./callback"),e=j("./utils/deepCopy"),m=e.deepCopy,d=l;d.listUploads=function(n,s){var c,i,u,r;return b.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return s=s||{},c={},f(s).to(c),c.subres="uploads",i=this._objectRequestParams("GET","",c),i.query=n,i.xmlResponse=!0,i.successStatuses=[200],h.next=10,b.default.awrap(this.request(i));case 10:return u=h.sent,r=u.data.Upload||[],Array.isArray(r)||(r=[r]),r=r.map(function(p){return{name:p.Key,uploadId:p.UploadId,initiated:p.Initiated}}),h.abrupt("return",{res:u.res,uploads:r,bucket:u.data.Bucket,nextKeyMarker:u.data.NextKeyMarker,nextUploadIdMarker:u.data.NextUploadIdMarker,isTruncated:u.data.IsTruncated==="true"});case 15:case"end":return h.stop()}},null,this)},d.listParts=function(n,s,c,i){var u,r,o;return b.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return i=i||{},u={},f(i).to(u),u.subres={uploadId:s},r=this._objectRequestParams("GET",n,u),r.query=c,r.xmlResponse=!0,r.successStatuses=[200],p.next=10,b.default.awrap(this.request(r));case 10:return o=p.sent,p.abrupt("return",{res:o.res,uploadId:o.data.UploadId,bucket:o.data.Bucket,name:o.data.Key,partNumberMarker:o.data.PartNumberMarker,nextPartNumberMarker:o.data.NextPartNumberMarker,maxParts:o.data.MaxParts,isTruncated:o.data.IsTruncated,parts:o.data.Part||[]});case 12:case"end":return p.stop()}},null,this)},d.abortMultipartUpload=function(n,s,c){var i,u,r;return b.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return this._stop(),c=c||{},i={},f(c).to(i),i.subres={uploadId:s},u=this._objectRequestParams("DELETE",n,i),u.successStatuses=[204],h.next=9,b.default.awrap(this.request(u));case 9:return r=h.sent,h.abrupt("return",{res:r.res});case 11:case"end":return h.stop()}},null,this)},d.initMultipartUpload=function(n,s){var c,i,u;return b.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return s=s||{},c={},f(s).to(c),c.headers=c.headers||{},this._convertMetaToHeaders(s.meta,c.headers),c.subres="uploads",i=this._objectRequestParams("POST",n,c),i.mime=s.mime,i.xmlResponse=!0,i.successStatuses=[200],o.next=12,b.default.awrap(this.request(i));case 12:return u=o.sent,o.abrupt("return",{res:u.res,bucket:u.data.Bucket,name:u.data.Key,uploadId:u.data.UploadId});case 14:case"end":return o.stop()}},null,this)},d.uploadPart=function(n,s,c,i,u,r,o){var h;return b.default.async(function(g){for(;;)switch(g.prev=g.next){case 0:return h={stream:this._createStream(i,u,r),size:r-u},g.next=3,b.default.awrap(this._uploadPart(n,s,c,h,o));case 3:return g.abrupt("return",g.sent);case 4:case"end":return g.stop()}},null,this)},d.completeMultipartUpload=function(n,s,c,i){var u,r,o,h,p,g,v,y;return b.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:for(u=c.concat().sort(function(_,I){return _.number-I.number}).filter(function(_,I,C){return!I||_.number!==C[I-1].number}),r=` +`+f+"}":"{"+t.join(",")+"}",gap=f,b}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(j,R,l){var x;if(gap="",indent="",typeof l=="number")for(x=0;x=0;fe&&ie.depth>q&&(q=ie.depth),ce.setLayout({depth:fe?ie.depth:P},!0),X==="vertical"?ce.setLayout({dy:F},!0):ce.setLayout({dx:F},!0);for(var xe=0;xeP-1?q:P-1;J&&J!=="left"&&s(O,J,X,ee);var G=X==="vertical"?(B-F)/ee:(H-F)/ee;i(O,G,X)}function n(O){var M=O.hostGraph.data.getRawDataItem(O.dataIndex);return M.depth!=null&&M.depth>=0}function s(O,M,F,H){if(M==="right"){for(var B=[],X=O,J=0;X.length;){for(var k=0;k0;X--)K*=.99,p(k,K,J),h(k,B,F,H,J),C(k,K,J),h(k,B,F,H,J)}function r(O,M){var F=[],H=M==="vertical"?"y":"x",B=f(O,function(X){return X.getLayout()[H]});return B.keys.sort(function(X,J){return X-J}),b.each(B.keys,function(X){F.push(B.buckets.get(X))}),F}function o(O,M,F,H,B,X){var J=Infinity;b.each(O,function(k){var K=k.length,z=0;b.each(k,function(P){z+=P.getLayout().value});var W=X==="vertical"?(H-(K-1)*B)/z:(F-(K-1)*B)/z;W0&&(k=K.getLayout()[X]+z,B==="vertical"?K.setLayout({x:k},!0):K.setLayout({y:k},!0)),W=K.getLayout()[X]+K.getLayout()[G]+M;var q=B==="vertical"?H:F;if(z=W-M-q,z>0)for(k=K.getLayout()[X]-z,B==="vertical"?K.setLayout({x:k},!0):K.setLayout({y:k},!0),W=k,V=P-2;V>=0;--V)K=J[V],z=K.getLayout()[X]+K.getLayout()[G]+M-W,z>0&&(k=K.getLayout()[X]-z,B==="vertical"?K.setLayout({x:k},!0):K.setLayout({y:k},!0)),W=K.getLayout()[X]})}function p(O,M,F){b.each(O.slice().reverse(),function(H){b.each(H,function(B){if(B.outEdges.length){var X=I(B.outEdges,g,F)/I(B.outEdges,_,F);if(isNaN(X)){var J=B.outEdges.length;X=J?I(B.outEdges,v,F)/J:0}if(F==="vertical"){var k=B.getLayout().x+(X-S(B,F))*M;B.setLayout({x:k},!0)}else{var K=B.getLayout().y+(X-S(B,F))*M;B.setLayout({y:K},!0)}}})})}function g(O,M){return S(O.node2,M)*O.getValue()}function v(O,M){return S(O.node2,M)}function y(O,M){return S(O.node1,M)*O.getValue()}function w(O,M){return S(O.node1,M)}function S(O,M){return M==="vertical"?O.getLayout().x+O.getLayout().dx/2:O.getLayout().y+O.getLayout().dy/2}function _(O){return O.getValue()}function I(O,M,F){for(var H=0,B=O.length,X=-1;++X=0;){var i=a.indexOf(s),u=a.substr(c+n.length,i-c-n.length);u.indexOf("sub")>-1?d["marker"+u]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[u],textOffset:[3,0]}:d["marker"+u]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[u]},a=a.substr(i+1),c=a.indexOf("{marker")}this.el=new b({style:{rich:d,text:t,textLineHeight:20,textBackgroundColor:m.get("backgroundColor"),textBorderRadius:m.get("borderRadius"),textFill:m.get("textStyle.color"),textPadding:m.get("padding")},z:m.get("z")}),this._zr.add(this.el);var r=this;this.el.on("mouseover",function(){r._enterable&&(clearTimeout(r._hideTimeout),r._show=!0),r._inContent=!0}),this.el.on("mouseout",function(){r._enterable&&(r._show&&r.hideLater(r._hideDelay)),r._inContent=!1})},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){this.el&&this.el.attr("position",[t,e])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(t){this._show&&!(this._inContent&&this._enterable)&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(x.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var f=A;j.exports=f},gwTy:function(j,R,l){},h54F:function(j,R,l){var x=l("ProS"),b=l("YXkt"),A=l("bYtY"),f=l("4NO4"),t=f.defaultEmphasis,e=l("Qxkt"),m=l("7aKB"),d=m.encodeHTML,a=l("I3/A"),n=l("xKMd"),s=x.extendSeriesModel({type:"series.graph",init:function(i){s.superApply(this,"init",arguments);var u=this;function r(){return u._categoriesData}this.legendVisualProvider=new n(r,r),this.fillDataTextStyle(i.edges||i.links),this._updateCategoriesData()},mergeOption:function(i){s.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(i.edges||i.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(i){s.superApply(this,"mergeDefaultAndTheme",arguments),t(i,["edgeLabel"],["show"])},getInitialData:function(i,u){var r=i.edges||i.links||[],o=i.data||i.nodes||[],h=this;if(o&&r)return a(o,r,this,!0,p).data;function p(g,v){g.wrapMethod("getItemModel",function(C){var E=h._categoriesModels,O=C.getShallow("category"),M=E[O];return M&&(M.parentModel=C.parentModel,C.parentModel=M),C});var y=h.getModel("edgeLabel"),w=new e({label:y.option},y.parentModel,u),S=h.getModel("emphasis.edgeLabel"),_=new e({emphasis:{label:S.option}},S.parentModel,u);v.wrapMethod("getItemModel",function(C){return C.customizeGetParent(I),C});function I(C){return C=this.parsePath(C),C&&C[0]==="label"?w:C&&C[0]==="emphasis"&&C[1]==="label"?_:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(i,u,r){if(r==="edge"){var o=this.getData(),h=this.getDataParams(i,r),p=o.graph.getEdgeByIndex(i),g=o.getName(p.node1.dataIndex),v=o.getName(p.node2.dataIndex),y=[];return g!=null&&y.push(g),v!=null&&y.push(v),y=d(y.join(" > ")),h.value&&(y+=" : "+d(h.value)),y}else return s.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var i=A.map(this.option.categories||[],function(r){return r.value!=null?r:A.extend({value:0},r)}),u=new b(["value"],this);u.initData(i),this._categoriesData=u,this._categoriesModels=u.mapArray(function(r){return u.getItemModel(r,!0)})},setZoom:function(i){this.option.zoom=i},setCenter:function(i){this.option.center=i},isAnimationEnabled:function(){return s.superCall(this,"isAnimationEnabled")&&!(this.get("layout")==="force"&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),c=s;j.exports=c},h7HQ:function(j,R,l){var x=l("y+Vt"),b=l("T6xi"),A=x.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){b.buildPath(t,e,!0)}});j.exports=A},h8O9:function(j,R,l){var x=l("bYtY"),b=x.map,A=l("zM3Q"),f=l("7hqr"),t=f.isDimensionStacked;function e(m){return{seriesType:m,plan:A(),reset:function(d){var a=d.getData(),n=d.coordinateSystem,s=d.pipelineContext,c=s.large;if(!n)return;var i=b(n.dimensions,function(h){return a.mapDimension(h)}).slice(0,2),u=i.length,r=a.getCalculationInfo("stackResultDimension");t(a,i[0])&&(i[0]=r),t(a,i[1])&&(i[1]=r);function o(h,p){for(var g=h.end-h.start,v=c&&new Float32Array(g*u),y=h.start,w=0,S=[],_=[];y=g&&h<=v},containData:function(h){return this.scale.contain(h)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(h){return e(h||this.scale.getExtent(),this._extent)},setExtent:function(h,p){var g=this._extent;g[0]=h,g[1]=p},dataToCoord:function(h,p){var g=this._extent,v=this.scale;return h=v.normalize(h),this.onBand&&v.type==="ordinal"&&(g=g.slice(),u(g,v.count())),t(h,c,g,p)},coordToData:function(h,p){var g=this._extent,v=this.scale;this.onBand&&v.type==="ordinal"&&(g=g.slice(),u(g,v.count()));var y=t(h,g,c,p);return this.scale.scale(y)},pointToData:function(h,p){},getTicksCoords:function(h){h=h||{};var p=h.tickModel||this.getTickModel(),g=a(this,p),v=g.ticks,y=A(v,function(S){return{coord:this.dataToCoord(S),tickValue:S}},this),w=p.get("alignWithLabel");return r(this,y,w,h.clamp),y},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var h=this.model.getModel("minorTick"),p=h.get("splitNumber");p>0&&p<100||(p=5);var g=this.scale.getMinorTicks(p),v=A(g,function(y){return A(y,function(w){return{coord:this.dataToCoord(w),tickValue:w}},this)},this);return v},getViewLabels:function(){return n(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var h=this._extent,p=this.scale.getExtent(),g=p[1]-p[0]+(this.onBand?1:0);g===0&&(g=1);var v=Math.abs(h[1]-h[0]);return Math.abs(v)/g},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return s(this)}};function u(h,p){var g=h[1]-h[0],v=p,y=g/v/2;h[0]+=y,h[1]-=y}function r(h,p,g,v){var y=p.length;if(!h.onBand||g||!y)return;var w=h.getExtent(),S,_;if(y===1)p[0].coord=w[0],S=p[1]={coord:w[0]};else{var I=p[y-1].tickValue-p[0].tickValue,C=(p[y-1].coord-p[0].coord)/I;b(p,function(F){F.coord-=C/2});var E=h.scale.getExtent();_=1+E[1]-p[y-1].tickValue,S={coord:p[y-1].coord+C*_},p.push(S)}var O=w[0]>w[1];M(p[0].coord,w[0])&&(v?p[0].coord=w[0]:p.shift()),v&&M(w[0],p[0].coord)&&p.unshift({coord:w[0]}),M(w[1],S.coord)&&(v?S.coord=w[1]:p.pop()),v&&M(S.coord,w[1])&&p.push({coord:w[1]});function M(F,H){return F=m(F),H=m(H),O?F>H:F=0},getOrient:function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),n=a;j.exports=n},hOwI:function(j,R){var l=Math.log(2);function x(A,f,t,e,m,d){var a=e+"-"+m,n=A.length;if(d.hasOwnProperty(a))return d[a];if(f===1){var s=Math.round(Math.log((1<b&&e>f||et?m:0}j.exports=l},i38C:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("bYtY"),f=A.createHashMap,t=A.retrieve,e=A.each;function m(s){this.coordSysName=s,this.coordSysDims=[],this.axisMap=f(),this.categoryAxisMap=f(),this.firstCategoryDimIndex=null}function d(s){var c=s.get("coordinateSystem"),i=new m(c),u=a[c];if(u)return u(s,i,i.axisMap,i.categoryAxisMap),i}var a={cartesian2d:function(s,c,i,u){var r=s.getReferringComponents("xAxis")[0],o=s.getReferringComponents("yAxis")[0];c.coordSysDims=["x","y"],i.set("x",r),i.set("y",o),n(r)&&(u.set("x",r),c.firstCategoryDimIndex=0),n(o)&&(u.set("y",o),c.firstCategoryDimIndex==null&(c.firstCategoryDimIndex=1))},singleAxis:function(s,c,i,u){var r=s.getReferringComponents("singleAxis")[0];c.coordSysDims=["single"],i.set("single",r),n(r)&&(u.set("single",r),c.firstCategoryDimIndex=0)},polar:function(s,c,i,u){var r=s.getReferringComponents("polar")[0],o=r.findAxisModel("radiusAxis"),h=r.findAxisModel("angleAxis");c.coordSysDims=["radius","angle"],i.set("radius",o),i.set("angle",h),n(o)&&(u.set("radius",o),c.firstCategoryDimIndex=0),n(h)&&(u.set("angle",h),c.firstCategoryDimIndex==null&&(c.firstCategoryDimIndex=1))},geo:function(s,c,i,u){c.coordSysDims=["lng","lat"]},parallel:function(s,c,i,u){var r=s.ecModel,o=r.getComponent("parallel",s.get("parallelIndex")),h=c.coordSysDims=o.dimensions.slice();e(o.parallelAxisIndex,function(p,g){var v=r.getComponent("parallelAxis",p),y=h[g];i.set(y,v),n(v)&&c.firstCategoryDimIndex==null&&(u.set(y,v),c.firstCategoryDimIndex=g)})}};function n(s){return s.get("type")==="category"}R.getCoordSysInfoBySeries=d},i6bk:function(j,R,l){"use strict";l.d(R,"b",function(){return x}),l.d(R,"a",function(){return b});function x(A){return A!=null&&A===A.window}function b(A,f){if(typeof window=="undefined")return 0;var t=f?"scrollTop":"scrollLeft",e=0;return x(A)?e=A[f?"pageYOffset":"pageXOffset"]:A instanceof Document?e=A.documentElement[t]:A&&(e=A[t]),A&&!x(A)&&typeof e!="number"&&(e=(A.ownerDocument||A).documentElement[t]),e}},i8CU:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("Fm1+"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},iLNv:function(j,R){var l="\0__throttleOriginMethod",x="\0__throttleRate",b="\0__throttleType";function A(e,m,d){var a,n=0,s=0,c=null,i,u,r,o;m=m||0;function h(){s=new Date().getTime(),c=null,e.apply(u,r||[])}var p=function(){a=new Date().getTime(),u=this,r=arguments;var g=o||m,v=o||d;o=null,i=a-(v?n:s)-g,clearTimeout(c),v?c=setTimeout(h,g):i>=0?h():c=setTimeout(h,-i),n=a};return p.clear=function(){c&&(clearTimeout(c),c=null)},p.debounceNextCall=function(g){o=g},p}function f(e,m,d,a){var n=e[m];if(!n)return;var s=n[l]||n,c=n[b],i=n[x];if(i!==d||c!==a){if(d==null||!a)return e[m]=s;n=e[m]=A(s,d,a==="debounce"),n[l]=s,n[b]=a,n[x]=d}return n}function t(e,m){var d=e[m];d&&d[l]&&(e[m]=d[l])}R.throttle=A,R.createOrUpdate=f,R.clear=t},iPDy:function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=x.extendComponentView({type:"marker",init:function(){this.markerGroupMap=b.createHashMap()},render:function(f,t,e){var m=this.markerGroupMap;m.each(function(a){a.__keep=!1});var d=this.type+"Model";t.eachSeries(function(a){var n=a[d];n&&this.renderSeries(a,n,t,e)},this),m.each(function(a){!a.__keep&&this.group.remove(a.group)},this)},renderSeries:function(){}});j.exports=A},iQDF:function(j,R,l){"use strict";var x=l("ZTW2"),b=l.n(x),A=l("+BJd"),f=l("+L6B")},iRjW:function(j,R,l){var x=l("bYtY"),b=l("Yl7c"),A=b.parseClassType,f=0;function t(d){return[d||"",f++,Math.random().toFixed(5)].join("_")}function e(d){var a={};return d.registerSubTypeDefaulter=function(n,s){n=A(n),a[n.main]=s},d.determineSubType=function(n,s){var c=s.type;if(!c){var i=A(n).main;d.hasSubTypes(n)&&a[i]&&(c=a[i](s))}return c},d}function m(d,a){d.topologicalTravel=function(i,u,r,o){if(!i.length)return;var h=n(u),p=h.graph,g=h.noEntryList,v={};for(x.each(i,function(C){v[C]=!0});g.length;){var y=g.pop(),w=p[y],S=!!v[y];S&&(r.call(o,y,w.originalDeps.slice()),delete v[y]),x.each(w.successor,S?I:_)}x.each(v,function(){throw new Error("Circle dependency may exists")});function _(C){p[C].entryCount--,p[C].entryCount===0&&g.push(C)}function I(C){v[C]=!0,_(C)}};function n(i){var u={},r=[];return x.each(i,function(o){var h=s(u,o),p=h.originalDeps=a(o),g=c(p,i);h.entryCount=g.length,h.entryCount===0&&r.push(o),x.each(g,function(v){x.indexOf(h.predecessor,v)<0&&h.predecessor.push(v);var y=s(u,v);x.indexOf(y.successor,v)<0&&y.successor.push(o)})}),{graph:u,noEntryList:r}}function s(i,u){return i[u]||(i[u]={predecessor:[],successor:[]}),i[u]}function c(i,u){var r=[];return x.each(i,function(o){x.indexOf(u,o)>=0&&r.push(o)}),r}}R.getUID=t,R.enableSubTypeDefaulter=e,R.enableTopologicalTravel=m},iUHT:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;function x(w,S){if(!(w instanceof S))throw new TypeError("Cannot call a class as a function")}function b(w,S){for(var _=0;_>>3]&1<>>10,this.keys[P]|=(V&4032)>>>6,++P,this.keys[P]=(G&258048)<<12,this.keys[P]|=(G&63)<<16,this.keys[P]|=(V&258048)>>>4,this.keys[P]|=V&63,++P}}return A(w,[{key:"enc8",value:function(_){var I=_.slice(),C=0,E,O,M;E=I[C++]<<24|I[C++]<<16|I[C++]<<8|I[C++],O=I[C++]<<24|I[C++]<<16|I[C++]<<8|I[C++],M=(E>>>4^O)&252645135,O^=M,E^=M<<4,M=(E>>>16^O)&65535,O^=M,E^=M<<16,M=(O>>>2^E)&858993459,E^=M,O^=M<<2,M=(O>>>8^E)&16711935,E^=M,O^=M<<8,O=O<<1|O>>>31&1,M=(E^O)&2863311530,E^=M,O^=M,E=E<<1|E>>>31&1;for(var F=0,H=0;F<8;++F){M=O<<28|O>>>4,M^=this.keys[H++];var B=g[M&63];B|=h[M>>>8&63],B|=r[M>>>16&63],B|=i[M>>>24&63],M=O^this.keys[H++],B|=v[M&63],B|=p[M>>>8&63],B|=o[M>>>16&63],B|=u[M>>>24&63],E^=B,M=E<<28|E>>>4,M^=this.keys[H++],B=g[M&63],B|=h[M>>>8&63],B|=r[M>>>16&63],B|=i[M>>>24&63],M=E^this.keys[H++],B|=v[M&63],B|=p[M>>>8&63],B|=o[M>>>16&63],B|=u[M>>>24&63],O^=B}for(O=O<<31|O>>>1,M=(E^O)&2863311530,E^=M,O^=M,E=E<<31|E>>>1,M=(E>>>8^O)&16711935,O^=M,E^=M<<8,M=(E>>>2^O)&858993459,O^=M,E^=M<<2,M=(O>>>16^E)&65535,E^=M,O^=M<<16,M=(O>>>4^E)&252645135,E^=M,O^=M<<4,M=[O,E],C=0;C<8;C++)I[C]=(M[C>>>2]>>>8*(3-C%4))%256,I[C]<0&&(I[C]+=256);return I}},{key:"encrypt",value:function(_){return this.enc8(_.slice(0,8)).concat(this.enc8(_.slice(8,16)))}}]),w}();R.default=y},iXHM:function(j,R){var l="";typeof navigator!="undefined"&&(l=navigator.platform||"");var x={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:l.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};j.exports=x},iXp4:function(j,R,l){var x=l("ItGF"),b=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function A(f){return x.browser.ie&&x.browser.version>=11?function(){var t=this.__clipPaths,e=this.style,m;if(t)for(var d=0;da[1]&&(a[1]=d[1]),e.prototype.setExtent.call(this,a[0],a[1])},getInterval:function(){return this._interval},setInterval:function(d){this._interval=d,this._niceExtent=this._extent.slice(),this._intervalPrecision=f.getIntervalPrecision(d)},getTicks:function(d){var a=this._interval,n=this._extent,s=this._niceExtent,c=this._intervalPrecision,i=[];if(!a)return i;var u=1e4;n[0]u)return[];var o=i.length?i[i.length-1]:s[1];return n[1]>o&&(d?i.push(t(o+a,c)):i.push(n[1])),i},getMinorTicks:function(d){for(var a=this.getTicks(!0),n=[],s=this.getExtent(),c=1;cs[0]&&g0;)g*=10;var y=[A.round(n(h[0]/g)*g),A.round(a(h[1]/g)*g)];this._interval=g,this._niceExtent=y},niceExtent:function(o){e.niceExtent.call(this,o);var h=this._originalScale;h.__fixMin=o.fixMin,h.__fixMax=o.fixMax}});x.each(["contain","normalize"],function(o){i.prototype[o]=function(h){return h=c(h)/c(this.base),t[o].call(this,h)}}),i.create=function(){return new i};function u(o,h){return d(o,m(h))}var r=i;j.exports=r},jN4g:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="CloseCircleFilled";var m=R.a=b.forwardRef(e)},jO45:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="CheckCircleFilled";var m=R.a=b.forwardRef(e)},jTL6:function(j,R,l){var x=l("y+Vt"),b=x.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(f,t){var e=t.cx,m=t.cy,d=Math.max(t.r,0),a=t.startAngle,n=t.endAngle,s=t.clockwise,c=Math.cos(a),i=Math.sin(a);f.moveTo(c*d+e,i*d+m),f.arc(e,m,d,a,n,!s)}});j.exports=b},je13:function(j,R,l){var x=l("5nXd"),b=l("gRFJ"),A=[l("uQRt")];j.exports=x.createStore(b,A)},jett:function(j,R,l){var x=l("ProS");l("VSLf"),l("oBaM"),l("FGaS");var b=l("mOdp"),A=l("f5Yq"),f=l("hw6D"),t=l("0/Rx"),e=l("eJH7");x.registerVisual(b("radar")),x.registerVisual(A("radar","circle")),x.registerLayout(f),x.registerProcessor(t("radar")),x.registerPreprocessor(e)},jhfD:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="ArrowLeftOutlined";var m=R.a=b.forwardRef(e)},jkPA:function(j,R,l){var x=l("bYtY"),b=x.createHashMap,A=x.isObject,f=x.map;function t(n){this.categories=n.categories||[],this._needCollect=n.needCollect,this._deduplication=n.deduplication,this._map}t.createByAxisModel=function(n){var s=n.option,c=s.data,i=c&&f(c,d);return new t({categories:i,needCollect:!i,deduplication:s.dedplication!==!1})};var e=t.prototype;e.getOrdinal=function(n){return m(this).get(n)},e.parseAndCollect=function(n){var s,c=this._needCollect;if(typeof n!="string"&&!c)return n;if(c&&!this._deduplication)return s=this.categories.length,this.categories[s]=n,s;var i=m(this);return s=i.get(n),s==null&&(c?(s=this.categories.length,this.categories[s]=n,i.set(n,s)):s=NaN),s};function m(n){return n._map||(n._map=b(n.categories))}function d(n){return A(n)&&n.value!=null?n.value:n+""}var a=t;j.exports=a},jndi:function(j,R,l){var x=l("bYtY"),b=l("Qe9p"),A=l("YXkt"),f=l("OELB"),t=l("IwbS"),e=l("kj2x"),m=l("iPDy"),d=function(r,o,h,p){var g=e.dataTransform(r,p[0]),v=e.dataTransform(r,p[1]),y=x.retrieve,w=g.coord,S=v.coord;w[0]=y(w[0],-Infinity),w[1]=y(w[1],-Infinity),S[0]=y(S[0],Infinity),S[1]=y(S[1],Infinity);var _=x.mergeAll([{},g,v]);return _.coord=[g.coord,v.coord],_.x0=g.x,_.y0=g.y,_.x1=v.x,_.y1=v.y,_};function a(r){return!isNaN(r)&&!isFinite(r)}function n(r,o,h,p){var g=1-r;return a(o[g])&&a(h[g])}function s(r,o){var h=o.coord[0],p=o.coord[1];return r.type==="cartesian2d"&&(h&&p&&(n(1,h,p,r)||n(0,h,p,r)))?!0:e.dataFilter(r,{coord:h,x:o.x0,y:o.y0})||e.dataFilter(r,{coord:p,x:o.x1,y:o.y1})}function c(r,o,h,p,g){var v=p.coordinateSystem,y=r.getItemModel(o),w,S=f.parsePercent(y.get(h[0]),g.getWidth()),_=f.parsePercent(y.get(h[1]),g.getHeight());if(!isNaN(S)&&!isNaN(_))w=[S,_];else{if(p.getMarkerPosition)w=p.getMarkerPosition(r.getValues(h,o));else{var I=r.get(h[0],o),C=r.get(h[1],o),E=[I,C];v.clampData&&v.clampData(E,E),w=v.dataToPoint(E,!0)}if(v.type==="cartesian2d"){var O=v.getAxis("x"),M=v.getAxis("y"),I=r.get(h[0],o),C=r.get(h[1],o);a(I)?w[0]=O.toGlobalCoord(O.getExtent()[h[0]==="x0"?0:1]):a(C)&&(w[1]=M.toGlobalCoord(M.getExtent()[h[1]==="y0"?0:1]))}isNaN(S)||(w[0]=S),isNaN(_)||(w[1]=_)}return w}var i=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];m.extend({type:"markArea",updateTransform:function(r,o,h){o.eachSeries(function(p){var g=p.markAreaModel;if(g){var v=g.getData();v.each(function(y){var w=x.map(i,function(_){return c(v,y,_,p,h)});v.setItemLayout(y,w);var S=v.getItemGraphicEl(y);S.setShape("points",w)})}},this)},renderSeries:function(r,o,h,p){var g=r.coordinateSystem,v=r.id,y=r.getData(),w=this.markerGroupMap,S=w.get(v)||w.set(v,{group:new t.Group});this.group.add(S.group),S.__keep=!0;var _=u(g,r,o);o.setData(_),_.each(function(I){_.setItemLayout(I,x.map(i,function(C){return c(_,I,C,r,p)})),_.setItemVisual(I,{color:y.getVisual("color")})}),_.diff(S.__data).add(function(I){var C=new t.Polygon({shape:{points:_.getItemLayout(I)}});_.setItemGraphicEl(I,C),S.group.add(C)}).update(function(I,C){var E=S.__data.getItemGraphicEl(C);t.updateProps(E,{shape:{points:_.getItemLayout(I)}},o,I),S.group.add(E),_.setItemGraphicEl(I,E)}).remove(function(I){var C=S.__data.getItemGraphicEl(I);S.group.remove(C)}).execute(),_.eachItemGraphicEl(function(I,C){var E=_.getItemModel(C),O=E.getModel("label"),M=E.getModel("emphasis.label"),F=_.getItemVisual(C,"color");I.useStyle(x.defaults(E.getModel("itemStyle").getItemStyle(),{fill:b.modifyAlpha(F,.4),stroke:F})),I.hoverStyle=E.getModel("emphasis.itemStyle").getItemStyle(),t.setLabelStyle(I.style,I.hoverStyle,O,M,{labelFetcher:o,labelDataIndex:C,defaultText:_.getName(C)||"",isRectText:!0,autoColor:F}),t.setHoverStyle(I,{}),I.dataModel=o}),S.__data=_,S.group.silent=o.get("silent")||r.get("silent")}});function u(r,o,h){var p,g,v=["x0","y0","x1","y1"];r?(p=x.map(r&&r.dimensions,function(S){var _=o.getData(),I=_.getDimensionInfo(_.mapDimension(S))||{};return x.defaults({name:S},I)}),g=new A(x.map(v,function(S,_){return{name:S,type:p[_%2].type}}),h)):(p=[{name:"value",type:"float"}],g=new A(p,h));var y=x.map(h.get("data"),x.curry(d,o,r,h));r&&(y=x.filter(y,x.curry(s,r)));var w=r?function(S,_,I,C){return S.coord[Math.floor(C/2)][C%2]}:function(S){return S.value};return g.initData(y,null,w),g.hasItemOption=!0,g}},"jsU+":function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("IUWy"),f=x.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){f.superApply(this,"optionUpdated",arguments),b.each(this.option.feature,function(e,m){var d=A.get(m);d&&b.merge(e,d.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),t=f;j.exports=t},jtI2:function(j,R,l){l("SMc4");var x=l("bLfw"),b=x.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});j.exports=b},juDX:function(j,R,l){l("P47w");var x=l("aX58"),b=x.registerPainter,A=l("3CBa");b("svg",A)},k5C7:function(j,R,l){l("0JAE"),l("g7p0"),l("7mYs")},k9D9:function(j,R){var l="original",x="arrayRows",b="objectRows",A="keyedColumns",f="unknown",t="typedArray",e="column",m="row";R.SOURCE_FORMAT_ORIGINAL=l,R.SOURCE_FORMAT_ARRAY_ROWS=x,R.SOURCE_FORMAT_OBJECT_ROWS=b,R.SOURCE_FORMAT_KEYED_COLUMNS=A,R.SOURCE_FORMAT_UNKNOWN=f,R.SOURCE_FORMAT_TYPED_ARRAY=t,R.SERIES_LAYOUT_BY_COLUMN=e,R.SERIES_LAYOUT_BY_ROW=m},kDyi:function(j,R){function l(x){var b=x.findComponents({mainType:"legend"});b&&b.length&&x.filterSeries(function(A){for(var f=0;f=g.length||H===g[H.depth]){var X=u(y,I,H,B,F,v);m(H,X,h,p,g,v)}})}}function d(r,o,h,p){var g=A.extend({},o);return A.each(["color","colorAlpha","colorSaturation"],function(v){var y=r.get(v,!0);y==null&&h&&(y=h[v]),y==null&&(y=o[v]),y==null&&(y=p.get(v)),y!=null&&(g[v]=y)}),g}function a(r){var o=s(r,"color");if(o){var h=s(r,"colorAlpha"),p=s(r,"colorSaturation");return p&&(o=b.modifyHSL(o,null,null,p)),h&&(o=b.modifyAlpha(o,h)),o}}function n(r,o){return o!=null?b.modifyHSL(o,null,null,r):null}function s(r,o){var h=r[o];if(h!=null&&h!=="none")return h}function c(r,o,h,p,g,v){if(!v||!v.length)return;var y=i(o,"color")||g.color!=null&&g.color!=="none"&&(i(o,"colorAlpha")||i(o,"colorSaturation"));if(!y)return;var w=o.get("visualMin"),S=o.get("visualMax"),_=h.dataExtent.slice();w!=null&&w<_[0]&&(_[0]=w),S!=null&&S>_[1]&&(_[1]=S);var I=o.get("colorMappingBy"),C={type:y.name,dataExtent:_,visual:y.range};C.type==="color"&&(I==="index"||I==="id")?(C.mappingMethod="category",C.loop=!0):C.mappingMethod="linear";var E=new x(C);return E.__drColorMappingBy=I,E}function i(r,o){var h=r.get(o);return f(h)&&h.length?{name:o,range:h}:null}function u(r,o,h,p,g,v){var y=A.extend({},o);if(g){var w=g.type,S=w==="color"&&g.__drColorMappingBy,_=S==="index"?p:S==="id"?v.mapIdToIndex(h.getId()):h.getValue(r.get("visualDimension"));y[w]=g.mapValueToVisual(_)}return y}j.exports=e},"kVK+":function(j,R){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */R.read=function(l,x,b,A,f){var t,e,m=f*8-A-1,d=(1<>1,n=-7,s=b?f-1:0,c=b?-1:1,i=l[x+s];for(s+=c,t=i&(1<<-n)-1,i>>=-n,n+=m;n>0;t=t*256+l[x+s],s+=c,n-=8);for(e=t&(1<<-n)-1,t>>=-n,n+=A;n>0;e=e*256+l[x+s],s+=c,n-=8);if(t===0)t=1-a;else{if(t===d)return e?NaN:(i?-1:1)*Infinity;e=e+Math.pow(2,A),t=t-a}return(i?-1:1)*e*Math.pow(2,t-A)},R.write=function(l,x,b,A,f,t){var e,m,d,a=t*8-f-1,n=(1<>1,c=f===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=A?0:t-1,u=A?1:-1,r=x<0||x===0&&1/x<0?1:0;for(x=Math.abs(x),isNaN(x)||x===Infinity?(m=isNaN(x)?1:0,e=n):(e=Math.floor(Math.log(x)/Math.LN2),x*(d=Math.pow(2,-e))<1&&(e--,d*=2),e+s>=1?x+=c/d:x+=c*Math.pow(2,1-s),x*d>=2&&(e++,d/=2),e+s>=n?(m=0,e=n):e+s>=1?(m=(x*d-1)*Math.pow(2,f),e=e+s):(m=x*Math.pow(2,s-1)*Math.pow(2,f),e=0));f>=8;l[b+i]=m&255,i+=u,m/=256,f-=8);for(e=e<0;l[b+i]=e&255,i+=u,e/=256,a-=8);l[b+i-u]|=r*128}},kj2x:function(j,R,l){var x=l("bYtY"),b=l("OELB"),A=l("7hqr"),f=A.isDimensionStacked,t=x.indexOf;function e(h){return!(isNaN(parseFloat(h.x))&&isNaN(parseFloat(h.y)))}function m(h){return!isNaN(parseFloat(h.x))&&!isNaN(parseFloat(h.y))}function d(h,p,g,v,y,w){var S=[],_=f(p,v),I=_?p.getCalculationInfo("stackResultDimension"):v,C=o(p,I,h),E=p.indicesOfNearest(I,C)[0];S[y]=p.get(g,E),S[w]=p.get(I,E);var O=p.get(v,E),M=b.getPrecision(p.get(v,E));return M=Math.min(M,20),M>=0&&(S[w]=+S[w].toFixed(M)),[S,O]}var a=x.curry,n={min:a(d,"min"),max:a(d,"max"),average:a(d,"average")};function s(h,p){var g=h.getData(),v=h.coordinateSystem;if(p&&!m(p)&&!x.isArray(p.coord)&&v){var y=v.dimensions,w=c(p,g,v,h);if(p=x.clone(p),p.type&&n[p.type]&&w.baseAxis&&w.valueAxis){var S=t(y,w.baseAxis.dim),_=t(y,w.valueAxis.dim),I=n[p.type](g,w.baseDataDim,w.valueDataDim,S,_);p.coord=I[0],p.value=I[1]}else{for(var C=[p.xAxis!=null?p.xAxis:p.radiusAxis,p.yAxis!=null?p.yAxis:p.angleAxis],E=0;E<2;E++)n[C[E]]&&(C[E]=o(g,g.mapDimension(y[E]),C[E]));p.coord=C}}return p}function c(h,p,g,v){var y={};return h.valueIndex!=null||h.valueDim!=null?(y.valueDataDim=h.valueIndex!=null?p.getDimension(h.valueIndex):h.valueDim,y.valueAxis=g.getAxis(i(v,y.valueDataDim)),y.baseAxis=g.getOtherAxis(y.valueAxis),y.baseDataDim=p.mapDimension(y.baseAxis.dim)):(y.baseAxis=v.getBaseAxis(),y.valueAxis=g.getOtherAxis(y.baseAxis),y.baseDataDim=p.mapDimension(y.baseAxis.dim),y.valueDataDim=p.mapDimension(y.valueAxis.dim)),y}function i(h,p){var g=h.getData(),v=g.dimensions;p=g.getDimension(p);for(var y=0;yn&&(i=s.interval=n);var u=s.intervalPrecision=f(i),r=s.niceTickExtent=[b(Math.ceil(m[0]/i)*i,u),b(Math.floor(m[1]/i)*i,u)];return e(r,m),s}function f(m){return x.getPrecisionSafe(m)+2}function t(m,d,a){m[d]=Math.max(Math.min(m[d],a[1]),a[0])}function e(m,d){!isFinite(m[0])&&(m[0]=d[0]),!isFinite(m[1])&&(m[1]=d[1]),t(m,0,d),t(m,1,d),m[0]>m[1]&&(m[0]=m[1])}R.intervalScaleNiceTicks=A,R.getIntervalPrecision=f,R.fixExtent=e},lELe:function(j,R,l){var x=l("bYtY");function b(A){var f=[];x.each(A.series,function(t){t&&t.type==="map"&&(f.push(t),t.map=t.map||t.mapType,x.defaults(t,t.mapLocation))})}j.exports=b},lLGD:function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("nVfU"),f=A.layout,t=A.largeLayout;l("Wqna"),l("F7hV"),l("Z8zF"),l("Ae16"),x.registerLayout(x.PRIORITY.VISUAL.LAYOUT,b.curry(f,"bar")),x.registerLayout(x.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,t),x.registerVisual({seriesType:"bar",reset:function(e){e.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(j,R,l){"use strict";function x(ve){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(jt){return typeof jt}:x=function(jt){return jt&&typeof Symbol=="function"&&jt.constructor===Symbol&&jt!==Symbol.prototype?"symbol":typeof jt},x(ve)}Object.defineProperty(R,"__esModule",{value:!0}),R.deflateInit=ht,R.deflateInit2=or,R.deflateReset=Kt,R.deflateResetKeep=Ut,R.deflateSetHeader=$t,R.deflate=Ee,R.deflateEnd=de,R.deflateSetDictionary=qe,R.deflateInfo=R.Z_DEFLATED=R.Z_UNKNOWN=R.Z_DEFAULT_STRATEGY=R.Z_FIXED=R.Z_RLE=R.Z_HUFFMAN_ONLY=R.Z_FILTERED=R.Z_DEFAULT_COMPRESSION=R.Z_BUF_ERROR=R.Z_DATA_ERROR=R.Z_STREAM_ERROR=R.Z_STREAM_END=R.Z_OK=R.Z_BLOCK=R.Z_FINISH=R.Z_FULL_FLUSH=R.Z_PARTIAL_FLUSH=R.Z_NO_FLUSH=void 0;var b=a(l("6BzB")),A=a(l("c5fP")),f=m(l("xlC8")),t=m(l("QV2g")),e=m(l("xSIq"));function m(ve){return ve&&ve.__esModule?ve:{default:ve}}function d(){if(typeof WeakMap!="function")return null;var ve=new WeakMap;return d=function(){return ve},ve}function a(ve){if(ve&&ve.__esModule)return ve;if(ve===null||x(ve)!=="object"&&typeof ve!="function")return{default:ve};var bt=d();if(bt&&bt.has(ve))return bt.get(ve);var jt={},He=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var kt in ve)if(Object.prototype.hasOwnProperty.call(ve,kt)){var Ar=He?Object.getOwnPropertyDescriptor(ve,kt):null;Ar&&(Ar.get||Ar.set)?Object.defineProperty(jt,kt,Ar):jt[kt]=ve[kt]}return jt.default=ve,bt&&bt.set(ve,jt),jt}var n=0;R.Z_NO_FLUSH=n;var s=1;R.Z_PARTIAL_FLUSH=s;var c=3;R.Z_FULL_FLUSH=c;var i=4;R.Z_FINISH=i;var u=5;R.Z_BLOCK=u;var r=0;R.Z_OK=r;var o=1;R.Z_STREAM_END=o;var h=-2;R.Z_STREAM_ERROR=h;var p=-3;R.Z_DATA_ERROR=p;var g=-5;R.Z_BUF_ERROR=g;var v=-1;R.Z_DEFAULT_COMPRESSION=v;var y=1;R.Z_FILTERED=y;var w=2;R.Z_HUFFMAN_ONLY=w;var S=3;R.Z_RLE=S;var _=4;R.Z_FIXED=_;var I=0;R.Z_DEFAULT_STRATEGY=I;var C=2;R.Z_UNKNOWN=C;var E=8;R.Z_DEFLATED=E;var O=9,M=15,F=8,H=29,B=256,X=B+1+H,J=30,k=19,K=2*X+1,z=15,W=3,P=258,G=P+W+1,V=32,q=42,re=69,ce=73,ie=91,fe=103,xe=113,Se=666,ke=1,ge=2,Be=3,ee=4,ue=3;function Ge(ve,bt){return ve.msg=e.default[bt],bt}function ae(ve){return(ve<<1)-(ve>4?9:0)}function Z(ve){for(var bt=ve.length;--bt>=0;)ve[bt]=0}function Y(ve){var bt=ve.state,jt=bt.pending;if(jt>ve.avail_out&&(jt=ve.avail_out),jt===0)return;b.arraySet(ve.output,bt.pending_buf,bt.pending_out,jt,ve.next_out),ve.next_out+=jt,bt.pending_out+=jt,ve.total_out+=jt,ve.avail_out-=jt,bt.pending-=jt,bt.pending===0&&(bt.pending_out=0)}function te(ve,bt){A._tr_flush_block(ve,ve.block_start>=0?ve.block_start:-1,ve.strstart-ve.block_start,bt),ve.block_start=ve.strstart,Y(ve.strm)}function we(ve,bt){ve.pending_buf[ve.pending++]=bt}function pe(ve,bt){ve.pending_buf[ve.pending++]=bt>>>8&255,ve.pending_buf[ve.pending++]=bt&255}function De(ve,bt,jt,He){var kt=ve.avail_in;return kt>He&&(kt=He),kt===0?0:(ve.avail_in-=kt,b.arraySet(bt,ve.input,ve.next_in,kt,jt),ve.state.wrap===1?ve.adler=(0,f.default)(ve.adler,bt,kt,jt):ve.state.wrap===2&&(ve.adler=(0,t.default)(ve.adler,bt,kt,jt)),ve.next_in+=kt,ve.total_in+=kt,kt)}function Ne(ve,bt){var jt=ve.max_chain_length,He=ve.strstart,kt,Ar,at=ve.prev_length,Ht=ve.nice_match,Wt=ve.strstart>ve.w_size-G?ve.strstart-(ve.w_size-G):0,ot=ve.window,et=ve.w_mask,Ze=ve.prev,Gt=ve.strstart+P,yr=ot[He+at-1],br=ot[He+at];ve.prev_length>=ve.good_match&&(jt>>=2),Ht>ve.lookahead&&(Ht=ve.lookahead);do{if(kt=bt,ot[kt+at]!==br||ot[kt+at-1]!==yr||ot[kt]!==ot[He]||ot[++kt]!==ot[He+1])continue;He+=2,kt++;do;while(ot[++He]===ot[++kt]&&ot[++He]===ot[++kt]&&ot[++He]===ot[++kt]&&ot[++He]===ot[++kt]&&ot[++He]===ot[++kt]&&ot[++He]===ot[++kt]&&ot[++He]===ot[++kt]&&ot[++He]===ot[++kt]&&Heat){if(ve.match_start=bt,at=Ar,Ar>=Ht)break;yr=ot[He+at-1],br=ot[He+at]}}while((bt=Ze[bt&et])>Wt&&--jt!==0);return at<=ve.lookahead?at:ve.lookahead}function me(ve){var bt=ve.w_size,jt,He,kt,Ar,at;do{if(Ar=ve.window_size-ve.lookahead-ve.strstart,ve.strstart>=bt+(bt-G)){b.arraySet(ve.window,ve.window,bt,bt,0),ve.match_start-=bt,ve.strstart-=bt,ve.block_start-=bt,He=ve.hash_size,jt=He;do kt=ve.head[--jt],ve.head[jt]=kt>=bt?kt-bt:0;while(--He);He=bt,jt=He;do kt=ve.prev[--jt],ve.prev[jt]=kt>=bt?kt-bt:0;while(--He);Ar+=bt}if(ve.strm.avail_in===0)break;if(He=De(ve.strm,ve.window,ve.strstart+ve.lookahead,Ar),ve.lookahead+=He,ve.lookahead+ve.insert>=W)for(at=ve.strstart-ve.insert,ve.ins_h=ve.window[at],ve.ins_h=(ve.ins_h<ve.pending_buf_size-5&&(jt=ve.pending_buf_size-5);;){if(ve.lookahead<=1){if(me(ve),ve.lookahead===0&&bt===n)return ke;if(ve.lookahead===0)break}ve.strstart+=ve.lookahead,ve.lookahead=0;var He=ve.block_start+jt;if((ve.strstart===0||ve.strstart>=He)&&(ve.lookahead=ve.strstart-He,ve.strstart=He,te(ve,!1),ve.strm.avail_out===0))return ke;if(ve.strstart-ve.block_start>=ve.w_size-G&&(te(ve,!1),ve.strm.avail_out===0))return ke}return ve.insert=0,bt===i?(te(ve,!0),ve.strm.avail_out===0?Be:ee):(ve.strstart>ve.block_start&&(te(ve,!1),ve.strm.avail_out===0),ke)}function Re(ve,bt){for(var jt,He;;){if(ve.lookahead=W&&(ve.ins_h=(ve.ins_h<=W)if(He=A._tr_tally(ve,ve.strstart-ve.match_start,ve.match_length-W),ve.lookahead-=ve.match_length,ve.match_length<=ve.max_lazy_match&&ve.lookahead>=W){ve.match_length--;do ve.strstart++,ve.ins_h=(ve.ins_h<=W&&(ve.ins_h=(ve.ins_h<4096)&&(ve.match_length=W-1)),ve.prev_length>=W&&ve.match_length<=ve.prev_length){kt=ve.strstart+ve.lookahead-W,He=A._tr_tally(ve,ve.strstart-1-ve.prev_match,ve.prev_length-W),ve.lookahead-=ve.prev_length-1,ve.prev_length-=2;do++ve.strstart<=kt&&(ve.ins_h=(ve.ins_h<=W&&ve.strstart>0&&(kt=ve.strstart-1,He=at[kt],He===at[++kt]&&He===at[++kt]&&He===at[++kt])){Ar=ve.strstart+P;do;while(He===at[++kt]&&He===at[++kt]&&He===at[++kt]&&He===at[++kt]&&He===at[++kt]&&He===at[++kt]&&He===at[++kt]&&He===at[++kt]&&ktve.lookahead&&(ve.match_length=ve.lookahead)}if(ve.match_length>=W?(jt=A._tr_tally(ve,1,ve.match_length-W),ve.lookahead-=ve.match_length,ve.strstart+=ve.match_length,ve.match_length=0):(jt=A._tr_tally(ve,0,ve.window[ve.strstart]),ve.lookahead--,ve.strstart++),jt&&(te(ve,!1),ve.strm.avail_out===0))return ke}return ve.insert=0,bt===i?(te(ve,!0),ve.strm.avail_out===0?Be:ee):ve.last_lit&&(te(ve,!1),ve.strm.avail_out===0)?ke:ge}function pt(ve,bt){for(var jt;;){if(ve.lookahead===0&&(me(ve),ve.lookahead===0)){if(bt===n)return ke;break}if(ve.match_length=0,jt=A._tr_tally(ve,0,ve.window[ve.strstart]),ve.lookahead--,ve.strstart++,jt&&(te(ve,!1),ve.strm.avail_out===0))return ke}return ve.insert=0,bt===i?(te(ve,!0),ve.strm.avail_out===0?Be:ee):ve.last_lit&&(te(ve,!1),ve.strm.avail_out===0)?ke:ge}function Pe(ve,bt,jt,He,kt){this.good_length=ve,this.max_lazy=bt,this.nice_length=jt,this.max_chain=He,this.func=kt}var Nt;Nt=[new Pe(0,0,0,0,be),new Pe(4,4,8,4,Re),new Pe(4,5,16,8,Re),new Pe(4,6,32,32,Re),new Pe(4,4,16,16,it),new Pe(8,16,32,32,it),new Pe(8,16,128,128,it),new Pe(8,32,128,256,it),new Pe(32,128,258,1024,it),new Pe(32,258,258,4096,it)];function ut(ve){ve.window_size=2*ve.w_size,Z(ve.head),ve.max_lazy_match=Nt[ve.level].max_lazy,ve.good_match=Nt[ve.level].good_length,ve.nice_match=Nt[ve.level].nice_length,ve.max_chain_length=Nt[ve.level].max_chain,ve.strstart=0,ve.block_start=0,ve.lookahead=0,ve.insert=0,ve.match_length=ve.prev_length=W-1,ve.match_available=0,ve.ins_h=0}function Ft(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=E,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new b.Buf16(K*2),this.dyn_dtree=new b.Buf16((2*J+1)*2),this.bl_tree=new b.Buf16((2*k+1)*2),Z(this.dyn_ltree),Z(this.dyn_dtree),Z(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new b.Buf16(z+1),this.heap=new b.Buf16(2*X+1),Z(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new b.Buf16(2*X+1),Z(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Ut(ve){var bt;return!ve||!ve.state?Ge(ve,h):(ve.total_in=ve.total_out=0,ve.data_type=C,bt=ve.state,bt.pending=0,bt.pending_out=0,bt.wrap<0&&(bt.wrap=-bt.wrap),bt.status=bt.wrap?q:xe,ve.adler=bt.wrap===2?0:1,bt.last_flush=n,A._tr_init(bt),r)}function Kt(ve){var bt=Ut(ve);return bt===r&&ut(ve.state),bt}function $t(ve,bt){return!ve||!ve.state||ve.state.wrap!==2?h:(ve.state.gzhead=bt,r)}function or(ve,bt,jt,He,kt,Ar){if(!ve)return h;var at=1;if(bt===v&&(bt=6),He<0?(at=0,He=-He):He>15&&(at=2,He-=16),kt<1||kt>O||jt!==E||He<8||He>15||bt<0||bt>9||Ar<0||Ar>_)return Ge(ve,h);He===8&&(He=9);var Ht=new Ft;return ve.state=Ht,Ht.strm=ve,Ht.wrap=at,Ht.gzhead=null,Ht.w_bits=He,Ht.w_size=1<u||bt<0)return ve?Ge(ve,h):h;if(He=ve.state,!ve.output||!ve.input&&ve.avail_in!==0||He.status===Se&&bt!==i)return Ge(ve,ve.avail_out===0?g:h);if(He.strm=ve,jt=He.last_flush,He.last_flush=bt,He.status===q)if(He.wrap===2)ve.adler=0,we(He,31),we(He,139),we(He,8),He.gzhead?(we(He,(He.gzhead.text?1:0)+(He.gzhead.hcrc?2:0)+(He.gzhead.extra?4:0)+(He.gzhead.name?8:0)+(He.gzhead.comment?16:0)),we(He,He.gzhead.time&255),we(He,He.gzhead.time>>8&255),we(He,He.gzhead.time>>16&255),we(He,He.gzhead.time>>24&255),we(He,He.level===9?2:He.strategy>=w||He.level<2?4:0),we(He,He.gzhead.os&255),He.gzhead.extra&&He.gzhead.extra.length&&(we(He,He.gzhead.extra.length&255),we(He,He.gzhead.extra.length>>8&255)),He.gzhead.hcrc&&(ve.adler=(0,t.default)(ve.adler,He.pending_buf,He.pending,0)),He.gzindex=0,He.status=re):(we(He,0),we(He,0),we(He,0),we(He,0),we(He,0),we(He,He.level===9?2:He.strategy>=w||He.level<2?4:0),we(He,ue),He.status=xe);else{var at=E+(He.w_bits-8<<4)<<8,Ht=-1;He.strategy>=w||He.level<2?Ht=0:He.level<6?Ht=1:He.level===6?Ht=2:Ht=3,at|=Ht<<6,He.strstart!==0&&(at|=V),at+=31-at%31,He.status=xe,pe(He,at),He.strstart!==0&&(pe(He,ve.adler>>>16),pe(He,ve.adler&65535)),ve.adler=1}if(He.status===re)if(He.gzhead.extra){for(kt=He.pending;He.gzindex<(He.gzhead.extra.length&65535)&&!(He.pending===He.pending_buf_size&&(He.gzhead.hcrc&&He.pending>kt&&(ve.adler=(0,t.default)(ve.adler,He.pending_buf,He.pending-kt,kt)),Y(ve),kt=He.pending,He.pending===He.pending_buf_size));)we(He,He.gzhead.extra[He.gzindex]&255),He.gzindex++;He.gzhead.hcrc&&He.pending>kt&&(ve.adler=(0,t.default)(ve.adler,He.pending_buf,He.pending-kt,kt)),He.gzindex===He.gzhead.extra.length&&(He.gzindex=0,He.status=ce)}else He.status=ce;if(He.status===ce)if(He.gzhead.name){kt=He.pending;do{if(He.pending===He.pending_buf_size&&(He.gzhead.hcrc&&He.pending>kt&&(ve.adler=(0,t.default)(ve.adler,He.pending_buf,He.pending-kt,kt)),Y(ve),kt=He.pending,He.pending===He.pending_buf_size)){Ar=1;break}He.gzindexkt&&(ve.adler=(0,t.default)(ve.adler,He.pending_buf,He.pending-kt,kt)),Ar===0&&(He.gzindex=0,He.status=ie)}else He.status=ie;if(He.status===ie)if(He.gzhead.comment){kt=He.pending;do{if(He.pending===He.pending_buf_size&&(He.gzhead.hcrc&&He.pending>kt&&(ve.adler=(0,t.default)(ve.adler,He.pending_buf,He.pending-kt,kt)),Y(ve),kt=He.pending,He.pending===He.pending_buf_size)){Ar=1;break}He.gzindexkt&&(ve.adler=(0,t.default)(ve.adler,He.pending_buf,He.pending-kt,kt)),Ar===0&&(He.status=fe)}else He.status=fe;if(He.status===fe&&(He.gzhead.hcrc?(He.pending+2>He.pending_buf_size&&Y(ve),He.pending+2<=He.pending_buf_size&&(we(He,ve.adler&255),we(He,ve.adler>>8&255),ve.adler=0,He.status=xe)):He.status=xe),He.pending!==0){if(Y(ve),ve.avail_out===0)return He.last_flush=-1,r}else if(ve.avail_in===0&&ae(bt)<=ae(jt)&&bt!==i)return Ge(ve,g);if(He.status===Se&&ve.avail_in!==0)return Ge(ve,g);if(ve.avail_in!==0||He.lookahead!==0||bt!==n&&He.status!==Se){var Wt=He.strategy===w?pt(He,bt):He.strategy===S?yt(He,bt):Nt[He.level].func(He,bt);if((Wt===Be||Wt===ee)&&(He.status=Se),Wt===ke||Wt===Be)return ve.avail_out===0&&(He.last_flush=-1),r;if(Wt===ge&&(bt===s?A._tr_align(He):bt!==u&&(A._tr_stored_block(He,0,0,!1),bt===c&&(Z(He.head),He.lookahead===0&&(He.strstart=0,He.block_start=0,He.insert=0))),Y(ve),ve.avail_out===0))return He.last_flush=-1,r}return bt!==i?r:He.wrap<=0?o:(He.wrap===2?(we(He,ve.adler&255),we(He,ve.adler>>8&255),we(He,ve.adler>>16&255),we(He,ve.adler>>24&255),we(He,ve.total_in&255),we(He,ve.total_in>>8&255),we(He,ve.total_in>>16&255),we(He,ve.total_in>>24&255)):(pe(He,ve.adler>>>16),pe(He,ve.adler&65535)),Y(ve),He.wrap>0&&(He.wrap=-He.wrap),He.pending!==0?r:o)}function de(ve){var bt;return!ve||!ve.state?h:(bt=ve.state.status,bt!==q&&bt!==re&&bt!==ce&&bt!==ie&&bt!==fe&&bt!==xe&&bt!==Se?Ge(ve,h):(ve.state=null,bt===xe?Ge(ve,p):r))}function qe(ve,bt){var jt=bt.length,He,kt,Ar,at,Ht,Wt,ot,et;if(!ve||!ve.state)return h;if(He=ve.state,at=He.wrap,at===2||at===1&&He.status!==q||He.lookahead)return h;for(at===1&&(ve.adler=(0,f.default)(ve.adler,bt,jt,0)),He.wrap=0,jt>=He.w_size&&(at===0&&(Z(He.head),He.strstart=0,He.block_start=0,He.insert=0),et=new b.Buf8(He.w_size),b.arraySet(et,bt,jt-He.w_size,He.w_size,0),bt=et,jt=He.w_size),Ht=ve.avail_in,Wt=ve.next_in,ot=ve.input,ve.avail_in=jt,ve.next_in=0,ve.input=bt,me(He);He.lookahead>=W;){kt=He.strstart,Ar=He.lookahead-(W-1);do He.ins_h=(He.ins_h<` "'(~:]+/,r=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,o=/^\s*\[[^\]]+?\]:.*$/,h=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,p=" ";function g(z,W,P){return W.f=W.inline=P,P(z,W)}function v(z,W,P){return W.f=W.block=P,P(z,W)}function y(z){return!z||!/\S/.test(z.string)}function w(z){if(z.linkTitle=!1,z.linkHref=!1,z.linkText=!1,z.em=!1,z.strong=!1,z.strikethrough=!1,z.quote=0,z.indentedCode=!1,z.f==_){var W=t;if(!W){var P=x.innerMode(f,z.htmlState);W=P.mode.name=="xml"&&P.state.tagStart===null&&!P.state.context&&P.state.tokenize.isInText}W&&(z.f=O,z.block=S,z.htmlState=null)}return z.trailingSpace=0,z.trailingSpaceNewLine=!1,z.prevLine=z.thisLine,z.thisLine={stream:null},null}function S(z,W){var P=z.column()===W.indentation,G=y(W.prevLine.stream),V=W.indentedCode,q=W.prevLine.hr,re=W.list!==!1,ce=(W.listStack[W.listStack.length-1]||0)+3;W.indentedCode=!1;var ie=W.indentation;if(W.indentationDiff===null&&(W.indentationDiff=W.indentation,re)){for(W.list=null;ie=4&&(V||W.prevLine.fencedCodeEnd||W.prevLine.header||G))return z.skipToEnd(),W.indentedCode=!0,m.code;if(z.eatSpace())return null;if(P&&W.indentation<=ce&&(Se=z.match(c))&&Se[1].length<=6)return W.quote=0,W.header=Se[1].length,W.thisLine.header=!0,A.highlightFormatting&&(W.formatting="header"),W.f=W.inline,C(W);if(W.indentation<=ce&&z.eat(">"))return W.quote=P?1:W.quote+1,A.highlightFormatting&&(W.formatting="quote"),z.eatSpace(),C(W);if(!xe&&!W.setext&&P&&W.indentation<=ce&&(Se=z.match(n))){var ke=Se[1]?"ol":"ul";return W.indentation=ie+z.current().length,W.list=!0,W.quote=0,W.listStack.push(W.indentation),W.em=!1,W.strong=!1,W.code=!1,W.strikethrough=!1,A.taskLists&&z.match(s,!1)&&(W.taskList=!0),W.f=W.inline,A.highlightFormatting&&(W.formatting=["list","list-"+ke]),C(W)}else{if(P&&W.indentation<=ce&&(Se=z.match(r,!0)))return W.quote=0,W.fencedEndRE=new RegExp(Se[1]+"+ *$"),W.localMode=A.fencedCodeBlockHighlighting&&e(Se[2]||A.fencedCodeBlockDefaultMode),W.localMode&&(W.localState=x.startState(W.localMode)),W.f=W.block=I,A.highlightFormatting&&(W.formatting="code-block"),W.code=-1,C(W);if(W.setext||(!fe||!re)&&!W.quote&&W.list===!1&&!W.code&&!xe&&!o.test(z.string)&&(Se=z.lookAhead(1))&&(Se=Se.match(i)))return W.setext?(W.header=W.setext,W.setext=0,z.skipToEnd(),A.highlightFormatting&&(W.formatting="header")):(W.header=Se[0].charAt(0)=="="?1:2,W.setext=W.header),W.thisLine.header=!0,W.f=W.inline,C(W);if(xe)return z.skipToEnd(),W.hr=!0,W.thisLine.hr=!0,m.hr;if(z.peek()==="[")return g(z,W,X)}return g(z,W,W.inline)}function _(z,W){var P=f.token(z,W.htmlState);if(!t){var G=x.innerMode(f,W.htmlState);(G.mode.name=="xml"&&G.state.tagStart===null&&!G.state.context&&G.state.tokenize.isInText||W.md_inside&&z.current().indexOf(">")>-1)&&(W.f=O,W.block=S,W.htmlState=null)}return P}function I(z,W){var P=W.listStack[W.listStack.length-1]||0,G=W.indentation=z.quote?W.push(m.formatting+"-"+z.formatting[P]+"-"+z.quote):W.push("error"))}if(z.taskOpen)return W.push("meta"),W.length?W.join(" "):null;if(z.taskClosed)return W.push("property"),W.length?W.join(" "):null;if(z.linkHref?W.push(m.linkHref,"url"):(z.strong&&W.push(m.strong),z.em&&W.push(m.em),z.strikethrough&&W.push(m.strikethrough),z.emoji&&W.push(m.emoji),z.linkText&&W.push(m.linkText),z.code&&W.push(m.code),z.image&&W.push(m.image),z.imageAltText&&W.push(m.imageAltText,"link"),z.imageMarker&&W.push(m.imageMarker)),z.header&&W.push(m.header,m.header+"-"+z.header),z.quote&&(W.push(m.quote),!A.maxBlockquoteDepth||A.maxBlockquoteDepth>=z.quote?W.push(m.quote+"-"+z.quote):W.push(m.quote+"-"+A.maxBlockquoteDepth)),z.list!==!1){var G=(z.listStack.length-1)%3;G?G===1?W.push(m.list2):W.push(m.list3):W.push(m.list1)}return z.trailingSpaceNewLine?W.push("trailing-space-new-line"):z.trailingSpace&&W.push("trailing-space-"+(z.trailingSpace%2?"a":"b")),W.length?W.join(" "):null}function E(z,W){return z.match(u,!0)?C(W):void 0}function O(z,W){var P=W.text(z,W);if(typeof P!="undefined")return P;if(W.list)return W.list=null,C(W);if(W.taskList){var G=z.match(s,!0)[1]===" ";return G?W.taskOpen=!0:W.taskClosed=!0,A.highlightFormatting&&(W.formatting="task"),W.taskList=!1,C(W)}if(W.taskOpen=!1,W.taskClosed=!1,W.header&&z.match(/^#+$/,!0))return A.highlightFormatting&&(W.formatting="header"),C(W);var V=z.next();if(W.linkTitle){W.linkTitle=!1;var q=V;V==="("&&(q=")"),q=(q+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var re="^\\s*(?:[^"+q+"\\\\]+|\\\\\\\\|\\\\.)"+q;if(z.match(new RegExp(re),!0))return m.linkHref}if(V==="`"){var ce=W.formatting;A.highlightFormatting&&(W.formatting="code"),z.eatWhile("`");var ie=z.current().length;if(W.code==0&&(!W.quote||ie==1))return W.code=ie,C(W);if(ie==W.code){var fe=C(W);return W.code=0,fe}else return W.formatting=ce,C(W)}else if(W.code)return C(W);if(V==="\\"&&(z.next(),A.highlightFormatting)){var xe=C(W),Se=m.formatting+"-escape";return xe?xe+" "+Se:Se}if(V==="!"&&z.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return W.imageMarker=!0,W.image=!0,A.highlightFormatting&&(W.formatting="image"),C(W);if(V==="["&&W.imageMarker&&z.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return W.imageMarker=!1,W.imageAltText=!0,A.highlightFormatting&&(W.formatting="image"),C(W);if(V==="]"&&W.imageAltText){A.highlightFormatting&&(W.formatting="image");var xe=C(W);return W.imageAltText=!1,W.image=!1,W.inline=W.f=F,xe}if(V==="["&&!W.image)return W.linkText&&z.match(/^.*?\]/)||(W.linkText=!0,A.highlightFormatting&&(W.formatting="link")),C(W);if(V==="]"&&W.linkText){A.highlightFormatting&&(W.formatting="link");var xe=C(W);return W.linkText=!1,W.inline=W.f=z.match(/\(.*?\)| ?\[.*?\]/,!1)?F:O,xe}if(V==="<"&&z.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){W.f=W.inline=M,A.highlightFormatting&&(W.formatting="link");var xe=C(W);return xe?xe+=" ":xe="",xe+m.linkInline}if(V==="<"&&z.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){W.f=W.inline=M,A.highlightFormatting&&(W.formatting="link");var xe=C(W);return xe?xe+=" ":xe="",xe+m.linkEmail}if(A.xml&&V==="<"&&z.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var ke=z.string.indexOf(">",z.pos);if(ke!=-1){var ge=z.string.substring(z.start,ke);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(ge)&&(W.md_inside=!0)}return z.backUp(1),W.htmlState=x.startState(f),v(z,W,_)}if(A.xml&&V==="<"&&z.match(/^\/\w*?>/))return W.md_inside=!1,"tag";if(V==="*"||V==="_"){for(var Be=1,ee=z.pos==1?" ":z.string.charAt(z.pos-2);Be<3&&z.eat(V);)Be++;var ue=z.peek()||" ",Ge=!/\s/.test(ue)&&(!h.test(ue)||/\s/.test(ee)||h.test(ee)),ae=!/\s/.test(ee)&&(!h.test(ee)||/\s/.test(ue)||h.test(ue)),Z=null,Y=null;if(Be%2&&(!W.em&&Ge&&(V==="*"||!ae||h.test(ee))?Z=!0:W.em==V&&ae&&(V==="*"||!Ge||h.test(ue))&&(Z=!1)),Be>1&&(!W.strong&&Ge&&(V==="*"||!ae||h.test(ee))?Y=!0:W.strong==V&&ae&&(V==="*"||!Ge||h.test(ue))&&(Y=!1)),Y!=null||Z!=null){A.highlightFormatting&&(W.formatting=Z==null?"strong":Y==null?"em":"strong em"),Z===!0&&(W.em=V),Y===!0&&(W.strong=V);var fe=C(W);return Z===!1&&(W.em=!1),Y===!1&&(W.strong=!1),fe}}else if(V===" "&&(z.eat("*")||z.eat("_"))){if(z.peek()===" ")return C(W);z.backUp(1)}if(A.strikethrough){if(V==="~"&&z.eatWhile(V)){if(W.strikethrough){A.highlightFormatting&&(W.formatting="strikethrough");var fe=C(W);return W.strikethrough=!1,fe}else if(z.match(/^[^\s]/,!1))return W.strikethrough=!0,A.highlightFormatting&&(W.formatting="strikethrough"),C(W)}else if(V===" "&&z.match(/^~~/,!0)){if(z.peek()===" ")return C(W);z.backUp(2)}}if(A.emoji&&V===":"&&z.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){W.emoji=!0,A.highlightFormatting&&(W.formatting="emoji");var te=C(W);return W.emoji=!1,te}return V===" "&&(z.match(/^ +$/,!1)?W.trailingSpace++:W.trailingSpace&&(W.trailingSpaceNewLine=!0)),C(W)}function M(z,W){var P=z.next();if(P===">"){W.f=W.inline=O,A.highlightFormatting&&(W.formatting="link");var G=C(W);return G?G+=" ":G="",G+m.linkInline}return z.match(/^[^>]+/,!0),m.linkInline}function F(z,W){if(z.eatSpace())return null;var P=z.next();return P==="("||P==="["?(W.f=W.inline=B(P==="("?")":"]"),A.highlightFormatting&&(W.formatting="link-string"),W.linkHref=!0,C(W)):"error"}var H={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function B(z){return function(W,P){var G=W.next();if(G===z){P.f=P.inline=O,A.highlightFormatting&&(P.formatting="link-string");var V=C(P);return P.linkHref=!1,V}return W.match(H[z]),P.linkHref=!0,C(P)}}function X(z,W){return z.match(/^([^\]\\]|\\.)*\]:/,!1)?(W.f=J,z.next(),A.highlightFormatting&&(W.formatting="link"),W.linkText=!0,C(W)):g(z,W,O)}function J(z,W){if(z.match(/^\]:/,!0)){W.f=W.inline=k,A.highlightFormatting&&(W.formatting="link");var P=C(W);return W.linkText=!1,P}return z.match(/^([^\]\\]|\\.)+/,!0),m.linkText}function k(z,W){return z.eatSpace()?null:(z.match(/^[^\s]+/,!0),z.peek()===void 0?W.linkTitle=!0:z.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),W.f=W.inline=O,m.linkHref+" url")}var K={startState:function(){return{f:S,prevLine:{stream:null},thisLine:{stream:null},block:S,htmlState:null,indentation:0,inline:O,text:E,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(W){return{f:W.f,prevLine:W.prevLine,thisLine:W.thisLine,block:W.block,htmlState:W.htmlState&&x.copyState(f,W.htmlState),indentation:W.indentation,localMode:W.localMode,localState:W.localMode?x.copyState(W.localMode,W.localState):null,inline:W.inline,text:W.text,formatting:!1,linkText:W.linkText,linkTitle:W.linkTitle,linkHref:W.linkHref,code:W.code,em:W.em,strong:W.strong,strikethrough:W.strikethrough,emoji:W.emoji,header:W.header,setext:W.setext,hr:W.hr,taskList:W.taskList,list:W.list,listStack:W.listStack.slice(0),quote:W.quote,indentedCode:W.indentedCode,trailingSpace:W.trailingSpace,trailingSpaceNewLine:W.trailingSpaceNewLine,md_inside:W.md_inside,fencedEndRE:W.fencedEndRE}},token:function(W,P){if(P.formatting=!1,W!=P.thisLine.stream){if(P.header=0,P.hr=!1,W.match(/^\s*$/,!0))return w(P),null;if(P.prevLine=P.thisLine,P.thisLine={stream:W},P.taskList=!1,P.trailingSpace=0,P.trailingSpaceNewLine=!1,!P.localState&&(P.f=P.block,P.f!=_)){var G=W.match(/^\s*/,!0)[0].replace(/\t/g,p).length;if(P.indentation=G,P.indentationDiff=null,G>0)return null}}return P.f(W,P)},innerMode:function(W){return W.block==_?{state:W.htmlState,mode:f}:W.localState?{state:W.localState,mode:W.localMode}:{state:W,mode:K}},indent:function(W,P,G){return W.block==_&&f.indent?f.indent(W.htmlState,P,G):W.localState&&W.localMode.indent?W.localMode.indent(W.localState,P,G):x.Pass},blankLine:w,getType:C,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return K},"xml"),x.defineMIME("text/markdown","markdown"),x.defineMIME("text/x-markdown","markdown")})},laiN:function(j,R,l){var x=l("ProS");l("GVMX"),l("MH26"),x.registerPreprocessor(function(b){b.markLine=b.markLine||{}})},lnY3:function(j,R,l){},loD1:function(j,R){function l(x,b,A,f,t,e,m){if(t===0)return!1;var d=t,a=0,n=x;if(m>b+d&&m>f+d||mx+d&&e>A+d||e=s.x&&a<=s.x+s.width&&n>=s.y&&n<=s.y+s.height},clone:function(){return new e(this.x,this.y,this.width,this.height)},copy:function(a){this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},e.create=function(d){return new e(d.x,d.y,d.width,d.height)};var m=e;j.exports=m},mHUz:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x={XK_VoidSymbol:16777215,XK_BackSpace:65288,XK_Tab:65289,XK_Linefeed:65290,XK_Clear:65291,XK_Return:65293,XK_Pause:65299,XK_Scroll_Lock:65300,XK_Sys_Req:65301,XK_Escape:65307,XK_Delete:65535,XK_Multi_key:65312,XK_Codeinput:65335,XK_SingleCandidate:65340,XK_MultipleCandidate:65341,XK_PreviousCandidate:65342,XK_Kanji:65313,XK_Muhenkan:65314,XK_Henkan_Mode:65315,XK_Henkan:65315,XK_Romaji:65316,XK_Hiragana:65317,XK_Katakana:65318,XK_Hiragana_Katakana:65319,XK_Zenkaku:65320,XK_Hankaku:65321,XK_Zenkaku_Hankaku:65322,XK_Touroku:65323,XK_Massyo:65324,XK_Kana_Lock:65325,XK_Kana_Shift:65326,XK_Eisu_Shift:65327,XK_Eisu_toggle:65328,XK_Kanji_Bangou:65335,XK_Zen_Koho:65341,XK_Mae_Koho:65342,XK_Home:65360,XK_Left:65361,XK_Up:65362,XK_Right:65363,XK_Down:65364,XK_Prior:65365,XK_Page_Up:65365,XK_Next:65366,XK_Page_Down:65366,XK_End:65367,XK_Begin:65368,XK_Select:65376,XK_Print:65377,XK_Execute:65378,XK_Insert:65379,XK_Undo:65381,XK_Redo:65382,XK_Menu:65383,XK_Find:65384,XK_Cancel:65385,XK_Help:65386,XK_Break:65387,XK_Mode_switch:65406,XK_script_switch:65406,XK_Num_Lock:65407,XK_KP_Space:65408,XK_KP_Tab:65417,XK_KP_Enter:65421,XK_KP_F1:65425,XK_KP_F2:65426,XK_KP_F3:65427,XK_KP_F4:65428,XK_KP_Home:65429,XK_KP_Left:65430,XK_KP_Up:65431,XK_KP_Right:65432,XK_KP_Down:65433,XK_KP_Prior:65434,XK_KP_Page_Up:65434,XK_KP_Next:65435,XK_KP_Page_Down:65435,XK_KP_End:65436,XK_KP_Begin:65437,XK_KP_Insert:65438,XK_KP_Delete:65439,XK_KP_Equal:65469,XK_KP_Multiply:65450,XK_KP_Add:65451,XK_KP_Separator:65452,XK_KP_Subtract:65453,XK_KP_Decimal:65454,XK_KP_Divide:65455,XK_KP_0:65456,XK_KP_1:65457,XK_KP_2:65458,XK_KP_3:65459,XK_KP_4:65460,XK_KP_5:65461,XK_KP_6:65462,XK_KP_7:65463,XK_KP_8:65464,XK_KP_9:65465,XK_F1:65470,XK_F2:65471,XK_F3:65472,XK_F4:65473,XK_F5:65474,XK_F6:65475,XK_F7:65476,XK_F8:65477,XK_F9:65478,XK_F10:65479,XK_F11:65480,XK_L1:65480,XK_F12:65481,XK_L2:65481,XK_F13:65482,XK_L3:65482,XK_F14:65483,XK_L4:65483,XK_F15:65484,XK_L5:65484,XK_F16:65485,XK_L6:65485,XK_F17:65486,XK_L7:65486,XK_F18:65487,XK_L8:65487,XK_F19:65488,XK_L9:65488,XK_F20:65489,XK_L10:65489,XK_F21:65490,XK_R1:65490,XK_F22:65491,XK_R2:65491,XK_F23:65492,XK_R3:65492,XK_F24:65493,XK_R4:65493,XK_F25:65494,XK_R5:65494,XK_F26:65495,XK_R6:65495,XK_F27:65496,XK_R7:65496,XK_F28:65497,XK_R8:65497,XK_F29:65498,XK_R9:65498,XK_F30:65499,XK_R10:65499,XK_F31:65500,XK_R11:65500,XK_F32:65501,XK_R12:65501,XK_F33:65502,XK_R13:65502,XK_F34:65503,XK_R14:65503,XK_F35:65504,XK_R15:65504,XK_Shift_L:65505,XK_Shift_R:65506,XK_Control_L:65507,XK_Control_R:65508,XK_Caps_Lock:65509,XK_Shift_Lock:65510,XK_Meta_L:65511,XK_Meta_R:65512,XK_Alt_L:65513,XK_Alt_R:65514,XK_Super_L:65515,XK_Super_R:65516,XK_Hyper_L:65517,XK_Hyper_R:65518,XK_ISO_Level3_Shift:65027,XK_ISO_Next_Group:65032,XK_ISO_Prev_Group:65034,XK_ISO_First_Group:65036,XK_ISO_Last_Group:65038,XK_space:32,XK_exclam:33,XK_quotedbl:34,XK_numbersign:35,XK_dollar:36,XK_percent:37,XK_ampersand:38,XK_apostrophe:39,XK_quoteright:39,XK_parenleft:40,XK_parenright:41,XK_asterisk:42,XK_plus:43,XK_comma:44,XK_minus:45,XK_period:46,XK_slash:47,XK_0:48,XK_1:49,XK_2:50,XK_3:51,XK_4:52,XK_5:53,XK_6:54,XK_7:55,XK_8:56,XK_9:57,XK_colon:58,XK_semicolon:59,XK_less:60,XK_equal:61,XK_greater:62,XK_question:63,XK_at:64,XK_A:65,XK_B:66,XK_C:67,XK_D:68,XK_E:69,XK_F:70,XK_G:71,XK_H:72,XK_I:73,XK_J:74,XK_K:75,XK_L:76,XK_M:77,XK_N:78,XK_O:79,XK_P:80,XK_Q:81,XK_R:82,XK_S:83,XK_T:84,XK_U:85,XK_V:86,XK_W:87,XK_X:88,XK_Y:89,XK_Z:90,XK_bracketleft:91,XK_backslash:92,XK_bracketright:93,XK_asciicircum:94,XK_underscore:95,XK_grave:96,XK_quoteleft:96,XK_a:97,XK_b:98,XK_c:99,XK_d:100,XK_e:101,XK_f:102,XK_g:103,XK_h:104,XK_i:105,XK_j:106,XK_k:107,XK_l:108,XK_m:109,XK_n:110,XK_o:111,XK_p:112,XK_q:113,XK_r:114,XK_s:115,XK_t:116,XK_u:117,XK_v:118,XK_w:119,XK_x:120,XK_y:121,XK_z:122,XK_braceleft:123,XK_bar:124,XK_braceright:125,XK_asciitilde:126,XK_nobreakspace:160,XK_exclamdown:161,XK_cent:162,XK_sterling:163,XK_currency:164,XK_yen:165,XK_brokenbar:166,XK_section:167,XK_diaeresis:168,XK_copyright:169,XK_ordfeminine:170,XK_guillemotleft:171,XK_notsign:172,XK_hyphen:173,XK_registered:174,XK_macron:175,XK_degree:176,XK_plusminus:177,XK_twosuperior:178,XK_threesuperior:179,XK_acute:180,XK_mu:181,XK_paragraph:182,XK_periodcentered:183,XK_cedilla:184,XK_onesuperior:185,XK_masculine:186,XK_guillemotright:187,XK_onequarter:188,XK_onehalf:189,XK_threequarters:190,XK_questiondown:191,XK_Agrave:192,XK_Aacute:193,XK_Acircumflex:194,XK_Atilde:195,XK_Adiaeresis:196,XK_Aring:197,XK_AE:198,XK_Ccedilla:199,XK_Egrave:200,XK_Eacute:201,XK_Ecircumflex:202,XK_Ediaeresis:203,XK_Igrave:204,XK_Iacute:205,XK_Icircumflex:206,XK_Idiaeresis:207,XK_ETH:208,XK_Eth:208,XK_Ntilde:209,XK_Ograve:210,XK_Oacute:211,XK_Ocircumflex:212,XK_Otilde:213,XK_Odiaeresis:214,XK_multiply:215,XK_Oslash:216,XK_Ooblique:216,XK_Ugrave:217,XK_Uacute:218,XK_Ucircumflex:219,XK_Udiaeresis:220,XK_Yacute:221,XK_THORN:222,XK_Thorn:222,XK_ssharp:223,XK_agrave:224,XK_aacute:225,XK_acircumflex:226,XK_atilde:227,XK_adiaeresis:228,XK_aring:229,XK_ae:230,XK_ccedilla:231,XK_egrave:232,XK_eacute:233,XK_ecircumflex:234,XK_ediaeresis:235,XK_igrave:236,XK_iacute:237,XK_icircumflex:238,XK_idiaeresis:239,XK_eth:240,XK_ntilde:241,XK_ograve:242,XK_oacute:243,XK_ocircumflex:244,XK_otilde:245,XK_odiaeresis:246,XK_division:247,XK_oslash:248,XK_ooblique:248,XK_ugrave:249,XK_uacute:250,XK_ucircumflex:251,XK_udiaeresis:252,XK_yacute:253,XK_thorn:254,XK_ydiaeresis:255,XK_Hangul:65329,XK_Hangul_Hanja:65332,XK_Hangul_Jeonja:65336,XF86XK_ModeLock:269025025,XF86XK_MonBrightnessUp:269025026,XF86XK_MonBrightnessDown:269025027,XF86XK_KbdLightOnOff:269025028,XF86XK_KbdBrightnessUp:269025029,XF86XK_KbdBrightnessDown:269025030,XF86XK_Standby:269025040,XF86XK_AudioLowerVolume:269025041,XF86XK_AudioMute:269025042,XF86XK_AudioRaiseVolume:269025043,XF86XK_AudioPlay:269025044,XF86XK_AudioStop:269025045,XF86XK_AudioPrev:269025046,XF86XK_AudioNext:269025047,XF86XK_HomePage:269025048,XF86XK_Mail:269025049,XF86XK_Start:269025050,XF86XK_Search:269025051,XF86XK_AudioRecord:269025052,XF86XK_Calculator:269025053,XF86XK_Memo:269025054,XF86XK_ToDoList:269025055,XF86XK_Calendar:269025056,XF86XK_PowerDown:269025057,XF86XK_ContrastAdjust:269025058,XF86XK_RockerUp:269025059,XF86XK_RockerDown:269025060,XF86XK_RockerEnter:269025061,XF86XK_Back:269025062,XF86XK_Forward:269025063,XF86XK_Stop:269025064,XF86XK_Refresh:269025065,XF86XK_PowerOff:269025066,XF86XK_WakeUp:269025067,XF86XK_Eject:269025068,XF86XK_ScreenSaver:269025069,XF86XK_WWW:269025070,XF86XK_Sleep:269025071,XF86XK_Favorites:269025072,XF86XK_AudioPause:269025073,XF86XK_AudioMedia:269025074,XF86XK_MyComputer:269025075,XF86XK_VendorHome:269025076,XF86XK_LightBulb:269025077,XF86XK_Shop:269025078,XF86XK_History:269025079,XF86XK_OpenURL:269025080,XF86XK_AddFavorite:269025081,XF86XK_HotLinks:269025082,XF86XK_BrightnessAdjust:269025083,XF86XK_Finance:269025084,XF86XK_Community:269025085,XF86XK_AudioRewind:269025086,XF86XK_BackForward:269025087,XF86XK_Launch0:269025088,XF86XK_Launch1:269025089,XF86XK_Launch2:269025090,XF86XK_Launch3:269025091,XF86XK_Launch4:269025092,XF86XK_Launch5:269025093,XF86XK_Launch6:269025094,XF86XK_Launch7:269025095,XF86XK_Launch8:269025096,XF86XK_Launch9:269025097,XF86XK_LaunchA:269025098,XF86XK_LaunchB:269025099,XF86XK_LaunchC:269025100,XF86XK_LaunchD:269025101,XF86XK_LaunchE:269025102,XF86XK_LaunchF:269025103,XF86XK_ApplicationLeft:269025104,XF86XK_ApplicationRight:269025105,XF86XK_Book:269025106,XF86XK_CD:269025107,XF86XK_Calculater:269025108,XF86XK_Clear:269025109,XF86XK_Close:269025110,XF86XK_Copy:269025111,XF86XK_Cut:269025112,XF86XK_Display:269025113,XF86XK_DOS:269025114,XF86XK_Documents:269025115,XF86XK_Excel:269025116,XF86XK_Explorer:269025117,XF86XK_Game:269025118,XF86XK_Go:269025119,XF86XK_iTouch:269025120,XF86XK_LogOff:269025121,XF86XK_Market:269025122,XF86XK_Meeting:269025123,XF86XK_MenuKB:269025125,XF86XK_MenuPB:269025126,XF86XK_MySites:269025127,XF86XK_New:269025128,XF86XK_News:269025129,XF86XK_OfficeHome:269025130,XF86XK_Open:269025131,XF86XK_Option:269025132,XF86XK_Paste:269025133,XF86XK_Phone:269025134,XF86XK_Q:269025136,XF86XK_Reply:269025138,XF86XK_Reload:269025139,XF86XK_RotateWindows:269025140,XF86XK_RotationPB:269025141,XF86XK_RotationKB:269025142,XF86XK_Save:269025143,XF86XK_ScrollUp:269025144,XF86XK_ScrollDown:269025145,XF86XK_ScrollClick:269025146,XF86XK_Send:269025147,XF86XK_Spell:269025148,XF86XK_SplitScreen:269025149,XF86XK_Support:269025150,XF86XK_TaskPane:269025151,XF86XK_Terminal:269025152,XF86XK_Tools:269025153,XF86XK_Travel:269025154,XF86XK_UserPB:269025156,XF86XK_User1KB:269025157,XF86XK_User2KB:269025158,XF86XK_Video:269025159,XF86XK_WheelButton:269025160,XF86XK_Word:269025161,XF86XK_Xfer:269025162,XF86XK_ZoomIn:269025163,XF86XK_ZoomOut:269025164,XF86XK_Away:269025165,XF86XK_Messenger:269025166,XF86XK_WebCam:269025167,XF86XK_MailForward:269025168,XF86XK_Pictures:269025169,XF86XK_Music:269025170,XF86XK_Battery:269025171,XF86XK_Bluetooth:269025172,XF86XK_WLAN:269025173,XF86XK_UWB:269025174,XF86XK_AudioForward:269025175,XF86XK_AudioRepeat:269025176,XF86XK_AudioRandomPlay:269025177,XF86XK_Subtitle:269025178,XF86XK_AudioCycleTrack:269025179,XF86XK_CycleAngle:269025180,XF86XK_FrameBack:269025181,XF86XK_FrameForward:269025182,XF86XK_Time:269025183,XF86XK_Select:269025184,XF86XK_View:269025185,XF86XK_TopMenu:269025186,XF86XK_Red:269025187,XF86XK_Green:269025188,XF86XK_Yellow:269025189,XF86XK_Blue:269025190,XF86XK_Suspend:269025191,XF86XK_Hibernate:269025192,XF86XK_TouchpadToggle:269025193,XF86XK_TouchpadOn:269025200,XF86XK_TouchpadOff:269025201,XF86XK_AudioMicMute:269025202,XF86XK_Switch_VT_1:269024769,XF86XK_Switch_VT_2:269024770,XF86XK_Switch_VT_3:269024771,XF86XK_Switch_VT_4:269024772,XF86XK_Switch_VT_5:269024773,XF86XK_Switch_VT_6:269024774,XF86XK_Switch_VT_7:269024775,XF86XK_Switch_VT_8:269024776,XF86XK_Switch_VT_9:269024777,XF86XK_Switch_VT_10:269024778,XF86XK_Switch_VT_11:269024779,XF86XK_Switch_VT_12:269024780,XF86XK_Ungrab:269024800,XF86XK_ClearGrab:269024801,XF86XK_Next_VMode:269024802,XF86XK_Prev_VMode:269024803,XF86XK_LogWindowTree:269024804,XF86XK_LogGrabInfo:269024805};R.default=x},mLcG:function(j,R){var l=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(x){setTimeout(x,16)};j.exports=l},"mO/d":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("I9Y+"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},mOdp:function(j,R,l){var x=l("bYtY"),b=x.createHashMap;function A(f){return{getTargetSeries:function(t){var e={},m=b();return t.eachSeriesByType(f,function(d){d.__paletteScope=e,m.set(d.uid,d)}),m},reset:function(t,e){var m=t.getRawData(),d={},a=t.getData();a.each(function(n){var s=a.getRawIndex(n);d[s]=n}),m.each(function(n){var s=d[n],c=s!=null&&a.getItemVisual(s,"color",!0),i=s!=null&&a.getItemVisual(s,"borderColor",!0),u;if((!c||!i)&&(u=m.getItemModel(n)),!c){var r=u.get("itemStyle.color")||t.getColorFromPalette(m.getName(n)||n+"",t.__paletteScope,m.count());s!=null&&a.setItemVisual(s,"color",r)}if(!i){var o=u.get("itemStyle.borderColor");s!=null&&a.setItemVisual(s,"borderColor",o)}})}}}j.exports=A},mTgk:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("mHUz"));function b(d){return d&&d.__esModule?d:{default:d}}var A={};function f(d,a){if(a===void 0)throw new Error('Undefined keysym for key "'+d+'"');if(d in A)throw new Error('Duplicate entry for key "'+d+'"');A[d]=[a,a,a,a]}function t(d,a,n){if(a===void 0)throw new Error('Undefined keysym for key "'+d+'"');if(n===void 0)throw new Error('Undefined keysym for key "'+d+'"');if(d in A)throw new Error('Duplicate entry for key "'+d+'"');A[d]=[a,a,n,a]}function e(d,a,n){if(a===void 0)throw new Error('Undefined keysym for key "'+d+'"');if(n===void 0)throw new Error('Undefined keysym for key "'+d+'"');if(d in A)throw new Error('Duplicate entry for key "'+d+'"');A[d]=[a,a,a,n]}t("Alt",x.default.XK_Alt_L,x.default.XK_Alt_R),f("AltGraph",x.default.XK_ISO_Level3_Shift),f("CapsLock",x.default.XK_Caps_Lock),t("Control",x.default.XK_Control_L,x.default.XK_Control_R),t("Meta",x.default.XK_Super_L,x.default.XK_Super_R),f("NumLock",x.default.XK_Num_Lock),f("ScrollLock",x.default.XK_Scroll_Lock),t("Shift",x.default.XK_Shift_L,x.default.XK_Shift_R),e("Enter",x.default.XK_Return,x.default.XK_KP_Enter),f("Tab",x.default.XK_Tab),e(" ",x.default.XK_space,x.default.XK_KP_Space),e("ArrowDown",x.default.XK_Down,x.default.XK_KP_Down),e("ArrowUp",x.default.XK_Up,x.default.XK_KP_Up),e("ArrowLeft",x.default.XK_Left,x.default.XK_KP_Left),e("ArrowRight",x.default.XK_Right,x.default.XK_KP_Right),e("End",x.default.XK_End,x.default.XK_KP_End),e("Home",x.default.XK_Home,x.default.XK_KP_Home),e("PageDown",x.default.XK_Next,x.default.XK_KP_Next),e("PageUp",x.default.XK_Prior,x.default.XK_KP_Prior),f("Backspace",x.default.XK_BackSpace),e("Clear",x.default.XK_Clear,x.default.XK_KP_Begin),f("Copy",x.default.XF86XK_Copy),f("Cut",x.default.XF86XK_Cut),e("Delete",x.default.XK_Delete,x.default.XK_KP_Delete),e("Insert",x.default.XK_Insert,x.default.XK_KP_Insert),f("Paste",x.default.XF86XK_Paste),f("Redo",x.default.XK_Redo),f("Undo",x.default.XK_Undo),f("Cancel",x.default.XK_Cancel),f("ContextMenu",x.default.XK_Menu),f("Escape",x.default.XK_Escape),f("Execute",x.default.XK_Execute),f("Find",x.default.XK_Find),f("Help",x.default.XK_Help),f("Pause",x.default.XK_Pause),f("Select",x.default.XK_Select),f("ZoomIn",x.default.XF86XK_ZoomIn),f("ZoomOut",x.default.XF86XK_ZoomOut),f("BrightnessDown",x.default.XF86XK_MonBrightnessDown),f("BrightnessUp",x.default.XF86XK_MonBrightnessUp),f("Eject",x.default.XF86XK_Eject),f("LogOff",x.default.XF86XK_LogOff),f("Power",x.default.XF86XK_PowerOff),f("PowerOff",x.default.XF86XK_PowerDown),f("PrintScreen",x.default.XK_Print),f("Hibernate",x.default.XF86XK_Hibernate),f("Standby",x.default.XF86XK_Standby),f("WakeUp",x.default.XF86XK_WakeUp),f("AllCandidates",x.default.XK_MultipleCandidate),f("Alphanumeric",x.default.XK_Eisu_Shift),f("CodeInput",x.default.XK_Codeinput),f("Compose",x.default.XK_Multi_key),f("Convert",x.default.XK_Henkan),f("GroupFirst",x.default.XK_ISO_First_Group),f("GroupLast",x.default.XK_ISO_Last_Group),f("GroupNext",x.default.XK_ISO_Next_Group),f("GroupPrevious",x.default.XK_ISO_Prev_Group),f("NonConvert",x.default.XK_Muhenkan),f("PreviousCandidate",x.default.XK_PreviousCandidate),f("SingleCandidate",x.default.XK_SingleCandidate),f("HangulMode",x.default.XK_Hangul),f("HanjaMode",x.default.XK_Hangul_Hanja),f("JunjuaMode",x.default.XK_Hangul_Jeonja),f("Eisu",x.default.XK_Eisu_toggle),f("Hankaku",x.default.XK_Hankaku),f("Hiragana",x.default.XK_Hiragana),f("HiraganaKatakana",x.default.XK_Hiragana_Katakana),f("KanaMode",x.default.XK_Kana_Shift),f("KanjiMode",x.default.XK_Kanji),f("Katakana",x.default.XK_Katakana),f("Romaji",x.default.XK_Romaji),f("Zenkaku",x.default.XK_Zenkaku),f("ZenkakuHanaku",x.default.XK_Zenkaku_Hankaku),f("F1",x.default.XK_F1),f("F2",x.default.XK_F2),f("F3",x.default.XK_F3),f("F4",x.default.XK_F4),f("F5",x.default.XK_F5),f("F6",x.default.XK_F6),f("F7",x.default.XK_F7),f("F8",x.default.XK_F8),f("F9",x.default.XK_F9),f("F10",x.default.XK_F10),f("F11",x.default.XK_F11),f("F12",x.default.XK_F12),f("F13",x.default.XK_F13),f("F14",x.default.XK_F14),f("F15",x.default.XK_F15),f("F16",x.default.XK_F16),f("F17",x.default.XK_F17),f("F18",x.default.XK_F18),f("F19",x.default.XK_F19),f("F20",x.default.XK_F20),f("F21",x.default.XK_F21),f("F22",x.default.XK_F22),f("F23",x.default.XK_F23),f("F24",x.default.XK_F24),f("F25",x.default.XK_F25),f("F26",x.default.XK_F26),f("F27",x.default.XK_F27),f("F28",x.default.XK_F28),f("F29",x.default.XK_F29),f("F30",x.default.XK_F30),f("F31",x.default.XK_F31),f("F32",x.default.XK_F32),f("F33",x.default.XK_F33),f("F34",x.default.XK_F34),f("F35",x.default.XK_F35),f("Close",x.default.XF86XK_Close),f("MailForward",x.default.XF86XK_MailForward),f("MailReply",x.default.XF86XK_Reply),f("MailSend",x.default.XF86XK_Send),f("MediaFastForward",x.default.XF86XK_AudioForward),f("MediaPause",x.default.XF86XK_AudioPause),f("MediaPlay",x.default.XF86XK_AudioPlay),f("MediaRecord",x.default.XF86XK_AudioRecord),f("MediaRewind",x.default.XF86XK_AudioRewind),f("MediaStop",x.default.XF86XK_AudioStop),f("MediaTrackNext",x.default.XF86XK_AudioNext),f("MediaTrackPrevious",x.default.XF86XK_AudioPrev),f("New",x.default.XF86XK_New),f("Open",x.default.XF86XK_Open),f("Print",x.default.XK_Print),f("Save",x.default.XF86XK_Save),f("SpellCheck",x.default.XF86XK_Spell),f("AudioVolumeDown",x.default.XF86XK_AudioLowerVolume),f("AudioVolumeUp",x.default.XF86XK_AudioRaiseVolume),f("AudioVolumeMute",x.default.XF86XK_AudioMute),f("MicrophoneVolumeMute",x.default.XF86XK_AudioMicMute),f("LaunchApplication1",x.default.XF86XK_MyComputer),f("LaunchApplication2",x.default.XF86XK_Calculator),f("LaunchCalendar",x.default.XF86XK_Calendar),f("LaunchMail",x.default.XF86XK_Mail),f("LaunchMediaPlayer",x.default.XF86XK_AudioMedia),f("LaunchMusicPlayer",x.default.XF86XK_Music),f("LaunchPhone",x.default.XF86XK_Phone),f("LaunchScreenSaver",x.default.XF86XK_ScreenSaver),f("LaunchSpreadsheet",x.default.XF86XK_Excel),f("LaunchWebBrowser",x.default.XF86XK_WWW),f("LaunchWebCam",x.default.XF86XK_WebCam),f("LaunchWordProcessor",x.default.XF86XK_Word),f("BrowserBack",x.default.XF86XK_Back),f("BrowserFavorites",x.default.XF86XK_Favorites),f("BrowserForward",x.default.XF86XK_Forward),f("BrowserHome",x.default.XF86XK_HomePage),f("BrowserRefresh",x.default.XF86XK_Refresh),f("BrowserSearch",x.default.XF86XK_Search),f("BrowserStop",x.default.XF86XK_Stop),f("Dimmer",x.default.XF86XK_BrightnessAdjust),f("MediaAudioTrack",x.default.XF86XK_AudioCycleTrack),f("RandomToggle",x.default.XF86XK_AudioRandomPlay),f("SplitScreenToggle",x.default.XF86XK_SplitScreen),f("Subtitle",x.default.XF86XK_Subtitle),f("VideoModeNext",x.default.XF86XK_Next_VMode),e("=",x.default.XK_equal,x.default.XK_KP_Equal),e("+",x.default.XK_plus,x.default.XK_KP_Add),e("-",x.default.XK_minus,x.default.XK_KP_Subtract),e("*",x.default.XK_asterisk,x.default.XK_KP_Multiply),e("/",x.default.XK_slash,x.default.XK_KP_Divide),e(".",x.default.XK_period,x.default.XK_KP_Decimal),e(",",x.default.XK_comma,x.default.XK_KP_Separator),e("0",x.default.XK_0,x.default.XK_KP_0),e("1",x.default.XK_1,x.default.XK_KP_1),e("2",x.default.XK_2,x.default.XK_KP_2),e("3",x.default.XK_3,x.default.XK_KP_3),e("4",x.default.XK_4,x.default.XK_KP_4),e("5",x.default.XK_5,x.default.XK_KP_5),e("6",x.default.XK_6,x.default.XK_KP_6),e("7",x.default.XK_7,x.default.XK_KP_7),e("8",x.default.XK_8,x.default.XK_KP_8),e("9",x.default.XK_9,x.default.XK_KP_9);var m=A;R.default=m},mYwL:function(j,R,l){var x=l("bYtY"),b=l("IwbS"),A=l("6GrX"),f=Math.PI;function t(e,m){m=m||{},x.defaults(m,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var d=new b.Group,a=new b.Rect({style:{fill:m.maskColor},zlevel:m.zlevel,z:1e4});d.add(a);var n=m.fontSize+" sans-serif",s=new b.Rect({style:{fill:"none",text:m.text,font:n,textPosition:"right",textDistance:10,textFill:m.textColor},zlevel:m.zlevel,z:10001});if(d.add(s),m.showSpinner){var c=new b.Arc({shape:{startAngle:-f/2,endAngle:-f/2+.1,r:m.spinnerRadius},style:{stroke:m.color,lineCap:"round",lineWidth:m.lineWidth},zlevel:m.zlevel,z:10001});c.animateShape(!0).when(1e3,{endAngle:f*3/2}).start("circularInOut"),c.animateShape(!0).when(1e3,{startAngle:f*3/2}).delay(300).start("circularInOut"),d.add(c)}return d.resize=function(){var i=A.getWidth(m.text,n),u=m.showSpinner?m.spinnerRadius:0,r=(e.getWidth()-u*2-(m.showSpinner&&i?10:0)-i)/2-(m.showSpinner?0:i/2),o=e.getHeight()/2;m.showSpinner&&c.setShape({cx:r,cy:o}),s.setShape({x:r-u,y:o-u,width:u*2,height:u*2}),a.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},d.resize(),d}j.exports=t},mdZa:function(j,R,l){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(b,A){"use strict";if(b==null)throw new TypeError("Cannot convert undefined or null to object");for(var f=Object(b),t=1;t0&&i(F).to(B),X=this._divideParts(E,O),J=X.length,k=!1,K=function(fe,xe){var Se=this;return new t.default(function(ge,Be){var ee,ue,Ge,ae;return m.default.async(function(Y){for(;;)switch(Y.prev=Y.next){case 0:if(Y.prev=0,fe.isCancel()){Y.next=18;break}return ee=X[xe-1],ue={stream:fe._createStream(C,ee.start,ee.end),size:ee.end-ee.start},Y.next=6,m.default.awrap(fe._uploadPart(H,M,xe,ue));case 6:if(Ge=Y.sent,!(!fe.isCancel()&&!k)){Y.next=15;break}if(S.doneParts.push({number:xe,etag:Ge.res.headers.etag}),!_.progress){Y.next=12;break}return Y.next=12,m.default.awrap(_.progress(F.length/J,S,Ge.res));case 12:ge({number:xe,etag:Ge.res.headers.etag}),Y.next=16;break;case 15:ge();case 16:Y.next=19;break;case 18:ge();case 19:Y.next=30;break;case 21:Y.prev=21,Y.t0=Y.catch(0),ae=new Error,ae.name=Y.t0.name,ae.message=Y.t0.message,ae.stack=Y.t0.stack,ae.partNum=xe,i(Y.t0).to(ae),Be(ae);case 30:case"end":return Y.stop()}},null,Se,[[0,21]])})},z=(0,A.default)(new Array(J),function(ie,fe){return fe+1}),W=B.map(function(ie){return ie.number}),P=z.filter(function(ie){return W.indexOf(ie)<0}),G=5,V=_.parallel||G,ce.next=17,m.default.awrap(this._parallel(P,V,function(ie){return new t.default(function(fe,xe){K(I,ie).then(function(Se){Se&&B.push(Se),fe()}).catch(function(Se){xe(Se)})})}));case 17:if(q=ce.sent,k=!0,!this.isCancel()){ce.next=22;break}throw K=null,this._makeCancelEvent();case 22:if(!(q&&q.length>0)){ce.next=25;break}throw q[0].message="Failed to upload some parts with error: "+q[0].toString()+" part_num: "+q[0].partNum,q[0];case 25:return ce.next=27,m.default.awrap(this.completeMultipartUpload(H,M,B,_));case 27:return ce.abrupt("return",ce.sent);case 28:case"end":return ce.stop()}},null,this)},p._getFileSize=function(S){return m.default.async(function(I){for(;;)switch(I.prev=I.next){case 0:if(!a.buffer(S)){I.next=4;break}return I.abrupt("return",S.length);case 4:if(!(r(S)||h(S))){I.next=6;break}return I.abrupt("return",S.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return I.stop()}},null,this)};var g=j("stream"),v=g.Readable;function y(w,S){if(!(this instanceof y))return new y(w,S);v.call(this,S),this.file=w,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}n.inherits(y,v),y.prototype.readFileAndPush=function(S){if(this.fileBuffer)for(var _=!0;_&&this.fileBuffer&&this.startthis.fileBuffer.length?this.fileBuffer.length:C,this.start=C,_=this.push(this.fileBuffer.slice(I,C))}},y.prototype._read=function(S){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var _=16*1024;S=S||_;var I=this;this.reader.onload=function(E){I.fileBuffer=x.from(new Uint8Array(E.target.result)),I.file=null,I.readFileAndPush(S)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(S)},p._createStream=function(S,_,I){if(r(S)||h(S))return new y(S.slice(_,I));throw new Error("_createStream requires File/Blob.")},p._getPartSize=function(S,_){var I=10*1e3,C=1024*1024;return _?Math.max(Math.ceil(S/I),_):C},p._divideParts=function(S,_){for(var I=Math.ceil(S/_),C=[],E=0;E255)throw new Error("ID is composed of 255 bytes at most");if(S.prefix===""||S.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(S.status))throw new Error("Status must be Enabled or Disabled");if(S.transition){if(!["IA","Archive"].includes(S.transition.storageClass))throw new Error("StorageClass must be IA or Archive");v(S.transition,"Transition")}if(S.expiration){if(!S.expiration.expiredObjectDeleteMarker)v(S.expiration,"Expiration");else if(S.expiration.days||S.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(S.abortMultipartUpload&&v(S.abortMultipartUpload,"AbortMultipartUpload"),!S.expiration&&!S.abortMultipartUpload&&!S.transition&&!S.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(S.tag){if(S.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");y(S.tag)}}},{"../utils/checkBucketName":35,"../utils/checkObjectTag":36,"../utils/deepCopy":39,"../utils/getStrBytesCount":41,"../utils/isArray":42,"../utils/isObject":46,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],12:[function(j,R,l){"use strict";var x=j("babel-runtime/regenerator"),b=A(x);function A(a){return a&&a.__esModule?a:{default:a}}var f=j("../utils/checkBucketName"),t=f.checkBucketName,e=j("../utils/obj2xml"),m=e.obj2xml,d=l;d.putBucketVersioning=function(n,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,u,r;return b.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:if(t(n),["Enabled","Suspended"].includes(s)){h.next=3;break}throw new Error("status must be Enabled or Suspended");case 3:return i=this._bucketRequestParams("PUT",n,"versioning",c),u={VersioningConfiguration:{Status:s}},i.mime="xml",i.content=m(u,{headers:!0}),h.next=9,b.default.awrap(this.request(i));case 9:return r=h.sent,h.abrupt("return",{res:r.res,status:r.status});case 11:case"end":return h.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],13:[function(j,R,l){"use strict";var x=j("babel-runtime/regenerator"),b=A(x);function A(s){return s&&s.__esModule?s:{default:s}}var f=j("../utils/checkBucketName"),t=f.checkBucketName,e=j("../utils/obj2xml"),m=e.obj2xml,d=j("../utils/isArray"),a=d.isArray,n=l;n.putBucketWebsite=function(c){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=arguments[2],r,o,h,p,g;return b.default.async(function(y){for(;;)switch(y.prev=y.next){case 0:if(t(c),r=this._bucketRequestParams("PUT",c,"website",u),o={Suffix:i.index||"index.html"},h={IndexDocument:o},p={WebsiteConfiguration:h},i.supportSubDir&&(o.SupportSubDir=i.supportSubDir),i.type&&(o.Type=i.type),i.error&&(h.ErrorDocument={Key:i.error}),!(i.routingRules!==void 0)){y.next=12;break}if(a(i.routingRules)){y.next=11;break}throw new Error("RoutingRules must be Array");case 11:h.RoutingRules={RoutingRule:i.routingRules};case 12:return p=m(p),r.content=p,r.mime="xml",r.successStatuses=[200],y.next=18,b.default.awrap(this.request(r));case 18:return g=y.sent,y.abrupt("return",{res:g.res});case 20:case"end":return y.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isArray":42,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],14:[function(j,R,l){(function(x){"use strict";var b=j("babel-runtime/core-js/object/keys"),A=e(b),f=j("babel-runtime/core-js/json/stringify"),t=e(f);function e(m){return m&&m.__esModule?m:{default:m}}l.encodeCallback=function(d,a){if(d.headers=d.headers||{},!Object.prototype.hasOwnProperty.call(d.headers,"x-oss-callback")&&a.callback){var n={callbackUrl:encodeURI(a.callback.url),callbackBody:a.callback.body};a.callback.host&&(n.callbackHost=a.callback.host),a.callback.contentType&&(n.callbackBodyType=a.callback.contentType);var s=x.from((0,t.default)(n)).toString("base64");if(d.headers["x-oss-callback"]=s,a.callback.customValue){var c={};(0,A.default)(a.callback.customValue).forEach(function(i){c["x:"+i]=a.callback.customValue[i]}),d.headers["x-oss-callback-var"]=x.from((0,t.default)(c)).toString("base64")}}}}).call(this,j("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/assign"),b=A(x);function A(n){return n&&n.__esModule?n:{default:n}}var f=j("humanize-ms"),t=j("url"),e=j("../utils/checkBucketName"),m=e.checkBucketName;function d(n,s){var c=t.parse(n);if(c.protocol||(c=t.parse("http"+(s?"s":"")+"://"+n)),c.protocol!=="http:"&&c.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return c}function a(n,s,c){var i=c?"https://":"http://",u=s?"-internal.aliyuncs.com":".aliyuncs.com",r="vpc100-oss-cn-";return n.substr(0,r.length)===r&&(u=".aliyuncs.com"),t.parse(i+n+u)}R.exports=function(n){if(!n||!n.accessKeyId||!n.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");n.bucket&&m(n.bucket);var s=(0,b.default)({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1},n);if(s.accessKeyId=s.accessKeyId.trim(),s.accessKeySecret=s.accessKeySecret.trim(),s.timeout&&(s.timeout=f(s.timeout)),s.endpoint)s.endpoint=d(s.endpoint,s.secure);else if(s.region)s.endpoint=a(s.region,s.internal,s.secure);else throw new Error("require options.endpoint or options.region");return s.inited=!0,s}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/assign":54,"humanize-ms":194,url:238}],16:[function(j,R,l){"use strict";var x=j("merge-descriptors"),b=l;x(b,j("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(j,R,l){"use strict";var x=j("babel-runtime/regenerator"),b=A(x);function A(s){return s&&s.__esModule?s:{default:s}}var f=j("../utils/checkBucketName"),t=f.checkBucketName,e=j("querystring"),m=j("js-base64"),d=m.Base64.encode,a=l;a.processObjectSave=function(c,i,u,r){var o,h,p,g;return b.default.async(function(y){for(;;)switch(y.prev=y.next){case 0:return n(c,"sourceObject"),n(i,"targetObject"),n(u,"process"),i=this._objectName(i),r&&t(r),o=this._objectRequestParams("POST",c,{subres:"x-oss-process"}),h=r?",b_"+d(r):"",i=d(i),p={"x-oss-process":u+"|sys/saveas,o_"+i+h},o.content=e.stringify(p),y.next=12,b.default.awrap(this.request(o));case 12:return g=y.sent,y.abrupt("return",{res:g.res,status:g.res.status});case 14:case"end":return y.stop()}},null,this)};function n(s,c){if(!s)throw new Error(c+" is required");if(typeof s!="string")throw new Error(c+" must be String")}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(j,R,l){"use strict";var x=j("babel-runtime/regenerator"),b=A(x);function A(a){return a&&a.__esModule?a:{default:a}}var f=j("copy-to"),t=j("./callback"),e=j("./utils/deepCopy"),m=e.deepCopy,d=l;d.listUploads=function(n,s){var c,i,u,r;return b.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return s=s||{},c={},f(s).to(c),c.subres="uploads",i=this._objectRequestParams("GET","",c),i.query=n,i.xmlResponse=!0,i.successStatuses=[200],h.next=10,b.default.awrap(this.request(i));case 10:return u=h.sent,r=u.data.Upload||[],Array.isArray(r)||(r=[r]),r=r.map(function(p){return{name:p.Key,uploadId:p.UploadId,initiated:p.Initiated}}),h.abrupt("return",{res:u.res,uploads:r,bucket:u.data.Bucket,nextKeyMarker:u.data.NextKeyMarker,nextUploadIdMarker:u.data.NextUploadIdMarker,isTruncated:u.data.IsTruncated==="true"});case 15:case"end":return h.stop()}},null,this)},d.listParts=function(n,s,c,i){var u,r,o;return b.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return i=i||{},u={},f(i).to(u),u.subres={uploadId:s},r=this._objectRequestParams("GET",n,u),r.query=c,r.xmlResponse=!0,r.successStatuses=[200],p.next=10,b.default.awrap(this.request(r));case 10:return o=p.sent,p.abrupt("return",{res:o.res,uploadId:o.data.UploadId,bucket:o.data.Bucket,name:o.data.Key,partNumberMarker:o.data.PartNumberMarker,nextPartNumberMarker:o.data.NextPartNumberMarker,maxParts:o.data.MaxParts,isTruncated:o.data.IsTruncated,parts:o.data.Part||[]});case 12:case"end":return p.stop()}},null,this)},d.abortMultipartUpload=function(n,s,c){var i,u,r;return b.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return this._stop(),c=c||{},i={},f(c).to(i),i.subres={uploadId:s},u=this._objectRequestParams("DELETE",n,i),u.successStatuses=[204],h.next=9,b.default.awrap(this.request(u));case 9:return r=h.sent,h.abrupt("return",{res:r.res});case 11:case"end":return h.stop()}},null,this)},d.initMultipartUpload=function(n,s){var c,i,u;return b.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return s=s||{},c={},f(s).to(c),c.headers=c.headers||{},this._convertMetaToHeaders(s.meta,c.headers),c.subres="uploads",i=this._objectRequestParams("POST",n,c),i.mime=s.mime,i.xmlResponse=!0,i.successStatuses=[200],o.next=12,b.default.awrap(this.request(i));case 12:return u=o.sent,o.abrupt("return",{res:u.res,bucket:u.data.Bucket,name:u.data.Key,uploadId:u.data.UploadId});case 14:case"end":return o.stop()}},null,this)},d.uploadPart=function(n,s,c,i,u,r,o){var h;return b.default.async(function(g){for(;;)switch(g.prev=g.next){case 0:return h={stream:this._createStream(i,u,r),size:r-u},g.next=3,b.default.awrap(this._uploadPart(n,s,c,h,o));case 3:return g.abrupt("return",g.sent);case 4:case"end":return g.stop()}},null,this)},d.completeMultipartUpload=function(n,s,c,i){var u,r,o,h,p,g,v,y;return b.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:for(u=c.concat().sort(function(_,I){return _.number-I.number}).filter(function(_,I,C){return!I||_.number!==C[I-1].number}),r=` `,o=0;o `,r+=""+h.number+` @@ -857,16 +857,16 @@ raw xml: `+W,G.t1.status=J.status,G.t1.requestId=J.headers["x-oss-request-id"],G * Bowser - a browser detector * https://github.com/ded/bowser * MIT License | (c) Dustin Diaz 2015 -*/!function(x,b,A){typeof R!="undefined"&&R.exports?R.exports=A():typeof define=="function"&&define.amd?define(b,A):x[b]=A()}(this,"bowser",function(){var x=!0;function b(a){function n(W){var z=a.match(W);return z&&z.length>1&&z[1]||""}function s(W){var z=a.match(W);return z&&z.length>1&&z[2]||""}var c=n(/(ipod|iphone|ipad)/i).toLowerCase(),i=/like android/i.test(a),u=!i&&/android/i.test(a),r=/nexus\s*[0-6]\s*/i.test(a),o=!r&&/nexus\s*[0-9]+/i.test(a),h=/CrOS/.test(a),p=/silk/i.test(a),g=/sailfish/i.test(a),v=/tizen/i.test(a),y=/(web|hpw)(o|0)s/i.test(a),w=/windows phone/i.test(a),S=/SamsungBrowser/i.test(a),_=!w&&/windows/i.test(a),I=!c&&!p&&/macintosh/i.test(a),C=!u&&!g&&!v&&!y&&/linux/i.test(a),E=s(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),O=n(/version\/(\d+(\.\d+)?)/i),M=/tablet/i.test(a)&&!/tablet pc/i.test(a),F=!M&&/[^-]mobi/i.test(a),H=/xbox/i.test(a),B;/opera/i.test(a)?B={name:"Opera",opera:x,version:O||n(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(a)?B={name:"Opera",opera:x,version:n(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||O}:/SamsungBrowser/i.test(a)?B={name:"Samsung Internet for Android",samsungBrowser:x,version:O||n(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(a)?B={name:"NAVER Whale browser",whale:x,version:n(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(a)?B={name:"MZ Browser",mzbrowser:x,version:n(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(a)?B={name:"Opera Coast",coast:x,version:O||n(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(a)?B={name:"Focus",focus:x,version:n(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(a)?B={name:"Yandex Browser",yandexbrowser:x,version:O||n(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(a)?B={name:"UC Browser",ucbrowser:x,version:n(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(a)?B={name:"Maxthon",maxthon:x,version:n(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(a)?B={name:"Epiphany",epiphany:x,version:n(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(a)?B={name:"Puffin",puffin:x,version:n(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(a)?B={name:"Sleipnir",sleipnir:x,version:n(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(a)?B={name:"K-Meleon",kMeleon:x,version:n(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:w?(B={name:"Windows Phone",osname:"Windows Phone",windowsphone:x},E?(B.msedge=x,B.version=E):(B.msie=x,B.version=n(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(a)?B={name:"Internet Explorer",msie:x,version:n(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:h?B={name:"Chrome",osname:"Chrome OS",chromeos:x,chromeBook:x,chrome:x,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(a)?B={name:"Microsoft Edge",msedge:x,version:E}:/vivaldi/i.test(a)?B={name:"Vivaldi",vivaldi:x,version:n(/vivaldi\/(\d+(\.\d+)?)/i)||O}:g?B={name:"Sailfish",osname:"Sailfish OS",sailfish:x,version:n(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(a)?B={name:"SeaMonkey",seamonkey:x,version:n(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(a)?(B={name:"Firefox",firefox:x,version:n(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(a)&&(B.firefoxos=x,B.osname="Firefox OS")):p?B={name:"Amazon Silk",silk:x,version:n(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(a)?B={name:"PhantomJS",phantom:x,version:n(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(a)?B={name:"SlimerJS",slimer:x,version:n(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(a)||/rim\stablet/i.test(a)?B={name:"BlackBerry",osname:"BlackBerry OS",blackberry:x,version:O||n(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:y?(B={name:"WebOS",osname:"WebOS",webos:x,version:O||n(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(a)&&(B.touchpad=x)):/bada/i.test(a)?B={name:"Bada",osname:"Bada",bada:x,version:n(/dolfin\/(\d+(\.\d+)?)/i)}:v?B={name:"Tizen",osname:"Tizen",tizen:x,version:n(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||O}:/qupzilla/i.test(a)?B={name:"QupZilla",qupzilla:x,version:n(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||O}:/chromium/i.test(a)?B={name:"Chromium",chromium:x,version:n(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||O}:/chrome|crios|crmo/i.test(a)?B={name:"Chrome",chrome:x,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:u?B={name:"Android",version:O}:/safari|applewebkit/i.test(a)?(B={name:"Safari",safari:x},O&&(B.version=O)):c?(B={name:c=="iphone"?"iPhone":c=="ipad"?"iPad":"iPod"},O&&(B.version=O)):/googlebot/i.test(a)?B={name:"Googlebot",googlebot:x,version:n(/googlebot\/(\d+(\.\d+))/i)||O}:B={name:n(/^(.*)\/(.*) /),version:s(/^(.*)\/(.*) /)},!B.msedge&&/(apple)?webkit/i.test(a)?(/(apple)?webkit\/537\.36/i.test(a)?(B.name=B.name||"Blink",B.blink=x):(B.name=B.name||"Webkit",B.webkit=x),!B.version&&O&&(B.version=O)):!B.opera&&/gecko\//i.test(a)&&(B.name=B.name||"Gecko",B.gecko=x,B.version=B.version||n(/gecko\/(\d+(\.\d+)?)/i)),!B.windowsphone&&(u||B.silk)?(B.android=x,B.osname="Android"):!B.windowsphone&&c?(B[c]=x,B.ios=x,B.osname="iOS"):I?(B.mac=x,B.osname="macOS"):H?(B.xbox=x,B.osname="Xbox"):_?(B.windows=x,B.osname="Windows"):C&&(B.linux=x,B.osname="Linux");function X(W){switch(W){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var J="";B.windows?J=X(n(/Windows ((NT|XP)( \d\d?.\d)?)/i)):B.windowsphone?J=n(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):B.mac?(J=n(/Mac OS X (\d+([_\.\s]\d+)*)/i),J=J.replace(/[_\s]/g,".")):c?(J=n(/os (\d+([_\s]\d+)*) like mac os x/i),J=J.replace(/[_\s]/g,".")):u?J=n(/android[ \/-](\d+(\.\d+)*)/i):B.webos?J=n(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):B.blackberry?J=n(/rim\stablet\sos\s(\d+(\.\d+)*)/i):B.bada?J=n(/bada\/(\d+(\.\d+)*)/i):B.tizen&&(J=n(/tizen[\/\s](\d+(\.\d+)*)/i)),J&&(B.osversion=J);var k=!B.windows&&J.split(".")[0];return M||o||c=="ipad"||u&&(k==3||k>=4&&!F)||B.silk?B.tablet=x:(F||c=="iphone"||c=="ipod"||u||r||B.blackberry||B.webos||B.bada)&&(B.mobile=x),B.msedge||B.msie&&B.version>=10||B.yandexbrowser&&B.version>=15||B.vivaldi&&B.version>=1||B.chrome&&B.version>=20||B.samsungBrowser&&B.version>=4||B.whale&&e([B.version,"1.0"])===1||B.mzbrowser&&e([B.version,"6.0"])===1||B.focus&&e([B.version,"1.0"])===1||B.firefox&&B.version>=20||B.safari&&B.version>=6||B.opera&&B.version>=10||B.ios&&B.osversion&&B.osversion.split(".")[0]>=6||B.blackberry&&B.version>=10.1||B.chromium&&B.version>=20?B.a=x:B.msie&&B.version<10||B.chrome&&B.version<20||B.firefox&&B.version<20||B.safari&&B.version<6||B.opera&&B.version<10||B.ios&&B.osversion&&B.osversion.split(".")[0]<6||B.chromium&&B.version<20?B.c=x:B.x=x,B}var A=b(typeof navigator!="undefined"&&navigator.userAgent||"");A.test=function(a){for(var n=0;n=0;){if(s[0][n]>s[1][n])return 1;if(s[0][n]===s[1][n]){if(n===0)return 0}else return-1}}function m(a,n,s){var c=A;typeof n=="string"&&(s=n,n=void 0),n===void 0&&(n=!1),s&&(c=b(s));var i=""+c.version;for(var u in a)if(a.hasOwnProperty(u)&&c[u]){if(typeof a[u]!="string")throw new Error("Browser version in the minVersion map should be a string: "+u+": "+String(a));return e([i,a[u]])<0}return n}function d(a,n,s){return!m(a,n,s)}return A.isUnsupportedBrowser=m,A.compareVersions=e,A.check=d,A._detect=b,A.detect=b,A})},{}],71:[function(j,R,l){},{}],72:[function(j,R,l){var x=j("buffer").Buffer,b=x.isEncoding||function(d){switch(d&&d.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function A(d){if(d&&!b(d))throw new Error("Unknown encoding: "+d)}var f=l.StringDecoder=function(d){this.encoding=(d||"utf8").toLowerCase().replace(/[-_]/,""),A(d);switch(this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=e;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=m;break;default:this.write=t;return}this.charBuffer=new x(6),this.charReceived=0,this.charLength=0};f.prototype.write=function(d){for(var a="";this.charLength;){var n=d.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:d.length;if(d.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived=55296&&c<=56319){this.charLength+=this.surrogateSize,a="";continue}if(this.charReceived=this.charLength=0,d.length===0)return a;break}this.detectIncompleteChar(d);var s=d.length;this.charLength&&(d.copy(this.charBuffer,0,d.length-this.charReceived,s),s-=this.charReceived),a+=d.toString(this.encoding,0,s);var s=a.length-1,c=a.charCodeAt(s);if(c>=55296&&c<=56319){var i=this.surrogateSize;return this.charLength+=i,this.charReceived+=i,this.charBuffer.copy(this.charBuffer,i,0,i),d.copy(this.charBuffer,0,0,i),a.substring(0,s)}return a},f.prototype.detectIncompleteChar=function(d){for(var a=d.length>=3?3:d.length;a>0;a--){var n=d[d.length-a];if(a==1&&n>>5==6){this.charLength=2;break}if(a<=2&&n>>4==14){this.charLength=3;break}if(a<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=a},f.prototype.end=function(d){var a="";if(d&&d.length&&(a=this.write(d)),this.charReceived){var n=this.charReceived,s=this.charBuffer,c=this.encoding;a+=s.slice(0,n).toString(c)}return a};function t(d){return d.toString(this.encoding)}function e(d){this.charReceived=d.length%2,this.charLength=this.charReceived?2:0}function m(d){this.charReceived=d.length%3,this.charLength=this.charReceived?3:0}},{buffer:73}],73:[function(j,R,l){(function(x,b){/*! +*/!function(x,b,A){typeof R!="undefined"&&R.exports?R.exports=A():typeof define=="function"&&define.amd?define(b,A):x[b]=A()}(this,"bowser",function(){var x=!0;function b(a){function n(K){var z=a.match(K);return z&&z.length>1&&z[1]||""}function s(K){var z=a.match(K);return z&&z.length>1&&z[2]||""}var c=n(/(ipod|iphone|ipad)/i).toLowerCase(),i=/like android/i.test(a),u=!i&&/android/i.test(a),r=/nexus\s*[0-6]\s*/i.test(a),o=!r&&/nexus\s*[0-9]+/i.test(a),h=/CrOS/.test(a),p=/silk/i.test(a),g=/sailfish/i.test(a),v=/tizen/i.test(a),y=/(web|hpw)(o|0)s/i.test(a),w=/windows phone/i.test(a),S=/SamsungBrowser/i.test(a),_=!w&&/windows/i.test(a),I=!c&&!p&&/macintosh/i.test(a),C=!u&&!g&&!v&&!y&&/linux/i.test(a),E=s(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),O=n(/version\/(\d+(\.\d+)?)/i),M=/tablet/i.test(a)&&!/tablet pc/i.test(a),F=!M&&/[^-]mobi/i.test(a),H=/xbox/i.test(a),B;/opera/i.test(a)?B={name:"Opera",opera:x,version:O||n(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(a)?B={name:"Opera",opera:x,version:n(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||O}:/SamsungBrowser/i.test(a)?B={name:"Samsung Internet for Android",samsungBrowser:x,version:O||n(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(a)?B={name:"NAVER Whale browser",whale:x,version:n(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(a)?B={name:"MZ Browser",mzbrowser:x,version:n(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(a)?B={name:"Opera Coast",coast:x,version:O||n(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(a)?B={name:"Focus",focus:x,version:n(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(a)?B={name:"Yandex Browser",yandexbrowser:x,version:O||n(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(a)?B={name:"UC Browser",ucbrowser:x,version:n(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(a)?B={name:"Maxthon",maxthon:x,version:n(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(a)?B={name:"Epiphany",epiphany:x,version:n(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(a)?B={name:"Puffin",puffin:x,version:n(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(a)?B={name:"Sleipnir",sleipnir:x,version:n(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(a)?B={name:"K-Meleon",kMeleon:x,version:n(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:w?(B={name:"Windows Phone",osname:"Windows Phone",windowsphone:x},E?(B.msedge=x,B.version=E):(B.msie=x,B.version=n(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(a)?B={name:"Internet Explorer",msie:x,version:n(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:h?B={name:"Chrome",osname:"Chrome OS",chromeos:x,chromeBook:x,chrome:x,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(a)?B={name:"Microsoft Edge",msedge:x,version:E}:/vivaldi/i.test(a)?B={name:"Vivaldi",vivaldi:x,version:n(/vivaldi\/(\d+(\.\d+)?)/i)||O}:g?B={name:"Sailfish",osname:"Sailfish OS",sailfish:x,version:n(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(a)?B={name:"SeaMonkey",seamonkey:x,version:n(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(a)?(B={name:"Firefox",firefox:x,version:n(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(a)&&(B.firefoxos=x,B.osname="Firefox OS")):p?B={name:"Amazon Silk",silk:x,version:n(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(a)?B={name:"PhantomJS",phantom:x,version:n(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(a)?B={name:"SlimerJS",slimer:x,version:n(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(a)||/rim\stablet/i.test(a)?B={name:"BlackBerry",osname:"BlackBerry OS",blackberry:x,version:O||n(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:y?(B={name:"WebOS",osname:"WebOS",webos:x,version:O||n(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(a)&&(B.touchpad=x)):/bada/i.test(a)?B={name:"Bada",osname:"Bada",bada:x,version:n(/dolfin\/(\d+(\.\d+)?)/i)}:v?B={name:"Tizen",osname:"Tizen",tizen:x,version:n(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||O}:/qupzilla/i.test(a)?B={name:"QupZilla",qupzilla:x,version:n(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||O}:/chromium/i.test(a)?B={name:"Chromium",chromium:x,version:n(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||O}:/chrome|crios|crmo/i.test(a)?B={name:"Chrome",chrome:x,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:u?B={name:"Android",version:O}:/safari|applewebkit/i.test(a)?(B={name:"Safari",safari:x},O&&(B.version=O)):c?(B={name:c=="iphone"?"iPhone":c=="ipad"?"iPad":"iPod"},O&&(B.version=O)):/googlebot/i.test(a)?B={name:"Googlebot",googlebot:x,version:n(/googlebot\/(\d+(\.\d+))/i)||O}:B={name:n(/^(.*)\/(.*) /),version:s(/^(.*)\/(.*) /)},!B.msedge&&/(apple)?webkit/i.test(a)?(/(apple)?webkit\/537\.36/i.test(a)?(B.name=B.name||"Blink",B.blink=x):(B.name=B.name||"Webkit",B.webkit=x),!B.version&&O&&(B.version=O)):!B.opera&&/gecko\//i.test(a)&&(B.name=B.name||"Gecko",B.gecko=x,B.version=B.version||n(/gecko\/(\d+(\.\d+)?)/i)),!B.windowsphone&&(u||B.silk)?(B.android=x,B.osname="Android"):!B.windowsphone&&c?(B[c]=x,B.ios=x,B.osname="iOS"):I?(B.mac=x,B.osname="macOS"):H?(B.xbox=x,B.osname="Xbox"):_?(B.windows=x,B.osname="Windows"):C&&(B.linux=x,B.osname="Linux");function X(K){switch(K){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var J="";B.windows?J=X(n(/Windows ((NT|XP)( \d\d?.\d)?)/i)):B.windowsphone?J=n(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):B.mac?(J=n(/Mac OS X (\d+([_\.\s]\d+)*)/i),J=J.replace(/[_\s]/g,".")):c?(J=n(/os (\d+([_\s]\d+)*) like mac os x/i),J=J.replace(/[_\s]/g,".")):u?J=n(/android[ \/-](\d+(\.\d+)*)/i):B.webos?J=n(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):B.blackberry?J=n(/rim\stablet\sos\s(\d+(\.\d+)*)/i):B.bada?J=n(/bada\/(\d+(\.\d+)*)/i):B.tizen&&(J=n(/tizen[\/\s](\d+(\.\d+)*)/i)),J&&(B.osversion=J);var k=!B.windows&&J.split(".")[0];return M||o||c=="ipad"||u&&(k==3||k>=4&&!F)||B.silk?B.tablet=x:(F||c=="iphone"||c=="ipod"||u||r||B.blackberry||B.webos||B.bada)&&(B.mobile=x),B.msedge||B.msie&&B.version>=10||B.yandexbrowser&&B.version>=15||B.vivaldi&&B.version>=1||B.chrome&&B.version>=20||B.samsungBrowser&&B.version>=4||B.whale&&e([B.version,"1.0"])===1||B.mzbrowser&&e([B.version,"6.0"])===1||B.focus&&e([B.version,"1.0"])===1||B.firefox&&B.version>=20||B.safari&&B.version>=6||B.opera&&B.version>=10||B.ios&&B.osversion&&B.osversion.split(".")[0]>=6||B.blackberry&&B.version>=10.1||B.chromium&&B.version>=20?B.a=x:B.msie&&B.version<10||B.chrome&&B.version<20||B.firefox&&B.version<20||B.safari&&B.version<6||B.opera&&B.version<10||B.ios&&B.osversion&&B.osversion.split(".")[0]<6||B.chromium&&B.version<20?B.c=x:B.x=x,B}var A=b(typeof navigator!="undefined"&&navigator.userAgent||"");A.test=function(a){for(var n=0;n=0;){if(s[0][n]>s[1][n])return 1;if(s[0][n]===s[1][n]){if(n===0)return 0}else return-1}}function m(a,n,s){var c=A;typeof n=="string"&&(s=n,n=void 0),n===void 0&&(n=!1),s&&(c=b(s));var i=""+c.version;for(var u in a)if(a.hasOwnProperty(u)&&c[u]){if(typeof a[u]!="string")throw new Error("Browser version in the minVersion map should be a string: "+u+": "+String(a));return e([i,a[u]])<0}return n}function d(a,n,s){return!m(a,n,s)}return A.isUnsupportedBrowser=m,A.compareVersions=e,A.check=d,A._detect=b,A.detect=b,A})},{}],71:[function(j,R,l){},{}],72:[function(j,R,l){var x=j("buffer").Buffer,b=x.isEncoding||function(d){switch(d&&d.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function A(d){if(d&&!b(d))throw new Error("Unknown encoding: "+d)}var f=l.StringDecoder=function(d){this.encoding=(d||"utf8").toLowerCase().replace(/[-_]/,""),A(d);switch(this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=e;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=m;break;default:this.write=t;return}this.charBuffer=new x(6),this.charReceived=0,this.charLength=0};f.prototype.write=function(d){for(var a="";this.charLength;){var n=d.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:d.length;if(d.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived=55296&&c<=56319){this.charLength+=this.surrogateSize,a="";continue}if(this.charReceived=this.charLength=0,d.length===0)return a;break}this.detectIncompleteChar(d);var s=d.length;this.charLength&&(d.copy(this.charBuffer,0,d.length-this.charReceived,s),s-=this.charReceived),a+=d.toString(this.encoding,0,s);var s=a.length-1,c=a.charCodeAt(s);if(c>=55296&&c<=56319){var i=this.surrogateSize;return this.charLength+=i,this.charReceived+=i,this.charBuffer.copy(this.charBuffer,i,0,i),d.copy(this.charBuffer,0,0,i),a.substring(0,s)}return a},f.prototype.detectIncompleteChar=function(d){for(var a=d.length>=3?3:d.length;a>0;a--){var n=d[d.length-a];if(a==1&&n>>5==6){this.charLength=2;break}if(a<=2&&n>>4==14){this.charLength=3;break}if(a<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=a},f.prototype.end=function(d){var a="";if(d&&d.length&&(a=this.write(d)),this.charReceived){var n=this.charReceived,s=this.charBuffer,c=this.encoding;a+=s.slice(0,n).toString(c)}return a};function t(d){return d.toString(this.encoding)}function e(d){this.charReceived=d.length%2,this.charLength=this.charReceived?2:0}function m(d){this.charReceived=d.length%3,this.charLength=this.charReceived?3:0}},{buffer:73}],73:[function(j,R,l){(function(x,b){/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT -*/"use strict";var A=j("base64-js"),f=j("ieee754"),t=j("isarray");l.Buffer=b,l.SlowBuffer=p,l.INSPECT_MAX_BYTES=50,b.TYPED_ARRAY_SUPPORT=x.TYPED_ARRAY_SUPPORT!==void 0?x.TYPED_ARRAY_SUPPORT:e(),l.kMaxLength=m();function e(){try{var ae=new Uint8Array(1);return ae.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},ae.foo()===42&&typeof ae.subarray=="function"&&ae.subarray(1,1).byteLength===0}catch(Z){return!1}}function m(){return b.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function d(ae,Z){if(m()=m())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+m().toString(16)+" bytes");return ae|0}function p(ae){return+ae!=ae&&(ae=0),b.alloc(+ae)}b.isBuffer=function(Z){return!!(Z!=null&&Z._isBuffer)},b.compare=function(Z,Y){if(!b.isBuffer(Z)||!b.isBuffer(Y))throw new TypeError("Arguments must be Buffers");if(Z===Y)return 0;for(var te=Z.length,we=Y.length,pe=0,De=Math.min(te,we);pe>>1;case"base64":return ee(ae).length;default:if(te)return ke(ae).length;Z=(""+Z).toLowerCase(),te=!0}}b.byteLength=g;function v(ae,Z,Y){var te=!1;if((Z===void 0||Z<0)&&(Z=0),Z>this.length)return"";if((Y===void 0||Y>this.length)&&(Y=this.length),Y<=0)return"";if(Y>>>=0,Z>>>=0,Y<=Z)return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return W(this,Z,Y);case"utf8":case"utf-8":return H(this,Z,Y);case"ascii":return J(this,Z,Y);case"latin1":case"binary":return k(this,Z,Y);case"base64":return F(this,Z,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,Z,Y);default:if(te)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),te=!0}}b.prototype._isBuffer=!0;function y(ae,Z,Y){var te=ae[Z];ae[Z]=ae[Y],ae[Y]=te}b.prototype.swap16=function(){var Z=this.length;if(Z%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Y=0;Y0&&(Z=this.toString("hex",0,Y).match(/.{2}/g).join(" "),this.length>Y&&(Z+=" ... ")),""},b.prototype.compare=function(Z,Y,te,we,pe){if(!b.isBuffer(Z))throw new TypeError("Argument must be a Buffer");if(Y===void 0&&(Y=0),te===void 0&&(te=Z?Z.length:0),we===void 0&&(we=0),pe===void 0&&(pe=this.length),Y<0||te>Z.length||we<0||pe>this.length)throw new RangeError("out of range index");if(we>=pe&&Y>=te)return 0;if(we>=pe)return-1;if(Y>=te)return 1;if(Y>>>=0,te>>>=0,we>>>=0,pe>>>=0,this===Z)return 0;for(var De=pe-we,Ne=te-Y,me=Math.min(De,Ne),be=this.slice(we,pe),Re=Z.slice(Y,te),it=0;it2147483647?Y=2147483647:Y<-2147483648&&(Y=-2147483648),Y=+Y,isNaN(Y)&&(Y=we?0:ae.length-1),Y<0&&(Y=ae.length+Y),Y>=ae.length){if(we)return-1;Y=ae.length-1}else if(Y<0)if(we)Y=0;else return-1;if(typeof Z=="string"&&(Z=b.from(Z,te)),b.isBuffer(Z))return Z.length===0?-1:S(ae,Z,Y,te,we);if(typeof Z=="number")return Z=Z&255,b.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?we?Uint8Array.prototype.indexOf.call(ae,Z,Y):Uint8Array.prototype.lastIndexOf.call(ae,Z,Y):S(ae,[Z],Y,te,we);throw new TypeError("val must be string, number or Buffer")}function S(ae,Z,Y,te,we){var pe=1,De=ae.length,Ne=Z.length;if(te!==void 0&&(te=String(te).toLowerCase(),te==="ucs2"||te==="ucs-2"||te==="utf16le"||te==="utf-16le")){if(ae.length<2||Z.length<2)return-1;pe=2,De/=2,Ne/=2,Y/=2}function me(pt,Pe){return pe===1?pt[Pe]:pt.readUInt16BE(Pe*pe)}var be;if(we){var Re=-1;for(be=Y;beDe&&(Y=De-Ne),be=Y;be>=0;be--){for(var it=!0,yt=0;ytwe&&(te=we)):te=we;var pe=Z.length;if(pe%2!==0)throw new TypeError("Invalid hex string");te>pe/2&&(te=pe/2);for(var De=0;Depe)&&(te=pe),Z.length>0&&(te<0||Y<0)||Y>this.length)throw new RangeError("Attempt to write outside buffer bounds");we||(we="utf8");for(var De=!1;;)switch(we){case"hex":return _(this,Z,Y,te);case"utf8":case"utf-8":return I(this,Z,Y,te);case"ascii":return C(this,Z,Y,te);case"latin1":case"binary":return E(this,Z,Y,te);case"base64":return O(this,Z,Y,te);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,Z,Y,te);default:if(De)throw new TypeError("Unknown encoding: "+we);we=(""+we).toLowerCase(),De=!0}},b.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(ae,Z,Y){return Z===0&&Y===ae.length?A.fromByteArray(ae):A.fromByteArray(ae.slice(Z,Y))}function H(ae,Z,Y){Y=Math.min(ae.length,Y);for(var te=[],we=Z;we239?4:pe>223?3:pe>191?2:1;if(we+Ne<=Y){var me,be,Re,it;switch(Ne){case 1:pe<128&&(De=pe);break;case 2:me=ae[we+1],(me&192)===128&&(it=(pe&31)<<6|me&63,it>127&&(De=it));break;case 3:me=ae[we+1],be=ae[we+2],(me&192)===128&&(be&192)===128&&(it=(pe&15)<<12|(me&63)<<6|be&63,it>2047&&(it<55296||it>57343)&&(De=it));break;case 4:me=ae[we+1],be=ae[we+2],Re=ae[we+3],(me&192)===128&&(be&192)===128&&(Re&192)===128&&(it=(pe&15)<<18|(me&63)<<12|(be&63)<<6|Re&63,it>65535&&it<1114112&&(De=it))}}De===null?(De=65533,Ne=1):De>65535&&(De-=65536,te.push(De>>>10&1023|55296),De=56320|De&1023),te.push(De),we+=Ne}return X(te)}var B=4096;function X(ae){var Z=ae.length;if(Z<=B)return String.fromCharCode.apply(String,ae);for(var Y="",te=0;tete)&&(Y=te);for(var we="",pe=Z;pete&&(Z=te),Y<0?(Y+=te,Y<0&&(Y=0)):Y>te&&(Y=te),YY)throw new RangeError("Trying to access beyond buffer length")}b.prototype.readUIntLE=function(Z,Y,te){Z=Z|0,Y=Y|0,te||K(Z,Y,this.length);for(var we=this[Z],pe=1,De=0;++De0&&(pe*=256);)we+=this[Z+--Y]*pe;return we},b.prototype.readUInt8=function(Z,Y){return Y||K(Z,1,this.length),this[Z]},b.prototype.readUInt16LE=function(Z,Y){return Y||K(Z,2,this.length),this[Z]|this[Z+1]<<8},b.prototype.readUInt16BE=function(Z,Y){return Y||K(Z,2,this.length),this[Z]<<8|this[Z+1]},b.prototype.readUInt32LE=function(Z,Y){return Y||K(Z,4,this.length),(this[Z]|this[Z+1]<<8|this[Z+2]<<16)+this[Z+3]*16777216},b.prototype.readUInt32BE=function(Z,Y){return Y||K(Z,4,this.length),this[Z]*16777216+(this[Z+1]<<16|this[Z+2]<<8|this[Z+3])},b.prototype.readIntLE=function(Z,Y,te){Z=Z|0,Y=Y|0,te||K(Z,Y,this.length);for(var we=this[Z],pe=1,De=0;++De=pe&&(we-=Math.pow(2,8*Y)),we},b.prototype.readIntBE=function(Z,Y,te){Z=Z|0,Y=Y|0,te||K(Z,Y,this.length);for(var we=Y,pe=1,De=this[Z+--we];we>0&&(pe*=256);)De+=this[Z+--we]*pe;return pe*=128,De>=pe&&(De-=Math.pow(2,8*Y)),De},b.prototype.readInt8=function(Z,Y){return Y||K(Z,1,this.length),this[Z]&128?(255-this[Z]+1)*-1:this[Z]},b.prototype.readInt16LE=function(Z,Y){Y||K(Z,2,this.length);var te=this[Z]|this[Z+1]<<8;return te&32768?te|4294901760:te},b.prototype.readInt16BE=function(Z,Y){Y||K(Z,2,this.length);var te=this[Z+1]|this[Z]<<8;return te&32768?te|4294901760:te},b.prototype.readInt32LE=function(Z,Y){return Y||K(Z,4,this.length),this[Z]|this[Z+1]<<8|this[Z+2]<<16|this[Z+3]<<24},b.prototype.readInt32BE=function(Z,Y){return Y||K(Z,4,this.length),this[Z]<<24|this[Z+1]<<16|this[Z+2]<<8|this[Z+3]},b.prototype.readFloatLE=function(Z,Y){return Y||K(Z,4,this.length),f.read(this,Z,!0,23,4)},b.prototype.readFloatBE=function(Z,Y){return Y||K(Z,4,this.length),f.read(this,Z,!1,23,4)},b.prototype.readDoubleLE=function(Z,Y){return Y||K(Z,8,this.length),f.read(this,Z,!0,52,8)},b.prototype.readDoubleBE=function(Z,Y){return Y||K(Z,8,this.length),f.read(this,Z,!1,52,8)};function P(ae,Z,Y,te,we,pe){if(!b.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(Z>we||Zae.length)throw new RangeError("Index out of range")}b.prototype.writeUIntLE=function(Z,Y,te,we){if(Z=+Z,Y=Y|0,te=te|0,!we){var pe=Math.pow(2,8*te)-1;P(this,Z,Y,te,pe,0)}var De=1,Ne=0;for(this[Y]=Z&255;++Ne=0&&(Ne*=256);)this[Y+De]=Z/Ne&255;return Y+te},b.prototype.writeUInt8=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,1,255,0),b.TYPED_ARRAY_SUPPORT||(Z=Math.floor(Z)),this[Y]=Z&255,Y+1};function G(ae,Z,Y,te){Z<0&&(Z=65535+Z+1);for(var we=0,pe=Math.min(ae.length-Y,2);we>>(te?we:1-we)*8}b.prototype.writeUInt16LE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,2,65535,0),b.TYPED_ARRAY_SUPPORT?(this[Y]=Z&255,this[Y+1]=Z>>>8):G(this,Z,Y,!0),Y+2},b.prototype.writeUInt16BE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,2,65535,0),b.TYPED_ARRAY_SUPPORT?(this[Y]=Z>>>8,this[Y+1]=Z&255):G(this,Z,Y,!1),Y+2};function V(ae,Z,Y,te){Z<0&&(Z=4294967295+Z+1);for(var we=0,pe=Math.min(ae.length-Y,4);we>>(te?we:3-we)*8&255}b.prototype.writeUInt32LE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,4,4294967295,0),b.TYPED_ARRAY_SUPPORT?(this[Y+3]=Z>>>24,this[Y+2]=Z>>>16,this[Y+1]=Z>>>8,this[Y]=Z&255):V(this,Z,Y,!0),Y+4},b.prototype.writeUInt32BE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,4,4294967295,0),b.TYPED_ARRAY_SUPPORT?(this[Y]=Z>>>24,this[Y+1]=Z>>>16,this[Y+2]=Z>>>8,this[Y+3]=Z&255):V(this,Z,Y,!1),Y+4},b.prototype.writeIntLE=function(Z,Y,te,we){if(Z=+Z,Y=Y|0,!we){var pe=Math.pow(2,8*te-1);P(this,Z,Y,te,pe-1,-pe)}var De=0,Ne=1,me=0;for(this[Y]=Z&255;++De>0)-me&255;return Y+te},b.prototype.writeIntBE=function(Z,Y,te,we){if(Z=+Z,Y=Y|0,!we){var pe=Math.pow(2,8*te-1);P(this,Z,Y,te,pe-1,-pe)}var De=te-1,Ne=1,me=0;for(this[Y+De]=Z&255;--De>=0&&(Ne*=256);)Z<0&&me===0&&this[Y+De+1]!==0&&(me=1),this[Y+De]=(Z/Ne>>0)-me&255;return Y+te},b.prototype.writeInt8=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,1,127,-128),b.TYPED_ARRAY_SUPPORT||(Z=Math.floor(Z)),Z<0&&(Z=255+Z+1),this[Y]=Z&255,Y+1},b.prototype.writeInt16LE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,2,32767,-32768),b.TYPED_ARRAY_SUPPORT?(this[Y]=Z&255,this[Y+1]=Z>>>8):G(this,Z,Y,!0),Y+2},b.prototype.writeInt16BE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,2,32767,-32768),b.TYPED_ARRAY_SUPPORT?(this[Y]=Z>>>8,this[Y+1]=Z&255):G(this,Z,Y,!1),Y+2},b.prototype.writeInt32LE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,4,2147483647,-2147483648),b.TYPED_ARRAY_SUPPORT?(this[Y]=Z&255,this[Y+1]=Z>>>8,this[Y+2]=Z>>>16,this[Y+3]=Z>>>24):V(this,Z,Y,!0),Y+4},b.prototype.writeInt32BE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,4,2147483647,-2147483648),Z<0&&(Z=4294967295+Z+1),b.TYPED_ARRAY_SUPPORT?(this[Y]=Z>>>24,this[Y+1]=Z>>>16,this[Y+2]=Z>>>8,this[Y+3]=Z&255):V(this,Z,Y,!1),Y+4};function q(ae,Z,Y,te,we,pe){if(Y+te>ae.length)throw new RangeError("Index out of range");if(Y<0)throw new RangeError("Index out of range")}function re(ae,Z,Y,te,we){return we||q(ae,Z,Y,4,34028234663852886e22,-34028234663852886e22),f.write(ae,Z,Y,te,23,4),Y+4}b.prototype.writeFloatLE=function(Z,Y,te){return re(this,Z,Y,!0,te)},b.prototype.writeFloatBE=function(Z,Y,te){return re(this,Z,Y,!1,te)};function ce(ae,Z,Y,te,we){return we||q(ae,Z,Y,8,17976931348623157e292,-17976931348623157e292),f.write(ae,Z,Y,te,52,8),Y+8}b.prototype.writeDoubleLE=function(Z,Y,te){return ce(this,Z,Y,!0,te)},b.prototype.writeDoubleBE=function(Z,Y,te){return ce(this,Z,Y,!1,te)},b.prototype.copy=function(Z,Y,te,we){if(te||(te=0),!we&&we!==0&&(we=this.length),Y>=Z.length&&(Y=Z.length),Y||(Y=0),we>0&&we=this.length)throw new RangeError("sourceStart out of bounds");if(we<0)throw new RangeError("sourceEnd out of bounds");we>this.length&&(we=this.length),Z.length-Y=0;--De)Z[De+Y]=this[De+te];else if(pe<1e3||!b.TYPED_ARRAY_SUPPORT)for(De=0;De>>0,te=te===void 0?this.length:te>>>0,Z||(Z=0);var De;if(typeof Z=="number")for(De=Y;De55295&&Y<57344){if(!we){if(Y>56319){(Z-=3)>-1&&pe.push(239,191,189);continue}else if(De+1===te){(Z-=3)>-1&&pe.push(239,191,189);continue}we=Y;continue}if(Y<56320){(Z-=3)>-1&&pe.push(239,191,189),we=Y;continue}Y=(we-55296<<10|Y-56320)+65536}else we&&((Z-=3)>-1&&pe.push(239,191,189));if(we=null,Y<128){if((Z-=1)<0)break;pe.push(Y)}else if(Y<2048){if((Z-=2)<0)break;pe.push(Y>>6|192,Y&63|128)}else if(Y<65536){if((Z-=3)<0)break;pe.push(Y>>12|224,Y>>6&63|128,Y&63|128)}else if(Y<1114112){if((Z-=4)<0)break;pe.push(Y>>18|240,Y>>12&63|128,Y>>6&63|128,Y&63|128)}else throw new Error("Invalid code point")}return pe}function ge(ae){for(var Z=[],Y=0;Y>8,we=Y%256,pe.push(we),pe.push(te);return pe}function ee(ae){return A.toByteArray(fe(ae))}function ue(ae,Z,Y,te){for(var we=0;we=Z.length||we>=ae.length);++we)Z[we+Y]=ae[we];return we}function Ge(ae){return ae!==ae}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},j("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(j,R,l){R.exports={"100":"Continue","101":"Switching Protocols","102":"Processing","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Unordered Collection","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"}},{}],75:[function(j,R,l){R.exports={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,E2BIG:7,EACCES:13,EADDRINUSE:48,EADDRNOTAVAIL:49,EAFNOSUPPORT:47,EAGAIN:35,EALREADY:37,EBADF:9,EBADMSG:94,EBUSY:16,ECANCELED:89,ECHILD:10,ECONNABORTED:53,ECONNREFUSED:61,ECONNRESET:54,EDEADLK:11,EDESTADDRREQ:39,EDOM:33,EDQUOT:69,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:65,EIDRM:90,EILSEQ:92,EINPROGRESS:36,EINTR:4,EINVAL:22,EIO:5,EISCONN:56,EISDIR:21,ELOOP:62,EMFILE:24,EMLINK:31,EMSGSIZE:40,EMULTIHOP:95,ENAMETOOLONG:63,ENETDOWN:50,ENETRESET:52,ENETUNREACH:51,ENFILE:23,ENOBUFS:55,ENODATA:96,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:77,ENOLINK:97,ENOMEM:12,ENOMSG:91,ENOPROTOOPT:42,ENOSPC:28,ENOSR:98,ENOSTR:99,ENOSYS:78,ENOTCONN:57,ENOTDIR:20,ENOTEMPTY:66,ENOTSOCK:38,ENOTSUP:45,ENOTTY:25,ENXIO:6,EOPNOTSUPP:102,EOVERFLOW:84,EPERM:1,EPIPE:32,EPROTO:100,EPROTONOSUPPORT:43,EPROTOTYPE:41,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:70,ETIME:101,ETIMEDOUT:60,ETXTBSY:26,EWOULDBLOCK:35,EXDEV:18,SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:10,SIGFPE:8,SIGKILL:9,SIGUSR1:30,SIGSEGV:11,SIGUSR2:31,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:20,SIGCONT:19,SIGSTOP:17,SIGTSTP:18,SIGTTIN:21,SIGTTOU:22,SIGURG:16,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:23,SIGSYS:12,SSL_OP_ALL:2147486719,SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:262144,SSL_OP_CIPHER_SERVER_PREFERENCE:4194304,SSL_OP_CISCO_ANYCONNECT:32768,SSL_OP_COOKIE_EXCHANGE:8192,SSL_OP_CRYPTOPRO_TLSEXT_BUG:2147483648,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:2048,SSL_OP_EPHEMERAL_RSA:0,SSL_OP_LEGACY_SERVER_CONNECT:4,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:32,SSL_OP_MICROSOFT_SESS_ID_BUG:1,SSL_OP_MSIE_SSLV2_RSA_PADDING:0,SSL_OP_NETSCAPE_CA_DN_BUG:536870912,SSL_OP_NETSCAPE_CHALLENGE_BUG:2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:1073741824,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:8,SSL_OP_NO_COMPRESSION:131072,SSL_OP_NO_QUERY_MTU:4096,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:65536,SSL_OP_NO_SSLv2:16777216,SSL_OP_NO_SSLv3:33554432,SSL_OP_NO_TICKET:16384,SSL_OP_NO_TLSv1:67108864,SSL_OP_NO_TLSv1_1:268435456,SSL_OP_NO_TLSv1_2:134217728,SSL_OP_PKCS1_CHECK_1:0,SSL_OP_PKCS1_CHECK_2:0,SSL_OP_SINGLE_DH_USE:1048576,SSL_OP_SINGLE_ECDH_USE:524288,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:128,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:0,SSL_OP_TLS_BLOCK_PADDING_BUG:512,SSL_OP_TLS_D5_BUG:256,SSL_OP_TLS_ROLLBACK_BUG:8388608,ENGINE_METHOD_DSA:2,ENGINE_METHOD_DH:4,ENGINE_METHOD_RAND:8,ENGINE_METHOD_ECDH:16,ENGINE_METHOD_ECDSA:32,ENGINE_METHOD_CIPHERS:64,ENGINE_METHOD_DIGESTS:128,ENGINE_METHOD_STORE:256,ENGINE_METHOD_PKEY_METHS:512,ENGINE_METHOD_PKEY_ASN1_METHS:1024,ENGINE_METHOD_ALL:65535,ENGINE_METHOD_NONE:0,DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_UDP_REUSEADDR:4}},{}],76:[function(j,R,l){/*! +*/"use strict";var A=j("base64-js"),f=j("ieee754"),t=j("isarray");l.Buffer=b,l.SlowBuffer=p,l.INSPECT_MAX_BYTES=50,b.TYPED_ARRAY_SUPPORT=x.TYPED_ARRAY_SUPPORT!==void 0?x.TYPED_ARRAY_SUPPORT:e(),l.kMaxLength=m();function e(){try{var ae=new Uint8Array(1);return ae.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},ae.foo()===42&&typeof ae.subarray=="function"&&ae.subarray(1,1).byteLength===0}catch(Z){return!1}}function m(){return b.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function d(ae,Z){if(m()=m())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+m().toString(16)+" bytes");return ae|0}function p(ae){return+ae!=ae&&(ae=0),b.alloc(+ae)}b.isBuffer=function(Z){return!!(Z!=null&&Z._isBuffer)},b.compare=function(Z,Y){if(!b.isBuffer(Z)||!b.isBuffer(Y))throw new TypeError("Arguments must be Buffers");if(Z===Y)return 0;for(var te=Z.length,we=Y.length,pe=0,De=Math.min(te,we);pe>>1;case"base64":return ee(ae).length;default:if(te)return ke(ae).length;Z=(""+Z).toLowerCase(),te=!0}}b.byteLength=g;function v(ae,Z,Y){var te=!1;if((Z===void 0||Z<0)&&(Z=0),Z>this.length)return"";if((Y===void 0||Y>this.length)&&(Y=this.length),Y<=0)return"";if(Y>>>=0,Z>>>=0,Y<=Z)return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return K(this,Z,Y);case"utf8":case"utf-8":return H(this,Z,Y);case"ascii":return J(this,Z,Y);case"latin1":case"binary":return k(this,Z,Y);case"base64":return F(this,Z,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,Z,Y);default:if(te)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),te=!0}}b.prototype._isBuffer=!0;function y(ae,Z,Y){var te=ae[Z];ae[Z]=ae[Y],ae[Y]=te}b.prototype.swap16=function(){var Z=this.length;if(Z%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Y=0;Y0&&(Z=this.toString("hex",0,Y).match(/.{2}/g).join(" "),this.length>Y&&(Z+=" ... ")),""},b.prototype.compare=function(Z,Y,te,we,pe){if(!b.isBuffer(Z))throw new TypeError("Argument must be a Buffer");if(Y===void 0&&(Y=0),te===void 0&&(te=Z?Z.length:0),we===void 0&&(we=0),pe===void 0&&(pe=this.length),Y<0||te>Z.length||we<0||pe>this.length)throw new RangeError("out of range index");if(we>=pe&&Y>=te)return 0;if(we>=pe)return-1;if(Y>=te)return 1;if(Y>>>=0,te>>>=0,we>>>=0,pe>>>=0,this===Z)return 0;for(var De=pe-we,Ne=te-Y,me=Math.min(De,Ne),be=this.slice(we,pe),Re=Z.slice(Y,te),it=0;it2147483647?Y=2147483647:Y<-2147483648&&(Y=-2147483648),Y=+Y,isNaN(Y)&&(Y=we?0:ae.length-1),Y<0&&(Y=ae.length+Y),Y>=ae.length){if(we)return-1;Y=ae.length-1}else if(Y<0)if(we)Y=0;else return-1;if(typeof Z=="string"&&(Z=b.from(Z,te)),b.isBuffer(Z))return Z.length===0?-1:S(ae,Z,Y,te,we);if(typeof Z=="number")return Z=Z&255,b.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?we?Uint8Array.prototype.indexOf.call(ae,Z,Y):Uint8Array.prototype.lastIndexOf.call(ae,Z,Y):S(ae,[Z],Y,te,we);throw new TypeError("val must be string, number or Buffer")}function S(ae,Z,Y,te,we){var pe=1,De=ae.length,Ne=Z.length;if(te!==void 0&&(te=String(te).toLowerCase(),te==="ucs2"||te==="ucs-2"||te==="utf16le"||te==="utf-16le")){if(ae.length<2||Z.length<2)return-1;pe=2,De/=2,Ne/=2,Y/=2}function me(pt,Pe){return pe===1?pt[Pe]:pt.readUInt16BE(Pe*pe)}var be;if(we){var Re=-1;for(be=Y;beDe&&(Y=De-Ne),be=Y;be>=0;be--){for(var it=!0,yt=0;ytwe&&(te=we)):te=we;var pe=Z.length;if(pe%2!==0)throw new TypeError("Invalid hex string");te>pe/2&&(te=pe/2);for(var De=0;Depe)&&(te=pe),Z.length>0&&(te<0||Y<0)||Y>this.length)throw new RangeError("Attempt to write outside buffer bounds");we||(we="utf8");for(var De=!1;;)switch(we){case"hex":return _(this,Z,Y,te);case"utf8":case"utf-8":return I(this,Z,Y,te);case"ascii":return C(this,Z,Y,te);case"latin1":case"binary":return E(this,Z,Y,te);case"base64":return O(this,Z,Y,te);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,Z,Y,te);default:if(De)throw new TypeError("Unknown encoding: "+we);we=(""+we).toLowerCase(),De=!0}},b.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(ae,Z,Y){return Z===0&&Y===ae.length?A.fromByteArray(ae):A.fromByteArray(ae.slice(Z,Y))}function H(ae,Z,Y){Y=Math.min(ae.length,Y);for(var te=[],we=Z;we239?4:pe>223?3:pe>191?2:1;if(we+Ne<=Y){var me,be,Re,it;switch(Ne){case 1:pe<128&&(De=pe);break;case 2:me=ae[we+1],(me&192)===128&&(it=(pe&31)<<6|me&63,it>127&&(De=it));break;case 3:me=ae[we+1],be=ae[we+2],(me&192)===128&&(be&192)===128&&(it=(pe&15)<<12|(me&63)<<6|be&63,it>2047&&(it<55296||it>57343)&&(De=it));break;case 4:me=ae[we+1],be=ae[we+2],Re=ae[we+3],(me&192)===128&&(be&192)===128&&(Re&192)===128&&(it=(pe&15)<<18|(me&63)<<12|(be&63)<<6|Re&63,it>65535&&it<1114112&&(De=it))}}De===null?(De=65533,Ne=1):De>65535&&(De-=65536,te.push(De>>>10&1023|55296),De=56320|De&1023),te.push(De),we+=Ne}return X(te)}var B=4096;function X(ae){var Z=ae.length;if(Z<=B)return String.fromCharCode.apply(String,ae);for(var Y="",te=0;tete)&&(Y=te);for(var we="",pe=Z;pete&&(Z=te),Y<0?(Y+=te,Y<0&&(Y=0)):Y>te&&(Y=te),YY)throw new RangeError("Trying to access beyond buffer length")}b.prototype.readUIntLE=function(Z,Y,te){Z=Z|0,Y=Y|0,te||W(Z,Y,this.length);for(var we=this[Z],pe=1,De=0;++De0&&(pe*=256);)we+=this[Z+--Y]*pe;return we},b.prototype.readUInt8=function(Z,Y){return Y||W(Z,1,this.length),this[Z]},b.prototype.readUInt16LE=function(Z,Y){return Y||W(Z,2,this.length),this[Z]|this[Z+1]<<8},b.prototype.readUInt16BE=function(Z,Y){return Y||W(Z,2,this.length),this[Z]<<8|this[Z+1]},b.prototype.readUInt32LE=function(Z,Y){return Y||W(Z,4,this.length),(this[Z]|this[Z+1]<<8|this[Z+2]<<16)+this[Z+3]*16777216},b.prototype.readUInt32BE=function(Z,Y){return Y||W(Z,4,this.length),this[Z]*16777216+(this[Z+1]<<16|this[Z+2]<<8|this[Z+3])},b.prototype.readIntLE=function(Z,Y,te){Z=Z|0,Y=Y|0,te||W(Z,Y,this.length);for(var we=this[Z],pe=1,De=0;++De=pe&&(we-=Math.pow(2,8*Y)),we},b.prototype.readIntBE=function(Z,Y,te){Z=Z|0,Y=Y|0,te||W(Z,Y,this.length);for(var we=Y,pe=1,De=this[Z+--we];we>0&&(pe*=256);)De+=this[Z+--we]*pe;return pe*=128,De>=pe&&(De-=Math.pow(2,8*Y)),De},b.prototype.readInt8=function(Z,Y){return Y||W(Z,1,this.length),this[Z]&128?(255-this[Z]+1)*-1:this[Z]},b.prototype.readInt16LE=function(Z,Y){Y||W(Z,2,this.length);var te=this[Z]|this[Z+1]<<8;return te&32768?te|4294901760:te},b.prototype.readInt16BE=function(Z,Y){Y||W(Z,2,this.length);var te=this[Z+1]|this[Z]<<8;return te&32768?te|4294901760:te},b.prototype.readInt32LE=function(Z,Y){return Y||W(Z,4,this.length),this[Z]|this[Z+1]<<8|this[Z+2]<<16|this[Z+3]<<24},b.prototype.readInt32BE=function(Z,Y){return Y||W(Z,4,this.length),this[Z]<<24|this[Z+1]<<16|this[Z+2]<<8|this[Z+3]},b.prototype.readFloatLE=function(Z,Y){return Y||W(Z,4,this.length),f.read(this,Z,!0,23,4)},b.prototype.readFloatBE=function(Z,Y){return Y||W(Z,4,this.length),f.read(this,Z,!1,23,4)},b.prototype.readDoubleLE=function(Z,Y){return Y||W(Z,8,this.length),f.read(this,Z,!0,52,8)},b.prototype.readDoubleBE=function(Z,Y){return Y||W(Z,8,this.length),f.read(this,Z,!1,52,8)};function P(ae,Z,Y,te,we,pe){if(!b.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(Z>we||Zae.length)throw new RangeError("Index out of range")}b.prototype.writeUIntLE=function(Z,Y,te,we){if(Z=+Z,Y=Y|0,te=te|0,!we){var pe=Math.pow(2,8*te)-1;P(this,Z,Y,te,pe,0)}var De=1,Ne=0;for(this[Y]=Z&255;++Ne=0&&(Ne*=256);)this[Y+De]=Z/Ne&255;return Y+te},b.prototype.writeUInt8=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,1,255,0),b.TYPED_ARRAY_SUPPORT||(Z=Math.floor(Z)),this[Y]=Z&255,Y+1};function G(ae,Z,Y,te){Z<0&&(Z=65535+Z+1);for(var we=0,pe=Math.min(ae.length-Y,2);we>>(te?we:1-we)*8}b.prototype.writeUInt16LE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,2,65535,0),b.TYPED_ARRAY_SUPPORT?(this[Y]=Z&255,this[Y+1]=Z>>>8):G(this,Z,Y,!0),Y+2},b.prototype.writeUInt16BE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,2,65535,0),b.TYPED_ARRAY_SUPPORT?(this[Y]=Z>>>8,this[Y+1]=Z&255):G(this,Z,Y,!1),Y+2};function V(ae,Z,Y,te){Z<0&&(Z=4294967295+Z+1);for(var we=0,pe=Math.min(ae.length-Y,4);we>>(te?we:3-we)*8&255}b.prototype.writeUInt32LE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,4,4294967295,0),b.TYPED_ARRAY_SUPPORT?(this[Y+3]=Z>>>24,this[Y+2]=Z>>>16,this[Y+1]=Z>>>8,this[Y]=Z&255):V(this,Z,Y,!0),Y+4},b.prototype.writeUInt32BE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,4,4294967295,0),b.TYPED_ARRAY_SUPPORT?(this[Y]=Z>>>24,this[Y+1]=Z>>>16,this[Y+2]=Z>>>8,this[Y+3]=Z&255):V(this,Z,Y,!1),Y+4},b.prototype.writeIntLE=function(Z,Y,te,we){if(Z=+Z,Y=Y|0,!we){var pe=Math.pow(2,8*te-1);P(this,Z,Y,te,pe-1,-pe)}var De=0,Ne=1,me=0;for(this[Y]=Z&255;++De>0)-me&255;return Y+te},b.prototype.writeIntBE=function(Z,Y,te,we){if(Z=+Z,Y=Y|0,!we){var pe=Math.pow(2,8*te-1);P(this,Z,Y,te,pe-1,-pe)}var De=te-1,Ne=1,me=0;for(this[Y+De]=Z&255;--De>=0&&(Ne*=256);)Z<0&&me===0&&this[Y+De+1]!==0&&(me=1),this[Y+De]=(Z/Ne>>0)-me&255;return Y+te},b.prototype.writeInt8=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,1,127,-128),b.TYPED_ARRAY_SUPPORT||(Z=Math.floor(Z)),Z<0&&(Z=255+Z+1),this[Y]=Z&255,Y+1},b.prototype.writeInt16LE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,2,32767,-32768),b.TYPED_ARRAY_SUPPORT?(this[Y]=Z&255,this[Y+1]=Z>>>8):G(this,Z,Y,!0),Y+2},b.prototype.writeInt16BE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,2,32767,-32768),b.TYPED_ARRAY_SUPPORT?(this[Y]=Z>>>8,this[Y+1]=Z&255):G(this,Z,Y,!1),Y+2},b.prototype.writeInt32LE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,4,2147483647,-2147483648),b.TYPED_ARRAY_SUPPORT?(this[Y]=Z&255,this[Y+1]=Z>>>8,this[Y+2]=Z>>>16,this[Y+3]=Z>>>24):V(this,Z,Y,!0),Y+4},b.prototype.writeInt32BE=function(Z,Y,te){return Z=+Z,Y=Y|0,te||P(this,Z,Y,4,2147483647,-2147483648),Z<0&&(Z=4294967295+Z+1),b.TYPED_ARRAY_SUPPORT?(this[Y]=Z>>>24,this[Y+1]=Z>>>16,this[Y+2]=Z>>>8,this[Y+3]=Z&255):V(this,Z,Y,!1),Y+4};function q(ae,Z,Y,te,we,pe){if(Y+te>ae.length)throw new RangeError("Index out of range");if(Y<0)throw new RangeError("Index out of range")}function re(ae,Z,Y,te,we){return we||q(ae,Z,Y,4,34028234663852886e22,-34028234663852886e22),f.write(ae,Z,Y,te,23,4),Y+4}b.prototype.writeFloatLE=function(Z,Y,te){return re(this,Z,Y,!0,te)},b.prototype.writeFloatBE=function(Z,Y,te){return re(this,Z,Y,!1,te)};function ce(ae,Z,Y,te,we){return we||q(ae,Z,Y,8,17976931348623157e292,-17976931348623157e292),f.write(ae,Z,Y,te,52,8),Y+8}b.prototype.writeDoubleLE=function(Z,Y,te){return ce(this,Z,Y,!0,te)},b.prototype.writeDoubleBE=function(Z,Y,te){return ce(this,Z,Y,!1,te)},b.prototype.copy=function(Z,Y,te,we){if(te||(te=0),!we&&we!==0&&(we=this.length),Y>=Z.length&&(Y=Z.length),Y||(Y=0),we>0&&we=this.length)throw new RangeError("sourceStart out of bounds");if(we<0)throw new RangeError("sourceEnd out of bounds");we>this.length&&(we=this.length),Z.length-Y=0;--De)Z[De+Y]=this[De+te];else if(pe<1e3||!b.TYPED_ARRAY_SUPPORT)for(De=0;De>>0,te=te===void 0?this.length:te>>>0,Z||(Z=0);var De;if(typeof Z=="number")for(De=Y;De55295&&Y<57344){if(!we){if(Y>56319){(Z-=3)>-1&&pe.push(239,191,189);continue}else if(De+1===te){(Z-=3)>-1&&pe.push(239,191,189);continue}we=Y;continue}if(Y<56320){(Z-=3)>-1&&pe.push(239,191,189),we=Y;continue}Y=(we-55296<<10|Y-56320)+65536}else we&&((Z-=3)>-1&&pe.push(239,191,189));if(we=null,Y<128){if((Z-=1)<0)break;pe.push(Y)}else if(Y<2048){if((Z-=2)<0)break;pe.push(Y>>6|192,Y&63|128)}else if(Y<65536){if((Z-=3)<0)break;pe.push(Y>>12|224,Y>>6&63|128,Y&63|128)}else if(Y<1114112){if((Z-=4)<0)break;pe.push(Y>>18|240,Y>>12&63|128,Y>>6&63|128,Y&63|128)}else throw new Error("Invalid code point")}return pe}function ge(ae){for(var Z=[],Y=0;Y>8,we=Y%256,pe.push(we),pe.push(te);return pe}function ee(ae){return A.toByteArray(fe(ae))}function ue(ae,Z,Y,te){for(var we=0;we=Z.length||we>=ae.length);++we)Z[we+Y]=ae[we];return we}function Ge(ae){return ae!==ae}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},j("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(j,R,l){R.exports={"100":"Continue","101":"Switching Protocols","102":"Processing","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Unordered Collection","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"}},{}],75:[function(j,R,l){R.exports={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,E2BIG:7,EACCES:13,EADDRINUSE:48,EADDRNOTAVAIL:49,EAFNOSUPPORT:47,EAGAIN:35,EALREADY:37,EBADF:9,EBADMSG:94,EBUSY:16,ECANCELED:89,ECHILD:10,ECONNABORTED:53,ECONNREFUSED:61,ECONNRESET:54,EDEADLK:11,EDESTADDRREQ:39,EDOM:33,EDQUOT:69,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:65,EIDRM:90,EILSEQ:92,EINPROGRESS:36,EINTR:4,EINVAL:22,EIO:5,EISCONN:56,EISDIR:21,ELOOP:62,EMFILE:24,EMLINK:31,EMSGSIZE:40,EMULTIHOP:95,ENAMETOOLONG:63,ENETDOWN:50,ENETRESET:52,ENETUNREACH:51,ENFILE:23,ENOBUFS:55,ENODATA:96,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:77,ENOLINK:97,ENOMEM:12,ENOMSG:91,ENOPROTOOPT:42,ENOSPC:28,ENOSR:98,ENOSTR:99,ENOSYS:78,ENOTCONN:57,ENOTDIR:20,ENOTEMPTY:66,ENOTSOCK:38,ENOTSUP:45,ENOTTY:25,ENXIO:6,EOPNOTSUPP:102,EOVERFLOW:84,EPERM:1,EPIPE:32,EPROTO:100,EPROTONOSUPPORT:43,EPROTOTYPE:41,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:70,ETIME:101,ETIMEDOUT:60,ETXTBSY:26,EWOULDBLOCK:35,EXDEV:18,SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:10,SIGFPE:8,SIGKILL:9,SIGUSR1:30,SIGSEGV:11,SIGUSR2:31,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:20,SIGCONT:19,SIGSTOP:17,SIGTSTP:18,SIGTTIN:21,SIGTTOU:22,SIGURG:16,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:23,SIGSYS:12,SSL_OP_ALL:2147486719,SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:262144,SSL_OP_CIPHER_SERVER_PREFERENCE:4194304,SSL_OP_CISCO_ANYCONNECT:32768,SSL_OP_COOKIE_EXCHANGE:8192,SSL_OP_CRYPTOPRO_TLSEXT_BUG:2147483648,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:2048,SSL_OP_EPHEMERAL_RSA:0,SSL_OP_LEGACY_SERVER_CONNECT:4,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:32,SSL_OP_MICROSOFT_SESS_ID_BUG:1,SSL_OP_MSIE_SSLV2_RSA_PADDING:0,SSL_OP_NETSCAPE_CA_DN_BUG:536870912,SSL_OP_NETSCAPE_CHALLENGE_BUG:2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:1073741824,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:8,SSL_OP_NO_COMPRESSION:131072,SSL_OP_NO_QUERY_MTU:4096,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:65536,SSL_OP_NO_SSLv2:16777216,SSL_OP_NO_SSLv3:33554432,SSL_OP_NO_TICKET:16384,SSL_OP_NO_TLSv1:67108864,SSL_OP_NO_TLSv1_1:268435456,SSL_OP_NO_TLSv1_2:134217728,SSL_OP_PKCS1_CHECK_1:0,SSL_OP_PKCS1_CHECK_2:0,SSL_OP_SINGLE_DH_USE:1048576,SSL_OP_SINGLE_ECDH_USE:524288,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:128,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:0,SSL_OP_TLS_BLOCK_PADDING_BUG:512,SSL_OP_TLS_D5_BUG:256,SSL_OP_TLS_ROLLBACK_BUG:8388608,ENGINE_METHOD_DSA:2,ENGINE_METHOD_DH:4,ENGINE_METHOD_RAND:8,ENGINE_METHOD_ECDH:16,ENGINE_METHOD_ECDSA:32,ENGINE_METHOD_CIPHERS:64,ENGINE_METHOD_DIGESTS:128,ENGINE_METHOD_STORE:256,ENGINE_METHOD_PKEY_METHS:512,ENGINE_METHOD_PKEY_ASN1_METHS:1024,ENGINE_METHOD_ALL:65535,ENGINE_METHOD_NONE:0,DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_UDP_REUSEADDR:4}},{}],76:[function(j,R,l){/*! * copy-to - index.js * Copyright(c) 2014 dead_horse * MIT Licensed -*/"use strict";var x=Array.prototype.slice;R.exports=b;function b(f,t){if(!(this instanceof b))return new b(f,t);this.src=f,this._withAccess=t}b.prototype.withAccess=function(f){return this._withAccess=f!==!1,this},b.prototype.pick=function(f){return Array.isArray(f)||(f=x.call(arguments)),f.length&&(this.keys=f),this},b.prototype.to=function(f){if(f=f||{},!this.src)return f;var t=this.keys||Object.keys(this.src);if(!this._withAccess){for(var e=0;en;)if(s=d[n++],s!=s)return!0}else for(;a>n;n++)if((f||n in d)&&d[n]===e)return f||n||0;return!f&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(j,R,l){var x=j("./_cof"),b=j("./_wks")("toStringTag"),A=x(function(){return arguments}())=="Arguments",f=function(e,m){try{return e[m]}catch(d){}};R.exports=function(t){var e,m,d;return t===void 0?"Undefined":t===null?"Null":typeof(m=f(e=Object(t),b))=="string"?m:A?x(e):(d=x(e))=="Object"&&typeof e.callee=="function"?"Arguments":d}},{"./_cof":98,"./_wks":166}],98:[function(j,R,l){var x={}.toString;R.exports=function(b){return x.call(b).slice(8,-1)}},{}],99:[function(j,R,l){var x=R.exports={version:"2.6.11"};typeof __e=="number"&&(__e=x)},{}],100:[function(j,R,l){"use strict";var x=j("./_object-dp"),b=j("./_property-desc");R.exports=function(A,f,t){f in A?x.f(A,f,b(0,t)):A[f]=t}},{"./_object-dp":132,"./_property-desc":146}],101:[function(j,R,l){var x=j("./_a-function");R.exports=function(b,A,f){if(x(b),A===void 0)return b;switch(f){case 1:return function(t){return b.call(A,t)};case 2:return function(t,e){return b.call(A,t,e)};case 3:return function(t,e,m){return b.call(A,t,e,m)}}return function(){return b.apply(A,arguments)}}},{"./_a-function":92}],102:[function(j,R,l){R.exports=function(x){if(x==null)throw TypeError("Can't call method on "+x);return x}},{}],103:[function(j,R,l){R.exports=!j("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(j,R,l){var x=j("./_is-object"),b=j("./_global").document,A=x(b)&&x(b.createElement);R.exports=function(f){return A?b.createElement(f):{}}},{"./_global":110,"./_is-object":119}],105:[function(j,R,l){R.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(j,R,l){var x=j("./_object-keys"),b=j("./_object-gops"),A=j("./_object-pie");R.exports=function(f){var t=x(f),e=b.f;if(e)for(var m=e(f),d=A.f,a=0,n;m.length>a;)d.call(f,n=m[a++])&&t.push(n);return t}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(j,R,l){var x=j("./_global"),b=j("./_core"),A=j("./_ctx"),f=j("./_hide"),t=j("./_has"),e="prototype",m=function d(a,n,s){var c=a&d.F,i=a&d.G,u=a&d.S,r=a&d.P,o=a&d.B,h=a&d.W,p=i?b:b[n]||(b[n]={}),g=p[e],v=i?x:u?x[n]:(x[n]||{})[e],y,w,S;i&&(s=n);for(y in s){if(w=!c&&v&&v[y]!==void 0,w&&t(p,y))continue;S=w?v[y]:s[y],p[y]=i&&typeof v[y]!="function"?s[y]:o&&w?A(S,x):h&&v[y]==S?function(_){var I=function(E,O,M){if(this instanceof _){switch(arguments.length){case 0:return new _;case 1:return new _(E);case 2:return new _(E,O)}return new _(E,O,M)}return _.apply(this,arguments)};return I[e]=_[e],I}(S):r&&typeof S=="function"?A(Function.call,S):S,r&&((p.virtual||(p.virtual={}))[y]=S,a&d.R&&g&&!g[y]&&f(g,y,S))}};m.F=1,m.G=2,m.S=4,m.P=8,m.B=16,m.W=32,m.U=64,m.R=128,R.exports=m},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(j,R,l){R.exports=function(x){try{return!!x()}catch(b){return!0}}},{}],109:[function(j,R,l){var x=j("./_ctx"),b=j("./_iter-call"),A=j("./_is-array-iter"),f=j("./_an-object"),t=j("./_to-length"),e=j("./core.get-iterator-method"),m={},d={},l=R.exports=function(a,n,s,c,i){var u=i?function(){return a}:e(a),r=x(s,c,n?2:1),o=0,h,p,g,v;if(typeof u!="function")throw TypeError(a+" is not iterable!");if(A(u)){for(h=t(a.length);h>o;o++)if(v=n?r(f(p=a[o])[0],p[1]):r(a[o]),v===m||v===d)return v}else for(g=u.call(a);!(p=g.next()).done;)if(v=b(g,r,p.value,n),v===m||v===d)return v};l.BREAK=m,l.RETURN=d},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(j,R,l){var x=R.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=x)},{}],111:[function(j,R,l){var x={}.hasOwnProperty;R.exports=function(b,A){return x.call(b,A)}},{}],112:[function(j,R,l){var x=j("./_object-dp"),b=j("./_property-desc");R.exports=j("./_descriptors")?function(A,f,t){return x.f(A,f,b(1,t))}:function(A,f,t){return A[f]=t,A}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(j,R,l){var x=j("./_global").document;R.exports=x&&x.documentElement},{"./_global":110}],114:[function(j,R,l){R.exports=!j("./_descriptors")&&!j("./_fails")(function(){return Object.defineProperty(j("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(j,R,l){R.exports=function(x,b,A){var f=A===void 0;switch(b.length){case 0:return f?x():x.call(A);case 1:return f?x(b[0]):x.call(A,b[0]);case 2:return f?x(b[0],b[1]):x.call(A,b[0],b[1]);case 3:return f?x(b[0],b[1],b[2]):x.call(A,b[0],b[1],b[2]);case 4:return f?x(b[0],b[1],b[2],b[3]):x.call(A,b[0],b[1],b[2],b[3])}return x.apply(A,b)}},{}],116:[function(j,R,l){var x=j("./_cof");R.exports=Object("z").propertyIsEnumerable(0)?Object:function(b){return x(b)=="String"?b.split(""):Object(b)}},{"./_cof":98}],117:[function(j,R,l){var x=j("./_iterators"),b=j("./_wks")("iterator"),A=Array.prototype;R.exports=function(f){return f!==void 0&&(x.Array===f||A[b]===f)}},{"./_iterators":125,"./_wks":166}],118:[function(j,R,l){var x=j("./_cof");R.exports=Array.isArray||function(A){return x(A)=="Array"}},{"./_cof":98}],119:[function(j,R,l){R.exports=function(x){return typeof x=="object"?x!==null:typeof x=="function"}},{}],120:[function(j,R,l){var x=j("./_an-object");R.exports=function(b,A,f,t){try{return t?A(x(f)[0],f[1]):A(f)}catch(m){var e=b.return;throw e!==void 0&&x(e.call(b)),m}}},{"./_an-object":95}],121:[function(j,R,l){"use strict";var x=j("./_object-create"),b=j("./_property-desc"),A=j("./_set-to-string-tag"),f={};j("./_hide")(f,j("./_wks")("iterator"),function(){return this}),R.exports=function(t,e,m){t.prototype=x(f,{next:b(1,m)}),A(t,e+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(j,R,l){"use strict";var x=j("./_library"),b=j("./_export"),A=j("./_redefine"),f=j("./_hide"),t=j("./_iterators"),e=j("./_iter-create"),m=j("./_set-to-string-tag"),d=j("./_object-gpo"),a=j("./_wks")("iterator"),n=!([].keys&&"next"in[].keys()),s="@@iterator",c="keys",i="values",u=function(){return this};R.exports=function(r,o,h,p,g,v,y){e(h,o,p);var w=function(k){if(!n&&k in C)return C[k];switch(k){case c:return function(){return new h(this,k)};case i:return function(){return new h(this,k)}}return function(){return new h(this,k)}},S=o+" Iterator",_=g==i,I=!1,C=r.prototype,E=C[a]||C[s]||g&&C[g],O=E||w(g),M=g?_?w("entries"):O:void 0,F=o=="Array"&&C.entries||E,H,B,X;if(F&&(X=d(F.call(new r)),X!==Object.prototype&&X.next&&(m(X,S,!0),!x&&typeof X[a]!="function"&&f(X,a,u))),_&&E&&E.name!==i&&(I=!0,O=function(){return E.call(this)}),(!x||y)&&(n||I||!C[a])&&f(C,a,O),t[o]=O,t[S]=u,g)if(H={values:_?O:w(i),keys:v?O:w(c),entries:M},y)for(B in H)B in C||A(C,B,H[B]);else b(b.P+b.F*(n||I),o,H);return H}},{"./_export":107,"./_hide":112,"./_iter-create":121,"./_iterators":125,"./_library":126,"./_object-gpo":138,"./_redefine":148,"./_set-to-string-tag":150,"./_wks":166}],123:[function(j,R,l){var x=j("./_wks")("iterator"),b=!1;try{var A=[7][x]();A.return=function(){b=!0},Array.from(A,function(){throw 2})}catch(f){}R.exports=function(f,t){if(!t&&!b)return!1;var e=!1;try{var m=[7],d=m[x]();d.next=function(){return{done:e=!0}},m[x]=function(){return d},f(m)}catch(a){}return e}},{"./_wks":166}],124:[function(j,R,l){R.exports=function(x,b){return{value:b,done:!!x}}},{}],125:[function(j,R,l){R.exports={}},{}],126:[function(j,R,l){R.exports=!0},{}],127:[function(j,R,l){var x=j("./_uid")("meta"),b=j("./_is-object"),A=j("./_has"),f=j("./_object-dp").f,t=0,e=Object.isExtensible||function(){return!0},m=!j("./_fails")(function(){return e(Object.preventExtensions({}))}),d=function(u){f(u,x,{value:{i:"O"+ ++t,w:{}}})},a=function(u,r){if(!b(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!A(u,x)){if(!e(u))return"F";if(!r)return"E";d(u)}return u[x].i},n=function(u,r){if(!A(u,x)){if(!e(u))return!0;if(!r)return!1;d(u)}return u[x].w},s=function(u){return m&&c.NEED&&e(u)&&!A(u,x)&&d(u),u},c=R.exports={KEY:x,NEED:!1,fastKey:a,getWeak:n,onFreeze:s}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(j,R,l){var x=j("./_global"),b=j("./_task").set,A=x.MutationObserver||x.WebKitMutationObserver,f=x.process,t=x.Promise,e=j("./_cof")(f)=="process";R.exports=function(){var m,d,a,n=function(){var r,o;for(e&&(r=f.domain)&&r.exit();m;){o=m.fn,m=m.next;try{o()}catch(h){throw m?a():d=void 0,h}}d=void 0,r&&r.enter()};if(e)a=function(){f.nextTick(n)};else if(A&&!(x.navigator&&x.navigator.standalone)){var s=!0,c=document.createTextNode("");new A(n).observe(c,{characterData:!0}),a=function(){c.data=s=!s}}else if(t&&t.resolve){var i=t.resolve(void 0);a=function(){i.then(n)}}else a=function(){b.call(x,n)};return function(u){var r={fn:u,next:void 0};d&&(d.next=r),m||(m=r,a()),d=r}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(j,R,l){"use strict";var x=j("./_a-function");function b(A){var f,t;this.promise=new A(function(e,m){if(f!==void 0||t!==void 0)throw TypeError("Bad Promise constructor");f=e,t=m}),this.resolve=x(f),this.reject=x(t)}R.exports.f=function(A){return new b(A)}},{"./_a-function":92}],130:[function(j,R,l){"use strict";var x=j("./_descriptors"),b=j("./_object-keys"),A=j("./_object-gops"),f=j("./_object-pie"),t=j("./_to-object"),e=j("./_iobject"),m=Object.assign;R.exports=!m||j("./_fails")(function(){var d={},a={},n=Symbol(),s="abcdefghijklmnopqrst";return d[n]=7,s.split("").forEach(function(c){a[c]=c}),m({},d)[n]!=7||Object.keys(m({},a)).join("")!=s})?function(a,n){for(var s=t(a),c=arguments.length,i=1,u=A.f,r=f.f;c>i;)for(var o=e(arguments[i++]),h=u?b(o).concat(u(o)):b(o),p=h.length,g=0,v;p>g;)v=h[g++],(!x||r.call(o,v))&&(s[v]=o[v]);return s}:m},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(j,R,l){var x=j("./_an-object"),b=j("./_object-dps"),A=j("./_enum-bug-keys"),f=j("./_shared-key")("IE_PROTO"),t=function(){},e="prototype",m=function(){var a=j("./_dom-create")("iframe"),n=A.length,s="<",c=">",i;for(a.style.display="none",j("./_html").appendChild(a),a.src="javascript:",i=a.contentWindow.document,i.open(),i.write(s+"script"+c+"document.F=Object"+s+"/script"+c),i.close(),m=i.F;n--;)delete m[e][A[n]];return m()};R.exports=Object.create||function(a,n){var s;return a!==null?(t[e]=x(a),s=new t,t[e]=null,s[f]=a):s=m(),n===void 0?s:b(s,n)}},{"./_an-object":95,"./_dom-create":104,"./_enum-bug-keys":105,"./_html":113,"./_object-dps":133,"./_shared-key":151}],132:[function(j,R,l){var x=j("./_an-object"),b=j("./_ie8-dom-define"),A=j("./_to-primitive"),f=Object.defineProperty;l.f=j("./_descriptors")?Object.defineProperty:function(e,m,d){if(x(e),m=A(m,!0),x(d),b)try{return f(e,m,d)}catch(a){}if("get"in d||"set"in d)throw TypeError("Accessors not supported!");return"value"in d&&(e[m]=d.value),e}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(j,R,l){var x=j("./_object-dp"),b=j("./_an-object"),A=j("./_object-keys");R.exports=j("./_descriptors")?Object.defineProperties:function(t,e){b(t);for(var m=A(e),d=m.length,a=0,n;d>a;)x.f(t,n=m[a++],e[n]);return t}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(j,R,l){var x=j("./_object-pie"),b=j("./_property-desc"),A=j("./_to-iobject"),f=j("./_to-primitive"),t=j("./_has"),e=j("./_ie8-dom-define"),m=Object.getOwnPropertyDescriptor;l.f=j("./_descriptors")?m:function(a,n){if(a=A(a),n=f(n,!0),e)try{return m(a,n)}catch(s){}if(t(a,n))return b(!x.f.call(a,n),a[n])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(j,R,l){var x=j("./_to-iobject"),b=j("./_object-gopn").f,A={}.toString,f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],t=function(m){try{return b(m)}catch(d){return f.slice()}};R.exports.f=function(m){return f&&A.call(m)=="[object Window]"?t(m):b(x(m))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(j,R,l){var x=j("./_object-keys-internal"),b=j("./_enum-bug-keys").concat("length","prototype");l.f=Object.getOwnPropertyNames||function(f){return x(f,b)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(j,R,l){l.f=Object.getOwnPropertySymbols},{}],138:[function(j,R,l){var x=j("./_has"),b=j("./_to-object"),A=j("./_shared-key")("IE_PROTO"),f=Object.prototype;R.exports=Object.getPrototypeOf||function(t){return t=b(t),x(t,A)?t[A]:typeof t.constructor=="function"&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?f:null}},{"./_has":111,"./_shared-key":151,"./_to-object":160}],139:[function(j,R,l){var x=j("./_has"),b=j("./_to-iobject"),A=j("./_array-includes")(!1),f=j("./_shared-key")("IE_PROTO");R.exports=function(t,e){var m=b(t),d=0,a=[],n;for(n in m)n!=f&&(x(m,n)&&a.push(n));for(;e.length>d;)x(m,n=e[d++])&&(~A(a,n)||a.push(n));return a}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(j,R,l){var x=j("./_object-keys-internal"),b=j("./_enum-bug-keys");R.exports=Object.keys||function(f){return x(f,b)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(j,R,l){l.f={}.propertyIsEnumerable},{}],142:[function(j,R,l){var x=j("./_export"),b=j("./_core"),A=j("./_fails");R.exports=function(f,t){var e=(b.Object||{})[f]||Object[f],m={};m[f]=t(e),x(x.S+x.F*A(function(){e(1)}),"Object",m)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(j,R,l){var x=j("./_descriptors"),b=j("./_object-keys"),A=j("./_to-iobject"),f=j("./_object-pie").f;R.exports=function(t){return function(e){for(var m=A(e),d=b(m),a=d.length,n=0,s=[],c;a>n;)c=d[n++],(!x||f.call(m,c))&&s.push(t?[c,m[c]]:m[c]);return s}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(j,R,l){R.exports=function(x){try{return{e:!1,v:x()}}catch(b){return{e:!0,v:b}}}},{}],145:[function(j,R,l){var x=j("./_an-object"),b=j("./_is-object"),A=j("./_new-promise-capability");R.exports=function(f,t){if(x(f),b(t)&&t.constructor===f)return t;var e=A.f(f),m=e.resolve;return m(t),e.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(j,R,l){R.exports=function(x,b){return{enumerable:!(x&1),configurable:!(x&2),writable:!(x&4),value:b}}},{}],147:[function(j,R,l){var x=j("./_hide");R.exports=function(b,A,f){for(var t in A)f&&b[t]?b[t]=A[t]:x(b,t,A[t]);return b}},{"./_hide":112}],148:[function(j,R,l){R.exports=j("./_hide")},{"./_hide":112}],149:[function(j,R,l){"use strict";var x=j("./_global"),b=j("./_core"),A=j("./_object-dp"),f=j("./_descriptors"),t=j("./_wks")("species");R.exports=function(e){var m=typeof b[e]=="function"?b[e]:x[e];f&&m&&!m[t]&&A.f(m,t,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(j,R,l){var x=j("./_object-dp").f,b=j("./_has"),A=j("./_wks")("toStringTag");R.exports=function(f,t,e){f&&!b(f=e?f:f.prototype,A)&&x(f,A,{configurable:!0,value:t})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(j,R,l){var x=j("./_shared")("keys"),b=j("./_uid");R.exports=function(A){return x[A]||(x[A]=b(A))}},{"./_shared":152,"./_uid":162}],152:[function(j,R,l){var x=j("./_core"),b=j("./_global"),A="__core-js_shared__",f=b[A]||(b[A]={});(R.exports=function(t,e){return f[t]||(f[t]=e!==void 0?e:{})})("versions",[]).push({version:x.version,mode:j("./_library")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(j,R,l){var x=j("./_an-object"),b=j("./_a-function"),A=j("./_wks")("species");R.exports=function(f,t){var e=x(f).constructor,m;return e===void 0||(m=x(e)[A])==null?t:b(m)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(j,R,l){var x=j("./_to-integer"),b=j("./_defined");R.exports=function(A){return function(f,t){var e=String(b(f)),m=x(t),d=e.length,a,n;return m<0||m>=d?A?"":void 0:(a=e.charCodeAt(m),a<55296||a>56319||m+1===d||(n=e.charCodeAt(m+1))<56320||n>57343?A?e.charAt(m):a:A?e.slice(m,m+2):(a-55296<<10)+(n-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(j,R,l){var x=j("./_ctx"),b=j("./_invoke"),A=j("./_html"),f=j("./_dom-create"),t=j("./_global"),e=t.process,m=t.setImmediate,d=t.clearImmediate,a=t.MessageChannel,n=t.Dispatch,s=0,c={},i="onreadystatechange",u,r,o,h=function(){var v=+this;if(c.hasOwnProperty(v)){var y=c[v];delete c[v],y()}},p=function(v){h.call(v.data)};(!m||!d)&&(m=function(v){for(var y=[],w=1;arguments.length>w;)y.push(arguments[w++]);return c[++s]=function(){b(typeof v=="function"?v:Function(v),y)},u(s),s},d=function(v){delete c[v]},j("./_cof")(e)=="process"?u=function(v){e.nextTick(x(h,v,1))}:n&&n.now?u=function(v){n.now(x(h,v,1))}:a?(r=new a,o=r.port2,r.port1.onmessage=p,u=x(o.postMessage,o,1)):t.addEventListener&&typeof postMessage=="function"&&!t.importScripts?(u=function(v){t.postMessage(v+"","*")},t.addEventListener("message",p,!1)):i in f("script")?u=function(v){A.appendChild(f("script"))[i]=function(){A.removeChild(this),h.call(v)}}:u=function(v){setTimeout(x(h,v,1),0)}),R.exports={set:m,clear:d}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(j,R,l){var x=j("./_to-integer"),b=Math.max,A=Math.min;R.exports=function(f,t){return f=x(f),f<0?b(f+t,0):A(f,t)}},{"./_to-integer":157}],157:[function(j,R,l){var x=Math.ceil,b=Math.floor;R.exports=function(A){return isNaN(A=+A)?0:(A>0?b:x)(A)}},{}],158:[function(j,R,l){var x=j("./_iobject"),b=j("./_defined");R.exports=function(A){return x(b(A))}},{"./_defined":102,"./_iobject":116}],159:[function(j,R,l){var x=j("./_to-integer"),b=Math.min;R.exports=function(A){return A>0?b(x(A),9007199254740991):0}},{"./_to-integer":157}],160:[function(j,R,l){var x=j("./_defined");R.exports=function(b){return Object(x(b))}},{"./_defined":102}],161:[function(j,R,l){var x=j("./_is-object");R.exports=function(b,A){if(!x(b))return b;var f,t;if(A&&typeof(f=b.toString)=="function"&&!x(t=f.call(b)))return t;if(typeof(f=b.valueOf)=="function"&&!x(t=f.call(b)))return t;if(!A&&typeof(f=b.toString)=="function"&&!x(t=f.call(b)))return t;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(j,R,l){var x=0,b=Math.random();R.exports=function(A){return"Symbol(".concat(A===void 0?"":A,")_",(++x+b).toString(36))}},{}],163:[function(j,R,l){var x=j("./_global"),b=x.navigator;R.exports=b&&b.userAgent||""},{"./_global":110}],164:[function(j,R,l){var x=j("./_global"),b=j("./_core"),A=j("./_library"),f=j("./_wks-ext"),t=j("./_object-dp").f;R.exports=function(e){var m=b.Symbol||(b.Symbol=A?{}:x.Symbol||{});e.charAt(0)!="_"&&!(e in m)&&t(m,e,{value:f.f(e)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(j,R,l){l.f=j("./_wks")},{"./_wks":166}],166:[function(j,R,l){var x=j("./_shared")("wks"),b=j("./_uid"),A=j("./_global").Symbol,f=typeof A=="function",t=R.exports=function(e){return x[e]||(x[e]=f&&A[e]||(f?A:b)("Symbol."+e))};t.store=x},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(j,R,l){var x=j("./_classof"),b=j("./_wks")("iterator"),A=j("./_iterators");R.exports=j("./_core").getIteratorMethod=function(f){if(f!=null)return f[b]||f["@@iterator"]||A[x(f)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(j,R,l){"use strict";var x=j("./_ctx"),b=j("./_export"),A=j("./_to-object"),f=j("./_iter-call"),t=j("./_is-array-iter"),e=j("./_to-length"),m=j("./_create-property"),d=j("./core.get-iterator-method");b(b.S+b.F*!j("./_iter-detect")(function(a){Array.from(a)}),"Array",{from:function(n){var s=A(n),c=typeof this=="function"?this:Array,i=arguments.length,u=i>1?arguments[1]:void 0,r=u!==void 0,o=0,h=d(s),p,g,v,y;if(r&&(u=x(u,i>2?arguments[2]:void 0,2)),h!=null&&!(c==Array&&t(h)))for(y=h.call(s),g=new c;!(v=y.next()).done;o++)m(g,o,r?f(y,u,[v.value,o],!0):v.value);else for(p=e(s.length),g=new c(p);p>o;o++)m(g,o,r?u(s[o],o):s[o]);return g.length=o,g}})},{"./_create-property":100,"./_ctx":101,"./_export":107,"./_is-array-iter":117,"./_iter-call":120,"./_iter-detect":123,"./_to-length":159,"./_to-object":160,"./core.get-iterator-method":167}],169:[function(j,R,l){"use strict";var x=j("./_add-to-unscopables"),b=j("./_iter-step"),A=j("./_iterators"),f=j("./_to-iobject");R.exports=j("./_iter-define")(Array,"Array",function(t,e){this._t=f(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,m=this._i++;return!t||m>=t.length?(this._t=void 0,b(1)):e=="keys"?b(0,m):e=="values"?b(0,t[m]):b(0,[m,t[m]])},"values"),A.Arguments=A.Array,x("keys"),x("values"),x("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(j,R,l){"use strict";var x=j("./_is-object"),b=j("./_object-gpo"),A=j("./_wks")("hasInstance"),f=Function.prototype;A in f||j("./_object-dp").f(f,A,{value:function(e){if(typeof this!="function"||!x(e))return!1;if(!x(this.prototype))return e instanceof this;for(;e=b(e);)if(this.prototype===e)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(j,R,l){var x=j("./_export");x(x.S+x.F,"Object",{assign:j("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(j,R,l){var x=j("./_export");x(x.S,"Object",{create:j("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(j,R,l){var x=j("./_export");x(x.S+x.F*!j("./_descriptors"),"Object",{defineProperty:j("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(j,R,l){j("./_object-sap")("getOwnPropertyNames",function(){return j("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(j,R,l){var x=j("./_to-object"),b=j("./_object-gpo");j("./_object-sap")("getPrototypeOf",function(){return function(f){return b(x(f))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(j,R,l){var x=j("./_to-object"),b=j("./_object-keys");j("./_object-sap")("keys",function(){return function(f){return b(x(f))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(j,R,l){arguments[4][71][0].apply(l,arguments)},{dup:71}],178:[function(j,R,l){"use strict";var x=j("./_library"),b=j("./_global"),A=j("./_ctx"),f=j("./_classof"),t=j("./_export"),e=j("./_is-object"),m=j("./_a-function"),d=j("./_an-instance"),a=j("./_for-of"),n=j("./_species-constructor"),s=j("./_task").set,c=j("./_microtask")(),i=j("./_new-promise-capability"),u=j("./_perform"),r=j("./_user-agent"),o=j("./_promise-resolve"),h="Promise",p=b.TypeError,g=b.process,v=g&&g.versions,y=v&&v.v8||"",w=b[h],S=f(g)=="process",_=function(){},I,C,E,O,M=C=i.f,F=!!function(){try{var K=w.resolve(1),P=(K.constructor={})[j("./_wks")("species")]=function(G){G(_,_)};return(S||typeof PromiseRejectionEvent=="function")&&K.then(_)instanceof P&&y.indexOf("6.6")!==0&&r.indexOf("Chrome/66")===-1}catch(G){}}(),H=function(P){var G;return e(P)&&typeof(G=P.then)=="function"?G:!1},B=function(P,G){if(P._n)return;P._n=!0;var V=P._c;c(function(){for(var q=P._v,re=P._s==1,ce=0,ie=function(xe){var Se=re?xe.ok:xe.fail,ke=xe.resolve,ge=xe.reject,Be=xe.domain,ee,ue,Ge;try{Se?(re||(P._h==2&&k(P),P._h=1),Se===!0?ee=q:(Be&&Be.enter(),ee=Se(q),Be&&(Be.exit(),Ge=!0)),ee===xe.promise?ge(p("Promise-chain cycle")):(ue=H(ee))?ue.call(ee,ke,ge):ke(ee)):ge(q)}catch(ae){Be&&!Ge&&Be.exit(),ge(ae)}};V.length>ce;)ie(V[ce++]);P._c=[],P._n=!1,G&&!P._h&&X(P)})},X=function(P){s.call(b,function(){var G=P._v,V=J(P),q,re,ce;if(V&&(q=u(function(){S?g.emit("unhandledRejection",G,P):(re=b.onunhandledrejection)?re({promise:P,reason:G}):(ce=b.console)&&ce.error&&ce.error("Unhandled promise rejection",G)}),P._h=S||J(P)?2:1),P._a=void 0,V&&q.e)throw q.v})},J=function(P){return P._h!==1&&(P._a||P._c).length===0},k=function(P){s.call(b,function(){var G;S?g.emit("rejectionHandled",P):(G=b.onrejectionhandled)&&G({promise:P,reason:P._v})})},W=function(P){var G=this;if(G._d)return;G._d=!0,G=G._w||G,G._v=P,G._s=2,G._a||(G._a=G._c.slice()),B(G,!0)},z=function K(P){var G=this,V;if(G._d)return;G._d=!0,G=G._w||G;try{if(G===P)throw p("Promise can't be resolved itself");(V=H(P))?c(function(){var q={_w:G,_d:!1};try{V.call(P,A(K,q,1),A(W,q,1))}catch(re){W.call(q,re)}}):(G._v=P,G._s=1,B(G,!1))}catch(q){W.call({_w:G,_d:!1},q)}};F||(w=function(P){d(this,w,h,"_h"),m(P),I.call(this);try{P(A(z,this,1),A(W,this,1))}catch(G){W.call(this,G)}},I=function(P){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},I.prototype=j("./_redefine-all")(w.prototype,{then:function(P,G){var V=M(n(this,w));return V.ok=typeof P=="function"?P:!0,V.fail=typeof G=="function"&&G,V.domain=S?g.domain:void 0,this._c.push(V),this._a&&this._a.push(V),this._s&&B(this,!1),V.promise},catch:function(P){return this.then(void 0,P)}}),E=function(){var P=new I;this.promise=P,this.resolve=A(z,P,1),this.reject=A(W,P,1)},i.f=M=function(P){return P===w||P===O?new E(P):C(P)}),t(t.G+t.W+t.F*!F,{Promise:w}),j("./_set-to-string-tag")(w,h),j("./_set-species")(h),O=j("./_core")[h],t(t.S+t.F*!F,h,{reject:function(P){var G=M(this),V=G.reject;return V(P),G.promise}}),t(t.S+t.F*(x||!F),h,{resolve:function(P){return o(x&&this===O?w:this,P)}}),t(t.S+t.F*!(F&&j("./_iter-detect")(function(K){w.all(K).catch(_)})),h,{all:function(P){var G=this,V=M(G),q=V.resolve,re=V.reject,ce=u(function(){var ie=[],fe=0,xe=1;a(P,!1,function(Se){var ke=fe++,ge=!1;ie.push(void 0),xe++,G.resolve(Se).then(function(Be){if(ge)return;ge=!0,ie[ke]=Be,--xe||q(ie)},re)}),--xe||q(ie)});return ce.e&&re(ce.v),V.promise},race:function(P){var G=this,V=M(G),q=V.reject,re=u(function(){a(P,!1,function(ce){G.resolve(ce).then(V.resolve,q)})});return re.e&&q(re.v),V.promise}})},{"./_a-function":92,"./_an-instance":94,"./_classof":97,"./_core":99,"./_ctx":101,"./_export":107,"./_for-of":109,"./_global":110,"./_is-object":119,"./_iter-detect":123,"./_library":126,"./_microtask":128,"./_new-promise-capability":129,"./_perform":144,"./_promise-resolve":145,"./_redefine-all":147,"./_set-species":149,"./_set-to-string-tag":150,"./_species-constructor":153,"./_task":155,"./_user-agent":163,"./_wks":166}],179:[function(j,R,l){var x=j("./_export"),b=j("./_to-absolute-index"),A=String.fromCharCode,f=String.fromCodePoint;x(x.S+x.F*(!!f&&f.length!=1),"String",{fromCodePoint:function(e){for(var m=[],d=arguments.length,a=0,n;d>a;){if(n=+arguments[a++],b(n,1114111)!==n)throw RangeError(n+" is not a valid code point");m.push(n<65536?A(n):A(((n-=65536)>>10)+55296,n%1024+56320))}return m.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(j,R,l){"use strict";var x=j("./_string-at")(!0);j("./_iter-define")(String,"String",function(b){this._t=String(b),this._i=0},function(){var b=this._t,A=this._i,f;return A>=b.length?{value:void 0,done:!0}:(f=x(b,A),this._i+=f.length,{value:f,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(j,R,l){"use strict";var x=j("./_global"),b=j("./_has"),A=j("./_descriptors"),f=j("./_export"),t=j("./_redefine"),e=j("./_meta").KEY,m=j("./_fails"),d=j("./_shared"),a=j("./_set-to-string-tag"),n=j("./_uid"),s=j("./_wks"),c=j("./_wks-ext"),i=j("./_wks-define"),u=j("./_enum-keys"),r=j("./_is-array"),o=j("./_an-object"),h=j("./_is-object"),p=j("./_to-object"),g=j("./_to-iobject"),v=j("./_to-primitive"),y=j("./_property-desc"),w=j("./_object-create"),S=j("./_object-gopn-ext"),_=j("./_object-gopd"),I=j("./_object-gops"),C=j("./_object-dp"),E=j("./_object-keys"),O=_.f,M=C.f,F=S.f,H=x.Symbol,B=x.JSON,X=B&&B.stringify,J="prototype",k=s("_hidden"),W=s("toPrimitive"),z={}.propertyIsEnumerable,K=d("symbol-registry"),P=d("symbols"),G=d("op-symbols"),V=Object[J],q=typeof H=="function"&&!!I.f,re=x.QObject,ce=!re||!re[J]||!re[J].findChild,ie=A&&m(function(){return w(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a!=7})?function(pe,De,Ne){var me=O(V,De);me&&delete V[De],M(pe,De,Ne),me&&pe!==V&&M(V,De,me)}:M,fe=function(De){var Ne=P[De]=w(H[J]);return Ne._k=De,Ne},xe=q&&typeof H.iterator=="symbol"?function(pe){return typeof pe=="symbol"}:function(pe){return pe instanceof H},Se=function(De,Ne,me){return De===V&&Se(G,Ne,me),o(De),Ne=v(Ne,!0),o(me),b(P,Ne)?(me.enumerable?(b(De,k)&&De[k][Ne]&&(De[k][Ne]=!1),me=w(me,{enumerable:y(0,!1)})):(b(De,k)||M(De,k,y(1,{})),De[k][Ne]=!0),ie(De,Ne,me)):M(De,Ne,me)},ke=function(De,Ne){o(De);for(var me=u(Ne=g(Ne)),be=0,Re=me.length,it;Re>be;)Se(De,it=me[be++],Ne[it]);return De},ge=function(De,Ne){return Ne===void 0?w(De):ke(w(De),Ne)},Be=function(De){var Ne=z.call(this,De=v(De,!0));return this===V&&b(P,De)&&!b(G,De)?!1:Ne||!b(this,De)||!b(P,De)||b(this,k)&&this[k][De]?Ne:!0},ee=function(De,Ne){if(De=g(De),Ne=v(Ne,!0),De===V&&b(P,Ne)&&!b(G,Ne))return;var me=O(De,Ne);return me&&b(P,Ne)&&!(b(De,k)&&De[k][Ne])&&(me.enumerable=!0),me},ue=function(De){for(var Ne=F(g(De)),me=[],be=0,Re;Ne.length>be;)!b(P,Re=Ne[be++])&&Re!=k&&Re!=e&&me.push(Re);return me},Ge=function(De){for(var Ne=De===V,me=F(Ne?G:g(De)),be=[],Re=0,it;me.length>Re;)b(P,it=me[Re++])&&(Ne?b(V,it):!0)&&be.push(P[it]);return be};q||(H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor!");var De=n(arguments.length>0?arguments[0]:void 0),Ne=function me(be){this===V&&me.call(G,be),b(this,k)&&b(this[k],De)&&(this[k][De]=!1),ie(this,De,y(1,be))};return A&&ce&&ie(V,De,{configurable:!0,set:Ne}),fe(De)},t(H[J],"toString",function(){return this._k}),_.f=ee,C.f=Se,j("./_object-gopn").f=S.f=ue,j("./_object-pie").f=Be,I.f=Ge,A&&!j("./_library")&&t(V,"propertyIsEnumerable",Be,!0),c.f=function(pe){return fe(s(pe))}),f(f.G+f.W+f.F*!q,{Symbol:H});for(var ae="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Z=0;ae.length>Z;)s(ae[Z++]);for(var Y=E(s.store),te=0;Y.length>te;)i(Y[te++]);f(f.S+f.F*!q,"Symbol",{for:function(De){return b(K,De+="")?K[De]:K[De]=H(De)},keyFor:function(De){if(!xe(De))throw TypeError(De+" is not a symbol!");for(var Ne in K)if(K[Ne]===De)return Ne},useSetter:function(){ce=!0},useSimple:function(){ce=!1}}),f(f.S+f.F*!q,"Object",{create:ge,defineProperty:Se,defineProperties:ke,getOwnPropertyDescriptor:ee,getOwnPropertyNames:ue,getOwnPropertySymbols:Ge});var we=m(function(){I.f(1)});f(f.S+f.F*we,"Object",{getOwnPropertySymbols:function(De){return I.f(p(De))}}),B&&f(f.S+f.F*(!q||m(function(){var pe=H();return X([pe])!="[null]"||X({a:pe})!="{}"||X(Object(pe))!="{}"})),"JSON",{stringify:function(De){for(var Ne=[De],me=1,be,Re;arguments.length>me;)Ne.push(arguments[me++]);return Re=be=Ne[1],!h(be)&&De===void 0||xe(De)?void 0:(r(be)||(be=function(yt,pt){if(typeof Re=="function"&&(pt=Re.call(this,yt,pt)),!xe(pt))return pt}),Ne[1]=be,X.apply(B,Ne))}}),H[J][W]||j("./_hide")(H[J],W,H[J].valueOf),a(H,"Symbol"),a(Math,"Math",!0),a(x.JSON,"JSON",!0)},{"./_an-object":95,"./_descriptors":103,"./_enum-keys":106,"./_export":107,"./_fails":108,"./_global":110,"./_has":111,"./_hide":112,"./_is-array":118,"./_is-object":119,"./_library":126,"./_meta":127,"./_object-create":131,"./_object-dp":132,"./_object-gopd":134,"./_object-gopn":136,"./_object-gopn-ext":135,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_property-desc":146,"./_redefine":148,"./_set-to-string-tag":150,"./_shared":152,"./_to-iobject":158,"./_to-object":160,"./_to-primitive":161,"./_uid":162,"./_wks":166,"./_wks-define":164,"./_wks-ext":165}],182:[function(j,R,l){var x=j("./_export"),b=j("./_object-to-array")(!0);x(x.S,"Object",{entries:function(f){return b(f)}})},{"./_export":107,"./_object-to-array":143}],183:[function(j,R,l){"use strict";var x=j("./_export"),b=j("./_core"),A=j("./_global"),f=j("./_species-constructor"),t=j("./_promise-resolve");x(x.P+x.R,"Promise",{finally:function(m){var d=f(this,b.Promise||A.Promise),a=typeof m=="function";return this.then(a?function(n){return t(d,m()).then(function(){return n})}:m,a?function(n){return t(d,m()).then(function(){throw n})}:m)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(j,R,l){"use strict";var x=j("./_export"),b=j("./_new-promise-capability"),A=j("./_perform");x(x.S,"Promise",{try:function(t){var e=b.f(this),m=A(t);return(m.e?e.reject:e.resolve)(m.v),e.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(j,R,l){j("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(j,R,l){j("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(j,R,l){j("./es6.array.iterator");for(var x=j("./_global"),b=j("./_hide"),A=j("./_iterators"),f=j("./_wks")("toStringTag"),t="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),e=0;e0?"-":"+")+e(Math.floor(Math.abs(E)/60)*100+Math.abs(E)%60,4),S:["th","st","nd","rd"][g%10>3?0:(g%100-g%10!=10)*g%10],W:O,N:M};return u.replace(n,function(H){return H in F?F[H]:H.slice(1,H.length-1)})}}();t.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},t.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function e(n,s){for(n=String(n),s=s||2;n.lengthn;)if(s=d[n++],s!=s)return!0}else for(;a>n;n++)if((f||n in d)&&d[n]===e)return f||n||0;return!f&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(j,R,l){var x=j("./_cof"),b=j("./_wks")("toStringTag"),A=x(function(){return arguments}())=="Arguments",f=function(e,m){try{return e[m]}catch(d){}};R.exports=function(t){var e,m,d;return t===void 0?"Undefined":t===null?"Null":typeof(m=f(e=Object(t),b))=="string"?m:A?x(e):(d=x(e))=="Object"&&typeof e.callee=="function"?"Arguments":d}},{"./_cof":98,"./_wks":166}],98:[function(j,R,l){var x={}.toString;R.exports=function(b){return x.call(b).slice(8,-1)}},{}],99:[function(j,R,l){var x=R.exports={version:"2.6.11"};typeof __e=="number"&&(__e=x)},{}],100:[function(j,R,l){"use strict";var x=j("./_object-dp"),b=j("./_property-desc");R.exports=function(A,f,t){f in A?x.f(A,f,b(0,t)):A[f]=t}},{"./_object-dp":132,"./_property-desc":146}],101:[function(j,R,l){var x=j("./_a-function");R.exports=function(b,A,f){if(x(b),A===void 0)return b;switch(f){case 1:return function(t){return b.call(A,t)};case 2:return function(t,e){return b.call(A,t,e)};case 3:return function(t,e,m){return b.call(A,t,e,m)}}return function(){return b.apply(A,arguments)}}},{"./_a-function":92}],102:[function(j,R,l){R.exports=function(x){if(x==null)throw TypeError("Can't call method on "+x);return x}},{}],103:[function(j,R,l){R.exports=!j("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(j,R,l){var x=j("./_is-object"),b=j("./_global").document,A=x(b)&&x(b.createElement);R.exports=function(f){return A?b.createElement(f):{}}},{"./_global":110,"./_is-object":119}],105:[function(j,R,l){R.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(j,R,l){var x=j("./_object-keys"),b=j("./_object-gops"),A=j("./_object-pie");R.exports=function(f){var t=x(f),e=b.f;if(e)for(var m=e(f),d=A.f,a=0,n;m.length>a;)d.call(f,n=m[a++])&&t.push(n);return t}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(j,R,l){var x=j("./_global"),b=j("./_core"),A=j("./_ctx"),f=j("./_hide"),t=j("./_has"),e="prototype",m=function d(a,n,s){var c=a&d.F,i=a&d.G,u=a&d.S,r=a&d.P,o=a&d.B,h=a&d.W,p=i?b:b[n]||(b[n]={}),g=p[e],v=i?x:u?x[n]:(x[n]||{})[e],y,w,S;i&&(s=n);for(y in s){if(w=!c&&v&&v[y]!==void 0,w&&t(p,y))continue;S=w?v[y]:s[y],p[y]=i&&typeof v[y]!="function"?s[y]:o&&w?A(S,x):h&&v[y]==S?function(_){var I=function(E,O,M){if(this instanceof _){switch(arguments.length){case 0:return new _;case 1:return new _(E);case 2:return new _(E,O)}return new _(E,O,M)}return _.apply(this,arguments)};return I[e]=_[e],I}(S):r&&typeof S=="function"?A(Function.call,S):S,r&&((p.virtual||(p.virtual={}))[y]=S,a&d.R&&g&&!g[y]&&f(g,y,S))}};m.F=1,m.G=2,m.S=4,m.P=8,m.B=16,m.W=32,m.U=64,m.R=128,R.exports=m},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(j,R,l){R.exports=function(x){try{return!!x()}catch(b){return!0}}},{}],109:[function(j,R,l){var x=j("./_ctx"),b=j("./_iter-call"),A=j("./_is-array-iter"),f=j("./_an-object"),t=j("./_to-length"),e=j("./core.get-iterator-method"),m={},d={},l=R.exports=function(a,n,s,c,i){var u=i?function(){return a}:e(a),r=x(s,c,n?2:1),o=0,h,p,g,v;if(typeof u!="function")throw TypeError(a+" is not iterable!");if(A(u)){for(h=t(a.length);h>o;o++)if(v=n?r(f(p=a[o])[0],p[1]):r(a[o]),v===m||v===d)return v}else for(g=u.call(a);!(p=g.next()).done;)if(v=b(g,r,p.value,n),v===m||v===d)return v};l.BREAK=m,l.RETURN=d},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(j,R,l){var x=R.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=x)},{}],111:[function(j,R,l){var x={}.hasOwnProperty;R.exports=function(b,A){return x.call(b,A)}},{}],112:[function(j,R,l){var x=j("./_object-dp"),b=j("./_property-desc");R.exports=j("./_descriptors")?function(A,f,t){return x.f(A,f,b(1,t))}:function(A,f,t){return A[f]=t,A}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(j,R,l){var x=j("./_global").document;R.exports=x&&x.documentElement},{"./_global":110}],114:[function(j,R,l){R.exports=!j("./_descriptors")&&!j("./_fails")(function(){return Object.defineProperty(j("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(j,R,l){R.exports=function(x,b,A){var f=A===void 0;switch(b.length){case 0:return f?x():x.call(A);case 1:return f?x(b[0]):x.call(A,b[0]);case 2:return f?x(b[0],b[1]):x.call(A,b[0],b[1]);case 3:return f?x(b[0],b[1],b[2]):x.call(A,b[0],b[1],b[2]);case 4:return f?x(b[0],b[1],b[2],b[3]):x.call(A,b[0],b[1],b[2],b[3])}return x.apply(A,b)}},{}],116:[function(j,R,l){var x=j("./_cof");R.exports=Object("z").propertyIsEnumerable(0)?Object:function(b){return x(b)=="String"?b.split(""):Object(b)}},{"./_cof":98}],117:[function(j,R,l){var x=j("./_iterators"),b=j("./_wks")("iterator"),A=Array.prototype;R.exports=function(f){return f!==void 0&&(x.Array===f||A[b]===f)}},{"./_iterators":125,"./_wks":166}],118:[function(j,R,l){var x=j("./_cof");R.exports=Array.isArray||function(A){return x(A)=="Array"}},{"./_cof":98}],119:[function(j,R,l){R.exports=function(x){return typeof x=="object"?x!==null:typeof x=="function"}},{}],120:[function(j,R,l){var x=j("./_an-object");R.exports=function(b,A,f,t){try{return t?A(x(f)[0],f[1]):A(f)}catch(m){var e=b.return;throw e!==void 0&&x(e.call(b)),m}}},{"./_an-object":95}],121:[function(j,R,l){"use strict";var x=j("./_object-create"),b=j("./_property-desc"),A=j("./_set-to-string-tag"),f={};j("./_hide")(f,j("./_wks")("iterator"),function(){return this}),R.exports=function(t,e,m){t.prototype=x(f,{next:b(1,m)}),A(t,e+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(j,R,l){"use strict";var x=j("./_library"),b=j("./_export"),A=j("./_redefine"),f=j("./_hide"),t=j("./_iterators"),e=j("./_iter-create"),m=j("./_set-to-string-tag"),d=j("./_object-gpo"),a=j("./_wks")("iterator"),n=!([].keys&&"next"in[].keys()),s="@@iterator",c="keys",i="values",u=function(){return this};R.exports=function(r,o,h,p,g,v,y){e(h,o,p);var w=function(k){if(!n&&k in C)return C[k];switch(k){case c:return function(){return new h(this,k)};case i:return function(){return new h(this,k)}}return function(){return new h(this,k)}},S=o+" Iterator",_=g==i,I=!1,C=r.prototype,E=C[a]||C[s]||g&&C[g],O=E||w(g),M=g?_?w("entries"):O:void 0,F=o=="Array"&&C.entries||E,H,B,X;if(F&&(X=d(F.call(new r)),X!==Object.prototype&&X.next&&(m(X,S,!0),!x&&typeof X[a]!="function"&&f(X,a,u))),_&&E&&E.name!==i&&(I=!0,O=function(){return E.call(this)}),(!x||y)&&(n||I||!C[a])&&f(C,a,O),t[o]=O,t[S]=u,g)if(H={values:_?O:w(i),keys:v?O:w(c),entries:M},y)for(B in H)B in C||A(C,B,H[B]);else b(b.P+b.F*(n||I),o,H);return H}},{"./_export":107,"./_hide":112,"./_iter-create":121,"./_iterators":125,"./_library":126,"./_object-gpo":138,"./_redefine":148,"./_set-to-string-tag":150,"./_wks":166}],123:[function(j,R,l){var x=j("./_wks")("iterator"),b=!1;try{var A=[7][x]();A.return=function(){b=!0},Array.from(A,function(){throw 2})}catch(f){}R.exports=function(f,t){if(!t&&!b)return!1;var e=!1;try{var m=[7],d=m[x]();d.next=function(){return{done:e=!0}},m[x]=function(){return d},f(m)}catch(a){}return e}},{"./_wks":166}],124:[function(j,R,l){R.exports=function(x,b){return{value:b,done:!!x}}},{}],125:[function(j,R,l){R.exports={}},{}],126:[function(j,R,l){R.exports=!0},{}],127:[function(j,R,l){var x=j("./_uid")("meta"),b=j("./_is-object"),A=j("./_has"),f=j("./_object-dp").f,t=0,e=Object.isExtensible||function(){return!0},m=!j("./_fails")(function(){return e(Object.preventExtensions({}))}),d=function(u){f(u,x,{value:{i:"O"+ ++t,w:{}}})},a=function(u,r){if(!b(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!A(u,x)){if(!e(u))return"F";if(!r)return"E";d(u)}return u[x].i},n=function(u,r){if(!A(u,x)){if(!e(u))return!0;if(!r)return!1;d(u)}return u[x].w},s=function(u){return m&&c.NEED&&e(u)&&!A(u,x)&&d(u),u},c=R.exports={KEY:x,NEED:!1,fastKey:a,getWeak:n,onFreeze:s}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(j,R,l){var x=j("./_global"),b=j("./_task").set,A=x.MutationObserver||x.WebKitMutationObserver,f=x.process,t=x.Promise,e=j("./_cof")(f)=="process";R.exports=function(){var m,d,a,n=function(){var r,o;for(e&&(r=f.domain)&&r.exit();m;){o=m.fn,m=m.next;try{o()}catch(h){throw m?a():d=void 0,h}}d=void 0,r&&r.enter()};if(e)a=function(){f.nextTick(n)};else if(A&&!(x.navigator&&x.navigator.standalone)){var s=!0,c=document.createTextNode("");new A(n).observe(c,{characterData:!0}),a=function(){c.data=s=!s}}else if(t&&t.resolve){var i=t.resolve(void 0);a=function(){i.then(n)}}else a=function(){b.call(x,n)};return function(u){var r={fn:u,next:void 0};d&&(d.next=r),m||(m=r,a()),d=r}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(j,R,l){"use strict";var x=j("./_a-function");function b(A){var f,t;this.promise=new A(function(e,m){if(f!==void 0||t!==void 0)throw TypeError("Bad Promise constructor");f=e,t=m}),this.resolve=x(f),this.reject=x(t)}R.exports.f=function(A){return new b(A)}},{"./_a-function":92}],130:[function(j,R,l){"use strict";var x=j("./_descriptors"),b=j("./_object-keys"),A=j("./_object-gops"),f=j("./_object-pie"),t=j("./_to-object"),e=j("./_iobject"),m=Object.assign;R.exports=!m||j("./_fails")(function(){var d={},a={},n=Symbol(),s="abcdefghijklmnopqrst";return d[n]=7,s.split("").forEach(function(c){a[c]=c}),m({},d)[n]!=7||Object.keys(m({},a)).join("")!=s})?function(a,n){for(var s=t(a),c=arguments.length,i=1,u=A.f,r=f.f;c>i;)for(var o=e(arguments[i++]),h=u?b(o).concat(u(o)):b(o),p=h.length,g=0,v;p>g;)v=h[g++],(!x||r.call(o,v))&&(s[v]=o[v]);return s}:m},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(j,R,l){var x=j("./_an-object"),b=j("./_object-dps"),A=j("./_enum-bug-keys"),f=j("./_shared-key")("IE_PROTO"),t=function(){},e="prototype",m=function(){var a=j("./_dom-create")("iframe"),n=A.length,s="<",c=">",i;for(a.style.display="none",j("./_html").appendChild(a),a.src="javascript:",i=a.contentWindow.document,i.open(),i.write(s+"script"+c+"document.F=Object"+s+"/script"+c),i.close(),m=i.F;n--;)delete m[e][A[n]];return m()};R.exports=Object.create||function(a,n){var s;return a!==null?(t[e]=x(a),s=new t,t[e]=null,s[f]=a):s=m(),n===void 0?s:b(s,n)}},{"./_an-object":95,"./_dom-create":104,"./_enum-bug-keys":105,"./_html":113,"./_object-dps":133,"./_shared-key":151}],132:[function(j,R,l){var x=j("./_an-object"),b=j("./_ie8-dom-define"),A=j("./_to-primitive"),f=Object.defineProperty;l.f=j("./_descriptors")?Object.defineProperty:function(e,m,d){if(x(e),m=A(m,!0),x(d),b)try{return f(e,m,d)}catch(a){}if("get"in d||"set"in d)throw TypeError("Accessors not supported!");return"value"in d&&(e[m]=d.value),e}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(j,R,l){var x=j("./_object-dp"),b=j("./_an-object"),A=j("./_object-keys");R.exports=j("./_descriptors")?Object.defineProperties:function(t,e){b(t);for(var m=A(e),d=m.length,a=0,n;d>a;)x.f(t,n=m[a++],e[n]);return t}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(j,R,l){var x=j("./_object-pie"),b=j("./_property-desc"),A=j("./_to-iobject"),f=j("./_to-primitive"),t=j("./_has"),e=j("./_ie8-dom-define"),m=Object.getOwnPropertyDescriptor;l.f=j("./_descriptors")?m:function(a,n){if(a=A(a),n=f(n,!0),e)try{return m(a,n)}catch(s){}if(t(a,n))return b(!x.f.call(a,n),a[n])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(j,R,l){var x=j("./_to-iobject"),b=j("./_object-gopn").f,A={}.toString,f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],t=function(m){try{return b(m)}catch(d){return f.slice()}};R.exports.f=function(m){return f&&A.call(m)=="[object Window]"?t(m):b(x(m))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(j,R,l){var x=j("./_object-keys-internal"),b=j("./_enum-bug-keys").concat("length","prototype");l.f=Object.getOwnPropertyNames||function(f){return x(f,b)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(j,R,l){l.f=Object.getOwnPropertySymbols},{}],138:[function(j,R,l){var x=j("./_has"),b=j("./_to-object"),A=j("./_shared-key")("IE_PROTO"),f=Object.prototype;R.exports=Object.getPrototypeOf||function(t){return t=b(t),x(t,A)?t[A]:typeof t.constructor=="function"&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?f:null}},{"./_has":111,"./_shared-key":151,"./_to-object":160}],139:[function(j,R,l){var x=j("./_has"),b=j("./_to-iobject"),A=j("./_array-includes")(!1),f=j("./_shared-key")("IE_PROTO");R.exports=function(t,e){var m=b(t),d=0,a=[],n;for(n in m)n!=f&&(x(m,n)&&a.push(n));for(;e.length>d;)x(m,n=e[d++])&&(~A(a,n)||a.push(n));return a}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(j,R,l){var x=j("./_object-keys-internal"),b=j("./_enum-bug-keys");R.exports=Object.keys||function(f){return x(f,b)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(j,R,l){l.f={}.propertyIsEnumerable},{}],142:[function(j,R,l){var x=j("./_export"),b=j("./_core"),A=j("./_fails");R.exports=function(f,t){var e=(b.Object||{})[f]||Object[f],m={};m[f]=t(e),x(x.S+x.F*A(function(){e(1)}),"Object",m)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(j,R,l){var x=j("./_descriptors"),b=j("./_object-keys"),A=j("./_to-iobject"),f=j("./_object-pie").f;R.exports=function(t){return function(e){for(var m=A(e),d=b(m),a=d.length,n=0,s=[],c;a>n;)c=d[n++],(!x||f.call(m,c))&&s.push(t?[c,m[c]]:m[c]);return s}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(j,R,l){R.exports=function(x){try{return{e:!1,v:x()}}catch(b){return{e:!0,v:b}}}},{}],145:[function(j,R,l){var x=j("./_an-object"),b=j("./_is-object"),A=j("./_new-promise-capability");R.exports=function(f,t){if(x(f),b(t)&&t.constructor===f)return t;var e=A.f(f),m=e.resolve;return m(t),e.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(j,R,l){R.exports=function(x,b){return{enumerable:!(x&1),configurable:!(x&2),writable:!(x&4),value:b}}},{}],147:[function(j,R,l){var x=j("./_hide");R.exports=function(b,A,f){for(var t in A)f&&b[t]?b[t]=A[t]:x(b,t,A[t]);return b}},{"./_hide":112}],148:[function(j,R,l){R.exports=j("./_hide")},{"./_hide":112}],149:[function(j,R,l){"use strict";var x=j("./_global"),b=j("./_core"),A=j("./_object-dp"),f=j("./_descriptors"),t=j("./_wks")("species");R.exports=function(e){var m=typeof b[e]=="function"?b[e]:x[e];f&&m&&!m[t]&&A.f(m,t,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(j,R,l){var x=j("./_object-dp").f,b=j("./_has"),A=j("./_wks")("toStringTag");R.exports=function(f,t,e){f&&!b(f=e?f:f.prototype,A)&&x(f,A,{configurable:!0,value:t})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(j,R,l){var x=j("./_shared")("keys"),b=j("./_uid");R.exports=function(A){return x[A]||(x[A]=b(A))}},{"./_shared":152,"./_uid":162}],152:[function(j,R,l){var x=j("./_core"),b=j("./_global"),A="__core-js_shared__",f=b[A]||(b[A]={});(R.exports=function(t,e){return f[t]||(f[t]=e!==void 0?e:{})})("versions",[]).push({version:x.version,mode:j("./_library")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(j,R,l){var x=j("./_an-object"),b=j("./_a-function"),A=j("./_wks")("species");R.exports=function(f,t){var e=x(f).constructor,m;return e===void 0||(m=x(e)[A])==null?t:b(m)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(j,R,l){var x=j("./_to-integer"),b=j("./_defined");R.exports=function(A){return function(f,t){var e=String(b(f)),m=x(t),d=e.length,a,n;return m<0||m>=d?A?"":void 0:(a=e.charCodeAt(m),a<55296||a>56319||m+1===d||(n=e.charCodeAt(m+1))<56320||n>57343?A?e.charAt(m):a:A?e.slice(m,m+2):(a-55296<<10)+(n-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(j,R,l){var x=j("./_ctx"),b=j("./_invoke"),A=j("./_html"),f=j("./_dom-create"),t=j("./_global"),e=t.process,m=t.setImmediate,d=t.clearImmediate,a=t.MessageChannel,n=t.Dispatch,s=0,c={},i="onreadystatechange",u,r,o,h=function(){var v=+this;if(c.hasOwnProperty(v)){var y=c[v];delete c[v],y()}},p=function(v){h.call(v.data)};(!m||!d)&&(m=function(v){for(var y=[],w=1;arguments.length>w;)y.push(arguments[w++]);return c[++s]=function(){b(typeof v=="function"?v:Function(v),y)},u(s),s},d=function(v){delete c[v]},j("./_cof")(e)=="process"?u=function(v){e.nextTick(x(h,v,1))}:n&&n.now?u=function(v){n.now(x(h,v,1))}:a?(r=new a,o=r.port2,r.port1.onmessage=p,u=x(o.postMessage,o,1)):t.addEventListener&&typeof postMessage=="function"&&!t.importScripts?(u=function(v){t.postMessage(v+"","*")},t.addEventListener("message",p,!1)):i in f("script")?u=function(v){A.appendChild(f("script"))[i]=function(){A.removeChild(this),h.call(v)}}:u=function(v){setTimeout(x(h,v,1),0)}),R.exports={set:m,clear:d}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(j,R,l){var x=j("./_to-integer"),b=Math.max,A=Math.min;R.exports=function(f,t){return f=x(f),f<0?b(f+t,0):A(f,t)}},{"./_to-integer":157}],157:[function(j,R,l){var x=Math.ceil,b=Math.floor;R.exports=function(A){return isNaN(A=+A)?0:(A>0?b:x)(A)}},{}],158:[function(j,R,l){var x=j("./_iobject"),b=j("./_defined");R.exports=function(A){return x(b(A))}},{"./_defined":102,"./_iobject":116}],159:[function(j,R,l){var x=j("./_to-integer"),b=Math.min;R.exports=function(A){return A>0?b(x(A),9007199254740991):0}},{"./_to-integer":157}],160:[function(j,R,l){var x=j("./_defined");R.exports=function(b){return Object(x(b))}},{"./_defined":102}],161:[function(j,R,l){var x=j("./_is-object");R.exports=function(b,A){if(!x(b))return b;var f,t;if(A&&typeof(f=b.toString)=="function"&&!x(t=f.call(b)))return t;if(typeof(f=b.valueOf)=="function"&&!x(t=f.call(b)))return t;if(!A&&typeof(f=b.toString)=="function"&&!x(t=f.call(b)))return t;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(j,R,l){var x=0,b=Math.random();R.exports=function(A){return"Symbol(".concat(A===void 0?"":A,")_",(++x+b).toString(36))}},{}],163:[function(j,R,l){var x=j("./_global"),b=x.navigator;R.exports=b&&b.userAgent||""},{"./_global":110}],164:[function(j,R,l){var x=j("./_global"),b=j("./_core"),A=j("./_library"),f=j("./_wks-ext"),t=j("./_object-dp").f;R.exports=function(e){var m=b.Symbol||(b.Symbol=A?{}:x.Symbol||{});e.charAt(0)!="_"&&!(e in m)&&t(m,e,{value:f.f(e)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(j,R,l){l.f=j("./_wks")},{"./_wks":166}],166:[function(j,R,l){var x=j("./_shared")("wks"),b=j("./_uid"),A=j("./_global").Symbol,f=typeof A=="function",t=R.exports=function(e){return x[e]||(x[e]=f&&A[e]||(f?A:b)("Symbol."+e))};t.store=x},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(j,R,l){var x=j("./_classof"),b=j("./_wks")("iterator"),A=j("./_iterators");R.exports=j("./_core").getIteratorMethod=function(f){if(f!=null)return f[b]||f["@@iterator"]||A[x(f)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(j,R,l){"use strict";var x=j("./_ctx"),b=j("./_export"),A=j("./_to-object"),f=j("./_iter-call"),t=j("./_is-array-iter"),e=j("./_to-length"),m=j("./_create-property"),d=j("./core.get-iterator-method");b(b.S+b.F*!j("./_iter-detect")(function(a){Array.from(a)}),"Array",{from:function(n){var s=A(n),c=typeof this=="function"?this:Array,i=arguments.length,u=i>1?arguments[1]:void 0,r=u!==void 0,o=0,h=d(s),p,g,v,y;if(r&&(u=x(u,i>2?arguments[2]:void 0,2)),h!=null&&!(c==Array&&t(h)))for(y=h.call(s),g=new c;!(v=y.next()).done;o++)m(g,o,r?f(y,u,[v.value,o],!0):v.value);else for(p=e(s.length),g=new c(p);p>o;o++)m(g,o,r?u(s[o],o):s[o]);return g.length=o,g}})},{"./_create-property":100,"./_ctx":101,"./_export":107,"./_is-array-iter":117,"./_iter-call":120,"./_iter-detect":123,"./_to-length":159,"./_to-object":160,"./core.get-iterator-method":167}],169:[function(j,R,l){"use strict";var x=j("./_add-to-unscopables"),b=j("./_iter-step"),A=j("./_iterators"),f=j("./_to-iobject");R.exports=j("./_iter-define")(Array,"Array",function(t,e){this._t=f(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,m=this._i++;return!t||m>=t.length?(this._t=void 0,b(1)):e=="keys"?b(0,m):e=="values"?b(0,t[m]):b(0,[m,t[m]])},"values"),A.Arguments=A.Array,x("keys"),x("values"),x("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(j,R,l){"use strict";var x=j("./_is-object"),b=j("./_object-gpo"),A=j("./_wks")("hasInstance"),f=Function.prototype;A in f||j("./_object-dp").f(f,A,{value:function(e){if(typeof this!="function"||!x(e))return!1;if(!x(this.prototype))return e instanceof this;for(;e=b(e);)if(this.prototype===e)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(j,R,l){var x=j("./_export");x(x.S+x.F,"Object",{assign:j("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(j,R,l){var x=j("./_export");x(x.S,"Object",{create:j("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(j,R,l){var x=j("./_export");x(x.S+x.F*!j("./_descriptors"),"Object",{defineProperty:j("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(j,R,l){j("./_object-sap")("getOwnPropertyNames",function(){return j("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(j,R,l){var x=j("./_to-object"),b=j("./_object-gpo");j("./_object-sap")("getPrototypeOf",function(){return function(f){return b(x(f))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(j,R,l){var x=j("./_to-object"),b=j("./_object-keys");j("./_object-sap")("keys",function(){return function(f){return b(x(f))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(j,R,l){arguments[4][71][0].apply(l,arguments)},{dup:71}],178:[function(j,R,l){"use strict";var x=j("./_library"),b=j("./_global"),A=j("./_ctx"),f=j("./_classof"),t=j("./_export"),e=j("./_is-object"),m=j("./_a-function"),d=j("./_an-instance"),a=j("./_for-of"),n=j("./_species-constructor"),s=j("./_task").set,c=j("./_microtask")(),i=j("./_new-promise-capability"),u=j("./_perform"),r=j("./_user-agent"),o=j("./_promise-resolve"),h="Promise",p=b.TypeError,g=b.process,v=g&&g.versions,y=v&&v.v8||"",w=b[h],S=f(g)=="process",_=function(){},I,C,E,O,M=C=i.f,F=!!function(){try{var W=w.resolve(1),P=(W.constructor={})[j("./_wks")("species")]=function(G){G(_,_)};return(S||typeof PromiseRejectionEvent=="function")&&W.then(_)instanceof P&&y.indexOf("6.6")!==0&&r.indexOf("Chrome/66")===-1}catch(G){}}(),H=function(P){var G;return e(P)&&typeof(G=P.then)=="function"?G:!1},B=function(P,G){if(P._n)return;P._n=!0;var V=P._c;c(function(){for(var q=P._v,re=P._s==1,ce=0,ie=function(xe){var Se=re?xe.ok:xe.fail,ke=xe.resolve,ge=xe.reject,Be=xe.domain,ee,ue,Ge;try{Se?(re||(P._h==2&&k(P),P._h=1),Se===!0?ee=q:(Be&&Be.enter(),ee=Se(q),Be&&(Be.exit(),Ge=!0)),ee===xe.promise?ge(p("Promise-chain cycle")):(ue=H(ee))?ue.call(ee,ke,ge):ke(ee)):ge(q)}catch(ae){Be&&!Ge&&Be.exit(),ge(ae)}};V.length>ce;)ie(V[ce++]);P._c=[],P._n=!1,G&&!P._h&&X(P)})},X=function(P){s.call(b,function(){var G=P._v,V=J(P),q,re,ce;if(V&&(q=u(function(){S?g.emit("unhandledRejection",G,P):(re=b.onunhandledrejection)?re({promise:P,reason:G}):(ce=b.console)&&ce.error&&ce.error("Unhandled promise rejection",G)}),P._h=S||J(P)?2:1),P._a=void 0,V&&q.e)throw q.v})},J=function(P){return P._h!==1&&(P._a||P._c).length===0},k=function(P){s.call(b,function(){var G;S?g.emit("rejectionHandled",P):(G=b.onrejectionhandled)&&G({promise:P,reason:P._v})})},K=function(P){var G=this;if(G._d)return;G._d=!0,G=G._w||G,G._v=P,G._s=2,G._a||(G._a=G._c.slice()),B(G,!0)},z=function W(P){var G=this,V;if(G._d)return;G._d=!0,G=G._w||G;try{if(G===P)throw p("Promise can't be resolved itself");(V=H(P))?c(function(){var q={_w:G,_d:!1};try{V.call(P,A(W,q,1),A(K,q,1))}catch(re){K.call(q,re)}}):(G._v=P,G._s=1,B(G,!1))}catch(q){K.call({_w:G,_d:!1},q)}};F||(w=function(P){d(this,w,h,"_h"),m(P),I.call(this);try{P(A(z,this,1),A(K,this,1))}catch(G){K.call(this,G)}},I=function(P){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},I.prototype=j("./_redefine-all")(w.prototype,{then:function(P,G){var V=M(n(this,w));return V.ok=typeof P=="function"?P:!0,V.fail=typeof G=="function"&&G,V.domain=S?g.domain:void 0,this._c.push(V),this._a&&this._a.push(V),this._s&&B(this,!1),V.promise},catch:function(P){return this.then(void 0,P)}}),E=function(){var P=new I;this.promise=P,this.resolve=A(z,P,1),this.reject=A(K,P,1)},i.f=M=function(P){return P===w||P===O?new E(P):C(P)}),t(t.G+t.W+t.F*!F,{Promise:w}),j("./_set-to-string-tag")(w,h),j("./_set-species")(h),O=j("./_core")[h],t(t.S+t.F*!F,h,{reject:function(P){var G=M(this),V=G.reject;return V(P),G.promise}}),t(t.S+t.F*(x||!F),h,{resolve:function(P){return o(x&&this===O?w:this,P)}}),t(t.S+t.F*!(F&&j("./_iter-detect")(function(W){w.all(W).catch(_)})),h,{all:function(P){var G=this,V=M(G),q=V.resolve,re=V.reject,ce=u(function(){var ie=[],fe=0,xe=1;a(P,!1,function(Se){var ke=fe++,ge=!1;ie.push(void 0),xe++,G.resolve(Se).then(function(Be){if(ge)return;ge=!0,ie[ke]=Be,--xe||q(ie)},re)}),--xe||q(ie)});return ce.e&&re(ce.v),V.promise},race:function(P){var G=this,V=M(G),q=V.reject,re=u(function(){a(P,!1,function(ce){G.resolve(ce).then(V.resolve,q)})});return re.e&&q(re.v),V.promise}})},{"./_a-function":92,"./_an-instance":94,"./_classof":97,"./_core":99,"./_ctx":101,"./_export":107,"./_for-of":109,"./_global":110,"./_is-object":119,"./_iter-detect":123,"./_library":126,"./_microtask":128,"./_new-promise-capability":129,"./_perform":144,"./_promise-resolve":145,"./_redefine-all":147,"./_set-species":149,"./_set-to-string-tag":150,"./_species-constructor":153,"./_task":155,"./_user-agent":163,"./_wks":166}],179:[function(j,R,l){var x=j("./_export"),b=j("./_to-absolute-index"),A=String.fromCharCode,f=String.fromCodePoint;x(x.S+x.F*(!!f&&f.length!=1),"String",{fromCodePoint:function(e){for(var m=[],d=arguments.length,a=0,n;d>a;){if(n=+arguments[a++],b(n,1114111)!==n)throw RangeError(n+" is not a valid code point");m.push(n<65536?A(n):A(((n-=65536)>>10)+55296,n%1024+56320))}return m.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(j,R,l){"use strict";var x=j("./_string-at")(!0);j("./_iter-define")(String,"String",function(b){this._t=String(b),this._i=0},function(){var b=this._t,A=this._i,f;return A>=b.length?{value:void 0,done:!0}:(f=x(b,A),this._i+=f.length,{value:f,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(j,R,l){"use strict";var x=j("./_global"),b=j("./_has"),A=j("./_descriptors"),f=j("./_export"),t=j("./_redefine"),e=j("./_meta").KEY,m=j("./_fails"),d=j("./_shared"),a=j("./_set-to-string-tag"),n=j("./_uid"),s=j("./_wks"),c=j("./_wks-ext"),i=j("./_wks-define"),u=j("./_enum-keys"),r=j("./_is-array"),o=j("./_an-object"),h=j("./_is-object"),p=j("./_to-object"),g=j("./_to-iobject"),v=j("./_to-primitive"),y=j("./_property-desc"),w=j("./_object-create"),S=j("./_object-gopn-ext"),_=j("./_object-gopd"),I=j("./_object-gops"),C=j("./_object-dp"),E=j("./_object-keys"),O=_.f,M=C.f,F=S.f,H=x.Symbol,B=x.JSON,X=B&&B.stringify,J="prototype",k=s("_hidden"),K=s("toPrimitive"),z={}.propertyIsEnumerable,W=d("symbol-registry"),P=d("symbols"),G=d("op-symbols"),V=Object[J],q=typeof H=="function"&&!!I.f,re=x.QObject,ce=!re||!re[J]||!re[J].findChild,ie=A&&m(function(){return w(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a!=7})?function(pe,De,Ne){var me=O(V,De);me&&delete V[De],M(pe,De,Ne),me&&pe!==V&&M(V,De,me)}:M,fe=function(De){var Ne=P[De]=w(H[J]);return Ne._k=De,Ne},xe=q&&typeof H.iterator=="symbol"?function(pe){return typeof pe=="symbol"}:function(pe){return pe instanceof H},Se=function(De,Ne,me){return De===V&&Se(G,Ne,me),o(De),Ne=v(Ne,!0),o(me),b(P,Ne)?(me.enumerable?(b(De,k)&&De[k][Ne]&&(De[k][Ne]=!1),me=w(me,{enumerable:y(0,!1)})):(b(De,k)||M(De,k,y(1,{})),De[k][Ne]=!0),ie(De,Ne,me)):M(De,Ne,me)},ke=function(De,Ne){o(De);for(var me=u(Ne=g(Ne)),be=0,Re=me.length,it;Re>be;)Se(De,it=me[be++],Ne[it]);return De},ge=function(De,Ne){return Ne===void 0?w(De):ke(w(De),Ne)},Be=function(De){var Ne=z.call(this,De=v(De,!0));return this===V&&b(P,De)&&!b(G,De)?!1:Ne||!b(this,De)||!b(P,De)||b(this,k)&&this[k][De]?Ne:!0},ee=function(De,Ne){if(De=g(De),Ne=v(Ne,!0),De===V&&b(P,Ne)&&!b(G,Ne))return;var me=O(De,Ne);return me&&b(P,Ne)&&!(b(De,k)&&De[k][Ne])&&(me.enumerable=!0),me},ue=function(De){for(var Ne=F(g(De)),me=[],be=0,Re;Ne.length>be;)!b(P,Re=Ne[be++])&&Re!=k&&Re!=e&&me.push(Re);return me},Ge=function(De){for(var Ne=De===V,me=F(Ne?G:g(De)),be=[],Re=0,it;me.length>Re;)b(P,it=me[Re++])&&(Ne?b(V,it):!0)&&be.push(P[it]);return be};q||(H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor!");var De=n(arguments.length>0?arguments[0]:void 0),Ne=function me(be){this===V&&me.call(G,be),b(this,k)&&b(this[k],De)&&(this[k][De]=!1),ie(this,De,y(1,be))};return A&&ce&&ie(V,De,{configurable:!0,set:Ne}),fe(De)},t(H[J],"toString",function(){return this._k}),_.f=ee,C.f=Se,j("./_object-gopn").f=S.f=ue,j("./_object-pie").f=Be,I.f=Ge,A&&!j("./_library")&&t(V,"propertyIsEnumerable",Be,!0),c.f=function(pe){return fe(s(pe))}),f(f.G+f.W+f.F*!q,{Symbol:H});for(var ae="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Z=0;ae.length>Z;)s(ae[Z++]);for(var Y=E(s.store),te=0;Y.length>te;)i(Y[te++]);f(f.S+f.F*!q,"Symbol",{for:function(De){return b(W,De+="")?W[De]:W[De]=H(De)},keyFor:function(De){if(!xe(De))throw TypeError(De+" is not a symbol!");for(var Ne in W)if(W[Ne]===De)return Ne},useSetter:function(){ce=!0},useSimple:function(){ce=!1}}),f(f.S+f.F*!q,"Object",{create:ge,defineProperty:Se,defineProperties:ke,getOwnPropertyDescriptor:ee,getOwnPropertyNames:ue,getOwnPropertySymbols:Ge});var we=m(function(){I.f(1)});f(f.S+f.F*we,"Object",{getOwnPropertySymbols:function(De){return I.f(p(De))}}),B&&f(f.S+f.F*(!q||m(function(){var pe=H();return X([pe])!="[null]"||X({a:pe})!="{}"||X(Object(pe))!="{}"})),"JSON",{stringify:function(De){for(var Ne=[De],me=1,be,Re;arguments.length>me;)Ne.push(arguments[me++]);return Re=be=Ne[1],!h(be)&&De===void 0||xe(De)?void 0:(r(be)||(be=function(yt,pt){if(typeof Re=="function"&&(pt=Re.call(this,yt,pt)),!xe(pt))return pt}),Ne[1]=be,X.apply(B,Ne))}}),H[J][K]||j("./_hide")(H[J],K,H[J].valueOf),a(H,"Symbol"),a(Math,"Math",!0),a(x.JSON,"JSON",!0)},{"./_an-object":95,"./_descriptors":103,"./_enum-keys":106,"./_export":107,"./_fails":108,"./_global":110,"./_has":111,"./_hide":112,"./_is-array":118,"./_is-object":119,"./_library":126,"./_meta":127,"./_object-create":131,"./_object-dp":132,"./_object-gopd":134,"./_object-gopn":136,"./_object-gopn-ext":135,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_property-desc":146,"./_redefine":148,"./_set-to-string-tag":150,"./_shared":152,"./_to-iobject":158,"./_to-object":160,"./_to-primitive":161,"./_uid":162,"./_wks":166,"./_wks-define":164,"./_wks-ext":165}],182:[function(j,R,l){var x=j("./_export"),b=j("./_object-to-array")(!0);x(x.S,"Object",{entries:function(f){return b(f)}})},{"./_export":107,"./_object-to-array":143}],183:[function(j,R,l){"use strict";var x=j("./_export"),b=j("./_core"),A=j("./_global"),f=j("./_species-constructor"),t=j("./_promise-resolve");x(x.P+x.R,"Promise",{finally:function(m){var d=f(this,b.Promise||A.Promise),a=typeof m=="function";return this.then(a?function(n){return t(d,m()).then(function(){return n})}:m,a?function(n){return t(d,m()).then(function(){throw n})}:m)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(j,R,l){"use strict";var x=j("./_export"),b=j("./_new-promise-capability"),A=j("./_perform");x(x.S,"Promise",{try:function(t){var e=b.f(this),m=A(t);return(m.e?e.reject:e.resolve)(m.v),e.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(j,R,l){j("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(j,R,l){j("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(j,R,l){j("./es6.array.iterator");for(var x=j("./_global"),b=j("./_hide"),A=j("./_iterators"),f=j("./_wks")("toStringTag"),t="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),e=0;e0?"-":"+")+e(Math.floor(Math.abs(E)/60)*100+Math.abs(E)%60,4),S:["th","st","nd","rd"][g%10>3?0:(g%100-g%10!=10)*g%10],W:O,N:M};return u.replace(n,function(H){return H in F?F[H]:H.slice(1,H.length-1)})}}();t.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},t.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function e(n,s){for(n=String(n),s=s||2;n.length * Copyright 2011-2013 John-David Dalton * Available under MIT license -*/(function(){"use strict";var b={function:!0,object:!0},A=b[typeof window]&&window||this,f=A,t=b[typeof l]&&l,e=b[typeof R]&&R&&!R.nodeType&&R,m=t&&e&&typeof x=="object"&&x;m&&(m.global===m||m.window===m||m.self===m)&&(A=m);var d=Math.pow(2,53)-1,a=/\bOpera/,n=this,s=Object.prototype,c=s.hasOwnProperty,i=s.toString;function u(C){return C=String(C),C.charAt(0).toUpperCase()+C.slice(1)}function r(C,E,O){var M={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return E&&O&&/^Win/i.test(C)&&!/^Windows Phone /i.test(C)&&(M=M[/[\d.]+$/.exec(C)])&&(C="Windows "+M),C=String(C),E&&O&&(C=C.replace(RegExp(E,"i"),O)),C=h(C.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),C}function o(C,E){var O=-1,M=C?C.length:0;if(typeof M=="number"&&M>-1&&M<=d)for(;++O3&&"WebKit"||/\bOpera\b/.test(ue)&&(/\bOPR\b/.test(C)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(C)&&!/^(?:Trident|EdgeHTML)$/.test(ee)&&"WebKit"||!ee&&/\bMSIE\b/i.test(C)&&(Z=="Mac OS"?"Tasman":"Trident")||ee=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(ue)&&"NetFront")&&(ee=[ie]),ue=="IE"&&(ie=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(C)||0)[1])?(ue+=" Mobile",Z="Windows Phone "+(/\+$/.test(ie)?ie:ie+".x"),xe.unshift("desktop mode")):/\bWPDesktop\b/i.test(C)?(ue="IE Mobile",Z="Windows Phone 8.x",xe.unshift("desktop mode"),ge||(ge=(/\brv:([\d.]+)/.exec(C)||0)[1])):ue!="IE"&&ee=="Trident"&&(ie=/\brv:([\d.]+)/.exec(C))&&(ue&&xe.push("identifying as "+ue+(ge?" "+ge:"")),ue="IE",ge=ie[1]),ke){if(v(E,"global"))if(K&&(ie=K.lang.System,fe=ie.getProperty("os.arch"),Z=Z||ie.getProperty("os.name")+" "+ie.getProperty("os.version")),P){try{ge=E.require("ringo/engine").version.join("."),ue="RingoJS"}catch(Re){(ie=E.system)&&ie.global.system==E.system&&(ue="Narwhal",Z||(Z=ie[0].os||null))}ue||(ue="Rhino")}else typeof E.process=="object"&&!E.process.browser&&(ie=E.process)&&(typeof ie.versions=="object"&&(typeof ie.versions.electron=="string"?(xe.push("Node "+ie.versions.node),ue="Electron",ge=ie.versions.electron):typeof ie.versions.nw=="string"&&(xe.push("Chromium "+ge,"Node "+ie.versions.node),ue="NW.js",ge=ie.versions.nw)),ue||(ue="Node.js",fe=ie.arch,Z=ie.platform,ge=/[\d.]+/.exec(ie.version),ge=ge?ge[0]:null));else g(ie=E.runtime)==J?(ue="Adobe AIR",Z=ie.flash.system.Capabilities.os):g(ie=E.phantom)==z?(ue="PhantomJS",ge=(ie=ie.version||null)&&ie.major+"."+ie.minor+"."+ie.patch):typeof q.documentMode=="number"&&(ie=/\bTrident\/(\d+)/i.exec(C))?(ge=[ge,q.documentMode],(ie=+ie[1]+4)!=ge[1]&&(xe.push("IE "+ge[1]+" mode"),ee&&(ee[1]=""),ge[1]=ie),ge=ue=="IE"?String(ge[1].toFixed(1)):ge[0]):typeof q.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(ue)&&(xe.push("masking as "+ue+" "+ge),ue="IE",ge="11.0",ee=["Trident"],Z="Windows");Z=Z&&h(Z)}if(ge&&(ie=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(ge)||/(?:alpha|beta)(?: ?\d)?/i.exec(C+";"+(ke&&M.appMinorVersion))||/\bMinefield\b/i.test(C)&&"a")&&(Se=/b/i.test(ie)?"beta":"alpha",ge=ge.replace(RegExp(ie+"\\+?$"),"")+(Se=="beta"?V:G)+(/\d+\+?/.exec(ie)||"")),ue=="Fennec"||ue=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(Z))ue="Firefox Mobile";else if(ue=="Maxthon"&&ge)ge=ge.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ge))Ge=="Xbox 360"&&(Z=null),Ge=="Xbox 360"&&/\bIEMobile\b/.test(C)&&xe.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(ue)||ue&&!Ge&&!/Browser|Mobi/.test(ue))&&(Z=="Windows CE"||/Mobi/i.test(C)))ue+=" Mobile";else if(ue=="IE"&&ke)try{E.external===null&&xe.unshift("platform preview")}catch(Re){xe.unshift("embedded")}else(/\bBlackBerry\b/.test(Ge)||/\bBB10\b/.test(C))&&(ie=(RegExp(Ge.replace(/ +/g," *")+"/([.\\d]+)","i").exec(C)||0)[1]||ge)?(ie=[ie,/BB10/.test(C)],Z=(ie[1]?(Ge=null,ae="BlackBerry"):"Device Software")+" "+ie[0],ge=null):this!=p&&Ge!="Wii"&&(ke&&re||/Opera/.test(ue)&&/\b(?:MSIE|Firefox)\b/i.test(C)||ue=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(Z)||ue=="IE"&&(Z&&!/^Win/.test(Z)&&ge>5.5||/\bWindows XP\b/.test(Z)&&ge>8||ge==8&&!/\bTrident\b/.test(C)))&&!a.test(ie=_.call(p,C.replace(a,"")+";"))&&ie.name&&(ie="ing as "+ie.name+((ie=ie.version)?" "+ie:""),a.test(ue)?(/\bIE\b/.test(ie)&&Z=="Mac OS"&&(Z=null),ie="identify"+ie):(ie="mask"+ie,ce?ue=h(ce.replace(/([a-z])([A-Z])/g,"$1 $2")):ue="Opera",/\bIE\b/.test(ie)&&(Z=null),ke||(ge=null)),ee=["Presto"],xe.push(ie));(ie=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(C)||0)[1])&&(ie=[parseFloat(ie.replace(/\.(\d)$/,".0$1")),ie],ue=="Safari"&&ie[1].slice(-1)=="+"?(ue="WebKit Nightly",Se="alpha",ge=ie[1].slice(0,-1)):(ge==ie[1]||ge==(ie[2]=(/\bSafari\/([\d.]+\+?)/i.exec(C)||0)[1]))&&(ge=null),ie[1]=(/\bChrome\/([\d.]+)/i.exec(C)||0)[1],ie[0]==537.36&&ie[2]==537.36&&parseFloat(ie[1])>=28&&ee=="WebKit"&&(ee=["Blink"]),!ke||!B&&!ie[1]?(ee&&(ee[1]="like Safari"),ie=(ie=ie[0],ie<400?1:ie<500?2:ie<526?3:ie<533?4:ie<534?"4+":ie<535?5:ie<537?6:ie<538?7:ie<601?8:"8")):(ee&&(ee[1]="like Chrome"),ie=ie[1]||(ie=ie[0],ie<530?1:ie<532?2:ie<532.05?3:ie<533?4:ie<534.03?5:ie<534.07?6:ie<534.1?7:ie<534.13?8:ie<534.16?9:ie<534.24?10:ie<534.3?11:ie<535.01?12:ie<535.02?"13+":ie<535.07?15:ie<535.11?16:ie<535.19?17:ie<536.05?18:ie<536.1?19:ie<537.01?20:ie<537.11?"21+":ie<537.13?23:ie<537.18?24:ie<537.24?25:ie<537.36?26:ee!="Blink"?"27":"28")),ee&&(ee[1]+=" "+(ie+=typeof ie=="number"?".x":/[.+]/.test(ie)?"":"+")),ue=="Safari"&&(!ge||parseInt(ge)>45)&&(ge=ie)),ue=="Opera"&&(ie=/\bzbov|zvav$/.exec(Z))?(ue+=" ",xe.unshift("desktop mode"),ie=="zvav"?(ue+="Mini",ge=null):ue+="Mobile",Z=Z.replace(RegExp(" *"+ie+"$"),"")):ue=="Safari"&&/\bChrome\b/.exec(ee&&ee[1])&&(xe.unshift("desktop mode"),ue="Chrome Mobile",ge=null,/\bOS X\b/.test(Z)?(ae="Apple",Z="iOS 4.3+"):Z=null),ge&&ge.indexOf(ie=/[\d.]+$/.exec(Z))==0&&C.indexOf("/"+ie+"-")>-1&&(Z=S(Z.replace(ie,""))),ee&&!/\b(?:Avant|Nook)\b/.test(ue)&&(/Browser|Lunascape|Maxthon/.test(ue)||ue!="Safari"&&/^iOS/.test(Z)&&/\bSafari\b/.test(ee[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(ue)&&ee[1])&&((ie=ee[ee.length-1])&&xe.push(ie)),xe.length&&(xe=["("+xe.join("; ")+")"]),ae&&Ge&&Ge.indexOf(ae)<0&&xe.push("on "+ae),Ge&&xe.push((/^on /.test(xe[xe.length-1])?"":"on ")+Ge),Z&&(ie=/ ([\d.+]+)$/.exec(Z),Be=ie&&Z.charAt(Z.length-ie[0].length-1)=="/",Z={architecture:32,family:ie&&!Be?Z.replace(ie[0],""):Z,version:ie?ie[1]:null,toString:function(){var it=this.version;return this.family+(it&&!Be?" "+it:"")+(this.architecture==64?" 64-bit":"")}}),(ie=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(fe))&&!/\bi686\b/i.test(fe)?(Z&&(Z.architecture=64,Z.family=Z.family.replace(RegExp(" *"+ie),"")),ue&&(/\bWOW64\b/i.test(C)||ke&&/\w(?:86|32)$/.test(M.cpuClass||M.platform)&&!/\bWin64; x64\b/i.test(C))&&xe.unshift("32-bit")):Z&&/^OS X/.test(Z.family)&&ue=="Chrome"&&parseFloat(ge)>=39&&(Z.architecture=64),C||(C=null);var be={};return be.description=C,be.layout=ee&&ee[0],be.manufacturer=ae,be.name=ue,be.prerelease=Se,be.product=Ge,be.ua=C,be.version=ue&&ge,be.os=Z||{architecture:null,family:null,version:null,toString:function(){return"null"}},be.parse=_,be.toString=me,be.version&&xe.unshift(ge),be.name&&xe.unshift(ue),Z&&ue&&!(Z==String(Z).split(" ")[0]&&(Z==ue.split(" ")[0]||Ge))&&xe.push(Ge?"("+Z+")":"on "+Z),xe.length&&(be.description=xe.join(" ")),be}var I=_();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(A.platform=I,define(function(){return I})):t&&e?p(I,function(C,E){t[E]=C}):A.platform=I}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(j,R,l){(function(x){"use strict";typeof x=="undefined"||!x.version||x.version.indexOf("v0.")===0||x.version.indexOf("v1.")===0&&x.version.indexOf("v1.8.")!==0?R.exports={nextTick:b}:R.exports=x;function b(A,f,t,e){if(typeof A!="function")throw new TypeError('"callback" argument must be a function');var m=arguments.length,d,a;switch(m){case 0:case 1:return x.nextTick(A);case 2:return x.nextTick(function(){A.call(null,f)});case 3:return x.nextTick(function(){A.call(null,f,t)});case 4:return x.nextTick(function(){A.call(null,f,t,e)});default:for(d=new Array(m-1),a=0;a1)for(var p=1;p= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=d-a,y=Math.floor,w=String.fromCharCode,S;function _(W){throw new RangeError(g[W])}function I(W,z){for(var K=W.length,P=[];K--;)P[K]=z(W[K]);return P}function C(W,z){var K=W.split("@"),P="";K.length>1&&(P=K[0]+"@",W=K[1]),W=W.replace(p,".");var G=W.split("."),V=I(G,z).join(".");return P+V}function E(W){for(var z=[],K=0,P=W.length,G,V;K=55296&&G<=56319&&K65535&&(z-=65536,K+=w(z>>>10&1023|55296),z=56320|z&1023),K+=w(z),K}).join("")}function M(W){return W-48<10?W-22:W-65<26?W-65:W-97<26?W-97:d}function F(W,z){return W+22+75*(W<26)-((z!=0)<<5)}function H(W,z,K){var P=0;for(W=K?y(W/c):W>>1,W+=y(W/z);W>v*n>>1;P+=d)W=y(W/v);return y(P+(v+1)*W/(W+s))}function B(W){var z=[],K=W.length,P,G=0,V=u,q=i,re,ce,ie,fe,xe,Se,ke,ge,Be;for(re=W.lastIndexOf(r),re<0&&(re=0),ce=0;ce=128&&_("not-basic"),z.push(W.charCodeAt(ce));for(ie=re>0?re+1:0;ie=K&&_("invalid-input"),ke=M(W.charCodeAt(ie++)),(ke>=d||ke>y((m-G)/xe))&&_("overflow"),G+=ke*xe,ge=Se<=q?a:Se>=q+n?n:Se-q,key(m/Be)&&_("overflow"),xe*=Be;P=z.length+1,q=H(G-fe,P,fe==0),y(G/P)>m-V&&_("overflow"),V+=y(G/P),G%=P,z.splice(G++,0,V)}return O(z)}function X(W){var z,K,P,G,V,q,re,ce,ie,fe,xe,Se=[],ke,ge,Be,ee;for(W=E(W),ke=W.length,z=u,K=0,V=i,q=0;q=z&&xey((m-K)/ge)&&_("overflow"),K+=(re-z)*ge,z=re,q=0;qm&&_("overflow"),xe==z){for(ce=K,ie=d;!(fe=ie<=V?a:ie>=V+n?n:ie-V,ce0&&n>a&&(n=a);for(var s=0;s=0?(u=c.substr(0,i),r=c.substr(i+1)):(u=c,r=""),o=decodeURIComponent(u),h=decodeURIComponent(r),x(m,o)?b(m[o])?m[o].push(h):m[o]=[m[o],h]:m[o]=h}return m};var b=Array.isArray||function(A){return Object.prototype.toString.call(A)==="[object Array]"}},{}],211:[function(j,R,l){"use strict";var x=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};R.exports=function(t,e,m,d){return e=e||"&",m=m||"=",t===null&&(t=void 0),typeof t=="object"?A(f(t),function(a){var n=encodeURIComponent(x(a))+m;return b(t[a])?A(t[a],function(s){return n+encodeURIComponent(x(s))}).join(e):n+encodeURIComponent(x(t[a]))}).join(e):d?encodeURIComponent(x(d))+m+encodeURIComponent(x(t)):""};var b=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};function A(t,e){if(t.map)return t.map(e);for(var m=[],d=0;d0?(typeof ue!="string"&&!Y.objectMode&&(0,f.default)(ue)!==u.prototype&&(ue=o(ue)),ae?Y.endEmitted?ee.emit("error",new Error("stream.unshift() after end event")):M(ee,Y,ue,!0):Y.ended?ee.emit("error",new Error("stream.push() after EOF")):(Y.reading=!1,Y.decoder&&!Ge?(ue=Y.decoder.write(ue),Y.objectMode||ue.length!==0?M(ee,Y,ue,!1):K(ee,Y)):M(ee,Y,ue,!1))):ae||(Y.reading=!1)}return H(Y)}function M(ee,ue,Ge,ae){ue.flowing&&ue.length===0&&!ue.sync?(ee.emit("data",Ge),ee.read(0)):(ue.length+=ue.objectMode?1:Ge.length,ae?ue.buffer.unshift(Ge):ue.buffer.push(Ge),ue.needReadable&&W(ee)),K(ee,ue)}function F(ee,ue){var Ge;return!h(ue)&&typeof ue!="string"&&ue!==void 0&&!ee.objectMode&&(Ge=new TypeError("Invalid non-string/buffer chunk")),Ge}function H(ee){return!ee.ended&&(ee.needReadable||ee.length=B?ee=B:(ee--,ee|=ee>>>1,ee|=ee>>>2,ee|=ee>>>4,ee|=ee>>>8,ee|=ee>>>16,ee++),ee}function J(ee,ue){return ee<=0||ue.length===0&&ue.ended?0:ue.objectMode?1:ee!==ee?ue.flowing&&ue.length?ue.buffer.head.data.length:ue.length:(ee>ue.highWaterMark&&(ue.highWaterMark=X(ee)),ee<=ue.length?ee:ue.ended?ue.length:(ue.needReadable=!0,0))}E.prototype.read=function(ee){v("read",ee),ee=parseInt(ee,10);var ue=this._readableState,Ge=ee;if(ee!==0&&(ue.emittedReadable=!1),ee===0&&ue.needReadable&&(ue.length>=ue.highWaterMark||ue.ended))return v("read: emitReadable",ue.length,ue.ended),ue.length===0&&ue.ended?ke(this):W(this),null;if(ee=J(ee,ue),ee===0&&ue.ended)return ue.length===0&&ke(this),null;var ae=ue.needReadable;v("need readable",ae),(ue.length===0||ue.length-ee0?Z=ie(ee,ue):Z=null,Z===null?(ue.needReadable=!0,ee=0):ue.length-=ee,ue.length===0&&(ue.ended||(ue.needReadable=!0),Ge!==ee&&ue.ended&&ke(this)),Z!==null&&this.emit("data",Z),Z};function k(ee,ue){if(ue.ended)return;if(ue.decoder){var Ge=ue.decoder.end();Ge&&Ge.length&&(ue.buffer.push(Ge),ue.length+=ue.objectMode?1:Ge.length)}ue.ended=!0,W(ee)}function W(ee){var ue=ee._readableState;ue.needReadable=!1,ue.emittedReadable||(v("emitReadable",ue.flowing),ue.emittedReadable=!0,ue.sync?d.nextTick(z,ee):z(ee))}function z(ee){v("emit readable"),ee.emit("readable"),ce(ee)}function K(ee,ue){ue.readingMore||(ue.readingMore=!0,d.nextTick(P,ee,ue))}function P(ee,ue){for(var Ge=ue.length;!ue.reading&&!ue.flowing&&!ue.ended&&ue.length1&&Be(ae.pipes,ee)!==-1)&&!De&&(v("false write response, pause",Ge._readableState.awaitDrain),Ge._readableState.awaitDrain++,me=!0),Ge.pause())}function Re(Pe){v("onerror",Pe),pt(),ee.removeListener("error",Re),c(ee,"error")===0&&ee.emit("error",Pe)}I(ee,"error",Re);function it(){ee.removeListener("finish",yt),pt()}ee.once("close",it);function yt(){v("onfinish"),ee.removeListener("close",it),pt()}ee.once("finish",yt);function pt(){v("unpipe"),Ge.unpipe(ee)}return ee.emit("pipe",Ge),ae.flowing||(v("pipe resume"),Ge.resume()),ee};function G(ee){return function(){var ue=ee._readableState;v("pipeOnDrain",ue.awaitDrain),ue.awaitDrain&&ue.awaitDrain--,ue.awaitDrain===0&&c(ee,"data")&&(ue.flowing=!0,ce(ee))}}E.prototype.unpipe=function(ee){var ue=this._readableState,Ge={hasUnpiped:!1};if(ue.pipesCount===0)return this;if(ue.pipesCount===1)return ee&&ee!==ue.pipes?this:(ee||(ee=ue.pipes),ue.pipes=null,ue.pipesCount=0,ue.flowing=!1,ee&&ee.emit("unpipe",this,Ge),this);if(!ee){var ae=ue.pipes,Z=ue.pipesCount;ue.pipes=null,ue.pipesCount=0,ue.flowing=!1;for(var Y=0;Y=ue.length?(ue.decoder?Ge=ue.buffer.join(""):ue.buffer.length===1?Ge=ue.buffer.head.data:Ge=ue.buffer.concat(ue.length),ue.buffer.clear()):Ge=fe(ee,ue.buffer,ue.decoder),Ge}function fe(ee,ue,Ge){var ae;return eeY.length?Y.length:ee;if(te===Y.length?Z+=Y:Z+=Y.slice(0,ee),ee-=te,ee===0){te===Y.length?(++ae,Ge.next?ue.head=Ge.next:ue.head=ue.tail=null):(ue.head=Ge,Ge.data=Y.slice(te));break}++ae}return ue.length-=ae,Z}function Se(ee,ue){var Ge=u.allocUnsafe(ee),ae=ue.head,Z=1;for(ae.data.copy(Ge),ee-=ae.data.length;ae=ae.next;){var Y=ae.data,te=ee>Y.length?Y.length:ee;if(Y.copy(Ge,Ge.length-ee,0,te),ee-=te,ee===0){te===Y.length?(++Z,ae.next?ue.head=ae.next:ue.head=ue.tail=null):(ue.head=ae,ae.data=Y.slice(te));break}++Z}return ue.length-=Z,Ge}function ke(ee){var ue=ee._readableState;if(ue.length>0)throw new Error('"endReadable()" called on non-empty stream');ue.endEmitted||(ue.ended=!0,d.nextTick(ge,ue,ee))}function ge(ee,ue){!ee.endEmitted&&ee.length===0&&(ee.endEmitted=!0,ue.readable=!1,ue.emit("end"))}function Be(ee,ue){for(var Ge=0,ae=ee.length;Ge-1?c.default:u.nextTick,p;F.WritableState=O;var g=(0,n.default)(j("core-util-is"));g.inherits=j("inherits");var v={deprecate:j("util-deprecate")},y=j("./internal/streams/stream"),w=j("safe-buffer").Buffer,S=b.Uint8Array||function(){};function _(Se){return w.from(Se)}function I(Se){return w.isBuffer(Se)||Se instanceof S}var C=j("./internal/streams/destroy");g.inherits(F,y);function E(){}function O(Se,ke){p=p||j("./_stream_duplex"),Se=Se||{};var ge=ke instanceof p;this.objectMode=!!Se.objectMode,ge&&(this.objectMode=this.objectMode||!!Se.writableObjectMode);var Be=Se.highWaterMark,ee=Se.writableHighWaterMark,ue=this.objectMode?16:16*1024;Be||Be===0?this.highWaterMark=Be:ge&&(ee||ee===0)?this.highWaterMark=ee:this.highWaterMark=ue,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Ge=Se.decodeStrings===!1;this.decodeStrings=!Ge,this.defaultEncoding=Se.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ae){K(ke,ae)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}O.prototype.getBuffer=function(){for(var ke=this.bufferedRequest,ge=[];ke;)ge.push(ke),ke=ke.next;return ge},function(){try{Object.defineProperty(O.prototype,"buffer",{get:v.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Se){}}();var M;typeof d.default=="function"&&e.default&&typeof Function.prototype[e.default]=="function"?(M=Function.prototype[e.default],(0,f.default)(F,e.default,{value:function(ke){return M.call(this,ke)?!0:this!==F?!1:ke&&ke._writableState instanceof O}})):M=function(ke){return ke instanceof this};function F(Se){if(p=p||j("./_stream_duplex"),!M.call(F,this)&&!(this instanceof p))return new F(Se);this._writableState=new O(Se,this),this.writable=!0,Se&&(typeof Se.write=="function"&&(this._write=Se.write),typeof Se.writev=="function"&&(this._writev=Se.writev),typeof Se.destroy=="function"&&(this._destroy=Se.destroy),typeof Se.final=="function"&&(this._final=Se.final)),y.call(this)}F.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function H(Se,ke){var ge=new Error("write after end");Se.emit("error",ge),u.nextTick(ke,ge)}function B(Se,ke,ge,Be){var ee=!0,ue=!1;return ge===null?ue=new TypeError("May not write null values to stream"):typeof ge!="string"&&ge!==void 0&&!ke.objectMode&&(ue=new TypeError("Invalid non-string/buffer chunk")),ue&&(Se.emit("error",ue),u.nextTick(Be,ue),ee=!1),ee}F.prototype.write=function(Se,ke,ge){var Be=this._writableState,ee=!1,ue=!Be.objectMode&&I(Se);return ue&&!w.isBuffer(Se)&&(Se=_(Se)),typeof ke=="function"&&(ge=ke,ke=null),ue?ke="buffer":ke||(ke=Be.defaultEncoding),typeof ge!="function"&&(ge=E),Be.ended?H(this,ge):(ue||B(this,Be,Se,ge))&&(Be.pendingcb++,ee=J(this,Be,ue,Se,ke,ge)),ee},F.prototype.cork=function(){var Se=this._writableState;Se.corked++},F.prototype.uncork=function(){var Se=this._writableState;Se.corked&&(Se.corked--,!Se.writing&&!Se.corked&&!Se.finished&&!Se.bufferProcessing&&Se.bufferedRequest&&V(this,Se))},F.prototype.setDefaultEncoding=function(ke){if(typeof ke=="string"&&(ke=ke.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((ke+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+ke);return this._writableState.defaultEncoding=ke,this};function X(Se,ke,ge){return!Se.objectMode&&Se.decodeStrings!==!1&&typeof ke=="string"&&(ke=w.from(ke,ge)),ke}Object.defineProperty(F.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function J(Se,ke,ge,Be,ee,ue){if(!ge){var Ge=X(ke,Be,ee);Be!==Ge&&(ge=!0,ee="buffer",Be=Ge)}var ae=ke.objectMode?1:Be.length;ke.length+=ae;var Z=ke.length0?this.tail.next=d:this.head=d,this.tail=d,++this.length},t.prototype.unshift=function(m){var d={data:m,next:this.head};this.length===0&&(this.tail=d),this.head=d,++this.length},t.prototype.shift=function(){if(this.length===0)return;var m=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,m},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(m){if(this.length===0)return"";for(var d=this.head,a=""+d.data;d=d.next;)a+=m+d.data;return a},t.prototype.concat=function(m){if(this.length===0)return b.alloc(0);if(this.length===1)return this.head.data;for(var d=b.allocUnsafe(m>>>0),a=this.head,n=0;a;)f(a.data,d,n),n+=a.data.length,a=a.next;return d},t}(),A&&A.inspect&&A.inspect.custom&&(R.exports.prototype[A.inspect.custom]=function(){var t=A.inspect({length:this.length});return this.constructor.name+" "+t})},{"safe-buffer":228,util:71}],220:[function(j,R,l){"use strict";var x=j("process-nextick-args");function b(t,e){var m=this,d=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return d||a?(e?e(t):t&&(!this._writableState||!this._writableState.errorEmitted)&&x.nextTick(f,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(n){!e&&n?(x.nextTick(f,m,n),m._writableState&&(m._writableState.errorEmitted=!0)):e&&e(n)}),this)}function A(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function f(t,e){t.emit("error",e)}R.exports={destroy:b,undestroy:A}},{"process-nextick-args":207}],221:[function(j,R,l){"use strict";R.exports=j("events").EventEmitter},{events:192}],222:[function(j,R,l){R.exports=j("./readable").PassThrough},{"./readable":223}],223:[function(j,R,l){l=R.exports=j("./lib/_stream_readable.js"),l.Stream=l,l.Readable=l,l.Writable=j("./lib/_stream_writable.js"),l.Duplex=j("./lib/_stream_duplex.js"),l.Transform=j("./lib/_stream_transform.js"),l.PassThrough=j("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":214,"./lib/_stream_passthrough.js":215,"./lib/_stream_readable.js":216,"./lib/_stream_transform.js":217,"./lib/_stream_writable.js":218}],224:[function(j,R,l){R.exports=j("./readable").Transform},{"./readable":223}],225:[function(j,R,l){R.exports=j("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(j,R,l){var x=function(){return this}()||Function("return this")(),b=x.regeneratorRuntime&&Object.getOwnPropertyNames(x).indexOf("regeneratorRuntime")>=0,A=b&&x.regeneratorRuntime;if(x.regeneratorRuntime=void 0,R.exports=j("./runtime"),b)x.regeneratorRuntime=A;else try{delete x.regeneratorRuntime}catch(f){x.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(j,R,l){!function(x){"use strict";var b=Object.prototype,A=b.hasOwnProperty,f,t=typeof Symbol=="function"?Symbol:{},e=t.iterator||"@@iterator",m=t.asyncIterator||"@@asyncIterator",d=t.toStringTag||"@@toStringTag",a=typeof R=="object",n=x.regeneratorRuntime;if(n){a&&(R.exports=n);return}n=x.regeneratorRuntime=a?R.exports:{};function s(J,k,W,z){var K=k&&k.prototype instanceof p?k:p,P=Object.create(K.prototype),G=new H(z||[]);return P._invoke=E(J,W,G),P}n.wrap=s;function c(J,k,W){try{return{type:"normal",arg:J.call(k,W)}}catch(z){return{type:"throw",arg:z}}}var i="suspendedStart",u="suspendedYield",r="executing",o="completed",h={};function p(){}function g(){}function v(){}var y={};y[e]=function(){return this};var w=Object.getPrototypeOf,S=w&&w(w(B([])));S&&S!==b&&A.call(S,e)&&(y=S);var _=v.prototype=p.prototype=Object.create(y);g.prototype=_.constructor=v,v.constructor=g,v[d]=g.displayName="GeneratorFunction";function I(J){["next","throw","return"].forEach(function(k){J[k]=function(W){return this._invoke(k,W)}})}n.isGeneratorFunction=function(J){var k=typeof J=="function"&&J.constructor;return k?k===g||(k.displayName||k.name)==="GeneratorFunction":!1},n.mark=function(J){return Object.setPrototypeOf?Object.setPrototypeOf(J,v):(J.__proto__=v,d in J||(J[d]="GeneratorFunction")),J.prototype=Object.create(_),J},n.awrap=function(J){return{__await:J}};function C(J){function k(K,P,G,V){var q=c(J[K],J,P);if(q.type==="throw")V(q.arg);else{var re=q.arg,ce=re.value;return ce&&typeof ce=="object"&&A.call(ce,"__await")?Promise.resolve(ce.__await).then(function(ie){k("next",ie,G,V)},function(ie){k("throw",ie,G,V)}):Promise.resolve(ce).then(function(ie){re.value=ie,G(re)},V)}}var W;function z(K,P){function G(){return new Promise(function(V,q){k(K,P,V,q)})}return W=W?W.then(G,G):G()}this._invoke=z}I(C.prototype),C.prototype[m]=function(){return this},n.AsyncIterator=C,n.async=function(J,k,W,z){var K=new C(s(J,k,W,z));return n.isGeneratorFunction(k)?K:K.next().then(function(P){return P.done?P.value:K.next()})};function E(J,k,W){var z=i;return function(P,G){if(z===r)throw new Error("Generator is already running");if(z===o){if(P==="throw")throw G;return X()}for(W.method=P,W.arg=G;;){var V=W.delegate;if(V){var q=O(V,W);if(q){if(q===h)continue;return q}}if(W.method==="next")W.sent=W._sent=W.arg;else if(W.method==="throw"){if(z===i)throw z=o,W.arg;W.dispatchException(W.arg)}else W.method==="return"&&W.abrupt("return",W.arg);z=r;var re=c(J,k,W);if(re.type==="normal"){if(z=W.done?o:u,re.arg===h)continue;return{value:re.arg,done:W.done}}else re.type==="throw"&&(z=o,W.method="throw",W.arg=re.arg)}}}function O(J,k){var W=J.iterator[k.method];if(W===f){if(k.delegate=null,k.method==="throw"){if(J.iterator.return&&(k.method="return",k.arg=f,O(J,k),k.method==="throw"))return h;k.method="throw",k.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var z=c(W,J.iterator,k.arg);if(z.type==="throw")return k.method="throw",k.arg=z.arg,k.delegate=null,h;var K=z.arg;if(!K)return k.method="throw",k.arg=new TypeError("iterator result is not an object"),k.delegate=null,h;if(K.done)k[J.resultName]=K.value,k.next=J.nextLoc,k.method!=="return"&&(k.method="next",k.arg=f);else return K;return k.delegate=null,h}I(_),_[d]="Generator",_[e]=function(){return this},_.toString=function(){return"[object Generator]"};function M(J){var k={tryLoc:J[0]};1 in J&&(k.catchLoc=J[1]),2 in J&&(k.finallyLoc=J[2],k.afterLoc=J[3]),this.tryEntries.push(k)}function F(J){var k=J.completion||{};k.type="normal",delete k.arg,J.completion=k}function H(J){this.tryEntries=[{tryLoc:"root"}],J.forEach(M,this),this.reset(!0)}n.keys=function(J){var k=[];for(var W in J)k.push(W);return k.reverse(),function z(){for(;k.length;){var K=k.pop();if(K in J)return z.value=K,z.done=!1,z}return z.done=!0,z}};function B(J){if(J){var k=J[e];if(k)return k.call(J);if(typeof J.next=="function")return J;if(!isNaN(J.length)){var W=-1,z=function K(){for(;++W=0;--K){var P=this.tryEntries[K],G=P.completion;if(P.tryLoc==="root")return z("end");if(P.tryLoc<=this.prev){var V=A.call(P,"catchLoc"),q=A.call(P,"finallyLoc");if(V&&q){if(this.prev=0;--z){var K=this.tryEntries[z];if(K.tryLoc<=this.prev&&A.call(K,"finallyLoc")&&this.prev=0;--W){var z=this.tryEntries[W];if(z.finallyLoc===k)return this.complete(z.completion,z.afterLoc),F(z),h}},catch:function(k){for(var W=this.tryEntries.length-1;W>=0;--W){var z=this.tryEntries[W];if(z.tryLoc===k){var K=z.completion;if(K.type==="throw"){var P=K.arg;F(z)}return P}}throw new Error("illegal catch attempt")},delegateYield:function(k,W,z){return this.delegate={iterator:B(k),resultName:W,nextLoc:z},this.method==="next"&&(this.arg=f),h}}}(function(){return this}()||Function("return this")())},{}],228:[function(j,R,l){var x=j("buffer"),b=x.Buffer;function A(t,e){for(var m in t)e[m]=t[m]}b.from&&b.alloc&&b.allocUnsafe&&b.allocUnsafeSlow?R.exports=x:(A(x,l),l.Buffer=f);function f(t,e,m){return b(t,e,m)}A(b,f),f.from=function(t,e,m){if(typeof t=="number")throw new TypeError("Argument must not be a number");return b(t,e,m)},f.alloc=function(t,e,m){if(typeof t!="number")throw new TypeError("Argument must be a number");var d=b(t);return e!==void 0?typeof m=="string"?d.fill(e,m):d.fill(e):d.fill(0),d},f.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return b(t)},f.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return x.SlowBuffer(t)}},{buffer:73}],229:[function(j,R,l){(function(x){"use strict";var b=j("babel-runtime/core-js/string/from-code-point"),A=u(b),f=j("babel-runtime/core-js/json/stringify"),t=u(f),e=j("babel-runtime/helpers/typeof"),m=u(e),d=j("babel-runtime/core-js/object/define-property"),a=u(d),n=j("babel-runtime/core-js/object/keys"),s=u(n),c=j("babel-runtime/core-js/object/create"),i=u(c);function u(r){return r&&r.__esModule?r:{default:r}}(function(r){r.parser=function(Y,te){return new h(Y,te)},r.SAXParser=h,r.SAXStream=_,r.createStream=S,r.MAX_BUFFER_LENGTH=64*1024;var o=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];r.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function h(Y,te){if(!(this instanceof h))return new h(Y,te);var we=this;g(we),we.q=we.c="",we.bufferCheckPosition=r.MAX_BUFFER_LENGTH,we.opt=te||{},we.opt.lowercase=we.opt.lowercase||we.opt.lowercasetags,we.looseCase=we.opt.lowercase?"toLowerCase":"toUpperCase",we.tags=[],we.closed=we.closedRoot=we.sawRoot=!1,we.tag=we.error=null,we.strict=!!Y,we.noscript=!!(Y||we.opt.noscript),we.state=P.BEGIN,we.strictEntities=we.opt.strictEntities,we.ENTITIES=we.strictEntities?(0,i.default)(r.XML_ENTITIES):(0,i.default)(r.ENTITIES),we.attribList=[],we.opt.xmlns&&(we.ns=(0,i.default)(M)),we.trackPosition=we.opt.position!==!1,we.trackPosition&&(we.position=we.line=we.column=0),V(we,"onready")}i.default||(Object.create=function(Y){function te(){}te.prototype=Y;var we=new te;return we}),s.default||(Object.keys=function(Y){var te=[];for(var we in Y)Y.hasOwnProperty(we)&&te.push(we);return te});function p(Y){for(var te=Math.max(r.MAX_BUFFER_LENGTH,10),we=0,pe=0,De=o.length;pete)switch(o[pe]){case"textNode":re(Y);break;case"cdata":q(Y,"oncdata",Y.cdata),Y.cdata="";break;case"script":q(Y,"onscript",Y.script),Y.script="";break;default:ie(Y,"Max buffer length exceeded: "+o[pe])}we=Math.max(we,Ne)}var me=r.MAX_BUFFER_LENGTH-we;Y.bufferCheckPosition=me+Y.position}function g(Y){for(var te=0,we=o.length;te"||J(Y)}function z(Y,te){return Y.test(te)}function K(Y,te){return!z(Y,te)}var P=0;r.STATE={BEGIN:P++,BEGIN_WHITESPACE:P++,TEXT:P++,TEXT_ENTITY:P++,OPEN_WAKA:P++,SGML_DECL:P++,SGML_DECL_QUOTED:P++,DOCTYPE:P++,DOCTYPE_QUOTED:P++,DOCTYPE_DTD:P++,DOCTYPE_DTD_QUOTED:P++,COMMENT_STARTING:P++,COMMENT:P++,COMMENT_ENDING:P++,COMMENT_ENDED:P++,CDATA:P++,CDATA_ENDING:P++,CDATA_ENDING_2:P++,PROC_INST:P++,PROC_INST_BODY:P++,PROC_INST_ENDING:P++,OPEN_TAG:P++,OPEN_TAG_SLASH:P++,ATTRIB:P++,ATTRIB_NAME:P++,ATTRIB_NAME_SAW_WHITE:P++,ATTRIB_VALUE:P++,ATTRIB_VALUE_QUOTED:P++,ATTRIB_VALUE_CLOSED:P++,ATTRIB_VALUE_UNQUOTED:P++,ATTRIB_VALUE_ENTITY_Q:P++,ATTRIB_VALUE_ENTITY_U:P++,CLOSE_TAG:P++,CLOSE_TAG_SAW_WHITE:P++,SCRIPT:P++,SCRIPT_ENDING:P++},r.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},r.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},(0,s.default)(r.ENTITIES).forEach(function(Y){var te=r.ENTITIES[Y],we=typeof te=="number"?String.fromCharCode(te):te;r.ENTITIES[Y]=we});for(var G in r.STATE)r.STATE[r.STATE[G]]=G;P=r.STATE;function V(Y,te,we){Y[te]&&Y[te](we)}function q(Y,te,we){Y.textNode&&re(Y),V(Y,te,we)}function re(Y){Y.textNode=ce(Y.opt,Y.textNode),Y.textNode&&V(Y,"ontext",Y.textNode),Y.textNode=""}function ce(Y,te){return Y.trim&&(te=te.trim()),Y.normalize&&(te=te.replace(/\s+/g," ")),te}function ie(Y,te){return re(Y),Y.trackPosition&&(te+=` +*/(function(){"use strict";var b={function:!0,object:!0},A=b[typeof window]&&window||this,f=A,t=b[typeof l]&&l,e=b[typeof R]&&R&&!R.nodeType&&R,m=t&&e&&typeof x=="object"&&x;m&&(m.global===m||m.window===m||m.self===m)&&(A=m);var d=Math.pow(2,53)-1,a=/\bOpera/,n=this,s=Object.prototype,c=s.hasOwnProperty,i=s.toString;function u(C){return C=String(C),C.charAt(0).toUpperCase()+C.slice(1)}function r(C,E,O){var M={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return E&&O&&/^Win/i.test(C)&&!/^Windows Phone /i.test(C)&&(M=M[/[\d.]+$/.exec(C)])&&(C="Windows "+M),C=String(C),E&&O&&(C=C.replace(RegExp(E,"i"),O)),C=h(C.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),C}function o(C,E){var O=-1,M=C?C.length:0;if(typeof M=="number"&&M>-1&&M<=d)for(;++O3&&"WebKit"||/\bOpera\b/.test(ue)&&(/\bOPR\b/.test(C)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(C)&&!/^(?:Trident|EdgeHTML)$/.test(ee)&&"WebKit"||!ee&&/\bMSIE\b/i.test(C)&&(Z=="Mac OS"?"Tasman":"Trident")||ee=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(ue)&&"NetFront")&&(ee=[ie]),ue=="IE"&&(ie=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(C)||0)[1])?(ue+=" Mobile",Z="Windows Phone "+(/\+$/.test(ie)?ie:ie+".x"),xe.unshift("desktop mode")):/\bWPDesktop\b/i.test(C)?(ue="IE Mobile",Z="Windows Phone 8.x",xe.unshift("desktop mode"),ge||(ge=(/\brv:([\d.]+)/.exec(C)||0)[1])):ue!="IE"&&ee=="Trident"&&(ie=/\brv:([\d.]+)/.exec(C))&&(ue&&xe.push("identifying as "+ue+(ge?" "+ge:"")),ue="IE",ge=ie[1]),ke){if(v(E,"global"))if(W&&(ie=W.lang.System,fe=ie.getProperty("os.arch"),Z=Z||ie.getProperty("os.name")+" "+ie.getProperty("os.version")),P){try{ge=E.require("ringo/engine").version.join("."),ue="RingoJS"}catch(Re){(ie=E.system)&&ie.global.system==E.system&&(ue="Narwhal",Z||(Z=ie[0].os||null))}ue||(ue="Rhino")}else typeof E.process=="object"&&!E.process.browser&&(ie=E.process)&&(typeof ie.versions=="object"&&(typeof ie.versions.electron=="string"?(xe.push("Node "+ie.versions.node),ue="Electron",ge=ie.versions.electron):typeof ie.versions.nw=="string"&&(xe.push("Chromium "+ge,"Node "+ie.versions.node),ue="NW.js",ge=ie.versions.nw)),ue||(ue="Node.js",fe=ie.arch,Z=ie.platform,ge=/[\d.]+/.exec(ie.version),ge=ge?ge[0]:null));else g(ie=E.runtime)==J?(ue="Adobe AIR",Z=ie.flash.system.Capabilities.os):g(ie=E.phantom)==z?(ue="PhantomJS",ge=(ie=ie.version||null)&&ie.major+"."+ie.minor+"."+ie.patch):typeof q.documentMode=="number"&&(ie=/\bTrident\/(\d+)/i.exec(C))?(ge=[ge,q.documentMode],(ie=+ie[1]+4)!=ge[1]&&(xe.push("IE "+ge[1]+" mode"),ee&&(ee[1]=""),ge[1]=ie),ge=ue=="IE"?String(ge[1].toFixed(1)):ge[0]):typeof q.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(ue)&&(xe.push("masking as "+ue+" "+ge),ue="IE",ge="11.0",ee=["Trident"],Z="Windows");Z=Z&&h(Z)}if(ge&&(ie=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(ge)||/(?:alpha|beta)(?: ?\d)?/i.exec(C+";"+(ke&&M.appMinorVersion))||/\bMinefield\b/i.test(C)&&"a")&&(Se=/b/i.test(ie)?"beta":"alpha",ge=ge.replace(RegExp(ie+"\\+?$"),"")+(Se=="beta"?V:G)+(/\d+\+?/.exec(ie)||"")),ue=="Fennec"||ue=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(Z))ue="Firefox Mobile";else if(ue=="Maxthon"&&ge)ge=ge.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ge))Ge=="Xbox 360"&&(Z=null),Ge=="Xbox 360"&&/\bIEMobile\b/.test(C)&&xe.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(ue)||ue&&!Ge&&!/Browser|Mobi/.test(ue))&&(Z=="Windows CE"||/Mobi/i.test(C)))ue+=" Mobile";else if(ue=="IE"&&ke)try{E.external===null&&xe.unshift("platform preview")}catch(Re){xe.unshift("embedded")}else(/\bBlackBerry\b/.test(Ge)||/\bBB10\b/.test(C))&&(ie=(RegExp(Ge.replace(/ +/g," *")+"/([.\\d]+)","i").exec(C)||0)[1]||ge)?(ie=[ie,/BB10/.test(C)],Z=(ie[1]?(Ge=null,ae="BlackBerry"):"Device Software")+" "+ie[0],ge=null):this!=p&&Ge!="Wii"&&(ke&&re||/Opera/.test(ue)&&/\b(?:MSIE|Firefox)\b/i.test(C)||ue=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(Z)||ue=="IE"&&(Z&&!/^Win/.test(Z)&&ge>5.5||/\bWindows XP\b/.test(Z)&&ge>8||ge==8&&!/\bTrident\b/.test(C)))&&!a.test(ie=_.call(p,C.replace(a,"")+";"))&&ie.name&&(ie="ing as "+ie.name+((ie=ie.version)?" "+ie:""),a.test(ue)?(/\bIE\b/.test(ie)&&Z=="Mac OS"&&(Z=null),ie="identify"+ie):(ie="mask"+ie,ce?ue=h(ce.replace(/([a-z])([A-Z])/g,"$1 $2")):ue="Opera",/\bIE\b/.test(ie)&&(Z=null),ke||(ge=null)),ee=["Presto"],xe.push(ie));(ie=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(C)||0)[1])&&(ie=[parseFloat(ie.replace(/\.(\d)$/,".0$1")),ie],ue=="Safari"&&ie[1].slice(-1)=="+"?(ue="WebKit Nightly",Se="alpha",ge=ie[1].slice(0,-1)):(ge==ie[1]||ge==(ie[2]=(/\bSafari\/([\d.]+\+?)/i.exec(C)||0)[1]))&&(ge=null),ie[1]=(/\bChrome\/([\d.]+)/i.exec(C)||0)[1],ie[0]==537.36&&ie[2]==537.36&&parseFloat(ie[1])>=28&&ee=="WebKit"&&(ee=["Blink"]),!ke||!B&&!ie[1]?(ee&&(ee[1]="like Safari"),ie=(ie=ie[0],ie<400?1:ie<500?2:ie<526?3:ie<533?4:ie<534?"4+":ie<535?5:ie<537?6:ie<538?7:ie<601?8:"8")):(ee&&(ee[1]="like Chrome"),ie=ie[1]||(ie=ie[0],ie<530?1:ie<532?2:ie<532.05?3:ie<533?4:ie<534.03?5:ie<534.07?6:ie<534.1?7:ie<534.13?8:ie<534.16?9:ie<534.24?10:ie<534.3?11:ie<535.01?12:ie<535.02?"13+":ie<535.07?15:ie<535.11?16:ie<535.19?17:ie<536.05?18:ie<536.1?19:ie<537.01?20:ie<537.11?"21+":ie<537.13?23:ie<537.18?24:ie<537.24?25:ie<537.36?26:ee!="Blink"?"27":"28")),ee&&(ee[1]+=" "+(ie+=typeof ie=="number"?".x":/[.+]/.test(ie)?"":"+")),ue=="Safari"&&(!ge||parseInt(ge)>45)&&(ge=ie)),ue=="Opera"&&(ie=/\bzbov|zvav$/.exec(Z))?(ue+=" ",xe.unshift("desktop mode"),ie=="zvav"?(ue+="Mini",ge=null):ue+="Mobile",Z=Z.replace(RegExp(" *"+ie+"$"),"")):ue=="Safari"&&/\bChrome\b/.exec(ee&&ee[1])&&(xe.unshift("desktop mode"),ue="Chrome Mobile",ge=null,/\bOS X\b/.test(Z)?(ae="Apple",Z="iOS 4.3+"):Z=null),ge&&ge.indexOf(ie=/[\d.]+$/.exec(Z))==0&&C.indexOf("/"+ie+"-")>-1&&(Z=S(Z.replace(ie,""))),ee&&!/\b(?:Avant|Nook)\b/.test(ue)&&(/Browser|Lunascape|Maxthon/.test(ue)||ue!="Safari"&&/^iOS/.test(Z)&&/\bSafari\b/.test(ee[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(ue)&&ee[1])&&((ie=ee[ee.length-1])&&xe.push(ie)),xe.length&&(xe=["("+xe.join("; ")+")"]),ae&&Ge&&Ge.indexOf(ae)<0&&xe.push("on "+ae),Ge&&xe.push((/^on /.test(xe[xe.length-1])?"":"on ")+Ge),Z&&(ie=/ ([\d.+]+)$/.exec(Z),Be=ie&&Z.charAt(Z.length-ie[0].length-1)=="/",Z={architecture:32,family:ie&&!Be?Z.replace(ie[0],""):Z,version:ie?ie[1]:null,toString:function(){var it=this.version;return this.family+(it&&!Be?" "+it:"")+(this.architecture==64?" 64-bit":"")}}),(ie=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(fe))&&!/\bi686\b/i.test(fe)?(Z&&(Z.architecture=64,Z.family=Z.family.replace(RegExp(" *"+ie),"")),ue&&(/\bWOW64\b/i.test(C)||ke&&/\w(?:86|32)$/.test(M.cpuClass||M.platform)&&!/\bWin64; x64\b/i.test(C))&&xe.unshift("32-bit")):Z&&/^OS X/.test(Z.family)&&ue=="Chrome"&&parseFloat(ge)>=39&&(Z.architecture=64),C||(C=null);var be={};return be.description=C,be.layout=ee&&ee[0],be.manufacturer=ae,be.name=ue,be.prerelease=Se,be.product=Ge,be.ua=C,be.version=ue&&ge,be.os=Z||{architecture:null,family:null,version:null,toString:function(){return"null"}},be.parse=_,be.toString=me,be.version&&xe.unshift(ge),be.name&&xe.unshift(ue),Z&&ue&&!(Z==String(Z).split(" ")[0]&&(Z==ue.split(" ")[0]||Ge))&&xe.push(Ge?"("+Z+")":"on "+Z),xe.length&&(be.description=xe.join(" ")),be}var I=_();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(A.platform=I,define(function(){return I})):t&&e?p(I,function(C,E){t[E]=C}):A.platform=I}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(j,R,l){(function(x){"use strict";typeof x=="undefined"||!x.version||x.version.indexOf("v0.")===0||x.version.indexOf("v1.")===0&&x.version.indexOf("v1.8.")!==0?R.exports={nextTick:b}:R.exports=x;function b(A,f,t,e){if(typeof A!="function")throw new TypeError('"callback" argument must be a function');var m=arguments.length,d,a;switch(m){case 0:case 1:return x.nextTick(A);case 2:return x.nextTick(function(){A.call(null,f)});case 3:return x.nextTick(function(){A.call(null,f,t)});case 4:return x.nextTick(function(){A.call(null,f,t,e)});default:for(d=new Array(m-1),a=0;a1)for(var p=1;p= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=d-a,y=Math.floor,w=String.fromCharCode,S;function _(K){throw new RangeError(g[K])}function I(K,z){for(var W=K.length,P=[];W--;)P[W]=z(K[W]);return P}function C(K,z){var W=K.split("@"),P="";W.length>1&&(P=W[0]+"@",K=W[1]),K=K.replace(p,".");var G=K.split("."),V=I(G,z).join(".");return P+V}function E(K){for(var z=[],W=0,P=K.length,G,V;W=55296&&G<=56319&&W65535&&(z-=65536,W+=w(z>>>10&1023|55296),z=56320|z&1023),W+=w(z),W}).join("")}function M(K){return K-48<10?K-22:K-65<26?K-65:K-97<26?K-97:d}function F(K,z){return K+22+75*(K<26)-((z!=0)<<5)}function H(K,z,W){var P=0;for(K=W?y(K/c):K>>1,K+=y(K/z);K>v*n>>1;P+=d)K=y(K/v);return y(P+(v+1)*K/(K+s))}function B(K){var z=[],W=K.length,P,G=0,V=u,q=i,re,ce,ie,fe,xe,Se,ke,ge,Be;for(re=K.lastIndexOf(r),re<0&&(re=0),ce=0;ce=128&&_("not-basic"),z.push(K.charCodeAt(ce));for(ie=re>0?re+1:0;ie=W&&_("invalid-input"),ke=M(K.charCodeAt(ie++)),(ke>=d||ke>y((m-G)/xe))&&_("overflow"),G+=ke*xe,ge=Se<=q?a:Se>=q+n?n:Se-q,key(m/Be)&&_("overflow"),xe*=Be;P=z.length+1,q=H(G-fe,P,fe==0),y(G/P)>m-V&&_("overflow"),V+=y(G/P),G%=P,z.splice(G++,0,V)}return O(z)}function X(K){var z,W,P,G,V,q,re,ce,ie,fe,xe,Se=[],ke,ge,Be,ee;for(K=E(K),ke=K.length,z=u,W=0,V=i,q=0;q=z&&xey((m-W)/ge)&&_("overflow"),W+=(re-z)*ge,z=re,q=0;qm&&_("overflow"),xe==z){for(ce=W,ie=d;!(fe=ie<=V?a:ie>=V+n?n:ie-V,ce0&&n>a&&(n=a);for(var s=0;s=0?(u=c.substr(0,i),r=c.substr(i+1)):(u=c,r=""),o=decodeURIComponent(u),h=decodeURIComponent(r),x(m,o)?b(m[o])?m[o].push(h):m[o]=[m[o],h]:m[o]=h}return m};var b=Array.isArray||function(A){return Object.prototype.toString.call(A)==="[object Array]"}},{}],211:[function(j,R,l){"use strict";var x=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};R.exports=function(t,e,m,d){return e=e||"&",m=m||"=",t===null&&(t=void 0),typeof t=="object"?A(f(t),function(a){var n=encodeURIComponent(x(a))+m;return b(t[a])?A(t[a],function(s){return n+encodeURIComponent(x(s))}).join(e):n+encodeURIComponent(x(t[a]))}).join(e):d?encodeURIComponent(x(d))+m+encodeURIComponent(x(t)):""};var b=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};function A(t,e){if(t.map)return t.map(e);for(var m=[],d=0;d0?(typeof ue!="string"&&!Y.objectMode&&(0,f.default)(ue)!==u.prototype&&(ue=o(ue)),ae?Y.endEmitted?ee.emit("error",new Error("stream.unshift() after end event")):M(ee,Y,ue,!0):Y.ended?ee.emit("error",new Error("stream.push() after EOF")):(Y.reading=!1,Y.decoder&&!Ge?(ue=Y.decoder.write(ue),Y.objectMode||ue.length!==0?M(ee,Y,ue,!1):W(ee,Y)):M(ee,Y,ue,!1))):ae||(Y.reading=!1)}return H(Y)}function M(ee,ue,Ge,ae){ue.flowing&&ue.length===0&&!ue.sync?(ee.emit("data",Ge),ee.read(0)):(ue.length+=ue.objectMode?1:Ge.length,ae?ue.buffer.unshift(Ge):ue.buffer.push(Ge),ue.needReadable&&K(ee)),W(ee,ue)}function F(ee,ue){var Ge;return!h(ue)&&typeof ue!="string"&&ue!==void 0&&!ee.objectMode&&(Ge=new TypeError("Invalid non-string/buffer chunk")),Ge}function H(ee){return!ee.ended&&(ee.needReadable||ee.length=B?ee=B:(ee--,ee|=ee>>>1,ee|=ee>>>2,ee|=ee>>>4,ee|=ee>>>8,ee|=ee>>>16,ee++),ee}function J(ee,ue){return ee<=0||ue.length===0&&ue.ended?0:ue.objectMode?1:ee!==ee?ue.flowing&&ue.length?ue.buffer.head.data.length:ue.length:(ee>ue.highWaterMark&&(ue.highWaterMark=X(ee)),ee<=ue.length?ee:ue.ended?ue.length:(ue.needReadable=!0,0))}E.prototype.read=function(ee){v("read",ee),ee=parseInt(ee,10);var ue=this._readableState,Ge=ee;if(ee!==0&&(ue.emittedReadable=!1),ee===0&&ue.needReadable&&(ue.length>=ue.highWaterMark||ue.ended))return v("read: emitReadable",ue.length,ue.ended),ue.length===0&&ue.ended?ke(this):K(this),null;if(ee=J(ee,ue),ee===0&&ue.ended)return ue.length===0&&ke(this),null;var ae=ue.needReadable;v("need readable",ae),(ue.length===0||ue.length-ee0?Z=ie(ee,ue):Z=null,Z===null?(ue.needReadable=!0,ee=0):ue.length-=ee,ue.length===0&&(ue.ended||(ue.needReadable=!0),Ge!==ee&&ue.ended&&ke(this)),Z!==null&&this.emit("data",Z),Z};function k(ee,ue){if(ue.ended)return;if(ue.decoder){var Ge=ue.decoder.end();Ge&&Ge.length&&(ue.buffer.push(Ge),ue.length+=ue.objectMode?1:Ge.length)}ue.ended=!0,K(ee)}function K(ee){var ue=ee._readableState;ue.needReadable=!1,ue.emittedReadable||(v("emitReadable",ue.flowing),ue.emittedReadable=!0,ue.sync?d.nextTick(z,ee):z(ee))}function z(ee){v("emit readable"),ee.emit("readable"),ce(ee)}function W(ee,ue){ue.readingMore||(ue.readingMore=!0,d.nextTick(P,ee,ue))}function P(ee,ue){for(var Ge=ue.length;!ue.reading&&!ue.flowing&&!ue.ended&&ue.length1&&Be(ae.pipes,ee)!==-1)&&!De&&(v("false write response, pause",Ge._readableState.awaitDrain),Ge._readableState.awaitDrain++,me=!0),Ge.pause())}function Re(Pe){v("onerror",Pe),pt(),ee.removeListener("error",Re),c(ee,"error")===0&&ee.emit("error",Pe)}I(ee,"error",Re);function it(){ee.removeListener("finish",yt),pt()}ee.once("close",it);function yt(){v("onfinish"),ee.removeListener("close",it),pt()}ee.once("finish",yt);function pt(){v("unpipe"),Ge.unpipe(ee)}return ee.emit("pipe",Ge),ae.flowing||(v("pipe resume"),Ge.resume()),ee};function G(ee){return function(){var ue=ee._readableState;v("pipeOnDrain",ue.awaitDrain),ue.awaitDrain&&ue.awaitDrain--,ue.awaitDrain===0&&c(ee,"data")&&(ue.flowing=!0,ce(ee))}}E.prototype.unpipe=function(ee){var ue=this._readableState,Ge={hasUnpiped:!1};if(ue.pipesCount===0)return this;if(ue.pipesCount===1)return ee&&ee!==ue.pipes?this:(ee||(ee=ue.pipes),ue.pipes=null,ue.pipesCount=0,ue.flowing=!1,ee&&ee.emit("unpipe",this,Ge),this);if(!ee){var ae=ue.pipes,Z=ue.pipesCount;ue.pipes=null,ue.pipesCount=0,ue.flowing=!1;for(var Y=0;Y=ue.length?(ue.decoder?Ge=ue.buffer.join(""):ue.buffer.length===1?Ge=ue.buffer.head.data:Ge=ue.buffer.concat(ue.length),ue.buffer.clear()):Ge=fe(ee,ue.buffer,ue.decoder),Ge}function fe(ee,ue,Ge){var ae;return eeY.length?Y.length:ee;if(te===Y.length?Z+=Y:Z+=Y.slice(0,ee),ee-=te,ee===0){te===Y.length?(++ae,Ge.next?ue.head=Ge.next:ue.head=ue.tail=null):(ue.head=Ge,Ge.data=Y.slice(te));break}++ae}return ue.length-=ae,Z}function Se(ee,ue){var Ge=u.allocUnsafe(ee),ae=ue.head,Z=1;for(ae.data.copy(Ge),ee-=ae.data.length;ae=ae.next;){var Y=ae.data,te=ee>Y.length?Y.length:ee;if(Y.copy(Ge,Ge.length-ee,0,te),ee-=te,ee===0){te===Y.length?(++Z,ae.next?ue.head=ae.next:ue.head=ue.tail=null):(ue.head=ae,ae.data=Y.slice(te));break}++Z}return ue.length-=Z,Ge}function ke(ee){var ue=ee._readableState;if(ue.length>0)throw new Error('"endReadable()" called on non-empty stream');ue.endEmitted||(ue.ended=!0,d.nextTick(ge,ue,ee))}function ge(ee,ue){!ee.endEmitted&&ee.length===0&&(ee.endEmitted=!0,ue.readable=!1,ue.emit("end"))}function Be(ee,ue){for(var Ge=0,ae=ee.length;Ge-1?c.default:u.nextTick,p;F.WritableState=O;var g=(0,n.default)(j("core-util-is"));g.inherits=j("inherits");var v={deprecate:j("util-deprecate")},y=j("./internal/streams/stream"),w=j("safe-buffer").Buffer,S=b.Uint8Array||function(){};function _(Se){return w.from(Se)}function I(Se){return w.isBuffer(Se)||Se instanceof S}var C=j("./internal/streams/destroy");g.inherits(F,y);function E(){}function O(Se,ke){p=p||j("./_stream_duplex"),Se=Se||{};var ge=ke instanceof p;this.objectMode=!!Se.objectMode,ge&&(this.objectMode=this.objectMode||!!Se.writableObjectMode);var Be=Se.highWaterMark,ee=Se.writableHighWaterMark,ue=this.objectMode?16:16*1024;Be||Be===0?this.highWaterMark=Be:ge&&(ee||ee===0)?this.highWaterMark=ee:this.highWaterMark=ue,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Ge=Se.decodeStrings===!1;this.decodeStrings=!Ge,this.defaultEncoding=Se.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ae){W(ke,ae)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}O.prototype.getBuffer=function(){for(var ke=this.bufferedRequest,ge=[];ke;)ge.push(ke),ke=ke.next;return ge},function(){try{Object.defineProperty(O.prototype,"buffer",{get:v.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Se){}}();var M;typeof d.default=="function"&&e.default&&typeof Function.prototype[e.default]=="function"?(M=Function.prototype[e.default],(0,f.default)(F,e.default,{value:function(ke){return M.call(this,ke)?!0:this!==F?!1:ke&&ke._writableState instanceof O}})):M=function(ke){return ke instanceof this};function F(Se){if(p=p||j("./_stream_duplex"),!M.call(F,this)&&!(this instanceof p))return new F(Se);this._writableState=new O(Se,this),this.writable=!0,Se&&(typeof Se.write=="function"&&(this._write=Se.write),typeof Se.writev=="function"&&(this._writev=Se.writev),typeof Se.destroy=="function"&&(this._destroy=Se.destroy),typeof Se.final=="function"&&(this._final=Se.final)),y.call(this)}F.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function H(Se,ke){var ge=new Error("write after end");Se.emit("error",ge),u.nextTick(ke,ge)}function B(Se,ke,ge,Be){var ee=!0,ue=!1;return ge===null?ue=new TypeError("May not write null values to stream"):typeof ge!="string"&&ge!==void 0&&!ke.objectMode&&(ue=new TypeError("Invalid non-string/buffer chunk")),ue&&(Se.emit("error",ue),u.nextTick(Be,ue),ee=!1),ee}F.prototype.write=function(Se,ke,ge){var Be=this._writableState,ee=!1,ue=!Be.objectMode&&I(Se);return ue&&!w.isBuffer(Se)&&(Se=_(Se)),typeof ke=="function"&&(ge=ke,ke=null),ue?ke="buffer":ke||(ke=Be.defaultEncoding),typeof ge!="function"&&(ge=E),Be.ended?H(this,ge):(ue||B(this,Be,Se,ge))&&(Be.pendingcb++,ee=J(this,Be,ue,Se,ke,ge)),ee},F.prototype.cork=function(){var Se=this._writableState;Se.corked++},F.prototype.uncork=function(){var Se=this._writableState;Se.corked&&(Se.corked--,!Se.writing&&!Se.corked&&!Se.finished&&!Se.bufferProcessing&&Se.bufferedRequest&&V(this,Se))},F.prototype.setDefaultEncoding=function(ke){if(typeof ke=="string"&&(ke=ke.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((ke+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+ke);return this._writableState.defaultEncoding=ke,this};function X(Se,ke,ge){return!Se.objectMode&&Se.decodeStrings!==!1&&typeof ke=="string"&&(ke=w.from(ke,ge)),ke}Object.defineProperty(F.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function J(Se,ke,ge,Be,ee,ue){if(!ge){var Ge=X(ke,Be,ee);Be!==Ge&&(ge=!0,ee="buffer",Be=Ge)}var ae=ke.objectMode?1:Be.length;ke.length+=ae;var Z=ke.length0?this.tail.next=d:this.head=d,this.tail=d,++this.length},t.prototype.unshift=function(m){var d={data:m,next:this.head};this.length===0&&(this.tail=d),this.head=d,++this.length},t.prototype.shift=function(){if(this.length===0)return;var m=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,m},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(m){if(this.length===0)return"";for(var d=this.head,a=""+d.data;d=d.next;)a+=m+d.data;return a},t.prototype.concat=function(m){if(this.length===0)return b.alloc(0);if(this.length===1)return this.head.data;for(var d=b.allocUnsafe(m>>>0),a=this.head,n=0;a;)f(a.data,d,n),n+=a.data.length,a=a.next;return d},t}(),A&&A.inspect&&A.inspect.custom&&(R.exports.prototype[A.inspect.custom]=function(){var t=A.inspect({length:this.length});return this.constructor.name+" "+t})},{"safe-buffer":228,util:71}],220:[function(j,R,l){"use strict";var x=j("process-nextick-args");function b(t,e){var m=this,d=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return d||a?(e?e(t):t&&(!this._writableState||!this._writableState.errorEmitted)&&x.nextTick(f,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(n){!e&&n?(x.nextTick(f,m,n),m._writableState&&(m._writableState.errorEmitted=!0)):e&&e(n)}),this)}function A(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function f(t,e){t.emit("error",e)}R.exports={destroy:b,undestroy:A}},{"process-nextick-args":207}],221:[function(j,R,l){"use strict";R.exports=j("events").EventEmitter},{events:192}],222:[function(j,R,l){R.exports=j("./readable").PassThrough},{"./readable":223}],223:[function(j,R,l){l=R.exports=j("./lib/_stream_readable.js"),l.Stream=l,l.Readable=l,l.Writable=j("./lib/_stream_writable.js"),l.Duplex=j("./lib/_stream_duplex.js"),l.Transform=j("./lib/_stream_transform.js"),l.PassThrough=j("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":214,"./lib/_stream_passthrough.js":215,"./lib/_stream_readable.js":216,"./lib/_stream_transform.js":217,"./lib/_stream_writable.js":218}],224:[function(j,R,l){R.exports=j("./readable").Transform},{"./readable":223}],225:[function(j,R,l){R.exports=j("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(j,R,l){var x=function(){return this}()||Function("return this")(),b=x.regeneratorRuntime&&Object.getOwnPropertyNames(x).indexOf("regeneratorRuntime")>=0,A=b&&x.regeneratorRuntime;if(x.regeneratorRuntime=void 0,R.exports=j("./runtime"),b)x.regeneratorRuntime=A;else try{delete x.regeneratorRuntime}catch(f){x.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(j,R,l){!function(x){"use strict";var b=Object.prototype,A=b.hasOwnProperty,f,t=typeof Symbol=="function"?Symbol:{},e=t.iterator||"@@iterator",m=t.asyncIterator||"@@asyncIterator",d=t.toStringTag||"@@toStringTag",a=typeof R=="object",n=x.regeneratorRuntime;if(n){a&&(R.exports=n);return}n=x.regeneratorRuntime=a?R.exports:{};function s(J,k,K,z){var W=k&&k.prototype instanceof p?k:p,P=Object.create(W.prototype),G=new H(z||[]);return P._invoke=E(J,K,G),P}n.wrap=s;function c(J,k,K){try{return{type:"normal",arg:J.call(k,K)}}catch(z){return{type:"throw",arg:z}}}var i="suspendedStart",u="suspendedYield",r="executing",o="completed",h={};function p(){}function g(){}function v(){}var y={};y[e]=function(){return this};var w=Object.getPrototypeOf,S=w&&w(w(B([])));S&&S!==b&&A.call(S,e)&&(y=S);var _=v.prototype=p.prototype=Object.create(y);g.prototype=_.constructor=v,v.constructor=g,v[d]=g.displayName="GeneratorFunction";function I(J){["next","throw","return"].forEach(function(k){J[k]=function(K){return this._invoke(k,K)}})}n.isGeneratorFunction=function(J){var k=typeof J=="function"&&J.constructor;return k?k===g||(k.displayName||k.name)==="GeneratorFunction":!1},n.mark=function(J){return Object.setPrototypeOf?Object.setPrototypeOf(J,v):(J.__proto__=v,d in J||(J[d]="GeneratorFunction")),J.prototype=Object.create(_),J},n.awrap=function(J){return{__await:J}};function C(J){function k(W,P,G,V){var q=c(J[W],J,P);if(q.type==="throw")V(q.arg);else{var re=q.arg,ce=re.value;return ce&&typeof ce=="object"&&A.call(ce,"__await")?Promise.resolve(ce.__await).then(function(ie){k("next",ie,G,V)},function(ie){k("throw",ie,G,V)}):Promise.resolve(ce).then(function(ie){re.value=ie,G(re)},V)}}var K;function z(W,P){function G(){return new Promise(function(V,q){k(W,P,V,q)})}return K=K?K.then(G,G):G()}this._invoke=z}I(C.prototype),C.prototype[m]=function(){return this},n.AsyncIterator=C,n.async=function(J,k,K,z){var W=new C(s(J,k,K,z));return n.isGeneratorFunction(k)?W:W.next().then(function(P){return P.done?P.value:W.next()})};function E(J,k,K){var z=i;return function(P,G){if(z===r)throw new Error("Generator is already running");if(z===o){if(P==="throw")throw G;return X()}for(K.method=P,K.arg=G;;){var V=K.delegate;if(V){var q=O(V,K);if(q){if(q===h)continue;return q}}if(K.method==="next")K.sent=K._sent=K.arg;else if(K.method==="throw"){if(z===i)throw z=o,K.arg;K.dispatchException(K.arg)}else K.method==="return"&&K.abrupt("return",K.arg);z=r;var re=c(J,k,K);if(re.type==="normal"){if(z=K.done?o:u,re.arg===h)continue;return{value:re.arg,done:K.done}}else re.type==="throw"&&(z=o,K.method="throw",K.arg=re.arg)}}}function O(J,k){var K=J.iterator[k.method];if(K===f){if(k.delegate=null,k.method==="throw"){if(J.iterator.return&&(k.method="return",k.arg=f,O(J,k),k.method==="throw"))return h;k.method="throw",k.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var z=c(K,J.iterator,k.arg);if(z.type==="throw")return k.method="throw",k.arg=z.arg,k.delegate=null,h;var W=z.arg;if(!W)return k.method="throw",k.arg=new TypeError("iterator result is not an object"),k.delegate=null,h;if(W.done)k[J.resultName]=W.value,k.next=J.nextLoc,k.method!=="return"&&(k.method="next",k.arg=f);else return W;return k.delegate=null,h}I(_),_[d]="Generator",_[e]=function(){return this},_.toString=function(){return"[object Generator]"};function M(J){var k={tryLoc:J[0]};1 in J&&(k.catchLoc=J[1]),2 in J&&(k.finallyLoc=J[2],k.afterLoc=J[3]),this.tryEntries.push(k)}function F(J){var k=J.completion||{};k.type="normal",delete k.arg,J.completion=k}function H(J){this.tryEntries=[{tryLoc:"root"}],J.forEach(M,this),this.reset(!0)}n.keys=function(J){var k=[];for(var K in J)k.push(K);return k.reverse(),function z(){for(;k.length;){var W=k.pop();if(W in J)return z.value=W,z.done=!1,z}return z.done=!0,z}};function B(J){if(J){var k=J[e];if(k)return k.call(J);if(typeof J.next=="function")return J;if(!isNaN(J.length)){var K=-1,z=function W(){for(;++K=0;--W){var P=this.tryEntries[W],G=P.completion;if(P.tryLoc==="root")return z("end");if(P.tryLoc<=this.prev){var V=A.call(P,"catchLoc"),q=A.call(P,"finallyLoc");if(V&&q){if(this.prev=0;--z){var W=this.tryEntries[z];if(W.tryLoc<=this.prev&&A.call(W,"finallyLoc")&&this.prev=0;--K){var z=this.tryEntries[K];if(z.finallyLoc===k)return this.complete(z.completion,z.afterLoc),F(z),h}},catch:function(k){for(var K=this.tryEntries.length-1;K>=0;--K){var z=this.tryEntries[K];if(z.tryLoc===k){var W=z.completion;if(W.type==="throw"){var P=W.arg;F(z)}return P}}throw new Error("illegal catch attempt")},delegateYield:function(k,K,z){return this.delegate={iterator:B(k),resultName:K,nextLoc:z},this.method==="next"&&(this.arg=f),h}}}(function(){return this}()||Function("return this")())},{}],228:[function(j,R,l){var x=j("buffer"),b=x.Buffer;function A(t,e){for(var m in t)e[m]=t[m]}b.from&&b.alloc&&b.allocUnsafe&&b.allocUnsafeSlow?R.exports=x:(A(x,l),l.Buffer=f);function f(t,e,m){return b(t,e,m)}A(b,f),f.from=function(t,e,m){if(typeof t=="number")throw new TypeError("Argument must not be a number");return b(t,e,m)},f.alloc=function(t,e,m){if(typeof t!="number")throw new TypeError("Argument must be a number");var d=b(t);return e!==void 0?typeof m=="string"?d.fill(e,m):d.fill(e):d.fill(0),d},f.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return b(t)},f.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return x.SlowBuffer(t)}},{buffer:73}],229:[function(j,R,l){(function(x){"use strict";var b=j("babel-runtime/core-js/string/from-code-point"),A=u(b),f=j("babel-runtime/core-js/json/stringify"),t=u(f),e=j("babel-runtime/helpers/typeof"),m=u(e),d=j("babel-runtime/core-js/object/define-property"),a=u(d),n=j("babel-runtime/core-js/object/keys"),s=u(n),c=j("babel-runtime/core-js/object/create"),i=u(c);function u(r){return r&&r.__esModule?r:{default:r}}(function(r){r.parser=function(Y,te){return new h(Y,te)},r.SAXParser=h,r.SAXStream=_,r.createStream=S,r.MAX_BUFFER_LENGTH=64*1024;var o=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];r.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function h(Y,te){if(!(this instanceof h))return new h(Y,te);var we=this;g(we),we.q=we.c="",we.bufferCheckPosition=r.MAX_BUFFER_LENGTH,we.opt=te||{},we.opt.lowercase=we.opt.lowercase||we.opt.lowercasetags,we.looseCase=we.opt.lowercase?"toLowerCase":"toUpperCase",we.tags=[],we.closed=we.closedRoot=we.sawRoot=!1,we.tag=we.error=null,we.strict=!!Y,we.noscript=!!(Y||we.opt.noscript),we.state=P.BEGIN,we.strictEntities=we.opt.strictEntities,we.ENTITIES=we.strictEntities?(0,i.default)(r.XML_ENTITIES):(0,i.default)(r.ENTITIES),we.attribList=[],we.opt.xmlns&&(we.ns=(0,i.default)(M)),we.trackPosition=we.opt.position!==!1,we.trackPosition&&(we.position=we.line=we.column=0),V(we,"onready")}i.default||(Object.create=function(Y){function te(){}te.prototype=Y;var we=new te;return we}),s.default||(Object.keys=function(Y){var te=[];for(var we in Y)Y.hasOwnProperty(we)&&te.push(we);return te});function p(Y){for(var te=Math.max(r.MAX_BUFFER_LENGTH,10),we=0,pe=0,De=o.length;pete)switch(o[pe]){case"textNode":re(Y);break;case"cdata":q(Y,"oncdata",Y.cdata),Y.cdata="";break;case"script":q(Y,"onscript",Y.script),Y.script="";break;default:ie(Y,"Max buffer length exceeded: "+o[pe])}we=Math.max(we,Ne)}var me=r.MAX_BUFFER_LENGTH-we;Y.bufferCheckPosition=me+Y.position}function g(Y){for(var te=0,we=o.length;te"||J(Y)}function z(Y,te){return Y.test(te)}function W(Y,te){return!z(Y,te)}var P=0;r.STATE={BEGIN:P++,BEGIN_WHITESPACE:P++,TEXT:P++,TEXT_ENTITY:P++,OPEN_WAKA:P++,SGML_DECL:P++,SGML_DECL_QUOTED:P++,DOCTYPE:P++,DOCTYPE_QUOTED:P++,DOCTYPE_DTD:P++,DOCTYPE_DTD_QUOTED:P++,COMMENT_STARTING:P++,COMMENT:P++,COMMENT_ENDING:P++,COMMENT_ENDED:P++,CDATA:P++,CDATA_ENDING:P++,CDATA_ENDING_2:P++,PROC_INST:P++,PROC_INST_BODY:P++,PROC_INST_ENDING:P++,OPEN_TAG:P++,OPEN_TAG_SLASH:P++,ATTRIB:P++,ATTRIB_NAME:P++,ATTRIB_NAME_SAW_WHITE:P++,ATTRIB_VALUE:P++,ATTRIB_VALUE_QUOTED:P++,ATTRIB_VALUE_CLOSED:P++,ATTRIB_VALUE_UNQUOTED:P++,ATTRIB_VALUE_ENTITY_Q:P++,ATTRIB_VALUE_ENTITY_U:P++,CLOSE_TAG:P++,CLOSE_TAG_SAW_WHITE:P++,SCRIPT:P++,SCRIPT_ENDING:P++},r.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},r.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},(0,s.default)(r.ENTITIES).forEach(function(Y){var te=r.ENTITIES[Y],we=typeof te=="number"?String.fromCharCode(te):te;r.ENTITIES[Y]=we});for(var G in r.STATE)r.STATE[r.STATE[G]]=G;P=r.STATE;function V(Y,te,we){Y[te]&&Y[te](we)}function q(Y,te,we){Y.textNode&&re(Y),V(Y,te,we)}function re(Y){Y.textNode=ce(Y.opt,Y.textNode),Y.textNode&&V(Y,"ontext",Y.textNode),Y.textNode=""}function ce(Y,te){return Y.trim&&(te=te.trim()),Y.normalize&&(te=te.replace(/\s+/g," ")),te}function ie(Y,te){return re(Y),Y.trackPosition&&(te+=` Line: `+Y.line+` Column: `+Y.column+` Char: `+Y.c),te=new Error(te),Y.error=te,V(Y,"onerror",te),Y}function fe(Y){return Y.sawRoot&&!Y.closedRoot&&xe(Y,"Unclosed root tag"),Y.state!==P.BEGIN&&Y.state!==P.BEGIN_WHITESPACE&&Y.state!==P.TEXT&&ie(Y,"Unexpected end"),re(Y),Y.c="",Y.closed=!0,V(Y,"onend"),h.call(Y,Y.strict,Y.opt),Y}function xe(Y,te){if((typeof Y=="undefined"?"undefined":(0,m.default)(Y))!=="object"||!(Y instanceof h))throw new Error("bad call to strictFail");Y.strict&&ie(Y,te)}function Se(Y){Y.strict||(Y.tagName=Y.tagName[Y.looseCase]());var te=Y.tags[Y.tags.length-1]||Y,we=Y.tag={name:Y.tagName,attributes:{}};Y.opt.xmlns&&(we.ns=te.ns),Y.attribList.length=0,q(Y,"onopentagstart",we)}function ke(Y,te){var we=Y.indexOf(":"),pe=we<0?["",Y]:Y.split(":"),De=pe[0],Ne=pe[1];return te&&Y==="xmlns"&&(De="xmlns",Ne=""),{prefix:De,local:Ne}}function ge(Y){if(Y.strict||(Y.attribName=Y.attribName[Y.looseCase]()),Y.attribList.indexOf(Y.attribName)!==-1||Y.tag.attributes.hasOwnProperty(Y.attribName)){Y.attribName=Y.attribValue="";return}if(Y.opt.xmlns){var te=ke(Y.attribName,!0),we=te.prefix,pe=te.local;if(we==="xmlns")if(pe==="xml"&&Y.attribValue!==E)xe(Y,"xml: prefix must be bound to "+E+` Actual: `+Y.attribValue);else if(pe==="xmlns"&&Y.attribValue!==O)xe(Y,"xmlns: prefix must be bound to "+O+` Actual: `+Y.attribValue);else{var De=Y.tag,Ne=Y.tags[Y.tags.length-1]||Y;De.ns===Ne.ns&&(De.ns=(0,i.default)(Ne.ns)),De.ns[pe]=Y.attribValue}Y.attribList.push([Y.attribName,Y.attribValue])}else Y.tag.attributes[Y.attribName]=Y.attribValue,q(Y,"onattribute",{name:Y.attribName,value:Y.attribValue});Y.attribName=Y.attribValue=""}function Be(Y,te){if(Y.opt.xmlns){var we=Y.tag,pe=ke(Y.tagName);we.prefix=pe.prefix,we.local=pe.local,we.uri=we.ns[pe.prefix]||"",we.prefix&&!we.uri&&(xe(Y,"Unbound namespace prefix: "+(0,t.default)(Y.tagName)),we.uri=pe.prefix);var De=Y.tags[Y.tags.length-1]||Y;we.ns&&De.ns!==we.ns&&(0,s.default)(we.ns).forEach(function(Ft){q(Y,"onopennamespace",{prefix:Ft,uri:we.ns[Ft]})});for(var Ne=0,me=Y.attribList.length;Ne",Y.tagName="",Y.state=P.SCRIPT;return}q(Y,"onscript",Y.script),Y.script=""}var te=Y.tags.length,we=Y.tagName;Y.strict||(we=we[Y.looseCase]());for(var pe=we;te--;){var De=Y.tags[te];if(De.name!==pe)xe(Y,"Unexpected close tag");else break}if(te<0){xe(Y,"Unmatched closing tag: "+Y.tagName),Y.textNode+="",Y.state=P.TEXT;return}Y.tagName=we;for(var Ne=Y.tags.length;Ne-- >te;){var me=Y.tag=Y.tags.pop();Y.tagName=Y.tag.name,q(Y,"onclosetag",Y.tagName);var be={};for(var Re in me.ns)be[Re]=me.ns[Re];var it=Y.tags[Y.tags.length-1]||Y;Y.opt.xmlns&&me.ns!==it.ns&&(0,s.default)(me.ns).forEach(function(yt){var pt=me.ns[yt];q(Y,"onclosenamespace",{prefix:yt,uri:pt})})}te===0&&(Y.closedRoot=!0),Y.tagName=Y.attribValue=Y.attribName="",Y.attribList.length=0,Y.state=P.TEXT}function ue(Y){var te=Y.entity,we=te.toLowerCase(),pe,De="";return Y.ENTITIES[te]?Y.ENTITIES[te]:Y.ENTITIES[we]?Y.ENTITIES[we]:(te=we,te.charAt(0)==="#"&&(te.charAt(1)==="x"?(te=te.slice(2),pe=parseInt(te,16),De=pe.toString(16)):(te=te.slice(1),pe=parseInt(te,10),De=pe.toString(10))),te=te.replace(/^0+/,""),isNaN(pe)||De.toLowerCase()!==te?(xe(Y,"Invalid character entity"),"&"+Y.entity+";"):(0,A.default)(pe))}function Ge(Y,te){te==="<"?(Y.state=P.OPEN_WAKA,Y.startTagPosition=Y.position):J(te)||(xe(Y,"Non-whitespace before first tag."),Y.textNode=te,Y.state=P.TEXT)}function ae(Y,te){var we="";return te"?(q(te,"onsgmldeclaration",te.sgmlDecl),te.sgmlDecl="",te.state=P.TEXT):(k(pe)&&(te.state=P.SGML_DECL_QUOTED),te.sgmlDecl+=pe);continue;case P.SGML_DECL_QUOTED:pe===te.q&&(te.state=P.SGML_DECL,te.q=""),te.sgmlDecl+=pe;continue;case P.DOCTYPE:pe===">"?(te.state=P.TEXT,q(te,"ondoctype",te.doctype),te.doctype=!0):(te.doctype+=pe,pe==="["?te.state=P.DOCTYPE_DTD:k(pe)&&(te.state=P.DOCTYPE_QUOTED,te.q=pe));continue;case P.DOCTYPE_QUOTED:te.doctype+=pe,pe===te.q&&(te.q="",te.state=P.DOCTYPE);continue;case P.DOCTYPE_DTD:te.doctype+=pe,pe==="]"?te.state=P.DOCTYPE:k(pe)&&(te.state=P.DOCTYPE_DTD_QUOTED,te.q=pe);continue;case P.DOCTYPE_DTD_QUOTED:te.doctype+=pe,pe===te.q&&(te.state=P.DOCTYPE_DTD,te.q="");continue;case P.COMMENT:pe==="-"?te.state=P.COMMENT_ENDING:te.comment+=pe;continue;case P.COMMENT_ENDING:pe==="-"?(te.state=P.COMMENT_ENDED,te.comment=ce(te.opt,te.comment),te.comment&&q(te,"oncomment",te.comment),te.comment=""):(te.comment+="-"+pe,te.state=P.COMMENT);continue;case P.COMMENT_ENDED:pe!==">"?(xe(te,"Malformed comment"),te.comment+="--"+pe,te.state=P.COMMENT):te.state=P.TEXT;continue;case P.CDATA:pe==="]"?te.state=P.CDATA_ENDING:te.cdata+=pe;continue;case P.CDATA_ENDING:pe==="]"?te.state=P.CDATA_ENDING_2:(te.cdata+="]"+pe,te.state=P.CDATA);continue;case P.CDATA_ENDING_2:pe===">"?(te.cdata&&q(te,"oncdata",te.cdata),q(te,"onclosecdata"),te.cdata="",te.state=P.TEXT):pe==="]"?te.cdata+="]":(te.cdata+="]]"+pe,te.state=P.CDATA);continue;case P.PROC_INST:pe==="?"?te.state=P.PROC_INST_ENDING:J(pe)?te.state=P.PROC_INST_BODY:te.procInstName+=pe;continue;case P.PROC_INST_BODY:if(!te.procInstBody&&J(pe))continue;pe==="?"?te.state=P.PROC_INST_ENDING:te.procInstBody+=pe;continue;case P.PROC_INST_ENDING:pe===">"?(q(te,"onprocessinginstruction",{name:te.procInstName,body:te.procInstBody}),te.procInstName=te.procInstBody="",te.state=P.TEXT):(te.procInstBody+="?"+pe,te.state=P.PROC_INST_BODY);continue;case P.OPEN_TAG:z(H,pe)?te.tagName+=pe:(Se(te),pe===">"?Be(te):pe==="/"?te.state=P.OPEN_TAG_SLASH:(J(pe)||xe(te,"Invalid character in tag name"),te.state=P.ATTRIB));continue;case P.OPEN_TAG_SLASH:pe===">"?(Be(te,!0),ee(te)):(xe(te,"Forward-slash in opening tag not followed by >"),te.state=P.ATTRIB);continue;case P.ATTRIB:if(J(pe))continue;pe===">"?Be(te):pe==="/"?te.state=P.OPEN_TAG_SLASH:z(F,pe)?(te.attribName=pe,te.attribValue="",te.state=P.ATTRIB_NAME):xe(te,"Invalid attribute name");continue;case P.ATTRIB_NAME:pe==="="?te.state=P.ATTRIB_VALUE:pe===">"?(xe(te,"Attribute without value"),te.attribValue=te.attribName,ge(te),Be(te)):J(pe)?te.state=P.ATTRIB_NAME_SAW_WHITE:z(H,pe)?te.attribName+=pe:xe(te,"Invalid attribute name");continue;case P.ATTRIB_NAME_SAW_WHITE:if(pe==="=")te.state=P.ATTRIB_VALUE;else{if(J(pe))continue;xe(te,"Attribute without value"),te.tag.attributes[te.attribName]="",te.attribValue="",q(te,"onattribute",{name:te.attribName,value:""}),te.attribName="",pe===">"?Be(te):z(F,pe)?(te.attribName=pe,te.state=P.ATTRIB_NAME):(xe(te,"Invalid attribute name"),te.state=P.ATTRIB)}continue;case P.ATTRIB_VALUE:if(J(pe))continue;k(pe)?(te.q=pe,te.state=P.ATTRIB_VALUE_QUOTED):(xe(te,"Unquoted attribute value"),te.state=P.ATTRIB_VALUE_UNQUOTED,te.attribValue=pe);continue;case P.ATTRIB_VALUE_QUOTED:if(pe!==te.q){pe==="&"?te.state=P.ATTRIB_VALUE_ENTITY_Q:te.attribValue+=pe;continue}ge(te),te.q="",te.state=P.ATTRIB_VALUE_CLOSED;continue;case P.ATTRIB_VALUE_CLOSED:J(pe)?te.state=P.ATTRIB:pe===">"?Be(te):pe==="/"?te.state=P.OPEN_TAG_SLASH:z(F,pe)?(xe(te,"No whitespace between attributes"),te.attribName=pe,te.attribValue="",te.state=P.ATTRIB_NAME):xe(te,"Invalid attribute name");continue;case P.ATTRIB_VALUE_UNQUOTED:if(!W(pe)){pe==="&"?te.state=P.ATTRIB_VALUE_ENTITY_U:te.attribValue+=pe;continue}ge(te),pe===">"?Be(te):te.state=P.ATTRIB;continue;case P.CLOSE_TAG:if(te.tagName)pe===">"?ee(te):z(H,pe)?te.tagName+=pe:te.script?(te.script+=""?ee(te):xe(te,"Invalid characters in closing tag");continue;case P.TEXT_ENTITY:case P.ATTRIB_VALUE_ENTITY_Q:case P.ATTRIB_VALUE_ENTITY_U:var me,be;switch(te.state){case P.TEXT_ENTITY:me=P.TEXT,be="textNode";break;case P.ATTRIB_VALUE_ENTITY_Q:me=P.ATTRIB_VALUE_QUOTED,be="attribValue";break;case P.ATTRIB_VALUE_ENTITY_U:me=P.ATTRIB_VALUE_UNQUOTED,be="attribValue";break}pe===";"?(te[be]+=ue(te),te.entity="",te.state=me):z(te.entity.length?X:B,pe)?te.entity+=pe:(xe(te,"Invalid character in entity name"),te[be]+="&"+te.entity+pe,te.entity="",te.state=me);continue;default:throw new Error(te,"Unknown state: "+te.state)}}return te.position>=te.bufferCheckPosition&&p(te),te}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */A.default||function(){var Y=String.fromCharCode,te=Math.floor,we=function(){var De=16384,Ne=[],me,be,Re=-1,it=arguments.length;if(!it)return"";for(var yt="";++Re1114111||te(pt)!==pt)throw RangeError("Invalid code point: "+pt);pt<=65535?Ne.push(pt):(pt-=65536,me=(pt>>10)+55296,be=pt%1024+56320,Ne.push(me,be)),(Re+1===it||Ne.length>De)&&(yt+=Y.apply(null,Ne),Ne.length=0)}return yt};a.default?Object.defineProperty(String,"fromCodePoint",{value:we,configurable:!0,writable:!0}):String.fromCodePoint=we}()})(typeof l=="undefined"?(void 0).sax={}:l)}).call(this,j("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/define-property":56,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/string/from-code-point":63,"babel-runtime/helpers/typeof":67,buffer:73,stream:230,string_decoder:72}],230:[function(j,R,l){R.exports=A;var x=j("events").EventEmitter,b=j("inherits");b(A,x),A.Readable=j("readable-stream/readable.js"),A.Writable=j("readable-stream/writable.js"),A.Duplex=j("readable-stream/duplex.js"),A.Transform=j("readable-stream/transform.js"),A.PassThrough=j("readable-stream/passthrough.js"),A.Stream=A;function A(){x.call(this)}A.prototype.pipe=function(f,t){var e=this;function m(u){f.writable&&(f.write(u)===!1&&e.pause&&e.pause())}e.on("data",m);function d(){e.readable&&e.resume&&e.resume()}f.on("drain",d),!f._isStdio&&(!t||t.end!==!1)&&(e.on("end",n),e.on("close",s));var a=!1;function n(){if(a)return;a=!0,f.end()}function s(){if(a)return;a=!0,typeof f.destroy=="function"&&f.destroy()}function c(u){if(i(),x.listenerCount(this,"error")===0)throw u}e.on("error",c),f.on("error",c);function i(){e.removeListener("data",m),f.removeListener("drain",d),e.removeListener("end",n),e.removeListener("close",s),e.removeListener("error",c),f.removeListener("error",c),e.removeListener("end",i),e.removeListener("close",i),f.removeListener("close",i)}return e.on("end",i),e.on("close",i),f.on("close",i),f.emit("pipe",e),f}},{events:192,inherits:196,"readable-stream/duplex.js":213,"readable-stream/passthrough.js":222,"readable-stream/readable.js":223,"readable-stream/transform.js":224,"readable-stream/writable.js":225}],231:[function(j,R,l){(function(x){var b=j("./lib/request"),A=j("./lib/response"),f=j("xtend"),t=j("builtin-status-codes"),e=j("url"),m=l;m.request=function(d,a){typeof d=="string"?d=e.parse(d):d=f(d);var n=x.location.protocol.search(/^https?:$/)===-1?"http:":"",s=d.protocol||n,c=d.hostname||d.host,i=d.port,u=d.path||"/";c&&c.indexOf(":")!==-1&&(c="["+c+"]"),d.url=(c?s+"//"+c:"")+(i?":"+i:"")+u,d.method=(d.method||"GET").toUpperCase(),d.headers=d.headers||{};var r=new b(d);return a&&r.on("response",a),r},m.get=function(a,n){var s=m.request(a,n);return s.end(),s},m.ClientRequest=b,m.IncomingMessage=A.IncomingMessage,m.Agent=function(){},m.Agent.defaultMaxSockets=4,m.globalAgent=new m.Agent,m.STATUS_CODES=t,m.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":233,"./lib/response":234,"builtin-status-codes":74,url:238,xtend:283}],232:[function(j,R,l){(function(x){"use strict";l.fetch=m(x.fetch)&&m(x.ReadableStream),l.writableStream=m(x.WritableStream),l.abortController=m(x.AbortController),l.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),l.blobConstructor=!0}catch(d){}var b;function A(){if(b!==void 0)return b;if(x.XMLHttpRequest){b=new x.XMLHttpRequest;try{b.open("GET",x.XDomainRequest?"/":"https://example.com")}catch(d){b=null}}else b=null;return b}function f(d){var a=A();if(!a)return!1;try{return a.responseType=d,a.responseType===d}catch(n){}return!1}var t=typeof x.ArrayBuffer!="undefined",e=t&&m(x.ArrayBuffer.prototype.slice);l.arraybuffer=l.fetch||t&&f("arraybuffer"),l.msstream=!l.fetch&&e&&f("ms-stream"),l.mozchunkedarraybuffer=!l.fetch&&t&&f("moz-chunked-arraybuffer"),l.overrideMimeType=l.fetch||(A()?m(A().overrideMimeType):!1),l.vbArray=m(x.VBArray);function m(d){return typeof d=="function"}b=null}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],233:[function(j,R,l){(function(x,b,A){"use strict";var f=j("babel-runtime/core-js/object/keys"),t=e(f);function e(p){return p&&p.__esModule?p:{default:p}}var m=j("./capability"),d=j("inherits"),a=j("./response"),n=j("readable-stream"),s=j("to-arraybuffer"),c=a.IncomingMessage,i=a.readyStates;function u(p,g){return m.fetch&&g?"fetch":m.mozchunkedarraybuffer?"moz-chunked-arraybuffer":m.msstream?"ms-stream":m.arraybuffer&&p?"arraybuffer":m.vbArray&&p?"text:vbarray":"text"}var r=R.exports=function(p){var g=this;n.Writable.call(g),g._opts=p,g._body=[],g._headers={},p.auth&&g.setHeader("Authorization","Basic "+new A(p.auth).toString("base64")),(0,t.default)(p.headers).forEach(function(w){g.setHeader(w,p.headers[w])});var v,y=!0;if(p.mode==="disable-fetch"||"requestTimeout"in p&&!m.abortController)y=!1,v=!0;else if(p.mode==="prefer-streaming")v=!1;else if(p.mode==="allow-wrong-content-type")v=!m.overrideMimeType;else if(!p.mode||p.mode==="default"||p.mode==="prefer-fast")v=!0;else throw new Error("Invalid value for opts.mode");g._mode=u(v,y),g._fetchTimer=null,g.on("finish",function(){g._onFinish()})};d(r,n.Writable),r.prototype.setHeader=function(p,g){var v=this,y=p.toLowerCase();if(h.indexOf(y)!==-1)return;v._headers[y]={name:p,value:g}},r.prototype.getHeader=function(p){var g=this._headers[p.toLowerCase()];return g?g.value:null},r.prototype.removeHeader=function(p){var g=this;delete g._headers[p.toLowerCase()]},r.prototype._onFinish=function(){var p=this;if(p._destroyed)return;var g=p._opts,v=p._headers,y=null;g.method!=="GET"&&g.method!=="HEAD"&&(m.arraybuffer?y=s(A.concat(p._body)):m.blobConstructor?y=new b.Blob(p._body.map(function(E){return s(E)}),{type:(v["content-type"]||{}).value||""}):y=A.concat(p._body).toString());var w=[];if((0,t.default)(v).forEach(function(E){var O=v[E].name,M=v[E].value;Array.isArray(M)?M.forEach(function(F){w.push([O,F])}):w.push([O,M])}),p._mode==="fetch"){var S=null,_=null;if(m.abortController){var I=new AbortController;S=I.signal,p._fetchAbortController=I,"requestTimeout"in g&&g.requestTimeout!==0&&(p._fetchTimer=b.setTimeout(function(){p.emit("requestTimeout"),p._fetchAbortController&&p._fetchAbortController.abort()},g.requestTimeout))}b.fetch(p._opts.url,{method:p._opts.method,headers:w,body:y||void 0,mode:"cors",credentials:g.withCredentials?"include":"same-origin",signal:S}).then(function(E){p._fetchResponse=E,p._connect()},function(E){b.clearTimeout(p._fetchTimer),p._destroyed||p.emit("error",E)})}else{var C=p._xhr=new b.XMLHttpRequest;try{C.open(p._opts.method,p._opts.url,!0)}catch(E){x.nextTick(function(){p.emit("error",E)});return}"responseType"in C&&(C.responseType=p._mode.split(":")[0]),"withCredentials"in C&&(C.withCredentials=!!g.withCredentials),p._mode==="text"&&"overrideMimeType"in C&&C.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in g&&(C.timeout=g.requestTimeout,C.ontimeout=function(){p.emit("requestTimeout")}),w.forEach(function(E){C.setRequestHeader(E[0],E[1])}),p._response=null,C.onreadystatechange=function(){switch(C.readyState){case i.LOADING:case i.DONE:p._onXHRProgress();break}},p._mode==="moz-chunked-arraybuffer"&&(C.onprogress=function(){p._onXHRProgress()}),C.onerror=function(){if(p._destroyed)return;p.emit("error",new Error("XHR error"))};try{C.send(y)}catch(E){x.nextTick(function(){p.emit("error",E)});return}}};function o(p){try{var g=p.status;return g!==null&&g!==0}catch(v){return!1}}r.prototype._onXHRProgress=function(){var p=this;if(!o(p._xhr)||p._destroyed)return;p._response||p._connect(),p._response._onXHRProgress()},r.prototype._connect=function(){var p=this;if(p._destroyed)return;p._response=new c(p._xhr,p._fetchResponse,p._mode,p._fetchTimer),p._response.on("error",function(g){p.emit("error",g)}),p.emit("response",p._response)},r.prototype._write=function(p,g,v){var y=this;y._body.push(p),v()},r.prototype.abort=r.prototype.destroy=function(){var p=this;p._destroyed=!0,b.clearTimeout(p._fetchTimer),p._response&&(p._response._destroyed=!0),p._xhr?p._xhr.abort():p._fetchAbortController&&p._fetchAbortController.abort()},r.prototype.end=function(p,g,v){var y=this;typeof p=="function"&&(v=p,p=void 0),n.Writable.prototype.end.call(y,p,g,v)},r.prototype.flushHeaders=function(){},r.prototype.setTimeout=function(){},r.prototype.setNoDelay=function(){},r.prototype.setSocketKeepAlive=function(){};var h=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,j("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},j("buffer").Buffer)},{"./capability":232,"./response":234,_process:208,"babel-runtime/core-js/object/keys":60,buffer:73,inherits:196,"readable-stream":223,"to-arraybuffer":237}],234:[function(j,R,l){(function(x,b,A){"use strict";var f=j("babel-runtime/core-js/promise"),t=e(f);function e(c){return c&&c.__esModule?c:{default:c}}var m=j("./capability"),d=j("inherits"),a=j("readable-stream"),n=l.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},s=l.IncomingMessage=function(c,i,u,r){var o=this;if(a.Readable.call(o),o._mode=u,o.headers={},o.rawHeaders=[],o.trailers={},o.rawTrailers=[],o.on("end",function(){x.nextTick(function(){o.emit("close")})}),u==="fetch"){var h=function S(){g.read().then(function(_){if(o._destroyed)return;if(_.done){b.clearTimeout(r),o.push(null);return}o.push(new A(_.value)),S()}).catch(function(_){b.clearTimeout(r),o._destroyed||o.emit("error",_)})};if(o._fetchResponse=i,o.url=i.url,o.statusCode=i.status,o.statusMessage=i.statusText,i.headers.forEach(function(S,_){o.headers[_.toLowerCase()]=S,o.rawHeaders.push(_,S)}),m.writableStream){var p=new WritableStream({write:function(_){return new t.default(function(I,C){o._destroyed?C():o.push(new A(_))?I():o._resumeFetch=I})},close:function(){b.clearTimeout(r),o._destroyed||o.push(null)},abort:function(_){o._destroyed||o.emit("error",_)}});try{i.body.pipeTo(p).catch(function(S){b.clearTimeout(r),o._destroyed||o.emit("error",S)});return}catch(S){}}var g=i.body.getReader();h()}else{o._xhr=c,o._pos=0,o.url=c.responseURL,o.statusCode=c.status,o.statusMessage=c.statusText;var v=c.getAllResponseHeaders().split(/\r?\n/);if(v.forEach(function(S){var _=S.match(/^([^:]+):\s*(.*)/);if(_){var I=_[1].toLowerCase();I==="set-cookie"?(o.headers[I]===void 0&&(o.headers[I]=[]),o.headers[I].push(_[2])):o.headers[I]!==void 0?o.headers[I]+=", "+_[2]:o.headers[I]=_[2],o.rawHeaders.push(_[1],_[2])}}),o._charset="x-user-defined",!m.overrideMimeType){var y=o.rawHeaders["mime-type"];if(y){var w=y.match(/;\s*charset=([^;])(;|$)/);w&&(o._charset=w[1].toLowerCase())}o._charset||(o._charset="utf-8")}}};d(s,a.Readable),s.prototype._read=function(){var c=this,i=c._resumeFetch;i&&(c._resumeFetch=null,i())},s.prototype._onXHRProgress=function(){var c=this,i=c._xhr,u=null;switch(c._mode){case"text:vbarray":if(i.readyState!==n.DONE)break;try{u=new b.VBArray(i.responseBody).toArray()}catch(g){}if(u!==null){c.push(new A(u));break}case"text":try{u=i.responseText}catch(g){c._mode="text:vbarray";break}if(u.length>c._pos){var r=u.substr(c._pos);if(c._charset==="x-user-defined"){for(var o=new A(r.length),h=0;hc._pos&&(c.push(new A(new Uint8Array(p.result.slice(c._pos)))),c._pos=p.result.byteLength)},p.onload=function(){c.push(null)},p.readAsArrayBuffer(u);break}c._xhr.readyState===n.DONE&&c._mode!=="ms-stream"&&c.push(null)}}).call(this,j("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},j("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(j,R,l){"use strict";var x=j("safe-buffer").Buffer,b=x.isEncoding||function(p){p=""+p;switch(p&&p.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function A(p){if(!p)return"utf8";for(var g;;)switch(p){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return p;default:if(g)return;p=(""+p).toLowerCase(),g=!0}}function f(p){var g=A(p);if(typeof g!="string"&&(x.isEncoding===b||!b(p)))throw new Error("Unknown encoding: "+p);return g||p}l.StringDecoder=t;function t(p){this.encoding=f(p);var g;switch(this.encoding){case"utf16le":this.text=c,this.end=i,g=4;break;case"utf8":this.fillLast=a,g=4;break;case"base64":this.text=u,this.end=r,g=3;break;default:this.write=o,this.end=h;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=x.allocUnsafe(g)}t.prototype.write=function(p){if(p.length===0)return"";var g,v;if(this.lastNeed){if(g=this.fillLast(p),g===void 0)return"";v=this.lastNeed,this.lastNeed=0}else v=0;return v>5===6?2:p>>4===14?3:p>>3===30?4:p>>6===2?-1:-2}function m(p,g,v){var y=g.length-1;if(y=0?(w>0&&(p.lastNeed=w-1),w):--y=0?(w>0&&(p.lastNeed=w-2),w):--y=0?(w>0&&(w===2?w=0:p.lastNeed=w-3),w):0))}function d(p,g,v){if((g[0]&192)!==128)return p.lastNeed=0,"\uFFFD";if(p.lastNeed>1&&g.length>1){if((g[1]&192)!==128)return p.lastNeed=1,"\uFFFD";if(p.lastNeed>2&&g.length>2&&(g[2]&192)!==128)return p.lastNeed=2,"\uFFFD"}}function a(p){var g=this.lastTotal-this.lastNeed,v=d(this,p,g);if(v!==void 0)return v;if(this.lastNeed<=p.length)return p.copy(this.lastChar,g,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);p.copy(this.lastChar,g,0,p.length),this.lastNeed-=p.length}function n(p,g){var v=m(this,p,g);if(!this.lastNeed)return p.toString("utf8",g);this.lastTotal=v;var y=p.length-(v-this.lastNeed);return p.copy(this.lastChar,0,y),p.toString("utf8",g,y)}function s(p){var g=p&&p.length?this.write(p):"";return this.lastNeed?g+"\uFFFD":g}function c(p,g){if((p.length-g)%2===0){var v=p.toString("utf16le",g);if(v){var y=v.charCodeAt(v.length-1);if(y>=55296&&y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1],v.slice(0,-1)}return v}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=p[p.length-1],p.toString("utf16le",g,p.length-1)}function i(p){var g=p&&p.length?this.write(p):"";if(this.lastNeed){var v=this.lastTotal-this.lastNeed;return g+this.lastChar.toString("utf16le",0,v)}return g}function u(p,g){var v=(p.length-g)%3;return v===0?p.toString("base64",g):(this.lastNeed=3-v,this.lastTotal=3,v===1?this.lastChar[0]=p[p.length-1]:(this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1]),p.toString("base64",g,p.length-v))}function r(p){var g=p&&p.length?this.write(p):"";return this.lastNeed?g+this.lastChar.toString("base64",0,3-this.lastNeed):g}function o(p){return p.toString(this.encoding)}function h(p){return p&&p.length?this.write(p):""}},{"safe-buffer":228}],236:[function(j,R,l){(function(x,b){var A=j("process/browser.js").nextTick,f=Function.prototype.apply,t=Array.prototype.slice,e={},m=0;l.setTimeout=function(){return new d(f.call(setTimeout,window,arguments),clearTimeout)},l.setInterval=function(){return new d(f.call(setInterval,window,arguments),clearInterval)},l.clearTimeout=l.clearInterval=function(a){a.close()};function d(a,n){this._id=a,this._clearFn=n}d.prototype.unref=d.prototype.ref=function(){},d.prototype.close=function(){this._clearFn.call(window,this._id)},l.enroll=function(a,n){clearTimeout(a._idleTimeoutId),a._idleTimeout=n},l.unenroll=function(a){clearTimeout(a._idleTimeoutId),a._idleTimeout=-1},l._unrefActive=l.active=function(a){clearTimeout(a._idleTimeoutId);var n=a._idleTimeout;n>=0&&(a._idleTimeoutId=setTimeout(function(){a._onTimeout&&a._onTimeout()},n))},l.setImmediate=typeof x=="function"?x:function(a){var n=m++,s=arguments.length<2?!1:t.call(arguments,1);return e[n]=!0,A(function(){e[n]&&(s?a.apply(null,s):a.call(null),l.clearImmediate(n))}),n},l.clearImmediate=typeof b=="function"?b:function(a){delete e[a]}}).call(this,j("timers").setImmediate,j("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(j,R,l){var x=j("buffer").Buffer;R.exports=function(b){if(b instanceof Uint8Array){if(b.byteOffset===0&&b.byteLength===b.buffer.byteLength)return b.buffer;if(typeof b.buffer.slice=="function")return b.buffer.slice(b.byteOffset,b.byteOffset+b.byteLength)}if(x.isBuffer(b)){for(var A=new Uint8Array(b.length),f=b.length,t=0;t",'"',"`"," ","\r",` -`," "],d=["{","}","|","\\","^","`"].concat(m),a=["'"].concat(d),n=["%","/","?",";","#"].concat(a),s=["/","?","#"],c=255,i=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,r={javascript:!0,"javascript:":!0},o={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},p=j("querystring");function g(S,_,I){if(S&&b.isObject(S)&&S instanceof A)return S;var C=new A;return C.parse(S,_,I),C}A.prototype.parse=function(S,_,I){if(!b.isString(S))throw new TypeError("Parameter 'url' must be a string, not "+typeof S);var C=S.indexOf("?"),E=C!==-1&&C127?ce+="x":ce+=re[ie];if(!ce.match(i)){var xe=V.slice(0,W),Se=V.slice(W+1),ke=re.match(u);ke&&(xe.push(ke[1]),Se.unshift(ke[2])),Se.length&&(F="/"+Se.join(".")+F),this.hostname=xe.join(".");break}}}this.hostname.length>c?this.hostname="":this.hostname=this.hostname.toLowerCase(),G||(this.hostname=x.toASCII(this.hostname));var ge=this.port?":"+this.port:"",Be=this.hostname||"";this.host=Be+ge,this.href+=this.host,G&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),F[0]!=="/"&&(F="/"+F))}if(!r[X])for(var W=0,q=a.length;W0?I.host.split("@"):!1;ce&&(I.auth=ce.shift(),I.host=I.hostname=ce.shift())}return I.search=S.search,I.query=S.query,(!b.isNull(I.pathname)||!b.isNull(I.search))&&(I.path=(I.pathname?I.pathname:"")+(I.search?I.search:"")),I.href=I.format(),I}if(!V.length)return I.pathname=null,I.search?I.path="/"+I.search:I.path=null,I.href=I.format(),I;for(var ie=V.slice(-1)[0],fe=(I.host||S.host||V.length>1)&&(ie==="."||ie==="..")||ie==="",xe=0,Se=V.length;Se>=0;Se--)ie=V[Se],ie==="."?V.splice(Se,1):ie===".."?(V.splice(Se,1),xe++):xe&&(V.splice(Se,1),xe--);if(!P&&!G)for(;xe--;xe)V.unshift("..");P&&V[0]!==""&&(!V[0]||V[0].charAt(0)!=="/")&&V.unshift(""),fe&&V.join("/").substr(-1)!=="/"&&V.push("");var ke=V[0]===""||V[0]&&V[0].charAt(0)==="/";if(re){I.hostname=I.host=ke?"":V.length?V.shift():"";var ce=I.host&&I.host.indexOf("@")>0?I.host.split("@"):!1;ce&&(I.auth=ce.shift(),I.host=I.hostname=ce.shift())}return P=P||I.host&&V.length,P&&!ke&&V.unshift(""),V.length?I.pathname=V.join("/"):(I.pathname=null,I.path=null),(!b.isNull(I.pathname)||!b.isNull(I.search))&&(I.path=(I.pathname?I.pathname:"")+(I.search?I.search:"")),I.auth=S.auth||I.auth,I.slashes=I.slashes||S.slashes,I.href=I.format(),I},A.prototype.parseHost=function(){var S=this.host,_=t.exec(S);_&&(_=_[0],_!==":"&&(this.port=_.substr(1)),S=S.substr(0,S.length-_.length)),S&&(this.hostname=S)}},{"./util":239,punycode:209,querystring:212}],239:[function(j,R,l){"use strict";R.exports={isString:function(b){return typeof b=="string"},isObject:function(b){return typeof b=="object"&&b!==null},isNull:function(b){return b===null},isNullOrUndefined:function(b){return b==null}}},{}],240:[function(j,R,l){(function(x){R.exports=b;function b(f,t){if(A("noDeprecation"))return f;var e=!1;function m(){if(!e){if(A("throwDeprecation"))throw new Error(t);A("traceDeprecation")?console.trace(t):console.warn(t),e=!0}return f.apply(this,arguments)}return m}function A(f){try{if(!x.localStorage)return!1}catch(e){return!1}var t=x.localStorage[f];return t==null?!1:String(t).toLowerCase()==="true"}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],241:[function(j,R,l){typeof Object.create=="function"?R.exports=function(b,A){b.super_=A,b.prototype=Object.create(A.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}})}:R.exports=function(b,A){b.super_=A;var f=function(){};f.prototype=A.prototype,b.prototype=new f,b.prototype.constructor=b}},{}],242:[function(j,R,l){R.exports=function(b){return b&&typeof b=="object"&&typeof b.copy=="function"&&typeof b.fill=="function"&&typeof b.readUInt8=="function"}},{}],243:[function(j,R,l){(function(x,b){var A=/%[sdj%]/g;l.format=function(k){if(!y(k)){for(var W=[],z=0;z=P)return q;switch(q){case"%s":return String(K[z++]);case"%d":return Number(K[z++]);case"%j":try{return JSON.stringify(K[z++])}catch(re){return"[Circular]"}default:return q}}),V=K[z];z=3&&(z.depth=arguments[2]),arguments.length>=4&&(z.colors=arguments[3]),h(W)?z.showHidden=W:W&&l._extend(z,W),S(z.showHidden)&&(z.showHidden=!1),S(z.depth)&&(z.depth=2),S(z.colors)&&(z.colors=!1),S(z.customInspect)&&(z.customInspect=!0),z.colors&&(z.stylize=m),n(z,k,z.depth)}l.inspect=e,e.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},e.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function m(k,W){var z=e.styles[W];return z?"["+e.colors[z][0]+"m"+k+"["+e.colors[z][1]+"m":k}function d(k,W){return k}function a(k){var W={};return k.forEach(function(z,K){W[z]=!0}),W}function n(k,W,z){if(k.customInspect&&W&&O(W.inspect)&&W.inspect!==l.inspect&&!(W.constructor&&W.constructor.prototype===W)){var K=W.inspect(z,k);return y(K)||(K=n(k,K,z)),K}var P=s(k,W);if(P)return P;var G=Object.keys(W),V=a(G);if(k.showHidden&&(G=Object.getOwnPropertyNames(W)),E(W)&&(G.indexOf("message")>=0||G.indexOf("description")>=0))return c(W);if(G.length===0){if(O(W)){var q=W.name?": "+W.name:"";return k.stylize("[Function"+q+"]","special")}if(_(W))return k.stylize(RegExp.prototype.toString.call(W),"regexp");if(C(W))return k.stylize(Date.prototype.toString.call(W),"date");if(E(W))return c(W)}var re="",ce=!1,ie=["{","}"];if(o(W)&&(ce=!0,ie=["[","]"]),O(W)){var fe=W.name?": "+W.name:"";re=" [Function"+fe+"]"}if(_(W)&&(re=" "+RegExp.prototype.toString.call(W)),C(W)&&(re=" "+Date.prototype.toUTCString.call(W)),E(W)&&(re=" "+c(W)),G.length===0&&(!ce||W.length==0))return ie[0]+re+ie[1];if(z<0)return _(W)?k.stylize(RegExp.prototype.toString.call(W),"regexp"):k.stylize("[Object]","special");k.seen.push(W);var xe;return ce?xe=i(k,W,z,V,G):xe=G.map(function(Se){return u(k,W,z,V,Se,ce)}),k.seen.pop(),r(xe,re,ie)}function s(k,W){if(S(W))return k.stylize("undefined","undefined");if(y(W)){var z="'"+JSON.stringify(W).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return k.stylize(z,"string")}if(v(W))return k.stylize(""+W,"number");if(h(W))return k.stylize(""+W,"boolean");if(p(W))return k.stylize("null","null")}function c(k){return"["+Error.prototype.toString.call(k)+"]"}function i(k,W,z,K,P){for(var G=[],V=0,q=W.length;V"?(q(te,"onsgmldeclaration",te.sgmlDecl),te.sgmlDecl="",te.state=P.TEXT):(k(pe)&&(te.state=P.SGML_DECL_QUOTED),te.sgmlDecl+=pe);continue;case P.SGML_DECL_QUOTED:pe===te.q&&(te.state=P.SGML_DECL,te.q=""),te.sgmlDecl+=pe;continue;case P.DOCTYPE:pe===">"?(te.state=P.TEXT,q(te,"ondoctype",te.doctype),te.doctype=!0):(te.doctype+=pe,pe==="["?te.state=P.DOCTYPE_DTD:k(pe)&&(te.state=P.DOCTYPE_QUOTED,te.q=pe));continue;case P.DOCTYPE_QUOTED:te.doctype+=pe,pe===te.q&&(te.q="",te.state=P.DOCTYPE);continue;case P.DOCTYPE_DTD:te.doctype+=pe,pe==="]"?te.state=P.DOCTYPE:k(pe)&&(te.state=P.DOCTYPE_DTD_QUOTED,te.q=pe);continue;case P.DOCTYPE_DTD_QUOTED:te.doctype+=pe,pe===te.q&&(te.state=P.DOCTYPE_DTD,te.q="");continue;case P.COMMENT:pe==="-"?te.state=P.COMMENT_ENDING:te.comment+=pe;continue;case P.COMMENT_ENDING:pe==="-"?(te.state=P.COMMENT_ENDED,te.comment=ce(te.opt,te.comment),te.comment&&q(te,"oncomment",te.comment),te.comment=""):(te.comment+="-"+pe,te.state=P.COMMENT);continue;case P.COMMENT_ENDED:pe!==">"?(xe(te,"Malformed comment"),te.comment+="--"+pe,te.state=P.COMMENT):te.state=P.TEXT;continue;case P.CDATA:pe==="]"?te.state=P.CDATA_ENDING:te.cdata+=pe;continue;case P.CDATA_ENDING:pe==="]"?te.state=P.CDATA_ENDING_2:(te.cdata+="]"+pe,te.state=P.CDATA);continue;case P.CDATA_ENDING_2:pe===">"?(te.cdata&&q(te,"oncdata",te.cdata),q(te,"onclosecdata"),te.cdata="",te.state=P.TEXT):pe==="]"?te.cdata+="]":(te.cdata+="]]"+pe,te.state=P.CDATA);continue;case P.PROC_INST:pe==="?"?te.state=P.PROC_INST_ENDING:J(pe)?te.state=P.PROC_INST_BODY:te.procInstName+=pe;continue;case P.PROC_INST_BODY:if(!te.procInstBody&&J(pe))continue;pe==="?"?te.state=P.PROC_INST_ENDING:te.procInstBody+=pe;continue;case P.PROC_INST_ENDING:pe===">"?(q(te,"onprocessinginstruction",{name:te.procInstName,body:te.procInstBody}),te.procInstName=te.procInstBody="",te.state=P.TEXT):(te.procInstBody+="?"+pe,te.state=P.PROC_INST_BODY);continue;case P.OPEN_TAG:z(H,pe)?te.tagName+=pe:(Se(te),pe===">"?Be(te):pe==="/"?te.state=P.OPEN_TAG_SLASH:(J(pe)||xe(te,"Invalid character in tag name"),te.state=P.ATTRIB));continue;case P.OPEN_TAG_SLASH:pe===">"?(Be(te,!0),ee(te)):(xe(te,"Forward-slash in opening tag not followed by >"),te.state=P.ATTRIB);continue;case P.ATTRIB:if(J(pe))continue;pe===">"?Be(te):pe==="/"?te.state=P.OPEN_TAG_SLASH:z(F,pe)?(te.attribName=pe,te.attribValue="",te.state=P.ATTRIB_NAME):xe(te,"Invalid attribute name");continue;case P.ATTRIB_NAME:pe==="="?te.state=P.ATTRIB_VALUE:pe===">"?(xe(te,"Attribute without value"),te.attribValue=te.attribName,ge(te),Be(te)):J(pe)?te.state=P.ATTRIB_NAME_SAW_WHITE:z(H,pe)?te.attribName+=pe:xe(te,"Invalid attribute name");continue;case P.ATTRIB_NAME_SAW_WHITE:if(pe==="=")te.state=P.ATTRIB_VALUE;else{if(J(pe))continue;xe(te,"Attribute without value"),te.tag.attributes[te.attribName]="",te.attribValue="",q(te,"onattribute",{name:te.attribName,value:""}),te.attribName="",pe===">"?Be(te):z(F,pe)?(te.attribName=pe,te.state=P.ATTRIB_NAME):(xe(te,"Invalid attribute name"),te.state=P.ATTRIB)}continue;case P.ATTRIB_VALUE:if(J(pe))continue;k(pe)?(te.q=pe,te.state=P.ATTRIB_VALUE_QUOTED):(xe(te,"Unquoted attribute value"),te.state=P.ATTRIB_VALUE_UNQUOTED,te.attribValue=pe);continue;case P.ATTRIB_VALUE_QUOTED:if(pe!==te.q){pe==="&"?te.state=P.ATTRIB_VALUE_ENTITY_Q:te.attribValue+=pe;continue}ge(te),te.q="",te.state=P.ATTRIB_VALUE_CLOSED;continue;case P.ATTRIB_VALUE_CLOSED:J(pe)?te.state=P.ATTRIB:pe===">"?Be(te):pe==="/"?te.state=P.OPEN_TAG_SLASH:z(F,pe)?(xe(te,"No whitespace between attributes"),te.attribName=pe,te.attribValue="",te.state=P.ATTRIB_NAME):xe(te,"Invalid attribute name");continue;case P.ATTRIB_VALUE_UNQUOTED:if(!K(pe)){pe==="&"?te.state=P.ATTRIB_VALUE_ENTITY_U:te.attribValue+=pe;continue}ge(te),pe===">"?Be(te):te.state=P.ATTRIB;continue;case P.CLOSE_TAG:if(te.tagName)pe===">"?ee(te):z(H,pe)?te.tagName+=pe:te.script?(te.script+=""?ee(te):xe(te,"Invalid characters in closing tag");continue;case P.TEXT_ENTITY:case P.ATTRIB_VALUE_ENTITY_Q:case P.ATTRIB_VALUE_ENTITY_U:var me,be;switch(te.state){case P.TEXT_ENTITY:me=P.TEXT,be="textNode";break;case P.ATTRIB_VALUE_ENTITY_Q:me=P.ATTRIB_VALUE_QUOTED,be="attribValue";break;case P.ATTRIB_VALUE_ENTITY_U:me=P.ATTRIB_VALUE_UNQUOTED,be="attribValue";break}pe===";"?(te[be]+=ue(te),te.entity="",te.state=me):z(te.entity.length?X:B,pe)?te.entity+=pe:(xe(te,"Invalid character in entity name"),te[be]+="&"+te.entity+pe,te.entity="",te.state=me);continue;default:throw new Error(te,"Unknown state: "+te.state)}}return te.position>=te.bufferCheckPosition&&p(te),te}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */A.default||function(){var Y=String.fromCharCode,te=Math.floor,we=function(){var De=16384,Ne=[],me,be,Re=-1,it=arguments.length;if(!it)return"";for(var yt="";++Re1114111||te(pt)!==pt)throw RangeError("Invalid code point: "+pt);pt<=65535?Ne.push(pt):(pt-=65536,me=(pt>>10)+55296,be=pt%1024+56320,Ne.push(me,be)),(Re+1===it||Ne.length>De)&&(yt+=Y.apply(null,Ne),Ne.length=0)}return yt};a.default?Object.defineProperty(String,"fromCodePoint",{value:we,configurable:!0,writable:!0}):String.fromCodePoint=we}()})(typeof l=="undefined"?(void 0).sax={}:l)}).call(this,j("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/define-property":56,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/string/from-code-point":63,"babel-runtime/helpers/typeof":67,buffer:73,stream:230,string_decoder:72}],230:[function(j,R,l){R.exports=A;var x=j("events").EventEmitter,b=j("inherits");b(A,x),A.Readable=j("readable-stream/readable.js"),A.Writable=j("readable-stream/writable.js"),A.Duplex=j("readable-stream/duplex.js"),A.Transform=j("readable-stream/transform.js"),A.PassThrough=j("readable-stream/passthrough.js"),A.Stream=A;function A(){x.call(this)}A.prototype.pipe=function(f,t){var e=this;function m(u){f.writable&&(f.write(u)===!1&&e.pause&&e.pause())}e.on("data",m);function d(){e.readable&&e.resume&&e.resume()}f.on("drain",d),!f._isStdio&&(!t||t.end!==!1)&&(e.on("end",n),e.on("close",s));var a=!1;function n(){if(a)return;a=!0,f.end()}function s(){if(a)return;a=!0,typeof f.destroy=="function"&&f.destroy()}function c(u){if(i(),x.listenerCount(this,"error")===0)throw u}e.on("error",c),f.on("error",c);function i(){e.removeListener("data",m),f.removeListener("drain",d),e.removeListener("end",n),e.removeListener("close",s),e.removeListener("error",c),f.removeListener("error",c),e.removeListener("end",i),e.removeListener("close",i),f.removeListener("close",i)}return e.on("end",i),e.on("close",i),f.on("close",i),f.emit("pipe",e),f}},{events:192,inherits:196,"readable-stream/duplex.js":213,"readable-stream/passthrough.js":222,"readable-stream/readable.js":223,"readable-stream/transform.js":224,"readable-stream/writable.js":225}],231:[function(j,R,l){(function(x){var b=j("./lib/request"),A=j("./lib/response"),f=j("xtend"),t=j("builtin-status-codes"),e=j("url"),m=l;m.request=function(d,a){typeof d=="string"?d=e.parse(d):d=f(d);var n=x.location.protocol.search(/^https?:$/)===-1?"http:":"",s=d.protocol||n,c=d.hostname||d.host,i=d.port,u=d.path||"/";c&&c.indexOf(":")!==-1&&(c="["+c+"]"),d.url=(c?s+"//"+c:"")+(i?":"+i:"")+u,d.method=(d.method||"GET").toUpperCase(),d.headers=d.headers||{};var r=new b(d);return a&&r.on("response",a),r},m.get=function(a,n){var s=m.request(a,n);return s.end(),s},m.ClientRequest=b,m.IncomingMessage=A.IncomingMessage,m.Agent=function(){},m.Agent.defaultMaxSockets=4,m.globalAgent=new m.Agent,m.STATUS_CODES=t,m.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":233,"./lib/response":234,"builtin-status-codes":74,url:238,xtend:283}],232:[function(j,R,l){(function(x){"use strict";l.fetch=m(x.fetch)&&m(x.ReadableStream),l.writableStream=m(x.WritableStream),l.abortController=m(x.AbortController),l.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),l.blobConstructor=!0}catch(d){}var b;function A(){if(b!==void 0)return b;if(x.XMLHttpRequest){b=new x.XMLHttpRequest;try{b.open("GET",x.XDomainRequest?"/":"https://example.com")}catch(d){b=null}}else b=null;return b}function f(d){var a=A();if(!a)return!1;try{return a.responseType=d,a.responseType===d}catch(n){}return!1}var t=typeof x.ArrayBuffer!="undefined",e=t&&m(x.ArrayBuffer.prototype.slice);l.arraybuffer=l.fetch||t&&f("arraybuffer"),l.msstream=!l.fetch&&e&&f("ms-stream"),l.mozchunkedarraybuffer=!l.fetch&&t&&f("moz-chunked-arraybuffer"),l.overrideMimeType=l.fetch||(A()?m(A().overrideMimeType):!1),l.vbArray=m(x.VBArray);function m(d){return typeof d=="function"}b=null}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],233:[function(j,R,l){(function(x,b,A){"use strict";var f=j("babel-runtime/core-js/object/keys"),t=e(f);function e(p){return p&&p.__esModule?p:{default:p}}var m=j("./capability"),d=j("inherits"),a=j("./response"),n=j("readable-stream"),s=j("to-arraybuffer"),c=a.IncomingMessage,i=a.readyStates;function u(p,g){return m.fetch&&g?"fetch":m.mozchunkedarraybuffer?"moz-chunked-arraybuffer":m.msstream?"ms-stream":m.arraybuffer&&p?"arraybuffer":m.vbArray&&p?"text:vbarray":"text"}var r=R.exports=function(p){var g=this;n.Writable.call(g),g._opts=p,g._body=[],g._headers={},p.auth&&g.setHeader("Authorization","Basic "+new A(p.auth).toString("base64")),(0,t.default)(p.headers).forEach(function(w){g.setHeader(w,p.headers[w])});var v,y=!0;if(p.mode==="disable-fetch"||"requestTimeout"in p&&!m.abortController)y=!1,v=!0;else if(p.mode==="prefer-streaming")v=!1;else if(p.mode==="allow-wrong-content-type")v=!m.overrideMimeType;else if(!p.mode||p.mode==="default"||p.mode==="prefer-fast")v=!0;else throw new Error("Invalid value for opts.mode");g._mode=u(v,y),g._fetchTimer=null,g.on("finish",function(){g._onFinish()})};d(r,n.Writable),r.prototype.setHeader=function(p,g){var v=this,y=p.toLowerCase();if(h.indexOf(y)!==-1)return;v._headers[y]={name:p,value:g}},r.prototype.getHeader=function(p){var g=this._headers[p.toLowerCase()];return g?g.value:null},r.prototype.removeHeader=function(p){var g=this;delete g._headers[p.toLowerCase()]},r.prototype._onFinish=function(){var p=this;if(p._destroyed)return;var g=p._opts,v=p._headers,y=null;g.method!=="GET"&&g.method!=="HEAD"&&(m.arraybuffer?y=s(A.concat(p._body)):m.blobConstructor?y=new b.Blob(p._body.map(function(E){return s(E)}),{type:(v["content-type"]||{}).value||""}):y=A.concat(p._body).toString());var w=[];if((0,t.default)(v).forEach(function(E){var O=v[E].name,M=v[E].value;Array.isArray(M)?M.forEach(function(F){w.push([O,F])}):w.push([O,M])}),p._mode==="fetch"){var S=null,_=null;if(m.abortController){var I=new AbortController;S=I.signal,p._fetchAbortController=I,"requestTimeout"in g&&g.requestTimeout!==0&&(p._fetchTimer=b.setTimeout(function(){p.emit("requestTimeout"),p._fetchAbortController&&p._fetchAbortController.abort()},g.requestTimeout))}b.fetch(p._opts.url,{method:p._opts.method,headers:w,body:y||void 0,mode:"cors",credentials:g.withCredentials?"include":"same-origin",signal:S}).then(function(E){p._fetchResponse=E,p._connect()},function(E){b.clearTimeout(p._fetchTimer),p._destroyed||p.emit("error",E)})}else{var C=p._xhr=new b.XMLHttpRequest;try{C.open(p._opts.method,p._opts.url,!0)}catch(E){x.nextTick(function(){p.emit("error",E)});return}"responseType"in C&&(C.responseType=p._mode.split(":")[0]),"withCredentials"in C&&(C.withCredentials=!!g.withCredentials),p._mode==="text"&&"overrideMimeType"in C&&C.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in g&&(C.timeout=g.requestTimeout,C.ontimeout=function(){p.emit("requestTimeout")}),w.forEach(function(E){C.setRequestHeader(E[0],E[1])}),p._response=null,C.onreadystatechange=function(){switch(C.readyState){case i.LOADING:case i.DONE:p._onXHRProgress();break}},p._mode==="moz-chunked-arraybuffer"&&(C.onprogress=function(){p._onXHRProgress()}),C.onerror=function(){if(p._destroyed)return;p.emit("error",new Error("XHR error"))};try{C.send(y)}catch(E){x.nextTick(function(){p.emit("error",E)});return}}};function o(p){try{var g=p.status;return g!==null&&g!==0}catch(v){return!1}}r.prototype._onXHRProgress=function(){var p=this;if(!o(p._xhr)||p._destroyed)return;p._response||p._connect(),p._response._onXHRProgress()},r.prototype._connect=function(){var p=this;if(p._destroyed)return;p._response=new c(p._xhr,p._fetchResponse,p._mode,p._fetchTimer),p._response.on("error",function(g){p.emit("error",g)}),p.emit("response",p._response)},r.prototype._write=function(p,g,v){var y=this;y._body.push(p),v()},r.prototype.abort=r.prototype.destroy=function(){var p=this;p._destroyed=!0,b.clearTimeout(p._fetchTimer),p._response&&(p._response._destroyed=!0),p._xhr?p._xhr.abort():p._fetchAbortController&&p._fetchAbortController.abort()},r.prototype.end=function(p,g,v){var y=this;typeof p=="function"&&(v=p,p=void 0),n.Writable.prototype.end.call(y,p,g,v)},r.prototype.flushHeaders=function(){},r.prototype.setTimeout=function(){},r.prototype.setNoDelay=function(){},r.prototype.setSocketKeepAlive=function(){};var h=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,j("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},j("buffer").Buffer)},{"./capability":232,"./response":234,_process:208,"babel-runtime/core-js/object/keys":60,buffer:73,inherits:196,"readable-stream":223,"to-arraybuffer":237}],234:[function(j,R,l){(function(x,b,A){"use strict";var f=j("babel-runtime/core-js/promise"),t=e(f);function e(c){return c&&c.__esModule?c:{default:c}}var m=j("./capability"),d=j("inherits"),a=j("readable-stream"),n=l.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},s=l.IncomingMessage=function(c,i,u,r){var o=this;if(a.Readable.call(o),o._mode=u,o.headers={},o.rawHeaders=[],o.trailers={},o.rawTrailers=[],o.on("end",function(){x.nextTick(function(){o.emit("close")})}),u==="fetch"){var h=function S(){g.read().then(function(_){if(o._destroyed)return;if(_.done){b.clearTimeout(r),o.push(null);return}o.push(new A(_.value)),S()}).catch(function(_){b.clearTimeout(r),o._destroyed||o.emit("error",_)})};if(o._fetchResponse=i,o.url=i.url,o.statusCode=i.status,o.statusMessage=i.statusText,i.headers.forEach(function(S,_){o.headers[_.toLowerCase()]=S,o.rawHeaders.push(_,S)}),m.writableStream){var p=new WritableStream({write:function(_){return new t.default(function(I,C){o._destroyed?C():o.push(new A(_))?I():o._resumeFetch=I})},close:function(){b.clearTimeout(r),o._destroyed||o.push(null)},abort:function(_){o._destroyed||o.emit("error",_)}});try{i.body.pipeTo(p).catch(function(S){b.clearTimeout(r),o._destroyed||o.emit("error",S)});return}catch(S){}}var g=i.body.getReader();h()}else{o._xhr=c,o._pos=0,o.url=c.responseURL,o.statusCode=c.status,o.statusMessage=c.statusText;var v=c.getAllResponseHeaders().split(/\r?\n/);if(v.forEach(function(S){var _=S.match(/^([^:]+):\s*(.*)/);if(_){var I=_[1].toLowerCase();I==="set-cookie"?(o.headers[I]===void 0&&(o.headers[I]=[]),o.headers[I].push(_[2])):o.headers[I]!==void 0?o.headers[I]+=", "+_[2]:o.headers[I]=_[2],o.rawHeaders.push(_[1],_[2])}}),o._charset="x-user-defined",!m.overrideMimeType){var y=o.rawHeaders["mime-type"];if(y){var w=y.match(/;\s*charset=([^;])(;|$)/);w&&(o._charset=w[1].toLowerCase())}o._charset||(o._charset="utf-8")}}};d(s,a.Readable),s.prototype._read=function(){var c=this,i=c._resumeFetch;i&&(c._resumeFetch=null,i())},s.prototype._onXHRProgress=function(){var c=this,i=c._xhr,u=null;switch(c._mode){case"text:vbarray":if(i.readyState!==n.DONE)break;try{u=new b.VBArray(i.responseBody).toArray()}catch(g){}if(u!==null){c.push(new A(u));break}case"text":try{u=i.responseText}catch(g){c._mode="text:vbarray";break}if(u.length>c._pos){var r=u.substr(c._pos);if(c._charset==="x-user-defined"){for(var o=new A(r.length),h=0;hc._pos&&(c.push(new A(new Uint8Array(p.result.slice(c._pos)))),c._pos=p.result.byteLength)},p.onload=function(){c.push(null)},p.readAsArrayBuffer(u);break}c._xhr.readyState===n.DONE&&c._mode!=="ms-stream"&&c.push(null)}}).call(this,j("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},j("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(j,R,l){"use strict";var x=j("safe-buffer").Buffer,b=x.isEncoding||function(p){p=""+p;switch(p&&p.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function A(p){if(!p)return"utf8";for(var g;;)switch(p){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return p;default:if(g)return;p=(""+p).toLowerCase(),g=!0}}function f(p){var g=A(p);if(typeof g!="string"&&(x.isEncoding===b||!b(p)))throw new Error("Unknown encoding: "+p);return g||p}l.StringDecoder=t;function t(p){this.encoding=f(p);var g;switch(this.encoding){case"utf16le":this.text=c,this.end=i,g=4;break;case"utf8":this.fillLast=a,g=4;break;case"base64":this.text=u,this.end=r,g=3;break;default:this.write=o,this.end=h;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=x.allocUnsafe(g)}t.prototype.write=function(p){if(p.length===0)return"";var g,v;if(this.lastNeed){if(g=this.fillLast(p),g===void 0)return"";v=this.lastNeed,this.lastNeed=0}else v=0;return v>5===6?2:p>>4===14?3:p>>3===30?4:p>>6===2?-1:-2}function m(p,g,v){var y=g.length-1;if(y=0?(w>0&&(p.lastNeed=w-1),w):--y=0?(w>0&&(p.lastNeed=w-2),w):--y=0?(w>0&&(w===2?w=0:p.lastNeed=w-3),w):0))}function d(p,g,v){if((g[0]&192)!==128)return p.lastNeed=0,"\uFFFD";if(p.lastNeed>1&&g.length>1){if((g[1]&192)!==128)return p.lastNeed=1,"\uFFFD";if(p.lastNeed>2&&g.length>2&&(g[2]&192)!==128)return p.lastNeed=2,"\uFFFD"}}function a(p){var g=this.lastTotal-this.lastNeed,v=d(this,p,g);if(v!==void 0)return v;if(this.lastNeed<=p.length)return p.copy(this.lastChar,g,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);p.copy(this.lastChar,g,0,p.length),this.lastNeed-=p.length}function n(p,g){var v=m(this,p,g);if(!this.lastNeed)return p.toString("utf8",g);this.lastTotal=v;var y=p.length-(v-this.lastNeed);return p.copy(this.lastChar,0,y),p.toString("utf8",g,y)}function s(p){var g=p&&p.length?this.write(p):"";return this.lastNeed?g+"\uFFFD":g}function c(p,g){if((p.length-g)%2===0){var v=p.toString("utf16le",g);if(v){var y=v.charCodeAt(v.length-1);if(y>=55296&&y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1],v.slice(0,-1)}return v}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=p[p.length-1],p.toString("utf16le",g,p.length-1)}function i(p){var g=p&&p.length?this.write(p):"";if(this.lastNeed){var v=this.lastTotal-this.lastNeed;return g+this.lastChar.toString("utf16le",0,v)}return g}function u(p,g){var v=(p.length-g)%3;return v===0?p.toString("base64",g):(this.lastNeed=3-v,this.lastTotal=3,v===1?this.lastChar[0]=p[p.length-1]:(this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1]),p.toString("base64",g,p.length-v))}function r(p){var g=p&&p.length?this.write(p):"";return this.lastNeed?g+this.lastChar.toString("base64",0,3-this.lastNeed):g}function o(p){return p.toString(this.encoding)}function h(p){return p&&p.length?this.write(p):""}},{"safe-buffer":228}],236:[function(j,R,l){(function(x,b){var A=j("process/browser.js").nextTick,f=Function.prototype.apply,t=Array.prototype.slice,e={},m=0;l.setTimeout=function(){return new d(f.call(setTimeout,window,arguments),clearTimeout)},l.setInterval=function(){return new d(f.call(setInterval,window,arguments),clearInterval)},l.clearTimeout=l.clearInterval=function(a){a.close()};function d(a,n){this._id=a,this._clearFn=n}d.prototype.unref=d.prototype.ref=function(){},d.prototype.close=function(){this._clearFn.call(window,this._id)},l.enroll=function(a,n){clearTimeout(a._idleTimeoutId),a._idleTimeout=n},l.unenroll=function(a){clearTimeout(a._idleTimeoutId),a._idleTimeout=-1},l._unrefActive=l.active=function(a){clearTimeout(a._idleTimeoutId);var n=a._idleTimeout;n>=0&&(a._idleTimeoutId=setTimeout(function(){a._onTimeout&&a._onTimeout()},n))},l.setImmediate=typeof x=="function"?x:function(a){var n=m++,s=arguments.length<2?!1:t.call(arguments,1);return e[n]=!0,A(function(){e[n]&&(s?a.apply(null,s):a.call(null),l.clearImmediate(n))}),n},l.clearImmediate=typeof b=="function"?b:function(a){delete e[a]}}).call(this,j("timers").setImmediate,j("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(j,R,l){var x=j("buffer").Buffer;R.exports=function(b){if(b instanceof Uint8Array){if(b.byteOffset===0&&b.byteLength===b.buffer.byteLength)return b.buffer;if(typeof b.buffer.slice=="function")return b.buffer.slice(b.byteOffset,b.byteOffset+b.byteLength)}if(x.isBuffer(b)){for(var A=new Uint8Array(b.length),f=b.length,t=0;t",'"',"`"," ","\r",` +`," "],d=["{","}","|","\\","^","`"].concat(m),a=["'"].concat(d),n=["%","/","?",";","#"].concat(a),s=["/","?","#"],c=255,i=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,r={javascript:!0,"javascript:":!0},o={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},p=j("querystring");function g(S,_,I){if(S&&b.isObject(S)&&S instanceof A)return S;var C=new A;return C.parse(S,_,I),C}A.prototype.parse=function(S,_,I){if(!b.isString(S))throw new TypeError("Parameter 'url' must be a string, not "+typeof S);var C=S.indexOf("?"),E=C!==-1&&C127?ce+="x":ce+=re[ie];if(!ce.match(i)){var xe=V.slice(0,K),Se=V.slice(K+1),ke=re.match(u);ke&&(xe.push(ke[1]),Se.unshift(ke[2])),Se.length&&(F="/"+Se.join(".")+F),this.hostname=xe.join(".");break}}}this.hostname.length>c?this.hostname="":this.hostname=this.hostname.toLowerCase(),G||(this.hostname=x.toASCII(this.hostname));var ge=this.port?":"+this.port:"",Be=this.hostname||"";this.host=Be+ge,this.href+=this.host,G&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),F[0]!=="/"&&(F="/"+F))}if(!r[X])for(var K=0,q=a.length;K0?I.host.split("@"):!1;ce&&(I.auth=ce.shift(),I.host=I.hostname=ce.shift())}return I.search=S.search,I.query=S.query,(!b.isNull(I.pathname)||!b.isNull(I.search))&&(I.path=(I.pathname?I.pathname:"")+(I.search?I.search:"")),I.href=I.format(),I}if(!V.length)return I.pathname=null,I.search?I.path="/"+I.search:I.path=null,I.href=I.format(),I;for(var ie=V.slice(-1)[0],fe=(I.host||S.host||V.length>1)&&(ie==="."||ie==="..")||ie==="",xe=0,Se=V.length;Se>=0;Se--)ie=V[Se],ie==="."?V.splice(Se,1):ie===".."?(V.splice(Se,1),xe++):xe&&(V.splice(Se,1),xe--);if(!P&&!G)for(;xe--;xe)V.unshift("..");P&&V[0]!==""&&(!V[0]||V[0].charAt(0)!=="/")&&V.unshift(""),fe&&V.join("/").substr(-1)!=="/"&&V.push("");var ke=V[0]===""||V[0]&&V[0].charAt(0)==="/";if(re){I.hostname=I.host=ke?"":V.length?V.shift():"";var ce=I.host&&I.host.indexOf("@")>0?I.host.split("@"):!1;ce&&(I.auth=ce.shift(),I.host=I.hostname=ce.shift())}return P=P||I.host&&V.length,P&&!ke&&V.unshift(""),V.length?I.pathname=V.join("/"):(I.pathname=null,I.path=null),(!b.isNull(I.pathname)||!b.isNull(I.search))&&(I.path=(I.pathname?I.pathname:"")+(I.search?I.search:"")),I.auth=S.auth||I.auth,I.slashes=I.slashes||S.slashes,I.href=I.format(),I},A.prototype.parseHost=function(){var S=this.host,_=t.exec(S);_&&(_=_[0],_!==":"&&(this.port=_.substr(1)),S=S.substr(0,S.length-_.length)),S&&(this.hostname=S)}},{"./util":239,punycode:209,querystring:212}],239:[function(j,R,l){"use strict";R.exports={isString:function(b){return typeof b=="string"},isObject:function(b){return typeof b=="object"&&b!==null},isNull:function(b){return b===null},isNullOrUndefined:function(b){return b==null}}},{}],240:[function(j,R,l){(function(x){R.exports=b;function b(f,t){if(A("noDeprecation"))return f;var e=!1;function m(){if(!e){if(A("throwDeprecation"))throw new Error(t);A("traceDeprecation")?console.trace(t):console.warn(t),e=!0}return f.apply(this,arguments)}return m}function A(f){try{if(!x.localStorage)return!1}catch(e){return!1}var t=x.localStorage[f];return t==null?!1:String(t).toLowerCase()==="true"}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],241:[function(j,R,l){typeof Object.create=="function"?R.exports=function(b,A){b.super_=A,b.prototype=Object.create(A.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}})}:R.exports=function(b,A){b.super_=A;var f=function(){};f.prototype=A.prototype,b.prototype=new f,b.prototype.constructor=b}},{}],242:[function(j,R,l){R.exports=function(b){return b&&typeof b=="object"&&typeof b.copy=="function"&&typeof b.fill=="function"&&typeof b.readUInt8=="function"}},{}],243:[function(j,R,l){(function(x,b){var A=/%[sdj%]/g;l.format=function(k){if(!y(k)){for(var K=[],z=0;z=P)return q;switch(q){case"%s":return String(W[z++]);case"%d":return Number(W[z++]);case"%j":try{return JSON.stringify(W[z++])}catch(re){return"[Circular]"}default:return q}}),V=W[z];z=3&&(z.depth=arguments[2]),arguments.length>=4&&(z.colors=arguments[3]),h(K)?z.showHidden=K:K&&l._extend(z,K),S(z.showHidden)&&(z.showHidden=!1),S(z.depth)&&(z.depth=2),S(z.colors)&&(z.colors=!1),S(z.customInspect)&&(z.customInspect=!0),z.colors&&(z.stylize=m),n(z,k,z.depth)}l.inspect=e,e.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},e.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function m(k,K){var z=e.styles[K];return z?"["+e.colors[z][0]+"m"+k+"["+e.colors[z][1]+"m":k}function d(k,K){return k}function a(k){var K={};return k.forEach(function(z,W){K[z]=!0}),K}function n(k,K,z){if(k.customInspect&&K&&O(K.inspect)&&K.inspect!==l.inspect&&!(K.constructor&&K.constructor.prototype===K)){var W=K.inspect(z,k);return y(W)||(W=n(k,W,z)),W}var P=s(k,K);if(P)return P;var G=Object.keys(K),V=a(G);if(k.showHidden&&(G=Object.getOwnPropertyNames(K)),E(K)&&(G.indexOf("message")>=0||G.indexOf("description")>=0))return c(K);if(G.length===0){if(O(K)){var q=K.name?": "+K.name:"";return k.stylize("[Function"+q+"]","special")}if(_(K))return k.stylize(RegExp.prototype.toString.call(K),"regexp");if(C(K))return k.stylize(Date.prototype.toString.call(K),"date");if(E(K))return c(K)}var re="",ce=!1,ie=["{","}"];if(o(K)&&(ce=!0,ie=["[","]"]),O(K)){var fe=K.name?": "+K.name:"";re=" [Function"+fe+"]"}if(_(K)&&(re=" "+RegExp.prototype.toString.call(K)),C(K)&&(re=" "+Date.prototype.toUTCString.call(K)),E(K)&&(re=" "+c(K)),G.length===0&&(!ce||K.length==0))return ie[0]+re+ie[1];if(z<0)return _(K)?k.stylize(RegExp.prototype.toString.call(K),"regexp"):k.stylize("[Object]","special");k.seen.push(K);var xe;return ce?xe=i(k,K,z,V,G):xe=G.map(function(Se){return u(k,K,z,V,Se,ce)}),k.seen.pop(),r(xe,re,ie)}function s(k,K){if(S(K))return k.stylize("undefined","undefined");if(y(K)){var z="'"+JSON.stringify(K).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return k.stylize(z,"string")}if(v(K))return k.stylize(""+K,"number");if(h(K))return k.stylize(""+K,"boolean");if(p(K))return k.stylize("null","null")}function c(k){return"["+Error.prototype.toString.call(k)+"]"}function i(k,K,z,W,P){for(var G=[],V=0,q=K.length;V-1&&(G?q=q.split(` `).map(function(ce){return" "+ce}).join(` `).substr(2):q=` `+q.split(` `).map(function(ce){return" "+ce}).join(` -`))):q=k.stylize("[Circular]","special")),S(V)){if(G&&P.match(/^\d+$/))return q;V=JSON.stringify(""+P),V.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(V=V.substr(1,V.length-2),V=k.stylize(V,"name")):(V=V.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),V=k.stylize(V,"string"))}return V+": "+q}function r(k,W,z){var K=0,P=k.reduce(function(G,V){return K++,V.indexOf(` -`)>=0&&K++,G+V.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?z[0]+(W===""?"":W+` +`))):q=k.stylize("[Circular]","special")),S(V)){if(G&&P.match(/^\d+$/))return q;V=JSON.stringify(""+P),V.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(V=V.substr(1,V.length-2),V=k.stylize(V,"name")):(V=V.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),V=k.stylize(V,"string"))}return V+": "+q}function r(k,K,z){var W=0,P=k.reduce(function(G,V){return W++,V.indexOf(` +`)>=0&&W++,G+V.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?z[0]+(K===""?"":K+` `)+" "+k.join(`, - `)+" "+z[1]:z[0]+W+" "+k.join(", ")+" "+z[1]}function o(k){return Array.isArray(k)}l.isArray=o;function h(k){return typeof k=="boolean"}l.isBoolean=h;function p(k){return k===null}l.isNull=p;function g(k){return k==null}l.isNullOrUndefined=g;function v(k){return typeof k=="number"}l.isNumber=v;function y(k){return typeof k=="string"}l.isString=y;function w(k){return typeof k=="symbol"}l.isSymbol=w;function S(k){return k===void 0}l.isUndefined=S;function _(k){return I(k)&&F(k)==="[object RegExp]"}l.isRegExp=_;function I(k){return typeof k=="object"&&k!==null}l.isObject=I;function C(k){return I(k)&&F(k)==="[object Date]"}l.isDate=C;function E(k){return I(k)&&(F(k)==="[object Error]"||k instanceof Error)}l.isError=E;function O(k){return typeof k=="function"}l.isFunction=O;function M(k){return k===null||typeof k=="boolean"||typeof k=="number"||typeof k=="string"||typeof k=="symbol"||typeof k=="undefined"}l.isPrimitive=M,l.isBuffer=j("./support/isBuffer");function F(k){return Object.prototype.toString.call(k)}function H(k){return k<10?"0"+k.toString(10):k.toString(10)}var B=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function X(){var k=new Date,W=[H(k.getHours()),H(k.getMinutes()),H(k.getSeconds())].join(":");return[k.getDate(),B[k.getMonth()],W].join(" ")}l.log=function(){console.log("%s - %s",X(),l.format.apply(l,arguments))},l.inherits=j("inherits"),l._extend=function(k,W){if(!W||!I(W))return k;for(var z=Object.keys(W),K=z.length;K--;)k[z[K]]=W[z[K]];return k};function J(k,W){return Object.prototype.hasOwnProperty.call(k,W)}}).call(this,j("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":242,_process:208,inherits:241}],244:[function(j,R,l){"use strict";(function(){"use strict";l.stripBOM=function(x){return x[0]==="\uFEFF"?x.substring(1):x}}).call(void 0)},{}],245:[function(j,R,l){"use strict";var x=j("babel-runtime/helpers/typeof"),b=t(x),A=j("babel-runtime/core-js/object/keys"),f=t(A);function t(e){return e&&e.__esModule?e:{default:e}}(function(){"use strict";var e,m,d,a,n,s={}.hasOwnProperty;e=j("xmlbuilder"),m=j("./defaults").defaults,a=function(i){return typeof i=="string"&&(i.indexOf("&")>=0||i.indexOf(">")>=0||i.indexOf("<")>=0)},n=function(i){return""},d=function(i){return i.replace("]]>","]]]]>")},l.Builder=function(){function c(i){var u,r,o;this.options={},r=m["0.2"];for(u in r){if(!s.call(r,u))continue;o=r[u],this.options[u]=o}for(u in i){if(!s.call(i,u))continue;o=i[u],this.options[u]=o}}return c.prototype.buildObject=function(i){var u,r,o,h,p;return u=this.options.attrkey,r=this.options.charkey,(0,f.default)(i).length===1&&this.options.rootName===m["0.2"].rootName?(p=(0,f.default)(i)[0],i=i[p]):p=this.options.rootName,o=function(g){return function(v,y){var w,S,_,I,C,E;if((typeof y=="undefined"?"undefined":(0,b.default)(y))!=="object")g.options.cdata&&a(y)?v.raw(n(y)):v.txt(y);else if(Array.isArray(y))for(I in y){if(!s.call(y,I))continue;S=y[I];for(C in S)_=S[C],v=o(v.ele(C),_).up()}else for(C in y){if(!s.call(y,C))continue;if(S=y[C],C===u){if((typeof S=="undefined"?"undefined":(0,b.default)(S))==="object")for(w in S)E=S[w],v=v.att(w,E)}else if(C===r)g.options.cdata&&a(S)?v=v.raw(n(S)):v=v.txt(S);else if(Array.isArray(S))for(I in S){if(!s.call(S,I))continue;_=S[I],typeof _=="string"?g.options.cdata&&a(_)?v=v.ele(C).raw(n(_)).up():v=v.ele(C,_).up():v=o(v.ele(C),_).up()}else(typeof S=="undefined"?"undefined":(0,b.default)(S))==="object"?v=o(v.ele(C),S).up():typeof S=="string"&&g.options.cdata&&a(S)?v=v.ele(C).raw(n(S)).up():(S==null&&(S=""),v=v.ele(C,S.toString()).up())}return v}}(this),h=e.create(p,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),o(h,i).end(this.options.renderOpts)},c}()}).call(void 0)},{"./defaults":246,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,xmlbuilder:282}],246:[function(j,R,l){"use strict";(function(){l.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:` -`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(void 0)},{}],247:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/promise"),b=a(x),A=j("babel-runtime/core-js/object/get-own-property-names"),f=a(A),t=j("babel-runtime/core-js/object/keys"),e=a(t),m=j("babel-runtime/helpers/typeof"),d=a(m);function a(n){return n&&n.__esModule?n:{default:n}}(function(){"use strict";var n,s,c,i,u,r,o,h,p=function(w,S){return function(){return w.apply(S,arguments)}},g=function(w,S){for(var _ in S)v.call(S,_)&&(w[_]=S[_]);function I(){this.constructor=w}return I.prototype=S.prototype,w.prototype=new I,w.__super__=S.prototype,w},v={}.hasOwnProperty;o=j("sax"),c=j("events"),n=j("./bom"),r=j("./processors"),h=j("timers").setImmediate,s=j("./defaults").defaults,i=function(w){return(typeof w=="undefined"?"undefined":(0,d.default)(w))==="object"&&w!=null&&(0,e.default)(w).length===0},u=function(w,S,_){var I,C,E;for(I=0,C=w.length;I0&&(H[E.options.childkey]=X),X=H;else if(W){W[E.options.childkey]=W[E.options.childkey]||[],J={};for(F in X){if(!v.call(X,F))continue;J[F]=X[F]}W[E.options.childkey].push(J),delete X["#name"],(0,e.default)(X).length===1&&_ in X&&!E.EXPLICIT_CHARKEY&&(X=X[_])}}return C.length>0?E.assignOrPush(W,B,X):(E.options.explicitRoot&&(k=X,X={},X[B]=k),E.resultObject=X,E.saxParser.ended=!0,E.emit("end",E.resultObject))}}(this),I=function(E){return function(O){var M,F;if(F=C[C.length-1],F)return F[_]+=O,E.options.explicitChildren&&E.options.preserveChildrenOrder&&E.options.charsAsChildren&&(E.options.includeWhiteChars||O.replace(/\\n/g,"").trim()!=="")&&(F[E.options.childkey]=F[E.options.childkey]||[],M={"#name":"__text__"},M[_]=O,E.options.normalize&&(M[_]=M[_].replace(/\s{2,}/g," ").trim()),F[E.options.childkey].push(M)),F}}(this),this.saxParser.ontext=I,this.saxParser.oncdata=function(E){return function(O){var M;if(M=I(O),M)return M.cdata=!0}}(this)},w.prototype.parseString=function(S,_){var I;_!=null&&typeof _=="function"&&(this.on("end",function(C){return this.reset(),_(null,C)}),this.on("error",function(C){return this.reset(),_(C)}));try{return S=S.toString(),S.trim()===""?(this.emit("end",null),!0):(S=n.stripBOM(S),this.options.async?(this.remaining=S,h(this.processAsync),this.saxParser):this.saxParser.write(S).close())}catch(C){if(I=C,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw I}else return this.emit("error",I),this.saxParser.errThrown=!0}},w.prototype.parseStringPromise=function(S){return new b.default(function(_){return function(I,C){return _.parseString(S,function(E,O){return E?C(E):I(O)})}}(this))},w}(c),l.parseString=function(y,w,S){var _,I,C;return S!=null?(typeof S=="function"&&(_=S),(typeof w=="undefined"?"undefined":(0,d.default)(w))==="object"&&(I=w)):(typeof w=="function"&&(_=w),I={}),C=new l.Parser(I),C.parseString(y,_)},l.parseStringPromise=function(y,w){var S,_;return(typeof w=="undefined"?"undefined":(0,d.default)(w))==="object"&&(S=w),_=new l.Parser(S),_.parseStringPromise(y)}}).call(void 0)},{"./bom":244,"./defaults":246,"./processors":248,"babel-runtime/core-js/object/get-own-property-names":58,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/helpers/typeof":67,events:192,sax:229,timers:236}],248:[function(j,R,l){"use strict";(function(){"use strict";var x;x=new RegExp(/(?!xmlns)^.*:/),l.normalize=function(b){return b.toLowerCase()},l.firstCharLowerCase=function(b){return b.charAt(0).toLowerCase()+b.slice(1)},l.stripPrefix=function(b){return b.replace(x,"")},l.parseNumbers=function(b){return isNaN(b)||(b=b%1===0?parseInt(b,10):parseFloat(b)),b},l.parseBooleans=function(b){return/^(?:true|false)$/i.test(b)&&(b=b.toLowerCase()==="true"),b}}).call(void 0)},{}],249:[function(j,R,l){"use strict";(function(){"use strict";var x,b,A,f,t=function(d,a){for(var n in a)e.call(a,n)&&(d[n]=a[n]);function s(){this.constructor=d}return s.prototype=a.prototype,d.prototype=new s,d.__super__=a.prototype,d},e={}.hasOwnProperty;b=j("./defaults"),x=j("./builder"),A=j("./parser"),f=j("./processors"),l.defaults=b.defaults,l.processors=f,l.ValidationError=function(m){t(d,m);function d(a){this.message=a}return d}(Error),l.Builder=x.Builder,l.Parser=A.Parser,l.parseString=A.parseString,l.parseStringPromise=A.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(j,R,l){"use strict";(function(){R.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(j,R,l){"use strict";(function(){R.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(void 0)},{}],252:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/get-prototype-of"),b=m(x),A=j("babel-runtime/helpers/typeof"),f=m(A),t=j("babel-runtime/core-js/object/assign"),e=m(t);function m(d){return d&&d.__esModule?d:{default:d}}(function(){var d,a,n,s,c,i,u,r=[].slice,o={}.hasOwnProperty;d=function(){var p,g,v,y,w,S;if(S=arguments[0],w=2<=arguments.length?r.call(arguments,1):[],c(e.default))e.default.apply(null,arguments);else for(p=0,v=w.length;p":"attribute: {"+d+"}, parent: <"+this.parent.name+">"},m.prototype.isEqualNode=function(d){return d.namespaceURI!==this.namespaceURI||(d.prefix!==this.prefix||d.localName!==this.localName)?!1:!(d.value!==this.value)},m}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/create"),b=A(x);function A(f){return f&&f.__esModule?f:{default:f}}(function(){var f,t,e,m=function(n,s){for(var c in s)d.call(s,c)&&(n[c]=s[c]);function i(){this.constructor=n}return i.prototype=s.prototype,n.prototype=new i,n.__super__=s.prototype,n},d={}.hasOwnProperty;f=j("./NodeType"),e=j("./XMLCharacterData"),R.exports=t=function(a){m(n,a);function n(s,c){if(n.__super__.constructor.call(this,s),c==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=f.CData,this.value=this.stringify.cdata(c)}return n.prototype.clone=function(){return(0,b.default)(this)},n.prototype.toString=function(s){return this.options.writer.cdata(this,this.options.writer.filterOptions(s))},n}(e)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],256:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/create"),b=A(x);function A(f){return f&&f.__esModule?f:{default:f}}(function(){var f,t,e=function(a,n){for(var s in n)m.call(n,s)&&(a[s]=n[s]);function c(){this.constructor=a}return c.prototype=n.prototype,a.prototype=new c,a.__super__=n.prototype,a},m={}.hasOwnProperty;t=j("./XMLNode"),R.exports=f=function(d){e(a,d);function a(n){a.__super__.constructor.call(this,n),this.value=""}return Object.defineProperty(a.prototype,"data",{get:function(){return this.value},set:function(s){return this.value=s||""}}),Object.defineProperty(a.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(a.prototype,"textContent",{get:function(){return this.value},set:function(s){return this.value=s||""}}),a.prototype.clone=function(){return(0,b.default)(this)},a.prototype.substringData=function(n,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.appendData=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.insertData=function(n,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.deleteData=function(n,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.replaceData=function(n,s,c){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.isEqualNode=function(n){return a.__super__.isEqualNode.apply(this,arguments).isEqualNode(n)?!(n.data!==this.data):!1},a}(t)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/create"),b=A(x);function A(f){return f&&f.__esModule?f:{default:f}}(function(){var f,t,e,m=function(n,s){for(var c in s)d.call(s,c)&&(n[c]=s[c]);function i(){this.constructor=n}return i.prototype=s.prototype,n.prototype=new i,n.__super__=s.prototype,n},d={}.hasOwnProperty;f=j("./NodeType"),t=j("./XMLCharacterData"),R.exports=e=function(a){m(n,a);function n(s,c){if(n.__super__.constructor.call(this,s),c==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=f.Comment,this.value=this.stringify.comment(c)}return n.prototype.clone=function(){return(0,b.default)(this)},n.prototype.toString=function(s){return this.options.writer.comment(this,this.options.writer.filterOptions(s))},n}(t)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/keys"),b=t(x),A=j("babel-runtime/core-js/object/create"),f=t(A);function t(e){return e&&e.__esModule?e:{default:e}}(function(){var e,m,d;m=j("./XMLDOMErrorHandler"),d=j("./XMLDOMStringList"),R.exports=e=function(){function a(){var n;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new m,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=n=(0,f.default)(this.defaultParams)}return Object.defineProperty(a.prototype,"parameterNames",{get:function(){return new d((0,b.default)(this.defaultParams))}}),a.prototype.getParameter=function(n){return this.params.hasOwnProperty(n)?this.params[n]:null},a.prototype.canSetParameter=function(n,s){return!0},a.prototype.setParameter=function(n,s){return s!=null?this.params[n]=s:delete this.params[n]},a}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(j,R,l){"use strict";(function(){var x;R.exports=x=function(){function b(){}return b.prototype.handleError=function(A){throw new Error(A)},b}()}).call(void 0)},{}],260:[function(j,R,l){"use strict";(function(){var x;R.exports=x=function(){function b(){}return b.prototype.hasFeature=function(A,f){return!0},b.prototype.createDocumentType=function(A,f,t){throw new Error("This DOM method is not implemented.")},b.prototype.createDocument=function(A,f,t){throw new Error("This DOM method is not implemented.")},b.prototype.createHTMLDocument=function(A){throw new Error("This DOM method is not implemented.")},b.prototype.getFeature=function(A,f){throw new Error("This DOM method is not implemented.")},b}()}).call(void 0)},{}],261:[function(j,R,l){"use strict";(function(){var x;R.exports=x=function(){function b(A){this.arr=A||[]}return Object.defineProperty(b.prototype,"length",{get:function(){return this.arr.length}}),b.prototype.item=function(A){return this.arr[A]||null},b.prototype.contains=function(A){return this.arr.indexOf(A)!==-1},b}()}).call(void 0)},{}],262:[function(j,R,l){"use strict";(function(){var x,b,A,f=function(m,d){for(var a in d)t.call(d,a)&&(m[a]=d[a]);function n(){this.constructor=m}return n.prototype=d.prototype,m.prototype=new n,m.__super__=d.prototype,m},t={}.hasOwnProperty;A=j("./XMLNode"),x=j("./NodeType"),R.exports=b=function(e){f(m,e);function m(d,a,n,s,c,i){if(m.__super__.constructor.call(this,d),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(n==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(a));if(!s)throw new Error("Missing DTD attribute type. "+this.debugInfo(a));if(!c)throw new Error("Missing DTD attribute default. "+this.debugInfo(a));if(c.indexOf("#")!==0&&(c="#"+c),!c.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(a));if(i&&!c.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(a));this.elementName=this.stringify.name(a),this.type=x.AttributeDeclaration,this.attributeName=this.stringify.name(n),this.attributeType=this.stringify.dtdAttType(s),i&&(this.defaultValue=this.stringify.dtdAttDefault(i)),this.defaultValueType=c}return m.prototype.toString=function(d){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(d))},m}(A)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(j,R,l){"use strict";(function(){var x,b,A,f=function(m,d){for(var a in d)t.call(d,a)&&(m[a]=d[a]);function n(){this.constructor=m}return n.prototype=d.prototype,m.prototype=new n,m.__super__=d.prototype,m},t={}.hasOwnProperty;A=j("./XMLNode"),x=j("./NodeType"),R.exports=b=function(e){f(m,e);function m(d,a,n){if(m.__super__.constructor.call(this,d),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());n||(n="(#PCDATA)"),Array.isArray(n)&&(n="("+n.join(",")+")"),this.name=this.stringify.name(a),this.type=x.ElementDeclaration,this.value=this.stringify.dtdElementValue(n)}return m.prototype.toString=function(d){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(d))},m}(A)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(j,R,l){"use strict";(function(){var x,b,A,f,t=function(d,a){for(var n in a)e.call(a,n)&&(d[n]=a[n]);function s(){this.constructor=d}return s.prototype=a.prototype,d.prototype=new s,d.__super__=a.prototype,d},e={}.hasOwnProperty;f=j("./Utility").isObject,A=j("./XMLNode"),x=j("./NodeType"),R.exports=b=function(m){t(d,m);function d(a,n,s,c){if(d.__super__.constructor.call(this,a),s==null)throw new Error("Missing DTD entity name. "+this.debugInfo(s));if(c==null)throw new Error("Missing DTD entity value. "+this.debugInfo(s));if(this.pe=!!n,this.name=this.stringify.name(s),this.type=x.EntityDeclaration,!f(c))this.value=this.stringify.dtdEntityValue(c),this.internal=!0;else{if(!c.pubID&&!c.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(s));if(c.pubID&&!c.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(s));if(this.internal=!1,c.pubID!=null&&(this.pubID=this.stringify.dtdPubID(c.pubID)),c.sysID!=null&&(this.sysID=this.stringify.dtdSysID(c.sysID)),c.nData!=null&&(this.nData=this.stringify.dtdNData(c.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(s))}}return Object.defineProperty(d.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(d.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(d.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(d.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(d.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(d.prototype,"xmlVersion",{get:function(){return null}}),d.prototype.toString=function(a){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(a))},d}(A)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(j,R,l){"use strict";(function(){var x,b,A,f=function(m,d){for(var a in d)t.call(d,a)&&(m[a]=d[a]);function n(){this.constructor=m}return n.prototype=d.prototype,m.prototype=new n,m.__super__=d.prototype,m},t={}.hasOwnProperty;A=j("./XMLNode"),x=j("./NodeType"),R.exports=b=function(e){f(m,e);function m(d,a,n){if(m.__super__.constructor.call(this,d),a==null)throw new Error("Missing DTD notation name. "+this.debugInfo(a));if(!n.pubID&&!n.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(a));this.name=this.stringify.name(a),this.type=x.NotationDeclaration,n.pubID!=null&&(this.pubID=this.stringify.dtdPubID(n.pubID)),n.sysID!=null&&(this.sysID=this.stringify.dtdSysID(n.sysID))}return Object.defineProperty(m.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(m.prototype,"systemId",{get:function(){return this.sysID}}),m.prototype.toString=function(d){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(d))},m}(A)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(j,R,l){"use strict";(function(){var x,b,A,f,t=function(d,a){for(var n in a)e.call(a,n)&&(d[n]=a[n]);function s(){this.constructor=d}return s.prototype=a.prototype,d.prototype=new s,d.__super__=a.prototype,d},e={}.hasOwnProperty;f=j("./Utility").isObject,A=j("./XMLNode"),x=j("./NodeType"),R.exports=b=function(m){t(d,m);function d(a,n,s,c){var i;d.__super__.constructor.call(this,a),f(n)&&(i=n,n=i.version,s=i.encoding,c=i.standalone),n||(n="1.0"),this.type=x.Declaration,this.version=this.stringify.xmlVersion(n),s!=null&&(this.encoding=this.stringify.xmlEncoding(s)),c!=null&&(this.standalone=this.stringify.xmlStandalone(c))}return d.prototype.toString=function(a){return this.options.writer.declaration(this,this.options.writer.filterOptions(a))},d}(A)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(j,R,l){"use strict";(function(){var x,b,A,f,t,e,m,d,a,n=function(i,u){for(var r in u)s.call(u,r)&&(i[r]=u[r]);function o(){this.constructor=i}return o.prototype=u.prototype,i.prototype=new o,i.__super__=u.prototype,i},s={}.hasOwnProperty;a=j("./Utility").isObject,d=j("./XMLNode"),x=j("./NodeType"),b=j("./XMLDTDAttList"),f=j("./XMLDTDEntity"),A=j("./XMLDTDElement"),t=j("./XMLDTDNotation"),m=j("./XMLNamedNodeMap"),R.exports=e=function(c){n(i,c);function i(u,r,o){var h,p,g,v,y,w;if(i.__super__.constructor.call(this,u),this.type=x.DocType,u.children){for(v=u.children,p=0,g=v.length;p=0;)this.up();return this.onEnd()},C.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},C.prototype.openNode=function(E){var O,M,F,H;if(!E.isOpen){if(!this.root&&this.currentLevel===0&&E.type===x.Element&&(this.root=E),M="",E.type===x.Element){this.writerOptions.state=b.OpenTag,M=this.writer.indent(E,this.writerOptions,this.currentLevel)+"<"+E.name,H=E.attribs;for(F in H){if(!I.call(H,F))continue;O=H[F],M+=this.writer.attribute(O,this.writerOptions,this.currentLevel)}M+=(E.children?">":"/>")+this.writer.endline(E,this.writerOptions,this.currentLevel),this.writerOptions.state=b.InsideTag}else this.writerOptions.state=b.OpenTag,M=this.writer.indent(E,this.writerOptions,this.currentLevel)+""),M+=this.writer.endline(E,this.writerOptions,this.currentLevel);return this.onData(M,this.currentLevel),E.isOpen=!0}},C.prototype.closeNode=function(E){var O;if(!E.isClosed)return O="",this.writerOptions.state=b.CloseTag,E.type===x.Element?O=this.writer.indent(E,this.writerOptions,this.currentLevel)+""+this.writer.endline(E,this.writerOptions,this.currentLevel):O=this.writer.indent(E,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(E,this.writerOptions,this.currentLevel),this.writerOptions.state=b.None,this.onData(O,this.currentLevel),E.isClosed=!0},C.prototype.onData=function(E,O){return this.documentStarted=!0,this.onDataCallback(E,O+1)},C.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},C.prototype.debugInfo=function(E){return E==null?"":"node: <"+E+">"},C.prototype.ele=function(){return this.element.apply(this,arguments)},C.prototype.nod=function(E,O,M){return this.node(E,O,M)},C.prototype.txt=function(E){return this.text(E)},C.prototype.dat=function(E){return this.cdata(E)},C.prototype.com=function(E){return this.comment(E)},C.prototype.ins=function(E,O){return this.instruction(E,O)},C.prototype.dec=function(E,O,M){return this.declaration(E,O,M)},C.prototype.dtd=function(E,O,M){return this.doctype(E,O,M)},C.prototype.e=function(E,O,M){return this.element(E,O,M)},C.prototype.n=function(E,O,M){return this.node(E,O,M)},C.prototype.t=function(E){return this.text(E)},C.prototype.d=function(E){return this.cdata(E)},C.prototype.c=function(E){return this.comment(E)},C.prototype.r=function(E){return this.raw(E)},C.prototype.i=function(E,O){return this.instruction(E,O)},C.prototype.att=function(){return this.currentNode&&this.currentNode.type===x.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},C.prototype.a=function(){return this.currentNode&&this.currentNode.type===x.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},C.prototype.ent=function(E,O){return this.entity(E,O)},C.prototype.pent=function(E,O){return this.pEntity(E,O)},C.prototype.not=function(E,O){return this.notation(E,O)},C}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLAttribute":254,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDocument":268,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLStringWriter":278,"./XMLStringifier":279,"./XMLText":280}],270:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/create"),b=A(x);function A(f){return f&&f.__esModule?f:{default:f}}(function(){var f,t,e,m=function(n,s){for(var c in s)d.call(s,c)&&(n[c]=s[c]);function i(){this.constructor=n}return i.prototype=s.prototype,n.prototype=new i,n.__super__=s.prototype,n},d={}.hasOwnProperty;e=j("./XMLNode"),f=j("./NodeType"),R.exports=t=function(a){m(n,a);function n(s){n.__super__.constructor.call(this,s),this.type=f.Dummy}return n.prototype.clone=function(){return(0,b.default)(this)},n.prototype.toString=function(s){return""},n}(e)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],271:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/create"),b=A(x);function A(f){return f&&f.__esModule?f:{default:f}}(function(){var f,t,e,m,d,a,n,s,c,i=function(o,h){for(var p in h)u.call(h,p)&&(o[p]=h[p]);function g(){this.constructor=o}return g.prototype=h.prototype,o.prototype=new g,o.__super__=h.prototype,o},u={}.hasOwnProperty;c=j("./Utility"),s=c.isObject,n=c.isFunction,a=c.getValue,d=j("./XMLNode"),f=j("./NodeType"),t=j("./XMLAttribute"),m=j("./XMLNamedNodeMap"),R.exports=e=function(r){i(o,r);function o(h,p,g){var v,y,w,S;if(o.__super__.constructor.call(this,h),p==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(p),this.type=f.Element,this.attribs={},this.schemaTypeInfo=null,g!=null&&this.attribute(g),h.type===f.Document&&(this.isRoot=!0,this.documentObject=h,h.rootObject=this,h.children)){for(S=h.children,y=0,w=S.length;y=v;p=0<=v?++g:--g)if(!this.attribs[p].isEqualNode(h.attribs[p]))return!1;return!0},o}(d)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/keys"),b=A(x);function A(f){return f&&f.__esModule?f:{default:f}}(function(){var f;R.exports=f=function(){function t(e){this.nodes=e}return Object.defineProperty(t.prototype,"length",{get:function(){return(0,b.default)(this.nodes).length||0}}),t.prototype.clone=function(){return this.nodes=null},t.prototype.getNamedItem=function(e){return this.nodes[e]},t.prototype.setNamedItem=function(e){var m;return m=this.nodes[e.nodeName],this.nodes[e.nodeName]=e,m||null},t.prototype.removeNamedItem=function(e){var m;return m=this.nodes[e],delete this.nodes[e],m||null},t.prototype.item=function(e){return this.nodes[(0,b.default)(this.nodes)[e]]||null},t.prototype.getNamedItemNS=function(e,m){throw new Error("This DOM method is not implemented.")},t.prototype.setNamedItemNS=function(e){throw new Error("This DOM method is not implemented.")},t.prototype.removeNamedItemNS=function(e,m){throw new Error("This DOM method is not implemented.")},t}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(j,R,l){"use strict";(function(){var x,b,A,f,t,e,m,d,a,n,s,c,i,u,r,o,h,p,g,v={}.hasOwnProperty;g=j("./Utility"),p=g.isObject,h=g.isFunction,o=g.isEmpty,r=g.getValue,d=null,A=null,f=null,t=null,e=null,i=null,u=null,c=null,m=null,b=null,s=null,a=null,x=null,R.exports=n=function(){function y(w){this.parent=w,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,d||(d=j("./XMLElement"),A=j("./XMLCData"),f=j("./XMLComment"),t=j("./XMLDeclaration"),e=j("./XMLDocType"),i=j("./XMLRaw"),u=j("./XMLText"),c=j("./XMLProcessingInstruction"),m=j("./XMLDummy"),b=j("./NodeType"),s=j("./XMLNodeList"),a=j("./XMLNamedNodeMap"),x=j("./DocumentPosition"))}return Object.defineProperty(y.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(y.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(y.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(y.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(y.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new s(this.children)),this.childNodeList}}),Object.defineProperty(y.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(y.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(y.prototype,"previousSibling",{get:function(){var S;return S=this.parent.children.indexOf(this),this.parent.children[S-1]||null}}),Object.defineProperty(y.prototype,"nextSibling",{get:function(){var S;return S=this.parent.children.indexOf(this),this.parent.children[S+1]||null}}),Object.defineProperty(y.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(y.prototype,"textContent",{get:function(){var S,_,I,C,E;if(this.nodeType===b.Element||this.nodeType===b.DocumentFragment){for(E="",C=this.children,_=0,I=C.length;_":((_=this.parent)!=null?_.name:void 0)?"node: <"+w+">, parent: <"+this.parent.name+">":"node: <"+w+">"},y.prototype.ele=function(w,S,_){return this.element(w,S,_)},y.prototype.nod=function(w,S,_){return this.node(w,S,_)},y.prototype.txt=function(w){return this.text(w)},y.prototype.dat=function(w){return this.cdata(w)},y.prototype.com=function(w){return this.comment(w)},y.prototype.ins=function(w,S){return this.instruction(w,S)},y.prototype.doc=function(){return this.document()},y.prototype.dec=function(w,S,_){return this.declaration(w,S,_)},y.prototype.e=function(w,S,_){return this.element(w,S,_)},y.prototype.n=function(w,S,_){return this.node(w,S,_)},y.prototype.t=function(w){return this.text(w)},y.prototype.d=function(w){return this.cdata(w)},y.prototype.c=function(w){return this.comment(w)},y.prototype.r=function(w){return this.raw(w)},y.prototype.i=function(w,S){return this.instruction(w,S)},y.prototype.u=function(){return this.up()},y.prototype.importXMLBuilder=function(w){return this.importDocument(w)},y.prototype.replaceChild=function(w,S){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.removeChild=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.appendChild=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.hasChildNodes=function(){return this.children.length!==0},y.prototype.cloneNode=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.isSupported=function(w,S){return!0},y.prototype.hasAttributes=function(){return this.attribs.length!==0},y.prototype.compareDocumentPosition=function(w){var S,_;return S=this,S===w?0:this.document()!==w.document()?(_=x.Disconnected|x.ImplementationSpecific,Math.random()<.5?_|=x.Preceding:_|=x.Following,_):S.isAncestor(w)?x.Contains|x.Preceding:S.isDescendant(w)?x.Contains|x.Following:S.isPreceding(w)?x.Preceding:x.Following},y.prototype.isSameNode=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.lookupPrefix=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.isDefaultNamespace=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.lookupNamespaceURI=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.isEqualNode=function(w){var S,_,I;if(w.nodeType!==this.nodeType)return!1;if(w.children.length!==this.children.length)return!1;for(S=_=0,I=this.children.length-1;0<=I?_<=I:_>=I;S=0<=I?++_:--_)if(!this.children[S].isEqualNode(w.children[S]))return!1;return!0},y.prototype.getFeature=function(w,S){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.setUserData=function(w,S,_){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.getUserData=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.contains=function(w){return w?w===this||this.isDescendant(w):!1},y.prototype.isDescendant=function(w){var S,_,I,C,E;for(E=this.children,I=0,C=E.length;I_},y.prototype.treePosition=function(w){var S,_;return _=0,S=!1,this.foreachTreeNode(this.document(),function(I){if(_++,!S&&I===w)return S=!0}),S?_:-1},y.prototype.foreachTreeNode=function(w,S){var _,I,C,E,O;for(w||(w=this.document()),E=w.children,I=0,C=E.length;I0){for(this.stream.write(" ["),this.stream.write(this.endline(a,n,s)),n.state=b.InsideTag,r=a.children,i=0,u=r.length;i"),this.stream.write(this.endline(a,n,s)),n.state=b.None,this.closeNode(a,n,s)},d.prototype.element=function(a,n,s){var c,i,u,r,o,h,p,g,v,y;s||(s=0),this.openNode(a,n,s),n.state=b.OpenTag,this.stream.write(this.indent(a,n,s)+"<"+a.name),v=a.attribs;for(p in v){if(!e.call(v,p))continue;c=v[p],this.attribute(c,n,s)}if(u=a.children.length,r=u===0?null:a.children[0],u===0||a.children.every(function(w){return(w.type===x.Text||w.type===x.Raw)&&w.value===""}))n.allowEmpty?(this.stream.write(">"),n.state=b.CloseTag,this.stream.write("")):(n.state=b.CloseTag,this.stream.write(n.spaceBeforeSlash+"/>"));else if(n.pretty&&u===1&&(r.type===x.Text||r.type===x.Raw)&&r.value!=null)this.stream.write(">"),n.state=b.InsideTag,n.suppressPrettyCount++,g=!0,this.writeChildNode(r,n,s+1),n.suppressPrettyCount--,g=!1,n.state=b.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(a,n,s)),n.state=b.InsideTag,y=a.children,o=0,h=y.length;o")}return this.stream.write(this.endline(a,n,s)),n.state=b.None,this.closeNode(a,n,s)},d.prototype.processingInstruction=function(a,n,s){return this.stream.write(d.__super__.processingInstruction.call(this,a,n,s))},d.prototype.raw=function(a,n,s){return this.stream.write(d.__super__.raw.call(this,a,n,s))},d.prototype.text=function(a,n,s){return this.stream.write(d.__super__.text.call(this,a,n,s))},d.prototype.dtdAttList=function(a,n,s){return this.stream.write(d.__super__.dtdAttList.call(this,a,n,s))},d.prototype.dtdElement=function(a,n,s){return this.stream.write(d.__super__.dtdElement.call(this,a,n,s))},d.prototype.dtdEntity=function(a,n,s){return this.stream.write(d.__super__.dtdEntity.call(this,a,n,s))},d.prototype.dtdNotation=function(a,n,s){return this.stream.write(d.__super__.dtdNotation.call(this,a,n,s))},d}(f)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(j,R,l){"use strict";(function(){var x,b,A=function(e,m){for(var d in m)f.call(m,d)&&(e[d]=m[d]);function a(){this.constructor=e}return a.prototype=m.prototype,e.prototype=new a,e.__super__=m.prototype,e},f={}.hasOwnProperty;b=j("./XMLWriterBase"),R.exports=x=function(t){A(e,t);function e(m){e.__super__.constructor.call(this,m)}return e.prototype.document=function(m,d){var a,n,s,c,i;for(d=this.filterOptions(d),c="",i=m.children,n=0,s=i.length;n","]]]]>"),this.assertLegalChar(t))},f.prototype.comment=function(t){if(this.options.noValidation)return t;if(t=""+t||"",t.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+t);return this.assertLegalChar(t)},f.prototype.raw=function(t){return this.options.noValidation?t:""+t||""},f.prototype.attValue=function(t){return this.options.noValidation?t:this.assertLegalChar(this.attEscape(t=""+t||""))},f.prototype.insTarget=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},f.prototype.insValue=function(t){if(this.options.noValidation)return t;if(t=""+t||"",t.match(/\?>/))throw new Error("Invalid processing instruction value: "+t);return this.assertLegalChar(t)},f.prototype.xmlVersion=function(t){if(this.options.noValidation)return t;if(t=""+t||"",!t.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+t);return t},f.prototype.xmlEncoding=function(t){if(this.options.noValidation)return t;if(t=""+t||"",!t.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+t);return this.assertLegalChar(t)},f.prototype.xmlStandalone=function(t){return this.options.noValidation?t:t?"yes":"no"},f.prototype.dtdPubID=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},f.prototype.dtdSysID=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},f.prototype.dtdElementValue=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},f.prototype.dtdAttType=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},f.prototype.dtdAttDefault=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},f.prototype.dtdEntityValue=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},f.prototype.dtdNData=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},f.prototype.convertAttKey="@",f.prototype.convertPIKey="?",f.prototype.convertTextKey="#text",f.prototype.convertCDataKey="#cdata",f.prototype.convertCommentKey="#comment",f.prototype.convertRawKey="#raw",f.prototype.assertLegalChar=function(t){var e,m;if(this.options.noValidation)return t;if(e="",this.options.version==="1.0"){if(e=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=t.match(e))throw new Error("Invalid character in string: "+t+" at index "+m.index)}else if(this.options.version==="1.1"&&(e=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=t.match(e)))throw new Error("Invalid character in string: "+t+" at index "+m.index);return t},f.prototype.assertLegalName=function(t){var e;if(this.options.noValidation)return t;if(this.assertLegalChar(t),e=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!t.match(e))throw new Error("Invalid character in name");return t},f.prototype.textEscape=function(t){var e;return this.options.noValidation?t:(e=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&").replace(//g,">").replace(/\r/g," "))},f.prototype.attEscape=function(t){var e;return this.options.noValidation?t:(e=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&").replace(/0)?new Array(S).join(y.indent):""},g.prototype.endline=function(v,y,w){return!y.pretty||y.suppressPrettyCount?"":y.newline},g.prototype.attribute=function(v,y,w){var S;return this.openAttribute(v,y,w),S=" "+v.name+'="'+v.value+'"',this.closeAttribute(v,y,w),S},g.prototype.cdata=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w)+""+this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.comment=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w)+""+this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.declaration=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w)+"",S+=this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.docType=function(v,y,w){var S,_,I,C,E;if(w||(w=0),this.openNode(v,y,w),y.state=b.OpenTag,C=this.indent(v,y,w),C+="0){for(C+=" [",C+=this.endline(v,y,w),y.state=b.InsideTag,E=v.children,_=0,I=E.length;_",C+=this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),C},g.prototype.element=function(v,y,w){var S,_,I,C,E,O,M,F,H,B,X,J,k,W;w||(w=0),B=!1,X="",this.openNode(v,y,w),y.state=b.OpenTag,X+=this.indent(v,y,w)+"<"+v.name,J=v.attribs;for(H in J){if(!p.call(J,H))continue;S=J[H],X+=this.attribute(S,y,w)}if(I=v.children.length,C=I===0?null:v.children[0],I===0||v.children.every(function(z){return(z.type===x.Text||z.type===x.Raw)&&z.value===""}))y.allowEmpty?(X+=">",y.state=b.CloseTag,X+=""+this.endline(v,y,w)):(y.state=b.CloseTag,X+=y.spaceBeforeSlash+"/>"+this.endline(v,y,w));else if(y.pretty&&I===1&&(C.type===x.Text||C.type===x.Raw)&&C.value!=null)X+=">",y.state=b.InsideTag,y.suppressPrettyCount++,B=!0,X+=this.writeChildNode(C,y,w+1),y.suppressPrettyCount--,B=!1,y.state=b.CloseTag,X+=""+this.endline(v,y,w);else{if(y.dontPrettyTextNodes){for(k=v.children,E=0,M=k.length;E"+this.endline(v,y,w),y.state=b.InsideTag,W=v.children,O=0,F=W.length;O",B&&y.suppressPrettyCount--,X+=this.endline(v,y,w),y.state=b.None}return this.closeNode(v,y,w),X},g.prototype.writeChildNode=function(v,y,w){switch(v.type){case x.CData:return this.cdata(v,y,w);case x.Comment:return this.comment(v,y,w);case x.Element:return this.element(v,y,w);case x.Raw:return this.raw(v,y,w);case x.Text:return this.text(v,y,w);case x.ProcessingInstruction:return this.processingInstruction(v,y,w);case x.Dummy:return"";case x.Declaration:return this.declaration(v,y,w);case x.DocType:return this.docType(v,y,w);case x.AttributeDeclaration:return this.dtdAttList(v,y,w);case x.ElementDeclaration:return this.dtdElement(v,y,w);case x.EntityDeclaration:return this.dtdEntity(v,y,w);case x.NotationDeclaration:return this.dtdNotation(v,y,w);default:throw new Error("Unknown XML node type: "+v.constructor.name)}},g.prototype.processingInstruction=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w)+"",S+=this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.raw=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w),y.state=b.InsideTag,S+=v.value,y.state=b.CloseTag,S+=this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.text=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w),y.state=b.InsideTag,S+=v.value,y.state=b.CloseTag,S+=this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.dtdAttList=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w)+""+this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.dtdElement=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w)+""+this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.dtdEntity=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w)+""+this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.dtdNotation=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w)+""+this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.openNode=function(v,y,w){},g.prototype.closeNode=function(v,y,w){},g.prototype.openAttribute=function(v,y,w){},g.prototype.closeAttribute=function(v,y,w){},g}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDummy":270,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLText":280}],282:[function(j,R,l){"use strict";(function(){var x,b,A,f,t,e,m,d,a,n;n=j("./Utility"),d=n.assign,a=n.isFunction,A=j("./XMLDOMImplementation"),f=j("./XMLDocument"),t=j("./XMLDocumentCB"),m=j("./XMLStringWriter"),e=j("./XMLStreamWriter"),x=j("./NodeType"),b=j("./WriterState"),R.exports.create=function(s,c,i,u){var r,o;if(s==null)throw new Error("Root element needs a name.");return u=d({},c,i,u),r=new f(u),o=r.element(s),u.headless||(r.declaration(u),(u.pubID!=null||u.sysID!=null)&&r.dtd(u)),o},R.exports.begin=function(s,c,i){var u;return a(s)&&(u=[s,c],c=u[0],i=u[1],s={}),c?new t(s,c,i):new f(s)},R.exports.stringWriter=function(s){return new m(s)},R.exports.streamWriter=function(s,c){return new e(s,c)},R.exports.implementation=new A,R.exports.nodeType=x,R.exports.writerState=b}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(j,R,l){R.exports=b;var x=Object.prototype.hasOwnProperty;function b(){for(var A={},f=0;ft?s=n(s):s.length>5]|=128<>>9<<4)+14]=c;for(var i=1732584193,u=-271733879,r=-1732584194,o=271733878,h=0;h>16)+(c>>16)+(i>>16);return u<<16|i&65535}function n(s,c){return s<>>32-c}R.exports=function(c){return x.hash(c,A,16)}},{"./helpers":285}],287:[function(j,R,l){"use strict";var x=j("./helpers");function b(m,d){m[d>>5]|=128<<24-d%32,m[(d+64>>9<<4)+15]=d;for(var a=Array(80),n=1732584193,s=-271733879,c=-1732584194,i=271733878,u=-1009589776,r=0;r>16)+(d>>16)+(a>>16);return n<<16|a&65535}function e(m,d){return m<>>32-d}R.exports=function(d){return x.hash(d,b,20,!0)}},{"./helpers":285}],288:[function(j,R,l){"use strict";R.exports=function(){return function(){}}},{}],289:[function(j,R,l){(function(x){"use strict";var b=j("babel-runtime/helpers/typeof"),A=f(b);function f(n){return n&&n.__esModule?n:{default:n}}var t=j("stream"),e=t.Stream,m=j("../lib/common/utils/isArray"),d=m.isArray;R.exports.string=function(s){return typeof s=="string"},R.exports.array=d,R.exports.buffer=x.isBuffer;function a(n){return n instanceof e}R.exports.writableStream=function(s){return a(s)&&typeof s._write=="function"&&(0,A.default)(s._writableState)==="object"}}).call(this,{isBuffer:j("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":42,"../node_modules/is-buffer/index.js":197,"babel-runtime/helpers/typeof":67,stream:230}],290:[function(j,R,l){"use strict";l.encodeURIComponent=function(x){try{return encodeURIComponent(x)}catch(b){return x}},l.escape=j("escape-html"),l.timestamp=function(b){if(b){var A=b;return typeof A=="string"&&(A=Number(A)),String(b).length===10&&(A*=1e3),new Date(A)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(j,R,l){(function(x,b){"use strict";var A=j("babel-runtime/core-js/json/stringify"),f=m(A),t=j("babel-runtime/helpers/typeof"),e=m(t);function m(y){return y&&y.__esModule?y:{default:y}}var d=j("util"),a=j("url"),n=j("http"),s=j("https"),c=j("debug")("urllib"),i=j("humanize-ms"),u,r=0,o=Math.pow(2,31)-10,h=/^https?:\/\//i;function p(y,w){return y===void 0?w:y}function g(y,w){return function(S,_,I){if(S)return w(S);y({data:_,status:I.statusCode,headers:I.headers,res:I})}}l.TIMEOUTS=[i("300s"),i("300s")];var v=["json","text"];l.request=function(w,S,_){return arguments.length===2&&typeof S=="function"&&(_=S,S=null),typeof _=="function"?l.requestWithCallback(w,S,_):(u||(u=j("any-promise")),new u(function(I,C){l.requestWithCallback(w,S,g(I,C))}))},l.requestWithCallback=function(w,S,_){if(!w||typeof w!="string"&&(typeof w=="undefined"?"undefined":(0,e.default)(w))!=="object"){var I=d.format("expect request url to be a string or a http request options, but got %j",w);throw new Error(I)}arguments.length===2&&typeof S=="function"&&(_=S,S=null),S=S||{},r>=o&&(r=0);var C=++r;S.requestUrls=S.requestUrls||[];var E={requestId:C,url:w,args:S,ctx:S.ctx};S.emitter&&S.emitter.emit("request",E),S.timeout=S.timeout||l.TIMEOUTS,S.maxRedirects=S.maxRedirects||10,S.streaming=S.streaming||S.customResponse;var O=Date.now(),M;typeof w=="string"?(h.test(w)||(w="http://"+w),M=a.parse(w)):M=w;var F=(S.type||S.method||M.method||"GET").toUpperCase(),H=M.port||80,B=n,X=p(S.agent,l.agent),J=S.fixJSONCtlChars;M.protocol==="https:"&&(B=s,X=p(S.httpsAgent,l.httpsAgent),M.port||(H=443));var k={host:M.hostname||M.host||"localhost",path:M.path||"/",method:F,port:H,agent:X,headers:S.headers||{},lookup:S.lookup};Array.isArray(S.timeout)?k.requestTimeout=S.timeout[S.timeout.length-1]:typeof S.timeout!="undefined"&&(k.requestTimeout=S.timeout);for(var W=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],z=0;z=0)return c("Request#%d %s: got digest auth header WWW-Authenticate: %s",C,w,Wt),S.headers=S.headers||{},S.headers.Authorization=digestAuthHeader(k.method,k.path,Wt,S.digestAuth),c("Request#%d %s: auth with digest header: %s",C,w,S.headers.Authorization),ut.headers["set-cookie"]&&(S.headers.Cookie=ut.headers["set-cookie"].join(";")),l.requestWithCallback(w,S,Ft)}var $t=Date.now()-O;ae&&(ae.contentDownload=$t),c("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",$t,ge,Be,k.method,k.host,k.path,ke,ae);var or={status:Be,statusCode:Be,headers:Ut,size:ge,aborted:ee,rt:$t,keepAliveSocket:ke,data:Nt,requestUrls:S.requestUrls,timing:ae,remoteAddress:ue,remotePort:Ge};if(Pe){var ht="";X&&typeof X.getCurrentStatus=="function"&&(ht=", agent status: "+(0,f.default)(X.getCurrentStatus())),Pe.message+=", "+k.method+" "+w+" "+Be+" (connected: "+Se+", keepalive socket: "+ke+ht+`) -headers: `+(0,f.default)(Ut),Pe.data=Nt,Pe.path=k.path,Pe.status=Be,Pe.headers=Ut,Pe.res=or}Ft(Pe,Nt,S.streaming?ut:or),S.emitter&&(E.url=w,E.socket=yt&&yt.connection,E.options=k,E.size=re,S.emitter.emit("response",{requestId:C,error:Pe,ctx:S.ctx,req:E,res:or}))}function we(Pe){var Nt=null;if(S.followRedirect&&statuses.redirect[Pe.statusCode]){S._followRedirectCount=(S._followRedirectCount||0)+1;var ut=Pe.headers.location;if(!ut)Nt=new Error("Got statusCode "+Pe.statusCode+" but cannot resolve next location from headers"),Nt.name="FollowRedirectError";else if(S._followRedirectCount>S.maxRedirects)Nt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+w),Nt.name="MaxRedirectError";else{var Ft=S.formatRedirectUrl?S.formatRedirectUrl(w,ut):a.resolve(w,ut);c("Request#%d %s: `redirected` from %s to %s",C,k.path,w,Ft),Y(),S.headers&&S.headers.Host&&h.test(ut)&&(S.headers.Host=null);var Ut=_;return _=null,l.requestWithCallback(Ft,S,Ut),{redirect:!0,error:null}}}return{redirect:!1,error:Nt}}!k.headers["User-Agent"]&&!k.headers["user-agent"]&&(k.headers["User-Agent"]=navigator.userAgent),S.gzip&&(!k.headers["Accept-Encoding"]&&!k.headers["accept-encoding"]&&(k.headers["Accept-Encoding"]="gzip"));function pe(Pe,Nt,ut){var Ft=Pe.headers["content-encoding"];return ut(null,Nt,Ft)}var De=S.writeStream;c("Request#%d %s %s with headers %j, options.path: %s",C,F,w,k.headers,k.path),S.requestUrls.push(w);function Ne(Pe){if(ae&&(ae.waiting=Date.now()-O),c("Request#%d %s `req response` event emit: status %d, headers: %j",C,w,Pe.statusCode,Pe.headers),S.streaming){var Nt=we(Pe);if(Nt.redirect){Pe.resume();return}return Nt.error?(Pe.resume(),te(Nt.error,null,Pe)):te(null,null,Pe)}if(Pe.on("close",function(){c("Request#%d %s: `res close` event emit, total size %d",C,w,ge)}),Pe.on("error",function(){c("Request#%d %s: `res error` event emit, total size %d",C,w,ge)}),Pe.on("aborted",function(){ee=!0,c("Request#%d %s: `res aborted` event emit, total size %d",C,w,ge)}),De){var Nt=we(Pe);if(Nt.redirect){Pe.resume();return}return Nt.error?(Pe.resume(),De.end(),te(Nt.error,null,Pe)):(S.consumeWriteStream===!1?Pe.on("end",te.bind(null,null,null,Pe)):isNode010||isNode012?first([[De,"close"],[Pe,"aborted"]],function(Ut,Wt,$t){c("Request#%d %s: writeStream or res %s event emitted",C,w,$t),te(xe||null,null,Pe)}):De.on("close",function(){c("Request#%d %s: writeStream close event emitted",C,w),te(xe||null,null,Pe)}),Pe.pipe(De))}var ut=[];Pe.on("data",function(Ft){c("Request#%d %s: `res data` event emit, size %d",C,w,Ft.length),ge+=Ft.length,ut.push(Ft)}),Pe.on("end",function(){var Ft=b.concat(ut,ge);if(c("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",C,w,ge,Pe._dumped),xe)return te(xe,Ft,Pe);var Ut=we(Pe);if(Ut.error)return te(Ut.error,Ft,Pe);if(Ut.redirect)return;pe(Pe,Ft,function(Wt,$t,or){if(Wt)return te(Wt,Ft,Pe);if(!or&&v.indexOf(S.dataType)>=0){try{$t=decodeBodyByCharset($t,Pe)}catch(Ee){return c("decodeBodyByCharset error: %s",Ee),te(null,$t,Pe)}if(S.dataType==="json")if(ge===0)$t=null;else{var ht=parseJSON($t,J);ht.error?Wt=ht.error:$t=ht.data}}ee&&c("Request#%d %s: Remote socket was terminated before `response.end()` was called",C,w),te(Wt,$t,Pe)})})}var me,be;Array.isArray(S.timeout)?(me=i(S.timeout[0]),be=i(S.timeout[1])):me=be=i(S.timeout),c("ConnectTimeout: %d, ResponseTimeout: %d",me,be);function Re(){c("Connect timer ticking, timeout: %d",me),ie=setTimeout(function(){ie=null,Be===-1&&(Be=-2);var Pe="Connect timeout for "+me+"ms",Nt="ConnectionTimeoutError";yt.socket||(Nt="SocketAssignTimeoutError",Pe+=", working sockets is full"),xe=new Error(Pe),xe.name=Nt,xe.requestId=C,c("ConnectTimeout: Request#%d %s %s: %s, connected: %s",C,w,xe.name,Pe,Se),pt()},me)}function it(){c("Response timer ticking, timeout: %d",be),fe=setTimeout(function(){fe=null;var Pe="Response timeout for "+be+"ms",Nt="ResponseTimeoutError";xe=new Error(Pe),xe.name=Nt,xe.requestId=C,c("ResponseTimeout: Request#%d %s %s: %s, connected: %s",C,w,xe.name,Pe,Se),pt()},be)}var yt;k.mode=S.mode?S.mode:"";try{yt=B.request(k,Ne)}catch(Pe){return te(Pe)}typeof window=="undefined"?Re():yt.on("requestTimeout",function(){Be===-1&&(Be=-2);var Pe="Connect timeout for "+me+"ms",Nt="ConnectionTimeoutError";xe=new Error(Pe),xe.name=Nt,xe.requestId=C,pt()});function pt(){c("Request#%d %s abort, connected: %s",C,w,Se),yt.socket||(xe.noSocket=!0,te(xe)),yt.abort()}return ae&&yt.on("finish",function(){ae.requestSent=Date.now()-O}),yt.once("socket",function(Pe){ae&&(ae.queuing=Date.now()-O),isNode010&&Pe.socket&&(Pe=Pe.socket);var Nt=Pe.readyState;if(Nt==="opening"){Pe.once("lookup",function(ut,Ft,Ut){c("Request#%d %s lookup: %s, %s, %s",C,w,ut,Ft,Ut),ae&&(ae.dnslookup=Date.now()-O),Ft&&(ue=Ft)}),Pe.once("connect",function(){ae&&(ae.connected=Date.now()-O),Z(),it(),c("Request#%d %s new socket connected",C,w),Se=!0,ue||(ue=Pe.remoteAddress),Ge=Pe.remotePort});return}c("Request#%d %s reuse socket connected, readyState: %s",C,w,Nt),Se=!0,ke=!0,ue||(ue=Pe.remoteAddress),Ge=Pe.remotePort,Z(),it()}),yt.on("error",function(Pe){(Pe.name==="Error"||Pe.name==="TypeError")&&(Pe.name=Se?"ResponseError":"RequestError"),Pe.message+=' (req "error")',c("Request#%d %s `req error` event emit, %s: %s",C,w,Pe.name,Pe.message),te(xe||Pe)}),De&&De.once("error",function(Pe){Pe.message+=' (writeStream "error")',xe=Pe,c("Request#%d %s `writeStream error` event emit, %s: %s",C,w,Pe.name,Pe.message),pt()}),S.stream?(S.stream.pipe(yt),S.stream.once("error",function(Pe){Pe.message+=' (stream "error")',xe=Pe,c("Request#%d %s `readStream error` event emit, %s: %s",C,w,Pe.name,Pe.message),pt()})):yt.end(G),yt.requestId=C,yt}}).call(this,j("_process"),j("buffer").Buffer)},{_process:208,"any-promise":49,"babel-runtime/core-js/json/stringify":53,"babel-runtime/helpers/typeof":67,buffer:73,constants:75,debug:288,http:231,https:193,"humanize-ms":194,url:238,util:243}]},{},[1])(1)})}).call(this,__webpack_require__("yLpj"))},n1HI:function(j,R,l){var x=l("hX1E"),b=x.normalizeRadian,A=Math.PI*2;function f(t,e,m,d,a,n,s,c,i){if(s===0)return!1;var u=s;c-=t,i-=e;var r=Math.sqrt(c*c+i*i);if(r-u>m||r+ua&&(a+=A);var h=Math.atan2(i,c);return h<0&&(h+=A),h>=d&&h<=a||h+A>=d&&h+A<=a}R.containStroke=f},n4Lv:function(j,R,l){var x=l("7hqr"),b=x.isDimensionStacked,A=l("bYtY"),f=A.map;function t(d,a,n){var s=d.getBaseAxis(),c=d.getOtherAxis(s),i=e(c,n),u=s.dim,r=c.dim,o=a.mapDimension(r),h=a.mapDimension(u),p=r==="x"||r==="radius"?1:0,g=f(d.dimensions,function(w){return a.mapDimension(w)}),v,y=a.getCalculationInfo("stackResultDimension");return(v|=b(a,g[0]))&&(g[0]=y),(v|=b(a,g[1]))&&(g[1]=y),{dataDimsForPoint:g,valueStart:i,valueAxisDim:r,baseAxisDim:u,stacked:!!v,valueDim:o,baseDim:h,baseDataOffset:p,stackedOverDimension:a.getCalculationInfo("stackedOverDimension")}}function e(d,a){var n=0,s=d.scale.getExtent();return a==="start"?n=s[0]:a==="end"?n=s[1]:s[0]>0?n=s[0]:s[1]<0&&(n=s[1]),n}function m(d,a,n,s){var c=NaN;d.stacked&&(c=n.get(n.getCalculationInfo("stackedOverDimension"),s)),isNaN(c)&&(c=d.valueStart);var i=d.baseDataOffset,u=[];return u[i]=n.get(d.baseDim,s),u[1-i]=c,a.dataToPoint(u)}R.prepareDataCoordInfo=t,R.getStackedOnPoint=m},n6Mw:function(j,R,l){var x=l("SrGk"),b=l("bYtY"),A=l("Fofx");function f(e,m){x.call(this,e,m,"clipPath","__clippath_in_use__")}b.inherits(f,x),f.prototype.update=function(e){var m=this.getSvgElement(e);m&&this.updateDom(m,e.__clipPaths,!1);var d=this.getTextSvgElement(e);d&&this.updateDom(d,e.__clipPaths,!0),this.markUsed(e)},f.prototype.updateDom=function(e,m,d){if(m&&m.length>0){var a=this.getDefs(!0),n=m[0],s,c,i=d?"_textDom":"_dom";n[i]?(c=n[i].getAttribute("id"),s=n[i],a.contains(s)||a.appendChild(s)):(c="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,s=this.createElement("clipPath"),s.setAttribute("id",c),a.appendChild(s),n[i]=s);var u=this.getSvgProxy(n);if(n.transform&&n.parent.invTransform&&!d){var r=Array.prototype.slice.call(n.transform);A.mul(n.transform,n.parent.invTransform,n.transform),u.brush(n),n.transform=r}else u.brush(n);var o=this.getSvgElement(n);s.innerHTML="",s.appendChild(o.cloneNode()),e.setAttribute("clip-path","url(#"+c+")"),m.length>1&&this.updateDom(s,m.slice(1),d)}else e&&e.setAttribute("clip-path","none")},f.prototype.markUsed=function(e){var m=this;e.__clipPaths&&b.each(e.__clipPaths,function(d){d._dom&&x.prototype.markUsed.call(m,d._dom),d._textDom&&x.prototype.markUsed.call(m,d._textDom)})};var t=f;j.exports=t},nCxF:function(j,R,l){var x=l("QBsz"),b=x.min,A=x.max,f=x.scale,t=x.distance,e=x.add,m=x.clone,d=x.sub;function a(n,s,c,i){var u=[],r=[],o=[],h=[],p,g,v,y;if(i){v=[Infinity,Infinity],y=[-Infinity,-Infinity];for(var w=0,S=n.length;w=0;W--){var z=B[H==="asc"?J-W-1:W].getValue();z/F*Mk[1]&&(k[1]=K)})}return{sum:H,dataExtent:k}}function w(O,M,F){for(var H=0,B=Infinity,X=0,J,k=O.length;XH&&(H=J));var W=O.area*O.area,z=M*M*F;return W?d(z*H/W,W/(z*B)):Infinity}function S(O,M,F,H,B){var X=M===F.width?0:1,J=1-X,k=["x","y"],W=["width","height"],z=F[k[X]],K=M?O.area/M:0;(B||K>F[W[J]])&&(K=F[W[J]]);for(var P=0,G=O.length;Pt&&(z=t),X=k}z0&&(O=O===null?F:Math.min(O,F))}I[C]=O}}return I}function r(S){var _=u(S),I=[];return x.each(S,function(C){var E=C.coordinateSystem,O=E.getBaseAxis(),M=O.getExtent(),F;if(O.type==="category")F=O.getBandWidth();else if(O.type==="value"||O.type==="time"){var H=O.dim+"_"+O.index,B=_[H],X=Math.abs(M[1]-M[0]),J=O.scale.getExtent(),k=Math.abs(J[1]-J[0]);F=B?X/k*B:X}else{var W=C.getData();F=Math.abs(M[1]-M[0])/W.count()}var z=A(C.get("barWidth"),F),K=A(C.get("barMaxWidth"),F),P=A(C.get("barMinWidth")||1,F),G=C.get("barGap"),V=C.get("barCategoryGap");I.push({bandWidth:F,barWidth:z,barMaxWidth:K,barMinWidth:P,barGap:G,barCategoryGap:V,axisKey:s(O),stackId:n(C)})}),o(I)}function o(S){var _={};x.each(S,function(C,E){var O=C.axisKey,M=C.bandWidth,F=_[O]||{bandWidth:M,remainedWidth:M,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},H=F.stacks;_[O]=F;var B=C.stackId;H[B]||F.autoWidthCount++,H[B]=H[B]||{width:0,maxWidth:0};var X=C.barWidth;X&&!H[B].width&&(H[B].width=X,X=Math.min(F.remainedWidth,X),F.remainedWidth-=X);var J=C.barMaxWidth;J&&(H[B].maxWidth=J);var k=C.barMinWidth;k&&(H[B].minWidth=k);var W=C.barGap;W!=null&&(F.gap=W);var z=C.barCategoryGap;z!=null&&(F.categoryGap=z)});var I={};return x.each(_,function(C,E){I[E]={};var O=C.stacks,M=C.bandWidth,F=A(C.categoryGap,M),H=A(C.gap,1),B=C.remainedWidth,X=C.autoWidthCount,J=(B-F)/(X+(X-1)*H);J=Math.max(J,0),x.each(O,function(K){var P=K.maxWidth,G=K.minWidth;if(K.width){var V=K.width;P&&(V=Math.min(V,P)),G&&(V=Math.max(V,G)),K.width=V,B-=V+H*V,X--}else{var V=J;P&&PV&&(V=G),V!==J&&(K.width=V,B-=V+H*V,X--)}}),J=(B-F)/(X+(X-1)*H),J=Math.max(J,0);var k=0,W;x.each(O,function(K,P){K.width||(K.width=J),W=K,k+=K.width*(1+H)}),W&&(k-=W.width*H);var z=-k/2;x.each(O,function(K,P){I[E][P]=I[E][P]||{bandWidth:M,offset:z,width:K.width},z+=K.width*(1+H)})}),I}function h(S,_,I){if(S&&_){var C=S[s(_)];return C!=null&&I!=null&&(C=C[n(I)]),C}}function p(S,_){var I=i(S,_),C=r(I),E={},O={};x.each(I,function(M){var F=M.getData(),H=M.coordinateSystem,B=H.getBaseAxis(),X=n(M),J=C[s(B)][X],k=J.offset,W=J.width,z=H.getOtherAxis(B),K=M.get("barMinHeight")||0;E[X]=E[X]||[],O[X]=O[X]||[],F.setLayout({bandWidth:J.bandWidth,offset:k,size:W});for(var P=F.mapDimension(z.dim),G=F.mapDimension(B.dim),V=t(F,P),q=z.isHorizontal(),re=w(B,z,V),ce=0,ie=F.count();ce=0?"p":"n",ke=re;V&&(E[X][xe]||(E[X][xe]={p:re,n:re}),ke=E[X][xe][Se]);var ge,Be,ee,ue;if(q){var Ge=H.dataToPoint([fe,xe]);ge=ke,Be=Ge[1]+k,ee=Ge[0]-re,ue=W,Math.abs(ee)d||(X=d),{progress:J};function J(k,W){for(var z=k.count,K=new a(z*2),P=new a(z*2),G=new a(z),V,q=[],re=[],ce=0,ie=0;(V=k.next())!=null;)re[B]=W.get(M,V),re[1-B]=W.get(F,V),q=I.dataToPoint(re,null,q),P[ce]=H?C.x+C.width:q[0],K[ce++]=q[0],P[ce]=H?q[1]:C.y+C.height,K[ce++]=q[1],G[ie++]=V;W.setLayout({largePoints:K,largeDataIndices:G,largeBackgroundPoints:P,barWidth:X,valueAxisStart:w(E,O,!1),backgroundStart:H?C.x:C.y,valueAxisHorizontal:H})}}};function v(S){return S.coordinateSystem&&S.coordinateSystem.type==="cartesian2d"}function y(S){return S.pipelineContext&&S.pipelineContext.large}function w(S,_,I){return _.toGlobalCoord(_.dataToCoord(_.type==="log"?1:0))}R.getLayoutOnAxis=c,R.prepareLayoutBarSeries=i,R.makeColumnLayout=r,R.retrieveColumnLayout=h,R.layout=p,R.largeLayout=g},ngQI:function(j,R,l){"use strict";l.d(R,"a",function(){return Rd}),l.d(R,"b",function(){return Cd}),l.d(R,"c",function(){return Kr});var x=l("q1tI"),b=l.n(x),A=l("dI71"),f=l("wx14"),t=l("ANjH"),e=l("/MKj");function m(Ue,se){if(Ue.length!==se.length)return!1;for(var Oe=0;Oe=0||i.indexOf(">")>=0||i.indexOf("<")>=0)},n=function(i){return""},d=function(i){return i.replace("]]>","]]]]>")},l.Builder=function(){function c(i){var u,r,o;this.options={},r=m["0.2"];for(u in r){if(!s.call(r,u))continue;o=r[u],this.options[u]=o}for(u in i){if(!s.call(i,u))continue;o=i[u],this.options[u]=o}}return c.prototype.buildObject=function(i){var u,r,o,h,p;return u=this.options.attrkey,r=this.options.charkey,(0,f.default)(i).length===1&&this.options.rootName===m["0.2"].rootName?(p=(0,f.default)(i)[0],i=i[p]):p=this.options.rootName,o=function(g){return function(v,y){var w,S,_,I,C,E;if((typeof y=="undefined"?"undefined":(0,b.default)(y))!=="object")g.options.cdata&&a(y)?v.raw(n(y)):v.txt(y);else if(Array.isArray(y))for(I in y){if(!s.call(y,I))continue;S=y[I];for(C in S)_=S[C],v=o(v.ele(C),_).up()}else for(C in y){if(!s.call(y,C))continue;if(S=y[C],C===u){if((typeof S=="undefined"?"undefined":(0,b.default)(S))==="object")for(w in S)E=S[w],v=v.att(w,E)}else if(C===r)g.options.cdata&&a(S)?v=v.raw(n(S)):v=v.txt(S);else if(Array.isArray(S))for(I in S){if(!s.call(S,I))continue;_=S[I],typeof _=="string"?g.options.cdata&&a(_)?v=v.ele(C).raw(n(_)).up():v=v.ele(C,_).up():v=o(v.ele(C),_).up()}else(typeof S=="undefined"?"undefined":(0,b.default)(S))==="object"?v=o(v.ele(C),S).up():typeof S=="string"&&g.options.cdata&&a(S)?v=v.ele(C).raw(n(S)).up():(S==null&&(S=""),v=v.ele(C,S.toString()).up())}return v}}(this),h=e.create(p,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),o(h,i).end(this.options.renderOpts)},c}()}).call(void 0)},{"./defaults":246,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,xmlbuilder:282}],246:[function(j,R,l){"use strict";(function(){l.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:` +`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(void 0)},{}],247:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/promise"),b=a(x),A=j("babel-runtime/core-js/object/get-own-property-names"),f=a(A),t=j("babel-runtime/core-js/object/keys"),e=a(t),m=j("babel-runtime/helpers/typeof"),d=a(m);function a(n){return n&&n.__esModule?n:{default:n}}(function(){"use strict";var n,s,c,i,u,r,o,h,p=function(w,S){return function(){return w.apply(S,arguments)}},g=function(w,S){for(var _ in S)v.call(S,_)&&(w[_]=S[_]);function I(){this.constructor=w}return I.prototype=S.prototype,w.prototype=new I,w.__super__=S.prototype,w},v={}.hasOwnProperty;o=j("sax"),c=j("events"),n=j("./bom"),r=j("./processors"),h=j("timers").setImmediate,s=j("./defaults").defaults,i=function(w){return(typeof w=="undefined"?"undefined":(0,d.default)(w))==="object"&&w!=null&&(0,e.default)(w).length===0},u=function(w,S,_){var I,C,E;for(I=0,C=w.length;I0&&(H[E.options.childkey]=X),X=H;else if(K){K[E.options.childkey]=K[E.options.childkey]||[],J={};for(F in X){if(!v.call(X,F))continue;J[F]=X[F]}K[E.options.childkey].push(J),delete X["#name"],(0,e.default)(X).length===1&&_ in X&&!E.EXPLICIT_CHARKEY&&(X=X[_])}}return C.length>0?E.assignOrPush(K,B,X):(E.options.explicitRoot&&(k=X,X={},X[B]=k),E.resultObject=X,E.saxParser.ended=!0,E.emit("end",E.resultObject))}}(this),I=function(E){return function(O){var M,F;if(F=C[C.length-1],F)return F[_]+=O,E.options.explicitChildren&&E.options.preserveChildrenOrder&&E.options.charsAsChildren&&(E.options.includeWhiteChars||O.replace(/\\n/g,"").trim()!=="")&&(F[E.options.childkey]=F[E.options.childkey]||[],M={"#name":"__text__"},M[_]=O,E.options.normalize&&(M[_]=M[_].replace(/\s{2,}/g," ").trim()),F[E.options.childkey].push(M)),F}}(this),this.saxParser.ontext=I,this.saxParser.oncdata=function(E){return function(O){var M;if(M=I(O),M)return M.cdata=!0}}(this)},w.prototype.parseString=function(S,_){var I;_!=null&&typeof _=="function"&&(this.on("end",function(C){return this.reset(),_(null,C)}),this.on("error",function(C){return this.reset(),_(C)}));try{return S=S.toString(),S.trim()===""?(this.emit("end",null),!0):(S=n.stripBOM(S),this.options.async?(this.remaining=S,h(this.processAsync),this.saxParser):this.saxParser.write(S).close())}catch(C){if(I=C,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw I}else return this.emit("error",I),this.saxParser.errThrown=!0}},w.prototype.parseStringPromise=function(S){return new b.default(function(_){return function(I,C){return _.parseString(S,function(E,O){return E?C(E):I(O)})}}(this))},w}(c),l.parseString=function(y,w,S){var _,I,C;return S!=null?(typeof S=="function"&&(_=S),(typeof w=="undefined"?"undefined":(0,d.default)(w))==="object"&&(I=w)):(typeof w=="function"&&(_=w),I={}),C=new l.Parser(I),C.parseString(y,_)},l.parseStringPromise=function(y,w){var S,_;return(typeof w=="undefined"?"undefined":(0,d.default)(w))==="object"&&(S=w),_=new l.Parser(S),_.parseStringPromise(y)}}).call(void 0)},{"./bom":244,"./defaults":246,"./processors":248,"babel-runtime/core-js/object/get-own-property-names":58,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/helpers/typeof":67,events:192,sax:229,timers:236}],248:[function(j,R,l){"use strict";(function(){"use strict";var x;x=new RegExp(/(?!xmlns)^.*:/),l.normalize=function(b){return b.toLowerCase()},l.firstCharLowerCase=function(b){return b.charAt(0).toLowerCase()+b.slice(1)},l.stripPrefix=function(b){return b.replace(x,"")},l.parseNumbers=function(b){return isNaN(b)||(b=b%1===0?parseInt(b,10):parseFloat(b)),b},l.parseBooleans=function(b){return/^(?:true|false)$/i.test(b)&&(b=b.toLowerCase()==="true"),b}}).call(void 0)},{}],249:[function(j,R,l){"use strict";(function(){"use strict";var x,b,A,f,t=function(d,a){for(var n in a)e.call(a,n)&&(d[n]=a[n]);function s(){this.constructor=d}return s.prototype=a.prototype,d.prototype=new s,d.__super__=a.prototype,d},e={}.hasOwnProperty;b=j("./defaults"),x=j("./builder"),A=j("./parser"),f=j("./processors"),l.defaults=b.defaults,l.processors=f,l.ValidationError=function(m){t(d,m);function d(a){this.message=a}return d}(Error),l.Builder=x.Builder,l.Parser=A.Parser,l.parseString=A.parseString,l.parseStringPromise=A.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(j,R,l){"use strict";(function(){R.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(j,R,l){"use strict";(function(){R.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(void 0)},{}],252:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/get-prototype-of"),b=m(x),A=j("babel-runtime/helpers/typeof"),f=m(A),t=j("babel-runtime/core-js/object/assign"),e=m(t);function m(d){return d&&d.__esModule?d:{default:d}}(function(){var d,a,n,s,c,i,u,r=[].slice,o={}.hasOwnProperty;d=function(){var p,g,v,y,w,S;if(S=arguments[0],w=2<=arguments.length?r.call(arguments,1):[],c(e.default))e.default.apply(null,arguments);else for(p=0,v=w.length;p":"attribute: {"+d+"}, parent: <"+this.parent.name+">"},m.prototype.isEqualNode=function(d){return d.namespaceURI!==this.namespaceURI||(d.prefix!==this.prefix||d.localName!==this.localName)?!1:!(d.value!==this.value)},m}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/create"),b=A(x);function A(f){return f&&f.__esModule?f:{default:f}}(function(){var f,t,e,m=function(n,s){for(var c in s)d.call(s,c)&&(n[c]=s[c]);function i(){this.constructor=n}return i.prototype=s.prototype,n.prototype=new i,n.__super__=s.prototype,n},d={}.hasOwnProperty;f=j("./NodeType"),e=j("./XMLCharacterData"),R.exports=t=function(a){m(n,a);function n(s,c){if(n.__super__.constructor.call(this,s),c==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=f.CData,this.value=this.stringify.cdata(c)}return n.prototype.clone=function(){return(0,b.default)(this)},n.prototype.toString=function(s){return this.options.writer.cdata(this,this.options.writer.filterOptions(s))},n}(e)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],256:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/create"),b=A(x);function A(f){return f&&f.__esModule?f:{default:f}}(function(){var f,t,e=function(a,n){for(var s in n)m.call(n,s)&&(a[s]=n[s]);function c(){this.constructor=a}return c.prototype=n.prototype,a.prototype=new c,a.__super__=n.prototype,a},m={}.hasOwnProperty;t=j("./XMLNode"),R.exports=f=function(d){e(a,d);function a(n){a.__super__.constructor.call(this,n),this.value=""}return Object.defineProperty(a.prototype,"data",{get:function(){return this.value},set:function(s){return this.value=s||""}}),Object.defineProperty(a.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(a.prototype,"textContent",{get:function(){return this.value},set:function(s){return this.value=s||""}}),a.prototype.clone=function(){return(0,b.default)(this)},a.prototype.substringData=function(n,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.appendData=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.insertData=function(n,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.deleteData=function(n,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.replaceData=function(n,s,c){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.isEqualNode=function(n){return a.__super__.isEqualNode.apply(this,arguments).isEqualNode(n)?!(n.data!==this.data):!1},a}(t)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/create"),b=A(x);function A(f){return f&&f.__esModule?f:{default:f}}(function(){var f,t,e,m=function(n,s){for(var c in s)d.call(s,c)&&(n[c]=s[c]);function i(){this.constructor=n}return i.prototype=s.prototype,n.prototype=new i,n.__super__=s.prototype,n},d={}.hasOwnProperty;f=j("./NodeType"),t=j("./XMLCharacterData"),R.exports=e=function(a){m(n,a);function n(s,c){if(n.__super__.constructor.call(this,s),c==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=f.Comment,this.value=this.stringify.comment(c)}return n.prototype.clone=function(){return(0,b.default)(this)},n.prototype.toString=function(s){return this.options.writer.comment(this,this.options.writer.filterOptions(s))},n}(t)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/keys"),b=t(x),A=j("babel-runtime/core-js/object/create"),f=t(A);function t(e){return e&&e.__esModule?e:{default:e}}(function(){var e,m,d;m=j("./XMLDOMErrorHandler"),d=j("./XMLDOMStringList"),R.exports=e=function(){function a(){var n;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new m,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=n=(0,f.default)(this.defaultParams)}return Object.defineProperty(a.prototype,"parameterNames",{get:function(){return new d((0,b.default)(this.defaultParams))}}),a.prototype.getParameter=function(n){return this.params.hasOwnProperty(n)?this.params[n]:null},a.prototype.canSetParameter=function(n,s){return!0},a.prototype.setParameter=function(n,s){return s!=null?this.params[n]=s:delete this.params[n]},a}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(j,R,l){"use strict";(function(){var x;R.exports=x=function(){function b(){}return b.prototype.handleError=function(A){throw new Error(A)},b}()}).call(void 0)},{}],260:[function(j,R,l){"use strict";(function(){var x;R.exports=x=function(){function b(){}return b.prototype.hasFeature=function(A,f){return!0},b.prototype.createDocumentType=function(A,f,t){throw new Error("This DOM method is not implemented.")},b.prototype.createDocument=function(A,f,t){throw new Error("This DOM method is not implemented.")},b.prototype.createHTMLDocument=function(A){throw new Error("This DOM method is not implemented.")},b.prototype.getFeature=function(A,f){throw new Error("This DOM method is not implemented.")},b}()}).call(void 0)},{}],261:[function(j,R,l){"use strict";(function(){var x;R.exports=x=function(){function b(A){this.arr=A||[]}return Object.defineProperty(b.prototype,"length",{get:function(){return this.arr.length}}),b.prototype.item=function(A){return this.arr[A]||null},b.prototype.contains=function(A){return this.arr.indexOf(A)!==-1},b}()}).call(void 0)},{}],262:[function(j,R,l){"use strict";(function(){var x,b,A,f=function(m,d){for(var a in d)t.call(d,a)&&(m[a]=d[a]);function n(){this.constructor=m}return n.prototype=d.prototype,m.prototype=new n,m.__super__=d.prototype,m},t={}.hasOwnProperty;A=j("./XMLNode"),x=j("./NodeType"),R.exports=b=function(e){f(m,e);function m(d,a,n,s,c,i){if(m.__super__.constructor.call(this,d),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(n==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(a));if(!s)throw new Error("Missing DTD attribute type. "+this.debugInfo(a));if(!c)throw new Error("Missing DTD attribute default. "+this.debugInfo(a));if(c.indexOf("#")!==0&&(c="#"+c),!c.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(a));if(i&&!c.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(a));this.elementName=this.stringify.name(a),this.type=x.AttributeDeclaration,this.attributeName=this.stringify.name(n),this.attributeType=this.stringify.dtdAttType(s),i&&(this.defaultValue=this.stringify.dtdAttDefault(i)),this.defaultValueType=c}return m.prototype.toString=function(d){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(d))},m}(A)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(j,R,l){"use strict";(function(){var x,b,A,f=function(m,d){for(var a in d)t.call(d,a)&&(m[a]=d[a]);function n(){this.constructor=m}return n.prototype=d.prototype,m.prototype=new n,m.__super__=d.prototype,m},t={}.hasOwnProperty;A=j("./XMLNode"),x=j("./NodeType"),R.exports=b=function(e){f(m,e);function m(d,a,n){if(m.__super__.constructor.call(this,d),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());n||(n="(#PCDATA)"),Array.isArray(n)&&(n="("+n.join(",")+")"),this.name=this.stringify.name(a),this.type=x.ElementDeclaration,this.value=this.stringify.dtdElementValue(n)}return m.prototype.toString=function(d){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(d))},m}(A)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(j,R,l){"use strict";(function(){var x,b,A,f,t=function(d,a){for(var n in a)e.call(a,n)&&(d[n]=a[n]);function s(){this.constructor=d}return s.prototype=a.prototype,d.prototype=new s,d.__super__=a.prototype,d},e={}.hasOwnProperty;f=j("./Utility").isObject,A=j("./XMLNode"),x=j("./NodeType"),R.exports=b=function(m){t(d,m);function d(a,n,s,c){if(d.__super__.constructor.call(this,a),s==null)throw new Error("Missing DTD entity name. "+this.debugInfo(s));if(c==null)throw new Error("Missing DTD entity value. "+this.debugInfo(s));if(this.pe=!!n,this.name=this.stringify.name(s),this.type=x.EntityDeclaration,!f(c))this.value=this.stringify.dtdEntityValue(c),this.internal=!0;else{if(!c.pubID&&!c.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(s));if(c.pubID&&!c.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(s));if(this.internal=!1,c.pubID!=null&&(this.pubID=this.stringify.dtdPubID(c.pubID)),c.sysID!=null&&(this.sysID=this.stringify.dtdSysID(c.sysID)),c.nData!=null&&(this.nData=this.stringify.dtdNData(c.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(s))}}return Object.defineProperty(d.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(d.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(d.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(d.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(d.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(d.prototype,"xmlVersion",{get:function(){return null}}),d.prototype.toString=function(a){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(a))},d}(A)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(j,R,l){"use strict";(function(){var x,b,A,f=function(m,d){for(var a in d)t.call(d,a)&&(m[a]=d[a]);function n(){this.constructor=m}return n.prototype=d.prototype,m.prototype=new n,m.__super__=d.prototype,m},t={}.hasOwnProperty;A=j("./XMLNode"),x=j("./NodeType"),R.exports=b=function(e){f(m,e);function m(d,a,n){if(m.__super__.constructor.call(this,d),a==null)throw new Error("Missing DTD notation name. "+this.debugInfo(a));if(!n.pubID&&!n.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(a));this.name=this.stringify.name(a),this.type=x.NotationDeclaration,n.pubID!=null&&(this.pubID=this.stringify.dtdPubID(n.pubID)),n.sysID!=null&&(this.sysID=this.stringify.dtdSysID(n.sysID))}return Object.defineProperty(m.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(m.prototype,"systemId",{get:function(){return this.sysID}}),m.prototype.toString=function(d){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(d))},m}(A)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(j,R,l){"use strict";(function(){var x,b,A,f,t=function(d,a){for(var n in a)e.call(a,n)&&(d[n]=a[n]);function s(){this.constructor=d}return s.prototype=a.prototype,d.prototype=new s,d.__super__=a.prototype,d},e={}.hasOwnProperty;f=j("./Utility").isObject,A=j("./XMLNode"),x=j("./NodeType"),R.exports=b=function(m){t(d,m);function d(a,n,s,c){var i;d.__super__.constructor.call(this,a),f(n)&&(i=n,n=i.version,s=i.encoding,c=i.standalone),n||(n="1.0"),this.type=x.Declaration,this.version=this.stringify.xmlVersion(n),s!=null&&(this.encoding=this.stringify.xmlEncoding(s)),c!=null&&(this.standalone=this.stringify.xmlStandalone(c))}return d.prototype.toString=function(a){return this.options.writer.declaration(this,this.options.writer.filterOptions(a))},d}(A)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(j,R,l){"use strict";(function(){var x,b,A,f,t,e,m,d,a,n=function(i,u){for(var r in u)s.call(u,r)&&(i[r]=u[r]);function o(){this.constructor=i}return o.prototype=u.prototype,i.prototype=new o,i.__super__=u.prototype,i},s={}.hasOwnProperty;a=j("./Utility").isObject,d=j("./XMLNode"),x=j("./NodeType"),b=j("./XMLDTDAttList"),f=j("./XMLDTDEntity"),A=j("./XMLDTDElement"),t=j("./XMLDTDNotation"),m=j("./XMLNamedNodeMap"),R.exports=e=function(c){n(i,c);function i(u,r,o){var h,p,g,v,y,w;if(i.__super__.constructor.call(this,u),this.type=x.DocType,u.children){for(v=u.children,p=0,g=v.length;p=0;)this.up();return this.onEnd()},C.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},C.prototype.openNode=function(E){var O,M,F,H;if(!E.isOpen){if(!this.root&&this.currentLevel===0&&E.type===x.Element&&(this.root=E),M="",E.type===x.Element){this.writerOptions.state=b.OpenTag,M=this.writer.indent(E,this.writerOptions,this.currentLevel)+"<"+E.name,H=E.attribs;for(F in H){if(!I.call(H,F))continue;O=H[F],M+=this.writer.attribute(O,this.writerOptions,this.currentLevel)}M+=(E.children?">":"/>")+this.writer.endline(E,this.writerOptions,this.currentLevel),this.writerOptions.state=b.InsideTag}else this.writerOptions.state=b.OpenTag,M=this.writer.indent(E,this.writerOptions,this.currentLevel)+""),M+=this.writer.endline(E,this.writerOptions,this.currentLevel);return this.onData(M,this.currentLevel),E.isOpen=!0}},C.prototype.closeNode=function(E){var O;if(!E.isClosed)return O="",this.writerOptions.state=b.CloseTag,E.type===x.Element?O=this.writer.indent(E,this.writerOptions,this.currentLevel)+""+this.writer.endline(E,this.writerOptions,this.currentLevel):O=this.writer.indent(E,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(E,this.writerOptions,this.currentLevel),this.writerOptions.state=b.None,this.onData(O,this.currentLevel),E.isClosed=!0},C.prototype.onData=function(E,O){return this.documentStarted=!0,this.onDataCallback(E,O+1)},C.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},C.prototype.debugInfo=function(E){return E==null?"":"node: <"+E+">"},C.prototype.ele=function(){return this.element.apply(this,arguments)},C.prototype.nod=function(E,O,M){return this.node(E,O,M)},C.prototype.txt=function(E){return this.text(E)},C.prototype.dat=function(E){return this.cdata(E)},C.prototype.com=function(E){return this.comment(E)},C.prototype.ins=function(E,O){return this.instruction(E,O)},C.prototype.dec=function(E,O,M){return this.declaration(E,O,M)},C.prototype.dtd=function(E,O,M){return this.doctype(E,O,M)},C.prototype.e=function(E,O,M){return this.element(E,O,M)},C.prototype.n=function(E,O,M){return this.node(E,O,M)},C.prototype.t=function(E){return this.text(E)},C.prototype.d=function(E){return this.cdata(E)},C.prototype.c=function(E){return this.comment(E)},C.prototype.r=function(E){return this.raw(E)},C.prototype.i=function(E,O){return this.instruction(E,O)},C.prototype.att=function(){return this.currentNode&&this.currentNode.type===x.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},C.prototype.a=function(){return this.currentNode&&this.currentNode.type===x.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},C.prototype.ent=function(E,O){return this.entity(E,O)},C.prototype.pent=function(E,O){return this.pEntity(E,O)},C.prototype.not=function(E,O){return this.notation(E,O)},C}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLAttribute":254,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDocument":268,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLStringWriter":278,"./XMLStringifier":279,"./XMLText":280}],270:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/create"),b=A(x);function A(f){return f&&f.__esModule?f:{default:f}}(function(){var f,t,e,m=function(n,s){for(var c in s)d.call(s,c)&&(n[c]=s[c]);function i(){this.constructor=n}return i.prototype=s.prototype,n.prototype=new i,n.__super__=s.prototype,n},d={}.hasOwnProperty;e=j("./XMLNode"),f=j("./NodeType"),R.exports=t=function(a){m(n,a);function n(s){n.__super__.constructor.call(this,s),this.type=f.Dummy}return n.prototype.clone=function(){return(0,b.default)(this)},n.prototype.toString=function(s){return""},n}(e)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],271:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/create"),b=A(x);function A(f){return f&&f.__esModule?f:{default:f}}(function(){var f,t,e,m,d,a,n,s,c,i=function(o,h){for(var p in h)u.call(h,p)&&(o[p]=h[p]);function g(){this.constructor=o}return g.prototype=h.prototype,o.prototype=new g,o.__super__=h.prototype,o},u={}.hasOwnProperty;c=j("./Utility"),s=c.isObject,n=c.isFunction,a=c.getValue,d=j("./XMLNode"),f=j("./NodeType"),t=j("./XMLAttribute"),m=j("./XMLNamedNodeMap"),R.exports=e=function(r){i(o,r);function o(h,p,g){var v,y,w,S;if(o.__super__.constructor.call(this,h),p==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(p),this.type=f.Element,this.attribs={},this.schemaTypeInfo=null,g!=null&&this.attribute(g),h.type===f.Document&&(this.isRoot=!0,this.documentObject=h,h.rootObject=this,h.children)){for(S=h.children,y=0,w=S.length;y=v;p=0<=v?++g:--g)if(!this.attribs[p].isEqualNode(h.attribs[p]))return!1;return!0},o}(d)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(j,R,l){"use strict";var x=j("babel-runtime/core-js/object/keys"),b=A(x);function A(f){return f&&f.__esModule?f:{default:f}}(function(){var f;R.exports=f=function(){function t(e){this.nodes=e}return Object.defineProperty(t.prototype,"length",{get:function(){return(0,b.default)(this.nodes).length||0}}),t.prototype.clone=function(){return this.nodes=null},t.prototype.getNamedItem=function(e){return this.nodes[e]},t.prototype.setNamedItem=function(e){var m;return m=this.nodes[e.nodeName],this.nodes[e.nodeName]=e,m||null},t.prototype.removeNamedItem=function(e){var m;return m=this.nodes[e],delete this.nodes[e],m||null},t.prototype.item=function(e){return this.nodes[(0,b.default)(this.nodes)[e]]||null},t.prototype.getNamedItemNS=function(e,m){throw new Error("This DOM method is not implemented.")},t.prototype.setNamedItemNS=function(e){throw new Error("This DOM method is not implemented.")},t.prototype.removeNamedItemNS=function(e,m){throw new Error("This DOM method is not implemented.")},t}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(j,R,l){"use strict";(function(){var x,b,A,f,t,e,m,d,a,n,s,c,i,u,r,o,h,p,g,v={}.hasOwnProperty;g=j("./Utility"),p=g.isObject,h=g.isFunction,o=g.isEmpty,r=g.getValue,d=null,A=null,f=null,t=null,e=null,i=null,u=null,c=null,m=null,b=null,s=null,a=null,x=null,R.exports=n=function(){function y(w){this.parent=w,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,d||(d=j("./XMLElement"),A=j("./XMLCData"),f=j("./XMLComment"),t=j("./XMLDeclaration"),e=j("./XMLDocType"),i=j("./XMLRaw"),u=j("./XMLText"),c=j("./XMLProcessingInstruction"),m=j("./XMLDummy"),b=j("./NodeType"),s=j("./XMLNodeList"),a=j("./XMLNamedNodeMap"),x=j("./DocumentPosition"))}return Object.defineProperty(y.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(y.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(y.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(y.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(y.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new s(this.children)),this.childNodeList}}),Object.defineProperty(y.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(y.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(y.prototype,"previousSibling",{get:function(){var S;return S=this.parent.children.indexOf(this),this.parent.children[S-1]||null}}),Object.defineProperty(y.prototype,"nextSibling",{get:function(){var S;return S=this.parent.children.indexOf(this),this.parent.children[S+1]||null}}),Object.defineProperty(y.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(y.prototype,"textContent",{get:function(){var S,_,I,C,E;if(this.nodeType===b.Element||this.nodeType===b.DocumentFragment){for(E="",C=this.children,_=0,I=C.length;_":((_=this.parent)!=null?_.name:void 0)?"node: <"+w+">, parent: <"+this.parent.name+">":"node: <"+w+">"},y.prototype.ele=function(w,S,_){return this.element(w,S,_)},y.prototype.nod=function(w,S,_){return this.node(w,S,_)},y.prototype.txt=function(w){return this.text(w)},y.prototype.dat=function(w){return this.cdata(w)},y.prototype.com=function(w){return this.comment(w)},y.prototype.ins=function(w,S){return this.instruction(w,S)},y.prototype.doc=function(){return this.document()},y.prototype.dec=function(w,S,_){return this.declaration(w,S,_)},y.prototype.e=function(w,S,_){return this.element(w,S,_)},y.prototype.n=function(w,S,_){return this.node(w,S,_)},y.prototype.t=function(w){return this.text(w)},y.prototype.d=function(w){return this.cdata(w)},y.prototype.c=function(w){return this.comment(w)},y.prototype.r=function(w){return this.raw(w)},y.prototype.i=function(w,S){return this.instruction(w,S)},y.prototype.u=function(){return this.up()},y.prototype.importXMLBuilder=function(w){return this.importDocument(w)},y.prototype.replaceChild=function(w,S){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.removeChild=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.appendChild=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.hasChildNodes=function(){return this.children.length!==0},y.prototype.cloneNode=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.isSupported=function(w,S){return!0},y.prototype.hasAttributes=function(){return this.attribs.length!==0},y.prototype.compareDocumentPosition=function(w){var S,_;return S=this,S===w?0:this.document()!==w.document()?(_=x.Disconnected|x.ImplementationSpecific,Math.random()<.5?_|=x.Preceding:_|=x.Following,_):S.isAncestor(w)?x.Contains|x.Preceding:S.isDescendant(w)?x.Contains|x.Following:S.isPreceding(w)?x.Preceding:x.Following},y.prototype.isSameNode=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.lookupPrefix=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.isDefaultNamespace=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.lookupNamespaceURI=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.isEqualNode=function(w){var S,_,I;if(w.nodeType!==this.nodeType)return!1;if(w.children.length!==this.children.length)return!1;for(S=_=0,I=this.children.length-1;0<=I?_<=I:_>=I;S=0<=I?++_:--_)if(!this.children[S].isEqualNode(w.children[S]))return!1;return!0},y.prototype.getFeature=function(w,S){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.setUserData=function(w,S,_){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.getUserData=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.contains=function(w){return w?w===this||this.isDescendant(w):!1},y.prototype.isDescendant=function(w){var S,_,I,C,E;for(E=this.children,I=0,C=E.length;I_},y.prototype.treePosition=function(w){var S,_;return _=0,S=!1,this.foreachTreeNode(this.document(),function(I){if(_++,!S&&I===w)return S=!0}),S?_:-1},y.prototype.foreachTreeNode=function(w,S){var _,I,C,E,O;for(w||(w=this.document()),E=w.children,I=0,C=E.length;I0){for(this.stream.write(" ["),this.stream.write(this.endline(a,n,s)),n.state=b.InsideTag,r=a.children,i=0,u=r.length;i"),this.stream.write(this.endline(a,n,s)),n.state=b.None,this.closeNode(a,n,s)},d.prototype.element=function(a,n,s){var c,i,u,r,o,h,p,g,v,y;s||(s=0),this.openNode(a,n,s),n.state=b.OpenTag,this.stream.write(this.indent(a,n,s)+"<"+a.name),v=a.attribs;for(p in v){if(!e.call(v,p))continue;c=v[p],this.attribute(c,n,s)}if(u=a.children.length,r=u===0?null:a.children[0],u===0||a.children.every(function(w){return(w.type===x.Text||w.type===x.Raw)&&w.value===""}))n.allowEmpty?(this.stream.write(">"),n.state=b.CloseTag,this.stream.write("")):(n.state=b.CloseTag,this.stream.write(n.spaceBeforeSlash+"/>"));else if(n.pretty&&u===1&&(r.type===x.Text||r.type===x.Raw)&&r.value!=null)this.stream.write(">"),n.state=b.InsideTag,n.suppressPrettyCount++,g=!0,this.writeChildNode(r,n,s+1),n.suppressPrettyCount--,g=!1,n.state=b.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(a,n,s)),n.state=b.InsideTag,y=a.children,o=0,h=y.length;o")}return this.stream.write(this.endline(a,n,s)),n.state=b.None,this.closeNode(a,n,s)},d.prototype.processingInstruction=function(a,n,s){return this.stream.write(d.__super__.processingInstruction.call(this,a,n,s))},d.prototype.raw=function(a,n,s){return this.stream.write(d.__super__.raw.call(this,a,n,s))},d.prototype.text=function(a,n,s){return this.stream.write(d.__super__.text.call(this,a,n,s))},d.prototype.dtdAttList=function(a,n,s){return this.stream.write(d.__super__.dtdAttList.call(this,a,n,s))},d.prototype.dtdElement=function(a,n,s){return this.stream.write(d.__super__.dtdElement.call(this,a,n,s))},d.prototype.dtdEntity=function(a,n,s){return this.stream.write(d.__super__.dtdEntity.call(this,a,n,s))},d.prototype.dtdNotation=function(a,n,s){return this.stream.write(d.__super__.dtdNotation.call(this,a,n,s))},d}(f)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(j,R,l){"use strict";(function(){var x,b,A=function(e,m){for(var d in m)f.call(m,d)&&(e[d]=m[d]);function a(){this.constructor=e}return a.prototype=m.prototype,e.prototype=new a,e.__super__=m.prototype,e},f={}.hasOwnProperty;b=j("./XMLWriterBase"),R.exports=x=function(t){A(e,t);function e(m){e.__super__.constructor.call(this,m)}return e.prototype.document=function(m,d){var a,n,s,c,i;for(d=this.filterOptions(d),c="",i=m.children,n=0,s=i.length;n","]]]]>"),this.assertLegalChar(t))},f.prototype.comment=function(t){if(this.options.noValidation)return t;if(t=""+t||"",t.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+t);return this.assertLegalChar(t)},f.prototype.raw=function(t){return this.options.noValidation?t:""+t||""},f.prototype.attValue=function(t){return this.options.noValidation?t:this.assertLegalChar(this.attEscape(t=""+t||""))},f.prototype.insTarget=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},f.prototype.insValue=function(t){if(this.options.noValidation)return t;if(t=""+t||"",t.match(/\?>/))throw new Error("Invalid processing instruction value: "+t);return this.assertLegalChar(t)},f.prototype.xmlVersion=function(t){if(this.options.noValidation)return t;if(t=""+t||"",!t.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+t);return t},f.prototype.xmlEncoding=function(t){if(this.options.noValidation)return t;if(t=""+t||"",!t.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+t);return this.assertLegalChar(t)},f.prototype.xmlStandalone=function(t){return this.options.noValidation?t:t?"yes":"no"},f.prototype.dtdPubID=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},f.prototype.dtdSysID=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},f.prototype.dtdElementValue=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},f.prototype.dtdAttType=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},f.prototype.dtdAttDefault=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},f.prototype.dtdEntityValue=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},f.prototype.dtdNData=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},f.prototype.convertAttKey="@",f.prototype.convertPIKey="?",f.prototype.convertTextKey="#text",f.prototype.convertCDataKey="#cdata",f.prototype.convertCommentKey="#comment",f.prototype.convertRawKey="#raw",f.prototype.assertLegalChar=function(t){var e,m;if(this.options.noValidation)return t;if(e="",this.options.version==="1.0"){if(e=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=t.match(e))throw new Error("Invalid character in string: "+t+" at index "+m.index)}else if(this.options.version==="1.1"&&(e=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=t.match(e)))throw new Error("Invalid character in string: "+t+" at index "+m.index);return t},f.prototype.assertLegalName=function(t){var e;if(this.options.noValidation)return t;if(this.assertLegalChar(t),e=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!t.match(e))throw new Error("Invalid character in name");return t},f.prototype.textEscape=function(t){var e;return this.options.noValidation?t:(e=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&").replace(//g,">").replace(/\r/g," "))},f.prototype.attEscape=function(t){var e;return this.options.noValidation?t:(e=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&").replace(/0)?new Array(S).join(y.indent):""},g.prototype.endline=function(v,y,w){return!y.pretty||y.suppressPrettyCount?"":y.newline},g.prototype.attribute=function(v,y,w){var S;return this.openAttribute(v,y,w),S=" "+v.name+'="'+v.value+'"',this.closeAttribute(v,y,w),S},g.prototype.cdata=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w)+""+this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.comment=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w)+""+this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.declaration=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w)+"",S+=this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.docType=function(v,y,w){var S,_,I,C,E;if(w||(w=0),this.openNode(v,y,w),y.state=b.OpenTag,C=this.indent(v,y,w),C+="0){for(C+=" [",C+=this.endline(v,y,w),y.state=b.InsideTag,E=v.children,_=0,I=E.length;_",C+=this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),C},g.prototype.element=function(v,y,w){var S,_,I,C,E,O,M,F,H,B,X,J,k,K;w||(w=0),B=!1,X="",this.openNode(v,y,w),y.state=b.OpenTag,X+=this.indent(v,y,w)+"<"+v.name,J=v.attribs;for(H in J){if(!p.call(J,H))continue;S=J[H],X+=this.attribute(S,y,w)}if(I=v.children.length,C=I===0?null:v.children[0],I===0||v.children.every(function(z){return(z.type===x.Text||z.type===x.Raw)&&z.value===""}))y.allowEmpty?(X+=">",y.state=b.CloseTag,X+=""+this.endline(v,y,w)):(y.state=b.CloseTag,X+=y.spaceBeforeSlash+"/>"+this.endline(v,y,w));else if(y.pretty&&I===1&&(C.type===x.Text||C.type===x.Raw)&&C.value!=null)X+=">",y.state=b.InsideTag,y.suppressPrettyCount++,B=!0,X+=this.writeChildNode(C,y,w+1),y.suppressPrettyCount--,B=!1,y.state=b.CloseTag,X+=""+this.endline(v,y,w);else{if(y.dontPrettyTextNodes){for(k=v.children,E=0,M=k.length;E"+this.endline(v,y,w),y.state=b.InsideTag,K=v.children,O=0,F=K.length;O",B&&y.suppressPrettyCount--,X+=this.endline(v,y,w),y.state=b.None}return this.closeNode(v,y,w),X},g.prototype.writeChildNode=function(v,y,w){switch(v.type){case x.CData:return this.cdata(v,y,w);case x.Comment:return this.comment(v,y,w);case x.Element:return this.element(v,y,w);case x.Raw:return this.raw(v,y,w);case x.Text:return this.text(v,y,w);case x.ProcessingInstruction:return this.processingInstruction(v,y,w);case x.Dummy:return"";case x.Declaration:return this.declaration(v,y,w);case x.DocType:return this.docType(v,y,w);case x.AttributeDeclaration:return this.dtdAttList(v,y,w);case x.ElementDeclaration:return this.dtdElement(v,y,w);case x.EntityDeclaration:return this.dtdEntity(v,y,w);case x.NotationDeclaration:return this.dtdNotation(v,y,w);default:throw new Error("Unknown XML node type: "+v.constructor.name)}},g.prototype.processingInstruction=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w)+"",S+=this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.raw=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w),y.state=b.InsideTag,S+=v.value,y.state=b.CloseTag,S+=this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.text=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w),y.state=b.InsideTag,S+=v.value,y.state=b.CloseTag,S+=this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.dtdAttList=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w)+""+this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.dtdElement=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w)+""+this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.dtdEntity=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w)+""+this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.dtdNotation=function(v,y,w){var S;return this.openNode(v,y,w),y.state=b.OpenTag,S=this.indent(v,y,w)+""+this.endline(v,y,w),y.state=b.None,this.closeNode(v,y,w),S},g.prototype.openNode=function(v,y,w){},g.prototype.closeNode=function(v,y,w){},g.prototype.openAttribute=function(v,y,w){},g.prototype.closeAttribute=function(v,y,w){},g}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDummy":270,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLText":280}],282:[function(j,R,l){"use strict";(function(){var x,b,A,f,t,e,m,d,a,n;n=j("./Utility"),d=n.assign,a=n.isFunction,A=j("./XMLDOMImplementation"),f=j("./XMLDocument"),t=j("./XMLDocumentCB"),m=j("./XMLStringWriter"),e=j("./XMLStreamWriter"),x=j("./NodeType"),b=j("./WriterState"),R.exports.create=function(s,c,i,u){var r,o;if(s==null)throw new Error("Root element needs a name.");return u=d({},c,i,u),r=new f(u),o=r.element(s),u.headless||(r.declaration(u),(u.pubID!=null||u.sysID!=null)&&r.dtd(u)),o},R.exports.begin=function(s,c,i){var u;return a(s)&&(u=[s,c],c=u[0],i=u[1],s={}),c?new t(s,c,i):new f(s)},R.exports.stringWriter=function(s){return new m(s)},R.exports.streamWriter=function(s,c){return new e(s,c)},R.exports.implementation=new A,R.exports.nodeType=x,R.exports.writerState=b}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(j,R,l){R.exports=b;var x=Object.prototype.hasOwnProperty;function b(){for(var A={},f=0;ft?s=n(s):s.length>5]|=128<>>9<<4)+14]=c;for(var i=1732584193,u=-271733879,r=-1732584194,o=271733878,h=0;h>16)+(c>>16)+(i>>16);return u<<16|i&65535}function n(s,c){return s<>>32-c}R.exports=function(c){return x.hash(c,A,16)}},{"./helpers":285}],287:[function(j,R,l){"use strict";var x=j("./helpers");function b(m,d){m[d>>5]|=128<<24-d%32,m[(d+64>>9<<4)+15]=d;for(var a=Array(80),n=1732584193,s=-271733879,c=-1732584194,i=271733878,u=-1009589776,r=0;r>16)+(d>>16)+(a>>16);return n<<16|a&65535}function e(m,d){return m<>>32-d}R.exports=function(d){return x.hash(d,b,20,!0)}},{"./helpers":285}],288:[function(j,R,l){"use strict";R.exports=function(){return function(){}}},{}],289:[function(j,R,l){(function(x){"use strict";var b=j("babel-runtime/helpers/typeof"),A=f(b);function f(n){return n&&n.__esModule?n:{default:n}}var t=j("stream"),e=t.Stream,m=j("../lib/common/utils/isArray"),d=m.isArray;R.exports.string=function(s){return typeof s=="string"},R.exports.array=d,R.exports.buffer=x.isBuffer;function a(n){return n instanceof e}R.exports.writableStream=function(s){return a(s)&&typeof s._write=="function"&&(0,A.default)(s._writableState)==="object"}}).call(this,{isBuffer:j("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":42,"../node_modules/is-buffer/index.js":197,"babel-runtime/helpers/typeof":67,stream:230}],290:[function(j,R,l){"use strict";l.encodeURIComponent=function(x){try{return encodeURIComponent(x)}catch(b){return x}},l.escape=j("escape-html"),l.timestamp=function(b){if(b){var A=b;return typeof A=="string"&&(A=Number(A)),String(b).length===10&&(A*=1e3),new Date(A)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(j,R,l){(function(x,b){"use strict";var A=j("babel-runtime/core-js/json/stringify"),f=m(A),t=j("babel-runtime/helpers/typeof"),e=m(t);function m(y){return y&&y.__esModule?y:{default:y}}var d=j("util"),a=j("url"),n=j("http"),s=j("https"),c=j("debug")("urllib"),i=j("humanize-ms"),u,r=0,o=Math.pow(2,31)-10,h=/^https?:\/\//i;function p(y,w){return y===void 0?w:y}function g(y,w){return function(S,_,I){if(S)return w(S);y({data:_,status:I.statusCode,headers:I.headers,res:I})}}l.TIMEOUTS=[i("300s"),i("300s")];var v=["json","text"];l.request=function(w,S,_){return arguments.length===2&&typeof S=="function"&&(_=S,S=null),typeof _=="function"?l.requestWithCallback(w,S,_):(u||(u=j("any-promise")),new u(function(I,C){l.requestWithCallback(w,S,g(I,C))}))},l.requestWithCallback=function(w,S,_){if(!w||typeof w!="string"&&(typeof w=="undefined"?"undefined":(0,e.default)(w))!=="object"){var I=d.format("expect request url to be a string or a http request options, but got %j",w);throw new Error(I)}arguments.length===2&&typeof S=="function"&&(_=S,S=null),S=S||{},r>=o&&(r=0);var C=++r;S.requestUrls=S.requestUrls||[];var E={requestId:C,url:w,args:S,ctx:S.ctx};S.emitter&&S.emitter.emit("request",E),S.timeout=S.timeout||l.TIMEOUTS,S.maxRedirects=S.maxRedirects||10,S.streaming=S.streaming||S.customResponse;var O=Date.now(),M;typeof w=="string"?(h.test(w)||(w="http://"+w),M=a.parse(w)):M=w;var F=(S.type||S.method||M.method||"GET").toUpperCase(),H=M.port||80,B=n,X=p(S.agent,l.agent),J=S.fixJSONCtlChars;M.protocol==="https:"&&(B=s,X=p(S.httpsAgent,l.httpsAgent),M.port||(H=443));var k={host:M.hostname||M.host||"localhost",path:M.path||"/",method:F,port:H,agent:X,headers:S.headers||{},lookup:S.lookup};Array.isArray(S.timeout)?k.requestTimeout=S.timeout[S.timeout.length-1]:typeof S.timeout!="undefined"&&(k.requestTimeout=S.timeout);for(var K=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],z=0;z=0)return c("Request#%d %s: got digest auth header WWW-Authenticate: %s",C,w,Kt),S.headers=S.headers||{},S.headers.Authorization=digestAuthHeader(k.method,k.path,Kt,S.digestAuth),c("Request#%d %s: auth with digest header: %s",C,w,S.headers.Authorization),ut.headers["set-cookie"]&&(S.headers.Cookie=ut.headers["set-cookie"].join(";")),l.requestWithCallback(w,S,Ft)}var $t=Date.now()-O;ae&&(ae.contentDownload=$t),c("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",$t,ge,Be,k.method,k.host,k.path,ke,ae);var or={status:Be,statusCode:Be,headers:Ut,size:ge,aborted:ee,rt:$t,keepAliveSocket:ke,data:Nt,requestUrls:S.requestUrls,timing:ae,remoteAddress:ue,remotePort:Ge};if(Pe){var ht="";X&&typeof X.getCurrentStatus=="function"&&(ht=", agent status: "+(0,f.default)(X.getCurrentStatus())),Pe.message+=", "+k.method+" "+w+" "+Be+" (connected: "+Se+", keepalive socket: "+ke+ht+`) +headers: `+(0,f.default)(Ut),Pe.data=Nt,Pe.path=k.path,Pe.status=Be,Pe.headers=Ut,Pe.res=or}Ft(Pe,Nt,S.streaming?ut:or),S.emitter&&(E.url=w,E.socket=yt&&yt.connection,E.options=k,E.size=re,S.emitter.emit("response",{requestId:C,error:Pe,ctx:S.ctx,req:E,res:or}))}function we(Pe){var Nt=null;if(S.followRedirect&&statuses.redirect[Pe.statusCode]){S._followRedirectCount=(S._followRedirectCount||0)+1;var ut=Pe.headers.location;if(!ut)Nt=new Error("Got statusCode "+Pe.statusCode+" but cannot resolve next location from headers"),Nt.name="FollowRedirectError";else if(S._followRedirectCount>S.maxRedirects)Nt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+w),Nt.name="MaxRedirectError";else{var Ft=S.formatRedirectUrl?S.formatRedirectUrl(w,ut):a.resolve(w,ut);c("Request#%d %s: `redirected` from %s to %s",C,k.path,w,Ft),Y(),S.headers&&S.headers.Host&&h.test(ut)&&(S.headers.Host=null);var Ut=_;return _=null,l.requestWithCallback(Ft,S,Ut),{redirect:!0,error:null}}}return{redirect:!1,error:Nt}}!k.headers["User-Agent"]&&!k.headers["user-agent"]&&(k.headers["User-Agent"]=navigator.userAgent),S.gzip&&(!k.headers["Accept-Encoding"]&&!k.headers["accept-encoding"]&&(k.headers["Accept-Encoding"]="gzip"));function pe(Pe,Nt,ut){var Ft=Pe.headers["content-encoding"];return ut(null,Nt,Ft)}var De=S.writeStream;c("Request#%d %s %s with headers %j, options.path: %s",C,F,w,k.headers,k.path),S.requestUrls.push(w);function Ne(Pe){if(ae&&(ae.waiting=Date.now()-O),c("Request#%d %s `req response` event emit: status %d, headers: %j",C,w,Pe.statusCode,Pe.headers),S.streaming){var Nt=we(Pe);if(Nt.redirect){Pe.resume();return}return Nt.error?(Pe.resume(),te(Nt.error,null,Pe)):te(null,null,Pe)}if(Pe.on("close",function(){c("Request#%d %s: `res close` event emit, total size %d",C,w,ge)}),Pe.on("error",function(){c("Request#%d %s: `res error` event emit, total size %d",C,w,ge)}),Pe.on("aborted",function(){ee=!0,c("Request#%d %s: `res aborted` event emit, total size %d",C,w,ge)}),De){var Nt=we(Pe);if(Nt.redirect){Pe.resume();return}return Nt.error?(Pe.resume(),De.end(),te(Nt.error,null,Pe)):(S.consumeWriteStream===!1?Pe.on("end",te.bind(null,null,null,Pe)):isNode010||isNode012?first([[De,"close"],[Pe,"aborted"]],function(Ut,Kt,$t){c("Request#%d %s: writeStream or res %s event emitted",C,w,$t),te(xe||null,null,Pe)}):De.on("close",function(){c("Request#%d %s: writeStream close event emitted",C,w),te(xe||null,null,Pe)}),Pe.pipe(De))}var ut=[];Pe.on("data",function(Ft){c("Request#%d %s: `res data` event emit, size %d",C,w,Ft.length),ge+=Ft.length,ut.push(Ft)}),Pe.on("end",function(){var Ft=b.concat(ut,ge);if(c("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",C,w,ge,Pe._dumped),xe)return te(xe,Ft,Pe);var Ut=we(Pe);if(Ut.error)return te(Ut.error,Ft,Pe);if(Ut.redirect)return;pe(Pe,Ft,function(Kt,$t,or){if(Kt)return te(Kt,Ft,Pe);if(!or&&v.indexOf(S.dataType)>=0){try{$t=decodeBodyByCharset($t,Pe)}catch(Ee){return c("decodeBodyByCharset error: %s",Ee),te(null,$t,Pe)}if(S.dataType==="json")if(ge===0)$t=null;else{var ht=parseJSON($t,J);ht.error?Kt=ht.error:$t=ht.data}}ee&&c("Request#%d %s: Remote socket was terminated before `response.end()` was called",C,w),te(Kt,$t,Pe)})})}var me,be;Array.isArray(S.timeout)?(me=i(S.timeout[0]),be=i(S.timeout[1])):me=be=i(S.timeout),c("ConnectTimeout: %d, ResponseTimeout: %d",me,be);function Re(){c("Connect timer ticking, timeout: %d",me),ie=setTimeout(function(){ie=null,Be===-1&&(Be=-2);var Pe="Connect timeout for "+me+"ms",Nt="ConnectionTimeoutError";yt.socket||(Nt="SocketAssignTimeoutError",Pe+=", working sockets is full"),xe=new Error(Pe),xe.name=Nt,xe.requestId=C,c("ConnectTimeout: Request#%d %s %s: %s, connected: %s",C,w,xe.name,Pe,Se),pt()},me)}function it(){c("Response timer ticking, timeout: %d",be),fe=setTimeout(function(){fe=null;var Pe="Response timeout for "+be+"ms",Nt="ResponseTimeoutError";xe=new Error(Pe),xe.name=Nt,xe.requestId=C,c("ResponseTimeout: Request#%d %s %s: %s, connected: %s",C,w,xe.name,Pe,Se),pt()},be)}var yt;k.mode=S.mode?S.mode:"";try{yt=B.request(k,Ne)}catch(Pe){return te(Pe)}typeof window=="undefined"?Re():yt.on("requestTimeout",function(){Be===-1&&(Be=-2);var Pe="Connect timeout for "+me+"ms",Nt="ConnectionTimeoutError";xe=new Error(Pe),xe.name=Nt,xe.requestId=C,pt()});function pt(){c("Request#%d %s abort, connected: %s",C,w,Se),yt.socket||(xe.noSocket=!0,te(xe)),yt.abort()}return ae&&yt.on("finish",function(){ae.requestSent=Date.now()-O}),yt.once("socket",function(Pe){ae&&(ae.queuing=Date.now()-O),isNode010&&Pe.socket&&(Pe=Pe.socket);var Nt=Pe.readyState;if(Nt==="opening"){Pe.once("lookup",function(ut,Ft,Ut){c("Request#%d %s lookup: %s, %s, %s",C,w,ut,Ft,Ut),ae&&(ae.dnslookup=Date.now()-O),Ft&&(ue=Ft)}),Pe.once("connect",function(){ae&&(ae.connected=Date.now()-O),Z(),it(),c("Request#%d %s new socket connected",C,w),Se=!0,ue||(ue=Pe.remoteAddress),Ge=Pe.remotePort});return}c("Request#%d %s reuse socket connected, readyState: %s",C,w,Nt),Se=!0,ke=!0,ue||(ue=Pe.remoteAddress),Ge=Pe.remotePort,Z(),it()}),yt.on("error",function(Pe){(Pe.name==="Error"||Pe.name==="TypeError")&&(Pe.name=Se?"ResponseError":"RequestError"),Pe.message+=' (req "error")',c("Request#%d %s `req error` event emit, %s: %s",C,w,Pe.name,Pe.message),te(xe||Pe)}),De&&De.once("error",function(Pe){Pe.message+=' (writeStream "error")',xe=Pe,c("Request#%d %s `writeStream error` event emit, %s: %s",C,w,Pe.name,Pe.message),pt()}),S.stream?(S.stream.pipe(yt),S.stream.once("error",function(Pe){Pe.message+=' (stream "error")',xe=Pe,c("Request#%d %s `readStream error` event emit, %s: %s",C,w,Pe.name,Pe.message),pt()})):yt.end(G),yt.requestId=C,yt}}).call(this,j("_process"),j("buffer").Buffer)},{_process:208,"any-promise":49,"babel-runtime/core-js/json/stringify":53,"babel-runtime/helpers/typeof":67,buffer:73,constants:75,debug:288,http:231,https:193,"humanize-ms":194,url:238,util:243}]},{},[1])(1)})}).call(this,__webpack_require__("yLpj"))},n1HI:function(j,R,l){var x=l("hX1E"),b=x.normalizeRadian,A=Math.PI*2;function f(t,e,m,d,a,n,s,c,i){if(s===0)return!1;var u=s;c-=t,i-=e;var r=Math.sqrt(c*c+i*i);if(r-u>m||r+ua&&(a+=A);var h=Math.atan2(i,c);return h<0&&(h+=A),h>=d&&h<=a||h+A>=d&&h+A<=a}R.containStroke=f},n4Lv:function(j,R,l){var x=l("7hqr"),b=x.isDimensionStacked,A=l("bYtY"),f=A.map;function t(d,a,n){var s=d.getBaseAxis(),c=d.getOtherAxis(s),i=e(c,n),u=s.dim,r=c.dim,o=a.mapDimension(r),h=a.mapDimension(u),p=r==="x"||r==="radius"?1:0,g=f(d.dimensions,function(w){return a.mapDimension(w)}),v,y=a.getCalculationInfo("stackResultDimension");return(v|=b(a,g[0]))&&(g[0]=y),(v|=b(a,g[1]))&&(g[1]=y),{dataDimsForPoint:g,valueStart:i,valueAxisDim:r,baseAxisDim:u,stacked:!!v,valueDim:o,baseDim:h,baseDataOffset:p,stackedOverDimension:a.getCalculationInfo("stackedOverDimension")}}function e(d,a){var n=0,s=d.scale.getExtent();return a==="start"?n=s[0]:a==="end"?n=s[1]:s[0]>0?n=s[0]:s[1]<0&&(n=s[1]),n}function m(d,a,n,s){var c=NaN;d.stacked&&(c=n.get(n.getCalculationInfo("stackedOverDimension"),s)),isNaN(c)&&(c=d.valueStart);var i=d.baseDataOffset,u=[];return u[i]=n.get(d.baseDim,s),u[1-i]=c,a.dataToPoint(u)}R.prepareDataCoordInfo=t,R.getStackedOnPoint=m},n6Mw:function(j,R,l){var x=l("SrGk"),b=l("bYtY"),A=l("Fofx");function f(e,m){x.call(this,e,m,"clipPath","__clippath_in_use__")}b.inherits(f,x),f.prototype.update=function(e){var m=this.getSvgElement(e);m&&this.updateDom(m,e.__clipPaths,!1);var d=this.getTextSvgElement(e);d&&this.updateDom(d,e.__clipPaths,!0),this.markUsed(e)},f.prototype.updateDom=function(e,m,d){if(m&&m.length>0){var a=this.getDefs(!0),n=m[0],s,c,i=d?"_textDom":"_dom";n[i]?(c=n[i].getAttribute("id"),s=n[i],a.contains(s)||a.appendChild(s)):(c="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,s=this.createElement("clipPath"),s.setAttribute("id",c),a.appendChild(s),n[i]=s);var u=this.getSvgProxy(n);if(n.transform&&n.parent.invTransform&&!d){var r=Array.prototype.slice.call(n.transform);A.mul(n.transform,n.parent.invTransform,n.transform),u.brush(n),n.transform=r}else u.brush(n);var o=this.getSvgElement(n);s.innerHTML="",s.appendChild(o.cloneNode()),e.setAttribute("clip-path","url(#"+c+")"),m.length>1&&this.updateDom(s,m.slice(1),d)}else e&&e.setAttribute("clip-path","none")},f.prototype.markUsed=function(e){var m=this;e.__clipPaths&&b.each(e.__clipPaths,function(d){d._dom&&x.prototype.markUsed.call(m,d._dom),d._textDom&&x.prototype.markUsed.call(m,d._textDom)})};var t=f;j.exports=t},nCxF:function(j,R,l){var x=l("QBsz"),b=x.min,A=x.max,f=x.scale,t=x.distance,e=x.add,m=x.clone,d=x.sub;function a(n,s,c,i){var u=[],r=[],o=[],h=[],p,g,v,y;if(i){v=[Infinity,Infinity],y=[-Infinity,-Infinity];for(var w=0,S=n.length;w=0;K--){var z=B[H==="asc"?J-K-1:K].getValue();z/F*Mk[1]&&(k[1]=W)})}return{sum:H,dataExtent:k}}function w(O,M,F){for(var H=0,B=Infinity,X=0,J,k=O.length;XH&&(H=J));var K=O.area*O.area,z=M*M*F;return K?d(z*H/K,K/(z*B)):Infinity}function S(O,M,F,H,B){var X=M===F.width?0:1,J=1-X,k=["x","y"],K=["width","height"],z=F[k[X]],W=M?O.area/M:0;(B||W>F[K[J]])&&(W=F[K[J]]);for(var P=0,G=O.length;Pt&&(z=t),X=k}z0&&(O=O===null?F:Math.min(O,F))}I[C]=O}}return I}function r(S){var _=u(S),I=[];return x.each(S,function(C){var E=C.coordinateSystem,O=E.getBaseAxis(),M=O.getExtent(),F;if(O.type==="category")F=O.getBandWidth();else if(O.type==="value"||O.type==="time"){var H=O.dim+"_"+O.index,B=_[H],X=Math.abs(M[1]-M[0]),J=O.scale.getExtent(),k=Math.abs(J[1]-J[0]);F=B?X/k*B:X}else{var K=C.getData();F=Math.abs(M[1]-M[0])/K.count()}var z=A(C.get("barWidth"),F),W=A(C.get("barMaxWidth"),F),P=A(C.get("barMinWidth")||1,F),G=C.get("barGap"),V=C.get("barCategoryGap");I.push({bandWidth:F,barWidth:z,barMaxWidth:W,barMinWidth:P,barGap:G,barCategoryGap:V,axisKey:s(O),stackId:n(C)})}),o(I)}function o(S){var _={};x.each(S,function(C,E){var O=C.axisKey,M=C.bandWidth,F=_[O]||{bandWidth:M,remainedWidth:M,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},H=F.stacks;_[O]=F;var B=C.stackId;H[B]||F.autoWidthCount++,H[B]=H[B]||{width:0,maxWidth:0};var X=C.barWidth;X&&!H[B].width&&(H[B].width=X,X=Math.min(F.remainedWidth,X),F.remainedWidth-=X);var J=C.barMaxWidth;J&&(H[B].maxWidth=J);var k=C.barMinWidth;k&&(H[B].minWidth=k);var K=C.barGap;K!=null&&(F.gap=K);var z=C.barCategoryGap;z!=null&&(F.categoryGap=z)});var I={};return x.each(_,function(C,E){I[E]={};var O=C.stacks,M=C.bandWidth,F=A(C.categoryGap,M),H=A(C.gap,1),B=C.remainedWidth,X=C.autoWidthCount,J=(B-F)/(X+(X-1)*H);J=Math.max(J,0),x.each(O,function(W){var P=W.maxWidth,G=W.minWidth;if(W.width){var V=W.width;P&&(V=Math.min(V,P)),G&&(V=Math.max(V,G)),W.width=V,B-=V+H*V,X--}else{var V=J;P&&PV&&(V=G),V!==J&&(W.width=V,B-=V+H*V,X--)}}),J=(B-F)/(X+(X-1)*H),J=Math.max(J,0);var k=0,K;x.each(O,function(W,P){W.width||(W.width=J),K=W,k+=W.width*(1+H)}),K&&(k-=K.width*H);var z=-k/2;x.each(O,function(W,P){I[E][P]=I[E][P]||{bandWidth:M,offset:z,width:W.width},z+=W.width*(1+H)})}),I}function h(S,_,I){if(S&&_){var C=S[s(_)];return C!=null&&I!=null&&(C=C[n(I)]),C}}function p(S,_){var I=i(S,_),C=r(I),E={},O={};x.each(I,function(M){var F=M.getData(),H=M.coordinateSystem,B=H.getBaseAxis(),X=n(M),J=C[s(B)][X],k=J.offset,K=J.width,z=H.getOtherAxis(B),W=M.get("barMinHeight")||0;E[X]=E[X]||[],O[X]=O[X]||[],F.setLayout({bandWidth:J.bandWidth,offset:k,size:K});for(var P=F.mapDimension(z.dim),G=F.mapDimension(B.dim),V=t(F,P),q=z.isHorizontal(),re=w(B,z,V),ce=0,ie=F.count();ce=0?"p":"n",ke=re;V&&(E[X][xe]||(E[X][xe]={p:re,n:re}),ke=E[X][xe][Se]);var ge,Be,ee,ue;if(q){var Ge=H.dataToPoint([fe,xe]);ge=ke,Be=Ge[1]+k,ee=Ge[0]-re,ue=K,Math.abs(ee)d||(X=d),{progress:J};function J(k,K){for(var z=k.count,W=new a(z*2),P=new a(z*2),G=new a(z),V,q=[],re=[],ce=0,ie=0;(V=k.next())!=null;)re[B]=K.get(M,V),re[1-B]=K.get(F,V),q=I.dataToPoint(re,null,q),P[ce]=H?C.x+C.width:q[0],W[ce++]=q[0],P[ce]=H?q[1]:C.y+C.height,W[ce++]=q[1],G[ie++]=V;K.setLayout({largePoints:W,largeDataIndices:G,largeBackgroundPoints:P,barWidth:X,valueAxisStart:w(E,O,!1),backgroundStart:H?C.x:C.y,valueAxisHorizontal:H})}}};function v(S){return S.coordinateSystem&&S.coordinateSystem.type==="cartesian2d"}function y(S){return S.pipelineContext&&S.pipelineContext.large}function w(S,_,I){return _.toGlobalCoord(_.dataToCoord(_.type==="log"?1:0))}R.getLayoutOnAxis=c,R.prepareLayoutBarSeries=i,R.makeColumnLayout=r,R.retrieveColumnLayout=h,R.layout=p,R.largeLayout=g},ngQI:function(j,R,l){"use strict";l.d(R,"a",function(){return Rd}),l.d(R,"b",function(){return Cd}),l.d(R,"c",function(){return Wr});var x=l("q1tI"),b=l.n(x),A=l("dI71"),f=l("wx14"),t=l("ANjH"),e=l("/MKj");function m(Ue,se){if(Ue.length!==se.length)return!1;for(var Oe=0;Oe");return tt.callbacks},tt.setCallbacks=function(Jt){tt.callbacks=Jt},tt}var Oe=se.prototype;return Oe.componentDidMount=function(){this.unbind=fe(window,[{eventName:"error",fn:this.onWindowError}])},Oe.componentWillUnmount=function(){this.unbind()},Oe.componentDidCatch=function(wt){if(wt instanceof ke){this.setState({});return}throw wt},Oe.render=function(){return this.props.children(this.setCallbacks)},se}(b.a.Component),ee=` +`)},P=function(se){return[W(se),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},G="__react-beautiful-dnd-disable-dev-warnings";function V(Ue,se){var Oe;if(J)return;if(typeof window!="undefined"&&window[G])return;(Oe=console)[Ue].apply(Oe,P(se))}var q=V.bind(null,"warn"),re=V.bind(null,"error");function ce(){}function ie(Ue,se){return Object(f.a)({},Ue,{},se)}function fe(Ue,se,Oe){var tt=se.map(function(wt){var zt=ie(Oe,wt.options);return Ue.addEventListener(wt.eventName,wt.fn,zt),function(){Ue.removeEventListener(wt.eventName,wt.fn,zt)}});return function(){tt.forEach(function(zt){zt()})}}var xe=!0,Se="Invariant failed";function ke(Ue){this.message=Ue}ke.prototype.toString=function(){return this.message};function ge(Ue,se){if(Ue)return;throw xe?new ke(Se):new ke(Se+": "+(se||""))}var Be=function(Ue){Object(A.a)(se,Ue);function se(){for(var tt,wt=arguments.length,zt=new Array(wt),Zt=0;Zt");return tt.callbacks},tt.setCallbacks=function(Jt){tt.callbacks=Jt},tt}var Oe=se.prototype;return Oe.componentDidMount=function(){this.unbind=fe(window,[{eventName:"error",fn:this.onWindowError}])},Oe.componentWillUnmount=function(){this.unbind()},Oe.componentDidCatch=function(wt){if(wt instanceof ke){this.setState({});return}throw wt},Oe.render=function(){return this.props.children(this.setCallbacks)},se}(b.a.Component),ee=` Press space bar to start a drag. When dragging you can use the arrow keys to move the item around and escape to cancel. Some screen readers may require you to be in focus mode or to use your pass through key @@ -956,7 +956,7 @@ headers: `+(0,f.default)(Ut),Pe.data=Nt,Pe.path=k.path,Pe.status=Be,Pe.headers=U `:` The item has been dropped while not over a drop area. `+te(se.source)+` - `},pe={dragHandleUsageInstructions:ee,onDragStart:Ge,onDragUpdate:Y,onDragEnd:we},De={x:0,y:0},Ne=function(se,Oe){return{x:se.x+Oe.x,y:se.y+Oe.y}},me=function(se,Oe){return{x:se.x-Oe.x,y:se.y-Oe.y}},be=function(se,Oe){return se.x===Oe.x&&se.y===Oe.y},Re=function(se){return{x:se.x!==0?-se.x:0,y:se.y!==0?-se.y:0}},it=function(se,Oe,tt){var wt;return tt===void 0&&(tt=0),wt={},wt[se]=Oe,wt[se==="x"?"y":"x"]=tt,wt},yt=function(se,Oe){return Math.sqrt(Math.pow(Oe.x-se.x,2)+Math.pow(Oe.y-se.y,2))},pt=function(se,Oe){return Math.min.apply(Math,Oe.map(function(tt){return yt(se,tt)}))},Pe=function(se){return function(Oe){return{x:se(Oe.x),y:se(Oe.y)}}},Nt=function(se,Oe){var tt=i({top:Math.max(Oe.top,se.top),right:Math.min(Oe.right,se.right),bottom:Math.min(Oe.bottom,se.bottom),left:Math.max(Oe.left,se.left)});return tt.width<=0||tt.height<=0?null:tt},ut=function(se,Oe){return{top:se.top+Oe.y,left:se.left+Oe.x,bottom:se.bottom+Oe.y,right:se.right+Oe.x}},Ft=function(se){return[{x:se.left,y:se.top},{x:se.right,y:se.top},{x:se.left,y:se.bottom},{x:se.right,y:se.bottom}]},Ut={top:0,right:0,bottom:0,left:0},Wt=function(se,Oe){return Oe?ut(se,Oe.scroll.diff.displacement):se},$t=function(se,Oe,tt){if(tt&&tt.increasedBy){var wt;return Object(f.a)({},se,(wt={},wt[Oe.end]=se[Oe.end]+tt.increasedBy[Oe.line],wt))}return se},or=function(se,Oe){return Oe&&Oe.shouldClipSubject?Nt(Oe.pageMarginBox,se):i(se)},ht=function(se){var Oe=se.page,tt=se.withPlaceholder,wt=se.axis,zt=se.frame,Zt=Wt(Oe.marginBox,zt),Jt=$t(Zt,wt,tt),Fr=or(Jt,zt);return{page:Oe,withPlaceholder:tt,active:Fr}},Ee=function(se,Oe){se.frame||ge(!1);var tt=se.frame,wt=me(Oe,tt.scroll.initial),zt=Re(wt),Zt=Object(f.a)({},tt,{scroll:{initial:tt.scroll.initial,current:Oe,diff:{value:wt,displacement:zt},max:tt.scroll.max}}),Jt=ht({page:se.subject.page,withPlaceholder:se.subject.withPlaceholder,axis:se.axis,frame:Zt}),Fr=Object(f.a)({},se,{frame:Zt,subject:Jt});return Fr};function de(Ue){return Number.isInteger?Number.isInteger(Ue):typeof Ue=="number"&&isFinite(Ue)&&Math.floor(Ue)===Ue}function qe(Ue){return Object.values?Object.values(Ue):Object.keys(Ue).map(function(se){return Ue[se]})}function rt(Ue,se){if(Ue.findIndex)return Ue.findIndex(se);for(var Oe=0;Oese.bottom,Mr=wt.leftse.right,Ir=Xr&&Mr;if(Ir)return!0;var zr=Xr&&Jt||Mr&&Zt;return zr}},cn=function(se){var Oe=Sr(se.top,se.bottom),tt=Sr(se.left,se.right);return function(wt){var zt=Oe(wt.top)&&Oe(wt.bottom)&&tt(wt.left)&&tt(wt.right);return zt}},Kn={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},lt={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},mt=function(se){return function(Oe){var tt=Sr(Oe.top,Oe.bottom),wt=Sr(Oe.left,Oe.right);return function(zt){return se===Kn?tt(zt.top)&&tt(zt.bottom):wt(zt.left)&&wt(zt.right)}}},Le=function(se,Oe){var tt=Oe.frame?Oe.frame.scroll.diff.displacement:De;return ut(se,tt)},ze=function(se,Oe,tt){return Oe.subject.active?tt(Oe.subject.active)(se):!1},$e=function(se,Oe,tt){return tt(Oe)(se)},gt=function(se){var Oe=se.target,tt=se.destination,wt=se.viewport,zt=se.withDroppableDisplacement,Zt=se.isVisibleThroughFrameFn,Jt=zt?Le(Oe,tt):Oe;return ze(Jt,tt,Zt)&&$e(Jt,wt,Zt)},ir=function(se){return gt(Object(f.a)({},se,{isVisibleThroughFrameFn:Tn}))},Xt=function(se){return gt(Object(f.a)({},se,{isVisibleThroughFrameFn:cn}))},er=function(se){return gt(Object(f.a)({},se,{isVisibleThroughFrameFn:mt(se.destination.axis)}))},Wr=function(se,Oe,tt){if(typeof tt=="boolean")return tt;if(!Oe)return!0;var wt=Oe.invisible,zt=Oe.visible;if(wt[se])return!1;var Zt=zt[se];return Zt?Zt.shouldAnimate:!0};function en(Ue,se){var Oe=Ue.page.marginBox,tt={top:se.point.y,right:0,bottom:0,left:se.point.x};return i(u(Oe,tt))}function Fn(Ue){var se=Ue.afterDragging,Oe=Ue.destination,tt=Ue.displacedBy,wt=Ue.viewport,zt=Ue.forceShouldAnimate,Zt=Ue.last;return se.reduce(function(Fr,Xr){var Mr=en(Xr,tt),Ir=Xr.descriptor.id;Fr.all.push(Ir);var zr=ir({target:Mr,destination:Oe,viewport:wt,withDroppableDisplacement:!0});if(!zr)return Fr.invisible[Xr.descriptor.id]=!0,Fr;var qr=Wr(Ir,Zt,zt),Ln={draggableId:Ir,shouldAnimate:qr};return Fr.visible[Ir]=Ln,Fr},{all:[],visible:{},invisible:{}})}function ar(Ue,se){if(!Ue.length)return 0;var Oe=Ue[Ue.length-1].descriptor.index;return se.inHomeList?Oe:Oe+1}function It(Ue){var se=Ue.insideDestination,Oe=Ue.inHomeList,tt=Ue.displacedBy,wt=Ue.destination,zt=ar(se,{inHomeList:Oe});return{displaced:yr,displacedBy:tt,at:{type:"REORDER",destination:{droppableId:wt.descriptor.id,index:zt}}}}function Ct(Ue){var se=Ue.draggable,Oe=Ue.insideDestination,tt=Ue.destination,wt=Ue.viewport,zt=Ue.displacedBy,Zt=Ue.last,Jt=Ue.index,Fr=Ue.forceShouldAnimate,Xr=Ze(se,tt);if(Jt==null)return It({insideDestination:Oe,inHomeList:Xr,displacedBy:zt,destination:tt});var Mr=ve(Oe,function(xi){return xi.descriptor.index===Jt});if(!Mr)return It({insideDestination:Oe,inHomeList:Xr,displacedBy:zt,destination:tt});var Ir=ot(se,Oe),zr=Oe.indexOf(Mr),qr=Ir.slice(zr),Ln=Fn({afterDragging:qr,destination:tt,displacedBy:zt,last:Zt,viewport:wt.frame,forceShouldAnimate:Fr});return{displaced:Ln,displacedBy:zt,at:{type:"REORDER",destination:{droppableId:tt.descriptor.id,index:Jt}}}}function mr(Ue,se){return Boolean(se.effected[Ue])}var gr=function(se){var Oe=se.isMovingForward,tt=se.destination,wt=se.draggables,zt=se.combine,Zt=se.afterCritical;if(!tt.isCombineEnabled)return null;var Jt=zt.draggableId,Fr=wt[Jt],Xr=Fr.descriptor.index,Mr=mr(Jt,Zt);return Mr?Oe?Xr:Xr-1:Oe?Xr+1:Xr},Mt=function(se){var Oe=se.isMovingForward,tt=se.isInHomeList,wt=se.insideDestination,zt=se.location;if(!wt.length)return null;var Zt=zt.index,Jt=Oe?Zt+1:Zt-1,Fr=wt[0].descriptor.index,Xr=wt[wt.length-1].descriptor.index,Mr=tt?Xr:Xr+1;return JtMr?null:Jt},rr=function(se){var Oe=se.isMovingForward,tt=se.isInHomeList,wt=se.draggable,zt=se.draggables,Zt=se.destination,Jt=se.insideDestination,Fr=se.previousImpact,Xr=se.viewport,Mr=se.afterCritical,Ir=Fr.at;if(Ir||ge(!1),Ir.type==="REORDER"){var zr=Mt({isMovingForward:Oe,isInHomeList:tt,location:Ir.destination,insideDestination:Jt});return zr==null?null:Ct({draggable:wt,insideDestination:Jt,destination:Zt,viewport:Xr,last:Fr.displaced,displacedBy:Fr.displacedBy,index:zr})}var qr=gr({isMovingForward:Oe,destination:Zt,displaced:Fr.displaced,draggables:zt,combine:Ir.combine,afterCritical:Mr});return qr==null?null:Ct({draggable:wt,insideDestination:Jt,destination:Zt,viewport:Xr,last:Fr.displaced,displacedBy:Fr.displacedBy,index:qr})},Dt=function(se){var Oe=se.displaced,tt=se.afterCritical,wt=se.combineWith,zt=se.displacedBy,Zt=Boolean(Oe.visible[wt]||Oe.invisible[wt]);return mr(wt,tt)?Zt?De:Re(zt.point):Zt?zt.point:De},tr=function(se){var Oe=se.afterCritical,tt=se.impact,wt=se.draggables,zt=Kt(tt);zt||ge(!1);var Zt=zt.draggableId,Jt=wt[Zt].page.borderBox.center,Fr=Dt({displaced:tt.displaced,afterCritical:Oe,combineWith:Zt,displacedBy:tt.displacedBy});return Ne(Jt,Fr)},Dr=function(se,Oe){return Oe.margin[se.start]+Oe.borderBox[se.size]/2},dr=function(se,Oe){return Oe.margin[se.end]+Oe.borderBox[se.size]/2},Tr=function(se,Oe,tt){return Oe[se.crossAxisStart]+tt.margin[se.crossAxisStart]+tt.borderBox[se.crossAxisSize]/2},vn=function(se){var Oe=se.axis,tt=se.moveRelativeTo,wt=se.isMoving;return it(Oe.line,tt.marginBox[Oe.end]+Dr(Oe,wt),Tr(Oe,tt.marginBox,wt))},on=function(se){var Oe=se.axis,tt=se.moveRelativeTo,wt=se.isMoving;return it(Oe.line,tt.marginBox[Oe.start]-dr(Oe,wt),Tr(Oe,tt.marginBox,wt))},Gn=function(se){var Oe=se.axis,tt=se.moveInto,wt=se.isMoving;return it(Oe.line,tt.contentBox[Oe.start]+Dr(Oe,wt),Tr(Oe,tt.contentBox,wt))},di=function(se){var Oe=se.impact,tt=se.draggable,wt=se.draggables,zt=se.droppable,Zt=se.afterCritical,Jt=at(zt.descriptor.id,wt),Fr=tt.page,Xr=zt.axis;if(!Jt.length)return Gn({axis:Xr,moveInto:zt.page,isMoving:Fr});var Mr=Oe.displaced,Ir=Oe.displacedBy,zr=Mr.all[0];if(zr){var qr=wt[zr];if(mr(zr,Zt))return on({axis:Xr,moveRelativeTo:qr.page,isMoving:Fr});var Ln=y(qr.page,Ir.point);return on({axis:Xr,moveRelativeTo:Ln,isMoving:Fr})}var xi=Jt[Jt.length-1];if(xi.descriptor.id===tt.descriptor.id)return Fr.borderBox.center;if(mr(xi.descriptor.id,Zt)){var Wi=y(xi.page,Re(Zt.displacedBy.point));return vn({axis:Xr,moveRelativeTo:Wi,isMoving:Fr})}return vn({axis:Xr,moveRelativeTo:xi.page,isMoving:Fr})},Ti=function(se,Oe){var tt=se.frame;return tt?Ne(Oe,tt.scroll.diff.displacement):Oe},Fi=function(se){var Oe=se.impact,tt=se.draggable,wt=se.droppable,zt=se.draggables,Zt=se.afterCritical,Jt=tt.page.borderBox.center,Fr=Oe.at;return wt&&Fr?Fr.type==="REORDER"?di({impact:Oe,draggable:tt,draggables:zt,droppable:wt,afterCritical:Zt}):tr({impact:Oe,draggables:zt,afterCritical:Zt}):Jt},la=function(se){var Oe=Fi(se),tt=se.droppable,wt=tt?Ti(tt,Oe):Oe;return wt},Ta=function(se,Oe){var tt=me(Oe,se.scroll.initial),wt=Re(tt),zt=i({top:Oe.y,bottom:Oe.y+se.frame.height,left:Oe.x,right:Oe.x+se.frame.width}),Zt={frame:zt,scroll:{initial:se.scroll.initial,max:se.scroll.max,current:Oe,diff:{value:tt,displacement:wt}}};return Zt};function dt(Ue,se){return Ue.map(function(Oe){return se[Oe]})}function Me(Ue,se){for(var Oe=0;Oe1?Ir.sort(function(zr,qr){return Bt(zr)[Fr.start]-Bt(qr)[Fr.start]})[0]:Mr.sort(function(zr,qr){var Ln=pt(tt,Ft(Bt(zr))),xi=pt(tt,Ft(Bt(qr)));return Ln!==xi?Ln-xi:Bt(zr)[Fr.start]-Bt(qr)[Fr.start]})[0]},nr=function(se,Oe){var tt=se.page.borderBox.center;return mr(se.descriptor.id,Oe)?me(tt,Oe.displacedBy.point):tt},Ur=function(se,Oe){var tt=se.page.borderBox;return mr(se.descriptor.id,Oe)?ut(tt,Re(Oe.displacedBy.point)):tt},Lr=function(se){var Oe=se.pageBorderBoxCenter,tt=se.viewport,wt=se.destination,zt=se.insideDestination,Zt=se.afterCritical,Jt=zt.filter(function(Fr){return Xt({target:Ur(Fr,Zt),destination:wt,viewport:tt.frame,withDroppableDisplacement:!0})}).sort(function(Fr,Xr){var Mr=yt(Oe,Ti(wt,nr(Fr,Zt))),Ir=yt(Oe,Ti(wt,nr(Xr,Zt)));return Mrse.left&&Ue.topse.top}function mi(Ue){var se=Ue.pageBorderBox,Oe=Ue.draggable,tt=Ue.candidates,wt=Oe.page.borderBox.center,zt=tt.map(function(Zt){var Jt=Zt.axis,Fr=it(Zt.axis.line,se.center[Jt.line],Zt.page.borderBox.center[Jt.crossAxisLine]);return{id:Zt.descriptor.id,distance:yt(wt,Fr)}}).sort(function(Zt,Jt){return Jt.distance-Zt.distance});return zt[0]?zt[0].id:null}function va(Ue){var se=Ue.pageBorderBox,Oe=Ue.draggable,tt=Ue.droppables,wt=kt(tt).filter(function(zt){if(!zt.isEnabled)return!1;var Zt=zt.subject.active;if(!Zt)return!1;if(!Yi(se,Zt))return!1;if(zi(Zt)(se.center))return!0;var Jt=zt.axis,Fr=Zt.center[Jt.crossAxisLine],Xr=se[Jt.crossAxisStart],Mr=se[Jt.crossAxisEnd],Ir=Sr(Zt[Jt.crossAxisStart],Zt[Jt.crossAxisEnd]),zr=Ir(Xr),qr=Ir(Mr);return!zr&&!qr?!0:zr?XrFr});return wt.length?wt.length===1?wt[0].descriptor.id:mi({pageBorderBox:se,draggable:Oe,candidates:wt}):null}var zn=function(se,Oe){return i(ut(se,Oe))},fn=function(se,Oe){var tt=se.frame;return tt?zn(Oe,tt.scroll.diff.value):Oe};function $n(Ue){var se=Ue.displaced,Oe=Ue.id;return Boolean(se.visible[Oe]||se.invisible[Oe])}function Cn(Ue){var se=Ue.draggable,Oe=Ue.closest,tt=Ue.inHomeList;return Oe?tt&&Oe.descriptor.index>se.descriptor.index?Oe.descriptor.index-1:Oe.descriptor.index:null}var ki=function(se){var Oe=se.pageBorderBoxWithDroppableScroll,tt=se.draggable,wt=se.destination,zt=se.insideDestination,Zt=se.last,Jt=se.viewport,Fr=se.afterCritical,Xr=wt.axis,Mr=Vr(wt.axis,tt.displaceBy),Ir=Mr.value,zr=Oe[Xr.start],qr=Oe[Xr.end],Ln=ot(tt,zt),xi=ve(Ln,function(_a){var Ji=_a.descriptor.id,Co=_a.page.borderBox.center[Xr.line],ja=mr(Ji,Fr),zo=$n({displaced:Zt,id:Ji});return ja?zo?qr<=Co:zrJi[Fr.start]+ja&&zrJi[Fr.start]-Mr+ja&&IrJi[Fr.start]+Mr+ja&&zrJi[Fr.start]+ja&&Ir=Zr)return Qr;var Zt=zt/Zr,Jt=Nr+bn*Zt,Fr=wt==="CANCEL"?Jt*hr:Jt;return Number(Fr.toFixed(2))},wr=function(se){var Oe=se.impact,tt=se.draggable,wt=se.dimensions,zt=se.viewport,Zt=se.afterCritical,Jt=wt.draggables,Fr=wt.droppables,Xr=Vn(Oe),Mr=Xr?Fr[Xr]:null,Ir=Fr[tt.descriptor.droppableId],zr=bi({impact:Oe,draggable:tt,draggables:Jt,afterCritical:Zt,droppable:Mr||Ir,viewport:zt}),qr=me(zr,tt.client.borderBox.center);return qr},an=function(se){var Oe=se.draggables,tt=se.reason,wt=se.lastImpact,zt=se.home,Zt=se.viewport,Jt=se.onLiftImpact;if(!wt.at||tt!=="DROP"){var Fr=Yn({draggables:Oe,impact:Jt,destination:zt,viewport:Zt,forceShouldAnimate:!0});return{impact:Fr,didDropInsideDroppable:!1}}if(wt.at.type==="REORDER")return{impact:wt,didDropInsideDroppable:!0};var Xr=Object(f.a)({},wt,{displaced:yr});return{impact:Xr,didDropInsideDroppable:!0}},Jr=function(se){var Oe=se.getState,tt=se.dispatch;return function(wt){return function(zt){if(zt.type!=="DROP"){wt(zt);return}var Zt=Oe(),Jt=zt.payload.reason;if(Zt.phase==="COLLECTING"){tt(wi({reason:Jt}));return}if(Zt.phase==="IDLE")return;var Fr=Zt.phase==="DROP_PENDING"&&Zt.isWaiting;Fr&&ge(!1),Zt.phase==="DRAGGING"||Zt.phase==="DROP_PENDING"||ge(!1);var Xr=Zt.critical,Mr=Zt.dimensions,Ir=Mr.draggables[Zt.critical.draggable.id],zr=an({reason:Jt,lastImpact:Zt.impact,afterCritical:Zt.afterCritical,onLiftImpact:Zt.onLiftImpact,home:Zt.dimensions.droppables[Zt.critical.droppable.id],viewport:Zt.viewport,draggables:Zt.dimensions.draggables}),qr=zr.impact,Ln=zr.didDropInsideDroppable,xi=Ln?Ht(qr):null,Wi=Ln?Kt(qr):null,_a={index:Xr.draggable.index,droppableId:Xr.droppable.id},Ji={draggableId:Ir.descriptor.id,type:Ir.descriptor.type,source:_a,reason:Jt,mode:Zt.movementMode,destination:xi,combine:Wi},Co=wr({impact:qr,draggable:Ir,dimensions:Mr,viewport:Zt.viewport,afterCritical:Zt.afterCritical}),ja={critical:Zt.critical,afterCritical:Zt.afterCritical,result:Ji,impact:qr},zo=!be(Zt.current.client.offset,Co)||Boolean(Ji.combine);if(!zo){tt(Zn({completed:ja}));return}var Eo=jr({current:Zt.current.client.offset,destination:Co,reason:Jt}),ko={newHomeClientOffset:Co,dropDuration:Eo,completed:ja};tt(Wn(ko))}}},kn=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Dn(Ue){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(Oe){if(Oe.target!==window&&Oe.target!==window.document)return;Ue()}}}function Xn(Ue){var se=Ue.onWindowScroll;function Oe(){se(kn())}var tt=H(Oe),wt=Dn(tt),zt=ce;function Zt(){return zt!==ce}function Jt(){Zt()&&ge(!1),zt=fe(window,[wt])}function Fr(){Zt()||ge(!1),tt.cancel(),zt(),zt=ce}return{start:Jt,stop:Fr,isActive:Zt}}var vi=function(se){return se.type==="DROP_COMPLETE"||se.type==="DROP_ANIMATE"||se.type==="FLUSH"},Li=function(se){var Oe=Xn({onWindowScroll:function(wt){se.dispatch($r({newScroll:wt}))}});return function(tt){return function(wt){!Oe.isActive()&&wt.type==="INITIAL_PUBLISH"&&Oe.start(),Oe.isActive()&&vi(wt)&&Oe.stop(),tt(wt)}}},ji=function(se){var Oe=!1,tt=!1,wt=setTimeout(function(){tt=!0}),zt=function(Jt){if(Oe)return;if(tt)return;Oe=!0,se(Jt),clearTimeout(wt)};return zt.wasCalled=function(){return Oe},zt},Sa=function(){var se=[],Oe=function(Zt){var Jt=rt(se,function(Mr){return Mr.timerId===Zt});Jt!==-1||ge(!1);var Fr=se.splice(Jt,1),Xr=Fr[0];Xr.callback()},tt=function(Zt){var Jt=setTimeout(function(){return Oe(Jt)}),Fr={timerId:Jt,callback:Zt};se.push(Fr)},wt=function(){if(!se.length)return;var Zt=[].concat(se);se.length=0,Zt.forEach(function(Jt){clearTimeout(Jt.timerId),Jt.callback()})};return{add:tt,flush:wt}},Ga=function(se,Oe){return se==null&&Oe==null?!0:se==null||Oe==null?!1:se.droppableId===Oe.droppableId&&se.index===Oe.index},Ya=function(se,Oe){return se==null&&Oe==null?!0:se==null||Oe==null?!1:se.draggableId===Oe.draggableId&&se.droppableId===Oe.droppableId},bo=function(se,Oe){if(se===Oe)return!0;var tt=se.draggable.id===Oe.draggable.id&&se.draggable.droppableId===Oe.draggable.droppableId&&se.draggable.type===Oe.draggable.type&&se.draggable.index===Oe.draggable.index,wt=se.droppable.id===Oe.droppable.id&&se.droppable.type===Oe.droppable.type;return tt&&wt},vo=function(se,Oe){ea(),Oe(),ya()},po=function(se,Oe){return{draggableId:se.draggable.id,type:se.droppable.type,source:{droppableId:se.droppable.id,index:se.draggable.index},mode:Oe}},Ha=function(se,Oe,tt,wt){if(!se){tt(wt(Oe));return}var zt=ji(tt),Zt={announce:zt};se(Oe,Zt),zt.wasCalled()||tt(wt(Oe))},Oa=function(se,Oe){var tt=Sa(),wt=null,zt=function(qr,Ln){wt&&ge(!1),vo("onBeforeCapture",function(){var xi=se().onBeforeCapture;if(xi){var Wi={draggableId:qr,mode:Ln};xi(Wi)}})},Zt=function(qr,Ln){wt&&ge(!1),vo("onBeforeDragStart",function(){var xi=se().onBeforeDragStart;xi&&xi(po(qr,Ln))})},Jt=function(qr,Ln){wt&&ge(!1);var xi=po(qr,Ln);wt={mode:Ln,lastCritical:qr,lastLocation:xi.source,lastCombine:null},tt.add(function(){vo("onDragStart",function(){return Ha(se().onDragStart,xi,Oe,pe.onDragStart)})})},Fr=function(qr,Ln){var xi=Ht(Ln),Wi=Kt(Ln);wt||ge(!1);var _a=!bo(qr,wt.lastCritical);_a&&(wt.lastCritical=qr);var Ji=!Ga(wt.lastLocation,xi);Ji&&(wt.lastLocation=xi);var Co=!Ya(wt.lastCombine,Wi);if(Co&&(wt.lastCombine=Wi),!_a&&!Ji&&!Co)return;var ja=Object(f.a)({},po(qr,wt.mode),{combine:Wi,destination:xi});tt.add(function(){vo("onDragUpdate",function(){return Ha(se().onDragUpdate,ja,Oe,pe.onDragUpdate)})})},Xr=function(){wt||ge(!1),tt.flush()},Mr=function(qr){wt||ge(!1),wt=null,vo("onDragEnd",function(){return Ha(se().onDragEnd,qr,Oe,pe.onDragEnd)})},Ir=function(){if(!wt)return;var qr=Object(f.a)({},po(wt.lastCritical,wt.mode),{combine:null,destination:null,reason:"CANCEL"});Mr(qr)};return{beforeCapture:zt,beforeStart:Zt,start:Jt,update:Fr,flush:Xr,drop:Mr,abort:Ir}},ao=function(se,Oe){var tt=Oa(se,Oe);return function(wt){return function(zt){return function(Zt){if(Zt.type==="BEFORE_INITIAL_CAPTURE"){tt.beforeCapture(Zt.payload.draggableId,Zt.payload.movementMode);return}if(Zt.type==="INITIAL_PUBLISH"){var Jt=Zt.payload.critical;tt.beforeStart(Jt,Zt.payload.movementMode),zt(Zt),tt.start(Jt,Zt.payload.movementMode);return}if(Zt.type==="DROP_COMPLETE"){var Fr=Zt.payload.completed.result;tt.flush(),zt(Zt),tt.drop(Fr);return}if(zt(Zt),Zt.type==="FLUSH"){tt.abort();return}var Xr=wt.getState();Xr.phase==="DRAGGING"&&tt.update(Xr.critical,Xr.impact)}}}},to=function(se){return function(Oe){return function(tt){if(tt.type!=="DROP_ANIMATION_FINISHED"){Oe(tt);return}var wt=se.getState();wt.phase==="DROP_ANIMATING"||ge(!1),se.dispatch(Zn({completed:wt.completed}))}}},Po=function(se){var Oe=null,tt=null;function wt(){tt&&(cancelAnimationFrame(tt),tt=null),Oe&&(Oe(),Oe=null)}return function(zt){return function(Zt){if((Zt.type==="FLUSH"||Zt.type==="DROP_COMPLETE"||Zt.type==="DROP_ANIMATION_FINISHED")&&wt(),zt(Zt),Zt.type!=="DROP_ANIMATE")return;var Jt={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Xr=se.getState();Xr.phase==="DROP_ANIMATING"&&se.dispatch(Di())}};tt=requestAnimationFrame(function(){tt=null,Oe=fe(window,[Jt])})}}},Yo=function(se){return function(){return function(Oe){return function(tt){(tt.type==="DROP_COMPLETE"||tt.type==="FLUSH"||tt.type==="DROP_ANIMATE")&&se.stopPublishing(),Oe(tt)}}}},ro=function(se){var Oe=!1;return function(){return function(tt){return function(wt){if(wt.type==="INITIAL_PUBLISH"){Oe=!0,se.tryRecordFocus(wt.payload.critical.draggable.id),tt(wt),se.tryRestoreFocusRecorded();return}if(tt(wt),!Oe)return;if(wt.type==="FLUSH"){Oe=!1,se.tryRestoreFocusRecorded();return}if(wt.type==="DROP_COMPLETE"){Oe=!1;var zt=wt.payload.completed.result;zt.combine&&se.tryShiftRecord(zt.draggableId,zt.combine.draggableId),se.tryRestoreFocusRecorded()}}}}},za=function(se){return se.type==="DROP_COMPLETE"||se.type==="DROP_ANIMATE"||se.type==="FLUSH"},Mo=function(se){return function(Oe){return function(tt){return function(wt){if(za(wt)){se.stop(),tt(wt);return}if(wt.type==="INITIAL_PUBLISH"){tt(wt);var zt=Oe.getState();zt.phase==="DRAGGING"||ge(!1),se.start(zt);return}tt(wt),se.scroll(Oe.getState())}}}},Io=function(se){return function(Oe){return function(tt){if(Oe(tt),tt.type!=="PUBLISH_WHILE_DRAGGING")return;var wt=se.getState();if(wt.phase!=="DROP_PENDING")return;if(wt.isWaiting)return;se.dispatch(ni({reason:wt.reason}))}}},ma=t.d,mo=function(se){var Oe=se.dimensionMarshal,tt=se.focusMarshal,wt=se.styleMarshal,zt=se.getResponders,Zt=se.announce,Jt=se.autoScroller;return Object(t.e)(so,ma(Object(t.a)(Ia(wt),Yo(Oe),ia(Oe),Jr,to,Po,Io,Mo(Jt),Li,ro(tt),ao(zt,Zt))))},ns=function(){return{additions:{},removals:{},modified:{}}};function Zo(Ue){var se=Ue.registry,Oe=Ue.callbacks,tt=ns(),wt=null,zt=function(){if(wt)return;Oe.collectionStarting(),wt=requestAnimationFrame(function(){wt=null,ea();var Mr=tt,Ir=Mr.additions,zr=Mr.removals,qr=Mr.modified,Ln=Object.keys(Ir).map(function(_a){return se.draggable.getById(_a).getDimension(De)}).sort(function(_a,Ji){return _a.descriptor.index-Ji.descriptor.index}),xi=Object.keys(qr).map(function(_a){var Ji=se.droppable.getById(_a),Co=Ji.callbacks.getScrollWhileDragging();return{droppableId:_a,scroll:Co}}),Wi={additions:Ln,removals:Object.keys(zr),modified:xi};tt=ns(),ya(),Oe.publish(Wi)})},Zt=function(Mr){var Ir=Mr.descriptor.id;tt.additions[Ir]=Mr,tt.modified[Mr.descriptor.droppableId]=!0,tt.removals[Ir]&&delete tt.removals[Ir],zt()},Jt=function(Mr){var Ir=Mr.descriptor;tt.removals[Ir.id]=!0,tt.modified[Ir.droppableId]=!0,tt.additions[Ir.id]&&delete tt.additions[Ir.id],zt()},Fr=function(){if(!wt)return;cancelAnimationFrame(wt),wt=null,tt=ns()};return{add:Zt,remove:Jt,stop:Fr}}var Oo=function(se){var Oe=se.scrollHeight,tt=se.scrollWidth,wt=se.height,zt=se.width,Zt=me({x:tt,y:Oe},{x:zt,y:wt}),Jt={x:Math.max(0,Zt.x),y:Math.max(0,Zt.y)};return Jt},Ro=function(){var se=document.documentElement;return se||ge(!1),se},hs=function(){var se=Ro(),Oe=Oo({scrollHeight:se.scrollHeight,scrollWidth:se.scrollWidth,width:se.clientWidth,height:se.clientHeight});return Oe},Uo=function(){var se=kn(),Oe=hs(),tt=se.y,wt=se.x,zt=Ro(),Zt=zt.clientWidth,Jt=zt.clientHeight,Fr=wt+Zt,Xr=tt+Jt,Mr=i({top:tt,left:wt,right:Fr,bottom:Xr}),Ir={frame:Mr,scroll:{initial:se,current:se,max:Oe,diff:{value:De,displacement:De}}};return Ir},Ja=function(se){var Oe=se.critical,tt=se.scrollOptions,wt=se.registry;ea();var zt=Uo(),Zt=zt.scroll.current,Jt=Oe.droppable,Fr=wt.droppable.getAllByType(Jt.type).map(function(zr){return zr.callbacks.getDimensionAndWatchScroll(Zt,tt)}),Xr=wt.draggable.getAllByType(Oe.draggable.type).map(function(zr){return zr.getDimension(Zt)}),Mr={draggables:He(Xr),droppables:jt(Fr)};ya();var Ir={dimensions:Mr,critical:Oe,viewport:zt};return Ir};function Es(Ue,se,Oe){if(Oe.descriptor.id===se.id)return!1;if(Oe.descriptor.type!==se.type)return!1;var tt=Ue.droppable.getById(Oe.descriptor.droppableId);return!(tt.descriptor.mode!=="virtual")}var oo=function(se,Oe){var tt=null,wt=Zo({callbacks:{publish:Oe.publishWhileDragging,collectionStarting:Oe.collectionStarting},registry:se}),zt=function(Ln,xi){if(se.droppable.exists(Ln)||ge(!1),!tt)return;Oe.updateDroppableIsEnabled({id:Ln,isEnabled:xi})},Zt=function(Ln,xi){if(!tt)return;se.droppable.exists(Ln)||ge(!1),Oe.updateDroppableIsCombineEnabled({id:Ln,isCombineEnabled:xi})},Jt=function(Ln,xi){if(!tt)return;se.droppable.exists(Ln)||ge(!1),Oe.updateDroppableScroll({id:Ln,newScroll:xi})},Fr=function(Ln,xi){if(!tt)return;se.droppable.getById(Ln).callbacks.scroll(xi)},Xr=function(){if(!tt)return;wt.stop();var Ln=tt.critical.droppable;se.droppable.getAllByType(Ln.type).forEach(function(xi){return xi.callbacks.dragStopped()}),tt.unsubscribe(),tt=null},Mr=function(Ln){tt||ge(!1);var xi=tt.critical.draggable;Ln.type==="ADDITION"&&(Es(se,xi,Ln.value)&&wt.add(Ln.value)),Ln.type==="REMOVAL"&&(Es(se,xi,Ln.value)&&wt.remove(Ln.value))},Ir=function(Ln){tt&&ge(!1);var xi=se.draggable.getById(Ln.draggableId),Wi=se.droppable.getById(xi.descriptor.droppableId),_a={draggable:xi.descriptor,droppable:Wi.descriptor},Ji=se.subscribe(Mr);return tt={critical:_a,unsubscribe:Ji},Ja({critical:_a,registry:se,scrollOptions:Ln.scrollOptions})},zr={updateDroppableIsEnabled:zt,updateDroppableIsCombineEnabled:Zt,scrollDroppable:Fr,updateDroppableScroll:Jt,startPublishing:Ir,stopPublishing:Xr};return zr},Fs=function(se,Oe){return se.phase==="IDLE"?!0:se.phase!=="DROP_ANIMATING"||se.completed.result.draggableId===Oe?!1:se.completed.result.reason==="DROP"},qo=function(se){window.scrollBy(se.x,se.y)},Ko=M(function(Ue){return kt(Ue).filter(function(se){return se.isEnabled?!!se.frame:!1})}),Vo=function(se,Oe){var tt=ve(Ko(Oe),function(wt){return wt.frame||ge(!1),zi(wt.frame.pageMarginBox)(se)});return tt},Go=function(se){var Oe=se.center,tt=se.destination,wt=se.droppables;if(tt){var zt=wt[tt];return zt.frame?zt:null}var Zt=Vo(Oe,wt);return Zt},os={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(se){return Math.pow(se,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Vs=function(se,Oe){var tt=se[Oe.size]*os.startFromPercentage,wt=se[Oe.size]*os.maxScrollAtPercentage,zt={startScrollingFrom:tt,maxScrollValueAt:wt};return zt},xs=function(se){var Oe=se.startOfRange,tt=se.endOfRange,wt=se.current,zt=tt-Oe;if(zt===0)return 0;var Zt=wt-Oe,Jt=Zt/zt;return Jt},Js=1,Bs=function(se,Oe){if(se>Oe.startScrollingFrom)return 0;if(se<=Oe.maxScrollValueAt)return os.maxPixelScroll;if(se===Oe.startScrollingFrom)return Js;var tt=xs({startOfRange:Oe.maxScrollValueAt,endOfRange:Oe.startScrollingFrom,current:se}),wt=1-tt,zt=os.maxPixelScroll*os.ease(wt);return Math.ceil(zt)},ks=os.durationDampening.accelerateAt,Jo=os.durationDampening.stopDampeningAt,bs=function(se,Oe){var tt=Oe,wt=Jo,zt=Date.now(),Zt=zt-tt;if(Zt>=Jo)return se;if(ZtOe.height,Zt=tt.width>Oe.width;return!Zt&&!zt?wt:Zt&&zt?null:{x:Zt?0:wt.x,y:zt?0:wt.y}},Ra=Pe(function(Ue){return Ue===0?0:Ue}),ho=function(se){var Oe=se.dragStartTime,tt=se.container,wt=se.subject,zt=se.center,Zt=se.shouldUseTimeDampening,Jt={top:zt.y-tt.top,right:tt.right-zt.x,bottom:tt.bottom-zt.y,left:zt.x-tt.left},Fr=Ls({container:tt,distanceToEdges:Jt,dragStartTime:Oe,axis:Kn,shouldUseTimeDampening:Zt}),Xr=Ls({container:tt,distanceToEdges:Jt,dragStartTime:Oe,axis:lt,shouldUseTimeDampening:Zt}),Mr=Ra({x:Xr,y:Fr});if(be(Mr,De))return null;var Ir=Ps({container:tt,subject:wt,proposedScroll:Mr});return Ir?be(Ir,De)?null:Ir:null},ll=Pe(function(Ue){return Ue===0?0:Ue>0?1:-1}),ml=function(){var Ue=function(Oe,tt){return Oe<0?Oe:Oe>tt?Oe-tt:0};return function(se){var Oe=se.current,tt=se.max,wt=se.change,zt=Ne(Oe,wt),Zt={x:Ue(zt.x,tt.x),y:Ue(zt.y,tt.y)};return be(Zt,De)?null:Zt}}(),wl=function(se){var Oe=se.max,tt=se.current,wt=se.change,zt={x:Math.max(tt.x,Oe.x),y:Math.max(tt.y,Oe.y)},Zt=ll(wt),Jt=ml({max:zt,current:tt,change:Zt});return Jt?Zt.x!==0&&Jt.x===0?!0:Zt.y!==0&&Jt.y===0:!0},El=function(se,Oe){return wl({current:se.scroll.current,max:se.scroll.max,change:Oe})},Xs=function(se,Oe){if(!El(se,Oe))return null;var tt=se.scroll.max,wt=se.scroll.current;return ml({current:wt,max:tt,change:Oe})},Xo=function(se,Oe){var tt=se.frame;return tt?wl({current:tt.scroll.current,max:tt.scroll.max,change:Oe}):!1},gl=function(se,Oe){var tt=se.frame;return tt&&Xo(se,Oe)?ml({current:tt.scroll.current,max:tt.scroll.max,change:Oe}):null},Vl=function(se){var Oe=se.viewport,tt=se.subject,wt=se.center,zt=se.dragStartTime,Zt=se.shouldUseTimeDampening,Jt=ho({dragStartTime:zt,container:Oe.frame,subject:tt,center:wt,shouldUseTimeDampening:Zt});return Jt&&El(Oe,Jt)?Jt:null},Us=function(se){var Oe=se.droppable,tt=se.subject,wt=se.center,zt=se.dragStartTime,Zt=se.shouldUseTimeDampening,Jt=Oe.frame;if(!Jt)return null;var Fr=ho({dragStartTime:zt,container:Jt.pageMarginBox,subject:tt,center:wt,shouldUseTimeDampening:Zt});return Fr&&Xo(Oe,Fr)?Fr:null},$s=function(se){var Oe=se.state,tt=se.dragStartTime,wt=se.shouldUseTimeDampening,zt=se.scrollWindow,Zt=se.scrollDroppable,Jt=Oe.current.page.borderBoxCenter,Fr=Oe.dimensions.draggables[Oe.critical.draggable.id],Xr=Fr.page.marginBox;if(Oe.isWindowScrollAllowed){var Mr=Oe.viewport,Ir=Vl({dragStartTime:tt,viewport:Mr,subject:Xr,center:Jt,shouldUseTimeDampening:wt});if(Ir){zt(Ir);return}}var zr=Go({center:Jt,destination:Vn(Oe.impact),droppables:Oe.dimensions.droppables});if(!zr)return;var qr=Us({dragStartTime:tt,droppable:zr,subject:Xr,center:Jt,shouldUseTimeDampening:wt});qr&&Zt(zr.descriptor.id,qr)},us=function(se){var Oe=se.scrollWindow,tt=se.scrollDroppable,wt=H(Oe),zt=H(tt),Zt=null,Jt=function(Ir){Zt||ge(!1);var zr=Zt,qr=zr.shouldUseTimeDampening,Ln=zr.dragStartTime;$s({state:Ir,scrollWindow:wt,scrollDroppable:zt,dragStartTime:Ln,shouldUseTimeDampening:qr})},Fr=function(Ir){ea(),Zt&&ge(!1);var zr=Date.now(),qr=!1,Ln=function(){qr=!0};$s({state:Ir,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Ln,scrollDroppable:Ln}),Zt={dragStartTime:zr,shouldUseTimeDampening:qr},ya(),qr&&Jt(Ir)},Xr=function(){if(!Zt)return;wt.cancel(),zt.cancel(),Zt=null};return{start:Fr,stop:Xr,scroll:Jt}},_l=function(se){var Oe=se.move,tt=se.scrollDroppable,wt=se.scrollWindow,zt=function(Mr,Ir){var zr=Ne(Mr.current.client.selection,Ir);Oe({client:zr})},Zt=function(Mr,Ir){if(!Xo(Mr,Ir))return Ir;var zr=gl(Mr,Ir);if(!zr)return tt(Mr.descriptor.id,Ir),null;var qr=me(Ir,zr);tt(Mr.descriptor.id,qr);var Ln=me(Ir,qr);return Ln},Jt=function(Mr,Ir,zr){if(!Mr)return zr;if(!El(Ir,zr))return zr;var qr=Xs(Ir,zr);if(!qr)return wt(zr),null;var Ln=me(zr,qr);wt(Ln);var xi=me(zr,Ln);return xi},Fr=function(Mr){var Ir=Mr.scrollJumpRequest;if(!Ir)return;var zr=Vn(Mr.impact);zr||ge(!1);var qr=Zt(Mr.dimensions.droppables[zr],Ir);if(!qr)return;var Ln=Mr.viewport,xi=Jt(Mr.isWindowScrollAllowed,Ln,qr);if(!xi)return;zt(Mr,xi)};return Fr},Kc=function(se){var Oe=se.scrollDroppable,tt=se.scrollWindow,wt=se.move,zt=us({scrollWindow:tt,scrollDroppable:Oe}),Zt=_l({move:wt,scrollWindow:tt,scrollDroppable:Oe}),Jt=function(Mr){if(Mr.phase!=="DRAGGING")return;if(Mr.movementMode==="FLUID"){zt.scroll(Mr);return}if(!Mr.scrollJumpRequest)return;Zt(Mr)},Fr={scroll:Jt,start:zt.start,stop:zt.stop};return Fr},fc="data-rbd",Bl=function(){var Ue=fc+"-drag-handle";return{base:Ue,draggableId:Ue+"-draggable-id",contextId:Ue+"-context-id"}}(),oc=function(){var Ue=fc+"-draggable";return{base:Ue,contextId:Ue+"-context-id",id:Ue+"-id"}}(),sc=function(){var Ue=fc+"-droppable";return{base:Ue,contextId:Ue+"-context-id",id:Ue+"-id"}}(),ql={contextId:fc+"-scroll-container-context-id"},Al=function(se){return function(Oe){return"["+Oe+'="'+se+'"]'}},zs=function(se,Oe){return se.map(function(tt){var wt=tt.styles[Oe];return wt?tt.selector+" { "+wt+" }":""}).join(" ")},Ml="pointer-events: none;",vl=function(se){var Oe=Al(se),tt=function(){var Fr=` + `},pe={dragHandleUsageInstructions:ee,onDragStart:Ge,onDragUpdate:Y,onDragEnd:we},De={x:0,y:0},Ne=function(se,Oe){return{x:se.x+Oe.x,y:se.y+Oe.y}},me=function(se,Oe){return{x:se.x-Oe.x,y:se.y-Oe.y}},be=function(se,Oe){return se.x===Oe.x&&se.y===Oe.y},Re=function(se){return{x:se.x!==0?-se.x:0,y:se.y!==0?-se.y:0}},it=function(se,Oe,tt){var wt;return tt===void 0&&(tt=0),wt={},wt[se]=Oe,wt[se==="x"?"y":"x"]=tt,wt},yt=function(se,Oe){return Math.sqrt(Math.pow(Oe.x-se.x,2)+Math.pow(Oe.y-se.y,2))},pt=function(se,Oe){return Math.min.apply(Math,Oe.map(function(tt){return yt(se,tt)}))},Pe=function(se){return function(Oe){return{x:se(Oe.x),y:se(Oe.y)}}},Nt=function(se,Oe){var tt=i({top:Math.max(Oe.top,se.top),right:Math.min(Oe.right,se.right),bottom:Math.min(Oe.bottom,se.bottom),left:Math.max(Oe.left,se.left)});return tt.width<=0||tt.height<=0?null:tt},ut=function(se,Oe){return{top:se.top+Oe.y,left:se.left+Oe.x,bottom:se.bottom+Oe.y,right:se.right+Oe.x}},Ft=function(se){return[{x:se.left,y:se.top},{x:se.right,y:se.top},{x:se.left,y:se.bottom},{x:se.right,y:se.bottom}]},Ut={top:0,right:0,bottom:0,left:0},Kt=function(se,Oe){return Oe?ut(se,Oe.scroll.diff.displacement):se},$t=function(se,Oe,tt){if(tt&&tt.increasedBy){var wt;return Object(f.a)({},se,(wt={},wt[Oe.end]=se[Oe.end]+tt.increasedBy[Oe.line],wt))}return se},or=function(se,Oe){return Oe&&Oe.shouldClipSubject?Nt(Oe.pageMarginBox,se):i(se)},ht=function(se){var Oe=se.page,tt=se.withPlaceholder,wt=se.axis,zt=se.frame,Zt=Kt(Oe.marginBox,zt),Jt=$t(Zt,wt,tt),Fr=or(Jt,zt);return{page:Oe,withPlaceholder:tt,active:Fr}},Ee=function(se,Oe){se.frame||ge(!1);var tt=se.frame,wt=me(Oe,tt.scroll.initial),zt=Re(wt),Zt=Object(f.a)({},tt,{scroll:{initial:tt.scroll.initial,current:Oe,diff:{value:wt,displacement:zt},max:tt.scroll.max}}),Jt=ht({page:se.subject.page,withPlaceholder:se.subject.withPlaceholder,axis:se.axis,frame:Zt}),Fr=Object(f.a)({},se,{frame:Zt,subject:Jt});return Fr};function de(Ue){return Number.isInteger?Number.isInteger(Ue):typeof Ue=="number"&&isFinite(Ue)&&Math.floor(Ue)===Ue}function qe(Ue){return Object.values?Object.values(Ue):Object.keys(Ue).map(function(se){return Ue[se]})}function rt(Ue,se){if(Ue.findIndex)return Ue.findIndex(se);for(var Oe=0;Oese.bottom,Mr=wt.leftse.right,Ir=Xr&&Mr;if(Ir)return!0;var zr=Xr&&Jt||Mr&&Zt;return zr}},cn=function(se){var Oe=Sr(se.top,se.bottom),tt=Sr(se.left,se.right);return function(wt){var zt=Oe(wt.top)&&Oe(wt.bottom)&&tt(wt.left)&&tt(wt.right);return zt}},Wn={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},lt={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},mt=function(se){return function(Oe){var tt=Sr(Oe.top,Oe.bottom),wt=Sr(Oe.left,Oe.right);return function(zt){return se===Wn?tt(zt.top)&&tt(zt.bottom):wt(zt.left)&&wt(zt.right)}}},Le=function(se,Oe){var tt=Oe.frame?Oe.frame.scroll.diff.displacement:De;return ut(se,tt)},ze=function(se,Oe,tt){return Oe.subject.active?tt(Oe.subject.active)(se):!1},$e=function(se,Oe,tt){return tt(Oe)(se)},gt=function(se){var Oe=se.target,tt=se.destination,wt=se.viewport,zt=se.withDroppableDisplacement,Zt=se.isVisibleThroughFrameFn,Jt=zt?Le(Oe,tt):Oe;return ze(Jt,tt,Zt)&&$e(Jt,wt,Zt)},ir=function(se){return gt(Object(f.a)({},se,{isVisibleThroughFrameFn:Tn}))},Xt=function(se){return gt(Object(f.a)({},se,{isVisibleThroughFrameFn:cn}))},er=function(se){return gt(Object(f.a)({},se,{isVisibleThroughFrameFn:mt(se.destination.axis)}))},Kr=function(se,Oe,tt){if(typeof tt=="boolean")return tt;if(!Oe)return!0;var wt=Oe.invisible,zt=Oe.visible;if(wt[se])return!1;var Zt=zt[se];return Zt?Zt.shouldAnimate:!0};function en(Ue,se){var Oe=Ue.page.marginBox,tt={top:se.point.y,right:0,bottom:0,left:se.point.x};return i(u(Oe,tt))}function Fn(Ue){var se=Ue.afterDragging,Oe=Ue.destination,tt=Ue.displacedBy,wt=Ue.viewport,zt=Ue.forceShouldAnimate,Zt=Ue.last;return se.reduce(function(Fr,Xr){var Mr=en(Xr,tt),Ir=Xr.descriptor.id;Fr.all.push(Ir);var zr=ir({target:Mr,destination:Oe,viewport:wt,withDroppableDisplacement:!0});if(!zr)return Fr.invisible[Xr.descriptor.id]=!0,Fr;var qr=Kr(Ir,Zt,zt),Ln={draggableId:Ir,shouldAnimate:qr};return Fr.visible[Ir]=Ln,Fr},{all:[],visible:{},invisible:{}})}function ar(Ue,se){if(!Ue.length)return 0;var Oe=Ue[Ue.length-1].descriptor.index;return se.inHomeList?Oe:Oe+1}function It(Ue){var se=Ue.insideDestination,Oe=Ue.inHomeList,tt=Ue.displacedBy,wt=Ue.destination,zt=ar(se,{inHomeList:Oe});return{displaced:yr,displacedBy:tt,at:{type:"REORDER",destination:{droppableId:wt.descriptor.id,index:zt}}}}function Ct(Ue){var se=Ue.draggable,Oe=Ue.insideDestination,tt=Ue.destination,wt=Ue.viewport,zt=Ue.displacedBy,Zt=Ue.last,Jt=Ue.index,Fr=Ue.forceShouldAnimate,Xr=Ze(se,tt);if(Jt==null)return It({insideDestination:Oe,inHomeList:Xr,displacedBy:zt,destination:tt});var Mr=ve(Oe,function(xi){return xi.descriptor.index===Jt});if(!Mr)return It({insideDestination:Oe,inHomeList:Xr,displacedBy:zt,destination:tt});var Ir=ot(se,Oe),zr=Oe.indexOf(Mr),qr=Ir.slice(zr),Ln=Fn({afterDragging:qr,destination:tt,displacedBy:zt,last:Zt,viewport:wt.frame,forceShouldAnimate:Fr});return{displaced:Ln,displacedBy:zt,at:{type:"REORDER",destination:{droppableId:tt.descriptor.id,index:Jt}}}}function mr(Ue,se){return Boolean(se.effected[Ue])}var gr=function(se){var Oe=se.isMovingForward,tt=se.destination,wt=se.draggables,zt=se.combine,Zt=se.afterCritical;if(!tt.isCombineEnabled)return null;var Jt=zt.draggableId,Fr=wt[Jt],Xr=Fr.descriptor.index,Mr=mr(Jt,Zt);return Mr?Oe?Xr:Xr-1:Oe?Xr+1:Xr},Mt=function(se){var Oe=se.isMovingForward,tt=se.isInHomeList,wt=se.insideDestination,zt=se.location;if(!wt.length)return null;var Zt=zt.index,Jt=Oe?Zt+1:Zt-1,Fr=wt[0].descriptor.index,Xr=wt[wt.length-1].descriptor.index,Mr=tt?Xr:Xr+1;return JtMr?null:Jt},rr=function(se){var Oe=se.isMovingForward,tt=se.isInHomeList,wt=se.draggable,zt=se.draggables,Zt=se.destination,Jt=se.insideDestination,Fr=se.previousImpact,Xr=se.viewport,Mr=se.afterCritical,Ir=Fr.at;if(Ir||ge(!1),Ir.type==="REORDER"){var zr=Mt({isMovingForward:Oe,isInHomeList:tt,location:Ir.destination,insideDestination:Jt});return zr==null?null:Ct({draggable:wt,insideDestination:Jt,destination:Zt,viewport:Xr,last:Fr.displaced,displacedBy:Fr.displacedBy,index:zr})}var qr=gr({isMovingForward:Oe,destination:Zt,displaced:Fr.displaced,draggables:zt,combine:Ir.combine,afterCritical:Mr});return qr==null?null:Ct({draggable:wt,insideDestination:Jt,destination:Zt,viewport:Xr,last:Fr.displaced,displacedBy:Fr.displacedBy,index:qr})},Dt=function(se){var Oe=se.displaced,tt=se.afterCritical,wt=se.combineWith,zt=se.displacedBy,Zt=Boolean(Oe.visible[wt]||Oe.invisible[wt]);return mr(wt,tt)?Zt?De:Re(zt.point):Zt?zt.point:De},tr=function(se){var Oe=se.afterCritical,tt=se.impact,wt=se.draggables,zt=Wt(tt);zt||ge(!1);var Zt=zt.draggableId,Jt=wt[Zt].page.borderBox.center,Fr=Dt({displaced:tt.displaced,afterCritical:Oe,combineWith:Zt,displacedBy:tt.displacedBy});return Ne(Jt,Fr)},Dr=function(se,Oe){return Oe.margin[se.start]+Oe.borderBox[se.size]/2},dr=function(se,Oe){return Oe.margin[se.end]+Oe.borderBox[se.size]/2},Tr=function(se,Oe,tt){return Oe[se.crossAxisStart]+tt.margin[se.crossAxisStart]+tt.borderBox[se.crossAxisSize]/2},vn=function(se){var Oe=se.axis,tt=se.moveRelativeTo,wt=se.isMoving;return it(Oe.line,tt.marginBox[Oe.end]+Dr(Oe,wt),Tr(Oe,tt.marginBox,wt))},on=function(se){var Oe=se.axis,tt=se.moveRelativeTo,wt=se.isMoving;return it(Oe.line,tt.marginBox[Oe.start]-dr(Oe,wt),Tr(Oe,tt.marginBox,wt))},Gn=function(se){var Oe=se.axis,tt=se.moveInto,wt=se.isMoving;return it(Oe.line,tt.contentBox[Oe.start]+Dr(Oe,wt),Tr(Oe,tt.contentBox,wt))},di=function(se){var Oe=se.impact,tt=se.draggable,wt=se.draggables,zt=se.droppable,Zt=se.afterCritical,Jt=at(zt.descriptor.id,wt),Fr=tt.page,Xr=zt.axis;if(!Jt.length)return Gn({axis:Xr,moveInto:zt.page,isMoving:Fr});var Mr=Oe.displaced,Ir=Oe.displacedBy,zr=Mr.all[0];if(zr){var qr=wt[zr];if(mr(zr,Zt))return on({axis:Xr,moveRelativeTo:qr.page,isMoving:Fr});var Ln=y(qr.page,Ir.point);return on({axis:Xr,moveRelativeTo:Ln,isMoving:Fr})}var xi=Jt[Jt.length-1];if(xi.descriptor.id===tt.descriptor.id)return Fr.borderBox.center;if(mr(xi.descriptor.id,Zt)){var Ki=y(xi.page,Re(Zt.displacedBy.point));return vn({axis:Xr,moveRelativeTo:Ki,isMoving:Fr})}return vn({axis:Xr,moveRelativeTo:xi.page,isMoving:Fr})},Ti=function(se,Oe){var tt=se.frame;return tt?Ne(Oe,tt.scroll.diff.displacement):Oe},Fi=function(se){var Oe=se.impact,tt=se.draggable,wt=se.droppable,zt=se.draggables,Zt=se.afterCritical,Jt=tt.page.borderBox.center,Fr=Oe.at;return wt&&Fr?Fr.type==="REORDER"?di({impact:Oe,draggable:tt,draggables:zt,droppable:wt,afterCritical:Zt}):tr({impact:Oe,draggables:zt,afterCritical:Zt}):Jt},la=function(se){var Oe=Fi(se),tt=se.droppable,wt=tt?Ti(tt,Oe):Oe;return wt},Ta=function(se,Oe){var tt=me(Oe,se.scroll.initial),wt=Re(tt),zt=i({top:Oe.y,bottom:Oe.y+se.frame.height,left:Oe.x,right:Oe.x+se.frame.width}),Zt={frame:zt,scroll:{initial:se.scroll.initial,max:se.scroll.max,current:Oe,diff:{value:tt,displacement:wt}}};return Zt};function dt(Ue,se){return Ue.map(function(Oe){return se[Oe]})}function Me(Ue,se){for(var Oe=0;Oe1?Ir.sort(function(zr,qr){return Bt(zr)[Fr.start]-Bt(qr)[Fr.start]})[0]:Mr.sort(function(zr,qr){var Ln=pt(tt,Ft(Bt(zr))),xi=pt(tt,Ft(Bt(qr)));return Ln!==xi?Ln-xi:Bt(zr)[Fr.start]-Bt(qr)[Fr.start]})[0]},nr=function(se,Oe){var tt=se.page.borderBox.center;return mr(se.descriptor.id,Oe)?me(tt,Oe.displacedBy.point):tt},Ur=function(se,Oe){var tt=se.page.borderBox;return mr(se.descriptor.id,Oe)?ut(tt,Re(Oe.displacedBy.point)):tt},Lr=function(se){var Oe=se.pageBorderBoxCenter,tt=se.viewport,wt=se.destination,zt=se.insideDestination,Zt=se.afterCritical,Jt=zt.filter(function(Fr){return Xt({target:Ur(Fr,Zt),destination:wt,viewport:tt.frame,withDroppableDisplacement:!0})}).sort(function(Fr,Xr){var Mr=yt(Oe,Ti(wt,nr(Fr,Zt))),Ir=yt(Oe,Ti(wt,nr(Xr,Zt)));return Mrse.left&&Ue.topse.top}function mi(Ue){var se=Ue.pageBorderBox,Oe=Ue.draggable,tt=Ue.candidates,wt=Oe.page.borderBox.center,zt=tt.map(function(Zt){var Jt=Zt.axis,Fr=it(Zt.axis.line,se.center[Jt.line],Zt.page.borderBox.center[Jt.crossAxisLine]);return{id:Zt.descriptor.id,distance:yt(wt,Fr)}}).sort(function(Zt,Jt){return Jt.distance-Zt.distance});return zt[0]?zt[0].id:null}function va(Ue){var se=Ue.pageBorderBox,Oe=Ue.draggable,tt=Ue.droppables,wt=kt(tt).filter(function(zt){if(!zt.isEnabled)return!1;var Zt=zt.subject.active;if(!Zt)return!1;if(!Yi(se,Zt))return!1;if(zi(Zt)(se.center))return!0;var Jt=zt.axis,Fr=Zt.center[Jt.crossAxisLine],Xr=se[Jt.crossAxisStart],Mr=se[Jt.crossAxisEnd],Ir=Sr(Zt[Jt.crossAxisStart],Zt[Jt.crossAxisEnd]),zr=Ir(Xr),qr=Ir(Mr);return!zr&&!qr?!0:zr?XrFr});return wt.length?wt.length===1?wt[0].descriptor.id:mi({pageBorderBox:se,draggable:Oe,candidates:wt}):null}var zn=function(se,Oe){return i(ut(se,Oe))},fn=function(se,Oe){var tt=se.frame;return tt?zn(Oe,tt.scroll.diff.value):Oe};function $n(Ue){var se=Ue.displaced,Oe=Ue.id;return Boolean(se.visible[Oe]||se.invisible[Oe])}function Cn(Ue){var se=Ue.draggable,Oe=Ue.closest,tt=Ue.inHomeList;return Oe?tt&&Oe.descriptor.index>se.descriptor.index?Oe.descriptor.index-1:Oe.descriptor.index:null}var ki=function(se){var Oe=se.pageBorderBoxWithDroppableScroll,tt=se.draggable,wt=se.destination,zt=se.insideDestination,Zt=se.last,Jt=se.viewport,Fr=se.afterCritical,Xr=wt.axis,Mr=Vr(wt.axis,tt.displaceBy),Ir=Mr.value,zr=Oe[Xr.start],qr=Oe[Xr.end],Ln=ot(tt,zt),xi=ve(Ln,function(_a){var Ji=_a.descriptor.id,Co=_a.page.borderBox.center[Xr.line],ja=mr(Ji,Fr),zo=$n({displaced:Zt,id:Ji});return ja?zo?qr<=Co:zrJi[Fr.start]+ja&&zrJi[Fr.start]-Mr+ja&&IrJi[Fr.start]+Mr+ja&&zrJi[Fr.start]+ja&&Ir=Zr)return Qr;var Zt=zt/Zr,Jt=Nr+bn*Zt,Fr=wt==="CANCEL"?Jt*hr:Jt;return Number(Fr.toFixed(2))},wr=function(se){var Oe=se.impact,tt=se.draggable,wt=se.dimensions,zt=se.viewport,Zt=se.afterCritical,Jt=wt.draggables,Fr=wt.droppables,Xr=Vn(Oe),Mr=Xr?Fr[Xr]:null,Ir=Fr[tt.descriptor.droppableId],zr=bi({impact:Oe,draggable:tt,draggables:Jt,afterCritical:Zt,droppable:Mr||Ir,viewport:zt}),qr=me(zr,tt.client.borderBox.center);return qr},an=function(se){var Oe=se.draggables,tt=se.reason,wt=se.lastImpact,zt=se.home,Zt=se.viewport,Jt=se.onLiftImpact;if(!wt.at||tt!=="DROP"){var Fr=Yn({draggables:Oe,impact:Jt,destination:zt,viewport:Zt,forceShouldAnimate:!0});return{impact:Fr,didDropInsideDroppable:!1}}if(wt.at.type==="REORDER")return{impact:wt,didDropInsideDroppable:!0};var Xr=Object(f.a)({},wt,{displaced:yr});return{impact:Xr,didDropInsideDroppable:!0}},Jr=function(se){var Oe=se.getState,tt=se.dispatch;return function(wt){return function(zt){if(zt.type!=="DROP"){wt(zt);return}var Zt=Oe(),Jt=zt.payload.reason;if(Zt.phase==="COLLECTING"){tt(wi({reason:Jt}));return}if(Zt.phase==="IDLE")return;var Fr=Zt.phase==="DROP_PENDING"&&Zt.isWaiting;Fr&&ge(!1),Zt.phase==="DRAGGING"||Zt.phase==="DROP_PENDING"||ge(!1);var Xr=Zt.critical,Mr=Zt.dimensions,Ir=Mr.draggables[Zt.critical.draggable.id],zr=an({reason:Jt,lastImpact:Zt.impact,afterCritical:Zt.afterCritical,onLiftImpact:Zt.onLiftImpact,home:Zt.dimensions.droppables[Zt.critical.droppable.id],viewport:Zt.viewport,draggables:Zt.dimensions.draggables}),qr=zr.impact,Ln=zr.didDropInsideDroppable,xi=Ln?Ht(qr):null,Ki=Ln?Wt(qr):null,_a={index:Xr.draggable.index,droppableId:Xr.droppable.id},Ji={draggableId:Ir.descriptor.id,type:Ir.descriptor.type,source:_a,reason:Jt,mode:Zt.movementMode,destination:xi,combine:Ki},Co=wr({impact:qr,draggable:Ir,dimensions:Mr,viewport:Zt.viewport,afterCritical:Zt.afterCritical}),ja={critical:Zt.critical,afterCritical:Zt.afterCritical,result:Ji,impact:qr},zo=!be(Zt.current.client.offset,Co)||Boolean(Ji.combine);if(!zo){tt(Zn({completed:ja}));return}var Eo=jr({current:Zt.current.client.offset,destination:Co,reason:Jt}),ko={newHomeClientOffset:Co,dropDuration:Eo,completed:ja};tt(Kn(ko))}}},kn=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Dn(Ue){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(Oe){if(Oe.target!==window&&Oe.target!==window.document)return;Ue()}}}function Xn(Ue){var se=Ue.onWindowScroll;function Oe(){se(kn())}var tt=H(Oe),wt=Dn(tt),zt=ce;function Zt(){return zt!==ce}function Jt(){Zt()&&ge(!1),zt=fe(window,[wt])}function Fr(){Zt()||ge(!1),tt.cancel(),zt(),zt=ce}return{start:Jt,stop:Fr,isActive:Zt}}var vi=function(se){return se.type==="DROP_COMPLETE"||se.type==="DROP_ANIMATE"||se.type==="FLUSH"},Li=function(se){var Oe=Xn({onWindowScroll:function(wt){se.dispatch($r({newScroll:wt}))}});return function(tt){return function(wt){!Oe.isActive()&&wt.type==="INITIAL_PUBLISH"&&Oe.start(),Oe.isActive()&&vi(wt)&&Oe.stop(),tt(wt)}}},ji=function(se){var Oe=!1,tt=!1,wt=setTimeout(function(){tt=!0}),zt=function(Jt){if(Oe)return;if(tt)return;Oe=!0,se(Jt),clearTimeout(wt)};return zt.wasCalled=function(){return Oe},zt},Sa=function(){var se=[],Oe=function(Zt){var Jt=rt(se,function(Mr){return Mr.timerId===Zt});Jt!==-1||ge(!1);var Fr=se.splice(Jt,1),Xr=Fr[0];Xr.callback()},tt=function(Zt){var Jt=setTimeout(function(){return Oe(Jt)}),Fr={timerId:Jt,callback:Zt};se.push(Fr)},wt=function(){if(!se.length)return;var Zt=[].concat(se);se.length=0,Zt.forEach(function(Jt){clearTimeout(Jt.timerId),Jt.callback()})};return{add:tt,flush:wt}},Ga=function(se,Oe){return se==null&&Oe==null?!0:se==null||Oe==null?!1:se.droppableId===Oe.droppableId&&se.index===Oe.index},Ya=function(se,Oe){return se==null&&Oe==null?!0:se==null||Oe==null?!1:se.draggableId===Oe.draggableId&&se.droppableId===Oe.droppableId},bo=function(se,Oe){if(se===Oe)return!0;var tt=se.draggable.id===Oe.draggable.id&&se.draggable.droppableId===Oe.draggable.droppableId&&se.draggable.type===Oe.draggable.type&&se.draggable.index===Oe.draggable.index,wt=se.droppable.id===Oe.droppable.id&&se.droppable.type===Oe.droppable.type;return tt&&wt},vo=function(se,Oe){ea(),Oe(),ya()},po=function(se,Oe){return{draggableId:se.draggable.id,type:se.droppable.type,source:{droppableId:se.droppable.id,index:se.draggable.index},mode:Oe}},Ha=function(se,Oe,tt,wt){if(!se){tt(wt(Oe));return}var zt=ji(tt),Zt={announce:zt};se(Oe,Zt),zt.wasCalled()||tt(wt(Oe))},Oa=function(se,Oe){var tt=Sa(),wt=null,zt=function(qr,Ln){wt&&ge(!1),vo("onBeforeCapture",function(){var xi=se().onBeforeCapture;if(xi){var Ki={draggableId:qr,mode:Ln};xi(Ki)}})},Zt=function(qr,Ln){wt&&ge(!1),vo("onBeforeDragStart",function(){var xi=se().onBeforeDragStart;xi&&xi(po(qr,Ln))})},Jt=function(qr,Ln){wt&&ge(!1);var xi=po(qr,Ln);wt={mode:Ln,lastCritical:qr,lastLocation:xi.source,lastCombine:null},tt.add(function(){vo("onDragStart",function(){return Ha(se().onDragStart,xi,Oe,pe.onDragStart)})})},Fr=function(qr,Ln){var xi=Ht(Ln),Ki=Wt(Ln);wt||ge(!1);var _a=!bo(qr,wt.lastCritical);_a&&(wt.lastCritical=qr);var Ji=!Ga(wt.lastLocation,xi);Ji&&(wt.lastLocation=xi);var Co=!Ya(wt.lastCombine,Ki);if(Co&&(wt.lastCombine=Ki),!_a&&!Ji&&!Co)return;var ja=Object(f.a)({},po(qr,wt.mode),{combine:Ki,destination:xi});tt.add(function(){vo("onDragUpdate",function(){return Ha(se().onDragUpdate,ja,Oe,pe.onDragUpdate)})})},Xr=function(){wt||ge(!1),tt.flush()},Mr=function(qr){wt||ge(!1),wt=null,vo("onDragEnd",function(){return Ha(se().onDragEnd,qr,Oe,pe.onDragEnd)})},Ir=function(){if(!wt)return;var qr=Object(f.a)({},po(wt.lastCritical,wt.mode),{combine:null,destination:null,reason:"CANCEL"});Mr(qr)};return{beforeCapture:zt,beforeStart:Zt,start:Jt,update:Fr,flush:Xr,drop:Mr,abort:Ir}},ao=function(se,Oe){var tt=Oa(se,Oe);return function(wt){return function(zt){return function(Zt){if(Zt.type==="BEFORE_INITIAL_CAPTURE"){tt.beforeCapture(Zt.payload.draggableId,Zt.payload.movementMode);return}if(Zt.type==="INITIAL_PUBLISH"){var Jt=Zt.payload.critical;tt.beforeStart(Jt,Zt.payload.movementMode),zt(Zt),tt.start(Jt,Zt.payload.movementMode);return}if(Zt.type==="DROP_COMPLETE"){var Fr=Zt.payload.completed.result;tt.flush(),zt(Zt),tt.drop(Fr);return}if(zt(Zt),Zt.type==="FLUSH"){tt.abort();return}var Xr=wt.getState();Xr.phase==="DRAGGING"&&tt.update(Xr.critical,Xr.impact)}}}},to=function(se){return function(Oe){return function(tt){if(tt.type!=="DROP_ANIMATION_FINISHED"){Oe(tt);return}var wt=se.getState();wt.phase==="DROP_ANIMATING"||ge(!1),se.dispatch(Zn({completed:wt.completed}))}}},Po=function(se){var Oe=null,tt=null;function wt(){tt&&(cancelAnimationFrame(tt),tt=null),Oe&&(Oe(),Oe=null)}return function(zt){return function(Zt){if((Zt.type==="FLUSH"||Zt.type==="DROP_COMPLETE"||Zt.type==="DROP_ANIMATION_FINISHED")&&wt(),zt(Zt),Zt.type!=="DROP_ANIMATE")return;var Jt={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Xr=se.getState();Xr.phase==="DROP_ANIMATING"&&se.dispatch(Di())}};tt=requestAnimationFrame(function(){tt=null,Oe=fe(window,[Jt])})}}},Yo=function(se){return function(){return function(Oe){return function(tt){(tt.type==="DROP_COMPLETE"||tt.type==="FLUSH"||tt.type==="DROP_ANIMATE")&&se.stopPublishing(),Oe(tt)}}}},ro=function(se){var Oe=!1;return function(){return function(tt){return function(wt){if(wt.type==="INITIAL_PUBLISH"){Oe=!0,se.tryRecordFocus(wt.payload.critical.draggable.id),tt(wt),se.tryRestoreFocusRecorded();return}if(tt(wt),!Oe)return;if(wt.type==="FLUSH"){Oe=!1,se.tryRestoreFocusRecorded();return}if(wt.type==="DROP_COMPLETE"){Oe=!1;var zt=wt.payload.completed.result;zt.combine&&se.tryShiftRecord(zt.draggableId,zt.combine.draggableId),se.tryRestoreFocusRecorded()}}}}},za=function(se){return se.type==="DROP_COMPLETE"||se.type==="DROP_ANIMATE"||se.type==="FLUSH"},Mo=function(se){return function(Oe){return function(tt){return function(wt){if(za(wt)){se.stop(),tt(wt);return}if(wt.type==="INITIAL_PUBLISH"){tt(wt);var zt=Oe.getState();zt.phase==="DRAGGING"||ge(!1),se.start(zt);return}tt(wt),se.scroll(Oe.getState())}}}},Io=function(se){return function(Oe){return function(tt){if(Oe(tt),tt.type!=="PUBLISH_WHILE_DRAGGING")return;var wt=se.getState();if(wt.phase!=="DROP_PENDING")return;if(wt.isWaiting)return;se.dispatch(ni({reason:wt.reason}))}}},ma=t.d,mo=function(se){var Oe=se.dimensionMarshal,tt=se.focusMarshal,wt=se.styleMarshal,zt=se.getResponders,Zt=se.announce,Jt=se.autoScroller;return Object(t.e)(so,ma(Object(t.a)(Ia(wt),Yo(Oe),ia(Oe),Jr,to,Po,Io,Mo(Jt),Li,ro(tt),ao(zt,Zt))))},ns=function(){return{additions:{},removals:{},modified:{}}};function Zo(Ue){var se=Ue.registry,Oe=Ue.callbacks,tt=ns(),wt=null,zt=function(){if(wt)return;Oe.collectionStarting(),wt=requestAnimationFrame(function(){wt=null,ea();var Mr=tt,Ir=Mr.additions,zr=Mr.removals,qr=Mr.modified,Ln=Object.keys(Ir).map(function(_a){return se.draggable.getById(_a).getDimension(De)}).sort(function(_a,Ji){return _a.descriptor.index-Ji.descriptor.index}),xi=Object.keys(qr).map(function(_a){var Ji=se.droppable.getById(_a),Co=Ji.callbacks.getScrollWhileDragging();return{droppableId:_a,scroll:Co}}),Ki={additions:Ln,removals:Object.keys(zr),modified:xi};tt=ns(),ya(),Oe.publish(Ki)})},Zt=function(Mr){var Ir=Mr.descriptor.id;tt.additions[Ir]=Mr,tt.modified[Mr.descriptor.droppableId]=!0,tt.removals[Ir]&&delete tt.removals[Ir],zt()},Jt=function(Mr){var Ir=Mr.descriptor;tt.removals[Ir.id]=!0,tt.modified[Ir.droppableId]=!0,tt.additions[Ir.id]&&delete tt.additions[Ir.id],zt()},Fr=function(){if(!wt)return;cancelAnimationFrame(wt),wt=null,tt=ns()};return{add:Zt,remove:Jt,stop:Fr}}var Oo=function(se){var Oe=se.scrollHeight,tt=se.scrollWidth,wt=se.height,zt=se.width,Zt=me({x:tt,y:Oe},{x:zt,y:wt}),Jt={x:Math.max(0,Zt.x),y:Math.max(0,Zt.y)};return Jt},Ro=function(){var se=document.documentElement;return se||ge(!1),se},hs=function(){var se=Ro(),Oe=Oo({scrollHeight:se.scrollHeight,scrollWidth:se.scrollWidth,width:se.clientWidth,height:se.clientHeight});return Oe},Uo=function(){var se=kn(),Oe=hs(),tt=se.y,wt=se.x,zt=Ro(),Zt=zt.clientWidth,Jt=zt.clientHeight,Fr=wt+Zt,Xr=tt+Jt,Mr=i({top:tt,left:wt,right:Fr,bottom:Xr}),Ir={frame:Mr,scroll:{initial:se,current:se,max:Oe,diff:{value:De,displacement:De}}};return Ir},Ja=function(se){var Oe=se.critical,tt=se.scrollOptions,wt=se.registry;ea();var zt=Uo(),Zt=zt.scroll.current,Jt=Oe.droppable,Fr=wt.droppable.getAllByType(Jt.type).map(function(zr){return zr.callbacks.getDimensionAndWatchScroll(Zt,tt)}),Xr=wt.draggable.getAllByType(Oe.draggable.type).map(function(zr){return zr.getDimension(Zt)}),Mr={draggables:He(Xr),droppables:jt(Fr)};ya();var Ir={dimensions:Mr,critical:Oe,viewport:zt};return Ir};function Es(Ue,se,Oe){if(Oe.descriptor.id===se.id)return!1;if(Oe.descriptor.type!==se.type)return!1;var tt=Ue.droppable.getById(Oe.descriptor.droppableId);return!(tt.descriptor.mode!=="virtual")}var oo=function(se,Oe){var tt=null,wt=Zo({callbacks:{publish:Oe.publishWhileDragging,collectionStarting:Oe.collectionStarting},registry:se}),zt=function(Ln,xi){if(se.droppable.exists(Ln)||ge(!1),!tt)return;Oe.updateDroppableIsEnabled({id:Ln,isEnabled:xi})},Zt=function(Ln,xi){if(!tt)return;se.droppable.exists(Ln)||ge(!1),Oe.updateDroppableIsCombineEnabled({id:Ln,isCombineEnabled:xi})},Jt=function(Ln,xi){if(!tt)return;se.droppable.exists(Ln)||ge(!1),Oe.updateDroppableScroll({id:Ln,newScroll:xi})},Fr=function(Ln,xi){if(!tt)return;se.droppable.getById(Ln).callbacks.scroll(xi)},Xr=function(){if(!tt)return;wt.stop();var Ln=tt.critical.droppable;se.droppable.getAllByType(Ln.type).forEach(function(xi){return xi.callbacks.dragStopped()}),tt.unsubscribe(),tt=null},Mr=function(Ln){tt||ge(!1);var xi=tt.critical.draggable;Ln.type==="ADDITION"&&(Es(se,xi,Ln.value)&&wt.add(Ln.value)),Ln.type==="REMOVAL"&&(Es(se,xi,Ln.value)&&wt.remove(Ln.value))},Ir=function(Ln){tt&&ge(!1);var xi=se.draggable.getById(Ln.draggableId),Ki=se.droppable.getById(xi.descriptor.droppableId),_a={draggable:xi.descriptor,droppable:Ki.descriptor},Ji=se.subscribe(Mr);return tt={critical:_a,unsubscribe:Ji},Ja({critical:_a,registry:se,scrollOptions:Ln.scrollOptions})},zr={updateDroppableIsEnabled:zt,updateDroppableIsCombineEnabled:Zt,scrollDroppable:Fr,updateDroppableScroll:Jt,startPublishing:Ir,stopPublishing:Xr};return zr},Fs=function(se,Oe){return se.phase==="IDLE"?!0:se.phase!=="DROP_ANIMATING"||se.completed.result.draggableId===Oe?!1:se.completed.result.reason==="DROP"},qo=function(se){window.scrollBy(se.x,se.y)},Wo=M(function(Ue){return kt(Ue).filter(function(se){return se.isEnabled?!!se.frame:!1})}),Vo=function(se,Oe){var tt=ve(Wo(Oe),function(wt){return wt.frame||ge(!1),zi(wt.frame.pageMarginBox)(se)});return tt},Go=function(se){var Oe=se.center,tt=se.destination,wt=se.droppables;if(tt){var zt=wt[tt];return zt.frame?zt:null}var Zt=Vo(Oe,wt);return Zt},os={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(se){return Math.pow(se,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Vs=function(se,Oe){var tt=se[Oe.size]*os.startFromPercentage,wt=se[Oe.size]*os.maxScrollAtPercentage,zt={startScrollingFrom:tt,maxScrollValueAt:wt};return zt},xs=function(se){var Oe=se.startOfRange,tt=se.endOfRange,wt=se.current,zt=tt-Oe;if(zt===0)return 0;var Zt=wt-Oe,Jt=Zt/zt;return Jt},Js=1,Bs=function(se,Oe){if(se>Oe.startScrollingFrom)return 0;if(se<=Oe.maxScrollValueAt)return os.maxPixelScroll;if(se===Oe.startScrollingFrom)return Js;var tt=xs({startOfRange:Oe.maxScrollValueAt,endOfRange:Oe.startScrollingFrom,current:se}),wt=1-tt,zt=os.maxPixelScroll*os.ease(wt);return Math.ceil(zt)},ks=os.durationDampening.accelerateAt,Jo=os.durationDampening.stopDampeningAt,bs=function(se,Oe){var tt=Oe,wt=Jo,zt=Date.now(),Zt=zt-tt;if(Zt>=Jo)return se;if(ZtOe.height,Zt=tt.width>Oe.width;return!Zt&&!zt?wt:Zt&&zt?null:{x:Zt?0:wt.x,y:zt?0:wt.y}},Ra=Pe(function(Ue){return Ue===0?0:Ue}),ho=function(se){var Oe=se.dragStartTime,tt=se.container,wt=se.subject,zt=se.center,Zt=se.shouldUseTimeDampening,Jt={top:zt.y-tt.top,right:tt.right-zt.x,bottom:tt.bottom-zt.y,left:zt.x-tt.left},Fr=Ls({container:tt,distanceToEdges:Jt,dragStartTime:Oe,axis:Wn,shouldUseTimeDampening:Zt}),Xr=Ls({container:tt,distanceToEdges:Jt,dragStartTime:Oe,axis:lt,shouldUseTimeDampening:Zt}),Mr=Ra({x:Xr,y:Fr});if(be(Mr,De))return null;var Ir=Ps({container:tt,subject:wt,proposedScroll:Mr});return Ir?be(Ir,De)?null:Ir:null},ll=Pe(function(Ue){return Ue===0?0:Ue>0?1:-1}),ml=function(){var Ue=function(Oe,tt){return Oe<0?Oe:Oe>tt?Oe-tt:0};return function(se){var Oe=se.current,tt=se.max,wt=se.change,zt=Ne(Oe,wt),Zt={x:Ue(zt.x,tt.x),y:Ue(zt.y,tt.y)};return be(Zt,De)?null:Zt}}(),wl=function(se){var Oe=se.max,tt=se.current,wt=se.change,zt={x:Math.max(tt.x,Oe.x),y:Math.max(tt.y,Oe.y)},Zt=ll(wt),Jt=ml({max:zt,current:tt,change:Zt});return Jt?Zt.x!==0&&Jt.x===0?!0:Zt.y!==0&&Jt.y===0:!0},El=function(se,Oe){return wl({current:se.scroll.current,max:se.scroll.max,change:Oe})},Xs=function(se,Oe){if(!El(se,Oe))return null;var tt=se.scroll.max,wt=se.scroll.current;return ml({current:wt,max:tt,change:Oe})},Xo=function(se,Oe){var tt=se.frame;return tt?wl({current:tt.scroll.current,max:tt.scroll.max,change:Oe}):!1},gl=function(se,Oe){var tt=se.frame;return tt&&Xo(se,Oe)?ml({current:tt.scroll.current,max:tt.scroll.max,change:Oe}):null},Vl=function(se){var Oe=se.viewport,tt=se.subject,wt=se.center,zt=se.dragStartTime,Zt=se.shouldUseTimeDampening,Jt=ho({dragStartTime:zt,container:Oe.frame,subject:tt,center:wt,shouldUseTimeDampening:Zt});return Jt&&El(Oe,Jt)?Jt:null},Us=function(se){var Oe=se.droppable,tt=se.subject,wt=se.center,zt=se.dragStartTime,Zt=se.shouldUseTimeDampening,Jt=Oe.frame;if(!Jt)return null;var Fr=ho({dragStartTime:zt,container:Jt.pageMarginBox,subject:tt,center:wt,shouldUseTimeDampening:Zt});return Fr&&Xo(Oe,Fr)?Fr:null},$s=function(se){var Oe=se.state,tt=se.dragStartTime,wt=se.shouldUseTimeDampening,zt=se.scrollWindow,Zt=se.scrollDroppable,Jt=Oe.current.page.borderBoxCenter,Fr=Oe.dimensions.draggables[Oe.critical.draggable.id],Xr=Fr.page.marginBox;if(Oe.isWindowScrollAllowed){var Mr=Oe.viewport,Ir=Vl({dragStartTime:tt,viewport:Mr,subject:Xr,center:Jt,shouldUseTimeDampening:wt});if(Ir){zt(Ir);return}}var zr=Go({center:Jt,destination:Vn(Oe.impact),droppables:Oe.dimensions.droppables});if(!zr)return;var qr=Us({dragStartTime:tt,droppable:zr,subject:Xr,center:Jt,shouldUseTimeDampening:wt});qr&&Zt(zr.descriptor.id,qr)},us=function(se){var Oe=se.scrollWindow,tt=se.scrollDroppable,wt=H(Oe),zt=H(tt),Zt=null,Jt=function(Ir){Zt||ge(!1);var zr=Zt,qr=zr.shouldUseTimeDampening,Ln=zr.dragStartTime;$s({state:Ir,scrollWindow:wt,scrollDroppable:zt,dragStartTime:Ln,shouldUseTimeDampening:qr})},Fr=function(Ir){ea(),Zt&&ge(!1);var zr=Date.now(),qr=!1,Ln=function(){qr=!0};$s({state:Ir,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Ln,scrollDroppable:Ln}),Zt={dragStartTime:zr,shouldUseTimeDampening:qr},ya(),qr&&Jt(Ir)},Xr=function(){if(!Zt)return;wt.cancel(),zt.cancel(),Zt=null};return{start:Fr,stop:Xr,scroll:Jt}},_l=function(se){var Oe=se.move,tt=se.scrollDroppable,wt=se.scrollWindow,zt=function(Mr,Ir){var zr=Ne(Mr.current.client.selection,Ir);Oe({client:zr})},Zt=function(Mr,Ir){if(!Xo(Mr,Ir))return Ir;var zr=gl(Mr,Ir);if(!zr)return tt(Mr.descriptor.id,Ir),null;var qr=me(Ir,zr);tt(Mr.descriptor.id,qr);var Ln=me(Ir,qr);return Ln},Jt=function(Mr,Ir,zr){if(!Mr)return zr;if(!El(Ir,zr))return zr;var qr=Xs(Ir,zr);if(!qr)return wt(zr),null;var Ln=me(zr,qr);wt(Ln);var xi=me(zr,Ln);return xi},Fr=function(Mr){var Ir=Mr.scrollJumpRequest;if(!Ir)return;var zr=Vn(Mr.impact);zr||ge(!1);var qr=Zt(Mr.dimensions.droppables[zr],Ir);if(!qr)return;var Ln=Mr.viewport,xi=Jt(Mr.isWindowScrollAllowed,Ln,qr);if(!xi)return;zt(Mr,xi)};return Fr},Wc=function(se){var Oe=se.scrollDroppable,tt=se.scrollWindow,wt=se.move,zt=us({scrollWindow:tt,scrollDroppable:Oe}),Zt=_l({move:wt,scrollWindow:tt,scrollDroppable:Oe}),Jt=function(Mr){if(Mr.phase!=="DRAGGING")return;if(Mr.movementMode==="FLUID"){zt.scroll(Mr);return}if(!Mr.scrollJumpRequest)return;Zt(Mr)},Fr={scroll:Jt,start:zt.start,stop:zt.stop};return Fr},fc="data-rbd",Bl=function(){var Ue=fc+"-drag-handle";return{base:Ue,draggableId:Ue+"-draggable-id",contextId:Ue+"-context-id"}}(),oc=function(){var Ue=fc+"-draggable";return{base:Ue,contextId:Ue+"-context-id",id:Ue+"-id"}}(),sc=function(){var Ue=fc+"-droppable";return{base:Ue,contextId:Ue+"-context-id",id:Ue+"-id"}}(),ql={contextId:fc+"-scroll-container-context-id"},Al=function(se){return function(Oe){return"["+Oe+'="'+se+'"]'}},zs=function(se,Oe){return se.map(function(tt){var wt=tt.styles[Oe];return wt?tt.selector+" { "+wt+" }":""}).join(" ")},Ml="pointer-events: none;",vl=function(se){var Oe=Al(se),tt=function(){var Fr=` cursor: -webkit-grab; cursor: grab; `;return{selector:Oe(Bl.contextId),styles:{always:` @@ -973,7 +973,7 @@ headers: `+(0,f.default)(Ut),Pe.data=Nt,Pe.path=k.path,Pe.status=Be,Pe.headers=U -moz-user-select: none; -ms-user-select: none; overflow-anchor: none; - `}},Jt=[wt,tt,zt,Zt];return{always:zs(Jt,"always"),resting:zs(Jt,"resting"),dragging:zs(Jt,"dragging"),dropAnimating:zs(Jt,"dropAnimating"),userCancel:zs(Jt,"userCancel")}},cl=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,mn=function(){var se=document.querySelector("head");return se||ge(!1),se},da=function(se){var Oe=document.createElement("style");return se&&Oe.setAttribute("nonce",se),Oe.type="text/css",Oe};function Oc(Ue,se){var Oe=n(function(){return vl(Ue)},[Ue]),tt=Object(x.useRef)(null),wt=Object(x.useRef)(null),zt=s(M(function(Ir){var zr=wt.current;zr||ge(!1),zr.textContent=Ir}),[]),Zt=s(function(Ir){var zr=tt.current;zr||ge(!1),zr.textContent=Ir},[]);cl(function(){!tt.current&&!wt.current||ge(!1);var Ir=da(se),zr=da(se);return tt.current=Ir,wt.current=zr,Ir.setAttribute(fc+"-always",Ue),zr.setAttribute(fc+"-dynamic",Ue),mn().appendChild(Ir),mn().appendChild(zr),Zt(Oe.always),zt(Oe.resting),function(){var qr=function(xi){var Wi=xi.current;Wi||ge(!1),mn().removeChild(Wi),xi.current=null};qr(tt),qr(wt)}},[se,Zt,zt,Oe.always,Oe.resting,Ue]);var Jt=s(function(){return zt(Oe.dragging)},[zt,Oe.dragging]),Fr=s(function(Ir){if(Ir==="DROP"){zt(Oe.dropAnimating);return}zt(Oe.userCancel)},[zt,Oe.dropAnimating,Oe.userCancel]),Xr=s(function(){if(!wt.current)return;zt(Oe.resting)},[zt,Oe.resting]),Mr=n(function(){return{dragging:Jt,dropping:Fr,resting:Xr}},[Jt,Fr,Xr]);return Mr}var pc=function(se){return se&&se.ownerDocument?se.ownerDocument.defaultView:window};function xc(Ue){return Ue instanceof pc(Ue).HTMLElement}function Ss(Ue,se){var Oe="["+Bl.contextId+'="'+Ue+'"]',tt=bt(document.querySelectorAll(Oe));if(!tt.length)return null;var wt=ve(tt,function(zt){return zt.getAttribute(Bl.draggableId)===se});return wt&&xc(wt)?wt:null}function Ks(Ue){var se=Object(x.useRef)({}),Oe=Object(x.useRef)(null),tt=Object(x.useRef)(null),wt=Object(x.useRef)(!1),zt=s(function(zr,qr){var Ln={id:zr,focus:qr};return se.current[zr]=Ln,function(){var Wi=se.current,_a=Wi[zr];_a!==Ln&&delete Wi[zr]}},[]),Zt=s(function(zr){var qr=Ss(Ue,zr);qr&&qr!==document.activeElement&&qr.focus()},[Ue]),Jt=s(function(zr,qr){Oe.current===zr&&(Oe.current=qr)},[]),Fr=s(function(){if(tt.current)return;if(!wt.current)return;tt.current=requestAnimationFrame(function(){tt.current=null;var zr=Oe.current;zr&&Zt(zr)})},[Zt]),Xr=s(function(zr){Oe.current=null;var qr=document.activeElement;if(!qr)return;if(qr.getAttribute(Bl.draggableId)!==zr)return;Oe.current=zr},[]);cl(function(){return wt.current=!0,function(){wt.current=!1;var zr=tt.current;zr&&cancelAnimationFrame(zr)}},[]);var Mr=n(function(){return{register:zt,tryRecordFocus:Xr,tryRestoreFocusRecorded:Fr,tryShiftRecord:Jt}},[zt,Xr,Fr,Jt]);return Mr}function xl(){var Ue={draggables:{},droppables:{}},se=[];function Oe(Ir){return se.push(Ir),function(){var qr=se.indexOf(Ir);if(qr===-1)return;se.splice(qr,1)}}function tt(Ir){se.length&&se.forEach(function(zr){return zr(Ir)})}function wt(Ir){return Ue.draggables[Ir]||null}function zt(Ir){var zr=wt(Ir);return zr||ge(!1),zr}var Zt={register:function(zr){Ue.draggables[zr.descriptor.id]=zr,tt({type:"ADDITION",value:zr})},update:function(zr,qr){var Ln=Ue.draggables[qr.descriptor.id];if(!Ln)return;if(Ln.uniqueId!==zr.uniqueId)return;delete Ue.draggables[qr.descriptor.id],Ue.draggables[zr.descriptor.id]=zr},unregister:function(zr){var qr=zr.descriptor.id,Ln=wt(qr);if(!Ln)return;if(zr.uniqueId!==Ln.uniqueId)return;delete Ue.draggables[qr],tt({type:"REMOVAL",value:zr})},getById:zt,findById:wt,exists:function(zr){return Boolean(wt(zr))},getAllByType:function(zr){return qe(Ue.draggables).filter(function(qr){return qr.descriptor.type===zr})}};function Jt(Ir){return Ue.droppables[Ir]||null}function Fr(Ir){var zr=Jt(Ir);return zr||ge(!1),zr}var Xr={register:function(zr){Ue.droppables[zr.descriptor.id]=zr},unregister:function(zr){var qr=Jt(zr.descriptor.id);if(!qr)return;if(zr.uniqueId!==qr.uniqueId)return;delete Ue.droppables[zr.descriptor.id]},getById:Fr,findById:Jt,exists:function(zr){return Boolean(Jt(zr))},getAllByType:function(zr){return qe(Ue.droppables).filter(function(qr){return qr.descriptor.type===zr})}};function Mr(){Ue.draggables={},Ue.droppables={},se.length=0}return{draggable:Zt,droppable:Xr,subscribe:Oe,clean:Mr}}function ul(){var Ue=n(xl,[]);return Object(x.useEffect)(function(){return function(){requestAnimationFrame(Ue.clean)}},[Ue]),Ue}var nc=b.a.createContext(null),Xl=function(){var se=document.body;return se||ge(!1),se},Gl={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Wc=function(se){return"rbd-announcement-"+se};function Hl(Ue){var se=n(function(){return Wc(Ue)},[Ue]),Oe=Object(x.useRef)(null);Object(x.useEffect)(function(){var zt=document.createElement("div");return Oe.current=zt,zt.id=se,zt.setAttribute("aria-live","assertive"),zt.setAttribute("aria-atomic","true"),Object(f.a)(zt.style,Gl),Xl().appendChild(zt),function(){setTimeout(function(){var Fr=Xl();Fr.contains(zt)&&Fr.removeChild(zt),zt===Oe.current&&(Oe.current=null)})}},[se]);var tt=s(function(wt){var zt=Oe.current;if(zt){zt.textContent=wt;return}},[]);return tt}var Mc=0,Sc={separator:"::"};function Ts(){Mc=0}function Sl(Ue,se){return se===void 0&&(se=Sc),n(function(){return""+Ue+se.separator+Mc++},[se.separator,Ue])}function Rt(Ue){var se=Ue.contextId,Oe=Ue.uniqueId;return"rbd-hidden-text-"+se+"-"+Oe}function qt(Ue){var se=Ue.contextId,Oe=Ue.text,tt=Sl("hidden-text",{separator:"-"}),wt=n(function(){return Rt({contextId:se,uniqueId:tt})},[tt,se]);return Object(x.useEffect)(function(){var Zt=document.createElement("div");return Zt.id=wt,Zt.textContent=Oe,Zt.style.display="none",Xl().appendChild(Zt),function(){var Fr=Xl();Fr.contains(Zt)&&Fr.removeChild(Zt)}},[wt,Oe]),wt}var En=b.a.createContext(null),ri={react:"^16.8.5","react-dom":"^16.8.5"},Lt=/(\d+)\.(\d+)\.(\d+)/,he=function(se){var Oe=Lt.exec(se);Oe!=null||ge(!1);var tt=Number(Oe[1]),wt=Number(Oe[2]),zt=Number(Oe[3]);return{major:tt,minor:wt,patch:zt,raw:se}},Ce=function(se,Oe){return Oe.major>se.major?!0:Oe.majorse.minor?!0:Oe.minor=se.patch},Ie=function(se,Oe){var tt=he(se),wt=he(Oe);if(Ce(tt,wt))return},Ye=` + `}},Jt=[wt,tt,zt,Zt];return{always:zs(Jt,"always"),resting:zs(Jt,"resting"),dragging:zs(Jt,"dragging"),dropAnimating:zs(Jt,"dropAnimating"),userCancel:zs(Jt,"userCancel")}},cl=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,mn=function(){var se=document.querySelector("head");return se||ge(!1),se},da=function(se){var Oe=document.createElement("style");return se&&Oe.setAttribute("nonce",se),Oe.type="text/css",Oe};function Oc(Ue,se){var Oe=n(function(){return vl(Ue)},[Ue]),tt=Object(x.useRef)(null),wt=Object(x.useRef)(null),zt=s(M(function(Ir){var zr=wt.current;zr||ge(!1),zr.textContent=Ir}),[]),Zt=s(function(Ir){var zr=tt.current;zr||ge(!1),zr.textContent=Ir},[]);cl(function(){!tt.current&&!wt.current||ge(!1);var Ir=da(se),zr=da(se);return tt.current=Ir,wt.current=zr,Ir.setAttribute(fc+"-always",Ue),zr.setAttribute(fc+"-dynamic",Ue),mn().appendChild(Ir),mn().appendChild(zr),Zt(Oe.always),zt(Oe.resting),function(){var qr=function(xi){var Ki=xi.current;Ki||ge(!1),mn().removeChild(Ki),xi.current=null};qr(tt),qr(wt)}},[se,Zt,zt,Oe.always,Oe.resting,Ue]);var Jt=s(function(){return zt(Oe.dragging)},[zt,Oe.dragging]),Fr=s(function(Ir){if(Ir==="DROP"){zt(Oe.dropAnimating);return}zt(Oe.userCancel)},[zt,Oe.dropAnimating,Oe.userCancel]),Xr=s(function(){if(!wt.current)return;zt(Oe.resting)},[zt,Oe.resting]),Mr=n(function(){return{dragging:Jt,dropping:Fr,resting:Xr}},[Jt,Fr,Xr]);return Mr}var pc=function(se){return se&&se.ownerDocument?se.ownerDocument.defaultView:window};function xc(Ue){return Ue instanceof pc(Ue).HTMLElement}function Ss(Ue,se){var Oe="["+Bl.contextId+'="'+Ue+'"]',tt=bt(document.querySelectorAll(Oe));if(!tt.length)return null;var wt=ve(tt,function(zt){return zt.getAttribute(Bl.draggableId)===se});return wt&&xc(wt)?wt:null}function Ws(Ue){var se=Object(x.useRef)({}),Oe=Object(x.useRef)(null),tt=Object(x.useRef)(null),wt=Object(x.useRef)(!1),zt=s(function(zr,qr){var Ln={id:zr,focus:qr};return se.current[zr]=Ln,function(){var Ki=se.current,_a=Ki[zr];_a!==Ln&&delete Ki[zr]}},[]),Zt=s(function(zr){var qr=Ss(Ue,zr);qr&&qr!==document.activeElement&&qr.focus()},[Ue]),Jt=s(function(zr,qr){Oe.current===zr&&(Oe.current=qr)},[]),Fr=s(function(){if(tt.current)return;if(!wt.current)return;tt.current=requestAnimationFrame(function(){tt.current=null;var zr=Oe.current;zr&&Zt(zr)})},[Zt]),Xr=s(function(zr){Oe.current=null;var qr=document.activeElement;if(!qr)return;if(qr.getAttribute(Bl.draggableId)!==zr)return;Oe.current=zr},[]);cl(function(){return wt.current=!0,function(){wt.current=!1;var zr=tt.current;zr&&cancelAnimationFrame(zr)}},[]);var Mr=n(function(){return{register:zt,tryRecordFocus:Xr,tryRestoreFocusRecorded:Fr,tryShiftRecord:Jt}},[zt,Xr,Fr,Jt]);return Mr}function xl(){var Ue={draggables:{},droppables:{}},se=[];function Oe(Ir){return se.push(Ir),function(){var qr=se.indexOf(Ir);if(qr===-1)return;se.splice(qr,1)}}function tt(Ir){se.length&&se.forEach(function(zr){return zr(Ir)})}function wt(Ir){return Ue.draggables[Ir]||null}function zt(Ir){var zr=wt(Ir);return zr||ge(!1),zr}var Zt={register:function(zr){Ue.draggables[zr.descriptor.id]=zr,tt({type:"ADDITION",value:zr})},update:function(zr,qr){var Ln=Ue.draggables[qr.descriptor.id];if(!Ln)return;if(Ln.uniqueId!==zr.uniqueId)return;delete Ue.draggables[qr.descriptor.id],Ue.draggables[zr.descriptor.id]=zr},unregister:function(zr){var qr=zr.descriptor.id,Ln=wt(qr);if(!Ln)return;if(zr.uniqueId!==Ln.uniqueId)return;delete Ue.draggables[qr],tt({type:"REMOVAL",value:zr})},getById:zt,findById:wt,exists:function(zr){return Boolean(wt(zr))},getAllByType:function(zr){return qe(Ue.draggables).filter(function(qr){return qr.descriptor.type===zr})}};function Jt(Ir){return Ue.droppables[Ir]||null}function Fr(Ir){var zr=Jt(Ir);return zr||ge(!1),zr}var Xr={register:function(zr){Ue.droppables[zr.descriptor.id]=zr},unregister:function(zr){var qr=Jt(zr.descriptor.id);if(!qr)return;if(zr.uniqueId!==qr.uniqueId)return;delete Ue.droppables[zr.descriptor.id]},getById:Fr,findById:Jt,exists:function(zr){return Boolean(Jt(zr))},getAllByType:function(zr){return qe(Ue.droppables).filter(function(qr){return qr.descriptor.type===zr})}};function Mr(){Ue.draggables={},Ue.droppables={},se.length=0}return{draggable:Zt,droppable:Xr,subscribe:Oe,clean:Mr}}function ul(){var Ue=n(xl,[]);return Object(x.useEffect)(function(){return function(){requestAnimationFrame(Ue.clean)}},[Ue]),Ue}var nc=b.a.createContext(null),Xl=function(){var se=document.body;return se||ge(!1),se},Gl={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Kc=function(se){return"rbd-announcement-"+se};function Hl(Ue){var se=n(function(){return Kc(Ue)},[Ue]),Oe=Object(x.useRef)(null);Object(x.useEffect)(function(){var zt=document.createElement("div");return Oe.current=zt,zt.id=se,zt.setAttribute("aria-live","assertive"),zt.setAttribute("aria-atomic","true"),Object(f.a)(zt.style,Gl),Xl().appendChild(zt),function(){setTimeout(function(){var Fr=Xl();Fr.contains(zt)&&Fr.removeChild(zt),zt===Oe.current&&(Oe.current=null)})}},[se]);var tt=s(function(wt){var zt=Oe.current;if(zt){zt.textContent=wt;return}},[]);return tt}var Mc=0,Sc={separator:"::"};function Ts(){Mc=0}function Sl(Ue,se){return se===void 0&&(se=Sc),n(function(){return""+Ue+se.separator+Mc++},[se.separator,Ue])}function Rt(Ue){var se=Ue.contextId,Oe=Ue.uniqueId;return"rbd-hidden-text-"+se+"-"+Oe}function qt(Ue){var se=Ue.contextId,Oe=Ue.text,tt=Sl("hidden-text",{separator:"-"}),wt=n(function(){return Rt({contextId:se,uniqueId:tt})},[tt,se]);return Object(x.useEffect)(function(){var Zt=document.createElement("div");return Zt.id=wt,Zt.textContent=Oe,Zt.style.display="none",Xl().appendChild(Zt),function(){var Fr=Xl();Fr.contains(Zt)&&Fr.removeChild(Zt)}},[wt,Oe]),wt}var En=b.a.createContext(null),ri={react:"^16.8.5","react-dom":"^16.8.5"},Lt=/(\d+)\.(\d+)\.(\d+)/,he=function(se){var Oe=Lt.exec(se);Oe!=null||ge(!1);var tt=Number(Oe[1]),wt=Number(Oe[2]),zt=Number(Oe[3]);return{major:tt,minor:wt,patch:zt,raw:se}},Ce=function(se,Oe){return Oe.major>se.major?!0:Oe.majorse.minor?!0:Oe.minor=se.patch},Ie=function(se,Oe){var tt=he(se),wt=he(Oe);if(Ce(tt,wt))return},Ye=` We expect a html5 doctype: This is to ensure consistent browser layout and measurement @@ -982,10 +982,10 @@ headers: `+(0,f.default)(Ut),Pe.data=Nt,Pe.path=k.path,Pe.status=Be,Pe.headers=U A setup problem was encountered. > `+Oe.message+` - `)}},se)})}function Yr(){Pr(function(){Ie(ri.react,b.a.version),_t(document)},[])}function yn(Ue){var se=Object(x.useRef)(Ue);return Object(x.useEffect)(function(){se.current=Ue}),se}function Jn(){var Ue=null;function se(){return Boolean(Ue)}function Oe(Zt){return Zt===Ue}function tt(Zt){Ue&&ge(!1);var Jt={abandon:Zt};return Ue=Jt,Jt}function wt(){Ue||ge(!1),Ue=null}function zt(){Ue&&(Ue.abandon(),wt())}return{isClaimed:se,isActive:Oe,claim:tt,release:wt,tryAbandon:zt}}var Ci=9,Xi=13,ga=27,Ka=32,go=33,No=34,As=35,ss=36,ps=37,nl=38,Ws=39,dl=40,ls,Ys=(ls={},ls[Xi]=!0,ls[Ci]=!0,ls),Rl=function(se){Ys[se.keyCode]&&se.preventDefault()},kl=function(){var Ue="visibilitychange";if(typeof document=="undefined")return Ue;var se=[Ue,"ms"+Ue,"webkit"+Ue,"moz"+Ue,"o"+Ue],Oe=ve(se,function(tt){return"on"+tt in document});return Oe||Ue}(),el=0,Cl=5;function mc(Ue,se){return Math.abs(se.x-Ue.x)>=Cl||Math.abs(se.y-Ue.y)>=Cl}var lc={type:"IDLE"};function bl(Ue){var se=Ue.cancel,Oe=Ue.completed,tt=Ue.getPhase,wt=Ue.setPhase;return[{eventName:"mousemove",fn:function(Zt){var Jt=Zt.button,Fr=Zt.clientX,Xr=Zt.clientY;if(Jt!==el)return;var Mr={x:Fr,y:Xr},Ir=tt();if(Ir.type==="DRAGGING"){Zt.preventDefault(),Ir.actions.move(Mr);return}Ir.type==="PENDING"||ge(!1);var zr=Ir.point;if(!mc(zr,Mr))return;Zt.preventDefault();var qr=Ir.actions.fluidLift(Mr);wt({type:"DRAGGING",actions:qr})}},{eventName:"mouseup",fn:function(Zt){var Jt=tt();if(Jt.type!=="DRAGGING"){se();return}Zt.preventDefault(),Jt.actions.drop({shouldBlockNextClick:!0}),Oe()}},{eventName:"mousedown",fn:function(Zt){tt().type==="DRAGGING"&&Zt.preventDefault(),se()}},{eventName:"keydown",fn:function(Zt){var Jt=tt();if(Jt.type==="PENDING"){se();return}if(Zt.keyCode===ga){Zt.preventDefault(),se();return}Rl(Zt)}},{eventName:"resize",fn:se},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){tt().type==="PENDING"&&se()}},{eventName:"webkitmouseforcedown",fn:function(Zt){var Jt=tt();if(Jt.type!=="IDLE"||ge(!1),Jt.actions.shouldRespectForcePress()){se();return}Zt.preventDefault()}},{eventName:kl,fn:se}]}function il(Ue){var se=Object(x.useRef)(lc),Oe=Object(x.useRef)(ce),tt=n(function(){return{eventName:"mousedown",fn:function(Ir){if(Ir.defaultPrevented)return;if(Ir.button!==el)return;if(Ir.ctrlKey||Ir.metaKey||Ir.shiftKey||Ir.altKey)return;var zr=Ue.findClosestDraggableId(Ir);if(!zr)return;var qr=Ue.tryGetLock(zr,Zt,{sourceEvent:Ir});if(!qr)return;Ir.preventDefault();var Ln={x:Ir.clientX,y:Ir.clientY};Oe.current(),Xr(qr,Ln)}}},[Ue]),wt=n(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Ir){if(Ir.defaultPrevented)return;var zr=Ue.findClosestDraggableId(Ir);if(!zr)return;var qr=Ue.findOptionsForDraggable(zr);if(!qr)return;if(qr.shouldRespectForcePress)return;if(!Ue.canGetLock(zr))return;Ir.preventDefault()}}},[Ue]),zt=s(function(){var Ir={passive:!1,capture:!0};Oe.current=fe(window,[wt,tt],Ir)},[wt,tt]),Zt=s(function(){var Mr=se.current;if(Mr.type==="IDLE")return;se.current=lc,Oe.current(),zt()},[zt]),Jt=s(function(){var Mr=se.current;Zt(),Mr.type==="DRAGGING"&&Mr.actions.cancel({shouldBlockNextClick:!0}),Mr.type==="PENDING"&&Mr.actions.abort()},[Zt]),Fr=s(function(){var Ir={capture:!0,passive:!1},zr=bl({cancel:Jt,completed:Zt,getPhase:function(){return se.current},setPhase:function(Ln){se.current=Ln}});Oe.current=fe(window,zr,Ir)},[Jt,Zt]),Xr=s(function(Ir,zr){se.current.type==="IDLE"||ge(!1),se.current={type:"PENDING",point:zr,actions:Ir},Fr()},[Fr]);cl(function(){return zt(),function(){Oe.current()}},[zt])}var Yl;function cu(){}var Jc=(Yl={},Yl[No]=!0,Yl[go]=!0,Yl[ss]=!0,Yl[As]=!0,Yl);function ec(Ue,se){function Oe(){se(),Ue.cancel()}function tt(){se(),Ue.drop()}return[{eventName:"keydown",fn:function(zt){if(zt.keyCode===ga){zt.preventDefault(),Oe();return}if(zt.keyCode===Ka){zt.preventDefault(),tt();return}if(zt.keyCode===dl){zt.preventDefault(),Ue.moveDown();return}if(zt.keyCode===nl){zt.preventDefault(),Ue.moveUp();return}if(zt.keyCode===Ws){zt.preventDefault(),Ue.moveRight();return}if(zt.keyCode===ps){zt.preventDefault(),Ue.moveLeft();return}if(Jc[zt.keyCode]){zt.preventDefault();return}Rl(zt)}},{eventName:"mousedown",fn:Oe},{eventName:"mouseup",fn:Oe},{eventName:"click",fn:Oe},{eventName:"touchstart",fn:Oe},{eventName:"resize",fn:Oe},{eventName:"wheel",fn:Oe,options:{passive:!0}},{eventName:kl,fn:Oe}]}function al(Ue){var se=Object(x.useRef)(cu),Oe=n(function(){return{eventName:"keydown",fn:function(zt){if(zt.defaultPrevented)return;if(zt.keyCode!==Ka)return;var Zt=Ue.findClosestDraggableId(zt);if(!Zt)return;var Jt=Ue.tryGetLock(Zt,Mr,{sourceEvent:zt});if(!Jt)return;zt.preventDefault();var Fr=!0,Xr=Jt.snapLift();se.current();function Mr(){Fr||ge(!1),Fr=!1,se.current(),tt()}se.current=fe(window,ec(Xr,Mr),{capture:!0,passive:!1})}}},[Ue]),tt=s(function(){var zt={passive:!1,capture:!0};se.current=fe(window,[Oe],zt)},[Oe]);cl(function(){return tt(),function(){se.current()}},[tt])}var lo={type:"IDLE"},Pc=120,Cc=.15;function Ec(Ue){var se=Ue.cancel,Oe=Ue.getPhase;return[{eventName:"orientationchange",fn:se},{eventName:"resize",fn:se},{eventName:"contextmenu",fn:function(wt){wt.preventDefault()}},{eventName:"keydown",fn:function(wt){if(Oe().type!=="DRAGGING"){se();return}wt.keyCode===ga&&wt.preventDefault(),se()}},{eventName:kl,fn:se}]}function Ql(Ue){var se=Ue.cancel,Oe=Ue.completed,tt=Ue.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(zt){var Zt=tt();if(Zt.type!=="DRAGGING"){se();return}Zt.hasMoved=!0;var Jt=zt.touches[0],Fr=Jt.clientX,Xr=Jt.clientY,Mr={x:Fr,y:Xr};zt.preventDefault(),Zt.actions.move(Mr)}},{eventName:"touchend",fn:function(zt){var Zt=tt();if(Zt.type!=="DRAGGING"){se();return}zt.preventDefault(),Zt.actions.drop({shouldBlockNextClick:!0}),Oe()}},{eventName:"touchcancel",fn:function(zt){if(tt().type!=="DRAGGING"){se();return}zt.preventDefault(),se()}},{eventName:"touchforcechange",fn:function(zt){var Zt=tt();Zt.type!=="IDLE"||ge(!1);var Jt=zt.touches[0];if(!Jt)return;var Fr=Jt.force>=Cc;if(!Fr)return;var Xr=Zt.actions.shouldRespectForcePress();if(Zt.type==="PENDING"){Xr&&se();return}if(Xr){if(Zt.hasMoved){zt.preventDefault();return}se();return}zt.preventDefault()}},{eventName:kl,fn:se}]}function Ac(Ue){var se=Object(x.useRef)(lo),Oe=Object(x.useRef)(ce),tt=s(function(){return se.current},[]),wt=s(function(qr){se.current=qr},[]),zt=n(function(){return{eventName:"touchstart",fn:function(qr){if(qr.defaultPrevented)return;var Ln=Ue.findClosestDraggableId(qr);if(!Ln)return;var xi=Ue.tryGetLock(Ln,Jt,{sourceEvent:qr});if(!xi)return;var Wi=qr.touches[0],_a=Wi.clientX,Ji=Wi.clientY,Co={x:_a,y:Ji};Oe.current(),Ir(xi,Co)}}},[Ue]),Zt=s(function(){var qr={capture:!0,passive:!1};Oe.current=fe(window,[zt],qr)},[zt]),Jt=s(function(){var zr=se.current;if(zr.type==="IDLE")return;zr.type==="PENDING"&&clearTimeout(zr.longPressTimerId),wt(lo),Oe.current(),Zt()},[Zt,wt]),Fr=s(function(){var zr=se.current;Jt(),zr.type==="DRAGGING"&&zr.actions.cancel({shouldBlockNextClick:!0}),zr.type==="PENDING"&&zr.actions.abort()},[Jt]),Xr=s(function(){var qr={capture:!0,passive:!1},Ln={cancel:Fr,completed:Jt,getPhase:tt},xi=fe(window,Ql(Ln),qr),Wi=fe(window,Ec(Ln),qr);Oe.current=function(){xi(),Wi()}},[Fr,tt,Jt]),Mr=s(function(){var qr=tt();qr.type==="PENDING"||ge(!1);var Ln=qr.actions.fluidLift(qr.point);wt({type:"DRAGGING",actions:Ln,hasMoved:!1})},[tt,wt]),Ir=s(function(qr,Ln){tt().type==="IDLE"||ge(!1);var xi=setTimeout(Mr,Pc);wt({type:"PENDING",point:Ln,actions:qr,longPressTimerId:xi}),Xr()},[Xr,tt,wt,Mr]);cl(function(){return Zt(),function(){Oe.current();var Ln=tt();Ln.type==="PENDING"&&(clearTimeout(Ln.longPressTimerId),wt(lo))}},[tt,Zt,wt]),cl(function(){var qr=fe(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return qr},[])}function Vc(Ue){Yt(function(){var se=yn(Ue);Pr(function(){se.current.length===Ue.length||ge(!1)})})}var vc={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Lc(Ue,se){if(se==null)return!1;var Oe=Boolean(vc[se.tagName.toLowerCase()]);if(Oe)return!0;var tt=se.getAttribute("contenteditable");return tt==="true"||tt===""?!0:se===Ue?!1:Lc(Ue,se.parentElement)}function _c(Ue,se){var Oe=se.target;return xc(Oe)?Lc(Ue,Oe):!1}var ms=function(se){return i(se.getBoundingClientRect()).center};function yo(Ue){return Ue instanceof pc(Ue).Element}var es=function(){var Ue="matches";if(typeof document=="undefined")return Ue;var se=[Ue,"msMatchesSelector","webkitMatchesSelector"],Oe=ve(se,function(tt){return tt in Element.prototype});return Oe||Ue}();function Is(Ue,se){return Ue==null?null:Ue[es](se)?Ue:Is(Ue.parentElement,se)}function Tl(Ue,se){return Ue.closest?Ue.closest(se):Is(Ue,se)}function Tc(Ue){return"["+Bl.contextId+'="'+Ue+'"]'}function tc(Ue,se){var Oe=se.target;if(!yo(Oe))return null;var tt=Tc(Ue),wt=Tl(Oe,tt);return wt&&xc(wt)?wt:null}function cc(Ue,se){var Oe=tc(Ue,se);return Oe?Oe.getAttribute(Bl.draggableId):null}function sl(Ue,se){var Oe="["+oc.contextId+'="'+Ue+'"]',tt=bt(document.querySelectorAll(Oe)),wt=ve(tt,function(zt){return zt.getAttribute(oc.id)===se});return wt&&xc(wt)?wt:null}function tl(Ue){Ue.preventDefault()}function Fl(Ue){var se=Ue.expected,Oe=Ue.phase,tt=Ue.isLockActive,wt=Ue.shouldWarn;return tt()?!(se!==Oe):!1}function Zs(Ue){var se=Ue.lockAPI,Oe=Ue.store,tt=Ue.registry,wt=Ue.draggableId;if(se.isClaimed())return!1;var zt=tt.draggable.findById(wt);return zt&&zt.options.isEnabled?!!Fs(Oe.getState(),wt):!1}function Nc(Ue){var se=Ue.lockAPI,Oe=Ue.contextId,tt=Ue.store,wt=Ue.registry,zt=Ue.draggableId,Zt=Ue.forceSensorStop,Jt=Ue.sourceEvent,Fr=Zs({lockAPI:se,store:tt,registry:wt,draggableId:zt});if(!Fr)return null;var Xr=wt.draggable.getById(zt),Mr=sl(Oe,Xr.descriptor.id);if(!Mr)return null;if(Jt&&!Xr.options.canDragInteractiveElements&&_c(Mr,Jt))return null;var Ir=se.claim(Zt||ce),zr="PRE_DRAG";function qr(){return Xr.options.shouldRespectForcePress}function Ln(){return se.isActive(Ir)}function xi(Eo,ko){Fl({expected:Eo,phase:zr,isLockActive:Ln,shouldWarn:!0})&&tt.dispatch(ko())}var Wi=xi.bind(null,"DRAGGING");function _a(Eo){function ko(){se.release(),zr="COMPLETED"}zr!=="PRE_DRAG"&&(ko(),zr==="PRE_DRAG"||ge(!1)),tt.dispatch(pn(Eo.liftActionArgs)),zr="DRAGGING";function Ns(D,U){if(U===void 0&&(U={shouldBlockNextClick:!1}),Eo.cleanup(),U.shouldBlockNextClick){var oe=fe(window,[{eventName:"click",fn:tl,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(oe)}ko(),tt.dispatch(ni({reason:D}))}return Object(f.a)({isActive:function(){return Fl({expected:"DRAGGING",phase:zr,isLockActive:Ln,shouldWarn:!1})},shouldRespectForcePress:qr,drop:function(U){return Ns("DROP",U)},cancel:function(U){return Ns("CANCEL",U)}},Eo.actions)}function Ji(Eo){var ko=H(function(D){Wi(function(){return Gr({client:D})})}),Ns=_a({liftActionArgs:{id:zt,clientSelection:Eo,movementMode:"FLUID"},cleanup:function(){return ko.cancel()},actions:{move:ko}});return Object(f.a)({},Ns,{move:ko})}function Co(){var Eo={moveUp:function(){return Wi(On)},moveRight:function(){return Wi(qn)},moveDown:function(){return Wi(Qn)},moveLeft:function(){return Wi(si)}};return _a({liftActionArgs:{id:zt,clientSelection:ms(Mr),movementMode:"SNAP"},cleanup:ce,actions:Eo})}function ja(){var Eo=Fl({expected:"PRE_DRAG",phase:zr,isLockActive:Ln,shouldWarn:!0});Eo&&se.release()}var zo={isActive:function(){return Fl({expected:"PRE_DRAG",phase:zr,isLockActive:Ln,shouldWarn:!1})},shouldRespectForcePress:qr,fluidLift:Ji,snapLift:Co,abort:ja};return zo}var Ru=[il,al,Ac];function uu(Ue){var se=Ue.contextId,Oe=Ue.store,tt=Ue.registry,wt=Ue.customSensors,zt=Ue.enableDefaultSensors,Zt=[].concat(zt?Ru:[],wt||[]),Jt=Object(x.useState)(function(){return Jn()})[0],Fr=s(function(Ji,Co){Ji.isDragging&&!Co.isDragging&&Jt.tryAbandon()},[Jt]);cl(function(){var Ji=Oe.getState(),Co=Oe.subscribe(function(){var ja=Oe.getState();Fr(Ji,ja),Ji=ja});return Co},[Jt,Oe,Fr]),cl(function(){return Jt.tryAbandon},[Jt.tryAbandon]);var Xr=s(function(_a){return Zs({lockAPI:Jt,registry:tt,store:Oe,draggableId:_a})},[Jt,tt,Oe]),Mr=s(function(_a,Ji,Co){return Nc({lockAPI:Jt,registry:tt,contextId:se,store:Oe,draggableId:_a,forceSensorStop:Ji,sourceEvent:Co&&Co.sourceEvent?Co.sourceEvent:null})},[se,Jt,tt,Oe]),Ir=s(function(_a){return cc(se,_a)},[se]),zr=s(function(_a){var Ji=tt.draggable.findById(_a);return Ji?Ji.options:null},[tt.draggable]),qr=s(function(){if(!Jt.isClaimed())return;Jt.tryAbandon(),Oe.getState().phase!=="IDLE"&&Oe.dispatch(oi())},[Jt,Oe]),Ln=s(Jt.isClaimed,[Jt]),xi=n(function(){return{canGetLock:Xr,tryGetLock:Mr,findClosestDraggableId:Ir,findOptionsForDraggable:zr,tryReleaseLock:qr,isLockClaimed:Ln}},[Xr,Mr,Ir,zr,qr,Ln]);Vc(Zt);for(var Wi=0;Wi0){a.moveTo(s[i++],s[i++]);for(var r=1;r0){var v=(o+p)/2-(h-g)*c,y=(h+g)/2-(p-o)*c;a.quadraticCurveTo(v,y,p,g)}else a.lineTo(p,g)}},findDataIndex:function(a,n){var s=this.shape,c=s.segs,i=s.curveness;if(s.polyline)for(var u=0,r=0;r0)for(var h=c[r++],p=c[r++],g=1;g0){var w=(h+v)/2-(p-y)*i,S=(p+y)/2-(v-h)*i;if(f.containStroke(h,p,w,S,v,y))return u}else if(A.containStroke(h,p,v,y))return u;u++}return-1}});function e(){this.group=new x.Group}var m=e.prototype;m.isPersistent=function(){return!this._incremental},m.updateData=function(a){this.group.removeAll();var n=new t({rectHover:!0,cursor:"default"});n.setShape({segs:a.getLayout("linesPoints")}),this._setCommon(n,a),this.group.add(n),this._incremental=null},m.incrementalPrepareUpdate=function(a){this.group.removeAll(),this._clearIncremental(),a.count()>5e5?(this._incremental||(this._incremental=new b({silent:!0})),this.group.add(this._incremental)):this._incremental=null},m.incrementalUpdate=function(a,n){var s=new t;s.setShape({segs:n.getLayout("linesPoints")}),this._setCommon(s,n,!!this._incremental),this._incremental?this._incremental.addDisplayable(s,!0):(s.rectHover=!0,s.cursor="default",s.__startIndex=a.start,this.group.add(s))},m.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},m._setCommon=function(a,n,s){var c=n.hostModel;a.setShape({polyline:c.get("polyline"),curveness:c.get("lineStyle.curveness")}),a.useStyle(c.getModel("lineStyle").getLineStyle()),a.style.strokeNoScale=!0;var i=n.getVisual("color");i&&a.setStyle("stroke",i),a.setStyle("fill"),s||(a.seriesIndex=c.seriesIndex,a.on("mousemove",function(u){a.dataIndex=null;var r=a.findDataIndex(u.offsetX,u.offsetY);r>0&&(a.dataIndex=r+a.__startIndex)}))},m._clearIncremental=function(){var a=this._incremental;a&&a.clearDisplaybles()};var d=e;j.exports=d},oBaM:function(j,R,l){var x=l("T4UG"),b=l("5GtS"),A=l("bYtY"),f=l("7aKB"),t=f.encodeHTML,e=l("xKMd"),m=x.extend({type:"series.radar",dependencies:["radar"],init:function(a){m.superApply(this,"init",arguments),this.legendVisualProvider=new e(A.bind(this.getData,this),A.bind(this.getRawData,this))},getInitialData:function(a,n){return b(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(a){var n=this.getData(),s=this.coordinateSystem,c=s.getIndicatorAxes(),i=this.getData().getName(a);return t(i===""?this.name:i)+"
"+A.map(c,function(u,r){var o=n.get(n.mapDimension(u.dim),a);return t(u.name+" : "+o)}).join("
")},getTooltipPosition:function(a){if(a!=null){for(var n=this.getData(),s=this.coordinateSystem,c=n.getValues(A.map(s.dimensions,function(o){return n.mapDimension(o)}),a,!0),i=0,u=c.length;i=h.max?void 0:(h.ch=0,h.text=h.cm.getLine(++h.line),!0)}function n(h){return h.line<=h.min?void 0:(h.text=h.cm.getLine(--h.line),h.ch=h.text.length,!0)}function s(h){for(;;){var p=h.text.indexOf(">",h.ch);if(p==-1){if(a(h))continue;return}if(!d(h,p+1)){h.ch=p+1;continue}var g=h.text.lastIndexOf("/",p),v=g>-1&&!/\S/.test(h.text.slice(g+1,p));return h.ch=p+1,v?"selfClose":"regular"}}function c(h){for(;;){var p=h.ch?h.text.lastIndexOf("<",h.ch-1):-1;if(p==-1){if(n(h))continue;return}if(!d(h,p+1)){h.ch=p;continue}e.lastIndex=p,h.ch=p;var g=e.exec(h.text);if(g&&g.index==p)return g}}function i(h){for(;;){e.lastIndex=h.ch;var p=e.exec(h.text);if(!p){if(a(h))continue;return}if(!d(h,p.index+1)){h.ch=p.index+1;continue}return h.ch=p.index+p[0].length,p}}function u(h){for(;;){var p=h.ch?h.text.lastIndexOf(">",h.ch-1):-1;if(p==-1){if(n(h))continue;return}if(!d(h,p+1)){h.ch=p;continue}var g=h.text.lastIndexOf("/",p),v=g>-1&&!/\S/.test(h.text.slice(g+1,p));return h.ch=p+1,v?"selfClose":"regular"}}function r(h,p){for(var g=[];;){var v=i(h),y,w=h.line,S=h.ch-(v?v[0].length:0);if(!v||!(y=s(h)))return;if(y=="selfClose")continue;if(v[1]){for(var _=g.length-1;_>=0;--_)if(g[_]==v[2]){g.length=_;break}if(_<0&&(!p||p==v[2]))return{tag:v[2],from:b(w,S),to:b(h.line,h.ch)}}else g.push(v[2])}}function o(h,p){for(var g=[];;){var v=u(h);if(!v)return;if(v=="selfClose"){c(h);continue}var y=h.line,w=h.ch,S=c(h);if(!S)return;if(S[1])g.push(S[2]);else{for(var _=g.length-1;_>=0;--_)if(g[_]==S[2]){g.length=_;break}if(_<0&&(!p||p==S[2]))return{tag:S[2],from:b(h.line,h.ch),to:b(y,w)}}}}x.registerHelper("fold","xml",function(h,p){for(var g=new m(h,p.line,0);;){var v=i(g);if(!v||g.line!=p.line)return;var y=s(g);if(!y)return;if(!v[1]&&y!="selfClose"){var w=b(g.line,g.ch),S=r(g,v[2]);return S&&A(S.from,w)>0?{from:w,to:S.from}:null}}}),x.findMatchingTag=function(h,p,g){var v=new m(h,p.line,p.ch,g);if(v.text.indexOf(">")==-1&&v.text.indexOf("<")==-1)return;var y=s(v),w=y&&b(v.line,v.ch),S=y&&c(v);if(!y||!S||A(v,p)>0)return;var _={from:b(v.line,v.ch),to:w,tag:S[2]};return y=="selfClose"?{open:_,close:null,at:"open"}:S[1]?{open:o(v,S[2]),close:_,at:"close"}:(v=new m(h,w.line,w.ch,g),{open:_,close:r(v,S[2]),at:"open"})},x.findEnclosingTag=function(h,p,g,v){for(var y=new m(h,p.line,p.ch,g);;){var w=o(y,v);if(!w)break;var S=new m(h,p.line,p.ch,g),_=r(S,w.tag);if(_)return{open:w,close:_}}},x.scanForClosingTag=function(h,p,g,v){var y=new m(h,p.line,p.ch,v?{from:0,to:v}:null);return r(y,g)}})},ozfa:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("KxFI"),f=l.n(A)},"p+If":function(j,R,l){var x=l("ProS");l("cpOr"),l("rkZ5");var b=l("ZYIC"),A=l("7ph2");x.registerLayout(b),x.registerVisual(A)},"p/La":function(j,R){var l=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function x(b,A){b==="china"&&A.name==="\u53F0\u6E7E"&&A.geometries.push({type:"polygon",exterior:l[0]})}j.exports=x},p1MT:function(j,R,l){var x=l("Hw7h"),b=l("IwbS"),A=l("6Ic6"),f=l("OELB"),t=f.parsePercent,e=f.round,m=f.linearMap;function d(i,u){var r=i.get("center"),o=u.getWidth(),h=u.getHeight(),p=Math.min(o,h),g=t(r[0],u.getWidth()),v=t(r[1],u.getHeight()),y=t(i.get("radius"),p/2);return{cx:g,cy:v,r:y}}function a(i,u){return u&&(typeof u=="string"?i=u.replace("{value}",i!=null?i:""):typeof u=="function"&&(i=u(i))),i}var n=Math.PI*2,s=A.extend({type:"gauge",render:function(i,u,r){this.group.removeAll();var o=i.get("axisLine.lineStyle.color"),h=d(i,r);this._renderMain(i,u,r,o,h)},dispose:function(){},_renderMain:function(i,u,r,o,h){for(var p=this.group,g=i.getModel("axisLine"),v=g.getModel("lineStyle"),y=i.get("clockwise"),w=-i.get("startAngle")/180*Math.PI,S=-i.get("endAngle")/180*Math.PI,_=(S-w)%n,I=w,C=v.get("width"),E=g.get("show"),O=0;E&&O=X&&(J===0?0:o[J-1][0]).4?"bottom":"middle",textAlign:G<-.4?"left":G>.4?"right":"center"},{autoColor:ie}),silent:!0}))}if(O.get("show")&&P!==F){for(var fe=0;fe<=H;fe++){var G=Math.cos(J),V=Math.sin(J),xe=new b.Line({shape:{x1:G*_+w,y1:V*_+S,x2:G*(_-X)+w,y2:V*(_-X)+S},silent:!0,style:K});K.stroke==="auto"&&xe.setStyle({stroke:o((P+fe/H)/F)}),y.add(xe),J+=W}J-=W}else J+=k}},_renderPointer:function(i,u,r,o,h,p,g,v){var y=this.group,w=this._data;if(!i.get("pointer.show")){w&&w.eachItemGraphicEl(function(E){y.remove(E)});return}var S=[+i.get("min"),+i.get("max")],_=[p,g],I=i.getData(),C=I.mapDimension("value");I.diff(w).add(function(E){var O=new x({shape:{angle:p}});b.initProps(O,{shape:{angle:m(I.get(C,E),S,_,!0)}},i),y.add(O),I.setItemGraphicEl(E,O)}).update(function(E,O){var M=w.getItemGraphicEl(O);b.updateProps(M,{shape:{angle:m(I.get(C,E),S,_,!0)}},i),y.add(M),I.setItemGraphicEl(E,M)}).remove(function(E){var O=w.getItemGraphicEl(E);y.remove(O)}).execute(),I.eachItemGraphicEl(function(E,O){var M=I.getItemModel(O),F=M.getModel("pointer");E.setShape({x:h.cx,y:h.cy,width:t(F.get("width"),h.r),r:t(F.get("length"),h.r)}),E.useStyle(M.getModel("itemStyle").getItemStyle()),E.style.fill==="auto"&&E.setStyle("fill",o(m(I.get(C,O),S,[0,1],!0))),b.setHoverStyle(E,M.getModel("emphasis.itemStyle").getItemStyle())}),this._data=I},_renderTitle:function(i,u,r,o,h){var p=i.getData(),g=p.mapDimension("value"),v=i.getModel("title");if(v.get("show")){var y=v.get("offsetCenter"),w=h.cx+t(y[0],h.r),S=h.cy+t(y[1],h.r),_=+i.get("min"),I=+i.get("max"),C=i.getData().get(g,0),E=o(m(C,[_,I],[0,1],!0));this.group.add(new b.Text({silent:!0,style:b.setTextStyle({},v,{x:w,y:S,text:p.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:E,forceRich:!0})}))}},_renderDetail:function(i,u,r,o,h){var p=i.getModel("detail"),g=+i.get("min"),v=+i.get("max");if(p.get("show")){var y=p.get("offsetCenter"),w=h.cx+t(y[0],h.r),S=h.cy+t(y[1],h.r),_=t(p.get("width"),h.r),I=t(p.get("height"),h.r),C=i.getData(),E=C.get(C.mapDimension("value"),0),O=o(m(E,[g,v],[0,1],!0));this.group.add(new b.Text({silent:!0,style:b.setTextStyle({},p,{x:w,y:S,text:a(E,p.get("formatter")),textWidth:isNaN(_)?null:_,textHeight:isNaN(I)?null:I,textAlign:"center",textVerticalAlign:"middle"},{autoColor:O,forceRich:!0})}))}}}),c=s;j.exports=c},"p77/":function(j,R,l){},pC0b:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("xzDV"),f=l.n(A),t=l("5Dmo")},"pED+":function(j,R,l){},pG52:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("WXVj"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},pLH3:function(j,R,l){var x=l("ProS");l("ALo7"),l("TWL2");var b=l("mOdp"),A=l("JLnu"),f=l("0/Rx");x.registerVisual(b("funnel")),x.registerLayout(A),x.registerProcessor(f("funnel"))},pP6R:function(j,R,l){var x=l("ProS"),b="\0_ec_interaction_mutex";function A(m,d,a){var n=e(m);n[d]=a}function f(m,d,a){var n=e(m),s=n[d];s===a&&(n[d]=null)}function t(m,d){return!!e(m)[d]}function e(m){return m[b]||(m[b]={})}x.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),R.take=A,R.release=f,R.isTaken=t},pmaE:function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("IwbS"),f=l("DEFe"),t="__seriesMapHighDown",e="__seriesMapCallKey",m=x.extendChartView({type:"map",render:function(n,s,c,i){if(i&&i.type==="mapToggleSelect"&&i.from===this.uid)return;var u=this.group;if(u.removeAll(),n.getHostGeoModel())return;if(i&&i.type==="geoRoam"&&i.componentType==="series"&&i.seriesId===n.id){var r=this._mapDraw;r&&u.add(r.group)}else if(n.needsDrawMap){var r=this._mapDraw||new f(c,!0);u.add(r.group),r.draw(n,s,c,this,i),this._mapDraw=r}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;n.get("showLegendSymbol")&&s.getComponent("legend")&&this._renderSymbols(n,s,c)},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(n,s,c){var i=n.originalData,u=this.group;i.each(i.mapDimension("value"),function(r,o){if(isNaN(r))return;var h=i.getItemLayout(o);if(!h||!h.point)return;var p=h.point,g=h.offset,v=new A.Circle({style:{fill:n.getData().getVisual("color")},shape:{cx:p[0]+g*9,cy:p[1],r:3},silent:!0,z2:8+(g?0:A.Z2_EMPHASIS_LIFT+1)});if(!g){var y=n.mainSeries.getData(),w=i.getName(o),S=y.indexOfName(w),_=i.getItemModel(o),I=_.getModel("label"),C=_.getModel("emphasis.label"),E=y.getItemGraphicEl(S),O=b.retrieve2(n.getFormattedLabel(S,"normal"),w),M=b.retrieve2(n.getFormattedLabel(S,"emphasis"),O),F=E[t],H=Math.random();if(!F){F=E[t]={};var B=b.curry(d,!0),X=b.curry(d,!1);E.on("mouseover",B).on("mouseout",X).on("emphasis",B).on("normal",X)}E[e]=H,b.extend(F,{recordVersion:H,circle:v,labelModel:I,hoverLabelModel:C,emphasisText:M,normalText:O}),a(F,!1)}u.add(v)})}});function d(n){var s=this[t];s&&s.recordVersion===this[e]&&a(s,n)}function a(n,s){var c=n.circle,i=n.labelModel,u=n.hoverLabelModel,r=n.emphasisText,o=n.normalText;s?(c.style.extendFrom(A.setTextStyle({},u,{text:u.get("show")?r:null},{isRectText:!0,useInsideStyle:!1},!0)),c.__mapOriginalZ2=c.z2,c.z2+=A.Z2_EMPHASIS_LIFT):(A.setTextStyle(c.style,i,{text:i.get("show")?o:null,textPosition:i.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),c.dirty(!1),c.__mapOriginalZ2!=null&&(c.z2=c.__mapOriginalZ2,c.__mapOriginalZ2=null))}j.exports=m},pwpV:function(j,R,l){},pzxd:function(j,R,l){var x=l("bYtY"),b=x.retrieve2,A=x.retrieve3,f=x.each,t=x.normalizeCssArray,e=x.isString,m=x.isObject,d=l("6GrX"),a=l("VpOo"),n=l("Xnb7"),s=l("fW2E"),c=l("gut8"),i=c.ContextCachedBy,u=c.WILL_BE_RESTORED,r=d.DEFAULT_FONT,o={left:1,right:1,center:1},h={top:1,bottom:1,middle:1},p=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],g={},v={};function y(P){return w(P),f(P.rich,w),P}function w(P){if(P){P.font=d.makeFont(P);var G=P.textAlign;G==="middle"&&(G="center"),P.textAlign=G==null||o[G]?G:"left";var V=P.textVerticalAlign||P.textBaseline;V==="center"&&(V="middle"),P.textVerticalAlign=V==null||h[V]?V:"top";var q=P.textPadding;q&&(P.textPadding=t(P.textPadding))}}function S(P,G,V,q,re,ce){q.rich?I(P,G,V,q,re,ce):_(P,G,V,q,re,ce)}function _(P,G,V,q,re,ce){"use strict";var ie=M(q),fe,xe=!1,Se=G.__attrCachedBy===i.PLAIN_TEXT;ce!==u?(ce&&(fe=ce.style,xe=!ie&&Se&&fe),G.__attrCachedBy=ie?i.NONE:i.PLAIN_TEXT):Se&&(G.__attrCachedBy=i.NONE);var ke=q.font||r;(!xe||ke!==(fe.font||r))&&(G.font=ke);var ge=P.__computedFont;P.__styleFont!==ke&&(P.__styleFont=ke,ge=P.__computedFont=G.font);var Be=q.textPadding,ee=q.textLineHeight,ue=P.__textCotentBlock;(!ue||P.__dirtyText)&&(ue=P.__textCotentBlock=d.parsePlainText(V,ge,Be,ee,q.truncate));var Ge=ue.outerHeight,ae=ue.lines,Z=ue.lineHeight,Y=B(v,P,q,re),te=Y.baseX,we=Y.baseY,pe=Y.textAlign||"left",De=Y.textVerticalAlign;E(G,q,re,te,we);var Ne=d.adjustTextY(we,Ge,De),me=te,be=Ne;if(ie||Be){var Re=d.getWidth(V,ge),it=Re;Be&&(it+=Be[1]+Be[3]);var yt=d.adjustTextX(te,it,pe);ie&&F(P,G,q,yt,Ne,it,Ge),Be&&(me=z(te,pe,Be),be+=Be[0])}G.textAlign=pe,G.textBaseline="middle",G.globalAlpha=q.opacity||1;for(var pt=0;pt=0&&(pt=pe[yt],pt.textAlign==="right");)O(P,G,pt,q,Ne,Z,it,"right"),me-=pt.width,it-=pt.width,yt--;for(Re+=(ce-(Re-ae)-(Y-it)-me)/2;be<=yt;)pt=pe[be],O(P,G,pt,q,Ne,Z,Re+pt.width/2,"center"),Re+=pt.width,be++;Z+=Ne}}function E(P,G,V,q,re){if(V&&G.textRotation){var ce=G.textOrigin;ce==="center"?(q=V.width/2+V.x,re=V.height/2+V.y):ce&&(q=ce[0]+V.x,re=ce[1]+V.y),P.translate(q,re),P.rotate(-G.textRotation),P.translate(-q,-re)}}function O(P,G,V,q,re,ce,ie,fe){var xe=q.rich[V.styleName]||{};xe.text=V.text;var Se=V.textVerticalAlign,ke=ce+re/2;Se==="top"?ke=ce+V.height/2:Se==="bottom"&&(ke=ce+re-V.height/2),!V.isLineHolder&&M(xe)&&F(P,G,xe,fe==="right"?ie-V.width:fe==="center"?ie-V.width/2:ie,ke-V.height/2,V.width,V.height);var ge=V.textPadding;ge&&(ie=z(ie,fe,ge),ke-=V.height/2-ge[2]-V.textHeight/2),X(G,"shadowBlur",A(xe.textShadowBlur,q.textShadowBlur,0)),X(G,"shadowColor",xe.textShadowColor||q.textShadowColor||"transparent"),X(G,"shadowOffsetX",A(xe.textShadowOffsetX,q.textShadowOffsetX,0)),X(G,"shadowOffsetY",A(xe.textShadowOffsetY,q.textShadowOffsetY,0)),X(G,"textAlign",fe),X(G,"textBaseline","middle"),X(G,"font",V.font||r);var Be=J(xe.textStroke||q.textStroke,ue),ee=k(xe.textFill||q.textFill),ue=b(xe.textStrokeWidth,q.textStrokeWidth);Be&&(X(G,"lineWidth",ue),X(G,"strokeStyle",Be),G.strokeText(V.text,ie,ke)),ee&&(X(G,"fillStyle",ee),G.fillText(V.text,ie,ke))}function M(P){return!!(P.textBackgroundColor||P.textBorderWidth&&P.textBorderColor)}function F(P,G,V,q,re,ce,ie){var fe=V.textBackgroundColor,xe=V.textBorderWidth,Se=V.textBorderColor,ke=e(fe);if(X(G,"shadowBlur",V.textBoxShadowBlur||0),X(G,"shadowColor",V.textBoxShadowColor||"transparent"),X(G,"shadowOffsetX",V.textBoxShadowOffsetX||0),X(G,"shadowOffsetY",V.textBoxShadowOffsetY||0),ke||xe&&Se){G.beginPath();var ge=V.textBorderRadius;ge?a.buildPath(G,{x:q,y:re,width:ce,height:ie,r:ge}):G.rect(q,re,ce,ie),G.closePath()}if(ke)if(X(G,"fillStyle",fe),V.fillOpacity!=null){var Be=G.globalAlpha;G.globalAlpha=V.fillOpacity*V.opacity,G.fill(),G.globalAlpha=Be}else G.fill();else if(m(fe)){var ee=fe.image;ee=n.createOrUpdateImage(ee,null,P,H,fe),ee&&n.isImageReady(ee)&&G.drawImage(ee,q,re,ce,ie)}if(xe&&Se)if(X(G,"lineWidth",xe),X(G,"strokeStyle",Se),V.strokeOpacity!=null){var Be=G.globalAlpha;G.globalAlpha=V.strokeOpacity*V.opacity,G.stroke(),G.globalAlpha=Be}else G.stroke()}function H(P,G){G.image=P}function B(P,G,V,q){var re=V.x||0,ce=V.y||0,ie=V.textAlign,fe=V.textVerticalAlign;if(q){var xe=V.textPosition;if(xe instanceof Array)re=q.x+W(xe[0],q.width),ce=q.y+W(xe[1],q.height);else{var Se=G&&G.calculateTextPosition?G.calculateTextPosition(g,V,q):d.calculateTextPosition(g,V,q);re=Se.x,ce=Se.y,ie=ie||Se.textAlign,fe=fe||Se.textVerticalAlign}var ke=V.textOffset;ke&&(re+=ke[0],ce+=ke[1])}return P=P||{},P.baseX=re,P.baseY=ce,P.textAlign=ie,P.textVerticalAlign=fe,P}function X(P,G,V){return P[G]=s(P,G,V),P[G]}function J(P,G){return P==null||G<=0||P==="transparent"||P==="none"?null:P.image||P.colorStops?"#000":P}function k(P){return P==null||P==="none"?null:P.image||P.colorStops?"#000":P}function W(P,G){return typeof P=="string"?P.lastIndexOf("%")>=0?parseFloat(P)/100*G:parseFloat(P):P}function z(P,G,V){return G==="right"?P-V[1]:G==="center"?P+V[3]/2-V[1]/2:P+V[3]}function K(P,G){return P!=null&&(P||G.textBackgroundColor||G.textBorderWidth&&G.textBorderColor||G.textPadding)}R.normalizeTextStyle=y,R.renderText=S,R.getBoxPosition=B,R.getStroke=J,R.getFill=k,R.parsePercent=W,R.needDrawText=K},"q/+u":function(j,R,l){var x=l("ProS"),b=l("9wZj"),A=l("yWXo"),f=l("h8O9");x.extendChartView({type:"scatter",render:function(t,e,m){var d=t.getData(),a=this._updateSymbolDraw(d,t);a.updateData(d,{clipShape:this._getClipShape(t)}),this._finished=!0},incrementalPrepareRender:function(t,e,m){var d=t.getData(),a=this._updateSymbolDraw(d,t);a.incrementalPrepareUpdate(d),this._finished=!1},incrementalRender:function(t,e,m){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,m){var d=t.getData();if(this.group.dirty(),!this._finished||d.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var a=f().reset(t);a.progress&&a.progress({start:0,end:d.count()},d),this._symbolDraw.updateLayout(d)},_getClipShape:function(t){var e=t.coordinateSystem,m=e&&e.getArea&&e.getArea();return t.get("clip",!0)?m:null},_updateSymbolDraw:function(t,e){var m=this._symbolDraw,d=e.pipelineContext,a=d.large;return(!m||a!==this._isLargeDraw)&&(m&&m.remove(),m=this._symbolDraw=a?new A:new b,this._isLargeDraw=a,this.group.removeAll()),this.group.add(m.group),m},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(j,R){var l=["lineStyle","normal","opacity"],x={seriesType:"parallel",reset:function(b,A,f){var t=b.getModel("itemStyle"),e=b.getModel("lineStyle"),m=A.get("color"),d=e.get("color")||t.get("color")||m[b.seriesIndex%m.length],a=b.get("inactiveOpacity"),n=b.get("activeOpacity"),s=b.getModel("lineStyle").getLineStyle(),c=b.coordinateSystem,i=b.getData(),u={normal:s.opacity,active:n,inactive:a};i.setVisual("color",d);function r(o,h){c.eachActiveState(h,function(p,g){var v=u[p];if(p==="normal"&&h.hasItemOption){var y=h.getItemModel(g).get(l,!0);y!=null&&(v=y)}h.setItemVisual(g,"opacity",v)},o.start,o.end)}return{progress:r}}};j.exports=x},q4HE:function(j,R){var l="\\ud800-\\udfff",x="\\u0300-\\u036f",b="\\ufe20-\\ufe2f",A="\\u20d0-\\u20ff",f=x+b+A,t="\\ufe0e\\ufe0f",e="["+l+"]",m="["+f+"]",d="\\ud83c[\\udffb-\\udfff]",a="(?:"+m+"|"+d+")",n="[^"+l+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",i="\\u200d",u=a+"?",r="["+t+"]?",o="(?:"+i+"(?:"+[n,s,c].join("|")+")"+r+u+")*",h=r+u+o,p="(?:"+[n+m+"?",m,s,c,e].join("|")+")",g=RegExp(d+"(?="+d+")|"+p+h,"g");function v(y){for(var w=g.lastIndex=0;g.test(y);)++w;return w}j.exports=v},q7KB:function(j,R,l){},qH13:function(j,R,l){var x=l("ItGF"),b=l("QBsz"),A=b.applyTransform,f=l("mFDi"),t=l("Qe9p"),e=l("6GrX"),m=l("pzxd"),d=l("ni6a"),a=l("Gev7"),n=l("Dagg"),s=l("dqUG"),c=l("y+Vt"),i=l("IMiH"),u=l("QuXc"),r=l("06Qe"),o=i.CMD,h=Math.round,p=Math.sqrt,g=Math.abs,v=Math.cos,y=Math.sin,w=Math.max;if(!x.canvasSupported){var S=",",_="progid:DXImageTransform.Microsoft",I=21600,C=I/2,E=1e5,O=1e3,M=function(we){we.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",we.coordsize=I+","+I,we.coordorigin="0,0"},F=function(we){return String(we).replace(/&/g,"&").replace(/"/g,""")},H=function(we,pe,De){return"rgb("+[we,pe,De].join(",")+")"},B=function(we,pe){pe&&we&&pe.parentNode!==we&&we.appendChild(pe)},X=function(we,pe){pe&&we&&pe.parentNode===we&&we.removeChild(pe)},J=function(we,pe,De){return(parseFloat(we)||0)*E+(parseFloat(pe)||0)*O+De},k=m.parsePercent,W=function(we,pe,De){var Ne=t.parse(pe);De=+De,isNaN(De)&&(De=1),Ne&&(we.color=H(Ne[0],Ne[1],Ne[2]),we.opacity=De*Ne[3])},z=function(we){var pe=t.parse(we);return[H(pe[0],pe[1],pe[2]),pe[3]]},K=function(we,pe,De){var Ne=pe.fill;if(Ne!=null)if(Ne instanceof u){var me,be=0,Re=[0,0],it=0,yt=1,pt=De.getBoundingRect(),Pe=pt.width,Nt=pt.height;if(Ne.type==="linear"){me="gradient";var ut=De.transform,Ft=[Ne.x*Pe,Ne.y*Nt],Ut=[Ne.x2*Pe,Ne.y2*Nt];ut&&(A(Ft,Ft,ut),A(Ut,Ut,ut));var Wt=Ut[0]-Ft[0],$t=Ut[1]-Ft[1];be=Math.atan2(Wt,$t)*180/Math.PI,be<0&&(be+=360),be<1e-6&&(be=0)}else{me="gradientradial";var Ft=[Ne.x*Pe,Ne.y*Nt],ut=De.transform,or=De.scale,ht=Pe,Ee=Nt;Re=[(Ft[0]-pt.x)/ht,(Ft[1]-pt.y)/Ee],ut&&A(Ft,Ft,ut),ht/=or[0]*I,Ee/=or[1]*I;var de=w(ht,Ee);it=2*0/de,yt=2*Ne.r/de-it}var qe=Ne.colorStops.slice();qe.sort(function(ot,et){return ot.offset-et.offset});for(var rt=qe.length,ve=[],bt=[],jt=0;jt=2){var Ar=ve[0][0],at=ve[1][0],Ht=ve[0][1]*pe.opacity,Kt=ve[1][1]*pe.opacity;we.type=me,we.method="none",we.focus="100%",we.angle=be,we.color=Ar,we.color2=at,we.colors=bt.join(","),we.opacity=Kt,we.opacity2=Ht}me==="radial"&&(we.focusposition=Re.join(","))}else W(we,Ne,pe.opacity)},P=function(we,pe){pe.lineDash&&(we.dashstyle=pe.lineDash.join(" ")),pe.stroke!=null&&!(pe.stroke instanceof u)&&W(we,pe.stroke,pe.opacity)},G=function(we,pe,De,Ne){var me=pe==="fill",be=we.getElementsByTagName(pe)[0];De[pe]!=null&&De[pe]!=="none"&&(me||!me&&De.lineWidth)?(we[me?"filled":"stroked"]="true",De[pe]instanceof u&&X(we,be),be||(be=r.createNode(pe)),me?K(be,De,Ne):P(be,De),B(we,be)):(we[me?"filled":"stroked"]="false",X(we,be))},V=[[],[],[]],q=function(we,pe){var De=o.M,Ne=o.C,me=o.L,be=o.A,Re=o.Q,it=[],yt,pt,Pe,Nt,ut,Ft,Ut=we.data,Wt=we.len();for(Nt=0;Nt.01?et&&(Ze+=270/I):Math.abs(Gt-Ar)<1e-4?et&&Zekt?or-=270/I:or+=270/I:et&&GtAr?$t+=270/I:$t-=270/I),it.push(yr,h(((kt-at)*bt+rt)*I-C),S,h(((Ar-Ht)*jt+ve)*I-C),S,h(((kt+at)*bt+rt)*I-C),S,h(((Ar+Ht)*jt+ve)*I-C),S,h((Ze*bt+rt)*I-C),S,h((Gt*jt+ve)*I-C),S,h(($t*bt+rt)*I-C),S,h((or*jt+ve)*I-C)),ut=$t,Ft=or;break;case o.R:var br=V[0],Sr=V[1];br[0]=Ut[Nt++],br[1]=Ut[Nt++],Sr[0]=br[0]+Ut[Nt++],Sr[1]=br[1]+Ut[Nt++],pe&&(A(br,br,pe),A(Sr,Sr,pe)),br[0]=h(br[0]*I-C),Sr[0]=h(Sr[0]*I-C),br[1]=h(br[1]*I-C),Sr[1]=h(Sr[1]*I-C),it.push(" m ",br[0],S,br[1]," l ",Sr[0],S,br[1]," l ",Sr[0],S,Sr[1]," l ",br[0],S,Sr[1]);break;case o.Z:it.push(" x ")}if(yt>0){it.push(pt);for(var Tn=0;Tnxe&&(fe=0,ie={});var De=Se.style,Ne;try{De.font=we,Ne=De.fontFamily.split(",")[0]}catch(me){}pe={style:De.fontStyle||ce,variant:De.fontVariant||ce,weight:De.fontWeight||ce,size:parseFloat(De.fontSize||12)|0,family:Ne||"Microsoft YaHei"},ie[we]=pe,fe++}return pe},ge;e.$override("measureText",function(te,we){var pe=r.doc;ge||(ge=pe.createElement("div"),ge.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",r.doc.body.appendChild(ge));try{ge.style.font=we}catch(De){}return ge.innerHTML="",ge.appendChild(pe.createTextNode(te)),{width:ge.offsetWidth}});for(var Be=new f,ee=function(we,pe,De,Ne){var me=this.style;this.__dirty&&m.normalizeTextStyle(me,!0);var be=me.text;if(be!=null&&(be+=""),!be)return;if(me.rich){var Re=e.parseRichText(be,me);be=[];for(var it=0;itDe&&(Ht="".concat(Kt.slice(0,De),"..."))}return Object(b.a)(Object(b.a)({},at),{},{label:Ht})})),jt>0&&bt.push({key:v,label:typeof me=="function"?me(fe.slice(pe)):me});var He=e.createElement(c.CSSMotionList,{component:!1,keys:bt,motionName:we,motionAppear:Wt},function(kt){var Ar=kt.key,at=kt.label,Ht=kt.value,Kt=kt.disabled,ot=kt.className,et=kt.style,Ze=Ar||Ht,Gt=Ar!==v&&!Kt,yr=function(Tn){Tn.preventDefault(),Tn.stopPropagation()},br=function(Tn){Tn&&Tn.stopPropagation(),Re(Ht,{selected:!1})};return typeof be=="function"?e.createElement("span",{key:Ze,onMouseDown:yr,className:ot,style:et},be({label:at,value:Ht,disabled:Kt,closable:Gt,onClose:br})):e.createElement("span",{key:Ze,className:a()(ot,"".concat(ie,"-selection-item"),Object(x.a)({},"".concat(ie,"-selection-item-disabled"),Kt)),style:et},e.createElement("span",{className:"".concat(ie,"-selection-item-content")},at),Gt&&e.createElement(i.a,{className:"".concat(ie,"-selection-item-remove"),onMouseDown:yr,onClick:br,customizeIcon:te},"\xD7"))});return e.createElement(e.Fragment,null,He,e.createElement("span",{className:"".concat(ie,"-selection-search"),style:{width:de}},e.createElement(h,{ref:ke,open:xe,prefixCls:ie,id:ce,inputElement:null,disabled:Be,autoFocus:Ge,autoComplete:ae,editable:ve,accessibilityIndex:Z,value:rt,onKeyDown:pt,onMouseDown:Pe,onChange:it,onPaste:yt,onCompositionStart:Nt,onCompositionEnd:ut,tabIndex:Y,attrs:Object(s.a)(re,!0)}),e.createElement("span",{ref:or,className:"".concat(ie,"-selection-search-mirror"),"aria-hidden":!0},rt,"\xA0")),!fe.length&&!rt&&e.createElement("span",{className:"".concat(ie,"-selection-placeholder")},ge))},w=y,S=function(re){var ce=re.inputElement,ie=re.prefixCls,fe=re.id,xe=re.inputRef,Se=re.disabled,ke=re.autoFocus,ge=re.autoComplete,Be=re.accessibilityIndex,ee=re.mode,ue=re.open,Ge=re.values,ae=re.placeholder,Z=re.tabIndex,Y=re.showSearch,te=re.searchValue,we=re.activeValue,pe=re.onInputKeyDown,De=re.onInputMouseDown,Ne=re.onInputChange,me=re.onInputPaste,be=re.onInputCompositionStart,Re=re.onInputCompositionEnd,it=e.useState(!1),yt=Object(f.a)(it,2),pt=yt[0],Pe=yt[1],Nt=ee==="combobox",ut=Nt||Y&&ue,Ft=Ge[0],Ut=te||"";Nt&&we&&!pt&&(Ut=we),e.useEffect(function(){Nt&&Pe(!1)},[Nt,we]);var Wt=ee!=="combobox"&&!ue?!1:!!Ut,$t=Ft&&(typeof Ft.label=="string"||typeof Ft.label=="number")?Ft.label.toString():void 0;return e.createElement(e.Fragment,null,e.createElement("span",{className:"".concat(ie,"-selection-search")},e.createElement(h,{ref:xe,prefixCls:ie,id:fe,open:ue,inputElement:ce,disabled:Se,autoFocus:ke,autoComplete:ge,editable:ut,accessibilityIndex:Be,value:Ut,onKeyDown:pe,onMouseDown:De,onChange:function(ht){Pe(!0),Ne(ht)},onPaste:me,onCompositionStart:be,onCompositionEnd:Re,tabIndex:Z,attrs:Object(s.a)(re,!0)})),!Nt&&Ft&&!Wt&&e.createElement("span",{className:"".concat(ie,"-selection-item"),title:$t},Ft.label),!Ft&&!Wt&&e.createElement("span",{className:"".concat(ie,"-selection-placeholder")},ae))},_=S;function I(){var q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,re=e.useRef(null),ce=e.useRef(null);e.useEffect(function(){return function(){window.clearTimeout(ce.current)}},[]);function ie(fe){(fe||re.current===null)&&(re.current=fe),window.clearTimeout(ce.current),ce.current=window.setTimeout(function(){re.current=null},q)}return[function(){return re.current},ie]}var C=function(re,ce){var ie=Object(e.useRef)(null),fe=Object(e.useRef)(!1),xe=re.prefixCls,Se=re.multiple,ke=re.open,ge=re.mode,Be=re.showSearch,ee=re.tokenWithEnter,ue=re.onSearch,Ge=re.onSearchSubmit,ae=re.onToggleOpen,Z=re.onInputKeyDown,Y=re.domRef;e.useImperativeHandle(ce,function(){return{focus:function(){ie.current.focus()},blur:function(){ie.current.blur()}}});var te=I(0),we=Object(f.a)(te,2),pe=we[0],De=we[1],Ne=function(Wt){var $t=Wt.which;($t===m.a.UP||$t===m.a.DOWN)&&Wt.preventDefault(),Z&&Z(Wt),$t===m.a.ENTER&&ge==="tags"&&!fe.current&&!ke&&Ge(Wt.target.value),[m.a.SHIFT,m.a.TAB,m.a.BACKSPACE,m.a.ESC].includes($t)||ae(!0)},me=function(){De(!0)},be=Object(e.useRef)(null),Re=function(Wt){ue(Wt,!0,fe.current)!==!1&&ae(!0)},it=function(){fe.current=!0},yt=function(){fe.current=!1},pt=function(Wt){var $t=Wt.target.value;if(ee&&be.current&&/[\r\n]/.test(be.current)){var or=be.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");$t=$t.replace(or,be.current)}be.current=null,Re($t)},Pe=function(Wt){var $t=Wt.clipboardData,or=$t.getData("text");be.current=or},Nt=function(Wt){var $t=pe();if(Wt.target!==ie.current){$t||Wt.preventDefault();var or=document.body.style.msTouchAction!==void 0;or?setTimeout(function(){ie.current.focus()}):ie.current.focus()}(ge!=="combobox"&&(!Be||!$t)||!ke)&&(ke&&ue("",!0,!1),ae())},ut={inputRef:ie,onInputKeyDown:Ne,onInputMouseDown:me,onInputChange:pt,onInputPaste:Pe,onInputCompositionStart:it,onInputCompositionEnd:yt},Ft=Se?e.createElement(w,Object.assign({},re,ut)):e.createElement(_,Object.assign({},re,ut));return e.createElement("div",{ref:Y,className:"".concat(xe,"-selector"),onMouseDown:Nt},Ft)},E=e.forwardRef(C);E.displayName="Selector";var O=E,M=l("uciX"),F=function(re){var ce=typeof re!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:ce,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:ce,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:ce,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:ce,adjustY:1}}}},H=function(re,ce){var ie=re.prefixCls,fe=re.disabled,xe=re.visible,Se=re.children,ke=re.popupElement,ge=re.containerWidth,Be=re.animation,ee=re.transitionName,ue=re.dropdownStyle,Ge=re.dropdownClassName,ae=re.direction,Z=ae===void 0?"ltr":ae,Y=re.dropdownMatchSelectWidth,te=Y===void 0?!0:Y,we=re.dropdownRender,pe=re.dropdownAlign,De=re.getPopupContainer,Ne=re.empty,me=re.getTriggerDOMNode,be=Object(t.a)(re,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),Re="".concat(ie,"-dropdown"),it=ke;we&&(it=we(ke));var yt=e.useMemo(function(){return F(te)},[te]),pt=Be?"".concat(Re,"-").concat(Be):ee,Pe=e.useRef(null);e.useImperativeHandle(ce,function(){return{getPopupElement:function(){return Pe.current}}});var Nt=Object(b.a)({minWidth:ge},ue);return typeof te=="number"?Nt.width=te:te&&(Nt.width=ge),e.createElement(M.a,Object.assign({},be,{showAction:[],hideAction:[],popupPlacement:Z==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:yt,prefixCls:Re,popupTransitionName:pt,popup:e.createElement("div",{ref:Pe},it),popupAlign:pe,popupVisible:xe,getPopupContainer:De,popupClassName:a()(Ge,Object(x.a)({},"".concat(Re,"-empty"),Ne)),popupStyle:Nt,getTriggerDOMNode:me}),Se)},B=e.forwardRef(H);B.displayName="SelectTrigger";var X=B,J=l("wPlo");function k(){var q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,re=e.useState(!1),ce=Object(f.a)(re,2),ie=ce[0],fe=ce[1],xe=e.useRef(null),Se=function(){window.clearTimeout(xe.current)};e.useEffect(function(){return Se},[]);var ke=function(Be,ee){Se(),xe.current=window.setTimeout(function(){fe(Be),ee&&ee()},q)};return[ie,ke,Se]}var W=l("2Qr1");function z(q,re,ce){var ie=e.useRef(null);ie.current={elements:q.filter(function(fe){return fe}),open:re,triggerOpen:ce},e.useEffect(function(){function fe(xe){var Se=xe.target;ie.current.open&&ie.current.elements.every(function(ke){return!ke.contains(Se)&&ke!==Se})&&ie.current.triggerOpen(!1)}return window.addEventListener("mousedown",fe),function(){return window.removeEventListener("mousedown",fe)}},[])}function K(q){var re=e.useRef(q),ce=e.useMemo(function(){var ie=new Map;re.current.forEach(function(xe){var Se=xe.value,ke=xe.label;Se!==ke&&ie.set(Se,ke)});var fe=q.map(function(xe){var Se=ie.get(xe.value);return xe.value===xe.label&&Se?Object(b.a)(Object(b.a)({},xe),{},{label:Se}):xe});return re.current=fe,fe},[q]);return ce}function P(q,re){var ce=e.useRef(null),ie=e.useMemo(function(){var xe=new Map;return re.forEach(function(Se){var ke=Se.data.value;xe.set(ke,Se)}),xe},[q,re]);ce.current=ie;var fe=function(Se){return Se.map(function(ke){return ce.current.get(ke)}).filter(Boolean)};return fe}var G=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function V(q){var re=q.prefixCls,ce=q.components.optionList,ie=q.convertChildrenToData,fe=q.flattenOptions,xe=q.getLabeledValue,Se=q.filterOptions,ke=q.isValueDisabled,ge=q.findValueOption,Be=q.warningProps,ee=q.fillOptionsWithMissingValue,ue=q.omitDOMProps;function Ge(Z,Y){var te,we=Z.prefixCls,pe=we===void 0?re:we,De=Z.className,Ne=Z.id,me=Z.open,be=Z.defaultOpen,Re=Z.options,it=Z.children,yt=Z.mode,pt=Z.value,Pe=Z.defaultValue,Nt=Z.labelInValue,ut=Z.showSearch,Ft=Z.inputValue,Ut=Z.searchValue,Wt=Z.filterOption,$t=Z.optionFilterProp,or=$t===void 0?"value":$t,ht=Z.autoClearSearchValue,Ee=ht===void 0?!0:ht,de=Z.onSearch,qe=Z.allowClear,rt=Z.clearIcon,ve=Z.showArrow,bt=Z.inputIcon,jt=Z.menuItemSelectedIcon,He=Z.disabled,kt=Z.loading,Ar=Z.defaultActiveFirstOption,at=Z.notFoundContent,Ht=at===void 0?"Not Found":at,Kt=Z.optionLabelProp,ot=Z.backfill,et=Z.getInputElement,Ze=Z.getPopupContainer,Gt=Z.listHeight,yr=Gt===void 0?200:Gt,br=Z.listItemHeight,Sr=br===void 0?20:br,Tn=Z.animation,cn=Z.transitionName,Kn=Z.virtual,lt=Z.dropdownStyle,mt=Z.dropdownClassName,Le=Z.dropdownMatchSelectWidth,ze=Z.dropdownRender,$e=Z.dropdownAlign,gt=Z.showAction,ir=gt===void 0?[]:gt,Xt=Z.direction,er=Z.tokenSeparators,Wr=Z.tagRender,en=Z.onPopupScroll,Fn=Z.onDropdownVisibleChange,ar=Z.onFocus,It=Z.onBlur,Ct=Z.onKeyUp,mr=Z.onKeyDown,gr=Z.onMouseDown,Mt=Z.onChange,rr=Z.onSelect,Dt=Z.onDeselect,tr=Z.onClear,Dr=Z.internalProps,dr=Dr===void 0?{}:Dr,Tr=Object(t.a)(Z,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","getInputElement","getPopupContainer","listHeight","listItemHeight","animation","transitionName","virtual","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown","onChange","onSelect","onDeselect","onClear","internalProps"]),vn=dr.mark===J.a,on=ue?ue(Tr):Tr;G.forEach(function(Ai){delete on[Ai]});var Gn=Object(e.useRef)(null),di=Object(e.useRef)(null),Ti=Object(e.useRef)(null),Fi=Object(e.useRef)(null),la=Object(e.useMemo)(function(){return(er||[]).some(function(Ai){return[` + `)}},se)})}function Yr(){Pr(function(){Ie(ri.react,b.a.version),_t(document)},[])}function yn(Ue){var se=Object(x.useRef)(Ue);return Object(x.useEffect)(function(){se.current=Ue}),se}function Jn(){var Ue=null;function se(){return Boolean(Ue)}function Oe(Zt){return Zt===Ue}function tt(Zt){Ue&&ge(!1);var Jt={abandon:Zt};return Ue=Jt,Jt}function wt(){Ue||ge(!1),Ue=null}function zt(){Ue&&(Ue.abandon(),wt())}return{isClaimed:se,isActive:Oe,claim:tt,release:wt,tryAbandon:zt}}var Ci=9,Xi=13,ga=27,Wa=32,go=33,No=34,As=35,ss=36,ps=37,nl=38,Ks=39,dl=40,ls,Ys=(ls={},ls[Xi]=!0,ls[Ci]=!0,ls),Rl=function(se){Ys[se.keyCode]&&se.preventDefault()},kl=function(){var Ue="visibilitychange";if(typeof document=="undefined")return Ue;var se=[Ue,"ms"+Ue,"webkit"+Ue,"moz"+Ue,"o"+Ue],Oe=ve(se,function(tt){return"on"+tt in document});return Oe||Ue}(),el=0,Cl=5;function mc(Ue,se){return Math.abs(se.x-Ue.x)>=Cl||Math.abs(se.y-Ue.y)>=Cl}var lc={type:"IDLE"};function bl(Ue){var se=Ue.cancel,Oe=Ue.completed,tt=Ue.getPhase,wt=Ue.setPhase;return[{eventName:"mousemove",fn:function(Zt){var Jt=Zt.button,Fr=Zt.clientX,Xr=Zt.clientY;if(Jt!==el)return;var Mr={x:Fr,y:Xr},Ir=tt();if(Ir.type==="DRAGGING"){Zt.preventDefault(),Ir.actions.move(Mr);return}Ir.type==="PENDING"||ge(!1);var zr=Ir.point;if(!mc(zr,Mr))return;Zt.preventDefault();var qr=Ir.actions.fluidLift(Mr);wt({type:"DRAGGING",actions:qr})}},{eventName:"mouseup",fn:function(Zt){var Jt=tt();if(Jt.type!=="DRAGGING"){se();return}Zt.preventDefault(),Jt.actions.drop({shouldBlockNextClick:!0}),Oe()}},{eventName:"mousedown",fn:function(Zt){tt().type==="DRAGGING"&&Zt.preventDefault(),se()}},{eventName:"keydown",fn:function(Zt){var Jt=tt();if(Jt.type==="PENDING"){se();return}if(Zt.keyCode===ga){Zt.preventDefault(),se();return}Rl(Zt)}},{eventName:"resize",fn:se},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){tt().type==="PENDING"&&se()}},{eventName:"webkitmouseforcedown",fn:function(Zt){var Jt=tt();if(Jt.type!=="IDLE"||ge(!1),Jt.actions.shouldRespectForcePress()){se();return}Zt.preventDefault()}},{eventName:kl,fn:se}]}function il(Ue){var se=Object(x.useRef)(lc),Oe=Object(x.useRef)(ce),tt=n(function(){return{eventName:"mousedown",fn:function(Ir){if(Ir.defaultPrevented)return;if(Ir.button!==el)return;if(Ir.ctrlKey||Ir.metaKey||Ir.shiftKey||Ir.altKey)return;var zr=Ue.findClosestDraggableId(Ir);if(!zr)return;var qr=Ue.tryGetLock(zr,Zt,{sourceEvent:Ir});if(!qr)return;Ir.preventDefault();var Ln={x:Ir.clientX,y:Ir.clientY};Oe.current(),Xr(qr,Ln)}}},[Ue]),wt=n(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Ir){if(Ir.defaultPrevented)return;var zr=Ue.findClosestDraggableId(Ir);if(!zr)return;var qr=Ue.findOptionsForDraggable(zr);if(!qr)return;if(qr.shouldRespectForcePress)return;if(!Ue.canGetLock(zr))return;Ir.preventDefault()}}},[Ue]),zt=s(function(){var Ir={passive:!1,capture:!0};Oe.current=fe(window,[wt,tt],Ir)},[wt,tt]),Zt=s(function(){var Mr=se.current;if(Mr.type==="IDLE")return;se.current=lc,Oe.current(),zt()},[zt]),Jt=s(function(){var Mr=se.current;Zt(),Mr.type==="DRAGGING"&&Mr.actions.cancel({shouldBlockNextClick:!0}),Mr.type==="PENDING"&&Mr.actions.abort()},[Zt]),Fr=s(function(){var Ir={capture:!0,passive:!1},zr=bl({cancel:Jt,completed:Zt,getPhase:function(){return se.current},setPhase:function(Ln){se.current=Ln}});Oe.current=fe(window,zr,Ir)},[Jt,Zt]),Xr=s(function(Ir,zr){se.current.type==="IDLE"||ge(!1),se.current={type:"PENDING",point:zr,actions:Ir},Fr()},[Fr]);cl(function(){return zt(),function(){Oe.current()}},[zt])}var Yl;function cu(){}var Jc=(Yl={},Yl[No]=!0,Yl[go]=!0,Yl[ss]=!0,Yl[As]=!0,Yl);function ec(Ue,se){function Oe(){se(),Ue.cancel()}function tt(){se(),Ue.drop()}return[{eventName:"keydown",fn:function(zt){if(zt.keyCode===ga){zt.preventDefault(),Oe();return}if(zt.keyCode===Wa){zt.preventDefault(),tt();return}if(zt.keyCode===dl){zt.preventDefault(),Ue.moveDown();return}if(zt.keyCode===nl){zt.preventDefault(),Ue.moveUp();return}if(zt.keyCode===Ks){zt.preventDefault(),Ue.moveRight();return}if(zt.keyCode===ps){zt.preventDefault(),Ue.moveLeft();return}if(Jc[zt.keyCode]){zt.preventDefault();return}Rl(zt)}},{eventName:"mousedown",fn:Oe},{eventName:"mouseup",fn:Oe},{eventName:"click",fn:Oe},{eventName:"touchstart",fn:Oe},{eventName:"resize",fn:Oe},{eventName:"wheel",fn:Oe,options:{passive:!0}},{eventName:kl,fn:Oe}]}function al(Ue){var se=Object(x.useRef)(cu),Oe=n(function(){return{eventName:"keydown",fn:function(zt){if(zt.defaultPrevented)return;if(zt.keyCode!==Wa)return;var Zt=Ue.findClosestDraggableId(zt);if(!Zt)return;var Jt=Ue.tryGetLock(Zt,Mr,{sourceEvent:zt});if(!Jt)return;zt.preventDefault();var Fr=!0,Xr=Jt.snapLift();se.current();function Mr(){Fr||ge(!1),Fr=!1,se.current(),tt()}se.current=fe(window,ec(Xr,Mr),{capture:!0,passive:!1})}}},[Ue]),tt=s(function(){var zt={passive:!1,capture:!0};se.current=fe(window,[Oe],zt)},[Oe]);cl(function(){return tt(),function(){se.current()}},[tt])}var lo={type:"IDLE"},Pc=120,Cc=.15;function Ec(Ue){var se=Ue.cancel,Oe=Ue.getPhase;return[{eventName:"orientationchange",fn:se},{eventName:"resize",fn:se},{eventName:"contextmenu",fn:function(wt){wt.preventDefault()}},{eventName:"keydown",fn:function(wt){if(Oe().type!=="DRAGGING"){se();return}wt.keyCode===ga&&wt.preventDefault(),se()}},{eventName:kl,fn:se}]}function Ql(Ue){var se=Ue.cancel,Oe=Ue.completed,tt=Ue.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(zt){var Zt=tt();if(Zt.type!=="DRAGGING"){se();return}Zt.hasMoved=!0;var Jt=zt.touches[0],Fr=Jt.clientX,Xr=Jt.clientY,Mr={x:Fr,y:Xr};zt.preventDefault(),Zt.actions.move(Mr)}},{eventName:"touchend",fn:function(zt){var Zt=tt();if(Zt.type!=="DRAGGING"){se();return}zt.preventDefault(),Zt.actions.drop({shouldBlockNextClick:!0}),Oe()}},{eventName:"touchcancel",fn:function(zt){if(tt().type!=="DRAGGING"){se();return}zt.preventDefault(),se()}},{eventName:"touchforcechange",fn:function(zt){var Zt=tt();Zt.type!=="IDLE"||ge(!1);var Jt=zt.touches[0];if(!Jt)return;var Fr=Jt.force>=Cc;if(!Fr)return;var Xr=Zt.actions.shouldRespectForcePress();if(Zt.type==="PENDING"){Xr&&se();return}if(Xr){if(Zt.hasMoved){zt.preventDefault();return}se();return}zt.preventDefault()}},{eventName:kl,fn:se}]}function Ac(Ue){var se=Object(x.useRef)(lo),Oe=Object(x.useRef)(ce),tt=s(function(){return se.current},[]),wt=s(function(qr){se.current=qr},[]),zt=n(function(){return{eventName:"touchstart",fn:function(qr){if(qr.defaultPrevented)return;var Ln=Ue.findClosestDraggableId(qr);if(!Ln)return;var xi=Ue.tryGetLock(Ln,Jt,{sourceEvent:qr});if(!xi)return;var Ki=qr.touches[0],_a=Ki.clientX,Ji=Ki.clientY,Co={x:_a,y:Ji};Oe.current(),Ir(xi,Co)}}},[Ue]),Zt=s(function(){var qr={capture:!0,passive:!1};Oe.current=fe(window,[zt],qr)},[zt]),Jt=s(function(){var zr=se.current;if(zr.type==="IDLE")return;zr.type==="PENDING"&&clearTimeout(zr.longPressTimerId),wt(lo),Oe.current(),Zt()},[Zt,wt]),Fr=s(function(){var zr=se.current;Jt(),zr.type==="DRAGGING"&&zr.actions.cancel({shouldBlockNextClick:!0}),zr.type==="PENDING"&&zr.actions.abort()},[Jt]),Xr=s(function(){var qr={capture:!0,passive:!1},Ln={cancel:Fr,completed:Jt,getPhase:tt},xi=fe(window,Ql(Ln),qr),Ki=fe(window,Ec(Ln),qr);Oe.current=function(){xi(),Ki()}},[Fr,tt,Jt]),Mr=s(function(){var qr=tt();qr.type==="PENDING"||ge(!1);var Ln=qr.actions.fluidLift(qr.point);wt({type:"DRAGGING",actions:Ln,hasMoved:!1})},[tt,wt]),Ir=s(function(qr,Ln){tt().type==="IDLE"||ge(!1);var xi=setTimeout(Mr,Pc);wt({type:"PENDING",point:Ln,actions:qr,longPressTimerId:xi}),Xr()},[Xr,tt,wt,Mr]);cl(function(){return Zt(),function(){Oe.current();var Ln=tt();Ln.type==="PENDING"&&(clearTimeout(Ln.longPressTimerId),wt(lo))}},[tt,Zt,wt]),cl(function(){var qr=fe(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return qr},[])}function Vc(Ue){Yt(function(){var se=yn(Ue);Pr(function(){se.current.length===Ue.length||ge(!1)})})}var vc={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Lc(Ue,se){if(se==null)return!1;var Oe=Boolean(vc[se.tagName.toLowerCase()]);if(Oe)return!0;var tt=se.getAttribute("contenteditable");return tt==="true"||tt===""?!0:se===Ue?!1:Lc(Ue,se.parentElement)}function _c(Ue,se){var Oe=se.target;return xc(Oe)?Lc(Ue,Oe):!1}var ms=function(se){return i(se.getBoundingClientRect()).center};function yo(Ue){return Ue instanceof pc(Ue).Element}var es=function(){var Ue="matches";if(typeof document=="undefined")return Ue;var se=[Ue,"msMatchesSelector","webkitMatchesSelector"],Oe=ve(se,function(tt){return tt in Element.prototype});return Oe||Ue}();function Is(Ue,se){return Ue==null?null:Ue[es](se)?Ue:Is(Ue.parentElement,se)}function Tl(Ue,se){return Ue.closest?Ue.closest(se):Is(Ue,se)}function Tc(Ue){return"["+Bl.contextId+'="'+Ue+'"]'}function tc(Ue,se){var Oe=se.target;if(!yo(Oe))return null;var tt=Tc(Ue),wt=Tl(Oe,tt);return wt&&xc(wt)?wt:null}function cc(Ue,se){var Oe=tc(Ue,se);return Oe?Oe.getAttribute(Bl.draggableId):null}function sl(Ue,se){var Oe="["+oc.contextId+'="'+Ue+'"]',tt=bt(document.querySelectorAll(Oe)),wt=ve(tt,function(zt){return zt.getAttribute(oc.id)===se});return wt&&xc(wt)?wt:null}function tl(Ue){Ue.preventDefault()}function Fl(Ue){var se=Ue.expected,Oe=Ue.phase,tt=Ue.isLockActive,wt=Ue.shouldWarn;return tt()?!(se!==Oe):!1}function Zs(Ue){var se=Ue.lockAPI,Oe=Ue.store,tt=Ue.registry,wt=Ue.draggableId;if(se.isClaimed())return!1;var zt=tt.draggable.findById(wt);return zt&&zt.options.isEnabled?!!Fs(Oe.getState(),wt):!1}function Nc(Ue){var se=Ue.lockAPI,Oe=Ue.contextId,tt=Ue.store,wt=Ue.registry,zt=Ue.draggableId,Zt=Ue.forceSensorStop,Jt=Ue.sourceEvent,Fr=Zs({lockAPI:se,store:tt,registry:wt,draggableId:zt});if(!Fr)return null;var Xr=wt.draggable.getById(zt),Mr=sl(Oe,Xr.descriptor.id);if(!Mr)return null;if(Jt&&!Xr.options.canDragInteractiveElements&&_c(Mr,Jt))return null;var Ir=se.claim(Zt||ce),zr="PRE_DRAG";function qr(){return Xr.options.shouldRespectForcePress}function Ln(){return se.isActive(Ir)}function xi(Eo,ko){Fl({expected:Eo,phase:zr,isLockActive:Ln,shouldWarn:!0})&&tt.dispatch(ko())}var Ki=xi.bind(null,"DRAGGING");function _a(Eo){function ko(){se.release(),zr="COMPLETED"}zr!=="PRE_DRAG"&&(ko(),zr==="PRE_DRAG"||ge(!1)),tt.dispatch(pn(Eo.liftActionArgs)),zr="DRAGGING";function Ns(D,U){if(U===void 0&&(U={shouldBlockNextClick:!1}),Eo.cleanup(),U.shouldBlockNextClick){var oe=fe(window,[{eventName:"click",fn:tl,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(oe)}ko(),tt.dispatch(ni({reason:D}))}return Object(f.a)({isActive:function(){return Fl({expected:"DRAGGING",phase:zr,isLockActive:Ln,shouldWarn:!1})},shouldRespectForcePress:qr,drop:function(U){return Ns("DROP",U)},cancel:function(U){return Ns("CANCEL",U)}},Eo.actions)}function Ji(Eo){var ko=H(function(D){Ki(function(){return Gr({client:D})})}),Ns=_a({liftActionArgs:{id:zt,clientSelection:Eo,movementMode:"FLUID"},cleanup:function(){return ko.cancel()},actions:{move:ko}});return Object(f.a)({},Ns,{move:ko})}function Co(){var Eo={moveUp:function(){return Ki(On)},moveRight:function(){return Ki(qn)},moveDown:function(){return Ki(Qn)},moveLeft:function(){return Ki(si)}};return _a({liftActionArgs:{id:zt,clientSelection:ms(Mr),movementMode:"SNAP"},cleanup:ce,actions:Eo})}function ja(){var Eo=Fl({expected:"PRE_DRAG",phase:zr,isLockActive:Ln,shouldWarn:!0});Eo&&se.release()}var zo={isActive:function(){return Fl({expected:"PRE_DRAG",phase:zr,isLockActive:Ln,shouldWarn:!1})},shouldRespectForcePress:qr,fluidLift:Ji,snapLift:Co,abort:ja};return zo}var Ru=[il,al,Ac];function uu(Ue){var se=Ue.contextId,Oe=Ue.store,tt=Ue.registry,wt=Ue.customSensors,zt=Ue.enableDefaultSensors,Zt=[].concat(zt?Ru:[],wt||[]),Jt=Object(x.useState)(function(){return Jn()})[0],Fr=s(function(Ji,Co){Ji.isDragging&&!Co.isDragging&&Jt.tryAbandon()},[Jt]);cl(function(){var Ji=Oe.getState(),Co=Oe.subscribe(function(){var ja=Oe.getState();Fr(Ji,ja),Ji=ja});return Co},[Jt,Oe,Fr]),cl(function(){return Jt.tryAbandon},[Jt.tryAbandon]);var Xr=s(function(_a){return Zs({lockAPI:Jt,registry:tt,store:Oe,draggableId:_a})},[Jt,tt,Oe]),Mr=s(function(_a,Ji,Co){return Nc({lockAPI:Jt,registry:tt,contextId:se,store:Oe,draggableId:_a,forceSensorStop:Ji,sourceEvent:Co&&Co.sourceEvent?Co.sourceEvent:null})},[se,Jt,tt,Oe]),Ir=s(function(_a){return cc(se,_a)},[se]),zr=s(function(_a){var Ji=tt.draggable.findById(_a);return Ji?Ji.options:null},[tt.draggable]),qr=s(function(){if(!Jt.isClaimed())return;Jt.tryAbandon(),Oe.getState().phase!=="IDLE"&&Oe.dispatch(oi())},[Jt,Oe]),Ln=s(Jt.isClaimed,[Jt]),xi=n(function(){return{canGetLock:Xr,tryGetLock:Mr,findClosestDraggableId:Ir,findOptionsForDraggable:zr,tryReleaseLock:qr,isLockClaimed:Ln}},[Xr,Mr,Ir,zr,qr,Ln]);Vc(Zt);for(var Ki=0;Ki0){a.moveTo(s[i++],s[i++]);for(var r=1;r0){var v=(o+p)/2-(h-g)*c,y=(h+g)/2-(p-o)*c;a.quadraticCurveTo(v,y,p,g)}else a.lineTo(p,g)}},findDataIndex:function(a,n){var s=this.shape,c=s.segs,i=s.curveness;if(s.polyline)for(var u=0,r=0;r0)for(var h=c[r++],p=c[r++],g=1;g0){var w=(h+v)/2-(p-y)*i,S=(p+y)/2-(v-h)*i;if(f.containStroke(h,p,w,S,v,y))return u}else if(A.containStroke(h,p,v,y))return u;u++}return-1}});function e(){this.group=new x.Group}var m=e.prototype;m.isPersistent=function(){return!this._incremental},m.updateData=function(a){this.group.removeAll();var n=new t({rectHover:!0,cursor:"default"});n.setShape({segs:a.getLayout("linesPoints")}),this._setCommon(n,a),this.group.add(n),this._incremental=null},m.incrementalPrepareUpdate=function(a){this.group.removeAll(),this._clearIncremental(),a.count()>5e5?(this._incremental||(this._incremental=new b({silent:!0})),this.group.add(this._incremental)):this._incremental=null},m.incrementalUpdate=function(a,n){var s=new t;s.setShape({segs:n.getLayout("linesPoints")}),this._setCommon(s,n,!!this._incremental),this._incremental?this._incremental.addDisplayable(s,!0):(s.rectHover=!0,s.cursor="default",s.__startIndex=a.start,this.group.add(s))},m.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},m._setCommon=function(a,n,s){var c=n.hostModel;a.setShape({polyline:c.get("polyline"),curveness:c.get("lineStyle.curveness")}),a.useStyle(c.getModel("lineStyle").getLineStyle()),a.style.strokeNoScale=!0;var i=n.getVisual("color");i&&a.setStyle("stroke",i),a.setStyle("fill"),s||(a.seriesIndex=c.seriesIndex,a.on("mousemove",function(u){a.dataIndex=null;var r=a.findDataIndex(u.offsetX,u.offsetY);r>0&&(a.dataIndex=r+a.__startIndex)}))},m._clearIncremental=function(){var a=this._incremental;a&&a.clearDisplaybles()};var d=e;j.exports=d},oBaM:function(j,R,l){var x=l("T4UG"),b=l("5GtS"),A=l("bYtY"),f=l("7aKB"),t=f.encodeHTML,e=l("xKMd"),m=x.extend({type:"series.radar",dependencies:["radar"],init:function(a){m.superApply(this,"init",arguments),this.legendVisualProvider=new e(A.bind(this.getData,this),A.bind(this.getRawData,this))},getInitialData:function(a,n){return b(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(a){var n=this.getData(),s=this.coordinateSystem,c=s.getIndicatorAxes(),i=this.getData().getName(a);return t(i===""?this.name:i)+"
"+A.map(c,function(u,r){var o=n.get(n.mapDimension(u.dim),a);return t(u.name+" : "+o)}).join("
")},getTooltipPosition:function(a){if(a!=null){for(var n=this.getData(),s=this.coordinateSystem,c=n.getValues(A.map(s.dimensions,function(o){return n.mapDimension(o)}),a,!0),i=0,u=c.length;i=h.max?void 0:(h.ch=0,h.text=h.cm.getLine(++h.line),!0)}function n(h){return h.line<=h.min?void 0:(h.text=h.cm.getLine(--h.line),h.ch=h.text.length,!0)}function s(h){for(;;){var p=h.text.indexOf(">",h.ch);if(p==-1){if(a(h))continue;return}if(!d(h,p+1)){h.ch=p+1;continue}var g=h.text.lastIndexOf("/",p),v=g>-1&&!/\S/.test(h.text.slice(g+1,p));return h.ch=p+1,v?"selfClose":"regular"}}function c(h){for(;;){var p=h.ch?h.text.lastIndexOf("<",h.ch-1):-1;if(p==-1){if(n(h))continue;return}if(!d(h,p+1)){h.ch=p;continue}e.lastIndex=p,h.ch=p;var g=e.exec(h.text);if(g&&g.index==p)return g}}function i(h){for(;;){e.lastIndex=h.ch;var p=e.exec(h.text);if(!p){if(a(h))continue;return}if(!d(h,p.index+1)){h.ch=p.index+1;continue}return h.ch=p.index+p[0].length,p}}function u(h){for(;;){var p=h.ch?h.text.lastIndexOf(">",h.ch-1):-1;if(p==-1){if(n(h))continue;return}if(!d(h,p+1)){h.ch=p;continue}var g=h.text.lastIndexOf("/",p),v=g>-1&&!/\S/.test(h.text.slice(g+1,p));return h.ch=p+1,v?"selfClose":"regular"}}function r(h,p){for(var g=[];;){var v=i(h),y,w=h.line,S=h.ch-(v?v[0].length:0);if(!v||!(y=s(h)))return;if(y=="selfClose")continue;if(v[1]){for(var _=g.length-1;_>=0;--_)if(g[_]==v[2]){g.length=_;break}if(_<0&&(!p||p==v[2]))return{tag:v[2],from:b(w,S),to:b(h.line,h.ch)}}else g.push(v[2])}}function o(h,p){for(var g=[];;){var v=u(h);if(!v)return;if(v=="selfClose"){c(h);continue}var y=h.line,w=h.ch,S=c(h);if(!S)return;if(S[1])g.push(S[2]);else{for(var _=g.length-1;_>=0;--_)if(g[_]==S[2]){g.length=_;break}if(_<0&&(!p||p==S[2]))return{tag:S[2],from:b(h.line,h.ch),to:b(y,w)}}}}x.registerHelper("fold","xml",function(h,p){for(var g=new m(h,p.line,0);;){var v=i(g);if(!v||g.line!=p.line)return;var y=s(g);if(!y)return;if(!v[1]&&y!="selfClose"){var w=b(g.line,g.ch),S=r(g,v[2]);return S&&A(S.from,w)>0?{from:w,to:S.from}:null}}}),x.findMatchingTag=function(h,p,g){var v=new m(h,p.line,p.ch,g);if(v.text.indexOf(">")==-1&&v.text.indexOf("<")==-1)return;var y=s(v),w=y&&b(v.line,v.ch),S=y&&c(v);if(!y||!S||A(v,p)>0)return;var _={from:b(v.line,v.ch),to:w,tag:S[2]};return y=="selfClose"?{open:_,close:null,at:"open"}:S[1]?{open:o(v,S[2]),close:_,at:"close"}:(v=new m(h,w.line,w.ch,g),{open:_,close:r(v,S[2]),at:"open"})},x.findEnclosingTag=function(h,p,g,v){for(var y=new m(h,p.line,p.ch,g);;){var w=o(y,v);if(!w)break;var S=new m(h,p.line,p.ch,g),_=r(S,w.tag);if(_)return{open:w,close:_}}},x.scanForClosingTag=function(h,p,g,v){var y=new m(h,p.line,p.ch,v?{from:0,to:v}:null);return r(y,g)}})},ozfa:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("KxFI"),f=l.n(A)},"p+If":function(j,R,l){var x=l("ProS");l("cpOr"),l("rkZ5");var b=l("ZYIC"),A=l("7ph2");x.registerLayout(b),x.registerVisual(A)},"p/La":function(j,R){var l=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function x(b,A){b==="china"&&A.name==="\u53F0\u6E7E"&&A.geometries.push({type:"polygon",exterior:l[0]})}j.exports=x},p1MT:function(j,R,l){var x=l("Hw7h"),b=l("IwbS"),A=l("6Ic6"),f=l("OELB"),t=f.parsePercent,e=f.round,m=f.linearMap;function d(i,u){var r=i.get("center"),o=u.getWidth(),h=u.getHeight(),p=Math.min(o,h),g=t(r[0],u.getWidth()),v=t(r[1],u.getHeight()),y=t(i.get("radius"),p/2);return{cx:g,cy:v,r:y}}function a(i,u){return u&&(typeof u=="string"?i=u.replace("{value}",i!=null?i:""):typeof u=="function"&&(i=u(i))),i}var n=Math.PI*2,s=A.extend({type:"gauge",render:function(i,u,r){this.group.removeAll();var o=i.get("axisLine.lineStyle.color"),h=d(i,r);this._renderMain(i,u,r,o,h)},dispose:function(){},_renderMain:function(i,u,r,o,h){for(var p=this.group,g=i.getModel("axisLine"),v=g.getModel("lineStyle"),y=i.get("clockwise"),w=-i.get("startAngle")/180*Math.PI,S=-i.get("endAngle")/180*Math.PI,_=(S-w)%n,I=w,C=v.get("width"),E=g.get("show"),O=0;E&&O=X&&(J===0?0:o[J-1][0]).4?"bottom":"middle",textAlign:G<-.4?"left":G>.4?"right":"center"},{autoColor:ie}),silent:!0}))}if(O.get("show")&&P!==F){for(var fe=0;fe<=H;fe++){var G=Math.cos(J),V=Math.sin(J),xe=new b.Line({shape:{x1:G*_+w,y1:V*_+S,x2:G*(_-X)+w,y2:V*(_-X)+S},silent:!0,style:W});W.stroke==="auto"&&xe.setStyle({stroke:o((P+fe/H)/F)}),y.add(xe),J+=K}J-=K}else J+=k}},_renderPointer:function(i,u,r,o,h,p,g,v){var y=this.group,w=this._data;if(!i.get("pointer.show")){w&&w.eachItemGraphicEl(function(E){y.remove(E)});return}var S=[+i.get("min"),+i.get("max")],_=[p,g],I=i.getData(),C=I.mapDimension("value");I.diff(w).add(function(E){var O=new x({shape:{angle:p}});b.initProps(O,{shape:{angle:m(I.get(C,E),S,_,!0)}},i),y.add(O),I.setItemGraphicEl(E,O)}).update(function(E,O){var M=w.getItemGraphicEl(O);b.updateProps(M,{shape:{angle:m(I.get(C,E),S,_,!0)}},i),y.add(M),I.setItemGraphicEl(E,M)}).remove(function(E){var O=w.getItemGraphicEl(E);y.remove(O)}).execute(),I.eachItemGraphicEl(function(E,O){var M=I.getItemModel(O),F=M.getModel("pointer");E.setShape({x:h.cx,y:h.cy,width:t(F.get("width"),h.r),r:t(F.get("length"),h.r)}),E.useStyle(M.getModel("itemStyle").getItemStyle()),E.style.fill==="auto"&&E.setStyle("fill",o(m(I.get(C,O),S,[0,1],!0))),b.setHoverStyle(E,M.getModel("emphasis.itemStyle").getItemStyle())}),this._data=I},_renderTitle:function(i,u,r,o,h){var p=i.getData(),g=p.mapDimension("value"),v=i.getModel("title");if(v.get("show")){var y=v.get("offsetCenter"),w=h.cx+t(y[0],h.r),S=h.cy+t(y[1],h.r),_=+i.get("min"),I=+i.get("max"),C=i.getData().get(g,0),E=o(m(C,[_,I],[0,1],!0));this.group.add(new b.Text({silent:!0,style:b.setTextStyle({},v,{x:w,y:S,text:p.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:E,forceRich:!0})}))}},_renderDetail:function(i,u,r,o,h){var p=i.getModel("detail"),g=+i.get("min"),v=+i.get("max");if(p.get("show")){var y=p.get("offsetCenter"),w=h.cx+t(y[0],h.r),S=h.cy+t(y[1],h.r),_=t(p.get("width"),h.r),I=t(p.get("height"),h.r),C=i.getData(),E=C.get(C.mapDimension("value"),0),O=o(m(E,[g,v],[0,1],!0));this.group.add(new b.Text({silent:!0,style:b.setTextStyle({},p,{x:w,y:S,text:a(E,p.get("formatter")),textWidth:isNaN(_)?null:_,textHeight:isNaN(I)?null:I,textAlign:"center",textVerticalAlign:"middle"},{autoColor:O,forceRich:!0})}))}}}),c=s;j.exports=c},"p77/":function(j,R,l){},pC0b:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("xzDV"),f=l.n(A),t=l("5Dmo")},"pED+":function(j,R,l){},pG52:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("WXVj"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},pLH3:function(j,R,l){var x=l("ProS");l("ALo7"),l("TWL2");var b=l("mOdp"),A=l("JLnu"),f=l("0/Rx");x.registerVisual(b("funnel")),x.registerLayout(A),x.registerProcessor(f("funnel"))},pP6R:function(j,R,l){var x=l("ProS"),b="\0_ec_interaction_mutex";function A(m,d,a){var n=e(m);n[d]=a}function f(m,d,a){var n=e(m),s=n[d];s===a&&(n[d]=null)}function t(m,d){return!!e(m)[d]}function e(m){return m[b]||(m[b]={})}x.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),R.take=A,R.release=f,R.isTaken=t},pmaE:function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("IwbS"),f=l("DEFe"),t="__seriesMapHighDown",e="__seriesMapCallKey",m=x.extendChartView({type:"map",render:function(n,s,c,i){if(i&&i.type==="mapToggleSelect"&&i.from===this.uid)return;var u=this.group;if(u.removeAll(),n.getHostGeoModel())return;if(i&&i.type==="geoRoam"&&i.componentType==="series"&&i.seriesId===n.id){var r=this._mapDraw;r&&u.add(r.group)}else if(n.needsDrawMap){var r=this._mapDraw||new f(c,!0);u.add(r.group),r.draw(n,s,c,this,i),this._mapDraw=r}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;n.get("showLegendSymbol")&&s.getComponent("legend")&&this._renderSymbols(n,s,c)},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(n,s,c){var i=n.originalData,u=this.group;i.each(i.mapDimension("value"),function(r,o){if(isNaN(r))return;var h=i.getItemLayout(o);if(!h||!h.point)return;var p=h.point,g=h.offset,v=new A.Circle({style:{fill:n.getData().getVisual("color")},shape:{cx:p[0]+g*9,cy:p[1],r:3},silent:!0,z2:8+(g?0:A.Z2_EMPHASIS_LIFT+1)});if(!g){var y=n.mainSeries.getData(),w=i.getName(o),S=y.indexOfName(w),_=i.getItemModel(o),I=_.getModel("label"),C=_.getModel("emphasis.label"),E=y.getItemGraphicEl(S),O=b.retrieve2(n.getFormattedLabel(S,"normal"),w),M=b.retrieve2(n.getFormattedLabel(S,"emphasis"),O),F=E[t],H=Math.random();if(!F){F=E[t]={};var B=b.curry(d,!0),X=b.curry(d,!1);E.on("mouseover",B).on("mouseout",X).on("emphasis",B).on("normal",X)}E[e]=H,b.extend(F,{recordVersion:H,circle:v,labelModel:I,hoverLabelModel:C,emphasisText:M,normalText:O}),a(F,!1)}u.add(v)})}});function d(n){var s=this[t];s&&s.recordVersion===this[e]&&a(s,n)}function a(n,s){var c=n.circle,i=n.labelModel,u=n.hoverLabelModel,r=n.emphasisText,o=n.normalText;s?(c.style.extendFrom(A.setTextStyle({},u,{text:u.get("show")?r:null},{isRectText:!0,useInsideStyle:!1},!0)),c.__mapOriginalZ2=c.z2,c.z2+=A.Z2_EMPHASIS_LIFT):(A.setTextStyle(c.style,i,{text:i.get("show")?o:null,textPosition:i.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),c.dirty(!1),c.__mapOriginalZ2!=null&&(c.z2=c.__mapOriginalZ2,c.__mapOriginalZ2=null))}j.exports=m},pwpV:function(j,R,l){},pzxd:function(j,R,l){var x=l("bYtY"),b=x.retrieve2,A=x.retrieve3,f=x.each,t=x.normalizeCssArray,e=x.isString,m=x.isObject,d=l("6GrX"),a=l("VpOo"),n=l("Xnb7"),s=l("fW2E"),c=l("gut8"),i=c.ContextCachedBy,u=c.WILL_BE_RESTORED,r=d.DEFAULT_FONT,o={left:1,right:1,center:1},h={top:1,bottom:1,middle:1},p=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],g={},v={};function y(P){return w(P),f(P.rich,w),P}function w(P){if(P){P.font=d.makeFont(P);var G=P.textAlign;G==="middle"&&(G="center"),P.textAlign=G==null||o[G]?G:"left";var V=P.textVerticalAlign||P.textBaseline;V==="center"&&(V="middle"),P.textVerticalAlign=V==null||h[V]?V:"top";var q=P.textPadding;q&&(P.textPadding=t(P.textPadding))}}function S(P,G,V,q,re,ce){q.rich?I(P,G,V,q,re,ce):_(P,G,V,q,re,ce)}function _(P,G,V,q,re,ce){"use strict";var ie=M(q),fe,xe=!1,Se=G.__attrCachedBy===i.PLAIN_TEXT;ce!==u?(ce&&(fe=ce.style,xe=!ie&&Se&&fe),G.__attrCachedBy=ie?i.NONE:i.PLAIN_TEXT):Se&&(G.__attrCachedBy=i.NONE);var ke=q.font||r;(!xe||ke!==(fe.font||r))&&(G.font=ke);var ge=P.__computedFont;P.__styleFont!==ke&&(P.__styleFont=ke,ge=P.__computedFont=G.font);var Be=q.textPadding,ee=q.textLineHeight,ue=P.__textCotentBlock;(!ue||P.__dirtyText)&&(ue=P.__textCotentBlock=d.parsePlainText(V,ge,Be,ee,q.truncate));var Ge=ue.outerHeight,ae=ue.lines,Z=ue.lineHeight,Y=B(v,P,q,re),te=Y.baseX,we=Y.baseY,pe=Y.textAlign||"left",De=Y.textVerticalAlign;E(G,q,re,te,we);var Ne=d.adjustTextY(we,Ge,De),me=te,be=Ne;if(ie||Be){var Re=d.getWidth(V,ge),it=Re;Be&&(it+=Be[1]+Be[3]);var yt=d.adjustTextX(te,it,pe);ie&&F(P,G,q,yt,Ne,it,Ge),Be&&(me=z(te,pe,Be),be+=Be[0])}G.textAlign=pe,G.textBaseline="middle",G.globalAlpha=q.opacity||1;for(var pt=0;pt=0&&(pt=pe[yt],pt.textAlign==="right");)O(P,G,pt,q,Ne,Z,it,"right"),me-=pt.width,it-=pt.width,yt--;for(Re+=(ce-(Re-ae)-(Y-it)-me)/2;be<=yt;)pt=pe[be],O(P,G,pt,q,Ne,Z,Re+pt.width/2,"center"),Re+=pt.width,be++;Z+=Ne}}function E(P,G,V,q,re){if(V&&G.textRotation){var ce=G.textOrigin;ce==="center"?(q=V.width/2+V.x,re=V.height/2+V.y):ce&&(q=ce[0]+V.x,re=ce[1]+V.y),P.translate(q,re),P.rotate(-G.textRotation),P.translate(-q,-re)}}function O(P,G,V,q,re,ce,ie,fe){var xe=q.rich[V.styleName]||{};xe.text=V.text;var Se=V.textVerticalAlign,ke=ce+re/2;Se==="top"?ke=ce+V.height/2:Se==="bottom"&&(ke=ce+re-V.height/2),!V.isLineHolder&&M(xe)&&F(P,G,xe,fe==="right"?ie-V.width:fe==="center"?ie-V.width/2:ie,ke-V.height/2,V.width,V.height);var ge=V.textPadding;ge&&(ie=z(ie,fe,ge),ke-=V.height/2-ge[2]-V.textHeight/2),X(G,"shadowBlur",A(xe.textShadowBlur,q.textShadowBlur,0)),X(G,"shadowColor",xe.textShadowColor||q.textShadowColor||"transparent"),X(G,"shadowOffsetX",A(xe.textShadowOffsetX,q.textShadowOffsetX,0)),X(G,"shadowOffsetY",A(xe.textShadowOffsetY,q.textShadowOffsetY,0)),X(G,"textAlign",fe),X(G,"textBaseline","middle"),X(G,"font",V.font||r);var Be=J(xe.textStroke||q.textStroke,ue),ee=k(xe.textFill||q.textFill),ue=b(xe.textStrokeWidth,q.textStrokeWidth);Be&&(X(G,"lineWidth",ue),X(G,"strokeStyle",Be),G.strokeText(V.text,ie,ke)),ee&&(X(G,"fillStyle",ee),G.fillText(V.text,ie,ke))}function M(P){return!!(P.textBackgroundColor||P.textBorderWidth&&P.textBorderColor)}function F(P,G,V,q,re,ce,ie){var fe=V.textBackgroundColor,xe=V.textBorderWidth,Se=V.textBorderColor,ke=e(fe);if(X(G,"shadowBlur",V.textBoxShadowBlur||0),X(G,"shadowColor",V.textBoxShadowColor||"transparent"),X(G,"shadowOffsetX",V.textBoxShadowOffsetX||0),X(G,"shadowOffsetY",V.textBoxShadowOffsetY||0),ke||xe&&Se){G.beginPath();var ge=V.textBorderRadius;ge?a.buildPath(G,{x:q,y:re,width:ce,height:ie,r:ge}):G.rect(q,re,ce,ie),G.closePath()}if(ke)if(X(G,"fillStyle",fe),V.fillOpacity!=null){var Be=G.globalAlpha;G.globalAlpha=V.fillOpacity*V.opacity,G.fill(),G.globalAlpha=Be}else G.fill();else if(m(fe)){var ee=fe.image;ee=n.createOrUpdateImage(ee,null,P,H,fe),ee&&n.isImageReady(ee)&&G.drawImage(ee,q,re,ce,ie)}if(xe&&Se)if(X(G,"lineWidth",xe),X(G,"strokeStyle",Se),V.strokeOpacity!=null){var Be=G.globalAlpha;G.globalAlpha=V.strokeOpacity*V.opacity,G.stroke(),G.globalAlpha=Be}else G.stroke()}function H(P,G){G.image=P}function B(P,G,V,q){var re=V.x||0,ce=V.y||0,ie=V.textAlign,fe=V.textVerticalAlign;if(q){var xe=V.textPosition;if(xe instanceof Array)re=q.x+K(xe[0],q.width),ce=q.y+K(xe[1],q.height);else{var Se=G&&G.calculateTextPosition?G.calculateTextPosition(g,V,q):d.calculateTextPosition(g,V,q);re=Se.x,ce=Se.y,ie=ie||Se.textAlign,fe=fe||Se.textVerticalAlign}var ke=V.textOffset;ke&&(re+=ke[0],ce+=ke[1])}return P=P||{},P.baseX=re,P.baseY=ce,P.textAlign=ie,P.textVerticalAlign=fe,P}function X(P,G,V){return P[G]=s(P,G,V),P[G]}function J(P,G){return P==null||G<=0||P==="transparent"||P==="none"?null:P.image||P.colorStops?"#000":P}function k(P){return P==null||P==="none"?null:P.image||P.colorStops?"#000":P}function K(P,G){return typeof P=="string"?P.lastIndexOf("%")>=0?parseFloat(P)/100*G:parseFloat(P):P}function z(P,G,V){return G==="right"?P-V[1]:G==="center"?P+V[3]/2-V[1]/2:P+V[3]}function W(P,G){return P!=null&&(P||G.textBackgroundColor||G.textBorderWidth&&G.textBorderColor||G.textPadding)}R.normalizeTextStyle=y,R.renderText=S,R.getBoxPosition=B,R.getStroke=J,R.getFill=k,R.parsePercent=K,R.needDrawText=W},"q/+u":function(j,R,l){var x=l("ProS"),b=l("9wZj"),A=l("yWXo"),f=l("h8O9");x.extendChartView({type:"scatter",render:function(t,e,m){var d=t.getData(),a=this._updateSymbolDraw(d,t);a.updateData(d,{clipShape:this._getClipShape(t)}),this._finished=!0},incrementalPrepareRender:function(t,e,m){var d=t.getData(),a=this._updateSymbolDraw(d,t);a.incrementalPrepareUpdate(d),this._finished=!1},incrementalRender:function(t,e,m){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,m){var d=t.getData();if(this.group.dirty(),!this._finished||d.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var a=f().reset(t);a.progress&&a.progress({start:0,end:d.count()},d),this._symbolDraw.updateLayout(d)},_getClipShape:function(t){var e=t.coordinateSystem,m=e&&e.getArea&&e.getArea();return t.get("clip",!0)?m:null},_updateSymbolDraw:function(t,e){var m=this._symbolDraw,d=e.pipelineContext,a=d.large;return(!m||a!==this._isLargeDraw)&&(m&&m.remove(),m=this._symbolDraw=a?new A:new b,this._isLargeDraw=a,this.group.removeAll()),this.group.add(m.group),m},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(j,R){var l=["lineStyle","normal","opacity"],x={seriesType:"parallel",reset:function(b,A,f){var t=b.getModel("itemStyle"),e=b.getModel("lineStyle"),m=A.get("color"),d=e.get("color")||t.get("color")||m[b.seriesIndex%m.length],a=b.get("inactiveOpacity"),n=b.get("activeOpacity"),s=b.getModel("lineStyle").getLineStyle(),c=b.coordinateSystem,i=b.getData(),u={normal:s.opacity,active:n,inactive:a};i.setVisual("color",d);function r(o,h){c.eachActiveState(h,function(p,g){var v=u[p];if(p==="normal"&&h.hasItemOption){var y=h.getItemModel(g).get(l,!0);y!=null&&(v=y)}h.setItemVisual(g,"opacity",v)},o.start,o.end)}return{progress:r}}};j.exports=x},q4HE:function(j,R){var l="\\ud800-\\udfff",x="\\u0300-\\u036f",b="\\ufe20-\\ufe2f",A="\\u20d0-\\u20ff",f=x+b+A,t="\\ufe0e\\ufe0f",e="["+l+"]",m="["+f+"]",d="\\ud83c[\\udffb-\\udfff]",a="(?:"+m+"|"+d+")",n="[^"+l+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",i="\\u200d",u=a+"?",r="["+t+"]?",o="(?:"+i+"(?:"+[n,s,c].join("|")+")"+r+u+")*",h=r+u+o,p="(?:"+[n+m+"?",m,s,c,e].join("|")+")",g=RegExp(d+"(?="+d+")|"+p+h,"g");function v(y){for(var w=g.lastIndex=0;g.test(y);)++w;return w}j.exports=v},q7KB:function(j,R,l){},qH13:function(j,R,l){var x=l("ItGF"),b=l("QBsz"),A=b.applyTransform,f=l("mFDi"),t=l("Qe9p"),e=l("6GrX"),m=l("pzxd"),d=l("ni6a"),a=l("Gev7"),n=l("Dagg"),s=l("dqUG"),c=l("y+Vt"),i=l("IMiH"),u=l("QuXc"),r=l("06Qe"),o=i.CMD,h=Math.round,p=Math.sqrt,g=Math.abs,v=Math.cos,y=Math.sin,w=Math.max;if(!x.canvasSupported){var S=",",_="progid:DXImageTransform.Microsoft",I=21600,C=I/2,E=1e5,O=1e3,M=function(we){we.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",we.coordsize=I+","+I,we.coordorigin="0,0"},F=function(we){return String(we).replace(/&/g,"&").replace(/"/g,""")},H=function(we,pe,De){return"rgb("+[we,pe,De].join(",")+")"},B=function(we,pe){pe&&we&&pe.parentNode!==we&&we.appendChild(pe)},X=function(we,pe){pe&&we&&pe.parentNode===we&&we.removeChild(pe)},J=function(we,pe,De){return(parseFloat(we)||0)*E+(parseFloat(pe)||0)*O+De},k=m.parsePercent,K=function(we,pe,De){var Ne=t.parse(pe);De=+De,isNaN(De)&&(De=1),Ne&&(we.color=H(Ne[0],Ne[1],Ne[2]),we.opacity=De*Ne[3])},z=function(we){var pe=t.parse(we);return[H(pe[0],pe[1],pe[2]),pe[3]]},W=function(we,pe,De){var Ne=pe.fill;if(Ne!=null)if(Ne instanceof u){var me,be=0,Re=[0,0],it=0,yt=1,pt=De.getBoundingRect(),Pe=pt.width,Nt=pt.height;if(Ne.type==="linear"){me="gradient";var ut=De.transform,Ft=[Ne.x*Pe,Ne.y*Nt],Ut=[Ne.x2*Pe,Ne.y2*Nt];ut&&(A(Ft,Ft,ut),A(Ut,Ut,ut));var Kt=Ut[0]-Ft[0],$t=Ut[1]-Ft[1];be=Math.atan2(Kt,$t)*180/Math.PI,be<0&&(be+=360),be<1e-6&&(be=0)}else{me="gradientradial";var Ft=[Ne.x*Pe,Ne.y*Nt],ut=De.transform,or=De.scale,ht=Pe,Ee=Nt;Re=[(Ft[0]-pt.x)/ht,(Ft[1]-pt.y)/Ee],ut&&A(Ft,Ft,ut),ht/=or[0]*I,Ee/=or[1]*I;var de=w(ht,Ee);it=2*0/de,yt=2*Ne.r/de-it}var qe=Ne.colorStops.slice();qe.sort(function(ot,et){return ot.offset-et.offset});for(var rt=qe.length,ve=[],bt=[],jt=0;jt=2){var Ar=ve[0][0],at=ve[1][0],Ht=ve[0][1]*pe.opacity,Wt=ve[1][1]*pe.opacity;we.type=me,we.method="none",we.focus="100%",we.angle=be,we.color=Ar,we.color2=at,we.colors=bt.join(","),we.opacity=Wt,we.opacity2=Ht}me==="radial"&&(we.focusposition=Re.join(","))}else K(we,Ne,pe.opacity)},P=function(we,pe){pe.lineDash&&(we.dashstyle=pe.lineDash.join(" ")),pe.stroke!=null&&!(pe.stroke instanceof u)&&K(we,pe.stroke,pe.opacity)},G=function(we,pe,De,Ne){var me=pe==="fill",be=we.getElementsByTagName(pe)[0];De[pe]!=null&&De[pe]!=="none"&&(me||!me&&De.lineWidth)?(we[me?"filled":"stroked"]="true",De[pe]instanceof u&&X(we,be),be||(be=r.createNode(pe)),me?W(be,De,Ne):P(be,De),B(we,be)):(we[me?"filled":"stroked"]="false",X(we,be))},V=[[],[],[]],q=function(we,pe){var De=o.M,Ne=o.C,me=o.L,be=o.A,Re=o.Q,it=[],yt,pt,Pe,Nt,ut,Ft,Ut=we.data,Kt=we.len();for(Nt=0;Nt.01?et&&(Ze+=270/I):Math.abs(Gt-Ar)<1e-4?et&&Zekt?or-=270/I:or+=270/I:et&&GtAr?$t+=270/I:$t-=270/I),it.push(yr,h(((kt-at)*bt+rt)*I-C),S,h(((Ar-Ht)*jt+ve)*I-C),S,h(((kt+at)*bt+rt)*I-C),S,h(((Ar+Ht)*jt+ve)*I-C),S,h((Ze*bt+rt)*I-C),S,h((Gt*jt+ve)*I-C),S,h(($t*bt+rt)*I-C),S,h((or*jt+ve)*I-C)),ut=$t,Ft=or;break;case o.R:var br=V[0],Sr=V[1];br[0]=Ut[Nt++],br[1]=Ut[Nt++],Sr[0]=br[0]+Ut[Nt++],Sr[1]=br[1]+Ut[Nt++],pe&&(A(br,br,pe),A(Sr,Sr,pe)),br[0]=h(br[0]*I-C),Sr[0]=h(Sr[0]*I-C),br[1]=h(br[1]*I-C),Sr[1]=h(Sr[1]*I-C),it.push(" m ",br[0],S,br[1]," l ",Sr[0],S,br[1]," l ",Sr[0],S,Sr[1]," l ",br[0],S,Sr[1]);break;case o.Z:it.push(" x ")}if(yt>0){it.push(pt);for(var Tn=0;Tnxe&&(fe=0,ie={});var De=Se.style,Ne;try{De.font=we,Ne=De.fontFamily.split(",")[0]}catch(me){}pe={style:De.fontStyle||ce,variant:De.fontVariant||ce,weight:De.fontWeight||ce,size:parseFloat(De.fontSize||12)|0,family:Ne||"Microsoft YaHei"},ie[we]=pe,fe++}return pe},ge;e.$override("measureText",function(te,we){var pe=r.doc;ge||(ge=pe.createElement("div"),ge.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",r.doc.body.appendChild(ge));try{ge.style.font=we}catch(De){}return ge.innerHTML="",ge.appendChild(pe.createTextNode(te)),{width:ge.offsetWidth}});for(var Be=new f,ee=function(we,pe,De,Ne){var me=this.style;this.__dirty&&m.normalizeTextStyle(me,!0);var be=me.text;if(be!=null&&(be+=""),!be)return;if(me.rich){var Re=e.parseRichText(be,me);be=[];for(var it=0;itDe&&(Ht="".concat(Wt.slice(0,De),"..."))}return Object(b.a)(Object(b.a)({},at),{},{label:Ht})})),jt>0&&bt.push({key:v,label:typeof me=="function"?me(fe.slice(pe)):me});var He=e.createElement(c.CSSMotionList,{component:!1,keys:bt,motionName:we,motionAppear:Kt},function(kt){var Ar=kt.key,at=kt.label,Ht=kt.value,Wt=kt.disabled,ot=kt.className,et=kt.style,Ze=Ar||Ht,Gt=Ar!==v&&!Wt,yr=function(Tn){Tn.preventDefault(),Tn.stopPropagation()},br=function(Tn){Tn&&Tn.stopPropagation(),Re(Ht,{selected:!1})};return typeof be=="function"?e.createElement("span",{key:Ze,onMouseDown:yr,className:ot,style:et},be({label:at,value:Ht,disabled:Wt,closable:Gt,onClose:br})):e.createElement("span",{key:Ze,className:a()(ot,"".concat(ie,"-selection-item"),Object(x.a)({},"".concat(ie,"-selection-item-disabled"),Wt)),style:et},e.createElement("span",{className:"".concat(ie,"-selection-item-content")},at),Gt&&e.createElement(i.a,{className:"".concat(ie,"-selection-item-remove"),onMouseDown:yr,onClick:br,customizeIcon:te},"\xD7"))});return e.createElement(e.Fragment,null,He,e.createElement("span",{className:"".concat(ie,"-selection-search"),style:{width:de}},e.createElement(h,{ref:ke,open:xe,prefixCls:ie,id:ce,inputElement:null,disabled:Be,autoFocus:Ge,autoComplete:ae,editable:ve,accessibilityIndex:Z,value:rt,onKeyDown:pt,onMouseDown:Pe,onChange:it,onPaste:yt,onCompositionStart:Nt,onCompositionEnd:ut,tabIndex:Y,attrs:Object(s.a)(re,!0)}),e.createElement("span",{ref:or,className:"".concat(ie,"-selection-search-mirror"),"aria-hidden":!0},rt,"\xA0")),!fe.length&&!rt&&e.createElement("span",{className:"".concat(ie,"-selection-placeholder")},ge))},w=y,S=function(re){var ce=re.inputElement,ie=re.prefixCls,fe=re.id,xe=re.inputRef,Se=re.disabled,ke=re.autoFocus,ge=re.autoComplete,Be=re.accessibilityIndex,ee=re.mode,ue=re.open,Ge=re.values,ae=re.placeholder,Z=re.tabIndex,Y=re.showSearch,te=re.searchValue,we=re.activeValue,pe=re.onInputKeyDown,De=re.onInputMouseDown,Ne=re.onInputChange,me=re.onInputPaste,be=re.onInputCompositionStart,Re=re.onInputCompositionEnd,it=e.useState(!1),yt=Object(f.a)(it,2),pt=yt[0],Pe=yt[1],Nt=ee==="combobox",ut=Nt||Y&&ue,Ft=Ge[0],Ut=te||"";Nt&&we&&!pt&&(Ut=we),e.useEffect(function(){Nt&&Pe(!1)},[Nt,we]);var Kt=ee!=="combobox"&&!ue?!1:!!Ut,$t=Ft&&(typeof Ft.label=="string"||typeof Ft.label=="number")?Ft.label.toString():void 0;return e.createElement(e.Fragment,null,e.createElement("span",{className:"".concat(ie,"-selection-search")},e.createElement(h,{ref:xe,prefixCls:ie,id:fe,open:ue,inputElement:ce,disabled:Se,autoFocus:ke,autoComplete:ge,editable:ut,accessibilityIndex:Be,value:Ut,onKeyDown:pe,onMouseDown:De,onChange:function(ht){Pe(!0),Ne(ht)},onPaste:me,onCompositionStart:be,onCompositionEnd:Re,tabIndex:Z,attrs:Object(s.a)(re,!0)})),!Nt&&Ft&&!Kt&&e.createElement("span",{className:"".concat(ie,"-selection-item"),title:$t},Ft.label),!Ft&&!Kt&&e.createElement("span",{className:"".concat(ie,"-selection-placeholder")},ae))},_=S;function I(){var q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,re=e.useRef(null),ce=e.useRef(null);e.useEffect(function(){return function(){window.clearTimeout(ce.current)}},[]);function ie(fe){(fe||re.current===null)&&(re.current=fe),window.clearTimeout(ce.current),ce.current=window.setTimeout(function(){re.current=null},q)}return[function(){return re.current},ie]}var C=function(re,ce){var ie=Object(e.useRef)(null),fe=Object(e.useRef)(!1),xe=re.prefixCls,Se=re.multiple,ke=re.open,ge=re.mode,Be=re.showSearch,ee=re.tokenWithEnter,ue=re.onSearch,Ge=re.onSearchSubmit,ae=re.onToggleOpen,Z=re.onInputKeyDown,Y=re.domRef;e.useImperativeHandle(ce,function(){return{focus:function(){ie.current.focus()},blur:function(){ie.current.blur()}}});var te=I(0),we=Object(f.a)(te,2),pe=we[0],De=we[1],Ne=function(Kt){var $t=Kt.which;($t===m.a.UP||$t===m.a.DOWN)&&Kt.preventDefault(),Z&&Z(Kt),$t===m.a.ENTER&&ge==="tags"&&!fe.current&&!ke&&Ge(Kt.target.value),[m.a.SHIFT,m.a.TAB,m.a.BACKSPACE,m.a.ESC].includes($t)||ae(!0)},me=function(){De(!0)},be=Object(e.useRef)(null),Re=function(Kt){ue(Kt,!0,fe.current)!==!1&&ae(!0)},it=function(){fe.current=!0},yt=function(){fe.current=!1},pt=function(Kt){var $t=Kt.target.value;if(ee&&be.current&&/[\r\n]/.test(be.current)){var or=be.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");$t=$t.replace(or,be.current)}be.current=null,Re($t)},Pe=function(Kt){var $t=Kt.clipboardData,or=$t.getData("text");be.current=or},Nt=function(Kt){var $t=pe();if(Kt.target!==ie.current){$t||Kt.preventDefault();var or=document.body.style.msTouchAction!==void 0;or?setTimeout(function(){ie.current.focus()}):ie.current.focus()}(ge!=="combobox"&&(!Be||!$t)||!ke)&&(ke&&ue("",!0,!1),ae())},ut={inputRef:ie,onInputKeyDown:Ne,onInputMouseDown:me,onInputChange:pt,onInputPaste:Pe,onInputCompositionStart:it,onInputCompositionEnd:yt},Ft=Se?e.createElement(w,Object.assign({},re,ut)):e.createElement(_,Object.assign({},re,ut));return e.createElement("div",{ref:Y,className:"".concat(xe,"-selector"),onMouseDown:Nt},Ft)},E=e.forwardRef(C);E.displayName="Selector";var O=E,M=l("uciX"),F=function(re){var ce=typeof re!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:ce,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:ce,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:ce,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:ce,adjustY:1}}}},H=function(re,ce){var ie=re.prefixCls,fe=re.disabled,xe=re.visible,Se=re.children,ke=re.popupElement,ge=re.containerWidth,Be=re.animation,ee=re.transitionName,ue=re.dropdownStyle,Ge=re.dropdownClassName,ae=re.direction,Z=ae===void 0?"ltr":ae,Y=re.dropdownMatchSelectWidth,te=Y===void 0?!0:Y,we=re.dropdownRender,pe=re.dropdownAlign,De=re.getPopupContainer,Ne=re.empty,me=re.getTriggerDOMNode,be=Object(t.a)(re,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),Re="".concat(ie,"-dropdown"),it=ke;we&&(it=we(ke));var yt=e.useMemo(function(){return F(te)},[te]),pt=Be?"".concat(Re,"-").concat(Be):ee,Pe=e.useRef(null);e.useImperativeHandle(ce,function(){return{getPopupElement:function(){return Pe.current}}});var Nt=Object(b.a)({minWidth:ge},ue);return typeof te=="number"?Nt.width=te:te&&(Nt.width=ge),e.createElement(M.a,Object.assign({},be,{showAction:[],hideAction:[],popupPlacement:Z==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:yt,prefixCls:Re,popupTransitionName:pt,popup:e.createElement("div",{ref:Pe},it),popupAlign:pe,popupVisible:xe,getPopupContainer:De,popupClassName:a()(Ge,Object(x.a)({},"".concat(Re,"-empty"),Ne)),popupStyle:Nt,getTriggerDOMNode:me}),Se)},B=e.forwardRef(H);B.displayName="SelectTrigger";var X=B,J=l("wPlo");function k(){var q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,re=e.useState(!1),ce=Object(f.a)(re,2),ie=ce[0],fe=ce[1],xe=e.useRef(null),Se=function(){window.clearTimeout(xe.current)};e.useEffect(function(){return Se},[]);var ke=function(Be,ee){Se(),xe.current=window.setTimeout(function(){fe(Be),ee&&ee()},q)};return[ie,ke,Se]}var K=l("2Qr1");function z(q,re,ce){var ie=e.useRef(null);ie.current={elements:q.filter(function(fe){return fe}),open:re,triggerOpen:ce},e.useEffect(function(){function fe(xe){var Se=xe.target;ie.current.open&&ie.current.elements.every(function(ke){return!ke.contains(Se)&&ke!==Se})&&ie.current.triggerOpen(!1)}return window.addEventListener("mousedown",fe),function(){return window.removeEventListener("mousedown",fe)}},[])}function W(q){var re=e.useRef(q),ce=e.useMemo(function(){var ie=new Map;re.current.forEach(function(xe){var Se=xe.value,ke=xe.label;Se!==ke&&ie.set(Se,ke)});var fe=q.map(function(xe){var Se=ie.get(xe.value);return xe.value===xe.label&&Se?Object(b.a)(Object(b.a)({},xe),{},{label:Se}):xe});return re.current=fe,fe},[q]);return ce}function P(q,re){var ce=e.useRef(null),ie=e.useMemo(function(){var xe=new Map;return re.forEach(function(Se){var ke=Se.data.value;xe.set(ke,Se)}),xe},[q,re]);ce.current=ie;var fe=function(Se){return Se.map(function(ke){return ce.current.get(ke)}).filter(Boolean)};return fe}var G=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function V(q){var re=q.prefixCls,ce=q.components.optionList,ie=q.convertChildrenToData,fe=q.flattenOptions,xe=q.getLabeledValue,Se=q.filterOptions,ke=q.isValueDisabled,ge=q.findValueOption,Be=q.warningProps,ee=q.fillOptionsWithMissingValue,ue=q.omitDOMProps;function Ge(Z,Y){var te,we=Z.prefixCls,pe=we===void 0?re:we,De=Z.className,Ne=Z.id,me=Z.open,be=Z.defaultOpen,Re=Z.options,it=Z.children,yt=Z.mode,pt=Z.value,Pe=Z.defaultValue,Nt=Z.labelInValue,ut=Z.showSearch,Ft=Z.inputValue,Ut=Z.searchValue,Kt=Z.filterOption,$t=Z.optionFilterProp,or=$t===void 0?"value":$t,ht=Z.autoClearSearchValue,Ee=ht===void 0?!0:ht,de=Z.onSearch,qe=Z.allowClear,rt=Z.clearIcon,ve=Z.showArrow,bt=Z.inputIcon,jt=Z.menuItemSelectedIcon,He=Z.disabled,kt=Z.loading,Ar=Z.defaultActiveFirstOption,at=Z.notFoundContent,Ht=at===void 0?"Not Found":at,Wt=Z.optionLabelProp,ot=Z.backfill,et=Z.getInputElement,Ze=Z.getPopupContainer,Gt=Z.listHeight,yr=Gt===void 0?200:Gt,br=Z.listItemHeight,Sr=br===void 0?20:br,Tn=Z.animation,cn=Z.transitionName,Wn=Z.virtual,lt=Z.dropdownStyle,mt=Z.dropdownClassName,Le=Z.dropdownMatchSelectWidth,ze=Z.dropdownRender,$e=Z.dropdownAlign,gt=Z.showAction,ir=gt===void 0?[]:gt,Xt=Z.direction,er=Z.tokenSeparators,Kr=Z.tagRender,en=Z.onPopupScroll,Fn=Z.onDropdownVisibleChange,ar=Z.onFocus,It=Z.onBlur,Ct=Z.onKeyUp,mr=Z.onKeyDown,gr=Z.onMouseDown,Mt=Z.onChange,rr=Z.onSelect,Dt=Z.onDeselect,tr=Z.onClear,Dr=Z.internalProps,dr=Dr===void 0?{}:Dr,Tr=Object(t.a)(Z,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","getInputElement","getPopupContainer","listHeight","listItemHeight","animation","transitionName","virtual","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown","onChange","onSelect","onDeselect","onClear","internalProps"]),vn=dr.mark===J.a,on=ue?ue(Tr):Tr;G.forEach(function(Ai){delete on[Ai]});var Gn=Object(e.useRef)(null),di=Object(e.useRef)(null),Ti=Object(e.useRef)(null),Fi=Object(e.useRef)(null),la=Object(e.useMemo)(function(){return(er||[]).some(function(Ai){return[` `,`\r -`].includes(Ai)})},[er]),Ta=k(),dt=Object(f.a)(Ta,3),Me=dt[0],Xe=dt[1],Qe=dt[2],st=Object(e.useState)(),nt=Object(f.a)(st,2),ft=nt[0],Bt=nt[1];Object(e.useEffect)(function(){Bt("rc_select_".concat(Object(p.a)()))},[]);var Et=Ne||ft,nr=Kt;nr===void 0&&(nr=Re?"label":"children");var Ur=yt==="combobox"?!1:Nt,Lr=yt==="tags"||yt==="multiple",Vr=ut!==void 0?ut:Lr||yt==="combobox",sr=Object(e.useRef)(null);e.useImperativeHandle(Y,function(){return{focus:Ti.current.focus,blur:Ti.current.blur}});var Bn=Object(n.a)(Pe,{value:pt}),Er=Object(f.a)(Bn,2),gn=Er[0],rn=Er[1],Br=Object(e.useMemo)(function(){return Object(p.e)(gn,{labelInValue:Ur,combobox:yt==="combobox"})},[gn,Ur]),Vn=Object(e.useMemo)(function(){return new Set(Br)},[Br]),gi=Object(e.useState)(null),Ni=Object(f.a)(gi,2),Ki=Ni[0],zi=Ni[1],Yi=Object(e.useState)(""),mi=Object(f.a)(Yi,2),va=mi[0],zn=mi[1],fn=va;yt==="combobox"&&gn!==void 0?fn=gn:Ut!==void 0?fn=Ut:Ft&&(fn=Ft);var $n=Object(e.useMemo)(function(){var Ai=Re;return Ai===void 0&&(Ai=ie(it)),yt==="tags"&&ee&&(Ai=ee(Ai,gn,nr,Nt)),Ai||[]},[Re,it,yt,gn]),Cn=Object(e.useMemo)(function(){return fe($n,Z)},[$n]),ki=P(Br,Cn),In=Object(e.useMemo)(function(){if(!fn||!Vr)return Object(A.a)($n);var Ai=Se(fn,$n,{optionFilterProp:or,filterOption:yt==="combobox"&&Wt===void 0?function(){return!0}:Wt});return yt==="tags"&&Ai.every(function(oa){return oa[or]!==fn})&&Ai.unshift({value:fn,label:fn,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Ai},[$n,fn,yt,Vr]),na=Object(e.useMemo)(function(){return fe(In,Z)},[In]);Object(e.useEffect)(function(){Fi.current&&Fi.current.scrollTo&&Fi.current.scrollTo(0)},[fn]);var Ei=Object(e.useMemo)(function(){var Ai=Br.map(function(oa){var Ba=ki([oa]),Nr=xe(oa,{options:Ba,prevValue:gn,labelInValue:Ur,optionLabelProp:nr});return Object(b.a)(Object(b.a)({},Nr),{},{disabled:ke(oa,Ba)})});return!yt&&Ai.length===1&&Ai[0].value===null&&Ai[0].label===null?[]:Ai},[gn,$n,yt]);Ei=K(Ei);var pi=function(oa,Ba,Nr){var Qr=ki([oa]),bn=ge([oa],Qr)[0];if(!dr.skipTriggerSelect){var Zr=Ur?xe(oa,{options:Qr,prevValue:gn,labelInValue:Ur,optionLabelProp:nr}):oa;Ba&&rr?rr(Zr,bn):!Ba&&Dt&&Dt(Zr,bn)}vn&&(Ba&&dr.onRawSelect?dr.onRawSelect(oa,bn,Nr):!Ba&&dr.onRawDeselect&&dr.onRawDeselect(oa,bn,Nr))},Ri=Object(e.useState)([]),Na=Object(f.a)(Ri,2),Un=Na[0],nn=Na[1],Yn=function(oa){if(vn&&dr.skipTriggerChange)return;var Ba=ki(oa),Nr=Object(p.f)(Array.from(oa),{labelInValue:Ur,options:Ba,getLabeledValue:xe,prevValue:gn,optionLabelProp:nr}),Qr=Lr?Nr:Nr[0];if(Mt&&(Br.length!==0||Nr.length!==0)){var bn=ge(oa,Ba,{prevValueOptions:Un});nn(bn.map(function(Zr,hr){var jr=Object(b.a)({},Zr);return Object.defineProperty(jr,"_INTERNAL_OPTION_VALUE_",{get:function(){return oa[hr]}}),jr})),Mt(Qr,Lr?bn:bn[0])}rn(Qr)},bi=function(oa,Ba){var Nr=Ba.selected,Qr=Ba.source;if(He)return;var bn;Lr?(bn=new Set(Br),Nr?bn.add(oa):bn.delete(oa)):(bn=new Set,bn.add(oa)),(Lr||!Lr&&Array.from(Br)[0]!==oa)&&Yn(Array.from(bn)),pi(oa,!Lr||Nr,Qr),yt==="combobox"?(zn(String(oa)),zi("")):(!Lr||Ee)&&(zn(""),zi(""))},Oi=function(oa,Ba){bi(oa,Object(b.a)(Object(b.a)({},Ba),{},{source:"option"}))},_i=function(oa,Ba){bi(oa,Object(b.a)(Object(b.a)({},Ba),{},{source:"selection"}))},Zi=yt==="combobox"&&et&&et()||null,qi=Object(n.a)(void 0,{defaultValue:be,value:me}),ea=Object(f.a)(qi,2),ya=ea[0],co=ea[1],io=ya,rs=!Ht&&!In.length;(He||rs&&io&&yt==="combobox")&&(io=!1);var Pi=rs?!1:io,dn=function(oa){var Ba=oa!==void 0?oa:!io;ya!==Ba&&!He&&(co(Ba),Fn&&Fn(Ba))};z([Gn.current,di.current&&di.current.getPopupElement()],Pi,dn);var ha=function(oa,Ba,Nr){var Qr=!0,bn=oa;zi(null);var Zr=Nr?null:Object(W.f)(oa,er),hr=Zr;if(yt==="combobox")Ba&&Yn([bn]);else if(Zr){bn="",yt!=="tags"&&(hr=Zr.map(function(wr){var an=Cn.find(function(Jr){var kn=Jr.data;return kn[nr]===wr});return an?an.data.value:null}).filter(function(wr){return wr!==null}));var jr=Array.from(new Set([].concat(Object(A.a)(Br),Object(A.a)(hr))));Yn(jr),jr.forEach(function(wr){pi(wr,!0,"input")}),dn(!1),Qr=!1}return zn(bn),de&&fn!==bn&&de(bn),Qr},ba=function(oa){var Ba=Array.from(new Set([].concat(Object(A.a)(Br),[oa])));Yn(Ba),Ba.forEach(function(Nr){pi(Nr,!0,"input")}),zn("")};Object(e.useEffect)(function(){ya&&!!He&&co(!1)},[He]),Object(e.useEffect)(function(){!io&&!Lr&&yt!=="combobox"&&ha("",!1,!1)},[io]);var ta=I(),so=Object(f.a)(ta,2),lr=so[0],pn=so[1],_n=function(oa){var Ba=lr(),Nr=oa.which;if(!io&&Nr===m.a.ENTER&&dn(!0),pn(!!fn),Nr===m.a.BACKSPACE&&!Ba&&Lr&&!fn&&Br.length){var Qr=Object(p.c)(Ei,Br);Qr.removedValue!==null&&(Yn(Qr.values),pi(Qr.removedValue,!1,"input"))}for(var bn=arguments.length,Zr=new Array(bn>1?bn-1:0),hr=1;hr1?Ba-1:0),Qr=1;Qr1?bn-1:0),hr=1;hrv?v=w:(y.lastTickCount=i,y.lastAutoInterval=v),v}},x.inherits(m,A);var d=m;j.exports=d},qgGe:function(j,R,l){var x=l("bYtY"),b=l("T4UG"),A=l("Bsck"),f=l("VaxA"),t=f.wrapTreePathInfo,e=b.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(d,a){var n={name:d.name,children:d.data};m(n);var s=d.levels||[],c={};return c.levels=s,A.createTree(n,this,c).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(d){var a=b.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(d);return a.treePathInfo=t(n,this),a},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(d){d?this._viewRoot=d:d=this._viewRoot;var a=this.getRawData().tree.root;(!d||d!==a&&!a.contains(d))&&(this._viewRoot=a)}});function m(d){var a=0;x.each(d.children,function(s){m(s);var c=s.value;x.isArray(c)&&(c=c[0]),a+=c});var n=d.value;x.isArray(n)&&(n=n[0]),(n==null||isNaN(n))&&(n=a),n<0&&(n=0),x.isArray(d.value)?d.value[0]=n:d.value=n}j.exports=e},qj72:function(j,R,l){var x=l("bYtY");function b(f,t){return t=t||[0,0],x.map(["x","y"],function(e,m){var d=this.getAxis(e),a=t[m],n=f[m]/2;return d.type==="category"?d.getBandWidth():Math.abs(d.dataToCoord(a-n)-d.dataToCoord(a+n))},this)}function A(f){var t=f.grid.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(e){return f.dataToPoint(e)},size:x.bind(b,f)}}}j.exports=A},"qt/9":function(j,R,l){var x=l("ProS"),b=l("bYtY");l("Wqna"),l("1tlw"),l("Mylv");var A=l("nVfU"),f=A.layout,t=l("f5Yq");l("Ae16"),x.registerLayout(b.curry(f,"pictorialBar")),x.registerVisual(t("pictorialBar","roundRect"))},quyA:function(j,R){var l="\\ud800-\\udfff",x="\\u0300-\\u036f",b="\\ufe20-\\ufe2f",A="\\u20d0-\\u20ff",f=x+b+A,t="\\ufe0e\\ufe0f",e="\\u200d",m=RegExp("["+e+l+f+t+"]");function d(a){return m.test(a)}j.exports=d},qwVE:function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("K4ya"),f=l("XxSj"),t=x.PRIORITY.VISUAL.COMPONENT;x.registerVisual(t,{createOnAllSeries:!0,reset:function(m,d){var a=[];return d.eachComponent("visualMap",function(n){var s=m.pipelineContext;if(!n.isTargetSeries(m)||s&&s.large)return;a.push(A.incrementalApplyVisual(n.stateList,n.targetVisuals,b.bind(n.getValueState,n),n.getDataDimension(m.getData())))}),a}}),x.registerVisual(t,{createOnAllSeries:!0,reset:function(m,d){var a=m.getData(),n=[];d.eachComponent("visualMap",function(s){if(s.isTargetSeries(m)){var c=s.getVisualMeta(b.bind(e,null,m,s))||{stops:[],outerColors:[]},i=s.getDataDimension(a),u=a.getDimensionInfo(i);u!=null&&(c.dimension=u.index,n.push(c))}}),m.getData().setVisual("visualMeta",n)}});function e(m,d,a,n){for(var s=d.targetVisuals[n],c=f.prepareVisualTypes(s),i={color:m.getData().getVisual("color")},u=0,r=c.length;u=0&&(this.delFromStorage(a),this._roots.splice(i,1),a instanceof A&&a.delChildrenFromStorage(this))},addToStorage:function(a){return a&&(a.__storage=this,a.dirty(!1)),this},delFromStorage:function(a){return a&&(a.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:t};var m=e;j.exports=m},rA99:function(j,R,l){var x=l("y+Vt"),b=l("QBsz"),A=l("Sj9i"),f=A.quadraticSubdivide,t=A.cubicSubdivide,e=A.quadraticAt,m=A.cubicAt,d=A.quadraticDerivativeAt,a=A.cubicDerivativeAt,n=[];function s(i,u,r){var o=i.cpx2,h=i.cpy2;return o===null||h===null?[(r?a:m)(i.x1,i.cpx1,i.cpx2,i.x2,u),(r?a:m)(i.y1,i.cpy1,i.cpy2,i.y2,u)]:[(r?d:e)(i.x1,i.cpx1,i.x2,u),(r?d:e)(i.y1,i.cpy1,i.y2,u)]}var c=x.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(u,r){var o=r.x1,h=r.y1,p=r.x2,g=r.y2,v=r.cpx1,y=r.cpy1,w=r.cpx2,S=r.cpy2,_=r.percent;if(_===0)return;u.moveTo(o,h),w==null||S==null?(_<1&&(f(o,v,p,_,n),v=n[1],p=n[2],f(h,y,g,_,n),y=n[1],g=n[2]),u.quadraticCurveTo(v,y,p,g)):(_<1&&(t(o,v,w,p,_,n),v=n[1],w=n[2],p=n[3],t(h,y,S,g,_,n),y=n[1],S=n[2],g=n[3]),u.bezierCurveTo(v,y,w,S,p,g))},pointAt:function(u){return s(this.shape,u,!1)},tangentAt:function(u){var r=s(this.shape,u,!0);return b.normalize(r,r)}});j.exports=c},rHrb:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.CopyToClipboard=void 0;var x=A(l("q1tI")),b=A(l("+QRC"));function A(g){return g&&g.__esModule?g:{default:g}}function f(g){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(y){return typeof y}:f=function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},f(g)}function t(g,v){var y=Object.keys(g);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(g);v&&(w=w.filter(function(S){return Object.getOwnPropertyDescriptor(g,S).enumerable})),y.push.apply(y,w)}return y}function e(g){for(var v=1;v=0)continue;if(!Object.prototype.propertyIsEnumerable.call(g,w))continue;y[w]=g[w]}}return y}function d(g,v){if(g==null)return{};var y={},w=Object.keys(g),S,_;for(_=0;_=0)continue;y[S]=g[S]}return y}function a(g,v){if(!(g instanceof v))throw new TypeError("Cannot call a class as a function")}function n(g,v){for(var y=0;y"']/,x=/[&<>"']/g,b=/[<>"']|&(?!#?\w+;)/,A=/[<>"']|&(?!#?\w+;)/g,f={"&":"&","<":"<",">":">",'"':""","'":"'"},t=function(C){return f[C]};function e(I,C){if(C){if(l.test(I))return I.replace(x,t)}else if(b.test(I))return I.replace(A,t);return I}var m=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function d(I){return I.replace(m,function(C,E){return E=E.toLowerCase(),E==="colon"?":":E.charAt(0)==="#"?E.charAt(1)==="x"?String.fromCharCode(parseInt(E.substring(2),16)):String.fromCharCode(+E.substring(1)):""})}var a=/(^|[^\[])\^/g;function n(I,C){I=I.source||I,C=C||"";var E={replace:function(M,F){return F=F.source||F,F=F.replace(a,"$1"),I=I.replace(M,F),E},getRegex:function(){return new RegExp(I,C)}};return E}var s=/[^\w:]/g,c=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function i(I,C,E){if(I){var O;try{O=decodeURIComponent(d(E)).replace(s,"").toLowerCase()}catch(M){return null}if(O.indexOf("javascript:")===0||O.indexOf("vbscript:")===0||O.indexOf("data:")===0)return null}C&&!c.test(E)&&(E=p(C,E));try{E=encodeURI(E).replace(/%25/g,"%")}catch(M){return null}return E}var u={},r=/^[^:]+:\/*[^/]*$/,o=/^([^:]+:)[\s\S]*$/,h=/^([^:]+:\/*[^/]*)[\s\S]*$/;function p(I,C){u[" "+I]||(r.test(I)?u[" "+I]=I+"/":u[" "+I]=w(I,"/",!0)),I=u[" "+I];var E=I.indexOf(":")===-1;return C.substring(0,2)==="//"?E?C:I.replace(o,"$1")+C:C.charAt(0)==="/"?E?C:I.replace(h,"$1")+C:I+C}var g={exec:function(){}};function v(I){for(var C=1,E,O;C=0&&B[J]==="\\";)X=!X;return X?"|":" |"}),O=E.split(/ \|/),M=0;if(O.length>C)O.splice(C);else for(;O.length=0;n--){var s=A().key(n);a(f(s),s)}}function m(a){return A().removeItem(a)}function d(){return A().clear()}},rdor:function(j,R,l){var x=l("lOQZ"),b=x.circularLayout;function A(f){f.eachSeriesByType("graph",function(t){t.get("layout")==="circular"&&b(t,"symbolSize")})}j.exports=A},rfSb:function(j,R,l){var x=l("T4UG"),b=l("sdST"),A=l("L0Ub"),f=A.getDimensionTypeByAxis,t=l("YXkt"),e=l("bYtY"),m=l("4NO4"),d=m.groupData,a=l("7aKB"),n=a.encodeHTML,s=l("xKMd"),c=2,i=x.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(r){i.superApply(this,"init",arguments),this.legendVisualProvider=new s(e.bind(this.getData,this),e.bind(this.getRawData,this))},fixData:function(r){var o=r.length,h=d(r,function(B){return B[2]}),p=[];h.buckets.each(function(B,X){p.push({name:X,dataList:B})});for(var g=p.length,v=-1,y=-1,w=0;wv&&(v=S,y=w)}for(var _=0;_p||Math.abs(B.dy)>p)){var X=this.seriesModel.getData().tree.root;if(!X)return;var J=X.getLayout();if(!J)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:J.x+B.dx,y:J.y+B.dy,width:J.width,height:J.height}})}},_onZoom:function(B){var X=B.originX,J=B.originY;if(this._state!=="animating"){var k=this.seriesModel.getData().tree.root;if(!k)return;var W=k.getLayout();if(!W)return;var z=new d(W.x,W.y,W.width,W.height),K=this.seriesModel.layoutInfo;X-=K.x,J-=K.y;var P=a.create();a.translate(P,P,[-X,-J]),a.scale(P,P,[B.scale,B.scale]),a.translate(P,P,[X,J]),z.applyTransform(P),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:z.x,y:z.y,width:z.width,height:z.height}})}},_initEvents:function(B){B.on("click",function(X){if(this._state!=="ready")return;var J=this.seriesModel.get("nodeClick",!0);if(!J)return;var k=this.findTarget(X.offsetX,X.offsetY);if(!k)return;var W=k.node;if(W.getLayout().isLeafRoot)this._rootToNode(k);else if(J==="zoomToNode")this._zoomToNode(k);else if(J==="link"){var z=W.hostTree.data.getItemModel(W.dataIndex),K=z.get("link",!0),P=z.get("target",!0)||"blank";K&&i(K,P)}},this)},_renderBreadcrumb:function(B,X,J){J||(J=B.get("leafDepth",!0)!=null?{node:B.getViewRoot()}:this.findTarget(X.getWidth()/2,X.getHeight()/2),J||(J={node:B.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new e(this.group))).render(B,X,J.node,u(k,this));function k(W){this._state!=="animating"&&(t.aboveViewRoot(B.getViewRoot(),W)?this._rootToNode({node:W}):this._zoomToNode({node:W}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=M(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(B){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:B.node})},_rootToNode:function(B){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:B.node})},findTarget:function(B,X){var J,k=this.seriesModel.getViewRoot();return k.eachNode({attr:"viewChildren",order:"preorder"},function(W){var z=this._storage.background[W.getRawIndex()];if(z){var K=z.transformCoordToLocal(B,X),P=z.shape;if(P.x<=K[0]&&K[0]<=P.x+P.width&&P.y<=K[1]&&K[1]<=P.y+P.height)J={node:W,offsetX:K[0],offsetY:K[1]};else return!1}},this),J}});function M(){return{nodeGroup:[],background:[],content:[]}}function F(B,X,J,k,W,z,K,P,G,V){if(!K)return;var q=K.getLayout(),re=B.getData();if(re.setItemGraphicEl(K.dataIndex,null),!q||!q.isInView)return;var ce=q.width,ie=q.height,fe=q.borderWidth,xe=q.invisible,Se=K.getRawIndex(),ke=P&&P.getRawIndex(),ge=K.viewChildren,Be=q.upperHeight,ee=ge&&ge.length,ue=K.getModel("itemStyle"),Ge=K.getModel("emphasis.itemStyle"),ae=be("nodeGroup",r);if(!ae)return;if(G.add(ae),ae.attr("position",[q.x||0,q.y||0]),ae.__tmNodeWidth=ce,ae.__tmNodeHeight=ie,q.isAboveViewRoot)return ae;var Z=K.getModel(),Y=be("background",o,V,_);if(Y&&we(ae,Y,ee&&q.upperLabelHeight),ee)A.isHighDownDispatcher(ae)&&A.setAsHighDownDispatcher(ae,!1),Y&&(A.setAsHighDownDispatcher(Y,!0),re.setItemGraphicEl(K.dataIndex,Y));else{var te=be("content",o,V,I);te&&pe(ae,te),Y&&A.isHighDownDispatcher(Y)&&A.setAsHighDownDispatcher(Y,!1),A.setAsHighDownDispatcher(ae,!0),re.setItemGraphicEl(K.dataIndex,ae)}return ae;function we(yt,pt,Pe){if(pt.dataIndex=K.dataIndex,pt.seriesIndex=B.seriesIndex,pt.setShape({x:0,y:0,width:ce,height:ie}),xe)De(pt);else{pt.invisible=!1;var Nt=K.getVisual("borderColor",!0),ut=Ge.get("borderColor"),Ft=E(ue);Ft.fill=Nt;var Ut=C(Ge);if(Ut.fill=ut,Pe){var Wt=ce-2*fe;Ne(Ft,Ut,Nt,Wt,Be,{x:fe,y:0,width:Wt,height:Be})}else Ft.text=Ut.text=null;pt.setStyle(Ft),A.setElementHoverStyle(pt,Ut)}yt.add(pt)}function pe(yt,pt){pt.dataIndex=K.dataIndex,pt.seriesIndex=B.seriesIndex;var Pe=Math.max(ce-2*fe,0),Nt=Math.max(ie-2*fe,0);if(pt.culling=!0,pt.setShape({x:fe,y:fe,width:Pe,height:Nt}),xe)De(pt);else{pt.invisible=!1;var ut=K.getVisual("color",!0),Ft=E(ue);Ft.fill=ut;var Ut=C(Ge);Ne(Ft,Ut,ut,Pe,Nt),pt.setStyle(Ft),A.setElementHoverStyle(pt,Ut)}yt.add(pt)}function De(yt){!yt.invisible&&z.push(yt)}function Ne(yt,pt,Pe,Nt,ut,Ft){var Ut=Z.get("name"),Wt=Z.getModel(Ft?y:g),$t=Z.getModel(Ft?w:v),or=Wt.getShallow("show");A.setLabelStyle(yt,pt,Wt,$t,{defaultText:or?Ut:null,autoColor:Pe,isRectText:!0,labelFetcher:B,labelDataIndex:K.dataIndex,labelProp:Ft?"upperLabel":"label"}),me(yt,Ft,q),me(pt,Ft,q),Ft&&(yt.textRect=b.clone(Ft)),yt.truncate=or&&Wt.get("ellipsis")?{outerWidth:Nt,outerHeight:ut,minChar:2}:null}function me(yt,pt,Pe){var Nt=yt.text;if(!pt&&Pe.isLeafRoot&&Nt!=null){var ut=B.get("drillDownIcon",!0);yt.text=ut?ut+" "+Nt:Nt}}function be(yt,pt,Pe,Nt){var ut=ke!=null&&J[yt][ke],Ft=W[yt];return ut?(J[yt][ke]=null,Re(Ft,ut,yt)):xe||(ut=new pt({z:H(Pe,Nt)}),ut.__tmDepth=Pe,ut.__tmStorageName=yt,it(Ft,ut,yt)),X[yt][Se]=ut}function Re(yt,pt,Pe){var Nt=yt[Se]={};Nt.old=Pe==="nodeGroup"?pt.position.slice():b.extend({},pt.shape)}function it(yt,pt,Pe){var Nt=yt[Se]={},ut=K.parentNode;if(ut&&(!k||k.direction==="drillDown")){var Ft=0,Ut=0,Wt=W.background[ut.getRawIndex()];!k&&Wt&&Wt.old&&(Ft=Wt.old.width,Ut=Wt.old.height),Nt.old=Pe==="nodeGroup"?[0,Ut]:{x:Ft,y:Ut,width:0,height:0}}Nt.fadein=Pe!=="nodeGroup"}}function H(B,X){var J=B*S+X;return(J-1)/J}j.exports=O},sAZ8:function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("+rIm"),f=l("/IIm"),t=l("9KIM"),e=l("IwbS"),m=["axisLine","axisTickLabel","axisName"],d=x.extendComponentView({type:"parallelAxis",init:function(i,u){d.superApply(this,"init",arguments),(this._brushController=new f(u.getZr())).on("brush",b.bind(this._onBrush,this))},render:function(i,u,r,o){if(a(i,u,o))return;this.axisModel=i,this.api=r,this.group.removeAll();var h=this._axisGroup;if(this._axisGroup=new e.Group,this.group.add(this._axisGroup),!i.get("show"))return;var p=s(i,u),g=p.coordinateSystem,v=i.getAreaSelectStyle(),y=v.width,w=i.axis.dim,S=g.getAxisLayout(w),_=b.extend({strokeContainThreshold:y},S),I=new A(i,_);b.each(m,I.add,I),this._axisGroup.add(I.getGroup()),this._refreshBrushController(_,v,i,p,y,r);var C=o&&o.animation===!1?null:i;e.groupTransition(h,this._axisGroup,C)},_refreshBrushController:function(i,u,r,o,h,p){var g=r.axis.getExtent(),v=g[1]-g[0],y=Math.min(30,Math.abs(v)*.1),w=e.BoundingRect.create({x:g[0],y:-h/2,width:v,height:h});w.x-=y,w.width+=2*y,this._brushController.mount({enableGlobalPan:!0,rotation:i.rotation,position:i.position}).setPanels([{panelId:"pl",clipPath:t.makeRectPanelClipPath(w),isTargetByCursor:t.makeRectIsTargetByCursor(w,p,o),getLinearBrushOtherExtent:t.makeLinearBrushOtherExtent(w,0)}]).enableBrush({brushType:"lineX",brushStyle:u,removeOnClick:!0}).updateCovers(n(r))},_onBrush:function(i,u){var r=this.axisModel,o=r.axis,h=b.map(i,function(p){return[o.coordToData(p.range[0],!0),o.coordToData(p.range[1],!0)]});(!r.option.realtime===u.isEnd||u.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:r.id,intervals:h})},dispose:function(){this._brushController.dispose()}});function a(i,u,r){return r&&r.type==="axisAreaSelect"&&u.findComponents({mainType:"parallelAxis",query:r})[0]===i}function n(i){var u=i.axis;return b.map(i.activeIntervals,function(r){return{brushType:"lineX",panelId:"pl",range:[u.dataToCoord(r[0],!0),u.dataToCoord(r[1],!0)]}})}function s(i,u){return u.getComponent("parallel",i.get("parallelIndex"))}var c=d;j.exports=c},sE09:function(j,R,l){},sGsY:function(j,R,l){"use strict";var x=l("lSNA"),b=l.n(x),A=l("pVnL"),f=l.n(A),t=l("q1tI"),e=l("TSYQ"),m=l.n(e),d=l("H84U"),a=l("B6l+"),n=l.n(a),s=function(K){var P=K.value,G=K.formatter,V=K.precision,q=K.decimalSeparator,re=K.groupSeparator,ce=re===void 0?"":re,ie=K.prefixCls,fe;if(typeof G=="function")fe=G(P);else{var xe=String(P),Se=xe.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Se||xe==="-")fe=xe;else{var ke=Se[1],ge=Se[2]||"0",Be=Se[4]||"";ge=ge.replace(/\B(?=(\d{3})+(?!\d))/g,ce),typeof V=="number"&&(Be=n()(Be,V,"0").slice(0,V)),Be&&(Be="".concat(q).concat(Be)),fe=[t.createElement("span",{key:"int",className:"".concat(ie,"-content-value-int")},ke,ge),Be&&t.createElement("span",{key:"decimal",className:"".concat(ie,"-content-value-decimal")},Be)]}}return t.createElement("span",{className:"".concat(ie,"-content-value")},fe)},c=s,i=function(K){var P=K.prefixCls,G=K.className,V=K.style,q=K.valueStyle,re=K.value,ce=re===void 0?0:re,ie=K.title,fe=K.valueRender,xe=K.prefix,Se=K.suffix,ke=K.direction,ge=K.onMouseEnter,Be=K.onMouseLeave,ee=t.createElement(c,f()({},K,{value:ce})),ue=m()(P,G,b()({},"".concat(P,"-rtl"),ke==="rtl"));return t.createElement("div",{className:ue,style:V,onMouseEnter:ge,onMouseLeave:Be},ie&&t.createElement("div",{className:"".concat(P,"-title")},ie),t.createElement("div",{style:q,className:"".concat(P,"-content")},xe&&t.createElement("span",{className:"".concat(P,"-content-prefix")},xe),fe?fe(ee):ee,Se&&t.createElement("span",{className:"".concat(P,"-content-suffix")},Se)))};i.defaultProps={decimalSeparator:".",groupSeparator:","};var u=Object(d.c)({prefixCls:"statistic"})(i),r=u,o=l("lwsE"),h=l.n(o),p=l("W8MJ"),g=l.n(p),v=l("7W2i"),y=l.n(v),w=l("LQ03"),S=l.n(w),_=l("J4zp"),I=l.n(_),C=l("QQZ/"),E=l.n(C),O=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function M(z,K){var P=z,G=/\[[^\]]*]/g,V=(K.match(G)||[]).map(function(ie){return ie.slice(1,-1)}),q=K.replace(G,"[]"),re=O.reduce(function(ie,fe){var xe=I()(fe,2),Se=xe[0],ke=xe[1];if(ie.indexOf(Se)!==-1){var ge=Math.floor(P/ke);return P-=ge*ke,ie.replace(new RegExp("".concat(Se,"+"),"g"),function(Be){var ee=Be.length;return E()(ge.toString(),ee,"0")})}return ie},q),ce=0;return re.replace(G,function(){var ie=V[ce];return ce+=1,ie})}function F(z,K){var P=K.format,G=P===void 0?"":P,V=new Date(z).getTime(),q=Date.now(),re=Math.max(V-q,0);return M(re,G)}var H=l("0n0R"),B=1e3/30;function X(z){return new Date(z).getTime()}var J=function(z){y()(P,z);var K=S()(P);function P(){var G;return h()(this,P),G=K.apply(this,arguments),G.syncTimer=function(){var V=G.props.value,q=X(V);q>=Date.now()?G.startTimer():G.stopTimer()},G.startTimer=function(){if(G.countdownId)return;G.countdownId=window.setInterval(function(){G.forceUpdate()},B)},G.stopTimer=function(){var V=G.props,q=V.onFinish,re=V.value;if(G.countdownId){clearInterval(G.countdownId),G.countdownId=void 0;var ce=X(re);q&&cel)return t;do f%2&&(t+=A),f=x(f/2),f&&(A+=A);while(f);return t}j.exports=b},sPJy:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("AOa7"),f=l.n(A),t=l("lUTK"),e=l("qVdP")},sPtV:function(j,R,l){"use strict";l.d(R,"a",function(){return f});var x=l("q1tI"),b=l.n(x),A=l("hkKa");function f(t){var e=x.useRef(t),m=Object(A.a)();return[function(){return e.current},function(d){e.current=d,m()}]}},sRwP:function(j,R,l){l("jsU+"),l("2548"),l("Tp9H"),l("06DH"),l("dnwI"),l("fE02"),l("33Ds")},"sS/r":function(j,R,l){var x=l("4fz+"),b=l("iRjW"),A=l("Yl7c"),f=function(){this.group=new x,this.uid=b.getUID("viewComponent")};f.prototype={constructor:f,init:function(m,d){},render:function(m,d,a,n){},dispose:function(){},filterForExposedEvent:null};var t=f.prototype;t.updateView=t.updateLayout=t.updateVisual=function(m,d,a,n){},A.enableClassExtend(f),A.enableClassManagement(f,{registerWhenExtend:!0});var e=f;j.exports=e},"sW+o":function(j,R,l){var x=l("SrGk"),b=l("bYtY"),A=l("SUKs"),f=l("Qe9p");function t(m,d){x.call(this,m,d,["linearGradient","radialGradient"],"__gradient_in_use__")}b.inherits(t,x),t.prototype.addWithoutUpdate=function(m,d){if(d&&d.style){var a=this;b.each(["fill","stroke"],function(n){if(d.style[n]&&(d.style[n].type==="linear"||d.style[n].type==="radial")){var s=d.style[n],c=a.getDefs(!0),i;s._dom?(i=s._dom,c.contains(s._dom)||a.addDom(i)):i=a.add(s),a.markUsed(d);var u=i.getAttribute("id");m.setAttribute(n,"url(#"+u+")")}})}},t.prototype.add=function(m){var d;if(m.type==="linear")d=this.createElement("linearGradient");else if(m.type==="radial")d=this.createElement("radialGradient");else return A("Illegal gradient type."),null;return m.id=m.id||this.nextId++,d.setAttribute("id","zr"+this._zrId+"-gradient-"+m.id),this.updateDom(m,d),this.addDom(d),d},t.prototype.update=function(m){var d=this;x.prototype.update.call(this,m,function(){var a=m.type,n=m._dom.tagName;a==="linear"&&n==="linearGradient"||a==="radial"&&n==="radialGradient"?d.updateDom(m,m._dom):(d.removeDom(m),d.add(m))})},t.prototype.updateDom=function(m,d){if(m.type==="linear")d.setAttribute("x1",m.x),d.setAttribute("y1",m.y),d.setAttribute("x2",m.x2),d.setAttribute("y2",m.y2);else if(m.type==="radial")d.setAttribute("cx",m.x),d.setAttribute("cy",m.y),d.setAttribute("r",m.r);else{A("Illegal gradient type.");return}m.global?d.setAttribute("gradientUnits","userSpaceOnUse"):d.setAttribute("gradientUnits","objectBoundingBox"),d.innerHTML="";for(var a=m.colorStops,n=0,s=a.length;n-1)){var u=f.parse(i)[3],r=f.toHex(i);c.setAttribute("stop-color","#"+r),c.setAttribute("stop-opacity",u)}else c.setAttribute("stop-color",a[n].color);d.appendChild(c)}m._dom=d},t.prototype.markUsed=function(m){if(m.style){var d=m.style.fill;d&&d._dom&&x.prototype.markUsed.call(this,d._dom),d=m.style.stroke,d&&d._dom&&x.prototype.markUsed.call(this,d._dom)}};var e=t;j.exports=e},sboe:function(j,R,l){"use strict";l.d(R,"a",function(){return A});var x=l("q1tI"),b=l.n(x),A=x.createContext(null)},sdST:function(j,R,l){var x=l("hi0g");function b(A,f){return f=f||{},x(f.coordDimensions||[],A,{dimsDef:f.dimensionsDefine||A.dimensionsDefine,encodeDef:f.encodeDefine||A.encodeDefine,dimCount:f.dimensionsCount,encodeDefaulter:f.encodeDefaulter,generateCoord:f.generateCoord,generateCoordCount:f.generateCoordCount})}j.exports=b},sjKO:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=A;var x=30,b=12;function A(f,t){var e,m,d,a,n,s,c,i,u,r,o,h,p,g,v,y,w,S,_,I,C,E,O,M,F;e=f.state,m=f.next_in,M=f.input,d=m+(f.avail_in-5),a=f.next_out,F=f.output,n=a-(t-f.avail_out),s=a+(f.avail_out-257),c=e.dmax,i=e.wsize,u=e.whave,r=e.wnext,o=e.window,h=e.hold,p=e.bits,g=e.lencode,v=e.distcode,y=(1<>>24,h>>>=_,p-=_,_=S>>>16&255,_===0)F[a++]=S&65535;else if(_&16){I=S&65535,_&=15,_&&(p<_&&(h+=M[m++]<>>=_,p-=_),p<15&&(h+=M[m++]<>>24,h>>>=_,p-=_,_=S>>>16&255,_&16){if(C=S&65535,_&=15,p<_&&(h+=M[m++]<c){f.msg="invalid distance too far back",e.mode=x;break e}if(h>>>=_,p-=_,_=a-n,C>_){if(_=C-_,_>u&&e.sane){f.msg="invalid distance too far back",e.mode=x;break e}if(E=0,O=o,r===0){if(E+=i-_,_2;)F[a++]=O[E++],F[a++]=O[E++],F[a++]=O[E++],I-=3;I&&(F[a++]=O[E++],I>1&&(F[a++]=O[E++]))}else{E=a-C;do F[a++]=F[E++],F[a++]=F[E++],F[a++]=F[E++],I-=3;while(I>2);I&&(F[a++]=F[E++],I>1&&(F[a++]=F[E++]))}}else if((_&64)===0){S=v[(S&65535)+(h&(1<<_)-1)];continue r}else{f.msg="invalid distance code",e.mode=x;break e}break}}else if((_&64)===0){S=g[(S&65535)+(h&(1<<_)-1)];continue t}else if(_&32){e.mode=b;break e}else{f.msg="invalid literal/length code",e.mode=x;break e}break}}while(m>3,m-=I,p-=I<<3,h&=(1<1)Object(n.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(v.length===0)return Object(n.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var y=v[0];if(e.isValidElement(y)&&Object(s.c)(y)){var w=y.ref;v[0]=e.cloneElement(y,{ref:Object(s.a)(w,this.setChildNode)})}return v.length===1?v[0]:v.map(function(S,_){return!e.isValidElement(S)||"key"in S&&S.key!==null?S:e.cloneElement(S,{key:"".concat(i,"-").concat(_)})})}}]),h}(e.Component);u.displayName="ResizeObserver",R.a=u},t3Fx:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=Object.assign||function(o){for(var h=1;hc[0]&&(c=c.slice().reverse());var u=s.coordToPoint([c[0],i]),r=s.coordToPoint([c[1],i]);return{x1:u[0],y1:u[1],x2:r[0],y2:r[1]}}function d(s){var c=s.getRadiusAxis();return c.inverse?0:1}function a(s){var c=s[0],i=s[s.length-1];c&&i&&Math.abs(Math.abs(c.coord-i.coord)-360)<1e-4&&s.pop()}var n=f.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(s,c){if(this.group.removeAll(),!s.get("show"))return;var i=s.axis,u=i.polar,r=u.getRadiusAxis().getExtent(),o=i.getTicksCoords(),h=i.getMinorTicksCoords(),p=x.map(i.getViewLabels(),function(g){var g=x.clone(g);return g.coord=i.dataToCoord(g.tickValue),g});a(p),a(o),x.each(e,function(g){s.get(g+".show")&&(!i.scale.isBlank()||g==="axisLine")&&this["_"+g](s,u,o,h,r,p)},this)},_axisLine:function(s,c,i,u,r){var o=s.getModel("axisLine.lineStyle"),h=d(c),p=h?0:1,g;r[p]===0?g=new b.Circle({shape:{cx:c.cx,cy:c.cy,r:r[h]},style:o.getLineStyle(),z2:1,silent:!0}):g=new b.Ring({shape:{cx:c.cx,cy:c.cy,r:r[h],r0:r[p]},style:o.getLineStyle(),z2:1,silent:!0}),g.style.fill=null,this.group.add(g)},_axisTick:function(s,c,i,u,r){var o=s.getModel("axisTick"),h=(o.get("inside")?-1:1)*o.get("length"),p=r[d(c)],g=x.map(i,function(v){return new b.Line({shape:m(c,[p,p+h],v.coord)})});this.group.add(b.mergePath(g,{style:x.defaults(o.getModel("lineStyle").getLineStyle(),{stroke:s.get("axisLine.lineStyle.color")})}))},_minorTick:function(s,c,i,u,r){if(!u.length)return;for(var o=s.getModel("axisTick"),h=s.getModel("minorTick"),p=(o.get("inside")?-1:1)*h.get("length"),g=r[d(c)],v=[],y=0;yE?"left":"right",F=Math.abs(C[1]-O)/I<.3?"middle":C[1]>O?"top":"bottom";h&&h[_]&&h[_].textStyle&&(S=new A(h[_].textStyle,p,p.ecModel));var H=new b.Text({silent:t.isLabelSilent(s)});this.group.add(H),b.setTextStyle(H.style,S,{x:C[0],y:C[1],textFill:S.getTextColor()||s.get("axisLine.lineStyle.color"),text:y.formattedLabel,textAlign:M,textVerticalAlign:F}),v&&(H.eventData=t.makeAxisEventDataBase(s),H.eventData.targetType="axisLabel",H.eventData.value=y.rawLabel)},this)},_splitLine:function(s,c,i,u,r){var o=s.getModel("splitLine"),h=o.getModel("lineStyle"),p=h.get("color"),g=0;p=p instanceof Array?p:[p];for(var v=[],y=0;yh+r);X++)if(a[X].y+=H,X>M&&X+1a[X].y+a[X].height){v(X,H/2);return}v(F-1,H/2)}function v(M,F){for(var H=M;H>=0&&!(a[H].y-F0&&a[H].y>a[H-1].y+a[H-1].height)break}function y(M,F,H,B,X,J){for(var k=(J>0,F?Number.MAX_VALUE:0),W=0,z=M.length;W=k&&(V=k-10),!F&&V<=k&&(V=k+10),M[W].x=H+V*J,k=V}}for(var w=0,S,_=a.length,I=[],C=[],E=0;E<_;E++){if(a[E].position==="outer"&&a[E].labelAlignTo==="labelLine"){var O=a[E].x-p;a[E].linePoints[1][0]+=O,a[E].x=p}S=a[E].y-w,S<0&&g(E,_,-S,i),w=a[E].y+a[E].height}r-w<0&&v(_-1,w-r);for(var E=0;E<_;E++)a[E].y>=s?C.push(a[E]):I.push(a[E]);y(I,!1,n,s,c,i),y(C,!0,n,s,c,i)}function e(a,n,s,c,i,u,r,o){for(var h=[],p=[],g=Number.MAX_VALUE,v=-Number.MAX_VALUE,y=0;y0?"right":"left":k>0?"left":"right"}var ge,Be=_.get("rotate");typeof Be=="number"?ge=Be*(Math.PI/180):ge=Be?k<0?-J+Math.PI:-J:0,g=!!ge,w.label={x:z,y:K,position:I,height:q.height,len:B,len2:X,linePoints:P,textAlign:G,verticalAlign:"middle",rotation:ge,inside:re,labelDistance:C,labelAlignTo:E,labelMargin:O,bleedMargin:M,textRect:q,text:V,font:F},re||o.push(w.label)}),!g&&a.get("avoidLabelOverlap")&&e(o,h,p,n,s,c,i,u)}j.exports=d},u3os:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.ver=R.clear=R.bind=void 0;var x=l("P4Qj"),b=function(e,m){var d=(0,x.getSensor)(e);return d.bind(m),function(){d.unbind(m)}};R.bind=b;var A=function(e){var m=(0,x.getSensor)(e);(0,x.removeSensor)(m)};R.clear=A;var f="1.0.1";R.ver=f},u4NN:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("Uc92")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="EyeOutlined";var d=f.forwardRef(m);R.default=d},u9fO:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("b80e"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},uAnK:function(j,R,l){var x=l("bYtY"),b=l("Kagy"),A=l("KxfA"),f=A.retrieveRawValue;function t(e,m){var d=m.getModel("aria");if(d.get("show")){if(d.get("description")){e.setAttribute("aria-label",d.get("description"));return}}else return;var a=0;m.eachSeries(function(y,w){++a},this);var n=d.get("data.maxCount")||10,s=d.get("series.maxCount")||10,c=Math.min(a,s),i;if(a<1)return;var u=g();u?i=h(p("general.withTitle"),{title:u}):i=p("general.withoutTitle");var r=[],o=a>1?"series.multiple.prefix":"series.single.prefix";i+=h(p(o),{seriesCount:a}),m.eachSeries(function(y,w){if(w1?"multiple":"single")+".";S=p(_?I+"withName":I+"withoutName"),S=h(S,{seriesId:y.seriesIndex,seriesName:y.get("name"),seriesType:v(y.subType)});var C=y.getData();window.data=C,C.count()>n?S+=h(p("data.partialData"),{displayCnt:n}):S+=p("data.allData");for(var E=[],O=0;O0);return e}return x})},uOyE:function(j,R,l){var x=l("ProS");x.registerAction({type:"brush",event:"brush"},function(b,A){A.eachComponent({mainType:"brush",query:b},function(f){f.setAreas(b.areas)})}),x.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),x.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(j,R,l){j.exports=x;function x(){return l("gaXo"),{}}},ugBc:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};R.default=x},v3Qx:function(j,R){var l={}.toString;j.exports=Array.isArray||function(x){return l.call(x)=="[object Array]"}},v56E:function(j,R,l){},v5uJ:function(j,R,l){var x=l("ProS"),b=l("2B6p"),A=b.updateCenterAndZoom;x.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(f,t){t.eachComponent({mainType:"series",subType:"tree",query:f},function(e){var m=f.dataIndex,d=e.getData().tree,a=d.getNodeByDataIndex(m);a.isExpand=!a.isExpand})}),x.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(f,t){t.eachComponent({mainType:"series",subType:"tree",query:f},function(e){var m=e.coordinateSystem,d=A(m,f);e.setCenter&&e.setCenter(d.center),e.setZoom&&e.setZoom(d.zoom)})})},"vF/C":function(j,R,l){var x=l("bLfw");x.registerSubTypeDefaulter("visualMap",function(b){return!b.categories&&(!(b.pieces?b.pieces.length>0:b.splitNumber>0)||b.calculable)?"continuous":"piecewise"})},vKoX:function(j,R,l){var x=l("SrGk"),b=l("bYtY");function A(e,m){x.call(this,e,m,["filter"],"__filter_in_use__","_shadowDom")}b.inherits(A,x),A.prototype.addWithoutUpdate=function(e,m){if(m&&f(m.style)){var d;if(m._shadowDom){d=m._shadowDom;var a=this.getDefs(!0);a.contains(m._shadowDom)||this.addDom(d)}else d=this.add(m);this.markUsed(m);var n=d.getAttribute("id");e.style.filter="url(#"+n+")"}},A.prototype.add=function(e){var m=this.createElement("filter");return e._shadowDomId=e._shadowDomId||this.nextId++,m.setAttribute("id","zr"+this._zrId+"-shadow-"+e._shadowDomId),this.updateDom(e,m),this.addDom(m),m},A.prototype.update=function(e,m){var d=m.style;if(f(d)){var a=this;x.prototype.update.call(this,m,function(){a.updateDom(m,m._shadowDom)})}else this.remove(e,m)},A.prototype.remove=function(e,m){m._shadowDomId!=null&&(this.removeDom(e),e.style.filter="")},A.prototype.updateDom=function(e,m){var d=m.getElementsByTagName("feDropShadow");d.length===0?d=this.createElement("feDropShadow"):d=d[0];var a=e.style,n=e.scale&&e.scale[0]||1,s=e.scale&&e.scale[1]||1,c,i,u,r;if(a.shadowBlur||a.shadowOffsetX||a.shadowOffsetY)c=a.shadowOffsetX||0,i=a.shadowOffsetY||0,u=a.shadowBlur,r=a.shadowColor;else if(a.textShadowBlur)c=a.textShadowOffsetX||0,i=a.textShadowOffsetY||0,u=a.textShadowBlur,r=a.textShadowColor;else{this.removeDom(m,a);return}d.setAttribute("dx",c/n),d.setAttribute("dy",i/s),d.setAttribute("flood-color",r);var o=u/2/n,h=u/2/s,p=o+" "+h;d.setAttribute("stdDeviation",p),m.setAttribute("x","-100%"),m.setAttribute("y","-100%"),m.setAttribute("width",Math.ceil(u/2*200)+"%"),m.setAttribute("height",Math.ceil(u/2*200)+"%"),m.appendChild(d),e._shadowDom=m},A.prototype.markUsed=function(e){e._shadowDom&&x.prototype.markUsed.call(this,e._shadowDom)};function f(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY||e.textShadowBlur||e.textShadowOffsetX||e.textShadowOffsetY)}var t=A;j.exports=t},vL6D:function(j,R,l){var x=l("bYtY"),b=l("+rIm"),A=l("IwbS"),f=l("7bkD"),t=l("Znkb"),e=l("WN+l"),m=e.rectCoordAxisBuildSplitArea,d=e.rectCoordAxisHandleRemove,a=["axisLine","axisTickLabel","axisName"],n=["splitArea","splitLine"],s=t.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(i,u,r,o){var h=this.group;h.removeAll();var p=this._axisGroup;this._axisGroup=new A.Group;var g=f.layout(i),v=new b(i,g);x.each(a,v.add,v),h.add(this._axisGroup),h.add(v.getGroup()),x.each(n,function(y){i.get(y+".show")&&this["_"+y](i)},this),A.groupTransition(p,this._axisGroup,i),s.superCall(this,"render",i,u,r,o)},remove:function(){d(this)},_splitLine:function(i){var u=i.axis;if(u.scale.isBlank())return;var r=i.getModel("splitLine"),o=r.getModel("lineStyle"),h=o.get("width"),p=o.get("color");p=p instanceof Array?p:[p];for(var g=i.coordinateSystem.getRect(),v=u.isHorizontal(),y=[],w=0,S=u.getTicksCoords({tickModel:r}),_=[],I=[],C=0;C0&&u.animate(r,!1).when(p==null?500:p,y).delay(g||0)}function c(u,r,o,h){if(!r)u.attr(o,h);else{var p={};p[r]={},p[r][o]=h,u.attr(p)}}var i=a;j.exports=i},vZ6x:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("bYtY"),f=l("IwbS"),t=l("4NO4"),e=l("9KIM"),m=A.each,d=A.indexOf,a=A.curry,n=["dataToPoint","pointToData"],s=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function c(C,E,O){var M=this._targetInfoList=[],F={},H=r(E,C);m(o,function(B,X){(!O||!O.include||d(O.include,X)>=0)&&B(H,M,F)})}var i=c.prototype;i.setOutputRanges=function(C,E){this.matchOutputRanges(C,E,function(O,M,F){if((O.coordRanges||(O.coordRanges=[])).push(M),!O.coordRange){O.coordRange=M;var H=g[O.brushType](0,F,M);O.__rangeOffset={offset:y[O.brushType](H.values,O.range,[1,1]),xyMinMax:H.xyMinMax}}})},i.matchOutputRanges=function(C,E,O){m(C,function(M){var F=this.findTargetInfo(M,E);F&&F!==!0&&A.each(F.coordSyses,function(H){var B=g[M.brushType](1,H,M.range);O(M,B.values,H,E)})},this)},i.setInputRanges=function(C,E){m(C,function(O){var M=this.findTargetInfo(O,E);if(O.range=O.range||[],M&&M!==!0){O.panelId=M.panelId;var F=g[O.brushType](0,M.coordSys,O.coordRange),H=O.__rangeOffset;O.range=H?y[O.brushType](F.values,H.offset,S(F.xyMinMax,H.xyMinMax)):F.values}},this)},i.makePanelOpts=function(C,E){return A.map(this._targetInfoList,function(O){var M=O.getPanelRect();return{panelId:O.panelId,defaultBrushType:E&&E(O),clipPath:e.makeRectPanelClipPath(M),isTargetByCursor:e.makeRectIsTargetByCursor(M,C,O.coordSysModel),getLinearBrushOtherExtent:e.makeLinearBrushOtherExtent(M)}})},i.controlSeries=function(C,E,O){var M=this.findTargetInfo(C,O);return M===!0||M&&d(M.coordSyses,E.coordinateSystem)>=0},i.findTargetInfo=function(C,E){for(var O=this._targetInfoList,M=r(E,C),F=0;FC[1]&&C.reverse(),C}function r(C,E){return t.parseFinder(C,E,{includeMainTypes:s})}var o={grid:function(C,E){var O=C.xAxisModels,M=C.yAxisModels,F=C.gridModels,H=A.createHashMap(),B={},X={};if(!O&&!M&&!F)return;m(O,function(J){var k=J.axis.grid.model;H.set(k.id,k),B[k.id]=!0}),m(M,function(J){var k=J.axis.grid.model;H.set(k.id,k),X[k.id]=!0}),m(F,function(J){H.set(J.id,J),B[J.id]=!0,X[J.id]=!0}),H.each(function(J){var k=J.coordinateSystem,W=[];m(k.getCartesians(),function(z,K){(d(O,z.getAxis("x").model)>=0||d(M,z.getAxis("y").model)>=0)&&W.push(z)}),E.push({panelId:"grid--"+J.id,gridModel:J,coordSysModel:J,coordSys:W[0],coordSyses:W,getPanelRect:p.grid,xAxisDeclared:B[J.id],yAxisDeclared:X[J.id]})})},geo:function(C,E){m(C.geoModels,function(O){var M=O.coordinateSystem;E.push({panelId:"geo--"+O.id,geoModel:O,coordSysModel:O,coordSys:M,coordSyses:[M],getPanelRect:p.geo})})}},h=[function(C,E){var O=C.xAxisModel,M=C.yAxisModel,F=C.gridModel;return!F&&O&&(F=O.axis.grid.model),!F&&M&&(F=M.axis.grid.model),F&&F===E.gridModel},function(C,E){var O=C.geoModel;return O&&O===E.geoModel}],p={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var C=this.coordSys,E=C.getBoundingRect().clone();return E.applyTransform(f.getTransform(C)),E}},g={lineX:a(v,0),lineY:a(v,1),rect:function(C,E,O){var M=E[n[C]]([O[0][0],O[1][0]]),F=E[n[C]]([O[0][1],O[1][1]]),H=[u([M[0],F[0]]),u([M[1],F[1]])];return{values:H,xyMinMax:H}},polygon:function(C,E,O){var M=[[Infinity,-Infinity],[Infinity,-Infinity]],F=A.map(O,function(H){var B=E[n[C]](H);return M[0][0]=Math.min(M[0][0],B[0]),M[1][0]=Math.min(M[1][0],B[1]),M[0][1]=Math.max(M[0][1],B[0]),M[1][1]=Math.max(M[1][1],B[1]),B});return{values:F,xyMinMax:M}}};function v(C,E,O,M){var F=O.getAxis(["x","y"][C]),H=u(A.map([0,1],function(X){return E?F.coordToData(F.toLocalCoord(M[X])):F.toGlobalCoord(F.dataToCoord(M[X]))})),B=[];return B[C]=H,B[1-C]=[NaN,NaN],{values:H,xyMinMax:B}}var y={lineX:a(w,0),lineY:a(w,1),rect:function(C,E,O){return[[C[0][0]-O[0]*E[0][0],C[0][1]-O[0]*E[0][1]],[C[1][0]-O[1]*E[1][0],C[1][1]-O[1]*E[1][1]]]},polygon:function(C,E,O){return A.map(C,function(M,F){return[M[0]-O[0]*E[F][0],M[1]-O[1]*E[F][1]]})}};function w(C,E,O,M){return[E[0]-M[C]*O[0],E[1]-M[C]*O[1]]}function S(C,E){var O=_(C),M=_(E),F=[O[0]/M[0],O[1]/M[1]];return isNaN(F[0])&&(F[0]=1),isNaN(F[1])&&(F[1]=1),F}function _(C){return C?[C[0][1]-C[0][0],C[1][1]-C[1][0]]:[NaN,NaN]}var I=c;j.exports=I},vZI5:function(j,R,l){var x=l("bYtY"),b=l("T4UG"),A=l("5GhG"),f=A.seriesModelMixin,t=b.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(m,d,a){var n=d.getItemLayout(m);return n&&a.rect(n.brushRect)}});x.mixin(t,f,!0);var e=t;j.exports=e},vafp:function(j,R,l){var x=l("bYtY"),b=l("8nly");function A(e){if(!e.UTF8Encoding)return e;var m=e.UTF8Scale;m==null&&(m=1024);for(var d=e.features,a=0;a>1^-(i&1),u=u>>1^-(u&1),i+=n,u+=s,n=i,s=u,a.push([i/d,u/d])}return a}function t(e,m){return A(e),x.map(x.filter(e.features,function(d){return d.geometry&&d.properties&&d.geometry.coordinates.length>0}),function(d){var a=d.properties,n=d.geometry,s=n.coordinates,c=[];n.type==="Polygon"&&c.push({type:"polygon",exterior:s[0],interiors:s.slice(1)}),n.type==="MultiPolygon"&&x.each(s,function(u){u[0]&&c.push({type:"polygon",exterior:u[0],interiors:u.slice(1)})});var i=new b(a[m||"name"],c,a.cp);return i.properties=a,i})}j.exports=t},vcCh:function(j,R,l){var x=l("ProS");l("0qV/"),x.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(b,A){A.eachComponent({mainType:"series",subType:"sankey",query:b},function(f){f.setNodePosition(b.dataIndex,[b.localX,b.localY])})})},vewr:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.getPointerEvent=x,R.stopEvent=b,R.setCapture=d,R.releaseCapture=a;function x(n){return n.changedTouches?n.changedTouches[0]:n.touches?n.touches[0]:n}function b(n){n.stopPropagation(),n.preventDefault()}var A=!1,f=null;document.captureElement=null;function t(n){if(A)return;var s=new n.constructor(n.type,n);A=!0,document.captureElement?document.captureElement.dispatchEvent(s):f.dispatchEvent(s),A=!1,n.stopPropagation(),s.defaultPrevented&&n.preventDefault(),n.type==="mouseup"&&a()}function e(){var n=document.getElementById("noVNC_mouse_capture_elem");n.style.cursor=window.getComputedStyle(document.captureElement).cursor}var m=new MutationObserver(e);function d(n){if(n.setCapture)n.setCapture(),document.captureElement=n,n.addEventListener("mouseup",a);else{a();var s=document.getElementById("noVNC_mouse_capture_elem");s===null&&(s=document.createElement("div"),s.id="noVNC_mouse_capture_elem",s.style.position="fixed",s.style.top="0px",s.style.left="0px",s.style.width="100%",s.style.height="100%",s.style.zIndex=1e4,s.style.display="none",document.body.appendChild(s),s.addEventListener("contextmenu",t),s.addEventListener("mousemove",t),s.addEventListener("mouseup",t)),document.captureElement=n,m.observe(n,{attributes:!0}),e(),s.style.display="",window.addEventListener("mousemove",t),window.addEventListener("mouseup",t)}}function a(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;f=document.captureElement,document.captureElement=null,m.disconnect();var n=document.getElementById("noVNC_mouse_capture_elem");n.style.display="none",window.removeEventListener("mousemove",t),window.removeEventListener("mouseup",t)}}},vg9a:function(j,R,l){},"vk+C":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("RZPm"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},w5pM:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="PlusCircleOutlined";var m=R.a=b.forwardRef(e)},w6Tc:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("apAg"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},wCAj:function(j,R,l){"use strict";var x=l("cDf5"),b=l.n(x),A=l("lSNA"),f=l.n(A),t=l("J4zp"),e=l.n(t),m=l("pVnL"),d=l.n(m),a=l("q1tI"),n=l("TSYQ"),s=l.n(n),c=l("BGR+"),i=l("rePB"),u=l("VTBJ"),r=l("KQm4"),o=l("U8pU"),h=l("ODXe"),p=l("Gytx"),g=l.n(p),v=l("Kwbf"),y=l("t23M"),w=l("qx4F");function S(lr){return null}var _=S;function I(lr){return null}var C=I,E=l("Ff2n"),O=l("c+Xe"),M="RC_TABLE_KEY";function F(lr){return lr==null?[]:Array.isArray(lr)?lr:[lr]}function H(lr,pn){if(!pn&&typeof pn!="number")return lr;for(var _n=F(pn),Pn=lr,ct=0;ct<_n.length;ct+=1){if(!Pn)return null;var Vt=_n[ct];Pn=Pn[Vt]}return Pn}function B(lr){var pn=[],_n={};return lr.forEach(function(Pn){for(var ct=Pn||{},Vt=ct.key,Cr=ct.dataIndex,xr=Vt||F(Cr).join("-")||M;_n[xr];)xr="".concat(xr,"_next");_n[xr]=!0,pn.push(xr)}),pn}function X(){var lr={};function pn(Vt,Cr){Cr&&Object.keys(Cr).forEach(function(xr){var Gr=Cr[xr];Gr&&Object(o.a)(Gr)==="object"?(Vt[xr]=Vt[xr]||{},pn(Vt[xr],Gr)):Vt[xr]=Gr})}for(var _n=arguments.length,Pn=new Array(_n),ct=0;ct<_n;ct++)Pn[ct]=arguments[ct];return Pn.forEach(function(Vt){pn(lr,Vt)}),lr}function J(lr){return lr!=null}function k(lr){return lr&&Object(o.a)(lr)==="object"&&!Array.isArray(lr)&&!a.isValidElement(lr)}function W(lr){return typeof lr=="string"?!0:Object(O.c)(lr)}function z(lr,pn){var _n,Pn=lr.prefixCls,ct=lr.className,Vt=lr.record,Cr=lr.index,xr=lr.dataIndex,Gr=lr.render,$r=lr.children,hn=lr.component,On=hn===void 0?"td":hn,Qn=lr.colSpan,qn=lr.rowSpan,si=lr.fixLeft,oi=lr.fixRight,Wn=lr.firstFixLeft,Zn=lr.lastFixLeft,ni=lr.firstFixRight,wi=lr.lastFixRight,Di=lr.appendNode,Ui=lr.additionalProps,ca=Ui===void 0?{}:Ui,ia=lr.ellipsis,Ia=lr.align,Fa=lr.rowType,Aa=lr.isSticky,Ea="".concat(Pn,"-cell"),xa,Ai;if($r)Ai=$r;else{var oa=H(Vt,xr);if(Ai=oa,Gr){var Ba=Gr(oa,Vt,Cr);k(Ba)?(Ai=Ba.children,xa=Ba.props):Ai=Ba}}Object(o.a)(Ai)==="object"&&!Array.isArray(Ai)&&!a.isValidElement(Ai)&&(Ai=null),ia&&(Zn||ni)&&(Ai=a.createElement("span",{className:"".concat(Ea,"-content")},Ai));var Nr=xa||{},Qr=Nr.colSpan,bn=Nr.rowSpan,Zr=Nr.style,hr=Nr.className,jr=Object(E.a)(Nr,["colSpan","rowSpan","style","className"]),wr=Qr!==void 0?Qr:Qn,an=bn!==void 0?bn:qn;if(wr===0||an===0)return null;var Jr={},kn=typeof si=="number",Dn=typeof oi=="number";kn&&(Jr.position="sticky",Jr.left=si),Dn&&(Jr.position="sticky",Jr.right=oi);var Xn={};Ia&&(Xn.textAlign=Ia);var vi,Li=ia===!0?{showTitle:!0}:ia;Li&&(Li.showTitle||Fa==="header")&&(typeof Ai=="string"||typeof Ai=="number"?vi=Ai.toString():a.isValidElement(Ai)&&typeof Ai.props.children=="string"&&(vi=Ai.props.children));var ji=Object(u.a)(Object(u.a)(Object(u.a)({title:vi},jr),ca),{},{colSpan:wr&&wr!==1?wr:null,rowSpan:an&&an!==1?an:null,className:s()(Ea,ct,(_n={},Object(i.a)(_n,"".concat(Ea,"-fix-left"),kn),Object(i.a)(_n,"".concat(Ea,"-fix-left-first"),Wn),Object(i.a)(_n,"".concat(Ea,"-fix-left-last"),Zn),Object(i.a)(_n,"".concat(Ea,"-fix-right"),Dn),Object(i.a)(_n,"".concat(Ea,"-fix-right-first"),ni),Object(i.a)(_n,"".concat(Ea,"-fix-right-last"),wi),Object(i.a)(_n,"".concat(Ea,"-ellipsis"),ia),Object(i.a)(_n,"".concat(Ea,"-with-append"),Di),Object(i.a)(_n,"".concat(Ea,"-fix-sticky"),(kn||Dn)&&Aa),_n),ca.className,hr),style:Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},ca.style),Xn),Jr),Zr),ref:W(On)?pn:null});return a.createElement(On,Object.assign({},ji),Di,Ai)}var K=a.forwardRef(z);K.displayName="Cell";var P=a.memo(K,function(lr,pn){return pn.shouldCellUpdate?!pn.shouldCellUpdate(pn.record,lr.record):!1}),G=P,V=a.createContext(null),q=V;function re(lr,pn,_n,Pn,ct){var Vt=_n[lr]||{},Cr=_n[pn]||{},xr,Gr;Vt.fixed==="left"?xr=Pn.left[lr]:Cr.fixed==="right"&&(Gr=Pn.right[pn]);var $r=!1,hn=!1,On=!1,Qn=!1,qn=_n[pn+1],si=_n[lr-1];if(ct==="rtl"){if(xr!==void 0){var oi=si&&si.fixed==="left";Qn=!oi}else if(Gr!==void 0){var Wn=qn&&qn.fixed==="right";On=!Wn}}else if(xr!==void 0){var Zn=qn&&qn.fixed==="left";$r=!Zn}else if(Gr!==void 0){var ni=si&&si.fixed==="right";hn=!ni}return{fixLeft:xr,fixRight:Gr,lastFixLeft:$r,firstFixRight:hn,lastFixRight:On,firstFixLeft:Qn,isSticky:Pn.isSticky}}function ce(lr){var pn=lr.cells,_n=lr.stickyOffsets,Pn=lr.flattenColumns,ct=lr.rowComponent,Vt=lr.cellComponent,Cr=lr.onHeaderRow,xr=lr.index,Gr=a.useContext(q),$r=Gr.prefixCls,hn=Gr.direction,On;Cr&&(On=Cr(pn.map(function(qn){return qn.column}),xr));var Qn=B(pn.map(function(qn){return qn.column}));return a.createElement(ct,Object.assign({},On),pn.map(function(qn,si){var oi=qn.column,Wn=re(qn.colStart,qn.colEnd,Pn,_n,hn),Zn;return oi&&oi.onHeaderCell&&(Zn=qn.column.onHeaderCell(oi)),a.createElement(G,Object.assign({},qn,{ellipsis:oi.ellipsis,align:oi.align,component:Vt,prefixCls:$r,key:Qn[si]},Wn,{additionalProps:Zn,rowType:"header"}))}))}ce.displayName="HeaderRow";var ie=ce;function fe(lr){var pn=[];function _n(Cr,xr){var Gr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;pn[Gr]=pn[Gr]||[];var $r=xr,hn=Cr.filter(Boolean).map(function(On){var Qn={key:On.key,className:On.className||"",children:On.title,column:On,colStart:$r},qn=1,si=On.children;return si&&si.length>0&&(qn=_n(si,$r,Gr+1).reduce(function(oi,Wn){return oi+Wn},0),Qn.hasSubColumns=!0),"colSpan"in On&&(qn=On.colSpan),"rowSpan"in On&&(Qn.rowSpan=On.rowSpan),Qn.colSpan=qn,Qn.colEnd=Qn.colStart+qn-1,pn[Gr].push(Qn),$r+=qn,qn});return hn}_n(lr,0);for(var Pn=pn.length,ct=function(xr){pn[xr].forEach(function(Gr){!("rowSpan"in Gr)&&!Gr.hasSubColumns&&(Gr.rowSpan=Pn-xr)})},Vt=0;Vt=0;xr-=1){var Gr=pn[xr],$r=_n&&_n[xr],hn=$r&&$r[ke];(Gr||hn||Cr)&&(ct.unshift(a.createElement("col",Object.assign({key:xr,style:{width:Gr,minWidth:Gr}},hn))),Cr=!0)}return a.createElement("colgroup",null,ct)}var ue=ee;function Ge(lr,pn){return Object(a.useMemo)(function(){for(var _n=[],Pn=0;Pn1?Oa-1:0),to=1;to0?[].concat(Object(r.a)(pn),Object(r.a)(ut(Vt).map(function(Cr){return Object(u.a)({fixed:ct},Cr)}))):[].concat(Object(r.a)(pn),[Object(u.a)(Object(u.a)({},_n),{},{fixed:ct})])},[])}function Ft(lr){for(var pn=!0,_n=0;_n=0;Vt-=1){var Cr=lr[Vt];if(ct&&Cr.fixed!=="right")ct=!1;else if(!ct&&Cr.fixed==="right"){Object(v.a)(!1,"Index ".concat(Vt+1," of `columns` missing `fixed='right'` prop."));break}}}function Ut(lr){return lr.map(function(pn){var _n=pn.fixed,Pn=Object(E.a)(pn,["fixed"]),ct=_n;return _n==="left"?ct="right":_n==="right"&&(ct="left"),Object(u.a)({fixed:ct},Pn)})}function Wt(lr,pn){var _n=lr.prefixCls,Pn=lr.columns,ct=lr.children,Vt=lr.expandable,Cr=lr.expandedKeys,xr=lr.getRowKey,Gr=lr.onTriggerExpand,$r=lr.expandIcon,hn=lr.rowExpandable,On=lr.expandIconColumnIndex,Qn=lr.direction,qn=lr.expandRowByClick,si=a.useMemo(function(){return Pn||Nt(ct)},[Pn,ct]),oi=a.useMemo(function(){if(Vt){var ni,wi=On||0,Di=si[wi],Ui=(ni={},Object(i.a)(ni,ke,{className:"".concat(_n,"-expand-icon-col")}),Object(i.a)(ni,"title",""),Object(i.a)(ni,"fixed",Di?Di.fixed:null),Object(i.a)(ni,"className","".concat(_n,"-row-expand-icon-cell")),Object(i.a)(ni,"render",function(Ia,Fa,Aa){var Ea=xr(Fa,Aa),xa=Cr.has(Ea),Ai=hn?hn(Fa):!0,oa=$r({prefixCls:_n,expanded:xa,expandable:Ai,record:Fa,onExpand:Gr});return qn?a.createElement("span",{onClick:function(Nr){return Nr.stopPropagation()}},oa):oa}),ni),ca=si.slice();return wi>=0&&ca.splice(wi,0,Ui),ca}return si},[Vt,si,xr,Cr,$r,Qn]),Wn=a.useMemo(function(){var ni=oi;return pn&&(ni=pn(ni)),ni.length||(ni=[{render:function(){return null}}]),ni},[pn,oi,Qn]),Zn=a.useMemo(function(){return Qn==="rtl"?Ut(ut(Wn)):ut(Wn)},[Wn,Qn]);return[Wn,Zn]}var $t=Wt,or=l("xEkU"),ht=l.n(or);function Ee(lr){var pn=Object(a.useRef)(lr),_n=Object(a.useState)({}),Pn=Object(h.a)(_n,2),ct=Pn[1],Vt=Object(a.useRef)(null),Cr=Object(a.useRef)([]);function xr(Gr){Vt.current===null&&(Cr.current=[],Vt.current=ht()(function(){Cr.current.forEach(function($r){pn.current=$r(pn.current)}),Vt.current=null,ct({})})),Cr.current.push(Gr)}return Object(a.useEffect)(function(){return function(){ht.a.cancel(Vt.current)}},[]),[pn.current,xr]}function de(lr){var pn=Object(a.useRef)(lr),_n=Object(a.useRef)(null);function Pn(){window.clearTimeout(_n.current)}function ct(Cr){pn.current=Cr,Pn(),_n.current=window.setTimeout(function(){pn.current=null,_n.current=null},100)}function Vt(){return pn.current}return Object(a.useEffect)(function(){return Pn},[]),[ct,Vt]}function qe(lr,pn,_n){var Pn=Object(a.useMemo)(function(){for(var ct=[],Vt=[],Cr=0,xr=0,Gr=0;Gr=On&&(Qr=On-Qn),Cr({scrollLeft:Qr/On*(hn+2)}),ni.current.x=Ai.pageX},Aa=function(){var Ai=Object(et.b)(Vt.current).top,oa=Ai+Vt.current.offsetHeight,Ba=document.documentElement.scrollTop+window.innerHeight;oa-Object(w.a)()<=Ba||Ai>=Ba-xr?Zn(function(Nr){return Object(u.a)(Object(u.a)({},Nr),{},{isHiddenScrollBar:!0})}):Zn(function(Nr){return Object(u.a)(Object(u.a)({},Nr),{},{isHiddenScrollBar:!1})})},Ea=function(Ai){Zn(function(oa){return Object(u.a)(Object(u.a)({},oa),{},{scrollLeft:Ai/hn*On||0})})};return a.useImperativeHandle(_n,function(){return{setScrollLeft:Ea}}),a.useEffect(function(){var xa=Object(ot.a)(document.body,"mouseup",ia,!1),Ai=Object(ot.a)(document.body,"mousemove",Fa,!1);return Aa(),function(){xa.remove(),Ai.remove()}},[Qn,Ui]),a.useEffect(function(){var xa=Object(ot.a)(window,"scroll",Aa,!1),Ai=Object(ot.a)(window,"resize",Aa,!1);return function(){xa.remove(),Ai.remove()}},[]),a.useEffect(function(){Wn.isHiddenScrollBar||Zn(function(xa){var Ai,oa;return Object(u.a)(Object(u.a)({},xa),{},{scrollLeft:Vt.current.scrollLeft/((Ai=Vt.current)===null||Ai===void 0?void 0:Ai.scrollWidth)*((oa=Vt.current)===null||oa===void 0?void 0:oa.clientWidth)})})},[Wn.isHiddenScrollBar]),hn<=On||!Qn||Wn.isHiddenScrollBar?null:a.createElement("div",{style:{height:Object(w.a)(),width:On,bottom:xr},className:"".concat($r,"-sticky-scroll")},a.createElement("div",{onMouseDown:Ia,ref:qn,className:s()("".concat($r,"-sticky-scroll-bar"),Object(i.a)({},"".concat($r,"-sticky-scroll-bar-active"),Ui)),style:{width:"".concat(Qn,"px"),transform:"translate3d(".concat(Wn.scrollLeft,"px, 0, 0)")}}))},Gt=a.forwardRef(Ze);function yr(lr,pn){return a.useMemo(function(){var _n=!!lr;return{isSticky:_n,stickyClassName:_n?"".concat(pn,"-sticky-header"):"",offsetHeader:Object(o.a)(lr)==="object"&&lr.offsetHeader||0,offsetScroll:Object(o.a)(lr)==="object"&&lr.offsetScroll||0}},[lr,pn])}var br=[],Sr={},Tn="rc-table-internal-hook",cn=a.memo(function(lr){var pn=lr.children;return pn},function(lr,pn){return g()(lr.props,pn.props)?lr.pingLeft!==pn.pingLeft||lr.pingRight!==pn.pingRight:!1});function Kn(lr){var pn,_n=lr.prefixCls,Pn=lr.className,ct=lr.rowClassName,Vt=lr.style,Cr=lr.data,xr=lr.rowKey,Gr=lr.scroll,$r=lr.tableLayout,hn=lr.direction,On=lr.title,Qn=lr.footer,qn=lr.summary,si=lr.id,oi=lr.showHeader,Wn=lr.components,Zn=lr.emptyText,ni=lr.onRow,wi=lr.onHeaderRow,Di=lr.internalHooks,Ui=lr.transformColumns,ca=lr.internalRefs,ia=lr.sticky,Ia=Cr||br,Fa=!!Ia.length,Aa=a.useState(0),Ea=Object(h.a)(Aa,2),xa=Ea[0],Ai=Ea[1];a.useEffect(function(){Ai(Object(w.a)())});var oa=a.useMemo(function(){return X(Wn,{})},[Wn]),Ba=a.useCallback(function(Ss,Ks){return H(oa,Ss)||Ks},[oa]),Nr=a.useMemo(function(){return typeof xr=="function"?xr:function(Ss){var Ks=Ss&&Ss[xr];return Ks}},[xr]),Qr=ge(lr),bn=Qr.expandIcon,Zr=Qr.expandedRowKeys,hr=Qr.defaultExpandedRowKeys,jr=Qr.defaultExpandAllRows,wr=Qr.expandedRowRender,an=Qr.onExpand,Jr=Qr.onExpandedRowsChange,kn=Qr.expandRowByClick,Dn=Qr.rowExpandable,Xn=Qr.expandIconColumnIndex,vi=Qr.expandedRowClassName,Li=Qr.childrenColumnName,ji=Qr.indentSize,Sa=bn||Ht,Ga=Li||"children",Ya=a.useMemo(function(){return wr?"row":lr.expandable&&Di===Tn&&lr.expandable.__PARENT_RENDER_ICON__||Ia.some(function(Ss){return Ss&&Object(o.a)(Ss)==="object"&&Ss[Ga]})?"nest":!1},[!!wr,Ia]),bo=a.useState(function(){return hr||(jr?Kt(Ia,Nr,Ga):[])}),vo=Object(h.a)(bo,2),po=vo[0],Ha=vo[1],Oa=a.useMemo(function(){return new Set(Zr||po||[])},[Zr,po]),ao=a.useCallback(function(Ss){var Ks=Nr(Ss,Ia.indexOf(Ss)),xl,ul=Oa.has(Ks);ul?(Oa.delete(Ks),xl=Object(r.a)(Oa)):xl=[].concat(Object(r.a)(Oa),[Ks]),Ha(xl),an&&an(!ul,Ss),Jr&&Jr(xl)},[Nr,Oa,Ia,an,Jr]),to=a.useState(0),Po=Object(h.a)(to,2),Yo=Po[0],ro=Po[1],za=$t(Object(u.a)(Object(u.a)(Object(u.a)({},lr),Qr),{},{expandable:!!wr,expandedKeys:Oa,getRowKey:Nr,onTriggerExpand:ao,expandIcon:Sa,expandIconColumnIndex:Xn,direction:hn}),Di===Tn?Ui:null),Mo=Object(h.a)(za,2),Io=Mo[0],ma=Mo[1],mo=a.useMemo(function(){return{columns:Io,flattenColumns:ma}},[Io,ma]),ns=a.useRef(),Zo=a.useRef(),Oo=a.useRef(),Ro=a.useState(!1),hs=Object(h.a)(Ro,2),Uo=hs[0],Ja=hs[1],Es=a.useState(!1),oo=Object(h.a)(Es,2),Fs=oo[0],qo=oo[1],Ko=Ee(new Map),Vo=Object(h.a)(Ko,2),Go=Vo[0],os=Vo[1],Vs=B(ma),xs=Vs.map(function(Ss){return Go.get(Ss)}),Js=a.useMemo(function(){return xs},[xs.join("_")]),Bs=rt(Js,ma.length,hn),ks=Gr&&J(Gr.y),Jo=Gr&&J(Gr.x),bs=Jo&&ma.some(function(Ss){var Ks=Ss.fixed;return Ks}),Ho=a.useRef(),Ls=yr(ia,_n),Ps=Ls.isSticky,Ra=Ls.offsetHeader,ho=Ls.offsetScroll,ll=Ls.stickyClassName,ml,wl,El;ks&&(wl={overflowY:"scroll",maxHeight:Gr.y}),Jo&&(ml={overflowX:"auto"},ks||(wl={overflowY:"hidden"}),El={width:Gr.x===!0?"auto":Gr.x,minWidth:"100%"});var Xs=a.useCallback(function(Ss,Ks){os(function(xl){var ul=new Map(xl);return ul.set(Ss,Ks),ul})},[]),Xo=de(null),gl=Object(h.a)(Xo,2),Vl=gl[0],Us=gl[1];function $s(Ss,Ks){if(!Ks)return;typeof Ks=="function"?Ks(Ss):Ks.scrollLeft!==Ss&&(Ks.scrollLeft=Ss)}var us=function(Ks){var xl=Ks.currentTarget,ul=Ks.scrollLeft,nc=typeof ul=="number"?ul:xl.scrollLeft,Xl=xl||Sr;if(!Us()||Us()===Xl){var Gl;Vl(Xl),$s(nc,Zo.current),$s(nc,Oo.current),$s(nc,(Gl=Ho.current)===null||Gl===void 0?void 0:Gl.setScrollLeft)}if(xl){var Wc=xl.scrollWidth,Hl=xl.clientWidth;Ja(nc>0),qo(nc0?Vt:lr});if(!Vt){var Qn=Math.ceil(lr/On.pageSize);Qn0&&arguments[0]!==void 0?arguments[0]:1,Zn=arguments.length>1?arguments[1]:void 0;hn(d()(d()({},On),{current:Wn,pageSize:Zn||On.pageSize}))},si=function(Wn,Zn){var ni=On==null?void 0:On.pageSize;Zn&&Zn!==ni&&(Wn=1,pn&&pn.onShowSizeChange&&pn.onShowSizeChange(Wn,Zn)),pn&&pn.onChange&&pn.onChange(Wn,Zn),qn(Wn,Zn),_n(Wn,Zn||ni)};return pn===!1?[{},function(){}]:[d()(d()({},On),{onChange:si}),qn]}function en(lr,pn,_n){var Pn=a.useRef({});function ct(Vt){if(!Pn.current||Pn.current.data!==lr||Pn.current.childrenColumnName!==pn||Pn.current.getRowKey!==_n){var Cr=function Gr($r){$r.forEach(function(hn,On){var Qn=_n(hn,On);xr.set(Qn,hn),hn&&b()(hn)==="object"&&pn in hn&&Gr(hn[pn]||[])})},xr=new Map;Cr(lr),Pn.current={data:lr,childrenColumnName:pn,kvMap:xr,getRowKey:_n}}return Pn.current.kvMap.get(Vt)}return[ct]}var Fn=l("SA+Z"),ar=l.n(Fn),It=l("RIqP"),Ct=l.n(It),mr=l("HQEm"),gr=l.n(mr),Mt=l("815F"),rr=l("NvD2"),Dt=l("OZM5"),tr=l("6cGi"),Dr=l("kaz8"),dr=l("jsC+"),Tr=l("BvKs"),vn=l("9yH6"),on=l("uaoM"),Gn="SELECT_ALL",di="SELECT_INVERT";function Ti(lr){return lr&&lr.fixed}function Fi(lr,pn){var _n=[];return(lr||[]).forEach(function(Pn){_n.push(Pn),Pn&&b()(Pn)==="object"&&pn in Pn&&(_n=[].concat(Ct()(_n),Ct()(Fi(Pn[pn],pn))))}),_n}function la(lr,pn){var _n=lr||{},Pn=_n.preserveSelectedRowKeys,ct=_n.selectedRowKeys,Vt=_n.getCheckboxProps,Cr=_n.onChange,xr=_n.onSelect,Gr=_n.onSelectAll,$r=_n.onSelectInvert,hn=_n.onSelectMultiple,On=_n.columnWidth,Qn=_n.type,qn=_n.selections,si=_n.fixed,oi=_n.renderCell,Wn=_n.hideSelectAll,Zn=_n.checkStrictly,ni=Zn===void 0?!0:Zn,wi=pn.prefixCls,Di=pn.data,Ui=pn.pageData,ca=pn.getRecordByKey,ia=pn.getRowKey,Ia=pn.expandType,Fa=pn.childrenColumnName,Aa=pn.locale,Ea=pn.expandIconColumnIndex,xa=pn.getPopupContainer,Ai=a.useRef(new Map),oa=Object(tr.a)(ct||[],{value:ct}),Ba=e()(oa,2),Nr=Ba[0],Qr=Ba[1],bn=Object(a.useMemo)(function(){return ni?{keyEntities:null}:Object(Mt.a)(Di,void 0,ia)},[Di,ia,ni]),Zr=bn.keyEntities,hr=Object(a.useMemo)(function(){return Fi(Ui,Fa)},[Ui,Fa]),jr=Object(a.useMemo)(function(){var Ha=new Map;return hr.forEach(function(Oa,ao){var to=ia(Oa,ao),Po=(Vt?Vt(Oa):null)||{};Ha.set(to,Po)}),Ha},[hr,ia,Vt]),wr=Object(a.useCallback)(function(Ha){var Oa;return!!((Oa=jr.get(ia(Ha)))===null||Oa===void 0?void 0:Oa.disabled)},[jr,ia]),an=Object(a.useMemo)(function(){if(ni)return[Nr,[]];var Ha=Object(rr.a)(Nr,!0,Zr,wr),Oa=Ha.checkedKeys,ao=Ha.halfCheckedKeys;return[Oa,ao]},[Nr,ni,Zr,wr]),Jr=e()(an,2),kn=Jr[0],Dn=Jr[1],Xn=Object(a.useMemo)(function(){var Ha=Qn==="radio"?kn.slice(0,1):kn;return new Set(Ha)},[kn,Qn]),vi=Object(a.useMemo)(function(){return Qn==="radio"?new Set:new Set(Dn)},[Dn,Qn]),Li=Object(a.useState)(null),ji=e()(Li,2),Sa=ji[0],Ga=ji[1];a.useEffect(function(){lr||Qr([])},[!!lr]);var Ya=Object(a.useCallback)(function(Ha){var Oa,ao;if(Pn){var to=new Map;Oa=Ha,ao=Ha.map(function(Po){var Yo=ca(Po);return!Yo&&Ai.current.has(Po)&&(Yo=Ai.current.get(Po)),to.set(Po,Yo),Yo}),Ai.current=to}else Oa=[],ao=[],Ha.forEach(function(Po){var Yo=ca(Po);Yo!==void 0&&(Oa.push(Po),ao.push(Yo))});Qr(Oa),Cr&&Cr(Oa,ao)},[Qr,ca,Cr,Pn]),bo=Object(a.useCallback)(function(Ha,Oa,ao,to){if(xr){var Po=ao.map(function(Yo){return ca(Yo)});xr(ca(Ha),Oa,Po,to)}Ya(ao)},[xr,ca,Ya]),vo=Object(a.useMemo)(function(){if(!qn||Wn)return null;var Ha=qn===!0?[Gn,di]:qn;return Ha.map(function(Oa){return Oa===Gn?{key:"all",text:Aa.selectionAll,onSelect:function(){Ya(Di.map(function(to,Po){return ia(to,Po)}))}}:Oa===di?{key:"invert",text:Aa.selectInvert,onSelect:function(){var to=new Set(Xn);Ui.forEach(function(Yo,ro){var za=ia(Yo,ro);to.has(za)?to.delete(za):to.add(za)});var Po=Array.from(to);Ya(Po),$r&&(Object(on.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),$r(Po))}}:Oa})},[qn,Xn,Ui,ia,$r,Ya]),po=Object(a.useCallback)(function(Ha){if(!lr)return Ha;var Oa=new Set(Xn),ao=hr.map(ia).filter(function(Uo){return!jr.get(Uo).disabled}),to=ao.every(function(Uo){return Oa.has(Uo)}),Po=ao.some(function(Uo){return Oa.has(Uo)}),Yo=function(){var Ja=[];to?ao.forEach(function(oo){Oa.delete(oo),Ja.push(oo)}):ao.forEach(function(oo){Oa.has(oo)||(Oa.add(oo),Ja.push(oo))});var Es=Array.from(Oa);Ya(Es),Gr&&Gr(!to,Es.map(function(oo){return ca(oo)}),Ja.map(function(oo){return ca(oo)}))},ro;if(Qn!=="radio"){var za;if(vo){var Mo=a.createElement(Tr.a,{getPopupContainer:xa},vo.map(function(Uo,Ja){var Es=Uo.key,oo=Uo.text,Fs=Uo.onSelect;return a.createElement(Tr.a.Item,{key:Es||Ja,onClick:function(){Fs&&Fs(ao)}},oo)}));za=a.createElement("div",{className:"".concat(wi,"-selection-extra")},a.createElement(dr.a,{overlay:Mo,getPopupContainer:xa},a.createElement("span",null,a.createElement(gr.a,null))))}var Io=hr.every(function(Uo,Ja){var Es=ia(Uo,Ja),oo=jr.get(Es)||{};return oo.disabled});ro=!Wn&&a.createElement("div",{className:"".concat(wi,"-selection")},a.createElement(Dr.a,{checked:!Io&&!!hr.length&&to,indeterminate:!to&&Po,onChange:Yo,disabled:hr.length===0||Io}),za)}var ma;Qn==="radio"?ma=function(Ja,Es,oo){var Fs=ia(Es,oo),qo=Oa.has(Fs);return{node:a.createElement(vn.a,d()({},jr.get(Fs),{checked:qo,onClick:function(Vo){return Vo.stopPropagation()},onChange:function(Vo){Oa.has(Fs)||bo(Fs,!0,[Fs],Vo.nativeEvent)}})),checked:qo}}:ma=function(Ja,Es,oo){var Fs,qo=ia(Es,oo),Ko=Oa.has(qo),Vo=vi.has(qo),Go=jr.get(qo),os;return Ia==="nest"?(os=Vo,Object(on.a)(!(typeof(Go==null?void 0:Go.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):os=(Fs=Go==null?void 0:Go.indeterminate)!==null&&Fs!==void 0?Fs:Vo,{node:a.createElement(Dr.a,d()({},Go,{indeterminate:os,checked:Ko,onClick:function(xs){return xs.stopPropagation()},onChange:function(xs){var Js=xs.nativeEvent,Bs=Js.shiftKey,ks=-1,Jo=-1;if(Bs&&ni){var bs=new Set([Sa,qo]);ao.some(function(Xo,gl){if(bs.has(Xo))if(ks===-1)ks=gl;else return Jo=gl,!0;return!1})}if(Jo!==-1&&ks!==Jo&&ni){var Ho=ao.slice(ks,Jo+1),Ls=[];Ko?Ho.forEach(function(Xo){Oa.has(Xo)&&(Ls.push(Xo),Oa.delete(Xo))}):Ho.forEach(function(Xo){Oa.has(Xo)||(Ls.push(Xo),Oa.add(Xo))});var Ps=Array.from(Oa);Ya(Ps),hn&&hn(!Ko,Ps.map(function(Xo){return ca(Xo)}),Ls.map(function(Xo){return ca(Xo)}))}else{var Ra=kn;if(ni){var ho=Ko?Object(Dt.b)(Ra,qo):Object(Dt.a)(Ra,qo);bo(qo,!Ko,ho,Js)}else{var ll=Object(rr.a)([].concat(Ct()(Ra),[qo]),!0,Zr,wr),ml=ll.checkedKeys,wl=ll.halfCheckedKeys,El=ml;if(Ko){var Xs=new Set(ml);Xs.delete(qo),El=Object(rr.a)(Array.from(Xs),{checked:!1,halfCheckedKeys:wl},Zr,wr).checkedKeys}bo(qo,!Ko,El,Js)}}Ga(qo)}})),checked:Ko}};var mo=function(Ja,Es,oo){var Fs=ma(Ja,Es,oo),qo=Fs.node,Ko=Fs.checked;return oi?oi(Ko,Es,oo,qo):qo},ns=f()({width:On,className:"".concat(wi,"-selection-column"),title:lr.columnTitle||ro,render:mo},ke,{className:"".concat(wi,"-selection-col")});if(Ia==="row"&&Ha.length&&!Ea){var Zo=ar()(Ha),Oo=Zo[0],Ro=Zo.slice(1),hs=si||Ti(Ro[0]);return hs&&(Oo.fixed=hs),[Oo,d()(d()({},ns),{fixed:hs})].concat(Ct()(Ro))}return[d()(d()({},ns),{fixed:si||Ti(Ha[0])})].concat(Ct()(Ha))},[ia,hr,lr,kn,Xn,vi,On,vo,Ia,Sa,jr,hn,bo,wr]);return[po,Xn]}var Ta=l("6SEX"),dt=l.n(Ta),Me=l("i8CU"),Xe=l.n(Me),Qe=l("3S7+");function st(lr,pn){return"key"in lr&&lr.key!==void 0&&lr.key!==null?lr.key:lr.dataIndex?Array.isArray(lr.dataIndex)?lr.dataIndex.join("."):lr.dataIndex:pn}function nt(lr,pn){return pn?"".concat(pn,"-").concat(lr):"".concat(lr)}function ft(lr,pn){return typeof lr=="function"?lr(pn):lr}var Bt="ascend",Et="descend";function nr(lr){return b()(lr.sorter)==="object"&&typeof lr.sorter.multiple=="number"?lr.sorter.multiple:!1}function Ur(lr){return typeof lr=="function"?lr:lr&&b()(lr)==="object"&&lr.compare?lr.compare:!1}function Lr(lr,pn){return pn?lr[lr.indexOf(pn)+1]:lr[0]}function Vr(lr,pn,_n){var Pn=[];function ct(Vt,Cr){Pn.push({column:Vt,key:st(Vt,Cr),multiplePriority:nr(Vt),sortOrder:Vt.sortOrder})}return(lr||[]).forEach(function(Vt,Cr){var xr=nt(Cr,_n);Vt.children?("sortOrder"in Vt&&ct(Vt,xr),Pn=[].concat(Ct()(Pn),Ct()(Vr(Vt.children,pn,xr)))):Vt.sorter&&("sortOrder"in Vt?ct(Vt,xr):pn&&Vt.defaultSortOrder&&Pn.push({column:Vt,key:st(Vt,xr),multiplePriority:nr(Vt),sortOrder:Vt.defaultSortOrder}))}),Pn}function sr(lr,pn,_n,Pn,ct,Vt,Cr,xr){return(pn||[]).map(function(Gr,$r){var hn=nt($r,xr),On=Gr;if(On.sorter){var Qn=On.sortDirections||ct,qn=On.showSorterTooltip===void 0?Cr:On.showSorterTooltip,si=st(On,hn),oi=_n.find(function(Fa){var Aa=Fa.key;return Aa===si}),Wn=oi?oi.sortOrder:null,Zn=Lr(Qn,Wn),ni=Qn.includes(Bt)&&a.createElement(Xe.a,{className:s()("".concat(lr,"-column-sorter-up"),{active:Wn===Bt})}),wi=Qn.includes(Et)&&a.createElement(dt.a,{className:s()("".concat(lr,"-column-sorter-down"),{active:Wn===Et})}),Di=Vt||{},Ui=Di.cancelSort,ca=Di.triggerAsc,ia=Di.triggerDesc,Ia=Ui;Zn===Et?Ia=ia:Zn===Bt&&(Ia=ca),On=d()(d()({},On),{className:s()(On.className,f()({},"".concat(lr,"-column-sort"),Wn)),title:function(Aa){var Ea=a.createElement("div",{className:"".concat(lr,"-column-sorters")},a.createElement("span",null,ft(Gr.title,Aa)),a.createElement("span",{className:s()("".concat(lr,"-column-sorter"),f()({},"".concat(lr,"-column-sorter-full"),ni&&wi))},a.createElement("span",{className:"".concat(lr,"-column-sorter-inner")},ni,wi)));return qn?a.createElement(Qe.a,{title:Ia},a.createElement("div",{className:"".concat(lr,"-column-sorters-with-tooltip")},Ea)):Ea},onHeaderCell:function(Aa){var Ea=Gr.onHeaderCell&&Gr.onHeaderCell(Aa)||{},xa=Ea.onClick;return Ea.onClick=function(Ai){Pn({column:Gr,key:si,sortOrder:Zn,multiplePriority:nr(Gr)}),xa&&xa(Ai)},Ea.className=s()(Ea.className,"".concat(lr,"-column-has-sorters")),Ea}})}return"children"in On&&(On=d()(d()({},On),{children:sr(lr,On.children,_n,Pn,ct,Vt,Cr,hn)})),On})}function Bn(lr){var pn=lr.column,_n=lr.sortOrder;return{column:pn,order:_n,field:pn.dataIndex,columnKey:pn.key}}function Er(lr){var pn=lr.filter(function(_n){var Pn=_n.sortOrder;return Pn}).map(Bn);return pn.length===0&&lr.length?d()(d()({},Bn(lr[lr.length-1])),{column:void 0}):pn.length<=1?pn[0]||{}:pn}function gn(lr,pn,_n){var Pn=pn.slice().sort(function(Cr,xr){return xr.multiplePriority-Cr.multiplePriority}),ct=lr.slice(),Vt=Pn.filter(function(Cr){var xr=Cr.column.sorter,Gr=Cr.sortOrder;return Ur(xr)&&Gr});return Vt.length?ct.sort(function(Cr,xr){for(var Gr=0;Gr1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var Ai=Object(dn.a)(),oa=a.useMemo(function(){var Xs=new Set(Object.keys(Ai).filter(function(Xo){return Ai[Xo]}));return(qn||Nt(si)).filter(function(Xo){return!Xo.responsive||Xo.responsive.some(function(gl){return Xs.has(gl)})})},[si,qn,Ai]),Ba=Object(c.default)(lr,["className","style","columns"]),Nr=a.useContext(ya.b),Qr=a.useContext($e.b),bn=Qr.locale,Zr=bn===void 0?ea:bn,hr=Qr.renderEmpty,jr=Qr.direction,wr=Vt||Nr,an=d()(d()({},Zr.Table),Aa),Jr=Gr||ha,kn=a.useContext($e.b),Dn=kn.getPrefixCls,Xn=Dn("table",_n),vi=Dn("dropdown",xr),Li=d()({childrenColumnName:oi,expandIconColumnIndex:ca},Di),ji=Li.childrenColumnName,Sa=ji===void 0?"children":ji,Ga=a.useMemo(function(){return Jr.some(function(Xs){var Xo;return(Xo=Xs)===null||Xo===void 0?void 0:Xo[Sa]})?"nest":Ui||Di&&Di.expandedRowRender?"row":null},[Jr]),Ya={body:a.useRef()},bo=a.useMemo(function(){return typeof On=="function"?On:function(Xs){var Xo;return(Xo=Xs)===null||Xo===void 0?void 0:Xo[On]}},[On]),vo=en(Jr,Sa,bo),po=e()(vo,1),Ha=po[0],Oa={},ao=function(Xo,gl){var Vl=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Us=d()(d()({},Oa),Xo);Vl&&(Oa.resetPagination(),Us.pagination.current&&(Us.pagination.current=1),$r&&$r.onChange&&$r.onChange(1,Us.pagination.pageSize)),Ia&&Ia.scrollToFirstRowOnChange!==!1&&Ya.body.current&&Object(Zi.a)(0,{getContainer:function(){return Ya.body.current}}),Wn&&Wn(Us.pagination,Us.filters,Us.sorter,{currentDataSource:Na(gn(Jr,Us.sorterStates,Sa),Us.filterStates),action:gl})},to=function(Xo,gl){ao({sorter:Xo,sorterStates:gl},"sort",!1)},Po=rn({prefixCls:Xn,mergedColumns:oa,onSorterChange:to,sortDirections:Fa||["ascend","descend"],tableLocale:an,showSorterTooltip:xa}),Yo=e()(Po,4),ro=Yo[0],za=Yo[1],Mo=Yo[2],Io=Yo[3],ma=a.useMemo(function(){return gn(Jr,za,Sa)},[Jr,za]);Oa.sorter=Io(),Oa.sorterStates=za;var mo=function(Xo,gl){ao({filters:Xo,filterStates:gl},"filter",!0)},ns=nn({prefixCls:Xn,locale:an,dropdownPrefixCls:vi,mergedColumns:oa,onFilterChange:mo,getPopupContainer:Zn}),Zo=e()(ns,3),Oo=Zo[0],Ro=Zo[1],hs=Zo[2],Uo=Na(ma,Ro);Oa.filters=hs(),Oa.filterStates=Ro;var Ja=a.useMemo(function(){return d()({},Mo)},[Mo]),Es=bi(Ja),oo=e()(Es,1),Fs=oo[0],qo=function(Xo,gl){ao({pagination:d()(d()({},Oa.pagination),{current:Xo,pageSize:gl})},"paginate")},Ko=Wr(Uo.length,$r,qo),Vo=e()(Ko,2),Go=Vo[0],os=Vo[1];Oa.pagination=$r===!1?{}:Xt($r,Go),Oa.resetPagination=os;var Vs=a.useMemo(function(){if($r===!1||!Go.pageSize)return Uo;var Xs=Go.current,Xo=Xs===void 0?1:Xs,gl=Go.total,Vl=Go.pageSize,Us=Vl===void 0?ir:Vl;return Uo.lengthUs?(Object(on.a)(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode."),Uo.slice((Xo-1)*Us,Xo*Us)):Uo:Uo.slice((Xo-1)*Us,Xo*Us)},[!!$r,Uo,Go&&Go.current,Go&&Go.pageSize,Go&&Go.total]),xs=la(hn,{prefixCls:Xn,data:Uo,pageData:Vs,getRowKey:bo,getRecordByKey:Ha,expandType:Ga,childrenColumnName:Sa,locale:an,expandIconColumnIndex:Li.expandIconColumnIndex,getPopupContainer:Zn}),Js=e()(xs,2),Bs=Js[0],ks=Js[1],Jo=function(Xo,gl,Vl){var Us;return typeof Qn=="function"?Us=s()(Qn(Xo,gl,Vl)):Us=s()(Qn),s()(f()({},"".concat(Xn,"-row-selected"),ks.has(bo(Xo,gl))),Us)};Li.__PARENT_RENDER_ICON__=Li.expandIcon,Li.expandIcon=Li.expandIcon||wi||_i(an),Ga==="nest"&&Li.expandIconColumnIndex===void 0?Li.expandIconColumnIndex=hn?1:0:Li.expandIconColumnIndex>0&&hn&&(Li.expandIconColumnIndex-=1),typeof Li.indentSize!="number"&&(Li.indentSize=typeof ia=="number"?ia:15);var bs=a.useCallback(function(Xs){return Fs(Bs(Oo(ro(Xs))))},[ro,Oo,Bs]),Ho,Ls;if($r!==!1){var Ps;Go.size?Ps=Go.size:Ps=wr==="small"||wr==="middle"?"small":void 0;var Ra=function(Xo){return a.createElement(ze.a,d()({className:"".concat(Xn,"-pagination ").concat(Xn,"-pagination-").concat(Xo)},Go,{size:Ps}))},ho=jr==="rtl"?"left":"right";if(Go.position!==null&&Array.isArray(Go.position)){var ll=Go.position.find(function(Xs){return Xs.indexOf("top")!==-1}),ml=Go.position.find(function(Xs){return Xs.indexOf("bottom")!==-1});!ll&&!ml?Ls=Ra(ho):(ll&&(Ho=Ra(ll.toLowerCase().replace("top",""))),ml&&(Ls=Ra(ml.toLowerCase().replace("bottom",""))))}else Ls=Ra(ho)}var wl;typeof ni=="boolean"?wl={spinning:ni}:b()(ni)==="object"&&(wl=d()({spinning:!0},ni));var El=s()("".concat(Xn,"-wrapper"),Pn,f()({},"".concat(Xn,"-wrapper-rtl"),jr==="rtl"));return a.createElement("div",{className:El,style:ct},a.createElement(Le.a,d()({spinning:!1},wl),Ho,a.createElement(mt,d()({},Ba,{columns:oa,direction:jr,expandable:Li,prefixCls:Xn,className:s()((pn={},f()(pn,"".concat(Xn,"-middle"),wr==="middle"),f()(pn,"".concat(Xn,"-small"),wr==="small"),f()(pn,"".concat(Xn,"-bordered"),Cr),f()(pn,"".concat(Xn,"-empty"),Jr.length===0),pn)),data:Vs,rowKey:bo,rowClassName:Jo,emptyText:Aa&&Aa.emptyText||hr("Table"),internalHooks:Tn,internalRefs:Ya,transformColumns:bs})),Uo&&Uo.length>0&&Ls))}ba.defaultProps={rowKey:"key"},ba.SELECTION_ALL=Gn,ba.SELECTION_INVERT=di,ba.Column=io,ba.ColumnGroup=Pi,ba.Summary=at;var ta=ba,so=R.a=ta},wDdD:function(j,R,l){var x=l("ProS"),b=l("bYtY");l("98bh"),l("GrNh");var A=l("d4KN"),f=l("mOdp"),t=l("KS52"),e=l("0/Rx");A("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),x.registerVisual(f("pie")),x.registerLayout(b.curry(t,"pie")),x.registerProcessor(e("pie"))},wOnQ:function(j,R,l){/*! +`].includes(Ai)})},[er]),Ta=k(),dt=Object(f.a)(Ta,3),Me=dt[0],Xe=dt[1],Qe=dt[2],st=Object(e.useState)(),nt=Object(f.a)(st,2),ft=nt[0],Bt=nt[1];Object(e.useEffect)(function(){Bt("rc_select_".concat(Object(p.a)()))},[]);var Et=Ne||ft,nr=Wt;nr===void 0&&(nr=Re?"label":"children");var Ur=yt==="combobox"?!1:Nt,Lr=yt==="tags"||yt==="multiple",Vr=ut!==void 0?ut:Lr||yt==="combobox",sr=Object(e.useRef)(null);e.useImperativeHandle(Y,function(){return{focus:Ti.current.focus,blur:Ti.current.blur}});var Bn=Object(n.a)(Pe,{value:pt}),Er=Object(f.a)(Bn,2),gn=Er[0],rn=Er[1],Br=Object(e.useMemo)(function(){return Object(p.e)(gn,{labelInValue:Ur,combobox:yt==="combobox"})},[gn,Ur]),Vn=Object(e.useMemo)(function(){return new Set(Br)},[Br]),gi=Object(e.useState)(null),Ni=Object(f.a)(gi,2),Wi=Ni[0],zi=Ni[1],Yi=Object(e.useState)(""),mi=Object(f.a)(Yi,2),va=mi[0],zn=mi[1],fn=va;yt==="combobox"&&gn!==void 0?fn=gn:Ut!==void 0?fn=Ut:Ft&&(fn=Ft);var $n=Object(e.useMemo)(function(){var Ai=Re;return Ai===void 0&&(Ai=ie(it)),yt==="tags"&&ee&&(Ai=ee(Ai,gn,nr,Nt)),Ai||[]},[Re,it,yt,gn]),Cn=Object(e.useMemo)(function(){return fe($n,Z)},[$n]),ki=P(Br,Cn),In=Object(e.useMemo)(function(){if(!fn||!Vr)return Object(A.a)($n);var Ai=Se(fn,$n,{optionFilterProp:or,filterOption:yt==="combobox"&&Kt===void 0?function(){return!0}:Kt});return yt==="tags"&&Ai.every(function(oa){return oa[or]!==fn})&&Ai.unshift({value:fn,label:fn,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Ai},[$n,fn,yt,Vr]),na=Object(e.useMemo)(function(){return fe(In,Z)},[In]);Object(e.useEffect)(function(){Fi.current&&Fi.current.scrollTo&&Fi.current.scrollTo(0)},[fn]);var Ei=Object(e.useMemo)(function(){var Ai=Br.map(function(oa){var Ba=ki([oa]),Nr=xe(oa,{options:Ba,prevValue:gn,labelInValue:Ur,optionLabelProp:nr});return Object(b.a)(Object(b.a)({},Nr),{},{disabled:ke(oa,Ba)})});return!yt&&Ai.length===1&&Ai[0].value===null&&Ai[0].label===null?[]:Ai},[gn,$n,yt]);Ei=W(Ei);var pi=function(oa,Ba,Nr){var Qr=ki([oa]),bn=ge([oa],Qr)[0];if(!dr.skipTriggerSelect){var Zr=Ur?xe(oa,{options:Qr,prevValue:gn,labelInValue:Ur,optionLabelProp:nr}):oa;Ba&&rr?rr(Zr,bn):!Ba&&Dt&&Dt(Zr,bn)}vn&&(Ba&&dr.onRawSelect?dr.onRawSelect(oa,bn,Nr):!Ba&&dr.onRawDeselect&&dr.onRawDeselect(oa,bn,Nr))},Ri=Object(e.useState)([]),Na=Object(f.a)(Ri,2),Un=Na[0],nn=Na[1],Yn=function(oa){if(vn&&dr.skipTriggerChange)return;var Ba=ki(oa),Nr=Object(p.f)(Array.from(oa),{labelInValue:Ur,options:Ba,getLabeledValue:xe,prevValue:gn,optionLabelProp:nr}),Qr=Lr?Nr:Nr[0];if(Mt&&(Br.length!==0||Nr.length!==0)){var bn=ge(oa,Ba,{prevValueOptions:Un});nn(bn.map(function(Zr,hr){var jr=Object(b.a)({},Zr);return Object.defineProperty(jr,"_INTERNAL_OPTION_VALUE_",{get:function(){return oa[hr]}}),jr})),Mt(Qr,Lr?bn:bn[0])}rn(Qr)},bi=function(oa,Ba){var Nr=Ba.selected,Qr=Ba.source;if(He)return;var bn;Lr?(bn=new Set(Br),Nr?bn.add(oa):bn.delete(oa)):(bn=new Set,bn.add(oa)),(Lr||!Lr&&Array.from(Br)[0]!==oa)&&Yn(Array.from(bn)),pi(oa,!Lr||Nr,Qr),yt==="combobox"?(zn(String(oa)),zi("")):(!Lr||Ee)&&(zn(""),zi(""))},Oi=function(oa,Ba){bi(oa,Object(b.a)(Object(b.a)({},Ba),{},{source:"option"}))},_i=function(oa,Ba){bi(oa,Object(b.a)(Object(b.a)({},Ba),{},{source:"selection"}))},Zi=yt==="combobox"&&et&&et()||null,qi=Object(n.a)(void 0,{defaultValue:be,value:me}),ea=Object(f.a)(qi,2),ya=ea[0],co=ea[1],io=ya,rs=!Ht&&!In.length;(He||rs&&io&&yt==="combobox")&&(io=!1);var Pi=rs?!1:io,dn=function(oa){var Ba=oa!==void 0?oa:!io;ya!==Ba&&!He&&(co(Ba),Fn&&Fn(Ba))};z([Gn.current,di.current&&di.current.getPopupElement()],Pi,dn);var ha=function(oa,Ba,Nr){var Qr=!0,bn=oa;zi(null);var Zr=Nr?null:Object(K.f)(oa,er),hr=Zr;if(yt==="combobox")Ba&&Yn([bn]);else if(Zr){bn="",yt!=="tags"&&(hr=Zr.map(function(wr){var an=Cn.find(function(Jr){var kn=Jr.data;return kn[nr]===wr});return an?an.data.value:null}).filter(function(wr){return wr!==null}));var jr=Array.from(new Set([].concat(Object(A.a)(Br),Object(A.a)(hr))));Yn(jr),jr.forEach(function(wr){pi(wr,!0,"input")}),dn(!1),Qr=!1}return zn(bn),de&&fn!==bn&&de(bn),Qr},ba=function(oa){var Ba=Array.from(new Set([].concat(Object(A.a)(Br),[oa])));Yn(Ba),Ba.forEach(function(Nr){pi(Nr,!0,"input")}),zn("")};Object(e.useEffect)(function(){ya&&!!He&&co(!1)},[He]),Object(e.useEffect)(function(){!io&&!Lr&&yt!=="combobox"&&ha("",!1,!1)},[io]);var ta=I(),so=Object(f.a)(ta,2),lr=so[0],pn=so[1],_n=function(oa){var Ba=lr(),Nr=oa.which;if(!io&&Nr===m.a.ENTER&&dn(!0),pn(!!fn),Nr===m.a.BACKSPACE&&!Ba&&Lr&&!fn&&Br.length){var Qr=Object(p.c)(Ei,Br);Qr.removedValue!==null&&(Yn(Qr.values),pi(Qr.removedValue,!1,"input"))}for(var bn=arguments.length,Zr=new Array(bn>1?bn-1:0),hr=1;hr1?Ba-1:0),Qr=1;Qr1?bn-1:0),hr=1;hrv?v=w:(y.lastTickCount=i,y.lastAutoInterval=v),v}},x.inherits(m,A);var d=m;j.exports=d},qgGe:function(j,R,l){var x=l("bYtY"),b=l("T4UG"),A=l("Bsck"),f=l("VaxA"),t=f.wrapTreePathInfo,e=b.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(d,a){var n={name:d.name,children:d.data};m(n);var s=d.levels||[],c={};return c.levels=s,A.createTree(n,this,c).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(d){var a=b.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(d);return a.treePathInfo=t(n,this),a},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(d){d?this._viewRoot=d:d=this._viewRoot;var a=this.getRawData().tree.root;(!d||d!==a&&!a.contains(d))&&(this._viewRoot=a)}});function m(d){var a=0;x.each(d.children,function(s){m(s);var c=s.value;x.isArray(c)&&(c=c[0]),a+=c});var n=d.value;x.isArray(n)&&(n=n[0]),(n==null||isNaN(n))&&(n=a),n<0&&(n=0),x.isArray(d.value)?d.value[0]=n:d.value=n}j.exports=e},qj72:function(j,R,l){var x=l("bYtY");function b(f,t){return t=t||[0,0],x.map(["x","y"],function(e,m){var d=this.getAxis(e),a=t[m],n=f[m]/2;return d.type==="category"?d.getBandWidth():Math.abs(d.dataToCoord(a-n)-d.dataToCoord(a+n))},this)}function A(f){var t=f.grid.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(e){return f.dataToPoint(e)},size:x.bind(b,f)}}}j.exports=A},"qt/9":function(j,R,l){var x=l("ProS"),b=l("bYtY");l("Wqna"),l("1tlw"),l("Mylv");var A=l("nVfU"),f=A.layout,t=l("f5Yq");l("Ae16"),x.registerLayout(b.curry(f,"pictorialBar")),x.registerVisual(t("pictorialBar","roundRect"))},quyA:function(j,R){var l="\\ud800-\\udfff",x="\\u0300-\\u036f",b="\\ufe20-\\ufe2f",A="\\u20d0-\\u20ff",f=x+b+A,t="\\ufe0e\\ufe0f",e="\\u200d",m=RegExp("["+e+l+f+t+"]");function d(a){return m.test(a)}j.exports=d},qwVE:function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("K4ya"),f=l("XxSj"),t=x.PRIORITY.VISUAL.COMPONENT;x.registerVisual(t,{createOnAllSeries:!0,reset:function(m,d){var a=[];return d.eachComponent("visualMap",function(n){var s=m.pipelineContext;if(!n.isTargetSeries(m)||s&&s.large)return;a.push(A.incrementalApplyVisual(n.stateList,n.targetVisuals,b.bind(n.getValueState,n),n.getDataDimension(m.getData())))}),a}}),x.registerVisual(t,{createOnAllSeries:!0,reset:function(m,d){var a=m.getData(),n=[];d.eachComponent("visualMap",function(s){if(s.isTargetSeries(m)){var c=s.getVisualMeta(b.bind(e,null,m,s))||{stops:[],outerColors:[]},i=s.getDataDimension(a),u=a.getDimensionInfo(i);u!=null&&(c.dimension=u.index,n.push(c))}}),m.getData().setVisual("visualMeta",n)}});function e(m,d,a,n){for(var s=d.targetVisuals[n],c=f.prepareVisualTypes(s),i={color:m.getData().getVisual("color")},u=0,r=c.length;u=0&&(this.delFromStorage(a),this._roots.splice(i,1),a instanceof A&&a.delChildrenFromStorage(this))},addToStorage:function(a){return a&&(a.__storage=this,a.dirty(!1)),this},delFromStorage:function(a){return a&&(a.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:t};var m=e;j.exports=m},rA99:function(j,R,l){var x=l("y+Vt"),b=l("QBsz"),A=l("Sj9i"),f=A.quadraticSubdivide,t=A.cubicSubdivide,e=A.quadraticAt,m=A.cubicAt,d=A.quadraticDerivativeAt,a=A.cubicDerivativeAt,n=[];function s(i,u,r){var o=i.cpx2,h=i.cpy2;return o===null||h===null?[(r?a:m)(i.x1,i.cpx1,i.cpx2,i.x2,u),(r?a:m)(i.y1,i.cpy1,i.cpy2,i.y2,u)]:[(r?d:e)(i.x1,i.cpx1,i.x2,u),(r?d:e)(i.y1,i.cpy1,i.y2,u)]}var c=x.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(u,r){var o=r.x1,h=r.y1,p=r.x2,g=r.y2,v=r.cpx1,y=r.cpy1,w=r.cpx2,S=r.cpy2,_=r.percent;if(_===0)return;u.moveTo(o,h),w==null||S==null?(_<1&&(f(o,v,p,_,n),v=n[1],p=n[2],f(h,y,g,_,n),y=n[1],g=n[2]),u.quadraticCurveTo(v,y,p,g)):(_<1&&(t(o,v,w,p,_,n),v=n[1],w=n[2],p=n[3],t(h,y,S,g,_,n),y=n[1],S=n[2],g=n[3]),u.bezierCurveTo(v,y,w,S,p,g))},pointAt:function(u){return s(this.shape,u,!1)},tangentAt:function(u){var r=s(this.shape,u,!0);return b.normalize(r,r)}});j.exports=c},rHrb:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.CopyToClipboard=void 0;var x=A(l("q1tI")),b=A(l("+QRC"));function A(g){return g&&g.__esModule?g:{default:g}}function f(g){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(y){return typeof y}:f=function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},f(g)}function t(g,v){var y=Object.keys(g);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(g);v&&(w=w.filter(function(S){return Object.getOwnPropertyDescriptor(g,S).enumerable})),y.push.apply(y,w)}return y}function e(g){for(var v=1;v=0)continue;if(!Object.prototype.propertyIsEnumerable.call(g,w))continue;y[w]=g[w]}}return y}function d(g,v){if(g==null)return{};var y={},w=Object.keys(g),S,_;for(_=0;_=0)continue;y[S]=g[S]}return y}function a(g,v){if(!(g instanceof v))throw new TypeError("Cannot call a class as a function")}function n(g,v){for(var y=0;y"']/,x=/[&<>"']/g,b=/[<>"']|&(?!#?\w+;)/,A=/[<>"']|&(?!#?\w+;)/g,f={"&":"&","<":"<",">":">",'"':""","'":"'"},t=function(C){return f[C]};function e(I,C){if(C){if(l.test(I))return I.replace(x,t)}else if(b.test(I))return I.replace(A,t);return I}var m=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function d(I){return I.replace(m,function(C,E){return E=E.toLowerCase(),E==="colon"?":":E.charAt(0)==="#"?E.charAt(1)==="x"?String.fromCharCode(parseInt(E.substring(2),16)):String.fromCharCode(+E.substring(1)):""})}var a=/(^|[^\[])\^/g;function n(I,C){I=I.source||I,C=C||"";var E={replace:function(M,F){return F=F.source||F,F=F.replace(a,"$1"),I=I.replace(M,F),E},getRegex:function(){return new RegExp(I,C)}};return E}var s=/[^\w:]/g,c=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function i(I,C,E){if(I){var O;try{O=decodeURIComponent(d(E)).replace(s,"").toLowerCase()}catch(M){return null}if(O.indexOf("javascript:")===0||O.indexOf("vbscript:")===0||O.indexOf("data:")===0)return null}C&&!c.test(E)&&(E=p(C,E));try{E=encodeURI(E).replace(/%25/g,"%")}catch(M){return null}return E}var u={},r=/^[^:]+:\/*[^/]*$/,o=/^([^:]+:)[\s\S]*$/,h=/^([^:]+:\/*[^/]*)[\s\S]*$/;function p(I,C){u[" "+I]||(r.test(I)?u[" "+I]=I+"/":u[" "+I]=w(I,"/",!0)),I=u[" "+I];var E=I.indexOf(":")===-1;return C.substring(0,2)==="//"?E?C:I.replace(o,"$1")+C:C.charAt(0)==="/"?E?C:I.replace(h,"$1")+C:I+C}var g={exec:function(){}};function v(I){for(var C=1,E,O;C=0&&B[J]==="\\";)X=!X;return X?"|":" |"}),O=E.split(/ \|/),M=0;if(O.length>C)O.splice(C);else for(;O.length=0;n--){var s=A().key(n);a(f(s),s)}}function m(a){return A().removeItem(a)}function d(){return A().clear()}},rdor:function(j,R,l){var x=l("lOQZ"),b=x.circularLayout;function A(f){f.eachSeriesByType("graph",function(t){t.get("layout")==="circular"&&b(t,"symbolSize")})}j.exports=A},rfSb:function(j,R,l){var x=l("T4UG"),b=l("sdST"),A=l("L0Ub"),f=A.getDimensionTypeByAxis,t=l("YXkt"),e=l("bYtY"),m=l("4NO4"),d=m.groupData,a=l("7aKB"),n=a.encodeHTML,s=l("xKMd"),c=2,i=x.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(r){i.superApply(this,"init",arguments),this.legendVisualProvider=new s(e.bind(this.getData,this),e.bind(this.getRawData,this))},fixData:function(r){var o=r.length,h=d(r,function(B){return B[2]}),p=[];h.buckets.each(function(B,X){p.push({name:X,dataList:B})});for(var g=p.length,v=-1,y=-1,w=0;wv&&(v=S,y=w)}for(var _=0;_p||Math.abs(B.dy)>p)){var X=this.seriesModel.getData().tree.root;if(!X)return;var J=X.getLayout();if(!J)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:J.x+B.dx,y:J.y+B.dy,width:J.width,height:J.height}})}},_onZoom:function(B){var X=B.originX,J=B.originY;if(this._state!=="animating"){var k=this.seriesModel.getData().tree.root;if(!k)return;var K=k.getLayout();if(!K)return;var z=new d(K.x,K.y,K.width,K.height),W=this.seriesModel.layoutInfo;X-=W.x,J-=W.y;var P=a.create();a.translate(P,P,[-X,-J]),a.scale(P,P,[B.scale,B.scale]),a.translate(P,P,[X,J]),z.applyTransform(P),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:z.x,y:z.y,width:z.width,height:z.height}})}},_initEvents:function(B){B.on("click",function(X){if(this._state!=="ready")return;var J=this.seriesModel.get("nodeClick",!0);if(!J)return;var k=this.findTarget(X.offsetX,X.offsetY);if(!k)return;var K=k.node;if(K.getLayout().isLeafRoot)this._rootToNode(k);else if(J==="zoomToNode")this._zoomToNode(k);else if(J==="link"){var z=K.hostTree.data.getItemModel(K.dataIndex),W=z.get("link",!0),P=z.get("target",!0)||"blank";W&&i(W,P)}},this)},_renderBreadcrumb:function(B,X,J){J||(J=B.get("leafDepth",!0)!=null?{node:B.getViewRoot()}:this.findTarget(X.getWidth()/2,X.getHeight()/2),J||(J={node:B.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new e(this.group))).render(B,X,J.node,u(k,this));function k(K){this._state!=="animating"&&(t.aboveViewRoot(B.getViewRoot(),K)?this._rootToNode({node:K}):this._zoomToNode({node:K}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=M(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(B){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:B.node})},_rootToNode:function(B){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:B.node})},findTarget:function(B,X){var J,k=this.seriesModel.getViewRoot();return k.eachNode({attr:"viewChildren",order:"preorder"},function(K){var z=this._storage.background[K.getRawIndex()];if(z){var W=z.transformCoordToLocal(B,X),P=z.shape;if(P.x<=W[0]&&W[0]<=P.x+P.width&&P.y<=W[1]&&W[1]<=P.y+P.height)J={node:K,offsetX:W[0],offsetY:W[1]};else return!1}},this),J}});function M(){return{nodeGroup:[],background:[],content:[]}}function F(B,X,J,k,K,z,W,P,G,V){if(!W)return;var q=W.getLayout(),re=B.getData();if(re.setItemGraphicEl(W.dataIndex,null),!q||!q.isInView)return;var ce=q.width,ie=q.height,fe=q.borderWidth,xe=q.invisible,Se=W.getRawIndex(),ke=P&&P.getRawIndex(),ge=W.viewChildren,Be=q.upperHeight,ee=ge&&ge.length,ue=W.getModel("itemStyle"),Ge=W.getModel("emphasis.itemStyle"),ae=be("nodeGroup",r);if(!ae)return;if(G.add(ae),ae.attr("position",[q.x||0,q.y||0]),ae.__tmNodeWidth=ce,ae.__tmNodeHeight=ie,q.isAboveViewRoot)return ae;var Z=W.getModel(),Y=be("background",o,V,_);if(Y&&we(ae,Y,ee&&q.upperLabelHeight),ee)A.isHighDownDispatcher(ae)&&A.setAsHighDownDispatcher(ae,!1),Y&&(A.setAsHighDownDispatcher(Y,!0),re.setItemGraphicEl(W.dataIndex,Y));else{var te=be("content",o,V,I);te&&pe(ae,te),Y&&A.isHighDownDispatcher(Y)&&A.setAsHighDownDispatcher(Y,!1),A.setAsHighDownDispatcher(ae,!0),re.setItemGraphicEl(W.dataIndex,ae)}return ae;function we(yt,pt,Pe){if(pt.dataIndex=W.dataIndex,pt.seriesIndex=B.seriesIndex,pt.setShape({x:0,y:0,width:ce,height:ie}),xe)De(pt);else{pt.invisible=!1;var Nt=W.getVisual("borderColor",!0),ut=Ge.get("borderColor"),Ft=E(ue);Ft.fill=Nt;var Ut=C(Ge);if(Ut.fill=ut,Pe){var Kt=ce-2*fe;Ne(Ft,Ut,Nt,Kt,Be,{x:fe,y:0,width:Kt,height:Be})}else Ft.text=Ut.text=null;pt.setStyle(Ft),A.setElementHoverStyle(pt,Ut)}yt.add(pt)}function pe(yt,pt){pt.dataIndex=W.dataIndex,pt.seriesIndex=B.seriesIndex;var Pe=Math.max(ce-2*fe,0),Nt=Math.max(ie-2*fe,0);if(pt.culling=!0,pt.setShape({x:fe,y:fe,width:Pe,height:Nt}),xe)De(pt);else{pt.invisible=!1;var ut=W.getVisual("color",!0),Ft=E(ue);Ft.fill=ut;var Ut=C(Ge);Ne(Ft,Ut,ut,Pe,Nt),pt.setStyle(Ft),A.setElementHoverStyle(pt,Ut)}yt.add(pt)}function De(yt){!yt.invisible&&z.push(yt)}function Ne(yt,pt,Pe,Nt,ut,Ft){var Ut=Z.get("name"),Kt=Z.getModel(Ft?y:g),$t=Z.getModel(Ft?w:v),or=Kt.getShallow("show");A.setLabelStyle(yt,pt,Kt,$t,{defaultText:or?Ut:null,autoColor:Pe,isRectText:!0,labelFetcher:B,labelDataIndex:W.dataIndex,labelProp:Ft?"upperLabel":"label"}),me(yt,Ft,q),me(pt,Ft,q),Ft&&(yt.textRect=b.clone(Ft)),yt.truncate=or&&Kt.get("ellipsis")?{outerWidth:Nt,outerHeight:ut,minChar:2}:null}function me(yt,pt,Pe){var Nt=yt.text;if(!pt&&Pe.isLeafRoot&&Nt!=null){var ut=B.get("drillDownIcon",!0);yt.text=ut?ut+" "+Nt:Nt}}function be(yt,pt,Pe,Nt){var ut=ke!=null&&J[yt][ke],Ft=K[yt];return ut?(J[yt][ke]=null,Re(Ft,ut,yt)):xe||(ut=new pt({z:H(Pe,Nt)}),ut.__tmDepth=Pe,ut.__tmStorageName=yt,it(Ft,ut,yt)),X[yt][Se]=ut}function Re(yt,pt,Pe){var Nt=yt[Se]={};Nt.old=Pe==="nodeGroup"?pt.position.slice():b.extend({},pt.shape)}function it(yt,pt,Pe){var Nt=yt[Se]={},ut=W.parentNode;if(ut&&(!k||k.direction==="drillDown")){var Ft=0,Ut=0,Kt=K.background[ut.getRawIndex()];!k&&Kt&&Kt.old&&(Ft=Kt.old.width,Ut=Kt.old.height),Nt.old=Pe==="nodeGroup"?[0,Ut]:{x:Ft,y:Ut,width:0,height:0}}Nt.fadein=Pe!=="nodeGroup"}}function H(B,X){var J=B*S+X;return(J-1)/J}j.exports=O},sAZ8:function(j,R,l){var x=l("ProS"),b=l("bYtY"),A=l("+rIm"),f=l("/IIm"),t=l("9KIM"),e=l("IwbS"),m=["axisLine","axisTickLabel","axisName"],d=x.extendComponentView({type:"parallelAxis",init:function(i,u){d.superApply(this,"init",arguments),(this._brushController=new f(u.getZr())).on("brush",b.bind(this._onBrush,this))},render:function(i,u,r,o){if(a(i,u,o))return;this.axisModel=i,this.api=r,this.group.removeAll();var h=this._axisGroup;if(this._axisGroup=new e.Group,this.group.add(this._axisGroup),!i.get("show"))return;var p=s(i,u),g=p.coordinateSystem,v=i.getAreaSelectStyle(),y=v.width,w=i.axis.dim,S=g.getAxisLayout(w),_=b.extend({strokeContainThreshold:y},S),I=new A(i,_);b.each(m,I.add,I),this._axisGroup.add(I.getGroup()),this._refreshBrushController(_,v,i,p,y,r);var C=o&&o.animation===!1?null:i;e.groupTransition(h,this._axisGroup,C)},_refreshBrushController:function(i,u,r,o,h,p){var g=r.axis.getExtent(),v=g[1]-g[0],y=Math.min(30,Math.abs(v)*.1),w=e.BoundingRect.create({x:g[0],y:-h/2,width:v,height:h});w.x-=y,w.width+=2*y,this._brushController.mount({enableGlobalPan:!0,rotation:i.rotation,position:i.position}).setPanels([{panelId:"pl",clipPath:t.makeRectPanelClipPath(w),isTargetByCursor:t.makeRectIsTargetByCursor(w,p,o),getLinearBrushOtherExtent:t.makeLinearBrushOtherExtent(w,0)}]).enableBrush({brushType:"lineX",brushStyle:u,removeOnClick:!0}).updateCovers(n(r))},_onBrush:function(i,u){var r=this.axisModel,o=r.axis,h=b.map(i,function(p){return[o.coordToData(p.range[0],!0),o.coordToData(p.range[1],!0)]});(!r.option.realtime===u.isEnd||u.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:r.id,intervals:h})},dispose:function(){this._brushController.dispose()}});function a(i,u,r){return r&&r.type==="axisAreaSelect"&&u.findComponents({mainType:"parallelAxis",query:r})[0]===i}function n(i){var u=i.axis;return b.map(i.activeIntervals,function(r){return{brushType:"lineX",panelId:"pl",range:[u.dataToCoord(r[0],!0),u.dataToCoord(r[1],!0)]}})}function s(i,u){return u.getComponent("parallel",i.get("parallelIndex"))}var c=d;j.exports=c},sE09:function(j,R,l){},sGsY:function(j,R,l){"use strict";var x=l("lSNA"),b=l.n(x),A=l("pVnL"),f=l.n(A),t=l("q1tI"),e=l("TSYQ"),m=l.n(e),d=l("H84U"),a=l("B6l+"),n=l.n(a),s=function(W){var P=W.value,G=W.formatter,V=W.precision,q=W.decimalSeparator,re=W.groupSeparator,ce=re===void 0?"":re,ie=W.prefixCls,fe;if(typeof G=="function")fe=G(P);else{var xe=String(P),Se=xe.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Se||xe==="-")fe=xe;else{var ke=Se[1],ge=Se[2]||"0",Be=Se[4]||"";ge=ge.replace(/\B(?=(\d{3})+(?!\d))/g,ce),typeof V=="number"&&(Be=n()(Be,V,"0").slice(0,V)),Be&&(Be="".concat(q).concat(Be)),fe=[t.createElement("span",{key:"int",className:"".concat(ie,"-content-value-int")},ke,ge),Be&&t.createElement("span",{key:"decimal",className:"".concat(ie,"-content-value-decimal")},Be)]}}return t.createElement("span",{className:"".concat(ie,"-content-value")},fe)},c=s,i=function(W){var P=W.prefixCls,G=W.className,V=W.style,q=W.valueStyle,re=W.value,ce=re===void 0?0:re,ie=W.title,fe=W.valueRender,xe=W.prefix,Se=W.suffix,ke=W.direction,ge=W.onMouseEnter,Be=W.onMouseLeave,ee=t.createElement(c,f()({},W,{value:ce})),ue=m()(P,G,b()({},"".concat(P,"-rtl"),ke==="rtl"));return t.createElement("div",{className:ue,style:V,onMouseEnter:ge,onMouseLeave:Be},ie&&t.createElement("div",{className:"".concat(P,"-title")},ie),t.createElement("div",{style:q,className:"".concat(P,"-content")},xe&&t.createElement("span",{className:"".concat(P,"-content-prefix")},xe),fe?fe(ee):ee,Se&&t.createElement("span",{className:"".concat(P,"-content-suffix")},Se)))};i.defaultProps={decimalSeparator:".",groupSeparator:","};var u=Object(d.c)({prefixCls:"statistic"})(i),r=u,o=l("lwsE"),h=l.n(o),p=l("W8MJ"),g=l.n(p),v=l("7W2i"),y=l.n(v),w=l("LQ03"),S=l.n(w),_=l("J4zp"),I=l.n(_),C=l("QQZ/"),E=l.n(C),O=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function M(z,W){var P=z,G=/\[[^\]]*]/g,V=(W.match(G)||[]).map(function(ie){return ie.slice(1,-1)}),q=W.replace(G,"[]"),re=O.reduce(function(ie,fe){var xe=I()(fe,2),Se=xe[0],ke=xe[1];if(ie.indexOf(Se)!==-1){var ge=Math.floor(P/ke);return P-=ge*ke,ie.replace(new RegExp("".concat(Se,"+"),"g"),function(Be){var ee=Be.length;return E()(ge.toString(),ee,"0")})}return ie},q),ce=0;return re.replace(G,function(){var ie=V[ce];return ce+=1,ie})}function F(z,W){var P=W.format,G=P===void 0?"":P,V=new Date(z).getTime(),q=Date.now(),re=Math.max(V-q,0);return M(re,G)}var H=l("0n0R"),B=1e3/30;function X(z){return new Date(z).getTime()}var J=function(z){y()(P,z);var W=S()(P);function P(){var G;return h()(this,P),G=W.apply(this,arguments),G.syncTimer=function(){var V=G.props.value,q=X(V);q>=Date.now()?G.startTimer():G.stopTimer()},G.startTimer=function(){if(G.countdownId)return;G.countdownId=window.setInterval(function(){G.forceUpdate()},B)},G.stopTimer=function(){var V=G.props,q=V.onFinish,re=V.value;if(G.countdownId){clearInterval(G.countdownId),G.countdownId=void 0;var ce=X(re);q&&cel)return t;do f%2&&(t+=A),f=x(f/2),f&&(A+=A);while(f);return t}j.exports=b},sPJy:function(j,R,l){"use strict";var x=l("cIOH"),b=l.n(x),A=l("AOa7"),f=l.n(A),t=l("lUTK"),e=l("qVdP")},sPtV:function(j,R,l){"use strict";l.d(R,"a",function(){return f});var x=l("q1tI"),b=l.n(x),A=l("hkKa");function f(t){var e=x.useRef(t),m=Object(A.a)();return[function(){return e.current},function(d){e.current=d,m()}]}},sRwP:function(j,R,l){l("jsU+"),l("2548"),l("Tp9H"),l("06DH"),l("dnwI"),l("fE02"),l("33Ds")},"sS/r":function(j,R,l){var x=l("4fz+"),b=l("iRjW"),A=l("Yl7c"),f=function(){this.group=new x,this.uid=b.getUID("viewComponent")};f.prototype={constructor:f,init:function(m,d){},render:function(m,d,a,n){},dispose:function(){},filterForExposedEvent:null};var t=f.prototype;t.updateView=t.updateLayout=t.updateVisual=function(m,d,a,n){},A.enableClassExtend(f),A.enableClassManagement(f,{registerWhenExtend:!0});var e=f;j.exports=e},"sW+o":function(j,R,l){var x=l("SrGk"),b=l("bYtY"),A=l("SUKs"),f=l("Qe9p");function t(m,d){x.call(this,m,d,["linearGradient","radialGradient"],"__gradient_in_use__")}b.inherits(t,x),t.prototype.addWithoutUpdate=function(m,d){if(d&&d.style){var a=this;b.each(["fill","stroke"],function(n){if(d.style[n]&&(d.style[n].type==="linear"||d.style[n].type==="radial")){var s=d.style[n],c=a.getDefs(!0),i;s._dom?(i=s._dom,c.contains(s._dom)||a.addDom(i)):i=a.add(s),a.markUsed(d);var u=i.getAttribute("id");m.setAttribute(n,"url(#"+u+")")}})}},t.prototype.add=function(m){var d;if(m.type==="linear")d=this.createElement("linearGradient");else if(m.type==="radial")d=this.createElement("radialGradient");else return A("Illegal gradient type."),null;return m.id=m.id||this.nextId++,d.setAttribute("id","zr"+this._zrId+"-gradient-"+m.id),this.updateDom(m,d),this.addDom(d),d},t.prototype.update=function(m){var d=this;x.prototype.update.call(this,m,function(){var a=m.type,n=m._dom.tagName;a==="linear"&&n==="linearGradient"||a==="radial"&&n==="radialGradient"?d.updateDom(m,m._dom):(d.removeDom(m),d.add(m))})},t.prototype.updateDom=function(m,d){if(m.type==="linear")d.setAttribute("x1",m.x),d.setAttribute("y1",m.y),d.setAttribute("x2",m.x2),d.setAttribute("y2",m.y2);else if(m.type==="radial")d.setAttribute("cx",m.x),d.setAttribute("cy",m.y),d.setAttribute("r",m.r);else{A("Illegal gradient type.");return}m.global?d.setAttribute("gradientUnits","userSpaceOnUse"):d.setAttribute("gradientUnits","objectBoundingBox"),d.innerHTML="";for(var a=m.colorStops,n=0,s=a.length;n-1)){var u=f.parse(i)[3],r=f.toHex(i);c.setAttribute("stop-color","#"+r),c.setAttribute("stop-opacity",u)}else c.setAttribute("stop-color",a[n].color);d.appendChild(c)}m._dom=d},t.prototype.markUsed=function(m){if(m.style){var d=m.style.fill;d&&d._dom&&x.prototype.markUsed.call(this,d._dom),d=m.style.stroke,d&&d._dom&&x.prototype.markUsed.call(this,d._dom)}};var e=t;j.exports=e},sboe:function(j,R,l){"use strict";l.d(R,"a",function(){return A});var x=l("q1tI"),b=l.n(x),A=x.createContext(null)},sdST:function(j,R,l){var x=l("hi0g");function b(A,f){return f=f||{},x(f.coordDimensions||[],A,{dimsDef:f.dimensionsDefine||A.dimensionsDefine,encodeDef:f.encodeDefine||A.encodeDefine,dimCount:f.dimensionsCount,encodeDefaulter:f.encodeDefaulter,generateCoord:f.generateCoord,generateCoordCount:f.generateCoordCount})}j.exports=b},sjKO:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=A;var x=30,b=12;function A(f,t){var e,m,d,a,n,s,c,i,u,r,o,h,p,g,v,y,w,S,_,I,C,E,O,M,F;e=f.state,m=f.next_in,M=f.input,d=m+(f.avail_in-5),a=f.next_out,F=f.output,n=a-(t-f.avail_out),s=a+(f.avail_out-257),c=e.dmax,i=e.wsize,u=e.whave,r=e.wnext,o=e.window,h=e.hold,p=e.bits,g=e.lencode,v=e.distcode,y=(1<>>24,h>>>=_,p-=_,_=S>>>16&255,_===0)F[a++]=S&65535;else if(_&16){I=S&65535,_&=15,_&&(p<_&&(h+=M[m++]<>>=_,p-=_),p<15&&(h+=M[m++]<>>24,h>>>=_,p-=_,_=S>>>16&255,_&16){if(C=S&65535,_&=15,p<_&&(h+=M[m++]<c){f.msg="invalid distance too far back",e.mode=x;break e}if(h>>>=_,p-=_,_=a-n,C>_){if(_=C-_,_>u&&e.sane){f.msg="invalid distance too far back",e.mode=x;break e}if(E=0,O=o,r===0){if(E+=i-_,_2;)F[a++]=O[E++],F[a++]=O[E++],F[a++]=O[E++],I-=3;I&&(F[a++]=O[E++],I>1&&(F[a++]=O[E++]))}else{E=a-C;do F[a++]=F[E++],F[a++]=F[E++],F[a++]=F[E++],I-=3;while(I>2);I&&(F[a++]=F[E++],I>1&&(F[a++]=F[E++]))}}else if((_&64)===0){S=v[(S&65535)+(h&(1<<_)-1)];continue r}else{f.msg="invalid distance code",e.mode=x;break e}break}}else if((_&64)===0){S=g[(S&65535)+(h&(1<<_)-1)];continue t}else if(_&32){e.mode=b;break e}else{f.msg="invalid literal/length code",e.mode=x;break e}break}}while(m>3,m-=I,p-=I<<3,h&=(1<1)Object(n.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(v.length===0)return Object(n.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var y=v[0];if(e.isValidElement(y)&&Object(s.c)(y)){var w=y.ref;v[0]=e.cloneElement(y,{ref:Object(s.a)(w,this.setChildNode)})}return v.length===1?v[0]:v.map(function(S,_){return!e.isValidElement(S)||"key"in S&&S.key!==null?S:e.cloneElement(S,{key:"".concat(i,"-").concat(_)})})}}]),h}(e.Component);u.displayName="ResizeObserver",R.a=u},t3Fx:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=Object.assign||function(o){for(var h=1;hc[0]&&(c=c.slice().reverse());var u=s.coordToPoint([c[0],i]),r=s.coordToPoint([c[1],i]);return{x1:u[0],y1:u[1],x2:r[0],y2:r[1]}}function d(s){var c=s.getRadiusAxis();return c.inverse?0:1}function a(s){var c=s[0],i=s[s.length-1];c&&i&&Math.abs(Math.abs(c.coord-i.coord)-360)<1e-4&&s.pop()}var n=f.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(s,c){if(this.group.removeAll(),!s.get("show"))return;var i=s.axis,u=i.polar,r=u.getRadiusAxis().getExtent(),o=i.getTicksCoords(),h=i.getMinorTicksCoords(),p=x.map(i.getViewLabels(),function(g){var g=x.clone(g);return g.coord=i.dataToCoord(g.tickValue),g});a(p),a(o),x.each(e,function(g){s.get(g+".show")&&(!i.scale.isBlank()||g==="axisLine")&&this["_"+g](s,u,o,h,r,p)},this)},_axisLine:function(s,c,i,u,r){var o=s.getModel("axisLine.lineStyle"),h=d(c),p=h?0:1,g;r[p]===0?g=new b.Circle({shape:{cx:c.cx,cy:c.cy,r:r[h]},style:o.getLineStyle(),z2:1,silent:!0}):g=new b.Ring({shape:{cx:c.cx,cy:c.cy,r:r[h],r0:r[p]},style:o.getLineStyle(),z2:1,silent:!0}),g.style.fill=null,this.group.add(g)},_axisTick:function(s,c,i,u,r){var o=s.getModel("axisTick"),h=(o.get("inside")?-1:1)*o.get("length"),p=r[d(c)],g=x.map(i,function(v){return new b.Line({shape:m(c,[p,p+h],v.coord)})});this.group.add(b.mergePath(g,{style:x.defaults(o.getModel("lineStyle").getLineStyle(),{stroke:s.get("axisLine.lineStyle.color")})}))},_minorTick:function(s,c,i,u,r){if(!u.length)return;for(var o=s.getModel("axisTick"),h=s.getModel("minorTick"),p=(o.get("inside")?-1:1)*h.get("length"),g=r[d(c)],v=[],y=0;yE?"left":"right",F=Math.abs(C[1]-O)/I<.3?"middle":C[1]>O?"top":"bottom";h&&h[_]&&h[_].textStyle&&(S=new A(h[_].textStyle,p,p.ecModel));var H=new b.Text({silent:t.isLabelSilent(s)});this.group.add(H),b.setTextStyle(H.style,S,{x:C[0],y:C[1],textFill:S.getTextColor()||s.get("axisLine.lineStyle.color"),text:y.formattedLabel,textAlign:M,textVerticalAlign:F}),v&&(H.eventData=t.makeAxisEventDataBase(s),H.eventData.targetType="axisLabel",H.eventData.value=y.rawLabel)},this)},_splitLine:function(s,c,i,u,r){var o=s.getModel("splitLine"),h=o.getModel("lineStyle"),p=h.get("color"),g=0;p=p instanceof Array?p:[p];for(var v=[],y=0;yh+r);X++)if(a[X].y+=H,X>M&&X+1a[X].y+a[X].height){v(X,H/2);return}v(F-1,H/2)}function v(M,F){for(var H=M;H>=0&&!(a[H].y-F0&&a[H].y>a[H-1].y+a[H-1].height)break}function y(M,F,H,B,X,J){for(var k=(J>0,F?Number.MAX_VALUE:0),K=0,z=M.length;K=k&&(V=k-10),!F&&V<=k&&(V=k+10),M[K].x=H+V*J,k=V}}for(var w=0,S,_=a.length,I=[],C=[],E=0;E<_;E++){if(a[E].position==="outer"&&a[E].labelAlignTo==="labelLine"){var O=a[E].x-p;a[E].linePoints[1][0]+=O,a[E].x=p}S=a[E].y-w,S<0&&g(E,_,-S,i),w=a[E].y+a[E].height}r-w<0&&v(_-1,w-r);for(var E=0;E<_;E++)a[E].y>=s?C.push(a[E]):I.push(a[E]);y(I,!1,n,s,c,i),y(C,!0,n,s,c,i)}function e(a,n,s,c,i,u,r,o){for(var h=[],p=[],g=Number.MAX_VALUE,v=-Number.MAX_VALUE,y=0;y0?"right":"left":k>0?"left":"right"}var ge,Be=_.get("rotate");typeof Be=="number"?ge=Be*(Math.PI/180):ge=Be?k<0?-J+Math.PI:-J:0,g=!!ge,w.label={x:z,y:W,position:I,height:q.height,len:B,len2:X,linePoints:P,textAlign:G,verticalAlign:"middle",rotation:ge,inside:re,labelDistance:C,labelAlignTo:E,labelMargin:O,bleedMargin:M,textRect:q,text:V,font:F},re||o.push(w.label)}),!g&&a.get("avoidLabelOverlap")&&e(o,h,p,n,s,c,i,u)}j.exports=d},u3os:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.ver=R.clear=R.bind=void 0;var x=l("P4Qj"),b=function(e,m){var d=(0,x.getSensor)(e);return d.bind(m),function(){d.unbind(m)}};R.bind=b;var A=function(e){var m=(0,x.getSensor)(e);(0,x.removeSensor)(m)};R.clear=A;var f="1.0.1";R.ver=f},u4NN:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("Uc92")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="EyeOutlined";var d=f.forwardRef(m);R.default=d},u9fO:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("b80e"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},uAnK:function(j,R,l){var x=l("bYtY"),b=l("Kagy"),A=l("KxfA"),f=A.retrieveRawValue;function t(e,m){var d=m.getModel("aria");if(d.get("show")){if(d.get("description")){e.setAttribute("aria-label",d.get("description"));return}}else return;var a=0;m.eachSeries(function(y,w){++a},this);var n=d.get("data.maxCount")||10,s=d.get("series.maxCount")||10,c=Math.min(a,s),i;if(a<1)return;var u=g();u?i=h(p("general.withTitle"),{title:u}):i=p("general.withoutTitle");var r=[],o=a>1?"series.multiple.prefix":"series.single.prefix";i+=h(p(o),{seriesCount:a}),m.eachSeries(function(y,w){if(w1?"multiple":"single")+".";S=p(_?I+"withName":I+"withoutName"),S=h(S,{seriesId:y.seriesIndex,seriesName:y.get("name"),seriesType:v(y.subType)});var C=y.getData();window.data=C,C.count()>n?S+=h(p("data.partialData"),{displayCnt:n}):S+=p("data.allData");for(var E=[],O=0;O0);return e}return x})},uOyE:function(j,R,l){var x=l("ProS");x.registerAction({type:"brush",event:"brush"},function(b,A){A.eachComponent({mainType:"brush",query:b},function(f){f.setAreas(b.areas)})}),x.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),x.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(j,R,l){j.exports=x;function x(){return l("gaXo"),{}}},ugBc:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};R.default=x},v3Qx:function(j,R){var l={}.toString;j.exports=Array.isArray||function(x){return l.call(x)=="[object Array]"}},v56E:function(j,R,l){},v5uJ:function(j,R,l){var x=l("ProS"),b=l("2B6p"),A=b.updateCenterAndZoom;x.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(f,t){t.eachComponent({mainType:"series",subType:"tree",query:f},function(e){var m=f.dataIndex,d=e.getData().tree,a=d.getNodeByDataIndex(m);a.isExpand=!a.isExpand})}),x.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(f,t){t.eachComponent({mainType:"series",subType:"tree",query:f},function(e){var m=e.coordinateSystem,d=A(m,f);e.setCenter&&e.setCenter(d.center),e.setZoom&&e.setZoom(d.zoom)})})},"vF/C":function(j,R,l){var x=l("bLfw");x.registerSubTypeDefaulter("visualMap",function(b){return!b.categories&&(!(b.pieces?b.pieces.length>0:b.splitNumber>0)||b.calculable)?"continuous":"piecewise"})},vKoX:function(j,R,l){var x=l("SrGk"),b=l("bYtY");function A(e,m){x.call(this,e,m,["filter"],"__filter_in_use__","_shadowDom")}b.inherits(A,x),A.prototype.addWithoutUpdate=function(e,m){if(m&&f(m.style)){var d;if(m._shadowDom){d=m._shadowDom;var a=this.getDefs(!0);a.contains(m._shadowDom)||this.addDom(d)}else d=this.add(m);this.markUsed(m);var n=d.getAttribute("id");e.style.filter="url(#"+n+")"}},A.prototype.add=function(e){var m=this.createElement("filter");return e._shadowDomId=e._shadowDomId||this.nextId++,m.setAttribute("id","zr"+this._zrId+"-shadow-"+e._shadowDomId),this.updateDom(e,m),this.addDom(m),m},A.prototype.update=function(e,m){var d=m.style;if(f(d)){var a=this;x.prototype.update.call(this,m,function(){a.updateDom(m,m._shadowDom)})}else this.remove(e,m)},A.prototype.remove=function(e,m){m._shadowDomId!=null&&(this.removeDom(e),e.style.filter="")},A.prototype.updateDom=function(e,m){var d=m.getElementsByTagName("feDropShadow");d.length===0?d=this.createElement("feDropShadow"):d=d[0];var a=e.style,n=e.scale&&e.scale[0]||1,s=e.scale&&e.scale[1]||1,c,i,u,r;if(a.shadowBlur||a.shadowOffsetX||a.shadowOffsetY)c=a.shadowOffsetX||0,i=a.shadowOffsetY||0,u=a.shadowBlur,r=a.shadowColor;else if(a.textShadowBlur)c=a.textShadowOffsetX||0,i=a.textShadowOffsetY||0,u=a.textShadowBlur,r=a.textShadowColor;else{this.removeDom(m,a);return}d.setAttribute("dx",c/n),d.setAttribute("dy",i/s),d.setAttribute("flood-color",r);var o=u/2/n,h=u/2/s,p=o+" "+h;d.setAttribute("stdDeviation",p),m.setAttribute("x","-100%"),m.setAttribute("y","-100%"),m.setAttribute("width",Math.ceil(u/2*200)+"%"),m.setAttribute("height",Math.ceil(u/2*200)+"%"),m.appendChild(d),e._shadowDom=m},A.prototype.markUsed=function(e){e._shadowDom&&x.prototype.markUsed.call(this,e._shadowDom)};function f(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY||e.textShadowBlur||e.textShadowOffsetX||e.textShadowOffsetY)}var t=A;j.exports=t},vL6D:function(j,R,l){var x=l("bYtY"),b=l("+rIm"),A=l("IwbS"),f=l("7bkD"),t=l("Znkb"),e=l("WN+l"),m=e.rectCoordAxisBuildSplitArea,d=e.rectCoordAxisHandleRemove,a=["axisLine","axisTickLabel","axisName"],n=["splitArea","splitLine"],s=t.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(i,u,r,o){var h=this.group;h.removeAll();var p=this._axisGroup;this._axisGroup=new A.Group;var g=f.layout(i),v=new b(i,g);x.each(a,v.add,v),h.add(this._axisGroup),h.add(v.getGroup()),x.each(n,function(y){i.get(y+".show")&&this["_"+y](i)},this),A.groupTransition(p,this._axisGroup,i),s.superCall(this,"render",i,u,r,o)},remove:function(){d(this)},_splitLine:function(i){var u=i.axis;if(u.scale.isBlank())return;var r=i.getModel("splitLine"),o=r.getModel("lineStyle"),h=o.get("width"),p=o.get("color");p=p instanceof Array?p:[p];for(var g=i.coordinateSystem.getRect(),v=u.isHorizontal(),y=[],w=0,S=u.getTicksCoords({tickModel:r}),_=[],I=[],C=0;C0&&u.animate(r,!1).when(p==null?500:p,y).delay(g||0)}function c(u,r,o,h){if(!r)u.attr(o,h);else{var p={};p[r]={},p[r][o]=h,u.attr(p)}}var i=a;j.exports=i},vZ6x:function(j,R,l){var x=l("Tghj"),b=x.__DEV__,A=l("bYtY"),f=l("IwbS"),t=l("4NO4"),e=l("9KIM"),m=A.each,d=A.indexOf,a=A.curry,n=["dataToPoint","pointToData"],s=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function c(C,E,O){var M=this._targetInfoList=[],F={},H=r(E,C);m(o,function(B,X){(!O||!O.include||d(O.include,X)>=0)&&B(H,M,F)})}var i=c.prototype;i.setOutputRanges=function(C,E){this.matchOutputRanges(C,E,function(O,M,F){if((O.coordRanges||(O.coordRanges=[])).push(M),!O.coordRange){O.coordRange=M;var H=g[O.brushType](0,F,M);O.__rangeOffset={offset:y[O.brushType](H.values,O.range,[1,1]),xyMinMax:H.xyMinMax}}})},i.matchOutputRanges=function(C,E,O){m(C,function(M){var F=this.findTargetInfo(M,E);F&&F!==!0&&A.each(F.coordSyses,function(H){var B=g[M.brushType](1,H,M.range);O(M,B.values,H,E)})},this)},i.setInputRanges=function(C,E){m(C,function(O){var M=this.findTargetInfo(O,E);if(O.range=O.range||[],M&&M!==!0){O.panelId=M.panelId;var F=g[O.brushType](0,M.coordSys,O.coordRange),H=O.__rangeOffset;O.range=H?y[O.brushType](F.values,H.offset,S(F.xyMinMax,H.xyMinMax)):F.values}},this)},i.makePanelOpts=function(C,E){return A.map(this._targetInfoList,function(O){var M=O.getPanelRect();return{panelId:O.panelId,defaultBrushType:E&&E(O),clipPath:e.makeRectPanelClipPath(M),isTargetByCursor:e.makeRectIsTargetByCursor(M,C,O.coordSysModel),getLinearBrushOtherExtent:e.makeLinearBrushOtherExtent(M)}})},i.controlSeries=function(C,E,O){var M=this.findTargetInfo(C,O);return M===!0||M&&d(M.coordSyses,E.coordinateSystem)>=0},i.findTargetInfo=function(C,E){for(var O=this._targetInfoList,M=r(E,C),F=0;FC[1]&&C.reverse(),C}function r(C,E){return t.parseFinder(C,E,{includeMainTypes:s})}var o={grid:function(C,E){var O=C.xAxisModels,M=C.yAxisModels,F=C.gridModels,H=A.createHashMap(),B={},X={};if(!O&&!M&&!F)return;m(O,function(J){var k=J.axis.grid.model;H.set(k.id,k),B[k.id]=!0}),m(M,function(J){var k=J.axis.grid.model;H.set(k.id,k),X[k.id]=!0}),m(F,function(J){H.set(J.id,J),B[J.id]=!0,X[J.id]=!0}),H.each(function(J){var k=J.coordinateSystem,K=[];m(k.getCartesians(),function(z,W){(d(O,z.getAxis("x").model)>=0||d(M,z.getAxis("y").model)>=0)&&K.push(z)}),E.push({panelId:"grid--"+J.id,gridModel:J,coordSysModel:J,coordSys:K[0],coordSyses:K,getPanelRect:p.grid,xAxisDeclared:B[J.id],yAxisDeclared:X[J.id]})})},geo:function(C,E){m(C.geoModels,function(O){var M=O.coordinateSystem;E.push({panelId:"geo--"+O.id,geoModel:O,coordSysModel:O,coordSys:M,coordSyses:[M],getPanelRect:p.geo})})}},h=[function(C,E){var O=C.xAxisModel,M=C.yAxisModel,F=C.gridModel;return!F&&O&&(F=O.axis.grid.model),!F&&M&&(F=M.axis.grid.model),F&&F===E.gridModel},function(C,E){var O=C.geoModel;return O&&O===E.geoModel}],p={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var C=this.coordSys,E=C.getBoundingRect().clone();return E.applyTransform(f.getTransform(C)),E}},g={lineX:a(v,0),lineY:a(v,1),rect:function(C,E,O){var M=E[n[C]]([O[0][0],O[1][0]]),F=E[n[C]]([O[0][1],O[1][1]]),H=[u([M[0],F[0]]),u([M[1],F[1]])];return{values:H,xyMinMax:H}},polygon:function(C,E,O){var M=[[Infinity,-Infinity],[Infinity,-Infinity]],F=A.map(O,function(H){var B=E[n[C]](H);return M[0][0]=Math.min(M[0][0],B[0]),M[1][0]=Math.min(M[1][0],B[1]),M[0][1]=Math.max(M[0][1],B[0]),M[1][1]=Math.max(M[1][1],B[1]),B});return{values:F,xyMinMax:M}}};function v(C,E,O,M){var F=O.getAxis(["x","y"][C]),H=u(A.map([0,1],function(X){return E?F.coordToData(F.toLocalCoord(M[X])):F.toGlobalCoord(F.dataToCoord(M[X]))})),B=[];return B[C]=H,B[1-C]=[NaN,NaN],{values:H,xyMinMax:B}}var y={lineX:a(w,0),lineY:a(w,1),rect:function(C,E,O){return[[C[0][0]-O[0]*E[0][0],C[0][1]-O[0]*E[0][1]],[C[1][0]-O[1]*E[1][0],C[1][1]-O[1]*E[1][1]]]},polygon:function(C,E,O){return A.map(C,function(M,F){return[M[0]-O[0]*E[F][0],M[1]-O[1]*E[F][1]]})}};function w(C,E,O,M){return[E[0]-M[C]*O[0],E[1]-M[C]*O[1]]}function S(C,E){var O=_(C),M=_(E),F=[O[0]/M[0],O[1]/M[1]];return isNaN(F[0])&&(F[0]=1),isNaN(F[1])&&(F[1]=1),F}function _(C){return C?[C[0][1]-C[0][0],C[1][1]-C[1][0]]:[NaN,NaN]}var I=c;j.exports=I},vZI5:function(j,R,l){var x=l("bYtY"),b=l("T4UG"),A=l("5GhG"),f=A.seriesModelMixin,t=b.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(m,d,a){var n=d.getItemLayout(m);return n&&a.rect(n.brushRect)}});x.mixin(t,f,!0);var e=t;j.exports=e},vafp:function(j,R,l){var x=l("bYtY"),b=l("8nly");function A(e){if(!e.UTF8Encoding)return e;var m=e.UTF8Scale;m==null&&(m=1024);for(var d=e.features,a=0;a>1^-(i&1),u=u>>1^-(u&1),i+=n,u+=s,n=i,s=u,a.push([i/d,u/d])}return a}function t(e,m){return A(e),x.map(x.filter(e.features,function(d){return d.geometry&&d.properties&&d.geometry.coordinates.length>0}),function(d){var a=d.properties,n=d.geometry,s=n.coordinates,c=[];n.type==="Polygon"&&c.push({type:"polygon",exterior:s[0],interiors:s.slice(1)}),n.type==="MultiPolygon"&&x.each(s,function(u){u[0]&&c.push({type:"polygon",exterior:u[0],interiors:u.slice(1)})});var i=new b(a[m||"name"],c,a.cp);return i.properties=a,i})}j.exports=t},vcCh:function(j,R,l){var x=l("ProS");l("0qV/"),x.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(b,A){A.eachComponent({mainType:"series",subType:"sankey",query:b},function(f){f.setNodePosition(b.dataIndex,[b.localX,b.localY])})})},vewr:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.getPointerEvent=x,R.stopEvent=b,R.setCapture=d,R.releaseCapture=a;function x(n){return n.changedTouches?n.changedTouches[0]:n.touches?n.touches[0]:n}function b(n){n.stopPropagation(),n.preventDefault()}var A=!1,f=null;document.captureElement=null;function t(n){if(A)return;var s=new n.constructor(n.type,n);A=!0,document.captureElement?document.captureElement.dispatchEvent(s):f.dispatchEvent(s),A=!1,n.stopPropagation(),s.defaultPrevented&&n.preventDefault(),n.type==="mouseup"&&a()}function e(){var n=document.getElementById("noVNC_mouse_capture_elem");n.style.cursor=window.getComputedStyle(document.captureElement).cursor}var m=new MutationObserver(e);function d(n){if(n.setCapture)n.setCapture(),document.captureElement=n,n.addEventListener("mouseup",a);else{a();var s=document.getElementById("noVNC_mouse_capture_elem");s===null&&(s=document.createElement("div"),s.id="noVNC_mouse_capture_elem",s.style.position="fixed",s.style.top="0px",s.style.left="0px",s.style.width="100%",s.style.height="100%",s.style.zIndex=1e4,s.style.display="none",document.body.appendChild(s),s.addEventListener("contextmenu",t),s.addEventListener("mousemove",t),s.addEventListener("mouseup",t)),document.captureElement=n,m.observe(n,{attributes:!0}),e(),s.style.display="",window.addEventListener("mousemove",t),window.addEventListener("mouseup",t)}}function a(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;f=document.captureElement,document.captureElement=null,m.disconnect();var n=document.getElementById("noVNC_mouse_capture_elem");n.style.display="none",window.removeEventListener("mousemove",t),window.removeEventListener("mouseup",t)}}},vg9a:function(j,R,l){},"vk+C":function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("RZPm"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},w5pM:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="PlusCircleOutlined";var m=R.a=b.forwardRef(e)},w6Tc:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("apAg"));function b(f){return f&&f.__esModule?f:{default:f}}var A=x;R.default=A,j.exports=A},wCAj:function(j,R,l){"use strict";var x=l("cDf5"),b=l.n(x),A=l("lSNA"),f=l.n(A),t=l("J4zp"),e=l.n(t),m=l("pVnL"),d=l.n(m),a=l("q1tI"),n=l("TSYQ"),s=l.n(n),c=l("BGR+"),i=l("rePB"),u=l("VTBJ"),r=l("KQm4"),o=l("U8pU"),h=l("ODXe"),p=l("Gytx"),g=l.n(p),v=l("Kwbf"),y=l("t23M"),w=l("qx4F");function S(lr){return null}var _=S;function I(lr){return null}var C=I,E=l("Ff2n"),O=l("c+Xe"),M="RC_TABLE_KEY";function F(lr){return lr==null?[]:Array.isArray(lr)?lr:[lr]}function H(lr,pn){if(!pn&&typeof pn!="number")return lr;for(var _n=F(pn),Pn=lr,ct=0;ct<_n.length;ct+=1){if(!Pn)return null;var Vt=_n[ct];Pn=Pn[Vt]}return Pn}function B(lr){var pn=[],_n={};return lr.forEach(function(Pn){for(var ct=Pn||{},Vt=ct.key,Cr=ct.dataIndex,xr=Vt||F(Cr).join("-")||M;_n[xr];)xr="".concat(xr,"_next");_n[xr]=!0,pn.push(xr)}),pn}function X(){var lr={};function pn(Vt,Cr){Cr&&Object.keys(Cr).forEach(function(xr){var Gr=Cr[xr];Gr&&Object(o.a)(Gr)==="object"?(Vt[xr]=Vt[xr]||{},pn(Vt[xr],Gr)):Vt[xr]=Gr})}for(var _n=arguments.length,Pn=new Array(_n),ct=0;ct<_n;ct++)Pn[ct]=arguments[ct];return Pn.forEach(function(Vt){pn(lr,Vt)}),lr}function J(lr){return lr!=null}function k(lr){return lr&&Object(o.a)(lr)==="object"&&!Array.isArray(lr)&&!a.isValidElement(lr)}function K(lr){return typeof lr=="string"?!0:Object(O.c)(lr)}function z(lr,pn){var _n,Pn=lr.prefixCls,ct=lr.className,Vt=lr.record,Cr=lr.index,xr=lr.dataIndex,Gr=lr.render,$r=lr.children,hn=lr.component,On=hn===void 0?"td":hn,Qn=lr.colSpan,qn=lr.rowSpan,si=lr.fixLeft,oi=lr.fixRight,Kn=lr.firstFixLeft,Zn=lr.lastFixLeft,ni=lr.firstFixRight,wi=lr.lastFixRight,Di=lr.appendNode,Ui=lr.additionalProps,ca=Ui===void 0?{}:Ui,ia=lr.ellipsis,Ia=lr.align,Fa=lr.rowType,Aa=lr.isSticky,Ea="".concat(Pn,"-cell"),xa,Ai;if($r)Ai=$r;else{var oa=H(Vt,xr);if(Ai=oa,Gr){var Ba=Gr(oa,Vt,Cr);k(Ba)?(Ai=Ba.children,xa=Ba.props):Ai=Ba}}Object(o.a)(Ai)==="object"&&!Array.isArray(Ai)&&!a.isValidElement(Ai)&&(Ai=null),ia&&(Zn||ni)&&(Ai=a.createElement("span",{className:"".concat(Ea,"-content")},Ai));var Nr=xa||{},Qr=Nr.colSpan,bn=Nr.rowSpan,Zr=Nr.style,hr=Nr.className,jr=Object(E.a)(Nr,["colSpan","rowSpan","style","className"]),wr=Qr!==void 0?Qr:Qn,an=bn!==void 0?bn:qn;if(wr===0||an===0)return null;var Jr={},kn=typeof si=="number",Dn=typeof oi=="number";kn&&(Jr.position="sticky",Jr.left=si),Dn&&(Jr.position="sticky",Jr.right=oi);var Xn={};Ia&&(Xn.textAlign=Ia);var vi,Li=ia===!0?{showTitle:!0}:ia;Li&&(Li.showTitle||Fa==="header")&&(typeof Ai=="string"||typeof Ai=="number"?vi=Ai.toString():a.isValidElement(Ai)&&typeof Ai.props.children=="string"&&(vi=Ai.props.children));var ji=Object(u.a)(Object(u.a)(Object(u.a)({title:vi},jr),ca),{},{colSpan:wr&&wr!==1?wr:null,rowSpan:an&&an!==1?an:null,className:s()(Ea,ct,(_n={},Object(i.a)(_n,"".concat(Ea,"-fix-left"),kn),Object(i.a)(_n,"".concat(Ea,"-fix-left-first"),Kn),Object(i.a)(_n,"".concat(Ea,"-fix-left-last"),Zn),Object(i.a)(_n,"".concat(Ea,"-fix-right"),Dn),Object(i.a)(_n,"".concat(Ea,"-fix-right-first"),ni),Object(i.a)(_n,"".concat(Ea,"-fix-right-last"),wi),Object(i.a)(_n,"".concat(Ea,"-ellipsis"),ia),Object(i.a)(_n,"".concat(Ea,"-with-append"),Di),Object(i.a)(_n,"".concat(Ea,"-fix-sticky"),(kn||Dn)&&Aa),_n),ca.className,hr),style:Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},ca.style),Xn),Jr),Zr),ref:K(On)?pn:null});return a.createElement(On,Object.assign({},ji),Di,Ai)}var W=a.forwardRef(z);W.displayName="Cell";var P=a.memo(W,function(lr,pn){return pn.shouldCellUpdate?!pn.shouldCellUpdate(pn.record,lr.record):!1}),G=P,V=a.createContext(null),q=V;function re(lr,pn,_n,Pn,ct){var Vt=_n[lr]||{},Cr=_n[pn]||{},xr,Gr;Vt.fixed==="left"?xr=Pn.left[lr]:Cr.fixed==="right"&&(Gr=Pn.right[pn]);var $r=!1,hn=!1,On=!1,Qn=!1,qn=_n[pn+1],si=_n[lr-1];if(ct==="rtl"){if(xr!==void 0){var oi=si&&si.fixed==="left";Qn=!oi}else if(Gr!==void 0){var Kn=qn&&qn.fixed==="right";On=!Kn}}else if(xr!==void 0){var Zn=qn&&qn.fixed==="left";$r=!Zn}else if(Gr!==void 0){var ni=si&&si.fixed==="right";hn=!ni}return{fixLeft:xr,fixRight:Gr,lastFixLeft:$r,firstFixRight:hn,lastFixRight:On,firstFixLeft:Qn,isSticky:Pn.isSticky}}function ce(lr){var pn=lr.cells,_n=lr.stickyOffsets,Pn=lr.flattenColumns,ct=lr.rowComponent,Vt=lr.cellComponent,Cr=lr.onHeaderRow,xr=lr.index,Gr=a.useContext(q),$r=Gr.prefixCls,hn=Gr.direction,On;Cr&&(On=Cr(pn.map(function(qn){return qn.column}),xr));var Qn=B(pn.map(function(qn){return qn.column}));return a.createElement(ct,Object.assign({},On),pn.map(function(qn,si){var oi=qn.column,Kn=re(qn.colStart,qn.colEnd,Pn,_n,hn),Zn;return oi&&oi.onHeaderCell&&(Zn=qn.column.onHeaderCell(oi)),a.createElement(G,Object.assign({},qn,{ellipsis:oi.ellipsis,align:oi.align,component:Vt,prefixCls:$r,key:Qn[si]},Kn,{additionalProps:Zn,rowType:"header"}))}))}ce.displayName="HeaderRow";var ie=ce;function fe(lr){var pn=[];function _n(Cr,xr){var Gr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;pn[Gr]=pn[Gr]||[];var $r=xr,hn=Cr.filter(Boolean).map(function(On){var Qn={key:On.key,className:On.className||"",children:On.title,column:On,colStart:$r},qn=1,si=On.children;return si&&si.length>0&&(qn=_n(si,$r,Gr+1).reduce(function(oi,Kn){return oi+Kn},0),Qn.hasSubColumns=!0),"colSpan"in On&&(qn=On.colSpan),"rowSpan"in On&&(Qn.rowSpan=On.rowSpan),Qn.colSpan=qn,Qn.colEnd=Qn.colStart+qn-1,pn[Gr].push(Qn),$r+=qn,qn});return hn}_n(lr,0);for(var Pn=pn.length,ct=function(xr){pn[xr].forEach(function(Gr){!("rowSpan"in Gr)&&!Gr.hasSubColumns&&(Gr.rowSpan=Pn-xr)})},Vt=0;Vt=0;xr-=1){var Gr=pn[xr],$r=_n&&_n[xr],hn=$r&&$r[ke];(Gr||hn||Cr)&&(ct.unshift(a.createElement("col",Object.assign({key:xr,style:{width:Gr,minWidth:Gr}},hn))),Cr=!0)}return a.createElement("colgroup",null,ct)}var ue=ee;function Ge(lr,pn){return Object(a.useMemo)(function(){for(var _n=[],Pn=0;Pn1?Oa-1:0),to=1;to0?[].concat(Object(r.a)(pn),Object(r.a)(ut(Vt).map(function(Cr){return Object(u.a)({fixed:ct},Cr)}))):[].concat(Object(r.a)(pn),[Object(u.a)(Object(u.a)({},_n),{},{fixed:ct})])},[])}function Ft(lr){for(var pn=!0,_n=0;_n=0;Vt-=1){var Cr=lr[Vt];if(ct&&Cr.fixed!=="right")ct=!1;else if(!ct&&Cr.fixed==="right"){Object(v.a)(!1,"Index ".concat(Vt+1," of `columns` missing `fixed='right'` prop."));break}}}function Ut(lr){return lr.map(function(pn){var _n=pn.fixed,Pn=Object(E.a)(pn,["fixed"]),ct=_n;return _n==="left"?ct="right":_n==="right"&&(ct="left"),Object(u.a)({fixed:ct},Pn)})}function Kt(lr,pn){var _n=lr.prefixCls,Pn=lr.columns,ct=lr.children,Vt=lr.expandable,Cr=lr.expandedKeys,xr=lr.getRowKey,Gr=lr.onTriggerExpand,$r=lr.expandIcon,hn=lr.rowExpandable,On=lr.expandIconColumnIndex,Qn=lr.direction,qn=lr.expandRowByClick,si=a.useMemo(function(){return Pn||Nt(ct)},[Pn,ct]),oi=a.useMemo(function(){if(Vt){var ni,wi=On||0,Di=si[wi],Ui=(ni={},Object(i.a)(ni,ke,{className:"".concat(_n,"-expand-icon-col")}),Object(i.a)(ni,"title",""),Object(i.a)(ni,"fixed",Di?Di.fixed:null),Object(i.a)(ni,"className","".concat(_n,"-row-expand-icon-cell")),Object(i.a)(ni,"render",function(Ia,Fa,Aa){var Ea=xr(Fa,Aa),xa=Cr.has(Ea),Ai=hn?hn(Fa):!0,oa=$r({prefixCls:_n,expanded:xa,expandable:Ai,record:Fa,onExpand:Gr});return qn?a.createElement("span",{onClick:function(Nr){return Nr.stopPropagation()}},oa):oa}),ni),ca=si.slice();return wi>=0&&ca.splice(wi,0,Ui),ca}return si},[Vt,si,xr,Cr,$r,Qn]),Kn=a.useMemo(function(){var ni=oi;return pn&&(ni=pn(ni)),ni.length||(ni=[{render:function(){return null}}]),ni},[pn,oi,Qn]),Zn=a.useMemo(function(){return Qn==="rtl"?Ut(ut(Kn)):ut(Kn)},[Kn,Qn]);return[Kn,Zn]}var $t=Kt,or=l("xEkU"),ht=l.n(or);function Ee(lr){var pn=Object(a.useRef)(lr),_n=Object(a.useState)({}),Pn=Object(h.a)(_n,2),ct=Pn[1],Vt=Object(a.useRef)(null),Cr=Object(a.useRef)([]);function xr(Gr){Vt.current===null&&(Cr.current=[],Vt.current=ht()(function(){Cr.current.forEach(function($r){pn.current=$r(pn.current)}),Vt.current=null,ct({})})),Cr.current.push(Gr)}return Object(a.useEffect)(function(){return function(){ht.a.cancel(Vt.current)}},[]),[pn.current,xr]}function de(lr){var pn=Object(a.useRef)(lr),_n=Object(a.useRef)(null);function Pn(){window.clearTimeout(_n.current)}function ct(Cr){pn.current=Cr,Pn(),_n.current=window.setTimeout(function(){pn.current=null,_n.current=null},100)}function Vt(){return pn.current}return Object(a.useEffect)(function(){return Pn},[]),[ct,Vt]}function qe(lr,pn,_n){var Pn=Object(a.useMemo)(function(){for(var ct=[],Vt=[],Cr=0,xr=0,Gr=0;Gr=On&&(Qr=On-Qn),Cr({scrollLeft:Qr/On*(hn+2)}),ni.current.x=Ai.pageX},Aa=function(){var Ai=Object(et.b)(Vt.current).top,oa=Ai+Vt.current.offsetHeight,Ba=document.documentElement.scrollTop+window.innerHeight;oa-Object(w.a)()<=Ba||Ai>=Ba-xr?Zn(function(Nr){return Object(u.a)(Object(u.a)({},Nr),{},{isHiddenScrollBar:!0})}):Zn(function(Nr){return Object(u.a)(Object(u.a)({},Nr),{},{isHiddenScrollBar:!1})})},Ea=function(Ai){Zn(function(oa){return Object(u.a)(Object(u.a)({},oa),{},{scrollLeft:Ai/hn*On||0})})};return a.useImperativeHandle(_n,function(){return{setScrollLeft:Ea}}),a.useEffect(function(){var xa=Object(ot.a)(document.body,"mouseup",ia,!1),Ai=Object(ot.a)(document.body,"mousemove",Fa,!1);return Aa(),function(){xa.remove(),Ai.remove()}},[Qn,Ui]),a.useEffect(function(){var xa=Object(ot.a)(window,"scroll",Aa,!1),Ai=Object(ot.a)(window,"resize",Aa,!1);return function(){xa.remove(),Ai.remove()}},[]),a.useEffect(function(){Kn.isHiddenScrollBar||Zn(function(xa){var Ai,oa;return Object(u.a)(Object(u.a)({},xa),{},{scrollLeft:Vt.current.scrollLeft/((Ai=Vt.current)===null||Ai===void 0?void 0:Ai.scrollWidth)*((oa=Vt.current)===null||oa===void 0?void 0:oa.clientWidth)})})},[Kn.isHiddenScrollBar]),hn<=On||!Qn||Kn.isHiddenScrollBar?null:a.createElement("div",{style:{height:Object(w.a)(),width:On,bottom:xr},className:"".concat($r,"-sticky-scroll")},a.createElement("div",{onMouseDown:Ia,ref:qn,className:s()("".concat($r,"-sticky-scroll-bar"),Object(i.a)({},"".concat($r,"-sticky-scroll-bar-active"),Ui)),style:{width:"".concat(Qn,"px"),transform:"translate3d(".concat(Kn.scrollLeft,"px, 0, 0)")}}))},Gt=a.forwardRef(Ze);function yr(lr,pn){return a.useMemo(function(){var _n=!!lr;return{isSticky:_n,stickyClassName:_n?"".concat(pn,"-sticky-header"):"",offsetHeader:Object(o.a)(lr)==="object"&&lr.offsetHeader||0,offsetScroll:Object(o.a)(lr)==="object"&&lr.offsetScroll||0}},[lr,pn])}var br=[],Sr={},Tn="rc-table-internal-hook",cn=a.memo(function(lr){var pn=lr.children;return pn},function(lr,pn){return g()(lr.props,pn.props)?lr.pingLeft!==pn.pingLeft||lr.pingRight!==pn.pingRight:!1});function Wn(lr){var pn,_n=lr.prefixCls,Pn=lr.className,ct=lr.rowClassName,Vt=lr.style,Cr=lr.data,xr=lr.rowKey,Gr=lr.scroll,$r=lr.tableLayout,hn=lr.direction,On=lr.title,Qn=lr.footer,qn=lr.summary,si=lr.id,oi=lr.showHeader,Kn=lr.components,Zn=lr.emptyText,ni=lr.onRow,wi=lr.onHeaderRow,Di=lr.internalHooks,Ui=lr.transformColumns,ca=lr.internalRefs,ia=lr.sticky,Ia=Cr||br,Fa=!!Ia.length,Aa=a.useState(0),Ea=Object(h.a)(Aa,2),xa=Ea[0],Ai=Ea[1];a.useEffect(function(){Ai(Object(w.a)())});var oa=a.useMemo(function(){return X(Kn,{})},[Kn]),Ba=a.useCallback(function(Ss,Ws){return H(oa,Ss)||Ws},[oa]),Nr=a.useMemo(function(){return typeof xr=="function"?xr:function(Ss){var Ws=Ss&&Ss[xr];return Ws}},[xr]),Qr=ge(lr),bn=Qr.expandIcon,Zr=Qr.expandedRowKeys,hr=Qr.defaultExpandedRowKeys,jr=Qr.defaultExpandAllRows,wr=Qr.expandedRowRender,an=Qr.onExpand,Jr=Qr.onExpandedRowsChange,kn=Qr.expandRowByClick,Dn=Qr.rowExpandable,Xn=Qr.expandIconColumnIndex,vi=Qr.expandedRowClassName,Li=Qr.childrenColumnName,ji=Qr.indentSize,Sa=bn||Ht,Ga=Li||"children",Ya=a.useMemo(function(){return wr?"row":lr.expandable&&Di===Tn&&lr.expandable.__PARENT_RENDER_ICON__||Ia.some(function(Ss){return Ss&&Object(o.a)(Ss)==="object"&&Ss[Ga]})?"nest":!1},[!!wr,Ia]),bo=a.useState(function(){return hr||(jr?Wt(Ia,Nr,Ga):[])}),vo=Object(h.a)(bo,2),po=vo[0],Ha=vo[1],Oa=a.useMemo(function(){return new Set(Zr||po||[])},[Zr,po]),ao=a.useCallback(function(Ss){var Ws=Nr(Ss,Ia.indexOf(Ss)),xl,ul=Oa.has(Ws);ul?(Oa.delete(Ws),xl=Object(r.a)(Oa)):xl=[].concat(Object(r.a)(Oa),[Ws]),Ha(xl),an&&an(!ul,Ss),Jr&&Jr(xl)},[Nr,Oa,Ia,an,Jr]),to=a.useState(0),Po=Object(h.a)(to,2),Yo=Po[0],ro=Po[1],za=$t(Object(u.a)(Object(u.a)(Object(u.a)({},lr),Qr),{},{expandable:!!wr,expandedKeys:Oa,getRowKey:Nr,onTriggerExpand:ao,expandIcon:Sa,expandIconColumnIndex:Xn,direction:hn}),Di===Tn?Ui:null),Mo=Object(h.a)(za,2),Io=Mo[0],ma=Mo[1],mo=a.useMemo(function(){return{columns:Io,flattenColumns:ma}},[Io,ma]),ns=a.useRef(),Zo=a.useRef(),Oo=a.useRef(),Ro=a.useState(!1),hs=Object(h.a)(Ro,2),Uo=hs[0],Ja=hs[1],Es=a.useState(!1),oo=Object(h.a)(Es,2),Fs=oo[0],qo=oo[1],Wo=Ee(new Map),Vo=Object(h.a)(Wo,2),Go=Vo[0],os=Vo[1],Vs=B(ma),xs=Vs.map(function(Ss){return Go.get(Ss)}),Js=a.useMemo(function(){return xs},[xs.join("_")]),Bs=rt(Js,ma.length,hn),ks=Gr&&J(Gr.y),Jo=Gr&&J(Gr.x),bs=Jo&&ma.some(function(Ss){var Ws=Ss.fixed;return Ws}),Ho=a.useRef(),Ls=yr(ia,_n),Ps=Ls.isSticky,Ra=Ls.offsetHeader,ho=Ls.offsetScroll,ll=Ls.stickyClassName,ml,wl,El;ks&&(wl={overflowY:"scroll",maxHeight:Gr.y}),Jo&&(ml={overflowX:"auto"},ks||(wl={overflowY:"hidden"}),El={width:Gr.x===!0?"auto":Gr.x,minWidth:"100%"});var Xs=a.useCallback(function(Ss,Ws){os(function(xl){var ul=new Map(xl);return ul.set(Ss,Ws),ul})},[]),Xo=de(null),gl=Object(h.a)(Xo,2),Vl=gl[0],Us=gl[1];function $s(Ss,Ws){if(!Ws)return;typeof Ws=="function"?Ws(Ss):Ws.scrollLeft!==Ss&&(Ws.scrollLeft=Ss)}var us=function(Ws){var xl=Ws.currentTarget,ul=Ws.scrollLeft,nc=typeof ul=="number"?ul:xl.scrollLeft,Xl=xl||Sr;if(!Us()||Us()===Xl){var Gl;Vl(Xl),$s(nc,Zo.current),$s(nc,Oo.current),$s(nc,(Gl=Ho.current)===null||Gl===void 0?void 0:Gl.setScrollLeft)}if(xl){var Kc=xl.scrollWidth,Hl=xl.clientWidth;Ja(nc>0),qo(nc0?Vt:lr});if(!Vt){var Qn=Math.ceil(lr/On.pageSize);Qn0&&arguments[0]!==void 0?arguments[0]:1,Zn=arguments.length>1?arguments[1]:void 0;hn(d()(d()({},On),{current:Kn,pageSize:Zn||On.pageSize}))},si=function(Kn,Zn){var ni=On==null?void 0:On.pageSize;Zn&&Zn!==ni&&(Kn=1,pn&&pn.onShowSizeChange&&pn.onShowSizeChange(Kn,Zn)),pn&&pn.onChange&&pn.onChange(Kn,Zn),qn(Kn,Zn),_n(Kn,Zn||ni)};return pn===!1?[{},function(){}]:[d()(d()({},On),{onChange:si}),qn]}function en(lr,pn,_n){var Pn=a.useRef({});function ct(Vt){if(!Pn.current||Pn.current.data!==lr||Pn.current.childrenColumnName!==pn||Pn.current.getRowKey!==_n){var Cr=function Gr($r){$r.forEach(function(hn,On){var Qn=_n(hn,On);xr.set(Qn,hn),hn&&b()(hn)==="object"&&pn in hn&&Gr(hn[pn]||[])})},xr=new Map;Cr(lr),Pn.current={data:lr,childrenColumnName:pn,kvMap:xr,getRowKey:_n}}return Pn.current.kvMap.get(Vt)}return[ct]}var Fn=l("SA+Z"),ar=l.n(Fn),It=l("RIqP"),Ct=l.n(It),mr=l("HQEm"),gr=l.n(mr),Mt=l("815F"),rr=l("NvD2"),Dt=l("OZM5"),tr=l("6cGi"),Dr=l("kaz8"),dr=l("jsC+"),Tr=l("BvKs"),vn=l("9yH6"),on=l("uaoM"),Gn="SELECT_ALL",di="SELECT_INVERT";function Ti(lr){return lr&&lr.fixed}function Fi(lr,pn){var _n=[];return(lr||[]).forEach(function(Pn){_n.push(Pn),Pn&&b()(Pn)==="object"&&pn in Pn&&(_n=[].concat(Ct()(_n),Ct()(Fi(Pn[pn],pn))))}),_n}function la(lr,pn){var _n=lr||{},Pn=_n.preserveSelectedRowKeys,ct=_n.selectedRowKeys,Vt=_n.getCheckboxProps,Cr=_n.onChange,xr=_n.onSelect,Gr=_n.onSelectAll,$r=_n.onSelectInvert,hn=_n.onSelectMultiple,On=_n.columnWidth,Qn=_n.type,qn=_n.selections,si=_n.fixed,oi=_n.renderCell,Kn=_n.hideSelectAll,Zn=_n.checkStrictly,ni=Zn===void 0?!0:Zn,wi=pn.prefixCls,Di=pn.data,Ui=pn.pageData,ca=pn.getRecordByKey,ia=pn.getRowKey,Ia=pn.expandType,Fa=pn.childrenColumnName,Aa=pn.locale,Ea=pn.expandIconColumnIndex,xa=pn.getPopupContainer,Ai=a.useRef(new Map),oa=Object(tr.a)(ct||[],{value:ct}),Ba=e()(oa,2),Nr=Ba[0],Qr=Ba[1],bn=Object(a.useMemo)(function(){return ni?{keyEntities:null}:Object(Mt.a)(Di,void 0,ia)},[Di,ia,ni]),Zr=bn.keyEntities,hr=Object(a.useMemo)(function(){return Fi(Ui,Fa)},[Ui,Fa]),jr=Object(a.useMemo)(function(){var Ha=new Map;return hr.forEach(function(Oa,ao){var to=ia(Oa,ao),Po=(Vt?Vt(Oa):null)||{};Ha.set(to,Po)}),Ha},[hr,ia,Vt]),wr=Object(a.useCallback)(function(Ha){var Oa;return!!((Oa=jr.get(ia(Ha)))===null||Oa===void 0?void 0:Oa.disabled)},[jr,ia]),an=Object(a.useMemo)(function(){if(ni)return[Nr,[]];var Ha=Object(rr.a)(Nr,!0,Zr,wr),Oa=Ha.checkedKeys,ao=Ha.halfCheckedKeys;return[Oa,ao]},[Nr,ni,Zr,wr]),Jr=e()(an,2),kn=Jr[0],Dn=Jr[1],Xn=Object(a.useMemo)(function(){var Ha=Qn==="radio"?kn.slice(0,1):kn;return new Set(Ha)},[kn,Qn]),vi=Object(a.useMemo)(function(){return Qn==="radio"?new Set:new Set(Dn)},[Dn,Qn]),Li=Object(a.useState)(null),ji=e()(Li,2),Sa=ji[0],Ga=ji[1];a.useEffect(function(){lr||Qr([])},[!!lr]);var Ya=Object(a.useCallback)(function(Ha){var Oa,ao;if(Pn){var to=new Map;Oa=Ha,ao=Ha.map(function(Po){var Yo=ca(Po);return!Yo&&Ai.current.has(Po)&&(Yo=Ai.current.get(Po)),to.set(Po,Yo),Yo}),Ai.current=to}else Oa=[],ao=[],Ha.forEach(function(Po){var Yo=ca(Po);Yo!==void 0&&(Oa.push(Po),ao.push(Yo))});Qr(Oa),Cr&&Cr(Oa,ao)},[Qr,ca,Cr,Pn]),bo=Object(a.useCallback)(function(Ha,Oa,ao,to){if(xr){var Po=ao.map(function(Yo){return ca(Yo)});xr(ca(Ha),Oa,Po,to)}Ya(ao)},[xr,ca,Ya]),vo=Object(a.useMemo)(function(){if(!qn||Kn)return null;var Ha=qn===!0?[Gn,di]:qn;return Ha.map(function(Oa){return Oa===Gn?{key:"all",text:Aa.selectionAll,onSelect:function(){Ya(Di.map(function(to,Po){return ia(to,Po)}))}}:Oa===di?{key:"invert",text:Aa.selectInvert,onSelect:function(){var to=new Set(Xn);Ui.forEach(function(Yo,ro){var za=ia(Yo,ro);to.has(za)?to.delete(za):to.add(za)});var Po=Array.from(to);Ya(Po),$r&&(Object(on.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),$r(Po))}}:Oa})},[qn,Xn,Ui,ia,$r,Ya]),po=Object(a.useCallback)(function(Ha){if(!lr)return Ha;var Oa=new Set(Xn),ao=hr.map(ia).filter(function(Uo){return!jr.get(Uo).disabled}),to=ao.every(function(Uo){return Oa.has(Uo)}),Po=ao.some(function(Uo){return Oa.has(Uo)}),Yo=function(){var Ja=[];to?ao.forEach(function(oo){Oa.delete(oo),Ja.push(oo)}):ao.forEach(function(oo){Oa.has(oo)||(Oa.add(oo),Ja.push(oo))});var Es=Array.from(Oa);Ya(Es),Gr&&Gr(!to,Es.map(function(oo){return ca(oo)}),Ja.map(function(oo){return ca(oo)}))},ro;if(Qn!=="radio"){var za;if(vo){var Mo=a.createElement(Tr.a,{getPopupContainer:xa},vo.map(function(Uo,Ja){var Es=Uo.key,oo=Uo.text,Fs=Uo.onSelect;return a.createElement(Tr.a.Item,{key:Es||Ja,onClick:function(){Fs&&Fs(ao)}},oo)}));za=a.createElement("div",{className:"".concat(wi,"-selection-extra")},a.createElement(dr.a,{overlay:Mo,getPopupContainer:xa},a.createElement("span",null,a.createElement(gr.a,null))))}var Io=hr.every(function(Uo,Ja){var Es=ia(Uo,Ja),oo=jr.get(Es)||{};return oo.disabled});ro=!Kn&&a.createElement("div",{className:"".concat(wi,"-selection")},a.createElement(Dr.a,{checked:!Io&&!!hr.length&&to,indeterminate:!to&&Po,onChange:Yo,disabled:hr.length===0||Io}),za)}var ma;Qn==="radio"?ma=function(Ja,Es,oo){var Fs=ia(Es,oo),qo=Oa.has(Fs);return{node:a.createElement(vn.a,d()({},jr.get(Fs),{checked:qo,onClick:function(Vo){return Vo.stopPropagation()},onChange:function(Vo){Oa.has(Fs)||bo(Fs,!0,[Fs],Vo.nativeEvent)}})),checked:qo}}:ma=function(Ja,Es,oo){var Fs,qo=ia(Es,oo),Wo=Oa.has(qo),Vo=vi.has(qo),Go=jr.get(qo),os;return Ia==="nest"?(os=Vo,Object(on.a)(!(typeof(Go==null?void 0:Go.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):os=(Fs=Go==null?void 0:Go.indeterminate)!==null&&Fs!==void 0?Fs:Vo,{node:a.createElement(Dr.a,d()({},Go,{indeterminate:os,checked:Wo,onClick:function(xs){return xs.stopPropagation()},onChange:function(xs){var Js=xs.nativeEvent,Bs=Js.shiftKey,ks=-1,Jo=-1;if(Bs&&ni){var bs=new Set([Sa,qo]);ao.some(function(Xo,gl){if(bs.has(Xo))if(ks===-1)ks=gl;else return Jo=gl,!0;return!1})}if(Jo!==-1&&ks!==Jo&&ni){var Ho=ao.slice(ks,Jo+1),Ls=[];Wo?Ho.forEach(function(Xo){Oa.has(Xo)&&(Ls.push(Xo),Oa.delete(Xo))}):Ho.forEach(function(Xo){Oa.has(Xo)||(Ls.push(Xo),Oa.add(Xo))});var Ps=Array.from(Oa);Ya(Ps),hn&&hn(!Wo,Ps.map(function(Xo){return ca(Xo)}),Ls.map(function(Xo){return ca(Xo)}))}else{var Ra=kn;if(ni){var ho=Wo?Object(Dt.b)(Ra,qo):Object(Dt.a)(Ra,qo);bo(qo,!Wo,ho,Js)}else{var ll=Object(rr.a)([].concat(Ct()(Ra),[qo]),!0,Zr,wr),ml=ll.checkedKeys,wl=ll.halfCheckedKeys,El=ml;if(Wo){var Xs=new Set(ml);Xs.delete(qo),El=Object(rr.a)(Array.from(Xs),{checked:!1,halfCheckedKeys:wl},Zr,wr).checkedKeys}bo(qo,!Wo,El,Js)}}Ga(qo)}})),checked:Wo}};var mo=function(Ja,Es,oo){var Fs=ma(Ja,Es,oo),qo=Fs.node,Wo=Fs.checked;return oi?oi(Wo,Es,oo,qo):qo},ns=f()({width:On,className:"".concat(wi,"-selection-column"),title:lr.columnTitle||ro,render:mo},ke,{className:"".concat(wi,"-selection-col")});if(Ia==="row"&&Ha.length&&!Ea){var Zo=ar()(Ha),Oo=Zo[0],Ro=Zo.slice(1),hs=si||Ti(Ro[0]);return hs&&(Oo.fixed=hs),[Oo,d()(d()({},ns),{fixed:hs})].concat(Ct()(Ro))}return[d()(d()({},ns),{fixed:si||Ti(Ha[0])})].concat(Ct()(Ha))},[ia,hr,lr,kn,Xn,vi,On,vo,Ia,Sa,jr,hn,bo,wr]);return[po,Xn]}var Ta=l("6SEX"),dt=l.n(Ta),Me=l("i8CU"),Xe=l.n(Me),Qe=l("3S7+");function st(lr,pn){return"key"in lr&&lr.key!==void 0&&lr.key!==null?lr.key:lr.dataIndex?Array.isArray(lr.dataIndex)?lr.dataIndex.join("."):lr.dataIndex:pn}function nt(lr,pn){return pn?"".concat(pn,"-").concat(lr):"".concat(lr)}function ft(lr,pn){return typeof lr=="function"?lr(pn):lr}var Bt="ascend",Et="descend";function nr(lr){return b()(lr.sorter)==="object"&&typeof lr.sorter.multiple=="number"?lr.sorter.multiple:!1}function Ur(lr){return typeof lr=="function"?lr:lr&&b()(lr)==="object"&&lr.compare?lr.compare:!1}function Lr(lr,pn){return pn?lr[lr.indexOf(pn)+1]:lr[0]}function Vr(lr,pn,_n){var Pn=[];function ct(Vt,Cr){Pn.push({column:Vt,key:st(Vt,Cr),multiplePriority:nr(Vt),sortOrder:Vt.sortOrder})}return(lr||[]).forEach(function(Vt,Cr){var xr=nt(Cr,_n);Vt.children?("sortOrder"in Vt&&ct(Vt,xr),Pn=[].concat(Ct()(Pn),Ct()(Vr(Vt.children,pn,xr)))):Vt.sorter&&("sortOrder"in Vt?ct(Vt,xr):pn&&Vt.defaultSortOrder&&Pn.push({column:Vt,key:st(Vt,xr),multiplePriority:nr(Vt),sortOrder:Vt.defaultSortOrder}))}),Pn}function sr(lr,pn,_n,Pn,ct,Vt,Cr,xr){return(pn||[]).map(function(Gr,$r){var hn=nt($r,xr),On=Gr;if(On.sorter){var Qn=On.sortDirections||ct,qn=On.showSorterTooltip===void 0?Cr:On.showSorterTooltip,si=st(On,hn),oi=_n.find(function(Fa){var Aa=Fa.key;return Aa===si}),Kn=oi?oi.sortOrder:null,Zn=Lr(Qn,Kn),ni=Qn.includes(Bt)&&a.createElement(Xe.a,{className:s()("".concat(lr,"-column-sorter-up"),{active:Kn===Bt})}),wi=Qn.includes(Et)&&a.createElement(dt.a,{className:s()("".concat(lr,"-column-sorter-down"),{active:Kn===Et})}),Di=Vt||{},Ui=Di.cancelSort,ca=Di.triggerAsc,ia=Di.triggerDesc,Ia=Ui;Zn===Et?Ia=ia:Zn===Bt&&(Ia=ca),On=d()(d()({},On),{className:s()(On.className,f()({},"".concat(lr,"-column-sort"),Kn)),title:function(Aa){var Ea=a.createElement("div",{className:"".concat(lr,"-column-sorters")},a.createElement("span",null,ft(Gr.title,Aa)),a.createElement("span",{className:s()("".concat(lr,"-column-sorter"),f()({},"".concat(lr,"-column-sorter-full"),ni&&wi))},a.createElement("span",{className:"".concat(lr,"-column-sorter-inner")},ni,wi)));return qn?a.createElement(Qe.a,{title:Ia},a.createElement("div",{className:"".concat(lr,"-column-sorters-with-tooltip")},Ea)):Ea},onHeaderCell:function(Aa){var Ea=Gr.onHeaderCell&&Gr.onHeaderCell(Aa)||{},xa=Ea.onClick;return Ea.onClick=function(Ai){Pn({column:Gr,key:si,sortOrder:Zn,multiplePriority:nr(Gr)}),xa&&xa(Ai)},Ea.className=s()(Ea.className,"".concat(lr,"-column-has-sorters")),Ea}})}return"children"in On&&(On=d()(d()({},On),{children:sr(lr,On.children,_n,Pn,ct,Vt,Cr,hn)})),On})}function Bn(lr){var pn=lr.column,_n=lr.sortOrder;return{column:pn,order:_n,field:pn.dataIndex,columnKey:pn.key}}function Er(lr){var pn=lr.filter(function(_n){var Pn=_n.sortOrder;return Pn}).map(Bn);return pn.length===0&&lr.length?d()(d()({},Bn(lr[lr.length-1])),{column:void 0}):pn.length<=1?pn[0]||{}:pn}function gn(lr,pn,_n){var Pn=pn.slice().sort(function(Cr,xr){return xr.multiplePriority-Cr.multiplePriority}),ct=lr.slice(),Vt=Pn.filter(function(Cr){var xr=Cr.column.sorter,Gr=Cr.sortOrder;return Ur(xr)&&Gr});return Vt.length?ct.sort(function(Cr,xr){for(var Gr=0;Gr1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var Ai=Object(dn.a)(),oa=a.useMemo(function(){var Xs=new Set(Object.keys(Ai).filter(function(Xo){return Ai[Xo]}));return(qn||Nt(si)).filter(function(Xo){return!Xo.responsive||Xo.responsive.some(function(gl){return Xs.has(gl)})})},[si,qn,Ai]),Ba=Object(c.default)(lr,["className","style","columns"]),Nr=a.useContext(ya.b),Qr=a.useContext($e.b),bn=Qr.locale,Zr=bn===void 0?ea:bn,hr=Qr.renderEmpty,jr=Qr.direction,wr=Vt||Nr,an=d()(d()({},Zr.Table),Aa),Jr=Gr||ha,kn=a.useContext($e.b),Dn=kn.getPrefixCls,Xn=Dn("table",_n),vi=Dn("dropdown",xr),Li=d()({childrenColumnName:oi,expandIconColumnIndex:ca},Di),ji=Li.childrenColumnName,Sa=ji===void 0?"children":ji,Ga=a.useMemo(function(){return Jr.some(function(Xs){var Xo;return(Xo=Xs)===null||Xo===void 0?void 0:Xo[Sa]})?"nest":Ui||Di&&Di.expandedRowRender?"row":null},[Jr]),Ya={body:a.useRef()},bo=a.useMemo(function(){return typeof On=="function"?On:function(Xs){var Xo;return(Xo=Xs)===null||Xo===void 0?void 0:Xo[On]}},[On]),vo=en(Jr,Sa,bo),po=e()(vo,1),Ha=po[0],Oa={},ao=function(Xo,gl){var Vl=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Us=d()(d()({},Oa),Xo);Vl&&(Oa.resetPagination(),Us.pagination.current&&(Us.pagination.current=1),$r&&$r.onChange&&$r.onChange(1,Us.pagination.pageSize)),Ia&&Ia.scrollToFirstRowOnChange!==!1&&Ya.body.current&&Object(Zi.a)(0,{getContainer:function(){return Ya.body.current}}),Kn&&Kn(Us.pagination,Us.filters,Us.sorter,{currentDataSource:Na(gn(Jr,Us.sorterStates,Sa),Us.filterStates),action:gl})},to=function(Xo,gl){ao({sorter:Xo,sorterStates:gl},"sort",!1)},Po=rn({prefixCls:Xn,mergedColumns:oa,onSorterChange:to,sortDirections:Fa||["ascend","descend"],tableLocale:an,showSorterTooltip:xa}),Yo=e()(Po,4),ro=Yo[0],za=Yo[1],Mo=Yo[2],Io=Yo[3],ma=a.useMemo(function(){return gn(Jr,za,Sa)},[Jr,za]);Oa.sorter=Io(),Oa.sorterStates=za;var mo=function(Xo,gl){ao({filters:Xo,filterStates:gl},"filter",!0)},ns=nn({prefixCls:Xn,locale:an,dropdownPrefixCls:vi,mergedColumns:oa,onFilterChange:mo,getPopupContainer:Zn}),Zo=e()(ns,3),Oo=Zo[0],Ro=Zo[1],hs=Zo[2],Uo=Na(ma,Ro);Oa.filters=hs(),Oa.filterStates=Ro;var Ja=a.useMemo(function(){return d()({},Mo)},[Mo]),Es=bi(Ja),oo=e()(Es,1),Fs=oo[0],qo=function(Xo,gl){ao({pagination:d()(d()({},Oa.pagination),{current:Xo,pageSize:gl})},"paginate")},Wo=Kr(Uo.length,$r,qo),Vo=e()(Wo,2),Go=Vo[0],os=Vo[1];Oa.pagination=$r===!1?{}:Xt($r,Go),Oa.resetPagination=os;var Vs=a.useMemo(function(){if($r===!1||!Go.pageSize)return Uo;var Xs=Go.current,Xo=Xs===void 0?1:Xs,gl=Go.total,Vl=Go.pageSize,Us=Vl===void 0?ir:Vl;return Uo.lengthUs?(Object(on.a)(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode."),Uo.slice((Xo-1)*Us,Xo*Us)):Uo:Uo.slice((Xo-1)*Us,Xo*Us)},[!!$r,Uo,Go&&Go.current,Go&&Go.pageSize,Go&&Go.total]),xs=la(hn,{prefixCls:Xn,data:Uo,pageData:Vs,getRowKey:bo,getRecordByKey:Ha,expandType:Ga,childrenColumnName:Sa,locale:an,expandIconColumnIndex:Li.expandIconColumnIndex,getPopupContainer:Zn}),Js=e()(xs,2),Bs=Js[0],ks=Js[1],Jo=function(Xo,gl,Vl){var Us;return typeof Qn=="function"?Us=s()(Qn(Xo,gl,Vl)):Us=s()(Qn),s()(f()({},"".concat(Xn,"-row-selected"),ks.has(bo(Xo,gl))),Us)};Li.__PARENT_RENDER_ICON__=Li.expandIcon,Li.expandIcon=Li.expandIcon||wi||_i(an),Ga==="nest"&&Li.expandIconColumnIndex===void 0?Li.expandIconColumnIndex=hn?1:0:Li.expandIconColumnIndex>0&&hn&&(Li.expandIconColumnIndex-=1),typeof Li.indentSize!="number"&&(Li.indentSize=typeof ia=="number"?ia:15);var bs=a.useCallback(function(Xs){return Fs(Bs(Oo(ro(Xs))))},[ro,Oo,Bs]),Ho,Ls;if($r!==!1){var Ps;Go.size?Ps=Go.size:Ps=wr==="small"||wr==="middle"?"small":void 0;var Ra=function(Xo){return a.createElement(ze.a,d()({className:"".concat(Xn,"-pagination ").concat(Xn,"-pagination-").concat(Xo)},Go,{size:Ps}))},ho=jr==="rtl"?"left":"right";if(Go.position!==null&&Array.isArray(Go.position)){var ll=Go.position.find(function(Xs){return Xs.indexOf("top")!==-1}),ml=Go.position.find(function(Xs){return Xs.indexOf("bottom")!==-1});!ll&&!ml?Ls=Ra(ho):(ll&&(Ho=Ra(ll.toLowerCase().replace("top",""))),ml&&(Ls=Ra(ml.toLowerCase().replace("bottom",""))))}else Ls=Ra(ho)}var wl;typeof ni=="boolean"?wl={spinning:ni}:b()(ni)==="object"&&(wl=d()({spinning:!0},ni));var El=s()("".concat(Xn,"-wrapper"),Pn,f()({},"".concat(Xn,"-wrapper-rtl"),jr==="rtl"));return a.createElement("div",{className:El,style:ct},a.createElement(Le.a,d()({spinning:!1},wl),Ho,a.createElement(mt,d()({},Ba,{columns:oa,direction:jr,expandable:Li,prefixCls:Xn,className:s()((pn={},f()(pn,"".concat(Xn,"-middle"),wr==="middle"),f()(pn,"".concat(Xn,"-small"),wr==="small"),f()(pn,"".concat(Xn,"-bordered"),Cr),f()(pn,"".concat(Xn,"-empty"),Jr.length===0),pn)),data:Vs,rowKey:bo,rowClassName:Jo,emptyText:Aa&&Aa.emptyText||hr("Table"),internalHooks:Tn,internalRefs:Ya,transformColumns:bs})),Uo&&Uo.length>0&&Ls))}ba.defaultProps={rowKey:"key"},ba.SELECTION_ALL=Gn,ba.SELECTION_INVERT=di,ba.Column=io,ba.ColumnGroup=Pi,ba.Summary=at;var ta=ba,so=R.a=ta},wDdD:function(j,R,l){var x=l("ProS"),b=l("bYtY");l("98bh"),l("GrNh");var A=l("d4KN"),f=l("mOdp"),t=l("KS52"),e=l("0/Rx");A("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),x.registerVisual(f("pie")),x.registerLayout(b.curry(t,"pie")),x.registerProcessor(e("pie"))},wOnQ:function(j,R,l){/*! * html2canvas 1.3.2 * Copyright (c) 2021 Niklas von Hertzen * Released under MIT License @@ -1000,11 +1000,11 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var x=function(ye,Fe){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ke,At){Ke.__proto__=At}||function(Ke,At){for(var cr in At)Object.prototype.hasOwnProperty.call(At,cr)&&(Ke[cr]=At[cr])},x(ye,Fe)};function b(xt,ye){if(typeof ye!="function"&&ye!==null)throw new TypeError("Class extends value "+String(ye)+" is not a constructor or null");x(xt,ye);function Fe(){this.constructor=xt}xt.prototype=ye===null?Object.create(ye):(Fe.prototype=ye.prototype,new Fe)}var A=function(){return A=Object.assign||function(Fe){for(var Ke,At=1,cr=arguments.length;At0&&cr[cr.length-1])&&(jn[0]===6||jn[0]===2)){Fe=0;continue}if(jn[0]===3&&(!cr||jn[1]>cr[0]&&jn[1]=55296&&cr<=56319&&Ke>10)+55296,sn%1024+56320)),(cr+1===Ke||At.length>16384)&&(Hr+=String.fromCharCode.apply(String,At),At.length=0)}return Hr},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),u=0;u>4,Mi[cr++]=(sn&15)<<4|wn>>2,Mi[cr++]=(wn&3)<<6|jn&63;return Gi},o=function(ye){for(var Fe=ye.length,Ke=[],At=0;At>p,S=1<>p,C=w+I,E=C,O=2048>>6,M=E+O,F=65536>>g,H=1<=0){if(ye<55296||ye>56319&&ye<=65535)return Fe=this.index[ye>>p],Fe=(Fe<>p)],Fe=(Fe<>g),Fe=this.index[Fe],Fe+=ye>>p&B,Fe=this.index[Fe],Fe=(Fe<K?(cr.push(!0),wn-=K):cr.push(!1),["normal","auto","loose"].indexOf(Fe)!==-1&&[8208,8211,12316,12448].indexOf(Hr)!==-1)return At.push(sn),Ke.push(ue);if(wn===q||wn===Se){if(sn===0)return At.push(sn),Ke.push(yt);var jn=Ke[sn-1];return Kt.indexOf(jn)===-1?(At.push(At[sn-1]),Ke.push(jn)):(At.push(sn),Ke.push(yt))}if(At.push(sn),wn===pt)return Ke.push(Fe==="strict"?te:Wt);if(wn===de)return Ke.push(yt);if(wn===it)return Ke.push(yt);if(wn===qe)return Hr>=131072&&Hr<=196605||Hr>=196608&&Hr<=262141?Ke.push(Wt):Ke.push(yt);Ke.push(wn)}),[At,Ke,cr]},Gt=function(ye,Fe,Ke,At){var cr=At[Ke];if(Array.isArray(ye)?ye.indexOf(cr)!==-1:ye===cr)for(var Hr=Ke;Hr<=At.length;){Hr++;var sn=At[Hr];if(sn===Fe)return!0;if(sn!==xe)break}if(cr===xe)for(var Hr=Ke;Hr>0;){Hr--;var wn=At[Hr];if(Array.isArray(ye)?ye.indexOf(wn)!==-1:ye===wn)for(var jn=Ke;jn<=At.length;){jn++;var sn=At[jn];if(sn===Fe)return!0;if(sn!==xe)break}if(wn!==xe)break}return!1},yr=function(ye,Fe){for(var Ke=ye;Ke>=0;){var At=Fe[Ke];if(At===xe)Ke--;else return At}return 0},br=function(ye,Fe,Ke,At,cr){if(Ke[At]===0)return bt;var Hr=At-1;if(Array.isArray(cr)&&cr[Hr]===!0)return bt;var sn=Hr-1,wn=Hr+1,jn=Fe[Hr],Gi=sn>=0?Fe[sn]:0,Mi=Fe[wn];if(jn===G&&Mi===V)return bt;if(Ar.indexOf(jn)!==-1)return ve;if(Ar.indexOf(Mi)!==-1)return bt;if(at.indexOf(Mi)!==-1)return bt;if(yr(Hr,Fe)===ie)return jt;if(He.get(ye[Hr])===Se)return bt;if((jn===Pe||jn===Nt)&&He.get(ye[wn])===Se)return bt;if(jn===ce||Mi===ce)return bt;if(jn===fe)return bt;if([xe,ge,ee].indexOf(jn)===-1&&Mi===fe)return bt;if([Ge,ae,Z,De,Re].indexOf(Mi)!==-1)return bt;if(yr(Hr,Fe)===we)return bt;if(Gt(pe,we,Hr,Fe))return bt;if(Gt([Ge,ae],te,Hr,Fe))return bt;if(Gt(ke,ke,Hr,Fe))return bt;if(jn===xe)return jt;if(jn===pe||Mi===pe)return bt;if(Mi===ue||jn===ue)return jt;if([ge,ee,te].indexOf(Mi)!==-1||jn===Be)return bt;if(Gi===Ut&&et.indexOf(jn)!==-1)return bt;if(jn===Re&&Mi===Ut)return bt;if(Mi===Y)return bt;if(kt.indexOf(Mi)!==-1&&jn===Ne||kt.indexOf(jn)!==-1&&Mi===Ne)return bt;if(jn===be&&[Wt,Pe,Nt].indexOf(Mi)!==-1||[Wt,Pe,Nt].indexOf(jn)!==-1&&Mi===me)return bt;if(kt.indexOf(jn)!==-1&&Ht.indexOf(Mi)!==-1||Ht.indexOf(jn)!==-1&&kt.indexOf(Mi)!==-1)return bt;if([be,me].indexOf(jn)!==-1&&(Mi===Ne||[we,ee].indexOf(Mi)!==-1&&Fe[wn+1]===Ne)||[we,ee].indexOf(jn)!==-1&&Mi===Ne||jn===Ne&&[Ne,Re,De].indexOf(Mi)!==-1)return bt;if([Ne,Re,De,Ge,ae].indexOf(Mi)!==-1)for(var Qi=Hr;Qi>=0;){var wo=Fe[Qi];if(wo===Ne)return bt;if([Re,De].indexOf(wo)!==-1)Qi--;else break}if([be,me].indexOf(Mi)!==-1)for(var Qi=[Ge,ae].indexOf(jn)!==-1?sn:Hr;Qi>=0;){var wo=Fe[Qi];if(wo===Ne)return bt;if([Re,De].indexOf(wo)!==-1)Qi--;else break}if($t===jn&&[$t,or,ut,Ft].indexOf(Mi)!==-1||[or,ut].indexOf(jn)!==-1&&[or,ht].indexOf(Mi)!==-1||[ht,Ft].indexOf(jn)!==-1&&Mi===ht)return bt;if(ot.indexOf(jn)!==-1&&[Y,me].indexOf(Mi)!==-1||ot.indexOf(Mi)!==-1&&jn===be)return bt;if(kt.indexOf(jn)!==-1&&kt.indexOf(Mi)!==-1)return bt;if(jn===De&&kt.indexOf(Mi)!==-1)return bt;if(kt.concat(Ne).indexOf(jn)!==-1&&Mi===we&&rt.indexOf(ye[wn])===-1||kt.concat(Ne).indexOf(Mi)!==-1&&jn===ae)return bt;if(jn===Ee&&Mi===Ee){for(var fo=Ke[Hr],Bo=1;fo>0&&(fo--,Fe[fo]===Ee);)Bo++;if(Bo%2!==0)return bt}return jn===Pe&&Mi===Nt?bt:jt},Sr=function(ye,Fe){Fe||(Fe={lineBreak:"normal",wordBreak:"normal"});var Ke=Ze(ye,Fe.lineBreak),At=Ke[0],cr=Ke[1],Hr=Ke[2];(Fe.wordBreak==="break-all"||Fe.wordBreak==="break-word")&&(cr=cr.map(function(wn){return[Ne,yt,de].indexOf(wn)!==-1?Wt:wn}));var sn=Fe.wordBreak==="keep-all"?Hr.map(function(wn,jn){return wn&&ye[jn]>=19968&&ye[jn]<=40959}):void 0;return[At,cr,sn]},Tn=function(){function xt(ye,Fe,Ke,At){this.codePoints=ye,this.required=Fe===ve,this.start=Ke,this.end=At}return xt.prototype.slice=function(){return s.apply(void 0,this.codePoints.slice(this.start,this.end))},xt}(),cn=function(ye,Fe){var Ke=n(ye),At=Sr(Ke,Fe),cr=At[0],Hr=At[1],sn=At[2],wn=Ke.length,jn=0,Gi=0;return{next:function(){if(Gi>=wn)return{done:!0,value:null};for(var Qi=bt;Gi=sr&&ye<=57},mi=function(ye){return ye>=55296&&ye<=57343},va=function(ye){return Yi(ye)||ye>=Vn&&ye<=Ni||ye>=Bn&&ye<=gn},zn=function(ye){return ye>=Bn&&ye<=Br},fn=function(ye){return ye>=Vn&&ye<=zi},$n=function(ye){return zn(ye)||fn(ye)},Cn=function(ye){return ye>=la},ki=function(ye){return ye===ze||ye===ir||ye===Xt},In=function(ye){return $n(ye)||Cn(ye)||ye===gr},na=function(ye){return In(ye)||Yi(ye)||ye===Mt},Ei=function(ye){return ye>=ft&&ye<=Bt||ye===Et||ye>=nr&&ye<=Ur||ye===Lr},pi=function(ye,Fe){return ye!==gt?!1:Fe!==ze},Ri=function(ye,Fe,Ke){return ye===Mt?In(Fe)||pi(Fe,Ke):In(ye)?!0:!!(ye===gt&&pi(ye,Fe))},Na=function(ye,Fe,Ke){return ye===Me||ye===Mt?Yi(Fe)?!0:Fe===nt&&Yi(Ke):ye===nt?Yi(Fe):Yi(ye)},Un=function(ye){var Fe=0,Ke=1;(ye[Fe]===Me||ye[Fe]===Mt)&&(ye[Fe]===Mt&&(Ke=-1),Fe++);for(var At=[];Yi(ye[Fe]);)At.push(ye[Fe++]);var cr=At.length?parseInt(s.apply(void 0,At),10):0;ye[Fe]===nt&&Fe++;for(var Hr=[];Yi(ye[Fe]);)Hr.push(ye[Fe++]);var sn=Hr.length,wn=sn?parseInt(s.apply(void 0,Hr),10):0;(ye[Fe]===gi||ye[Fe]===Er)&&Fe++;var jn=1;(ye[Fe]===Me||ye[Fe]===Mt)&&(ye[Fe]===Mt&&(jn=-1),Fe++);for(var Gi=[];Yi(ye[Fe]);)Gi.push(ye[Fe++]);var Mi=Gi.length?parseInt(s.apply(void 0,Gi),10):0;return Ke*(cr+wn*Math.pow(10,-sn))*Math.pow(10,jn*Mi)},nn={type:2},Yn={type:3},bi={type:4},Oi={type:13},_i={type:8},Zi={type:21},qi={type:9},ea={type:10},ya={type:11},co={type:12},io={type:14},rs={type:23},Pi={type:1},dn={type:25},ha={type:24},ba={type:26},ta={type:27},so={type:28},lr={type:29},pn={type:31},_n={type:32},Pn=function(){function xt(){this._value=[]}return xt.prototype.write=function(ye){this._value=this._value.concat(n(ye))},xt.prototype.read=function(){for(var ye=[],Fe=this.consumeToken();Fe!==_n;)ye.push(Fe),Fe=this.consumeToken();return ye},xt.prototype.consumeToken=function(){var ye=this.consumeCodePoint();switch(ye){case er:return this.consumeStringToken(er);case en:var Fe=this.peekCodePoint(0),Ke=this.peekCodePoint(1),At=this.peekCodePoint(2);if(na(Fe)||pi(Ke,At)){var cr=Ri(Fe,Ke,At)?lt:Kn,Hr=this.consumeName();return{type:5,value:Hr,flags:cr}}break;case Fn:if(this.peekCodePoint(0)===Wr)return this.consumeCodePoint(),Oi;break;case It:return this.consumeStringToken(It);case Ct:return nn;case mr:return Yn;case dt:if(this.peekCodePoint(0)===Wr)return this.consumeCodePoint(),io;break;case Me:if(Na(ye,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ye),this.consumeNumericToken();break;case Xe:return bi;case Mt:var sn=ye,wn=this.peekCodePoint(0),jn=this.peekCodePoint(1);if(Na(sn,wn,jn))return this.reconsumeCodePoint(ye),this.consumeNumericToken();if(Ri(sn,wn,jn))return this.reconsumeCodePoint(ye),this.consumeIdentLikeToken();if(wn===Mt&&jn===tr)return this.consumeCodePoint(),this.consumeCodePoint(),ha;break;case nt:if(Na(ye,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ye),this.consumeNumericToken();break;case $e:if(this.peekCodePoint(0)===dt)for(this.consumeCodePoint();;){var Gi=this.consumeCodePoint();if(Gi===dt&&(Gi=this.consumeCodePoint(),Gi===$e))return this.consumeToken();if(Gi===Vr)return this.consumeToken()}break;case Qe:return ba;case st:return ta;case Dt:if(this.peekCodePoint(0)===rr&&this.peekCodePoint(1)===Mt&&this.peekCodePoint(2)===Mt)return this.consumeCodePoint(),this.consumeCodePoint(),dn;break;case Dr:var Mi=this.peekCodePoint(0),Qi=this.peekCodePoint(1),wo=this.peekCodePoint(2);if(Ri(Mi,Qi,wo)){var Hr=this.consumeName();return{type:7,value:Hr}}break;case dr:return so;case gt:if(pi(ye,this.peekCodePoint(0)))return this.reconsumeCodePoint(ye),this.consumeIdentLikeToken();break;case Tr:return lr;case vn:if(this.peekCodePoint(0)===Wr)return this.consumeCodePoint(),_i;break;case on:return ya;case di:return co;case rn:case Ki:var fo=this.peekCodePoint(0),Bo=this.peekCodePoint(1);return fo===Me&&(va(Bo)||Bo===Gn)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(ye),this.consumeIdentLikeToken();case Ti:if(this.peekCodePoint(0)===Wr)return this.consumeCodePoint(),qi;if(this.peekCodePoint(0)===Ti)return this.consumeCodePoint(),Zi;break;case Fi:if(this.peekCodePoint(0)===Wr)return this.consumeCodePoint(),ea;break;case Vr:return _n}return ki(ye)?(this.consumeWhiteSpace(),pn):Yi(ye)?(this.reconsumeCodePoint(ye),this.consumeNumericToken()):In(ye)?(this.reconsumeCodePoint(ye),this.consumeIdentLikeToken()):{type:6,value:s(ye)}},xt.prototype.consumeCodePoint=function(){var ye=this._value.shift();return typeof ye=="undefined"?-1:ye},xt.prototype.reconsumeCodePoint=function(ye){this._value.unshift(ye)},xt.prototype.peekCodePoint=function(ye){return ye>=this._value.length?-1:this._value[ye]},xt.prototype.consumeUnicodeRangeToken=function(){for(var ye=[],Fe=this.consumeCodePoint();va(Fe)&&ye.length<6;)ye.push(Fe),Fe=this.consumeCodePoint();for(var Ke=!1;Fe===Gn&&ye.length<6;)ye.push(Fe),Fe=this.consumeCodePoint(),Ke=!0;if(Ke){var At=parseInt(s.apply(void 0,ye.map(function(wn){return wn===Gn?sr:wn})),16),cr=parseInt(s.apply(void 0,ye.map(function(wn){return wn===Gn?Ni:wn})),16);return{type:30,start:At,end:cr}}var Hr=parseInt(s.apply(void 0,ye),16);if(this.peekCodePoint(0)===Mt&&va(this.peekCodePoint(1))){this.consumeCodePoint(),Fe=this.consumeCodePoint();for(var sn=[];va(Fe)&&sn.length<6;)sn.push(Fe),Fe=this.consumeCodePoint();var cr=parseInt(s.apply(void 0,sn),16);return{type:30,start:Hr,end:cr}}else return{type:30,start:Hr,end:Hr}},xt.prototype.consumeIdentLikeToken=function(){var ye=this.consumeName();return ye.toLowerCase()==="url"&&this.peekCodePoint(0)===Ct?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ct?(this.consumeCodePoint(),{type:19,value:ye}):{type:20,value:ye}},xt.prototype.consumeUrlToken=function(){var ye=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Vr)return{type:22,value:""};var Fe=this.peekCodePoint(0);if(Fe===It||Fe===er){var Ke=this.consumeStringToken(this.consumeCodePoint());return Ke.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Vr||this.peekCodePoint(0)===mr)?(this.consumeCodePoint(),{type:22,value:Ke.value}):(this.consumeBadUrlRemnants(),rs)}for(;;){var At=this.consumeCodePoint();if(At===Vr||At===mr)return{type:22,value:s.apply(void 0,ye)};if(ki(At))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Vr||this.peekCodePoint(0)===mr?(this.consumeCodePoint(),{type:22,value:s.apply(void 0,ye)}):(this.consumeBadUrlRemnants(),rs);if(At===er||At===It||At===Ct||Ei(At))return this.consumeBadUrlRemnants(),rs;if(At===gt)if(pi(At,this.peekCodePoint(0)))ye.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),rs;else ye.push(At)}},xt.prototype.consumeWhiteSpace=function(){for(;ki(this.peekCodePoint(0));)this.consumeCodePoint()},xt.prototype.consumeBadUrlRemnants=function(){for(;;){var ye=this.consumeCodePoint();if(ye===mr||ye===Vr)return;pi(ye,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},xt.prototype.consumeStringSlice=function(ye){for(var Fe=6e4,Ke="";ye>0;){var At=Math.min(Fe,ye);Ke+=s.apply(void 0,this._value.splice(0,At)),ye-=At}return this._value.shift(),Ke},xt.prototype.consumeStringToken=function(ye){var Fe="",Ke=0;do{var At=this._value[Ke];if(At===Vr||At===void 0||At===ye)return Fe+=this.consumeStringSlice(Ke),{type:0,value:Fe};if(At===ze)return this._value.splice(0,Ke),Pi;if(At===gt){var cr=this._value[Ke+1];cr!==Vr&&cr!==void 0&&(cr===ze?(Fe+=this.consumeStringSlice(Ke),Ke=-1,this._value.shift()):pi(At,cr)&&(Fe+=this.consumeStringSlice(Ke),Fe+=s(this.consumeEscapedCodePoint()),Ke=-1))}Ke++}while(!0)},xt.prototype.consumeNumber=function(){var ye=[],Fe=mt,Ke=this.peekCodePoint(0);for((Ke===Me||Ke===Mt)&&ye.push(this.consumeCodePoint());Yi(this.peekCodePoint(0));)ye.push(this.consumeCodePoint());Ke=this.peekCodePoint(0);var At=this.peekCodePoint(1);if(Ke===nt&&Yi(At))for(ye.push(this.consumeCodePoint(),this.consumeCodePoint()),Fe=Le;Yi(this.peekCodePoint(0));)ye.push(this.consumeCodePoint());Ke=this.peekCodePoint(0),At=this.peekCodePoint(1);var cr=this.peekCodePoint(2);if((Ke===gi||Ke===Er)&&((At===Me||At===Mt)&&Yi(cr)||Yi(At)))for(ye.push(this.consumeCodePoint(),this.consumeCodePoint()),Fe=Le;Yi(this.peekCodePoint(0));)ye.push(this.consumeCodePoint());return[Un(ye),Fe]},xt.prototype.consumeNumericToken=function(){var ye=this.consumeNumber(),Fe=ye[0],Ke=ye[1],At=this.peekCodePoint(0),cr=this.peekCodePoint(1),Hr=this.peekCodePoint(2);if(Ri(At,cr,Hr)){var sn=this.consumeName();return{type:15,number:Fe,flags:Ke,unit:sn}}return At===ar?(this.consumeCodePoint(),{type:16,number:Fe,flags:Ke}):{type:17,number:Fe,flags:Ke}},xt.prototype.consumeEscapedCodePoint=function(){var ye=this.consumeCodePoint();if(va(ye)){for(var Fe=s(ye);va(this.peekCodePoint(0))&&Fe.length<6;)Fe+=s(this.consumeCodePoint());ki(this.peekCodePoint(0))&&this.consumeCodePoint();var Ke=parseInt(Fe,16);return Ke===0||mi(Ke)||Ke>1114111?Ta:Ke}return ye===Vr?Ta:ye},xt.prototype.consumeName=function(){for(var ye="";;){var Fe=this.consumeCodePoint();if(na(Fe))ye+=s(Fe);else if(pi(Fe,this.peekCodePoint(0)))ye+=s(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(Fe),ye}},xt}(),ct=function(){function xt(ye){this._tokens=ye}return xt.create=function(ye){var Fe=new Pn;return Fe.write(ye),new xt(Fe.read())},xt.parseValue=function(ye){return xt.create(ye).parseComponentValue()},xt.parseValues=function(ye){return xt.create(ye).parseComponentValues()},xt.prototype.parseComponentValue=function(){for(var ye=this.consumeToken();ye.type===31;)ye=this.consumeToken();if(ye.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(ye);var Fe=this.consumeComponentValue();do ye=this.consumeToken();while(ye.type===31);if(ye.type===32)return Fe;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},xt.prototype.parseComponentValues=function(){for(var ye=[];;){var Fe=this.consumeComponentValue();if(Fe.type===32)return ye;ye.push(Fe),ye.push()}},xt.prototype.consumeComponentValue=function(){var ye=this.consumeToken();switch(ye.type){case 11:case 28:case 2:return this.consumeSimpleBlock(ye.type);case 19:return this.consumeFunction(ye)}return ye},xt.prototype.consumeSimpleBlock=function(ye){for(var Fe={type:ye,values:[]},Ke=this.consumeToken();;){if(Ke.type===32||qn(Ke,ye))return Fe;this.reconsumeToken(Ke),Fe.values.push(this.consumeComponentValue()),Ke=this.consumeToken()}},xt.prototype.consumeFunction=function(ye){for(var Fe={name:ye.value,values:[],type:18};;){var Ke=this.consumeToken();if(Ke.type===32||Ke.type===3)return Fe;this.reconsumeToken(Ke),Fe.values.push(this.consumeComponentValue())}},xt.prototype.consumeToken=function(){var ye=this._tokens.shift();return typeof ye=="undefined"?_n:ye},xt.prototype.reconsumeToken=function(ye){this._tokens.unshift(ye)},xt}(),Vt=function(ye){return ye.type===15},Cr=function(ye){return ye.type===17},xr=function(ye){return ye.type===20},Gr=function(ye){return ye.type===0},$r=function(ye,Fe){return xr(ye)&&ye.value===Fe},hn=function(ye){return ye.type!==31},On=function(ye){return ye.type!==31&&ye.type!==4},Qn=function(ye){var Fe=[],Ke=[];return ye.forEach(function(At){if(At.type===4){if(Ke.length===0)throw new Error("Error parsing function args, zero tokens for arg");Fe.push(Ke),Ke=[];return}At.type!==31&&Ke.push(At)}),Ke.length&&Fe.push(Ke),Fe},qn=function(ye,Fe){return Fe===11&&ye.type===12||Fe===28&&ye.type===29?!0:Fe===2&&ye.type===3},si=function(ye){return ye.type===17||ye.type===15},oi=function(ye){return ye.type===16||si(ye)},Wn=function(ye){return ye.length>1?[ye[0],ye[1]]:[ye[0]]},Zn={type:17,number:0,flags:mt},ni={type:16,number:50,flags:mt},wi={type:16,number:100,flags:mt},Di=function(ye,Fe,Ke){var At=ye[0],cr=ye[1];return[Ui(At,Fe),Ui(typeof cr!="undefined"?cr:At,Ke)]},Ui=function(ye,Fe){if(ye.type===16)return ye.number/100*Fe;if(Vt(ye))switch(ye.unit){case"rem":case"em":return 16*ye.number;case"px":default:return ye.number}return ye.number},ca="deg",ia="grad",Ia="rad",Fa="turn",Aa={name:"angle",parse:function(ye,Fe){if(Fe.type===15)switch(Fe.unit){case ca:return Math.PI*Fe.number/180;case ia:return Math.PI/200*Fe.number;case Ia:return Fe.number;case Fa:return Math.PI*2*Fe.number}throw new Error("Unsupported angle type")}},Ea=function(ye){return ye.type===15&&(ye.unit===ca||ye.unit===ia||ye.unit===Ia||ye.unit===Fa)},xa=function(ye){var Fe=ye.filter(xr).map(function(Ke){return Ke.value}).join(" ");switch(Fe){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Zn,Zn];case"to top":case"bottom":return Ai(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Zn,wi];case"to right":case"left":return Ai(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[wi,wi];case"to bottom":case"top":return Ai(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[wi,Zn];case"to left":case"right":return Ai(270)}return 0},Ai=function(ye){return Math.PI*ye/180},oa={name:"color",parse:function(ye,Fe){if(Fe.type===18){var Ke=wr[Fe.name];if(typeof Ke=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Fe.name+'"');return Ke(ye,Fe.values)}if(Fe.type===5){if(Fe.value.length===3){var At=Fe.value.substring(0,1),cr=Fe.value.substring(1,2),Hr=Fe.value.substring(2,3);return Qr(parseInt(At+At,16),parseInt(cr+cr,16),parseInt(Hr+Hr,16),1)}if(Fe.value.length===4){var At=Fe.value.substring(0,1),cr=Fe.value.substring(1,2),Hr=Fe.value.substring(2,3),sn=Fe.value.substring(3,4);return Qr(parseInt(At+At,16),parseInt(cr+cr,16),parseInt(Hr+Hr,16),parseInt(sn+sn,16)/255)}if(Fe.value.length===6){var At=Fe.value.substring(0,2),cr=Fe.value.substring(2,4),Hr=Fe.value.substring(4,6);return Qr(parseInt(At,16),parseInt(cr,16),parseInt(Hr,16),1)}if(Fe.value.length===8){var At=Fe.value.substring(0,2),cr=Fe.value.substring(2,4),Hr=Fe.value.substring(4,6),sn=Fe.value.substring(6,8);return Qr(parseInt(At,16),parseInt(cr,16),parseInt(Hr,16),parseInt(sn,16)/255)}}if(Fe.type===20){var wn=Jr[Fe.value.toUpperCase()];if(typeof wn!="undefined")return wn}return Jr.TRANSPARENT}},Ba=function(ye){return(255&ye)===0},Nr=function(ye){var Fe=255&ye,Ke=255&ye>>8,At=255&ye>>16,cr=255&ye>>24;return Fe<255?"rgba("+cr+","+At+","+Ke+","+Fe/255+")":"rgb("+cr+","+At+","+Ke+")"},Qr=function(ye,Fe,Ke,At){return(ye<<24|Fe<<16|Ke<<8|Math.round(At*255)<<0)>>>0},bn=function(ye,Fe){if(ye.type===17)return ye.number;if(ye.type===16){var Ke=Fe===3?1:255;return Fe===3?ye.number/100*Ke:Math.round(ye.number/100*Ke)}return 0},Zr=function(ye,Fe){var Ke=Fe.filter(On);if(Ke.length===3){var At=Ke.map(bn),cr=At[0],Hr=At[1],sn=At[2];return Qr(cr,Hr,sn,1)}if(Ke.length===4){var wn=Ke.map(bn),cr=wn[0],Hr=wn[1],sn=wn[2],jn=wn[3];return Qr(cr,Hr,sn,jn)}return 0};function hr(xt,ye,Fe){return Fe<0&&(Fe+=1),Fe>=1&&(Fe-=1),Fe<1/6?(ye-xt)*Fe*6+xt:Fe<1/2?ye:Fe<2/3?(ye-xt)*6*(2/3-Fe)+xt:xt}var jr=function(ye,Fe){var Ke=Fe.filter(On),At=Ke[0],cr=Ke[1],Hr=Ke[2],sn=Ke[3],wn=(At.type===17?Ai(At.number):Aa.parse(ye,At))/(Math.PI*2),jn=oi(cr)?cr.number/100:0,Gi=oi(Hr)?Hr.number/100:0,Mi=typeof sn!="undefined"&&oi(sn)?Ui(sn,1):1;if(jn===0)return Qr(Gi*255,Gi*255,Gi*255,1);var Qi=Gi<=.5?Gi*(jn+1):Gi+jn-Gi*jn,wo=Gi*2-Qi,fo=hr(wo,Qi,wn+1/3),Bo=hr(wo,Qi,wn),Ds=hr(wo,Qi,wn-1/3);return Qr(fo*255,Bo*255,Ds*255,Mi)},wr={hsl:jr,hsla:jr,rgb:Zr,rgba:Zr},an=function(ye,Fe){return oa.parse(ye,ct.create(Fe).parseComponentValue())},Jr={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},kn;(function(xt){xt[xt.BORDER_BOX=0]="BORDER_BOX",xt[xt.PADDING_BOX=1]="PADDING_BOX",xt[xt.CONTENT_BOX=2]="CONTENT_BOX"})(kn||(kn={}));var Dn={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(ye,Fe){return Fe.map(function(Ke){if(xr(Ke))switch(Ke.value){case"padding-box":return kn.PADDING_BOX;case"content-box":return kn.CONTENT_BOX}return kn.BORDER_BOX})}},Xn={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},vi=function(ye,Fe){var Ke=oa.parse(ye,Fe[0]),At=Fe[1];return At&&oi(At)?{color:Ke,stop:At}:{color:Ke,stop:null}},Li=function(ye,Fe){var Ke=ye[0],At=ye[ye.length-1];Ke.stop===null&&(Ke.stop=Zn),At.stop===null&&(At.stop=wi);for(var cr=[],Hr=0,sn=0;snHr?cr.push(jn):cr.push(Hr),Hr=jn}else cr.push(null)}for(var Gi=null,sn=0;snsn.optimumDistance)?{optimumCorner:wn,optimumDistance:Mi}:sn},{optimumDistance:cr?Infinity:-Infinity,optimumCorner:null}).optimumCorner},bo=function(ye,Fe,Ke,At,cr){var Hr=0,sn=0;switch(ye.size){case Ro.CLOSEST_SIDE:ye.shape===Oo.CIRCLE?Hr=sn=Math.min(Math.abs(Fe),Math.abs(Fe-At),Math.abs(Ke),Math.abs(Ke-cr)):ye.shape===Oo.ELLIPSE&&(Hr=Math.min(Math.abs(Fe),Math.abs(Fe-At)),sn=Math.min(Math.abs(Ke),Math.abs(Ke-cr)));break;case Ro.CLOSEST_CORNER:if(ye.shape===Oo.CIRCLE)Hr=sn=Math.min(Ga(Fe,Ke),Ga(Fe,Ke-cr),Ga(Fe-At,Ke),Ga(Fe-At,Ke-cr));else if(ye.shape===Oo.ELLIPSE){var wn=Math.min(Math.abs(Ke),Math.abs(Ke-cr))/Math.min(Math.abs(Fe),Math.abs(Fe-At)),jn=Ya(At,cr,Fe,Ke,!0),Gi=jn[0],Mi=jn[1];Hr=Ga(Gi-Fe,(Mi-Ke)/wn),sn=wn*Hr}break;case Ro.FARTHEST_SIDE:ye.shape===Oo.CIRCLE?Hr=sn=Math.max(Math.abs(Fe),Math.abs(Fe-At),Math.abs(Ke),Math.abs(Ke-cr)):ye.shape===Oo.ELLIPSE&&(Hr=Math.max(Math.abs(Fe),Math.abs(Fe-At)),sn=Math.max(Math.abs(Ke),Math.abs(Ke-cr)));break;case Ro.FARTHEST_CORNER:if(ye.shape===Oo.CIRCLE)Hr=sn=Math.max(Ga(Fe,Ke),Ga(Fe,Ke-cr),Ga(Fe-At,Ke),Ga(Fe-At,Ke-cr));else if(ye.shape===Oo.ELLIPSE){var wn=Math.max(Math.abs(Ke),Math.abs(Ke-cr))/Math.max(Math.abs(Fe),Math.abs(Fe-At)),Qi=Ya(At,cr,Fe,Ke,!1),Gi=Qi[0],Mi=Qi[1];Hr=Ga(Gi-Fe,(Mi-Ke)/wn),sn=wn*Hr}break}return Array.isArray(ye.size)&&(Hr=Ui(ye.size[0],At),sn=ye.size.length===2?Ui(ye.size[1],cr):Hr),[Hr,sn]},vo=function(ye,Fe){var Ke=Ai(180),At=[];return Qn(Fe).forEach(function(cr,Hr){if(Hr===0){var sn=cr[0];if(sn.type===20&&sn.value==="to"){Ke=xa(cr);return}else if(Ea(sn)){Ke=Aa.parse(ye,sn);return}}var wn=vi(ye,cr);At.push(wn)}),{angle:Ke,stops:At,type:mo.LINEAR_GRADIENT}},po=function(ye,Fe){var Ke=Ai(180),At=[];return Qn(Fe).forEach(function(cr,Hr){if(Hr===0){var sn=cr[0];if(sn.type===20&&["top","left","right","bottom"].indexOf(sn.value)!==-1){Ke=xa(cr);return}else if(Ea(sn)){Ke=(Aa.parse(ye,sn)+Ai(270))%Ai(360);return}}var wn=vi(ye,cr);At.push(wn)}),{angle:Ke,stops:At,type:mo.LINEAR_GRADIENT}},Ha=function(ye,Fe){var Ke=Ai(180),At=[],cr=mo.LINEAR_GRADIENT,Hr=Oo.CIRCLE,sn=Ro.FARTHEST_CORNER,wn=[];return Qn(Fe).forEach(function(jn,Gi){var Mi=jn[0];if(Gi===0){if(xr(Mi)&&Mi.value==="linear"){cr=mo.LINEAR_GRADIENT;return}else if(xr(Mi)&&Mi.value==="radial"){cr=mo.RADIAL_GRADIENT;return}}if(Mi.type===18){if(Mi.name==="from"){var Qi=oa.parse(ye,Mi.values[0]);At.push({stop:Zn,color:Qi})}else if(Mi.name==="to"){var Qi=oa.parse(ye,Mi.values[0]);At.push({stop:wi,color:Qi})}else if(Mi.name==="color-stop"){var wo=Mi.values.filter(On);if(wo.length===2){var Qi=oa.parse(ye,wo[1]),fo=wo[0];Cr(fo)&&At.push({stop:{type:16,number:fo.number*100,flags:fo.flags},color:Qi})}}}}),cr===mo.LINEAR_GRADIENT?{angle:(Ke+Ai(180))%Ai(360),stops:At,type:cr}:{size:sn,shape:Hr,stops:At,position:wn,type:cr}},Oa="closest-side",ao="farthest-side",to="closest-corner",Po="farthest-corner",Yo="circle",ro="ellipse",za="cover",Mo="contain",Io=function(ye,Fe){var Ke=Oo.CIRCLE,At=Ro.FARTHEST_CORNER,cr=[],Hr=[];return Qn(Fe).forEach(function(sn,wn){var jn=!0;if(wn===0){var Gi=!1;jn=sn.reduce(function(Qi,wo){if(Gi)if(xr(wo))switch(wo.value){case"center":return Hr.push(ni),Qi;case"top":case"left":return Hr.push(Zn),Qi;case"right":case"bottom":return Hr.push(wi),Qi}else(oi(wo)||si(wo))&&Hr.push(wo);else if(xr(wo))switch(wo.value){case Yo:return Ke=Oo.CIRCLE,!1;case ro:return Ke=Oo.ELLIPSE,!1;case"at":return Gi=!0,!1;case Oa:return At=Ro.CLOSEST_SIDE,!1;case za:case ao:return At=Ro.FARTHEST_SIDE,!1;case Mo:case to:return At=Ro.CLOSEST_CORNER,!1;case Po:return At=Ro.FARTHEST_CORNER,!1}else if(si(wo)||oi(wo))return Array.isArray(At)||(At=[]),At.push(wo),!1;return Qi},jn)}if(jn){var Mi=vi(ye,sn);cr.push(Mi)}}),{size:At,shape:Ke,stops:cr,position:Hr,type:mo.RADIAL_GRADIENT}},ma=function(ye,Fe){var Ke=Oo.CIRCLE,At=Ro.FARTHEST_CORNER,cr=[],Hr=[];return Qn(Fe).forEach(function(sn,wn){var jn=!0;if(wn===0?jn=sn.reduce(function(Mi,Qi){if(xr(Qi))switch(Qi.value){case"center":return Hr.push(ni),!1;case"top":case"left":return Hr.push(Zn),!1;case"right":case"bottom":return Hr.push(wi),!1}else if(oi(Qi)||si(Qi))return Hr.push(Qi),!1;return Mi},jn):wn===1&&(jn=sn.reduce(function(Mi,Qi){if(xr(Qi))switch(Qi.value){case Yo:return Ke=Oo.CIRCLE,!1;case ro:return Ke=Oo.ELLIPSE,!1;case Mo:case Oa:return At=Ro.CLOSEST_SIDE,!1;case ao:return At=Ro.FARTHEST_SIDE,!1;case to:return At=Ro.CLOSEST_CORNER,!1;case za:case Po:return At=Ro.FARTHEST_CORNER,!1}else if(si(Qi)||oi(Qi))return Array.isArray(At)||(At=[]),At.push(Qi),!1;return Mi},jn)),jn){var Gi=vi(ye,sn);cr.push(Gi)}}),{size:At,shape:Ke,stops:cr,position:Hr,type:mo.RADIAL_GRADIENT}},mo;(function(xt){xt[xt.URL=0]="URL",xt[xt.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",xt[xt.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"})(mo||(mo={}));var ns=function(ye){return ye.type===mo.LINEAR_GRADIENT},Zo=function(ye){return ye.type===mo.RADIAL_GRADIENT},Oo;(function(xt){xt[xt.CIRCLE=0]="CIRCLE",xt[xt.ELLIPSE=1]="ELLIPSE"})(Oo||(Oo={}));var Ro;(function(xt){xt[xt.CLOSEST_SIDE=0]="CLOSEST_SIDE",xt[xt.FARTHEST_SIDE=1]="FARTHEST_SIDE",xt[xt.CLOSEST_CORNER=2]="CLOSEST_CORNER",xt[xt.FARTHEST_CORNER=3]="FARTHEST_CORNER"})(Ro||(Ro={}));var hs={name:"image",parse:function(ye,Fe){if(Fe.type===22){var Ke={url:Fe.value,type:mo.URL};return ye.cache.addImage(Fe.value),Ke}if(Fe.type===18){var At=Ja[Fe.name];if(typeof At=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Fe.name+'"');return At(ye,Fe.values)}throw new Error("Unsupported image type "+Fe.type)}};function Uo(xt){return!(xt.type===20&&xt.value==="none")&&(xt.type!==18||!!Ja[xt.name])}var Ja={"linear-gradient":vo,"-moz-linear-gradient":po,"-ms-linear-gradient":po,"-o-linear-gradient":po,"-webkit-linear-gradient":po,"radial-gradient":Io,"-moz-radial-gradient":ma,"-ms-radial-gradient":ma,"-o-radial-gradient":ma,"-webkit-radial-gradient":ma,"-webkit-gradient":Ha},Es={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(ye,Fe){if(Fe.length===0)return[];var Ke=Fe[0];return Ke.type===20&&Ke.value==="none"?[]:Fe.filter(function(At){return On(At)&&Uo(At)}).map(function(At){return hs.parse(ye,At)})}},oo={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(ye,Fe){return Fe.map(function(Ke){if(xr(Ke))switch(Ke.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Fs={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(ye,Fe){return Qn(Fe).map(function(Ke){return Ke.filter(oi)}).map(Wn)}},qo;(function(xt){xt[xt.REPEAT=0]="REPEAT",xt[xt.NO_REPEAT=1]="NO_REPEAT",xt[xt.REPEAT_X=2]="REPEAT_X",xt[xt.REPEAT_Y=3]="REPEAT_Y"})(qo||(qo={}));var Ko={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(ye,Fe){return Qn(Fe).map(function(Ke){return Ke.filter(xr).map(function(At){return At.value}).join(" ")}).map(Vo)}},Vo=function(ye){switch(ye){case"no-repeat":return qo.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return qo.REPEAT_X;case"repeat-y":case"no-repeat repeat":return qo.REPEAT_Y;case"repeat":default:return qo.REPEAT}},Go;(function(xt){xt.AUTO="auto",xt.CONTAIN="contain",xt.COVER="cover"})(Go||(Go={}));var os={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(ye,Fe){return Qn(Fe).map(function(Ke){return Ke.filter(Vs)})}},Vs=function(ye){return xr(ye)||oi(ye)},xs=function(ye){return{name:"border-"+ye+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Js=xs("top"),Bs=xs("right"),ks=xs("bottom"),Jo=xs("left"),bs=function(ye){return{name:"border-radius-"+ye,initialValue:"0 0",prefix:!1,type:1,parse:function(Ke,At){return Wn(At.filter(oi))}}},Ho=bs("top-left"),Ls=bs("top-right"),Ps=bs("bottom-right"),Ra=bs("bottom-left"),ho;(function(xt){xt[xt.NONE=0]="NONE",xt[xt.SOLID=1]="SOLID",xt[xt.DASHED=2]="DASHED",xt[xt.DOTTED=3]="DOTTED",xt[xt.DOUBLE=4]="DOUBLE"})(ho||(ho={}));var ll=function(ye){return{name:"border-"+ye+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(Ke,At){switch(At){case"none":return ho.NONE;case"dashed":return ho.DASHED;case"dotted":return ho.DOTTED;case"double":return ho.DOUBLE}return ho.SOLID}}},ml=ll("top"),wl=ll("right"),El=ll("bottom"),Xs=ll("left"),Xo=function(ye){return{name:"border-"+ye+"-width",initialValue:"0",type:0,prefix:!1,parse:function(Ke,At){return Vt(At)?At.number:0}}},gl=Xo("top"),Vl=Xo("right"),Us=Xo("bottom"),$s=Xo("left"),us={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},_l={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(ye,Fe){switch(Fe){case"rtl":return 1;case"ltr":default:return 0}}},Kc={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(ye,Fe){return Fe.filter(xr).reduce(function(Ke,At){return Ke|fc(At.value)},0)}},fc=function(ye){switch(ye){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Bl;(function(xt){xt[xt.NONE=0]="NONE",xt[xt.LEFT=1]="LEFT",xt[xt.RIGHT=2]="RIGHT",xt[xt.INLINE_START=3]="INLINE_START",xt[xt.INLINE_END=4]="INLINE_END"})(Bl||(Bl={}));var oc={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(ye,Fe){switch(Fe){case"left":return Bl.LEFT;case"right":return Bl.RIGHT;case"inline-start":return Bl.INLINE_START;case"inline-end":return Bl.INLINE_END}return Bl.NONE}},sc={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(ye,Fe){return Fe.type===20&&Fe.value==="normal"?0:Fe.type===17||Fe.type===15?Fe.number:0}},ql;(function(xt){xt.NORMAL="normal",xt.STRICT="strict"})(ql||(ql={}));var Al={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(ye,Fe){switch(Fe){case"strict":return ql.STRICT;case"normal":default:return ql.NORMAL}}},zs={name:"line-height",initialValue:"normal",prefix:!1,type:4},Ml=function(ye,Fe){return xr(ye)&&ye.value==="normal"?1.2*Fe:ye.type===17?Fe*ye.number:oi(ye)?Ui(ye,Fe):Fe},vl={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(ye,Fe){return Fe.type===20&&Fe.value==="none"?null:hs.parse(ye,Fe)}},cl;(function(xt){xt[xt.INSIDE=0]="INSIDE",xt[xt.OUTSIDE=1]="OUTSIDE"})(cl||(cl={}));var mn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(ye,Fe){switch(Fe){case"inside":return cl.INSIDE;case"outside":default:return cl.OUTSIDE}}},da;(function(xt){xt[xt.NONE=-1]="NONE",xt[xt.DISC=0]="DISC",xt[xt.CIRCLE=1]="CIRCLE",xt[xt.SQUARE=2]="SQUARE",xt[xt.DECIMAL=3]="DECIMAL",xt[xt.CJK_DECIMAL=4]="CJK_DECIMAL",xt[xt.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",xt[xt.LOWER_ROMAN=6]="LOWER_ROMAN",xt[xt.UPPER_ROMAN=7]="UPPER_ROMAN",xt[xt.LOWER_GREEK=8]="LOWER_GREEK",xt[xt.LOWER_ALPHA=9]="LOWER_ALPHA",xt[xt.UPPER_ALPHA=10]="UPPER_ALPHA",xt[xt.ARABIC_INDIC=11]="ARABIC_INDIC",xt[xt.ARMENIAN=12]="ARMENIAN",xt[xt.BENGALI=13]="BENGALI",xt[xt.CAMBODIAN=14]="CAMBODIAN",xt[xt.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",xt[xt.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",xt[xt.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",xt[xt.DEVANAGARI=18]="DEVANAGARI",xt[xt.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",xt[xt.GEORGIAN=20]="GEORGIAN",xt[xt.GUJARATI=21]="GUJARATI",xt[xt.GURMUKHI=22]="GURMUKHI",xt[xt.HEBREW=22]="HEBREW",xt[xt.HIRAGANA=23]="HIRAGANA",xt[xt.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",xt[xt.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",xt[xt.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",xt[xt.KANNADA=27]="KANNADA",xt[xt.KATAKANA=28]="KATAKANA",xt[xt.KATAKANA_IROHA=29]="KATAKANA_IROHA",xt[xt.KHMER=30]="KHMER",xt[xt.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",xt[xt.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",xt[xt.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",xt[xt.LAO=34]="LAO",xt[xt.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",xt[xt.MALAYALAM=36]="MALAYALAM",xt[xt.MONGOLIAN=37]="MONGOLIAN",xt[xt.MYANMAR=38]="MYANMAR",xt[xt.ORIYA=39]="ORIYA",xt[xt.PERSIAN=40]="PERSIAN",xt[xt.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",xt[xt.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",xt[xt.TAMIL=43]="TAMIL",xt[xt.TELUGU=44]="TELUGU",xt[xt.THAI=45]="THAI",xt[xt.TIBETAN=46]="TIBETAN",xt[xt.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",xt[xt.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",xt[xt.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",xt[xt.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",xt[xt.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"})(da||(da={}));var Oc={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(ye,Fe){switch(Fe){case"disc":return da.DISC;case"circle":return da.CIRCLE;case"square":return da.SQUARE;case"decimal":return da.DECIMAL;case"cjk-decimal":return da.CJK_DECIMAL;case"decimal-leading-zero":return da.DECIMAL_LEADING_ZERO;case"lower-roman":return da.LOWER_ROMAN;case"upper-roman":return da.UPPER_ROMAN;case"lower-greek":return da.LOWER_GREEK;case"lower-alpha":return da.LOWER_ALPHA;case"upper-alpha":return da.UPPER_ALPHA;case"arabic-indic":return da.ARABIC_INDIC;case"armenian":return da.ARMENIAN;case"bengali":return da.BENGALI;case"cambodian":return da.CAMBODIAN;case"cjk-earthly-branch":return da.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return da.CJK_HEAVENLY_STEM;case"cjk-ideographic":return da.CJK_IDEOGRAPHIC;case"devanagari":return da.DEVANAGARI;case"ethiopic-numeric":return da.ETHIOPIC_NUMERIC;case"georgian":return da.GEORGIAN;case"gujarati":return da.GUJARATI;case"gurmukhi":return da.GURMUKHI;case"hebrew":return da.HEBREW;case"hiragana":return da.HIRAGANA;case"hiragana-iroha":return da.HIRAGANA_IROHA;case"japanese-formal":return da.JAPANESE_FORMAL;case"japanese-informal":return da.JAPANESE_INFORMAL;case"kannada":return da.KANNADA;case"katakana":return da.KATAKANA;case"katakana-iroha":return da.KATAKANA_IROHA;case"khmer":return da.KHMER;case"korean-hangul-formal":return da.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return da.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return da.KOREAN_HANJA_INFORMAL;case"lao":return da.LAO;case"lower-armenian":return da.LOWER_ARMENIAN;case"malayalam":return da.MALAYALAM;case"mongolian":return da.MONGOLIAN;case"myanmar":return da.MYANMAR;case"oriya":return da.ORIYA;case"persian":return da.PERSIAN;case"simp-chinese-formal":return da.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return da.SIMP_CHINESE_INFORMAL;case"tamil":return da.TAMIL;case"telugu":return da.TELUGU;case"thai":return da.THAI;case"tibetan":return da.TIBETAN;case"trad-chinese-formal":return da.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return da.TRAD_CHINESE_INFORMAL;case"upper-armenian":return da.UPPER_ARMENIAN;case"disclosure-open":return da.DISCLOSURE_OPEN;case"disclosure-closed":return da.DISCLOSURE_CLOSED;case"none":default:return da.NONE}}},pc=function(ye){return{name:"margin-"+ye,initialValue:"0",prefix:!1,type:4}},xc=pc("top"),Ss=pc("right"),Ks=pc("bottom"),xl=pc("left"),ul;(function(xt){xt[xt.VISIBLE=0]="VISIBLE",xt[xt.HIDDEN=1]="HIDDEN",xt[xt.SCROLL=2]="SCROLL",xt[xt.CLIP=3]="CLIP",xt[xt.AUTO=4]="AUTO"})(ul||(ul={}));var nc={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(ye,Fe){return Fe.filter(xr).map(function(Ke){switch(Ke.value){case"hidden":return ul.HIDDEN;case"scroll":return ul.SCROLL;case"clip":return ul.CLIP;case"auto":return ul.AUTO;case"visible":default:return ul.VISIBLE}})}},Xl={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(ye,Fe){switch(Fe){case"break-word":return"break-word";case"normal":default:return"normal"}}},Gl=function(ye){return{name:"padding-"+ye,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Wc=Gl("top"),Hl=Gl("right"),Mc=Gl("bottom"),Sc=Gl("left"),Ts;(function(xt){xt[xt.LEFT=0]="LEFT",xt[xt.CENTER=1]="CENTER",xt[xt.RIGHT=2]="RIGHT"})(Ts||(Ts={}));var Sl={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(ye,Fe){switch(Fe){case"right":return Ts.RIGHT;case"center":case"justify":return Ts.CENTER;case"left":default:return Ts.LEFT}}},Rt;(function(xt){xt[xt.STATIC=0]="STATIC",xt[xt.RELATIVE=1]="RELATIVE",xt[xt.ABSOLUTE=2]="ABSOLUTE",xt[xt.FIXED=3]="FIXED",xt[xt.STICKY=4]="STICKY"})(Rt||(Rt={}));var qt={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(ye,Fe){switch(Fe){case"relative":return Rt.RELATIVE;case"absolute":return Rt.ABSOLUTE;case"fixed":return Rt.FIXED;case"sticky":return Rt.STICKY}return Rt.STATIC}},En={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ye,Fe){return Fe.length===1&&$r(Fe[0],"none")?[]:Qn(Fe).map(function(Ke){for(var At={color:Jr.TRANSPARENT,offsetX:Zn,offsetY:Zn,blur:Zn},cr=0,Hr=0;Hr1?1:0],this.overflowWrap=lo(ye,Xl,Fe.overflowWrap),this.paddingTop=lo(ye,Wc,Fe.paddingTop),this.paddingRight=lo(ye,Hl,Fe.paddingRight),this.paddingBottom=lo(ye,Mc,Fe.paddingBottom),this.paddingLeft=lo(ye,Sc,Fe.paddingLeft),this.paintOrder=lo(ye,il,Fe.paintOrder),this.position=lo(ye,qt,Fe.position),this.textAlign=lo(ye,Sl,Fe.textAlign),this.textDecorationColor=lo(ye,go,(Ke=Fe.textDecorationColor)!==null&&Ke!==void 0?Ke:Fe.color),this.textDecorationLine=lo(ye,No,(At=Fe.textDecorationLine)!==null&&At!==void 0?At:Fe.textDecoration),this.textShadow=lo(ye,En,Fe.textShadow),this.textTransform=lo(ye,Lt,Fe.textTransform),this.transform=lo(ye,he,Fe.transform),this.transformOrigin=lo(ye,Pr,Fe.transformOrigin),this.visibility=lo(ye,yn,Fe.visibility),this.webkitTextStrokeColor=lo(ye,Yl,Fe.webkitTextStrokeColor),this.webkitTextStrokeWidth=lo(ye,cu,Fe.webkitTextStrokeWidth),this.wordBreak=lo(ye,Ci,Fe.wordBreak),this.zIndex=lo(ye,Xi,Fe.zIndex)}return xt.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===Yr.VISIBLE},xt.prototype.isTransparent=function(){return Ba(this.backgroundColor)},xt.prototype.isTransformed=function(){return this.transform!==null},xt.prototype.isPositioned=function(){return this.position!==Rt.STATIC},xt.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},xt.prototype.isFloating=function(){return this.float!==Bl.NONE},xt.prototype.isInlineLevel=function(){return ls(this.display,4)||ls(this.display,33554432)||ls(this.display,268435456)||ls(this.display,536870912)||ls(this.display,67108864)||ls(this.display,134217728)},xt}(),ec=function(){function xt(ye,Fe){this.content=lo(ye,Ys,Fe.content),this.quotes=lo(ye,Cl,Fe.quotes)}return xt}(),al=function(){function xt(ye,Fe){this.counterIncrement=lo(ye,Rl,Fe.counterIncrement),this.counterReset=lo(ye,kl,Fe.counterReset)}return xt}(),lo=function(ye,Fe,Ke){var At=new Pn,cr=Ke!==null&&typeof Ke!="undefined"?Ke.toString():Fe.initialValue;At.write(cr);var Hr=new ct(At.read());switch(Fe.type){case 2:var sn=Hr.parseComponentValue();return Fe.parse(ye,xr(sn)?sn.value:Fe.initialValue);case 0:return Fe.parse(ye,Hr.parseComponentValue());case 1:return Fe.parse(ye,Hr.parseComponentValues());case 4:return Hr.parseComponentValue();case 3:switch(Fe.format){case"angle":return Aa.parse(ye,Hr.parseComponentValue());case"color":return oa.parse(ye,Hr.parseComponentValue());case"image":return hs.parse(ye,Hr.parseComponentValue());case"length":var wn=Hr.parseComponentValue();return si(wn)?wn:Zn;case"length-percentage":var jn=Hr.parseComponentValue();return oi(jn)?jn:Zn;case"time":return ga.parse(ye,Hr.parseComponentValue())}break}},Pc="data-html2canvas-debug",Cc=function(ye){var Fe=ye.getAttribute(Pc);switch(Fe){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ec=function(ye,Fe){var Ke=Cc(ye);return Ke===1||Fe===Ke},Ql=function(){function xt(ye,Fe){if(this.context=ye,this.textNodes=[],this.elements=[],this.flags=0,Ec(Fe,3))debugger;this.styles=new Jc(ye,window.getComputedStyle(Fe,null)),Ue(Fe)&&(this.styles.animationDuration.some(function(Ke){return Ke>0})&&(Fe.style.animationDuration="0s"),this.styles.transform!==null&&(Fe.style.transform="none")),this.bounds=d(this.context,Fe),Ec(Fe,4)&&(this.flags|=16)}return xt}(),Ac="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Vc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vc=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Lc=0;Lc>4,Mi[cr++]=(sn&15)<<4|wn>>2,Mi[cr++]=(wn&3)<<6|jn&63;return Gi},ms=function(ye){for(var Fe=ye.length,Ke=[],At=0;At>es,cc=1<>es,Fl=tc+tl,Zs=Fl,Nc=2048>>6,Ru=Zs+Nc,uu=65536>>Is,Hu=1<=0){if(ye<55296||ye>56319&&ye<=65535)return Fe=this.index[ye>>es],Fe=(Fe<>es)],Fe=(Fe<>Is),Fe=this.index[Fe],Fe+=ye>>es&Xc,Fe=this.index[Fe],Fe=(Fe<=55296&&cr<=56319&&Ke>10)+55296,sn%1024+56320)),(cr+1===Ke||At.length>16384)&&(Hr+=String.fromCharCode.apply(String,At),At.length=0)}return Hr},Fd=Dd(Ac),Yc="\xD7",ru="\xF7",Gu=function(ye){return Fd.get(ye)},Bd=function(ye,Fe,Ke){var At=Ke-2,cr=Fe[At],Hr=Fe[Ke-1],sn=Fe[Ke];if(Hr===Fc&&sn===Uc)return Yc;if(Hr===Fc||Hr===Uc||Hr===Fu)return ru;if(sn===Fc||sn===Uc||sn===Fu)return ru;if(Hr===Iu&&[Iu,yu,Wu,Vu].indexOf(sn)!==-1)return Yc;if((Hr===Wu||Hr===yu)&&(sn===yu||sn===Ku))return Yc;if((Hr===Vu||Hr===Ku)&&sn===Ku)return Yc;if(sn===$c||sn===zu)return Yc;if(sn===rd)return Yc;if(Hr===Rc)return Yc;if(Hr===$c&&sn===hu){for(;cr===zu;)cr=Fe[--At];if(cr===hu)return Yc}if(Hr===wu&&sn===wu){for(var wn=0;cr===wu;)wn++,cr=Fe[--At];if(wn%2===0)return Yc}return ru},nd=function(ye){var Fe=Xu(ye),Ke=Fe.length,At=0,cr=0,Hr=Fe.map(Gu);return{next:function(){if(At>=Ke)return{done:!0,value:null};for(var wn=Yc;Atsn.x||Mi.y>sn.y;return sn=Mi,Gi===0?!0:Qi});return ye.body.removeChild(Fe),wn},gd=function(){return typeof new Image().crossOrigin!="undefined"},Ad=function(){return typeof new XMLHttpRequest().responseType=="string"},id=function(ye){var Fe=new Image,Ke=ye.createElement("canvas"),At=Ke.getContext("2d");if(!At)return!1;Fe.src="data:image/svg+xml,";try{At.drawImage(Fe,0,0),Ke.toDataURL()}catch(cr){return!1}return!0},Lu=function(ye){return ye[0]===0&&ye[1]===255&&ye[2]===0&&ye[3]===255},ad=function(ye){var Fe=ye.createElement("canvas"),Ke=100;Fe.width=Ke,Fe.height=Ke;var At=Fe.getContext("2d");if(!At)return Promise.reject(!1);At.fillStyle="rgb(0, 255, 0)",At.fillRect(0,0,Ke,Ke);var cr=new Image,Hr=Fe.toDataURL();cr.src=Hr;var sn=Yu(Ke,Ke,0,0,cr);return At.fillStyle="red",At.fillRect(0,0,Ke,Ke),vd(sn).then(function(wn){At.drawImage(wn,0,0);var jn=At.getImageData(0,0,Ke,Ke).data;At.fillStyle="red",At.fillRect(0,0,Ke,Ke);var Gi=ye.createElement("div");return Gi.style.backgroundImage="url("+Hr+")",Gi.style.height=Ke+"px",Lu(jn)?vd(Yu(Ke,Ke,0,0,Gi)):Promise.reject(!1)}).then(function(wn){return At.drawImage(wn,0,0),Lu(At.getImageData(0,0,Ke,Ke).data)}).catch(function(){return!1})},Yu=function(ye,Fe,Ke,At,cr){var Hr="http://www.w3.org/2000/svg",sn=document.createElementNS(Hr,"svg"),wn=document.createElementNS(Hr,"foreignObject");return sn.setAttributeNS(null,"width",ye.toString()),sn.setAttributeNS(null,"height",Fe.toString()),wn.setAttributeNS(null,"width","100%"),wn.setAttributeNS(null,"height","100%"),wn.setAttributeNS(null,"x",Ke.toString()),wn.setAttributeNS(null,"y",At.toString()),wn.setAttributeNS(null,"externalResourcesRequired","true"),sn.appendChild(wn),wn.appendChild(cr),sn},vd=function(ye){return new Promise(function(Fe,Ke){var At=new Image;At.onload=function(){return Fe(At)},At.onerror=Ke,At.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ye))})},Zl={get SUPPORT_RANGE_BOUNDS(){var xt=xu(document);return Object.defineProperty(Zl,"SUPPORT_RANGE_BOUNDS",{value:xt}),xt},get SUPPORT_WORD_BREAKING(){var xt=Zl.SUPPORT_RANGE_BOUNDS&&Ou(document);return Object.defineProperty(Zl,"SUPPORT_WORD_BREAKING",{value:xt}),xt},get SUPPORT_SVG_DRAWING(){var xt=id(document);return Object.defineProperty(Zl,"SUPPORT_SVG_DRAWING",{value:xt}),xt},get SUPPORT_FOREIGNOBJECT_DRAWING(){var xt=typeof Array.from=="function"&&typeof window.fetch=="function"?ad(document):Promise.resolve(!1);return Object.defineProperty(Zl,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:xt}),xt},get SUPPORT_CORS_IMAGES(){var xt=gd();return Object.defineProperty(Zl,"SUPPORT_CORS_IMAGES",{value:xt}),xt},get SUPPORT_RESPONSE_TYPE(){var xt=Ad();return Object.defineProperty(Zl,"SUPPORT_RESPONSE_TYPE",{value:xt}),xt},get SUPPORT_CORS_XHR(){var xt="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Zl,"SUPPORT_CORS_XHR",{value:xt}),xt}},jc=function(){function xt(ye,Fe){this.text=ye,this.bounds=Fe}return xt}(),iu=function(ye,Fe,Ke,At){var cr=qc(Fe,Ke),Hr=[],sn=0;return cr.forEach(function(wn){if(Ke.textDecorationLine.length||wn.trim().length>0)if(Zl.SUPPORT_RANGE_BOUNDS)Zl.SUPPORT_WORD_BREAKING?Hr.push(new jc(wn,pu(ye,At,sn,wn.length))):Hr.push(new jc(wn,m.fromDOMRectList(ye,Zu(At,sn,wn.length).getClientRects())));else{var jn=At.splitText(wn.length);Hr.push(new jc(wn,Qu(ye,At))),At=jn}else Zl.SUPPORT_RANGE_BOUNDS||(At=At.splitText(wn.length));sn+=wn.length}),Hr},Qu=function(ye,Fe){var Ke=Fe.ownerDocument;if(Ke){var At=Ke.createElement("html2canvaswrapper");At.appendChild(Fe.cloneNode(!0));var cr=Fe.parentNode;if(cr){cr.replaceChild(At,Fe);var Hr=d(ye,At);return At.firstChild&&cr.replaceChild(At.firstChild,At),Hr}}return m.EMPTY},Zu=function(ye,Fe,Ke){var At=ye.ownerDocument;if(!At)throw new Error("Node has no owner document");var cr=At.createRange();return cr.setStart(ye,Fe),cr.setEnd(ye,Fe+Ke),cr},pu=function(ye,Fe,Ke,At){return m.fromClientRect(ye,Zu(Fe,Ke,At).getBoundingClientRect())},qc=function(ye,Fe){return Fe.letterSpacing!==0?fu(ye):kd(ye,Fe)},bd=[32,160,4961,65792,65793,4153,4241],kd=function(ye,Fe){for(var Ke=cn(ye,{lineBreak:Fe.lineBreak,wordBreak:Fe.overflowWrap==="break-word"?"break-word":Fe.wordBreak}),At=[],cr,Hr=function(){if(cr.value){var wn=cr.value.slice(),jn=n(wn),Gi="";jn.forEach(function(Mi){bd.indexOf(Mi)===-1?Gi+=s(Mi):(Gi.length&&At.push(Gi),At.push(s(Mi)),Gi="")}),Gi.length&&At.push(Gi)}};!(cr=Ke.next()).done;)Hr();return At},Pd=function(){function xt(ye,Fe,Ke){this.text=yd(Fe.data,Ke.textTransform),this.textBounds=iu(ye,this.text,Ke,Fe)}return xt}(),yd=function(ye,Fe){switch(Fe){case ri.LOWERCASE:return ye.toLowerCase();case ri.CAPITALIZE:return ye.replace(wd,Ud);case ri.UPPERCASE:return ye.toUpperCase();default:return ye}},wd=/(^|\s|:|-|\(|\))([a-z])/g,Ud=function(ye,Fe,Ke){return ye.length>0?Fe+Ke.toUpperCase():ye},od=function(xt){b(ye,xt);function ye(Fe,Ke){var At=xt.call(this,Fe,Ke)||this;return At.src=Ke.currentSrc||Ke.src,At.intrinsicWidth=Ke.naturalWidth,At.intrinsicHeight=Ke.naturalHeight,At.context.cache.addImage(At.src),At}return ye}(Ql),mu=function(xt){b(ye,xt);function ye(Fe,Ke){var At=xt.call(this,Fe,Ke)||this;return At.canvas=Ke,At.intrinsicWidth=Ke.width,At.intrinsicHeight=Ke.height,At}return ye}(Ql),gu=function(xt){b(ye,xt);function ye(Fe,Ke){var At=xt.call(this,Fe,Ke)||this,cr=new XMLSerializer,Hr=d(Fe,Ke);return Ke.setAttribute("width",Hr.width+"px"),Ke.setAttribute("height",Hr.height+"px"),At.svg="data:image/svg+xml,"+encodeURIComponent(cr.serializeToString(Ke)),At.intrinsicWidth=Ke.width.baseVal.value,At.intrinsicHeight=Ke.height.baseVal.value,At.context.cache.addImage(At.svg),At}return ye}(Ql),Bu=function(xt){b(ye,xt);function ye(Fe,Ke){var At=xt.call(this,Fe,Ke)||this;return At.value=Ke.value,At}return ye}(Ql),Nu=function(xt){b(ye,xt);function ye(Fe,Ke){var At=xt.call(this,Fe,Ke)||this;return At.start=Ke.start,At.reversed=typeof Ke.reversed=="boolean"&&Ke.reversed===!0,At}return ye}(Ql),xd=[{type:15,flags:0,unit:"px",number:3}],Ju=[{type:16,flags:0,number:50}],sd=function(ye){return ye.width>ye.height?new m(ye.left+(ye.width-ye.height)/2,ye.top,ye.height,ye.height):ye.width0)Ke.textNodes.push(new Pd(ye,cr,Ke.styles));else if(Kr(cr))if(xi(cr)&&cr.assignedNodes)cr.assignedNodes().forEach(function(wn){return xt(ye,wn,Ke,At)});else{var sn=_e(ye,cr);sn.styles.isVisible()&&(Ot(cr,sn,At)?sn.flags|=4:ur(sn.styles)&&(sn.flags|=2),Pu.indexOf(cr.tagName)!==-1&&(sn.flags|=8),Ke.elements.push(sn),cr.slot,cr.shadowRoot?xt(ye,cr.shadowRoot,sn,At):!qr(cr)&&!Zt(cr)&&!Ln(cr)&&xt(ye,cr,sn,At))}},_e=function(ye,Fe){return Xr(Fe)?new od(ye,Fe):Fr(Fe)?new mu(ye,Fe):Zt(Fe)?new gu(ye,Fe):Oe(Fe)?new Bu(ye,Fe):tt(Fe)?new Nu(ye,Fe):wt(Fe)?new $u(ye,Fe):Ln(Fe)?new ld(ye,Fe):qr(Fe)?new ku(ye,Fe):Mr(Fe)?new Cd(ye,Fe):new Ql(ye,Fe)},Je=function(ye,Fe){var Ke=_e(ye,Fe);return Ke.flags|=4,qu(ye,Fe,Ke,Ke),Ke},Ot=function(ye,Fe,Ke){return Fe.styles.isPositionedWithZIndex()||Fe.styles.opacity<1||Fe.styles.isTransformed()||Jt(ye)&&Ke.styles.isTransparent()},ur=function(ye){return ye.isPositioned()||ye.isFloating()},Or=function(ye){return ye.nodeType===Node.TEXT_NODE},Kr=function(ye){return ye.nodeType===Node.ELEMENT_NODE},Ue=function(ye){return Kr(ye)&&typeof ye.style!="undefined"&&!se(ye)},se=function(ye){return typeof ye.className=="object"},Oe=function(ye){return ye.tagName==="LI"},tt=function(ye){return ye.tagName==="OL"},wt=function(ye){return ye.tagName==="INPUT"},zt=function(ye){return ye.tagName==="HTML"},Zt=function(ye){return ye.tagName==="svg"},Jt=function(ye){return ye.tagName==="BODY"},Fr=function(ye){return ye.tagName==="CANVAS"},Xr=function(ye){return ye.tagName==="IMG"},Mr=function(ye){return ye.tagName==="IFRAME"},Ir=function(ye){return ye.tagName==="STYLE"},zr=function(ye){return ye.tagName==="SCRIPT"},qr=function(ye){return ye.tagName==="TEXTAREA"},Ln=function(ye){return ye.tagName==="SELECT"},xi=function(ye){return ye.tagName==="SLOT"},Wi=function(){function xt(){this.counters={}}return xt.prototype.getCounterValue=function(ye){var Fe=this.counters[ye];return Fe&&Fe.length?Fe[Fe.length-1]:1},xt.prototype.getCounterValues=function(ye){var Fe=this.counters[ye];return Fe||[]},xt.prototype.pop=function(ye){var Fe=this;ye.forEach(function(Ke){return Fe.counters[Ke].pop()})},xt.prototype.parse=function(ye){var Fe=this,Ke=ye.counterIncrement,At=ye.counterReset,cr=!0;Ke!==null&&Ke.forEach(function(sn){var wn=Fe.counters[sn.counter];wn&&sn.increment!==0&&(cr=!1,wn.length||wn.push(1),wn[Math.max(0,wn.length-1)]+=sn.increment)});var Hr=[];return cr&&At.forEach(function(sn){var wn=Fe.counters[sn.counter];Hr.push(sn.counter),wn||(wn=Fe.counters[sn.counter]=[]),wn.push(sn.reset)}),Hr},xt}(),_a={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Ji={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Co={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},ja={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},zo=function(ye,Fe,Ke,At,cr,Hr){return yeKe?vr(ye,cr,Hr.length>0):At.integers.reduce(function(sn,wn,jn){for(;ye>=wn;)ye-=wn,sn+=At.values[jn];return sn},"")+Hr},Eo=function(ye,Fe,Ke,At){var cr="";do Ke||ye--,cr=At(ye)+cr,ye/=Fe;while(ye*Fe>=Fe);return cr},ko=function(ye,Fe,Ke,At,cr){var Hr=Ke-Fe+1;return(ye<0?"-":"")+(Eo(Math.abs(ye),Hr,At,function(sn){return s(Math.floor(sn%Hr)+Fe)})+cr)},Ns=function(ye,Fe,Ke){Ke===void 0&&(Ke=". ");var At=Fe.length;return Eo(Math.abs(ye),At,!1,function(cr){return Fe[Math.floor(cr%At)]})+Ke},D=1<<0,U=1<<1,oe=1<<2,le=1<<3,Ae=function(ye,Fe,Ke,At,cr,Hr){if(ye<-9999||ye>9999)return vr(ye,da.CJK_DECIMAL,cr.length>0);var sn=Math.abs(ye),wn=cr;if(sn===0)return Fe[0]+wn;for(var jn=0;sn>0&&jn<=4;jn++){var Gi=sn%10;Gi===0&&ls(Hr,D)&&wn!==""?wn=Fe[Gi]+wn:Gi>1||Gi===1&&jn===0||Gi===1&&jn===1&&ls(Hr,U)||Gi===1&&jn===1&&ls(Hr,oe)&&ye>100||Gi===1&&jn>1&&ls(Hr,le)?wn=Fe[Gi]+(jn>0?Ke[jn-1]:"")+wn:Gi===1&&jn>0&&(wn=Ke[jn-1]+wn),sn=Math.floor(sn/10)}return(ye<0?At:"")+wn},We="\u5341\u767E\u5343\u842C",Tt="\u62FE\u4F70\u4EDF\u842C",Qt="\u30DE\u30A4\u30CA\u30B9",fr="\uB9C8\uC774\uB108\uC2A4",vr=function(ye,Fe,Ke){var At=Ke?". ":"",cr=Ke?"\u3001":"",Hr=Ke?", ":"",sn=Ke?" ":"";switch(Fe){case da.DISC:return"\u2022"+sn;case da.CIRCLE:return"\u25E6"+sn;case da.SQUARE:return"\u25FE"+sn;case da.DECIMAL_LEADING_ZERO:var wn=ko(ye,48,57,!0,At);return wn.length<4?"0"+wn:wn;case da.CJK_DECIMAL:return Ns(ye,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",cr);case da.LOWER_ROMAN:return zo(ye,1,3999,_a,da.DECIMAL,At).toLowerCase();case da.UPPER_ROMAN:return zo(ye,1,3999,_a,da.DECIMAL,At);case da.LOWER_GREEK:return ko(ye,945,969,!1,At);case da.LOWER_ALPHA:return ko(ye,97,122,!1,At);case da.UPPER_ALPHA:return ko(ye,65,90,!1,At);case da.ARABIC_INDIC:return ko(ye,1632,1641,!0,At);case da.ARMENIAN:case da.UPPER_ARMENIAN:return zo(ye,1,9999,Ji,da.DECIMAL,At);case da.LOWER_ARMENIAN:return zo(ye,1,9999,Ji,da.DECIMAL,At).toLowerCase();case da.BENGALI:return ko(ye,2534,2543,!0,At);case da.CAMBODIAN:case da.KHMER:return ko(ye,6112,6121,!0,At);case da.CJK_EARTHLY_BRANCH:return Ns(ye,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",cr);case da.CJK_HEAVENLY_STEM:return Ns(ye,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",cr);case da.CJK_IDEOGRAPHIC:case da.TRAD_CHINESE_INFORMAL:return Ae(ye,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",We,"\u8CA0",cr,U|oe|le);case da.TRAD_CHINESE_FORMAL:return Ae(ye,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Tt,"\u8CA0",cr,D|U|oe|le);case da.SIMP_CHINESE_INFORMAL:return Ae(ye,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",We,"\u8D1F",cr,U|oe|le);case da.SIMP_CHINESE_FORMAL:return Ae(ye,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Tt,"\u8D1F",cr,D|U|oe|le);case da.JAPANESE_INFORMAL:return Ae(ye,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Qt,cr,0);case da.JAPANESE_FORMAL:return Ae(ye,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Qt,cr,D|U|oe);case da.KOREAN_HANGUL_FORMAL:return Ae(ye,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",fr,Hr,D|U|oe);case da.KOREAN_HANJA_INFORMAL:return Ae(ye,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",fr,Hr,0);case da.KOREAN_HANJA_FORMAL:return Ae(ye,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",fr,Hr,D|U|oe);case da.DEVANAGARI:return ko(ye,2406,2415,!0,At);case da.GEORGIAN:return zo(ye,1,19999,ja,da.DECIMAL,At);case da.GUJARATI:return ko(ye,2790,2799,!0,At);case da.GURMUKHI:return ko(ye,2662,2671,!0,At);case da.HEBREW:return zo(ye,1,10999,Co,da.DECIMAL,At);case da.HIRAGANA:return Ns(ye,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case da.HIRAGANA_IROHA:return Ns(ye,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case da.KANNADA:return ko(ye,3302,3311,!0,At);case da.KATAKANA:return Ns(ye,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",cr);case da.KATAKANA_IROHA:return Ns(ye,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",cr);case da.LAO:return ko(ye,3792,3801,!0,At);case da.MONGOLIAN:return ko(ye,6160,6169,!0,At);case da.MYANMAR:return ko(ye,4160,4169,!0,At);case da.ORIYA:return ko(ye,2918,2927,!0,At);case da.PERSIAN:return ko(ye,1776,1785,!0,At);case da.TAMIL:return ko(ye,3046,3055,!0,At);case da.TELUGU:return ko(ye,3174,3183,!0,At);case da.THAI:return ko(ye,3664,3673,!0,At);case da.TIBETAN:return ko(ye,3872,3881,!0,At);case da.DECIMAL:default:return ko(ye,48,57,!0,At)}},xn="data-html2canvas-ignore",Hn=function(){function xt(ye,Fe,Ke){if(this.context=ye,this.options=Ke,this.scrolledElements=[],this.referenceElement=Fe,this.counters=new Wi,this.quoteDepth=0,!Fe.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(Fe.ownerDocument.documentElement)}return xt.prototype.toIFrame=function(ye,Fe){var Ke=this,At=ci(ye,Fe);if(!At.contentWindow)return Promise.reject("Unable to find iframe window");var cr=ye.defaultView.pageXOffset,Hr=ye.defaultView.pageYOffset,sn=At.contentWindow,wn=sn.document,jn=$a(At).then(function(){return f(Ke,void 0,void 0,function(){var Gi,Mi;return t(this,function(Qi){switch(Qi.label){case 0:return this.scrolledElements.forEach(ws),sn&&(sn.scrollTo(Fe.left,Fe.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(sn.scrollY!==Fe.top||sn.scrollX!==Fe.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(sn.scrollX-Fe.left,sn.scrollY-Fe.top,0,0))),Gi=this.options.onclone,Mi=this.clonedReferenceElement,typeof Mi=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:wn.fonts&&wn.fonts.ready?[4,wn.fonts.ready]:[3,2];case 1:Qi.sent(),Qi.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Pa(wn)]:[3,4];case 3:Qi.sent(),Qi.label=4;case 4:return typeof Gi=="function"?[2,Promise.resolve().then(function(){return Gi(wn,Mi)}).then(function(){return At})]:[2,At]}})})});return wn.open(),wn.write(uo(document.doctype)+""),Fo(this.referenceElement.ownerDocument,cr,Hr),wn.replaceChild(wn.adoptNode(this.documentElement),wn.documentElement),wn.close(),jn},xt.prototype.createElementClone=function(ye){if(Ec(ye,2))debugger;if(Fr(ye))return this.createCanvasClone(ye);if(Ir(ye))return this.createStyleClone(ye);var Fe=ye.cloneNode(!1);return Xr(Fe)&&(Xr(ye)&&ye.currentSrc&&ye.currentSrc!==ye.src&&(Fe.src=ye.currentSrc,Fe.srcset=""),Fe.loading==="lazy"&&(Fe.loading="eager")),Fe},xt.prototype.createStyleClone=function(ye){try{var Fe=ye.sheet;if(Fe&&Fe.cssRules){var Ke=[].slice.call(Fe.cssRules,0).reduce(function(cr,Hr){return Hr&&typeof Hr.cssText=="string"?cr+Hr.cssText:cr},""),At=ye.cloneNode(!1);return At.textContent=Ke,At}}catch(cr){if(this.context.logger.error("Unable to access cssRules property",cr),cr.name!=="SecurityError")throw cr}return ye.cloneNode(!1)},xt.prototype.createCanvasClone=function(ye){var Fe;if(this.options.inlineImages&&ye.ownerDocument){var Ke=ye.ownerDocument.createElement("img");try{return Ke.src=ye.toDataURL(),Ke}catch(jn){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",ye)}}var At=ye.cloneNode(!1);try{At.width=ye.width,At.height=ye.height;var cr=ye.getContext("2d"),Hr=At.getContext("2d");if(Hr)if(!this.options.allowTaint&&cr)Hr.putImageData(cr.getImageData(0,0,ye.width,ye.height),0,0);else{var sn=(Fe=ye.getContext("webgl2"))!==null&&Fe!==void 0?Fe:ye.getContext("webgl");if(sn){var wn=sn.getContextAttributes();(wn==null?void 0:wn.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",ye)}Hr.drawImage(ye,0,0)}return At}catch(jn){this.context.logger.info("Unable to clone canvas as it is tainted",ye)}return At},xt.prototype.cloneNode=function(ye){if(Or(ye))return document.createTextNode(ye.data);if(!ye.ownerDocument)return ye.cloneNode(!1);var Fe=ye.ownerDocument.defaultView;if(Fe&&Kr(ye)&&(Ue(ye)||se(ye))){var Ke=this.createElementClone(ye);Ke.style.transitionProperty="none";var At=Fe.getComputedStyle(ye),cr=Fe.getComputedStyle(ye,":before"),Hr=Fe.getComputedStyle(ye,":after");this.referenceElement===ye&&Ue(Ke)&&(this.clonedReferenceElement=Ke),Jt(Ke)&&bc(Ke);for(var sn=this.counters.parse(new al(this.context,At)),wn=this.resolvePseudoContent(ye,Ke,cr,hi.BEFORE),jn=ye.firstChild;jn;jn=jn.nextSibling)(!Kr(jn)||!zr(jn)&&!jn.hasAttribute(xn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(jn)))&&((!this.options.copyStyles||!Kr(jn)||!Ir(jn))&&Ke.appendChild(this.cloneNode(jn)));wn&&Ke.insertBefore(wn,Ke.firstChild);var Gi=this.resolvePseudoContent(ye,Ke,Hr,hi.AFTER);return Gi&&Ke.appendChild(Gi),this.counters.pop(sn),At&&(this.options.copyStyles||se(ye))&&!Mr(ye)&&Wa(At,Ke),(ye.scrollTop!==0||ye.scrollLeft!==0)&&this.scrolledElements.push([Ke,ye.scrollLeft,ye.scrollTop]),(qr(ye)||Ln(ye))&&(qr(Ke)||Ln(Ke))&&(Ke.value=ye.value),Ke}return ye.cloneNode(!1)},xt.prototype.resolvePseudoContent=function(ye,Fe,Ke,At){var cr=this;if(!Ke)return;var Hr=Ke.content,sn=Fe.ownerDocument;if(!sn||!Hr||Hr==="none"||Hr==="-moz-alt-content"||Ke.display==="none")return;this.counters.parse(new al(this.context,Ke));var wn=new ec(this.context,Ke),jn=sn.createElement("html2canvaspseudoelement");Wa(Ke,jn),wn.content.forEach(function(Mi){if(Mi.type===0)jn.appendChild(sn.createTextNode(Mi.value));else if(Mi.type===22){var Qi=sn.createElement("img");Qi.src=Mi.value,Qi.style.opacity="1",jn.appendChild(Qi)}else if(Mi.type===18){if(Mi.name==="attr"){var wo=Mi.values.filter(xr);wo.length&&jn.appendChild(sn.createTextNode(ye.getAttribute(wo[0].value)||""))}else if(Mi.name==="counter"){var fo=Mi.values.filter(On),Bo=fo[0],Ds=fo[1];if(Bo&&xr(Bo)){var fs=cr.counters.getCounterValue(Bo.value),cs=Ds&&xr(Ds)?Oc.parse(cr.context,Ds.value):da.DECIMAL;jn.appendChild(sn.createTextNode(vr(fs,cs,!1)))}}else if(Mi.name==="counters"){var yl=Mi.values.filter(On),Bo=yl[0],Nl=yl[1],Ds=yl[2];if(Bo&&xr(Bo)){var Cs=cr.counters.getCounterValues(Bo.value),Wo=Ds&&xr(Ds)?Oc.parse(cr.context,Ds.value):da.DECIMAL,Ul=Nl&&Nl.type===0?Nl.value:"",jl=Cs.map(function(Uu){return vr(Uu,Wo,!1)}).join(Ul);jn.appendChild(sn.createTextNode(jl))}}}else if(Mi.type===20)switch(Mi.value){case"open-quote":jn.appendChild(sn.createTextNode(mc(wn.quotes,cr.quoteDepth++,!0)));break;case"close-quote":jn.appendChild(sn.createTextNode(mc(wn.quotes,--cr.quoteDepth,!1)));break;default:jn.appendChild(sn.createTextNode(Mi.value))}}),jn.className=hl+" "+Pl;var Gi=At===hi.BEFORE?" "+hl:" "+Pl;return se(Fe)?Fe.className.baseValue+=Gi:Fe.className+=Gi,jn},xt.destroy=function(ye){return ye.parentNode?(ye.parentNode.removeChild(ye),!0):!1},xt}(),hi;(function(xt){xt[xt.BEFORE=0]="BEFORE",xt[xt.AFTER=1]="AFTER"})(hi||(hi={}));var ci=function(ye,Fe){var Ke=ye.createElement("iframe");return Ke.className="html2canvas-container",Ke.style.visibility="hidden",Ke.style.position="fixed",Ke.style.left="-10000px",Ke.style.top="0px",Ke.style.border="0",Ke.width=Fe.width.toString(),Ke.height=Fe.height.toString(),Ke.scrolling="no",Ke.setAttribute(xn,"true"),ye.body.appendChild(Ke),Ke},ra=function(ye){return new Promise(function(Fe){if(ye.complete){Fe();return}if(!ye.src){Fe();return}ye.onload=Fe,ye.onerror=Fe})},Pa=function(ye){return Promise.all([].slice.call(ye.images,0).map(ra))},$a=function(ye){return new Promise(function(Fe,Ke){var At=ye.contentWindow;if(!At)return Ke("No window assigned for iframe");var cr=At.document;At.onload=ye.onload=function(){At.onload=ye.onload=null;var Hr=setInterval(function(){cr.body.childNodes.length>0&&cr.readyState==="complete"&&(clearInterval(Hr),Fe(ye))},50)}})},Qa=["all","d","content"],Wa=function(ye,Fe){for(var Ke=ye.length-1;Ke>=0;Ke--){var At=ye.item(Ke);Qa.indexOf(At)===-1&&Fe.style.setProperty(At,ye.getPropertyValue(At))}return Fe},uo=function(ye){var Fe="";return ye&&(Fe+=""),Fe},Fo=function(ye,Fe,Ke){ye&&ye.defaultView&&(Fe!==ye.defaultView.pageXOffset||Ke!==ye.defaultView.pageYOffset)&&ye.defaultView.scrollTo(Fe,Ke)},ws=function(ye){var Fe=ye[0],Ke=ye[1],At=ye[2];Fe.scrollLeft=Ke,Fe.scrollTop=At},ts=":before",js=":after",hl="___html2canvas___pseudoelement_before",Pl="___html2canvas___pseudoelement_after",Ll=`{ +***************************************************************************** */var x=function(ye,Fe){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(We,At){We.__proto__=At}||function(We,At){for(var cr in At)Object.prototype.hasOwnProperty.call(At,cr)&&(We[cr]=At[cr])},x(ye,Fe)};function b(xt,ye){if(typeof ye!="function"&&ye!==null)throw new TypeError("Class extends value "+String(ye)+" is not a constructor or null");x(xt,ye);function Fe(){this.constructor=xt}xt.prototype=ye===null?Object.create(ye):(Fe.prototype=ye.prototype,new Fe)}var A=function(){return A=Object.assign||function(Fe){for(var We,At=1,cr=arguments.length;At0&&cr[cr.length-1])&&(jn[0]===6||jn[0]===2)){Fe=0;continue}if(jn[0]===3&&(!cr||jn[1]>cr[0]&&jn[1]=55296&&cr<=56319&&We>10)+55296,sn%1024+56320)),(cr+1===We||At.length>16384)&&(Hr+=String.fromCharCode.apply(String,At),At.length=0)}return Hr},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),u=0;u>4,Mi[cr++]=(sn&15)<<4|wn>>2,Mi[cr++]=(wn&3)<<6|jn&63;return Gi},o=function(ye){for(var Fe=ye.length,We=[],At=0;At>p,S=1<>p,C=w+I,E=C,O=2048>>6,M=E+O,F=65536>>g,H=1<=0){if(ye<55296||ye>56319&&ye<=65535)return Fe=this.index[ye>>p],Fe=(Fe<>p)],Fe=(Fe<>g),Fe=this.index[Fe],Fe+=ye>>p&B,Fe=this.index[Fe],Fe=(Fe<W?(cr.push(!0),wn-=W):cr.push(!1),["normal","auto","loose"].indexOf(Fe)!==-1&&[8208,8211,12316,12448].indexOf(Hr)!==-1)return At.push(sn),We.push(ue);if(wn===q||wn===Se){if(sn===0)return At.push(sn),We.push(yt);var jn=We[sn-1];return Wt.indexOf(jn)===-1?(At.push(At[sn-1]),We.push(jn)):(At.push(sn),We.push(yt))}if(At.push(sn),wn===pt)return We.push(Fe==="strict"?te:Kt);if(wn===de)return We.push(yt);if(wn===it)return We.push(yt);if(wn===qe)return Hr>=131072&&Hr<=196605||Hr>=196608&&Hr<=262141?We.push(Kt):We.push(yt);We.push(wn)}),[At,We,cr]},Gt=function(ye,Fe,We,At){var cr=At[We];if(Array.isArray(ye)?ye.indexOf(cr)!==-1:ye===cr)for(var Hr=We;Hr<=At.length;){Hr++;var sn=At[Hr];if(sn===Fe)return!0;if(sn!==xe)break}if(cr===xe)for(var Hr=We;Hr>0;){Hr--;var wn=At[Hr];if(Array.isArray(ye)?ye.indexOf(wn)!==-1:ye===wn)for(var jn=We;jn<=At.length;){jn++;var sn=At[jn];if(sn===Fe)return!0;if(sn!==xe)break}if(wn!==xe)break}return!1},yr=function(ye,Fe){for(var We=ye;We>=0;){var At=Fe[We];if(At===xe)We--;else return At}return 0},br=function(ye,Fe,We,At,cr){if(We[At]===0)return bt;var Hr=At-1;if(Array.isArray(cr)&&cr[Hr]===!0)return bt;var sn=Hr-1,wn=Hr+1,jn=Fe[Hr],Gi=sn>=0?Fe[sn]:0,Mi=Fe[wn];if(jn===G&&Mi===V)return bt;if(Ar.indexOf(jn)!==-1)return ve;if(Ar.indexOf(Mi)!==-1)return bt;if(at.indexOf(Mi)!==-1)return bt;if(yr(Hr,Fe)===ie)return jt;if(He.get(ye[Hr])===Se)return bt;if((jn===Pe||jn===Nt)&&He.get(ye[wn])===Se)return bt;if(jn===ce||Mi===ce)return bt;if(jn===fe)return bt;if([xe,ge,ee].indexOf(jn)===-1&&Mi===fe)return bt;if([Ge,ae,Z,De,Re].indexOf(Mi)!==-1)return bt;if(yr(Hr,Fe)===we)return bt;if(Gt(pe,we,Hr,Fe))return bt;if(Gt([Ge,ae],te,Hr,Fe))return bt;if(Gt(ke,ke,Hr,Fe))return bt;if(jn===xe)return jt;if(jn===pe||Mi===pe)return bt;if(Mi===ue||jn===ue)return jt;if([ge,ee,te].indexOf(Mi)!==-1||jn===Be)return bt;if(Gi===Ut&&et.indexOf(jn)!==-1)return bt;if(jn===Re&&Mi===Ut)return bt;if(Mi===Y)return bt;if(kt.indexOf(Mi)!==-1&&jn===Ne||kt.indexOf(jn)!==-1&&Mi===Ne)return bt;if(jn===be&&[Kt,Pe,Nt].indexOf(Mi)!==-1||[Kt,Pe,Nt].indexOf(jn)!==-1&&Mi===me)return bt;if(kt.indexOf(jn)!==-1&&Ht.indexOf(Mi)!==-1||Ht.indexOf(jn)!==-1&&kt.indexOf(Mi)!==-1)return bt;if([be,me].indexOf(jn)!==-1&&(Mi===Ne||[we,ee].indexOf(Mi)!==-1&&Fe[wn+1]===Ne)||[we,ee].indexOf(jn)!==-1&&Mi===Ne||jn===Ne&&[Ne,Re,De].indexOf(Mi)!==-1)return bt;if([Ne,Re,De,Ge,ae].indexOf(Mi)!==-1)for(var Qi=Hr;Qi>=0;){var wo=Fe[Qi];if(wo===Ne)return bt;if([Re,De].indexOf(wo)!==-1)Qi--;else break}if([be,me].indexOf(Mi)!==-1)for(var Qi=[Ge,ae].indexOf(jn)!==-1?sn:Hr;Qi>=0;){var wo=Fe[Qi];if(wo===Ne)return bt;if([Re,De].indexOf(wo)!==-1)Qi--;else break}if($t===jn&&[$t,or,ut,Ft].indexOf(Mi)!==-1||[or,ut].indexOf(jn)!==-1&&[or,ht].indexOf(Mi)!==-1||[ht,Ft].indexOf(jn)!==-1&&Mi===ht)return bt;if(ot.indexOf(jn)!==-1&&[Y,me].indexOf(Mi)!==-1||ot.indexOf(Mi)!==-1&&jn===be)return bt;if(kt.indexOf(jn)!==-1&&kt.indexOf(Mi)!==-1)return bt;if(jn===De&&kt.indexOf(Mi)!==-1)return bt;if(kt.concat(Ne).indexOf(jn)!==-1&&Mi===we&&rt.indexOf(ye[wn])===-1||kt.concat(Ne).indexOf(Mi)!==-1&&jn===ae)return bt;if(jn===Ee&&Mi===Ee){for(var fo=We[Hr],Bo=1;fo>0&&(fo--,Fe[fo]===Ee);)Bo++;if(Bo%2!==0)return bt}return jn===Pe&&Mi===Nt?bt:jt},Sr=function(ye,Fe){Fe||(Fe={lineBreak:"normal",wordBreak:"normal"});var We=Ze(ye,Fe.lineBreak),At=We[0],cr=We[1],Hr=We[2];(Fe.wordBreak==="break-all"||Fe.wordBreak==="break-word")&&(cr=cr.map(function(wn){return[Ne,yt,de].indexOf(wn)!==-1?Kt:wn}));var sn=Fe.wordBreak==="keep-all"?Hr.map(function(wn,jn){return wn&&ye[jn]>=19968&&ye[jn]<=40959}):void 0;return[At,cr,sn]},Tn=function(){function xt(ye,Fe,We,At){this.codePoints=ye,this.required=Fe===ve,this.start=We,this.end=At}return xt.prototype.slice=function(){return s.apply(void 0,this.codePoints.slice(this.start,this.end))},xt}(),cn=function(ye,Fe){var We=n(ye),At=Sr(We,Fe),cr=At[0],Hr=At[1],sn=At[2],wn=We.length,jn=0,Gi=0;return{next:function(){if(Gi>=wn)return{done:!0,value:null};for(var Qi=bt;Gi=sr&&ye<=57},mi=function(ye){return ye>=55296&&ye<=57343},va=function(ye){return Yi(ye)||ye>=Vn&&ye<=Ni||ye>=Bn&&ye<=gn},zn=function(ye){return ye>=Bn&&ye<=Br},fn=function(ye){return ye>=Vn&&ye<=zi},$n=function(ye){return zn(ye)||fn(ye)},Cn=function(ye){return ye>=la},ki=function(ye){return ye===ze||ye===ir||ye===Xt},In=function(ye){return $n(ye)||Cn(ye)||ye===gr},na=function(ye){return In(ye)||Yi(ye)||ye===Mt},Ei=function(ye){return ye>=ft&&ye<=Bt||ye===Et||ye>=nr&&ye<=Ur||ye===Lr},pi=function(ye,Fe){return ye!==gt?!1:Fe!==ze},Ri=function(ye,Fe,We){return ye===Mt?In(Fe)||pi(Fe,We):In(ye)?!0:!!(ye===gt&&pi(ye,Fe))},Na=function(ye,Fe,We){return ye===Me||ye===Mt?Yi(Fe)?!0:Fe===nt&&Yi(We):ye===nt?Yi(Fe):Yi(ye)},Un=function(ye){var Fe=0,We=1;(ye[Fe]===Me||ye[Fe]===Mt)&&(ye[Fe]===Mt&&(We=-1),Fe++);for(var At=[];Yi(ye[Fe]);)At.push(ye[Fe++]);var cr=At.length?parseInt(s.apply(void 0,At),10):0;ye[Fe]===nt&&Fe++;for(var Hr=[];Yi(ye[Fe]);)Hr.push(ye[Fe++]);var sn=Hr.length,wn=sn?parseInt(s.apply(void 0,Hr),10):0;(ye[Fe]===gi||ye[Fe]===Er)&&Fe++;var jn=1;(ye[Fe]===Me||ye[Fe]===Mt)&&(ye[Fe]===Mt&&(jn=-1),Fe++);for(var Gi=[];Yi(ye[Fe]);)Gi.push(ye[Fe++]);var Mi=Gi.length?parseInt(s.apply(void 0,Gi),10):0;return We*(cr+wn*Math.pow(10,-sn))*Math.pow(10,jn*Mi)},nn={type:2},Yn={type:3},bi={type:4},Oi={type:13},_i={type:8},Zi={type:21},qi={type:9},ea={type:10},ya={type:11},co={type:12},io={type:14},rs={type:23},Pi={type:1},dn={type:25},ha={type:24},ba={type:26},ta={type:27},so={type:28},lr={type:29},pn={type:31},_n={type:32},Pn=function(){function xt(){this._value=[]}return xt.prototype.write=function(ye){this._value=this._value.concat(n(ye))},xt.prototype.read=function(){for(var ye=[],Fe=this.consumeToken();Fe!==_n;)ye.push(Fe),Fe=this.consumeToken();return ye},xt.prototype.consumeToken=function(){var ye=this.consumeCodePoint();switch(ye){case er:return this.consumeStringToken(er);case en:var Fe=this.peekCodePoint(0),We=this.peekCodePoint(1),At=this.peekCodePoint(2);if(na(Fe)||pi(We,At)){var cr=Ri(Fe,We,At)?lt:Wn,Hr=this.consumeName();return{type:5,value:Hr,flags:cr}}break;case Fn:if(this.peekCodePoint(0)===Kr)return this.consumeCodePoint(),Oi;break;case It:return this.consumeStringToken(It);case Ct:return nn;case mr:return Yn;case dt:if(this.peekCodePoint(0)===Kr)return this.consumeCodePoint(),io;break;case Me:if(Na(ye,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ye),this.consumeNumericToken();break;case Xe:return bi;case Mt:var sn=ye,wn=this.peekCodePoint(0),jn=this.peekCodePoint(1);if(Na(sn,wn,jn))return this.reconsumeCodePoint(ye),this.consumeNumericToken();if(Ri(sn,wn,jn))return this.reconsumeCodePoint(ye),this.consumeIdentLikeToken();if(wn===Mt&&jn===tr)return this.consumeCodePoint(),this.consumeCodePoint(),ha;break;case nt:if(Na(ye,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ye),this.consumeNumericToken();break;case $e:if(this.peekCodePoint(0)===dt)for(this.consumeCodePoint();;){var Gi=this.consumeCodePoint();if(Gi===dt&&(Gi=this.consumeCodePoint(),Gi===$e))return this.consumeToken();if(Gi===Vr)return this.consumeToken()}break;case Qe:return ba;case st:return ta;case Dt:if(this.peekCodePoint(0)===rr&&this.peekCodePoint(1)===Mt&&this.peekCodePoint(2)===Mt)return this.consumeCodePoint(),this.consumeCodePoint(),dn;break;case Dr:var Mi=this.peekCodePoint(0),Qi=this.peekCodePoint(1),wo=this.peekCodePoint(2);if(Ri(Mi,Qi,wo)){var Hr=this.consumeName();return{type:7,value:Hr}}break;case dr:return so;case gt:if(pi(ye,this.peekCodePoint(0)))return this.reconsumeCodePoint(ye),this.consumeIdentLikeToken();break;case Tr:return lr;case vn:if(this.peekCodePoint(0)===Kr)return this.consumeCodePoint(),_i;break;case on:return ya;case di:return co;case rn:case Wi:var fo=this.peekCodePoint(0),Bo=this.peekCodePoint(1);return fo===Me&&(va(Bo)||Bo===Gn)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(ye),this.consumeIdentLikeToken();case Ti:if(this.peekCodePoint(0)===Kr)return this.consumeCodePoint(),qi;if(this.peekCodePoint(0)===Ti)return this.consumeCodePoint(),Zi;break;case Fi:if(this.peekCodePoint(0)===Kr)return this.consumeCodePoint(),ea;break;case Vr:return _n}return ki(ye)?(this.consumeWhiteSpace(),pn):Yi(ye)?(this.reconsumeCodePoint(ye),this.consumeNumericToken()):In(ye)?(this.reconsumeCodePoint(ye),this.consumeIdentLikeToken()):{type:6,value:s(ye)}},xt.prototype.consumeCodePoint=function(){var ye=this._value.shift();return typeof ye=="undefined"?-1:ye},xt.prototype.reconsumeCodePoint=function(ye){this._value.unshift(ye)},xt.prototype.peekCodePoint=function(ye){return ye>=this._value.length?-1:this._value[ye]},xt.prototype.consumeUnicodeRangeToken=function(){for(var ye=[],Fe=this.consumeCodePoint();va(Fe)&&ye.length<6;)ye.push(Fe),Fe=this.consumeCodePoint();for(var We=!1;Fe===Gn&&ye.length<6;)ye.push(Fe),Fe=this.consumeCodePoint(),We=!0;if(We){var At=parseInt(s.apply(void 0,ye.map(function(wn){return wn===Gn?sr:wn})),16),cr=parseInt(s.apply(void 0,ye.map(function(wn){return wn===Gn?Ni:wn})),16);return{type:30,start:At,end:cr}}var Hr=parseInt(s.apply(void 0,ye),16);if(this.peekCodePoint(0)===Mt&&va(this.peekCodePoint(1))){this.consumeCodePoint(),Fe=this.consumeCodePoint();for(var sn=[];va(Fe)&&sn.length<6;)sn.push(Fe),Fe=this.consumeCodePoint();var cr=parseInt(s.apply(void 0,sn),16);return{type:30,start:Hr,end:cr}}else return{type:30,start:Hr,end:Hr}},xt.prototype.consumeIdentLikeToken=function(){var ye=this.consumeName();return ye.toLowerCase()==="url"&&this.peekCodePoint(0)===Ct?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ct?(this.consumeCodePoint(),{type:19,value:ye}):{type:20,value:ye}},xt.prototype.consumeUrlToken=function(){var ye=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Vr)return{type:22,value:""};var Fe=this.peekCodePoint(0);if(Fe===It||Fe===er){var We=this.consumeStringToken(this.consumeCodePoint());return We.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Vr||this.peekCodePoint(0)===mr)?(this.consumeCodePoint(),{type:22,value:We.value}):(this.consumeBadUrlRemnants(),rs)}for(;;){var At=this.consumeCodePoint();if(At===Vr||At===mr)return{type:22,value:s.apply(void 0,ye)};if(ki(At))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Vr||this.peekCodePoint(0)===mr?(this.consumeCodePoint(),{type:22,value:s.apply(void 0,ye)}):(this.consumeBadUrlRemnants(),rs);if(At===er||At===It||At===Ct||Ei(At))return this.consumeBadUrlRemnants(),rs;if(At===gt)if(pi(At,this.peekCodePoint(0)))ye.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),rs;else ye.push(At)}},xt.prototype.consumeWhiteSpace=function(){for(;ki(this.peekCodePoint(0));)this.consumeCodePoint()},xt.prototype.consumeBadUrlRemnants=function(){for(;;){var ye=this.consumeCodePoint();if(ye===mr||ye===Vr)return;pi(ye,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},xt.prototype.consumeStringSlice=function(ye){for(var Fe=6e4,We="";ye>0;){var At=Math.min(Fe,ye);We+=s.apply(void 0,this._value.splice(0,At)),ye-=At}return this._value.shift(),We},xt.prototype.consumeStringToken=function(ye){var Fe="",We=0;do{var At=this._value[We];if(At===Vr||At===void 0||At===ye)return Fe+=this.consumeStringSlice(We),{type:0,value:Fe};if(At===ze)return this._value.splice(0,We),Pi;if(At===gt){var cr=this._value[We+1];cr!==Vr&&cr!==void 0&&(cr===ze?(Fe+=this.consumeStringSlice(We),We=-1,this._value.shift()):pi(At,cr)&&(Fe+=this.consumeStringSlice(We),Fe+=s(this.consumeEscapedCodePoint()),We=-1))}We++}while(!0)},xt.prototype.consumeNumber=function(){var ye=[],Fe=mt,We=this.peekCodePoint(0);for((We===Me||We===Mt)&&ye.push(this.consumeCodePoint());Yi(this.peekCodePoint(0));)ye.push(this.consumeCodePoint());We=this.peekCodePoint(0);var At=this.peekCodePoint(1);if(We===nt&&Yi(At))for(ye.push(this.consumeCodePoint(),this.consumeCodePoint()),Fe=Le;Yi(this.peekCodePoint(0));)ye.push(this.consumeCodePoint());We=this.peekCodePoint(0),At=this.peekCodePoint(1);var cr=this.peekCodePoint(2);if((We===gi||We===Er)&&((At===Me||At===Mt)&&Yi(cr)||Yi(At)))for(ye.push(this.consumeCodePoint(),this.consumeCodePoint()),Fe=Le;Yi(this.peekCodePoint(0));)ye.push(this.consumeCodePoint());return[Un(ye),Fe]},xt.prototype.consumeNumericToken=function(){var ye=this.consumeNumber(),Fe=ye[0],We=ye[1],At=this.peekCodePoint(0),cr=this.peekCodePoint(1),Hr=this.peekCodePoint(2);if(Ri(At,cr,Hr)){var sn=this.consumeName();return{type:15,number:Fe,flags:We,unit:sn}}return At===ar?(this.consumeCodePoint(),{type:16,number:Fe,flags:We}):{type:17,number:Fe,flags:We}},xt.prototype.consumeEscapedCodePoint=function(){var ye=this.consumeCodePoint();if(va(ye)){for(var Fe=s(ye);va(this.peekCodePoint(0))&&Fe.length<6;)Fe+=s(this.consumeCodePoint());ki(this.peekCodePoint(0))&&this.consumeCodePoint();var We=parseInt(Fe,16);return We===0||mi(We)||We>1114111?Ta:We}return ye===Vr?Ta:ye},xt.prototype.consumeName=function(){for(var ye="";;){var Fe=this.consumeCodePoint();if(na(Fe))ye+=s(Fe);else if(pi(Fe,this.peekCodePoint(0)))ye+=s(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(Fe),ye}},xt}(),ct=function(){function xt(ye){this._tokens=ye}return xt.create=function(ye){var Fe=new Pn;return Fe.write(ye),new xt(Fe.read())},xt.parseValue=function(ye){return xt.create(ye).parseComponentValue()},xt.parseValues=function(ye){return xt.create(ye).parseComponentValues()},xt.prototype.parseComponentValue=function(){for(var ye=this.consumeToken();ye.type===31;)ye=this.consumeToken();if(ye.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(ye);var Fe=this.consumeComponentValue();do ye=this.consumeToken();while(ye.type===31);if(ye.type===32)return Fe;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},xt.prototype.parseComponentValues=function(){for(var ye=[];;){var Fe=this.consumeComponentValue();if(Fe.type===32)return ye;ye.push(Fe),ye.push()}},xt.prototype.consumeComponentValue=function(){var ye=this.consumeToken();switch(ye.type){case 11:case 28:case 2:return this.consumeSimpleBlock(ye.type);case 19:return this.consumeFunction(ye)}return ye},xt.prototype.consumeSimpleBlock=function(ye){for(var Fe={type:ye,values:[]},We=this.consumeToken();;){if(We.type===32||qn(We,ye))return Fe;this.reconsumeToken(We),Fe.values.push(this.consumeComponentValue()),We=this.consumeToken()}},xt.prototype.consumeFunction=function(ye){for(var Fe={name:ye.value,values:[],type:18};;){var We=this.consumeToken();if(We.type===32||We.type===3)return Fe;this.reconsumeToken(We),Fe.values.push(this.consumeComponentValue())}},xt.prototype.consumeToken=function(){var ye=this._tokens.shift();return typeof ye=="undefined"?_n:ye},xt.prototype.reconsumeToken=function(ye){this._tokens.unshift(ye)},xt}(),Vt=function(ye){return ye.type===15},Cr=function(ye){return ye.type===17},xr=function(ye){return ye.type===20},Gr=function(ye){return ye.type===0},$r=function(ye,Fe){return xr(ye)&&ye.value===Fe},hn=function(ye){return ye.type!==31},On=function(ye){return ye.type!==31&&ye.type!==4},Qn=function(ye){var Fe=[],We=[];return ye.forEach(function(At){if(At.type===4){if(We.length===0)throw new Error("Error parsing function args, zero tokens for arg");Fe.push(We),We=[];return}At.type!==31&&We.push(At)}),We.length&&Fe.push(We),Fe},qn=function(ye,Fe){return Fe===11&&ye.type===12||Fe===28&&ye.type===29?!0:Fe===2&&ye.type===3},si=function(ye){return ye.type===17||ye.type===15},oi=function(ye){return ye.type===16||si(ye)},Kn=function(ye){return ye.length>1?[ye[0],ye[1]]:[ye[0]]},Zn={type:17,number:0,flags:mt},ni={type:16,number:50,flags:mt},wi={type:16,number:100,flags:mt},Di=function(ye,Fe,We){var At=ye[0],cr=ye[1];return[Ui(At,Fe),Ui(typeof cr!="undefined"?cr:At,We)]},Ui=function(ye,Fe){if(ye.type===16)return ye.number/100*Fe;if(Vt(ye))switch(ye.unit){case"rem":case"em":return 16*ye.number;case"px":default:return ye.number}return ye.number},ca="deg",ia="grad",Ia="rad",Fa="turn",Aa={name:"angle",parse:function(ye,Fe){if(Fe.type===15)switch(Fe.unit){case ca:return Math.PI*Fe.number/180;case ia:return Math.PI/200*Fe.number;case Ia:return Fe.number;case Fa:return Math.PI*2*Fe.number}throw new Error("Unsupported angle type")}},Ea=function(ye){return ye.type===15&&(ye.unit===ca||ye.unit===ia||ye.unit===Ia||ye.unit===Fa)},xa=function(ye){var Fe=ye.filter(xr).map(function(We){return We.value}).join(" ");switch(Fe){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Zn,Zn];case"to top":case"bottom":return Ai(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Zn,wi];case"to right":case"left":return Ai(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[wi,wi];case"to bottom":case"top":return Ai(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[wi,Zn];case"to left":case"right":return Ai(270)}return 0},Ai=function(ye){return Math.PI*ye/180},oa={name:"color",parse:function(ye,Fe){if(Fe.type===18){var We=wr[Fe.name];if(typeof We=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Fe.name+'"');return We(ye,Fe.values)}if(Fe.type===5){if(Fe.value.length===3){var At=Fe.value.substring(0,1),cr=Fe.value.substring(1,2),Hr=Fe.value.substring(2,3);return Qr(parseInt(At+At,16),parseInt(cr+cr,16),parseInt(Hr+Hr,16),1)}if(Fe.value.length===4){var At=Fe.value.substring(0,1),cr=Fe.value.substring(1,2),Hr=Fe.value.substring(2,3),sn=Fe.value.substring(3,4);return Qr(parseInt(At+At,16),parseInt(cr+cr,16),parseInt(Hr+Hr,16),parseInt(sn+sn,16)/255)}if(Fe.value.length===6){var At=Fe.value.substring(0,2),cr=Fe.value.substring(2,4),Hr=Fe.value.substring(4,6);return Qr(parseInt(At,16),parseInt(cr,16),parseInt(Hr,16),1)}if(Fe.value.length===8){var At=Fe.value.substring(0,2),cr=Fe.value.substring(2,4),Hr=Fe.value.substring(4,6),sn=Fe.value.substring(6,8);return Qr(parseInt(At,16),parseInt(cr,16),parseInt(Hr,16),parseInt(sn,16)/255)}}if(Fe.type===20){var wn=Jr[Fe.value.toUpperCase()];if(typeof wn!="undefined")return wn}return Jr.TRANSPARENT}},Ba=function(ye){return(255&ye)===0},Nr=function(ye){var Fe=255&ye,We=255&ye>>8,At=255&ye>>16,cr=255&ye>>24;return Fe<255?"rgba("+cr+","+At+","+We+","+Fe/255+")":"rgb("+cr+","+At+","+We+")"},Qr=function(ye,Fe,We,At){return(ye<<24|Fe<<16|We<<8|Math.round(At*255)<<0)>>>0},bn=function(ye,Fe){if(ye.type===17)return ye.number;if(ye.type===16){var We=Fe===3?1:255;return Fe===3?ye.number/100*We:Math.round(ye.number/100*We)}return 0},Zr=function(ye,Fe){var We=Fe.filter(On);if(We.length===3){var At=We.map(bn),cr=At[0],Hr=At[1],sn=At[2];return Qr(cr,Hr,sn,1)}if(We.length===4){var wn=We.map(bn),cr=wn[0],Hr=wn[1],sn=wn[2],jn=wn[3];return Qr(cr,Hr,sn,jn)}return 0};function hr(xt,ye,Fe){return Fe<0&&(Fe+=1),Fe>=1&&(Fe-=1),Fe<1/6?(ye-xt)*Fe*6+xt:Fe<1/2?ye:Fe<2/3?(ye-xt)*6*(2/3-Fe)+xt:xt}var jr=function(ye,Fe){var We=Fe.filter(On),At=We[0],cr=We[1],Hr=We[2],sn=We[3],wn=(At.type===17?Ai(At.number):Aa.parse(ye,At))/(Math.PI*2),jn=oi(cr)?cr.number/100:0,Gi=oi(Hr)?Hr.number/100:0,Mi=typeof sn!="undefined"&&oi(sn)?Ui(sn,1):1;if(jn===0)return Qr(Gi*255,Gi*255,Gi*255,1);var Qi=Gi<=.5?Gi*(jn+1):Gi+jn-Gi*jn,wo=Gi*2-Qi,fo=hr(wo,Qi,wn+1/3),Bo=hr(wo,Qi,wn),Ds=hr(wo,Qi,wn-1/3);return Qr(fo*255,Bo*255,Ds*255,Mi)},wr={hsl:jr,hsla:jr,rgb:Zr,rgba:Zr},an=function(ye,Fe){return oa.parse(ye,ct.create(Fe).parseComponentValue())},Jr={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},kn;(function(xt){xt[xt.BORDER_BOX=0]="BORDER_BOX",xt[xt.PADDING_BOX=1]="PADDING_BOX",xt[xt.CONTENT_BOX=2]="CONTENT_BOX"})(kn||(kn={}));var Dn={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(ye,Fe){return Fe.map(function(We){if(xr(We))switch(We.value){case"padding-box":return kn.PADDING_BOX;case"content-box":return kn.CONTENT_BOX}return kn.BORDER_BOX})}},Xn={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},vi=function(ye,Fe){var We=oa.parse(ye,Fe[0]),At=Fe[1];return At&&oi(At)?{color:We,stop:At}:{color:We,stop:null}},Li=function(ye,Fe){var We=ye[0],At=ye[ye.length-1];We.stop===null&&(We.stop=Zn),At.stop===null&&(At.stop=wi);for(var cr=[],Hr=0,sn=0;snHr?cr.push(jn):cr.push(Hr),Hr=jn}else cr.push(null)}for(var Gi=null,sn=0;snsn.optimumDistance)?{optimumCorner:wn,optimumDistance:Mi}:sn},{optimumDistance:cr?Infinity:-Infinity,optimumCorner:null}).optimumCorner},bo=function(ye,Fe,We,At,cr){var Hr=0,sn=0;switch(ye.size){case Ro.CLOSEST_SIDE:ye.shape===Oo.CIRCLE?Hr=sn=Math.min(Math.abs(Fe),Math.abs(Fe-At),Math.abs(We),Math.abs(We-cr)):ye.shape===Oo.ELLIPSE&&(Hr=Math.min(Math.abs(Fe),Math.abs(Fe-At)),sn=Math.min(Math.abs(We),Math.abs(We-cr)));break;case Ro.CLOSEST_CORNER:if(ye.shape===Oo.CIRCLE)Hr=sn=Math.min(Ga(Fe,We),Ga(Fe,We-cr),Ga(Fe-At,We),Ga(Fe-At,We-cr));else if(ye.shape===Oo.ELLIPSE){var wn=Math.min(Math.abs(We),Math.abs(We-cr))/Math.min(Math.abs(Fe),Math.abs(Fe-At)),jn=Ya(At,cr,Fe,We,!0),Gi=jn[0],Mi=jn[1];Hr=Ga(Gi-Fe,(Mi-We)/wn),sn=wn*Hr}break;case Ro.FARTHEST_SIDE:ye.shape===Oo.CIRCLE?Hr=sn=Math.max(Math.abs(Fe),Math.abs(Fe-At),Math.abs(We),Math.abs(We-cr)):ye.shape===Oo.ELLIPSE&&(Hr=Math.max(Math.abs(Fe),Math.abs(Fe-At)),sn=Math.max(Math.abs(We),Math.abs(We-cr)));break;case Ro.FARTHEST_CORNER:if(ye.shape===Oo.CIRCLE)Hr=sn=Math.max(Ga(Fe,We),Ga(Fe,We-cr),Ga(Fe-At,We),Ga(Fe-At,We-cr));else if(ye.shape===Oo.ELLIPSE){var wn=Math.max(Math.abs(We),Math.abs(We-cr))/Math.max(Math.abs(Fe),Math.abs(Fe-At)),Qi=Ya(At,cr,Fe,We,!1),Gi=Qi[0],Mi=Qi[1];Hr=Ga(Gi-Fe,(Mi-We)/wn),sn=wn*Hr}break}return Array.isArray(ye.size)&&(Hr=Ui(ye.size[0],At),sn=ye.size.length===2?Ui(ye.size[1],cr):Hr),[Hr,sn]},vo=function(ye,Fe){var We=Ai(180),At=[];return Qn(Fe).forEach(function(cr,Hr){if(Hr===0){var sn=cr[0];if(sn.type===20&&sn.value==="to"){We=xa(cr);return}else if(Ea(sn)){We=Aa.parse(ye,sn);return}}var wn=vi(ye,cr);At.push(wn)}),{angle:We,stops:At,type:mo.LINEAR_GRADIENT}},po=function(ye,Fe){var We=Ai(180),At=[];return Qn(Fe).forEach(function(cr,Hr){if(Hr===0){var sn=cr[0];if(sn.type===20&&["top","left","right","bottom"].indexOf(sn.value)!==-1){We=xa(cr);return}else if(Ea(sn)){We=(Aa.parse(ye,sn)+Ai(270))%Ai(360);return}}var wn=vi(ye,cr);At.push(wn)}),{angle:We,stops:At,type:mo.LINEAR_GRADIENT}},Ha=function(ye,Fe){var We=Ai(180),At=[],cr=mo.LINEAR_GRADIENT,Hr=Oo.CIRCLE,sn=Ro.FARTHEST_CORNER,wn=[];return Qn(Fe).forEach(function(jn,Gi){var Mi=jn[0];if(Gi===0){if(xr(Mi)&&Mi.value==="linear"){cr=mo.LINEAR_GRADIENT;return}else if(xr(Mi)&&Mi.value==="radial"){cr=mo.RADIAL_GRADIENT;return}}if(Mi.type===18){if(Mi.name==="from"){var Qi=oa.parse(ye,Mi.values[0]);At.push({stop:Zn,color:Qi})}else if(Mi.name==="to"){var Qi=oa.parse(ye,Mi.values[0]);At.push({stop:wi,color:Qi})}else if(Mi.name==="color-stop"){var wo=Mi.values.filter(On);if(wo.length===2){var Qi=oa.parse(ye,wo[1]),fo=wo[0];Cr(fo)&&At.push({stop:{type:16,number:fo.number*100,flags:fo.flags},color:Qi})}}}}),cr===mo.LINEAR_GRADIENT?{angle:(We+Ai(180))%Ai(360),stops:At,type:cr}:{size:sn,shape:Hr,stops:At,position:wn,type:cr}},Oa="closest-side",ao="farthest-side",to="closest-corner",Po="farthest-corner",Yo="circle",ro="ellipse",za="cover",Mo="contain",Io=function(ye,Fe){var We=Oo.CIRCLE,At=Ro.FARTHEST_CORNER,cr=[],Hr=[];return Qn(Fe).forEach(function(sn,wn){var jn=!0;if(wn===0){var Gi=!1;jn=sn.reduce(function(Qi,wo){if(Gi)if(xr(wo))switch(wo.value){case"center":return Hr.push(ni),Qi;case"top":case"left":return Hr.push(Zn),Qi;case"right":case"bottom":return Hr.push(wi),Qi}else(oi(wo)||si(wo))&&Hr.push(wo);else if(xr(wo))switch(wo.value){case Yo:return We=Oo.CIRCLE,!1;case ro:return We=Oo.ELLIPSE,!1;case"at":return Gi=!0,!1;case Oa:return At=Ro.CLOSEST_SIDE,!1;case za:case ao:return At=Ro.FARTHEST_SIDE,!1;case Mo:case to:return At=Ro.CLOSEST_CORNER,!1;case Po:return At=Ro.FARTHEST_CORNER,!1}else if(si(wo)||oi(wo))return Array.isArray(At)||(At=[]),At.push(wo),!1;return Qi},jn)}if(jn){var Mi=vi(ye,sn);cr.push(Mi)}}),{size:At,shape:We,stops:cr,position:Hr,type:mo.RADIAL_GRADIENT}},ma=function(ye,Fe){var We=Oo.CIRCLE,At=Ro.FARTHEST_CORNER,cr=[],Hr=[];return Qn(Fe).forEach(function(sn,wn){var jn=!0;if(wn===0?jn=sn.reduce(function(Mi,Qi){if(xr(Qi))switch(Qi.value){case"center":return Hr.push(ni),!1;case"top":case"left":return Hr.push(Zn),!1;case"right":case"bottom":return Hr.push(wi),!1}else if(oi(Qi)||si(Qi))return Hr.push(Qi),!1;return Mi},jn):wn===1&&(jn=sn.reduce(function(Mi,Qi){if(xr(Qi))switch(Qi.value){case Yo:return We=Oo.CIRCLE,!1;case ro:return We=Oo.ELLIPSE,!1;case Mo:case Oa:return At=Ro.CLOSEST_SIDE,!1;case ao:return At=Ro.FARTHEST_SIDE,!1;case to:return At=Ro.CLOSEST_CORNER,!1;case za:case Po:return At=Ro.FARTHEST_CORNER,!1}else if(si(Qi)||oi(Qi))return Array.isArray(At)||(At=[]),At.push(Qi),!1;return Mi},jn)),jn){var Gi=vi(ye,sn);cr.push(Gi)}}),{size:At,shape:We,stops:cr,position:Hr,type:mo.RADIAL_GRADIENT}},mo;(function(xt){xt[xt.URL=0]="URL",xt[xt.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",xt[xt.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"})(mo||(mo={}));var ns=function(ye){return ye.type===mo.LINEAR_GRADIENT},Zo=function(ye){return ye.type===mo.RADIAL_GRADIENT},Oo;(function(xt){xt[xt.CIRCLE=0]="CIRCLE",xt[xt.ELLIPSE=1]="ELLIPSE"})(Oo||(Oo={}));var Ro;(function(xt){xt[xt.CLOSEST_SIDE=0]="CLOSEST_SIDE",xt[xt.FARTHEST_SIDE=1]="FARTHEST_SIDE",xt[xt.CLOSEST_CORNER=2]="CLOSEST_CORNER",xt[xt.FARTHEST_CORNER=3]="FARTHEST_CORNER"})(Ro||(Ro={}));var hs={name:"image",parse:function(ye,Fe){if(Fe.type===22){var We={url:Fe.value,type:mo.URL};return ye.cache.addImage(Fe.value),We}if(Fe.type===18){var At=Ja[Fe.name];if(typeof At=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Fe.name+'"');return At(ye,Fe.values)}throw new Error("Unsupported image type "+Fe.type)}};function Uo(xt){return!(xt.type===20&&xt.value==="none")&&(xt.type!==18||!!Ja[xt.name])}var Ja={"linear-gradient":vo,"-moz-linear-gradient":po,"-ms-linear-gradient":po,"-o-linear-gradient":po,"-webkit-linear-gradient":po,"radial-gradient":Io,"-moz-radial-gradient":ma,"-ms-radial-gradient":ma,"-o-radial-gradient":ma,"-webkit-radial-gradient":ma,"-webkit-gradient":Ha},Es={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(ye,Fe){if(Fe.length===0)return[];var We=Fe[0];return We.type===20&&We.value==="none"?[]:Fe.filter(function(At){return On(At)&&Uo(At)}).map(function(At){return hs.parse(ye,At)})}},oo={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(ye,Fe){return Fe.map(function(We){if(xr(We))switch(We.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Fs={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(ye,Fe){return Qn(Fe).map(function(We){return We.filter(oi)}).map(Kn)}},qo;(function(xt){xt[xt.REPEAT=0]="REPEAT",xt[xt.NO_REPEAT=1]="NO_REPEAT",xt[xt.REPEAT_X=2]="REPEAT_X",xt[xt.REPEAT_Y=3]="REPEAT_Y"})(qo||(qo={}));var Wo={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(ye,Fe){return Qn(Fe).map(function(We){return We.filter(xr).map(function(At){return At.value}).join(" ")}).map(Vo)}},Vo=function(ye){switch(ye){case"no-repeat":return qo.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return qo.REPEAT_X;case"repeat-y":case"no-repeat repeat":return qo.REPEAT_Y;case"repeat":default:return qo.REPEAT}},Go;(function(xt){xt.AUTO="auto",xt.CONTAIN="contain",xt.COVER="cover"})(Go||(Go={}));var os={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(ye,Fe){return Qn(Fe).map(function(We){return We.filter(Vs)})}},Vs=function(ye){return xr(ye)||oi(ye)},xs=function(ye){return{name:"border-"+ye+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Js=xs("top"),Bs=xs("right"),ks=xs("bottom"),Jo=xs("left"),bs=function(ye){return{name:"border-radius-"+ye,initialValue:"0 0",prefix:!1,type:1,parse:function(We,At){return Kn(At.filter(oi))}}},Ho=bs("top-left"),Ls=bs("top-right"),Ps=bs("bottom-right"),Ra=bs("bottom-left"),ho;(function(xt){xt[xt.NONE=0]="NONE",xt[xt.SOLID=1]="SOLID",xt[xt.DASHED=2]="DASHED",xt[xt.DOTTED=3]="DOTTED",xt[xt.DOUBLE=4]="DOUBLE"})(ho||(ho={}));var ll=function(ye){return{name:"border-"+ye+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(We,At){switch(At){case"none":return ho.NONE;case"dashed":return ho.DASHED;case"dotted":return ho.DOTTED;case"double":return ho.DOUBLE}return ho.SOLID}}},ml=ll("top"),wl=ll("right"),El=ll("bottom"),Xs=ll("left"),Xo=function(ye){return{name:"border-"+ye+"-width",initialValue:"0",type:0,prefix:!1,parse:function(We,At){return Vt(At)?At.number:0}}},gl=Xo("top"),Vl=Xo("right"),Us=Xo("bottom"),$s=Xo("left"),us={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},_l={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(ye,Fe){switch(Fe){case"rtl":return 1;case"ltr":default:return 0}}},Wc={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(ye,Fe){return Fe.filter(xr).reduce(function(We,At){return We|fc(At.value)},0)}},fc=function(ye){switch(ye){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Bl;(function(xt){xt[xt.NONE=0]="NONE",xt[xt.LEFT=1]="LEFT",xt[xt.RIGHT=2]="RIGHT",xt[xt.INLINE_START=3]="INLINE_START",xt[xt.INLINE_END=4]="INLINE_END"})(Bl||(Bl={}));var oc={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(ye,Fe){switch(Fe){case"left":return Bl.LEFT;case"right":return Bl.RIGHT;case"inline-start":return Bl.INLINE_START;case"inline-end":return Bl.INLINE_END}return Bl.NONE}},sc={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(ye,Fe){return Fe.type===20&&Fe.value==="normal"?0:Fe.type===17||Fe.type===15?Fe.number:0}},ql;(function(xt){xt.NORMAL="normal",xt.STRICT="strict"})(ql||(ql={}));var Al={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(ye,Fe){switch(Fe){case"strict":return ql.STRICT;case"normal":default:return ql.NORMAL}}},zs={name:"line-height",initialValue:"normal",prefix:!1,type:4},Ml=function(ye,Fe){return xr(ye)&&ye.value==="normal"?1.2*Fe:ye.type===17?Fe*ye.number:oi(ye)?Ui(ye,Fe):Fe},vl={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(ye,Fe){return Fe.type===20&&Fe.value==="none"?null:hs.parse(ye,Fe)}},cl;(function(xt){xt[xt.INSIDE=0]="INSIDE",xt[xt.OUTSIDE=1]="OUTSIDE"})(cl||(cl={}));var mn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(ye,Fe){switch(Fe){case"inside":return cl.INSIDE;case"outside":default:return cl.OUTSIDE}}},da;(function(xt){xt[xt.NONE=-1]="NONE",xt[xt.DISC=0]="DISC",xt[xt.CIRCLE=1]="CIRCLE",xt[xt.SQUARE=2]="SQUARE",xt[xt.DECIMAL=3]="DECIMAL",xt[xt.CJK_DECIMAL=4]="CJK_DECIMAL",xt[xt.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",xt[xt.LOWER_ROMAN=6]="LOWER_ROMAN",xt[xt.UPPER_ROMAN=7]="UPPER_ROMAN",xt[xt.LOWER_GREEK=8]="LOWER_GREEK",xt[xt.LOWER_ALPHA=9]="LOWER_ALPHA",xt[xt.UPPER_ALPHA=10]="UPPER_ALPHA",xt[xt.ARABIC_INDIC=11]="ARABIC_INDIC",xt[xt.ARMENIAN=12]="ARMENIAN",xt[xt.BENGALI=13]="BENGALI",xt[xt.CAMBODIAN=14]="CAMBODIAN",xt[xt.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",xt[xt.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",xt[xt.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",xt[xt.DEVANAGARI=18]="DEVANAGARI",xt[xt.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",xt[xt.GEORGIAN=20]="GEORGIAN",xt[xt.GUJARATI=21]="GUJARATI",xt[xt.GURMUKHI=22]="GURMUKHI",xt[xt.HEBREW=22]="HEBREW",xt[xt.HIRAGANA=23]="HIRAGANA",xt[xt.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",xt[xt.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",xt[xt.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",xt[xt.KANNADA=27]="KANNADA",xt[xt.KATAKANA=28]="KATAKANA",xt[xt.KATAKANA_IROHA=29]="KATAKANA_IROHA",xt[xt.KHMER=30]="KHMER",xt[xt.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",xt[xt.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",xt[xt.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",xt[xt.LAO=34]="LAO",xt[xt.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",xt[xt.MALAYALAM=36]="MALAYALAM",xt[xt.MONGOLIAN=37]="MONGOLIAN",xt[xt.MYANMAR=38]="MYANMAR",xt[xt.ORIYA=39]="ORIYA",xt[xt.PERSIAN=40]="PERSIAN",xt[xt.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",xt[xt.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",xt[xt.TAMIL=43]="TAMIL",xt[xt.TELUGU=44]="TELUGU",xt[xt.THAI=45]="THAI",xt[xt.TIBETAN=46]="TIBETAN",xt[xt.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",xt[xt.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",xt[xt.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",xt[xt.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",xt[xt.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"})(da||(da={}));var Oc={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(ye,Fe){switch(Fe){case"disc":return da.DISC;case"circle":return da.CIRCLE;case"square":return da.SQUARE;case"decimal":return da.DECIMAL;case"cjk-decimal":return da.CJK_DECIMAL;case"decimal-leading-zero":return da.DECIMAL_LEADING_ZERO;case"lower-roman":return da.LOWER_ROMAN;case"upper-roman":return da.UPPER_ROMAN;case"lower-greek":return da.LOWER_GREEK;case"lower-alpha":return da.LOWER_ALPHA;case"upper-alpha":return da.UPPER_ALPHA;case"arabic-indic":return da.ARABIC_INDIC;case"armenian":return da.ARMENIAN;case"bengali":return da.BENGALI;case"cambodian":return da.CAMBODIAN;case"cjk-earthly-branch":return da.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return da.CJK_HEAVENLY_STEM;case"cjk-ideographic":return da.CJK_IDEOGRAPHIC;case"devanagari":return da.DEVANAGARI;case"ethiopic-numeric":return da.ETHIOPIC_NUMERIC;case"georgian":return da.GEORGIAN;case"gujarati":return da.GUJARATI;case"gurmukhi":return da.GURMUKHI;case"hebrew":return da.HEBREW;case"hiragana":return da.HIRAGANA;case"hiragana-iroha":return da.HIRAGANA_IROHA;case"japanese-formal":return da.JAPANESE_FORMAL;case"japanese-informal":return da.JAPANESE_INFORMAL;case"kannada":return da.KANNADA;case"katakana":return da.KATAKANA;case"katakana-iroha":return da.KATAKANA_IROHA;case"khmer":return da.KHMER;case"korean-hangul-formal":return da.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return da.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return da.KOREAN_HANJA_INFORMAL;case"lao":return da.LAO;case"lower-armenian":return da.LOWER_ARMENIAN;case"malayalam":return da.MALAYALAM;case"mongolian":return da.MONGOLIAN;case"myanmar":return da.MYANMAR;case"oriya":return da.ORIYA;case"persian":return da.PERSIAN;case"simp-chinese-formal":return da.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return da.SIMP_CHINESE_INFORMAL;case"tamil":return da.TAMIL;case"telugu":return da.TELUGU;case"thai":return da.THAI;case"tibetan":return da.TIBETAN;case"trad-chinese-formal":return da.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return da.TRAD_CHINESE_INFORMAL;case"upper-armenian":return da.UPPER_ARMENIAN;case"disclosure-open":return da.DISCLOSURE_OPEN;case"disclosure-closed":return da.DISCLOSURE_CLOSED;case"none":default:return da.NONE}}},pc=function(ye){return{name:"margin-"+ye,initialValue:"0",prefix:!1,type:4}},xc=pc("top"),Ss=pc("right"),Ws=pc("bottom"),xl=pc("left"),ul;(function(xt){xt[xt.VISIBLE=0]="VISIBLE",xt[xt.HIDDEN=1]="HIDDEN",xt[xt.SCROLL=2]="SCROLL",xt[xt.CLIP=3]="CLIP",xt[xt.AUTO=4]="AUTO"})(ul||(ul={}));var nc={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(ye,Fe){return Fe.filter(xr).map(function(We){switch(We.value){case"hidden":return ul.HIDDEN;case"scroll":return ul.SCROLL;case"clip":return ul.CLIP;case"auto":return ul.AUTO;case"visible":default:return ul.VISIBLE}})}},Xl={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(ye,Fe){switch(Fe){case"break-word":return"break-word";case"normal":default:return"normal"}}},Gl=function(ye){return{name:"padding-"+ye,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Kc=Gl("top"),Hl=Gl("right"),Mc=Gl("bottom"),Sc=Gl("left"),Ts;(function(xt){xt[xt.LEFT=0]="LEFT",xt[xt.CENTER=1]="CENTER",xt[xt.RIGHT=2]="RIGHT"})(Ts||(Ts={}));var Sl={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(ye,Fe){switch(Fe){case"right":return Ts.RIGHT;case"center":case"justify":return Ts.CENTER;case"left":default:return Ts.LEFT}}},Rt;(function(xt){xt[xt.STATIC=0]="STATIC",xt[xt.RELATIVE=1]="RELATIVE",xt[xt.ABSOLUTE=2]="ABSOLUTE",xt[xt.FIXED=3]="FIXED",xt[xt.STICKY=4]="STICKY"})(Rt||(Rt={}));var qt={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(ye,Fe){switch(Fe){case"relative":return Rt.RELATIVE;case"absolute":return Rt.ABSOLUTE;case"fixed":return Rt.FIXED;case"sticky":return Rt.STICKY}return Rt.STATIC}},En={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ye,Fe){return Fe.length===1&&$r(Fe[0],"none")?[]:Qn(Fe).map(function(We){for(var At={color:Jr.TRANSPARENT,offsetX:Zn,offsetY:Zn,blur:Zn},cr=0,Hr=0;Hr1?1:0],this.overflowWrap=lo(ye,Xl,Fe.overflowWrap),this.paddingTop=lo(ye,Kc,Fe.paddingTop),this.paddingRight=lo(ye,Hl,Fe.paddingRight),this.paddingBottom=lo(ye,Mc,Fe.paddingBottom),this.paddingLeft=lo(ye,Sc,Fe.paddingLeft),this.paintOrder=lo(ye,il,Fe.paintOrder),this.position=lo(ye,qt,Fe.position),this.textAlign=lo(ye,Sl,Fe.textAlign),this.textDecorationColor=lo(ye,go,(We=Fe.textDecorationColor)!==null&&We!==void 0?We:Fe.color),this.textDecorationLine=lo(ye,No,(At=Fe.textDecorationLine)!==null&&At!==void 0?At:Fe.textDecoration),this.textShadow=lo(ye,En,Fe.textShadow),this.textTransform=lo(ye,Lt,Fe.textTransform),this.transform=lo(ye,he,Fe.transform),this.transformOrigin=lo(ye,Pr,Fe.transformOrigin),this.visibility=lo(ye,yn,Fe.visibility),this.webkitTextStrokeColor=lo(ye,Yl,Fe.webkitTextStrokeColor),this.webkitTextStrokeWidth=lo(ye,cu,Fe.webkitTextStrokeWidth),this.wordBreak=lo(ye,Ci,Fe.wordBreak),this.zIndex=lo(ye,Xi,Fe.zIndex)}return xt.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===Yr.VISIBLE},xt.prototype.isTransparent=function(){return Ba(this.backgroundColor)},xt.prototype.isTransformed=function(){return this.transform!==null},xt.prototype.isPositioned=function(){return this.position!==Rt.STATIC},xt.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},xt.prototype.isFloating=function(){return this.float!==Bl.NONE},xt.prototype.isInlineLevel=function(){return ls(this.display,4)||ls(this.display,33554432)||ls(this.display,268435456)||ls(this.display,536870912)||ls(this.display,67108864)||ls(this.display,134217728)},xt}(),ec=function(){function xt(ye,Fe){this.content=lo(ye,Ys,Fe.content),this.quotes=lo(ye,Cl,Fe.quotes)}return xt}(),al=function(){function xt(ye,Fe){this.counterIncrement=lo(ye,Rl,Fe.counterIncrement),this.counterReset=lo(ye,kl,Fe.counterReset)}return xt}(),lo=function(ye,Fe,We){var At=new Pn,cr=We!==null&&typeof We!="undefined"?We.toString():Fe.initialValue;At.write(cr);var Hr=new ct(At.read());switch(Fe.type){case 2:var sn=Hr.parseComponentValue();return Fe.parse(ye,xr(sn)?sn.value:Fe.initialValue);case 0:return Fe.parse(ye,Hr.parseComponentValue());case 1:return Fe.parse(ye,Hr.parseComponentValues());case 4:return Hr.parseComponentValue();case 3:switch(Fe.format){case"angle":return Aa.parse(ye,Hr.parseComponentValue());case"color":return oa.parse(ye,Hr.parseComponentValue());case"image":return hs.parse(ye,Hr.parseComponentValue());case"length":var wn=Hr.parseComponentValue();return si(wn)?wn:Zn;case"length-percentage":var jn=Hr.parseComponentValue();return oi(jn)?jn:Zn;case"time":return ga.parse(ye,Hr.parseComponentValue())}break}},Pc="data-html2canvas-debug",Cc=function(ye){var Fe=ye.getAttribute(Pc);switch(Fe){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ec=function(ye,Fe){var We=Cc(ye);return We===1||Fe===We},Ql=function(){function xt(ye,Fe){if(this.context=ye,this.textNodes=[],this.elements=[],this.flags=0,Ec(Fe,3))debugger;this.styles=new Jc(ye,window.getComputedStyle(Fe,null)),Ue(Fe)&&(this.styles.animationDuration.some(function(We){return We>0})&&(Fe.style.animationDuration="0s"),this.styles.transform!==null&&(Fe.style.transform="none")),this.bounds=d(this.context,Fe),Ec(Fe,4)&&(this.flags|=16)}return xt}(),Ac="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Vc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vc=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Lc=0;Lc>4,Mi[cr++]=(sn&15)<<4|wn>>2,Mi[cr++]=(wn&3)<<6|jn&63;return Gi},ms=function(ye){for(var Fe=ye.length,We=[],At=0;At>es,cc=1<>es,Fl=tc+tl,Zs=Fl,Nc=2048>>6,Ru=Zs+Nc,uu=65536>>Is,Hu=1<=0){if(ye<55296||ye>56319&&ye<=65535)return Fe=this.index[ye>>es],Fe=(Fe<>es)],Fe=(Fe<>Is),Fe=this.index[Fe],Fe+=ye>>es&Xc,Fe=this.index[Fe],Fe=(Fe<=55296&&cr<=56319&&We>10)+55296,sn%1024+56320)),(cr+1===We||At.length>16384)&&(Hr+=String.fromCharCode.apply(String,At),At.length=0)}return Hr},Fd=Dd(Ac),Yc="\xD7",ru="\xF7",Gu=function(ye){return Fd.get(ye)},Bd=function(ye,Fe,We){var At=We-2,cr=Fe[At],Hr=Fe[We-1],sn=Fe[We];if(Hr===Fc&&sn===Uc)return Yc;if(Hr===Fc||Hr===Uc||Hr===Fu)return ru;if(sn===Fc||sn===Uc||sn===Fu)return ru;if(Hr===Iu&&[Iu,yu,Ku,Vu].indexOf(sn)!==-1)return Yc;if((Hr===Ku||Hr===yu)&&(sn===yu||sn===Wu))return Yc;if((Hr===Vu||Hr===Wu)&&sn===Wu)return Yc;if(sn===$c||sn===zu)return Yc;if(sn===rd)return Yc;if(Hr===Rc)return Yc;if(Hr===$c&&sn===hu){for(;cr===zu;)cr=Fe[--At];if(cr===hu)return Yc}if(Hr===wu&&sn===wu){for(var wn=0;cr===wu;)wn++,cr=Fe[--At];if(wn%2===0)return Yc}return ru},nd=function(ye){var Fe=Xu(ye),We=Fe.length,At=0,cr=0,Hr=Fe.map(Gu);return{next:function(){if(At>=We)return{done:!0,value:null};for(var wn=Yc;Atsn.x||Mi.y>sn.y;return sn=Mi,Gi===0?!0:Qi});return ye.body.removeChild(Fe),wn},gd=function(){return typeof new Image().crossOrigin!="undefined"},Ad=function(){return typeof new XMLHttpRequest().responseType=="string"},id=function(ye){var Fe=new Image,We=ye.createElement("canvas"),At=We.getContext("2d");if(!At)return!1;Fe.src="data:image/svg+xml,";try{At.drawImage(Fe,0,0),We.toDataURL()}catch(cr){return!1}return!0},Lu=function(ye){return ye[0]===0&&ye[1]===255&&ye[2]===0&&ye[3]===255},ad=function(ye){var Fe=ye.createElement("canvas"),We=100;Fe.width=We,Fe.height=We;var At=Fe.getContext("2d");if(!At)return Promise.reject(!1);At.fillStyle="rgb(0, 255, 0)",At.fillRect(0,0,We,We);var cr=new Image,Hr=Fe.toDataURL();cr.src=Hr;var sn=Yu(We,We,0,0,cr);return At.fillStyle="red",At.fillRect(0,0,We,We),vd(sn).then(function(wn){At.drawImage(wn,0,0);var jn=At.getImageData(0,0,We,We).data;At.fillStyle="red",At.fillRect(0,0,We,We);var Gi=ye.createElement("div");return Gi.style.backgroundImage="url("+Hr+")",Gi.style.height=We+"px",Lu(jn)?vd(Yu(We,We,0,0,Gi)):Promise.reject(!1)}).then(function(wn){return At.drawImage(wn,0,0),Lu(At.getImageData(0,0,We,We).data)}).catch(function(){return!1})},Yu=function(ye,Fe,We,At,cr){var Hr="http://www.w3.org/2000/svg",sn=document.createElementNS(Hr,"svg"),wn=document.createElementNS(Hr,"foreignObject");return sn.setAttributeNS(null,"width",ye.toString()),sn.setAttributeNS(null,"height",Fe.toString()),wn.setAttributeNS(null,"width","100%"),wn.setAttributeNS(null,"height","100%"),wn.setAttributeNS(null,"x",We.toString()),wn.setAttributeNS(null,"y",At.toString()),wn.setAttributeNS(null,"externalResourcesRequired","true"),sn.appendChild(wn),wn.appendChild(cr),sn},vd=function(ye){return new Promise(function(Fe,We){var At=new Image;At.onload=function(){return Fe(At)},At.onerror=We,At.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ye))})},Zl={get SUPPORT_RANGE_BOUNDS(){var xt=xu(document);return Object.defineProperty(Zl,"SUPPORT_RANGE_BOUNDS",{value:xt}),xt},get SUPPORT_WORD_BREAKING(){var xt=Zl.SUPPORT_RANGE_BOUNDS&&Ou(document);return Object.defineProperty(Zl,"SUPPORT_WORD_BREAKING",{value:xt}),xt},get SUPPORT_SVG_DRAWING(){var xt=id(document);return Object.defineProperty(Zl,"SUPPORT_SVG_DRAWING",{value:xt}),xt},get SUPPORT_FOREIGNOBJECT_DRAWING(){var xt=typeof Array.from=="function"&&typeof window.fetch=="function"?ad(document):Promise.resolve(!1);return Object.defineProperty(Zl,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:xt}),xt},get SUPPORT_CORS_IMAGES(){var xt=gd();return Object.defineProperty(Zl,"SUPPORT_CORS_IMAGES",{value:xt}),xt},get SUPPORT_RESPONSE_TYPE(){var xt=Ad();return Object.defineProperty(Zl,"SUPPORT_RESPONSE_TYPE",{value:xt}),xt},get SUPPORT_CORS_XHR(){var xt="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Zl,"SUPPORT_CORS_XHR",{value:xt}),xt}},jc=function(){function xt(ye,Fe){this.text=ye,this.bounds=Fe}return xt}(),iu=function(ye,Fe,We,At){var cr=qc(Fe,We),Hr=[],sn=0;return cr.forEach(function(wn){if(We.textDecorationLine.length||wn.trim().length>0)if(Zl.SUPPORT_RANGE_BOUNDS)Zl.SUPPORT_WORD_BREAKING?Hr.push(new jc(wn,pu(ye,At,sn,wn.length))):Hr.push(new jc(wn,m.fromDOMRectList(ye,Zu(At,sn,wn.length).getClientRects())));else{var jn=At.splitText(wn.length);Hr.push(new jc(wn,Qu(ye,At))),At=jn}else Zl.SUPPORT_RANGE_BOUNDS||(At=At.splitText(wn.length));sn+=wn.length}),Hr},Qu=function(ye,Fe){var We=Fe.ownerDocument;if(We){var At=We.createElement("html2canvaswrapper");At.appendChild(Fe.cloneNode(!0));var cr=Fe.parentNode;if(cr){cr.replaceChild(At,Fe);var Hr=d(ye,At);return At.firstChild&&cr.replaceChild(At.firstChild,At),Hr}}return m.EMPTY},Zu=function(ye,Fe,We){var At=ye.ownerDocument;if(!At)throw new Error("Node has no owner document");var cr=At.createRange();return cr.setStart(ye,Fe),cr.setEnd(ye,Fe+We),cr},pu=function(ye,Fe,We,At){return m.fromClientRect(ye,Zu(Fe,We,At).getBoundingClientRect())},qc=function(ye,Fe){return Fe.letterSpacing!==0?fu(ye):kd(ye,Fe)},bd=[32,160,4961,65792,65793,4153,4241],kd=function(ye,Fe){for(var We=cn(ye,{lineBreak:Fe.lineBreak,wordBreak:Fe.overflowWrap==="break-word"?"break-word":Fe.wordBreak}),At=[],cr,Hr=function(){if(cr.value){var wn=cr.value.slice(),jn=n(wn),Gi="";jn.forEach(function(Mi){bd.indexOf(Mi)===-1?Gi+=s(Mi):(Gi.length&&At.push(Gi),At.push(s(Mi)),Gi="")}),Gi.length&&At.push(Gi)}};!(cr=We.next()).done;)Hr();return At},Pd=function(){function xt(ye,Fe,We){this.text=yd(Fe.data,We.textTransform),this.textBounds=iu(ye,this.text,We,Fe)}return xt}(),yd=function(ye,Fe){switch(Fe){case ri.LOWERCASE:return ye.toLowerCase();case ri.CAPITALIZE:return ye.replace(wd,Ud);case ri.UPPERCASE:return ye.toUpperCase();default:return ye}},wd=/(^|\s|:|-|\(|\))([a-z])/g,Ud=function(ye,Fe,We){return ye.length>0?Fe+We.toUpperCase():ye},od=function(xt){b(ye,xt);function ye(Fe,We){var At=xt.call(this,Fe,We)||this;return At.src=We.currentSrc||We.src,At.intrinsicWidth=We.naturalWidth,At.intrinsicHeight=We.naturalHeight,At.context.cache.addImage(At.src),At}return ye}(Ql),mu=function(xt){b(ye,xt);function ye(Fe,We){var At=xt.call(this,Fe,We)||this;return At.canvas=We,At.intrinsicWidth=We.width,At.intrinsicHeight=We.height,At}return ye}(Ql),gu=function(xt){b(ye,xt);function ye(Fe,We){var At=xt.call(this,Fe,We)||this,cr=new XMLSerializer,Hr=d(Fe,We);return We.setAttribute("width",Hr.width+"px"),We.setAttribute("height",Hr.height+"px"),At.svg="data:image/svg+xml,"+encodeURIComponent(cr.serializeToString(We)),At.intrinsicWidth=We.width.baseVal.value,At.intrinsicHeight=We.height.baseVal.value,At.context.cache.addImage(At.svg),At}return ye}(Ql),Bu=function(xt){b(ye,xt);function ye(Fe,We){var At=xt.call(this,Fe,We)||this;return At.value=We.value,At}return ye}(Ql),Nu=function(xt){b(ye,xt);function ye(Fe,We){var At=xt.call(this,Fe,We)||this;return At.start=We.start,At.reversed=typeof We.reversed=="boolean"&&We.reversed===!0,At}return ye}(Ql),xd=[{type:15,flags:0,unit:"px",number:3}],Ju=[{type:16,flags:0,number:50}],sd=function(ye){return ye.width>ye.height?new m(ye.left+(ye.width-ye.height)/2,ye.top,ye.height,ye.height):ye.width0)We.textNodes.push(new Pd(ye,cr,We.styles));else if(Wr(cr))if(xi(cr)&&cr.assignedNodes)cr.assignedNodes().forEach(function(wn){return xt(ye,wn,We,At)});else{var sn=_e(ye,cr);sn.styles.isVisible()&&(Ot(cr,sn,At)?sn.flags|=4:ur(sn.styles)&&(sn.flags|=2),Pu.indexOf(cr.tagName)!==-1&&(sn.flags|=8),We.elements.push(sn),cr.slot,cr.shadowRoot?xt(ye,cr.shadowRoot,sn,At):!qr(cr)&&!Zt(cr)&&!Ln(cr)&&xt(ye,cr,sn,At))}},_e=function(ye,Fe){return Xr(Fe)?new od(ye,Fe):Fr(Fe)?new mu(ye,Fe):Zt(Fe)?new gu(ye,Fe):Oe(Fe)?new Bu(ye,Fe):tt(Fe)?new Nu(ye,Fe):wt(Fe)?new $u(ye,Fe):Ln(Fe)?new ld(ye,Fe):qr(Fe)?new ku(ye,Fe):Mr(Fe)?new Cd(ye,Fe):new Ql(ye,Fe)},Je=function(ye,Fe){var We=_e(ye,Fe);return We.flags|=4,qu(ye,Fe,We,We),We},Ot=function(ye,Fe,We){return Fe.styles.isPositionedWithZIndex()||Fe.styles.opacity<1||Fe.styles.isTransformed()||Jt(ye)&&We.styles.isTransparent()},ur=function(ye){return ye.isPositioned()||ye.isFloating()},Or=function(ye){return ye.nodeType===Node.TEXT_NODE},Wr=function(ye){return ye.nodeType===Node.ELEMENT_NODE},Ue=function(ye){return Wr(ye)&&typeof ye.style!="undefined"&&!se(ye)},se=function(ye){return typeof ye.className=="object"},Oe=function(ye){return ye.tagName==="LI"},tt=function(ye){return ye.tagName==="OL"},wt=function(ye){return ye.tagName==="INPUT"},zt=function(ye){return ye.tagName==="HTML"},Zt=function(ye){return ye.tagName==="svg"},Jt=function(ye){return ye.tagName==="BODY"},Fr=function(ye){return ye.tagName==="CANVAS"},Xr=function(ye){return ye.tagName==="IMG"},Mr=function(ye){return ye.tagName==="IFRAME"},Ir=function(ye){return ye.tagName==="STYLE"},zr=function(ye){return ye.tagName==="SCRIPT"},qr=function(ye){return ye.tagName==="TEXTAREA"},Ln=function(ye){return ye.tagName==="SELECT"},xi=function(ye){return ye.tagName==="SLOT"},Ki=function(){function xt(){this.counters={}}return xt.prototype.getCounterValue=function(ye){var Fe=this.counters[ye];return Fe&&Fe.length?Fe[Fe.length-1]:1},xt.prototype.getCounterValues=function(ye){var Fe=this.counters[ye];return Fe||[]},xt.prototype.pop=function(ye){var Fe=this;ye.forEach(function(We){return Fe.counters[We].pop()})},xt.prototype.parse=function(ye){var Fe=this,We=ye.counterIncrement,At=ye.counterReset,cr=!0;We!==null&&We.forEach(function(sn){var wn=Fe.counters[sn.counter];wn&&sn.increment!==0&&(cr=!1,wn.length||wn.push(1),wn[Math.max(0,wn.length-1)]+=sn.increment)});var Hr=[];return cr&&At.forEach(function(sn){var wn=Fe.counters[sn.counter];Hr.push(sn.counter),wn||(wn=Fe.counters[sn.counter]=[]),wn.push(sn.reset)}),Hr},xt}(),_a={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Ji={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Co={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},ja={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},zo=function(ye,Fe,We,At,cr,Hr){return yeWe?vr(ye,cr,Hr.length>0):At.integers.reduce(function(sn,wn,jn){for(;ye>=wn;)ye-=wn,sn+=At.values[jn];return sn},"")+Hr},Eo=function(ye,Fe,We,At){var cr="";do We||ye--,cr=At(ye)+cr,ye/=Fe;while(ye*Fe>=Fe);return cr},ko=function(ye,Fe,We,At,cr){var Hr=We-Fe+1;return(ye<0?"-":"")+(Eo(Math.abs(ye),Hr,At,function(sn){return s(Math.floor(sn%Hr)+Fe)})+cr)},Ns=function(ye,Fe,We){We===void 0&&(We=". ");var At=Fe.length;return Eo(Math.abs(ye),At,!1,function(cr){return Fe[Math.floor(cr%At)]})+We},D=1<<0,U=1<<1,oe=1<<2,le=1<<3,Ae=function(ye,Fe,We,At,cr,Hr){if(ye<-9999||ye>9999)return vr(ye,da.CJK_DECIMAL,cr.length>0);var sn=Math.abs(ye),wn=cr;if(sn===0)return Fe[0]+wn;for(var jn=0;sn>0&&jn<=4;jn++){var Gi=sn%10;Gi===0&&ls(Hr,D)&&wn!==""?wn=Fe[Gi]+wn:Gi>1||Gi===1&&jn===0||Gi===1&&jn===1&&ls(Hr,U)||Gi===1&&jn===1&&ls(Hr,oe)&&ye>100||Gi===1&&jn>1&&ls(Hr,le)?wn=Fe[Gi]+(jn>0?We[jn-1]:"")+wn:Gi===1&&jn>0&&(wn=We[jn-1]+wn),sn=Math.floor(sn/10)}return(ye<0?At:"")+wn},Ke="\u5341\u767E\u5343\u842C",Tt="\u62FE\u4F70\u4EDF\u842C",Qt="\u30DE\u30A4\u30CA\u30B9",fr="\uB9C8\uC774\uB108\uC2A4",vr=function(ye,Fe,We){var At=We?". ":"",cr=We?"\u3001":"",Hr=We?", ":"",sn=We?" ":"";switch(Fe){case da.DISC:return"\u2022"+sn;case da.CIRCLE:return"\u25E6"+sn;case da.SQUARE:return"\u25FE"+sn;case da.DECIMAL_LEADING_ZERO:var wn=ko(ye,48,57,!0,At);return wn.length<4?"0"+wn:wn;case da.CJK_DECIMAL:return Ns(ye,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",cr);case da.LOWER_ROMAN:return zo(ye,1,3999,_a,da.DECIMAL,At).toLowerCase();case da.UPPER_ROMAN:return zo(ye,1,3999,_a,da.DECIMAL,At);case da.LOWER_GREEK:return ko(ye,945,969,!1,At);case da.LOWER_ALPHA:return ko(ye,97,122,!1,At);case da.UPPER_ALPHA:return ko(ye,65,90,!1,At);case da.ARABIC_INDIC:return ko(ye,1632,1641,!0,At);case da.ARMENIAN:case da.UPPER_ARMENIAN:return zo(ye,1,9999,Ji,da.DECIMAL,At);case da.LOWER_ARMENIAN:return zo(ye,1,9999,Ji,da.DECIMAL,At).toLowerCase();case da.BENGALI:return ko(ye,2534,2543,!0,At);case da.CAMBODIAN:case da.KHMER:return ko(ye,6112,6121,!0,At);case da.CJK_EARTHLY_BRANCH:return Ns(ye,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",cr);case da.CJK_HEAVENLY_STEM:return Ns(ye,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",cr);case da.CJK_IDEOGRAPHIC:case da.TRAD_CHINESE_INFORMAL:return Ae(ye,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ke,"\u8CA0",cr,U|oe|le);case da.TRAD_CHINESE_FORMAL:return Ae(ye,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Tt,"\u8CA0",cr,D|U|oe|le);case da.SIMP_CHINESE_INFORMAL:return Ae(ye,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ke,"\u8D1F",cr,U|oe|le);case da.SIMP_CHINESE_FORMAL:return Ae(ye,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Tt,"\u8D1F",cr,D|U|oe|le);case da.JAPANESE_INFORMAL:return Ae(ye,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Qt,cr,0);case da.JAPANESE_FORMAL:return Ae(ye,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Qt,cr,D|U|oe);case da.KOREAN_HANGUL_FORMAL:return Ae(ye,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",fr,Hr,D|U|oe);case da.KOREAN_HANJA_INFORMAL:return Ae(ye,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",fr,Hr,0);case da.KOREAN_HANJA_FORMAL:return Ae(ye,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",fr,Hr,D|U|oe);case da.DEVANAGARI:return ko(ye,2406,2415,!0,At);case da.GEORGIAN:return zo(ye,1,19999,ja,da.DECIMAL,At);case da.GUJARATI:return ko(ye,2790,2799,!0,At);case da.GURMUKHI:return ko(ye,2662,2671,!0,At);case da.HEBREW:return zo(ye,1,10999,Co,da.DECIMAL,At);case da.HIRAGANA:return Ns(ye,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case da.HIRAGANA_IROHA:return Ns(ye,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case da.KANNADA:return ko(ye,3302,3311,!0,At);case da.KATAKANA:return Ns(ye,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",cr);case da.KATAKANA_IROHA:return Ns(ye,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",cr);case da.LAO:return ko(ye,3792,3801,!0,At);case da.MONGOLIAN:return ko(ye,6160,6169,!0,At);case da.MYANMAR:return ko(ye,4160,4169,!0,At);case da.ORIYA:return ko(ye,2918,2927,!0,At);case da.PERSIAN:return ko(ye,1776,1785,!0,At);case da.TAMIL:return ko(ye,3046,3055,!0,At);case da.TELUGU:return ko(ye,3174,3183,!0,At);case da.THAI:return ko(ye,3664,3673,!0,At);case da.TIBETAN:return ko(ye,3872,3881,!0,At);case da.DECIMAL:default:return ko(ye,48,57,!0,At)}},xn="data-html2canvas-ignore",Hn=function(){function xt(ye,Fe,We){if(this.context=ye,this.options=We,this.scrolledElements=[],this.referenceElement=Fe,this.counters=new Ki,this.quoteDepth=0,!Fe.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(Fe.ownerDocument.documentElement)}return xt.prototype.toIFrame=function(ye,Fe){var We=this,At=ci(ye,Fe);if(!At.contentWindow)return Promise.reject("Unable to find iframe window");var cr=ye.defaultView.pageXOffset,Hr=ye.defaultView.pageYOffset,sn=At.contentWindow,wn=sn.document,jn=$a(At).then(function(){return f(We,void 0,void 0,function(){var Gi,Mi;return t(this,function(Qi){switch(Qi.label){case 0:return this.scrolledElements.forEach(ws),sn&&(sn.scrollTo(Fe.left,Fe.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(sn.scrollY!==Fe.top||sn.scrollX!==Fe.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(sn.scrollX-Fe.left,sn.scrollY-Fe.top,0,0))),Gi=this.options.onclone,Mi=this.clonedReferenceElement,typeof Mi=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:wn.fonts&&wn.fonts.ready?[4,wn.fonts.ready]:[3,2];case 1:Qi.sent(),Qi.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Pa(wn)]:[3,4];case 3:Qi.sent(),Qi.label=4;case 4:return typeof Gi=="function"?[2,Promise.resolve().then(function(){return Gi(wn,Mi)}).then(function(){return At})]:[2,At]}})})});return wn.open(),wn.write(uo(document.doctype)+""),Fo(this.referenceElement.ownerDocument,cr,Hr),wn.replaceChild(wn.adoptNode(this.documentElement),wn.documentElement),wn.close(),jn},xt.prototype.createElementClone=function(ye){if(Ec(ye,2))debugger;if(Fr(ye))return this.createCanvasClone(ye);if(Ir(ye))return this.createStyleClone(ye);var Fe=ye.cloneNode(!1);return Xr(Fe)&&(Xr(ye)&&ye.currentSrc&&ye.currentSrc!==ye.src&&(Fe.src=ye.currentSrc,Fe.srcset=""),Fe.loading==="lazy"&&(Fe.loading="eager")),Fe},xt.prototype.createStyleClone=function(ye){try{var Fe=ye.sheet;if(Fe&&Fe.cssRules){var We=[].slice.call(Fe.cssRules,0).reduce(function(cr,Hr){return Hr&&typeof Hr.cssText=="string"?cr+Hr.cssText:cr},""),At=ye.cloneNode(!1);return At.textContent=We,At}}catch(cr){if(this.context.logger.error("Unable to access cssRules property",cr),cr.name!=="SecurityError")throw cr}return ye.cloneNode(!1)},xt.prototype.createCanvasClone=function(ye){var Fe;if(this.options.inlineImages&&ye.ownerDocument){var We=ye.ownerDocument.createElement("img");try{return We.src=ye.toDataURL(),We}catch(jn){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",ye)}}var At=ye.cloneNode(!1);try{At.width=ye.width,At.height=ye.height;var cr=ye.getContext("2d"),Hr=At.getContext("2d");if(Hr)if(!this.options.allowTaint&&cr)Hr.putImageData(cr.getImageData(0,0,ye.width,ye.height),0,0);else{var sn=(Fe=ye.getContext("webgl2"))!==null&&Fe!==void 0?Fe:ye.getContext("webgl");if(sn){var wn=sn.getContextAttributes();(wn==null?void 0:wn.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",ye)}Hr.drawImage(ye,0,0)}return At}catch(jn){this.context.logger.info("Unable to clone canvas as it is tainted",ye)}return At},xt.prototype.cloneNode=function(ye){if(Or(ye))return document.createTextNode(ye.data);if(!ye.ownerDocument)return ye.cloneNode(!1);var Fe=ye.ownerDocument.defaultView;if(Fe&&Wr(ye)&&(Ue(ye)||se(ye))){var We=this.createElementClone(ye);We.style.transitionProperty="none";var At=Fe.getComputedStyle(ye),cr=Fe.getComputedStyle(ye,":before"),Hr=Fe.getComputedStyle(ye,":after");this.referenceElement===ye&&Ue(We)&&(this.clonedReferenceElement=We),Jt(We)&&bc(We);for(var sn=this.counters.parse(new al(this.context,At)),wn=this.resolvePseudoContent(ye,We,cr,hi.BEFORE),jn=ye.firstChild;jn;jn=jn.nextSibling)(!Wr(jn)||!zr(jn)&&!jn.hasAttribute(xn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(jn)))&&((!this.options.copyStyles||!Wr(jn)||!Ir(jn))&&We.appendChild(this.cloneNode(jn)));wn&&We.insertBefore(wn,We.firstChild);var Gi=this.resolvePseudoContent(ye,We,Hr,hi.AFTER);return Gi&&We.appendChild(Gi),this.counters.pop(sn),At&&(this.options.copyStyles||se(ye))&&!Mr(ye)&&Ka(At,We),(ye.scrollTop!==0||ye.scrollLeft!==0)&&this.scrolledElements.push([We,ye.scrollLeft,ye.scrollTop]),(qr(ye)||Ln(ye))&&(qr(We)||Ln(We))&&(We.value=ye.value),We}return ye.cloneNode(!1)},xt.prototype.resolvePseudoContent=function(ye,Fe,We,At){var cr=this;if(!We)return;var Hr=We.content,sn=Fe.ownerDocument;if(!sn||!Hr||Hr==="none"||Hr==="-moz-alt-content"||We.display==="none")return;this.counters.parse(new al(this.context,We));var wn=new ec(this.context,We),jn=sn.createElement("html2canvaspseudoelement");Ka(We,jn),wn.content.forEach(function(Mi){if(Mi.type===0)jn.appendChild(sn.createTextNode(Mi.value));else if(Mi.type===22){var Qi=sn.createElement("img");Qi.src=Mi.value,Qi.style.opacity="1",jn.appendChild(Qi)}else if(Mi.type===18){if(Mi.name==="attr"){var wo=Mi.values.filter(xr);wo.length&&jn.appendChild(sn.createTextNode(ye.getAttribute(wo[0].value)||""))}else if(Mi.name==="counter"){var fo=Mi.values.filter(On),Bo=fo[0],Ds=fo[1];if(Bo&&xr(Bo)){var fs=cr.counters.getCounterValue(Bo.value),cs=Ds&&xr(Ds)?Oc.parse(cr.context,Ds.value):da.DECIMAL;jn.appendChild(sn.createTextNode(vr(fs,cs,!1)))}}else if(Mi.name==="counters"){var yl=Mi.values.filter(On),Bo=yl[0],Nl=yl[1],Ds=yl[2];if(Bo&&xr(Bo)){var Cs=cr.counters.getCounterValues(Bo.value),Ko=Ds&&xr(Ds)?Oc.parse(cr.context,Ds.value):da.DECIMAL,Ul=Nl&&Nl.type===0?Nl.value:"",jl=Cs.map(function(Uu){return vr(Uu,Ko,!1)}).join(Ul);jn.appendChild(sn.createTextNode(jl))}}}else if(Mi.type===20)switch(Mi.value){case"open-quote":jn.appendChild(sn.createTextNode(mc(wn.quotes,cr.quoteDepth++,!0)));break;case"close-quote":jn.appendChild(sn.createTextNode(mc(wn.quotes,--cr.quoteDepth,!1)));break;default:jn.appendChild(sn.createTextNode(Mi.value))}}),jn.className=hl+" "+Pl;var Gi=At===hi.BEFORE?" "+hl:" "+Pl;return se(Fe)?Fe.className.baseValue+=Gi:Fe.className+=Gi,jn},xt.destroy=function(ye){return ye.parentNode?(ye.parentNode.removeChild(ye),!0):!1},xt}(),hi;(function(xt){xt[xt.BEFORE=0]="BEFORE",xt[xt.AFTER=1]="AFTER"})(hi||(hi={}));var ci=function(ye,Fe){var We=ye.createElement("iframe");return We.className="html2canvas-container",We.style.visibility="hidden",We.style.position="fixed",We.style.left="-10000px",We.style.top="0px",We.style.border="0",We.width=Fe.width.toString(),We.height=Fe.height.toString(),We.scrolling="no",We.setAttribute(xn,"true"),ye.body.appendChild(We),We},ra=function(ye){return new Promise(function(Fe){if(ye.complete){Fe();return}if(!ye.src){Fe();return}ye.onload=Fe,ye.onerror=Fe})},Pa=function(ye){return Promise.all([].slice.call(ye.images,0).map(ra))},$a=function(ye){return new Promise(function(Fe,We){var At=ye.contentWindow;if(!At)return We("No window assigned for iframe");var cr=At.document;At.onload=ye.onload=function(){At.onload=ye.onload=null;var Hr=setInterval(function(){cr.body.childNodes.length>0&&cr.readyState==="complete"&&(clearInterval(Hr),Fe(ye))},50)}})},Qa=["all","d","content"],Ka=function(ye,Fe){for(var We=ye.length-1;We>=0;We--){var At=ye.item(We);Qa.indexOf(At)===-1&&Fe.style.setProperty(At,ye.getPropertyValue(At))}return Fe},uo=function(ye){var Fe="";return ye&&(Fe+=""),Fe},Fo=function(ye,Fe,We){ye&&ye.defaultView&&(Fe!==ye.defaultView.pageXOffset||We!==ye.defaultView.pageYOffset)&&ye.defaultView.scrollTo(Fe,We)},ws=function(ye){var Fe=ye[0],We=ye[1],At=ye[2];Fe.scrollLeft=We,Fe.scrollTop=At},ts=":before",js=":after",hl="___html2canvas___pseudoelement_before",Pl="___html2canvas___pseudoelement_after",Ll=`{ content: "" !important; display: none !important; }`,bc=function(ye){Gc(ye,"."+hl+ts+Ll+` - .`+Pl+js+Ll)},Gc=function(ye,Fe){var Ke=ye.ownerDocument;if(Ke){var At=Ke.createElement("style");At.textContent=Fe,ye.appendChild(At)}},ic=function(){function xt(){}return xt.getOrigin=function(ye){var Fe=xt._link;return Fe?(Fe.href=ye,Fe.href=Fe.href,Fe.protocol+Fe.hostname+Fe.port):"about:blank"},xt.isSameOrigin=function(ye){return xt.getOrigin(ye)===xt._origin},xt.setContext=function(ye){xt._link=ye.document.createElement("a"),xt._origin=xt.getOrigin(ye.location.href)},xt._origin="about:blank",xt}(),Dc=function(){function xt(ye,Fe){this.context=ye,this._options=Fe,this._cache={}}return xt.prototype.addImage=function(ye){var Fe=Promise.resolve();return this.has(ye)||(su(ye)||Jl(ye))&&(this._cache[ye]=this.loadImage(ye)).catch(function(){}),Fe},xt.prototype.match=function(ye){return this._cache[ye]},xt.prototype.loadImage=function(ye){return f(this,void 0,void 0,function(){var Fe,Ke,At,cr,Hr=this;return t(this,function(sn){switch(sn.label){case 0:return Fe=ic.isSameOrigin(ye),Ke=!Hc(ye)&&this._options.useCORS===!0&&Zl.SUPPORT_CORS_IMAGES&&!Fe,At=!Hc(ye)&&!Fe&&!su(ye)&&typeof this._options.proxy=="string"&&Zl.SUPPORT_CORS_XHR&&!Ke,!Fe&&this._options.allowTaint===!1&&!Hc(ye)&&!su(ye)&&!At&&!Ke?[2]:(cr=ye,At?[4,this.proxy(cr)]:[3,2]);case 1:cr=sn.sent(),sn.label=2;case 2:return this.context.logger.debug("Added image "+ye.substring(0,256)),[4,new Promise(function(wn,jn){var Gi=new Image;Gi.onload=function(){return wn(Gi)},Gi.onerror=jn,(cd(cr)||Ke)&&(Gi.crossOrigin="anonymous"),Gi.src=cr,Gi.complete===!0&&setTimeout(function(){return wn(Gi)},500),Hr._options.imageTimeout>0&&setTimeout(function(){return jn("Timed out ("+Hr._options.imageTimeout+"ms) loading image")},Hr._options.imageTimeout)})];case 3:return[2,sn.sent()]}})})},xt.prototype.has=function(ye){return typeof this._cache[ye]!="undefined"},xt.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},xt.prototype.proxy=function(ye){var Fe=this,Ke=this._options.proxy;if(!Ke)throw new Error("No proxy defined");var At=ye.substring(0,256);return new Promise(function(cr,Hr){var sn=Zl.SUPPORT_RESPONSE_TYPE?"blob":"text",wn=new XMLHttpRequest;wn.onload=function(){if(wn.status===200)if(sn==="text")cr(wn.response);else{var Mi=new FileReader;Mi.addEventListener("load",function(){return cr(Mi.result)},!1),Mi.addEventListener("error",function(Qi){return Hr(Qi)},!1),Mi.readAsDataURL(wn.response)}else Hr("Failed to proxy resource "+At+" with status code "+wn.status)},wn.onerror=Hr;var jn=Ke.indexOf("?")>-1?"&":"?";if(wn.open("GET",""+Ke+jn+"url="+encodeURIComponent(ye)+"&responseType="+sn),sn!=="text"&&wn instanceof XMLHttpRequest&&(wn.responseType=sn),Fe._options.imageTimeout){var Gi=Fe._options.imageTimeout;wn.timeout=Gi,wn.ontimeout=function(){return Hr("Timed out ("+Gi+"ms) proxying "+At)}}wn.send()})},xt}(),uc=/^data:image\/svg\+xml/i,gc=/^data:image\/.*;base64,/i,dc=/^data:image\/.*/i,Jl=function(ye){return Zl.SUPPORT_SVG_DRAWING||!hc(ye)},Hc=function(ye){return dc.test(ye)},cd=function(ye){return gc.test(ye)},su=function(ye){return ye.substr(0,4)==="blob"},hc=function(ye){return ye.substr(-3).toLowerCase()==="svg"||uc.test(ye)},eu;(function(xt){xt[xt.VECTOR=0]="VECTOR",xt[xt.BEZIER_CURVE=1]="BEZIER_CURVE"})(eu||(eu={}));var Ic=function(ye,Fe){return ye.length===Fe.length?ye.some(function(Ke,At){return Ke===Fe[At]}):!1},$d=function(ye,Fe,Ke,At,cr){return ye.map(function(Hr,sn){switch(sn){case 0:return Hr.add(Fe,Ke);case 1:return Hr.add(Fe+At,Ke);case 2:return Hr.add(Fe+At,Ke+cr);case 3:return Hr.add(Fe,Ke+cr)}return Hr})},Do=function(){function xt(ye,Fe){this.type=eu.VECTOR,this.x=ye,this.y=Fe}return xt.prototype.add=function(ye,Fe){return new xt(this.x+ye,this.y+Fe)},xt}(),Qc=function(ye,Fe,Ke){return new Do(ye.x+(Fe.x-ye.x)*Ke,ye.y+(Fe.y-ye.y)*Ke)},lu=function(){function xt(ye,Fe,Ke,At){this.type=eu.BEZIER_CURVE,this.start=ye,this.startControl=Fe,this.endControl=Ke,this.end=At}return xt.prototype.subdivide=function(ye,Fe){var Ke=Qc(this.start,this.startControl,ye),At=Qc(this.startControl,this.endControl,ye),cr=Qc(this.endControl,this.end,ye),Hr=Qc(Ke,At,ye),sn=Qc(At,cr,ye),wn=Qc(Hr,sn,ye);return Fe?new xt(this.start,Ke,Hr,wn):new xt(wn,sn,cr,this.end)},xt.prototype.add=function(ye,Fe){return new xt(this.start.add(ye,Fe),this.startControl.add(ye,Fe),this.endControl.add(ye,Fe),this.end.add(ye,Fe))},xt.prototype.reverse=function(){return new xt(this.end,this.endControl,this.startControl,this.start)},xt}(),zl=function(ye){return ye.type===eu.BEZIER_CURVE},Cu=function(){function xt(ye){var Fe=ye.styles,Ke=ye.bounds,At=Di(Fe.borderTopLeftRadius,Ke.width,Ke.height),cr=At[0],Hr=At[1],sn=Di(Fe.borderTopRightRadius,Ke.width,Ke.height),wn=sn[0],jn=sn[1],Gi=Di(Fe.borderBottomRightRadius,Ke.width,Ke.height),Mi=Gi[0],Qi=Gi[1],wo=Di(Fe.borderBottomLeftRadius,Ke.width,Ke.height),fo=wo[0],Bo=wo[1],Ds=[];Ds.push((cr+wn)/Ke.width),Ds.push((fo+Mi)/Ke.width),Ds.push((Hr+Bo)/Ke.height),Ds.push((jn+Qi)/Ke.height);var fs=Math.max.apply(Math,Ds);fs>1&&(cr/=fs,Hr/=fs,wn/=fs,jn/=fs,Mi/=fs,Qi/=fs,fo/=fs,Bo/=fs);var cs=Ke.width-wn,yl=Ke.height-Qi,Nl=Ke.width-Mi,Cs=Ke.height-Bo,Wo=Fe.borderTopWidth,Ul=Fe.borderRightWidth,jl=Fe.borderBottomWidth,pl=Fe.borderLeftWidth,Au=Ui(Fe.paddingTop,ye.bounds.width),Uu=Ui(Fe.paddingRight,ye.bounds.width),Eu=Ui(Fe.paddingBottom,ye.bounds.width),Zc=Ui(Fe.paddingLeft,ye.bounds.width);this.topLeftBorderDoubleOuterBox=cr>0||Hr>0?rc(Ke.left+pl/3,Ke.top+Wo/3,cr-pl/3,Hr-Wo/3,fl.TOP_LEFT):new Do(Ke.left+pl/3,Ke.top+Wo/3),this.topRightBorderDoubleOuterBox=cr>0||Hr>0?rc(Ke.left+cs,Ke.top+Wo/3,wn-Ul/3,jn-Wo/3,fl.TOP_RIGHT):new Do(Ke.left+Ke.width-Ul/3,Ke.top+Wo/3),this.bottomRightBorderDoubleOuterBox=Mi>0||Qi>0?rc(Ke.left+Nl,Ke.top+yl,Mi-Ul/3,Qi-jl/3,fl.BOTTOM_RIGHT):new Do(Ke.left+Ke.width-Ul/3,Ke.top+Ke.height-jl/3),this.bottomLeftBorderDoubleOuterBox=fo>0||Bo>0?rc(Ke.left+pl/3,Ke.top+Cs,fo-pl/3,Bo-jl/3,fl.BOTTOM_LEFT):new Do(Ke.left+pl/3,Ke.top+Ke.height-jl/3),this.topLeftBorderDoubleInnerBox=cr>0||Hr>0?rc(Ke.left+pl*2/3,Ke.top+Wo*2/3,cr-pl*2/3,Hr-Wo*2/3,fl.TOP_LEFT):new Do(Ke.left+pl*2/3,Ke.top+Wo*2/3),this.topRightBorderDoubleInnerBox=cr>0||Hr>0?rc(Ke.left+cs,Ke.top+Wo*2/3,wn-Ul*2/3,jn-Wo*2/3,fl.TOP_RIGHT):new Do(Ke.left+Ke.width-Ul*2/3,Ke.top+Wo*2/3),this.bottomRightBorderDoubleInnerBox=Mi>0||Qi>0?rc(Ke.left+Nl,Ke.top+yl,Mi-Ul*2/3,Qi-jl*2/3,fl.BOTTOM_RIGHT):new Do(Ke.left+Ke.width-Ul*2/3,Ke.top+Ke.height-jl*2/3),this.bottomLeftBorderDoubleInnerBox=fo>0||Bo>0?rc(Ke.left+pl*2/3,Ke.top+Cs,fo-pl*2/3,Bo-jl*2/3,fl.BOTTOM_LEFT):new Do(Ke.left+pl*2/3,Ke.top+Ke.height-jl*2/3),this.topLeftBorderStroke=cr>0||Hr>0?rc(Ke.left+pl/2,Ke.top+Wo/2,cr-pl/2,Hr-Wo/2,fl.TOP_LEFT):new Do(Ke.left+pl/2,Ke.top+Wo/2),this.topRightBorderStroke=cr>0||Hr>0?rc(Ke.left+cs,Ke.top+Wo/2,wn-Ul/2,jn-Wo/2,fl.TOP_RIGHT):new Do(Ke.left+Ke.width-Ul/2,Ke.top+Wo/2),this.bottomRightBorderStroke=Mi>0||Qi>0?rc(Ke.left+Nl,Ke.top+yl,Mi-Ul/2,Qi-jl/2,fl.BOTTOM_RIGHT):new Do(Ke.left+Ke.width-Ul/2,Ke.top+Ke.height-jl/2),this.bottomLeftBorderStroke=fo>0||Bo>0?rc(Ke.left+pl/2,Ke.top+Cs,fo-pl/2,Bo-jl/2,fl.BOTTOM_LEFT):new Do(Ke.left+pl/2,Ke.top+Ke.height-jl/2),this.topLeftBorderBox=cr>0||Hr>0?rc(Ke.left,Ke.top,cr,Hr,fl.TOP_LEFT):new Do(Ke.left,Ke.top),this.topRightBorderBox=wn>0||jn>0?rc(Ke.left+cs,Ke.top,wn,jn,fl.TOP_RIGHT):new Do(Ke.left+Ke.width,Ke.top),this.bottomRightBorderBox=Mi>0||Qi>0?rc(Ke.left+Nl,Ke.top+yl,Mi,Qi,fl.BOTTOM_RIGHT):new Do(Ke.left+Ke.width,Ke.top+Ke.height),this.bottomLeftBorderBox=fo>0||Bo>0?rc(Ke.left,Ke.top+Cs,fo,Bo,fl.BOTTOM_LEFT):new Do(Ke.left,Ke.top+Ke.height),this.topLeftPaddingBox=cr>0||Hr>0?rc(Ke.left+pl,Ke.top+Wo,Math.max(0,cr-pl),Math.max(0,Hr-Wo),fl.TOP_LEFT):new Do(Ke.left+pl,Ke.top+Wo),this.topRightPaddingBox=wn>0||jn>0?rc(Ke.left+Math.min(cs,Ke.width-Ul),Ke.top+Wo,cs>Ke.width+Ul?0:Math.max(0,wn-Ul),Math.max(0,jn-Wo),fl.TOP_RIGHT):new Do(Ke.left+Ke.width-Ul,Ke.top+Wo),this.bottomRightPaddingBox=Mi>0||Qi>0?rc(Ke.left+Math.min(Nl,Ke.width-pl),Ke.top+Math.min(yl,Ke.height-jl),Math.max(0,Mi-Ul),Math.max(0,Qi-jl),fl.BOTTOM_RIGHT):new Do(Ke.left+Ke.width-Ul,Ke.top+Ke.height-jl),this.bottomLeftPaddingBox=fo>0||Bo>0?rc(Ke.left+pl,Ke.top+Math.min(Cs,Ke.height-jl),Math.max(0,fo-pl),Math.max(0,Bo-jl),fl.BOTTOM_LEFT):new Do(Ke.left+pl,Ke.top+Ke.height-jl),this.topLeftContentBox=cr>0||Hr>0?rc(Ke.left+pl+Zc,Ke.top+Wo+Au,Math.max(0,cr-(pl+Zc)),Math.max(0,Hr-(Wo+Au)),fl.TOP_LEFT):new Do(Ke.left+pl+Zc,Ke.top+Wo+Au),this.topRightContentBox=wn>0||jn>0?rc(Ke.left+Math.min(cs,Ke.width+pl+Zc),Ke.top+Wo+Au,cs>Ke.width+pl+Zc?0:wn-pl+Zc,jn-(Wo+Au),fl.TOP_RIGHT):new Do(Ke.left+Ke.width-(Ul+Uu),Ke.top+Wo+Au),this.bottomRightContentBox=Mi>0||Qi>0?rc(Ke.left+Math.min(Nl,Ke.width-(pl+Zc)),Ke.top+Math.min(yl,Ke.height+Wo+Au),Math.max(0,Mi-(Ul+Uu)),Qi-(jl+Eu),fl.BOTTOM_RIGHT):new Do(Ke.left+Ke.width-(Ul+Uu),Ke.top+Ke.height-(jl+Eu)),this.bottomLeftContentBox=fo>0||Bo>0?rc(Ke.left+pl+Zc,Ke.top+Cs,Math.max(0,fo-(pl+Zc)),Bo-(jl+Eu),fl.BOTTOM_LEFT):new Do(Ke.left+pl+Zc,Ke.top+Ke.height-(jl+Eu))}return xt}(),fl;(function(xt){xt[xt.TOP_LEFT=0]="TOP_LEFT",xt[xt.TOP_RIGHT=1]="TOP_RIGHT",xt[xt.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",xt[xt.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(fl||(fl={}));var rc=function(ye,Fe,Ke,At,cr){var Hr=4*((Math.sqrt(2)-1)/3),sn=Ke*Hr,wn=At*Hr,jn=ye+Ke,Gi=Fe+At;switch(cr){case fl.TOP_LEFT:return new lu(new Do(ye,Gi),new Do(ye,Gi-wn),new Do(jn-sn,Fe),new Do(jn,Fe));case fl.TOP_RIGHT:return new lu(new Do(ye,Fe),new Do(ye+sn,Fe),new Do(jn,Gi-wn),new Do(jn,Gi));case fl.BOTTOM_RIGHT:return new lu(new Do(jn,Fe),new Do(jn,Fe+wn),new Do(ye+sn,Gi),new Do(ye,Gi));case fl.BOTTOM_LEFT:default:return new lu(new Do(jn,Gi),new Do(jn-sn,Gi),new Do(ye,Fe+wn),new Do(ye,Fe))}},qd=function(ye){return[ye.topLeftBorderBox,ye.topRightBorderBox,ye.bottomRightBorderBox,ye.bottomLeftBorderBox]},Nh=function(ye){return[ye.topLeftContentBox,ye.topRightContentBox,ye.bottomRightContentBox,ye.bottomLeftContentBox]},Ed=function(ye){return[ye.topLeftPaddingBox,ye.topRightPaddingBox,ye.bottomRightPaddingBox,ye.bottomLeftPaddingBox]},_h=function(){function xt(ye,Fe,Ke){this.offsetX=ye,this.offsetY=Fe,this.matrix=Ke,this.type=0,this.target=2|4}return xt}(),jd=function(){function xt(ye,Fe){this.path=ye,this.target=Fe,this.type=1}return xt}(),ud=function(){function xt(ye){this.opacity=ye,this.type=2,this.target=2|4}return xt}(),Th=function(ye){return ye.type===0},uh=function(ye){return ye.type===1},Dh=function(ye){return ye.type===2},dh=function(){function xt(ye){this.element=ye,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return xt}(),_d=function(){function xt(ye,Fe){if(this.container=ye,this.parent=Fe,this.effects=[],this.curves=new Cu(this.container),this.container.styles.opacity<1&&this.effects.push(new ud(this.container.styles.opacity)),this.container.styles.transform!==null){var Ke=this.container.bounds.left+this.container.styles.transformOrigin[0].number,At=this.container.bounds.top+this.container.styles.transformOrigin[1].number,cr=this.container.styles.transform;this.effects.push(new _h(Ke,At,cr))}if(this.container.styles.overflowX!==ul.VISIBLE){var Hr=qd(this.curves),sn=Ed(this.curves);Ic(Hr,sn)?this.effects.push(new jd(Hr,2|4)):(this.effects.push(new jd(Hr,2)),this.effects.push(new jd(sn,4)))}}return xt.prototype.getEffects=function(ye){for(var Fe=[Rt.ABSOLUTE,Rt.FIXED].indexOf(this.container.styles.position)===-1,Ke=this.parent,At=this.effects.slice(0);Ke;){var cr=Ke.effects.filter(function(wn){return!uh(wn)});if(Fe||Ke.container.styles.position!==Rt.STATIC||!Ke.parent){if(At.unshift.apply(At,cr),Fe=[Rt.ABSOLUTE,Rt.FIXED].indexOf(Ke.container.styles.position)===-1,Ke.container.styles.overflowX!==ul.VISIBLE){var Hr=qd(Ke.curves),sn=Ed(Ke.curves);Ic(Hr,sn)||At.unshift(new jd(sn,2|4))}}else At.unshift.apply(At,cr);Ke=Ke.parent}return At.filter(function(wn){return ls(wn.target,ye)})},xt}(),Mh=function xt(ye,Fe,Ke,At){ye.container.elements.forEach(function(cr){var Hr=ls(cr.flags,4),sn=ls(cr.flags,2),wn=new _d(cr,ye);ls(cr.styles.display,2048)&&At.push(wn);var jn=ls(cr.flags,8)?[]:At;if(Hr||sn){var Gi=Hr||cr.styles.isPositioned()?Ke:Fe,Mi=new dh(wn);if(cr.styles.isPositioned()||cr.styles.opacity<1||cr.styles.isTransformed()){var Qi=cr.styles.zIndex.order;if(Qi<0){var wo=0;Gi.negativeZIndex.some(function(Bo,Ds){return Qi>Bo.element.container.styles.zIndex.order?(wo=Ds,!1):wo>0}),Gi.negativeZIndex.splice(wo,0,Mi)}else if(Qi>0){var fo=0;Gi.positiveZIndex.some(function(Bo,Ds){return Qi>=Bo.element.container.styles.zIndex.order?(fo=Ds+1,!1):fo>0}),Gi.positiveZIndex.splice(fo,0,Mi)}else Gi.zeroOrAutoZIndexOrTransformedOrOpacity.push(Mi)}else cr.styles.isFloating()?Gi.nonPositionedFloats.push(Mi):Gi.nonPositionedInlineLevel.push(Mi);xt(wn,Mi,Hr?Mi:Ke,jn)}else cr.styles.isInlineLevel()?Fe.inlineLevel.push(wn):Fe.nonInlineLevel.push(wn),xt(wn,Fe,Ke,jn);ls(cr.flags,8)&&hh(cr,jn)})},hh=function(ye,Fe){for(var Ke=ye instanceof Nu?ye.start:1,At=ye instanceof Nu?ye.reversed:!1,cr=0;cr0&&Fe.intrinsicHeight>0){var cr=Du(Fe),Hr=Ed(Ke);this.path(Hr),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(At,0,0,Fe.intrinsicWidth,Fe.intrinsicHeight,cr.left,cr.top,cr.width,cr.height),this.ctx.restore()}},ye.prototype.renderNodeContent=function(Fe){return f(this,void 0,void 0,function(){var Ke,At,cr,Hr,sn,wn,jn,jn,Gi,Mi,Qi,wo,fo,Bo,Ds,fs,cs,yl,Nl,jn,Cs,fo,fs;return t(this,function(Wo){switch(Wo.label){case 0:this.applyEffects(Fe.getEffects(4)),Ke=Fe.container,At=Fe.curves,cr=Ke.styles,Hr=0,sn=Ke.textNodes,Wo.label=1;case 1:return Hr0&&yl>0&&(Nl=cr.ctx.createPattern(Eu,"repeat"),cr.renderRepeat(Bo,Nl,Ds,fs))):Zo(Mi)&&(dd=Hd(Fe,Ke,[null,null,null]),Bo=dd[0],Kd=dd[1],Wd=dd[2],cs=dd[3],yl=dd[4],Vd=Mi.position.length===0?[ni]:Mi.position,Ds=Ui(Vd[0],cs),fs=Ui(Vd[Vd.length-1],yl),rh=bo(Mi,Ds,fs,cs,yl),hd=rh[0],Xd=rh[1],hd>0&&Xd>0&&(nh=cr.ctx.createRadialGradient(Kd+Ds,Wd+fs,0,Kd+Ds,Wd+fs,hd),Li(Mi.stops,hd*2).forEach(function(vh){return nh.addColorStop(vh.stop,Nr(vh.color))}),cr.path(Bo),cr.ctx.fillStyle=nh,hd!==Xd?(ih=Fe.bounds.left+.5*Fe.bounds.width,Od=Fe.bounds.top+.5*Fe.bounds.height,ah=Xd/hd,Ld=1/ah,cr.ctx.save(),cr.ctx.translate(ih,Od),cr.ctx.transform(1,0,0,ah,0,0),cr.ctx.translate(-ih,-Od),cr.ctx.fillRect(Kd,Ld*(Wd-Od)+Od,cs,yl*Ld),cr.ctx.restore()):cr.ctx.fill())),oh.label=6;case 6:return Ke--,[2]}})},cr=this,Hr=0,sn=Fe.styles.backgroundImage.slice(0).reverse(),jn.label=1;case 1:return Hr0?Gi.style===ho.DASHED?[4,this.renderDashedDottedBorder(Gi.color,Gi.width,sn,Fe.curves,ho.DASHED)]:[3,5]:[3,11]):[3,13];case 4:return Qi.sent(),[3,11];case 5:return Gi.style===ho.DOTTED?[4,this.renderDashedDottedBorder(Gi.color,Gi.width,sn,Fe.curves,ho.DOTTED)]:[3,7];case 6:return Qi.sent(),[3,11];case 7:return Gi.style===ho.DOUBLE?[4,this.renderDoubleBorder(Gi.color,Gi.width,sn,Fe.curves)]:[3,9];case 8:return Qi.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Gi.color,sn,Fe.curves)];case 10:Qi.sent(),Qi.label=11;case 11:sn++,Qi.label=12;case 12:return wn++,[3,3];case 13:return[2]}})})},ye.prototype.renderDashedDottedBorder=function(Fe,Ke,At,cr,Hr){return f(this,void 0,void 0,function(){var sn,wn,jn,Gi,Mi,Qi,wo,fo,Bo,Ds,fs,cs,yl,Nl,Cs,Wo,Cs,Wo;return t(this,function(Ul){return this.ctx.save(),sn=ph(cr,At),wn=fh(cr,At),Hr===ho.DASHED&&(this.path(wn),this.ctx.clip()),zl(wn[0])?(jn=wn[0].start.x,Gi=wn[0].start.y):(jn=wn[0].x,Gi=wn[0].y),zl(wn[1])?(Mi=wn[1].end.x,Qi=wn[1].end.y):(Mi=wn[1].x,Qi=wn[1].y),At===0||At===2?wo=Math.abs(jn-Mi):wo=Math.abs(Gi-Qi),this.ctx.beginPath(),Hr===ho.DOTTED?this.formatPath(sn):this.formatPath(wn.slice(0,2)),fo=Ke<3?Ke*3:Ke*2,Bo=Ke<3?Ke*2:Ke,Hr===ho.DOTTED&&(fo=Ke,Bo=Ke),Ds=!0,wo<=fo*2?Ds=!1:wo<=fo*2+Bo?(fs=wo/(2*fo+Bo),fo*=fs,Bo*=fs):(cs=Math.floor((wo+Bo)/(fo+Bo)),yl=(wo-cs*fo)/(cs-1),Nl=(wo-(cs+1)*fo)/cs,Bo=Nl<=0||Math.abs(Bo-yl)=0&&a0){var i=[c],u=c.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,s=(0,x.deflate)(this.strm,x.Z_FULL_FLUSH),s<0)throw new Error("zlib deflate failed");var r=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);u+=r.length,i.push(r)}while(this.strm.avail_in>0);for(var o=new Uint8Array(u),h=0,p=0;p=e?A:x(A,f,t)}j.exports=b},x3X8:function(j,R,l){var x=l("KxfA"),b=x.retrieveRawValue;function A(f,t){var e=f.mapDimension("defaultedLabel",!0),m=e.length;if(m===1)return b(f,t,e[0]);if(m){for(var d=[],a=0;a=0},this.indexOfName=function(f){var t=b();return t.indexOfName(f)},this.getItemVisual=function(f,t){var e=b();return e.getItemVisual(f,t)}}var x=l;j.exports=x},xO64:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("8K/p"));function b(r){return r&&r.__esModule?r:{default:r}}function A(r){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(h){return typeof h}:A=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},A(r)}function f(r,o){if(!(r instanceof o))throw new TypeError("Cannot call a class as a function")}function t(r,o){for(var h=0;h0&&setTimeout(function(){return jn("Timed out ("+Hr._options.imageTimeout+"ms) loading image")},Hr._options.imageTimeout)})];case 3:return[2,sn.sent()]}})})},xt.prototype.has=function(ye){return typeof this._cache[ye]!="undefined"},xt.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},xt.prototype.proxy=function(ye){var Fe=this,We=this._options.proxy;if(!We)throw new Error("No proxy defined");var At=ye.substring(0,256);return new Promise(function(cr,Hr){var sn=Zl.SUPPORT_RESPONSE_TYPE?"blob":"text",wn=new XMLHttpRequest;wn.onload=function(){if(wn.status===200)if(sn==="text")cr(wn.response);else{var Mi=new FileReader;Mi.addEventListener("load",function(){return cr(Mi.result)},!1),Mi.addEventListener("error",function(Qi){return Hr(Qi)},!1),Mi.readAsDataURL(wn.response)}else Hr("Failed to proxy resource "+At+" with status code "+wn.status)},wn.onerror=Hr;var jn=We.indexOf("?")>-1?"&":"?";if(wn.open("GET",""+We+jn+"url="+encodeURIComponent(ye)+"&responseType="+sn),sn!=="text"&&wn instanceof XMLHttpRequest&&(wn.responseType=sn),Fe._options.imageTimeout){var Gi=Fe._options.imageTimeout;wn.timeout=Gi,wn.ontimeout=function(){return Hr("Timed out ("+Gi+"ms) proxying "+At)}}wn.send()})},xt}(),uc=/^data:image\/svg\+xml/i,gc=/^data:image\/.*;base64,/i,dc=/^data:image\/.*/i,Jl=function(ye){return Zl.SUPPORT_SVG_DRAWING||!hc(ye)},Hc=function(ye){return dc.test(ye)},cd=function(ye){return gc.test(ye)},su=function(ye){return ye.substr(0,4)==="blob"},hc=function(ye){return ye.substr(-3).toLowerCase()==="svg"||uc.test(ye)},eu;(function(xt){xt[xt.VECTOR=0]="VECTOR",xt[xt.BEZIER_CURVE=1]="BEZIER_CURVE"})(eu||(eu={}));var Ic=function(ye,Fe){return ye.length===Fe.length?ye.some(function(We,At){return We===Fe[At]}):!1},$d=function(ye,Fe,We,At,cr){return ye.map(function(Hr,sn){switch(sn){case 0:return Hr.add(Fe,We);case 1:return Hr.add(Fe+At,We);case 2:return Hr.add(Fe+At,We+cr);case 3:return Hr.add(Fe,We+cr)}return Hr})},Do=function(){function xt(ye,Fe){this.type=eu.VECTOR,this.x=ye,this.y=Fe}return xt.prototype.add=function(ye,Fe){return new xt(this.x+ye,this.y+Fe)},xt}(),Qc=function(ye,Fe,We){return new Do(ye.x+(Fe.x-ye.x)*We,ye.y+(Fe.y-ye.y)*We)},lu=function(){function xt(ye,Fe,We,At){this.type=eu.BEZIER_CURVE,this.start=ye,this.startControl=Fe,this.endControl=We,this.end=At}return xt.prototype.subdivide=function(ye,Fe){var We=Qc(this.start,this.startControl,ye),At=Qc(this.startControl,this.endControl,ye),cr=Qc(this.endControl,this.end,ye),Hr=Qc(We,At,ye),sn=Qc(At,cr,ye),wn=Qc(Hr,sn,ye);return Fe?new xt(this.start,We,Hr,wn):new xt(wn,sn,cr,this.end)},xt.prototype.add=function(ye,Fe){return new xt(this.start.add(ye,Fe),this.startControl.add(ye,Fe),this.endControl.add(ye,Fe),this.end.add(ye,Fe))},xt.prototype.reverse=function(){return new xt(this.end,this.endControl,this.startControl,this.start)},xt}(),zl=function(ye){return ye.type===eu.BEZIER_CURVE},Cu=function(){function xt(ye){var Fe=ye.styles,We=ye.bounds,At=Di(Fe.borderTopLeftRadius,We.width,We.height),cr=At[0],Hr=At[1],sn=Di(Fe.borderTopRightRadius,We.width,We.height),wn=sn[0],jn=sn[1],Gi=Di(Fe.borderBottomRightRadius,We.width,We.height),Mi=Gi[0],Qi=Gi[1],wo=Di(Fe.borderBottomLeftRadius,We.width,We.height),fo=wo[0],Bo=wo[1],Ds=[];Ds.push((cr+wn)/We.width),Ds.push((fo+Mi)/We.width),Ds.push((Hr+Bo)/We.height),Ds.push((jn+Qi)/We.height);var fs=Math.max.apply(Math,Ds);fs>1&&(cr/=fs,Hr/=fs,wn/=fs,jn/=fs,Mi/=fs,Qi/=fs,fo/=fs,Bo/=fs);var cs=We.width-wn,yl=We.height-Qi,Nl=We.width-Mi,Cs=We.height-Bo,Ko=Fe.borderTopWidth,Ul=Fe.borderRightWidth,jl=Fe.borderBottomWidth,pl=Fe.borderLeftWidth,Au=Ui(Fe.paddingTop,ye.bounds.width),Uu=Ui(Fe.paddingRight,ye.bounds.width),Eu=Ui(Fe.paddingBottom,ye.bounds.width),Zc=Ui(Fe.paddingLeft,ye.bounds.width);this.topLeftBorderDoubleOuterBox=cr>0||Hr>0?rc(We.left+pl/3,We.top+Ko/3,cr-pl/3,Hr-Ko/3,fl.TOP_LEFT):new Do(We.left+pl/3,We.top+Ko/3),this.topRightBorderDoubleOuterBox=cr>0||Hr>0?rc(We.left+cs,We.top+Ko/3,wn-Ul/3,jn-Ko/3,fl.TOP_RIGHT):new Do(We.left+We.width-Ul/3,We.top+Ko/3),this.bottomRightBorderDoubleOuterBox=Mi>0||Qi>0?rc(We.left+Nl,We.top+yl,Mi-Ul/3,Qi-jl/3,fl.BOTTOM_RIGHT):new Do(We.left+We.width-Ul/3,We.top+We.height-jl/3),this.bottomLeftBorderDoubleOuterBox=fo>0||Bo>0?rc(We.left+pl/3,We.top+Cs,fo-pl/3,Bo-jl/3,fl.BOTTOM_LEFT):new Do(We.left+pl/3,We.top+We.height-jl/3),this.topLeftBorderDoubleInnerBox=cr>0||Hr>0?rc(We.left+pl*2/3,We.top+Ko*2/3,cr-pl*2/3,Hr-Ko*2/3,fl.TOP_LEFT):new Do(We.left+pl*2/3,We.top+Ko*2/3),this.topRightBorderDoubleInnerBox=cr>0||Hr>0?rc(We.left+cs,We.top+Ko*2/3,wn-Ul*2/3,jn-Ko*2/3,fl.TOP_RIGHT):new Do(We.left+We.width-Ul*2/3,We.top+Ko*2/3),this.bottomRightBorderDoubleInnerBox=Mi>0||Qi>0?rc(We.left+Nl,We.top+yl,Mi-Ul*2/3,Qi-jl*2/3,fl.BOTTOM_RIGHT):new Do(We.left+We.width-Ul*2/3,We.top+We.height-jl*2/3),this.bottomLeftBorderDoubleInnerBox=fo>0||Bo>0?rc(We.left+pl*2/3,We.top+Cs,fo-pl*2/3,Bo-jl*2/3,fl.BOTTOM_LEFT):new Do(We.left+pl*2/3,We.top+We.height-jl*2/3),this.topLeftBorderStroke=cr>0||Hr>0?rc(We.left+pl/2,We.top+Ko/2,cr-pl/2,Hr-Ko/2,fl.TOP_LEFT):new Do(We.left+pl/2,We.top+Ko/2),this.topRightBorderStroke=cr>0||Hr>0?rc(We.left+cs,We.top+Ko/2,wn-Ul/2,jn-Ko/2,fl.TOP_RIGHT):new Do(We.left+We.width-Ul/2,We.top+Ko/2),this.bottomRightBorderStroke=Mi>0||Qi>0?rc(We.left+Nl,We.top+yl,Mi-Ul/2,Qi-jl/2,fl.BOTTOM_RIGHT):new Do(We.left+We.width-Ul/2,We.top+We.height-jl/2),this.bottomLeftBorderStroke=fo>0||Bo>0?rc(We.left+pl/2,We.top+Cs,fo-pl/2,Bo-jl/2,fl.BOTTOM_LEFT):new Do(We.left+pl/2,We.top+We.height-jl/2),this.topLeftBorderBox=cr>0||Hr>0?rc(We.left,We.top,cr,Hr,fl.TOP_LEFT):new Do(We.left,We.top),this.topRightBorderBox=wn>0||jn>0?rc(We.left+cs,We.top,wn,jn,fl.TOP_RIGHT):new Do(We.left+We.width,We.top),this.bottomRightBorderBox=Mi>0||Qi>0?rc(We.left+Nl,We.top+yl,Mi,Qi,fl.BOTTOM_RIGHT):new Do(We.left+We.width,We.top+We.height),this.bottomLeftBorderBox=fo>0||Bo>0?rc(We.left,We.top+Cs,fo,Bo,fl.BOTTOM_LEFT):new Do(We.left,We.top+We.height),this.topLeftPaddingBox=cr>0||Hr>0?rc(We.left+pl,We.top+Ko,Math.max(0,cr-pl),Math.max(0,Hr-Ko),fl.TOP_LEFT):new Do(We.left+pl,We.top+Ko),this.topRightPaddingBox=wn>0||jn>0?rc(We.left+Math.min(cs,We.width-Ul),We.top+Ko,cs>We.width+Ul?0:Math.max(0,wn-Ul),Math.max(0,jn-Ko),fl.TOP_RIGHT):new Do(We.left+We.width-Ul,We.top+Ko),this.bottomRightPaddingBox=Mi>0||Qi>0?rc(We.left+Math.min(Nl,We.width-pl),We.top+Math.min(yl,We.height-jl),Math.max(0,Mi-Ul),Math.max(0,Qi-jl),fl.BOTTOM_RIGHT):new Do(We.left+We.width-Ul,We.top+We.height-jl),this.bottomLeftPaddingBox=fo>0||Bo>0?rc(We.left+pl,We.top+Math.min(Cs,We.height-jl),Math.max(0,fo-pl),Math.max(0,Bo-jl),fl.BOTTOM_LEFT):new Do(We.left+pl,We.top+We.height-jl),this.topLeftContentBox=cr>0||Hr>0?rc(We.left+pl+Zc,We.top+Ko+Au,Math.max(0,cr-(pl+Zc)),Math.max(0,Hr-(Ko+Au)),fl.TOP_LEFT):new Do(We.left+pl+Zc,We.top+Ko+Au),this.topRightContentBox=wn>0||jn>0?rc(We.left+Math.min(cs,We.width+pl+Zc),We.top+Ko+Au,cs>We.width+pl+Zc?0:wn-pl+Zc,jn-(Ko+Au),fl.TOP_RIGHT):new Do(We.left+We.width-(Ul+Uu),We.top+Ko+Au),this.bottomRightContentBox=Mi>0||Qi>0?rc(We.left+Math.min(Nl,We.width-(pl+Zc)),We.top+Math.min(yl,We.height+Ko+Au),Math.max(0,Mi-(Ul+Uu)),Qi-(jl+Eu),fl.BOTTOM_RIGHT):new Do(We.left+We.width-(Ul+Uu),We.top+We.height-(jl+Eu)),this.bottomLeftContentBox=fo>0||Bo>0?rc(We.left+pl+Zc,We.top+Cs,Math.max(0,fo-(pl+Zc)),Bo-(jl+Eu),fl.BOTTOM_LEFT):new Do(We.left+pl+Zc,We.top+We.height-(jl+Eu))}return xt}(),fl;(function(xt){xt[xt.TOP_LEFT=0]="TOP_LEFT",xt[xt.TOP_RIGHT=1]="TOP_RIGHT",xt[xt.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",xt[xt.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(fl||(fl={}));var rc=function(ye,Fe,We,At,cr){var Hr=4*((Math.sqrt(2)-1)/3),sn=We*Hr,wn=At*Hr,jn=ye+We,Gi=Fe+At;switch(cr){case fl.TOP_LEFT:return new lu(new Do(ye,Gi),new Do(ye,Gi-wn),new Do(jn-sn,Fe),new Do(jn,Fe));case fl.TOP_RIGHT:return new lu(new Do(ye,Fe),new Do(ye+sn,Fe),new Do(jn,Gi-wn),new Do(jn,Gi));case fl.BOTTOM_RIGHT:return new lu(new Do(jn,Fe),new Do(jn,Fe+wn),new Do(ye+sn,Gi),new Do(ye,Gi));case fl.BOTTOM_LEFT:default:return new lu(new Do(jn,Gi),new Do(jn-sn,Gi),new Do(ye,Fe+wn),new Do(ye,Fe))}},qd=function(ye){return[ye.topLeftBorderBox,ye.topRightBorderBox,ye.bottomRightBorderBox,ye.bottomLeftBorderBox]},Nh=function(ye){return[ye.topLeftContentBox,ye.topRightContentBox,ye.bottomRightContentBox,ye.bottomLeftContentBox]},Ed=function(ye){return[ye.topLeftPaddingBox,ye.topRightPaddingBox,ye.bottomRightPaddingBox,ye.bottomLeftPaddingBox]},_h=function(){function xt(ye,Fe,We){this.offsetX=ye,this.offsetY=Fe,this.matrix=We,this.type=0,this.target=2|4}return xt}(),jd=function(){function xt(ye,Fe){this.path=ye,this.target=Fe,this.type=1}return xt}(),ud=function(){function xt(ye){this.opacity=ye,this.type=2,this.target=2|4}return xt}(),Th=function(ye){return ye.type===0},uh=function(ye){return ye.type===1},Dh=function(ye){return ye.type===2},dh=function(){function xt(ye){this.element=ye,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return xt}(),_d=function(){function xt(ye,Fe){if(this.container=ye,this.parent=Fe,this.effects=[],this.curves=new Cu(this.container),this.container.styles.opacity<1&&this.effects.push(new ud(this.container.styles.opacity)),this.container.styles.transform!==null){var We=this.container.bounds.left+this.container.styles.transformOrigin[0].number,At=this.container.bounds.top+this.container.styles.transformOrigin[1].number,cr=this.container.styles.transform;this.effects.push(new _h(We,At,cr))}if(this.container.styles.overflowX!==ul.VISIBLE){var Hr=qd(this.curves),sn=Ed(this.curves);Ic(Hr,sn)?this.effects.push(new jd(Hr,2|4)):(this.effects.push(new jd(Hr,2)),this.effects.push(new jd(sn,4)))}}return xt.prototype.getEffects=function(ye){for(var Fe=[Rt.ABSOLUTE,Rt.FIXED].indexOf(this.container.styles.position)===-1,We=this.parent,At=this.effects.slice(0);We;){var cr=We.effects.filter(function(wn){return!uh(wn)});if(Fe||We.container.styles.position!==Rt.STATIC||!We.parent){if(At.unshift.apply(At,cr),Fe=[Rt.ABSOLUTE,Rt.FIXED].indexOf(We.container.styles.position)===-1,We.container.styles.overflowX!==ul.VISIBLE){var Hr=qd(We.curves),sn=Ed(We.curves);Ic(Hr,sn)||At.unshift(new jd(sn,2|4))}}else At.unshift.apply(At,cr);We=We.parent}return At.filter(function(wn){return ls(wn.target,ye)})},xt}(),Mh=function xt(ye,Fe,We,At){ye.container.elements.forEach(function(cr){var Hr=ls(cr.flags,4),sn=ls(cr.flags,2),wn=new _d(cr,ye);ls(cr.styles.display,2048)&&At.push(wn);var jn=ls(cr.flags,8)?[]:At;if(Hr||sn){var Gi=Hr||cr.styles.isPositioned()?We:Fe,Mi=new dh(wn);if(cr.styles.isPositioned()||cr.styles.opacity<1||cr.styles.isTransformed()){var Qi=cr.styles.zIndex.order;if(Qi<0){var wo=0;Gi.negativeZIndex.some(function(Bo,Ds){return Qi>Bo.element.container.styles.zIndex.order?(wo=Ds,!1):wo>0}),Gi.negativeZIndex.splice(wo,0,Mi)}else if(Qi>0){var fo=0;Gi.positiveZIndex.some(function(Bo,Ds){return Qi>=Bo.element.container.styles.zIndex.order?(fo=Ds+1,!1):fo>0}),Gi.positiveZIndex.splice(fo,0,Mi)}else Gi.zeroOrAutoZIndexOrTransformedOrOpacity.push(Mi)}else cr.styles.isFloating()?Gi.nonPositionedFloats.push(Mi):Gi.nonPositionedInlineLevel.push(Mi);xt(wn,Mi,Hr?Mi:We,jn)}else cr.styles.isInlineLevel()?Fe.inlineLevel.push(wn):Fe.nonInlineLevel.push(wn),xt(wn,Fe,We,jn);ls(cr.flags,8)&&hh(cr,jn)})},hh=function(ye,Fe){for(var We=ye instanceof Nu?ye.start:1,At=ye instanceof Nu?ye.reversed:!1,cr=0;cr0&&Fe.intrinsicHeight>0){var cr=Du(Fe),Hr=Ed(We);this.path(Hr),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(At,0,0,Fe.intrinsicWidth,Fe.intrinsicHeight,cr.left,cr.top,cr.width,cr.height),this.ctx.restore()}},ye.prototype.renderNodeContent=function(Fe){return f(this,void 0,void 0,function(){var We,At,cr,Hr,sn,wn,jn,jn,Gi,Mi,Qi,wo,fo,Bo,Ds,fs,cs,yl,Nl,jn,Cs,fo,fs;return t(this,function(Ko){switch(Ko.label){case 0:this.applyEffects(Fe.getEffects(4)),We=Fe.container,At=Fe.curves,cr=We.styles,Hr=0,sn=We.textNodes,Ko.label=1;case 1:return Hr0&&yl>0&&(Nl=cr.ctx.createPattern(Eu,"repeat"),cr.renderRepeat(Bo,Nl,Ds,fs))):Zo(Mi)&&(dd=Hd(Fe,We,[null,null,null]),Bo=dd[0],Wd=dd[1],Kd=dd[2],cs=dd[3],yl=dd[4],Vd=Mi.position.length===0?[ni]:Mi.position,Ds=Ui(Vd[0],cs),fs=Ui(Vd[Vd.length-1],yl),rh=bo(Mi,Ds,fs,cs,yl),hd=rh[0],Xd=rh[1],hd>0&&Xd>0&&(nh=cr.ctx.createRadialGradient(Wd+Ds,Kd+fs,0,Wd+Ds,Kd+fs,hd),Li(Mi.stops,hd*2).forEach(function(vh){return nh.addColorStop(vh.stop,Nr(vh.color))}),cr.path(Bo),cr.ctx.fillStyle=nh,hd!==Xd?(ih=Fe.bounds.left+.5*Fe.bounds.width,Od=Fe.bounds.top+.5*Fe.bounds.height,ah=Xd/hd,Ld=1/ah,cr.ctx.save(),cr.ctx.translate(ih,Od),cr.ctx.transform(1,0,0,ah,0,0),cr.ctx.translate(-ih,-Od),cr.ctx.fillRect(Wd,Ld*(Kd-Od)+Od,cs,yl*Ld),cr.ctx.restore()):cr.ctx.fill())),oh.label=6;case 6:return We--,[2]}})},cr=this,Hr=0,sn=Fe.styles.backgroundImage.slice(0).reverse(),jn.label=1;case 1:return Hr0?Gi.style===ho.DASHED?[4,this.renderDashedDottedBorder(Gi.color,Gi.width,sn,Fe.curves,ho.DASHED)]:[3,5]:[3,11]):[3,13];case 4:return Qi.sent(),[3,11];case 5:return Gi.style===ho.DOTTED?[4,this.renderDashedDottedBorder(Gi.color,Gi.width,sn,Fe.curves,ho.DOTTED)]:[3,7];case 6:return Qi.sent(),[3,11];case 7:return Gi.style===ho.DOUBLE?[4,this.renderDoubleBorder(Gi.color,Gi.width,sn,Fe.curves)]:[3,9];case 8:return Qi.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Gi.color,sn,Fe.curves)];case 10:Qi.sent(),Qi.label=11;case 11:sn++,Qi.label=12;case 12:return wn++,[3,3];case 13:return[2]}})})},ye.prototype.renderDashedDottedBorder=function(Fe,We,At,cr,Hr){return f(this,void 0,void 0,function(){var sn,wn,jn,Gi,Mi,Qi,wo,fo,Bo,Ds,fs,cs,yl,Nl,Cs,Ko,Cs,Ko;return t(this,function(Ul){return this.ctx.save(),sn=ph(cr,At),wn=fh(cr,At),Hr===ho.DASHED&&(this.path(wn),this.ctx.clip()),zl(wn[0])?(jn=wn[0].start.x,Gi=wn[0].start.y):(jn=wn[0].x,Gi=wn[0].y),zl(wn[1])?(Mi=wn[1].end.x,Qi=wn[1].end.y):(Mi=wn[1].x,Qi=wn[1].y),At===0||At===2?wo=Math.abs(jn-Mi):wo=Math.abs(Gi-Qi),this.ctx.beginPath(),Hr===ho.DOTTED?this.formatPath(sn):this.formatPath(wn.slice(0,2)),fo=We<3?We*3:We*2,Bo=We<3?We*2:We,Hr===ho.DOTTED&&(fo=We,Bo=We),Ds=!0,wo<=fo*2?Ds=!1:wo<=fo*2+Bo?(fs=wo/(2*fo+Bo),fo*=fs,Bo*=fs):(cs=Math.floor((wo+Bo)/(fo+Bo)),yl=(wo-cs*fo)/(cs-1),Nl=(wo-(cs+1)*fo)/cs,Bo=Nl<=0||Math.abs(Bo-yl)=0&&a0){var i=[c],u=c.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,s=(0,x.deflate)(this.strm,x.Z_FULL_FLUSH),s<0)throw new Error("zlib deflate failed");var r=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);u+=r.length,i.push(r)}while(this.strm.avail_in>0);for(var o=new Uint8Array(u),h=0,p=0;p=e?A:x(A,f,t)}j.exports=b},x3X8:function(j,R,l){var x=l("KxfA"),b=x.retrieveRawValue;function A(f,t){var e=f.mapDimension("defaultedLabel",!0),m=e.length;if(m===1)return b(f,t,e[0]);if(m){for(var d=[],a=0;a=0},this.indexOfName=function(f){var t=b();return t.indexOfName(f)},this.getItemVisual=function(f,t){var e=b();return e.getItemVisual(f,t)}}var x=l;j.exports=x},xO64:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x=b(l("8K/p"));function b(r){return r&&r.__esModule?r:{default:r}}function A(r){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(h){return typeof h}:A=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},A(r)}function f(r,o){if(!(r instanceof o))throw new TypeError("Cannot call a class as a function")}function t(r,o){for(var h=0;h @@ -1014,6 +1014,6 @@ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/js JSZip uses the library pako released under the MIT license : https://github.com/nodeca/pako/blob/master/LICENSE -*/!function(f){j.exports=f()}(function(){return function f(t,e,m){function d(s,c){if(!e[s]){if(!t[s]){var i=typeof A=="function"&&A;if(!c&&i)return A(s,!0);if(a)return a(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var r=e[s]={exports:{}};t[s][0].call(r.exports,function(o){var h=t[s][1][o];return d(h||o)},r,r.exports,f,t,e,m)}return e[s].exports}for(var a=typeof A=="function"&&A,n=0;n>2,r=(3&s)<<4|c>>4,o=1>6:64,h=2>4,c=(15&u)<<4|(r=a.indexOf(n.charAt(h++)))>>2,i=(3&r)<<6|(o=a.indexOf(n.charAt(h++))),v[p++]=s,r!==64&&(v[p++]=c),o!==64&&(v[p++]=i);return v}},{"./support":30,"./utils":32}],2:[function(f,t,e){"use strict";var m=f("./external"),d=f("./stream/DataWorker"),a=f("./stream/Crc32Probe"),n=f("./stream/DataLengthProbe");function s(c,i,u,r,o){this.compressedSize=c,this.uncompressedSize=i,this.crc32=u,this.compression=r,this.compressedContent=o}s.prototype={getContentWorker:function(){var i=new d(m.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new n("data_length")),u=this;return i.on("end",function(){if(this.streamInfo.data_length!==u.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),i},getCompressedWorker:function(){return new d(m.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(c,i,u){return c.pipe(new a).pipe(new n("uncompressedSize")).pipe(i.compressWorker(u)).pipe(new n("compressedSize")).withStreamInfo("compression",i)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(f,t,e){"use strict";var m=f("./stream/GenericWorker");e.STORE={magic:"\0\0",compressWorker:function(a){return new m("STORE compression")},uncompressWorker:function(){return new m("STORE decompression")}},e.DEFLATE=f("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(f,t,e){"use strict";var m=f("./utils"),d=function(){for(var a,n=[],s=0;s<256;s++){a=s;for(var c=0;c<8;c++)a=1&a?3988292384^a>>>1:a>>>1;n[s]=a}return n}();t.exports=function(a,n){return a!==void 0&&a.length?m.getTypeOf(a)!=="string"?function(s,c,i,u){var r=d,o=u+i;s^=-1;for(var h=u;h>>8^r[255&(s^c[h])];return-1^s}(0|n,a,a.length,0):function(s,c,i,u){var r=d,o=u+i;s^=-1;for(var h=u;h>>8^r[255&(s^c.charCodeAt(h))];return-1^s}(0|n,a,a.length,0):0}},{"./utils":32}],5:[function(f,t,e){"use strict";e.base64=!1,e.binary=!1,e.dir=!1,e.createFolders=!0,e.date=null,e.compression=null,e.compressionOptions=null,e.comment=null,e.unixPermissions=null,e.dosPermissions=null},{}],6:[function(f,t,e){"use strict";var m=null;m=typeof Promise!="undefined"?Promise:f("lie"),t.exports={Promise:m}},{lie:37}],7:[function(f,t,e){"use strict";var m=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",d=f("pako"),a=f("./utils"),n=f("./stream/GenericWorker"),s=m?"uint8array":"array";function c(i,u){n.call(this,"FlateWorker/"+i),this._pako=null,this._pakoAction=i,this._pakoOptions=u,this.meta={}}e.magic="\b\0",a.inherits(c,n),c.prototype.processChunk=function(i){this.meta=i.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(s,i.data),!1)},c.prototype.flush=function(){n.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new d[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var i=this;this._pako.onData=function(u){i.push({data:u,meta:i.meta})}},e.compressWorker=function(i){return new c("Deflate",i)},e.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(f,t,e){"use strict";function m(r,o){var h,p="";for(h=0;h>>=8;return p}function d(r,o,h,p,g,v){var y,w,S=r.file,_=r.compression,I=v!==s.utf8encode,C=a.transformTo("string",v(S.name)),E=a.transformTo("string",s.utf8encode(S.name)),O=S.comment,M=a.transformTo("string",v(O)),F=a.transformTo("string",s.utf8encode(O)),H=E.length!==S.name.length,B=F.length!==O.length,X="",J="",k="",W=S.dir,z=S.date,K={crc32:0,compressedSize:0,uncompressedSize:0};o&&!h||(K.crc32=r.crc32,K.compressedSize=r.compressedSize,K.uncompressedSize=r.uncompressedSize);var P=0;o&&(P|=8),I||!H&&!B||(P|=2048);var G=0,V=0;W&&(G|=16),g==="UNIX"?(V=798,G|=function(re,ce){var ie=re;return re||(ie=ce?16893:33204),(65535&ie)<<16}(S.unixPermissions,W)):(V=20,G|=function(re){return 63&(re||0)}(S.dosPermissions)),y=z.getUTCHours(),y<<=6,y|=z.getUTCMinutes(),y<<=5,y|=z.getUTCSeconds()/2,w=z.getUTCFullYear()-1980,w<<=4,w|=z.getUTCMonth()+1,w<<=5,w|=z.getUTCDate(),H&&(J=m(1,1)+m(c(C),4)+E,X+="up"+m(J.length,2)+J),B&&(k=m(1,1)+m(c(M),4)+F,X+="uc"+m(k.length,2)+k);var q="";return q+=` -\0`,q+=m(P,2),q+=_.magic,q+=m(y,2),q+=m(w,2),q+=m(K.crc32,4),q+=m(K.compressedSize,4),q+=m(K.uncompressedSize,4),q+=m(C.length,2),q+=m(X.length,2),{fileRecord:i.LOCAL_FILE_HEADER+q+C+X,dirRecord:i.CENTRAL_FILE_HEADER+m(V,2)+q+m(M.length,2)+"\0\0\0\0"+m(G,4)+m(p,4)+C+X+M}}var a=f("../utils"),n=f("../stream/GenericWorker"),s=f("../utf8"),c=f("../crc32"),i=f("../signature");function u(r,o,h,p){n.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=o,this.zipPlatform=h,this.encodeFileName=p,this.streamFiles=r,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(u,n),u.prototype.push=function(r){var o=r.meta.percent||0,h=this.entriesCount,p=this._sources.length;this.accumulate?this.contentBuffer.push(r):(this.bytesWritten+=r.data.length,n.prototype.push.call(this,{data:r.data,meta:{currentFile:this.currentFile,percent:h?(o+100*(h-p-1))/h:100}}))},u.prototype.openedSource=function(r){this.currentSourceOffset=this.bytesWritten,this.currentFile=r.file.name;var o=this.streamFiles&&!r.file.dir;if(o){var h=d(r,o,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:h.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(r){this.accumulate=!1;var o=this.streamFiles&&!r.file.dir,h=d(r,o,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(h.dirRecord),o)this.push({data:function(p){return i.DATA_DESCRIPTOR+m(p.crc32,4)+m(p.compressedSize,4)+m(p.uncompressedSize,4)}(r),meta:{percent:100}});else for(this.push({data:h.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var r=this.bytesWritten,o=0;o=this.index;s--)c=(c<<8)+this.byteAt(s);return this.index+=n,c},readString:function(n){return m.transformTo("string",this.readData(n))},readData:function(n){},lastIndexOfSignature:function(n){},readAndCheckSignature:function(n){},readDate:function(){var n=this.readInt(4);return new Date(Date.UTC(1980+(n>>25&127),(n>>21&15)-1,n>>16&31,n>>11&31,n>>5&63,(31&n)<<1))}},t.exports=d},{"../utils":32}],19:[function(f,t,e){"use strict";var m=f("./Uint8ArrayReader");function d(a){m.call(this,a)}f("../utils").inherits(d,m),d.prototype.readData=function(a){this.checkOffset(a);var n=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,n},t.exports=d},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(f,t,e){"use strict";var m=f("./DataReader");function d(a){m.call(this,a)}f("../utils").inherits(d,m),d.prototype.byteAt=function(a){return this.data.charCodeAt(this.zero+a)},d.prototype.lastIndexOfSignature=function(a){return this.data.lastIndexOf(a)-this.zero},d.prototype.readAndCheckSignature=function(a){return a===this.readData(4)},d.prototype.readData=function(a){this.checkOffset(a);var n=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,n},t.exports=d},{"../utils":32,"./DataReader":18}],21:[function(f,t,e){"use strict";var m=f("./ArrayReader");function d(a){m.call(this,a)}f("../utils").inherits(d,m),d.prototype.readData=function(a){if(this.checkOffset(a),a===0)return new Uint8Array(0);var n=this.data.subarray(this.zero+this.index,this.zero+this.index+a);return this.index+=a,n},t.exports=d},{"../utils":32,"./ArrayReader":17}],22:[function(f,t,e){"use strict";var m=f("../utils"),d=f("../support"),a=f("./ArrayReader"),n=f("./StringReader"),s=f("./NodeBufferReader"),c=f("./Uint8ArrayReader");t.exports=function(i){var u=m.getTypeOf(i);return m.checkSupport(u),u!=="string"||d.uint8array?u==="nodebuffer"?new s(i):d.uint8array?new c(m.transformTo("uint8array",i)):new a(m.transformTo("array",i)):new n(i)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(f,t,e){"use strict";e.LOCAL_FILE_HEADER="PK",e.CENTRAL_FILE_HEADER="PK",e.CENTRAL_DIRECTORY_END="PK",e.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",e.ZIP64_CENTRAL_DIRECTORY_END="PK",e.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(f,t,e){"use strict";var m=f("./GenericWorker"),d=f("../utils");function a(n){m.call(this,"ConvertWorker to "+n),this.destType=n}d.inherits(a,m),a.prototype.processChunk=function(n){this.push({data:d.transformTo(this.destType,n.data),meta:n.meta})},t.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(f,t,e){"use strict";var m=f("./GenericWorker"),d=f("../crc32");function a(){m.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}f("../utils").inherits(a,m),a.prototype.processChunk=function(n){this.streamInfo.crc32=d(n.data,this.streamInfo.crc32||0),this.push(n)},t.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(f,t,e){"use strict";var m=f("../utils"),d=f("./GenericWorker");function a(n){d.call(this,"DataLengthProbe for "+n),this.propName=n,this.withStreamInfo(n,0)}m.inherits(a,d),a.prototype.processChunk=function(n){if(n){var s=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=s+n.data.length}d.prototype.processChunk.call(this,n)},t.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(f,t,e){"use strict";var m=f("../utils"),d=f("./GenericWorker");function a(n){d.call(this,"DataWorker");var s=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,n.then(function(c){s.dataIsReady=!0,s.data=c,s.max=c&&c.length||0,s.type=m.getTypeOf(c),s.isPaused||s._tickAndRepeat()},function(c){s.error(c)})}m.inherits(a,d),a.prototype.cleanUp=function(){d.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!d.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,m.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(m.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var n=null,s=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":n=this.data.substring(this.index,s);break;case"uint8array":n=this.data.subarray(this.index,s);break;case"array":case"nodebuffer":n=this.data.slice(this.index,s)}return this.index=s,this.push({data:n,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(f,t,e){"use strict";function m(d){this.name=d||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}m.prototype={push:function(a){this.emit("data",a)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(a){this.emit("error",a)}return!0},error:function(a){return!this.isFinished&&(this.isPaused?this.generatedError=a:(this.isFinished=!0,this.emit("error",a),this.previous&&this.previous.error(a),this.cleanUp()),!0)},on:function(a,n){return this._listeners[a].push(n),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(a,n){if(this._listeners[a])for(var s=0;s "+a:a}},t.exports=m},{}],29:[function(f,t,e){"use strict";var m=f("../utils"),d=f("./ConvertWorker"),a=f("./GenericWorker"),n=f("../base64"),s=f("../support"),c=f("../external"),i=null;if(s.nodestream)try{i=f("../nodejs/NodejsStreamOutputAdapter")}catch(o){}function u(o,h){return new c.Promise(function(p,g){var v=[],y=o._internalType,w=o._outputType,S=o._mimeType;o.on("data",function(_,I){v.push(_),h&&h(I)}).on("error",function(_){v=[],g(_)}).on("end",function(){try{var _=function(I,C,E){switch(I){case"blob":return m.newBlob(m.transformTo("arraybuffer",C),E);case"base64":return n.encode(C);default:return m.transformTo(I,C)}}(w,function(I,C){var E,O=0,M=null,F=0;for(E=0;E>>6:(p<65536?h[y++]=224|p>>>12:(h[y++]=240|p>>>18,h[y++]=128|p>>>12&63),h[y++]=128|p>>>6&63),h[y++]=128|63&p);return h}(r)},e.utf8decode=function(r){return d.nodebuffer?m.transformTo("nodebuffer",r).toString("utf-8"):function(o){var h,p,g,v,y=o.length,w=new Array(2*y);for(h=p=0;h>10&1023,w[p++]=56320|1023&g)}return w.length!==p&&(w.subarray?w=w.subarray(0,p):w.length=p),m.applyFromCharCode(w)}(r=m.transformTo(d.uint8array?"uint8array":"array",r))},m.inherits(i,n),i.prototype.processChunk=function(r){var o=m.transformTo(d.uint8array?"uint8array":"array",r.data);if(this.leftOver&&this.leftOver.length){if(d.uint8array){var h=o;(o=new Uint8Array(h.length+this.leftOver.length)).set(this.leftOver,0),o.set(h,this.leftOver.length)}else o=this.leftOver.concat(o);this.leftOver=null}var p=function(v,y){var w;for((y=y||v.length)>v.length&&(y=v.length),w=y-1;0<=w&&(192&v[w])==128;)w--;return w<0||w===0?y:w+s[v[w]]>y?w:y}(o),g=o;p!==o.length&&(d.uint8array?(g=o.subarray(0,p),this.leftOver=o.subarray(p,o.length)):(g=o.slice(0,p),this.leftOver=o.slice(p,o.length))),this.push({data:e.utf8decode(g),meta:r.meta})},i.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:e.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},e.Utf8DecodeWorker=i,m.inherits(u,n),u.prototype.processChunk=function(r){this.push({data:e.utf8encode(r.data),meta:r.meta})},e.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(f,t,e){"use strict";var m=f("./support"),d=f("./base64"),a=f("./nodejsUtils"),n=f("set-immediate-shim"),s=f("./external");function c(p){return p}function i(p,g){for(var v=0;v>8;this.dir=!!(16&this.externalFileAttributes),o==0&&(this.dosPermissions=63&this.externalFileAttributes),o==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(o){if(this.extraFields[1]){var h=m(this.extraFields[1].value);this.uncompressedSize===d.MAX_VALUE_32BITS&&(this.uncompressedSize=h.readInt(8)),this.compressedSize===d.MAX_VALUE_32BITS&&(this.compressedSize=h.readInt(8)),this.localHeaderOffset===d.MAX_VALUE_32BITS&&(this.localHeaderOffset=h.readInt(8)),this.diskNumberStart===d.MAX_VALUE_32BITS&&(this.diskNumberStart=h.readInt(4))}},readExtraFields:function(o){var h,p,g,v=o.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});o.index+4>>6:(r<65536?u[p++]=224|r>>>12:(u[p++]=240|r>>>18,u[p++]=128|r>>>12&63),u[p++]=128|r>>>6&63),u[p++]=128|63&r);return u},e.buf2binstring=function(i){return c(i,i.length)},e.binstring2buf=function(i){for(var u=new m.Buf8(i.length),r=0,o=u.length;r>10&1023,v[o++]=56320|1023&h)}return c(v,o)},e.utf8border=function(i,u){var r;for((u=u||i.length)>i.length&&(u=i.length),r=u-1;0<=r&&(192&i[r])==128;)r--;return r<0||r===0?u:r+n[i[r]]>u?r:u}},{"./common":41}],43:[function(f,t,e){"use strict";t.exports=function(m,d,a,n){for(var s=65535&m|0,c=m>>>16&65535|0,i=0;a!==0;){for(a-=i=2e3>>1:d>>>1;a[n]=d}return a}();t.exports=function(d,a,n,s){var c=m,i=s+n;d^=-1;for(var u=s;u>>8^c[255&(d^a[u])];return-1^d}},{}],46:[function(f,t,e){"use strict";var m,d=f("../utils/common"),a=f("./trees"),n=f("./adler32"),s=f("./crc32"),c=f("./messages"),i=0,u=4,r=0,o=-2,h=-1,p=4,g=2,v=8,y=9,w=286,S=30,_=19,I=2*w+1,C=15,E=3,O=258,M=O+E+1,F=42,H=113,B=1,X=2,J=3,k=4;function W(ee,ue){return ee.msg=c[ue],ue}function z(ee){return(ee<<1)-(4ee.avail_out&&(Ge=ee.avail_out),Ge!==0&&(d.arraySet(ee.output,ue.pending_buf,ue.pending_out,Ge,ee.next_out),ee.next_out+=Ge,ue.pending_out+=Ge,ee.total_out+=Ge,ee.avail_out-=Ge,ue.pending-=Ge,ue.pending===0&&(ue.pending_out=0))}function G(ee,ue){a._tr_flush_block(ee,0<=ee.block_start?ee.block_start:-1,ee.strstart-ee.block_start,ue),ee.block_start=ee.strstart,P(ee.strm)}function V(ee,ue){ee.pending_buf[ee.pending++]=ue}function q(ee,ue){ee.pending_buf[ee.pending++]=ue>>>8&255,ee.pending_buf[ee.pending++]=255&ue}function re(ee,ue){var Ge,ae,Z=ee.max_chain_length,Y=ee.strstart,te=ee.prev_length,we=ee.nice_match,pe=ee.strstart>ee.w_size-M?ee.strstart-(ee.w_size-M):0,De=ee.window,Ne=ee.w_mask,me=ee.prev,be=ee.strstart+O,Re=De[Y+te-1],it=De[Y+te];ee.prev_length>=ee.good_match&&(Z>>=2),we>ee.lookahead&&(we=ee.lookahead);do if(De[(Ge=ue)+te]===it&&De[Ge+te-1]===Re&&De[Ge]===De[Y]&&De[++Ge]===De[Y+1]){Y+=2,Ge++;do;while(De[++Y]===De[++Ge]&&De[++Y]===De[++Ge]&&De[++Y]===De[++Ge]&&De[++Y]===De[++Ge]&&De[++Y]===De[++Ge]&&De[++Y]===De[++Ge]&&De[++Y]===De[++Ge]&&De[++Y]===De[++Ge]&&Ype&&--Z!=0);return te<=ee.lookahead?te:ee.lookahead}function ce(ee){var ue,Ge,ae,Z,Y,te,we,pe,De,Ne,me=ee.w_size;do{if(Z=ee.window_size-ee.lookahead-ee.strstart,ee.strstart>=me+(me-M)){for(d.arraySet(ee.window,ee.window,me,me,0),ee.match_start-=me,ee.strstart-=me,ee.block_start-=me,ue=Ge=ee.hash_size;ae=ee.head[--ue],ee.head[ue]=me<=ae?ae-me:0,--Ge;);for(ue=Ge=me;ae=ee.prev[--ue],ee.prev[ue]=me<=ae?ae-me:0,--Ge;);Z+=me}if(ee.strm.avail_in===0)break;if(te=ee.strm,we=ee.window,pe=ee.strstart+ee.lookahead,De=Z,Ne=void 0,Ne=te.avail_in,De=E)for(Y=ee.strstart-ee.insert,ee.ins_h=ee.window[Y],ee.ins_h=(ee.ins_h<=E&&(ee.ins_h=(ee.ins_h<=E)if(ae=a._tr_tally(ee,ee.strstart-ee.match_start,ee.match_length-E),ee.lookahead-=ee.match_length,ee.match_length<=ee.max_lazy_match&&ee.lookahead>=E){for(ee.match_length--;ee.strstart++,ee.ins_h=(ee.ins_h<=E&&(ee.ins_h=(ee.ins_h<=E&&ee.match_length<=ee.prev_length){for(Z=ee.strstart+ee.lookahead-E,ae=a._tr_tally(ee,ee.strstart-1-ee.prev_match,ee.prev_length-E),ee.lookahead-=ee.prev_length-1,ee.prev_length-=2;++ee.strstart<=Z&&(ee.ins_h=(ee.ins_h<ee.pending_buf_size-5&&(Ge=ee.pending_buf_size-5);;){if(ee.lookahead<=1){if(ce(ee),ee.lookahead===0&&ue===i)return B;if(ee.lookahead===0)break}ee.strstart+=ee.lookahead,ee.lookahead=0;var ae=ee.block_start+Ge;if((ee.strstart===0||ee.strstart>=ae)&&(ee.lookahead=ee.strstart-ae,ee.strstart=ae,G(ee,!1),ee.strm.avail_out===0))return B;if(ee.strstart-ee.block_start>=ee.w_size-M&&(G(ee,!1),ee.strm.avail_out===0))return B}return ee.insert=0,ue===u?(G(ee,!0),ee.strm.avail_out===0?J:k):(ee.strstart>ee.block_start&&(G(ee,!1),ee.strm.avail_out),B)}),new xe(4,4,8,4,ie),new xe(4,5,16,8,ie),new xe(4,6,32,32,ie),new xe(4,4,16,16,fe),new xe(8,16,32,32,fe),new xe(8,16,128,128,fe),new xe(8,32,128,256,fe),new xe(32,128,258,1024,fe),new xe(32,258,258,4096,fe)],e.deflateInit=function(ee,ue){return Be(ee,ue,v,15,8,0)},e.deflateInit2=Be,e.deflateReset=ge,e.deflateResetKeep=ke,e.deflateSetHeader=function(ee,ue){return ee&&ee.state?ee.state.wrap!==2?o:(ee.state.gzhead=ue,r):o},e.deflate=function(ee,ue){var Ge,ae,Z,Y;if(!ee||!ee.state||5>8&255),V(ae,ae.gzhead.time>>16&255),V(ae,ae.gzhead.time>>24&255),V(ae,ae.level===9?2:2<=ae.strategy||ae.level<2?4:0),V(ae,255&ae.gzhead.os),ae.gzhead.extra&&ae.gzhead.extra.length&&(V(ae,255&ae.gzhead.extra.length),V(ae,ae.gzhead.extra.length>>8&255)),ae.gzhead.hcrc&&(ee.adler=s(ee.adler,ae.pending_buf,ae.pending,0)),ae.gzindex=0,ae.status=69):(V(ae,0),V(ae,0),V(ae,0),V(ae,0),V(ae,0),V(ae,ae.level===9?2:2<=ae.strategy||ae.level<2?4:0),V(ae,3),ae.status=H);else{var te=v+(ae.w_bits-8<<4)<<8;te|=(2<=ae.strategy||ae.level<2?0:ae.level<6?1:ae.level===6?2:3)<<6,ae.strstart!==0&&(te|=32),te+=31-te%31,ae.status=H,q(ae,te),ae.strstart!==0&&(q(ae,ee.adler>>>16),q(ae,65535&ee.adler)),ee.adler=1}if(ae.status===69)if(ae.gzhead.extra){for(Z=ae.pending;ae.gzindex<(65535&ae.gzhead.extra.length)&&(ae.pending!==ae.pending_buf_size||(ae.gzhead.hcrc&&ae.pending>Z&&(ee.adler=s(ee.adler,ae.pending_buf,ae.pending-Z,Z)),P(ee),Z=ae.pending,ae.pending!==ae.pending_buf_size));)V(ae,255&ae.gzhead.extra[ae.gzindex]),ae.gzindex++;ae.gzhead.hcrc&&ae.pending>Z&&(ee.adler=s(ee.adler,ae.pending_buf,ae.pending-Z,Z)),ae.gzindex===ae.gzhead.extra.length&&(ae.gzindex=0,ae.status=73)}else ae.status=73;if(ae.status===73)if(ae.gzhead.name){Z=ae.pending;do{if(ae.pending===ae.pending_buf_size&&(ae.gzhead.hcrc&&ae.pending>Z&&(ee.adler=s(ee.adler,ae.pending_buf,ae.pending-Z,Z)),P(ee),Z=ae.pending,ae.pending===ae.pending_buf_size)){Y=1;break}Y=ae.gzindexZ&&(ee.adler=s(ee.adler,ae.pending_buf,ae.pending-Z,Z)),Y===0&&(ae.gzindex=0,ae.status=91)}else ae.status=91;if(ae.status===91)if(ae.gzhead.comment){Z=ae.pending;do{if(ae.pending===ae.pending_buf_size&&(ae.gzhead.hcrc&&ae.pending>Z&&(ee.adler=s(ee.adler,ae.pending_buf,ae.pending-Z,Z)),P(ee),Z=ae.pending,ae.pending===ae.pending_buf_size)){Y=1;break}Y=ae.gzindexZ&&(ee.adler=s(ee.adler,ae.pending_buf,ae.pending-Z,Z)),Y===0&&(ae.status=103)}else ae.status=103;if(ae.status===103&&(ae.gzhead.hcrc?(ae.pending+2>ae.pending_buf_size&&P(ee),ae.pending+2<=ae.pending_buf_size&&(V(ae,255&ee.adler),V(ae,ee.adler>>8&255),ee.adler=0,ae.status=H)):ae.status=H),ae.pending!==0){if(P(ee),ee.avail_out===0)return ae.last_flush=-1,r}else if(ee.avail_in===0&&z(ue)<=z(Ge)&&ue!==u)return W(ee,-5);if(ae.status===666&&ee.avail_in!==0)return W(ee,-5);if(ee.avail_in!==0||ae.lookahead!==0||ue!==i&&ae.status!==666){var we=ae.strategy===2?function(pe,De){for(var Ne;;){if(pe.lookahead===0&&(ce(pe),pe.lookahead===0)){if(De===i)return B;break}if(pe.match_length=0,Ne=a._tr_tally(pe,0,pe.window[pe.strstart]),pe.lookahead--,pe.strstart++,Ne&&(G(pe,!1),pe.strm.avail_out===0))return B}return pe.insert=0,De===u?(G(pe,!0),pe.strm.avail_out===0?J:k):pe.last_lit&&(G(pe,!1),pe.strm.avail_out===0)?B:X}(ae,ue):ae.strategy===3?function(pe,De){for(var Ne,me,be,Re,it=pe.window;;){if(pe.lookahead<=O){if(ce(pe),pe.lookahead<=O&&De===i)return B;if(pe.lookahead===0)break}if(pe.match_length=0,pe.lookahead>=E&&0pe.lookahead&&(pe.match_length=pe.lookahead)}if(pe.match_length>=E?(Ne=a._tr_tally(pe,1,pe.match_length-E),pe.lookahead-=pe.match_length,pe.strstart+=pe.match_length,pe.match_length=0):(Ne=a._tr_tally(pe,0,pe.window[pe.strstart]),pe.lookahead--,pe.strstart++),Ne&&(G(pe,!1),pe.strm.avail_out===0))return B}return pe.insert=0,De===u?(G(pe,!0),pe.strm.avail_out===0?J:k):pe.last_lit&&(G(pe,!1),pe.strm.avail_out===0)?B:X}(ae,ue):m[ae.level].func(ae,ue);if(we!==J&&we!==k||(ae.status=666),we===B||we===J)return ee.avail_out===0&&(ae.last_flush=-1),r;if(we===X&&(ue===1?a._tr_align(ae):ue!==5&&(a._tr_stored_block(ae,0,0,!1),ue===3&&(K(ae.head),ae.lookahead===0&&(ae.strstart=0,ae.block_start=0,ae.insert=0))),P(ee),ee.avail_out===0))return ae.last_flush=-1,r}return ue!==u?r:ae.wrap<=0?1:(ae.wrap===2?(V(ae,255&ee.adler),V(ae,ee.adler>>8&255),V(ae,ee.adler>>16&255),V(ae,ee.adler>>24&255),V(ae,255&ee.total_in),V(ae,ee.total_in>>8&255),V(ae,ee.total_in>>16&255),V(ae,ee.total_in>>24&255)):(q(ae,ee.adler>>>16),q(ae,65535&ee.adler)),P(ee),0=Ge.w_size&&(Y===0&&(K(Ge.head),Ge.strstart=0,Ge.block_start=0,Ge.insert=0),De=new d.Buf8(Ge.w_size),d.arraySet(De,ue,Ne-Ge.w_size,Ge.w_size,0),ue=De,Ne=Ge.w_size),te=ee.avail_in,we=ee.next_in,pe=ee.input,ee.avail_in=Ne,ee.next_in=0,ee.input=ue,ce(Ge);Ge.lookahead>=E;){for(ae=Ge.strstart,Z=Ge.lookahead-(E-1);Ge.ins_h=(Ge.ins_h<>>=E=C>>>24,y-=E,(E=C>>>16&255)===0)X[c++]=65535&C;else{if(!(16&E)){if((64&E)==0){C=w[(65535&C)+(v&(1<>>=E,y-=E),y<15&&(v+=B[n++]<>>=E=C>>>24,y-=E,!(16&(E=C>>>16&255))){if((64&E)==0){C=S[(65535&C)+(v&(1<>>=E,y-=E,(E=c-i)>3,v&=(1<<(y-=O<<3))-1,m.next_in=n,m.next_out=c,m.avail_in=n>>24&255)+(F>>>8&65280)+((65280&F)<<8)+((255&F)<<24)}function v(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new m.Buf16(320),this.work=new m.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function y(F){var H;return F&&F.state?(H=F.state,F.total_in=F.total_out=H.total=0,F.msg="",H.wrap&&(F.adler=1&H.wrap),H.mode=o,H.last=0,H.havedict=0,H.dmax=32768,H.head=null,H.hold=0,H.bits=0,H.lencode=H.lendyn=new m.Buf32(h),H.distcode=H.distdyn=new m.Buf32(p),H.sane=1,H.back=-1,u):r}function w(F){var H;return F&&F.state?((H=F.state).wsize=0,H.whave=0,H.wnext=0,y(F)):r}function S(F,H){var B,X;return F&&F.state?(X=F.state,H<0?(B=0,H=-H):(B=1+(H>>4),H<48&&(H&=15)),H&&(H<8||15=k.wsize?(m.arraySet(k.window,H,B-k.wsize,k.wsize,0),k.wnext=0,k.whave=k.wsize):(X<(J=k.wsize-k.wnext)&&(J=X),m.arraySet(k.window,H,B-X,J,k.wnext),(X-=J)?(m.arraySet(k.window,H,B-X,X,0),k.wnext=X,k.whave=k.wsize):(k.wnext+=J,k.wnext===k.wsize&&(k.wnext=0),k.whave>>8&255,B.check=a(B.check,Y,2,0),G=P=0,B.mode=2;break}if(B.flags=0,B.head&&(B.head.done=!1),!(1&B.wrap)||(((255&P)<<8)+(P>>8))%31){F.msg="incorrect header check",B.mode=30;break}if((15&P)!=8){F.msg="unknown compression method",B.mode=30;break}if(G-=4,ee=8+(15&(P>>>=4)),B.wbits===0)B.wbits=ee;else if(ee>B.wbits){F.msg="invalid window size",B.mode=30;break}B.dmax=1<>8&1),512&B.flags&&(Y[0]=255&P,Y[1]=P>>>8&255,B.check=a(B.check,Y,2,0)),G=P=0,B.mode=3;case 3:for(;G<32;){if(z===0)break e;z--,P+=X[k++]<>>8&255,Y[2]=P>>>16&255,Y[3]=P>>>24&255,B.check=a(B.check,Y,4,0)),G=P=0,B.mode=4;case 4:for(;G<16;){if(z===0)break e;z--,P+=X[k++]<>8),512&B.flags&&(Y[0]=255&P,Y[1]=P>>>8&255,B.check=a(B.check,Y,2,0)),G=P=0,B.mode=5;case 5:if(1024&B.flags){for(;G<16;){if(z===0)break e;z--,P+=X[k++]<>>8&255,B.check=a(B.check,Y,2,0)),G=P=0}else B.head&&(B.head.extra=null);B.mode=6;case 6:if(1024&B.flags&&(z<(re=B.length)&&(re=z),re&&(B.head&&(ee=B.head.extra_len-B.length,B.head.extra||(B.head.extra=new Array(B.head.extra_len)),m.arraySet(B.head.extra,X,k,re,ee)),512&B.flags&&(B.check=a(B.check,X,re,k)),z-=re,k+=re,B.length-=re),B.length))break e;B.length=0,B.mode=7;case 7:if(2048&B.flags){if(z===0)break e;for(re=0;ee=X[k+re++],B.head&&ee&&B.length<65536&&(B.head.name+=String.fromCharCode(ee)),ee&&re>9&1,B.head.done=!0),F.adler=B.check=0,B.mode=12;break;case 10:for(;G<32;){if(z===0)break e;z--,P+=X[k++]<>>=7&G,G-=7&G,B.mode=27;break}for(;G<3;){if(z===0)break e;z--,P+=X[k++]<>>=1)){case 0:B.mode=14;break;case 1:if(O(B),B.mode=20,H!==6)break;P>>>=2,G-=2;break e;case 2:B.mode=17;break;case 3:F.msg="invalid block type",B.mode=30}P>>>=2,G-=2;break;case 14:for(P>>>=7&G,G-=7&G;G<32;){if(z===0)break e;z--,P+=X[k++]<>>16^65535)){F.msg="invalid stored block lengths",B.mode=30;break}if(B.length=65535&P,G=P=0,B.mode=15,H===6)break e;case 15:B.mode=16;case 16:if(re=B.length){if(z>>=5,G-=5,B.ndist=1+(31&P),P>>>=5,G-=5,B.ncode=4+(15&P),P>>>=4,G-=4,286>>=3,G-=3}for(;B.have<19;)B.lens[te[B.have++]]=0;if(B.lencode=B.lendyn,B.lenbits=7,Ge={bits:B.lenbits},ue=s(0,B.lens,0,19,B.lencode,0,B.work,Ge),B.lenbits=Ge.bits,ue){F.msg="invalid code lengths set",B.mode=30;break}B.have=0,B.mode=19;case 19:for(;B.have>>16&255,Se=65535&Z,!((fe=Z>>>24)<=G);){if(z===0)break e;z--,P+=X[k++]<>>=fe,G-=fe,B.lens[B.have++]=Se;else{if(Se===16){for(ae=fe+2;G>>=fe,G-=fe,B.have===0){F.msg="invalid bit length repeat",B.mode=30;break}ee=B.lens[B.have-1],re=3+(3&P),P>>>=2,G-=2}else if(Se===17){for(ae=fe+3;G>>=fe)),P>>>=3,G-=3}else{for(ae=fe+7;G>>=fe)),P>>>=7,G-=7}if(B.have+re>B.nlen+B.ndist){F.msg="invalid bit length repeat",B.mode=30;break}for(;re--;)B.lens[B.have++]=ee}}if(B.mode===30)break;if(B.lens[256]===0){F.msg="invalid code -- missing end-of-block",B.mode=30;break}if(B.lenbits=9,Ge={bits:B.lenbits},ue=s(c,B.lens,0,B.nlen,B.lencode,0,B.work,Ge),B.lenbits=Ge.bits,ue){F.msg="invalid literal/lengths set",B.mode=30;break}if(B.distbits=6,B.distcode=B.distdyn,Ge={bits:B.distbits},ue=s(i,B.lens,B.nlen,B.ndist,B.distcode,0,B.work,Ge),B.distbits=Ge.bits,ue){F.msg="invalid distances set",B.mode=30;break}if(B.mode=20,H===6)break e;case 20:B.mode=21;case 21:if(6<=z&&258<=K){F.next_out=W,F.avail_out=K,F.next_in=k,F.avail_in=z,B.hold=P,B.bits=G,n(F,q),W=F.next_out,J=F.output,K=F.avail_out,k=F.next_in,X=F.input,z=F.avail_in,P=B.hold,G=B.bits,B.mode===12&&(B.back=-1);break}for(B.back=0;xe=(Z=B.lencode[P&(1<>>16&255,Se=65535&Z,!((fe=Z>>>24)<=G);){if(z===0)break e;z--,P+=X[k++]<>ke)])>>>16&255,Se=65535&Z,!(ke+(fe=Z>>>24)<=G);){if(z===0)break e;z--,P+=X[k++]<>>=ke,G-=ke,B.back+=ke}if(P>>>=fe,G-=fe,B.back+=fe,B.length=Se,xe===0){B.mode=26;break}if(32&xe){B.back=-1,B.mode=12;break}if(64&xe){F.msg="invalid literal/length code",B.mode=30;break}B.extra=15&xe,B.mode=22;case 22:if(B.extra){for(ae=B.extra;G>>=B.extra,G-=B.extra,B.back+=B.extra}B.was=B.length,B.mode=23;case 23:for(;xe=(Z=B.distcode[P&(1<>>16&255,Se=65535&Z,!((fe=Z>>>24)<=G);){if(z===0)break e;z--,P+=X[k++]<>ke)])>>>16&255,Se=65535&Z,!(ke+(fe=Z>>>24)<=G);){if(z===0)break e;z--,P+=X[k++]<>>=ke,G-=ke,B.back+=ke}if(P>>>=fe,G-=fe,B.back+=fe,64&xe){F.msg="invalid distance code",B.mode=30;break}B.offset=Se,B.extra=15&xe,B.mode=24;case 24:if(B.extra){for(ae=B.extra;G>>=B.extra,G-=B.extra,B.back+=B.extra}if(B.offset>B.dmax){F.msg="invalid distance too far back",B.mode=30;break}B.mode=25;case 25:if(K===0)break e;if(re=q-K,B.offset>re){if((re=B.offset-re)>B.whave&&B.sane){F.msg="invalid distance too far back",B.mode=30;break}ce=re>B.wnext?(re-=B.wnext,B.wsize-re):B.wnext-re,re>B.length&&(re=B.length),ie=B.window}else ie=J,ce=W-B.offset,re=B.length;for(KI?(E=ce[ie+p[H]],G[V+p[H]]):(E=96,0),v=1<>W)+(y-=v)]=C<<24|E<<16|O|0,y!==0;);for(v=1<>=1;if(v!==0?(P&=v-1,P+=v):P=0,H++,--q[F]==0){if(F===X)break;F=i[u+p[H]]}if(J>>7)]}function V(Z,Y){Z.pending_buf[Z.pending++]=255&Y,Z.pending_buf[Z.pending++]=Y>>>8&255}function q(Z,Y,te){Z.bi_valid>g-te?(Z.bi_buf|=Y<>g-Z.bi_valid,Z.bi_valid+=te-g):(Z.bi_buf|=Y<>>=1,te<<=1,0<--Y;);return te>>>1}function ie(Z,Y,te){var we,pe,De=new Array(p+1),Ne=0;for(we=1;we<=p;we++)De[we]=Ne=Ne+te[we-1]<<1;for(pe=0;pe<=Y;pe++){var me=Z[2*pe+1];me!==0&&(Z[2*pe]=ce(De[me]++,me))}}function fe(Z){var Y;for(Y=0;Y>1;1<=te;te--)ke(Z,De,te);for(pe=be;te=Z.heap[1],Z.heap[1]=Z.heap[Z.heap_len--],ke(Z,De,1),we=Z.heap[1],Z.heap[--Z.heap_max]=te,Z.heap[--Z.heap_max]=we,De[2*pe]=De[2*te]+De[2*we],Z.depth[pe]=(Z.depth[te]>=Z.depth[we]?Z.depth[te]:Z.depth[we])+1,De[2*te+1]=De[2*we+1]=pe,Z.heap[1]=pe++,ke(Z,De,1),2<=Z.heap_len;);Z.heap[--Z.heap_max]=Z.heap[1],function(it,yt){var pt,Pe,Nt,ut,Ft,Ut,Wt=yt.dyn_tree,$t=yt.max_code,or=yt.stat_desc.static_tree,ht=yt.stat_desc.has_stree,Ee=yt.stat_desc.extra_bits,de=yt.stat_desc.extra_base,qe=yt.stat_desc.max_length,rt=0;for(ut=0;ut<=p;ut++)it.bl_count[ut]=0;for(Wt[2*it.heap[it.heap_max]+1]=0,pt=it.heap_max+1;pt>=7;pe>>=1)if(1&Re&&me.dyn_ltree[2*be]!==0)return d;if(me.dyn_ltree[18]!==0||me.dyn_ltree[20]!==0||me.dyn_ltree[26]!==0)return a;for(be=32;be>>3,(De=Z.static_len+3+7>>>3)<=pe&&(pe=De)):pe=De=te+5,te+4<=pe&&Y!==-1?ae(Z,Y,te,we):Z.strategy===4||De===pe?(q(Z,2+(we?1:0),3),ge(Z,M,F)):(q(Z,4+(we?1:0),3),function(me,be,Re,it){var yt;for(q(me,be-257,5),q(me,Re-1,5),q(me,it-4,4),yt=0;yt>>8&255,Z.pending_buf[Z.d_buf+2*Z.last_lit+1]=255&Y,Z.pending_buf[Z.l_buf+Z.last_lit]=255&te,Z.last_lit++,Y===0?Z.dyn_ltree[2*te]++:(Z.matches++,Y--,Z.dyn_ltree[2*(B[te]+i+1)]++,Z.dyn_dtree[2*G(Y)]++),Z.last_lit===Z.lit_bufsize-1},e._tr_align=function(Z){q(Z,2,3),re(Z,y,M),function(Y){Y.bi_valid===16?(V(Y,Y.bi_buf),Y.bi_buf=0,Y.bi_valid=0):8<=Y.bi_valid&&(Y.pending_buf[Y.pending++]=255&Y.bi_buf,Y.bi_buf>>=8,Y.bi_valid-=8)}(Z)}},{"../utils/common":41}],53:[function(f,t,e){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(f,t,e){"use strict";t.exports=typeof setImmediate=="function"?setImmediate:function(){var m=[].slice.apply(arguments);m.splice(1,0,0),setTimeout.apply(null,m)}},{}]},{},[10])(10)})}).call(this,l("HDXh").Buffer,l("yLpj"))},xRUu:function(j,R,l){l("hJvP"),l("hFmY"),l("sAZ8")},xSIq:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};R.default=x},xSat:function(j,R){var l={axisPointer:1,tooltip:1,brush:1};function x(b,A,f){var t=A.getComponentByElement(b.topTarget),e=t&&t.coordinateSystem;return t&&t!==f&&!l[t.mainType]&&e&&e.model!==f}R.onIrrelevantElement=x},xTNl:function(j,R){var l=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],x={color:l,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],l]};j.exports=x},xb2K:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("5yev")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="RedoOutlined";var d=f.forwardRef(m);R.default=d},xiyX:function(j,R,l){var x=l("bYtY"),b=l("bLfw"),A=l("nkfE"),f=l("ICMv"),t=b.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),e={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function m(a,n){return n.type||(n.data?"category":"value")}x.merge(t.prototype,f),A("single",t,m,e);var d=t;j.exports=d},xlC8:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=x;function x(b,A,f,t){for(var e=b&65535|0,m=b>>>16&65535|0,d=0;f!==0;){d=f>2e3?2e3:f,f-=d;do e=e+A[t++]|0,m=m+e|0;while(--d);e%=65521,m%=65521}return e|m<<16|0}},xvlK:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="PlusOutlined";var m=R.a=b.forwardRef(e)},xzDV:function(j,R,l){},"y+Vt":function(j,R,l){var x=l("Gev7"),b=l("bYtY"),A=l("IMiH"),f=l("2DNl"),t=l("3C/r"),e=t.prototype.getCanvasPattern,m=Math.abs,d=new A(!0);function a(s){x.call(this,s),this.path=null}a.prototype={constructor:a,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(c,i){var u=this.style,r=this.path||d,o=u.hasStroke(),h=u.hasFill(),p=u.fill,g=u.stroke,v=h&&!!p.colorStops,y=o&&!!g.colorStops,w=h&&!!p.image,S=o&&!!g.image;if(u.bind(c,this,i),this.setTransform(c),this.__dirty){var _;v&&(_=_||this.getBoundingRect(),this._fillGradient=u.getGradient(c,p,_)),y&&(_=_||this.getBoundingRect(),this._strokeGradient=u.getGradient(c,g,_))}v?c.fillStyle=this._fillGradient:w&&(c.fillStyle=e.call(p,c)),y?c.strokeStyle=this._strokeGradient:S&&(c.strokeStyle=e.call(g,c));var I=u.lineDash,C=u.lineDashOffset,E=!!c.setLineDash,O=this.getGlobalScale();if(r.setScale(O[0],O[1],this.segmentIgnoreThreshold),this.__dirtyPath||I&&!E&&o?(r.beginPath(c),I&&!E&&(r.setLineDash(I),r.setLineDashOffset(C)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(c.beginPath(),this.path.rebuildPath(c)),h)if(u.fillOpacity!=null){var M=c.globalAlpha;c.globalAlpha=u.fillOpacity*u.opacity,r.fill(c),c.globalAlpha=M}else r.fill(c);if(I&&E&&(c.setLineDash(I),c.lineDashOffset=C),o)if(u.strokeOpacity!=null){var M=c.globalAlpha;c.globalAlpha=u.strokeOpacity*u.opacity,r.stroke(c),c.globalAlpha=M}else r.stroke(c);I&&E&&c.setLineDash([]),u.text!=null&&(this.restoreTransform(c),this.drawRectText(c,this.getBoundingRect()))},buildPath:function(c,i,u){},createPathProxy:function(){this.path=new A},getBoundingRect:function(){var c=this._rect,i=this.style,u=!c;if(u){var r=this.path;r||(r=this.path=new A),this.__dirtyPath&&(r.beginPath(),this.buildPath(r,this.shape,!1)),c=r.getBoundingRect()}if(this._rect=c,i.hasStroke()){var o=this._rectWithStroke||(this._rectWithStroke=c.clone());if(this.__dirty||u){o.copy(c);var h=i.lineWidth,p=i.strokeNoScale?this.getLineScale():1;i.hasFill()||(h=Math.max(h,this.strokeContainThreshold||4)),p>1e-10&&(o.width+=h/p,o.height+=h/p,o.x-=h/p/2,o.y-=h/p/2)}return o}return c},contain:function(c,i){var u=this.transformCoordToLocal(c,i),r=this.getBoundingRect(),o=this.style;if(c=u[0],i=u[1],r.contain(c,i)){var h=this.path.data;if(o.hasStroke()){var p=o.lineWidth,g=o.strokeNoScale?this.getLineScale():1;if(g>1e-10&&(o.hasFill()||(p=Math.max(p,this.strokeContainThreshold)),f.containStroke(h,p/g,c,i)))return!0}if(o.hasFill())return f.contain(h,c,i)}return!1},dirty:function(c){c==null&&(c=!0),c&&(this.__dirtyPath=c,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(c){return this.animate("shape",c)},attrKV:function(c,i){c==="shape"?(this.setShape(i),this.__dirtyPath=!0,this._rect=null):x.prototype.attrKV.call(this,c,i)},setShape:function(c,i){var u=this.shape;if(u){if(b.isObject(c))for(var r in c)c.hasOwnProperty(r)&&(u[r]=c[r]);else u[c]=i;this.dirty(!0)}return this},getLineScale:function(){var c=this.transform;return c&&m(c[0]-1)>1e-10&&m(c[3]-1)>1e-10?Math.sqrt(m(c[0]*c[3]-c[2]*c[1])):1}},a.extend=function(s){var c=function(r){a.call(this,r),s.style&&this.style.extendFrom(s.style,!1);var o=s.shape;if(o){this.shape=this.shape||{};var h=this.shape;for(var p in o)!h.hasOwnProperty(p)&&o.hasOwnProperty(p)&&(h[p]=o[p])}s.init&&s.init.call(this,r)};b.inherits(c,a);for(var i in s)i!=="style"&&i!=="shape"&&(c.prototype[i]=s[i]);return c},b.inherits(a,x);var n=a;j.exports=n},"y+lR":function(j,R,l){var x=l("bYtY"),b=l("mFDi"),A=l("z35g");function f(e){A.call(this,e)}f.prototype={constructor:f,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(e){var m=this.getAxis("x"),d=this.getAxis("y");return m.contain(m.toLocalCoord(e[0]))&&d.contain(d.toLocalCoord(e[1]))},containData:function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},dataToPoint:function(e,m,d){var a=this.getAxis("x"),n=this.getAxis("y");return d=d||[],d[0]=a.toGlobalCoord(a.dataToCoord(e[0])),d[1]=n.toGlobalCoord(n.dataToCoord(e[1])),d},clampData:function(e,m){var d=this.getAxis("x").scale,a=this.getAxis("y").scale,n=d.getExtent(),s=a.getExtent(),c=d.parse(e[0]),i=a.parse(e[1]);return m=m||[],m[0]=Math.min(Math.max(Math.min(n[0],n[1]),c),Math.max(n[0],n[1])),m[1]=Math.min(Math.max(Math.min(s[0],s[1]),i),Math.max(s[0],s[1])),m},pointToData:function(e,m){var d=this.getAxis("x"),a=this.getAxis("y");return m=m||[],m[0]=d.coordToData(d.toLocalCoord(e[0])),m[1]=a.coordToData(a.toLocalCoord(e[1])),m},getOtherAxis:function(e){return this.getAxis(e.dim==="x"?"y":"x")},getArea:function(){var e=this.getAxis("x").getGlobalExtent(),m=this.getAxis("y").getGlobalExtent(),d=Math.min(e[0],e[1]),a=Math.min(m[0],m[1]),n=Math.max(e[0],e[1])-d,s=Math.max(m[0],m[1])-a,c=new b(d,a,n,s);return c}},x.inherits(f,A);var t=f;j.exports=t},"y0+3":function(j,R,l){"use strict";l.d(R,"a",function(){return s}),l.d(R,"b",function(){return i});var x=/margin|padding|width|height|max|min|offset/,b={left:!0,top:!0},A={cssFloat:1,styleFloat:1,float:1};function f(u){return u.nodeType===1?u.ownerDocument.defaultView.getComputedStyle(u,null):{}}function t(u,r,o){if(r=r.toLowerCase(),o==="auto"){if(r==="height")return u.offsetHeight;if(r==="width")return u.offsetWidth}return r in b||(b[r]=x.test(r)),b[r]?parseFloat(o)||0:o}function e(u,r){var o=arguments.length,h=f(u);return r=A[r]?"cssFloat"in u.style?"cssFloat":"styleFloat":r,o===1?h:t(u,r,h[r]||u.style[r])}function m(u,r,o){var h=arguments.length;if(r=A[r]?"cssFloat"in u.style?"cssFloat":"styleFloat":r,h===3)return typeof o=="number"&&x.test(r)&&(o="".concat(o,"px")),u.style[r]=o,o;for(var p in r)r.hasOwnProperty(p)&&m(u,p,r[p]);return f(u)}function d(u){return u===document.body?document.documentElement.clientWidth:u.offsetWidth}function a(u){return u===document.body?window.innerHeight||document.documentElement.clientHeight:u.offsetHeight}function n(){var u=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),r=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:u,height:r}}function s(){var u=document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight;return{width:u,height:r}}function c(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function i(u){var r=u.getBoundingClientRect(),o=document.documentElement;return{left:r.left+(window.pageXOffset||o.scrollLeft)-(o.clientLeft||document.body.clientLeft||0),top:r.top+(window.pageYOffset||o.scrollTop)-(o.clientTop||document.body.clientTop||0)}}},"y1t/":function(j,R,l){"use strict";l.d(R,"a",function(){return x});function x(b){if(b==null)throw new TypeError("Cannot destructure undefined")}},y23F:function(j,R){function l(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}l.prototype={constructor:l,_dragStart:function(f){for(var t=f.target;t&&!t.draggable;)t=t.parent;t&&(this._draggingTarget=t,t.dragging=!0,this._x=f.offsetX,this._y=f.offsetY,this.dispatchToElement(x(t,f),"dragstart",f.event))},_drag:function(f){var t=this._draggingTarget;if(t){var e=f.offsetX,m=f.offsetY,d=e-this._x,a=m-this._y;this._x=e,this._y=m,t.drift(d,a,f),this.dispatchToElement(x(t,f),"drag",f.event);var n=this.findHover(e,m,t).target,s=this._dropTarget;this._dropTarget=n,t!==n&&(s&&n!==s&&this.dispatchToElement(x(s,f),"dragleave",f.event),n&&n!==s&&this.dispatchToElement(x(n,f),"dragenter",f.event))}},_dragEnd:function(f){var t=this._draggingTarget;t&&(t.dragging=!1),this.dispatchToElement(x(t,f),"dragend",f.event),this._dropTarget&&this.dispatchToElement(x(this._dropTarget,f),"drop",f.event),this._draggingTarget=null,this._dropTarget=null}};function x(A,f){return{target:A,topTarget:f&&f.topTarget}}var b=l;j.exports=b},y2l5:function(j,R,l){var x=l("MwEJ"),b=l("T4UG"),A=b.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(f,t){return x(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var f=this.option.progressive;return f==null?this.option.large?5e3:this.get("progressive"):f},getProgressiveThreshold:function(){var f=this.option.progressiveThreshold;return f==null?this.option.large?1e4:this.get("progressiveThreshold"):f},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});j.exports=A},y3Kf:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="UpOutlined";var m=R.a=b.forwardRef(e)},y3NT:function(j,R,l){var x=l("OELB"),b=x.parsePercent,A=l("bYtY"),f=Math.PI/180;function t(d,a,n,s){a.eachSeriesByType(d,function(c){var i=c.get("center"),u=c.get("radius");A.isArray(u)||(u=[0,u]),A.isArray(i)||(i=[i,i]);var r=n.getWidth(),o=n.getHeight(),h=Math.min(r,o),p=b(i[0],r),g=b(i[1],o),v=b(u[0],h/2),y=b(u[1],h/2),w=-c.get("startAngle")*f,S=c.get("minAngle")*f,_=c.getData().tree.root,I=c.getViewRoot(),C=I.depth,E=c.get("sort");E!=null&&e(I,E);var O=0;A.each(I.children,function(V){!isNaN(V.getValue())&&O++});var M=I.getValue(),F=Math.PI/(M||O)*2,H=I.depth>0,B=I.height-(H?-1:1),X=(y-v)/(B||1),J=c.get("clockwise"),k=c.get("stillShowZeroSum"),W=J?1:-1,z=function(V,q){if(!V)return;var re=q;if(V!==_){var ce=V.getValue(),ie=M===0&&k?F:ce*F;ie=0;h--){var p=h*2,g=i[p]-r/2,v=i[p+1]-o/2;if(n>=g&&s>=v&&n<=g+r&&s<=v+o)return h}return-1}});function m(){this.group=new x.Group}var d=m.prototype;d.isPersistent=function(){return!this._incremental},d.updateData=function(n,s){this.group.removeAll();var c=new e({rectHover:!0,cursor:"default"});c.setShape({points:n.getLayout("symbolPoints")}),this._setCommon(c,n,!1,s),this.group.add(c),this._incremental=null},d.updateLayout=function(n){if(this._incremental)return;var s=n.getLayout("symbolPoints");this.group.eachChild(function(c){if(c.startIndex!=null){var i=(c.endIndex-c.startIndex)*2,u=c.startIndex*4*2;s=new Float32Array(s.buffer,u,i)}c.setShape("points",s)})},d.incrementalPrepareUpdate=function(n){this.group.removeAll(),this._clearIncremental(),n.count()>2e6?(this._incremental||(this._incremental=new f({silent:!0})),this.group.add(this._incremental)):this._incremental=null},d.incrementalUpdate=function(n,s,c){var i;this._incremental?(i=new e,this._incremental.addDisplayable(i,!0)):(i=new e({rectHover:!0,cursor:"default",startIndex:n.start,endIndex:n.end}),i.incremental=!0,this.group.add(i)),i.setShape({points:s.getLayout("symbolPoints")}),this._setCommon(i,s,!!this._incremental,c)},d._setCommon=function(n,s,c,i){var u=s.hostModel;i=i||{};var r=s.getVisual("symbolSize");n.setShape("size",r instanceof Array?r:[r,r]),n.softClipShape=i.clipShape||null,n.symbolProxy=A(s.getVisual("symbol"),0,0,0,0),n.setColor=n.symbolProxy.setColor;var o=n.shape.size[0]=0&&(n.dataIndex=g+(n.startIndex||0))}))},d.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},d._clearIncremental=function(){var n=this._incremental;n&&n.clearDisplaybles()};var a=m;j.exports=a},ycre:function(j,R,l){var x=l("711d"),b=x("length");j.exports=b},ye1Q:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="LoadingOutlined";var m=R.a=b.forwardRef(e)},ygfH:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};R.default=x},yik8:function(j,R,l){var x=l("bZqE"),b=x.eachAfter,A=x.eachBefore,f=l("Itpr"),t=f.init,e=f.firstWalk,m=f.secondWalk,d=f.separation,a=f.radialCoordinate,n=f.getViewRect;function s(i,u){i.eachSeriesByType("tree",function(r){c(r,u)})}function c(i,u){var r=n(i,u);i.layoutInfo=r;var o=i.get("layout"),h=0,p=0,g=null;o==="radial"?(h=2*Math.PI,p=Math.min(r.height,r.width)/2,g=d(function(B,X){return(B.parentNode===X.parentNode?1:2)/B.depth})):(h=r.width,p=r.height,g=d());var v=i.getData().tree.root,y=v.children[0];if(y){t(v),b(y,e,g),v.hierNode.modifier=-y.hierNode.prelim,A(y,m);var w=y,S=y,_=y;A(y,function(B){var X=B.getLayout().x;XS.getLayout().x&&(S=B),B.depth>_.depth&&(_=B)});var I=w===S?1:g(w,S)/2,C=I-w.getLayout().x,E=0,O=0,M=0,F=0;if(o==="radial")E=h/(S.getLayout().x+I+C),O=p/(_.depth-1||1),A(y,function(B){M=(B.getLayout().x+C)*E,F=(B.depth-1)*O;var X=a(M,F);B.setLayout({x:X.x,y:X.y,rawX:M,rawY:F},!0)});else{var H=i.getOrient();H==="RL"||H==="LR"?(O=p/(S.getLayout().x+I+C),E=h/(_.depth-1||1),A(y,function(B){F=(B.getLayout().x+C)*O,M=H==="LR"?(B.depth-1)*E:h-(B.depth-1)*E,B.setLayout({x:M,y:F},!0)})):(H==="TB"||H==="BT")&&(E=h/(S.getLayout().x+I+C),O=p/(_.depth-1||1),A(y,function(B){M=(B.getLayout().x+C)*E,F=H==="TB"?(B.depth-1)*O:p-(B.depth-1)*O,B.setLayout({x:M,y:F},!0)}))}}}j.exports=s},ynwM:function(j,R,l){var x=l("MFOe"),b=x.Global;j.exports={name:"oldFF-globalStorage",read:f,write:t,each:e,remove:m,clearAll:d};var A=b.globalStorage;function f(a){return A[a]}function t(a,n){A[a]=n}function e(a){for(var n=A.length-1;n>=0;n--){var s=A.key(n);a(A[s],s)}}function m(a){return A.removeItem(a)}function d(){e(function(a,n){delete A[a]})}},ypgQ:function(j,R,l){var x=l("bYtY"),b=l("4NO4"),A=l("bLfw"),f=x.each,t=x.clone,e=x.map,m=x.merge,d=/^(min|max)?(.+)$/;function a(o){this._api=o,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}a.prototype={constructor:a,setOption:function(o,h){o&&x.each(b.normalizeToArray(o.series),function(v){v&&v.data&&x.isTypedArray(v.data)&&x.setAsPrimitive(v.data)}),o=t(o);var p=this._optionBackup,g=n.call(this,o,h,!p);this._newBaseOption=g.baseOption,p?(u(p.baseOption,g.baseOption),g.timelineOptions.length&&(p.timelineOptions=g.timelineOptions),g.mediaList.length&&(p.mediaList=g.mediaList),g.mediaDefault&&(p.mediaDefault=g.mediaDefault)):this._optionBackup=g},mountOption:function(o){var h=this._optionBackup;return this._timelineOptions=e(h.timelineOptions,t),this._mediaList=e(h.mediaList,t),this._mediaDefault=t(h.mediaDefault),this._currentMediaIndices=[],t(o?h.baseOption:this._newBaseOption)},getTimelineOption:function(o){var h,p=this._timelineOptions;if(p.length){var g=o.getComponent("timeline");g&&(h=t(p[g.getCurrentIndex()],!0))}return h},getMediaOption:function(o){var h=this._api.getWidth(),p=this._api.getHeight(),g=this._mediaList,v=this._mediaDefault,y=[],w=[];if(!g.length&&!v)return w;for(var S=0,_=g.length;S<_;S++)s(g[S].query,h,p)&&y.push(S);return!y.length&&v&&(y=[-1]),y.length&&!i(y,this._currentMediaIndices)&&(w=e(y,function(I){return t(I===-1?v.option:g[I].option)})),this._currentMediaIndices=y,w}};function n(o,h,p){var g=[],v=[],y,w,S=o.timeline;if(o.baseOption&&(w=o.baseOption),(S||o.options)&&(w=w||{},g=(o.options||[]).slice()),o.media){w=w||{};var _=o.media;f(_,function(I){I&&I.option&&(I.query?v.push(I):y||(y=I))})}return w||(w=o),w.timeline||(w.timeline=S),f([w].concat(g).concat(x.map(v,function(I){return I.option})),function(I){f(h,function(C){C(I,p)})}),{baseOption:w,timelineOptions:g,mediaDefault:y,mediaList:v}}function s(o,h,p){var g={width:h,height:p,aspectratio:h/p},v=!0;return x.each(o,function(y,w){var S=w.match(d);if(!S||!S[1]||!S[2])return;var _=S[1],I=S[2].toLowerCase();c(g[I],y,_)||(v=!1)}),v}function c(o,h,p){return p==="min"?o>=h:p==="max"?o<=h:o===h}function i(o,h){return o.join(",")===h.join(",")}function u(o,h){h=h||{},f(h,function(p,g){if(p==null)return;var v=o[g];if(!A.hasClass(g))o[g]=m(v,p,!0);else{p=b.normalizeToArray(p),v=b.normalizeToArray(v);var y=b.mappingToExists(v,p);o[g]=e(y,function(w){return w.option&&w.exist?m(w.exist,w.option,!0):w.exist||w.option})}})}var r=a;j.exports=r},yxFR:function(j,R,l){var x=l("y+Vt"),b=l("nPnh"),A=b.subPixelOptimizeLine,f={},t=x.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(m,d){var a,n,s,c;this.subPixelOptimize?(A(f,d,this.style),a=f.x1,n=f.y1,s=f.x2,c=f.y2):(a=d.x1,n=d.y1,s=d.x2,c=d.y2);var i=d.percent;if(i===0)return;m.moveTo(a,n),i<1&&(s=a*(1-i)+s*i,c=n*(1-i)+c*i),m.lineTo(s,c)},pointAt:function(m){var d=this.shape;return[d.x1*(1-m)+d.x2*m,d.y1*(1-m)+d.y2*m]}});j.exports=t},z35g:function(j,R,l){var x=l("bYtY");function b(t){return this._axes[t]}var A=function(t){this._axes={},this._dimList=[],this.name=t||""};A.prototype={constructor:A,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return x.map(this._dimList,b,this)},getAxesByScale:function(t){return t=t.toLowerCase(),x.filter(this.getAxes(),function(e){return e.scale.type===t})},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var m=this._dimList,d=t instanceof Array?[]:{},a=0;a1&&arguments[1]!==void 0?arguments[1]:{},d=m.getContainer,a=d===void 0?function(){return window}:d,n=m.callback,s=m.duration,c=s===void 0?450:s,i=a(),u=Object(A.a)(i,!0),r=Date.now(),o=function h(){var p=Date.now(),g=p-r,v=f(g>c?c:g,u,e,c);Object(A.b)(i)?i.scrollTo(window.pageXOffset,v):i instanceof HTMLDocument||i.constructor.name==="HTMLDocument"?i.documentElement.scrollTop=v:i.scrollTop=v,gp[1];if(M&&!F&&!H)return!0;M&&(C=!0),F&&(_=!0),H&&(I=!0)}return C&&_&&I}):t(w,function(S){if(h==="empty")v.setData(y=y.map(S,function(I){return g(I)?I:NaN}));else{var _={};_[S]=p,y.selectRange(_)}}),t(w,function(S){y.setApproximateExtent(p,S)})});function g(v){return v>=p[0]&&v<=p[1]}}};function d(i,u,r){var o=[Infinity,-Infinity];return t(r,function(h){var p=h.getData();p&&t(p.mapDimension(u,!0),function(g){var v=p.getApproximateExtent(g);v[0]o[1]&&(o[1]=v[1])})}),o[1]0?0:NaN);var g=r.getMax(!0);return g!=null&&g!=="dataMax"&&typeof g!="function"?u[1]=g:h&&(u[1]=p>0?p-1:NaN),r.get("scale",!0)||(u[0]>0&&(u[0]=0),u[1]<0&&(u[1]=0)),u}function n(i,u){var r=i.getAxisModel(),o=i._percentWindow,h=i._valueWindow;if(!o)return;var p=b.getPixelPrecision(h,[0,500]);p=Math.min(p,20);var g=u||o[0]===0&&o[1]===100;r.setRange(g?null:+h[0].toFixed(p),g?null:+h[1].toFixed(p))}function s(i){var u=i._minMaxSpan={},r=i._dataZoomModel,o=i._dataExtent;t(["min","max"],function(h){var p=r.get(h+"Span"),g=r.get(h+"ValueSpan");g!=null&&(g=i.getAxisModel().axis.scale.parse(g)),g!=null?p=b.linearMap(o[0]+g,o,[0,100],!0):p!=null&&(g=b.linearMap(p,[0,100],o,!0)-o[0]),u[h+"Span"]=p,u[h+"ValueSpan"]=g})}var c=m;j.exports=c},zM3Q:function(j,R,l){var x=l("4NO4"),b=x.makeInner;function A(){var f=b();return function(t){var e=f(t),m=t.pipelineContext,d=e.large,a=e.progressiveRender,n=e.large=m&&m.large,s=e.progressiveRender=m&&m.progressiveRender;return!!(d^n||a^s)&&"reset"}}j.exports=A},zRKj:function(j,R,l){l("Ae16"),l("Sp2Z"),l("y4/Y")},zTMp:function(j,R,l){var x=l("bYtY"),b=l("Qxkt"),A=x.each,f=x.curry;function t(o,h){var p={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return e(p,o,h),p.seriesInvolved&&d(p,o),p}function e(o,h,p){var g=h.getComponent("tooltip"),v=h.getComponent("axisPointer"),y=v.get("link",!0)||[],w=[];A(p.getCoordinateSystems(),function(S){if(!S.axisPointerEnabled)return;var _=r(S.model),I=o.coordSysAxesInfo[_]={};o.coordSysMap[_]=S;var C=S.model,E=C.getModel("tooltip",g);if(A(S.getAxes(),f(H,!1,null)),S.getTooltipAxes&&g&&E.get("show")){var O=E.get("trigger")==="axis",M=E.get("axisPointer.type")==="cross",F=S.getTooltipAxes(E.get("axisPointer.axis"));(O||M)&&A(F.baseAxes,f(H,M?"cross":!0,O)),M&&A(F.otherAxes,f(H,"cross",!1))}function H(B,X,J){var k=J.model.getModel("axisPointer",v),W=k.get("show");if(!W||W==="auto"&&!B&&!u(k))return;X==null&&(X=k.get("triggerTooltip")),k=B?m(J,E,v,h,B,X):k;var z=k.get("snap"),K=r(J.model),P=X||z||J.type==="category",G=o.axesInfo[K]={key:K,axis:J,coordSys:S,axisPointerModel:k,triggerTooltip:X,involveSeries:P,snap:z,useHandle:u(k),seriesModels:[]};I[K]=G,o.seriesInvolved|=P;var V=a(y,J);if(V!=null){var q=w[V]||(w[V]={axesInfo:{}});q.axesInfo[K]=G,q.mapper=y[V].mapper,G.linkGroup=q}}})}function m(o,h,p,g,v,y){var w=h.getModel("axisPointer"),S={};A(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(E){S[E]=x.clone(w.get(E))}),S.snap=o.type!=="category"&&!!y,w.get("type")==="cross"&&(S.type="line");var _=S.label||(S.label={});if(_.show==null&&(_.show=!1),v==="cross"){var I=w.get("label.show");if(_.show=I!=null?I:!0,!y){var C=S.lineStyle=w.get("crossStyle");C&&x.defaults(_,C.textStyle)}}return o.model.getModel("axisPointer",new b(S,p,g))}function d(o,h){h.eachSeries(function(p){var g=p.coordinateSystem,v=p.get("tooltip.trigger",!0),y=p.get("tooltip.show",!0);if(!g||v==="none"||v===!1||v==="item"||y===!1||p.get("axisPointer.show",!0)===!1)return;A(o.coordSysAxesInfo[r(g.model)],function(w){var S=w.axis;g.getAxis(S.dim)===S&&(w.seriesModels.push(p),w.seriesDataCount==null&&(w.seriesDataCount=0),w.seriesDataCount+=p.getData().count())})},this)}function a(o,h){for(var p=h.model,g=h.dim,v=0;v=0||o===h}function s(o){var h=c(o);if(!h)return;var p=h.axisPointerModel,g=h.axis.scale,v=p.option,y=p.get("status"),w=p.get("value");w!=null&&(w=g.parse(w));var S=u(p);y==null&&(v.status=S?"show":"hide");var _=g.getExtent().slice();_[0]>_[1]&&_.reverse(),(w==null||w>_[1])&&(w=_[1]),w<_[0]&&(w=_[0]),v.value=w,S&&(v.status=h.axis.scale.isBlank()?"hide":"show")}function c(o){var h=(o.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return h&&h.axesInfo[r(o)]}function i(o){var h=c(o);return h&&h.axisPointerModel}function u(o){return!!o.get("handle.show")}function r(o){return o.type+"||"+o.id}R.collect=t,R.fixValue=s,R.getAxisInfo=c,R.getAxisPointerModel=i,R.makeKey=r},zYTA:function(j,R,l){var x=l("bYtY"),b=256;function A(){var t=x.createCanvas();this.canvas=t,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}A.prototype={update:function(t,e,m,d,a,n){var s=this._getBrush(),c=this._getGradient(t,a,"inRange"),i=this._getGradient(t,a,"outOfRange"),u=this.pointSize+this.blurSize,r=this.canvas,o=r.getContext("2d"),h=t.length;r.width=e,r.height=m;for(var p=0;p0){var B=n(S)?c:i;S>0&&(S=S*F+O),I[C++]=B[H],I[C++]=B[H+1],I[C++]=B[H+2],I[C++]=B[H+3]*S*256}else C+=4}return o.putImageData(_,0,0),r},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=x.createCanvas()),e=this.pointSize+this.blurSize,m=e*2;t.width=m,t.height=m;var d=t.getContext("2d");return d.clearRect(0,0,m,m),d.shadowOffsetX=m,d.shadowBlur=this.blurSize,d.shadowColor="#000",d.beginPath(),d.arc(-e,e,this.pointSize,0,Math.PI*2,!0),d.closePath(),d.fill(),t},_getGradient:function(t,e,m){for(var d=this._gradientPixels,a=d[m]||(d[m]=new Uint8ClampedArray(256*4)),n=[0,0,0,0],s=0,c=0;c<256;c++)e[m](c/255,!0,n),a[s++]=n[0],a[s++]=n[1],a[s++]=n[2],a[s++]=n[3];return a}};var f=A;j.exports=f},zarK:function(j,R,l){var x=l("YH21"),b=x.addEventListener,A=x.removeEventListener,f=x.normalizeEvent,t=x.getNativeEvent,e=l("bYtY"),m=l("H6uX"),d=l("ItGF"),a=300,n=d.domSupported,s=function(){var B=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],X=["touchstart","touchend","touchmove"],J={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},k=e.map(B,function(W){var z=W.replace("mouse","pointer");return J.hasOwnProperty(z)?z:W});return{mouse:B,touch:X,pointer:k}}(),c={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function i(B){return B==="mousewheel"&&d.browser.firefox?"DOMMouseScroll":B}function u(B){var X=B.pointerType;return X==="pen"||X==="touch"}function r(B){B.touching=!0,B.touchTimer!=null&&(clearTimeout(B.touchTimer),B.touchTimer=null),B.touchTimer=setTimeout(function(){B.touching=!1,B.touchTimer=null},700)}function o(B){B&&(B.zrByTouch=!0)}function h(B,X){return f(B.dom,new g(B,X),!0)}function p(B,X){for(var J=X,k=!1;J&&J.nodeType!==9&&!(k=J.domBelongToZr||J!==X&&J===B.painterRoot);)J=J.parentNode;return k}function g(B,X){this.type=X.type,this.target=this.currentTarget=B.dom,this.pointerType=X.pointerType,this.clientX=X.clientX,this.clientY=X.clientY}var v=g.prototype;v.stopPropagation=v.stopImmediatePropagation=v.preventDefault=e.noop;var y={mousedown:function(X){X=f(this.dom,X),this._mayPointerCapture=[X.zrX,X.zrY],this.trigger("mousedown",X)},mousemove:function(X){X=f(this.dom,X);var J=this._mayPointerCapture;J&&(X.zrX!==J[0]||X.zrY!==J[1])&&E(this,!0),this.trigger("mousemove",X)},mouseup:function(X){X=f(this.dom,X),E(this,!1),this.trigger("mouseup",X)},mouseout:function(X){X=f(this.dom,X),this._pointerCapturing&&(X.zrEventControl="no_globalout");var J=X.toElement||X.relatedTarget;X.zrIsToLocalDOM=p(this,J),this.trigger("mouseout",X)},touchstart:function(X){X=f(this.dom,X),o(X),this._lastTouchMoment=new Date,this.handler.processGesture(X,"start"),y.mousemove.call(this,X),y.mousedown.call(this,X)},touchmove:function(X){X=f(this.dom,X),o(X),this.handler.processGesture(X,"change"),y.mousemove.call(this,X)},touchend:function(X){X=f(this.dom,X),o(X),this.handler.processGesture(X,"end"),y.mouseup.call(this,X),+new Date-this._lastTouchMoment>2,r=(3&s)<<4|c>>4,o=1>6:64,h=2>4,c=(15&u)<<4|(r=a.indexOf(n.charAt(h++)))>>2,i=(3&r)<<6|(o=a.indexOf(n.charAt(h++))),v[p++]=s,r!==64&&(v[p++]=c),o!==64&&(v[p++]=i);return v}},{"./support":30,"./utils":32}],2:[function(f,t,e){"use strict";var m=f("./external"),d=f("./stream/DataWorker"),a=f("./stream/Crc32Probe"),n=f("./stream/DataLengthProbe");function s(c,i,u,r,o){this.compressedSize=c,this.uncompressedSize=i,this.crc32=u,this.compression=r,this.compressedContent=o}s.prototype={getContentWorker:function(){var i=new d(m.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new n("data_length")),u=this;return i.on("end",function(){if(this.streamInfo.data_length!==u.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),i},getCompressedWorker:function(){return new d(m.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(c,i,u){return c.pipe(new a).pipe(new n("uncompressedSize")).pipe(i.compressWorker(u)).pipe(new n("compressedSize")).withStreamInfo("compression",i)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(f,t,e){"use strict";var m=f("./stream/GenericWorker");e.STORE={magic:"\0\0",compressWorker:function(a){return new m("STORE compression")},uncompressWorker:function(){return new m("STORE decompression")}},e.DEFLATE=f("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(f,t,e){"use strict";var m=f("./utils"),d=function(){for(var a,n=[],s=0;s<256;s++){a=s;for(var c=0;c<8;c++)a=1&a?3988292384^a>>>1:a>>>1;n[s]=a}return n}();t.exports=function(a,n){return a!==void 0&&a.length?m.getTypeOf(a)!=="string"?function(s,c,i,u){var r=d,o=u+i;s^=-1;for(var h=u;h>>8^r[255&(s^c[h])];return-1^s}(0|n,a,a.length,0):function(s,c,i,u){var r=d,o=u+i;s^=-1;for(var h=u;h>>8^r[255&(s^c.charCodeAt(h))];return-1^s}(0|n,a,a.length,0):0}},{"./utils":32}],5:[function(f,t,e){"use strict";e.base64=!1,e.binary=!1,e.dir=!1,e.createFolders=!0,e.date=null,e.compression=null,e.compressionOptions=null,e.comment=null,e.unixPermissions=null,e.dosPermissions=null},{}],6:[function(f,t,e){"use strict";var m=null;m=typeof Promise!="undefined"?Promise:f("lie"),t.exports={Promise:m}},{lie:37}],7:[function(f,t,e){"use strict";var m=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",d=f("pako"),a=f("./utils"),n=f("./stream/GenericWorker"),s=m?"uint8array":"array";function c(i,u){n.call(this,"FlateWorker/"+i),this._pako=null,this._pakoAction=i,this._pakoOptions=u,this.meta={}}e.magic="\b\0",a.inherits(c,n),c.prototype.processChunk=function(i){this.meta=i.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(s,i.data),!1)},c.prototype.flush=function(){n.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new d[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var i=this;this._pako.onData=function(u){i.push({data:u,meta:i.meta})}},e.compressWorker=function(i){return new c("Deflate",i)},e.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(f,t,e){"use strict";function m(r,o){var h,p="";for(h=0;h>>=8;return p}function d(r,o,h,p,g,v){var y,w,S=r.file,_=r.compression,I=v!==s.utf8encode,C=a.transformTo("string",v(S.name)),E=a.transformTo("string",s.utf8encode(S.name)),O=S.comment,M=a.transformTo("string",v(O)),F=a.transformTo("string",s.utf8encode(O)),H=E.length!==S.name.length,B=F.length!==O.length,X="",J="",k="",K=S.dir,z=S.date,W={crc32:0,compressedSize:0,uncompressedSize:0};o&&!h||(W.crc32=r.crc32,W.compressedSize=r.compressedSize,W.uncompressedSize=r.uncompressedSize);var P=0;o&&(P|=8),I||!H&&!B||(P|=2048);var G=0,V=0;K&&(G|=16),g==="UNIX"?(V=798,G|=function(re,ce){var ie=re;return re||(ie=ce?16893:33204),(65535&ie)<<16}(S.unixPermissions,K)):(V=20,G|=function(re){return 63&(re||0)}(S.dosPermissions)),y=z.getUTCHours(),y<<=6,y|=z.getUTCMinutes(),y<<=5,y|=z.getUTCSeconds()/2,w=z.getUTCFullYear()-1980,w<<=4,w|=z.getUTCMonth()+1,w<<=5,w|=z.getUTCDate(),H&&(J=m(1,1)+m(c(C),4)+E,X+="up"+m(J.length,2)+J),B&&(k=m(1,1)+m(c(M),4)+F,X+="uc"+m(k.length,2)+k);var q="";return q+=` +\0`,q+=m(P,2),q+=_.magic,q+=m(y,2),q+=m(w,2),q+=m(W.crc32,4),q+=m(W.compressedSize,4),q+=m(W.uncompressedSize,4),q+=m(C.length,2),q+=m(X.length,2),{fileRecord:i.LOCAL_FILE_HEADER+q+C+X,dirRecord:i.CENTRAL_FILE_HEADER+m(V,2)+q+m(M.length,2)+"\0\0\0\0"+m(G,4)+m(p,4)+C+X+M}}var a=f("../utils"),n=f("../stream/GenericWorker"),s=f("../utf8"),c=f("../crc32"),i=f("../signature");function u(r,o,h,p){n.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=o,this.zipPlatform=h,this.encodeFileName=p,this.streamFiles=r,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(u,n),u.prototype.push=function(r){var o=r.meta.percent||0,h=this.entriesCount,p=this._sources.length;this.accumulate?this.contentBuffer.push(r):(this.bytesWritten+=r.data.length,n.prototype.push.call(this,{data:r.data,meta:{currentFile:this.currentFile,percent:h?(o+100*(h-p-1))/h:100}}))},u.prototype.openedSource=function(r){this.currentSourceOffset=this.bytesWritten,this.currentFile=r.file.name;var o=this.streamFiles&&!r.file.dir;if(o){var h=d(r,o,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:h.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(r){this.accumulate=!1;var o=this.streamFiles&&!r.file.dir,h=d(r,o,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(h.dirRecord),o)this.push({data:function(p){return i.DATA_DESCRIPTOR+m(p.crc32,4)+m(p.compressedSize,4)+m(p.uncompressedSize,4)}(r),meta:{percent:100}});else for(this.push({data:h.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var r=this.bytesWritten,o=0;o=this.index;s--)c=(c<<8)+this.byteAt(s);return this.index+=n,c},readString:function(n){return m.transformTo("string",this.readData(n))},readData:function(n){},lastIndexOfSignature:function(n){},readAndCheckSignature:function(n){},readDate:function(){var n=this.readInt(4);return new Date(Date.UTC(1980+(n>>25&127),(n>>21&15)-1,n>>16&31,n>>11&31,n>>5&63,(31&n)<<1))}},t.exports=d},{"../utils":32}],19:[function(f,t,e){"use strict";var m=f("./Uint8ArrayReader");function d(a){m.call(this,a)}f("../utils").inherits(d,m),d.prototype.readData=function(a){this.checkOffset(a);var n=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,n},t.exports=d},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(f,t,e){"use strict";var m=f("./DataReader");function d(a){m.call(this,a)}f("../utils").inherits(d,m),d.prototype.byteAt=function(a){return this.data.charCodeAt(this.zero+a)},d.prototype.lastIndexOfSignature=function(a){return this.data.lastIndexOf(a)-this.zero},d.prototype.readAndCheckSignature=function(a){return a===this.readData(4)},d.prototype.readData=function(a){this.checkOffset(a);var n=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,n},t.exports=d},{"../utils":32,"./DataReader":18}],21:[function(f,t,e){"use strict";var m=f("./ArrayReader");function d(a){m.call(this,a)}f("../utils").inherits(d,m),d.prototype.readData=function(a){if(this.checkOffset(a),a===0)return new Uint8Array(0);var n=this.data.subarray(this.zero+this.index,this.zero+this.index+a);return this.index+=a,n},t.exports=d},{"../utils":32,"./ArrayReader":17}],22:[function(f,t,e){"use strict";var m=f("../utils"),d=f("../support"),a=f("./ArrayReader"),n=f("./StringReader"),s=f("./NodeBufferReader"),c=f("./Uint8ArrayReader");t.exports=function(i){var u=m.getTypeOf(i);return m.checkSupport(u),u!=="string"||d.uint8array?u==="nodebuffer"?new s(i):d.uint8array?new c(m.transformTo("uint8array",i)):new a(m.transformTo("array",i)):new n(i)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(f,t,e){"use strict";e.LOCAL_FILE_HEADER="PK",e.CENTRAL_FILE_HEADER="PK",e.CENTRAL_DIRECTORY_END="PK",e.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",e.ZIP64_CENTRAL_DIRECTORY_END="PK",e.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(f,t,e){"use strict";var m=f("./GenericWorker"),d=f("../utils");function a(n){m.call(this,"ConvertWorker to "+n),this.destType=n}d.inherits(a,m),a.prototype.processChunk=function(n){this.push({data:d.transformTo(this.destType,n.data),meta:n.meta})},t.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(f,t,e){"use strict";var m=f("./GenericWorker"),d=f("../crc32");function a(){m.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}f("../utils").inherits(a,m),a.prototype.processChunk=function(n){this.streamInfo.crc32=d(n.data,this.streamInfo.crc32||0),this.push(n)},t.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(f,t,e){"use strict";var m=f("../utils"),d=f("./GenericWorker");function a(n){d.call(this,"DataLengthProbe for "+n),this.propName=n,this.withStreamInfo(n,0)}m.inherits(a,d),a.prototype.processChunk=function(n){if(n){var s=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=s+n.data.length}d.prototype.processChunk.call(this,n)},t.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(f,t,e){"use strict";var m=f("../utils"),d=f("./GenericWorker");function a(n){d.call(this,"DataWorker");var s=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,n.then(function(c){s.dataIsReady=!0,s.data=c,s.max=c&&c.length||0,s.type=m.getTypeOf(c),s.isPaused||s._tickAndRepeat()},function(c){s.error(c)})}m.inherits(a,d),a.prototype.cleanUp=function(){d.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!d.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,m.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(m.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var n=null,s=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":n=this.data.substring(this.index,s);break;case"uint8array":n=this.data.subarray(this.index,s);break;case"array":case"nodebuffer":n=this.data.slice(this.index,s)}return this.index=s,this.push({data:n,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(f,t,e){"use strict";function m(d){this.name=d||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}m.prototype={push:function(a){this.emit("data",a)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(a){this.emit("error",a)}return!0},error:function(a){return!this.isFinished&&(this.isPaused?this.generatedError=a:(this.isFinished=!0,this.emit("error",a),this.previous&&this.previous.error(a),this.cleanUp()),!0)},on:function(a,n){return this._listeners[a].push(n),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(a,n){if(this._listeners[a])for(var s=0;s "+a:a}},t.exports=m},{}],29:[function(f,t,e){"use strict";var m=f("../utils"),d=f("./ConvertWorker"),a=f("./GenericWorker"),n=f("../base64"),s=f("../support"),c=f("../external"),i=null;if(s.nodestream)try{i=f("../nodejs/NodejsStreamOutputAdapter")}catch(o){}function u(o,h){return new c.Promise(function(p,g){var v=[],y=o._internalType,w=o._outputType,S=o._mimeType;o.on("data",function(_,I){v.push(_),h&&h(I)}).on("error",function(_){v=[],g(_)}).on("end",function(){try{var _=function(I,C,E){switch(I){case"blob":return m.newBlob(m.transformTo("arraybuffer",C),E);case"base64":return n.encode(C);default:return m.transformTo(I,C)}}(w,function(I,C){var E,O=0,M=null,F=0;for(E=0;E>>6:(p<65536?h[y++]=224|p>>>12:(h[y++]=240|p>>>18,h[y++]=128|p>>>12&63),h[y++]=128|p>>>6&63),h[y++]=128|63&p);return h}(r)},e.utf8decode=function(r){return d.nodebuffer?m.transformTo("nodebuffer",r).toString("utf-8"):function(o){var h,p,g,v,y=o.length,w=new Array(2*y);for(h=p=0;h>10&1023,w[p++]=56320|1023&g)}return w.length!==p&&(w.subarray?w=w.subarray(0,p):w.length=p),m.applyFromCharCode(w)}(r=m.transformTo(d.uint8array?"uint8array":"array",r))},m.inherits(i,n),i.prototype.processChunk=function(r){var o=m.transformTo(d.uint8array?"uint8array":"array",r.data);if(this.leftOver&&this.leftOver.length){if(d.uint8array){var h=o;(o=new Uint8Array(h.length+this.leftOver.length)).set(this.leftOver,0),o.set(h,this.leftOver.length)}else o=this.leftOver.concat(o);this.leftOver=null}var p=function(v,y){var w;for((y=y||v.length)>v.length&&(y=v.length),w=y-1;0<=w&&(192&v[w])==128;)w--;return w<0||w===0?y:w+s[v[w]]>y?w:y}(o),g=o;p!==o.length&&(d.uint8array?(g=o.subarray(0,p),this.leftOver=o.subarray(p,o.length)):(g=o.slice(0,p),this.leftOver=o.slice(p,o.length))),this.push({data:e.utf8decode(g),meta:r.meta})},i.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:e.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},e.Utf8DecodeWorker=i,m.inherits(u,n),u.prototype.processChunk=function(r){this.push({data:e.utf8encode(r.data),meta:r.meta})},e.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(f,t,e){"use strict";var m=f("./support"),d=f("./base64"),a=f("./nodejsUtils"),n=f("set-immediate-shim"),s=f("./external");function c(p){return p}function i(p,g){for(var v=0;v>8;this.dir=!!(16&this.externalFileAttributes),o==0&&(this.dosPermissions=63&this.externalFileAttributes),o==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(o){if(this.extraFields[1]){var h=m(this.extraFields[1].value);this.uncompressedSize===d.MAX_VALUE_32BITS&&(this.uncompressedSize=h.readInt(8)),this.compressedSize===d.MAX_VALUE_32BITS&&(this.compressedSize=h.readInt(8)),this.localHeaderOffset===d.MAX_VALUE_32BITS&&(this.localHeaderOffset=h.readInt(8)),this.diskNumberStart===d.MAX_VALUE_32BITS&&(this.diskNumberStart=h.readInt(4))}},readExtraFields:function(o){var h,p,g,v=o.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});o.index+4>>6:(r<65536?u[p++]=224|r>>>12:(u[p++]=240|r>>>18,u[p++]=128|r>>>12&63),u[p++]=128|r>>>6&63),u[p++]=128|63&r);return u},e.buf2binstring=function(i){return c(i,i.length)},e.binstring2buf=function(i){for(var u=new m.Buf8(i.length),r=0,o=u.length;r>10&1023,v[o++]=56320|1023&h)}return c(v,o)},e.utf8border=function(i,u){var r;for((u=u||i.length)>i.length&&(u=i.length),r=u-1;0<=r&&(192&i[r])==128;)r--;return r<0||r===0?u:r+n[i[r]]>u?r:u}},{"./common":41}],43:[function(f,t,e){"use strict";t.exports=function(m,d,a,n){for(var s=65535&m|0,c=m>>>16&65535|0,i=0;a!==0;){for(a-=i=2e3>>1:d>>>1;a[n]=d}return a}();t.exports=function(d,a,n,s){var c=m,i=s+n;d^=-1;for(var u=s;u>>8^c[255&(d^a[u])];return-1^d}},{}],46:[function(f,t,e){"use strict";var m,d=f("../utils/common"),a=f("./trees"),n=f("./adler32"),s=f("./crc32"),c=f("./messages"),i=0,u=4,r=0,o=-2,h=-1,p=4,g=2,v=8,y=9,w=286,S=30,_=19,I=2*w+1,C=15,E=3,O=258,M=O+E+1,F=42,H=113,B=1,X=2,J=3,k=4;function K(ee,ue){return ee.msg=c[ue],ue}function z(ee){return(ee<<1)-(4ee.avail_out&&(Ge=ee.avail_out),Ge!==0&&(d.arraySet(ee.output,ue.pending_buf,ue.pending_out,Ge,ee.next_out),ee.next_out+=Ge,ue.pending_out+=Ge,ee.total_out+=Ge,ee.avail_out-=Ge,ue.pending-=Ge,ue.pending===0&&(ue.pending_out=0))}function G(ee,ue){a._tr_flush_block(ee,0<=ee.block_start?ee.block_start:-1,ee.strstart-ee.block_start,ue),ee.block_start=ee.strstart,P(ee.strm)}function V(ee,ue){ee.pending_buf[ee.pending++]=ue}function q(ee,ue){ee.pending_buf[ee.pending++]=ue>>>8&255,ee.pending_buf[ee.pending++]=255&ue}function re(ee,ue){var Ge,ae,Z=ee.max_chain_length,Y=ee.strstart,te=ee.prev_length,we=ee.nice_match,pe=ee.strstart>ee.w_size-M?ee.strstart-(ee.w_size-M):0,De=ee.window,Ne=ee.w_mask,me=ee.prev,be=ee.strstart+O,Re=De[Y+te-1],it=De[Y+te];ee.prev_length>=ee.good_match&&(Z>>=2),we>ee.lookahead&&(we=ee.lookahead);do if(De[(Ge=ue)+te]===it&&De[Ge+te-1]===Re&&De[Ge]===De[Y]&&De[++Ge]===De[Y+1]){Y+=2,Ge++;do;while(De[++Y]===De[++Ge]&&De[++Y]===De[++Ge]&&De[++Y]===De[++Ge]&&De[++Y]===De[++Ge]&&De[++Y]===De[++Ge]&&De[++Y]===De[++Ge]&&De[++Y]===De[++Ge]&&De[++Y]===De[++Ge]&&Ype&&--Z!=0);return te<=ee.lookahead?te:ee.lookahead}function ce(ee){var ue,Ge,ae,Z,Y,te,we,pe,De,Ne,me=ee.w_size;do{if(Z=ee.window_size-ee.lookahead-ee.strstart,ee.strstart>=me+(me-M)){for(d.arraySet(ee.window,ee.window,me,me,0),ee.match_start-=me,ee.strstart-=me,ee.block_start-=me,ue=Ge=ee.hash_size;ae=ee.head[--ue],ee.head[ue]=me<=ae?ae-me:0,--Ge;);for(ue=Ge=me;ae=ee.prev[--ue],ee.prev[ue]=me<=ae?ae-me:0,--Ge;);Z+=me}if(ee.strm.avail_in===0)break;if(te=ee.strm,we=ee.window,pe=ee.strstart+ee.lookahead,De=Z,Ne=void 0,Ne=te.avail_in,De=E)for(Y=ee.strstart-ee.insert,ee.ins_h=ee.window[Y],ee.ins_h=(ee.ins_h<=E&&(ee.ins_h=(ee.ins_h<=E)if(ae=a._tr_tally(ee,ee.strstart-ee.match_start,ee.match_length-E),ee.lookahead-=ee.match_length,ee.match_length<=ee.max_lazy_match&&ee.lookahead>=E){for(ee.match_length--;ee.strstart++,ee.ins_h=(ee.ins_h<=E&&(ee.ins_h=(ee.ins_h<=E&&ee.match_length<=ee.prev_length){for(Z=ee.strstart+ee.lookahead-E,ae=a._tr_tally(ee,ee.strstart-1-ee.prev_match,ee.prev_length-E),ee.lookahead-=ee.prev_length-1,ee.prev_length-=2;++ee.strstart<=Z&&(ee.ins_h=(ee.ins_h<ee.pending_buf_size-5&&(Ge=ee.pending_buf_size-5);;){if(ee.lookahead<=1){if(ce(ee),ee.lookahead===0&&ue===i)return B;if(ee.lookahead===0)break}ee.strstart+=ee.lookahead,ee.lookahead=0;var ae=ee.block_start+Ge;if((ee.strstart===0||ee.strstart>=ae)&&(ee.lookahead=ee.strstart-ae,ee.strstart=ae,G(ee,!1),ee.strm.avail_out===0))return B;if(ee.strstart-ee.block_start>=ee.w_size-M&&(G(ee,!1),ee.strm.avail_out===0))return B}return ee.insert=0,ue===u?(G(ee,!0),ee.strm.avail_out===0?J:k):(ee.strstart>ee.block_start&&(G(ee,!1),ee.strm.avail_out),B)}),new xe(4,4,8,4,ie),new xe(4,5,16,8,ie),new xe(4,6,32,32,ie),new xe(4,4,16,16,fe),new xe(8,16,32,32,fe),new xe(8,16,128,128,fe),new xe(8,32,128,256,fe),new xe(32,128,258,1024,fe),new xe(32,258,258,4096,fe)],e.deflateInit=function(ee,ue){return Be(ee,ue,v,15,8,0)},e.deflateInit2=Be,e.deflateReset=ge,e.deflateResetKeep=ke,e.deflateSetHeader=function(ee,ue){return ee&&ee.state?ee.state.wrap!==2?o:(ee.state.gzhead=ue,r):o},e.deflate=function(ee,ue){var Ge,ae,Z,Y;if(!ee||!ee.state||5>8&255),V(ae,ae.gzhead.time>>16&255),V(ae,ae.gzhead.time>>24&255),V(ae,ae.level===9?2:2<=ae.strategy||ae.level<2?4:0),V(ae,255&ae.gzhead.os),ae.gzhead.extra&&ae.gzhead.extra.length&&(V(ae,255&ae.gzhead.extra.length),V(ae,ae.gzhead.extra.length>>8&255)),ae.gzhead.hcrc&&(ee.adler=s(ee.adler,ae.pending_buf,ae.pending,0)),ae.gzindex=0,ae.status=69):(V(ae,0),V(ae,0),V(ae,0),V(ae,0),V(ae,0),V(ae,ae.level===9?2:2<=ae.strategy||ae.level<2?4:0),V(ae,3),ae.status=H);else{var te=v+(ae.w_bits-8<<4)<<8;te|=(2<=ae.strategy||ae.level<2?0:ae.level<6?1:ae.level===6?2:3)<<6,ae.strstart!==0&&(te|=32),te+=31-te%31,ae.status=H,q(ae,te),ae.strstart!==0&&(q(ae,ee.adler>>>16),q(ae,65535&ee.adler)),ee.adler=1}if(ae.status===69)if(ae.gzhead.extra){for(Z=ae.pending;ae.gzindex<(65535&ae.gzhead.extra.length)&&(ae.pending!==ae.pending_buf_size||(ae.gzhead.hcrc&&ae.pending>Z&&(ee.adler=s(ee.adler,ae.pending_buf,ae.pending-Z,Z)),P(ee),Z=ae.pending,ae.pending!==ae.pending_buf_size));)V(ae,255&ae.gzhead.extra[ae.gzindex]),ae.gzindex++;ae.gzhead.hcrc&&ae.pending>Z&&(ee.adler=s(ee.adler,ae.pending_buf,ae.pending-Z,Z)),ae.gzindex===ae.gzhead.extra.length&&(ae.gzindex=0,ae.status=73)}else ae.status=73;if(ae.status===73)if(ae.gzhead.name){Z=ae.pending;do{if(ae.pending===ae.pending_buf_size&&(ae.gzhead.hcrc&&ae.pending>Z&&(ee.adler=s(ee.adler,ae.pending_buf,ae.pending-Z,Z)),P(ee),Z=ae.pending,ae.pending===ae.pending_buf_size)){Y=1;break}Y=ae.gzindexZ&&(ee.adler=s(ee.adler,ae.pending_buf,ae.pending-Z,Z)),Y===0&&(ae.gzindex=0,ae.status=91)}else ae.status=91;if(ae.status===91)if(ae.gzhead.comment){Z=ae.pending;do{if(ae.pending===ae.pending_buf_size&&(ae.gzhead.hcrc&&ae.pending>Z&&(ee.adler=s(ee.adler,ae.pending_buf,ae.pending-Z,Z)),P(ee),Z=ae.pending,ae.pending===ae.pending_buf_size)){Y=1;break}Y=ae.gzindexZ&&(ee.adler=s(ee.adler,ae.pending_buf,ae.pending-Z,Z)),Y===0&&(ae.status=103)}else ae.status=103;if(ae.status===103&&(ae.gzhead.hcrc?(ae.pending+2>ae.pending_buf_size&&P(ee),ae.pending+2<=ae.pending_buf_size&&(V(ae,255&ee.adler),V(ae,ee.adler>>8&255),ee.adler=0,ae.status=H)):ae.status=H),ae.pending!==0){if(P(ee),ee.avail_out===0)return ae.last_flush=-1,r}else if(ee.avail_in===0&&z(ue)<=z(Ge)&&ue!==u)return K(ee,-5);if(ae.status===666&&ee.avail_in!==0)return K(ee,-5);if(ee.avail_in!==0||ae.lookahead!==0||ue!==i&&ae.status!==666){var we=ae.strategy===2?function(pe,De){for(var Ne;;){if(pe.lookahead===0&&(ce(pe),pe.lookahead===0)){if(De===i)return B;break}if(pe.match_length=0,Ne=a._tr_tally(pe,0,pe.window[pe.strstart]),pe.lookahead--,pe.strstart++,Ne&&(G(pe,!1),pe.strm.avail_out===0))return B}return pe.insert=0,De===u?(G(pe,!0),pe.strm.avail_out===0?J:k):pe.last_lit&&(G(pe,!1),pe.strm.avail_out===0)?B:X}(ae,ue):ae.strategy===3?function(pe,De){for(var Ne,me,be,Re,it=pe.window;;){if(pe.lookahead<=O){if(ce(pe),pe.lookahead<=O&&De===i)return B;if(pe.lookahead===0)break}if(pe.match_length=0,pe.lookahead>=E&&0pe.lookahead&&(pe.match_length=pe.lookahead)}if(pe.match_length>=E?(Ne=a._tr_tally(pe,1,pe.match_length-E),pe.lookahead-=pe.match_length,pe.strstart+=pe.match_length,pe.match_length=0):(Ne=a._tr_tally(pe,0,pe.window[pe.strstart]),pe.lookahead--,pe.strstart++),Ne&&(G(pe,!1),pe.strm.avail_out===0))return B}return pe.insert=0,De===u?(G(pe,!0),pe.strm.avail_out===0?J:k):pe.last_lit&&(G(pe,!1),pe.strm.avail_out===0)?B:X}(ae,ue):m[ae.level].func(ae,ue);if(we!==J&&we!==k||(ae.status=666),we===B||we===J)return ee.avail_out===0&&(ae.last_flush=-1),r;if(we===X&&(ue===1?a._tr_align(ae):ue!==5&&(a._tr_stored_block(ae,0,0,!1),ue===3&&(W(ae.head),ae.lookahead===0&&(ae.strstart=0,ae.block_start=0,ae.insert=0))),P(ee),ee.avail_out===0))return ae.last_flush=-1,r}return ue!==u?r:ae.wrap<=0?1:(ae.wrap===2?(V(ae,255&ee.adler),V(ae,ee.adler>>8&255),V(ae,ee.adler>>16&255),V(ae,ee.adler>>24&255),V(ae,255&ee.total_in),V(ae,ee.total_in>>8&255),V(ae,ee.total_in>>16&255),V(ae,ee.total_in>>24&255)):(q(ae,ee.adler>>>16),q(ae,65535&ee.adler)),P(ee),0=Ge.w_size&&(Y===0&&(W(Ge.head),Ge.strstart=0,Ge.block_start=0,Ge.insert=0),De=new d.Buf8(Ge.w_size),d.arraySet(De,ue,Ne-Ge.w_size,Ge.w_size,0),ue=De,Ne=Ge.w_size),te=ee.avail_in,we=ee.next_in,pe=ee.input,ee.avail_in=Ne,ee.next_in=0,ee.input=ue,ce(Ge);Ge.lookahead>=E;){for(ae=Ge.strstart,Z=Ge.lookahead-(E-1);Ge.ins_h=(Ge.ins_h<>>=E=C>>>24,y-=E,(E=C>>>16&255)===0)X[c++]=65535&C;else{if(!(16&E)){if((64&E)==0){C=w[(65535&C)+(v&(1<>>=E,y-=E),y<15&&(v+=B[n++]<>>=E=C>>>24,y-=E,!(16&(E=C>>>16&255))){if((64&E)==0){C=S[(65535&C)+(v&(1<>>=E,y-=E,(E=c-i)>3,v&=(1<<(y-=O<<3))-1,m.next_in=n,m.next_out=c,m.avail_in=n>>24&255)+(F>>>8&65280)+((65280&F)<<8)+((255&F)<<24)}function v(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new m.Buf16(320),this.work=new m.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function y(F){var H;return F&&F.state?(H=F.state,F.total_in=F.total_out=H.total=0,F.msg="",H.wrap&&(F.adler=1&H.wrap),H.mode=o,H.last=0,H.havedict=0,H.dmax=32768,H.head=null,H.hold=0,H.bits=0,H.lencode=H.lendyn=new m.Buf32(h),H.distcode=H.distdyn=new m.Buf32(p),H.sane=1,H.back=-1,u):r}function w(F){var H;return F&&F.state?((H=F.state).wsize=0,H.whave=0,H.wnext=0,y(F)):r}function S(F,H){var B,X;return F&&F.state?(X=F.state,H<0?(B=0,H=-H):(B=1+(H>>4),H<48&&(H&=15)),H&&(H<8||15=k.wsize?(m.arraySet(k.window,H,B-k.wsize,k.wsize,0),k.wnext=0,k.whave=k.wsize):(X<(J=k.wsize-k.wnext)&&(J=X),m.arraySet(k.window,H,B-X,J,k.wnext),(X-=J)?(m.arraySet(k.window,H,B-X,X,0),k.wnext=X,k.whave=k.wsize):(k.wnext+=J,k.wnext===k.wsize&&(k.wnext=0),k.whave>>8&255,B.check=a(B.check,Y,2,0),G=P=0,B.mode=2;break}if(B.flags=0,B.head&&(B.head.done=!1),!(1&B.wrap)||(((255&P)<<8)+(P>>8))%31){F.msg="incorrect header check",B.mode=30;break}if((15&P)!=8){F.msg="unknown compression method",B.mode=30;break}if(G-=4,ee=8+(15&(P>>>=4)),B.wbits===0)B.wbits=ee;else if(ee>B.wbits){F.msg="invalid window size",B.mode=30;break}B.dmax=1<>8&1),512&B.flags&&(Y[0]=255&P,Y[1]=P>>>8&255,B.check=a(B.check,Y,2,0)),G=P=0,B.mode=3;case 3:for(;G<32;){if(z===0)break e;z--,P+=X[k++]<>>8&255,Y[2]=P>>>16&255,Y[3]=P>>>24&255,B.check=a(B.check,Y,4,0)),G=P=0,B.mode=4;case 4:for(;G<16;){if(z===0)break e;z--,P+=X[k++]<>8),512&B.flags&&(Y[0]=255&P,Y[1]=P>>>8&255,B.check=a(B.check,Y,2,0)),G=P=0,B.mode=5;case 5:if(1024&B.flags){for(;G<16;){if(z===0)break e;z--,P+=X[k++]<>>8&255,B.check=a(B.check,Y,2,0)),G=P=0}else B.head&&(B.head.extra=null);B.mode=6;case 6:if(1024&B.flags&&(z<(re=B.length)&&(re=z),re&&(B.head&&(ee=B.head.extra_len-B.length,B.head.extra||(B.head.extra=new Array(B.head.extra_len)),m.arraySet(B.head.extra,X,k,re,ee)),512&B.flags&&(B.check=a(B.check,X,re,k)),z-=re,k+=re,B.length-=re),B.length))break e;B.length=0,B.mode=7;case 7:if(2048&B.flags){if(z===0)break e;for(re=0;ee=X[k+re++],B.head&&ee&&B.length<65536&&(B.head.name+=String.fromCharCode(ee)),ee&&re>9&1,B.head.done=!0),F.adler=B.check=0,B.mode=12;break;case 10:for(;G<32;){if(z===0)break e;z--,P+=X[k++]<>>=7&G,G-=7&G,B.mode=27;break}for(;G<3;){if(z===0)break e;z--,P+=X[k++]<>>=1)){case 0:B.mode=14;break;case 1:if(O(B),B.mode=20,H!==6)break;P>>>=2,G-=2;break e;case 2:B.mode=17;break;case 3:F.msg="invalid block type",B.mode=30}P>>>=2,G-=2;break;case 14:for(P>>>=7&G,G-=7&G;G<32;){if(z===0)break e;z--,P+=X[k++]<>>16^65535)){F.msg="invalid stored block lengths",B.mode=30;break}if(B.length=65535&P,G=P=0,B.mode=15,H===6)break e;case 15:B.mode=16;case 16:if(re=B.length){if(z>>=5,G-=5,B.ndist=1+(31&P),P>>>=5,G-=5,B.ncode=4+(15&P),P>>>=4,G-=4,286>>=3,G-=3}for(;B.have<19;)B.lens[te[B.have++]]=0;if(B.lencode=B.lendyn,B.lenbits=7,Ge={bits:B.lenbits},ue=s(0,B.lens,0,19,B.lencode,0,B.work,Ge),B.lenbits=Ge.bits,ue){F.msg="invalid code lengths set",B.mode=30;break}B.have=0,B.mode=19;case 19:for(;B.have>>16&255,Se=65535&Z,!((fe=Z>>>24)<=G);){if(z===0)break e;z--,P+=X[k++]<>>=fe,G-=fe,B.lens[B.have++]=Se;else{if(Se===16){for(ae=fe+2;G>>=fe,G-=fe,B.have===0){F.msg="invalid bit length repeat",B.mode=30;break}ee=B.lens[B.have-1],re=3+(3&P),P>>>=2,G-=2}else if(Se===17){for(ae=fe+3;G>>=fe)),P>>>=3,G-=3}else{for(ae=fe+7;G>>=fe)),P>>>=7,G-=7}if(B.have+re>B.nlen+B.ndist){F.msg="invalid bit length repeat",B.mode=30;break}for(;re--;)B.lens[B.have++]=ee}}if(B.mode===30)break;if(B.lens[256]===0){F.msg="invalid code -- missing end-of-block",B.mode=30;break}if(B.lenbits=9,Ge={bits:B.lenbits},ue=s(c,B.lens,0,B.nlen,B.lencode,0,B.work,Ge),B.lenbits=Ge.bits,ue){F.msg="invalid literal/lengths set",B.mode=30;break}if(B.distbits=6,B.distcode=B.distdyn,Ge={bits:B.distbits},ue=s(i,B.lens,B.nlen,B.ndist,B.distcode,0,B.work,Ge),B.distbits=Ge.bits,ue){F.msg="invalid distances set",B.mode=30;break}if(B.mode=20,H===6)break e;case 20:B.mode=21;case 21:if(6<=z&&258<=W){F.next_out=K,F.avail_out=W,F.next_in=k,F.avail_in=z,B.hold=P,B.bits=G,n(F,q),K=F.next_out,J=F.output,W=F.avail_out,k=F.next_in,X=F.input,z=F.avail_in,P=B.hold,G=B.bits,B.mode===12&&(B.back=-1);break}for(B.back=0;xe=(Z=B.lencode[P&(1<>>16&255,Se=65535&Z,!((fe=Z>>>24)<=G);){if(z===0)break e;z--,P+=X[k++]<>ke)])>>>16&255,Se=65535&Z,!(ke+(fe=Z>>>24)<=G);){if(z===0)break e;z--,P+=X[k++]<>>=ke,G-=ke,B.back+=ke}if(P>>>=fe,G-=fe,B.back+=fe,B.length=Se,xe===0){B.mode=26;break}if(32&xe){B.back=-1,B.mode=12;break}if(64&xe){F.msg="invalid literal/length code",B.mode=30;break}B.extra=15&xe,B.mode=22;case 22:if(B.extra){for(ae=B.extra;G>>=B.extra,G-=B.extra,B.back+=B.extra}B.was=B.length,B.mode=23;case 23:for(;xe=(Z=B.distcode[P&(1<>>16&255,Se=65535&Z,!((fe=Z>>>24)<=G);){if(z===0)break e;z--,P+=X[k++]<>ke)])>>>16&255,Se=65535&Z,!(ke+(fe=Z>>>24)<=G);){if(z===0)break e;z--,P+=X[k++]<>>=ke,G-=ke,B.back+=ke}if(P>>>=fe,G-=fe,B.back+=fe,64&xe){F.msg="invalid distance code",B.mode=30;break}B.offset=Se,B.extra=15&xe,B.mode=24;case 24:if(B.extra){for(ae=B.extra;G>>=B.extra,G-=B.extra,B.back+=B.extra}if(B.offset>B.dmax){F.msg="invalid distance too far back",B.mode=30;break}B.mode=25;case 25:if(W===0)break e;if(re=q-W,B.offset>re){if((re=B.offset-re)>B.whave&&B.sane){F.msg="invalid distance too far back",B.mode=30;break}ce=re>B.wnext?(re-=B.wnext,B.wsize-re):B.wnext-re,re>B.length&&(re=B.length),ie=B.window}else ie=J,ce=K-B.offset,re=B.length;for(WI?(E=ce[ie+p[H]],G[V+p[H]]):(E=96,0),v=1<>K)+(y-=v)]=C<<24|E<<16|O|0,y!==0;);for(v=1<>=1;if(v!==0?(P&=v-1,P+=v):P=0,H++,--q[F]==0){if(F===X)break;F=i[u+p[H]]}if(J>>7)]}function V(Z,Y){Z.pending_buf[Z.pending++]=255&Y,Z.pending_buf[Z.pending++]=Y>>>8&255}function q(Z,Y,te){Z.bi_valid>g-te?(Z.bi_buf|=Y<>g-Z.bi_valid,Z.bi_valid+=te-g):(Z.bi_buf|=Y<>>=1,te<<=1,0<--Y;);return te>>>1}function ie(Z,Y,te){var we,pe,De=new Array(p+1),Ne=0;for(we=1;we<=p;we++)De[we]=Ne=Ne+te[we-1]<<1;for(pe=0;pe<=Y;pe++){var me=Z[2*pe+1];me!==0&&(Z[2*pe]=ce(De[me]++,me))}}function fe(Z){var Y;for(Y=0;Y>1;1<=te;te--)ke(Z,De,te);for(pe=be;te=Z.heap[1],Z.heap[1]=Z.heap[Z.heap_len--],ke(Z,De,1),we=Z.heap[1],Z.heap[--Z.heap_max]=te,Z.heap[--Z.heap_max]=we,De[2*pe]=De[2*te]+De[2*we],Z.depth[pe]=(Z.depth[te]>=Z.depth[we]?Z.depth[te]:Z.depth[we])+1,De[2*te+1]=De[2*we+1]=pe,Z.heap[1]=pe++,ke(Z,De,1),2<=Z.heap_len;);Z.heap[--Z.heap_max]=Z.heap[1],function(it,yt){var pt,Pe,Nt,ut,Ft,Ut,Kt=yt.dyn_tree,$t=yt.max_code,or=yt.stat_desc.static_tree,ht=yt.stat_desc.has_stree,Ee=yt.stat_desc.extra_bits,de=yt.stat_desc.extra_base,qe=yt.stat_desc.max_length,rt=0;for(ut=0;ut<=p;ut++)it.bl_count[ut]=0;for(Kt[2*it.heap[it.heap_max]+1]=0,pt=it.heap_max+1;pt>=7;pe>>=1)if(1&Re&&me.dyn_ltree[2*be]!==0)return d;if(me.dyn_ltree[18]!==0||me.dyn_ltree[20]!==0||me.dyn_ltree[26]!==0)return a;for(be=32;be>>3,(De=Z.static_len+3+7>>>3)<=pe&&(pe=De)):pe=De=te+5,te+4<=pe&&Y!==-1?ae(Z,Y,te,we):Z.strategy===4||De===pe?(q(Z,2+(we?1:0),3),ge(Z,M,F)):(q(Z,4+(we?1:0),3),function(me,be,Re,it){var yt;for(q(me,be-257,5),q(me,Re-1,5),q(me,it-4,4),yt=0;yt>>8&255,Z.pending_buf[Z.d_buf+2*Z.last_lit+1]=255&Y,Z.pending_buf[Z.l_buf+Z.last_lit]=255&te,Z.last_lit++,Y===0?Z.dyn_ltree[2*te]++:(Z.matches++,Y--,Z.dyn_ltree[2*(B[te]+i+1)]++,Z.dyn_dtree[2*G(Y)]++),Z.last_lit===Z.lit_bufsize-1},e._tr_align=function(Z){q(Z,2,3),re(Z,y,M),function(Y){Y.bi_valid===16?(V(Y,Y.bi_buf),Y.bi_buf=0,Y.bi_valid=0):8<=Y.bi_valid&&(Y.pending_buf[Y.pending++]=255&Y.bi_buf,Y.bi_buf>>=8,Y.bi_valid-=8)}(Z)}},{"../utils/common":41}],53:[function(f,t,e){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(f,t,e){"use strict";t.exports=typeof setImmediate=="function"?setImmediate:function(){var m=[].slice.apply(arguments);m.splice(1,0,0),setTimeout.apply(null,m)}},{}]},{},[10])(10)})}).call(this,l("HDXh").Buffer,l("yLpj"))},xRUu:function(j,R,l){l("hJvP"),l("hFmY"),l("sAZ8")},xSIq:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var x={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};R.default=x},xSat:function(j,R){var l={axisPointer:1,tooltip:1,brush:1};function x(b,A,f){var t=A.getComponentByElement(b.topTarget),e=t&&t.coordinateSystem;return t&&t!==f&&!l[t.mainType]&&e&&e.model!==f}R.onIrrelevantElement=x},xTNl:function(j,R){var l=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],x={color:l,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],l]};j.exports=x},xb2K:function(j,R,l){"use strict";var x=l("284h"),b=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var A=b(l("3tO9")),f=x(l("q1tI")),t=b(l("5yev")),e=b(l("KQxl")),m=function(n,s){return f.createElement(e.default,(0,A.default)((0,A.default)({},n),{},{ref:s,icon:t.default}))};m.displayName="RedoOutlined";var d=f.forwardRef(m);R.default=d},xiyX:function(j,R,l){var x=l("bYtY"),b=l("bLfw"),A=l("nkfE"),f=l("ICMv"),t=b.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),e={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function m(a,n){return n.type||(n.data?"category":"value")}x.merge(t.prototype,f),A("single",t,m,e);var d=t;j.exports=d},xlC8:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=x;function x(b,A,f,t){for(var e=b&65535|0,m=b>>>16&65535|0,d=0;f!==0;){d=f>2e3?2e3:f,f-=d;do e=e+A[t++]|0,m=m+e|0;while(--d);e%=65521,m%=65521}return e|m<<16|0}},xvlK:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="PlusOutlined";var m=R.a=b.forwardRef(e)},xzDV:function(j,R,l){},"y+Vt":function(j,R,l){var x=l("Gev7"),b=l("bYtY"),A=l("IMiH"),f=l("2DNl"),t=l("3C/r"),e=t.prototype.getCanvasPattern,m=Math.abs,d=new A(!0);function a(s){x.call(this,s),this.path=null}a.prototype={constructor:a,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(c,i){var u=this.style,r=this.path||d,o=u.hasStroke(),h=u.hasFill(),p=u.fill,g=u.stroke,v=h&&!!p.colorStops,y=o&&!!g.colorStops,w=h&&!!p.image,S=o&&!!g.image;if(u.bind(c,this,i),this.setTransform(c),this.__dirty){var _;v&&(_=_||this.getBoundingRect(),this._fillGradient=u.getGradient(c,p,_)),y&&(_=_||this.getBoundingRect(),this._strokeGradient=u.getGradient(c,g,_))}v?c.fillStyle=this._fillGradient:w&&(c.fillStyle=e.call(p,c)),y?c.strokeStyle=this._strokeGradient:S&&(c.strokeStyle=e.call(g,c));var I=u.lineDash,C=u.lineDashOffset,E=!!c.setLineDash,O=this.getGlobalScale();if(r.setScale(O[0],O[1],this.segmentIgnoreThreshold),this.__dirtyPath||I&&!E&&o?(r.beginPath(c),I&&!E&&(r.setLineDash(I),r.setLineDashOffset(C)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(c.beginPath(),this.path.rebuildPath(c)),h)if(u.fillOpacity!=null){var M=c.globalAlpha;c.globalAlpha=u.fillOpacity*u.opacity,r.fill(c),c.globalAlpha=M}else r.fill(c);if(I&&E&&(c.setLineDash(I),c.lineDashOffset=C),o)if(u.strokeOpacity!=null){var M=c.globalAlpha;c.globalAlpha=u.strokeOpacity*u.opacity,r.stroke(c),c.globalAlpha=M}else r.stroke(c);I&&E&&c.setLineDash([]),u.text!=null&&(this.restoreTransform(c),this.drawRectText(c,this.getBoundingRect()))},buildPath:function(c,i,u){},createPathProxy:function(){this.path=new A},getBoundingRect:function(){var c=this._rect,i=this.style,u=!c;if(u){var r=this.path;r||(r=this.path=new A),this.__dirtyPath&&(r.beginPath(),this.buildPath(r,this.shape,!1)),c=r.getBoundingRect()}if(this._rect=c,i.hasStroke()){var o=this._rectWithStroke||(this._rectWithStroke=c.clone());if(this.__dirty||u){o.copy(c);var h=i.lineWidth,p=i.strokeNoScale?this.getLineScale():1;i.hasFill()||(h=Math.max(h,this.strokeContainThreshold||4)),p>1e-10&&(o.width+=h/p,o.height+=h/p,o.x-=h/p/2,o.y-=h/p/2)}return o}return c},contain:function(c,i){var u=this.transformCoordToLocal(c,i),r=this.getBoundingRect(),o=this.style;if(c=u[0],i=u[1],r.contain(c,i)){var h=this.path.data;if(o.hasStroke()){var p=o.lineWidth,g=o.strokeNoScale?this.getLineScale():1;if(g>1e-10&&(o.hasFill()||(p=Math.max(p,this.strokeContainThreshold)),f.containStroke(h,p/g,c,i)))return!0}if(o.hasFill())return f.contain(h,c,i)}return!1},dirty:function(c){c==null&&(c=!0),c&&(this.__dirtyPath=c,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(c){return this.animate("shape",c)},attrKV:function(c,i){c==="shape"?(this.setShape(i),this.__dirtyPath=!0,this._rect=null):x.prototype.attrKV.call(this,c,i)},setShape:function(c,i){var u=this.shape;if(u){if(b.isObject(c))for(var r in c)c.hasOwnProperty(r)&&(u[r]=c[r]);else u[c]=i;this.dirty(!0)}return this},getLineScale:function(){var c=this.transform;return c&&m(c[0]-1)>1e-10&&m(c[3]-1)>1e-10?Math.sqrt(m(c[0]*c[3]-c[2]*c[1])):1}},a.extend=function(s){var c=function(r){a.call(this,r),s.style&&this.style.extendFrom(s.style,!1);var o=s.shape;if(o){this.shape=this.shape||{};var h=this.shape;for(var p in o)!h.hasOwnProperty(p)&&o.hasOwnProperty(p)&&(h[p]=o[p])}s.init&&s.init.call(this,r)};b.inherits(c,a);for(var i in s)i!=="style"&&i!=="shape"&&(c.prototype[i]=s[i]);return c},b.inherits(a,x);var n=a;j.exports=n},"y+lR":function(j,R,l){var x=l("bYtY"),b=l("mFDi"),A=l("z35g");function f(e){A.call(this,e)}f.prototype={constructor:f,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(e){var m=this.getAxis("x"),d=this.getAxis("y");return m.contain(m.toLocalCoord(e[0]))&&d.contain(d.toLocalCoord(e[1]))},containData:function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},dataToPoint:function(e,m,d){var a=this.getAxis("x"),n=this.getAxis("y");return d=d||[],d[0]=a.toGlobalCoord(a.dataToCoord(e[0])),d[1]=n.toGlobalCoord(n.dataToCoord(e[1])),d},clampData:function(e,m){var d=this.getAxis("x").scale,a=this.getAxis("y").scale,n=d.getExtent(),s=a.getExtent(),c=d.parse(e[0]),i=a.parse(e[1]);return m=m||[],m[0]=Math.min(Math.max(Math.min(n[0],n[1]),c),Math.max(n[0],n[1])),m[1]=Math.min(Math.max(Math.min(s[0],s[1]),i),Math.max(s[0],s[1])),m},pointToData:function(e,m){var d=this.getAxis("x"),a=this.getAxis("y");return m=m||[],m[0]=d.coordToData(d.toLocalCoord(e[0])),m[1]=a.coordToData(a.toLocalCoord(e[1])),m},getOtherAxis:function(e){return this.getAxis(e.dim==="x"?"y":"x")},getArea:function(){var e=this.getAxis("x").getGlobalExtent(),m=this.getAxis("y").getGlobalExtent(),d=Math.min(e[0],e[1]),a=Math.min(m[0],m[1]),n=Math.max(e[0],e[1])-d,s=Math.max(m[0],m[1])-a,c=new b(d,a,n,s);return c}},x.inherits(f,A);var t=f;j.exports=t},"y0+3":function(j,R,l){"use strict";l.d(R,"a",function(){return s}),l.d(R,"b",function(){return i});var x=/margin|padding|width|height|max|min|offset/,b={left:!0,top:!0},A={cssFloat:1,styleFloat:1,float:1};function f(u){return u.nodeType===1?u.ownerDocument.defaultView.getComputedStyle(u,null):{}}function t(u,r,o){if(r=r.toLowerCase(),o==="auto"){if(r==="height")return u.offsetHeight;if(r==="width")return u.offsetWidth}return r in b||(b[r]=x.test(r)),b[r]?parseFloat(o)||0:o}function e(u,r){var o=arguments.length,h=f(u);return r=A[r]?"cssFloat"in u.style?"cssFloat":"styleFloat":r,o===1?h:t(u,r,h[r]||u.style[r])}function m(u,r,o){var h=arguments.length;if(r=A[r]?"cssFloat"in u.style?"cssFloat":"styleFloat":r,h===3)return typeof o=="number"&&x.test(r)&&(o="".concat(o,"px")),u.style[r]=o,o;for(var p in r)r.hasOwnProperty(p)&&m(u,p,r[p]);return f(u)}function d(u){return u===document.body?document.documentElement.clientWidth:u.offsetWidth}function a(u){return u===document.body?window.innerHeight||document.documentElement.clientHeight:u.offsetHeight}function n(){var u=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),r=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:u,height:r}}function s(){var u=document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight;return{width:u,height:r}}function c(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function i(u){var r=u.getBoundingClientRect(),o=document.documentElement;return{left:r.left+(window.pageXOffset||o.scrollLeft)-(o.clientLeft||document.body.clientLeft||0),top:r.top+(window.pageYOffset||o.scrollTop)-(o.clientTop||document.body.clientTop||0)}}},"y1t/":function(j,R,l){"use strict";l.d(R,"a",function(){return x});function x(b){if(b==null)throw new TypeError("Cannot destructure undefined")}},y23F:function(j,R){function l(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}l.prototype={constructor:l,_dragStart:function(f){for(var t=f.target;t&&!t.draggable;)t=t.parent;t&&(this._draggingTarget=t,t.dragging=!0,this._x=f.offsetX,this._y=f.offsetY,this.dispatchToElement(x(t,f),"dragstart",f.event))},_drag:function(f){var t=this._draggingTarget;if(t){var e=f.offsetX,m=f.offsetY,d=e-this._x,a=m-this._y;this._x=e,this._y=m,t.drift(d,a,f),this.dispatchToElement(x(t,f),"drag",f.event);var n=this.findHover(e,m,t).target,s=this._dropTarget;this._dropTarget=n,t!==n&&(s&&n!==s&&this.dispatchToElement(x(s,f),"dragleave",f.event),n&&n!==s&&this.dispatchToElement(x(n,f),"dragenter",f.event))}},_dragEnd:function(f){var t=this._draggingTarget;t&&(t.dragging=!1),this.dispatchToElement(x(t,f),"dragend",f.event),this._dropTarget&&this.dispatchToElement(x(this._dropTarget,f),"drop",f.event),this._draggingTarget=null,this._dropTarget=null}};function x(A,f){return{target:A,topTarget:f&&f.topTarget}}var b=l;j.exports=b},y2l5:function(j,R,l){var x=l("MwEJ"),b=l("T4UG"),A=b.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(f,t){return x(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var f=this.option.progressive;return f==null?this.option.large?5e3:this.get("progressive"):f},getProgressiveThreshold:function(){var f=this.option.progressiveThreshold;return f==null?this.option.large?1e4:this.get("progressiveThreshold"):f},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});j.exports=A},y3Kf:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="UpOutlined";var m=R.a=b.forwardRef(e)},y3NT:function(j,R,l){var x=l("OELB"),b=x.parsePercent,A=l("bYtY"),f=Math.PI/180;function t(d,a,n,s){a.eachSeriesByType(d,function(c){var i=c.get("center"),u=c.get("radius");A.isArray(u)||(u=[0,u]),A.isArray(i)||(i=[i,i]);var r=n.getWidth(),o=n.getHeight(),h=Math.min(r,o),p=b(i[0],r),g=b(i[1],o),v=b(u[0],h/2),y=b(u[1],h/2),w=-c.get("startAngle")*f,S=c.get("minAngle")*f,_=c.getData().tree.root,I=c.getViewRoot(),C=I.depth,E=c.get("sort");E!=null&&e(I,E);var O=0;A.each(I.children,function(V){!isNaN(V.getValue())&&O++});var M=I.getValue(),F=Math.PI/(M||O)*2,H=I.depth>0,B=I.height-(H?-1:1),X=(y-v)/(B||1),J=c.get("clockwise"),k=c.get("stillShowZeroSum"),K=J?1:-1,z=function(V,q){if(!V)return;var re=q;if(V!==_){var ce=V.getValue(),ie=M===0&&k?F:ce*F;ie=0;h--){var p=h*2,g=i[p]-r/2,v=i[p+1]-o/2;if(n>=g&&s>=v&&n<=g+r&&s<=v+o)return h}return-1}});function m(){this.group=new x.Group}var d=m.prototype;d.isPersistent=function(){return!this._incremental},d.updateData=function(n,s){this.group.removeAll();var c=new e({rectHover:!0,cursor:"default"});c.setShape({points:n.getLayout("symbolPoints")}),this._setCommon(c,n,!1,s),this.group.add(c),this._incremental=null},d.updateLayout=function(n){if(this._incremental)return;var s=n.getLayout("symbolPoints");this.group.eachChild(function(c){if(c.startIndex!=null){var i=(c.endIndex-c.startIndex)*2,u=c.startIndex*4*2;s=new Float32Array(s.buffer,u,i)}c.setShape("points",s)})},d.incrementalPrepareUpdate=function(n){this.group.removeAll(),this._clearIncremental(),n.count()>2e6?(this._incremental||(this._incremental=new f({silent:!0})),this.group.add(this._incremental)):this._incremental=null},d.incrementalUpdate=function(n,s,c){var i;this._incremental?(i=new e,this._incremental.addDisplayable(i,!0)):(i=new e({rectHover:!0,cursor:"default",startIndex:n.start,endIndex:n.end}),i.incremental=!0,this.group.add(i)),i.setShape({points:s.getLayout("symbolPoints")}),this._setCommon(i,s,!!this._incremental,c)},d._setCommon=function(n,s,c,i){var u=s.hostModel;i=i||{};var r=s.getVisual("symbolSize");n.setShape("size",r instanceof Array?r:[r,r]),n.softClipShape=i.clipShape||null,n.symbolProxy=A(s.getVisual("symbol"),0,0,0,0),n.setColor=n.symbolProxy.setColor;var o=n.shape.size[0]=0&&(n.dataIndex=g+(n.startIndex||0))}))},d.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},d._clearIncremental=function(){var n=this._incremental;n&&n.clearDisplaybles()};var a=m;j.exports=a},ycre:function(j,R,l){var x=l("711d"),b=x("length");j.exports=b},ye1Q:function(j,R,l){"use strict";var x=l("VTBJ"),b=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},f=A,t=l("6VBw"),e=function(a,n){return b.createElement(t.a,Object(x.a)(Object(x.a)({},a),{},{ref:n,icon:f}))};e.displayName="LoadingOutlined";var m=R.a=b.forwardRef(e)},ygfH:function(j,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};R.default=x},yik8:function(j,R,l){var x=l("bZqE"),b=x.eachAfter,A=x.eachBefore,f=l("Itpr"),t=f.init,e=f.firstWalk,m=f.secondWalk,d=f.separation,a=f.radialCoordinate,n=f.getViewRect;function s(i,u){i.eachSeriesByType("tree",function(r){c(r,u)})}function c(i,u){var r=n(i,u);i.layoutInfo=r;var o=i.get("layout"),h=0,p=0,g=null;o==="radial"?(h=2*Math.PI,p=Math.min(r.height,r.width)/2,g=d(function(B,X){return(B.parentNode===X.parentNode?1:2)/B.depth})):(h=r.width,p=r.height,g=d());var v=i.getData().tree.root,y=v.children[0];if(y){t(v),b(y,e,g),v.hierNode.modifier=-y.hierNode.prelim,A(y,m);var w=y,S=y,_=y;A(y,function(B){var X=B.getLayout().x;XS.getLayout().x&&(S=B),B.depth>_.depth&&(_=B)});var I=w===S?1:g(w,S)/2,C=I-w.getLayout().x,E=0,O=0,M=0,F=0;if(o==="radial")E=h/(S.getLayout().x+I+C),O=p/(_.depth-1||1),A(y,function(B){M=(B.getLayout().x+C)*E,F=(B.depth-1)*O;var X=a(M,F);B.setLayout({x:X.x,y:X.y,rawX:M,rawY:F},!0)});else{var H=i.getOrient();H==="RL"||H==="LR"?(O=p/(S.getLayout().x+I+C),E=h/(_.depth-1||1),A(y,function(B){F=(B.getLayout().x+C)*O,M=H==="LR"?(B.depth-1)*E:h-(B.depth-1)*E,B.setLayout({x:M,y:F},!0)})):(H==="TB"||H==="BT")&&(E=h/(S.getLayout().x+I+C),O=p/(_.depth-1||1),A(y,function(B){M=(B.getLayout().x+C)*E,F=H==="TB"?(B.depth-1)*O:p-(B.depth-1)*O,B.setLayout({x:M,y:F},!0)}))}}}j.exports=s},ynwM:function(j,R,l){var x=l("MFOe"),b=x.Global;j.exports={name:"oldFF-globalStorage",read:f,write:t,each:e,remove:m,clearAll:d};var A=b.globalStorage;function f(a){return A[a]}function t(a,n){A[a]=n}function e(a){for(var n=A.length-1;n>=0;n--){var s=A.key(n);a(A[s],s)}}function m(a){return A.removeItem(a)}function d(){e(function(a,n){delete A[a]})}},ypgQ:function(j,R,l){var x=l("bYtY"),b=l("4NO4"),A=l("bLfw"),f=x.each,t=x.clone,e=x.map,m=x.merge,d=/^(min|max)?(.+)$/;function a(o){this._api=o,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}a.prototype={constructor:a,setOption:function(o,h){o&&x.each(b.normalizeToArray(o.series),function(v){v&&v.data&&x.isTypedArray(v.data)&&x.setAsPrimitive(v.data)}),o=t(o);var p=this._optionBackup,g=n.call(this,o,h,!p);this._newBaseOption=g.baseOption,p?(u(p.baseOption,g.baseOption),g.timelineOptions.length&&(p.timelineOptions=g.timelineOptions),g.mediaList.length&&(p.mediaList=g.mediaList),g.mediaDefault&&(p.mediaDefault=g.mediaDefault)):this._optionBackup=g},mountOption:function(o){var h=this._optionBackup;return this._timelineOptions=e(h.timelineOptions,t),this._mediaList=e(h.mediaList,t),this._mediaDefault=t(h.mediaDefault),this._currentMediaIndices=[],t(o?h.baseOption:this._newBaseOption)},getTimelineOption:function(o){var h,p=this._timelineOptions;if(p.length){var g=o.getComponent("timeline");g&&(h=t(p[g.getCurrentIndex()],!0))}return h},getMediaOption:function(o){var h=this._api.getWidth(),p=this._api.getHeight(),g=this._mediaList,v=this._mediaDefault,y=[],w=[];if(!g.length&&!v)return w;for(var S=0,_=g.length;S<_;S++)s(g[S].query,h,p)&&y.push(S);return!y.length&&v&&(y=[-1]),y.length&&!i(y,this._currentMediaIndices)&&(w=e(y,function(I){return t(I===-1?v.option:g[I].option)})),this._currentMediaIndices=y,w}};function n(o,h,p){var g=[],v=[],y,w,S=o.timeline;if(o.baseOption&&(w=o.baseOption),(S||o.options)&&(w=w||{},g=(o.options||[]).slice()),o.media){w=w||{};var _=o.media;f(_,function(I){I&&I.option&&(I.query?v.push(I):y||(y=I))})}return w||(w=o),w.timeline||(w.timeline=S),f([w].concat(g).concat(x.map(v,function(I){return I.option})),function(I){f(h,function(C){C(I,p)})}),{baseOption:w,timelineOptions:g,mediaDefault:y,mediaList:v}}function s(o,h,p){var g={width:h,height:p,aspectratio:h/p},v=!0;return x.each(o,function(y,w){var S=w.match(d);if(!S||!S[1]||!S[2])return;var _=S[1],I=S[2].toLowerCase();c(g[I],y,_)||(v=!1)}),v}function c(o,h,p){return p==="min"?o>=h:p==="max"?o<=h:o===h}function i(o,h){return o.join(",")===h.join(",")}function u(o,h){h=h||{},f(h,function(p,g){if(p==null)return;var v=o[g];if(!A.hasClass(g))o[g]=m(v,p,!0);else{p=b.normalizeToArray(p),v=b.normalizeToArray(v);var y=b.mappingToExists(v,p);o[g]=e(y,function(w){return w.option&&w.exist?m(w.exist,w.option,!0):w.exist||w.option})}})}var r=a;j.exports=r},yxFR:function(j,R,l){var x=l("y+Vt"),b=l("nPnh"),A=b.subPixelOptimizeLine,f={},t=x.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(m,d){var a,n,s,c;this.subPixelOptimize?(A(f,d,this.style),a=f.x1,n=f.y1,s=f.x2,c=f.y2):(a=d.x1,n=d.y1,s=d.x2,c=d.y2);var i=d.percent;if(i===0)return;m.moveTo(a,n),i<1&&(s=a*(1-i)+s*i,c=n*(1-i)+c*i),m.lineTo(s,c)},pointAt:function(m){var d=this.shape;return[d.x1*(1-m)+d.x2*m,d.y1*(1-m)+d.y2*m]}});j.exports=t},z35g:function(j,R,l){var x=l("bYtY");function b(t){return this._axes[t]}var A=function(t){this._axes={},this._dimList=[],this.name=t||""};A.prototype={constructor:A,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return x.map(this._dimList,b,this)},getAxesByScale:function(t){return t=t.toLowerCase(),x.filter(this.getAxes(),function(e){return e.scale.type===t})},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var m=this._dimList,d=t instanceof Array?[]:{},a=0;a1&&arguments[1]!==void 0?arguments[1]:{},d=m.getContainer,a=d===void 0?function(){return window}:d,n=m.callback,s=m.duration,c=s===void 0?450:s,i=a(),u=Object(A.a)(i,!0),r=Date.now(),o=function h(){var p=Date.now(),g=p-r,v=f(g>c?c:g,u,e,c);Object(A.b)(i)?i.scrollTo(window.pageXOffset,v):i instanceof HTMLDocument||i.constructor.name==="HTMLDocument"?i.documentElement.scrollTop=v:i.scrollTop=v,gp[1];if(M&&!F&&!H)return!0;M&&(C=!0),F&&(_=!0),H&&(I=!0)}return C&&_&&I}):t(w,function(S){if(h==="empty")v.setData(y=y.map(S,function(I){return g(I)?I:NaN}));else{var _={};_[S]=p,y.selectRange(_)}}),t(w,function(S){y.setApproximateExtent(p,S)})});function g(v){return v>=p[0]&&v<=p[1]}}};function d(i,u,r){var o=[Infinity,-Infinity];return t(r,function(h){var p=h.getData();p&&t(p.mapDimension(u,!0),function(g){var v=p.getApproximateExtent(g);v[0]o[1]&&(o[1]=v[1])})}),o[1]0?0:NaN);var g=r.getMax(!0);return g!=null&&g!=="dataMax"&&typeof g!="function"?u[1]=g:h&&(u[1]=p>0?p-1:NaN),r.get("scale",!0)||(u[0]>0&&(u[0]=0),u[1]<0&&(u[1]=0)),u}function n(i,u){var r=i.getAxisModel(),o=i._percentWindow,h=i._valueWindow;if(!o)return;var p=b.getPixelPrecision(h,[0,500]);p=Math.min(p,20);var g=u||o[0]===0&&o[1]===100;r.setRange(g?null:+h[0].toFixed(p),g?null:+h[1].toFixed(p))}function s(i){var u=i._minMaxSpan={},r=i._dataZoomModel,o=i._dataExtent;t(["min","max"],function(h){var p=r.get(h+"Span"),g=r.get(h+"ValueSpan");g!=null&&(g=i.getAxisModel().axis.scale.parse(g)),g!=null?p=b.linearMap(o[0]+g,o,[0,100],!0):p!=null&&(g=b.linearMap(p,[0,100],o,!0)-o[0]),u[h+"Span"]=p,u[h+"ValueSpan"]=g})}var c=m;j.exports=c},zM3Q:function(j,R,l){var x=l("4NO4"),b=x.makeInner;function A(){var f=b();return function(t){var e=f(t),m=t.pipelineContext,d=e.large,a=e.progressiveRender,n=e.large=m&&m.large,s=e.progressiveRender=m&&m.progressiveRender;return!!(d^n||a^s)&&"reset"}}j.exports=A},zRKj:function(j,R,l){l("Ae16"),l("Sp2Z"),l("y4/Y")},zTMp:function(j,R,l){var x=l("bYtY"),b=l("Qxkt"),A=x.each,f=x.curry;function t(o,h){var p={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return e(p,o,h),p.seriesInvolved&&d(p,o),p}function e(o,h,p){var g=h.getComponent("tooltip"),v=h.getComponent("axisPointer"),y=v.get("link",!0)||[],w=[];A(p.getCoordinateSystems(),function(S){if(!S.axisPointerEnabled)return;var _=r(S.model),I=o.coordSysAxesInfo[_]={};o.coordSysMap[_]=S;var C=S.model,E=C.getModel("tooltip",g);if(A(S.getAxes(),f(H,!1,null)),S.getTooltipAxes&&g&&E.get("show")){var O=E.get("trigger")==="axis",M=E.get("axisPointer.type")==="cross",F=S.getTooltipAxes(E.get("axisPointer.axis"));(O||M)&&A(F.baseAxes,f(H,M?"cross":!0,O)),M&&A(F.otherAxes,f(H,"cross",!1))}function H(B,X,J){var k=J.model.getModel("axisPointer",v),K=k.get("show");if(!K||K==="auto"&&!B&&!u(k))return;X==null&&(X=k.get("triggerTooltip")),k=B?m(J,E,v,h,B,X):k;var z=k.get("snap"),W=r(J.model),P=X||z||J.type==="category",G=o.axesInfo[W]={key:W,axis:J,coordSys:S,axisPointerModel:k,triggerTooltip:X,involveSeries:P,snap:z,useHandle:u(k),seriesModels:[]};I[W]=G,o.seriesInvolved|=P;var V=a(y,J);if(V!=null){var q=w[V]||(w[V]={axesInfo:{}});q.axesInfo[W]=G,q.mapper=y[V].mapper,G.linkGroup=q}}})}function m(o,h,p,g,v,y){var w=h.getModel("axisPointer"),S={};A(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(E){S[E]=x.clone(w.get(E))}),S.snap=o.type!=="category"&&!!y,w.get("type")==="cross"&&(S.type="line");var _=S.label||(S.label={});if(_.show==null&&(_.show=!1),v==="cross"){var I=w.get("label.show");if(_.show=I!=null?I:!0,!y){var C=S.lineStyle=w.get("crossStyle");C&&x.defaults(_,C.textStyle)}}return o.model.getModel("axisPointer",new b(S,p,g))}function d(o,h){h.eachSeries(function(p){var g=p.coordinateSystem,v=p.get("tooltip.trigger",!0),y=p.get("tooltip.show",!0);if(!g||v==="none"||v===!1||v==="item"||y===!1||p.get("axisPointer.show",!0)===!1)return;A(o.coordSysAxesInfo[r(g.model)],function(w){var S=w.axis;g.getAxis(S.dim)===S&&(w.seriesModels.push(p),w.seriesDataCount==null&&(w.seriesDataCount=0),w.seriesDataCount+=p.getData().count())})},this)}function a(o,h){for(var p=h.model,g=h.dim,v=0;v=0||o===h}function s(o){var h=c(o);if(!h)return;var p=h.axisPointerModel,g=h.axis.scale,v=p.option,y=p.get("status"),w=p.get("value");w!=null&&(w=g.parse(w));var S=u(p);y==null&&(v.status=S?"show":"hide");var _=g.getExtent().slice();_[0]>_[1]&&_.reverse(),(w==null||w>_[1])&&(w=_[1]),w<_[0]&&(w=_[0]),v.value=w,S&&(v.status=h.axis.scale.isBlank()?"hide":"show")}function c(o){var h=(o.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return h&&h.axesInfo[r(o)]}function i(o){var h=c(o);return h&&h.axisPointerModel}function u(o){return!!o.get("handle.show")}function r(o){return o.type+"||"+o.id}R.collect=t,R.fixValue=s,R.getAxisInfo=c,R.getAxisPointerModel=i,R.makeKey=r},zYTA:function(j,R,l){var x=l("bYtY"),b=256;function A(){var t=x.createCanvas();this.canvas=t,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}A.prototype={update:function(t,e,m,d,a,n){var s=this._getBrush(),c=this._getGradient(t,a,"inRange"),i=this._getGradient(t,a,"outOfRange"),u=this.pointSize+this.blurSize,r=this.canvas,o=r.getContext("2d"),h=t.length;r.width=e,r.height=m;for(var p=0;p0){var B=n(S)?c:i;S>0&&(S=S*F+O),I[C++]=B[H],I[C++]=B[H+1],I[C++]=B[H+2],I[C++]=B[H+3]*S*256}else C+=4}return o.putImageData(_,0,0),r},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=x.createCanvas()),e=this.pointSize+this.blurSize,m=e*2;t.width=m,t.height=m;var d=t.getContext("2d");return d.clearRect(0,0,m,m),d.shadowOffsetX=m,d.shadowBlur=this.blurSize,d.shadowColor="#000",d.beginPath(),d.arc(-e,e,this.pointSize,0,Math.PI*2,!0),d.closePath(),d.fill(),t},_getGradient:function(t,e,m){for(var d=this._gradientPixels,a=d[m]||(d[m]=new Uint8ClampedArray(256*4)),n=[0,0,0,0],s=0,c=0;c<256;c++)e[m](c/255,!0,n),a[s++]=n[0],a[s++]=n[1],a[s++]=n[2],a[s++]=n[3];return a}};var f=A;j.exports=f},zarK:function(j,R,l){var x=l("YH21"),b=x.addEventListener,A=x.removeEventListener,f=x.normalizeEvent,t=x.getNativeEvent,e=l("bYtY"),m=l("H6uX"),d=l("ItGF"),a=300,n=d.domSupported,s=function(){var B=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],X=["touchstart","touchend","touchmove"],J={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},k=e.map(B,function(K){var z=K.replace("mouse","pointer");return J.hasOwnProperty(z)?z:K});return{mouse:B,touch:X,pointer:k}}(),c={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function i(B){return B==="mousewheel"&&d.browser.firefox?"DOMMouseScroll":B}function u(B){var X=B.pointerType;return X==="pen"||X==="touch"}function r(B){B.touching=!0,B.touchTimer!=null&&(clearTimeout(B.touchTimer),B.touchTimer=null),B.touchTimer=setTimeout(function(){B.touching=!1,B.touchTimer=null},700)}function o(B){B&&(B.zrByTouch=!0)}function h(B,X){return f(B.dom,new g(B,X),!0)}function p(B,X){for(var J=X,k=!1;J&&J.nodeType!==9&&!(k=J.domBelongToZr||J!==X&&J===B.painterRoot);)J=J.parentNode;return k}function g(B,X){this.type=X.type,this.target=this.currentTarget=B.dom,this.pointerType=X.pointerType,this.clientX=X.clientX,this.clientY=X.clientY}var v=g.prototype;v.stopPropagation=v.stopImmediatePropagation=v.preventDefault=e.noop;var y={mousedown:function(X){X=f(this.dom,X),this._mayPointerCapture=[X.zrX,X.zrY],this.trigger("mousedown",X)},mousemove:function(X){X=f(this.dom,X);var J=this._mayPointerCapture;J&&(X.zrX!==J[0]||X.zrY!==J[1])&&E(this,!0),this.trigger("mousemove",X)},mouseup:function(X){X=f(this.dom,X),E(this,!1),this.trigger("mouseup",X)},mouseout:function(X){X=f(this.dom,X),this._pointerCapturing&&(X.zrEventControl="no_globalout");var J=X.toElement||X.relatedTarget;X.zrIsToLocalDOM=p(this,J),this.trigger("mouseout",X)},touchstart:function(X){X=f(this.dom,X),o(X),this._lastTouchMoment=new Date,this.handler.processGesture(X,"start"),y.mousemove.call(this,X),y.mousedown.call(this,X)},touchmove:function(X){X=f(this.dom,X),o(X),this.handler.processGesture(X,"change"),y.mousemove.call(this,X)},touchend:function(X){X=f(this.dom,X),o(X),this.handler.processGesture(X,"end"),y.mouseup.call(this,X),+new Date-this._lastTouchMoment